@shepai/cli 1.178.1-pr536.42a22c6 → 1.178.1-pr541.46448db
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/README.md +2 -0
- package/dist/packages/core/src/application/ports/output/repositories/index.d.ts +0 -1
- package/dist/packages/core/src/application/ports/output/repositories/index.d.ts.map +1 -1
- package/dist/packages/core/src/domain/generated/output.d.ts +0 -42
- package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
- package/dist/packages/core/src/domain/generated/output.js +0 -6
- package/dist/packages/core/src/infrastructure/di/container.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/di/container.js +0 -32
- package/dist/src/presentation/web/app/(dashboard)/get-graph-data.d.ts.map +1 -1
- package/dist/src/presentation/web/app/(dashboard)/get-graph-data.js +1 -11
- package/dist/src/presentation/web/app/build-graph-nodes.d.ts +1 -3
- package/dist/src/presentation/web/app/build-graph-nodes.d.ts.map +1 -1
- package/dist/src/presentation/web/app/build-graph-nodes.js +0 -19
- package/dist/src/presentation/web/components/common/attachment-chip/attachment-chip.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/attachment-chip/attachment-chip.js +1 -1
- package/dist/src/presentation/web/components/features/chat/ChatSheet.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/chat/ChatSheet.js +2 -4
- package/dist/src/presentation/web/components/features/chat/ChatTab.d.ts +1 -5
- package/dist/src/presentation/web/components/features/chat/ChatTab.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/chat/ChatTab.js +3 -3
- package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.d.ts +1 -3
- package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.js +120 -181
- package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.stories.d.ts +16 -4
- package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.stories.js +109 -16
- package/dist/src/presentation/web/components/features/control-center/control-center-inner.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/control-center/control-center-inner.js +3 -21
- package/dist/src/presentation/web/components/features/control-center/use-control-center-state.d.ts +0 -4
- package/dist/src/presentation/web/components/features/control-center/use-control-center-state.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/control-center/use-control-center-state.js +1 -25
- package/dist/src/presentation/web/components/features/control-center/use-fab-actions.d.ts +1 -2
- package/dist/src/presentation/web/components/features/control-center/use-fab-actions.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/control-center/use-fab-actions.js +2 -9
- package/dist/src/presentation/web/components/features/control-center/welcome-agent-setup.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/control-center/welcome-agent-setup.js +9 -2
- package/dist/src/presentation/web/components/features/features-canvas/features-canvas.d.ts +1 -2
- package/dist/src/presentation/web/components/features/features-canvas/features-canvas.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/features-canvas/features-canvas.js +0 -2
- package/dist/src/presentation/web/components/features/settings/AgentModelPicker/index.d.ts +1 -3
- package/dist/src/presentation/web/components/features/settings/AgentModelPicker/index.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/AgentModelPicker/index.js +4 -9
- package/dist/src/presentation/web/hooks/use-graph-state.d.ts +0 -5
- package/dist/src/presentation/web/hooks/use-graph-state.d.ts.map +1 -1
- package/dist/src/presentation/web/hooks/use-graph-state.js +2 -37
- package/dist/src/presentation/web/lib/derive-graph.d.ts +1 -11
- package/dist/src/presentation/web/lib/derive-graph.d.ts.map +1 -1
- package/dist/src/presentation/web/lib/derive-graph.js +1 -35
- package/dist/src/presentation/web/lib/layout-with-dagre.d.ts.map +1 -1
- package/dist/src/presentation/web/lib/layout-with-dagre.js +0 -1
- package/dist/translations/ar/web.json +1 -2
- package/dist/translations/de/web.json +1 -2
- package/dist/translations/en/web.json +1 -2
- package/dist/translations/es/web.json +1 -2
- package/dist/translations/fr/web.json +1 -2
- package/dist/translations/he/web.json +1 -2
- package/dist/translations/pt/web.json +1 -2
- package/dist/translations/ru/web.json +1 -2
- package/dist/translations/uk/web.json +1 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/web/.next/BUILD_ID +1 -1
- package/web/.next/app-path-routes-manifest.json +0 -1
- package/web/.next/build-manifest.json +2 -2
- package/web/.next/fallback-build-manifest.json +2 -2
- package/web/.next/prerender-manifest.json +3 -3
- package/web/.next/required-server-files.js +1 -1
- package/web/.next/required-server-files.json +1 -1
- package/web/.next/routes-manifest.json +0 -8
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page/server-reference-manifest.json +81 -96
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js +3 -4
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/chat/page/server-reference-manifest.json +77 -92
- package/web/.next/server/app/(dashboard)/@drawer/chat/page.js +3 -4
- package/web/.next/server/app/(dashboard)/@drawer/chat/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/chat/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +83 -98
- package/web/.next/server/app/(dashboard)/@drawer/create/page.js +3 -4
- package/web/.next/server/app/(dashboard)/@drawer/create/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/create/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/server-reference-manifest.json +99 -114
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js +3 -4
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/server-reference-manifest.json +99 -114
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js +3 -4
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +79 -94
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js +3 -4
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +79 -94
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js +3 -4
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/chat/page/server-reference-manifest.json +77 -92
- package/web/.next/server/app/(dashboard)/chat/page.js +3 -4
- package/web/.next/server/app/(dashboard)/chat/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +83 -98
- package/web/.next/server/app/(dashboard)/create/page.js +3 -4
- package/web/.next/server/app/(dashboard)/create/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/create/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/server-reference-manifest.json +99 -114
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js +3 -4
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page/server-reference-manifest.json +99 -114
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js +3 -4
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/page/server-reference-manifest.json +77 -92
- package/web/.next/server/app/(dashboard)/page.js +3 -4
- package/web/.next/server/app/(dashboard)/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +79 -94
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js +3 -4
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +79 -94
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js +3 -4
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/_global-error/page.js +1 -1
- package/web/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/web/.next/server/app/_global-error.html +2 -2
- package/web/.next/server/app/_global-error.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/server/app/_not-found/page/server-reference-manifest.json +12 -27
- package/web/.next/server/app/_not-found/page.js +2 -2
- package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/api/attachments/preview/route.js.nft.json +1 -1
- package/web/.next/server/app/api/attachments/upload-from-path/route.js +1 -1
- package/web/.next/server/app/api/attachments/upload-from-path/route.js.nft.json +1 -1
- package/web/.next/server/app/api/evidence/route.js.nft.json +1 -1
- package/web/.next/server/app/api/graph-data/route.js.nft.json +1 -1
- package/web/.next/server/app/api/interactive/chat/[featureId]/messages/route.js.nft.json +1 -1
- package/web/.next/server/app/features/page/server-reference-manifest.json +12 -27
- package/web/.next/server/app/features/page.js +2 -2
- package/web/.next/server/app/features/page.js.nft.json +1 -1
- package/web/.next/server/app/features/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/settings/page/server-reference-manifest.json +18 -33
- package/web/.next/server/app/settings/page.js +2 -2
- package/web/.next/server/app/settings/page.js.nft.json +1 -1
- package/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/skills/page/server-reference-manifest.json +26 -41
- package/web/.next/server/app/skills/page.js +2 -2
- package/web/.next/server/app/skills/page.js.nft.json +1 -1
- package/web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/tools/page/server-reference-manifest.json +22 -37
- package/web/.next/server/app/tools/page.js +2 -2
- package/web/.next/server/app/tools/page.js.nft.json +1 -1
- package/web/.next/server/app/tools/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/version/page/server-reference-manifest.json +12 -27
- package/web/.next/server/app/version/page.js +2 -2
- package/web/.next/server/app/version/page.js.nft.json +1 -1
- package/web/.next/server/app/version/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app-paths-manifest.json +0 -1
- package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js +1 -1
- package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js.map +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__a402b567._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__c78383b1._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__c78383b1._.js.map +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.js.map +1 -1
- package/web/.next/server/chunks/{[root-of-the-server]__a5879003._.js → [root-of-the-server]__ea653642._.js} +2 -2
- package/web/.next/server/chunks/{[root-of-the-server]__a5879003._.js.map → [root-of-the-server]__ea653642._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js +1 -1
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js.map +1 -1
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js +2 -2
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_281e0ef8._.js +1 -1
- package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_281e0ef8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_a593f310._.js +1 -1
- package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_a593f310._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1cd4327c._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1cd4327c._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1f389e5d._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1f389e5d._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__22d17c66._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__22d17c66._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__357d99f9._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__46b10380._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__46b10380._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__540c615f._.js +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__540c615f._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__69dd3217._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__69dd3217._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7d3936._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7d3936._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__86ff0bc5._.js +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__86ff0bc5._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__8b512877._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__8b512877._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__990dba2d._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__990dba2d._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__b7b96453._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__b7b96453._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__cc9c7bbb._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__cc9c7bbb._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__090f24cb._.js → [root-of-the-server]__d1040bd1._.js} +2 -2
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__090f24cb._.js.map → [root-of-the-server]__d1040bd1._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__7aa484f5._.js → [root-of-the-server]__efeeaed4._.js} +2 -2
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__7aa484f5._.js.map → [root-of-the-server]__efeeaed4._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_05c23ad9._.js +1 -1
- package/web/.next/server/chunks/ssr/_05c23ad9._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_16eb4fec._.js +1 -1
- package/web/.next/server/chunks/ssr/_16eb4fec._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_1879404a._.js +1 -1
- package/web/.next/server/chunks/ssr/_1879404a._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_1e08a336._.js +1 -1
- package/web/.next/server/chunks/ssr/_295fffde._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_946a7fc6._.js → _328c12b0._.js} +3 -3
- package/web/.next/server/chunks/ssr/_328c12b0._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_43ba79e7._.js +3 -0
- package/web/.next/server/chunks/ssr/_43ba79e7._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_45496654._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_f86fc1bf._.js → _496c9117._.js} +2 -2
- package/web/.next/server/chunks/ssr/_496c9117._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_56b9d60f._.js +1 -1
- package/web/.next/server/chunks/ssr/_56b9d60f._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_6abfa39e._.js +3 -0
- package/web/.next/server/chunks/ssr/_6abfa39e._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_7cb0396e._.js +3 -0
- package/web/.next/server/chunks/ssr/_7cb0396e._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_b7a43c05._.js +1 -1
- package/web/.next/server/chunks/ssr/_b7a43c05._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_fb9934d4._.js → _d7fd9d40._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_fb9934d4._.js.map → _d7fd9d40._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_d9c0a97a._.js +7 -0
- package/web/.next/server/chunks/ssr/_d9c0a97a._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_e680c57c._.js +9 -0
- package/web/.next/server/chunks/ssr/_e680c57c._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_f1f73040._.js +3 -0
- package/web/.next/server/chunks/ssr/_f1f73040._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_f8c55130._.js +1 -1
- package/web/.next/server/chunks/ssr/_f8c55130._.js.map +1 -1
- package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js +1 -1
- package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js +1 -1
- package/web/.next/server/chunks/ssr/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js.map +1 -1
- package/web/.next/server/chunks/ssr/node_modules__pnpm_ef15a0bd._.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules__pnpm_ef15a0bd._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_06109d28._.js +5 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_06109d28._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_0bca70f8._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_0bca70f8._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_367cdbe0._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_367cdbe0._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_57fed7fd._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_57fed7fd._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_7f567f6d._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_7f567f6d._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_972f58d5._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_972f58d5._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_4ce30db7.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_4ce30db7.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_e4032193.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_e4032193.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_a71b18a2._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_a71b18a2._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_bebe675e._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_bebe675e._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_c93e8bc6._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_c93e8bc6._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_skills_8a174cac._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_skills_8a174cac._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_e729f44a._.js +5 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_e729f44a._.js.map +1 -0
- package/web/.next/server/chunks/ssr/translations_23dd5e7e._.js +1 -1
- package/web/.next/server/chunks/ssr/translations_23dd5e7e._.js.map +1 -1
- package/web/.next/server/pages/500.html +2 -2
- package/web/.next/server/server-reference-manifest.js +1 -1
- package/web/.next/server/server-reference-manifest.json +701 -898
- package/web/.next/static/chunks/{bcbae49e0f6d65ca.js → 09edd35d194bec06.js} +3 -3
- package/web/.next/static/chunks/124b79a5d2a760fb.css +1 -0
- package/web/.next/static/chunks/2453c9bb2ed49ae2.js +3 -0
- package/web/.next/static/chunks/4052a4971fbbac9c.js +1 -0
- package/web/.next/static/chunks/46e2693dbc9262fd.js +5 -0
- package/web/.next/static/chunks/{9718f0d839d204ee.js → 4a2a7849180d6c35.js} +1 -1
- package/web/.next/static/chunks/{c5e9b56c67a4f3d4.js → 4a415ab361ca731b.js} +1 -1
- package/web/.next/static/chunks/{48b1ee6f9460e08a.js → 4b154aa063bc82c1.js} +3 -3
- package/web/.next/static/chunks/6af952d63bf3aafe.js +1 -0
- package/web/.next/static/chunks/84172d8483b37100.js +1 -0
- package/web/.next/static/chunks/8b0a9cb5109fe899.js +1 -0
- package/web/.next/static/chunks/{82189e222fa39768.js → 96c832101989512f.js} +1 -1
- package/web/.next/static/chunks/971e52f3f386ccfd.js +1 -0
- package/web/.next/static/chunks/{04b48827bdc55056.js → 9f2cc1dd89b19d25.js} +1 -1
- package/web/.next/static/chunks/b026b1bb429a9491.js +1 -0
- package/web/.next/static/chunks/b63e6727c84f30e2.js +1 -0
- package/web/.next/static/chunks/c10c0d6d458453bc.js +1 -0
- package/web/.next/static/chunks/c9424f67c1665567.js +7 -0
- package/web/.next/static/chunks/df4c00579f57bc2c.js +1 -0
- package/web/.next/static/chunks/{f202967c5b0ff87f.js → e1b525fb0d68aecb.js} +2 -2
- package/web/.next/static/chunks/e8cf602905c9e4b7.js +1 -0
- package/web/.next/static/chunks/fa321a361a8211ac.js +1 -0
- package/apis/json-schema/Application.yaml +0 -40
- package/apis/json-schema/ApplicationStatus.yaml +0 -8
- package/dist/packages/core/src/application/ports/output/repositories/application-repository.interface.d.ts +0 -17
- package/dist/packages/core/src/application/ports/output/repositories/application-repository.interface.d.ts.map +0 -1
- package/dist/packages/core/src/application/ports/output/repositories/application-repository.interface.js +0 -6
- package/dist/packages/core/src/application/use-cases/applications/create-application.use-case.d.ts +0 -29
- package/dist/packages/core/src/application/use-cases/applications/create-application.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/applications/create-application.use-case.js +0 -135
- package/dist/packages/core/src/application/use-cases/applications/delete-application.use-case.d.ts +0 -15
- package/dist/packages/core/src/application/use-cases/applications/delete-application.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/applications/delete-application.use-case.js +0 -45
- package/dist/packages/core/src/application/use-cases/applications/get-application.use-case.d.ts +0 -13
- package/dist/packages/core/src/application/use-cases/applications/get-application.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/applications/get-application.use-case.js +0 -33
- package/dist/packages/core/src/application/use-cases/applications/index.d.ts +0 -13
- package/dist/packages/core/src/application/use-cases/applications/index.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/applications/index.js +0 -10
- package/dist/packages/core/src/application/use-cases/applications/list-applications.use-case.d.ts +0 -13
- package/dist/packages/core/src/application/use-cases/applications/list-applications.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/applications/list-applications.use-case.js +0 -33
- package/dist/packages/core/src/application/use-cases/applications/update-application.use-case.d.ts +0 -14
- package/dist/packages/core/src/application/use-cases/applications/update-application.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/applications/update-application.use-case.js +0 -33
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/application.mapper.d.ts +0 -37
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/application.mapper.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/application.mapper.js +0 -52
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/056-create-applications-table.d.ts +0 -5
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/056-create-applications-table.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/056-create-applications-table.js +0 -34
- package/dist/packages/core/src/infrastructure/repositories/sqlite-application.repository.d.ts +0 -21
- package/dist/packages/core/src/infrastructure/repositories/sqlite-application.repository.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/repositories/sqlite-application.repository.js +0 -98
- package/dist/src/presentation/web/app/actions/check-all-agents-status.d.ts +0 -7
- package/dist/src/presentation/web/app/actions/check-all-agents-status.d.ts.map +0 -1
- package/dist/src/presentation/web/app/actions/check-all-agents-status.js +0 -30
- package/dist/src/presentation/web/app/actions/create-application.d.ts +0 -13
- package/dist/src/presentation/web/app/actions/create-application.d.ts.map +0 -1
- package/dist/src/presentation/web/app/actions/create-application.js +0 -20
- package/dist/src/presentation/web/app/actions/create-project-and-feature.d.ts +0 -20
- package/dist/src/presentation/web/app/actions/create-project-and-feature.d.ts.map +0 -1
- package/dist/src/presentation/web/app/actions/create-project-and-feature.js +0 -84
- package/dist/src/presentation/web/app/actions/delete-application.d.ts +0 -4
- package/dist/src/presentation/web/app/actions/delete-application.d.ts.map +0 -1
- package/dist/src/presentation/web/app/actions/delete-application.js +0 -16
- package/dist/src/presentation/web/app/application/[id]/page.d.ts +0 -11
- package/dist/src/presentation/web/app/application/[id]/page.d.ts.map +0 -1
- package/dist/src/presentation/web/app/application/[id]/page.js +0 -16
- package/dist/src/presentation/web/components/common/application-node/application-node-config.d.ts +0 -24
- package/dist/src/presentation/web/components/common/application-node/application-node-config.d.ts.map +0 -1
- package/dist/src/presentation/web/components/common/application-node/application-node-config.js +0 -1
- package/dist/src/presentation/web/components/common/application-node/application-node.d.ts +0 -7
- package/dist/src/presentation/web/components/common/application-node/application-node.d.ts.map +0 -1
- package/dist/src/presentation/web/components/common/application-node/application-node.js +0 -41
- package/dist/src/presentation/web/components/common/application-node/application-node.stories.d.ts +0 -12
- package/dist/src/presentation/web/components/common/application-node/application-node.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/common/application-node/application-node.stories.js +0 -100
- package/dist/src/presentation/web/components/features/application-page/application-page.d.ts +0 -8
- package/dist/src/presentation/web/components/features/application-page/application-page.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/application-page.js +0 -86
- package/dist/src/presentation/web/components/features/application-page/application-page.stories.d.ts +0 -9
- package/dist/src/presentation/web/components/features/application-page/application-page.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/application-page.stories.js +0 -51
- package/web/.next/server/app/application/[id]/page/app-paths-manifest.json +0 -3
- package/web/.next/server/app/application/[id]/page/build-manifest.json +0 -18
- package/web/.next/server/app/application/[id]/page/next-font-manifest.json +0 -6
- package/web/.next/server/app/application/[id]/page/react-loadable-manifest.json +0 -1
- package/web/.next/server/app/application/[id]/page/server-reference-manifest.json +0 -110
- package/web/.next/server/app/application/[id]/page.js +0 -18
- package/web/.next/server/app/application/[id]/page.js.map +0 -5
- package/web/.next/server/app/application/[id]/page.js.nft.json +0 -1
- package/web/.next/server/app/application/[id]/page_client-reference-manifest.js +0 -2
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_17d0c3c1.js +0 -3
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_17d0c3c1.js.map +0 -1
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_chat_page_actions_717a531e.js +0 -3
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_chat_page_actions_717a531e.js.map +0 -1
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_chat_page_actions_6ed3ab8b.js +0 -3
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_chat_page_actions_6ed3ab8b.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__00efb844._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__00efb844._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0d64745d._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0d64745d._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__17dadd08._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__17dadd08._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1a9687c4._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1a9687c4._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__28c4e836._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__28c4e836._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__3b7cba7e._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__3b7cba7e._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__63272afd._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__63272afd._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7e2919._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7e2919._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__964b00e8._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__964b00e8._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__dd3e834e._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__dd3e834e._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__df7bfd53._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__df7bfd53._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__f5f982ad._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__f5f982ad._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_2bea8166._.js +0 -4
- package/web/.next/server/chunks/ssr/_2bea8166._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_46a35540._.js +0 -3
- package/web/.next/server/chunks/ssr/_46a35540._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_4e42f1b7._.js +0 -3
- package/web/.next/server/chunks/ssr/_4e42f1b7._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_6dff070a._.js +0 -3
- package/web/.next/server/chunks/ssr/_6dff070a._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_73e62e34._.js +0 -7
- package/web/.next/server/chunks/ssr/_73e62e34._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_946a7fc6._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_b0311e50._.js +0 -3
- package/web/.next/server/chunks/ssr/_b0311e50._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_d485d3b9._.js +0 -3
- package/web/.next/server/chunks/ssr/_d485d3b9._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_f3cd7f63._.js +0 -9
- package/web/.next/server/chunks/ssr/_f3cd7f63._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_f86fc1bf._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_f916587a._.js +0 -3
- package/web/.next/server/chunks/ssr/_f916587a._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_2478c24c._.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web_2478c24c._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_25da4cf4._.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web_25da4cf4._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_35084e19._.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web_35084e19._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_4ed08aa4._.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web_4ed08aa4._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_5149e11b.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_5149e11b.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1619f987.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1619f987.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_1b3c83ff.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_1b3c83ff.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_a9f3bc05._.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web_a9f3bc05._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_baaca5d5._.js +0 -32
- package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_baaca5d5._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_b360e85a._.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web_b360e85a._.js.map +0 -1
- package/web/.next/static/chunks/07dd0cd365169ac6.js +0 -1
- package/web/.next/static/chunks/0dbc8228223540f0.js +0 -1
- package/web/.next/static/chunks/14742749d118b339.js +0 -1
- package/web/.next/static/chunks/54a8ad22d3f9a857.js +0 -3
- package/web/.next/static/chunks/57cc43fa9970f8d7.js +0 -1
- package/web/.next/static/chunks/63e6ce2311b8c44f.js +0 -7
- package/web/.next/static/chunks/73e5026c618f964b.css +0 -1
- package/web/.next/static/chunks/771b8283dff48366.js +0 -5
- package/web/.next/static/chunks/79f687a9b9f2dca3.js +0 -1
- package/web/.next/static/chunks/994f0ac30cd8661a.js +0 -1
- package/web/.next/static/chunks/a9dbf887ff5ea94d.js +0 -1
- package/web/.next/static/chunks/afd205387569eb16.js +0 -1
- package/web/.next/static/chunks/b99506a6f7bc2fa8.js +0 -1
- package/web/.next/static/chunks/c9bd1dea77920749.js +0 -1
- package/web/.next/static/chunks/ce8d4b5094c4dd62.js +0 -1
- package/web/.next/static/chunks/e2644573ed9ceb22.js +0 -1
- /package/web/.next/static/{gxMya5XttXE_aSwszy4nE → v-gXVigBMiUhPmia-w6ib}/_buildManifest.js +0 -0
- /package/web/.next/static/{gxMya5XttXE_aSwszy4nE → v-gXVigBMiUhPmia-w6ib}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{gxMya5XttXE_aSwszy4nE → v-gXVigBMiUhPmia-w6ib}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-control-center-state.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/control-center/use-control-center-state.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,EAGL,KAAK,eAAe,EACrB,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"use-control-center-state.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/control-center/use-control-center-state.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,EAGL,KAAK,eAAe,EACrB,MAAM,yBAAyB,CAAC;AAkBjC,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAM7E,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,aAAa,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC,cAAc,CAAC,EAAE,KAAK,IAAI,CAAC;IAC/D,aAAa,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;IAChD,mBAAmB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK;QACrC,QAAQ,EAAE,OAAO,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,YAAY,EAAE,CAAC,SAAS,EAAE,eAAe,KAAK,IAAI,CAAC;IACnD,oBAAoB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAClD,mBAAmB,EAAE,CACnB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,OAAO,EACjB,aAAa,CAAC,EAAE,OAAO,EACvB,OAAO,CAAC,EAAE,OAAO,KACd,IAAI,CAAC;IACV,kBAAkB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,kBAAkB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,iBAAiB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,sBAAsB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,sBAAsB,EAAE,CACtB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE;QAAE,cAAc,CAAC,EAAE,OAAO,CAAA;KAAE,KACnC,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,iBAAiB,EAAE,CACjB,YAAY,EAAE,MAAM,GAAG,IAAI,EAC3B,YAAY,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,EACvC,QAAQ,CAAC,EAAE,MAAM,KACd,MAAM,CAAC;IACZ,yDAAyD;IACzD,YAAY,EAAE,OAAO,CAAC;IACtB,0CAA0C;IAC1C,eAAe,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,wDAAwD;IACxD,wBAAwB,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC;IACxE,gDAAgD;IAChD,iBAAiB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,kBAAkB,GAAG,SAAS,CAAC;IACtE,0EAA0E;IAC1E,YAAY,EAAE,CAAC,SAAS,EAAE,cAAc,KAAK,IAAI,CAAC;CACnD;AAQD,wBAAgB,qBAAqB,CACnC,YAAY,EAAE,cAAc,EAAE,EAC9B,YAAY,EAAE,IAAI,EAAE,GACnB,kBAAkB,CAmlBpB"}
|
package/dist/src/presentation/web/components/features/control-center/use-control-center-state.js
CHANGED
|
@@ -11,7 +11,6 @@ import { stopFeature } from '../../../app/actions/stop-feature.js';
|
|
|
11
11
|
import { unarchiveFeature } from '../../../app/actions/unarchive-feature.js';
|
|
12
12
|
import { addRepository } from '../../../app/actions/add-repository.js';
|
|
13
13
|
import { deleteRepository } from '../../../app/actions/delete-repository.js';
|
|
14
|
-
import { deleteApplication } from '../../../app/actions/delete-application.js';
|
|
15
14
|
import { getFeatureMetadata } from '../../../app/actions/get-feature-metadata.js';
|
|
16
15
|
import { useAgentEventsContext } from '../../../hooks/agent-events-provider.js';
|
|
17
16
|
import { useSoundAction } from '../../../hooks/use-sound-action.js';
|
|
@@ -30,7 +29,7 @@ export function useControlCenterState(initialNodes, initialEdges) {
|
|
|
30
29
|
const createSound = useSoundAction('create');
|
|
31
30
|
// Archive toggle: persists during session, resets on page reload (FR-10)
|
|
32
31
|
const [showArchived, setShowArchived] = useState(false);
|
|
33
|
-
const { nodes, edges, reconcile, updateFeature, addPendingFeature, removeFeature, restoreFeature, addRepository: addRepositoryToMap, removeRepository, replaceRepository, getFeatureRepositoryPath, getRepositoryData, getRepoMapSize,
|
|
32
|
+
const { nodes, edges, reconcile, updateFeature, addPendingFeature, removeFeature, restoreFeature, addRepository: addRepositoryToMap, removeRepository, replaceRepository, getFeatureRepositoryPath, getRepositoryData, getRepoMapSize, setCallbacks, beginMutation, endMutation, isMutating, } = useGraphState(initialNodes, initialEdges, showArchived);
|
|
34
33
|
// Refs for stable access to latest nodes/edges without callback recreation
|
|
35
34
|
const nodesRef = useRef(nodes);
|
|
36
35
|
const edgesRef = useRef(edges);
|
|
@@ -443,27 +442,6 @@ export function useControlCenterState(initialNodes, initialEdges) {
|
|
|
443
442
|
beginMutation,
|
|
444
443
|
endMutation,
|
|
445
444
|
]);
|
|
446
|
-
const handleDeleteApplication = useCallback(async (applicationId) => {
|
|
447
|
-
const appNodeId = `app-${applicationId}`;
|
|
448
|
-
// Optimistic: remove application node
|
|
449
|
-
beginMutation();
|
|
450
|
-
removeApplication(appNodeId);
|
|
451
|
-
deleteSound.play();
|
|
452
|
-
try {
|
|
453
|
-
const result = await deleteApplication(applicationId);
|
|
454
|
-
if (result.error) {
|
|
455
|
-
toast.error(result.error);
|
|
456
|
-
// Rollback would require storing the previous data; for now we let
|
|
457
|
-
// the next polling reconcile restore it if the delete actually failed.
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
catch {
|
|
461
|
-
toast.error('Failed to delete application');
|
|
462
|
-
}
|
|
463
|
-
finally {
|
|
464
|
-
endMutation();
|
|
465
|
-
}
|
|
466
|
-
}, [deleteSound, removeApplication, beginMutation, endMutation]);
|
|
467
445
|
const handleLayout = useCallback((direction) => {
|
|
468
446
|
// Layout is applied via reconcile on next server prop update.
|
|
469
447
|
// For immediate re-layout, we apply dagre and trigger a reconcile-like update.
|
|
@@ -534,9 +512,7 @@ export function useControlCenterState(initialNodes, initialEdges) {
|
|
|
534
512
|
handleStopFeature,
|
|
535
513
|
handleUnarchiveFeature,
|
|
536
514
|
handleDeleteRepository,
|
|
537
|
-
handleDeleteApplication,
|
|
538
515
|
createFeatureNode,
|
|
539
|
-
addApplication: addApplicationToMap,
|
|
540
516
|
showArchived,
|
|
541
517
|
setShowArchived,
|
|
542
518
|
getFeatureRepositoryPath,
|
|
@@ -14,9 +14,8 @@ interface UseFabActionsParams {
|
|
|
14
14
|
guardedNavigate: (fn: () => void) => void;
|
|
15
15
|
handlePickFolder: () => void;
|
|
16
16
|
onNewProject: () => void;
|
|
17
|
-
onNewApplication: () => void;
|
|
18
17
|
featureFlags: ReturnType<typeof useFeatureFlags>;
|
|
19
18
|
}
|
|
20
|
-
export declare function useFabActions({ router, clickSound, guardedNavigate, handlePickFolder, onNewProject,
|
|
19
|
+
export declare function useFabActions({ router, clickSound, guardedNavigate, handlePickFolder, onNewProject, featureFlags, }: UseFabActionsParams): FloatingActionButtonAction[];
|
|
21
20
|
export {};
|
|
22
21
|
//# sourceMappingURL=use-fab-actions.d.ts.map
|
package/dist/src/presentation/web/components/features/control-center/use-fab-actions.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-fab-actions.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/control-center/use-fab-actions.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAGjD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAC7F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAIrE,UAAU,mBAAmB;IAC3B,MAAM,EAAE,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;IACrC,UAAU,EAAE;QAAE,IAAI,EAAE,MAAM,IAAI,CAAA;KAAE,CAAC;IACjC,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IAC1C,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,
|
|
1
|
+
{"version":3,"file":"use-fab-actions.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/control-center/use-fab-actions.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAGjD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAC7F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAIrE,UAAU,mBAAmB;IAC3B,MAAM,EAAE,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;IACrC,UAAU,EAAE;QAAE,IAAI,EAAE,MAAM,IAAI,CAAA;KAAE,CAAC;IACjC,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IAC1C,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;CAClD;AAED,wBAAgB,aAAa,CAAC,EAC5B,MAAM,EACN,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,YAAY,EACZ,YAAY,GACb,EAAE,mBAAmB,GAAG,0BAA0B,EAAE,CA6DpD"}
|
|
@@ -5,9 +5,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
5
5
|
* stays focused on graph state + rendering.
|
|
6
6
|
*/
|
|
7
7
|
import { useMemo } from 'react';
|
|
8
|
-
import { FolderOpen, FolderPlus, GitBranch, Github,
|
|
8
|
+
import { FolderOpen, FolderPlus, GitBranch, Github, Sparkles } from 'lucide-react';
|
|
9
9
|
import { useTranslation } from 'react-i18next';
|
|
10
|
-
export function useFabActions({ router, clickSound, guardedNavigate, handlePickFolder, onNewProject,
|
|
10
|
+
export function useFabActions({ router, clickSound, guardedNavigate, handlePickFolder, onNewProject, featureFlags, }) {
|
|
11
11
|
const { t } = useTranslation('web');
|
|
12
12
|
return useMemo(() => {
|
|
13
13
|
const actions = [
|
|
@@ -35,12 +35,6 @@ export function useFabActions({ router, clickSound, guardedNavigate, handlePickF
|
|
|
35
35
|
icon: _jsx(FolderOpen, { className: "h-4 w-4" }),
|
|
36
36
|
onClick: handlePickFolder,
|
|
37
37
|
},
|
|
38
|
-
{
|
|
39
|
-
id: 'new-application',
|
|
40
|
-
label: t('fab.newApplication'),
|
|
41
|
-
icon: _jsx(LayoutGrid, { className: "h-4 w-4" }),
|
|
42
|
-
onClick: onNewApplication,
|
|
43
|
-
},
|
|
44
38
|
];
|
|
45
39
|
if (featureFlags.adoptBranch) {
|
|
46
40
|
actions.push({
|
|
@@ -70,7 +64,6 @@ export function useFabActions({ router, clickSound, guardedNavigate, handlePickF
|
|
|
70
64
|
router,
|
|
71
65
|
handlePickFolder,
|
|
72
66
|
onNewProject,
|
|
73
|
-
onNewApplication,
|
|
74
67
|
featureFlags.adoptBranch,
|
|
75
68
|
featureFlags.githubImport,
|
|
76
69
|
]);
|
package/dist/src/presentation/web/components/features/control-center/welcome-agent-setup.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"welcome-agent-setup.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/control-center/welcome-agent-setup.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"welcome-agent-setup.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/control-center/welcome-agent-setup.tsx"],"names":[],"mappings":"AAaA,MAAM,WAAW,sBAAsB;IACrC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAMD,wBAAgB,iBAAiB,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,sBAAsB,2CAyPlF"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useEffect, useCallback, useRef } from 'react';
|
|
4
|
-
import { ChevronLeft, Loader2 } from 'lucide-react';
|
|
4
|
+
import { ChevronLeft, Loader2, AlertTriangle } from 'lucide-react';
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
6
|
import { getAllAgentModels } from '../../../app/actions/get-all-agent-models.js';
|
|
7
7
|
import { updateAgentAndModel } from '../../../app/actions/update-agent-and-model.js';
|
|
8
|
+
import { checkToolStatus } from '../../../app/actions/check-tool-status.js';
|
|
8
9
|
import { getAgentTypeIcon } from '../../common/feature-node/agent-type-icons.js';
|
|
9
10
|
import { getModelMeta } from '../../../lib/model-metadata.js';
|
|
10
11
|
import { cn } from '../../../lib/utils.js';
|
|
@@ -13,6 +14,7 @@ export function WelcomeAgentSetup({ onComplete, className }) {
|
|
|
13
14
|
const { t } = useTranslation('web');
|
|
14
15
|
const [groups, setGroups] = useState([]);
|
|
15
16
|
const [loading, setLoading] = useState(true);
|
|
17
|
+
const [ghInstalled, setGhInstalled] = useState(null);
|
|
16
18
|
const [step, setStep] = useState('select-agent');
|
|
17
19
|
const [selectedAgent, setSelectedAgent] = useState(null);
|
|
18
20
|
const [saving, setSaving] = useState(false);
|
|
@@ -24,6 +26,11 @@ export function WelcomeAgentSetup({ onComplete, className }) {
|
|
|
24
26
|
.then(setGroups)
|
|
25
27
|
.finally(() => setLoading(false));
|
|
26
28
|
}, []);
|
|
29
|
+
useEffect(() => {
|
|
30
|
+
checkToolStatus()
|
|
31
|
+
.then((status) => setGhInstalled(status.gh.installed))
|
|
32
|
+
.catch(() => setGhInstalled(null));
|
|
33
|
+
}, []);
|
|
27
34
|
const activeGroup = selectedAgent ? groups.find((g) => g.agentType === selectedAgent) : null;
|
|
28
35
|
const transitionTo = useCallback((nextStep, setup) => {
|
|
29
36
|
setTransitioning(true);
|
|
@@ -95,7 +102,7 @@ export function WelcomeAgentSetup({ onComplete, className }) {
|
|
|
95
102
|
: activeGroup
|
|
96
103
|
? t('welcome.chooseModelSubtitle', { label: activeGroup.label })
|
|
97
104
|
: '';
|
|
98
|
-
return (_jsxs("div", { "data-testid": "welcome-agent-setup", className: cn('flex w-full flex-col items-center', className), children: [_jsx("div", { className: "mb-8 flex w-full max-w-xs items-center gap-1.5", children: STEPS.map((s, i) => (_jsx("div", { className: cn('h-[3px] flex-1 rounded-full transition-colors duration-300', i <= stepIndex ? 'bg-foreground/60' : 'bg-muted') }, s))) }), _jsxs("div", { className: cn('flex w-full flex-col items-center transition-opacity duration-200', visible && !transitioning ? 'opacity-100' : 'opacity-0'), children: [_jsx("h1", { className: "text-foreground/90 text-center text-5xl font-extralight tracking-tight", children: heroTitle }), _jsx("p", { className: "text-muted-foreground mt-3 text-center text-lg leading-relaxed font-light", children: heroSubtitle }), _jsxs("div", { className: "mt-8 flex w-full flex-col items-center", children: [step === 'select-agent' && (_jsx("div", { "data-testid": "agent-list", className: "grid w-full max-w-lg gap-3", style: {
|
|
105
|
+
return (_jsxs("div", { "data-testid": "welcome-agent-setup", className: cn('flex w-full flex-col items-center', className), children: [_jsx("div", { className: "mb-8 flex w-full max-w-xs items-center gap-1.5", children: STEPS.map((s, i) => (_jsx("div", { className: cn('h-[3px] flex-1 rounded-full transition-colors duration-300', i <= stepIndex ? 'bg-foreground/60' : 'bg-muted') }, s))) }), _jsxs("div", { className: cn('flex w-full flex-col items-center transition-opacity duration-200', visible && !transitioning ? 'opacity-100' : 'opacity-0'), children: [_jsx("h1", { className: "text-foreground/90 text-center text-5xl font-extralight tracking-tight", children: heroTitle }), _jsx("p", { className: "text-muted-foreground mt-3 text-center text-lg leading-relaxed font-light", children: heroSubtitle }), step === 'select-agent' && ghInstalled === false && (_jsxs("div", { "data-testid": "gh-cli-notice", className: "mt-5 flex items-start gap-2 rounded-lg border border-amber-200 bg-amber-50 px-4 py-3 dark:border-amber-900 dark:bg-amber-950/40", children: [_jsx(AlertTriangle, { className: "mt-0.5 h-4 w-4 shrink-0 text-amber-500" }), _jsxs("p", { className: "text-sm leading-relaxed text-amber-800 dark:text-amber-300", children: [_jsx("span", { className: "font-medium", children: t('welcome.ghCliRequired') }), ' ', t('welcome.ghCliRequiredText'), ' ', _jsx("a", { href: "https://cli.github.com/", target: "_blank", rel: "noopener noreferrer", className: "underline underline-offset-2 hover:text-amber-900 dark:hover:text-amber-200", children: t('welcome.installHere') }), "."] })] })), _jsxs("div", { className: "mt-8 flex w-full flex-col items-center", children: [step === 'select-agent' && (_jsx("div", { "data-testid": "agent-list", className: "grid w-full max-w-lg gap-3", style: {
|
|
99
106
|
gridTemplateColumns: `repeat(${Math.min(groups.length, 4)}, minmax(0, 1fr))`,
|
|
100
107
|
}, children: groups.map((group) => {
|
|
101
108
|
const GroupIcon = getAgentTypeIcon(group.agentType);
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { Connection, Edge, NodeChange, OnMoveEnd, Viewport } from '@xyflow/react';
|
|
2
2
|
import type { FeatureNodeType } from '../../common/feature-node/index.js';
|
|
3
3
|
import type { RepositoryNodeType } from '../../common/repository-node/index.js';
|
|
4
|
-
|
|
5
|
-
export type CanvasNodeType = FeatureNodeType | RepositoryNodeType | ApplicationNodeType;
|
|
4
|
+
export type CanvasNodeType = FeatureNodeType | RepositoryNodeType;
|
|
6
5
|
export interface FeaturesCanvasProps {
|
|
7
6
|
nodes: CanvasNodeType[];
|
|
8
7
|
edges: Edge[];
|
package/dist/src/presentation/web/components/features/features-canvas/features-canvas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"features-canvas.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/features-canvas/features-canvas.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAOvF,OAAO,KAAK,EAAE,eAAe,EAAmB,MAAM,kCAAkC,CAAC;AAEzF,OAAO,KAAK,EAAE,kBAAkB,EAAsB,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"features-canvas.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/features-canvas/features-canvas.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAOvF,OAAO,KAAK,EAAE,eAAe,EAAmB,MAAM,kCAAkC,CAAC;AAEzF,OAAO,KAAK,EAAE,kBAAkB,EAAsB,MAAM,qCAAqC,CAAC;AAGlG,MAAM,MAAM,cAAc,GAAG,eAAe,GAAG,kBAAkB,CAAC;AAElE,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,kBAAkB,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC;IAChE,eAAe,CAAC,EAAE,QAAQ,CAAC;IAC3B,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC,cAAc,CAAC,EAAE,KAAK,IAAI,CAAC;IAChE,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,EAAE,IAAI,EAAE,cAAc,KAAK,IAAI,CAAC;IACtE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IAChD,SAAS,CAAC,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;IAC7C,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAID,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,KAAK,EACL,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,aAAa,EACb,YAAY,EACZ,SAAS,EACT,WAAW,EACX,WAAW,EACX,YAAY,EACZ,SAAS,EACT,OAAO,EACP,UAAU,GACX,EAAE,mBAAmB,2CA+IrB"}
|
|
@@ -9,7 +9,6 @@ import { Button } from '../../ui/button.js';
|
|
|
9
9
|
import { EmptyState } from '../../common/empty-state/index.js';
|
|
10
10
|
import { FeatureNode } from '../../common/feature-node/index.js';
|
|
11
11
|
import { RepositoryNode } from '../../common/repository-node/index.js';
|
|
12
|
-
import { ApplicationNode } from '../../common/application-node/application-node.js';
|
|
13
12
|
import { DependencyEdge } from './dependency-edge.js';
|
|
14
13
|
const FALLBACK_VIEWPORT = { x: 30, y: 30, zoom: 0.85 };
|
|
15
14
|
export function FeaturesCanvas({ nodes, edges, selectedFeatureId, selectedRepository, defaultViewport, onNodesChange, onAddFeature, onConnect, onNodeClick, onPaneClick, onCanvasDrag, onMoveEnd, toolbar, emptyState, }) {
|
|
@@ -17,7 +16,6 @@ export function FeaturesCanvas({ nodes, edges, selectedFeatureId, selectedReposi
|
|
|
17
16
|
const nodeTypes = useMemo(() => ({
|
|
18
17
|
featureNode: FeatureNode,
|
|
19
18
|
repositoryNode: RepositoryNode,
|
|
20
|
-
applicationNode: ApplicationNode,
|
|
21
19
|
}), []);
|
|
22
20
|
const edgeTypes = useMemo(() => ({
|
|
23
21
|
dependencyEdge: DependencyEdge,
|
|
@@ -11,12 +11,10 @@ export interface AgentModelPickerProps {
|
|
|
11
11
|
className?: string;
|
|
12
12
|
/** 'settings' persists to DB; 'override' only calls onAgentModelChange */
|
|
13
13
|
mode: 'settings' | 'override';
|
|
14
|
-
/** Show installed/not-installed badges next to agent names */
|
|
15
|
-
showInstallStatus?: boolean;
|
|
16
14
|
}
|
|
17
15
|
export interface AgentModelPickerSaveResult {
|
|
18
16
|
ok: boolean;
|
|
19
17
|
error?: string;
|
|
20
18
|
}
|
|
21
|
-
export declare function AgentModelPicker({ initialAgentType, initialModel, agentType: controlledAgentType, model: controlledModel, onAgentModelChange, onSave, saveError, saving, disabled, className, mode,
|
|
19
|
+
export declare function AgentModelPicker({ initialAgentType, initialModel, agentType: controlledAgentType, model: controlledModel, onAgentModelChange, onSave, saveError, saving, disabled, className, mode, }: AgentModelPickerProps): import("react/jsx-runtime").JSX.Element;
|
|
22
20
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/presentation/web/components/features/settings/AgentModelPicker/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/presentation/web/components/features/settings/AgentModelPicker/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/presentation/web/components/features/settings/AgentModelPicker/index.tsx"],"names":[],"mappings":"AAaA,MAAM,WAAW,qBAAqB;IACpC,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAChE,MAAM,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,0BAA0B,GAAG,IAAI,CAAC,CAAC;IAC1F,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0EAA0E;IAC1E,IAAI,EAAE,UAAU,GAAG,UAAU,CAAC;CAC/B;AAED,MAAM,WAAW,0BAA0B;IACzC,EAAE,EAAE,OAAO,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,gBAAgB,EAChB,YAAY,EACZ,SAAS,EAAE,mBAAmB,EAC9B,KAAK,EAAE,eAAe,EACtB,kBAAkB,EAClB,MAAM,EACN,SAAS,EACT,MAAM,EACN,QAAQ,EACR,SAAS,EACT,IAAI,GACL,EAAE,qBAAqB,2CAiOvB"}
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
import { Check, ChevronLeft, ChevronRight
|
|
4
|
+
import { Check, ChevronLeft, ChevronRight } from 'lucide-react';
|
|
5
5
|
import { getAllAgentModels } from '../../../../app/actions/get-all-agent-models.js';
|
|
6
|
-
import { checkAllAgentsStatus } from '../../../../app/actions/check-all-agents-status.js';
|
|
7
6
|
import { updateAgentAndModel } from '../../../../app/actions/update-agent-and-model.js';
|
|
8
7
|
import { getAgentTypeIcon } from '../../../common/feature-node/agent-type-icons.js';
|
|
9
8
|
import { getModelMeta } from '../../../../lib/model-metadata.js';
|
|
10
9
|
import { Button } from '../../../ui/button.js';
|
|
11
10
|
import { Popover, PopoverContent, PopoverTrigger } from '../../../ui/popover.js';
|
|
12
11
|
import { cn } from '../../../../lib/utils.js';
|
|
13
|
-
export function AgentModelPicker({ initialAgentType, initialModel, agentType: controlledAgentType, model: controlledModel, onAgentModelChange, onSave, saveError, saving, disabled, className, mode,
|
|
12
|
+
export function AgentModelPicker({ initialAgentType, initialModel, agentType: controlledAgentType, model: controlledModel, onAgentModelChange, onSave, saveError, saving, disabled, className, mode, }) {
|
|
14
13
|
const [open, setOpen] = React.useState(false);
|
|
15
14
|
const [groups, setGroups] = React.useState([]);
|
|
16
15
|
const [loading, setLoading] = React.useState(true);
|
|
17
|
-
const [installMap, setInstallMap] = React.useState({});
|
|
18
16
|
const [agentType, setAgentType] = React.useState(controlledAgentType ?? initialAgentType);
|
|
19
17
|
const [model, setModel] = React.useState(controlledModel ?? initialModel);
|
|
20
18
|
const [internalSaving, setInternalSaving] = React.useState(false);
|
|
@@ -27,10 +25,7 @@ export function AgentModelPicker({ initialAgentType, initialModel, agentType: co
|
|
|
27
25
|
getAllAgentModels()
|
|
28
26
|
.then(setGroups)
|
|
29
27
|
.finally(() => setLoading(false));
|
|
30
|
-
|
|
31
|
-
checkAllAgentsStatus().then(setInstallMap);
|
|
32
|
-
}
|
|
33
|
-
}, [showInstallStatus]);
|
|
28
|
+
}, []);
|
|
34
29
|
React.useEffect(() => {
|
|
35
30
|
setAgentType(controlledAgentType ?? initialAgentType);
|
|
36
31
|
}, [controlledAgentType, initialAgentType]);
|
|
@@ -108,7 +103,7 @@ export function AgentModelPicker({ initialAgentType, initialModel, agentType: co
|
|
|
108
103
|
else {
|
|
109
104
|
handleSelect(group.agentType, '');
|
|
110
105
|
}
|
|
111
|
-
}, children: [_jsx(GroupIcon, { className: "h-4 w-4 shrink-0" }), _jsx("span", { className: "flex-1 text-start", children: group.label }),
|
|
106
|
+
}, children: [_jsx(GroupIcon, { className: "h-4 w-4 shrink-0" }), _jsx("span", { className: "flex-1 text-start", children: group.label }), isActive && !hasModels ? (_jsx(Check, { className: "text-primary h-3.5 w-3.5 shrink-0" })) : null, hasModels ? (_jsx(ChevronRight, { className: "text-muted-foreground h-3.5 w-3.5 shrink-0" })) : null] }, group.agentType));
|
|
112
107
|
})] }), _jsx("div", { className: "w-1/2 shrink-0", children: activeGroup ? (_jsxs(_Fragment, { children: [_jsxs("button", { type: "button", className: "text-muted-foreground hover:text-foreground flex w-full cursor-pointer items-center gap-1.5 border-b px-3 py-2 text-xs font-medium transition-colors", onClick: drillBack, children: [_jsx(ChevronLeft, { className: "h-3.5 w-3.5" }), activeGroup.label] }), activeGroup.models.map((m) => {
|
|
113
108
|
const isSelected = agentType === activeGroup.agentType && model === m.id;
|
|
114
109
|
return (_jsxs("button", { type: "button", className: cn('flex w-full cursor-pointer items-center gap-3 px-3 py-2 text-start transition-colors', 'hover:bg-accent hover:text-accent-foreground', isSelected && 'bg-accent/50'), onClick: () => handleSelect(activeGroup.agentType, m.id), children: [_jsxs("div", { className: "flex min-w-0 flex-1 flex-col", children: [_jsx("span", { className: "text-xs font-medium", children: m.displayName }), _jsx("span", { className: "text-muted-foreground text-xs", children: m.description })] }), isSelected ? (_jsx(Check, { className: "text-primary h-3.5 w-3.5 shrink-0" })) : null] }, m.id));
|
|
@@ -2,7 +2,6 @@ import type { Edge } from '@xyflow/react';
|
|
|
2
2
|
import type { CanvasNodeType } from '../components/features/features-canvas/index.js';
|
|
3
3
|
import type { FeatureNodeData } from '../components/common/feature-node/index.js';
|
|
4
4
|
import type { RepositoryNodeData } from '../components/common/repository-node/index.js';
|
|
5
|
-
import type { ApplicationNodeData } from '../components/common/application-node/application-node-config.js';
|
|
6
5
|
import { type FeatureEntry, type GraphCallbacks } from '../lib/derive-graph.js';
|
|
7
6
|
export type { GraphCallbacks } from '../lib/derive-graph.js';
|
|
8
7
|
export interface UseGraphStateReturn {
|
|
@@ -38,10 +37,6 @@ export interface UseGraphStateReturn {
|
|
|
38
37
|
getRepositoryData: (nodeId: string) => RepositoryNodeData | undefined;
|
|
39
38
|
/** Stable lookup: get the current number of repositories in the domain Map. */
|
|
40
39
|
getRepoMapSize: () => number;
|
|
41
|
-
/** Add an application node. */
|
|
42
|
-
addApplication: (nodeId: string, data: ApplicationNodeData) => void;
|
|
43
|
-
/** Remove an application node. */
|
|
44
|
-
removeApplication: (nodeId: string) => void;
|
|
45
40
|
/** Update callbacks injected into node data (does NOT trigger re-render). */
|
|
46
41
|
setCallbacks: (callbacks: GraphCallbacks) => void;
|
|
47
42
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-graph-state.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/web/hooks/use-graph-state.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAY,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,
|
|
1
|
+
{"version":3,"file":"use-graph-state.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/web/hooks/use-graph-state.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAY,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAEL,KAAK,YAAY,EAEjB,KAAK,cAAc,EACpB,MAAM,oBAAoB,CAAC;AAG5B,YAAY,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,MAAM,WAAW,mBAAmB;IAClC,mDAAmD;IACnD,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,mDAAmD;IACnD,KAAK,EAAE,IAAI,EAAE,CAAC;IACd;;;;OAIG;IACH,SAAS,EAAE,CAAC,QAAQ,EAAE,cAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IAClE,uEAAuE;IACvE,aAAa,EAAE,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC5E,kEAAkE;IAClE,iBAAiB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,YAAY,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1F,yDAAyD;IACzD,oBAAoB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,sDAAsD;IACtD,aAAa,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,uDAAuD;IACvD,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IAC9D,2DAA2D;IAC3D,aAAa,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAClE,gCAAgC;IAChC,gBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,yDAAyD;IACzD,iBAAiB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACtF,gEAAgE;IAChE,wBAAwB,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC;IACxE,yDAAyD;IACzD,iBAAiB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,kBAAkB,GAAG,SAAS,CAAC;IACtE,+EAA+E;IAC/E,cAAc,EAAE,MAAM,MAAM,CAAC;IAC7B,6EAA6E;IAC7E,YAAY,EAAE,CAAC,SAAS,EAAE,cAAc,KAAK,IAAI,CAAC;IAClD;;;;OAIG;IACH,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B;;;OAGG;IACH,WAAW,EAAE,CAAC,UAAU,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,0EAA0E;IAC1E,UAAU,EAAE,MAAM,OAAO,CAAC;CAC3B;AAuCD,KAAK,kBAAkB,GAAG,OAAO,CAC/B,IAAI,CAAC,eAAe,EAAE,OAAO,GAAG,WAAW,GAAG,MAAM,GAAG,aAAa,CAAC,CACtE,CAAC;AA8BF,wBAAgB,aAAa,CAC3B,YAAY,EAAE,cAAc,EAAE,EAC9B,YAAY,EAAE,IAAI,EAAE,EACpB,YAAY,UAAQ,GACnB,mBAAmB,CAicrB"}
|
|
@@ -14,7 +14,6 @@ function parseMaps(initialNodes, initialEdges) {
|
|
|
14
14
|
}
|
|
15
15
|
const featureMap = new Map();
|
|
16
16
|
const repoMap = new Map();
|
|
17
|
-
const applicationMap = new Map();
|
|
18
17
|
for (const node of initialNodes) {
|
|
19
18
|
if (node.type === 'featureNode') {
|
|
20
19
|
featureMap.set(node.id, {
|
|
@@ -29,14 +28,8 @@ function parseMaps(initialNodes, initialEdges) {
|
|
|
29
28
|
data: node.data,
|
|
30
29
|
});
|
|
31
30
|
}
|
|
32
|
-
else if (node.type === 'applicationNode') {
|
|
33
|
-
applicationMap.set(node.id, {
|
|
34
|
-
nodeId: node.id,
|
|
35
|
-
data: node.data,
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
31
|
}
|
|
39
|
-
return { featureMap, repoMap
|
|
32
|
+
return { featureMap, repoMap };
|
|
40
33
|
}
|
|
41
34
|
function isFeatureDataUnchanged(data, updates) {
|
|
42
35
|
return ((updates.state === undefined || updates.state === data.state) &&
|
|
@@ -71,7 +64,6 @@ export function useGraphState(initialNodes, initialEdges, showArchived = false)
|
|
|
71
64
|
const init = useMemo(() => parseMaps(initialNodes, initialEdges), []);
|
|
72
65
|
const [featureMap, setFeatureMap] = useState(init.featureMap);
|
|
73
66
|
const [repoMap, setRepoMap] = useState(init.repoMap);
|
|
74
|
-
const [applicationMap, setApplicationMap] = useState(init.applicationMap);
|
|
75
67
|
const [pendingMap, setPendingMap] = useState(new Map());
|
|
76
68
|
// Buffer for SSE updates that arrive before their feature is in featureMap.
|
|
77
69
|
// When reconcile adds new features, buffered updates are applied automatically.
|
|
@@ -107,8 +99,6 @@ export function useGraphState(initialNodes, initialEdges, showArchived = false)
|
|
|
107
99
|
onStartFeature: (featureId) => callbacksRef.current.onStartFeature?.(featureId),
|
|
108
100
|
onArchiveFeature: (featureId) => callbacksRef.current.onArchiveFeature?.(featureId),
|
|
109
101
|
onUnarchiveFeature: (featureId) => callbacksRef.current.onUnarchiveFeature?.(featureId),
|
|
110
|
-
onApplicationClick: (applicationId) => callbacksRef.current.onApplicationClick?.(applicationId),
|
|
111
|
-
onApplicationDelete: (applicationId) => callbacksRef.current.onApplicationDelete?.(applicationId),
|
|
112
102
|
}), []);
|
|
113
103
|
// Stable refs for domain Maps (for use in callbacks without depending on state)
|
|
114
104
|
const featureMapRef = useRef(featureMap);
|
|
@@ -129,7 +119,7 @@ export function useGraphState(initialNodes, initialEdges, showArchived = false)
|
|
|
129
119
|
return filtered.size === featureMap.size ? featureMap : filtered;
|
|
130
120
|
}, [featureMap, showArchived]);
|
|
131
121
|
// Derive graph from domain Maps (runs on every Map change, but dagre only on topology change)
|
|
132
|
-
const derived = useMemo(() => deriveGraph(visibleFeatureMap, repoMap, pendingMap, stableCallbacks
|
|
122
|
+
const derived = useMemo(() => deriveGraph(visibleFeatureMap, repoMap, pendingMap, stableCallbacks), [visibleFeatureMap, repoMap, pendingMap, stableCallbacks]);
|
|
133
123
|
// Cache dagre layout positions — only re-run when node set or edge connections change
|
|
134
124
|
const layoutCacheRef = useRef({ key: '', positions: new Map() });
|
|
135
125
|
const { nodes, edges } = useMemo(() => {
|
|
@@ -301,13 +291,6 @@ export function useGraphState(initialNodes, initialEdges, showArchived = false)
|
|
|
301
291
|
return currentRepoMap;
|
|
302
292
|
return merged;
|
|
303
293
|
});
|
|
304
|
-
// Reconcile applicationMap
|
|
305
|
-
const { applicationMap: newApplicationMap } = parseMaps(newNodes, newEdges);
|
|
306
|
-
setApplicationMap((currentAppMap) => {
|
|
307
|
-
if (mapsEqual(currentAppMap, newApplicationMap))
|
|
308
|
-
return currentAppMap;
|
|
309
|
-
return newApplicationMap;
|
|
310
|
-
});
|
|
311
294
|
}, []);
|
|
312
295
|
const updateFeature = useCallback((featureNodeId, updates) => {
|
|
313
296
|
setFeatureMap((prev) => {
|
|
@@ -404,22 +387,6 @@ export function useGraphState(initialNodes, initialEdges, showArchived = false)
|
|
|
404
387
|
return next;
|
|
405
388
|
});
|
|
406
389
|
}, []);
|
|
407
|
-
const addApplication = useCallback((nodeId, data) => {
|
|
408
|
-
setApplicationMap((prev) => {
|
|
409
|
-
const next = new Map(prev);
|
|
410
|
-
next.set(nodeId, { nodeId, data });
|
|
411
|
-
return next;
|
|
412
|
-
});
|
|
413
|
-
}, []);
|
|
414
|
-
const removeApplication = useCallback((nodeId) => {
|
|
415
|
-
setApplicationMap((prev) => {
|
|
416
|
-
if (!prev.has(nodeId))
|
|
417
|
-
return prev;
|
|
418
|
-
const next = new Map(prev);
|
|
419
|
-
next.delete(nodeId);
|
|
420
|
-
return next;
|
|
421
|
-
});
|
|
422
|
-
}, []);
|
|
423
390
|
const getFeatureRepositoryPath = useCallback((featureNodeId) => {
|
|
424
391
|
return featureMapRef.current.get(featureNodeId)?.data.repositoryPath;
|
|
425
392
|
}, []);
|
|
@@ -469,8 +436,6 @@ export function useGraphState(initialNodes, initialEdges, showArchived = false)
|
|
|
469
436
|
getFeatureRepositoryPath,
|
|
470
437
|
getRepositoryData,
|
|
471
438
|
getRepoMapSize,
|
|
472
|
-
addApplication,
|
|
473
|
-
removeApplication,
|
|
474
439
|
setCallbacks,
|
|
475
440
|
beginMutation,
|
|
476
441
|
endMutation,
|
|
@@ -9,7 +9,6 @@ import type { Edge } from '@xyflow/react';
|
|
|
9
9
|
import type { CanvasNodeType } from '../components/features/features-canvas/index.js';
|
|
10
10
|
import type { FeatureNodeData } from '../components/common/feature-node/index.js';
|
|
11
11
|
import type { RepositoryNodeData } from '../components/common/repository-node/index.js';
|
|
12
|
-
import type { ApplicationNodeData } from '../components/common/application-node/application-node-config.js';
|
|
13
12
|
/** A feature node entry stored in the domain Map. */
|
|
14
13
|
export interface FeatureEntry {
|
|
15
14
|
nodeId: string;
|
|
@@ -22,11 +21,6 @@ export interface RepoEntry {
|
|
|
22
21
|
nodeId: string;
|
|
23
22
|
data: RepositoryNodeData;
|
|
24
23
|
}
|
|
25
|
-
/** An application node entry stored in the domain Map. */
|
|
26
|
-
export interface ApplicationEntry {
|
|
27
|
-
nodeId: string;
|
|
28
|
-
data: ApplicationNodeData;
|
|
29
|
-
}
|
|
30
24
|
/** Stable callbacks passed by the consumer, injected into derived node data. */
|
|
31
25
|
export interface GraphCallbacks {
|
|
32
26
|
/** Called when the user triggers an action on a feature node (e.g., adds a sub-feature). */
|
|
@@ -53,10 +47,6 @@ export interface GraphCallbacks {
|
|
|
53
47
|
onArchiveFeature?: (featureId: string) => void;
|
|
54
48
|
/** Called when the user unarchives a feature. */
|
|
55
49
|
onUnarchiveFeature?: (featureId: string) => void;
|
|
56
|
-
/** Called when the user clicks an application node to navigate to its detail page. */
|
|
57
|
-
onApplicationClick?: (applicationId: string) => void;
|
|
58
|
-
/** Called when the user deletes an application. */
|
|
59
|
-
onApplicationDelete?: (applicationId: string) => void;
|
|
60
50
|
}
|
|
61
51
|
/**
|
|
62
52
|
* Derives React Flow nodes and edges from domain Maps.
|
|
@@ -67,7 +57,7 @@ export interface GraphCallbacks {
|
|
|
67
57
|
* - Pending feature nodes (creating state) from pendingMap → same rules, no action callbacks
|
|
68
58
|
* - Callbacks are injected into node data via closures
|
|
69
59
|
*/
|
|
70
|
-
export declare function deriveGraph(featureMap: Map<string, FeatureEntry>, repoMap: Map<string, RepoEntry>, pendingMap: Map<string, FeatureEntry>, callbacks?: GraphCallbacks
|
|
60
|
+
export declare function deriveGraph(featureMap: Map<string, FeatureEntry>, repoMap: Map<string, RepoEntry>, pendingMap: Map<string, FeatureEntry>, callbacks?: GraphCallbacks): {
|
|
71
61
|
nodes: CanvasNodeType[];
|
|
72
62
|
edges: Edge[];
|
|
73
63
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"derive-graph.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/web/lib/derive-graph.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,
|
|
1
|
+
{"version":3,"file":"derive-graph.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/web/lib/derive-graph.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,qDAAqD;AACrD,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,eAAe,CAAC;IACtB,sGAAsG;IACtG,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wDAAwD;AACxD,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,kBAAkB,CAAC;CAC1B;AAED,gFAAgF;AAChF,MAAM,WAAW,cAAc;IAC7B,4FAA4F;IAC5F,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,qEAAqE;IACrE,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,8CAA8C;IAC9C,eAAe,CAAC,EAAE,CAChB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,OAAO,EACjB,aAAa,CAAC,EAAE,OAAO,EACvB,OAAO,CAAC,EAAE,OAAO,KACd,IAAI,CAAC;IACV,6EAA6E;IAC7E,eAAe,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,8EAA8E;IAC9E,iBAAiB,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,iDAAiD;IACjD,kBAAkB,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;QAAE,cAAc,CAAC,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAC;IAC5F,qDAAqD;IACrD,cAAc,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,qDAAqD;IACrD,cAAc,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,oDAAoD;IACpD,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,+CAA+C;IAC/C,gBAAgB,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,iDAAiD;IACjD,kBAAkB,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAClD;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CACzB,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,EACrC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,EAC/B,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,EACrC,SAAS,CAAC,EAAE,cAAc,GACzB;IAAE,KAAK,EAAE,cAAc,EAAE,CAAC;IAAC,KAAK,EAAE,IAAI,EAAE,CAAA;CAAE,CAiL5C"}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* - Pending feature nodes (creating state) from pendingMap → same rules, no action callbacks
|
|
15
15
|
* - Callbacks are injected into node data via closures
|
|
16
16
|
*/
|
|
17
|
-
export function deriveGraph(featureMap, repoMap, pendingMap, callbacks
|
|
17
|
+
export function deriveGraph(featureMap, repoMap, pendingMap, callbacks) {
|
|
18
18
|
const nodes = [];
|
|
19
19
|
const edges = [];
|
|
20
20
|
// Normalize path separators so Windows backslash paths match forward-slash paths
|
|
@@ -158,40 +158,6 @@ export function deriveGraph(featureMap, repoMap, pendingMap, callbacks, applicat
|
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
|
-
// Add application nodes and derive repo→app edges (matched by repositoryPath).
|
|
162
|
-
if (applicationMap) {
|
|
163
|
-
for (const [nodeId, entry] of applicationMap) {
|
|
164
|
-
const appNodeId = nodeId;
|
|
165
|
-
const data = {
|
|
166
|
-
...entry.data,
|
|
167
|
-
...(callbacks?.onApplicationClick && {
|
|
168
|
-
onClick: () => callbacks.onApplicationClick(entry.data.id),
|
|
169
|
-
}),
|
|
170
|
-
...(callbacks?.onApplicationDelete && {
|
|
171
|
-
onDelete: callbacks.onApplicationDelete,
|
|
172
|
-
}),
|
|
173
|
-
};
|
|
174
|
-
nodes.push({
|
|
175
|
-
id: appNodeId,
|
|
176
|
-
type: 'applicationNode',
|
|
177
|
-
position: { x: 0, y: 0 },
|
|
178
|
-
data,
|
|
179
|
-
});
|
|
180
|
-
// Derive app→repo edge (application on LEFT, repo on RIGHT)
|
|
181
|
-
if (entry.data.repositoryPath) {
|
|
182
|
-
const repoPath = entry.data.repositoryPath.replace(/\\/g, '/');
|
|
183
|
-
const repoNodeId = repoByPath.get(repoPath);
|
|
184
|
-
if (repoNodeId) {
|
|
185
|
-
edges.push({
|
|
186
|
-
id: `edge-${appNodeId}-${repoNodeId}`,
|
|
187
|
-
source: appNodeId,
|
|
188
|
-
target: repoNodeId,
|
|
189
|
-
style: { strokeDasharray: '5 5' },
|
|
190
|
-
});
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
161
|
// Build set of feature node IDs that have children (are dependency edge sources)
|
|
196
162
|
const parentNodeIds = new Set();
|
|
197
163
|
for (const edge of edges) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout-with-dagre.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/web/lib/layout-with-dagre.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEhD,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAExD,MAAM,WAAW,aAAa;IAC5B,iEAAiE;IACjE,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,0DAA0D;IAC1D,QAAQ,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAC7C,qDAAqD;IACrD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,wEAAwE;IACxE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,+DAA+D;AAC/D,eAAO,MAAM,sBAAsB,EAAE,aAIpC,CAAC;AAEF,iFAAiF;AACjF,wBAAgB,uBAAuB,CAAC,GAAG,GAAE,KAAK,GAAG,KAAa,GAAG,aAAa,CAEjF;
|
|
1
|
+
{"version":3,"file":"layout-with-dagre.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/web/lib/layout-with-dagre.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEhD,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAExD,MAAM,WAAW,aAAa;IAC5B,iEAAiE;IACjE,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,0DAA0D;IAC1D,QAAQ,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAC7C,qDAAqD;IACrD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,wEAAwE;IACxE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,+DAA+D;AAC/D,eAAO,MAAM,sBAAsB,EAAE,aAIpC,CAAC;AAEF,iFAAiF;AACjF,wBAAgB,uBAAuB,CAAC,GAAG,GAAE,KAAK,GAAG,KAAa,GAAG,aAAa,CAEjF;AAkCD;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,IAAI,EAC5C,KAAK,EAAE,CAAC,EAAE,EACV,KAAK,EAAE,IAAI,EAAE,EACb,IAAI,GAAE,aAAkB,GACvB;IAAE,KAAK,EAAE,CAAC,EAAE,CAAC;IAAC,KAAK,EAAE,IAAI,EAAE,CAAA;CAAE,CAqL/B"}
|
|
@@ -13,7 +13,6 @@ export function getCanvasLayoutDefaults(dir = 'ltr') {
|
|
|
13
13
|
const NODE_DIMENSIONS = {
|
|
14
14
|
featureNode: { width: 388, height: 140 },
|
|
15
15
|
repositoryNode: { width: 400, height: 140 },
|
|
16
|
-
applicationNode: { width: 416, height: 220 },
|
|
17
16
|
};
|
|
18
17
|
function getNodeSize(node, defaultSize) {
|
|
19
18
|
// Prefer per-node size from data, then type-based lookup, then default
|
|
@@ -409,8 +409,7 @@
|
|
|
409
409
|
"newFeature": "Neues Feature",
|
|
410
410
|
"localFolder": "Lokaler Ordner",
|
|
411
411
|
"adoptBranch": "Branch übernehmen",
|
|
412
|
-
"fromGithub": "Von GitHub"
|
|
413
|
-
"newApplication": "Neue Anwendung"
|
|
412
|
+
"fromGithub": "Von GitHub"
|
|
414
413
|
},
|
|
415
414
|
"chat": {
|
|
416
415
|
"shepChat": "Shep Chat",
|
|
@@ -409,8 +409,7 @@
|
|
|
409
409
|
"newFeature": "New Feature",
|
|
410
410
|
"localFolder": "Local Folder",
|
|
411
411
|
"adoptBranch": "Adopt Branch",
|
|
412
|
-
"fromGithub": "From GitHub"
|
|
413
|
-
"newApplication": "New Application"
|
|
412
|
+
"fromGithub": "From GitHub"
|
|
414
413
|
},
|
|
415
414
|
"chat": {
|
|
416
415
|
"shepChat": "Shep Chat",
|
|
@@ -409,8 +409,7 @@
|
|
|
409
409
|
"newFeature": "Nueva función",
|
|
410
410
|
"localFolder": "Carpeta local",
|
|
411
411
|
"adoptBranch": "Adoptar rama",
|
|
412
|
-
"fromGithub": "Desde GitHub"
|
|
413
|
-
"newApplication": "Nueva Aplicación"
|
|
412
|
+
"fromGithub": "Desde GitHub"
|
|
414
413
|
},
|
|
415
414
|
"chat": {
|
|
416
415
|
"shepChat": "Shep Chat",
|
|
@@ -409,8 +409,7 @@
|
|
|
409
409
|
"newFeature": "Nouvelle fonctionnalité",
|
|
410
410
|
"localFolder": "Dossier local",
|
|
411
411
|
"adoptBranch": "Adopter une branche",
|
|
412
|
-
"fromGithub": "Depuis GitHub"
|
|
413
|
-
"newApplication": "Nouvelle application"
|
|
412
|
+
"fromGithub": "Depuis GitHub"
|
|
414
413
|
},
|
|
415
414
|
"chat": {
|
|
416
415
|
"shepChat": "Shep Chat",
|
|
@@ -409,8 +409,7 @@
|
|
|
409
409
|
"newFeature": "Nova funcionalidade",
|
|
410
410
|
"localFolder": "Pasta local",
|
|
411
411
|
"adoptBranch": "Adotar branch",
|
|
412
|
-
"fromGithub": "Do GitHub"
|
|
413
|
-
"newApplication": "Nova Aplicação"
|
|
412
|
+
"fromGithub": "Do GitHub"
|
|
414
413
|
},
|
|
415
414
|
"chat": {
|
|
416
415
|
"shepChat": "Shep Chat",
|
|
@@ -409,8 +409,7 @@
|
|
|
409
409
|
"newFeature": "Новая функция",
|
|
410
410
|
"localFolder": "Локальная папка",
|
|
411
411
|
"adoptBranch": "Принять ветку",
|
|
412
|
-
"fromGithub": "Из GitHub"
|
|
413
|
-
"newApplication": "Новое приложение"
|
|
412
|
+
"fromGithub": "Из GitHub"
|
|
414
413
|
},
|
|
415
414
|
"chat": {
|
|
416
415
|
"shepChat": "Shep Чат",
|