@mndrk/agx 2.0.22 → 2.0.24
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/cloud-runtime/standalone/.next/BUILD_ID +1 -1
- package/cloud-runtime/standalone/.next/app-path-routes-manifest.json +1 -0
- package/cloud-runtime/standalone/.next/build-manifest.json +6 -6
- package/cloud-runtime/standalone/.next/prerender-manifest.json +3 -3
- package/cloud-runtime/standalone/.next/routes-manifest.json +6 -0
- package/cloud-runtime/standalone/.next/server/app/_global-error/page/build-manifest.json +4 -4
- package/cloud-runtime/standalone/.next/server/app/_global-error/page.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/_global-error.html +2 -2
- package/cloud-runtime/standalone/.next/server/app/_global-error.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/_not-found/page/build-manifest.json +4 -4
- package/cloud-runtime/standalone/.next/server/app/_not-found/page.js +6 -5
- package/cloud-runtime/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/_not-found.html +14 -2
- package/cloud-runtime/standalone/.next/server/app/_not-found.rsc +11 -11
- package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +11 -11
- package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +7 -7
- package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/agents/[id]/page/build-manifest.json +4 -4
- package/cloud-runtime/standalone/.next/server/app/agents/[id]/page.js +5 -5
- package/cloud-runtime/standalone/.next/server/app/agents/[id]/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/agents/[id]/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/agents/page/build-manifest.json +4 -4
- package/cloud-runtime/standalone/.next/server/app/agents/page.js +5 -5
- package/cloud-runtime/standalone/.next/server/app/agents/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/agents/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/agents.html +14 -2
- package/cloud-runtime/standalone/.next/server/app/agents.rsc +10 -10
- package/cloud-runtime/standalone/.next/server/app/agents.segments/_full.segment.rsc +10 -10
- package/cloud-runtime/standalone/.next/server/app/agents.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/agents.segments/_index.segment.rsc +4 -4
- package/cloud-runtime/standalone/.next/server/app/agents.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/agents.segments/agents/__PAGE__.segment.rsc +4 -4
- package/cloud-runtime/standalone/.next/server/app/agents.segments/agents.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/api/file-search/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/filesystem/browse/route/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/.next/server/app/api/filesystem/browse/route/build-manifest.json +11 -0
- package/cloud-runtime/standalone/.next/server/app/api/filesystem/browse/route/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/.next/server/app/api/filesystem/browse/route.js +7 -0
- package/cloud-runtime/standalone/.next/server/app/api/filesystem/browse/route.js.map +5 -0
- package/cloud-runtime/standalone/.next/server/app/api/filesystem/browse/route.js.nft.json +1 -0
- package/cloud-runtime/standalone/.next/server/app/api/filesystem/browse/route_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/.next/server/app/api/providers/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/providers/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/status/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/status/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/automations/page/build-manifest.json +4 -4
- package/cloud-runtime/standalone/.next/server/app/automations/page.js +5 -5
- package/cloud-runtime/standalone/.next/server/app/automations/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/automations/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/automations.html +14 -2
- package/cloud-runtime/standalone/.next/server/app/automations.rsc +11 -11
- package/cloud-runtime/standalone/.next/server/app/automations.segments/_full.segment.rsc +11 -11
- package/cloud-runtime/standalone/.next/server/app/automations.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/automations.segments/_index.segment.rsc +4 -4
- package/cloud-runtime/standalone/.next/server/app/automations.segments/_tree.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/automations.segments/automations/__PAGE__.segment.rsc +5 -5
- package/cloud-runtime/standalone/.next/server/app/automations.segments/automations.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/board/page/build-manifest.json +4 -4
- package/cloud-runtime/standalone/.next/server/app/board/page.js +6 -6
- package/cloud-runtime/standalone/.next/server/app/board/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/board/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/board.html +14 -2
- package/cloud-runtime/standalone/.next/server/app/board.rsc +8 -8
- package/cloud-runtime/standalone/.next/server/app/board.segments/_full.segment.rsc +8 -8
- package/cloud-runtime/standalone/.next/server/app/board.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/board.segments/_index.segment.rsc +4 -4
- package/cloud-runtime/standalone/.next/server/app/board.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/board.segments/board/__PAGE__.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/board.segments/board.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/execution-graph/page/build-manifest.json +4 -4
- package/cloud-runtime/standalone/.next/server/app/execution-graph/page.js +5 -5
- package/cloud-runtime/standalone/.next/server/app/execution-graph/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/execution-graph/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/execution-graph.html +14 -2
- package/cloud-runtime/standalone/.next/server/app/execution-graph.rsc +10 -10
- package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/_full.segment.rsc +10 -10
- package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/_index.segment.rsc +4 -4
- package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/execution-graph/__PAGE__.segment.rsc +4 -4
- package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/execution-graph.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/index.html +14 -2
- package/cloud-runtime/standalone/.next/server/app/index.rsc +10 -10
- package/cloud-runtime/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +4 -4
- package/cloud-runtime/standalone/.next/server/app/index.segments/_full.segment.rsc +10 -10
- package/cloud-runtime/standalone/.next/server/app/index.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/index.segments/_index.segment.rsc +4 -4
- package/cloud-runtime/standalone/.next/server/app/index.segments/_tree.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/page/build-manifest.json +4 -4
- package/cloud-runtime/standalone/.next/server/app/page.js +5 -5
- package/cloud-runtime/standalone/.next/server/app/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/graph/[taskId]/page/build-manifest.json +4 -4
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/graph/[taskId]/page.js +5 -5
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/graph/[taskId]/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/graph/[taskId]/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/page/build-manifest.json +4 -4
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/page.js +5 -5
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects/orphans/page/build-manifest.json +4 -4
- package/cloud-runtime/standalone/.next/server/app/projects/orphans/page.js +5 -5
- package/cloud-runtime/standalone/.next/server/app/projects/orphans/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects/orphans/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects/orphans.html +13 -1
- package/cloud-runtime/standalone/.next/server/app/projects/orphans.rsc +10 -10
- package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/_full.segment.rsc +10 -10
- package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/_index.segment.rsc +4 -4
- package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/projects/orphans/__PAGE__.segment.rsc +4 -4
- package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/projects/orphans.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/projects.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/projects/page/build-manifest.json +4 -4
- package/cloud-runtime/standalone/.next/server/app/projects/page.js +5 -5
- package/cloud-runtime/standalone/.next/server/app/projects/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects.html +14 -2
- package/cloud-runtime/standalone/.next/server/app/projects.rsc +10 -10
- package/cloud-runtime/standalone/.next/server/app/projects.segments/_full.segment.rsc +10 -10
- package/cloud-runtime/standalone/.next/server/app/projects.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/projects.segments/_index.segment.rsc +4 -4
- package/cloud-runtime/standalone/.next/server/app/projects.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/projects.segments/projects/__PAGE__.segment.rsc +4 -4
- package/cloud-runtime/standalone/.next/server/app/projects.segments/projects.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/settings/page/build-manifest.json +4 -4
- package/cloud-runtime/standalone/.next/server/app/settings/page.js +5 -5
- package/cloud-runtime/standalone/.next/server/app/settings/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/settings.html +14 -2
- package/cloud-runtime/standalone/.next/server/app/settings.rsc +9 -9
- package/cloud-runtime/standalone/.next/server/app/settings.segments/_full.segment.rsc +9 -9
- package/cloud-runtime/standalone/.next/server/app/settings.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/settings.segments/_index.segment.rsc +4 -4
- package/cloud-runtime/standalone/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/settings.segments/settings.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/status/page/build-manifest.json +4 -4
- package/cloud-runtime/standalone/.next/server/app/status/page.js +5 -5
- package/cloud-runtime/standalone/.next/server/app/status/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/status/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/status.html +14 -2
- package/cloud-runtime/standalone/.next/server/app/status.rsc +10 -10
- package/cloud-runtime/standalone/.next/server/app/status.segments/_full.segment.rsc +10 -10
- package/cloud-runtime/standalone/.next/server/app/status.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/status.segments/_index.segment.rsc +4 -4
- package/cloud-runtime/standalone/.next/server/app/status.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/status.segments/status/__PAGE__.segment.rsc +4 -4
- package/cloud-runtime/standalone/.next/server/app/status.segments/status.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/thread/[id]/page/build-manifest.json +4 -4
- package/cloud-runtime/standalone/.next/server/app/thread/[id]/page.js +5 -5
- package/cloud-runtime/standalone/.next/server/app/thread/[id]/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/thread/[id]/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/welcome/page/build-manifest.json +4 -4
- package/cloud-runtime/standalone/.next/server/app/welcome/page.js +5 -5
- package/cloud-runtime/standalone/.next/server/app/welcome/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/welcome/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/welcome.html +14 -2
- package/cloud-runtime/standalone/.next/server/app/welcome.rsc +10 -10
- package/cloud-runtime/standalone/.next/server/app/welcome.segments/_full.segment.rsc +10 -10
- package/cloud-runtime/standalone/.next/server/app/welcome.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/welcome.segments/_index.segment.rsc +4 -4
- package/cloud-runtime/standalone/.next/server/app/welcome.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/welcome.segments/welcome/__PAGE__.segment.rsc +4 -4
- package/cloud-runtime/standalone/.next/server/app/welcome.segments/welcome.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app-paths-manifest.json +1 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__60ba5058._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__621dcb4a._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__babd2675._.js → [root-of-the-server]__82d76712._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__d36da34d._.js → [root-of-the-server]__c2767ca5._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_filesystem_browse_route_actions_8e268170.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/lib_history-store_ts_2e721df2._.js +4 -4
- package/cloud-runtime/standalone/.next/server/chunks/lib_history-store_ts_74d1c060._.js +6 -6
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{[root-of-the-server]__fb05a385._.js → [root-of-the-server]__056cdf7d._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__113d6767._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{[root-of-the-server]__8d1af2c9._.js → [root-of-the-server]__11e33b9b._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{[root-of-the-server]__296a25b5._.js → [root-of-the-server]__19cd257e._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__226f8a19._.js +13 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{[root-of-the-server]__51980630._.js → [root-of-the-server]__26d669c2._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__47caef59._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{[root-of-the-server]__0a103abc._.js → [root-of-the-server]__4ebf5947._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__5ffa2883._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__6a9d3855._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__942ca438._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{[root-of-the-server]__c45c7360._.js → [root-of-the-server]__a667191a._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{[root-of-the-server]__1cfbd715._.js → [root-of-the-server]__aa28d46f._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__bd4d5430._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{[root-of-the-server]__ab36b420._.js → [root-of-the-server]__bde5bc78._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__cde88183._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__ce3b51aa._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{[root-of-the-server]__2503b467._.js → [root-of-the-server]__d36dd8bc._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{[root-of-the-server]__b77ae83d._.js → [root-of-the-server]__dac5ab29._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{[root-of-the-server]__3405b8e4._.js → [root-of-the-server]__e87ba2b0._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{[root-of-the-server]__b9356576._.js → [root-of-the-server]__f62d412e._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{[root-of-the-server]__756711b8._.js → [root-of-the-server]__f63d6594._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{[root-of-the-server]__46de03a9._.js → [root-of-the-server]__febbd0b8._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{[root-of-the-server]__89c70d6f._.js → [root-of-the-server]__ff22a10e._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{_a19a362a._.js → _02c78cac._.js} +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{node_modules_next_dist_08570d7f._.js → _0b36c9d6._.js} +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_0ff7c687._.js +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_0ffd2660._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{_37435df3._.js → _173da79d._.js} +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{_4fe611fe._.js → _1c58ab2d._.js} +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{_a88b4884._.js → _222af282._.js} +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_27cb3359._.js +95 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{_8ebf36f6._.js → _3aa32c11._.js} +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_43472af3._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_4b5d7c9b._.js +95 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{_c52176ad._.js → _4d4ba84b._.js} +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{_194cda6c._.js → _50d04b8f._.js} +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{_a8eaf6bc._.js → _629dc55c._.js} +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_6a367524._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_93914ecd._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_94effa0f._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_a696e9b3._.js +95 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_ae20456d._.js +4 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_c838f593._.js +95 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_cd5e154b._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_d021529a._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{_fc18d7b5._.js → _e04b4053._.js} +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_e1769638._.js +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{_b9d3574c._.js → _f1465cc8._.js} +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{_d4878ef1._.js → _f2a7beb1._.js} +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_fbced30b._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{_8d8836a8._.js → _fc1aaf9e._.js} +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/app_agents_[id]_page_tsx_9c49d8c8._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/app_agents_page_tsx_f5f08ed8._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/app_automations_page_tsx_3d732184._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/app_execution-graph_page_tsx_f854185a._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/app_global-error_tsx_9170b7a0._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/app_projects_[slug]_page_tsx_e0fabf6e._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/components_chat-ui_bfeda794._.js +5 -5
- package/cloud-runtime/standalone/.next/server/chunks/ssr/components_thread_WorkspaceSidebar_tsx_e660301b._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/node_modules_next_dist_03ec2107._.js +4 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_d92e159d.js → node_modules_next_dist_esm_build_templates_app-page_61c49327.js} +3 -3
- package/cloud-runtime/standalone/.next/server/middleware-build-manifest.js +4 -4
- package/cloud-runtime/standalone/.next/server/middleware-manifest.json +5 -5
- package/cloud-runtime/standalone/.next/server/pages/404.html +13 -1
- package/cloud-runtime/standalone/.next/server/pages/500.html +2 -2
- package/cloud-runtime/standalone/.next/server/server-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/server-reference-manifest.json +1 -1
- package/cloud-runtime/standalone/.next/static/chunks/{785cb91c31bb3303.js → 09f9eeea393db0fd.js} +3 -3
- package/cloud-runtime/standalone/.next/static/chunks/1184bf1bfdf97666.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/2acd153dc5252e88.js +30 -0
- package/cloud-runtime/standalone/.next/static/chunks/2deeba875ec50761.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/45b4d0ee5c92d45b.js +93 -0
- package/cloud-runtime/standalone/.next/static/chunks/5ace4b4f4475962a.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/616d66dbec9e4b8b.js +93 -0
- package/cloud-runtime/standalone/.next/static/chunks/64f812259cf8c243.js +18 -0
- package/cloud-runtime/standalone/.next/static/chunks/6dbf5940e30fa9c7.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/7d4c1d97169c8522.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/7f13efe9329d3f97.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/80219bbddcf65109.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/{47ef8bb2118ea917.js → 86ace6febb11ad71.js} +1 -1
- package/cloud-runtime/standalone/.next/static/chunks/{90c7dbc004f59a42.js → 88e24940a5d5d386.js} +1 -1
- package/cloud-runtime/standalone/.next/static/chunks/9d50c2514f72d926.css +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/b079c677d9b39f98.js +5 -0
- package/cloud-runtime/standalone/.next/static/chunks/b4e298542d366e31.js +93 -0
- package/cloud-runtime/standalone/.next/static/chunks/b88352740262931f.js +6 -0
- package/cloud-runtime/standalone/.next/static/chunks/bd6c5b5b4fbd6413.css +2 -0
- package/cloud-runtime/standalone/.next/static/chunks/c5609fd2abb65850.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/{7ca3e4f9ed7425a8.js → d95cd010361834be.js} +1 -1
- package/cloud-runtime/standalone/.next/static/chunks/da434b1ad885d636.js +30 -0
- package/cloud-runtime/standalone/.next/static/chunks/e44264686aa5ecbf.js +93 -0
- package/cloud-runtime/standalone/.next/static/chunks/eab1c7d0246592f8.js +8 -0
- package/cloud-runtime/standalone/.next/static/chunks/f7bbf5cfcfed8ba9.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/{turbopack-92401168917c21f2.js → turbopack-5b5918f610666d2d.js} +1 -1
- package/cloud-runtime/standalone/README.md +15 -3
- package/cloud-runtime/standalone/app/agents/[id]/page.tsx +147 -147
- package/cloud-runtime/standalone/app/agents/page.tsx +115 -310
- package/cloud-runtime/standalone/app/api/filesystem/browse/route.ts +39 -0
- package/cloud-runtime/standalone/app/api/status/route.ts +1 -1
- package/cloud-runtime/standalone/app/api/threads/route.ts +4 -5
- package/cloud-runtime/standalone/app/automations/page.tsx +1 -1
- package/cloud-runtime/standalone/app/execution-graph/page.tsx +86 -86
- package/cloud-runtime/standalone/app/global-error.tsx +54 -0
- package/cloud-runtime/standalone/app/globals.css +165 -59
- package/cloud-runtime/standalone/app/layout.tsx +17 -0
- package/cloud-runtime/standalone/app/projects/[slug]/layout.tsx +1 -1
- package/cloud-runtime/standalone/app/projects/[slug]/page.tsx +58 -58
- package/cloud-runtime/standalone/app/status/page.tsx +20 -20
- package/cloud-runtime/standalone/app/welcome/page.tsx +20 -15
- package/cloud-runtime/standalone/components/AutomationsBoard.tsx +1 -1
- package/cloud-runtime/standalone/components/ClientOnly.tsx +17 -0
- package/cloud-runtime/standalone/components/ConsentToggle/index.tsx +3 -3
- package/cloud-runtime/standalone/components/ContextMenu.tsx +123 -0
- package/cloud-runtime/standalone/components/DaemonBar.tsx +9 -9
- package/cloud-runtime/standalone/components/DirectoryBrowser.tsx +140 -0
- package/cloud-runtime/standalone/components/FirstRunModal/index.tsx +10 -10
- package/cloud-runtime/standalone/components/KanbanBoard.tsx +9 -9
- package/cloud-runtime/standalone/components/OfflineIndicator.tsx +149 -0
- package/cloud-runtime/standalone/components/ProjectModal.tsx +32 -8
- package/cloud-runtime/standalone/components/TaskCard.tsx +3 -3
- package/cloud-runtime/standalone/components/WorkspaceRootsList/index.tsx +57 -35
- package/cloud-runtime/standalone/components/chat-ui/AttachmentTray.tsx +7 -7
- package/cloud-runtime/standalone/components/chat-ui/ChatContainer.tsx +218 -121
- package/cloud-runtime/standalone/components/chat-ui/ChatPreview.tsx +4 -4
- package/cloud-runtime/standalone/components/chat-ui/CommandPopover.tsx +4 -4
- package/cloud-runtime/standalone/components/chat-ui/Composer.tsx +65 -29
- package/cloud-runtime/standalone/components/chat-ui/FileMentionPopover.tsx +4 -4
- package/cloud-runtime/standalone/components/chat-ui/FileMentionPopoverItem.tsx +9 -9
- package/cloud-runtime/standalone/components/chat-ui/LogPanel.tsx +5 -5
- package/cloud-runtime/standalone/components/chat-ui/Markdown.tsx +11 -11
- package/cloud-runtime/standalone/components/chat-ui/MentionPopover.tsx +11 -11
- package/cloud-runtime/standalone/components/chat-ui/MessageAttachments.tsx +5 -5
- package/cloud-runtime/standalone/components/chat-ui/MessageBubble.tsx +6 -6
- package/cloud-runtime/standalone/components/chat-ui/MessageList.tsx +60 -135
- package/cloud-runtime/standalone/components/chat-ui/ParticipantBar.tsx +507 -263
- package/cloud-runtime/standalone/components/chat-ui/ProjectPicker.tsx +17 -17
- package/cloud-runtime/standalone/components/chat-ui/ReactionChip.tsx +1 -1
- package/cloud-runtime/standalone/components/chat-ui/SearchResults.tsx +14 -14
- package/cloud-runtime/standalone/components/chat-ui/StatusIndicator.tsx +7 -7
- package/cloud-runtime/standalone/components/chat-ui/TaskDraftCard.tsx +14 -14
- package/cloud-runtime/standalone/components/chat-ui/TaskStatusCard.tsx +10 -10
- package/cloud-runtime/standalone/components/chat-ui/ThreadMentionPopover.tsx +8 -8
- package/cloud-runtime/standalone/components/chat-ui/ThreadView.tsx +36 -33
- package/cloud-runtime/standalone/components/chat-ui/TypingIndicator.tsx +7 -7
- package/cloud-runtime/standalone/components/errors/StartupGuardWrapper.tsx +96 -0
- package/cloud-runtime/standalone/components/thread/WorkspaceSidebar.tsx +173 -193
- package/cloud-runtime/standalone/fix-primary.js +30 -0
- package/cloud-runtime/standalone/fix-theme.js +78 -0
- package/cloud-runtime/standalone/hooks/useKeyboardShortcuts.ts +131 -0
- package/cloud-runtime/standalone/lib/history-store.ts +6 -1
- package/cloud-runtime/standalone/lib/storage/thread-adapter.ts +3 -3
- package/cloud-runtime/standalone/state/windowState.ts +179 -0
- package/cloud-runtime/standalone/styles/workspaceSidebar.css +89 -94
- package/cloud-runtime/standalone/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__3fe0b1a1._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__5ea3dff5._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__931817d6._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__e68a6e30._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__fad8b80a._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_181427d4._.js +0 -95
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_2da02644._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_60f7e403._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_7dbc349d._.js +0 -95
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_a17cabe8._.js +0 -95
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_d743f11d._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_e05b04a5._.js +0 -4
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_f2970e5f._.js +0 -4
- package/cloud-runtime/standalone/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_001a8448._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_ece394eb.js +0 -3
- package/cloud-runtime/standalone/.next/static/chunks/047593c886feba72.css +0 -2
- package/cloud-runtime/standalone/.next/static/chunks/0c589ec8063c3a1f.js +0 -30
- package/cloud-runtime/standalone/.next/static/chunks/1826707bd2f73ca6.js +0 -8
- package/cloud-runtime/standalone/.next/static/chunks/1f1b912fe2e3d5bd.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/32f13ace6661115d.js +0 -93
- package/cloud-runtime/standalone/.next/static/chunks/3b0a3b913dd15028.js +0 -30
- package/cloud-runtime/standalone/.next/static/chunks/4b3358c52d01a3f9.css +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/4ee6151684568990.js +0 -93
- package/cloud-runtime/standalone/.next/static/chunks/5488a71a8515e8b2.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/5aad4adabb65cd20.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/5ce01dbd17ce3bb2.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/5f5ae2ea4fa2b8f0.js +0 -12
- package/cloud-runtime/standalone/.next/static/chunks/6bb1ecbc3b80922c.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/7657d70cc0c40c81.js +0 -6
- package/cloud-runtime/standalone/.next/static/chunks/7f2513325b592f25.js +0 -18
- package/cloud-runtime/standalone/.next/static/chunks/8b658ccf17b771b9.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/b39122b85655e5b0.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/b649593a57df218f.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/b8ca4cb386211980.js +0 -5
- package/cloud-runtime/standalone/.next/static/chunks/e103488c85a7b445.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/e355ac901e70f43d.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/ebebe08434070698.js +0 -93
- /package/cloud-runtime/standalone/.next/static/{H3MuYxcqCPfZoSC2uYW8f → Rn0z3Af30mHwrHLLwgKlz}/_buildManifest.js +0 -0
- /package/cloud-runtime/standalone/.next/static/{H3MuYxcqCPfZoSC2uYW8f → Rn0z3Af30mHwrHLLwgKlz}/_clientMiddlewareManifest.json +0 -0
- /package/cloud-runtime/standalone/.next/static/{H3MuYxcqCPfZoSC2uYW8f → Rn0z3Af30mHwrHLLwgKlz}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const fs = require('fs');
|
|
2
|
+
|
|
3
|
+
const filesToFix = [
|
|
4
|
+
'components/chat-ui/ThreadMentionPopover.tsx',
|
|
5
|
+
'components/chat-ui/CommandPopover.tsx',
|
|
6
|
+
'components/chat-ui/FileMentionPopoverItem.tsx'
|
|
7
|
+
];
|
|
8
|
+
|
|
9
|
+
for (const file of filesToFix) {
|
|
10
|
+
try {
|
|
11
|
+
let content = fs.readFileSync(file, 'utf8');
|
|
12
|
+
|
|
13
|
+
content = content.replace(/\bbg-indigo-50\b/g, 'bg-[var(--primary-muted)]');
|
|
14
|
+
content = content.replace(/\bbg-indigo-100\b/g, 'bg-[var(--primary-muted)]');
|
|
15
|
+
content = content.replace(/\btext-indigo-600\b/g, 'text-[var(--primary)]');
|
|
16
|
+
content = content.replace(/\btext-indigo-900\b/g, 'text-[var(--primary)]');
|
|
17
|
+
|
|
18
|
+
content = content.replace(/\bbg-blue-50\b/g, 'bg-[var(--primary-muted)]');
|
|
19
|
+
content = content.replace(/\bbg-blue-100\b/g, 'bg-[var(--primary-muted)]');
|
|
20
|
+
content = content.replace(/\btext-blue-600\b/g, 'text-[var(--primary)]');
|
|
21
|
+
content = content.replace(/\btext-blue-900\b/g, 'text-[var(--primary)]');
|
|
22
|
+
content = content.replace(/\btext-blue-500\b/g, 'text-[var(--primary)]');
|
|
23
|
+
|
|
24
|
+
fs.writeFileSync(file, content, 'utf8');
|
|
25
|
+
} catch (err) {
|
|
26
|
+
console.error(`Error processing ${file}:`, err.message);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
console.log("Updated popover selection states.");
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
const fs = require('fs');
|
|
2
|
+
const path = require('path');
|
|
3
|
+
|
|
4
|
+
function getAllFiles(dirPath, arrayOfFiles) {
|
|
5
|
+
const files = fs.readdirSync(dirPath);
|
|
6
|
+
arrayOfFiles = arrayOfFiles || [];
|
|
7
|
+
files.forEach(function(file) {
|
|
8
|
+
if (fs.statSync(dirPath + "/" + file).isDirectory()) {
|
|
9
|
+
arrayOfFiles = getAllFiles(dirPath + "/" + file, arrayOfFiles);
|
|
10
|
+
} else {
|
|
11
|
+
if (file.endsWith('.tsx') || file.endsWith('.ts')) {
|
|
12
|
+
arrayOfFiles.push(path.join(dirPath, file));
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
return arrayOfFiles;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
let allFiles = [];
|
|
20
|
+
try { allFiles.push(...getAllFiles('app/agents')); } catch (e) {}
|
|
21
|
+
try { allFiles.push(...getAllFiles('components')); } catch (e) {}
|
|
22
|
+
|
|
23
|
+
const replacements = [
|
|
24
|
+
{ regex: /\bbg-white\/80\b/g, replace: 'bg-[var(--card-bg)]/80' },
|
|
25
|
+
{ regex: /\bbg-white\b/g, replace: 'bg-[var(--card-bg)]' },
|
|
26
|
+
{ regex: /\bbg-\[#F8FAFC\]\b/g, replace: 'bg-[var(--background)]' },
|
|
27
|
+
{ regex: /\bbg-slate-50\b/g, replace: 'bg-[var(--app-shell-subtle)]' },
|
|
28
|
+
{ regex: /\bbg-slate-100\b/g, replace: 'bg-[var(--muted)]' },
|
|
29
|
+
{ regex: /\bbg-slate-200\b/g, replace: 'bg-[var(--muted)]' },
|
|
30
|
+
{ regex: /\bbg-zinc-50\b/g, replace: 'bg-[var(--app-shell-subtle)]' },
|
|
31
|
+
{ regex: /\bbg-zinc-100\b/g, replace: 'bg-[var(--muted)]' },
|
|
32
|
+
|
|
33
|
+
{ regex: /\btext-slate-900\b/g, replace: 'text-[var(--foreground)]' },
|
|
34
|
+
{ regex: /\btext-slate-800\b/g, replace: 'text-[var(--foreground)]' },
|
|
35
|
+
{ regex: /\btext-slate-700\b/g, replace: 'text-[var(--foreground)]' },
|
|
36
|
+
{ regex: /\btext-slate-600\b/g, replace: 'text-[var(--muted-foreground)]' },
|
|
37
|
+
{ regex: /\btext-slate-500\b/g, replace: 'text-[var(--muted-foreground)]' },
|
|
38
|
+
{ regex: /\btext-slate-400\b/g, replace: 'text-[var(--muted-foreground)]' },
|
|
39
|
+
{ regex: /\btext-slate-300\b/g, replace: 'text-[var(--muted-foreground)]' },
|
|
40
|
+
|
|
41
|
+
{ regex: /\btext-zinc-900\b/g, replace: 'text-[var(--foreground)]' },
|
|
42
|
+
{ regex: /\btext-zinc-800\b/g, replace: 'text-[var(--foreground)]' },
|
|
43
|
+
{ regex: /\btext-zinc-700\b/g, replace: 'text-[var(--foreground)]' },
|
|
44
|
+
{ regex: /\btext-zinc-600\b/g, replace: 'text-[var(--muted-foreground)]' },
|
|
45
|
+
{ regex: /\btext-zinc-500\b/g, replace: 'text-[var(--muted-foreground)]' },
|
|
46
|
+
{ regex: /\btext-zinc-400\b/g, replace: 'text-[var(--muted-foreground)]' },
|
|
47
|
+
|
|
48
|
+
{ regex: /\bborder-slate-100\b/g, replace: 'border-[var(--border)]' },
|
|
49
|
+
{ regex: /\bborder-slate-200\b/g, replace: 'border-[var(--border)]' },
|
|
50
|
+
{ regex: /\bborder-slate-300\b/g, replace: 'border-[var(--border)]' },
|
|
51
|
+
{ regex: /\bborder-zinc-100\b/g, replace: 'border-[var(--border)]' },
|
|
52
|
+
{ regex: /\bborder-zinc-200\b/g, replace: 'border-[var(--border)]' },
|
|
53
|
+
|
|
54
|
+
{ regex: /\bshadow-slate-200\/50\b/g, replace: 'shadow-black/5' },
|
|
55
|
+
{ regex: /\bshadow-slate-200\b/g, replace: 'shadow-black/5' }
|
|
56
|
+
];
|
|
57
|
+
|
|
58
|
+
let changedFiles = 0;
|
|
59
|
+
|
|
60
|
+
for (const file of allFiles) {
|
|
61
|
+
try {
|
|
62
|
+
let content = fs.readFileSync(file, 'utf8');
|
|
63
|
+
let original = content;
|
|
64
|
+
|
|
65
|
+
for (const { regex, replace } of replacements) {
|
|
66
|
+
content = content.replace(regex, replace);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
if (content !== original) {
|
|
70
|
+
fs.writeFileSync(file, content, 'utf8');
|
|
71
|
+
changedFiles++;
|
|
72
|
+
}
|
|
73
|
+
} catch (err) {
|
|
74
|
+
console.error(`Error processing ${file}:`, err.message);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
console.log(`Updated ${changedFiles} files with semantic variables.`);
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { useEffect, useCallback } from "react";
|
|
4
|
+
|
|
5
|
+
export interface KeyboardShortcut {
|
|
6
|
+
key: string;
|
|
7
|
+
metaKey?: boolean;
|
|
8
|
+
ctrlKey?: boolean;
|
|
9
|
+
shiftKey?: boolean;
|
|
10
|
+
altKey?: boolean;
|
|
11
|
+
action: () => void;
|
|
12
|
+
description?: string;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Hook for registering global keyboard shortcuts.
|
|
17
|
+
* Handles platform differences (Cmd on Mac, Ctrl on Windows/Linux).
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* useKeyboardShortcuts([
|
|
21
|
+
* { key: 'n', metaKey: true, action: () => createNewThread(), description: 'New thread' },
|
|
22
|
+
* { key: 'k', metaKey: true, action: () => openSearch(), description: 'Search' },
|
|
23
|
+
* ]);
|
|
24
|
+
*/
|
|
25
|
+
export function useKeyboardShortcuts(shortcuts: KeyboardShortcut[]) {
|
|
26
|
+
const handleKeyDown = useCallback(
|
|
27
|
+
(event: KeyboardEvent) => {
|
|
28
|
+
// Don't trigger shortcuts when typing in inputs
|
|
29
|
+
const target = event.target as HTMLElement;
|
|
30
|
+
if (
|
|
31
|
+
target.tagName === "INPUT" ||
|
|
32
|
+
target.tagName === "TEXTAREA" ||
|
|
33
|
+
target.isContentEditable
|
|
34
|
+
) {
|
|
35
|
+
// Allow Escape to pass through
|
|
36
|
+
if (event.key !== "Escape") {
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
const isMac = typeof navigator !== "undefined" && /Mac/.test(navigator.platform);
|
|
42
|
+
const cmdKey = isMac ? event.metaKey : event.ctrlKey;
|
|
43
|
+
|
|
44
|
+
for (const shortcut of shortcuts) {
|
|
45
|
+
const keyMatch = event.key.toLowerCase() === shortcut.key.toLowerCase();
|
|
46
|
+
const metaMatch = shortcut.metaKey ? cmdKey : true;
|
|
47
|
+
const ctrlMatch = shortcut.ctrlKey ? event.ctrlKey : true;
|
|
48
|
+
const shiftMatch = shortcut.shiftKey ? event.shiftKey : true;
|
|
49
|
+
const altMatch = shortcut.altKey ? event.altKey : true;
|
|
50
|
+
|
|
51
|
+
// If metaKey is specified, we don't require ctrlKey (and vice versa on non-Mac)
|
|
52
|
+
const shouldMatchCtrl = shortcut.ctrlKey && !shortcut.metaKey;
|
|
53
|
+
const ctrlOk = shouldMatchCtrl ? event.ctrlKey : true;
|
|
54
|
+
|
|
55
|
+
if (keyMatch && metaMatch && ctrlOk && shiftMatch && altMatch) {
|
|
56
|
+
// For meta shortcuts, ensure we're not just pressing the key without modifier
|
|
57
|
+
if (shortcut.metaKey && !cmdKey) continue;
|
|
58
|
+
if (shortcut.ctrlKey && !event.ctrlKey) continue;
|
|
59
|
+
|
|
60
|
+
event.preventDefault();
|
|
61
|
+
shortcut.action();
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
[shortcuts]
|
|
67
|
+
);
|
|
68
|
+
|
|
69
|
+
useEffect(() => {
|
|
70
|
+
window.addEventListener("keydown", handleKeyDown);
|
|
71
|
+
return () => {
|
|
72
|
+
window.removeEventListener("keydown", handleKeyDown);
|
|
73
|
+
};
|
|
74
|
+
}, [handleKeyDown]);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Common keyboard shortcuts for the app.
|
|
79
|
+
* Use these constants for consistency across the app.
|
|
80
|
+
*/
|
|
81
|
+
export const SHORTCUTS = {
|
|
82
|
+
NEW_THREAD: { key: "n", metaKey: true, description: "New thread" },
|
|
83
|
+
SEARCH: { key: "k", metaKey: true, description: "Search" },
|
|
84
|
+
CLOSE: { key: "w", metaKey: true, description: "Close" },
|
|
85
|
+
ESCAPE: { key: "Escape", description: "Escape / Cancel" },
|
|
86
|
+
SIDEBAR_TOGGLE: { key: "b", metaKey: true, description: "Toggle sidebar" },
|
|
87
|
+
LOG_PANEL_TOGGLE: { key: "l", metaKey: true, description: "Toggle logs" },
|
|
88
|
+
REFRESH: { key: "r", metaKey: true, description: "Refresh" },
|
|
89
|
+
} as const;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Hook for using predefined shortcuts with custom actions.
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* useAppShortcuts({
|
|
96
|
+
* newThread: () => createNewThread(),
|
|
97
|
+
* search: () => openSearch(),
|
|
98
|
+
* escape: () => closeModal(),
|
|
99
|
+
* });
|
|
100
|
+
*/
|
|
101
|
+
export function useAppShortcuts(actions: {
|
|
102
|
+
newThread?: () => void;
|
|
103
|
+
search?: () => void;
|
|
104
|
+
close?: () => void;
|
|
105
|
+
escape?: () => void;
|
|
106
|
+
sidebarToggle?: () => void;
|
|
107
|
+
logPanelToggle?: () => void;
|
|
108
|
+
}) {
|
|
109
|
+
const shortcuts: KeyboardShortcut[] = [];
|
|
110
|
+
|
|
111
|
+
if (actions.newThread) {
|
|
112
|
+
shortcuts.push({ ...SHORTCUTS.NEW_THREAD, action: actions.newThread });
|
|
113
|
+
}
|
|
114
|
+
if (actions.search) {
|
|
115
|
+
shortcuts.push({ ...SHORTCUTS.SEARCH, action: actions.search });
|
|
116
|
+
}
|
|
117
|
+
if (actions.close) {
|
|
118
|
+
shortcuts.push({ ...SHORTCUTS.CLOSE, action: actions.close });
|
|
119
|
+
}
|
|
120
|
+
if (actions.escape) {
|
|
121
|
+
shortcuts.push({ ...SHORTCUTS.ESCAPE, action: actions.escape });
|
|
122
|
+
}
|
|
123
|
+
if (actions.sidebarToggle) {
|
|
124
|
+
shortcuts.push({ ...SHORTCUTS.SIDEBAR_TOGGLE, action: actions.sidebarToggle });
|
|
125
|
+
}
|
|
126
|
+
if (actions.logPanelToggle) {
|
|
127
|
+
shortcuts.push({ ...SHORTCUTS.LOG_PANEL_TOGGLE, action: actions.logPanelToggle });
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
useKeyboardShortcuts(shortcuts);
|
|
131
|
+
}
|
|
@@ -369,6 +369,11 @@ const withDatabase = async <T>(run: (db: Database.Database) => T): Promise<T> =>
|
|
|
369
369
|
migrateReactionHostPidColumn(db);
|
|
370
370
|
// Rename thread_status "parked" → "in-review"
|
|
371
371
|
db.exec("UPDATE messages SET thread_status = 'in-review' WHERE thread_status = 'parked'");
|
|
372
|
+
// Rename thread_status "thinking" → "active", "resolved" → "done"
|
|
373
|
+
db.exec("UPDATE messages SET thread_status = 'active' WHERE thread_status = 'thinking'");
|
|
374
|
+
db.exec("UPDATE messages SET thread_status = 'done' WHERE thread_status = 'resolved'");
|
|
375
|
+
// Remove "converged" status — migrate to "active"
|
|
376
|
+
db.exec("UPDATE messages SET thread_status = 'active' WHERE thread_status = 'converged'");
|
|
372
377
|
migrateAgentProcessesAddId(db);
|
|
373
378
|
initializeMessageSearch(db);
|
|
374
379
|
db.exec(`
|
|
@@ -520,7 +525,7 @@ export async function listRootMessages(options?: {
|
|
|
520
525
|
];
|
|
521
526
|
const params: unknown[] = [];
|
|
522
527
|
if (status) {
|
|
523
|
-
where.push("COALESCE(m.thread_status, '
|
|
528
|
+
where.push("COALESCE(m.thread_status, 'active') = ?");
|
|
524
529
|
params.push(status);
|
|
525
530
|
}
|
|
526
531
|
const whereClause = where.join(" AND ");
|
|
@@ -3,7 +3,7 @@ import type { GroupMessage } from "../types";
|
|
|
3
3
|
/**
|
|
4
4
|
* Lifecycle status for a conversation thread.
|
|
5
5
|
*/
|
|
6
|
-
export type ThreadStatus = "
|
|
6
|
+
export type ThreadStatus = "active" | "paused" | "in-review" | "done" | "archived";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Arbitrary metadata that can be stored alongside a thread for sorting/filtering.
|
|
@@ -26,9 +26,9 @@ export interface Thread {
|
|
|
26
26
|
updatedAt: number;
|
|
27
27
|
/** Optional metadata bucket adapters can use for sorting/filtering. */
|
|
28
28
|
metadata?: ThreadMetadata;
|
|
29
|
-
/** Lifecycle status of the thread. Defaults to "
|
|
29
|
+
/** Lifecycle status of the thread. Defaults to "active". */
|
|
30
30
|
status?: ThreadStatus;
|
|
31
|
-
/** Free-text outcome note
|
|
31
|
+
/** Free-text outcome note. */
|
|
32
32
|
outcomeNote?: string;
|
|
33
33
|
/** Optional project assignment for routing. */
|
|
34
34
|
projectId?: string | null;
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Window state persistence for native desktop feel.
|
|
3
|
+
* Persists window bounds, sidebar widths, and scroll positions across sessions.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
const WINDOW_STATE_KEY = "agx:windowState";
|
|
7
|
+
|
|
8
|
+
export interface WindowBounds {
|
|
9
|
+
x: number;
|
|
10
|
+
y: number;
|
|
11
|
+
width: number;
|
|
12
|
+
height: number;
|
|
13
|
+
isMaximized: boolean;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface SidebarState {
|
|
17
|
+
workspaceWidth: number;
|
|
18
|
+
logPanelHeight: number;
|
|
19
|
+
workspaceVisible: boolean;
|
|
20
|
+
logPanelVisible: boolean;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface ScrollState {
|
|
24
|
+
lastThreadId: string | null;
|
|
25
|
+
lastWorkspaceId: string | null;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface WindowState {
|
|
29
|
+
bounds: WindowBounds | null;
|
|
30
|
+
sidebar: SidebarState;
|
|
31
|
+
scroll: ScrollState;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
const DEFAULT_SIDEBAR: SidebarState = {
|
|
35
|
+
workspaceWidth: 260,
|
|
36
|
+
logPanelHeight: 200,
|
|
37
|
+
workspaceVisible: true,
|
|
38
|
+
logPanelVisible: false,
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
const DEFAULT_SCROLL: ScrollState = {
|
|
42
|
+
lastThreadId: null,
|
|
43
|
+
lastWorkspaceId: null,
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
const DEFAULT_WINDOW_STATE: WindowState = {
|
|
47
|
+
bounds: null,
|
|
48
|
+
sidebar: DEFAULT_SIDEBAR,
|
|
49
|
+
scroll: DEFAULT_SCROLL,
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
function isStorageAvailable(): boolean {
|
|
53
|
+
return typeof window !== "undefined" && typeof window.localStorage !== "undefined";
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
function readWindowState(): WindowState {
|
|
57
|
+
if (!isStorageAvailable()) {
|
|
58
|
+
return { ...DEFAULT_WINDOW_STATE };
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
const raw = window.localStorage.getItem(WINDOW_STATE_KEY);
|
|
62
|
+
if (!raw) {
|
|
63
|
+
return { ...DEFAULT_WINDOW_STATE };
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
try {
|
|
67
|
+
const parsed = JSON.parse(raw) as Partial<WindowState>;
|
|
68
|
+
return {
|
|
69
|
+
bounds: parsed.bounds || null,
|
|
70
|
+
sidebar: {
|
|
71
|
+
...DEFAULT_SIDEBAR,
|
|
72
|
+
...(parsed.sidebar || {}),
|
|
73
|
+
},
|
|
74
|
+
scroll: {
|
|
75
|
+
...DEFAULT_SCROLL,
|
|
76
|
+
...(parsed.scroll || {}),
|
|
77
|
+
},
|
|
78
|
+
};
|
|
79
|
+
} catch {
|
|
80
|
+
return { ...DEFAULT_WINDOW_STATE };
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
function writeWindowState(state: WindowState): void {
|
|
85
|
+
if (!isStorageAvailable()) return;
|
|
86
|
+
|
|
87
|
+
try {
|
|
88
|
+
window.localStorage.setItem(WINDOW_STATE_KEY, JSON.stringify(state));
|
|
89
|
+
} catch {
|
|
90
|
+
// ignore storage errors
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// Window bounds
|
|
95
|
+
export function loadWindowBounds(): WindowBounds | null {
|
|
96
|
+
return readWindowState().bounds;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export function persistWindowBounds(bounds: WindowBounds): void {
|
|
100
|
+
const state = readWindowState();
|
|
101
|
+
state.bounds = bounds;
|
|
102
|
+
writeWindowState(state);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// Sidebar state
|
|
106
|
+
export function loadSidebarState(): SidebarState {
|
|
107
|
+
return readWindowState().sidebar;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export function persistSidebarState(sidebar: Partial<SidebarState>): void {
|
|
111
|
+
const state = readWindowState();
|
|
112
|
+
state.sidebar = { ...state.sidebar, ...sidebar };
|
|
113
|
+
writeWindowState(state);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export function loadWorkspaceWidth(): number {
|
|
117
|
+
return loadSidebarState().workspaceWidth;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export function persistWorkspaceWidth(width: number): void {
|
|
121
|
+
persistSidebarState({ workspaceWidth: width });
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export function loadLogPanelHeight(): number {
|
|
125
|
+
return loadSidebarState().logPanelHeight;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export function persistLogPanelHeight(height: number): void {
|
|
129
|
+
persistSidebarState({ logPanelHeight: height });
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export function loadWorkspaceVisible(): boolean {
|
|
133
|
+
return loadSidebarState().workspaceVisible;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export function persistWorkspaceVisible(visible: boolean): void {
|
|
137
|
+
persistSidebarState({ workspaceVisible: visible });
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export function loadLogPanelVisible(): boolean {
|
|
141
|
+
return loadSidebarState().logPanelVisible;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
export function persistLogPanelVisible(visible: boolean): void {
|
|
145
|
+
persistSidebarState({ logPanelVisible: visible });
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
// Scroll/navigation state
|
|
149
|
+
export function loadScrollState(): ScrollState {
|
|
150
|
+
return readWindowState().scroll;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export function persistScrollState(scroll: Partial<ScrollState>): void {
|
|
154
|
+
const state = readWindowState();
|
|
155
|
+
state.scroll = { ...state.scroll, ...scroll };
|
|
156
|
+
writeWindowState(state);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export function loadLastThreadId(): string | null {
|
|
160
|
+
return loadScrollState().lastThreadId;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export function persistLastThreadId(threadId: string | null): void {
|
|
164
|
+
persistScrollState({ lastThreadId: threadId });
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export function loadLastWorkspaceId(): string | null {
|
|
168
|
+
return loadScrollState().lastWorkspaceId;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export function persistLastWorkspaceId(workspaceId: string | null): void {
|
|
172
|
+
persistScrollState({ lastWorkspaceId: workspaceId });
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
// Clear all window state (for logout/reset)
|
|
176
|
+
export function clearWindowState(): void {
|
|
177
|
+
if (!isStorageAvailable()) return;
|
|
178
|
+
window.localStorage.removeItem(WINDOW_STATE_KEY);
|
|
179
|
+
}
|