thursday-agent 0.12.0 → 0.13.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 +4 -4
- package/.next/server/app/_global-error/page.js.nft.json +1 -1
- 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 +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 +18 -19
- package/.next/server/app/_not-found.segments/_full.segment.rsc +18 -19
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +14 -15
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/api/artifact/route.js +8 -8
- package/.next/server/app/api/artifact/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/keep-working/route.js +7 -7
- package/.next/server/app/api/bot/keep-working/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 +7 -7
- package/.next/server/app/api/bot/memory/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/route.js +7 -7
- package/.next/server/app/api/bot/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/thread/[id]/route.js +5 -5
- package/.next/server/app/api/bot/thread/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/thread/route.js +3 -3
- package/.next/server/app/api/bot/thread/route.js.nft.json +1 -1
- package/.next/server/app/api/config/route.js +3 -3
- 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/favicon/[host]/route.js.nft.json +1 -1
- package/.next/server/app/api/file/[...path]/route.js +2 -2
- package/.next/server/app/api/file/[...path]/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/catalog/route.js +4 -4
- package/.next/server/app/api/llm-model/catalog/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/credits/route.js +4 -4
- package/.next/server/app/api/llm-model/credits/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/route.js +6 -6
- package/.next/server/app/api/llm-model/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/subscription/route.js +6 -6
- package/.next/server/app/api/llm-model/subscription/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/[name]/route.js +5 -5
- package/.next/server/app/api/mcp/[name]/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/oauth/callback/route.js +5 -5
- package/.next/server/app/api/mcp/oauth/callback/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/route.js +5 -5
- package/.next/server/app/api/mcp/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/tools/route.js +5 -5
- package/.next/server/app/api/mcp/tools/route.js.nft.json +1 -1
- package/.next/server/app/api/memory/edit/route.js +15 -14
- package/.next/server/app/api/memory/edit/route.js.nft.json +1 -1
- package/.next/server/app/api/memory/route.js +4 -4
- package/.next/server/app/api/memory/route.js.nft.json +1 -1
- package/.next/server/app/api/reach/route.js +13 -12
- package/.next/server/app/api/reach/route.js.nft.json +1 -1
- package/.next/server/app/api/routine/route.js +8 -9
- package/.next/server/app/api/routine/route.js.nft.json +1 -1
- package/.next/server/app/api/signins/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/[source]/[name]/route.js +2 -2
- package/.next/server/app/api/skills/[source]/[name]/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/route.js +2 -2
- package/.next/server/app/api/skills/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/call/route.js +6 -6
- package/.next/server/app/api/thursday/call/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/skills/route.js +6 -6
- package/.next/server/app/api/thursday/skills/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/text/route.js +14 -13
- package/.next/server/app/api/thursday/text/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/tool-call/route.js +15 -14
- package/.next/server/app/api/thursday/tool-call/route.js.nft.json +1 -1
- package/.next/server/app/api/workspace/files/route.js +10 -6
- package/.next/server/app/api/workspace/files/route.js.nft.json +1 -1
- package/.next/server/app/api/workspace/route.js +9 -4
- package/.next/server/app/api/workspace/route.js.nft.json +1 -1
- package/.next/server/app/artifact/[...path]/page/server-reference-manifest.json +2 -2
- package/.next/server/app/artifact/[...path]/page.js +5 -4
- 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/favicon.ico/route.js.nft.json +1 -1
- package/.next/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/.next/server/app/page/server-reference-manifest.json +67 -56
- package/.next/server/app/page.js +10 -11
- 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]__0o49ztf._.js → [root-of-the-server]__0-k4_ie._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0209ah4._.js +6 -6
- package/.next/server/chunks/[root-of-the-server]__04wldw9._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__0h_x6q6._.js +2 -2
- package/.next/server/chunks/{[root-of-the-server]__0cfszwn._.js → [root-of-the-server]__0i23tc1._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0mrk2it._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__0nr-v8s._.js +1 -1
- package/.next/server/chunks/{[root-of-the-server]__1tg5got._.js → [root-of-the-server]__0paqm5y._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0qog7sm._.js +8 -0
- package/.next/server/chunks/[root-of-the-server]__0sm5xvm._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__0yisc5v._.js +5 -0
- package/.next/server/chunks/[root-of-the-server]__1-swlkw._.js +3 -3
- package/.next/server/chunks/[root-of-the-server]__12iddfq._.js +2 -2
- package/.next/server/chunks/{[root-of-the-server]__0npn_pn._.js → [root-of-the-server]__15p29m3._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__17ses32._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__18-2tsq._.js +2 -2
- package/.next/server/chunks/[root-of-the-server]__1cjxw0-._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__1gi2nns._.js +5 -0
- package/.next/server/chunks/{[root-of-the-server]__0rqgb17._.js → [root-of-the-server]__1iauz8a._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__1k3j52n._.js +1 -1
- package/.next/server/chunks/{[root-of-the-server]__209k6pk._.js → [root-of-the-server]__1lb_pxg._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__1ndi14y._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__1orn-5b._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__1xqsrqq._.js +5 -0
- package/.next/server/chunks/[root-of-the-server]__1ygplx1._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__2163i40._.js +5 -0
- package/.next/server/chunks/_0ci0abh._.js +3 -0
- package/.next/server/chunks/_0eauz4t._.js +1 -1
- package/.next/server/chunks/_0f6ts7z._.js +1 -1
- package/.next/server/chunks/_0fg-1oj._.js +5 -0
- package/.next/server/chunks/_0khihjk._.js +2 -2
- package/.next/server/chunks/_0n74zsf._.js +1 -1
- package/.next/server/chunks/_0na2fj1._.js +2 -2
- package/.next/server/chunks/_0oh_99-._.js +3 -0
- package/.next/server/chunks/_0x-ej3f._.js +24 -24
- package/.next/server/chunks/_0z3nz21._.js +3 -0
- package/.next/server/chunks/_10tkr26._.js +1 -1
- package/.next/server/chunks/_12-amdu._.js +2 -2
- package/.next/server/chunks/_136j09a._.js +1 -1
- package/.next/server/chunks/_15740dw._.js +1 -1
- package/.next/server/chunks/_18izeh1._.js +5 -0
- package/.next/server/chunks/_1_5mnq4._.js +1 -1
- package/.next/server/chunks/_1ajbhv6._.js +2 -2
- package/.next/server/chunks/_1dc_d1q._.js +2 -2
- package/.next/server/chunks/_1drgfx4._.js +1 -1
- package/.next/server/chunks/_1e48czp._.js +2 -2
- package/.next/server/chunks/_1f06zo4._.js +3 -0
- package/.next/server/chunks/_1ic3bew._.js +2 -2
- package/.next/server/chunks/_1jn-aep._.js +2 -2
- package/.next/server/chunks/_1jn5btd._.js +6 -0
- package/.next/server/chunks/_1kg70wc._.js +2 -2
- package/.next/server/chunks/_1m2i5pt._.js +5 -0
- package/.next/server/chunks/_1ogqovh._.js +4 -4
- package/.next/server/chunks/_1qxheoa._.js +1 -1
- package/.next/server/chunks/_1ry6afh._.js +18 -0
- package/.next/server/chunks/_1taa4bs._.js +1 -1
- package/.next/server/chunks/_1tpr507._.js +1 -1
- package/.next/server/chunks/_1y8w80a._.js +1 -1
- package/.next/server/chunks/_1zxp-p6._.js +1 -1
- package/.next/server/chunks/_204744f._.js +5 -0
- package/.next/server/chunks/_20fsr_z._.js +1 -1
- package/.next/server/chunks/config_ts_1g4sz5o._.js +1 -1
- package/.next/server/chunks/features_0-cnt0l._.js +1 -1
- package/.next/server/chunks/features_0hdaci0._.js +1 -1
- package/.next/server/chunks/features_0p85gv6._.js +3 -0
- package/.next/server/chunks/{node_modules_zod_v4_0_v5xf5._.js → node_modules_zod_v4_01bha1c._.js} +2 -2
- package/.next/server/chunks/{node_modules_zod_v4_0q9hvql._.js → node_modules_zod_v4_0b99z6a._.js} +2 -2
- package/.next/server/chunks/{node_modules_zod_v4_1jg8iwg._.js → node_modules_zod_v4_1zz6lo1._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__04upd5v._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0dxszdt._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0eezycw._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0hpp3nw._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0yngu44._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__16z72ny._.js +6 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1u_ry86._.js +3 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__1iwyp1e._.js → [root-of-the-server]__1unh_ew._.js} +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__20re7ya._.js +3 -0
- package/.next/server/chunks/ssr/_00pgq9d._.js +5 -0
- package/.next/server/chunks/ssr/_07ke63g._.js +3 -0
- package/.next/server/chunks/ssr/_0agcbk7._.js +3 -0
- package/.next/server/chunks/ssr/_0e-gw2_._.js +3 -0
- package/.next/server/chunks/ssr/{_0fbi6om._.js → _0f_om6y._.js} +3 -3
- package/.next/server/chunks/ssr/_0fqhhwi._.js +1 -1
- package/.next/server/chunks/ssr/{_026qnc9._.js → _0gpn71k._.js} +3 -3
- package/.next/server/chunks/ssr/_0iizjr9._.js +3 -0
- package/.next/server/chunks/ssr/_0ixvzo6._.js +75 -0
- package/.next/server/chunks/ssr/_0kkdx7t._.js +3 -0
- package/.next/server/chunks/ssr/_0lufvw7._.js +118 -0
- package/.next/server/chunks/ssr/_0vi6ky6._.js +115 -0
- package/.next/server/chunks/ssr/{_10f-jib._.js → _0yhji3e._.js} +2 -2
- package/.next/server/chunks/ssr/_0z38nha._.js +3 -0
- package/.next/server/chunks/ssr/{_10mo72m._.js → _11nx2d4._.js} +2 -2
- package/.next/server/chunks/ssr/_12mijol._.js +2 -2
- package/.next/server/chunks/ssr/_150463c._.js +164 -0
- package/.next/server/chunks/ssr/{_0rmaf32._.js → _17d2ikl._.js} +2 -2
- package/.next/server/chunks/ssr/_19jez1a._.js +3 -0
- package/.next/server/chunks/ssr/_1blui1m._.js +3 -0
- package/.next/server/chunks/ssr/_1d423aj._.js +4 -4
- package/.next/server/chunks/ssr/_1kbk28w._.js +3 -0
- package/.next/server/chunks/ssr/_1kj_r9v._.js +3 -0
- package/.next/server/chunks/ssr/_1mqn9mc._.js +1 -1
- package/.next/server/chunks/ssr/{_0u5xv6g._.js → _1myh7ss._.js} +2 -2
- package/.next/server/chunks/ssr/_1neoj22._.js +1 -1
- package/.next/server/chunks/ssr/_1ou5sj0._.js +3 -0
- package/.next/server/chunks/ssr/_1p8xorg._.js +3 -0
- package/.next/server/chunks/ssr/_1tzacpl._.js +3 -0
- package/.next/server/chunks/ssr/_1xoch6f._.js +1 -1
- package/.next/server/chunks/ssr/_1yh5bj5._.js +1 -1
- package/.next/server/chunks/ssr/{_02c7o30._.js → _2021n9-._.js} +2 -2
- package/.next/server/chunks/ssr/_20argo3._.js +3 -0
- package/.next/server/chunks/ssr/features_bot_1ll3wp7._.js +3 -0
- package/.next/server/chunks/ssr/features_bot_1s_-2vj._.js +1 -1
- package/.next/server/chunks/ssr/features_bot_thread_query_ts_023eklt._.js +1 -1
- package/.next/server/chunks/ssr/features_config_1qxe5ur._.js +20 -0
- package/.next/server/chunks/ssr/features_connectors_components_mcp-setting_tsx_0jmbgvp._.js +3 -3
- package/.next/server/chunks/ssr/features_memory_components_memory-setting_tsx_0oa43sw._.js +1 -1
- package/.next/server/chunks/ssr/features_routine_components_routine-setting_tsx_055fknz._.js +1 -1
- package/.next/server/chunks/ssr/features_workspace_00jz2hu._.js +1 -1
- package/.next/server/chunks/ssr/{node_modules_0ky76fz._.js → node_modules_06e0wlv._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0-x0zxm._.js → node_modules_0cj26-9._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0operbz._.js → node_modules_0d1rf5e._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0b0iy01._.js → node_modules_0e86703._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_05b6e99._.js → node_modules_0es09am._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1iau_ea._.js → node_modules_0gr_dzf._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1hv-j1l._.js → node_modules_0gtcwz9._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1c2ikr9._.js → node_modules_0hi9h8f._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_01u4ea3._.js → node_modules_0lkop0t._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1wvf3oo._.js → node_modules_0nghisk._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0yzmxfq._.js → node_modules_0stovz0._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_00nrzz_._.js → node_modules_0we85kr._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_01ed0yi._.js → node_modules_0ya7y1s._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0m3_5ge._.js → node_modules_0yrbwkj._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0v_-uht._.js → node_modules_1-x70ie._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_07jp6tj._.js → node_modules_12fd9g0._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1wgnj8q._.js → node_modules_12wxrgr._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0azd56x._.js → node_modules_139uu4q._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1omg9xr._.js → node_modules_14gpoe1._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1ma_y68._.js → node_modules_18fmji6._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0ucridu._.js → node_modules_19kkel8._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0fpnetd._.js → node_modules_1gcine1._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1z3sh11._.js → node_modules_1h4trkm._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0lautv3._.js → node_modules_1mub_qu._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0ou0all._.js → node_modules_1p78svs._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_19b0bir._.js → node_modules_1xp-7ep._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0tmjn9w._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0ay7_oi._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1_e8c3o._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_182ydq_._.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 +69 -58
- package/.next/static/chunks/03df16hs01-xi.js +1 -0
- package/.next/static/chunks/0crocb7272z8k.js +1 -0
- package/.next/static/chunks/{0p9jcyqkpq71f.js → 0dqsenl3uk_8z.js} +1 -1
- package/.next/static/chunks/0hhn8mf953761.js +1 -0
- package/.next/static/chunks/0n1o3k0z4m7c_.js +1 -0
- package/.next/static/chunks/0oe2zavre2a7d.css +1 -0
- package/.next/static/chunks/0srg9tv4105-i.js +1 -0
- package/.next/static/chunks/0t599wrclly7i.js +18 -0
- package/.next/static/chunks/0x34bhth_sn35.js +1 -0
- package/.next/static/chunks/{0mscosx0eh3ee.js → 0x_6z8vt8hyf4.js} +3 -3
- package/.next/static/chunks/{0p50d-au6-3hx.js → 1_wstwzu1md-6.js} +2 -2
- package/.next/static/chunks/{40ij3wsn3vt7h.js → 1aughn81slf90.js} +1 -1
- package/.next/static/chunks/1g1j03h_l-e67.js +1 -0
- package/.next/static/chunks/1lp02y2nmddxg.js +1 -0
- package/.next/static/chunks/211s4xjtecj2l.js +1 -0
- package/.next/static/chunks/2244-cat2jlvd.js +1 -0
- package/.next/static/chunks/{2r6xnyg7ezyxr.js → 2eev_i93slion.js} +2 -2
- package/.next/static/chunks/2sjq4gsimlfqr.js +113 -0
- package/.next/static/chunks/{0qgn3u86jkbm7.js → 2uleilh8ph06-.js} +1 -1
- package/.next/static/chunks/{1czfknd4luo6t.js → 2zchsg03a1pdp.js} +1 -1
- package/.next/static/chunks/32tmfirfjpulv.js +1 -0
- package/.next/static/chunks/{2_c7mu6x1lu49.js → 376-s_i83irs-.js} +1 -1
- package/.next/static/chunks/3blk-kpn39xr-.js +1 -0
- package/.next/static/chunks/3eieehp7wquyu.js +1 -0
- package/.next/static/chunks/3kc-e7pcj50ae.js +1 -0
- package/.next/static/chunks/3rwpyuo9nrrop.js +17 -0
- package/.next/static/chunks/3sf4l25l353ja.js +1 -0
- package/.next/static/chunks/3vz7m1w688juj.js +3 -0
- package/.next/static/chunks/43skgt0h9woyu.js +1 -0
- package/app/api/events/app-event.client.ts +8 -2
- package/app/api/events/app-event.server.ts +7 -5
- package/app/api/events/app-event.ts +19 -8
- package/app/api/query-key.ts +13 -5
- package/bin/database.mjs +21 -11
- package/bin/thursday.mjs +5 -2
- package/components/ui/shiny-text.tsx +2 -2
- package/database/migrations/20260920024909_messy_baron_strucker/migration.sql +1 -0
- package/database/migrations/20260920024909_messy_baron_strucker/snapshot.json +1937 -0
- package/features/artifact/components/artifact-setting.tsx +18 -24
- package/features/bot/bot.action.ts +3 -0
- package/features/bot/bot.runner.ts +25 -3
- package/features/bot/bot.seed.ts +98 -22
- package/features/bot/components/bot-badge.tsx +2 -2
- package/features/bot/components/bot-mark.tsx +12 -3
- package/features/bot/components/bot-room.tsx +33 -10
- package/features/bot/components/bot-setting.tsx +88 -34
- package/features/bot/components/crew-motion.ts +161 -0
- package/features/bot/components/mark-palette.tsx +3 -3
- package/features/bot/components/room-conversation.tsx +13 -8
- package/features/bot/components/room-list.tsx +9 -5
- package/features/bot/components/room-pill.tsx +131 -41
- package/features/bot/components/thread-badge.tsx +4 -4
- package/features/bot/components/thread-setting.tsx +58 -19
- package/features/bot/mark.const.ts +24 -0
- package/features/bot/thread.query.ts +32 -14
- package/features/bot/thread.store.ts +19 -16
- package/features/config/components/config-badge.tsx +2 -2
- package/features/config/components/config-setting.tsx +63 -213
- package/features/config/config.const.ts +2 -1
- package/features/connectors/components/mcp-setting.tsx +60 -29
- package/features/intro/components/intro.tsx +2 -2
- package/features/memory/components/memory-setting.tsx +11 -7
- package/features/reach/channel.ts +9 -1
- package/features/reach/components/reach-guide.tsx +606 -105
- package/features/reach/discord.ts +18 -3
- package/features/reach/reach.schema.ts +6 -0
- package/features/reach/reach.ts +55 -2
- package/features/reach/slack.ts +2 -1
- package/features/reach/telegram.ts +5 -1
- package/features/routine/components/routine-setting.tsx +46 -18
- package/features/settings/components/setting-ui.tsx +17 -68
- package/features/settings/components/settings.tsx +4 -3
- package/features/settings/settings.alert.ts +8 -8
- package/features/skills/components/skills-setting.tsx +78 -12
- package/features/skills/skills.action.ts +12 -0
- package/features/skills/skills.query.ts +24 -0
- package/features/thursday/components/call-log.tsx +19 -14
- package/features/thursday/components/side-captions.tsx +3 -2
- package/features/thursday/components/thursday-setting.tsx +5 -6
- package/features/thursday/components/thursday.tsx +8 -9
- package/features/thursday/components/write-line.tsx +10 -5
- package/features/thursday/thursday.action.ts +4 -0
- package/features/thursday/thursday.query.ts +3 -2
- package/features/thursday/thursday.schema.ts +5 -0
- package/features/thursday/use-call-ring.ts +6 -1
- package/features/thursday/use-text-call.ts +25 -10
- package/features/thursday/use-thursday.ts +10 -1
- package/features/workspace/components/artifact-view.tsx +42 -33
- package/features/workspace/components/file-thumb.tsx +8 -4
- package/features/workspace/components/file-view.tsx +25 -2
- package/features/workspace/components/workspace-setting.tsx +27 -23
- package/features/workspace/workspace.query.ts +20 -1
- package/features/workspace/workspace.ts +14 -0
- package/guide/bots.md +27 -4
- package/guide/calls.md +5 -3
- package/guide/phone.md +23 -12
- package/guide/setup.md +20 -5
- package/guide/trouble.md +1 -1
- package/hooks/use-theme.ts +14 -0
- package/lib/protocol/events.client.ts +56 -14
- package/lib/protocol/events.server.ts +41 -12
- package/lib/utils.ts +1 -1
- package/package.json +1 -1
- package/scripts/reach-channels.test.mts +15 -2
- package/seed-skills/brief/daily-brief/SKILL.md +39 -0
- package/seed-skills/brief/daily-brief/page/brief.css +406 -0
- package/seed-skills/brief/daily-brief/references/brief.md +106 -0
- package/seed-skills/brief/daily-brief/references/preferences.md +67 -0
- package/seed-skills/brief/daily-brief/scripts/glance.mjs +128 -0
- package/seed-skills/brief/daily-brief/scripts/lib.mjs +182 -0
- package/seed-skills/brief/daily-brief/scripts/news.mjs +320 -0
- package/seed-skills/brief/daily-brief/scripts/page.mjs +322 -0
- package/seed-skills/brief/daily-brief/scripts/story.mjs +265 -0
- package/seed-skills/digest/README.md +20 -0
- package/seed-skills/digest/media-digest/SKILL.md +32 -0
- package/seed-skills/digest/media-digest/references/no-captions.md +20 -0
- package/seed-skills/digest/media-digest/references/page.md +56 -0
- package/seed-skills/digest/media-digest/references/reading.md +56 -0
- package/seed-skills/digest/media-digest/scripts/audio.mjs +232 -0
- package/seed-skills/digest/media-digest/scripts/digest.mjs +379 -0
- package/seed-skills/digest/media-digest/scripts/lib.mjs +284 -0
- package/seed-skills/digest/media-digest/scripts/part.mjs +16 -0
- package/seed-skills/digest/media-digest/scripts/text.mjs +287 -0
- package/seed-skills/digest/media-digest/scripts/yt.mjs +487 -0
- package/seed-skills/docs/README.md +32 -0
- package/seed-skills/docs/documents/SKILL.md +34 -0
- package/seed-skills/docs/documents/kit/package-lock.json +1596 -0
- package/seed-skills/docs/documents/kit/package.json +17 -0
- package/seed-skills/docs/documents/references/deck.md +63 -0
- package/seed-skills/docs/documents/references/invoice.md +64 -0
- package/seed-skills/docs/documents/references/pdf.md +59 -0
- package/seed-skills/docs/documents/references/print.md +43 -0
- package/seed-skills/docs/documents/references/sheets.md +49 -0
- package/seed-skills/docs/documents/references/translate.md +37 -0
- package/seed-skills/docs/documents/references/word.md +45 -0
- package/seed-skills/docs/documents/scripts/doc.mjs +123 -0
- package/seed-skills/docs/documents/scripts/lib/browser.mjs +259 -0
- package/seed-skills/docs/documents/scripts/lib/deck-chart.mjs +150 -0
- package/seed-skills/docs/documents/scripts/lib/deck.mjs +1132 -0
- package/seed-skills/docs/documents/scripts/lib/invoice.mjs +505 -0
- package/seed-skills/docs/documents/scripts/lib/kit.mjs +244 -0
- package/seed-skills/docs/documents/scripts/lib/pdf.mjs +645 -0
- package/seed-skills/docs/documents/scripts/lib/report.mjs +38 -0
- package/seed-skills/docs/documents/scripts/lib/sheet.mjs +523 -0
- package/seed-skills/docs/documents/scripts/lib/templates.mjs +34 -0
- package/seed-skills/docs/documents/scripts/lib/translate.mjs +691 -0
- package/seed-skills/docs/documents/scripts/lib/word.mjs +678 -0
- package/seed-skills/docs/documents/templates/letter.html +56 -0
- package/seed-skills/docs/documents/templates/print.css +219 -0
- package/seed-skills/docs/documents/templates/report.html +47 -0
- package/seed-skills/docs/documents/templates/resume.html +61 -0
- package/seed-skills/insta/instagram/references/post.md +31 -7
- package/seed-skills/trip/README.md +11 -0
- package/seed-skills/trip/travel/SKILL.md +40 -0
- package/seed-skills/trip/travel/page/itinerary.css +488 -0
- package/seed-skills/trip/travel/references/itinerary.md +70 -0
- package/seed-skills/trip/travel/references/plan.md +75 -0
- package/seed-skills/trip/travel/references/watch-and-book.md +39 -0
- package/seed-skills/trip/travel/scripts/flights.mjs +374 -0
- package/seed-skills/trip/travel/scripts/fx.mjs +57 -0
- package/seed-skills/trip/travel/scripts/hotels.mjs +356 -0
- package/seed-skills/trip/travel/scripts/itinerary.mjs +482 -0
- package/seed-skills/trip/travel/scripts/lib.mjs +120 -0
- package/seed-skills/trip/travel/scripts/selectors.mjs +78 -0
- package/seed-skills/trip/travel/scripts/watch.mjs +147 -0
- package/seed-skills/trip/travel/scripts/weather.mjs +150 -0
- package/seed-skills/tutor/picture-book/SKILL.md +6 -0
- package/seed-skills/tutor/picture-book/references/picture-book.md +22 -2
- package/.next/server/chunks/[root-of-the-server]__014ydvq._.js +0 -8
- package/.next/server/chunks/[root-of-the-server]__01d285y._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__04r4h-2._.js +0 -7
- package/.next/server/chunks/[root-of-the-server]__0ayldfn._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__17weeeg._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__1ai5lme._.js +0 -8
- package/.next/server/chunks/_05v8k21._.js +0 -7
- package/.next/server/chunks/_0k6qjcf._.js +0 -5
- package/.next/server/chunks/_1d_enhu._.js +0 -3
- package/.next/server/chunks/_1jc5g4p._.js +0 -6
- package/.next/server/chunks/_1nfr-75._.js +0 -3
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_0md6j0x._.js +0 -3
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_14ih1vy._.js +0 -3
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_1d6ez5-._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0a967km._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0tzekbl._.js +0 -68
- package/.next/server/chunks/ssr/[root-of-the-server]__1756892._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1mzi-ju._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1nqw56a._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1r77-88._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1w9hqq8._.js +0 -8
- package/.next/server/chunks/ssr/_05pl_u8._.js +0 -3
- package/.next/server/chunks/ssr/_097-ljd._.js +0 -4
- package/.next/server/chunks/ssr/_0euzzf8._.js +0 -3
- package/.next/server/chunks/ssr/_0evkpto._.js +0 -3
- package/.next/server/chunks/ssr/_0igfcax._.js +0 -20
- package/.next/server/chunks/ssr/_0lu1n_x._.js +0 -3
- package/.next/server/chunks/ssr/_0nvh1h9._.js +0 -3
- package/.next/server/chunks/ssr/_0qmpw35._.js +0 -3
- package/.next/server/chunks/ssr/_0uv-qs4._.js +0 -3
- package/.next/server/chunks/ssr/_132qkfz._.js +0 -5
- package/.next/server/chunks/ssr/_15zqt-t._.js +0 -3
- package/.next/server/chunks/ssr/_16gfxpn._.js +0 -3
- package/.next/server/chunks/ssr/_184327j._.js +0 -3
- package/.next/server/chunks/ssr/_18ujhhq._.js +0 -3
- package/.next/server/chunks/ssr/_1lx6w_o._.js +0 -67
- package/.next/server/chunks/ssr/_1ntpny5._.js +0 -3
- package/.next/server/chunks/ssr/_1o1g4uk._.js +0 -5
- package/.next/server/chunks/ssr/_1xx4zlb._.js +0 -3
- package/.next/server/chunks/ssr/_2008vmi._.js +0 -164
- package/.next/server/chunks/ssr/features_bot_1n1s7bh._.js +0 -3
- package/.next/static/chunks/09pkygbht7ki8.js +0 -18
- package/.next/static/chunks/0bm-nhblcmmj4.js +0 -17
- package/.next/static/chunks/0c_g4-11sha-1.js +0 -1
- package/.next/static/chunks/0hhza87hkbqaz.js +0 -1
- package/.next/static/chunks/0samf80yu2b17.js +0 -1
- package/.next/static/chunks/0vlgzqo9ka90v.js +0 -1
- package/.next/static/chunks/1g9yyvculuxj2.js +0 -1
- package/.next/static/chunks/1jz8n0mhtdzr8.js +0 -1
- package/.next/static/chunks/206laxm6maiz2.js +0 -1
- package/.next/static/chunks/23nfu5g4vl_m7.js +0 -1
- package/.next/static/chunks/2h-tlhb2ffhkk.js +0 -1
- package/.next/static/chunks/2i5_w8olnrvo0.js +0 -3
- package/.next/static/chunks/2m6jd3586ijb-.js +0 -1
- package/.next/static/chunks/2m8iqwc6sykln.js +0 -1
- package/.next/static/chunks/33fyp-byw48ju.js +0 -65
- package/.next/static/chunks/35yd_27d9ylra.js +0 -1
- package/.next/static/chunks/3ag1i3__yl94f.js +0 -1
- package/.next/static/chunks/3m_ejzg-xn21r.css +0 -1
- package/.next/static/chunks/3s-jpd3ky49-n.js +0 -1
- package/features/reach/components/reach-state.tsx +0 -71
- /package/.next/static/{QSe0rTdXU5kh5BBzr2XBB → fiNGsQfna8qldl8wU8wqr}/_buildManifest.js +0 -0
- /package/.next/static/{QSe0rTdXU5kh5BBzr2XBB → fiNGsQfna8qldl8wU8wqr}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{QSe0rTdXU5kh5BBzr2XBB → fiNGsQfna8qldl8wU8wqr}/_ssgManifest.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"node": {
|
|
3
|
-
"
|
|
3
|
+
"7f1015a311483dd554e5bff774c235eb7d5695b283": {
|
|
4
4
|
"workers": {
|
|
5
5
|
"app/page": {
|
|
6
6
|
"moduleId": 363531,
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"filename": "features/config/config.action.ts",
|
|
12
12
|
"exportedName": "setConfigAction"
|
|
13
13
|
},
|
|
14
|
-
"
|
|
14
|
+
"7fb82f52bdf4f3abc6dbc28fcc9e3b07dfe1410615": {
|
|
15
15
|
"workers": {
|
|
16
16
|
"app/page": {
|
|
17
17
|
"moduleId": 363531,
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"filename": "features/config/config.action.ts",
|
|
23
23
|
"exportedName": "startChatGptSignInAction"
|
|
24
24
|
},
|
|
25
|
-
"
|
|
25
|
+
"7fbe746aac65dd26bad032b2cacebadc32e835c4b5": {
|
|
26
26
|
"workers": {
|
|
27
27
|
"app/page": {
|
|
28
28
|
"moduleId": 363531,
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"filename": "features/bot/bot.action.ts",
|
|
34
34
|
"exportedName": "createSeedBotsAction"
|
|
35
35
|
},
|
|
36
|
-
"
|
|
36
|
+
"7f091d2a34368daec969e4d15414e1f06c28d35388": {
|
|
37
37
|
"workers": {
|
|
38
38
|
"app/page": {
|
|
39
39
|
"moduleId": 363531,
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"filename": "features/config/config.action.ts",
|
|
45
45
|
"exportedName": "removeConfigAction"
|
|
46
46
|
},
|
|
47
|
-
"
|
|
47
|
+
"7fed7242c8d057df8fc5914b34a095ee3ea542e6aa": {
|
|
48
48
|
"workers": {
|
|
49
49
|
"app/page": {
|
|
50
50
|
"moduleId": 363531,
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"filename": "features/reach/reach.action.ts",
|
|
56
56
|
"exportedName": "forgetReachAction"
|
|
57
57
|
},
|
|
58
|
-
"
|
|
58
|
+
"7fe01c51e420743ec977c07ee33fbf2f47c098b7ff": {
|
|
59
59
|
"workers": {
|
|
60
60
|
"app/page": {
|
|
61
61
|
"moduleId": 363531,
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"filename": "features/bot/bot.action.ts",
|
|
67
67
|
"exportedName": "answerThreadAction"
|
|
68
68
|
},
|
|
69
|
-
"
|
|
69
|
+
"7ff8ecdf75fec64d619334f1c3d01aa1d17bebc3ce": {
|
|
70
70
|
"workers": {
|
|
71
71
|
"app/page": {
|
|
72
72
|
"moduleId": 363531,
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"filename": "features/bot/bot.action.ts",
|
|
78
78
|
"exportedName": "cancelThreadAction"
|
|
79
79
|
},
|
|
80
|
-
"
|
|
80
|
+
"7f706806bd649d3de97533c4a55d9c237b036fff90": {
|
|
81
81
|
"workers": {
|
|
82
82
|
"app/page": {
|
|
83
83
|
"moduleId": 363531,
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"filename": "features/bot/bot.action.ts",
|
|
89
89
|
"exportedName": "withdrawStepInAction"
|
|
90
90
|
},
|
|
91
|
-
"
|
|
91
|
+
"7fce2be423102ae7fdcf5af38dac386c0745db85a7": {
|
|
92
92
|
"workers": {
|
|
93
93
|
"app/page": {
|
|
94
94
|
"moduleId": 363531,
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"filename": "features/bot/bot.action.ts",
|
|
100
100
|
"exportedName": "markSeenAction"
|
|
101
101
|
},
|
|
102
|
-
"
|
|
102
|
+
"7f8ce4fd293f529f885fde2cf72003e16365e33e70": {
|
|
103
103
|
"workers": {
|
|
104
104
|
"app/page": {
|
|
105
105
|
"moduleId": 363531,
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"filename": "features/signins/signins.action.ts",
|
|
111
111
|
"exportedName": "setSignInBotAction"
|
|
112
112
|
},
|
|
113
|
-
"
|
|
113
|
+
"7f599034dad6e65760f05111eaf83d2c2c62dc6f96": {
|
|
114
114
|
"workers": {
|
|
115
115
|
"app/page": {
|
|
116
116
|
"moduleId": 363531,
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"filename": "features/workspace/workspace.action.ts",
|
|
122
122
|
"exportedName": "giveFilesAction"
|
|
123
123
|
},
|
|
124
|
-
"
|
|
124
|
+
"7fcc31ac0b675f941aed483a62a6889e4a15d2550b": {
|
|
125
125
|
"workers": {
|
|
126
126
|
"app/page": {
|
|
127
127
|
"moduleId": 363531,
|
|
@@ -132,11 +132,11 @@
|
|
|
132
132
|
"filename": "features/bot/bot.action.ts",
|
|
133
133
|
"exportedName": "compactThreadAction"
|
|
134
134
|
},
|
|
135
|
-
"
|
|
135
|
+
"7fd5c07484b3d148c141bc5aec2bb9ec06da1f10d5": {
|
|
136
136
|
"workers": {
|
|
137
137
|
"app/artifact/[...path]/page": {
|
|
138
138
|
"moduleId": 701876,
|
|
139
|
-
"async":
|
|
139
|
+
"async": true,
|
|
140
140
|
"codeHash": null
|
|
141
141
|
},
|
|
142
142
|
"app/page": {
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
"filename": "features/workspace/workspace.action.ts",
|
|
149
149
|
"exportedName": "openFileAction"
|
|
150
150
|
},
|
|
151
|
-
"
|
|
151
|
+
"7f1cd872cc880eeb62bf24c8c528ed75234a1a85e4": {
|
|
152
152
|
"workers": {
|
|
153
153
|
"app/page": {
|
|
154
154
|
"moduleId": 363531,
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
"filename": "features/memory/memory.action.ts",
|
|
160
160
|
"exportedName": "addFactsAction"
|
|
161
161
|
},
|
|
162
|
-
"
|
|
162
|
+
"7f50757e9d7e6f383fd66fa3270a67482eb3aad7fe": {
|
|
163
163
|
"workers": {
|
|
164
164
|
"app/page": {
|
|
165
165
|
"moduleId": 363531,
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
"filename": "features/memory/memory.action.ts",
|
|
171
171
|
"exportedName": "createNoteAction"
|
|
172
172
|
},
|
|
173
|
-
"
|
|
173
|
+
"7f7ad4e27616e08091a2a0c51337523e528fc54250": {
|
|
174
174
|
"workers": {
|
|
175
175
|
"app/page": {
|
|
176
176
|
"moduleId": 363531,
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
"filename": "features/memory/memory.action.ts",
|
|
182
182
|
"exportedName": "deleteNoteAction"
|
|
183
183
|
},
|
|
184
|
-
"
|
|
184
|
+
"7fb17ddf07f086a5de564324609d776bb33dcfedce": {
|
|
185
185
|
"workers": {
|
|
186
186
|
"app/page": {
|
|
187
187
|
"moduleId": 363531,
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
"filename": "features/memory/memory.action.ts",
|
|
193
193
|
"exportedName": "forgetFactAction"
|
|
194
194
|
},
|
|
195
|
-
"
|
|
195
|
+
"7fbd1c4426cf280c7564105f30872c2bcf6448df1b": {
|
|
196
196
|
"workers": {
|
|
197
197
|
"app/page": {
|
|
198
198
|
"moduleId": 363531,
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
"filename": "features/memory/memory.action.ts",
|
|
204
204
|
"exportedName": "reviseFactAction"
|
|
205
205
|
},
|
|
206
|
-
"
|
|
206
|
+
"7f4a26fc7fcc90d13ee24aa9b41175a4a6b74dcf8b": {
|
|
207
207
|
"workers": {
|
|
208
208
|
"app/page": {
|
|
209
209
|
"moduleId": 363531,
|
|
@@ -214,7 +214,7 @@
|
|
|
214
214
|
"filename": "features/memory/memory.action.ts",
|
|
215
215
|
"exportedName": "setFactAlwaysLoadAction"
|
|
216
216
|
},
|
|
217
|
-
"
|
|
217
|
+
"7f30c55353cbf246851082ad5f24a36f145e13d314": {
|
|
218
218
|
"workers": {
|
|
219
219
|
"app/page": {
|
|
220
220
|
"moduleId": 363531,
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
"filename": "features/memory/memory.action.ts",
|
|
226
226
|
"exportedName": "updateNoteAction"
|
|
227
227
|
},
|
|
228
|
-
"
|
|
228
|
+
"7febfcb3c8d39837a9595f565a8883fd86e8539b2d": {
|
|
229
229
|
"workers": {
|
|
230
230
|
"app/page": {
|
|
231
231
|
"moduleId": 363531,
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
"filename": "features/bot/bot.action.ts",
|
|
237
237
|
"exportedName": "createBotAction"
|
|
238
238
|
},
|
|
239
|
-
"
|
|
239
|
+
"7f4a9f4e5863d6a13516a9e5035d74766da5e25afb": {
|
|
240
240
|
"workers": {
|
|
241
241
|
"app/page": {
|
|
242
242
|
"moduleId": 363531,
|
|
@@ -247,7 +247,7 @@
|
|
|
247
247
|
"filename": "features/bot/bot.action.ts",
|
|
248
248
|
"exportedName": "deleteBotAction"
|
|
249
249
|
},
|
|
250
|
-
"
|
|
250
|
+
"7fffed296a1f2c7bae9eddb18e10e5fc1641cd9562": {
|
|
251
251
|
"workers": {
|
|
252
252
|
"app/page": {
|
|
253
253
|
"moduleId": 363531,
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
"filename": "features/bot/bot.action.ts",
|
|
259
259
|
"exportedName": "setBotMemoryOnAction"
|
|
260
260
|
},
|
|
261
|
-
"
|
|
261
|
+
"7fb048e5653548c09e2dcf44c15b62601887477621": {
|
|
262
262
|
"workers": {
|
|
263
263
|
"app/page": {
|
|
264
264
|
"moduleId": 363531,
|
|
@@ -269,7 +269,7 @@
|
|
|
269
269
|
"filename": "features/bot/bot.action.ts",
|
|
270
270
|
"exportedName": "updateBotAction"
|
|
271
271
|
},
|
|
272
|
-
"
|
|
272
|
+
"7fa00e3079a1fdce34072f8f4950ff89062514435f": {
|
|
273
273
|
"workers": {
|
|
274
274
|
"app/page": {
|
|
275
275
|
"moduleId": 363531,
|
|
@@ -280,7 +280,7 @@
|
|
|
280
280
|
"filename": "features/bot/bot.action.ts",
|
|
281
281
|
"exportedName": "setKeepWorkingOnAction"
|
|
282
282
|
},
|
|
283
|
-
"
|
|
283
|
+
"7fd3a8b14d131f17a3ee8e56630e3f2ec5fed81cbb": {
|
|
284
284
|
"workers": {
|
|
285
285
|
"app/page": {
|
|
286
286
|
"moduleId": 363531,
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
"filename": "features/workspace/workspace.action.ts",
|
|
292
292
|
"exportedName": "deleteWorkspaceFileAction"
|
|
293
293
|
},
|
|
294
|
-
"
|
|
294
|
+
"7f6252f4319938ca5504ffef5a0b0f22bdad3cb256": {
|
|
295
295
|
"workers": {
|
|
296
296
|
"app/page": {
|
|
297
297
|
"moduleId": 363531,
|
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
"filename": "features/bot/bot.action.ts",
|
|
303
303
|
"exportedName": "clearFinishedThreadsAction"
|
|
304
304
|
},
|
|
305
|
-
"
|
|
305
|
+
"7f1de3b7f3504f29d402b64ab8909236d1455024be": {
|
|
306
306
|
"workers": {
|
|
307
307
|
"app/page": {
|
|
308
308
|
"moduleId": 363531,
|
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
"filename": "features/bot/bot.action.ts",
|
|
314
314
|
"exportedName": "deleteThreadAction"
|
|
315
315
|
},
|
|
316
|
-
"
|
|
316
|
+
"7fb523fe983f832c81051137aae2655e448b96a244": {
|
|
317
317
|
"workers": {
|
|
318
318
|
"app/page": {
|
|
319
319
|
"moduleId": 363531,
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
"filename": "features/routine/routine.action.ts",
|
|
325
325
|
"exportedName": "createRoutineAction"
|
|
326
326
|
},
|
|
327
|
-
"
|
|
327
|
+
"7f4a2d943906ef393fd3761bea7fa86b742785db01": {
|
|
328
328
|
"workers": {
|
|
329
329
|
"app/page": {
|
|
330
330
|
"moduleId": 363531,
|
|
@@ -335,7 +335,7 @@
|
|
|
335
335
|
"filename": "features/routine/routine.action.ts",
|
|
336
336
|
"exportedName": "deleteRoutineAction"
|
|
337
337
|
},
|
|
338
|
-
"
|
|
338
|
+
"7ffbb46355685d1d40fd6c8276d9dee306b287f267": {
|
|
339
339
|
"workers": {
|
|
340
340
|
"app/page": {
|
|
341
341
|
"moduleId": 363531,
|
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
"filename": "features/routine/routine.action.ts",
|
|
347
347
|
"exportedName": "runRoutineNowAction"
|
|
348
348
|
},
|
|
349
|
-
"
|
|
349
|
+
"7fb08fa1086632c5a517c205667506eaceaeba9f8e": {
|
|
350
350
|
"workers": {
|
|
351
351
|
"app/page": {
|
|
352
352
|
"moduleId": 363531,
|
|
@@ -357,7 +357,7 @@
|
|
|
357
357
|
"filename": "features/routine/routine.action.ts",
|
|
358
358
|
"exportedName": "updateRoutineAction"
|
|
359
359
|
},
|
|
360
|
-
"
|
|
360
|
+
"7fa9f4af48041561f40a4cbe346df210af567230a2": {
|
|
361
361
|
"workers": {
|
|
362
362
|
"app/page": {
|
|
363
363
|
"moduleId": 363531,
|
|
@@ -368,7 +368,7 @@
|
|
|
368
368
|
"filename": "features/thursday/thursday.action.ts",
|
|
369
369
|
"exportedName": "deleteCallAction"
|
|
370
370
|
},
|
|
371
|
-
"
|
|
371
|
+
"7ff592c24b1c4575c154d75c60cdc370812845a869": {
|
|
372
372
|
"workers": {
|
|
373
373
|
"app/page": {
|
|
374
374
|
"moduleId": 363531,
|
|
@@ -379,7 +379,7 @@
|
|
|
379
379
|
"filename": "features/thursday/thursday.action.ts",
|
|
380
380
|
"exportedName": "deleteEndedCallsAction"
|
|
381
381
|
},
|
|
382
|
-
"
|
|
382
|
+
"7fbb7407a5896155c60da2f001740f5e57559bd37a": {
|
|
383
383
|
"workers": {
|
|
384
384
|
"app/page": {
|
|
385
385
|
"moduleId": 363531,
|
|
@@ -390,7 +390,7 @@
|
|
|
390
390
|
"filename": "features/thursday/thursday.action.ts",
|
|
391
391
|
"exportedName": "resetHistoryAction"
|
|
392
392
|
},
|
|
393
|
-
"
|
|
393
|
+
"7f53a8229afffdcee6fce6a724a5de6e17a677c5c2": {
|
|
394
394
|
"workers": {
|
|
395
395
|
"app/page": {
|
|
396
396
|
"moduleId": 363531,
|
|
@@ -401,7 +401,7 @@
|
|
|
401
401
|
"filename": "features/thursday/thursday.action.ts",
|
|
402
402
|
"exportedName": "setCallSkillsAction"
|
|
403
403
|
},
|
|
404
|
-
"
|
|
404
|
+
"7ff8a0d99daac794826c95945bc2f352035eebdeba": {
|
|
405
405
|
"workers": {
|
|
406
406
|
"app/page": {
|
|
407
407
|
"moduleId": 363531,
|
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
"filename": "features/artifact/artifact.action.ts",
|
|
413
413
|
"exportedName": "deleteArtifactAction"
|
|
414
414
|
},
|
|
415
|
-
"
|
|
415
|
+
"7fe109e3e5ec8257c6a858e06a4bd2a04a9e4dd0d3": {
|
|
416
416
|
"workers": {
|
|
417
417
|
"app/page": {
|
|
418
418
|
"moduleId": 363531,
|
|
@@ -423,7 +423,7 @@
|
|
|
423
423
|
"filename": "features/workspace/workspace.action.ts",
|
|
424
424
|
"exportedName": "emptyScratchAction"
|
|
425
425
|
},
|
|
426
|
-
"
|
|
426
|
+
"7f9409becae9bbaba952ec755d4cfb93b5122c71fc": {
|
|
427
427
|
"workers": {
|
|
428
428
|
"app/page": {
|
|
429
429
|
"moduleId": 363531,
|
|
@@ -434,7 +434,7 @@
|
|
|
434
434
|
"filename": "features/skills/skills.action.ts",
|
|
435
435
|
"exportedName": "createSkillAction"
|
|
436
436
|
},
|
|
437
|
-
"
|
|
437
|
+
"7f982d50a9ce32102320c3c886493aaa264886fa42": {
|
|
438
438
|
"workers": {
|
|
439
439
|
"app/page": {
|
|
440
440
|
"moduleId": 363531,
|
|
@@ -445,7 +445,7 @@
|
|
|
445
445
|
"filename": "features/skills/skills.action.ts",
|
|
446
446
|
"exportedName": "deleteSkillAction"
|
|
447
447
|
},
|
|
448
|
-
"
|
|
448
|
+
"7f287d92dd4d485832df0afb705b2ac1dd77df09a0": {
|
|
449
449
|
"workers": {
|
|
450
450
|
"app/page": {
|
|
451
451
|
"moduleId": 363531,
|
|
@@ -456,7 +456,7 @@
|
|
|
456
456
|
"filename": "features/skills/skills.action.ts",
|
|
457
457
|
"exportedName": "setSkillDisabledAction"
|
|
458
458
|
},
|
|
459
|
-
"
|
|
459
|
+
"7f303053984ddb5028954367b89d32b959b0f79541": {
|
|
460
460
|
"workers": {
|
|
461
461
|
"app/page": {
|
|
462
462
|
"moduleId": 363531,
|
|
@@ -467,7 +467,18 @@
|
|
|
467
467
|
"filename": "features/skills/skills.action.ts",
|
|
468
468
|
"exportedName": "uploadSkillAction"
|
|
469
469
|
},
|
|
470
|
-
"
|
|
470
|
+
"7fc4c9432de942a5145699a465e18aa8b396161e5d": {
|
|
471
|
+
"workers": {
|
|
472
|
+
"app/page": {
|
|
473
|
+
"moduleId": 363531,
|
|
474
|
+
"async": true,
|
|
475
|
+
"codeHash": null
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
"filename": "features/skills/skills.action.ts",
|
|
479
|
+
"exportedName": "writeSkillFileAction"
|
|
480
|
+
},
|
|
481
|
+
"7f0b922637590726045ca47318cb6e60183b7a5019": {
|
|
471
482
|
"workers": {
|
|
472
483
|
"app/page": {
|
|
473
484
|
"moduleId": 363531,
|
|
@@ -478,7 +489,7 @@
|
|
|
478
489
|
"filename": "features/connectors/mcp.action.ts",
|
|
479
490
|
"exportedName": "callToolAction"
|
|
480
491
|
},
|
|
481
|
-
"
|
|
492
|
+
"7fc49faef09006d9cb0bf43007b1499cab738531c5": {
|
|
482
493
|
"workers": {
|
|
483
494
|
"app/page": {
|
|
484
495
|
"moduleId": 363531,
|
|
@@ -489,7 +500,7 @@
|
|
|
489
500
|
"filename": "features/connectors/mcp.action.ts",
|
|
490
501
|
"exportedName": "deleteServerAction"
|
|
491
502
|
},
|
|
492
|
-
"
|
|
503
|
+
"7f868ad6bbcd2eb1dda03b79dd75bfa74d592dba97": {
|
|
493
504
|
"workers": {
|
|
494
505
|
"app/page": {
|
|
495
506
|
"moduleId": 363531,
|
|
@@ -500,7 +511,7 @@
|
|
|
500
511
|
"filename": "features/connectors/mcp.action.ts",
|
|
501
512
|
"exportedName": "refreshServerAction"
|
|
502
513
|
},
|
|
503
|
-
"
|
|
514
|
+
"7f58282e9535aa746a4e1210617d21d0f05a287287": {
|
|
504
515
|
"workers": {
|
|
505
516
|
"app/page": {
|
|
506
517
|
"moduleId": 363531,
|
|
@@ -511,7 +522,7 @@
|
|
|
511
522
|
"filename": "features/connectors/mcp.action.ts",
|
|
512
523
|
"exportedName": "registerServerAction"
|
|
513
524
|
},
|
|
514
|
-
"
|
|
525
|
+
"7f34484c3c93b93610241d1e337883d91b6c93c73b": {
|
|
515
526
|
"workers": {
|
|
516
527
|
"app/page": {
|
|
517
528
|
"moduleId": 363531,
|
|
@@ -522,7 +533,7 @@
|
|
|
522
533
|
"filename": "features/signins/signins.action.ts",
|
|
523
534
|
"exportedName": "removeSignInAction"
|
|
524
535
|
},
|
|
525
|
-
"
|
|
536
|
+
"7fc8cb635e5455a95ec313bda5d8d003e4a0bfa563": {
|
|
526
537
|
"workers": {
|
|
527
538
|
"app/page": {
|
|
528
539
|
"moduleId": 363531,
|
|
@@ -533,7 +544,7 @@
|
|
|
533
544
|
"filename": "features/bot/bot.action.ts",
|
|
534
545
|
"exportedName": "acceptThreadRelaysAction"
|
|
535
546
|
},
|
|
536
|
-
"
|
|
547
|
+
"7fc3127ce9977a6a49719852d10247912ea151ac73": {
|
|
537
548
|
"workers": {
|
|
538
549
|
"app/page": {
|
|
539
550
|
"moduleId": 363531,
|
|
@@ -544,7 +555,7 @@
|
|
|
544
555
|
"filename": "features/thursday/thursday.action.ts",
|
|
545
556
|
"exportedName": "endCallAction"
|
|
546
557
|
},
|
|
547
|
-
"
|
|
558
|
+
"7f9fbd0cab1947809a91073c3782e47f598b87afa9": {
|
|
548
559
|
"workers": {
|
|
549
560
|
"app/page": {
|
|
550
561
|
"moduleId": 363531,
|
|
@@ -555,7 +566,7 @@
|
|
|
555
566
|
"filename": "features/thursday/thursday.action.ts",
|
|
556
567
|
"exportedName": "openTextCallAction"
|
|
557
568
|
},
|
|
558
|
-
"
|
|
569
|
+
"7f66196f3b73670d961cdf1f293cbbf7251d406a84": {
|
|
559
570
|
"workers": {
|
|
560
571
|
"app/page": {
|
|
561
572
|
"moduleId": 363531,
|
|
@@ -566,7 +577,7 @@
|
|
|
566
577
|
"filename": "features/thursday/thursday.action.ts",
|
|
567
578
|
"exportedName": "openCallAction"
|
|
568
579
|
},
|
|
569
|
-
"
|
|
580
|
+
"7fc8594805ba6e9454e54aec11566ab42f39837d08": {
|
|
570
581
|
"workers": {
|
|
571
582
|
"app/page": {
|
|
572
583
|
"moduleId": 363531,
|
|
@@ -577,7 +588,7 @@
|
|
|
577
588
|
"filename": "features/thursday/thursday.action.ts",
|
|
578
589
|
"exportedName": "saveThoughtAction"
|
|
579
590
|
},
|
|
580
|
-
"
|
|
591
|
+
"7f5a06cd07e57580ab2dcc83226a53ea5d02297e01": {
|
|
581
592
|
"workers": {
|
|
582
593
|
"app/page": {
|
|
583
594
|
"moduleId": 363531,
|
|
@@ -588,7 +599,7 @@
|
|
|
588
599
|
"filename": "features/thursday/thursday.action.ts",
|
|
589
600
|
"exportedName": "saveTurnsAction"
|
|
590
601
|
},
|
|
591
|
-
"
|
|
602
|
+
"7f59aab9747f21e1221fe9a286f74742e1d77b2e8e": {
|
|
592
603
|
"workers": {
|
|
593
604
|
"app/page": {
|
|
594
605
|
"moduleId": 363531,
|
|
@@ -599,7 +610,7 @@
|
|
|
599
610
|
"filename": "features/bot/bot.action.ts",
|
|
600
611
|
"exportedName": "startThreadAction"
|
|
601
612
|
},
|
|
602
|
-
"
|
|
613
|
+
"7fadd72695790fa94ef009bfd49bd40e2c45287b78": {
|
|
603
614
|
"workers": {
|
|
604
615
|
"app/page": {
|
|
605
616
|
"moduleId": 363531,
|
|
@@ -610,7 +621,7 @@
|
|
|
610
621
|
"filename": "features/reach/reach.action.ts",
|
|
611
622
|
"exportedName": "allowReachAction"
|
|
612
623
|
},
|
|
613
|
-
"
|
|
624
|
+
"7f6036534aee3d27bb05acf1426174208039896a19": {
|
|
614
625
|
"workers": {
|
|
615
626
|
"app/page": {
|
|
616
627
|
"moduleId": 363531,
|
|
@@ -623,5 +634,5 @@
|
|
|
623
634
|
}
|
|
624
635
|
},
|
|
625
636
|
"edge": {},
|
|
626
|
-
"encryptionKey": "
|
|
637
|
+
"encryptionKey": "WMBbz+IEzd/QXoBHypFlyNE7KyGteyks6FpNdirIieQ="
|
|
627
638
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,986530,e=>{"use strict";var t=e.i(843476),s=e.i(225913);e.i(271645);var l=e.i(647163);function a({className:e,...s}){return(0,t.jsx)("label",{"data-slot":"label",className:(0,l.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...s})}e.i(652225);let n=(0,s.cva)("group/field flex w-full gap-2 data-[invalid=true]:text-destructive",{variants:{orientation:{vertical:"flex-col *:w-full [&>.sr-only]:w-auto",horizontal:"flex-row items-center has-[>[data-slot=field-content]]:items-start *:data-[slot=field-label]:flex-auto has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px",responsive:"flex-col *:w-full @md/field-group:flex-row @md/field-group:items-center @md/field-group:*:w-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:*:data-[slot=field-label]:flex-auto [&>.sr-only]:w-auto @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"}},defaultVariants:{orientation:"vertical"}});e.s(["Field",0,function({className:e,orientation:s="vertical",...a}){return(0,t.jsx)("div",{role:"group","data-slot":"field","data-orientation":s,className:(0,l.cn)(n({orientation:s}),e),...a})},"FieldContent",0,function({className:e,...s}){return(0,t.jsx)("div",{"data-slot":"field-content",className:(0,l.cn)("group/field-content flex flex-1 flex-col gap-0.5 leading-snug",e),...s})},"FieldLabel",0,function({className:e,...s}){return(0,t.jsx)(a,{"data-slot":"field-label",className:(0,l.cn)("group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border has-[>[data-slot=field]]:not-has-[:disabled,[data-disabled]]:hover:bg-muted/50 has-[>[data-slot=field]]:has-[:focus-visible]:border-ring has-[>[data-slot=field]]:has-[:focus-visible]:ring-3 has-[>[data-slot=field]]:has-[:focus-visible]:ring-ring/50 *:data-[slot=field]:p-2.5 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10","has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col",e),...s})}],986530)},833959,e=>{"use strict";var t=e.i(843476),s=e.i(437750),l=e.i(856539),a=e.i(24071),n=e.i(867927),i=e.i(829600),r=e.i(226091),o=e.i(726067),d=e.i(91511),c=e.i(456420);let u={name:"mouse-pointer-2",size:24,node:[["path",{d:"M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z",key:"edeuup"}]]};u.node;let m=(0,c.default)(u);var x=e.i(77071),h=e.i(566595);let f={name:"square-pen",size:24,node:[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],aliases:["pen-box","edit","pen-square"]};f.node;let p=(0,c.default)(f);var g=e.i(759659);let v={name:"upload",size:24,node:[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]};v.node;let b=(0,c.default)(v);var j=e.i(271645),k=e.i(798120),y=e.i(167881),N=e.i(986530),w=e.i(23750),S=e.i(683408),C=e.i(917162),z=e.i(671428),F=e.i(319036),M=e.i(127341),R=e.i(184762),L=e.i(41533),T=e.i(895836),A=e.i(95187);let D=(0,A.createServerReference)("7f9409becae9bbaba952ec755d4cfb93b5122c71fc",A.callServer,void 0,A.findSourceMapURL,"createSkillAction"),$=(0,A.createServerReference)("7f982d50a9ce32102320c3c886493aaa264886fa42",A.callServer,void 0,A.findSourceMapURL,"deleteSkillAction"),K=(0,A.createServerReference)("7f287d92dd4d485832df0afb705b2ac1dd77df09a0",A.callServer,void 0,A.findSourceMapURL,"setSkillDisabledAction"),B=(0,A.createServerReference)("7f303053984ddb5028954367b89d32b959b0f79541",A.callServer,void 0,A.findSourceMapURL,"uploadSkillAction"),q=(0,A.createServerReference)("7fc4c9432de942a5145699a465e18aa8b396161e5d",A.callServer,void 0,A.findSourceMapURL,"writeSkillFileAction");var O=e.i(609856),P=e.i(283653),U=e.i(647163);let I={browser:d.Globe,computer:s.AppWindow,"find-skills":h.Search,"interactive-page":m,"skill-creator":p};function W({skill:e}){let[s,a]=(0,O.useServerAction)($,{onOk:()=>(0,P.revalidate)(k.queryKey.skills)}),[i]=(0,O.useServerAction)(K,{onOk:()=>(0,P.revalidate)(k.queryKey.skills)}),r=async()=>{await C.notify.confirm({title:`Delete ${e.name}?`,description:"Every file in this skill is deleted for good.",okText:"Delete",destructive:!0})&&s(e.dir)},o="default"===e.source&&I[e.dir]||l.BookMarked;return(0,t.jsxs)("div",{className:"group flex items-center transition-colors hover:bg-muted/50",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>{var s;return s=e,C.notify.component({className:"sm:max-w-4xl",renderer:()=>(0,t.jsx)(E,{skill:s})})},className:"flex min-w-0 flex-1 items-center gap-3 py-4 pl-4 text-left outline-none focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-inset",children:[(0,t.jsx)("span",{className:(0,U.cn)("grid size-10 shrink-0 place-items-center rounded-lg bg-muted text-muted-foreground",e.disabled&&"opacity-45"),children:(0,t.jsx)(o,{className:"size-4"})}),(0,t.jsxs)("span",{className:(0,U.cn)("min-w-0 flex-1 space-y-0.5",e.disabled&&"opacity-45"),children:[(0,t.jsx)("span",{className:"block truncate text-sm font-medium",children:e.name}),(0,t.jsx)("span",{className:"line-clamp-2 text-xs leading-relaxed text-muted-foreground",children:e.description})]}),(0,t.jsx)(n.ChevronRight,{className:"size-4 shrink-0 text-muted-foreground/60 group-hover:text-foreground"})]}),(0,t.jsxs)("div",{className:"mr-4 ml-5 flex w-18 shrink-0 items-center justify-end gap-3",children:[(0,t.jsx)(F.Switch,{checked:!e.disabled,onCheckedChange:t=>i(e.source,e.dir,!t),"aria-label":`${e.name} on or off`,className:"shrink-0"}),"custom"===e.source?(0,t.jsx)(y.Button,{size:"icon-sm",variant:"ghost",loading:a,onClick:r,className:"shrink-0 text-muted-foreground",children:(0,t.jsx)(g.Trash2,{})}):(0,t.jsx)("span",{className:"size-7 shrink-0"})]})]})}function E({skill:e}){let[s,l]=(0,j.useState)(""),[n,i]=(0,j.useState)("SKILL.md");return(0,t.jsx)(T.SettingDialogContent,{title:e.name,description:(0,t.jsx)(H,{skill:e,path:n??s}),children:(0,t.jsxs)("div",{className:"flex h-[36rem] divide-x divide-border/60 overflow-hidden rounded-xl border border-border/60 bg-background",children:[(0,t.jsxs)("div",{className:"flex w-44 shrink-0 flex-col overflow-y-auto bg-muted/20 py-1",children:[s&&(0,t.jsxs)("button",{type:"button",onClick:()=>l(s.split("/").slice(0,-1).join("/")),className:"mx-1 mb-1 flex items-center gap-1 rounded-md px-2 py-1 text-left font-mono text-[11px] text-muted-foreground outline-none hover:bg-muted/50 hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-inset",children:[(0,t.jsx)(a.ChevronLeft,{className:"size-3 shrink-0"}),(0,t.jsx)("span",{className:"truncate",children:s.split("/").pop()})]}),(0,t.jsx)(G,{source:e.source,dir:e.dir,path:s,current:n,onPick:e=>{let t=s?`${s}/${e.name}`:e.name;"dir"===e.kind?l(t):i(t)}})]}),(0,t.jsx)("div",{className:"min-w-0 flex-1 overflow-y-auto",children:n?(0,t.jsx)(Y,{source:e.source,dir:e.dir,path:n,editable:"custom"===e.source}):(0,t.jsx)("p",{className:"p-6 text-sm text-muted-foreground/60",children:"Pick a file"})})]})})}function H({skill:e,path:s}){if(!e)return(0,t.jsx)("span",{className:"truncate font-mono text-[11px] text-muted-foreground/60",children:"Pick a skill"});let l=[e.name,...s.split("/").filter(Boolean)];return(0,t.jsx)("span",{className:"flex min-w-0 items-center gap-1 font-mono text-[11px] text-muted-foreground",children:l.map((e,s)=>(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-1",children:[s>0&&(0,t.jsx)(n.ChevronRight,{className:"size-3 shrink-0 opacity-50"}),(0,t.jsx)("span",{className:(0,U.cn)("truncate",s===l.length-1&&"text-foreground"),children:e})]},`${s}-${e}`))})}function V({icon:e,label:s,active:l,hasChildren:a,onClick:i}){return(0,t.jsxs)("button",{type:"button",onClick:i,className:(0,U.cn)("mx-1 flex items-center gap-1.5 rounded-md px-2 py-1 text-left text-xs outline-none focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-inset",l?T.PICKED_ROW:"text-muted-foreground hover:bg-muted/50 hover:text-foreground"),children:[(0,t.jsx)("span",{className:"shrink-0 text-muted-foreground/70 [&>svg]:size-3",children:e}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate",children:s}),a&&(0,t.jsx)(n.ChevronRight,{className:"size-3 shrink-0 text-muted-foreground/50"})]})}function G({source:e,dir:s,path:l,current:a,onPick:n}){let{data:d,isLoading:c,error:u}=(0,P.useServerRoute)(k.queryKey.skillNode(e,s,l));return u?(0,t.jsx)("p",{className:"p-3 font-mono text-xs text-destructive",children:u.message}):c||!d?(0,t.jsxs)("div",{className:"space-y-2 p-2",children:[(0,t.jsx)(z.Skeleton,{className:"h-5 w-full"}),(0,t.jsx)(z.Skeleton,{className:"h-5 w-4/5"})]}):"dir"!==d.kind?null:(0,t.jsxs)(t.Fragment,{children:[d.entries.map(e=>(0,t.jsx)(V,{icon:"dir"===e.kind?(0,t.jsx)(o.Folder,{}):e.name.endsWith(".md")?(0,t.jsx)(r.FileText,{}):(0,t.jsx)(i.File,{}),label:e.name,hasChildren:"dir"===e.kind,active:(l?`${l}/${e.name}`:e.name)===a,onClick:()=>n(e)},e.name)),0===d.entries.length&&(0,t.jsx)("p",{className:"p-3 text-xs text-muted-foreground/60",children:"Empty folder"})]})}function _({content:e}){let s=/^---\r?\n([\s\S]*?)\r?\n---[ \t]*\r?\n?/.exec(e),l=s?.[1].trim(),a=l&&/^description:[ \t]*(.+)$/m.exec(l)?.[1].trim(),n=s?e.slice(s[0].length):e;return(0,t.jsxs)("div",{className:"min-w-0",children:[a&&(0,t.jsx)("p",{className:"border-b border-border/60 px-5 py-3 text-[13px] leading-relaxed text-muted-foreground",children:a}),(0,t.jsx)("div",{className:"px-5 py-4 text-sm leading-relaxed",children:(0,t.jsx)(S.Markdown,{children:n})})]})}function Y({source:e,dir:s,path:l,editable:a}){let[n,i]=(0,j.useState)(null),{data:r,isLoading:o,error:d}=(0,P.useServerRoute)(k.queryKey.skillNode(e,s,l)),[c,u]=(0,O.useServerAction)(q,{okMessage:"Saved",onOk:()=>{i(null),(0,P.revalidate)(k.queryKey.skills)}});if(d)return(0,t.jsx)("p",{className:"p-4 font-mono text-xs text-destructive",children:d.message});if(o||!r)return(0,t.jsxs)("div",{className:"space-y-3 p-5",children:[(0,t.jsx)(z.Skeleton,{className:"h-5 w-2/3"}),(0,t.jsx)(z.Skeleton,{className:"h-4 w-full"}),(0,t.jsx)(z.Skeleton,{className:"h-4 w-5/6"})]});if("file"!==r.kind)return null;let m=l.split("/").pop()??"";return(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"sticky top-0 z-20 flex items-center justify-between gap-2 border-b border-border/60 bg-background/90 px-5 py-2 font-mono text-[11px] text-muted-foreground backdrop-blur",children:[(0,t.jsx)("span",{className:"truncate",children:m}),(0,t.jsxs)("span",{className:"flex shrink-0 items-center gap-2",children:[(0,t.jsx)("span",{children:(0,U.formatBytes)(r.size)}),a&&null!==r.content&&null===n&&(0,t.jsxs)(y.Button,{size:"xs",variant:"ghost",className:"font-mono",onClick:()=>i(r.content??""),children:[(0,t.jsx)(p,{}),"Edit"]}),null!==n&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.Button,{size:"xs",variant:"ghost",className:"font-mono",onClick:()=>i(null),children:"Cancel"}),(0,t.jsx)(y.Button,{size:"xs",className:"font-mono",loading:u,disabled:n===r.content,onClick:()=>c(s,l,n),children:"Save"})]})]})]}),null!==n?(0,t.jsx)(R.Textarea,{value:n,onChange:e=>i(e.target.value),spellCheck:!1,"aria-label":`${m} contents`,className:"min-h-120 resize-none rounded-none border-0 font-mono text-[13px] leading-relaxed shadow-none focus-visible:ring-0"}):null===r.content?(0,t.jsx)("p",{className:"px-5 py-4 text-sm text-muted-foreground/60",children:"Not a text file — a bot can still read it from disk."}):m.toLowerCase().endsWith(".md")?(0,t.jsx)(_,{content:r.content}):(0,t.jsx)("pre",{className:"overflow-x-auto px-5 py-4 font-mono text-[13px] leading-relaxed whitespace-pre text-foreground/90",children:r.content})]})}function Z(){return C.notify.component({className:"sm:max-w-lg",renderer:({close:e})=>(0,t.jsx)(J,{onDone:e})})}function J({onDone:e}){let[s,l]=(0,j.useState)("write"),[a,n]=(0,j.useState)(""),[i,r]=(0,j.useState)(""),[o,d]=(0,j.useState)(""),[c,u]=(0,j.useState)(null),[m,h]=(0,j.useState)(!1),f=(0,j.useRef)(null),p={errorMessage:!1,onOk:()=>{(0,P.revalidate)(k.queryKey.skills),e()}},[g,v,,S]=(0,O.useServerAction)(D,p),[C,z,,F]=(0,O.useServerAction)(B,p),A=v||z,$="write"===s?S:F,K=!A&&("write"===s?a.trim()&&i.trim()&&o.trim():null!==c),q=async()=>{var e;!K||("write"===s?g({name:a.trim(),description:i.trim(),content:o}):c&&C({fileName:c.name,base64:await (e=c,new Promise((t,s)=>{let l=new FileReader;l.onload=()=>{let e=l.result;t(e.slice(e.indexOf(",")+1))},l.onerror=()=>s(l.error),l.readAsDataURL(e)}))}))},I=e=>{let t=e?.[0]??null;t&&u(t)};return(0,t.jsxs)(T.SettingDialogContent,{title:"New skill",description:"Instructions a bot reads when a job calls for them.",footer:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.Button,{variant:"ghost",onClick:e,children:"Cancel"}),(0,t.jsxs)(y.Button,{disabled:!K,loading:A,onClick:q,children:[!A&&("write"===s?(0,t.jsx)(x.Plus,{}):(0,t.jsx)(b,{})),"write"===s?"Create":"Upload"]})]}),children:[(0,t.jsxs)(M.Tabs,{value:s,onValueChange:e=>l(e),children:[(0,t.jsxs)(M.TabsList,{className:"w-full",children:[(0,t.jsx)(M.TabsTrigger,{value:"write",children:"Write"}),(0,t.jsx)(M.TabsTrigger,{value:"upload",children:"Upload"})]}),(0,t.jsxs)(M.TabsContent,{value:"write",className:"space-y-5 pt-4",children:[(0,t.jsxs)(N.Field,{children:[(0,t.jsx)(N.FieldLabel,{htmlFor:"skill-name",children:"Name"}),(0,t.jsxs)(N.FieldContent,{children:[(0,t.jsx)(w.Input,{id:"skill-name",value:a,onChange:e=>n(e.target.value),placeholder:"deploy-checklist",spellCheck:!1,autoFocus:!0}),(0,t.jsxs)("p",{className:"font-mono text-[11px] text-muted-foreground",children:[L.PATHS.skills.custom,"/",a.trim()||"…","/SKILL.md"]})]})]}),(0,t.jsxs)(N.Field,{children:[(0,t.jsx)(N.FieldLabel,{htmlFor:"skill-description",children:"Description"}),(0,t.jsx)(N.FieldContent,{children:(0,t.jsx)(w.Input,{id:"skill-description",value:i,onChange:e=>r(e.target.value),placeholder:"When to use it — this is how a bot decides to read it"})})]}),(0,t.jsxs)(N.Field,{children:[(0,t.jsx)(N.FieldLabel,{htmlFor:"skill-content",children:"Content"}),(0,t.jsx)(R.Textarea,{id:"skill-content",value:o,onChange:e=>d(e.target.value),placeholder:"Markdown. The steps, the rules, the examples.",className:"min-h-40 resize-none font-mono text-xs"})]})]}),(0,t.jsxs)(M.TabsContent,{value:"upload",className:"space-y-4 pt-4",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>f.current?.click(),onDragOver:e=>{e.preventDefault(),h(!0)},onDragLeave:()=>h(!1),onDrop:e=>{e.preventDefault(),h(!1),I(e.dataTransfer.files)},className:(0,U.cn)("flex w-full flex-col items-center gap-2 rounded-xl border border-dashed px-6 py-10 text-center outline-none transition-colors focus-visible:ring-3 focus-visible:ring-ring/50",m?"border-foreground/60 bg-muted/60":"border-border hover:bg-muted/40"),children:[(0,t.jsx)(b,{className:"size-5 text-muted-foreground"}),c?(0,t.jsxs)("span",{className:"text-sm",children:[c.name,(0,t.jsx)("span",{className:"ml-2 font-mono text-[11px] text-muted-foreground",children:(0,U.formatBytes)(c.size)})]}):(0,t.jsx)("span",{className:"text-sm text-muted-foreground",children:"Drop a file here, or click to choose"})]}),(0,t.jsx)("input",{ref:f,type:"file",accept:".md,.zip,.skill",className:"hidden",onChange:e=>I(e.target.files)}),(0,t.jsxs)("div",{className:"space-y-1 text-xs text-muted-foreground",children:[(0,t.jsx)("p",{className:"font-medium text-foreground/80",children:"File requirements"}),(0,t.jsxs)("p",{children:["A ",(0,t.jsx)("span",{className:"font-mono",children:".md"})," file needs a YAML block with the skill's name and description."]}),(0,t.jsxs)("p",{children:["A ",(0,t.jsx)("span",{className:"font-mono",children:".zip"})," or"," ",(0,t.jsx)("span",{className:"font-mono",children:".skill"})," archive needs a SKILL.md inside — the rest of its folder comes along."]})]})]})]}),$&&(0,t.jsx)("p",{className:"font-mono text-xs text-destructive",children:$})]})}e.s(["SkillsSetting",0,function(){let[e,s]=(0,j.useState)(""),{data:l,isLoading:a,error:n}=(0,P.useServerRoute)(k.queryKey.skills),i=l??[];if(a)return(0,t.jsx)(T.SettingSkeleton,{rows:4});if(n)return(0,t.jsx)(T.SettingError,{message:n.message});let r=e.trim().toLowerCase(),o=i.filter(e=>!r||`${e.name} ${e.description}`.toLowerCase().includes(r)),d=i.filter(e=>!e.disabled).length;return(0,t.jsxs)(T.SettingScreen,{footer:(0,t.jsxs)(T.SettingRailNote,{children:[i.filter(e=>"default"===e.source).length," shipped · ",i.filter(e=>"custom"===e.source).length," ","installed"]}),children:[(0,t.jsx)(T.SettingToolbar,{count:`${d} on \xb7 ${i.length-d} off`,children:(0,t.jsx)(T.SettingFilter,{value:e,onChange:s,placeholder:"Filter skills"})}),(0,t.jsx)(T.SettingGroup,{label:"Custom",hint:"yours — added here · wins a name clash",children:(0,t.jsx)(T.SettingItems,{addRow:{label:"Add skill",onClick:Z},children:o.filter(e=>"custom"===e.source).map(e=>(0,t.jsx)(W,{skill:e},`custom/${e.dir}`))})}),(0,t.jsx)(T.SettingGroup,{label:"Default",hint:"ships with the app · switch off, can't edit or delete",children:(0,t.jsx)(T.SettingItems,{children:o.filter(e=>"default"===e.source).map(e=>(0,t.jsx)(W,{skill:e},`default/${e.dir}`))})}),d>L.PROMPT_CROWDED.skills&&(0,t.jsxs)(T.SettingNote,{children:[d," skills are on. Each is a line in every prompt a bot reads, and one more to look past when it picks."]})]})}],833959)},437750,e=>{"use strict";var t=e.i(456420);let s={name:"app-window",size:24,node:[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}],["path",{d:"M10 4v4",key:"pp8u80"}],["path",{d:"M2 8h20",key:"d11cs7"}],["path",{d:"M6 4v4",key:"1svtjw"}]]};s.node;let l=(0,t.default)(s);e.s(["AppWindow",0,l],437750)},726067,e=>{"use strict";var t=e.i(456420);let s={name:"folder",size:24,node:[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]};s.node;let l=(0,t.default)(s);e.s(["Folder",0,l],726067)},759659,e=>{"use strict";var t=e.i(456420);let s={name:"trash",size:24,node:[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],aliases:["trash-2"]};s.node;let l=(0,t.default)(s);e.s(["Trash2",0,l],759659)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,107941,e=>{"use strict";var t=e.i(843476),n=e.i(24071),i=e.i(867927),s=e.i(482022),r=e.i(829600),a=e.i(456420);let o={name:"file-code-corner",size:24,node:[["path",{d:"M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35",key:"1wthlu"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m5 16-3 3 3 3",key:"331omg"}],["path",{d:"m9 22 3-3-3-3",key:"lsp7cz"}]],aliases:["file-code-2"]};o.node;let l=(0,a.default)(o);var d=e.i(905015),c=e.i(226091),m=e.i(726067),u=e.i(569644),x=e.i(815170),h=e.i(51921);let f={name:"sheet",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["line",{x1:"3",x2:"21",y1:"9",y2:"9",key:"1vqk6q"}],["line",{x1:"3",x2:"21",y1:"15",y2:"15",key:"o2sbyz"}],["line",{x1:"9",x2:"9",y1:"9",y2:"21",key:"1ib60c"}],["line",{x1:"15",x2:"15",y1:"9",y2:"21",key:"1n26ft"}]]};f.node;let p=(0,a.default)(f);var g=e.i(759659);let v={name:"video",size:24,node:[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]};v.node;let y=(0,a.default)(v);var k=e.i(271645),j=e.i(798120),b=e.i(167881),w=e.i(917162),N=e.i(41533),S=e.i(895836),F=e.i(621285),A=e.i(802828),C=e.i(95187);let z=(0,C.createServerReference)("7fe109e3e5ec8257c6a858e06a4bd2a04a9e4dd0d3",C.callServer,void 0,C.findSourceMapURL,"emptyScratchAction");var R=e.i(172711),E=e.i(245629),$=e.i(609856),P=e.i(283653),M=e.i(647163);let W={markdown:c.FileText,csv:p,json:d.FileJson,text:c.FileText,frame:l,image:x.Image,audio:h.Music,video:y,none:r.File};function O({label:e,rows:n,children:i}){return 0===n.length?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"px-3 pt-3 pb-1 font-mono text-[10px] text-muted-foreground/60",children:e}),i]})}function K({entry:e,active:n,onPick:s}){let r="dir"===e.kind?m.Folder:W[e.view];return(0,t.jsxs)("button",{type:"button",onClick:s,title:"file"===e.kind?`${e.name} \xb7 ${(0,E.shortAgo)(e.at)}`:e.name,className:(0,M.cn)("mx-2 flex items-center gap-2 rounded-md px-2 py-1.5 text-left text-[13px] outline-none focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-inset",n?(0,M.cn)(S.PICKED_ROW,"font-medium"):"text-muted-foreground hover:bg-muted/60 hover:text-foreground"),children:[(0,t.jsx)(r,{className:"size-3.5 shrink-0 opacity-70"}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate",children:e.name}),"file"===e.kind?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"shrink-0 font-mono text-[11px] text-muted-foreground/75",children:(0,M.formatBytes)(e.bytes)}),(0,t.jsx)("span",{className:"w-3.5 shrink-0"})]}):(0,t.jsx)(i.ChevronRight,{className:"size-3.5 shrink-0 text-muted-foreground/50"})]})}function T({empty:e}){return(0,t.jsx)("div",{className:"space-y-4 p-8",children:e?(0,t.jsxs)("p",{className:"max-w-lg text-sm leading-relaxed text-muted-foreground",children:["Nothing here yet. What a bot writes during a call lands in"," ",(0,t.jsx)("span",{className:"font-mono text-[13px] text-foreground",children:"artifacts/"})," ","— a page, a table, a picture — and shows up here to open."]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"text-sm leading-relaxed text-muted-foreground",children:"Pick a file on the left."}),(0,t.jsx)("p",{className:"max-w-lg text-sm leading-relaxed text-muted-foreground",children:"Only what the app can open is listed — a page, a table, a picture, a note. Installed packages and tool leftovers are left out, and no folder is measured, so a folder opens as fast as it lists. Reveal folder, at the foot, opens everything else."})]})})}function B({file:e,onGone:n}){let i=e.path,[r]=(0,$.useServerAction)(R.openFileAction),[a,o]=(0,$.useServerAction)(A.deleteWorkspaceFileAction,{okMessage:"File deleted",onOk:()=>{(0,P.revalidate)(j.queryKey.workspace),n()}}),l=async()=>{await w.notify.confirm({title:`Delete ${i.split("/").pop()}?`,description:"It is deleted from disk for good.",okText:"Delete",destructive:!0})&&a(i)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-3 border-b border-border/60 px-6 py-2",children:[(0,t.jsx)(L,{path:i}),(0,t.jsxs)("span",{className:"shrink-0 font-mono text-[11px] text-muted-foreground/70",children:[(0,M.formatBytes)(e.bytes)," · ",(0,E.shortAgo)(e.at)]}),(0,t.jsx)("a",{href:j.queryKey.fileView(i),target:"_blank",rel:"noreferrer","aria-label":"Open in a new tab",className:"grid size-7 shrink-0 place-items-center rounded-md text-muted-foreground outline-none transition-colors hover:bg-muted/60 hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50",children:(0,t.jsx)(s.ExternalLink,{className:"size-4"})}),(0,t.jsx)(b.Button,{size:"icon-sm",variant:"ghost","aria-label":"Reveal in the file manager",className:"text-muted-foreground",onClick:()=>r(i),children:(0,t.jsx)(u.FolderOpen,{})}),(0,t.jsx)(b.Button,{size:"icon-sm",variant:"ghost","aria-label":"Delete",loading:o,className:"text-muted-foreground",onClick:l,children:(0,t.jsx)(g.Trash2,{})})]}),(0,t.jsx)("div",{className:"min-h-0 flex-1 overflow-auto",children:(0,t.jsx)(F.FilePreview,{path:i,bytes:e.bytes})})]})}function L({path:e}){let n=["workspace",...e.split("/").filter(Boolean)];return(0,t.jsx)("span",{className:"flex min-w-0 flex-1 items-center gap-1 font-mono text-[11px] text-muted-foreground",children:n.map((e,s)=>(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-1",children:[s>0&&(0,t.jsx)(i.ChevronRight,{className:"size-3 shrink-0 opacity-50"}),(0,t.jsx)("span",{className:(0,M.cn)("truncate",s===n.length-1&&"text-foreground"),children:e})]},`${s}-${e}`))})}e.s(["WorkspaceSetting",0,function(){let[e,i]=(0,k.useState)(""),[s,r]=(0,k.useState)(N.WORKSPACE_VIEW.rows),[a,o]=(0,k.useState)(null),[l,d]=(0,k.useState)(""),{data:c,isLoading:m,error:x}=(0,P.useServerRoute)(j.queryKey.workspaceFolder(e,s),{keepPreviousData:!0}),h=e=>{i(e),r(N.WORKSPACE_VIEW.rows)},[f,p]=(0,$.useServerAction)(z,{okMessage:"Scratch emptied",onOk:()=>(0,P.revalidate)(j.queryKey.workspace)}),[g]=(0,$.useServerAction)(R.openFileAction),v=async()=>{await w.notify.confirm({title:"Empty scratch?",description:"Everything under scratch/ is deleted for good. artifacts/ and projects/ are untouched.",okText:"Empty",destructive:!0})&&f()};if(m)return(0,t.jsx)(S.SettingPanesSkeleton,{});if(x)return(0,t.jsx)(S.SettingError,{message:x.message});let y=c?.entries??[],F=c?.total??0,A=l.trim().toLowerCase(),C=A?y.filter(e=>e.name.toLowerCase().includes(A)):y,E=C.filter(e=>"dir"===e.kind),M=C.filter(e=>"file"===e.kind),W=""!==e||y.some(e=>"dir"===e.kind&&e.name===N.PATHS.scratch),L=y.find(e=>"file"===e.kind&&e.path===a?.path)??a;return(0,t.jsx)(S.SettingPanes,{footer:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(S.SettingRailNote,{children:(0,t.jsxs)("span",{className:"font-mono",children:[(0,t.jsx)("span",{className:"font-medium text-foreground",children:`.ai-workspace${e?`/${e}`:""}`}),` \xb7 ${function(e,t){let n=e.filter(e=>"dir"===e.kind).length,i=e.length-n,s=[n&&`${n} ${1===n?"folder":"folders"}`,i&&`${i} ${1===i?"file":"files"}`].filter(Boolean);if(!s.length)return"empty";let r=s.join(" · ");return t>e.length?`${r} of ${t.toLocaleString("en")}`:r}(y,F)}`]})}),(0,t.jsxs)(b.Button,{variant:"outline",size:"sm",onClick:()=>g(e||"."),children:[(0,t.jsx)(u.FolderOpen,{}),"Reveal folder"]}),W&&(0,t.jsx)(b.Button,{variant:"outline",size:"sm",loading:p,onClick:v,className:"text-destructive hover:text-destructive",children:"Empty scratch"})]}),left:(0,t.jsxs)("div",{className:"flex flex-col py-2",children:[(0,t.jsx)(S.SettingFilter,{value:l,onChange:d,placeholder:"Filter this folder",className:"mx-2 mb-1.5 w-auto"}),e&&(0,t.jsxs)("button",{type:"button",onClick:()=>h(e.split("/").slice(0,-1).join("/")),className:"mx-2 mb-1 flex items-center gap-1 rounded-md px-2 py-1 text-left font-mono text-[11px] text-muted-foreground outline-none hover:bg-muted/60 hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-inset",children:[(0,t.jsx)(n.ChevronLeft,{className:"size-3 shrink-0"}),(0,t.jsx)("span",{className:"truncate",children:e.split("/").slice(0,-1).pop()??"workspace"})]}),0===C.length?(0,t.jsx)("p",{className:"px-4 py-3 text-xs text-muted-foreground/60",children:A?"Nothing matches":"Empty folder"}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(O,{label:"folders",rows:E,children:E.map(e=>(0,t.jsx)(K,{entry:e,onPick:()=>h(e.path)},e.path))}),(0,t.jsx)(O,{label:"files",rows:M,children:M.map(e=>(0,t.jsx)(K,{entry:e,active:e.path===a?.path,onPick:()=>"file"===e.kind&&o(e)},e.path))})]}),F>y.length&&(0,t.jsx)("button",{type:"button",onClick:()=>r(s+N.WORKSPACE_VIEW.rows),className:"mx-2 mt-2 rounded-md px-2 py-1.5 text-left font-mono text-[11px] text-muted-foreground outline-none hover:bg-muted/60 hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-inset",children:`Show ${Math.min(N.WORKSPACE_VIEW.rows,F-y.length)} more of ${F.toLocaleString("en")}`})]}),right:L?.kind==="file"?(0,t.jsx)(B,{file:L,onGone:()=>o(null)},L.path):(0,t.jsx)(T,{empty:!e&&0===y.length})})}],107941)},802828,e=>{"use strict";var t=e.i(95187);let n=(0,t.createServerReference)("7fd3a8b14d131f17a3ee8e56630e3f2ec5fed81cbb",t.callServer,void 0,t.findSourceMapURL,"deleteWorkspaceFileAction");e.s(["deleteWorkspaceFileAction",0,n])},726067,e=>{"use strict";var t=e.i(456420);let n={name:"folder",size:24,node:[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]};n.node;let i=(0,t.default)(n);e.s(["Folder",0,i],726067)},759659,e=>{"use strict";var t=e.i(456420);let n={name:"trash",size:24,node:[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],aliases:["trash-2"]};n.node;let i=(0,t.default)(n);e.s(["Trash2",0,i],759659)}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,638475,e=>{"use strict";var t=e.i(843476),r=e.i(798120),i=e.i(319036),s=e.i(609856),
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,638475,e=>{"use strict";var t=e.i(843476),r=e.i(798120),i=e.i(319036),s=e.i(609856),a=e.i(283653),n=e.i(95187);let o=(0,n.createServerReference)("7fa00e3079a1fdce34072f8f4950ff89062514435f",n.callServer,void 0,n.findSourceMapURL,"setKeepWorkingOnAction"),c="Work while the app is closed";e.s(["KeepWorkingSwitch",0,function(){let{data:e,mutate:n}=(0,a.useServerRoute)(r.queryKey.botKeepWorking),[l]=(0,s.useServerAction)(o,{onOk:()=>(0,a.revalidate)(r.queryKey.botKeepWorking)});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"shrink-0 text-xs text-muted-foreground",title:"Off, closing the last tab stops running jobs and holds routines until one is open again. On, they run until the server stops.",children:c}),(0,t.jsx)(i.Switch,{checked:e??!1,disabled:void 0===e,onCheckedChange:e=>{n(e,!1),l(e)},"aria-label":c})]})}],638475)},802828,e=>{"use strict";var t=e.i(95187);let r=(0,t.createServerReference)("7fd3a8b14d131f17a3ee8e56630e3f2ec5fed81cbb",t.callServer,void 0,t.findSourceMapURL,"deleteWorkspaceFileAction");e.s(["deleteWorkspaceFileAction",0,r])},333999,e=>{"use strict";var t=e.i(271645),r=e.i(647163);e.s(["useObjectState",0,e=>{let[i,s]=(0,t.useState)(e);return[i,(0,t.useMemo)(()=>{let e=e=>{s(t=>{let i=(0,r.isFunction)(e)?e(t):e;return Object.keys(i).some(e=>!Object.is(t[e],i[e]))?{...t,...i}:t})},t=new Map;return new Proxy(e,{get(i,s,a){if("symbol"==typeof s)return Reflect.get(i,s,a);let n=t.get(s);return n||(n=t=>{e(e=>({[s]:(0,r.isFunction)(t)?t(e[s]):t}))},t.set(s,n)),n}})},[])]}])},759659,e=>{"use strict";var t=e.i(456420);let r={name:"trash",size:24,node:[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],aliases:["trash-2"]};r.node;let i=(0,t.default)(r);e.s(["Trash2",0,i],759659)}]);
|