@shepai/cli 1.135.3 → 1.136.0-pr437.9f802f1
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/apis/json-schema/FeatureFlags.yaml +5 -0
- package/dist/packages/core/src/application/ports/output/services/coasts-service.interface.d.ts +132 -0
- package/dist/packages/core/src/application/ports/output/services/coasts-service.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/services/coasts-service.interface.js +12 -0
- package/dist/packages/core/src/application/ports/output/services/index.d.ts +1 -0
- package/dist/packages/core/src/application/ports/output/services/index.d.ts.map +1 -1
- package/dist/packages/core/src/domain/factories/settings-defaults.factory.d.ts.map +1 -1
- package/dist/packages/core/src/domain/factories/settings-defaults.factory.js +1 -0
- package/dist/packages/core/src/domain/generated/output.d.ts +4 -0
- package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/di/container.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/di/container.js +10 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts +1 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.js +2 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/044-add-feature-flag-coasts-dev-server.d.ts +11 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/044-add-feature-flag-coasts-dev-server.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/044-add-feature-flag-coasts-dev-server.js +17 -0
- package/dist/packages/core/src/infrastructure/repositories/sqlite-settings.repository.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/repositories/sqlite-settings.repository.js +3 -2
- package/dist/packages/core/src/infrastructure/services/coasts.service.d.ts +42 -0
- package/dist/packages/core/src/infrastructure/services/coasts.service.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/coasts.service.js +185 -0
- package/dist/src/presentation/cli/commands/coasts/index.d.ts +3 -0
- package/dist/src/presentation/cli/commands/coasts/index.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/coasts/index.js +7 -0
- package/dist/src/presentation/cli/commands/coasts/init.command.d.ts +3 -0
- package/dist/src/presentation/cli/commands/coasts/init.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/coasts/init.command.js +40 -0
- package/dist/src/presentation/cli/index.js +2 -0
- package/dist/src/presentation/web/app/actions/check-agent-auth.d.ts +2 -0
- package/dist/src/presentation/web/app/actions/check-agent-auth.d.ts.map +1 -1
- package/dist/src/presentation/web/app/actions/check-agent-auth.js +8 -1
- package/dist/src/presentation/web/app/actions/check-coastfile.d.ts +5 -0
- package/dist/src/presentation/web/app/actions/check-coastfile.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/check-coastfile.js +16 -0
- package/dist/src/presentation/web/app/actions/check-tool-status.d.ts +14 -0
- package/dist/src/presentation/web/app/actions/check-tool-status.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/check-tool-status.js +53 -0
- package/dist/src/presentation/web/app/actions/generate-coastfile.d.ts +7 -0
- package/dist/src/presentation/web/app/actions/generate-coastfile.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/generate-coastfile.js +22 -0
- package/dist/src/presentation/web/app/build-graph-nodes.d.ts.map +1 -1
- package/dist/src/presentation/web/app/build-graph-nodes.js +1 -9
- package/dist/src/presentation/web/coasts-dev-server.d.ts +34 -0
- package/dist/src/presentation/web/coasts-dev-server.d.ts.map +1 -0
- package/dist/src/presentation/web/coasts-dev-server.js +69 -0
- package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts +17 -0
- package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.js +91 -0
- package/dist/src/presentation/web/components/common/feature-node/feature-node.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-node/feature-node.js +54 -64
- package/dist/src/presentation/web/components/common/feature-node/feature-node.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-node/feature-node.stories.js +85 -19
- package/dist/src/presentation/web/components/common/repository-node/repository-node.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/repository-node/repository-node.js +15 -6
- package/dist/src/presentation/web/components/common/repository-node/use-coasts-actions.d.ts +12 -0
- package/dist/src/presentation/web/components/common/repository-node/use-coasts-actions.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/repository-node/use-coasts-actions.js +76 -0
- 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 +35 -9
- package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.stories.d.ts +17 -1
- 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 +110 -1
- 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 +1 -1
- package/dist/src/presentation/web/components/features/features-canvas/features-canvas.stories.d.ts +1 -0
- package/dist/src/presentation/web/components/features/features-canvas/features-canvas.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/features-canvas/features-canvas.stories.js +443 -10
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.js +3 -0
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.js +3 -0
- package/dist/src/presentation/web/components/features/settings/settings-page-client.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/settings-page-client.js +5 -0
- package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.js +1 -0
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.js +1 -0
- package/dist/src/presentation/web/dev-server.js +62 -1
- package/dist/src/presentation/web/hooks/feature-flags-context.d.ts.map +1 -1
- package/dist/src/presentation/web/hooks/feature-flags-context.js +1 -0
- package/dist/src/presentation/web/lib/feature-flags.d.ts +2 -0
- package/dist/src/presentation/web/lib/feature-flags.d.ts.map +1 -1
- package/dist/src/presentation/web/lib/feature-flags.js +5 -0
- package/dist/src/presentation/web/lib/layout-with-dagre.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -1
- package/web/.next/BUILD_ID +1 -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 +3 -3
- package/web/.next/required-server-files.json +3 -3
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page/server-reference-manifest.json +93 -48
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js +3 -3
- 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/create/page/server-reference-manifest.json +93 -48
- package/web/.next/server/app/(dashboard)/@drawer/create/page.js +3 -3
- 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 +105 -60
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js +3 -3
- 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 +105 -60
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js +3 -3
- 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]/page/server-reference-manifest.json +89 -44
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js +3 -3
- 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)/create/page/server-reference-manifest.json +93 -48
- package/web/.next/server/app/(dashboard)/create/page.js +3 -3
- 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 +105 -60
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js +3 -3
- 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 +105 -60
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js +3 -3
- 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 +89 -44
- package/web/.next/server/app/(dashboard)/page.js +3 -3
- 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]/page/server-reference-manifest.json +89 -44
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js +3 -3
- 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.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 +3 -3
- 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/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/settings/page/server-reference-manifest.json +8 -8
- 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 +8 -8
- package/web/.next/server/app/skills/page.js +1 -1
- 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 +8 -8
- package/web/.next/server/app/tools/page.js +1 -1
- 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 +3 -3
- 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/chunks/403f9_next_567de315._.js +2 -2
- 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]__c6e32a23._.js.map +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.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/[root-of-the-server]__1cf9161b._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1cf9161b._.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]__3ef34e4c._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__43f51aa6._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__43f51aa6._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6ec59045._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6ec59045._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__71b5d4e8._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__71b5d4e8._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__815546bd._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__815546bd._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__944b653f._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__944b653f._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__96670392._.js → [root-of-the-server]__a5f9c6e5._.js} +3 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a5f9c6e5._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a9079247._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a9079247._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__aad040c0._.js +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__aad040c0._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__b3dbadca._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__b3dbadca._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__d48c5b11._.js +3 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__7894f27f._.js.map → [root-of-the-server]__d48c5b11._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_0020fddd._.js +1 -1
- package/web/.next/server/chunks/ssr/_0020fddd._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_01383b12._.js +4 -0
- package/web/.next/server/chunks/ssr/_01383b12._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_02ec1aea._.js +1 -1
- package/web/.next/server/chunks/ssr/_02ec1aea._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_112b6fbf._.js +6 -0
- package/web/.next/server/chunks/ssr/_112b6fbf._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{_d17bc20a._.js → _12282083._.js} +2 -2
- package/web/.next/server/chunks/ssr/_12282083._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_3b9ec2d7._.js +4 -0
- package/web/.next/server/chunks/ssr/_3b9ec2d7._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_7a4bfe44._.js +6 -0
- package/web/.next/server/chunks/ssr/_7a4bfe44._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_7bc4a733._.js +3 -0
- package/web/.next/server/chunks/ssr/_7bc4a733._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_7dca1882._.js +1 -1
- package/web/.next/server/chunks/ssr/_7dca1882._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_7dd6c393._.js +4 -0
- package/web/.next/server/chunks/ssr/_7dd6c393._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_82cc1fcf._.js +4 -0
- package/web/.next/server/chunks/ssr/_82cc1fcf._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_a37f5f18._.js +1 -1
- package/web/.next/server/chunks/ssr/_a37f5f18._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_a9f57758._.js +1 -1
- package/web/.next/server/chunks/ssr/_a9f57758._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_d4b20e29._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_d8575088._.js +1 -1
- package/web/.next/server/chunks/ssr/_d8575088._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_f39a1adb._.js +1 -1
- package/web/.next/server/chunks/ssr/_f39a1adb._.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/{src_presentation_web_127fb482._.js → src_presentation_web_99db45e9._.js} +2 -2
- package/web/.next/server/chunks/ssr/{src_presentation_web_127fb482._.js.map → src_presentation_web_99db45e9._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1b176e3c.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1b176e3c.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_bd9f0dda.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_bd9f0dda.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_baaca5d5._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_baaca5d5._.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_e599bb8c._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_e599bb8c._.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/pages/500.html +2 -2
- package/web/.next/server/server-reference-manifest.js +1 -1
- package/web/.next/server/server-reference-manifest.json +530 -296
- package/web/.next/static/chunks/{d5342f9be437afd9.js → 08d0fd276fa7ac89.js} +1 -1
- package/web/.next/static/chunks/0d4f2f0257e78c06.css +1 -0
- package/web/.next/static/chunks/{d8a0dd9bfd0f22fa.js → 12511f976fedf4cb.js} +1 -1
- package/web/.next/static/chunks/{0b7fe2ac4f078f54.js → 18616dda443b7ed1.js} +7 -7
- package/web/.next/static/chunks/1f321d18af8d8b30.js +1 -0
- package/web/.next/static/chunks/{1a9dfc34432387f5.js → 47d110d7472840fd.js} +1 -1
- package/web/.next/static/chunks/{7875a9370622a064.js → 745234c95baaf6df.js} +1 -1
- package/web/.next/static/chunks/891d57985c5f3a0b.js +1 -0
- package/web/.next/static/chunks/{61f7d4f0f0f770a4.js → ac7469534efcc3b0.js} +1 -1
- package/web/.next/static/chunks/{8c42b7752187f48c.js → acd8d06ded15d1ed.js} +2 -2
- package/web/.next/static/chunks/cfcc46c87d712da6.js +1 -0
- package/web/.next/static/chunks/d0dff217a94d4ee1.js +1 -0
- package/web/.next/static/chunks/{9154973d61eae190.js → dc8683ddff12ef38.js} +1 -1
- package/web/.next/static/chunks/{fdc719494dcd9c92.js → dfe1ea2ffdc06c44.js} +2 -2
- package/web/.next/static/chunks/fe54542759c9fd27.js +1 -0
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_4e741df2.js +0 -3
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_4e741df2.js.map +0 -1
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_026fdffa.js +0 -3
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_026fdffa.js.map +0 -1
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_8b91e197.js +0 -3
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_8b91e197.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__31bc28da._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__31bc28da._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__32ecbed9._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__32ecbed9._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__7894f27f._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__90ce4b6d._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__90ce4b6d._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__90f9ae71._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__90f9ae71._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__96670392._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__9c45d070._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__9c45d070._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_313c9690._.js +0 -3
- package/web/.next/server/chunks/ssr/_313c9690._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_b6960ca0._.js +0 -4
- package/web/.next/server/chunks/ssr/_b6960ca0._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_d17bc20a._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_8e7fe0d1._.js +0 -5
- package/web/.next/server/chunks/ssr/src_presentation_web_8e7fe0d1._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_ca051134.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_ca051134.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_b9023017._.js +0 -5
- package/web/.next/server/chunks/ssr/src_presentation_web_b9023017._.js.map +0 -1
- package/web/.next/static/chunks/15e6a74ef39fda73.js +0 -1
- package/web/.next/static/chunks/314b8314f77d6921.js +0 -1
- package/web/.next/static/chunks/3e2d7d07926b05bf.css +0 -1
- package/web/.next/static/chunks/55a1c86671bb1a5b.js +0 -1
- package/web/.next/static/chunks/c0c287da1631752f.js +0 -1
- package/web/.next/static/chunks/e6b87832e1382949.js +0 -1
- /package/web/.next/static/{p0KCxpQ0DqKcttVypdnix → YPdE95T5GezMRcw-C6nfC}/_buildManifest.js +0 -0
- /package/web/.next/static/{p0KCxpQ0DqKcttVypdnix → YPdE95T5GezMRcw-C6nfC}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{p0KCxpQ0DqKcttVypdnix → YPdE95T5GezMRcw-C6nfC}/_ssgManifest.js +0 -0
package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-node-state-config.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-node/feature-node-state-config.ts"],"names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,gBAAgB,EAAE,sBAAsB,CAiFnF,CAAC"}
|
|
1
|
+
{"version":3,"file":"feature-node-state-config.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-node/feature-node-state-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,UAAU,EAChB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAChG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,MAAM,MAAM,gBAAgB,GACxB,UAAU,GACV,SAAS,GACT,iBAAiB,GACjB,MAAM,GACN,SAAS,GACT,SAAS,GACT,OAAO,GACP,UAAU,CAAC;AAEf,MAAM,MAAM,qBAAqB,GAC7B,SAAS,GACT,cAAc,GACd,UAAU,GACV,gBAAgB,GAChB,QAAQ,GACR,QAAQ,GACR,UAAU,CAAC;AAEf,0DAA0D;AAC1D,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAQxE,CAAC;AAEF,kDAAkD;AAClD,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAQvE,CAAC;AAEF,4DAA4D;AAC5D,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAQvE,CAAC;AAEF,2EAA2E;AAC3E,eAAO,MAAM,mBAAmB,EAAE,MAAM,CACtC,qBAAqB,EACrB;IACE,MAAM,EAAE,MAAM,CAAC;IACf,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACrB,CA+DF,CAAC;AAEF,2EAA2E;AAC3E,eAAO,MAAM,iB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CAAC;IACxB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,CACT,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,OAAO,EACjB,aAAa,CAAC,EAAE,OAAO,EACvB,OAAO,CAAC,EAAE,OAAO,KACd,IAAI,CAAC;IACV,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,MAAM,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,eAAe,EAAE,aAAa,CAAC,CAAC;AAEnE,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,UAAU,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,gBAAgB,EAAE,sBAAsB,CAiFnF,CAAC"}
|
package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.js
CHANGED
|
@@ -9,6 +9,97 @@ export const lifecycleDisplayLabels = {
|
|
|
9
9
|
deploy: 'DEPLOY & QA',
|
|
10
10
|
maintain: 'COMPLETED',
|
|
11
11
|
};
|
|
12
|
+
/** Left border color for each lifecycle phase. */
|
|
13
|
+
export const lifecycleBorderColors = {
|
|
14
|
+
pending: 'border-l-slate-400',
|
|
15
|
+
requirements: 'border-l-violet-500',
|
|
16
|
+
research: 'border-l-cyan-500',
|
|
17
|
+
implementation: 'border-l-blue-500',
|
|
18
|
+
review: 'border-l-amber-500',
|
|
19
|
+
deploy: 'border-l-emerald-500',
|
|
20
|
+
maintain: 'border-l-gray-400',
|
|
21
|
+
};
|
|
22
|
+
/** Accent bar background color for each lifecycle phase. */
|
|
23
|
+
export const lifecycleAccentColors = {
|
|
24
|
+
pending: 'bg-slate-400',
|
|
25
|
+
requirements: 'bg-violet-500',
|
|
26
|
+
research: 'bg-cyan-500',
|
|
27
|
+
implementation: 'bg-blue-500',
|
|
28
|
+
review: 'bg-amber-500',
|
|
29
|
+
deploy: 'bg-emerald-500',
|
|
30
|
+
maintain: 'bg-gray-400',
|
|
31
|
+
};
|
|
32
|
+
/** Phase badge: short letter, color classes, and user-friendly tooltip. */
|
|
33
|
+
export const lifecyclePhaseBadge = {
|
|
34
|
+
pending: {
|
|
35
|
+
letter: 'P',
|
|
36
|
+
bg: 'bg-stone-100 dark:bg-stone-800',
|
|
37
|
+
text: 'text-stone-500 dark:text-stone-400',
|
|
38
|
+
dot: 'bg-stone-400',
|
|
39
|
+
tooltip: 'Pending',
|
|
40
|
+
description: 'Waiting to start — the feature is queued and ready to go.',
|
|
41
|
+
},
|
|
42
|
+
requirements: {
|
|
43
|
+
letter: 'R',
|
|
44
|
+
bg: 'bg-fuchsia-100 dark:bg-fuchsia-900/40',
|
|
45
|
+
text: 'text-fuchsia-600 dark:text-fuchsia-300',
|
|
46
|
+
dot: 'bg-fuchsia-500',
|
|
47
|
+
tooltip: 'Requirements',
|
|
48
|
+
description: 'Gathering what to build — the AI is writing a product requirements document (PRD) based on your request.',
|
|
49
|
+
},
|
|
50
|
+
research: {
|
|
51
|
+
letter: 'D',
|
|
52
|
+
bg: 'bg-teal-100 dark:bg-teal-900/40',
|
|
53
|
+
text: 'text-teal-600 dark:text-teal-300',
|
|
54
|
+
dot: 'bg-teal-500',
|
|
55
|
+
tooltip: 'Research',
|
|
56
|
+
description: 'Exploring your codebase — the AI is analyzing existing code, patterns, and dependencies to plan the best approach.',
|
|
57
|
+
},
|
|
58
|
+
implementation: {
|
|
59
|
+
letter: 'I',
|
|
60
|
+
bg: 'bg-indigo-100 dark:bg-indigo-900/40',
|
|
61
|
+
text: 'text-indigo-600 dark:text-indigo-300',
|
|
62
|
+
dot: 'bg-indigo-500',
|
|
63
|
+
tooltip: 'Implementation',
|
|
64
|
+
description: 'Writing code — the AI is implementing the feature, writing tests, and making sure everything compiles.',
|
|
65
|
+
},
|
|
66
|
+
review: {
|
|
67
|
+
letter: 'M',
|
|
68
|
+
bg: 'bg-orange-100 dark:bg-orange-900/40',
|
|
69
|
+
text: 'text-orange-600 dark:text-orange-300',
|
|
70
|
+
dot: 'bg-orange-500',
|
|
71
|
+
tooltip: 'Merge Review',
|
|
72
|
+
description: 'Ready to merge — the code is complete. Review the changes and approve to merge into your repository.',
|
|
73
|
+
},
|
|
74
|
+
deploy: {
|
|
75
|
+
letter: 'Q',
|
|
76
|
+
bg: 'bg-lime-100 dark:bg-lime-900/40',
|
|
77
|
+
text: 'text-lime-600 dark:text-lime-300',
|
|
78
|
+
dot: 'bg-lime-500',
|
|
79
|
+
tooltip: 'Deploy & QA',
|
|
80
|
+
description: 'Deploying and testing — the feature is being deployed to a preview environment for quality checks.',
|
|
81
|
+
},
|
|
82
|
+
maintain: {
|
|
83
|
+
letter: '✓',
|
|
84
|
+
bg: 'bg-emerald-100 dark:bg-emerald-900/40',
|
|
85
|
+
text: 'text-emerald-500 dark:text-emerald-400',
|
|
86
|
+
dot: 'bg-emerald-500',
|
|
87
|
+
tooltip: 'Completed',
|
|
88
|
+
description: 'All done — the feature has been merged and delivered successfully.',
|
|
89
|
+
},
|
|
90
|
+
};
|
|
91
|
+
/** State-based left border overrides (takes precedence over lifecycle). */
|
|
92
|
+
export const stateBorderColors = {
|
|
93
|
+
blocked: 'border-l-gray-400',
|
|
94
|
+
error: 'border-l-red-500',
|
|
95
|
+
deleting: 'border-l-gray-300',
|
|
96
|
+
};
|
|
97
|
+
/** State-based accent bar overrides (takes precedence over lifecycle). */
|
|
98
|
+
export const stateAccentColors = {
|
|
99
|
+
blocked: 'bg-gray-400',
|
|
100
|
+
error: 'bg-red-500',
|
|
101
|
+
deleting: 'bg-gray-300',
|
|
102
|
+
};
|
|
12
103
|
/** Present-participle verbs for the running badge, keyed by lifecycle phase. */
|
|
13
104
|
export const lifecycleRunningVerbs = {
|
|
14
105
|
pending: 'Waiting to start',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-node.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-node/feature-node.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"feature-node.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-node/feature-node.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AA4CnE,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,QAAQ,GACT,EAAE;IACD,IAAI,EAAE,eAAe,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,2CA6WA"}
|
|
@@ -2,42 +2,30 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { useState } from 'react';
|
|
4
4
|
import { Handle, Position } from '@xyflow/react';
|
|
5
|
-
import { Plus,
|
|
5
|
+
import { Plus, Trash2, Zap, Loader2, Globe, RotateCcw, Play, Eye, } from 'lucide-react';
|
|
6
6
|
import { cn } from '../../../lib/utils.js';
|
|
7
7
|
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '../../ui/tooltip.js';
|
|
8
8
|
import { DeleteFeatureDialog } from '../../common/delete-feature-dialog/index.js';
|
|
9
|
-
import { featureNodeStateConfig,
|
|
10
|
-
import { getAgentTypeIcon
|
|
11
|
-
import { getModelMeta } from '../../../lib/model-metadata.js';
|
|
9
|
+
import { featureNodeStateConfig, lifecycleRunningVerbs, lifecyclePhaseBadge, } from './feature-node-state-config.js';
|
|
10
|
+
import { getAgentTypeIcon } from './agent-type-icons.js';
|
|
12
11
|
import { DeploymentState } from '../../../../../../packages/core/src/domain/generated/output.js';
|
|
13
|
-
import { FeatureSessionsDropdown } from './feature-sessions-dropdown.js';
|
|
14
12
|
function AgentIcon({ agentType, className }) {
|
|
15
13
|
const IconComponent = getAgentTypeIcon(agentType);
|
|
16
14
|
return _jsx(IconComponent, { className: className });
|
|
17
15
|
}
|
|
18
16
|
function getBadgeIcon(data) {
|
|
19
17
|
const config = featureNodeStateConfig[data.state];
|
|
20
|
-
if (data.state === 'action-required') {
|
|
21
|
-
if (data.lifecycle === 'requirements')
|
|
22
|
-
return FileText;
|
|
23
|
-
if (data.lifecycle === 'implementation')
|
|
24
|
-
return Wrench;
|
|
25
|
-
if (data.lifecycle === 'review')
|
|
26
|
-
return GitMerge;
|
|
27
|
-
}
|
|
28
18
|
return config.icon;
|
|
29
19
|
}
|
|
30
|
-
/**
|
|
31
|
-
function
|
|
32
|
-
if (data.
|
|
33
|
-
return
|
|
34
|
-
if (data.lifecycle === 'implementation')
|
|
35
|
-
return
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
return null; // requirements stays amber (default)
|
|
20
|
+
/** Short, friendly label for each action-required gate. */
|
|
21
|
+
function getActionRequiredLabel(data) {
|
|
22
|
+
if (data.lifecycle === 'requirements')
|
|
23
|
+
return 'Review Requirements';
|
|
24
|
+
if (data.lifecycle === 'implementation')
|
|
25
|
+
return 'Review Technical Plan';
|
|
26
|
+
if (data.lifecycle === 'review')
|
|
27
|
+
return 'Review Changes';
|
|
28
|
+
return 'Review';
|
|
41
29
|
}
|
|
42
30
|
function getBadgeText(data) {
|
|
43
31
|
const config = featureNodeStateConfig[data.state];
|
|
@@ -53,13 +41,7 @@ function getBadgeText(data) {
|
|
|
53
41
|
case 'pending':
|
|
54
42
|
return 'Pending';
|
|
55
43
|
case 'action-required':
|
|
56
|
-
|
|
57
|
-
return 'Review Product Requirements';
|
|
58
|
-
if (data.lifecycle === 'implementation')
|
|
59
|
-
return 'Review Technical Planning';
|
|
60
|
-
if (data.lifecycle === 'review')
|
|
61
|
-
return 'Review Merge Request';
|
|
62
|
-
return config.label;
|
|
44
|
+
return getActionRequiredLabel(data);
|
|
63
45
|
case 'error':
|
|
64
46
|
return data.errorMessage ?? 'Something went wrong';
|
|
65
47
|
default:
|
|
@@ -76,40 +58,48 @@ export function FeatureNode({ data, selected, }) {
|
|
|
76
58
|
}, className: "bg-card text-muted-foreground hover:border-destructive hover:text-destructive flex h-7 w-7 cursor-pointer items-center justify-center rounded-full border shadow-sm transition-colors", children: _jsx(Trash2, { className: "h-3.5 w-3.5" }) }) }), _jsx(TooltipContent, { children: "Delete feature" })] }) }) }), _jsx(DeleteFeatureDialog, { open: confirmOpen, onOpenChange: setConfirmOpen, onConfirm: (cleanup, cascadeDelete, closePr) => {
|
|
77
59
|
setConfirmOpen(false);
|
|
78
60
|
data.onDelete?.(data.featureId, cleanup, cascadeDelete, closePr);
|
|
79
|
-
}, isDeleting: false, featureName: data.name ?? 'this feature', featureId: data.featureId, hasChildren: data.hasChildren, hasOpenPr: !!data.pr && data.pr.status === 'Open' })] })) : null, _jsxs("div", { "data-testid": "feature-node-card", "aria-busy": data.state === 'creating' || data.state === 'deleting' ? 'true' : undefined, className: cn('bg-card flex min-h-35 w-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
61
|
+
}, isDeleting: false, featureName: data.name ?? 'this feature', featureId: data.featureId, hasChildren: data.hasChildren, hasOpenPr: !!data.pr && data.pr.status === 'Open' })] })) : null, _jsxs("div", { "data-testid": "feature-node-card", "aria-busy": data.state === 'creating' || data.state === 'deleting' ? 'true' : undefined, className: cn('bg-card flex min-h-35 w-97 cursor-pointer flex-col rounded-lg border p-3 shadow-sm dark:bg-neutral-800/80', data.state === 'action-required' && 'border-amber-300/60 dark:border-amber-700/40', selected && 'ring-primary ring-2', data.state === 'deleting' && 'opacity-60'), children: [data.state !== 'creating' ? (_jsx("div", { className: "absolute top-3 right-4", children: _jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsxs("span", { "data-testid": "feature-node-phase-badge", className: "flex items-center gap-1.5", children: [_jsx("span", { className: "text-muted-foreground text-[10px]", children: lifecyclePhaseBadge[data.lifecycle].tooltip }), _jsx("span", { className: cn('h-1.5 w-1.5 -translate-y-px rounded-full', lifecyclePhaseBadge[data.lifecycle].dot) })] }) }), _jsxs(TooltipContent, { side: "bottom", className: "max-w-56 bg-white text-neutral-900 shadow-lg dark:bg-neutral-100 dark:text-neutral-900", children: [_jsx("p", { className: "font-semibold", children: lifecyclePhaseBadge[data.lifecycle].tooltip }), _jsx("p", { className: "mt-1 text-xs leading-relaxed text-neutral-500", children: lifecyclePhaseBadge[data.lifecycle].description })] })] }) }) })) : null, _jsxs("div", { className: "flex items-center gap-1.5", children: [data.agentType ? (_jsx(AgentIcon, { agentType: data.agentType, className: "h-4 w-4 shrink-0" })) : null, _jsx("h3", { className: "min-w-0 truncate text-sm font-bold", children: data.name })] }), data.description ? (_jsx("p", { "data-testid": "feature-node-description", className: "text-muted-foreground mt-1 line-clamp-2 text-xs", children: data.description })) : null, _jsxs("div", { className: "mt-auto pt-2", children: [config.showProgressBar ? (_jsxs(_Fragment, { children: [_jsx("div", { className: "text-muted-foreground flex items-center justify-end text-[10px]", children: _jsxs("span", { children: [data.progress, "%"] }) }), _jsx("div", { "data-testid": "feature-node-progress-bar", className: "bg-muted mt-1.5 h-1 w-full overflow-hidden rounded-full", children: _jsx("div", { className: cn('h-full rounded-full transition-all', config.progressClass), style: { width: `${data.progress}%` } }) })] })) : null, !config.showProgressBar &&
|
|
62
|
+
![
|
|
63
|
+
'deleting',
|
|
64
|
+
'creating',
|
|
65
|
+
'running',
|
|
66
|
+
'done',
|
|
67
|
+
'action-required',
|
|
68
|
+
'pending',
|
|
69
|
+
'blocked',
|
|
70
|
+
].includes(data.state) ? (_jsxs("div", { "data-testid": "feature-node-badge", className: "relative flex min-w-0 items-center gap-1.5 text-xs", children: [(() => {
|
|
71
|
+
const BadgeIcon = getBadgeIcon(data);
|
|
72
|
+
return _jsx(BadgeIcon, { className: cn('h-3.5 w-3.5 shrink-0', config.badgeClass) });
|
|
73
|
+
})(), _jsx("span", { className: cn('translate-y-px truncate text-[11px] font-medium', config.badgeClass), children: getBadgeText(data) })] })) : null, _jsxs("div", { className: "mt-1.5 flex min-h-[26px] items-center justify-between gap-2", children: [_jsxs("div", { className: "flex items-center gap-1.5", style: { transform: 'translateY(1px)' }, children: [data.featureId ? (_jsxs("div", { className: "flex items-baseline gap-1", children: [_jsx("span", { className: "text-muted-foreground/50 text-[10px]", children: "ID" }), _jsx("button", { type: "button", "data-testid": "feature-node-id", className: "nodrag text-muted-foreground/60 hover:text-muted-foreground cursor-pointer font-mono text-[10px] transition-colors", onClick: (e) => {
|
|
86
74
|
e.stopPropagation();
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
75
|
+
navigator.clipboard.writeText(data.featureId);
|
|
76
|
+
}, title: `Click to copy: ${data.featureId}`, children: data.featureId.slice(0, 6) })] })) : null, data.deployment ? (_jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("button", { type: "button", "aria-label": data.deployment.status === DeploymentState.Booting
|
|
77
|
+
? 'Deploying'
|
|
78
|
+
: 'Open dev server', "data-testid": "feature-node-deployment-indicator", onClick: (e) => {
|
|
79
|
+
e.stopPropagation();
|
|
80
|
+
if (data.deployment?.status === DeploymentState.Ready &&
|
|
81
|
+
data.deployment.url) {
|
|
82
|
+
window.open(data.deployment.url, '_blank', 'noopener,noreferrer');
|
|
83
|
+
}
|
|
84
|
+
}, className: cn('nodrag', data.deployment.status === DeploymentState.Ready && data.deployment.url
|
|
85
|
+
? 'cursor-pointer opacity-80 transition-opacity hover:opacity-100'
|
|
86
|
+
: 'cursor-default'), children: data.deployment.status === DeploymentState.Booting ? (_jsx(Loader2, { className: "h-3 w-3 animate-spin text-blue-500" })) : (_jsx(Globe, { className: "h-3 w-3 text-green-600" })) }) }), _jsx(TooltipContent, { side: "top", children: data.deployment.status === DeploymentState.Booting
|
|
87
|
+
? 'Deploying...'
|
|
88
|
+
: (data.deployment.url ?? 'Live') })] }) })) : null, data.fastMode ? (_jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("span", { "data-testid": "feature-node-fast-mode-badge", children: _jsx(Zap, { className: "h-3 w-3 text-amber-500" }) }) }), _jsx(TooltipContent, { side: "top", children: "Fast Mode" })] }) })) : null] }), data.state === 'deleting' ? (_jsxs("div", { className: "flex items-center gap-1.5 text-xs", children: [_jsx(Loader2, { className: "h-3.5 w-3.5 shrink-0 animate-spin text-gray-400" }), _jsx("span", { className: "text-muted-foreground", children: "Deleting\u2026" })] })) : data.state === 'creating' ? (_jsxs("div", { className: "flex items-center gap-1.5 text-xs", children: [_jsx(Icon, { className: "h-3.5 w-3.5 shrink-0 animate-spin" }), _jsx("span", { className: "text-muted-foreground", children: getBadgeText(data) })] })) : data.state === 'running' ? (_jsxs("div", { className: "flex items-center gap-1.5 text-xs", children: [_jsx(Icon, { className: "h-3.5 w-3.5 shrink-0 animate-spin" }), _jsx("span", { className: "text-muted-foreground", children: getBadgeText(data) })] })) : data.state === 'action-required' ? (_jsxs("button", { type: "button", "aria-label": getActionRequiredLabel(data), "data-testid": "feature-node-approve-button",
|
|
89
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function -- click bubbles to card's onNodeClick
|
|
90
|
+
onClick: () => { }, className: "nodrag relative inline-flex shrink-0 cursor-pointer items-center gap-1.5 overflow-hidden rounded-md bg-gradient-to-b from-neutral-800 via-neutral-900 to-neutral-950 px-3 py-1.5 text-[11px] font-semibold transition-all hover:from-neutral-700 hover:via-neutral-800 hover:to-neutral-900 active:from-neutral-900 active:to-black", children: [_jsx("span", { className: "animate-shimmer pointer-events-none absolute inset-0 bg-gradient-to-r from-transparent via-white/15 to-transparent bg-[length:200%_100%]" }), _jsx(Eye, { className: "relative h-3 w-3 text-amber-400" }), _jsx("span", { className: "animate-shimmer relative bg-gradient-to-r from-amber-400 via-yellow-200 to-amber-400 bg-[length:200%_100%] bg-clip-text text-transparent", children: getActionRequiredLabel(data) })] })) : data.state === 'error' && data.onRetry ? (_jsxs("button", { type: "button", "aria-label": "Retry", "data-testid": "feature-node-retry-button", onClick: (e) => {
|
|
91
|
+
e.stopPropagation();
|
|
92
|
+
data.onRetry(data.featureId);
|
|
93
|
+
}, className: "nodrag inline-flex shrink-0 cursor-pointer items-center gap-1 rounded-md bg-neutral-800 px-2.5 py-1 text-[11px] font-medium text-white shadow-sm transition-all hover:bg-neutral-700 active:bg-neutral-900 dark:bg-neutral-200 dark:text-neutral-900 dark:hover:bg-neutral-300", children: [_jsx(RotateCcw, { className: "h-3 w-3" }), "Retry"] })) : data.state === 'blocked' ? (_jsxs("div", { className: "flex items-center gap-1.5 text-xs", "data-testid": "feature-node-badge", children: [(() => {
|
|
94
|
+
const BadgeIcon = getBadgeIcon(data);
|
|
95
|
+
return _jsx(BadgeIcon, { className: cn('h-3.5 w-3.5 shrink-0', config.badgeClass) });
|
|
96
|
+
})(), _jsx("span", { className: cn('truncate text-[11px] font-medium', config.badgeClass), children: getBadgeText(data) })] })) : data.state === 'done' ? (_jsxs("div", { className: "flex items-center gap-1.5 text-xs", "data-testid": "feature-node-badge", children: [(() => {
|
|
97
|
+
const BadgeIcon = getBadgeIcon(data);
|
|
98
|
+
return _jsx(BadgeIcon, { className: cn('h-3.5 w-3.5 shrink-0', config.badgeClass) });
|
|
99
|
+
})(), _jsx("span", { className: cn('text-[11px] font-medium', config.badgeClass), children: getBadgeText(data) })] })) : data.state === 'pending' && data.onStart ? (_jsxs("button", { type: "button", "aria-label": "Start", "data-testid": "feature-node-start-button", onClick: (e) => {
|
|
100
|
+
e.stopPropagation();
|
|
101
|
+
data.onStart(data.featureId);
|
|
102
|
+
}, className: "nodrag inline-flex shrink-0 cursor-pointer items-center gap-1 rounded-md bg-neutral-800 px-2.5 py-1 text-[11px] font-medium text-white shadow-sm transition-all hover:bg-neutral-700 active:bg-neutral-900 dark:bg-neutral-200 dark:text-neutral-900 dark:hover:bg-neutral-300", children: [_jsx(Play, { className: "h-3 w-3" }), "Start"] })) : null] })] })] }), data.onAction && data.state !== 'deleting' ? (_jsx(Handle, { type: "source", position: Position.Right, className: "h-0! w-0! border-0! bg-transparent!", style: { top: 70 }, children: _jsx("button", { type: "button", "aria-label": "Add", "data-testid": "feature-node-action-button", onClick: (e) => {
|
|
113
103
|
e.stopPropagation();
|
|
114
104
|
data.onAction?.();
|
|
115
105
|
}, className: "nodrag absolute top-1/2 left-1/2 flex h-6 w-6 -translate-x-1/2 -translate-y-1/2 cursor-pointer items-center justify-center rounded-full bg-blue-500 text-white opacity-0 shadow-md transition-opacity group-hover:opacity-100 hover:bg-blue-600", children: _jsx(Plus, { className: "h-3.5 w-3.5" }) }) })) : data.showHandles ? (_jsx(Handle, { type: "source", position: Position.Right, isConnectable: false, className: "opacity-0!", style: { top: 70 } })) : null] }));
|
package/dist/src/presentation/web/components/common/feature-node/feature-node.stories.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-node.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-node/feature-node.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAMvD,OAAO,KAAK,EACV,eAAe,EAIhB,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"feature-node.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-node/feature-node.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAMvD,OAAO,KAAK,EACV,eAAe,EAIhB,MAAM,6BAA6B,CAAC;AAoCrC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,eAAe,CAqB/B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,eAAe,CAAC,CAAC;AAEvC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAqLF,eAAO,MAAM,SAAS,EAAE,KAQvB,CAAC;AAYF,eAAO,MAAM,aAAa,EAAE,KAqB3B,CAAC;AA2EF,eAAO,MAAM,aAAa,EAAE,KAQ3B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAMxB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAOzB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAW7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAW9B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAUtB,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,KAUvC,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAUtB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAW9B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAY5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAW9B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAatB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAc1B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAY/B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAa7B,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAYlC,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,KAe5C,CAAC;AA4EF,eAAO,MAAM,WAAW,EAAE,KAOzB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAUrB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAW9B,CAAC"}
|
|
@@ -2,13 +2,13 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import { expect, fn, waitFor } from '@storybook/test';
|
|
4
4
|
import { ReactFlowProvider, ReactFlow, useNodesState } from '@xyflow/react';
|
|
5
|
-
import { DeploymentState } from '../../../../../../packages/core/src/domain/generated/output.js';
|
|
5
|
+
import { DeploymentState, PrStatus, CiStatus } from '../../../../../../packages/core/src/domain/generated/output.js';
|
|
6
6
|
import { FeatureNode } from './feature-node.js';
|
|
7
7
|
const nodeTypes = { featureNode: FeatureNode };
|
|
8
8
|
/** Renders a single FeatureNode as a proper React Flow node (with node wrapper + pointer events). */
|
|
9
9
|
function FeatureNodeCanvas({ data, style = { width: 600, height: 400 }, }) {
|
|
10
10
|
const nodes = useMemo(() => [{ id: 'node-1', type: 'featureNode', position: { x: 0, y: 0 }, data }], [data]);
|
|
11
|
-
return (_jsx("div", { style: style, children: _jsx(ReactFlowProvider, { children: _jsx(ReactFlow, { nodes: nodes, nodeTypes: nodeTypes, nodesDraggable: false, nodesConnectable: false, proOptions: { hideAttribution: true }, fitView: true }) }) }));
|
|
11
|
+
return (_jsx("div", { style: style, children: _jsx(ReactFlowProvider, { children: _jsx(ReactFlow, { nodes: nodes, nodeTypes: nodeTypes, nodesDraggable: false, nodesConnectable: false, panOnDrag: false, zoomOnScroll: false, proOptions: { hideAttribution: true }, fitView: true, className: "[&_.react-flow__pane]:!cursor-default" }) }) }));
|
|
12
12
|
}
|
|
13
13
|
const meta = {
|
|
14
14
|
title: 'Composed/FeatureNode',
|
|
@@ -19,10 +19,17 @@ const meta = {
|
|
|
19
19
|
args: {
|
|
20
20
|
name: 'Auth Module',
|
|
21
21
|
description: 'Implement OAuth2 authentication flow',
|
|
22
|
-
featureId: '
|
|
23
|
-
lifecycle: '
|
|
22
|
+
featureId: 'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
|
|
23
|
+
lifecycle: 'implementation',
|
|
24
24
|
state: 'running',
|
|
25
25
|
progress: 45,
|
|
26
|
+
agentType: 'claude-code',
|
|
27
|
+
modelId: 'claude-sonnet-4-6',
|
|
28
|
+
repositoryPath: '/home/user/my-repo',
|
|
29
|
+
repositoryName: 'my-repo',
|
|
30
|
+
branch: 'feat/auth-module',
|
|
31
|
+
hasAgentRun: true,
|
|
32
|
+
hasPlan: true,
|
|
26
33
|
},
|
|
27
34
|
};
|
|
28
35
|
export default meta;
|
|
@@ -32,66 +39,92 @@ export const Default = {
|
|
|
32
39
|
const allStatesData = [
|
|
33
40
|
{
|
|
34
41
|
name: 'User Onboarding',
|
|
35
|
-
description: 'Implement guided onboarding wizard',
|
|
42
|
+
description: 'Implement guided onboarding wizard with step-by-step tutorial',
|
|
36
43
|
featureId: '',
|
|
37
44
|
lifecycle: 'requirements',
|
|
38
45
|
state: 'creating',
|
|
39
46
|
progress: 0,
|
|
40
47
|
repositoryPath: '/home/user/my-repo',
|
|
48
|
+
repositoryName: 'my-repo',
|
|
41
49
|
branch: '',
|
|
42
50
|
},
|
|
43
51
|
{
|
|
44
52
|
name: 'Auth Module',
|
|
45
|
-
description: 'Implement OAuth2 authentication flow',
|
|
46
|
-
featureId: '
|
|
53
|
+
description: 'Implement OAuth2 authentication flow with SSO support',
|
|
54
|
+
featureId: '11111111-1111-1111-1111-111111111111',
|
|
47
55
|
lifecycle: 'implementation',
|
|
48
56
|
state: 'running',
|
|
49
57
|
progress: 45,
|
|
50
58
|
agentType: 'claude-code',
|
|
51
59
|
modelId: 'claude-sonnet-4-6',
|
|
52
60
|
repositoryPath: '/home/user/my-repo',
|
|
61
|
+
repositoryName: 'my-repo',
|
|
53
62
|
branch: 'feat/auth-module',
|
|
63
|
+
worktreePath: '/home/user/.shep/repos/abc123/wt/feat-auth-module',
|
|
64
|
+
hasAgentRun: true,
|
|
65
|
+
hasPlan: true,
|
|
66
|
+
deployment: { status: DeploymentState.Ready, url: 'http://localhost:3001' },
|
|
54
67
|
},
|
|
55
68
|
{
|
|
56
69
|
name: 'API Rate Limiting',
|
|
57
|
-
description: 'Implement sliding window rate limiting for public
|
|
58
|
-
featureId: '
|
|
70
|
+
description: 'Implement sliding window rate limiting for public endpoints',
|
|
71
|
+
featureId: '22222222-2222-2222-2222-222222222222',
|
|
59
72
|
lifecycle: 'requirements',
|
|
60
73
|
state: 'action-required',
|
|
61
74
|
progress: 22,
|
|
62
75
|
agentType: 'claude-code',
|
|
63
76
|
modelId: 'claude-sonnet-4-6',
|
|
64
77
|
repositoryPath: '/home/user/my-repo',
|
|
78
|
+
repositoryName: 'my-repo',
|
|
65
79
|
branch: 'feat/api-rate-limiting',
|
|
80
|
+
worktreePath: '/home/user/.shep/repos/abc123/wt/feat-api-rate-limiting',
|
|
81
|
+
hasAgentRun: true,
|
|
82
|
+
hasPlan: true,
|
|
66
83
|
},
|
|
67
84
|
{
|
|
68
85
|
name: 'Data Pipeline',
|
|
69
86
|
description: 'ETL pipeline for analytics dashboard',
|
|
70
|
-
featureId: '
|
|
87
|
+
featureId: '33333333-3333-3333-3333-333333333333',
|
|
71
88
|
lifecycle: 'implementation',
|
|
72
89
|
state: 'action-required',
|
|
73
90
|
progress: 40,
|
|
74
91
|
agentType: 'cursor',
|
|
75
92
|
modelId: 'claude-opus-4-6',
|
|
76
93
|
repositoryPath: '/home/user/my-repo',
|
|
94
|
+
repositoryName: 'my-repo',
|
|
77
95
|
branch: 'feat/data-pipeline',
|
|
96
|
+
worktreePath: '/home/user/.shep/repos/abc123/wt/feat-data-pipeline',
|
|
97
|
+
hasAgentRun: true,
|
|
98
|
+
hasPlan: true,
|
|
99
|
+
deployment: { status: DeploymentState.Booting },
|
|
78
100
|
},
|
|
79
101
|
{
|
|
80
102
|
name: 'Merge Review',
|
|
81
103
|
description: 'PR ready for merge approval',
|
|
82
|
-
featureId: '
|
|
104
|
+
featureId: '44444444-4444-4444-4444-444444444444',
|
|
83
105
|
lifecycle: 'review',
|
|
84
106
|
state: 'action-required',
|
|
85
107
|
progress: 90,
|
|
86
108
|
agentType: 'gemini-cli',
|
|
87
109
|
modelId: 'gemini-2.5-pro',
|
|
88
110
|
repositoryPath: '/home/user/my-repo',
|
|
111
|
+
repositoryName: 'my-repo',
|
|
89
112
|
branch: 'feat/merge-review',
|
|
113
|
+
worktreePath: '/home/user/.shep/repos/abc123/wt/feat-merge-review',
|
|
114
|
+
hasAgentRun: true,
|
|
115
|
+
hasPlan: true,
|
|
116
|
+
pr: {
|
|
117
|
+
url: 'https://github.com/user/my-repo/pull/87',
|
|
118
|
+
number: 87,
|
|
119
|
+
status: PrStatus.Open,
|
|
120
|
+
ciStatus: CiStatus.Success,
|
|
121
|
+
mergeable: true,
|
|
122
|
+
},
|
|
90
123
|
},
|
|
91
124
|
{
|
|
92
125
|
name: 'Payment Gateway',
|
|
93
126
|
description: 'Stripe integration for subscriptions',
|
|
94
|
-
featureId: '
|
|
127
|
+
featureId: '55555555-5555-5555-5555-555555555555',
|
|
95
128
|
lifecycle: 'deploy',
|
|
96
129
|
state: 'done',
|
|
97
130
|
progress: 100,
|
|
@@ -99,12 +132,24 @@ const allStatesData = [
|
|
|
99
132
|
agentType: 'claude-code',
|
|
100
133
|
modelId: 'claude-sonnet-4-6',
|
|
101
134
|
repositoryPath: '/home/user/my-repo',
|
|
135
|
+
repositoryName: 'my-repo',
|
|
102
136
|
branch: 'feat/payment-gateway',
|
|
137
|
+
worktreePath: '/home/user/.shep/repos/abc123/wt/feat-payment-gateway',
|
|
138
|
+
fastMode: true,
|
|
139
|
+
hasAgentRun: true,
|
|
140
|
+
hasPlan: true,
|
|
141
|
+
pr: {
|
|
142
|
+
url: 'https://github.com/user/my-repo/pull/85',
|
|
143
|
+
number: 85,
|
|
144
|
+
status: PrStatus.Merged,
|
|
145
|
+
ciStatus: CiStatus.Success,
|
|
146
|
+
},
|
|
147
|
+
deployment: { status: DeploymentState.Ready, url: 'http://localhost:3002' },
|
|
103
148
|
},
|
|
104
149
|
{
|
|
105
150
|
name: 'Search Index',
|
|
106
151
|
description: 'Elasticsearch full-text search setup',
|
|
107
|
-
featureId: '
|
|
152
|
+
featureId: '66666666-6666-6666-6666-666666666666',
|
|
108
153
|
lifecycle: 'implementation',
|
|
109
154
|
state: 'blocked',
|
|
110
155
|
progress: 20,
|
|
@@ -112,40 +157,61 @@ const allStatesData = [
|
|
|
112
157
|
agentType: 'claude-code',
|
|
113
158
|
modelId: 'claude-opus-4-6',
|
|
114
159
|
repositoryPath: '/home/user/my-repo',
|
|
160
|
+
repositoryName: 'my-repo',
|
|
115
161
|
branch: 'feat/search-index',
|
|
162
|
+
worktreePath: '/home/user/.shep/repos/abc123/wt/feat-search-index',
|
|
163
|
+
hasAgentRun: true,
|
|
164
|
+
hasPlan: true,
|
|
116
165
|
},
|
|
117
166
|
{
|
|
118
167
|
name: 'Email Service',
|
|
119
168
|
description: 'Transactional email with SendGrid',
|
|
120
|
-
featureId: '
|
|
169
|
+
featureId: '77777777-7777-7777-7777-777777777777',
|
|
121
170
|
lifecycle: 'review',
|
|
122
171
|
state: 'error',
|
|
123
172
|
progress: 30,
|
|
124
|
-
errorMessage: 'Build failed:
|
|
125
|
-
agentType: '
|
|
126
|
-
modelId: '
|
|
173
|
+
errorMessage: 'Build failed: Cannot find module @sendgrid/mail',
|
|
174
|
+
agentType: 'aider',
|
|
175
|
+
modelId: 'claude-sonnet-4-6',
|
|
127
176
|
repositoryPath: '/home/user/my-repo',
|
|
177
|
+
repositoryName: 'my-repo',
|
|
128
178
|
branch: 'feat/email-service',
|
|
179
|
+
worktreePath: '/home/user/.shep/repos/abc123/wt/feat-email-service',
|
|
180
|
+
hasAgentRun: true,
|
|
181
|
+
hasPlan: true,
|
|
182
|
+
pr: {
|
|
183
|
+
url: 'https://github.com/user/my-repo/pull/86',
|
|
184
|
+
number: 86,
|
|
185
|
+
status: PrStatus.Open,
|
|
186
|
+
ciStatus: CiStatus.Failure,
|
|
187
|
+
},
|
|
188
|
+
onRetry: fn(),
|
|
129
189
|
},
|
|
130
190
|
{
|
|
131
191
|
name: 'Notification Service',
|
|
132
192
|
description: 'Push notification integration',
|
|
133
|
-
featureId: '
|
|
193
|
+
featureId: '88888888-8888-8888-8888-888888888888',
|
|
134
194
|
lifecycle: 'pending',
|
|
135
195
|
state: 'pending',
|
|
136
196
|
progress: 0,
|
|
137
197
|
repositoryPath: '/home/user/my-repo',
|
|
198
|
+
repositoryName: 'my-repo',
|
|
138
199
|
branch: 'feat/notification-service',
|
|
200
|
+
onStart: fn(),
|
|
139
201
|
},
|
|
140
202
|
{
|
|
141
203
|
name: 'Legacy API Cleanup',
|
|
142
204
|
description: 'Remove deprecated REST endpoints',
|
|
143
|
-
featureId: '
|
|
205
|
+
featureId: '99999999-9999-9999-9999-999999999999',
|
|
144
206
|
lifecycle: 'implementation',
|
|
145
207
|
state: 'deleting',
|
|
146
208
|
progress: 0,
|
|
147
209
|
repositoryPath: '/home/user/my-repo',
|
|
210
|
+
repositoryName: 'my-repo',
|
|
148
211
|
branch: 'feat/legacy-api-cleanup',
|
|
212
|
+
worktreePath: '/home/user/.shep/repos/abc123/wt/feat-legacy-api-cleanup',
|
|
213
|
+
agentType: 'claude-code',
|
|
214
|
+
hasAgentRun: true,
|
|
149
215
|
},
|
|
150
216
|
];
|
|
151
217
|
export const AllStates = {
|
package/dist/src/presentation/web/components/common/repository-node/repository-node.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repository-node.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/repository-node/repository-node.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"repository-node.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/repository-node/repository-node.tsx"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAQnE,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,kBAAkB,CAAC;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,2CAmd5F"}
|