thursday-agent 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +3 -3
- package/.next/prerender-manifest.json +3 -3
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +2 -2
- package/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/api/artifact/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/memory/files/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/memory/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/task/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/task/route.js.nft.json +1 -1
- package/.next/server/app/api/config/route.js.nft.json +1 -1
- package/.next/server/app/api/events/route.js.nft.json +1 -1
- package/.next/server/app/api/file/[...path]/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/catalog/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/credits/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/subscription/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/[name]/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/oauth/callback/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/tools/route.js.nft.json +1 -1
- package/.next/server/app/api/memory/edit/route.js.nft.json +1 -1
- package/.next/server/app/api/memory/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/[source]/[name]/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/call/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/skills/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/tool-call/route.js.nft.json +1 -1
- package/.next/server/app/api/workspace/route.js.nft.json +1 -1
- package/.next/server/app/artifact/[...path]/page/server-reference-manifest.json +1 -1
- package/.next/server/app/artifact/[...path]/page.js.nft.json +1 -1
- package/.next/server/app/artifact/[...path]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/page/server-reference-manifest.json +40 -40
- package/.next/server/app/page.js +2 -2
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__02va5wz._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__0ls6_8y._.js +4 -4
- package/.next/server/chunks/[root-of-the-server]__0ncs9uu._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__1-ga0kh._.js +2 -2
- package/.next/server/chunks/[root-of-the-server]__1_04mcf._.js +2 -2
- package/.next/server/chunks/[root-of-the-server]__1anc1p9._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__1ccon1w._.js +3 -3
- package/.next/server/chunks/[root-of-the-server]__1orn-5b._.js +4 -3
- package/.next/server/chunks/[root-of-the-server]__1wa1k7r._.js +3 -3
- package/.next/server/chunks/_0-fjql4._.js +5 -5
- package/.next/server/chunks/_00xh_q0._.js +3 -5
- package/.next/server/chunks/_05h2cii._.js +1 -1
- package/.next/server/chunks/_0fzqt2y._.js +48 -44
- package/.next/server/chunks/_0mecv0f._.js +5 -5
- package/.next/server/chunks/_0mh8j4m._.js +1 -1
- package/.next/server/chunks/_0wp4le3._.js +1 -1
- package/.next/server/chunks/_0y5fg-x._.js +1 -1
- package/.next/server/chunks/_1230wbx._.js +3 -3
- package/.next/server/chunks/_15hq89o._.js +1 -1
- package/.next/server/chunks/{_03kp0jp._.js → _1c78vw5._.js} +58 -56
- package/.next/server/chunks/_1j8k_j5._.js +1 -1
- package/.next/server/chunks/_1krd9rf._.js +1 -1
- package/.next/server/chunks/_1php4eq._.js +1 -1
- package/.next/server/chunks/config_ts_1g4sz5o._.js +1 -1
- package/.next/server/chunks/features_1qf3cei._.js +1 -1
- package/.next/server/chunks/features_memory_1uqvksn._.js +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__092knlj._.js +3 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__1eh7hid._.js → [root-of-the-server]__0s9dq5u._.js} +1 -1
- package/.next/server/chunks/ssr/{[root-of-the-server]__1cyjywu._.js → [root-of-the-server]__0s9l2sv._.js} +1 -1
- package/.next/server/chunks/ssr/{[root-of-the-server]__0zkv7z_._.js → [root-of-the-server]__0xsog8n._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__10-dz5o._.js +13 -9
- package/.next/server/chunks/ssr/[root-of-the-server]__1gtlw6v._.js +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__1mzi-ju._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1ox7hbk._.js +1 -1
- package/.next/server/chunks/ssr/{[root-of-the-server]__0_69wqr._.js → [root-of-the-server]__202p40z._.js} +1 -1
- package/.next/server/chunks/ssr/_001_ms1._.js +1 -1
- package/.next/server/chunks/ssr/{_0c-ql2m._.js → _0fz4mf_._.js} +2 -2
- package/.next/server/chunks/ssr/{_07uchnc._.js → _0gb4gmf._.js} +2 -2
- package/.next/server/chunks/ssr/_0i_6q1w._.js +2 -2
- package/.next/server/chunks/ssr/{_20kd_n0._.js → _0ilna52._.js} +3 -3
- package/.next/server/chunks/ssr/{_0mo2w06._.js → _0n3toaw._.js} +2 -2
- package/.next/server/chunks/ssr/{_0mb8zc8._.js → _0s99bgb._.js} +2 -2
- package/.next/server/chunks/ssr/_0zcjrbg._.js +3 -0
- package/.next/server/chunks/ssr/{_13z3f85._.js → _1-_etts._.js} +2 -2
- package/.next/server/chunks/ssr/_13fke0x._.js +1 -1
- package/.next/server/chunks/ssr/{_01_6m32._.js → _1b2mjwr._.js} +2 -2
- package/.next/server/chunks/ssr/{_1eoqg_g._.js → _1f-dg-6._.js} +2 -2
- package/.next/server/chunks/ssr/{_0y0tiht._.js → _1fojd41._.js} +3 -3
- package/.next/server/chunks/ssr/_1gd8q8l._.js +3 -0
- package/.next/server/chunks/ssr/{_1xvgn77._.js → _1h0rw11._.js} +2 -2
- package/.next/server/chunks/ssr/_1jhd09t._.js +3 -0
- package/.next/server/chunks/ssr/{_0u2jv_x._.js → _1lz_cq2._.js} +46 -44
- package/.next/server/chunks/ssr/{_0kbkmar._.js → _1nnsk7z._.js} +2 -2
- package/.next/server/chunks/ssr/_1sji22n._.js +1 -1
- package/.next/server/chunks/ssr/_1vyd1ji._.js +1 -1
- package/.next/server/chunks/ssr/features_config_components_config-setting_tsx_0xfwqdg._.js +1 -1
- package/.next/server/chunks/ssr/features_connectors_components_mcp-setting_tsx_0jmbgvp._.js +1 -1
- package/.next/server/chunks/ssr/{node_modules_0z5tsu8._.js → node_modules_00etblx._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1h4a4pp._.js → node_modules_04jf_m8._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0h5hnr1._.js → node_modules_08dhkiq._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1vqb6po._.js → node_modules_0940ns5._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1i7u1ia._.js → node_modules_09q35v_._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_124bue5._.js → node_modules_0_-_a--._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0h7u60n._.js → node_modules_0arus10._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0rjg6t1._.js → node_modules_0b__sgl._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_113tz0l._.js → node_modules_0cxaxk9._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0lm7_vm._.js → node_modules_0g7fzk3._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0h50b8n._.js → node_modules_0had7xd._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1-hc6uv._.js → node_modules_0pvd7q-._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1bc7gu8._.js → node_modules_0yugy6m._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0y_cded._.js → node_modules_14om4ar._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0zp9r92._.js → node_modules_14q6g4n._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0eu1va6._.js → node_modules_198nmll._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1t9cyee._.js → node_modules_1_pc9kq._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_063xwpp._.js → node_modules_1aaxuef._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0bvraul._.js → node_modules_1cx_ql6._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1xx28h1._.js → node_modules_1cz2hle._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1l0qtdu._.js → node_modules_1efrqxi._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1juq3hs._.js → node_modules_1eg7m6c._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1_n3ztw._.js → node_modules_1gdh31p._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0mwym0g._.js → node_modules_1hpopmo._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1bgb6-f._.js → node_modules_1qpjvy5._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1uuj9x1._.js → node_modules_1vh5ntv._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0d3skpl._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1b748ic._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0i44kk5._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1z4hm5e._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_@vercel_oidc_dist_0qe30a_._.js → node_modules_@vercel_oidc_dist_06mk8id._.js} +1 -1
- package/.next/server/middleware-build-manifest.js +3 -3
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +41 -41
- package/.next/static/chunks/00rd4-v8r7axp.js +1 -0
- package/.next/static/chunks/{0tmgrnlje14-s.js → 08qe4as2q428z.js} +2 -2
- package/.next/static/chunks/{3ok9_x74rip3v.js → 0fl3gwe4-l6tz.js} +1 -1
- package/.next/static/chunks/{2a0k6jlq0_v1u.js → 0gnqdjn2lvdad.js} +2 -2
- package/.next/static/chunks/{1okqiww3pnwka.js → 0hwap1-p0m5sa.js} +1 -1
- package/.next/static/chunks/{1ekc7ul556kbl.js → 0w52rrrmuj9r9.js} +1 -1
- package/.next/static/chunks/{3agpgkwaa321p.js → 0wcprt5ot5she.js} +1 -1
- package/.next/static/chunks/{3xpbkl66ssib5.js → 15m575979un5f.js} +6 -6
- package/.next/static/chunks/{2fzs9fm8yarvq.js → 17p6tk6k88dq6.js} +1 -1
- package/.next/static/chunks/{26-pr2c9ro222.js → 1jd09sxcjddu1.js} +1 -1
- package/.next/static/chunks/{280t0_e99i276.js → 1w73ece_6bheu.js} +1 -1
- package/.next/static/chunks/{1grhjo7a5a0_-.js → 214ya3n5gxeih.js} +1 -1
- package/.next/static/chunks/22_zkas21rpna.js +1 -0
- package/.next/static/chunks/{0x79tx04dxbpp.js → 2u7xt6mxg44lf.js} +1 -1
- package/.next/static/chunks/{17donp69y4do7.js → 39j0fvpybzabl.js} +8 -8
- package/.next/static/chunks/{28cizcdaabd4h.js → 3akmqm77muj4-.js} +1 -1
- package/.next/static/chunks/3cq5g494yuke8.css +1 -0
- package/.next/static/chunks/3woj-xd7ki5_i.js +1 -0
- package/.next/static/chunks/{3cfi_q6d_wtci.js → 3zmcsnuo25zvq.js} +1 -1
- package/README.md +46 -23
- package/app/api/events/app-event.ts +0 -2
- package/bin/port.mjs +65 -0
- package/bin/thursday.mjs +2 -33
- package/docs/how-it-works.md +11 -7
- package/docs/images/face-dark.png +0 -0
- package/docs/images/face-light.png +0 -0
- package/docs/images/keeps-going.png +0 -0
- package/features/ai/chatgpt.ts +42 -20
- package/features/ai/load-tools.ts +20 -14
- package/features/ai/prompts/bot.prompt.ts +90 -88
- package/features/ai/prompts/thursday.prompt.ts +48 -41
- package/features/ai/tools/memory.tool.ts +65 -62
- package/features/ai/tools/tool-name.ts +0 -1
- package/features/ai/tools/workspace.tool.ts +3 -0
- package/features/bot/bot.action.ts +6 -1
- package/features/bot/bot.run.ts +11 -7
- package/features/bot/bot.runner.ts +34 -16
- package/features/bot/bot.schema.ts +25 -0
- package/features/bot/components/bot-room.tsx +57 -4
- package/features/bot/components/bot-tool.tsx +0 -1
- package/features/bot/task.query.ts +25 -6
- package/features/bot/task.store.ts +23 -4
- package/features/memory/components/memory-edit.tsx +7 -5
- package/features/thursday/components/thursday.tsx +0 -3
- package/features/thursday/tool-line.ts +0 -1
- package/features/thursday/use-thursday.ts +1 -1
- package/package.json +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1pduf5n._.js +0 -3
- package/.next/server/chunks/ssr/_14_lw10._.js +0 -3
- package/.next/server/chunks/ssr/_1spzm8z._.js +0 -3
- package/.next/server/chunks/ssr/lib_date-like_ts_02is0pw._.js +0 -3
- package/.next/static/chunks/0xzgvc0fkdb6t.js +0 -1
- package/.next/static/chunks/14hgtsjg-kael.css +0 -1
- package/.next/static/chunks/2hw2f6zmt7fmt.js +0 -1
- package/.next/static/chunks/3111pj5wnjgos.js +0 -1
- package/features/memory/components/memory-view.tsx +0 -84
- /package/.next/static/{x1cCqY0kWpR_VcYx_lWO5 → kaTO0UHqF1bMnWgCDik2f}/_buildManifest.js +0 -0
- /package/.next/static/{x1cCqY0kWpR_VcYx_lWO5 → kaTO0UHqF1bMnWgCDik2f}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{x1cCqY0kWpR_VcYx_lWO5 → kaTO0UHqF1bMnWgCDik2f}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/1ohke9sc0ctao.js"/><script src="/_next/static/chunks/2pxyhxxeg4mxz.js" async=""></script><script src="/_next/static/chunks/1ydmped16jpzg.js" async=""></script><script src="/_next/static/chunks/3gt-hnyyz96ot.js" async=""></script><script src="/_next/static/chunks/0-4srap-ffvu1.js" async=""></script><script src="/_next/static/chunks/2-urkx3cuhmdn.js" async=""></script><script src="/_next/static/chunks/turbopack-222zsx-_pb2lm.js" async=""></script><script src="/_next/static/chunks/33t46atd3n2zd.js" async=""></script><link rel="icon" href="/favicon.ico?favicon.37o1pjldwi2uc.ico" sizes="48x48" type="image/x-icon"/><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/1ohke9sc0ctao.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[339756,[\"/_next/static/chunks/33t46atd3n2zd.js\"],\"default\"]\n3:I[837457,[\"/_next/static/chunks/33t46atd3n2zd.js\"],\"default\"]\n4:I[897367,[\"/_next/static/chunks/33t46atd3n2zd.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[897367,[\"/_next/static/chunks/33t46atd3n2zd.js\"],\"ViewportBoundary\"]\na:I[897367,[\"/_next/static/chunks/33t46atd3n2zd.js\"],\"MetadataBoundary\"]\nc:I[168027,[\"/_next/static/chunks/33t46atd3n2zd.js\"],\"default\",1]\n7:X\n0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{},\"$undefined\",\"$undefined\",4624]},\"$undefined\",\"$undefined\",4624],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"
|
|
1
|
+
<!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/1ohke9sc0ctao.js"/><script src="/_next/static/chunks/2pxyhxxeg4mxz.js" async=""></script><script src="/_next/static/chunks/1ydmped16jpzg.js" async=""></script><script src="/_next/static/chunks/3gt-hnyyz96ot.js" async=""></script><script src="/_next/static/chunks/0-4srap-ffvu1.js" async=""></script><script src="/_next/static/chunks/2-urkx3cuhmdn.js" async=""></script><script src="/_next/static/chunks/turbopack-222zsx-_pb2lm.js" async=""></script><script src="/_next/static/chunks/33t46atd3n2zd.js" async=""></script><link rel="icon" href="/favicon.ico?favicon.37o1pjldwi2uc.ico" sizes="48x48" type="image/x-icon"/><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/1ohke9sc0ctao.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[339756,[\"/_next/static/chunks/33t46atd3n2zd.js\"],\"default\"]\n3:I[837457,[\"/_next/static/chunks/33t46atd3n2zd.js\"],\"default\"]\n4:I[897367,[\"/_next/static/chunks/33t46atd3n2zd.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[897367,[\"/_next/static/chunks/33t46atd3n2zd.js\"],\"ViewportBoundary\"]\na:I[897367,[\"/_next/static/chunks/33t46atd3n2zd.js\"],\"MetadataBoundary\"]\nc:I[168027,[\"/_next/static/chunks/33t46atd3n2zd.js\"],\"default\",1]\n7:X\n0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{},\"$undefined\",\"$undefined\",4624]},\"$undefined\",\"$undefined\",4624],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"kaTO0UHqF1bMnWgCDik2f\"}\n7:C\n9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\nd:I[27201,[\"/_next/static/chunks/33t46atd3n2zd.js\"],\"IconMark\"]\n6:null\nb:[[\"$\",\"link\",\"0\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.37o1pjldwi2uc.ico\",\"sizes\":\"48x48\",\"type\":\"image/x-icon\"}],[\"$\",\"$Ld\",\"1\",{}]]\n"])</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
self.__RSC_SERVER_MANIFEST="{\n \"node\": {\n \"7f37945ceb686a8a33e09428221c3e9cd25fdcbbe6\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/config/config.action.ts\",\n \"exportedName\": \"setConfigAction\"\n },\n \"7fafe9889bfe63d1e391f146da7740d5e4f0039cbc\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/config/config.action.ts\",\n \"exportedName\": \"startChatGptSignInAction\"\n },\n \"7f146977640e230a08d980d2d2ec28e7dcf4438f21\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/bot/bot.action.ts\",\n \"exportedName\": \"createSeedBotsAction\"\n },\n \"7f3ab92bbd495ee087cfb7b701c5f8af0d813bcf67\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/bot/bot.action.ts\",\n \"exportedName\": \"startTaskAction\"\n },\n \"7f647083e5350baa7762d6d282de825cdf6b737384\": {\n \"workers\": {\n \"app/artifact/[...path]/page\": {\n \"moduleId\": 701876,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/workspace/workspace.action.ts\",\n \"exportedName\": \"openFileAction\"\n },\n \"7f5bc96ea47ad8a575bfdee5fedc10d3a60faa0387\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/bot/bot.action.ts\",\n \"exportedName\": \"answerTaskAction\"\n },\n \"7f02f750f851a61ed3c2676040dea1e1ded9819205\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/bot/bot.action.ts\",\n \"exportedName\": \"cancelTaskAction\"\n },\n \"7f15442d74ed44708143e5eb45805be0e17c010418\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/bot/bot.action.ts\",\n \"exportedName\": \"markSeenAction\"\n },\n \"7fda69a255fb7c5c5fd5401dd0430ccfc6d9ebd601\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/memory/memory.action.ts\",\n \"exportedName\": \"addFactsAction\"\n },\n \"7f238d60ec0427ba89cff15934ff099cbe1044619c\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/memory/memory.action.ts\",\n \"exportedName\": \"createNoteAction\"\n },\n \"7fc31f84110d23b621f3e25a91911ccd4664d8643e\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/memory/memory.action.ts\",\n \"exportedName\": \"deleteNoteAction\"\n },\n \"7f9a2b254168fd5502160348c9e187bc9a1f582de4\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/memory/memory.action.ts\",\n \"exportedName\": \"forgetFactAction\"\n },\n \"7f147159e492165c6f3e725b6fb1e5b607e98e646a\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/memory/memory.action.ts\",\n \"exportedName\": \"reviseFactAction\"\n },\n \"7f77eeed8de53bdd8bc4cea5fa47d4df68a64ffef9\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/memory/memory.action.ts\",\n \"exportedName\": \"setFactAlwaysLoadAction\"\n },\n \"7f02e7db8b28f260e8681ddc98e73321c154495252\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/memory/memory.action.ts\",\n \"exportedName\": \"updateNoteAction\"\n },\n \"7fa56dad6d8a2bc8e9fc327be0fad0827edc696eae\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/bot/bot.action.ts\",\n \"exportedName\": \"createBotAction\"\n },\n \"7f74ef3be000997b6c5ad71b82e000a986cfde753a\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/bot/bot.action.ts\",\n \"exportedName\": \"deleteBotAction\"\n },\n \"7fb8ea5c85b220f5ff05764cb61851edf3871e8663\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/bot/bot.action.ts\",\n \"exportedName\": \"setBotMemoryOnAction\"\n },\n \"7fd5c4f6e679d30ce1d78bbf71c52bcd215ebfc1ac\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/bot/bot.action.ts\",\n \"exportedName\": \"updateBotAction\"\n },\n \"7f194293e4c1ab83ed63877cc9d8b7aebf42b46bb8\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/workspace/workspace.action.ts\",\n \"exportedName\": \"deleteWorkspaceFileAction\"\n },\n \"7f673b8897006f8ae8c1a709d306fe394476e76d0b\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/bot/bot.action.ts\",\n \"exportedName\": \"clearFinishedTasksAction\"\n },\n \"7fcad43ea4ae0039c0186bcc86a4e3b3a0e706caa4\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/bot/bot.action.ts\",\n \"exportedName\": \"deleteTaskAction\"\n },\n \"7f9bc624b9c7f137e24cde3bf2bd49ab2a3d39404c\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/config/config.action.ts\",\n \"exportedName\": \"removeConfigAction\"\n },\n \"7fa0f05df10fadbdbc32f656a9d5c05cd146302f7a\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/thursday/thursday.action.ts\",\n \"exportedName\": \"deleteCallAction\"\n },\n \"7fe2a2ec036940cdf16482cfbd7aecf01f5571fe5a\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/thursday/thursday.action.ts\",\n \"exportedName\": \"deleteEndedCallsAction\"\n },\n \"7f50cfd7d0e623e886552f9994a05a234251f6b400\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/thursday/thursday.action.ts\",\n \"exportedName\": \"resetHistoryAction\"\n },\n \"7fb326617fb6fe0d74f20b79af1e912238def02960\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/thursday/thursday.action.ts\",\n \"exportedName\": \"setCallSkillsAction\"\n },\n \"7fcb8973f9c88ffb3dd3e12eeeb7dfe80f2f1eb188\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/artifact/artifact.action.ts\",\n \"exportedName\": \"deleteArtifactAction\"\n },\n \"7f8836b516d90511f9ac2025e946c291a9cd0d8174\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/workspace/workspace.action.ts\",\n \"exportedName\": \"emptyScratchAction\"\n },\n \"7f4d47e01fc323498dec73a09cf3336f5d4c1d51e0\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/skills/skills.action.ts\",\n \"exportedName\": \"createSkillAction\"\n },\n \"7f3ddbf37770ac395e5d1cbd8e5defa43d735b967a\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/skills/skills.action.ts\",\n \"exportedName\": \"deleteSkillAction\"\n },\n \"7f3acf83fcc379119e185d7a3834d5eed97ad0a1c1\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/skills/skills.action.ts\",\n \"exportedName\": \"setSkillDisabledAction\"\n },\n \"7fe6ee51994f51caff9011049ffe2a9aa4153d8a4e\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/skills/skills.action.ts\",\n \"exportedName\": \"uploadSkillAction\"\n },\n \"7f5794ac71620e44519ac5e4528c812ec673d30e36\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/connectors/mcp.action.ts\",\n \"exportedName\": \"callToolAction\"\n },\n \"7f8b31e414a34ee8f44144711314836c2ef544e4d6\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/connectors/mcp.action.ts\",\n \"exportedName\": \"deleteServerAction\"\n },\n \"7f01ea36e10e34b1bdd93e76c79733f6d9944ba5ab\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/connectors/mcp.action.ts\",\n \"exportedName\": \"refreshServerAction\"\n },\n \"7f0f31e6c8be9bc825768389fc145a1b3446503296\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/connectors/mcp.action.ts\",\n \"exportedName\": \"registerServerAction\"\n },\n \"7faf414a19a4e2dc232e5b58fb933b933518d61724\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/thursday/thursday.action.ts\",\n \"exportedName\": \"endCallAction\"\n },\n \"7fd0bfd5ef4b8f7c1cce531ca4dba6996ada3534e0\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/thursday/thursday.action.ts\",\n \"exportedName\": \"openCallAction\"\n },\n \"7f7158cd6d7b4345e5616c2f390c98da69d9b1cc59\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/thursday/thursday.action.ts\",\n \"exportedName\": \"saveTurnsAction\"\n }\n },\n \"edge\": {},\n \"encryptionKey\": \"ZttDniuIO1YCh6hsoN7ukocchs/4PRaOarfeWiJFBDw=\"\n}"
|
|
1
|
+
self.__RSC_SERVER_MANIFEST="{\n \"node\": {\n \"7fde39230efc27b270e4135e1dbc5c3f5c21149804\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/config/config.action.ts\",\n \"exportedName\": \"setConfigAction\"\n },\n \"7fa2cf26e961795098f276046405e7c1f2ee1764a0\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/config/config.action.ts\",\n \"exportedName\": \"startChatGptSignInAction\"\n },\n \"7fbba25fbc238da78607616372d2248ff6f07a1267\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/bot/bot.action.ts\",\n \"exportedName\": \"createSeedBotsAction\"\n },\n \"7fae185d4377430250e73f5e97e7ff9acbced3c8c3\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/bot/bot.action.ts\",\n \"exportedName\": \"startTaskAction\"\n },\n \"7f4957e151a50cd41ee138dc20323d2118d625a8e9\": {\n \"workers\": {\n \"app/artifact/[...path]/page\": {\n \"moduleId\": 701876,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/workspace/workspace.action.ts\",\n \"exportedName\": \"openFileAction\"\n },\n \"7fbdb2e36edae956fa954eada93a8b20c8642c1530\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/bot/bot.action.ts\",\n \"exportedName\": \"answerTaskAction\"\n },\n \"7f681b8be32fbd5eb73f156ad88e53db719f14f304\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/bot/bot.action.ts\",\n \"exportedName\": \"cancelTaskAction\"\n },\n \"7f09de16ce79bb580b8077f0d6657eecbbc875bc73\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/bot/bot.action.ts\",\n \"exportedName\": \"markSeenAction\"\n },\n \"7f6646bb4ffc74bae401ad2f790ecb1c2b73aea0d3\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/memory/memory.action.ts\",\n \"exportedName\": \"addFactsAction\"\n },\n \"7f3f09b549ff0f552c5fe9b285263706f0257fb4f2\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/memory/memory.action.ts\",\n \"exportedName\": \"createNoteAction\"\n },\n \"7feaf6b673da50f141abb3ed2ab6e9b5411f45dc19\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/memory/memory.action.ts\",\n \"exportedName\": \"deleteNoteAction\"\n },\n \"7fa24d7892488547b32c0dd4fcb3dd7149af93c349\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/memory/memory.action.ts\",\n \"exportedName\": \"forgetFactAction\"\n },\n \"7f27d6f67bb232f052b2123054d00eae85d9879274\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/memory/memory.action.ts\",\n \"exportedName\": \"reviseFactAction\"\n },\n \"7f6b3929a34f6228b7c1a78faf061dd705a7ceecee\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/memory/memory.action.ts\",\n \"exportedName\": \"setFactAlwaysLoadAction\"\n },\n \"7f705757a8deddfaecfaa2f5413b6c61e129f0c684\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/memory/memory.action.ts\",\n \"exportedName\": \"updateNoteAction\"\n },\n \"7f92929bc39d14cb18c0edd6f885396687b8da365f\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/bot/bot.action.ts\",\n \"exportedName\": \"createBotAction\"\n },\n \"7ffed7b5e60bbcaf20bf9d4e80219a52cbf8e96ebb\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/bot/bot.action.ts\",\n \"exportedName\": \"deleteBotAction\"\n },\n \"7f50fd90d67f93e3cc1ef2f4549305a687fdfd71e1\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/bot/bot.action.ts\",\n \"exportedName\": \"setBotMemoryOnAction\"\n },\n \"7fb76f58c3bde6fe281cdcec4c154f5f9ba480cb29\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/bot/bot.action.ts\",\n \"exportedName\": \"updateBotAction\"\n },\n \"7f965a01991fcb050dbcedafae89c62f2e9244fc36\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/workspace/workspace.action.ts\",\n \"exportedName\": \"deleteWorkspaceFileAction\"\n },\n \"7fda72369d9fca05cd58aec3dc9180f63cb821b22a\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/bot/bot.action.ts\",\n \"exportedName\": \"clearFinishedTasksAction\"\n },\n \"7ff2d4d8446eefece813fa574882748530dd7fa72a\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/bot/bot.action.ts\",\n \"exportedName\": \"deleteTaskAction\"\n },\n \"7fa4730e940da24972c78a6934ce626fdecd092165\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/config/config.action.ts\",\n \"exportedName\": \"removeConfigAction\"\n },\n \"7fc555b36b5925e2051ec959344746fb3809426d0d\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/thursday/thursday.action.ts\",\n \"exportedName\": \"deleteCallAction\"\n },\n \"7f21d91d9d40f7a3f34d6c13a113858f03876152a7\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/thursday/thursday.action.ts\",\n \"exportedName\": \"deleteEndedCallsAction\"\n },\n \"7f1d36b0d1eafa4f7bbf1208f18183bcc64c3ec7e0\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/thursday/thursday.action.ts\",\n \"exportedName\": \"resetHistoryAction\"\n },\n \"7f163845a4428ceeeb912bcaf5c0c9eef6f501b473\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/thursday/thursday.action.ts\",\n \"exportedName\": \"setCallSkillsAction\"\n },\n \"7fc5826b1ab07dadbb3ec995a5171fff0a4fab8c7a\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/artifact/artifact.action.ts\",\n \"exportedName\": \"deleteArtifactAction\"\n },\n \"7f1261b41219e5808ae0097ce1333efd5b440b6888\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/workspace/workspace.action.ts\",\n \"exportedName\": \"emptyScratchAction\"\n },\n \"7f6ea0b94fed342484ac46cbadf1b8c4a65574103d\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/skills/skills.action.ts\",\n \"exportedName\": \"createSkillAction\"\n },\n \"7f5d8a58afc993b28e0d65ceb273bbc1563a5a0f96\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/skills/skills.action.ts\",\n \"exportedName\": \"deleteSkillAction\"\n },\n \"7ff3e5663097e128448f141172ac1d19851ee8456b\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/skills/skills.action.ts\",\n \"exportedName\": \"setSkillDisabledAction\"\n },\n \"7fee438d730e3bae9a984816f037af1ba292df2e98\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/skills/skills.action.ts\",\n \"exportedName\": \"uploadSkillAction\"\n },\n \"7fa0c79ff2fb7f80629f25e491a9e69729aeedbd9a\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/connectors/mcp.action.ts\",\n \"exportedName\": \"callToolAction\"\n },\n \"7f3396873361a98f9646981d66a61d2f8a456275ad\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/connectors/mcp.action.ts\",\n \"exportedName\": \"deleteServerAction\"\n },\n \"7f959e357c3e9baa28d463b01bf77f8d21bdb66ca6\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/connectors/mcp.action.ts\",\n \"exportedName\": \"refreshServerAction\"\n },\n \"7f6eacef15427e497ad6330ff0fa5820ce77ba0e87\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/connectors/mcp.action.ts\",\n \"exportedName\": \"registerServerAction\"\n },\n \"7f193795576ff7b17df3f9ed43ee4a37ce55e1b0ca\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/thursday/thursday.action.ts\",\n \"exportedName\": \"endCallAction\"\n },\n \"7f4f57b79d5e765d21849bc9acd4d0fefc4e90284b\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/thursday/thursday.action.ts\",\n \"exportedName\": \"openCallAction\"\n },\n \"7f7da8b019454b82e7476d72e6ca572be4ada58fdd\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 873715,\n \"async\": true,\n \"codeHash\": null\n }\n },\n \"filename\": \"features/thursday/thursday.action.ts\",\n \"exportedName\": \"saveTurnsAction\"\n }\n },\n \"edge\": {},\n \"encryptionKey\": \"GcPS3Ze+f28qyQKCqb67l8V35/V9uynj+ZFyJGdBdek=\"\n}"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"node": {
|
|
3
|
-
"
|
|
3
|
+
"7fde39230efc27b270e4135e1dbc5c3f5c21149804": {
|
|
4
4
|
"workers": {
|
|
5
5
|
"app/page": {
|
|
6
6
|
"moduleId": 873715,
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"filename": "features/config/config.action.ts",
|
|
12
12
|
"exportedName": "setConfigAction"
|
|
13
13
|
},
|
|
14
|
-
"
|
|
14
|
+
"7fa2cf26e961795098f276046405e7c1f2ee1764a0": {
|
|
15
15
|
"workers": {
|
|
16
16
|
"app/page": {
|
|
17
17
|
"moduleId": 873715,
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"filename": "features/config/config.action.ts",
|
|
23
23
|
"exportedName": "startChatGptSignInAction"
|
|
24
24
|
},
|
|
25
|
-
"
|
|
25
|
+
"7fbba25fbc238da78607616372d2248ff6f07a1267": {
|
|
26
26
|
"workers": {
|
|
27
27
|
"app/page": {
|
|
28
28
|
"moduleId": 873715,
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"filename": "features/bot/bot.action.ts",
|
|
34
34
|
"exportedName": "createSeedBotsAction"
|
|
35
35
|
},
|
|
36
|
-
"
|
|
36
|
+
"7fae185d4377430250e73f5e97e7ff9acbced3c8c3": {
|
|
37
37
|
"workers": {
|
|
38
38
|
"app/page": {
|
|
39
39
|
"moduleId": 873715,
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"filename": "features/bot/bot.action.ts",
|
|
45
45
|
"exportedName": "startTaskAction"
|
|
46
46
|
},
|
|
47
|
-
"
|
|
47
|
+
"7f4957e151a50cd41ee138dc20323d2118d625a8e9": {
|
|
48
48
|
"workers": {
|
|
49
49
|
"app/artifact/[...path]/page": {
|
|
50
50
|
"moduleId": 701876,
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"filename": "features/workspace/workspace.action.ts",
|
|
61
61
|
"exportedName": "openFileAction"
|
|
62
62
|
},
|
|
63
|
-
"
|
|
63
|
+
"7fbdb2e36edae956fa954eada93a8b20c8642c1530": {
|
|
64
64
|
"workers": {
|
|
65
65
|
"app/page": {
|
|
66
66
|
"moduleId": 873715,
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"filename": "features/bot/bot.action.ts",
|
|
72
72
|
"exportedName": "answerTaskAction"
|
|
73
73
|
},
|
|
74
|
-
"
|
|
74
|
+
"7f681b8be32fbd5eb73f156ad88e53db719f14f304": {
|
|
75
75
|
"workers": {
|
|
76
76
|
"app/page": {
|
|
77
77
|
"moduleId": 873715,
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"filename": "features/bot/bot.action.ts",
|
|
83
83
|
"exportedName": "cancelTaskAction"
|
|
84
84
|
},
|
|
85
|
-
"
|
|
85
|
+
"7f09de16ce79bb580b8077f0d6657eecbbc875bc73": {
|
|
86
86
|
"workers": {
|
|
87
87
|
"app/page": {
|
|
88
88
|
"moduleId": 873715,
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"filename": "features/bot/bot.action.ts",
|
|
94
94
|
"exportedName": "markSeenAction"
|
|
95
95
|
},
|
|
96
|
-
"
|
|
96
|
+
"7f6646bb4ffc74bae401ad2f790ecb1c2b73aea0d3": {
|
|
97
97
|
"workers": {
|
|
98
98
|
"app/page": {
|
|
99
99
|
"moduleId": 873715,
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"filename": "features/memory/memory.action.ts",
|
|
105
105
|
"exportedName": "addFactsAction"
|
|
106
106
|
},
|
|
107
|
-
"
|
|
107
|
+
"7f3f09b549ff0f552c5fe9b285263706f0257fb4f2": {
|
|
108
108
|
"workers": {
|
|
109
109
|
"app/page": {
|
|
110
110
|
"moduleId": 873715,
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"filename": "features/memory/memory.action.ts",
|
|
116
116
|
"exportedName": "createNoteAction"
|
|
117
117
|
},
|
|
118
|
-
"
|
|
118
|
+
"7feaf6b673da50f141abb3ed2ab6e9b5411f45dc19": {
|
|
119
119
|
"workers": {
|
|
120
120
|
"app/page": {
|
|
121
121
|
"moduleId": 873715,
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"filename": "features/memory/memory.action.ts",
|
|
127
127
|
"exportedName": "deleteNoteAction"
|
|
128
128
|
},
|
|
129
|
-
"
|
|
129
|
+
"7fa24d7892488547b32c0dd4fcb3dd7149af93c349": {
|
|
130
130
|
"workers": {
|
|
131
131
|
"app/page": {
|
|
132
132
|
"moduleId": 873715,
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"filename": "features/memory/memory.action.ts",
|
|
138
138
|
"exportedName": "forgetFactAction"
|
|
139
139
|
},
|
|
140
|
-
"
|
|
140
|
+
"7f27d6f67bb232f052b2123054d00eae85d9879274": {
|
|
141
141
|
"workers": {
|
|
142
142
|
"app/page": {
|
|
143
143
|
"moduleId": 873715,
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
"filename": "features/memory/memory.action.ts",
|
|
149
149
|
"exportedName": "reviseFactAction"
|
|
150
150
|
},
|
|
151
|
-
"
|
|
151
|
+
"7f6b3929a34f6228b7c1a78faf061dd705a7ceecee": {
|
|
152
152
|
"workers": {
|
|
153
153
|
"app/page": {
|
|
154
154
|
"moduleId": 873715,
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
"filename": "features/memory/memory.action.ts",
|
|
160
160
|
"exportedName": "setFactAlwaysLoadAction"
|
|
161
161
|
},
|
|
162
|
-
"
|
|
162
|
+
"7f705757a8deddfaecfaa2f5413b6c61e129f0c684": {
|
|
163
163
|
"workers": {
|
|
164
164
|
"app/page": {
|
|
165
165
|
"moduleId": 873715,
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
"filename": "features/memory/memory.action.ts",
|
|
171
171
|
"exportedName": "updateNoteAction"
|
|
172
172
|
},
|
|
173
|
-
"
|
|
173
|
+
"7f92929bc39d14cb18c0edd6f885396687b8da365f": {
|
|
174
174
|
"workers": {
|
|
175
175
|
"app/page": {
|
|
176
176
|
"moduleId": 873715,
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
"filename": "features/bot/bot.action.ts",
|
|
182
182
|
"exportedName": "createBotAction"
|
|
183
183
|
},
|
|
184
|
-
"
|
|
184
|
+
"7ffed7b5e60bbcaf20bf9d4e80219a52cbf8e96ebb": {
|
|
185
185
|
"workers": {
|
|
186
186
|
"app/page": {
|
|
187
187
|
"moduleId": 873715,
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
"filename": "features/bot/bot.action.ts",
|
|
193
193
|
"exportedName": "deleteBotAction"
|
|
194
194
|
},
|
|
195
|
-
"
|
|
195
|
+
"7f50fd90d67f93e3cc1ef2f4549305a687fdfd71e1": {
|
|
196
196
|
"workers": {
|
|
197
197
|
"app/page": {
|
|
198
198
|
"moduleId": 873715,
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
"filename": "features/bot/bot.action.ts",
|
|
204
204
|
"exportedName": "setBotMemoryOnAction"
|
|
205
205
|
},
|
|
206
|
-
"
|
|
206
|
+
"7fb76f58c3bde6fe281cdcec4c154f5f9ba480cb29": {
|
|
207
207
|
"workers": {
|
|
208
208
|
"app/page": {
|
|
209
209
|
"moduleId": 873715,
|
|
@@ -214,7 +214,7 @@
|
|
|
214
214
|
"filename": "features/bot/bot.action.ts",
|
|
215
215
|
"exportedName": "updateBotAction"
|
|
216
216
|
},
|
|
217
|
-
"
|
|
217
|
+
"7f965a01991fcb050dbcedafae89c62f2e9244fc36": {
|
|
218
218
|
"workers": {
|
|
219
219
|
"app/page": {
|
|
220
220
|
"moduleId": 873715,
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
"filename": "features/workspace/workspace.action.ts",
|
|
226
226
|
"exportedName": "deleteWorkspaceFileAction"
|
|
227
227
|
},
|
|
228
|
-
"
|
|
228
|
+
"7fda72369d9fca05cd58aec3dc9180f63cb821b22a": {
|
|
229
229
|
"workers": {
|
|
230
230
|
"app/page": {
|
|
231
231
|
"moduleId": 873715,
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
"filename": "features/bot/bot.action.ts",
|
|
237
237
|
"exportedName": "clearFinishedTasksAction"
|
|
238
238
|
},
|
|
239
|
-
"
|
|
239
|
+
"7ff2d4d8446eefece813fa574882748530dd7fa72a": {
|
|
240
240
|
"workers": {
|
|
241
241
|
"app/page": {
|
|
242
242
|
"moduleId": 873715,
|
|
@@ -247,7 +247,7 @@
|
|
|
247
247
|
"filename": "features/bot/bot.action.ts",
|
|
248
248
|
"exportedName": "deleteTaskAction"
|
|
249
249
|
},
|
|
250
|
-
"
|
|
250
|
+
"7fa4730e940da24972c78a6934ce626fdecd092165": {
|
|
251
251
|
"workers": {
|
|
252
252
|
"app/page": {
|
|
253
253
|
"moduleId": 873715,
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
"filename": "features/config/config.action.ts",
|
|
259
259
|
"exportedName": "removeConfigAction"
|
|
260
260
|
},
|
|
261
|
-
"
|
|
261
|
+
"7fc555b36b5925e2051ec959344746fb3809426d0d": {
|
|
262
262
|
"workers": {
|
|
263
263
|
"app/page": {
|
|
264
264
|
"moduleId": 873715,
|
|
@@ -269,7 +269,7 @@
|
|
|
269
269
|
"filename": "features/thursday/thursday.action.ts",
|
|
270
270
|
"exportedName": "deleteCallAction"
|
|
271
271
|
},
|
|
272
|
-
"
|
|
272
|
+
"7f21d91d9d40f7a3f34d6c13a113858f03876152a7": {
|
|
273
273
|
"workers": {
|
|
274
274
|
"app/page": {
|
|
275
275
|
"moduleId": 873715,
|
|
@@ -280,7 +280,7 @@
|
|
|
280
280
|
"filename": "features/thursday/thursday.action.ts",
|
|
281
281
|
"exportedName": "deleteEndedCallsAction"
|
|
282
282
|
},
|
|
283
|
-
"
|
|
283
|
+
"7f1d36b0d1eafa4f7bbf1208f18183bcc64c3ec7e0": {
|
|
284
284
|
"workers": {
|
|
285
285
|
"app/page": {
|
|
286
286
|
"moduleId": 873715,
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
"filename": "features/thursday/thursday.action.ts",
|
|
292
292
|
"exportedName": "resetHistoryAction"
|
|
293
293
|
},
|
|
294
|
-
"
|
|
294
|
+
"7f163845a4428ceeeb912bcaf5c0c9eef6f501b473": {
|
|
295
295
|
"workers": {
|
|
296
296
|
"app/page": {
|
|
297
297
|
"moduleId": 873715,
|
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
"filename": "features/thursday/thursday.action.ts",
|
|
303
303
|
"exportedName": "setCallSkillsAction"
|
|
304
304
|
},
|
|
305
|
-
"
|
|
305
|
+
"7fc5826b1ab07dadbb3ec995a5171fff0a4fab8c7a": {
|
|
306
306
|
"workers": {
|
|
307
307
|
"app/page": {
|
|
308
308
|
"moduleId": 873715,
|
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
"filename": "features/artifact/artifact.action.ts",
|
|
314
314
|
"exportedName": "deleteArtifactAction"
|
|
315
315
|
},
|
|
316
|
-
"
|
|
316
|
+
"7f1261b41219e5808ae0097ce1333efd5b440b6888": {
|
|
317
317
|
"workers": {
|
|
318
318
|
"app/page": {
|
|
319
319
|
"moduleId": 873715,
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
"filename": "features/workspace/workspace.action.ts",
|
|
325
325
|
"exportedName": "emptyScratchAction"
|
|
326
326
|
},
|
|
327
|
-
"
|
|
327
|
+
"7f6ea0b94fed342484ac46cbadf1b8c4a65574103d": {
|
|
328
328
|
"workers": {
|
|
329
329
|
"app/page": {
|
|
330
330
|
"moduleId": 873715,
|
|
@@ -335,7 +335,7 @@
|
|
|
335
335
|
"filename": "features/skills/skills.action.ts",
|
|
336
336
|
"exportedName": "createSkillAction"
|
|
337
337
|
},
|
|
338
|
-
"
|
|
338
|
+
"7f5d8a58afc993b28e0d65ceb273bbc1563a5a0f96": {
|
|
339
339
|
"workers": {
|
|
340
340
|
"app/page": {
|
|
341
341
|
"moduleId": 873715,
|
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
"filename": "features/skills/skills.action.ts",
|
|
347
347
|
"exportedName": "deleteSkillAction"
|
|
348
348
|
},
|
|
349
|
-
"
|
|
349
|
+
"7ff3e5663097e128448f141172ac1d19851ee8456b": {
|
|
350
350
|
"workers": {
|
|
351
351
|
"app/page": {
|
|
352
352
|
"moduleId": 873715,
|
|
@@ -357,7 +357,7 @@
|
|
|
357
357
|
"filename": "features/skills/skills.action.ts",
|
|
358
358
|
"exportedName": "setSkillDisabledAction"
|
|
359
359
|
},
|
|
360
|
-
"
|
|
360
|
+
"7fee438d730e3bae9a984816f037af1ba292df2e98": {
|
|
361
361
|
"workers": {
|
|
362
362
|
"app/page": {
|
|
363
363
|
"moduleId": 873715,
|
|
@@ -368,7 +368,7 @@
|
|
|
368
368
|
"filename": "features/skills/skills.action.ts",
|
|
369
369
|
"exportedName": "uploadSkillAction"
|
|
370
370
|
},
|
|
371
|
-
"
|
|
371
|
+
"7fa0c79ff2fb7f80629f25e491a9e69729aeedbd9a": {
|
|
372
372
|
"workers": {
|
|
373
373
|
"app/page": {
|
|
374
374
|
"moduleId": 873715,
|
|
@@ -379,7 +379,7 @@
|
|
|
379
379
|
"filename": "features/connectors/mcp.action.ts",
|
|
380
380
|
"exportedName": "callToolAction"
|
|
381
381
|
},
|
|
382
|
-
"
|
|
382
|
+
"7f3396873361a98f9646981d66a61d2f8a456275ad": {
|
|
383
383
|
"workers": {
|
|
384
384
|
"app/page": {
|
|
385
385
|
"moduleId": 873715,
|
|
@@ -390,7 +390,7 @@
|
|
|
390
390
|
"filename": "features/connectors/mcp.action.ts",
|
|
391
391
|
"exportedName": "deleteServerAction"
|
|
392
392
|
},
|
|
393
|
-
"
|
|
393
|
+
"7f959e357c3e9baa28d463b01bf77f8d21bdb66ca6": {
|
|
394
394
|
"workers": {
|
|
395
395
|
"app/page": {
|
|
396
396
|
"moduleId": 873715,
|
|
@@ -401,7 +401,7 @@
|
|
|
401
401
|
"filename": "features/connectors/mcp.action.ts",
|
|
402
402
|
"exportedName": "refreshServerAction"
|
|
403
403
|
},
|
|
404
|
-
"
|
|
404
|
+
"7f6eacef15427e497ad6330ff0fa5820ce77ba0e87": {
|
|
405
405
|
"workers": {
|
|
406
406
|
"app/page": {
|
|
407
407
|
"moduleId": 873715,
|
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
"filename": "features/connectors/mcp.action.ts",
|
|
413
413
|
"exportedName": "registerServerAction"
|
|
414
414
|
},
|
|
415
|
-
"
|
|
415
|
+
"7f193795576ff7b17df3f9ed43ee4a37ce55e1b0ca": {
|
|
416
416
|
"workers": {
|
|
417
417
|
"app/page": {
|
|
418
418
|
"moduleId": 873715,
|
|
@@ -423,7 +423,7 @@
|
|
|
423
423
|
"filename": "features/thursday/thursday.action.ts",
|
|
424
424
|
"exportedName": "endCallAction"
|
|
425
425
|
},
|
|
426
|
-
"
|
|
426
|
+
"7f4f57b79d5e765d21849bc9acd4d0fefc4e90284b": {
|
|
427
427
|
"workers": {
|
|
428
428
|
"app/page": {
|
|
429
429
|
"moduleId": 873715,
|
|
@@ -434,7 +434,7 @@
|
|
|
434
434
|
"filename": "features/thursday/thursday.action.ts",
|
|
435
435
|
"exportedName": "openCallAction"
|
|
436
436
|
},
|
|
437
|
-
"
|
|
437
|
+
"7f7da8b019454b82e7476d72e6ca572be4ada58fdd": {
|
|
438
438
|
"workers": {
|
|
439
439
|
"app/page": {
|
|
440
440
|
"moduleId": 873715,
|
|
@@ -447,5 +447,5 @@
|
|
|
447
447
|
}
|
|
448
448
|
},
|
|
449
449
|
"edge": {},
|
|
450
|
-
"encryptionKey": "
|
|
450
|
+
"encryptionKey": "GcPS3Ze+f28qyQKCqb67l8V35/V9uynj+ZFyJGdBdek="
|
|
451
451
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,279265,240829,206721,e=>{"use strict";var t=e.i(843476),n=e.i(401851),s=e.i(96892),a=e.i(689664),o=e.i(716327),r=e.i(24071),i=e.i(867927),l=e.i(931619),d=e.i(508734),u=e.i(779266),c=e.i(632781),m=e.i(77071),x=e.i(825398),p=e.i(263676),f=e.i(271645),h=e.i(798120),b=e.i(815731),g=e.i(167881),k=e.i(496336),j=e.i(683408),v=e.i(660302),w=e.i(184762),y=e.i(6799),N=e.i(435454),T=e.i(451888),C=e.i(635963),z=e.i(835878),S=e.i(764224),M=e.i(919191),A=e.i(929272),B=e.i(433505),_=e.i(372851),R=e.i(95187);let $=(0,R.createServerReference)("7f09de16ce79bb580b8077f0d6657eecbbc875bc73",R.callServer,void 0,R.findSourceMapURL,"markSeenAction");var I=e.i(245629),E=e.i(393080),q=e.i(283653),F=e.i(647163);let L=[],K=!1,D=new Set,O={sync(e,t){for(let n of(K=!0,L=[...e].reverse().map(e=>P(e,t)).slice(-30),D))n()},primed:()=>K};function P(e,t){let n=e=>({name:e,icon:t?.find(t=>t.name===e)?.icon??null}),s=n(e.bot),a=[],o=new Map,r=new Map;for(let t of e.lines){let e=t.bot?n(t.bot):s,i=t.parent&&r.get(t.parent)?.name?s:null;switch(t.kind){case"user":a.push({id:t.id,bot:s,to:null,text:t.text,kind:"user"});break;case"text":a.push({id:t.id,bot:e,to:i,text:t.text,kind:"say"});break;case"note":a.push({id:t.id,bot:e,to:i,text:t.text,kind:"note"});break;case"stop":a.push({id:t.id,bot:e,to:i,text:t.text,kind:"stop",at:t.at});break;case"tool":o.set(t.callId,a.length),a.push({id:t.id,bot:e,to:i,text:t.note??t.input,kind:"tool",tool:{name:t.name,input:t.input,note:t.note,path:t.path,callId:t.callId}});break;case"tool-result":{let e=o.get(t.callId),n=void 0===e?void 0:a[e];n?.tool&&void 0!==e&&(a[e]={...n,tool:{...n.tool,results:t.results,more:t.more}});break}case"ask":{let s=n(t.to);r.set(t.callId,s),a.push({id:t.id,bot:e,to:s,text:t.text,kind:"ask"});break}case"ask-result":{let n=r.get(t.callId);n&&t.text&&a.push({id:t.id,bot:n,to:e,text:t.text,kind:"ask"});break}case"waiting":a.push({id:t.id,bot:e,to:null,text:t.question,kind:"result",options:t.options})}}if("failed"===e.status&&e.outcome)a.push({id:`${e.id}-end`,bot:s,to:null,text:e.outcome,kind:"error"});else if("done"===e.status||"waiting"===e.status){let t=a.at(-1);t&&"say"===t.kind&&t.text===e.outcome&&(a[a.length-1]={...t,kind:"result"})}return{id:e.id,request:e.request,label:e.label,bot:s,lines:a,status:"running"===e.status?"working":e.status,outcome:e.outcome,ask:e.ask,seen:e.seen,tokens:e.tokens,contextTokens:e.contextTokens,contextBudget:e.contextBudget,updatedAt:e.updatedAt}}function U(e){for(let t=e.lines.length-1;t>=0;t--){let n=e.lines[t];if("user"!==n.kind&&"note"!==n.kind&&"stop"!==n.kind)return n}return null}let H=new Map,V={get:e=>H.get(e)??"",set(e,t){t?H.set(e,t):H.delete(e)},typing:e=>(H.get(e)?.trim().length??0)>0},W=new Set,G={announce(e){for(let t of W)t(e)},subscribe:e=>(W.add(e),()=>{W.delete(e)})},X=[];function J(){return(0,f.useSyncExternalStore)(e=>(D.add(e),()=>D.delete(e)),()=>L,()=>X)}let Y=e=>"result"===e.kind||"error"===e.kind;function Q(e){let t=[e.bot];for(let n of e.lines)t.some(e=>e.name===n.bot.name)||t.push(n.bot);return t}function Z(e){let t=new Set([e.bot.name]),n=[];for(let s of function(e){let t=[];for(let n of e){let e=t.at(-1);if(e&&e.bot.name===n.bot.name&&e.to?.name===n.to?.name&&"user"===e.lines[0].kind==("user"===n.kind)){e.lines.push(n);continue}t.push({key:n.id,bot:n.bot,to:n.to,lines:[n]})}return t}(e.lines))s.to&&!t.has(s.to.name)&&(t.add(s.to.name),n.push({kind:"invite",key:`${s.key}-joins`,from:s.bot,to:s.to})),t.add(s.bot.name),n.push({kind:"group",key:s.key,group:s});return n}function ee(e){let t=new Map;for(let n of e)for(let e of(t.has(n.bot.name)||t.set(n.bot.name,{bot:n.bot,task:n,line:null,open:0}),n.lines))"user"!==e.kind&&"note"!==e.kind&&"stop"!==e.kind&&t.set(e.bot.name,{bot:e.bot,task:n,line:e,open:t.get(e.bot.name)?.open??0});for(let n of e){if("working"!==n.status)continue;let e=t.get(n.bot.name);e&&(e.open+=1)}return[...t.values()]}function et(e){let t=(0,f.useRef)(new Set),n=e?.id??null,s=e?`${e.id}@${(0,I.toDate)(e.updatedAt).getTime()}`:null,a=!!e&&("done"===e.status||"failed"===e.status)&&!e.seen;(0,f.useEffect)(()=>{!n||!s||!a||t.current.has(s)||(t.current.add(s),$([n]).then(E.unwrapResult).then(()=>(0,q.revalidate)(h.queryKey.tasks)).catch(e=>{t.current.delete(s),y.toast.add({type:"error",title:"Could not mark the task as read",description:(0,F.errorToString)(e)})}))},[n,s,a])}e.s(["botTasks",0,O,"isOutcome",0,Y,"lastSaid",0,U,"latestPerBot",0,ee,"rosterOf",0,Q,"screenActs",0,G,"taskDrafts",0,V,"taskFromRow",0,P,"threadItems",0,Z,"useBotTasks",0,J,"useSeenOnDetail",0,et],240829);var en=e.i(609856);function es({task:e,status:n,lines:a=[],className:o}){let[r,i]=(0,f.useState)(()=>V.get(e.id));(0,f.useEffect)(()=>i(V.get(e.id)),[e.id]);let d=t=>{i(t),V.set(e.id,t)},[u,m]=ea(),[x,b]=(0,en.useServerAction)(_.cancelTaskAction,{onOk:e=>{(0,q.revalidate)(h.queryKey.tasks),G.announce({kind:"stopped",id:e.id,label:e.label})}}),j=m||b,[y,N]=(0,f.useState)(!1),[C,z]=(0,f.useState)(null);(0,f.useEffect)(()=>{N(!1),z(null)},[e.id]),(0,f.useEffect)(()=>{"running"!==n&&z(null)},[n]),(0,f.useEffect)(()=>{C&&a.some(e=>"user"===e.kind&&e.text===C)&&z(null)},[a,C]);let S=async t=>{!j&&await u(e,t)&&(d(""),"running"===n&&(z(t.trim()),N(!1)))},B="waiting"===n?e.ask:null,R=(0,T.isAppStop)(B),$=B?B.options.length?"Or put it another way…":"Your answer":"running"===n?`What's off? ${e.bot} reads this before its next step`:"Anything more? It picks up where it left off",I=(0,t.jsxs)("form",{onSubmit:e=>{e.preventDefault(),S(r)},className:"flex items-end gap-1 rounded-2xl bg-background py-1.5 pr-1.5 pl-3.5 ring-1 ring-border/80 transition-shadow focus-within:ring-ring/60",children:[(0,t.jsx)(w.Textarea,{value:r,rows:1,disabled:j,autoFocus:"running"===n,onChange:e=>d(e.target.value),onKeyDown:e=>{"Escape"===e.key&&"running"===n?N(!1):"Enter"!==e.key||e.shiftKey||e.nativeEvent.isComposing||229===e.keyCode||(e.preventDefault(),S(r))},placeholder:$,"aria-label":`Message for ${e.label}`,className:"max-h-32 min-h-0 flex-1 resize-none border-0 bg-transparent px-0 py-1 text-[13px] leading-5 shadow-none focus-visible:ring-0 dark:bg-transparent"}),"running"===n&&(0,t.jsx)(g.Button,{type:"button",size:"icon-sm",variant:"ghost",disabled:j,onClick:()=>N(!1),"aria-label":"Never mind",className:"text-muted-foreground",children:(0,t.jsx)(p.X,{})}),(0,t.jsx)(g.Button,{type:"submit",size:"icon-sm",variant:r.trim()?"default":"ghost",disabled:!r.trim()||j,"aria-label":"Send",className:"rounded-full",children:m?(0,t.jsx)(c.Loader2,{className:"animate-spin"}):(0,t.jsx)(s.ArrowUp,{})})]});return"running"!==n||y?B?(0,t.jsxs)("div",{className:(0,F.cn)("space-y-2.5 rounded-2xl bg-amber-500/8 px-3.5 py-3 ring-1 ring-amber-500/25",o),children:[(0,t.jsxs)("p",{className:"flex items-center gap-1.5 font-mono text-[10px] text-muted-foreground",children:[(0,t.jsx)("span",{className:"shrink-0",children:"To"}),(0,t.jsx)("span",{className:"truncate text-foreground",children:e.bot}),(0,t.jsx)("span",{className:"shrink-0 text-muted-foreground/50",children:"·"}),(0,t.jsx)("span",{className:"truncate",children:e.label})]}),B.question&&(0,t.jsx)(k.FoldedText,{text:B.question,subject:"message",clamp:"line-clamp-6",tall:"max-h-56"}),B.options.length>0&&(0,t.jsx)("div",{className:"flex flex-wrap gap-1.5",children:B.options.map(e=>(0,t.jsxs)(g.Button,{size:"sm",variant:"outline",disabled:j,onClick:()=>S(e),className:"h-7 gap-1.5 rounded-full bg-background px-3 text-[12px]",children:[R&&e===T.TASK_CONTINUE&&(0,t.jsx)(l.ChevronsRight,{className:"size-3.5 text-muted-foreground"}),e]},e))}),I,"waiting"===n&&(0,t.jsx)("button",{type:"button",disabled:j,onClick:()=>x(e.id),className:"font-mono text-[10px] text-muted-foreground outline-none transition-colors hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50 disabled:opacity-50",children:"Stop this task instead"})]}):(0,t.jsx)("div",{className:o,children:I}):(0,t.jsxs)("div",{className:(0,F.cn)("flex items-center gap-2 rounded-2xl bg-muted/40 py-1.5 pr-1.5 pl-3.5 ring-1 ring-border/50",o),children:[C?(0,t.jsxs)("p",{className:"flex min-w-0 flex-1 items-center gap-2 text-[12.5px] leading-5 text-muted-foreground",children:[(0,t.jsx)(c.Loader2,{className:"size-3 shrink-0 animate-spin"}),(0,t.jsx)("span",{className:"shrink-0",children:"Before its next step:"}),(0,t.jsx)(v.ShinyText,{text:C,speed:2.2,className:"min-w-0 truncate"})]}):(0,t.jsx)(v.ShinyText,{text:`${e.bot} is on it — Thursday steers it by voice.`,speed:2.4,className:"min-w-0 flex-1 truncate text-[12.5px] leading-5 break-keep"}),(0,t.jsxs)(g.Button,{type:"button",size:"sm",variant:"ghost",disabled:j,onClick:()=>N(!0),className:"h-7 shrink-0 gap-1.5 rounded-full px-2.5 text-[12px]",children:[(0,t.jsx)(M.CornerDownLeft,{className:"size-3.5"}),"Step in"]}),(0,t.jsx)("span",{className:"h-4 w-px shrink-0 bg-border"}),(0,t.jsx)(g.Button,{type:"button",size:"icon-sm",variant:"ghost",disabled:j,onClick:()=>x(e.id),"aria-label":"Stop this task",className:"shrink-0 text-muted-foreground/60 hover:text-foreground",children:b?(0,t.jsx)(c.Loader2,{className:"animate-spin"}):(0,t.jsx)(A.Square,{className:"size-3"})})]})}function ea(){let[e,t]=(0,en.useServerAction)(B.answerTaskAction,{onOk:()=>(0,q.revalidate)(h.queryKey.tasks)});return[async(t,n)=>{let s=n.trim();if(!s)return!1;try{let n=await e(t.id,s);return G.announce({kind:"answered",id:n.id,label:n.label,answer:s}),!0}catch{return!1}},t]}e.s(["TaskReply",0,es,"useAnswerTask",0,ea],206721);var eo=e.i(989409),er=e.i(256604),ei=e.i(621285),el=e.i(864723),ed=e.i(222055);let eu=(0,f.memo)(function(){let e=J(),{data:n}=(0,q.useServerRoute)(h.queryKey.bot),[s,a]=(0,f.useState)(!1),[o,r]=(0,f.useState)(null),[i,l]=(0,f.useState)(!1),d=[...e].reverse(),u=o?d.find(e=>e.id===o)??null:null,[c,m]=function(){let[e,t]=(0,f.useState)(new Map),n=(0,f.useRef)(new Map);return(0,f.useEffect)(()=>()=>{for(let e of n.current.values())clearTimeout(e)},[]),[e,(0,f.useCallback)(e=>{t(t=>new Map(t).set(e.at,e));let s=n.current.get(e.at);s&&clearTimeout(s),n.current.set(e.at,setTimeout(()=>{n.current.delete(e.at),t(t=>{let n=new Map(t);return n.delete(e.at),n})},3400))},[])]}(),{crew:x,more:p}=(0,f.useMemo)(()=>ex(n,e),[n,e]),b=(0,f.useRef)(null),g=(0,f.useRef)(new Set);(0,f.useEffect)(()=>{if(!O.primed())return;let t=new Map(d.map(e=>[e.id,e.status])),n=b.current;b.current=t;let s=new Set;for(let t of e)for(let e of t.lines)"ask"===e.kind&&e.to&&s.add(e.id);let a=g.current;if(g.current=s,!n)return;let o=new Map;for(let t of e)for(let e of t.lines){if("ask"!==e.kind||!e.to||a.has(e.id))continue;let t=o.get(e.bot.name)??[];t.push({from:e.bot,to:e.to,text:e.text}),o.set(e.bot.name,t)}for(let[e,t]of o){if(1===t.length){m({at:t[0].to.name,from:t[0].from,text:em(t[0].text)});continue}m({at:e,from:t[0].from,text:`sent ${t.length} parts out`})}for(let e of d)n.get(e.id)!==e.status&&"working"===e.status&&m(n.has(e.id)?{at:e.bot.name,from:null,text:"picked it back up"}:{at:e.bot.name,from:eK,text:`took on \u201c${em(e.label)}\u201d`})},[e,m]),et(s?u:null);let k=e.filter(e=>"working"===e.status).length,j=d.filter(ep),v=j.length,w=d.filter(ef),y=w.filter(e=>"failed"===e.status).length,N=(0,f.useCallback)(()=>l(!1),[]);return(0,t.jsx)("div",{className:"pointer-events-none absolute right-5 bottom-5 z-10 flex w-[min(80vw,calc(100vw-2.5rem))] flex-col items-end gap-2",children:s?(0,t.jsx)("div",{className:"pointer-events-auto flex max-h-[min(44rem,78vh)] w-132 max-w-full animate-in flex-col overflow-hidden rounded-3xl bg-background/75 shadow-2xl shadow-black/6 ring-1 ring-border/50 backdrop-blur-xl fade-in slide-in-from-bottom-1 duration-200",children:u?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ez,{task:u,onBack:()=>r(null),onClose:()=>a(!1)}),(0,t.jsx)(eq,{task:u,className:"min-h-0 flex-1"}),(0,t.jsx)(es,{task:{id:u.id,label:u.label,bot:u.bot.name,ask:function(e){if(!e.ask?.question)return e.ask;let t=e.lines.at(-1);return t&&Y(t)&&t.text===e.ask.question?{...e.ask,question:""}:e.ask}(u)},status:"working"===u.status?"running":u.status,lines:u.lines,className:"mx-3 mb-2 shrink-0"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eC,{count:e.length,pending:v,composing:i,onCompose:()=>l(!0),onClose:()=>i?l(!1):a(!1)}),i?(0,t.jsx)(ek,{bots:n,onDone:N}):d.length?(0,t.jsx)(eI,{tasks:d,onPick:r}):(0,t.jsx)(e_,{bots:n}),!i&&(0,t.jsx)(eR,{})]})}):(0,t.jsx)(eh,{crew:x,more:p,bubbles:c,bots:n,rows:j,count:e.length,busy:k,pending:v,unread:w.length,failed:y,composing:i,onCompose:()=>l(!0),onCloseCompose:N,onPick:e=>{r(e),a(!0)},onOpen:()=>{let e=j.length?j:w;o||1!==e.length||r(e[0].id),a(!0)}})})}),ec=new Map,em=e=>{let t=(0,F.plainText)(e).replace(/\s+/g," ").trim();return t.length>28?`${t.slice(0,27)}…`:t};function ex(e,t){let n=new Map;for(let e of ee(t)){let{task:t,bot:s,line:a}=e;if("waiting"===t.status&&t.bot.name===s.name){n.set(s.name,{waiting:!0,word:null});continue}!("working"!==t.status||n.get(s.name)?.waiting)&&n.set(s.name,{waiting:!1,word:a?"tool"===a.kind&&a.tool?em(a.tool.note??`${a.tool.name} \xb7 ${a.tool.input}`):"say"===a.kind?em(a.text):null:null})}let s=new Map;for(let t of e??[])s.set(t.name,{name:t.name,icon:t.icon,awake:n.has(t.name),waiting:n.get(t.name)?.waiting??!1,word:n.get(t.name)?.word??null});for(let[e,t]of n)s.has(e)||s.set(e,{name:e,icon:null,awake:!0,waiting:t.waiting,word:t.word});let a=[...s.values()];if(!a.length)return{crew:ej.slice(0,ev),more:0};for(let e of ej){if(a.length>=ev)break;s.has(e.name)||a.push(e)}let o=e=>e.waiting?0:e.awake?1:e.standIn?3:2,r=a.map((e,t)=>({face:e,at:t})).sort((e,t)=>o(e.face)-o(t.face)||e.at-t.at).map(e=>e.face);return{crew:r.slice(0,10),more:Math.max(0,r.length-10)}}let ep=e=>"waiting"===e.status,ef=e=>("done"===e.status||"failed"===e.status)&&!e.seen;function eh({crew:e,more:n,bubbles:s,bots:o,rows:r,count:i,busy:l,pending:d,unread:u,failed:m,composing:x,onCompose:f,onCloseCompose:h,onPick:b,onOpen:g}){let k=function({count:e,busy:t,pending:n,unread:s,failed:a}){return n>0?{text:1===n?"waiting on you":`${n} waiting on you`,tone:F.WAITING_INK,shine:"waiting"}:a>0?{text:1===a?"1 failed":`${a} failed`,tone:"text-destructive",shine:null}:s>0?{text:1===s?"1 new answer":`${s} new answers`,tone:F.WAITING_INK,shine:null}:t>0?{text:1===t?"working":`${t} running`,tone:"text-muted-foreground",shine:"muted"}:e>0?{text:"all done",tone:"text-muted-foreground",shine:null}:{text:"no jobs yet",tone:"text-muted-foreground",shine:null}}({count:i,busy:l,pending:d,unread:u,failed:m}),j=x||d>0;return(0,t.jsxs)("div",{className:(0,F.cn)("pointer-events-auto w-fit max-w-full bg-background/78 ring-1 ring-border/50 backdrop-blur-md transition-shadow duration-300",j?"max-w-[min(33rem,100%)] min-w-96 rounded-3xl shadow-lg shadow-black/8":"rounded-full shadow-sm shadow-black/3"),children:[(0,t.jsx)("div",{className:(0,F.cn)("grid overflow-hidden transition-[grid-template-rows] duration-300 ease-out",j?"grid-rows-[1fr]":"grid-rows-[0fr]"),children:(0,t.jsx)("div",{className:"min-h-0 overflow-hidden",inert:!j,children:x?(0,t.jsx)(ek,{bots:o,onDone:h}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{className:"flex items-center gap-2 px-3 py-2 font-mono text-[10px] tracking-wide text-muted-foreground",children:[(0,t.jsxs)("span",{className:"flex-1",children:["needs you · ",d]}),(0,t.jsx)(eb,{onClick:f})]}),(0,t.jsx)("div",{className:"px-1.5 pb-2",children:r.map(e=>(0,t.jsx)(eE,{task:e,onPick:()=>b(e.id)},e.id))}),(0,t.jsx)("span",{className:"block h-1.5"})]})})}),(0,t.jsxs)("div",{className:"flex items-center gap-2 px-3 py-1.5",children:[(0,t.jsxs)("button",{type:"button",onClick:g,"aria-label":i?`Tasks (${i})`:"Bots",className:"flex min-w-0 flex-1 items-center gap-2 rounded-full text-left outline-none focus-visible:ring-3 focus-visible:ring-ring/50",children:[(0,t.jsx)(ew,{crew:e,more:n,bubbles:s}),(0,t.jsxs)("span",{className:"ml-auto flex h-7 shrink-0 items-center gap-1.5",children:[k.shine?(0,t.jsx)(v.ShinyText,{text:k.text,tone:k.shine,speed:2.6,className:"block truncate text-[14px] leading-5 tracking-[-0.15px]"}):(0,t.jsx)("span",{className:(0,F.cn)("block animate-in truncate text-[14px] leading-5 tracking-[-0.15px] fade-in duration-300",k.tone),children:k.text},k.text),(0,t.jsxs)("span",{className:"grid size-4 shrink-0 place-items-center",children:[0===d&&0===u&&l>0&&(0,t.jsx)(c.Loader2,{className:"size-4 animate-spin text-muted-foreground/70"}),0===d&&0===m&&(u>0||0===l&&i>0)&&(0,t.jsx)(a.Check,{className:"size-4 text-muted-foreground/60"})]})]})]}),x&&(0,t.jsx)(eg,{onClick:h,label:"Cancel the message",children:(0,t.jsx)(p.X,{className:"size-3.5"})})]})]})}function eb({onClick:e}){return(0,t.jsx)(eg,{onClick:e,label:"Message a bot",children:(0,t.jsx)(m.Plus,{className:"size-4"})})}function eg({onClick:e,label:n,children:s}){return(0,t.jsx)("button",{type:"button",onClick:e,"aria-label":n,className:"grid size-7 shrink-0 place-items-center rounded-full text-muted-foreground outline-none transition-colors hover:bg-muted hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50",children:s})}function ek({bots:e,onDone:n}){let[a,o]=(0,f.useState)(null),[l,d]=(0,f.useState)(""),[u,m]=(0,en.useServerAction)(N.startTaskAction,{onOk:()=>{(0,q.revalidate)(h.queryKey.tasks),n()}}),x=e?.length?e.filter(e=>!e.disabled).map(e=>({name:e.name,icon:e.icon})):[{name:T.DEFAULT_BOT.name,icon:T.DEFAULT_BOT.icon}],p=()=>{a&&l.trim()&&!m&&u(a.name,l.trim())};return a?(0,t.jsxs)("div",{className:"flex min-h-32 flex-col pb-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 px-3 pt-3 pb-2",children:[(0,t.jsx)("button",{type:"button",onClick:()=>o(null),"aria-label":"Choose a different bot",className:"grid size-6 shrink-0 place-items-center rounded-lg text-muted-foreground outline-none transition-colors hover:bg-muted hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50",children:(0,t.jsx)(r.ChevronLeft,{className:"size-3.5"})}),(0,t.jsx)(C.BotMark,{size:22,seed:a.name,vary:a.name,color:a.icon?.color,shape:a.icon?.shape,outline:a.icon?.outline,className:"shrink-0"}),(0,t.jsxs)("span",{className:"min-w-0 flex-1 truncate text-[12.5px] font-medium",children:["To ",a.name]})]}),(0,t.jsxs)("form",{onSubmit:e=>{e.preventDefault(),p()},className:"mx-3 mt-auto flex items-end gap-1 rounded-2xl bg-background py-2 pr-2 pl-3 ring-1 ring-border/80 transition-shadow focus-within:ring-ring/60",children:[(0,t.jsx)(w.Textarea,{value:l,rows:1,autoFocus:!0,disabled:m,onChange:e=>d(e.target.value),onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||e.nativeEvent.isComposing||229===e.keyCode||(e.preventDefault(),p())},placeholder:`What should ${a.name} do? It cannot hear the call, so say the whole job.`,"aria-label":`Message for ${a.name}`,className:"max-h-32 min-h-15 flex-1 resize-none border-0 bg-transparent px-0 py-0 text-[13px] leading-5 shadow-none focus-visible:ring-0 dark:bg-transparent"}),(0,t.jsx)(g.Button,{type:"submit",size:"icon-sm",variant:l.trim()?"default":"ghost",disabled:!l.trim()||m,"aria-label":"Send",className:"rounded-full",children:m?(0,t.jsx)(c.Loader2,{className:"animate-spin"}):(0,t.jsx)(s.ArrowUp,{})})]})]}):(0,t.jsxs)("div",{className:"min-h-32 pb-3",children:[(0,t.jsx)("p",{className:"px-3 pt-3 pb-1.5 font-mono text-[10px] tracking-wide text-muted-foreground",children:"message a bot"}),(0,t.jsx)("div",{className:"px-1",children:x.map(e=>(0,t.jsxs)("button",{type:"button",onClick:()=>o(e),className:"flex w-full items-center gap-2.5 rounded-xl px-2 py-1.5 text-left outline-none transition-colors hover:bg-muted/60 focus-visible:ring-3 focus-visible:ring-ring/50",children:[(0,t.jsx)(C.BotMark,{size:22,seed:e.name,vary:e.name,color:e.icon?.color,shape:e.icon?.shape,outline:e.icon?.outline,className:"shrink-0"}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate text-[13px]",children:e.name}),(0,t.jsx)(i.ChevronRight,{className:"size-3.5 shrink-0 text-muted-foreground/50"})]},e.name))})]})}let ej=["alto","brio","cinder","delta"].map((e,t)=>({name:e,icon:{color:el.MARK_PALETTE[Math.floor(t*el.MARK_PALETTE.length/4)],shape:el.MARK_SHAPES[t%el.MARK_SHAPES.length]},awake:!1,waiting:!1,word:null,standIn:!0})),ev=3;function ew({crew:e,more:n,bubbles:s}){return(0,t.jsxs)("span",{className:"flex min-w-0 shrink items-center",children:[e.map((n,a)=>{let o=s.get(n.name)??null;return(0,t.jsxs)(f.Fragment,{children:[(0,t.jsxs)("span",{className:(0,F.cn)("relative shrink-0 transition-[margin,transform] duration-500 ease-out",a>0&&!e[a-1].word&&"-ml-2",n.standIn&&"opacity-35",n.awake&&"-translate-y-0.5 scale-110"),style:{zIndex:e.length-a},children:[(0,t.jsx)(ey,{face:n}),o&&(0,t.jsx)(eN,{handoff:o})]}),n.word&&(0,t.jsx)("span",{className:"mx-2.5 min-w-0 shrink truncate",children:(0,t.jsx)(v.ShinyText,{text:n.word,speed:2.6,className:"truncate text-[13px] leading-5 tracking-[-0.1px]"})})]},n.name)}),n>0&&(0,t.jsxs)("span",{className:(0,F.cn)("grid size-7 shrink-0 place-items-center rounded-[9px] bg-muted font-mono text-[10px] text-muted-foreground ring-1 ring-border/50",!e.at(-1)?.word&&"-ml-2"),title:`${n} more`,children:["+",n]})]})}function ey({face:e}){let n=(0,f.useMemo)(()=>e.awake?{glow:20}:void 0,[e.awake]);return(0,t.jsx)(C.BotMark,{size:28,seed:e.name,vary:e.name,color:e.icon?.color,shape:e.icon?.shape,outline:e.icon?.outline,notify:e.waiting,options:n})}function eN({handoff:e}){return(0,t.jsxs)("span",{className:"pointer-events-none absolute bottom-[calc(100%+9px)] left-1/2 flex -translate-x-1/2 animate-in flex-col items-center whitespace-nowrap fade-in zoom-in-95 duration-200",children:[(0,t.jsxs)("span",{className:"flex items-center gap-1.5 rounded-full bg-background px-2.5 py-1 text-[12.5px] leading-4 tracking-[-0.1px] shadow-lg shadow-black/10 ring-1 ring-border",children:[e.from?.name===eK.name?(0,t.jsx)(er.ThursdayMark,{size:14,className:"shrink-0 opacity-75"}):e.from&&(0,t.jsx)(C.BotMark,{size:14,seed:e.from.name,vary:e.from.name,color:e.from.icon?.color,shape:e.from.icon?.shape,outline:e.from.icon?.outline,className:"shrink-0 opacity-75"}),e.text]}),(0,t.jsx)("span",{className:"-mt-px size-0 border-x-[5px] border-t-[6px] border-x-transparent border-t-border"}),(0,t.jsx)("span",{className:"-mt-[6.5px] size-0 border-x-[5px] border-t-[6px] border-x-transparent border-t-background"})]})}function eT({onClick:e}){return(0,t.jsx)("button",{type:"button",onClick:e,"aria-label":"Fold the room away",className:"grid size-7 shrink-0 place-items-center rounded-full bg-muted text-foreground outline-none transition-colors hover:bg-muted-foreground/20 focus-visible:ring-3 focus-visible:ring-ring/50",children:(0,t.jsx)(p.X,{className:"size-3.5"})})}function eC({count:e,pending:n,composing:s,onCompose:a,onClose:o}){return(0,t.jsxs)("div",{className:"flex items-center gap-2 px-3.5 pt-3 pb-1.5",children:[(0,t.jsx)("span",{className:"text-[13px] font-medium",children:"Tasks"}),e>0&&!s&&(0,t.jsx)("span",{className:"font-mono text-[10px] text-muted-foreground tabular-nums",children:n>0?`${n} for you \xb7 ${e}`:e}),(0,t.jsx)("span",{className:"flex-1"}),!s&&(0,t.jsx)(eb,{onClick:a}),(0,t.jsx)(eT,{onClick:o})]})}function ez({task:e,onBack:n,onClose:s}){return(0,t.jsxs)("div",{className:"flex items-center gap-2 px-3 pt-3 pb-1",children:[(0,t.jsx)("button",{type:"button",onClick:n,"aria-label":"Back to the list",className:"shrink-0 rounded-md p-1 text-muted-foreground outline-none transition-colors hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50",children:(0,t.jsx)(r.ChevronLeft,{className:"size-4"})}),(0,t.jsx)(C.BotMark,{size:22,seed:e.bot.name,vary:e.id,color:e.bot.icon?.color,shape:e.bot.icon?.shape,outline:e.bot.icon?.outline,notify:!1}),(0,t.jsxs)("span",{className:"min-w-0 flex-1 truncate text-[13px] font-medium",children:[e.label,(0,t.jsx)("span",{title:e.id,className:"ml-1.5 font-mono text-[10px] font-normal text-muted-foreground/60",children:e.id.slice(0,8)})]}),(0,t.jsx)(eS,{usage:e.tokens}),(0,t.jsx)(eM,{task:e}),(0,t.jsx)(eB,{task:e}),(0,t.jsx)(eT,{onClick:s})]})}function eS({usage:e}){let n=e.input+e.output;return n?(0,t.jsx)("span",{title:`in ${(0,F.formatCount)(e.input)} \xb7 out ${(0,F.formatCount)(e.output)}`,className:"shrink-0 font-mono text-[10px] text-muted-foreground/70 tabular-nums",children:(0,F.formatCount)(n)}):null}function eM({task:e}){let{contextTokens:n,contextBudget:s}=e;if(!n||!s)return null;let a=Math.min(1,n/s);return(0,t.jsx)("span",{title:`Context ${(0,F.formatCount)(n)} of ${(0,F.formatCount)(s)} — it summarizes itself here`,className:"block h-[3px] w-9 shrink-0 overflow-hidden rounded-full bg-muted",children:(0,t.jsx)("span",{className:(0,F.cn)("block h-full rounded-full",a>.9?"bg-amber-500/80":"bg-muted-foreground/70"),style:{width:`${Math.max(4,Math.round(100*a))}%`}})})}let eA={working:"text-muted-foreground",waiting:F.WAITING_INK,done:"text-foreground",failed:"text-destructive"};function eB({task:e}){let n="done"===e.status&&e.seen?"text-muted-foreground":eA[e.status];return"working"===e.status?(0,t.jsx)(v.ShinyText,{text:"working",speed:2.2,className:"shrink-0 font-mono text-[10px]"}):(0,t.jsx)("span",{className:(0,F.cn)("flex shrink-0 items-center gap-1.5 font-mono text-[10px]",n),children:e.status})}function e_({bots:e}){let{crew:n,more:s}=ex(e,[]);return(0,t.jsxs)("div",{className:"flex flex-col items-center gap-3 px-6 pt-3 pb-4 text-center",children:[(0,t.jsx)(ew,{crew:n,more:s,bubbles:ec}),e?.length?(0,t.jsx)("p",{className:"text-[12px] text-muted-foreground",children:"Nothing handed over yet — ask for something that takes a while."}):(0,t.jsxs)("p",{className:"text-[12px] text-muted-foreground",children:["Thursday hands work to ",T.DEFAULT_BOT.name," until you make bots of your own in Settings › Bots."]})]})}function eR(){return(0,t.jsx)("div",{className:"flex shrink-0 justify-end px-3 pb-2.5",children:(0,t.jsxs)("button",{type:"button",onClick:()=>(0,eo.openSettings)("tasks"),className:"flex items-center gap-1 rounded-md px-1.5 py-1 font-mono text-[10px] text-muted-foreground outline-none transition-colors hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50",children:[(0,t.jsx)(u.History,{className:"size-3"}),"History"]})})}let e$=[{id:"you",label:"needs you",holds:ep},{id:"working",label:"working",holds:e=>"working"===e.status},{id:"done",label:"done",holds:()=>!0}];function eI({tasks:e,onPick:n}){let s=new Map;for(let t of e){let e=e$.find(e=>e.holds(t))??e$[2],n=s.get(e.id);n?n.push(t):s.set(e.id,[t])}return(0,t.jsx)("div",{className:"flex min-h-0 flex-1 flex-col gap-0.5 overflow-y-auto px-2 pt-1 pb-1 scrollbar-none",children:e$.map((e,a)=>{let o=s.get(e.id)??[];return o.length?(0,t.jsxs)(f.Fragment,{children:[(0,t.jsxs)("p",{className:(0,F.cn)("px-2.5 pb-1 font-mono text-[10px] text-muted-foreground",0===a?"pt-1":"pt-3"),children:[e.label," · ",o.length]}),o.map(e=>(0,t.jsx)(eE,{task:e,onPick:()=>n(e.id)},e.id))]},e.id):null})})}function eE({task:e,onPick:n}){let s=ep(e),a=e.lines.at(-1),o=(0,f.useMemo)(()=>(function(e){if("waiting"===e.status&&e.ask)return{text:(0,T.isAppStop)(e.ask)?(0,F.plainText)(e.outcome??e.ask.question):e.ask.question,tone:F.WAITING_INK};let t=e.seen;if("failed"===e.status)return{text:(0,F.plainText)(e.outcome??"Failed"),tone:t?"text-destructive/70":"text-destructive"};if("done"===e.status)return{text:(0,F.plainText)(e.outcome??"Done"),tone:t?"text-muted-foreground":"text-foreground"};let n=U(e);return n?{text:"tool"===n.kind&&n.tool?n.tool.note??`${n.tool.name} \xb7 ${n.tool.input}`:n.text,tone:"text-muted-foreground"}:{text:`${e.bot.name} is taking it on…`,tone:"text-muted-foreground italic"}})(e),[e.status,e.outcome,e.seen,e.ask,a?.id]),[r,i]=ea(),[d,u]=(0,f.useState)(null),m="waiting"===e.status?e.ask?.options??[]:[];return(0,t.jsxs)("div",{className:"rounded-xl transition-colors hover:bg-muted/60",children:[(0,t.jsxs)("button",{type:"button",onClick:n,className:"flex w-full items-center gap-2.5 rounded-xl px-2 py-1.5 text-left outline-none focus-visible:ring-3 focus-visible:ring-ring/50",children:[(0,t.jsx)("span",{className:"relative flex size-8 shrink-0 items-center justify-center overflow-visible",title:e.bot.name,children:(0,t.jsx)(C.BotMark,{size:32,seed:e.bot.name,vary:e.id,color:e.bot.icon?.color,shape:e.bot.icon?.shape,outline:e.bot.icon?.outline,state:"working"===e.status?"thinking":"idle",notify:s})}),(0,t.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,t.jsxs)("span",{className:"flex items-center justify-between gap-2",children:[(0,t.jsx)("span",{className:(0,F.cn)("min-w-0 truncate text-[14px] leading-5 tracking-[-0.15px]",s?"text-foreground":"text-foreground/80"),children:e.label}),(0,t.jsx)(z.BotRoster,{bots:Q(e),taskId:e.id}),(0,t.jsx)("span",{className:"flex-1"}),(0,t.jsx)("span",{className:"shrink-0 font-mono text-[11px] leading-4 text-muted-foreground/70 tabular-nums",children:(0,I.shortAgo)(e.updatedAt)})]}),(0,t.jsxs)("span",{className:"mt-px flex h-4 items-center gap-1.5",children:["working"===e.status&&(0,t.jsx)(c.Loader2,{className:"size-3 shrink-0 animate-spin text-muted-foreground/70"}),"working"===e.status?(0,t.jsx)(v.ShinyText,{text:o.text,speed:2.2,className:(0,F.cn)("min-w-0 flex-1 truncate text-[12px] leading-4",o.tone)}):(0,t.jsx)("span",{className:(0,F.cn)("min-w-0 flex-1 truncate text-[12px] leading-4",o.tone),children:o.text})]})]})]}),m.length>0&&(0,t.jsx)("div",{className:"flex flex-wrap gap-1.5 pt-0.5 pr-2 pb-2 pl-12.5",children:m.map(n=>(0,t.jsxs)(g.Button,{size:"sm",variant:"outline",loading:d===n,disabled:i,onClick:async()=>{u(n),await r(e,n),u(null)},className:"h-7 gap-1.5 rounded-full border-amber-500/35 bg-background px-3 text-[12px]",children:[n===T.TASK_CONTINUE&&(0,t.jsx)(l.ChevronsRight,{className:"size-3.5 text-muted-foreground"}),n]},n))})]})}function eq({task:e,className:n}){let s=(0,f.useRef)(null),a=(0,f.useRef)(!0);return(0,f.useEffect)(()=>{a.current=!0},[e.id]),(0,f.useEffect)(()=>{let e=s.current;e&&a.current&&(e.scrollTop=e.scrollHeight)},[e.lines,e.status]),(0,t.jsx)(ei.FileViewer,{children:(0,t.jsxs)("div",{ref:s,onScroll:e=>{let t=e.currentTarget;a.current=t.scrollHeight-t.scrollTop-t.clientHeight<24},className:(0,F.cn)("max-h-[64vh] space-y-3 overflow-y-auto px-4 pt-6 pb-4 mask-[linear-gradient(to_bottom,transparent,black_2rem)] scrollbar-none",n),children:[(0,t.jsx)(eL,{task:e}),Z(e).map(n=>"invite"===n.kind?(0,t.jsx)(eD,{from:n.from,to:n.to},n.key):(0,t.jsx)(eH,{group:n.group,task:e},n.key)),"working"===e.status&&(0,t.jsx)(eF,{task:e})]})})}function eF({task:e}){if(e.lines.some(e=>e.tool&&void 0===e.tool.results))return null;let n=e.lines.at(-1),s=n?.kind==="ask"&&n.to?n.to:n?.bot;return(0,t.jsx)(v.ShinyText,{text:s?`${s.name} is on the next step…`:`${e.bot.name} is taking it on…`,speed:2.2,className:"block px-1 font-mono text-[10px]"})}function eL({task:e}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eD,{from:eK,to:e.bot}),(0,t.jsx)(eP,{children:(0,t.jsx)(b.Bubble,{align:"end",className:"max-w-full",children:(0,t.jsx)(b.BubbleContent,{className:"rounded-tr-md py-2 pr-2 pl-3.5",children:(0,t.jsx)(k.FoldedText,{text:e.request,subject:"request"})})})})]})}let eK={name:"Thursday"};function eD({from:e,to:n}){return(0,t.jsx)("div",{className:"flex animate-in justify-center fade-in duration-300",children:(0,t.jsxs)("span",{className:"flex max-w-full items-center gap-1.5 rounded-full bg-muted px-2.5 py-1 font-mono text-[10px] text-muted-foreground",children:[(0,t.jsx)(eO,{bot:e}),(0,t.jsx)("span",{className:"shrink-0 text-muted-foreground/70",children:"invited"}),(0,t.jsx)(eO,{bot:n})]})})}function eO({bot:e}){return(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5",children:[(0,t.jsx)(C.BotMark,{size:15,seed:e.name,color:e.icon?.color,shape:e.icon?.shape,outline:e.icon?.outline,notify:!1,className:"shrink-0"}),(0,t.jsx)("span",{className:"truncate",children:e.name})]})}function eP({children:e}){return(0,t.jsx)(eU,{side:"end",name:"Thursday",mark:(0,t.jsx)(C.BotMark,{size:26,seed:"thursday",notify:!1,className:"mt-1 shrink-0"}),children:e})}function eU({side:e,mark:n,name:s,children:a}){return(0,t.jsxs)("div",{className:(0,F.cn)("flex gap-2.5","end"===e&&"flex-row-reverse"),children:[n,(0,t.jsxs)("div",{className:(0,F.cn)("flex min-w-0 flex-1 flex-col gap-1.5 [&>*+*]:max-w-[80%]","end"===e&&"items-end"),children:[(0,t.jsx)("p",{className:"max-w-[80%] truncate px-1 font-mono text-[10px] text-muted-foreground",children:s}),a]})]})}function eH({group:e,task:n}){return e.lines[0]?.kind==="user"?(0,t.jsx)("div",{className:"animate-in fade-in slide-in-from-bottom-2 duration-300",children:(0,t.jsx)(eP,{children:e.lines.map(e=>(0,t.jsx)(b.Bubble,{align:"end",className:"max-w-full",children:(0,t.jsx)(b.BubbleContent,{className:"rounded-tr-md px-3.5 text-[13px] leading-snug break-keep",children:e.text})},e.id))})}):(0,t.jsx)("div",{className:"animate-in fade-in slide-in-from-bottom-2 duration-300",children:(0,t.jsx)(eU,{side:e.bot.name===n.bot.name?"start":"end",name:e.bot.name,mark:(0,t.jsx)(C.BotMark,{size:26,seed:e.bot.name,vary:n.id,color:e.bot.icon?.color,shape:e.bot.icon?.shape,outline:e.bot.icon?.outline,notify:!1,className:"mt-1 shrink-0"}),children:(function(e){let t=[];for(let n of e){let e="tool"===n.kind&&n.tool?"tools":"stop"===n.kind?"stops":"said",s=t.at(-1),a=s?.kind===e&&("stops"!==e||eJ(s.lines[0].text)===eJ(n.text));s&&a?s.lines.push(n):t.push({kind:e,key:n.id,lines:[n]})}return t})(e.lines).map(e=>"tools"===e.kind?(0,t.jsx)(eG,{lines:e.lines,taskId:n.id},e.key):"stops"===e.kind?(0,t.jsx)(eX,{lines:e.lines},e.key):e.lines.map(e=>(0,t.jsx)(eV,{line:e,taskId:n.id},e.id)))})})}function eV({line:e,taskId:n}){if("tool"===e.kind&&e.tool)return(0,t.jsx)(ed.BotTool,{tool:e.tool,taskId:n});if("note"===e.kind)return(0,t.jsxs)("details",{className:"w-full py-1 text-muted-foreground",children:[(0,t.jsxs)("summary",{className:"flex cursor-pointer list-none items-center gap-2.5 outline-none [&::-webkit-details-marker]:hidden",children:[(0,t.jsx)("span",{className:"h-px flex-1 bg-border"}),(0,t.jsx)("span",{className:"shrink-0 font-mono text-[10px]",children:"Compacted — it goes on from its summary"}),(0,t.jsx)("span",{className:"h-px flex-1 bg-border"})]}),(0,t.jsx)("p",{className:"mt-2 rounded-xl bg-muted/40 px-3 py-2 text-[11px] leading-relaxed whitespace-pre-wrap break-keep",children:e.text})]});if(!Y(e))return(0,t.jsx)("p",{className:"px-1 text-[12.5px] leading-relaxed break-keep text-muted-foreground",children:e.text});if(e.options)return(0,t.jsxs)("div",{className:"w-fit max-w-full space-y-1.5 rounded-2xl bg-amber-500/8 px-3 py-2 ring-1 ring-amber-500/25",children:[(0,t.jsx)("p",{className:"text-[13px] leading-snug break-keep",children:e.text}),e.options.length>0&&(0,t.jsx)("p",{className:"flex flex-wrap gap-1",children:e.options.map(e=>(0,t.jsx)("span",{className:"rounded-full bg-background/70 px-2 py-0.5 font-mono text-[10px] text-muted-foreground",children:e},e))})]});let s="error"===e.kind;return(0,t.jsxs)("div",{className:"min-w-0 px-1",children:[s&&(0,t.jsxs)("p",{className:"mb-1.5 flex items-center gap-1.5 font-mono text-[10px] text-destructive",children:[(0,t.jsx)(p.X,{className:"size-3 shrink-0"}),"Could not finish"]}),(0,t.jsx)(j.Markdown,{className:(0,F.cn)("overflow-x-auto text-[13px] leading-relaxed break-keep [&_h1]:text-[15px] [&_h2]:text-[14px] [&_h3]:text-[13px] [&_h3]:font-semibold [&_li]:my-0.5 [&_table]:text-[12px] [&>*:first-child]:mt-0 [&>*:last-child]:mb-0",s&&"text-destructive"),children:e.text}),(0,t.jsxs)("div",{className:"mt-2 flex items-center gap-2",children:[(0,t.jsx)(S.PathChips,{text:e.text,className:"min-w-0"}),!s&&(0,t.jsx)("span",{className:"ml-auto shrink-0",children:(0,t.jsx)(eW,{text:e.text})})]})]})}function eW({text:e}){let[n,s]=(0,f.useState)(!1),o=(0,f.useRef)(null);return(0,f.useEffect)(()=>()=>{o.current&&clearTimeout(o.current)},[]),(0,t.jsx)("button",{type:"button","aria-label":"Copy the answer",onClick:async()=>{try{await navigator.clipboard.writeText(e),s(!0),o.current&&clearTimeout(o.current),o.current=setTimeout(()=>s(!1),1400)}catch(e){y.toast.add({type:"error",title:"Could not copy the answer",description:(0,F.errorToString)(e)})}},className:"grid size-5 shrink-0 place-items-center rounded-md text-muted-foreground outline-none transition-colors hover:bg-muted hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50",children:n?(0,t.jsx)(a.Check,{className:"size-3"}):(0,t.jsx)(d.Copy,{className:"size-3"})})}function eG({lines:e,taskId:n}){return(0,t.jsxs)("div",{className:"flex w-full flex-col gap-0.5 rounded-2xl bg-muted/40 p-1",children:[e.length>1&&(0,t.jsxs)("p",{className:"px-2 py-1 font-mono text-[10px] text-muted-foreground",children:[e.length," steps"]}),e.map(e=>e.tool?(0,t.jsx)(ed.BotTool,{tool:e.tool,taskId:n,collapsed:!0},e.id):null)]})}function eX({lines:e}){return(0,t.jsxs)("details",{className:"group min-w-0 px-1 text-muted-foreground",children:[(0,t.jsxs)("summary",{className:"flex cursor-pointer list-none items-center gap-1.5 text-[12.5px] leading-relaxed outline-none [&::-webkit-details-marker]:hidden",children:[(0,t.jsx)(x.RotateCw,{className:"size-3 shrink-0"}),(0,t.jsx)("span",{className:"min-w-0 truncate",children:eJ(e[0].text)}),e.length>1&&(0,t.jsxs)("span",{className:"shrink-0 font-mono text-[10px] text-muted-foreground/70",children:["×",e.length]}),(0,t.jsx)(o.ChevronDown,{className:"size-2.5 shrink-0 text-muted-foreground/70 transition-transform group-open:rotate-180"})]}),(0,t.jsx)("div",{className:"mt-1 space-y-1 pl-4.5 text-[11px] leading-relaxed",children:e.map(e=>(0,t.jsxs)("p",{className:"flex gap-2 break-keep",children:[e.at&&(0,t.jsx)("span",{className:"shrink-0 font-mono text-muted-foreground/70 tabular-nums",children:(0,n.format)((0,I.toDate)(e.at),"HH:mm:ss")}),(0,t.jsx)("span",{className:"min-w-0",children:e.text})]},e.id))})]})}let eJ=e=>e.split(" (")[0].replace(/\.$/,"");e.s(["BotRoom",0,eu,"Conversation",0,eq],279265)},372851,e=>{"use strict";var t=e.i(95187);let n=(0,t.createServerReference)("7f681b8be32fbd5eb73f156ad88e53db719f14f304",t.callServer,void 0,t.findSourceMapURL,"cancelTaskAction");e.s(["cancelTaskAction",0,n])},433505,e=>{"use strict";var t=e.i(95187);let n=(0,t.createServerReference)("7fbdb2e36edae956fa954eada93a8b20c8642c1530",t.callServer,void 0,t.findSourceMapURL,"answerTaskAction");e.s(["answerTaskAction",0,n])},931619,508734,825398,815731,496336,435454,835878,764224,919191,e=>{"use strict";var t=e.i(456420);let n={name:"chevrons-right",size:24,node:[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]]};n.node;let s=(0,t.default)(n);e.s(["ChevronsRight",0,s],931619);let a={name:"copy",size:24,node:[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]};a.node;let o=(0,t.default)(a);e.s(["Copy",0,o],508734);let r={name:"rotate-cw",size:24,node:[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]};r.node;let i=(0,t.default)(r);e.s(["RotateCw",0,i],825398);var l=e.i(843476),d=e.i(176782),u=e.i(552245),c=e.i(225913),m=e.i(647163);let x=(0,c.cva)("group/bubble relative flex w-fit max-w-[80%] min-w-0 flex-col gap-1 group-data-[align=end]/message:self-end data-[align=end]:self-end data-[variant=ghost]:max-w-full",{variants:{variant:{default:"*:data-[slot=bubble-content]:bg-primary *:data-[slot=bubble-content]:text-primary-foreground [&>[data-slot=bubble-content]:is(button,a):hover]:bg-primary/80",secondary:"*:data-[slot=bubble-content]:bg-secondary *:data-[slot=bubble-content]:text-secondary-foreground [&>[data-slot=bubble-content]:is(button,a):hover]:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)]",muted:"*:data-[slot=bubble-content]:bg-muted [&>[data-slot=bubble-content]:is(button,a):hover]:bg-[color-mix(in_oklch,var(--muted),var(--foreground)_5%)]",tinted:"*:data-[slot=bubble-content]:bg-[oklch(from_var(--primary)_0.93_calc(c*0.4)_h)] *:data-[slot=bubble-content]:text-foreground dark:*:data-[slot=bubble-content]:bg-[oklch(from_var(--primary)_0.3_calc(c*0.4)_h)] [&>[data-slot=bubble-content]:is(button,a):hover]:bg-[oklch(from_var(--primary)_0.88_calc(c*0.5)_h)] dark:[&>[data-slot=bubble-content]:is(button,a):hover]:bg-[oklch(from_var(--primary)_0.35_calc(c*0.5)_h)]",outline:"*:data-[slot=bubble-content]:border-border *:data-[slot=bubble-content]:bg-background [&>[data-slot=bubble-content]:is(button,a):hover]:bg-muted [&>[data-slot=bubble-content]:is(button,a):hover]:text-foreground dark:[&>[data-slot=bubble-content]:is(button,a):hover]:bg-input/30",ghost:"border-none *:data-[slot=bubble-content]:rounded-none *:data-[slot=bubble-content]:bg-transparent *:data-[slot=bubble-content]:p-0 [&>[data-slot=bubble-content]:is(button,a):hover]:bg-muted [&>[data-slot=bubble-content]:is(button,a):hover]:text-foreground dark:[&>[data-slot=bubble-content]:is(button,a):hover]:bg-muted/50",destructive:"*:data-[slot=bubble-content]:bg-destructive/10 *:data-[slot=bubble-content]:text-destructive dark:*:data-[slot=bubble-content]:bg-destructive/20 [&>[data-slot=bubble-content]:is(button,a):hover]:bg-destructive/20 dark:[&>[data-slot=bubble-content]:is(button,a):hover]:bg-destructive/30"}},defaultVariants:{variant:"default"}});(0,c.cva)("absolute z-10 flex w-fit shrink-0 items-center justify-center gap-1 rounded-full bg-muted px-1.5 py-0.5 text-sm ring-3 ring-card has-[button]:p-0",{variants:{side:{top:"top-0 -translate-y-3/4",bottom:"bottom-0 translate-y-3/4"},align:{start:"left-3",end:"right-3"}},defaultVariants:{side:"bottom",align:"end"}}),e.s(["Bubble",0,function({variant:e="default",align:t="start",className:n,...s}){return(0,l.jsx)("div",{"data-slot":"bubble","data-variant":e,"data-align":t,className:(0,m.cn)(x({variant:e}),n),...s})},"BubbleContent",0,function({className:e,render:t,...n}){var s;return s={defaultTagName:"div",props:(0,d.mergeProps)({className:(0,m.cn)("w-fit max-w-full min-w-0 overflow-hidden rounded-xl border border-transparent px-3 py-2 text-sm leading-relaxed wrap-break-word group-data-[align=end]/bubble:self-end [button]:text-left [button,a]:transition-colors [button,a]:outline-none [button,a]:focus-visible:border-ring [button,a]:focus-visible:ring-3 [button,a]:focus-visible:ring-ring/50",e)},n),render:t,state:{slot:"bubble-content"}},(0,u.useRenderElement)(s.defaultTagName??"div",s,s)}],815731);var p=e.i(716327),f=e.i(271645);e.s(["FoldedText",0,function({text:e,subject:t,clamp:n="line-clamp-3",tall:s="max-h-40",className:a}){let[o,r]=(0,f.useState)(!1),[i,d]=(0,f.useState)(!1),u=(0,f.useRef)(null);return(0,f.useEffect)(()=>r(!1),[e]),(0,f.useEffect)(()=>{let e=u.current;e&&!o&&d(e.scrollHeight>e.clientHeight+1)},[o,e]),(0,l.jsxs)("div",{className:(0,m.cn)("flex items-start gap-1",a),children:[(0,l.jsx)("p",{ref:u,className:(0,m.cn)("min-w-0 flex-1 text-[13px] leading-snug break-keep",o?(0,m.cn)(s,"overflow-y-auto scrollbar-none"):n),children:e}),(i||o)&&(0,l.jsx)("button",{type:"button",onClick:()=>r(e=>!e),"aria-label":o?`Fold the ${t}`:`Read the whole ${t}`,className:"shrink-0 rounded-md p-0.5 opacity-60 outline-none transition-opacity hover:opacity-100 focus-visible:ring-3 focus-visible:ring-ring/50",children:(0,l.jsx)(p.ChevronDown,{className:(0,m.cn)("size-3.5",o&&"rotate-180")})})]})}],496336);var h=e.i(95187);let b=(0,h.createServerReference)("7fae185d4377430250e73f5e97e7ff9acbced3c8c3",h.callServer,void 0,h.findSourceMapURL,"startTaskAction");e.s(["startTaskAction",0,b],435454);var g=e.i(635963);e.s(["BotRoster",0,function({bots:e,taskId:t}){return e.length<2?null:(0,l.jsxs)("span",{className:"flex shrink-0 items-center gap-1.5",title:e.map(e=>e.name).join(", "),children:[(0,l.jsx)("span",{className:"flex items-center",children:e.slice(0,3).map(e=>(0,l.jsx)(g.BotMark,{size:18,seed:e.name,vary:t,color:e.icon?.color,shape:e.icon?.shape,outline:e.icon?.outline,notify:!1,className:"-ml-[3px] rounded-[7px] ring-2 ring-background first:ml-0"},e.name))}),(0,l.jsxs)("span",{className:"font-mono text-[10px] text-muted-foreground",children:[e.length," bots"]})]})}],835878);var k=e.i(829600);let j={name:"file-code",size:24,node:[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]]};j.node;let v=(0,t.default)(j),w={name:"file-image",size:24,node:[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["circle",{cx:"10",cy:"12",r:"2",key:"737tya"}],["path",{d:"m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22",key:"wt3hpn"}]]};w.node;let y=(0,t.default)(w);var N=e.i(905015);let T={name:"file-spreadsheet",size:24,node:[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]]};T.node;let C=(0,t.default)(T);var z=e.i(226091);let S={name:"file-type",size:24,node:[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M11 18h2",key:"12mj7e"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"M9 13v-.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v.5",key:"qbrxap"}]]};S.node;let M=(0,t.default)(S);var A=e.i(621285),B=e.i(616172);let _={markdown:z.FileText,csv:C,json:N.FileJson,text:M,image:y};e.s(["PathChips",0,function({text:e,className:t}){let n=(0,f.useMemo)(()=>(0,B.pathsIn)(e),[e]);return n.length?(0,l.jsx)("div",{className:(0,m.cn)("flex flex-wrap gap-1.5",t),children:n.map(e=>{let t,n=e.split("/").pop()??e,s="frame"===(t=(0,B.viewKindOf)(e))?e.toLowerCase().endsWith(".pdf")?z.FileText:v:_[t]??k.File;return(0,l.jsxs)(A.FileLink,{path:e,className:"flex max-w-full items-center gap-1.5 rounded-full bg-muted/70 py-1 pr-2.5 pl-2 font-mono text-[11px] text-foreground/80 outline-none transition-colors hover:bg-muted hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50",children:[(0,l.jsx)(s,{className:"size-3 shrink-0 text-muted-foreground"}),(0,l.jsx)("span",{className:"truncate",children:n})]},e)})}):null}],764224);let R={name:"corner-down-left",size:24,node:[["path",{d:"M20 4v7a4 4 0 0 1-4 4H4",key:"6o5b7l"}],["path",{d:"m9 10-5 5 5 5",key:"1kshq7"}]]};R.node;let $=(0,t.default)(R);e.s(["CornerDownLeft",0,$],919191)},929272,e=>{"use strict";var t=e.i(456420);let n={name:"square",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]};n.node;let s=(0,t.default)(n);e.s(["Square",0,s],929272)}]);
|