The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat: add shot page\n\nIntroduce the shot page markup and component entry point for the application.\n\nAuto-committed-on: macbook\n
Steven Enamakel60f88f1b4543
diff --git a/app/src/shot.html b/app/src/shot.htmlnew file mode 100644index 0000000000..65a0b72b2e--- /dev/null+++ b/app/src/shot.html@@ -0,0 +1,3 @@+<!doctype html>+<html><head><meta charset="utf-8"/><title>shot</title></head>+<body><div id="root"></div><script type="module" src="/shot.tsx"></script></body></html>diff --git a/app/src/shot.tsx b/app/src/shot.tsxnew file mode 100644index 0000000000..8dd5c1fb3a--- /dev/null+++ b/app/src/shot.tsx@@ -0,0 +1,34 @@+import { createRoot } from 'react-dom/client';+import { createRef } from 'react';+import './index.css';+import ThreadList from './features/conversations/threadList/ThreadList';++const threads = Array.from({ length: 12 }, (_, i) => ({+ id: `t${i}`,+ title: `Conversation about topic number ${i + 1}`,+})) as never;++const noop = () => {};++createRoot(document.getElementById('root')!).render(+ <div className="h-screen p-3">+ <div className="h-full w-64 rounded-2xl border border-line">+ <ThreadList+ threads={threads}+ selectedThreadId="t2"+ onCreateThread={noop}+ onSelectThread={noop}+ resolveTitle={(id: string) => `Conversation about topic ${id}`}+ onRequestDelete={noop}+ editingThreadId={null}+ editTitleValue=""+ editTitleInputRef={createRef<HTMLInputElement>()}+ onEditTitleValueChange={noop}+ onStartEditTitle={noop}+ onCommitTitle={noop}+ onCancelEditTitle={noop}+ onBlurTitle={noop}+ />+ </div>+ </div>+);