@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
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
FolderGit2,
|
|
11
11
|
PanelLeftClose,
|
|
12
12
|
Pencil,
|
|
13
|
+
LayoutDashboard,
|
|
13
14
|
Plus,
|
|
14
15
|
Search,
|
|
15
16
|
Trash2,
|
|
16
|
-
LayoutDashboard,
|
|
17
17
|
X,
|
|
18
18
|
} from "lucide-react";
|
|
19
19
|
import Link from "next/link";
|
|
@@ -294,27 +294,11 @@ export function WorkspaceSidebar({
|
|
|
294
294
|
<button
|
|
295
295
|
type="button"
|
|
296
296
|
onClick={onToggle}
|
|
297
|
-
className="workspace-sidebar__brand-icon
|
|
297
|
+
className="workspace-sidebar__brand-icon border-none outline-none cursor-pointer"
|
|
298
298
|
aria-label="Show threads"
|
|
299
299
|
title="Show threads"
|
|
300
300
|
>
|
|
301
|
-
<
|
|
302
|
-
width="52"
|
|
303
|
-
height="31"
|
|
304
|
-
viewBox="0 0 64 38"
|
|
305
|
-
fill="none"
|
|
306
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
307
|
-
className="transition-transform hover:scale-105"
|
|
308
|
-
>
|
|
309
|
-
<rect width="64" height="38" rx="8" fill="black" />
|
|
310
|
-
<g stroke="white" strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round">
|
|
311
|
-
<path d="M 14 27 C 17 16 19 10 20 8 C 21 12 23 20 25 27" />
|
|
312
|
-
<path d="M 16 20 C 19 19 21 21 23 20" />
|
|
313
|
-
<path d="M 40 13 C 35 10 30 13 30 19 C 30 25 34 28 38 27 C 40 26 40 22 40 20 L 36 20" />
|
|
314
|
-
<path d="M 46 11 C 48 16 51 22 54 27" />
|
|
315
|
-
<path d="M 54 11 C 52 16 49 22 46 27" />
|
|
316
|
-
</g>
|
|
317
|
-
</svg>
|
|
301
|
+
<span className="text-[10px]">AGX</span>
|
|
318
302
|
</button>
|
|
319
303
|
</div>
|
|
320
304
|
<div className="mt-auto p-2">
|
|
@@ -345,23 +329,11 @@ export function WorkspaceSidebar({
|
|
|
345
329
|
aria-busy={isLoading ? "true" : undefined}
|
|
346
330
|
>
|
|
347
331
|
<div className="workspace-sidebar__brand">
|
|
348
|
-
<div className="flex items-center
|
|
349
|
-
<
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
fill="none"
|
|
354
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
355
|
-
>
|
|
356
|
-
<rect width="64" height="38" rx="8" fill="black" />
|
|
357
|
-
<g stroke="white" strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round">
|
|
358
|
-
<path d="M 14 27 C 17 16 19 10 20 8 C 21 12 23 20 25 27" />
|
|
359
|
-
<path d="M 16 20 C 19 19 21 21 23 20" />
|
|
360
|
-
<path d="M 40 13 C 35 10 30 13 30 19 C 30 25 34 28 38 27 C 40 26 40 22 40 20 L 36 20" />
|
|
361
|
-
<path d="M 46 11 C 48 16 51 22 54 27" />
|
|
362
|
-
<path d="M 54 11 C 52 16 49 22 46 27" />
|
|
363
|
-
</g>
|
|
364
|
-
</svg>
|
|
332
|
+
<div className="flex items-center gap-2 px-1">
|
|
333
|
+
<div className="workspace-sidebar__brand-icon" aria-hidden="true">
|
|
334
|
+
<span className="text-[10px]">AGX</span>
|
|
335
|
+
</div>
|
|
336
|
+
<span className="workspace-sidebar__brand-title">Workspace</span>
|
|
365
337
|
</div>
|
|
366
338
|
{onToggle && (
|
|
367
339
|
<button
|
|
@@ -369,7 +341,7 @@ export function WorkspaceSidebar({
|
|
|
369
341
|
onClick={onToggle}
|
|
370
342
|
aria-label="Hide threads"
|
|
371
343
|
title="Hide threads"
|
|
372
|
-
className="ml-auto inline-flex h-7 w-7 items-center justify-center rounded-md text-
|
|
344
|
+
className="ml-auto inline-flex h-7 w-7 items-center justify-center rounded-md text-[var(--app-shell-soft-text)] transition-all hover:bg-[var(--app-shell-subtle)] hover:text-[var(--foreground)]"
|
|
373
345
|
>
|
|
374
346
|
<PanelLeftClose className="h-4 w-4" strokeWidth={1.75} />
|
|
375
347
|
</button>
|
|
@@ -382,32 +354,32 @@ export function WorkspaceSidebar({
|
|
|
382
354
|
<button
|
|
383
355
|
type="button"
|
|
384
356
|
onClick={onSearch}
|
|
385
|
-
className="flex
|
|
357
|
+
className="flex h-8 w-full items-center gap-2 rounded-lg border border-[var(--app-shell-border)] bg-[var(--app-shell-elevated)] px-2.5 text-xs text-[var(--app-shell-soft-text)] transition-all hover:border-[var(--app-shell-border-strong)] hover:text-[var(--app-shell-muted)]"
|
|
386
358
|
>
|
|
387
359
|
<Search className="h-3.5 w-3.5 shrink-0" strokeWidth={1.75} />
|
|
388
360
|
<span>Search...</span>
|
|
389
|
-
<kbd className="ml-auto
|
|
361
|
+
<kbd className="ml-auto rounded border border-[var(--app-shell-border)] bg-[var(--app-shell-subtle)] px-1 py-0.5 font-sans text-[10px] font-medium text-[var(--app-shell-soft-text)]">⌘K</kbd>
|
|
390
362
|
</button>
|
|
391
363
|
</div>
|
|
392
364
|
)}
|
|
393
365
|
|
|
394
|
-
<nav className="workspace-sidebar__section" style={{ gap: 0
|
|
366
|
+
<nav className="workspace-sidebar__section" style={{ gap: 0 }}>
|
|
395
367
|
<Link
|
|
396
368
|
href="/agents"
|
|
397
|
-
className="workspace-
|
|
369
|
+
className="workspace-sidebar__nav-item"
|
|
398
370
|
>
|
|
399
|
-
<Bot size={
|
|
371
|
+
<Bot size={14} className="flex-shrink-0" />
|
|
400
372
|
Manage Agents
|
|
401
373
|
</Link>
|
|
402
374
|
</nav>
|
|
403
375
|
|
|
404
376
|
<nav className="workspace-sidebar__section">
|
|
405
|
-
<div className="workspace-sidebar__section-header">
|
|
377
|
+
<div className="workspace-sidebar__section-header group/projects-header">
|
|
406
378
|
<p className="workspace-sidebar__section-label">Projects</p>
|
|
407
379
|
<div className="workspace-sidebar__header-actions">
|
|
408
380
|
<button
|
|
409
381
|
type="button"
|
|
410
|
-
className="workspace-sidebar__action"
|
|
382
|
+
className="workspace-sidebar__action opacity-0 transition-opacity group-hover/projects-header:opacity-100"
|
|
411
383
|
onClick={() => handleCreateProject()}
|
|
412
384
|
aria-label="Create project"
|
|
413
385
|
title="Create project"
|
|
@@ -432,11 +404,11 @@ export function WorkspaceSidebar({
|
|
|
432
404
|
}}
|
|
433
405
|
>
|
|
434
406
|
{projectIsExpanded ? (
|
|
435
|
-
<ChevronDown size={14} className="flex-shrink-0 text-
|
|
407
|
+
<ChevronDown size={14} className="flex-shrink-0 text-[var(--muted-foreground)]" onClick={(e) => { e.stopPropagation(); toggleProjectExpanded(project.id); }} />
|
|
436
408
|
) : (
|
|
437
|
-
<ChevronRight size={14} className="flex-shrink-0 text-
|
|
409
|
+
<ChevronRight size={14} className="flex-shrink-0 text-[var(--muted-foreground)]" onClick={(e) => { e.stopPropagation(); toggleProjectExpanded(project.id); }} />
|
|
438
410
|
)}
|
|
439
|
-
<Folder size={12} className="flex-shrink-0 text-
|
|
411
|
+
<Folder size={12} className="flex-shrink-0 text-[var(--muted-foreground)]" />
|
|
440
412
|
<span className="workspace-sidebar__workspace-title">{project.name}</span>
|
|
441
413
|
</button>
|
|
442
414
|
<div className="workspace-sidebar__workspace-actions">
|
|
@@ -461,7 +433,7 @@ export function WorkspaceSidebar({
|
|
|
461
433
|
</div>
|
|
462
434
|
</div>
|
|
463
435
|
{projectIsExpanded && (
|
|
464
|
-
<div className="
|
|
436
|
+
<div className="ml-4 my-1 flex flex-col gap-0.5 border-l border-[var(--app-shell-border)] pl-3">
|
|
465
437
|
<div className="workspace-sidebar__workspace-item">
|
|
466
438
|
{projectThreads[0] ? (
|
|
467
439
|
<button
|
|
@@ -470,7 +442,7 @@ export function WorkspaceSidebar({
|
|
|
470
442
|
onClick={() => onSelectThread(projectThreads[0].id)}
|
|
471
443
|
aria-current={projectThreads[0].id === activeThreadId ? "page" : undefined}
|
|
472
444
|
>
|
|
473
|
-
<Hash size={12} className="flex-shrink-0 text-
|
|
445
|
+
<Hash size={12} className="flex-shrink-0 text-[var(--muted-foreground)]" />
|
|
474
446
|
<span className="workspace-sidebar__workspace-title text-xs">Thread</span>
|
|
475
447
|
</button>
|
|
476
448
|
) : (
|
|
@@ -479,7 +451,7 @@ export function WorkspaceSidebar({
|
|
|
479
451
|
className="workspace-sidebar__nav-item"
|
|
480
452
|
onClick={handleCreateClick}
|
|
481
453
|
>
|
|
482
|
-
<Hash size={12} className="flex-shrink-0 text-
|
|
454
|
+
<Hash size={12} className="flex-shrink-0 text-[var(--muted-foreground)]" />
|
|
483
455
|
<span className="workspace-sidebar__workspace-title text-xs">Thread</span>
|
|
484
456
|
</button>
|
|
485
457
|
)}
|
|
@@ -489,44 +461,41 @@ export function WorkspaceSidebar({
|
|
|
489
461
|
href={`/projects/${project.slug}`}
|
|
490
462
|
className="workspace-sidebar__nav-item"
|
|
491
463
|
>
|
|
492
|
-
<LayoutDashboard size={12} className="flex-shrink-0 text-
|
|
464
|
+
<LayoutDashboard size={12} className="flex-shrink-0 text-[var(--muted-foreground)]" />
|
|
493
465
|
<span className="workspace-sidebar__workspace-title text-xs">Board</span>
|
|
494
466
|
</Link>
|
|
495
467
|
</div>
|
|
496
468
|
<div className="pt-1">
|
|
497
|
-
<div className="flex items-center justify-between px-
|
|
498
|
-
<p className="text-[10px] font-medium text-
|
|
499
|
-
<
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
<Plus size={12} />
|
|
521
|
-
</button>
|
|
522
|
-
</div>
|
|
469
|
+
<div className="group/repos-header flex items-center justify-between px-3 py-1">
|
|
470
|
+
<p className="text-[10px] font-medium text-[var(--muted-foreground)] uppercase tracking-wide">Repos</p>
|
|
471
|
+
<button
|
|
472
|
+
type="button"
|
|
473
|
+
className="workspace-sidebar__action opacity-0 transition-opacity group-hover/repos-header:opacity-100 text-[var(--muted-foreground)] hover:text-white"
|
|
474
|
+
onClick={() => setRepoDetail({
|
|
475
|
+
projectId: project.id,
|
|
476
|
+
projectName: project.name,
|
|
477
|
+
repoId: null,
|
|
478
|
+
name: "",
|
|
479
|
+
path: "",
|
|
480
|
+
gitUrl: "",
|
|
481
|
+
notes: "",
|
|
482
|
+
generatedKnowledge: [],
|
|
483
|
+
isLoadingKnowledge: false,
|
|
484
|
+
isSaving: false,
|
|
485
|
+
error: null,
|
|
486
|
+
})}
|
|
487
|
+
aria-label="Add repo"
|
|
488
|
+
title="Add repo"
|
|
489
|
+
>
|
|
490
|
+
<Plus size={12} />
|
|
491
|
+
</button>
|
|
523
492
|
</div>
|
|
524
493
|
{project.repos.length > 0 ? (
|
|
525
494
|
project.repos.map((repo) => (
|
|
526
495
|
<div key={`${project.id}:${repo.name}:${repo.path ?? ""}`} className="workspace-sidebar__workspace-item group/repo flex items-center">
|
|
527
496
|
<button
|
|
528
497
|
type="button"
|
|
529
|
-
className="workspace-sidebar__nav-item
|
|
498
|
+
className="workspace-sidebar__nav-item min-w-0 flex-1 text-left"
|
|
530
499
|
onClick={() => setRepoDetail({
|
|
531
500
|
projectId: project.id,
|
|
532
501
|
projectName: project.name,
|
|
@@ -541,14 +510,14 @@ export function WorkspaceSidebar({
|
|
|
541
510
|
error: null,
|
|
542
511
|
})}
|
|
543
512
|
>
|
|
544
|
-
<FolderGit2 size={12} className="flex-shrink-0 text-
|
|
513
|
+
<FolderGit2 size={12} className="flex-shrink-0 text-[var(--muted-foreground)] ml-2" />
|
|
545
514
|
<span className="workspace-sidebar__workspace-title text-xs truncate">
|
|
546
515
|
{repo.name}
|
|
547
516
|
</span>
|
|
548
517
|
</button>
|
|
549
518
|
<button
|
|
550
519
|
type="button"
|
|
551
|
-
className="workspace-sidebar__action opacity-0 group-hover/repo:opacity-100 transition-opacity flex-shrink-0 text-
|
|
520
|
+
className="workspace-sidebar__action opacity-0 group-hover/repo:opacity-100 transition-opacity flex-shrink-0 text-[var(--muted-foreground)] hover:text-red-400"
|
|
552
521
|
onClick={async (e) => {
|
|
553
522
|
e.stopPropagation();
|
|
554
523
|
const nextRepos = project.repos
|
|
@@ -570,80 +539,91 @@ export function WorkspaceSidebar({
|
|
|
570
539
|
</div>
|
|
571
540
|
))
|
|
572
541
|
) : (
|
|
573
|
-
<p className="
|
|
542
|
+
<p className="px-3 py-1 text-[11px] text-[var(--muted-foreground)]">No repos</p>
|
|
574
543
|
)}
|
|
575
544
|
</div>
|
|
576
545
|
<div className="pt-1">
|
|
577
|
-
<div className="flex items-center justify-between px-
|
|
578
|
-
<p className="text-[10px] font-medium text-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
546
|
+
<div className="group/agents-header flex items-center justify-between px-3 py-1">
|
|
547
|
+
<p className="text-[10px] font-medium text-[var(--muted-foreground)] uppercase tracking-wide">Agents</p>
|
|
548
|
+
{project.agents.length > 0 && (
|
|
549
|
+
<button
|
|
550
|
+
type="button"
|
|
551
|
+
className="workspace-sidebar__action opacity-0 transition-opacity group-hover/agents-header:opacity-100 text-[var(--muted-foreground)] hover:text-white"
|
|
552
|
+
onClick={() => handleAddAgentToProject(project.id)}
|
|
553
|
+
aria-label="Add agents"
|
|
554
|
+
title="Add agents"
|
|
555
|
+
>
|
|
556
|
+
<Plus size={12} />
|
|
557
|
+
</button>
|
|
558
|
+
)}
|
|
588
559
|
</div>
|
|
589
560
|
{project.agents.length > 0 ? (
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
e
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
e
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
}}
|
|
608
|
-
onDragEnd={() => {
|
|
609
|
-
if (dragState && dragState.projectId === project.id && onReorderProjectAgents) {
|
|
610
|
-
const currentIds = project.agents.map((a) => a.agent_id);
|
|
611
|
-
const fromIndex = currentIds.indexOf(dragState.agentId);
|
|
612
|
-
const toIndex = dragState.overIndex;
|
|
613
|
-
if (fromIndex !== -1 && fromIndex !== toIndex) {
|
|
614
|
-
const reordered = [...currentIds];
|
|
615
|
-
const [moved] = reordered.splice(fromIndex, 1);
|
|
616
|
-
reordered.splice(toIndex, 0, moved);
|
|
617
|
-
void onReorderProjectAgents(project.id, reordered);
|
|
561
|
+
<>
|
|
562
|
+
{project.agents.map((projectAgent, agentIndex) => {
|
|
563
|
+
const agent = participants.find((participant) => participant.id === projectAgent.agent_id);
|
|
564
|
+
const isDragging = dragState?.projectId === project.id && dragState?.agentId === projectAgent.agent_id;
|
|
565
|
+
const isDragOver = dragState?.projectId === project.id && dragState?.overIndex === agentIndex && !isDragging;
|
|
566
|
+
return (
|
|
567
|
+
<div
|
|
568
|
+
key={projectAgent.agent_id}
|
|
569
|
+
draggable
|
|
570
|
+
onDragStart={(e) => {
|
|
571
|
+
e.dataTransfer.effectAllowed = "move";
|
|
572
|
+
setDragState({ projectId: project.id, agentId: projectAgent.agent_id, overIndex: agentIndex });
|
|
573
|
+
}}
|
|
574
|
+
onDragOver={(e) => {
|
|
575
|
+
e.preventDefault();
|
|
576
|
+
if (dragState && dragState.projectId === project.id) {
|
|
577
|
+
setDragState((prev) => prev ? { ...prev, overIndex: agentIndex } : null);
|
|
618
578
|
}
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
579
|
+
}}
|
|
580
|
+
onDragEnd={() => {
|
|
581
|
+
if (dragState && dragState.projectId === project.id && onReorderProjectAgents) {
|
|
582
|
+
const currentIds = project.agents.map((a) => a.agent_id);
|
|
583
|
+
const fromIndex = currentIds.indexOf(dragState.agentId);
|
|
584
|
+
const toIndex = dragState.overIndex;
|
|
585
|
+
if (fromIndex !== -1 && fromIndex !== toIndex) {
|
|
586
|
+
const reordered = [...currentIds];
|
|
587
|
+
const [moved] = reordered.splice(fromIndex, 1);
|
|
588
|
+
reordered.splice(toIndex, 0, moved);
|
|
589
|
+
void onReorderProjectAgents(project.id, reordered);
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
setDragState(null);
|
|
593
|
+
}}
|
|
594
|
+
className={`group/agent flex items-center ${isDragOver ? "border-t-2 border-[var(--border)]" : "border-t-2 border-transparent"} ${isDragging ? "opacity-40" : ""}`}
|
|
628
595
|
>
|
|
629
|
-
<
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
596
|
+
<button
|
|
597
|
+
type="button"
|
|
598
|
+
className="workspace-sidebar__nav-item flex-1 min-w-0 !py-1"
|
|
599
|
+
onClick={() => setAgentDetailId(projectAgent.agent_id)}
|
|
600
|
+
>
|
|
601
|
+
<span className={`cursor-grab text-[var(--muted-foreground)] hover:text-[var(--muted-foreground)] flex-shrink-0 mr-0.5 transition-opacity ${agentIndex === 0 ? "opacity-100" : "opacity-0 group-hover/agent:opacity-100"}`} title="Drag to reorder">⠿</span>
|
|
602
|
+
<img
|
|
603
|
+
src={agentAvatarUrl(projectAgent.agent_id, 16, agent?.color)}
|
|
604
|
+
alt=""
|
|
605
|
+
className="w-4 h-4 rounded-full flex-shrink-0"
|
|
606
|
+
/>
|
|
607
|
+
<span className="workspace-sidebar__workspace-title text-xs truncate">
|
|
608
|
+
{agent?.name ?? projectAgent.agent_id}
|
|
609
|
+
</span>
|
|
610
|
+
{agentIndex === 0 && (
|
|
611
|
+
<span className="ml-auto text-[9px] text-[var(--muted-foreground)] font-medium flex-shrink-0" title="Default responder (top agent responds first)">DEFAULT</span>
|
|
612
|
+
)}
|
|
613
|
+
</button>
|
|
614
|
+
</div>
|
|
615
|
+
);
|
|
616
|
+
})}
|
|
617
|
+
</>
|
|
645
618
|
) : (
|
|
646
|
-
<
|
|
619
|
+
<button
|
|
620
|
+
type="button"
|
|
621
|
+
className="inline-flex items-center gap-1 px-3 py-1 text-[11px] font-medium text-[var(--muted-foreground)] transition-colors hover:text-[var(--foreground)]"
|
|
622
|
+
onClick={() => handleAddAgentToProject(project.id)}
|
|
623
|
+
>
|
|
624
|
+
<Plus size={10} />
|
|
625
|
+
<span>Add agents</span>
|
|
626
|
+
</button>
|
|
647
627
|
)}
|
|
648
628
|
</div>
|
|
649
629
|
</div>
|
|
@@ -653,7 +633,7 @@ export function WorkspaceSidebar({
|
|
|
653
633
|
})}
|
|
654
634
|
{unassignedThreads.length > 0 && (
|
|
655
635
|
<div className="pt-3">
|
|
656
|
-
<p className="px-1 py-1 text-[10px] font-medium text-
|
|
636
|
+
<p className="px-1 py-1 text-[10px] font-medium text-[var(--muted-foreground)] uppercase tracking-wide">Unassigned Threads</p>
|
|
657
637
|
{unassignedThreads.map((thread) => {
|
|
658
638
|
const isActive = thread.id === activeThreadId;
|
|
659
639
|
const title = thread.title?.trim() || "Untitled thread";
|
|
@@ -665,7 +645,7 @@ export function WorkspaceSidebar({
|
|
|
665
645
|
onClick={() => onSelectThread(thread.id)}
|
|
666
646
|
aria-current={isActive ? "page" : undefined}
|
|
667
647
|
>
|
|
668
|
-
<Hash size={12} className="flex-shrink-0 text-
|
|
648
|
+
<Hash size={12} className="flex-shrink-0 text-[var(--muted-foreground)]" />
|
|
669
649
|
<span className="workspace-sidebar__workspace-title">{title}</span>
|
|
670
650
|
</button>
|
|
671
651
|
</div>
|
|
@@ -704,21 +684,21 @@ export function WorkspaceSidebar({
|
|
|
704
684
|
}}
|
|
705
685
|
>
|
|
706
686
|
<div
|
|
707
|
-
className="w-full max-w-lg rounded-2xl border border-
|
|
687
|
+
className="w-full max-w-lg rounded-2xl border border-[var(--border)] bg-[var(--card-bg)] shadow-2xl"
|
|
708
688
|
onClick={(e) => e.stopPropagation()}
|
|
709
689
|
>
|
|
710
|
-
<div className="flex items-start justify-between gap-4 border-b border-
|
|
690
|
+
<div className="flex items-start justify-between gap-4 border-b border-[var(--border)] px-5 py-4">
|
|
711
691
|
<div className="min-w-0">
|
|
712
|
-
<p className="text-[11px] font-semibold uppercase tracking-[0.18em] text-
|
|
692
|
+
<p className="text-[11px] font-semibold uppercase tracking-[0.18em] text-[var(--muted-foreground)]">
|
|
713
693
|
{repoDetail.projectName}
|
|
714
694
|
</p>
|
|
715
|
-
<h3 className="truncate text-base font-semibold text-
|
|
695
|
+
<h3 className="truncate text-base font-semibold text-[var(--foreground)]">
|
|
716
696
|
{repoDetail.repoId ? (repoDetail.name || "Repository") : "Add Repository"}
|
|
717
697
|
</h3>
|
|
718
698
|
</div>
|
|
719
699
|
<button
|
|
720
700
|
type="button"
|
|
721
|
-
className="rounded-md p-1 text-
|
|
701
|
+
className="rounded-md p-1 text-[var(--muted-foreground)] transition-colors hover:bg-[var(--muted)] hover:text-[var(--muted-foreground)]"
|
|
722
702
|
onClick={() => {
|
|
723
703
|
if (!repoDetail.isSaving) setRepoDetail(null);
|
|
724
704
|
}}
|
|
@@ -730,61 +710,61 @@ export function WorkspaceSidebar({
|
|
|
730
710
|
</div>
|
|
731
711
|
<div className="space-y-4 px-5 py-4">
|
|
732
712
|
<div>
|
|
733
|
-
<p className="mb-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-
|
|
713
|
+
<p className="mb-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-[var(--muted-foreground)]">Name</p>
|
|
734
714
|
<input
|
|
735
715
|
value={repoDetail.name}
|
|
736
716
|
onChange={(e) => setRepoDetail((current) => current ? { ...current, name: e.target.value, error: null } : current)}
|
|
737
|
-
className="w-full rounded-lg border border-
|
|
717
|
+
className="w-full rounded-lg border border-[var(--border)] bg-[var(--app-shell-subtle)] px-3 py-2 text-sm text-[var(--foreground)]"
|
|
738
718
|
disabled={repoDetail.isSaving}
|
|
739
719
|
/>
|
|
740
720
|
</div>
|
|
741
721
|
<div>
|
|
742
|
-
<p className="mb-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-
|
|
722
|
+
<p className="mb-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-[var(--muted-foreground)]">Path</p>
|
|
743
723
|
<input
|
|
744
724
|
value={repoDetail.path}
|
|
745
725
|
onChange={(e) => setRepoDetail((current) => current ? { ...current, path: e.target.value, error: null } : current)}
|
|
746
|
-
className="w-full rounded-lg border border-
|
|
726
|
+
className="w-full rounded-lg border border-[var(--border)] bg-[var(--app-shell-subtle)] px-3 py-2 font-mono text-xs text-[var(--foreground)]"
|
|
747
727
|
disabled={repoDetail.isSaving}
|
|
748
728
|
/>
|
|
749
729
|
</div>
|
|
750
730
|
<div>
|
|
751
|
-
<p className="mb-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-
|
|
731
|
+
<p className="mb-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-[var(--muted-foreground)]">Repo Notes</p>
|
|
752
732
|
<textarea
|
|
753
733
|
value={repoDetail.notes}
|
|
754
734
|
onChange={(e) => setRepoDetail((current) => current ? { ...current, notes: e.target.value, error: null } : current)}
|
|
755
|
-
className="min-h-28 w-full rounded-lg border border-
|
|
735
|
+
className="min-h-28 w-full rounded-lg border border-[var(--border)] bg-[var(--app-shell-subtle)] px-3 py-3 text-sm text-[var(--foreground)] whitespace-pre-wrap"
|
|
756
736
|
disabled={repoDetail.isSaving}
|
|
757
737
|
placeholder="Repo-specific rules, notes, conventions, deployment constraints..."
|
|
758
738
|
/>
|
|
759
739
|
</div>
|
|
760
740
|
{repoDetail.repoId ? (
|
|
761
741
|
<div>
|
|
762
|
-
<p className="mb-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-
|
|
742
|
+
<p className="mb-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-[var(--muted-foreground)]">System-Generated Repo Knowledge</p>
|
|
763
743
|
{repoDetail.isLoadingKnowledge ? (
|
|
764
|
-
<p className="text-sm text-
|
|
744
|
+
<p className="text-sm text-[var(--muted-foreground)]">Loading generated knowledge…</p>
|
|
765
745
|
) : repoDetail.generatedKnowledge.length > 0 ? (
|
|
766
746
|
<div className="space-y-2">
|
|
767
747
|
{repoDetail.generatedKnowledge.slice(0, 5).map((item) => (
|
|
768
|
-
<div key={item.id} className="rounded-lg border border-
|
|
748
|
+
<div key={item.id} className="rounded-lg border border-[var(--border)] bg-[var(--app-shell-subtle)] px-3 py-2 text-sm text-[var(--foreground)]">
|
|
769
749
|
<div>{item.content}</div>
|
|
770
750
|
{item.created_at ? (
|
|
771
|
-
<div className="mt-1 text-[11px] text-
|
|
751
|
+
<div className="mt-1 text-[11px] text-[var(--muted-foreground)]">{new Date(item.created_at).toLocaleString()}</div>
|
|
772
752
|
) : null}
|
|
773
753
|
</div>
|
|
774
754
|
))}
|
|
775
755
|
</div>
|
|
776
756
|
) : (
|
|
777
|
-
<p className="text-sm text-
|
|
757
|
+
<p className="text-sm text-[var(--muted-foreground)]">No generated repo knowledge yet.</p>
|
|
778
758
|
)}
|
|
779
759
|
</div>
|
|
780
760
|
) : null}
|
|
781
761
|
{repoDetail.error ? (
|
|
782
762
|
<p className="text-xs text-red-600">{repoDetail.error}</p>
|
|
783
763
|
) : null}
|
|
784
|
-
<div className="flex justify-end gap-2 border-t border-
|
|
764
|
+
<div className="flex justify-end gap-2 border-t border-[var(--border)] pt-4">
|
|
785
765
|
<button
|
|
786
766
|
type="button"
|
|
787
|
-
className="rounded-lg px-3 py-2 text-sm text-
|
|
767
|
+
className="rounded-lg px-3 py-2 text-sm text-[var(--muted-foreground)] transition-colors hover:bg-[var(--muted)]"
|
|
788
768
|
onClick={() => setRepoDetail(null)}
|
|
789
769
|
disabled={repoDetail.isSaving}
|
|
790
770
|
>
|
|
@@ -792,7 +772,7 @@ export function WorkspaceSidebar({
|
|
|
792
772
|
</button>
|
|
793
773
|
<button
|
|
794
774
|
type="button"
|
|
795
|
-
className="rounded-lg bg-
|
|
775
|
+
className="rounded-lg bg-[var(--foreground)] px-3 py-2 text-sm font-medium text-[var(--card-bg)] transition-colors hover:bg-[var(--foreground)] disabled:cursor-not-allowed disabled:opacity-60"
|
|
796
776
|
disabled={repoDetail.isSaving || !onUpdateProject}
|
|
797
777
|
onClick={async () => {
|
|
798
778
|
const project = projectsProp.find((item) => item.id === repoDetail.projectId);
|
|
@@ -874,16 +854,16 @@ export function WorkspaceSidebar({
|
|
|
874
854
|
onClick={() => setAddAgentModal(null)}
|
|
875
855
|
>
|
|
876
856
|
<div
|
|
877
|
-
className="bg-
|
|
857
|
+
className="bg-[var(--card-bg)] rounded-xl shadow-xl border border-[var(--border)] w-80 max-h-[70vh] flex flex-col"
|
|
878
858
|
onClick={(e) => e.stopPropagation()}
|
|
879
859
|
>
|
|
880
|
-
<div className="flex items-center justify-between px-4 py-3 border-b border-
|
|
881
|
-
<h3 className="text-sm font-medium text-
|
|
860
|
+
<div className="flex items-center justify-between px-4 py-3 border-b border-[var(--border)]">
|
|
861
|
+
<h3 className="text-sm font-medium text-[var(--foreground)]">
|
|
882
862
|
Add to {addAgentModalProject?.name ?? "project"}
|
|
883
863
|
</h3>
|
|
884
864
|
<button
|
|
885
865
|
type="button"
|
|
886
|
-
className="text-
|
|
866
|
+
className="text-[var(--muted-foreground)] hover:text-[var(--muted-foreground)]"
|
|
887
867
|
onClick={() => setAddAgentModal(null)}
|
|
888
868
|
>
|
|
889
869
|
<X size={16} />
|
|
@@ -892,14 +872,14 @@ export function WorkspaceSidebar({
|
|
|
892
872
|
<div className="overflow-y-auto py-1 flex-1">
|
|
893
873
|
<button
|
|
894
874
|
type="button"
|
|
895
|
-
className="w-full flex items-center gap-3 px-4 py-2.5 text-sm text-
|
|
875
|
+
className="w-full flex items-center gap-3 px-4 py-2.5 text-sm text-[var(--foreground)] hover:bg-[var(--app-shell-subtle)] transition-colors border-b border-[var(--border)]"
|
|
896
876
|
onClick={() => setCreatingNewAgent(true)}
|
|
897
877
|
>
|
|
898
|
-
<Plus size={14} className="text-
|
|
878
|
+
<Plus size={14} className="text-[var(--muted-foreground)]" />
|
|
899
879
|
<span className="text-xs font-medium">Create new agent</span>
|
|
900
880
|
</button>
|
|
901
881
|
{addAgentModalAvailable.length === 0 ? (
|
|
902
|
-
<p className="px-4 py-6 text-xs text-
|
|
882
|
+
<p className="px-4 py-6 text-xs text-[var(--muted-foreground)] text-center">
|
|
903
883
|
All agents are already in this project
|
|
904
884
|
</p>
|
|
905
885
|
) : (
|
|
@@ -909,7 +889,7 @@ export function WorkspaceSidebar({
|
|
|
909
889
|
<button
|
|
910
890
|
key={p.id}
|
|
911
891
|
type="button"
|
|
912
|
-
className={`w-full flex items-center gap-3 px-4 py-2.5 text-sm transition-colors ${selected ? "bg-
|
|
892
|
+
className={`w-full flex items-center gap-3 px-4 py-2.5 text-sm transition-colors ${selected ? "bg-[var(--muted)] text-[var(--foreground)]" : "text-[var(--foreground)] hover:bg-[var(--app-shell-subtle)]"}`}
|
|
913
893
|
onClick={() => {
|
|
914
894
|
setAddAgentSelection((prev) => {
|
|
915
895
|
const next = new Set(prev);
|
|
@@ -919,7 +899,7 @@ export function WorkspaceSidebar({
|
|
|
919
899
|
});
|
|
920
900
|
}}
|
|
921
901
|
>
|
|
922
|
-
<div className={`w-4 h-4 rounded border flex-shrink-0 flex items-center justify-center ${selected ? "bg-
|
|
902
|
+
<div className={`w-4 h-4 rounded border flex-shrink-0 flex items-center justify-center ${selected ? "bg-[var(--foreground)] border-[var(--foreground)]" : "border-[var(--border)]"}`}>
|
|
923
903
|
{selected && (
|
|
924
904
|
<svg width="10" height="10" viewBox="0 0 10 10" fill="none"><path d="M2 5l2 2 4-4" stroke="white" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round"/></svg>
|
|
925
905
|
)}
|
|
@@ -931,7 +911,7 @@ export function WorkspaceSidebar({
|
|
|
931
911
|
/>
|
|
932
912
|
<div className="min-w-0 flex-1 text-left">
|
|
933
913
|
<div className="truncate font-medium text-xs">{p.name}</div>
|
|
934
|
-
<div className="truncate text-[11px] text-
|
|
914
|
+
<div className="truncate text-[11px] text-[var(--muted-foreground)]">{p.model}</div>
|
|
935
915
|
</div>
|
|
936
916
|
</button>
|
|
937
917
|
);
|
|
@@ -939,10 +919,10 @@ export function WorkspaceSidebar({
|
|
|
939
919
|
)}
|
|
940
920
|
</div>
|
|
941
921
|
{addAgentModalAvailable.length > 0 && (
|
|
942
|
-
<div className="px-4 py-3 border-t border-
|
|
922
|
+
<div className="px-4 py-3 border-t border-[var(--border)] flex justify-end gap-2">
|
|
943
923
|
<button
|
|
944
924
|
type="button"
|
|
945
|
-
className="px-3 py-1.5 text-xs text-
|
|
925
|
+
className="px-3 py-1.5 text-xs text-[var(--muted-foreground)] hover:text-[var(--foreground)] transition-colors"
|
|
946
926
|
onClick={() => setAddAgentModal(null)}
|
|
947
927
|
>
|
|
948
928
|
Cancel
|
|
@@ -950,7 +930,7 @@ export function WorkspaceSidebar({
|
|
|
950
930
|
<button
|
|
951
931
|
type="button"
|
|
952
932
|
disabled={addAgentSelection.size === 0}
|
|
953
|
-
className="px-3 py-1.5 text-xs font-medium text-
|
|
933
|
+
className="px-3 py-1.5 text-xs font-medium text-[var(--card-bg)] bg-[var(--foreground)] rounded-lg hover:bg-[var(--foreground)] disabled:opacity-40 disabled:cursor-not-allowed transition-colors"
|
|
954
934
|
onClick={() => {
|
|
955
935
|
for (const agentId of addAgentSelection) {
|
|
956
936
|
void onAddAgentToProject?.(addAgentModal.projectId, agentId);
|
|
@@ -1016,14 +996,14 @@ export function WorkspaceSidebar({
|
|
|
1016
996
|
onClick={() => setInputModal(null)}
|
|
1017
997
|
>
|
|
1018
998
|
<div
|
|
1019
|
-
className="bg-
|
|
999
|
+
className="bg-[var(--card-bg)] rounded-xl shadow-xl border border-[var(--border)] w-80 flex flex-col"
|
|
1020
1000
|
onClick={(e) => e.stopPropagation()}
|
|
1021
1001
|
>
|
|
1022
|
-
<div className="flex items-center justify-between px-4 py-3 border-b border-
|
|
1023
|
-
<h3 className="text-sm font-medium text-
|
|
1002
|
+
<div className="flex items-center justify-between px-4 py-3 border-b border-[var(--border)]">
|
|
1003
|
+
<h3 className="text-sm font-medium text-[var(--foreground)]">{inputModal.title}</h3>
|
|
1024
1004
|
<button
|
|
1025
1005
|
type="button"
|
|
1026
|
-
className="text-
|
|
1006
|
+
className="text-[var(--muted-foreground)] hover:text-[var(--muted-foreground)]"
|
|
1027
1007
|
onClick={() => setInputModal(null)}
|
|
1028
1008
|
>
|
|
1029
1009
|
<X size={16} />
|
|
@@ -1046,19 +1026,19 @@ export function WorkspaceSidebar({
|
|
|
1046
1026
|
type="text"
|
|
1047
1027
|
defaultValue={inputModal.defaultValue}
|
|
1048
1028
|
placeholder={inputModal.placeholder}
|
|
1049
|
-
className="w-full px-3 py-2 text-sm border border-
|
|
1029
|
+
className="w-full px-3 py-2 text-sm border border-[var(--border)] rounded-lg outline-none focus:border-[var(--border)] focus:ring-1 focus:ring-[var(--border)] transition-all"
|
|
1050
1030
|
/>
|
|
1051
1031
|
<div className="flex justify-end gap-2">
|
|
1052
1032
|
<button
|
|
1053
1033
|
type="button"
|
|
1054
|
-
className="px-3 py-1.5 text-xs text-
|
|
1034
|
+
className="px-3 py-1.5 text-xs text-[var(--muted-foreground)] hover:text-[var(--foreground)] transition-colors"
|
|
1055
1035
|
onClick={() => setInputModal(null)}
|
|
1056
1036
|
>
|
|
1057
1037
|
Cancel
|
|
1058
1038
|
</button>
|
|
1059
1039
|
<button
|
|
1060
1040
|
type="submit"
|
|
1061
|
-
className="px-3 py-1.5 text-xs font-medium text-
|
|
1041
|
+
className="px-3 py-1.5 text-xs font-medium text-[var(--card-bg)] bg-[var(--foreground)] rounded-lg hover:bg-[var(--foreground)] transition-colors"
|
|
1062
1042
|
>
|
|
1063
1043
|
{inputModal.defaultValue ? "Save" : "Create"}
|
|
1064
1044
|
</button>
|
|
@@ -1075,25 +1055,25 @@ export function WorkspaceSidebar({
|
|
|
1075
1055
|
onClick={() => setConfirmModal(null)}
|
|
1076
1056
|
>
|
|
1077
1057
|
<div
|
|
1078
|
-
className="bg-
|
|
1058
|
+
className="bg-[var(--card-bg)] rounded-xl shadow-xl border border-[var(--border)] w-80 flex flex-col"
|
|
1079
1059
|
onClick={(e) => e.stopPropagation()}
|
|
1080
1060
|
>
|
|
1081
|
-
<div className="flex items-center justify-between px-4 py-3 border-b border-
|
|
1082
|
-
<h3 className="text-sm font-medium text-
|
|
1061
|
+
<div className="flex items-center justify-between px-4 py-3 border-b border-[var(--border)]">
|
|
1062
|
+
<h3 className="text-sm font-medium text-[var(--foreground)]">{confirmModal.title}</h3>
|
|
1083
1063
|
<button
|
|
1084
1064
|
type="button"
|
|
1085
|
-
className="text-
|
|
1065
|
+
className="text-[var(--muted-foreground)] hover:text-[var(--muted-foreground)]"
|
|
1086
1066
|
onClick={() => setConfirmModal(null)}
|
|
1087
1067
|
>
|
|
1088
1068
|
<X size={16} />
|
|
1089
1069
|
</button>
|
|
1090
1070
|
</div>
|
|
1091
1071
|
<div className="px-4 py-4 flex flex-col gap-4">
|
|
1092
|
-
<p className="text-sm text-
|
|
1072
|
+
<p className="text-sm text-[var(--muted-foreground)]">{confirmModal.message}</p>
|
|
1093
1073
|
<div className="flex justify-end gap-2">
|
|
1094
1074
|
<button
|
|
1095
1075
|
type="button"
|
|
1096
|
-
className="px-3 py-1.5 text-xs text-
|
|
1076
|
+
className="px-3 py-1.5 text-xs text-[var(--muted-foreground)] hover:text-[var(--foreground)] transition-colors"
|
|
1097
1077
|
onClick={() => setConfirmModal(null)}
|
|
1098
1078
|
>
|
|
1099
1079
|
Cancel
|