@shepai/cli 1.116.3-pr373.2304074 → 1.116.3-pr375.ea5b2a2
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/SdlcLifecycle.yaml +0 -1
- package/apis/json-schema/WorkflowConfig.yaml +0 -6
- package/dist/packages/core/src/application/use-cases/features/create/create-feature.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/features/create/create-feature.use-case.js +8 -17
- package/dist/packages/core/src/application/use-cases/features/create/types.d.ts +0 -2
- package/dist/packages/core/src/application/use-cases/features/create/types.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/features/resume-feature.use-case.d.ts +3 -1
- package/dist/packages/core/src/application/use-cases/features/resume-feature.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/features/resume-feature.use-case.js +4 -2
- package/dist/packages/core/src/domain/generated/output.d.ts +0 -47
- package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
- package/dist/packages/core/src/domain/generated/output.js +0 -1
- package/dist/packages/core/src/domain/lifecycle-gates.d.ts +0 -3
- package/dist/packages/core/src/domain/lifecycle-gates.d.ts.map +1 -1
- package/dist/packages/core/src/domain/lifecycle-gates.js +0 -3
- package/dist/packages/core/src/infrastructure/di/container.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/di/container.js +0 -5
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts +0 -7
- 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 +0 -44
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations.js +6 -15
- 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 +0 -15
- package/dist/packages/core/src/infrastructure/services/agents/analyze-repo/analyze-repository-graph.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/analyze-repo/analyze-repository-graph.js +0 -15
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.d.ts +1 -11
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.js +3 -42
- package/dist/src/presentation/cli/commands/feat/index.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/feat/index.js +0 -2
- package/dist/src/presentation/cli/commands/feat/ls.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/feat/ls.command.js +0 -3
- package/dist/src/presentation/cli/commands/feat/new.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/feat/new.command.js +1 -9
- package/dist/src/presentation/web/app/actions/approve-feature.d.ts.map +1 -1
- package/dist/src/presentation/web/app/actions/approve-feature.js +9 -0
- package/dist/src/presentation/web/app/actions/create-feature.d.ts +0 -2
- package/dist/src/presentation/web/app/actions/create-feature.d.ts.map +1 -1
- package/dist/src/presentation/web/app/actions/create-feature.js +1 -3
- package/dist/src/presentation/web/app/actions/reject-feature.d.ts.map +1 -1
- package/dist/src/presentation/web/app/actions/reject-feature.js +9 -0
- package/dist/src/presentation/web/app/api/agent-events/route.d.ts.map +1 -1
- package/dist/src/presentation/web/app/api/agent-events/route.js +0 -1
- package/dist/src/presentation/web/components/common/base-drawer/base-drawer.js +1 -1
- package/dist/src/presentation/web/components/common/base-drawer/base-drawer.stories.js +1 -1
- package/dist/src/presentation/web/components/common/control-center-drawer/feature-drawer-client.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/control-center-drawer/feature-drawer-client.js +1 -20
- package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.d.ts +0 -2
- package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.js +2 -6
- package/dist/src/presentation/web/components/common/feature-node/derive-feature-state.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-node/derive-feature-state.js +0 -6
- package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts +2 -3
- 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 +1 -13
- 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 +3 -12
- package/dist/src/presentation/web/components/common/feature-node/feature-node.stories.d.ts +0 -2
- 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 +2 -36
- 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 +1 -3
- package/dist/src/presentation/web/components/features/control-center/use-control-center-state.d.ts +0 -1
- 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 +0 -23
- 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 +2 -75
- package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.d.ts +0 -1
- 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 +0 -23
- package/dist/src/presentation/web/components/features/settings/workflow-settings-section.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/workflow-settings-section.js +2 -97
- package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.js +0 -22
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.d.ts.map +1 -1
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.js +2 -2
- package/dist/src/presentation/web/hooks/sidebar-features-context.d.ts.map +1 -1
- package/dist/src/presentation/web/hooks/sidebar-features-context.js +0 -1
- package/dist/src/presentation/web/hooks/use-graph-state.d.ts.map +1 -1
- package/dist/src/presentation/web/hooks/use-graph-state.js +0 -1
- package/dist/src/presentation/web/lib/derive-graph.d.ts +0 -2
- package/dist/src/presentation/web/lib/derive-graph.d.ts.map +1 -1
- package/dist/src/presentation/web/lib/derive-graph.js +0 -5
- 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 +6 -6
- 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 -6
- package/web/.next/server/app/(dashboard)/@drawer/create/page/build-manifest.json +4 -4
- package/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +40 -55
- package/web/.next/server/app/(dashboard)/@drawer/create/page.js +1 -1
- 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/build-manifest.json +4 -4
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/server-reference-manifest.json +52 -67
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js +1 -1
- 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/build-manifest.json +4 -4
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/server-reference-manifest.json +52 -67
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js +1 -1
- 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/build-manifest.json +4 -4
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +36 -51
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js +1 -1
- 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/build-manifest.json +4 -4
- package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +40 -55
- package/web/.next/server/app/(dashboard)/create/page.js +1 -1
- 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/build-manifest.json +4 -4
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/server-reference-manifest.json +52 -67
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js +1 -1
- 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/build-manifest.json +4 -4
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page/server-reference-manifest.json +52 -67
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js +1 -1
- 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/build-manifest.json +4 -4
- package/web/.next/server/app/(dashboard)/page/server-reference-manifest.json +36 -51
- package/web/.next/server/app/(dashboard)/page.js +1 -1
- 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/build-manifest.json +4 -4
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +36 -51
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js +1 -1
- 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/build-manifest.json +4 -4
- 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/build-manifest.json +4 -4
- package/web/.next/server/app/_not-found/page/server-reference-manifest.json +1 -1
- 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/settings/page/build-manifest.json +4 -4
- package/web/.next/server/app/settings/page/server-reference-manifest.json +5 -5
- package/web/.next/server/app/settings/page.js +1 -1
- 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/build-manifest.json +4 -4
- package/web/.next/server/app/skills/page/server-reference-manifest.json +6 -6
- 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/build-manifest.json +4 -4
- package/web/.next/server/app/tools/page/server-reference-manifest.json +6 -6
- 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/build-manifest.json +4 -4
- package/web/.next/server/app/version/page/server-reference-manifest.json +1 -1
- 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/403f9_next_dist_esm_build_templates_app-route_4d623b8e.js +2 -2
- package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_4d623b8e.js.map +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__7d5492a0._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__7d5492a0._.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]__cd67a84c._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.js.map +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_2eacac96.js +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_2eacac96.js.map +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_46d6bf1b.js +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_46d6bf1b.js.map +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_54b1e179.js +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_54b1e179.js.map +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_6c70ecca.js +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_6c70ecca.js.map +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_c29a2302.js +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_c29a2302.js.map +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_c9978986.js +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_c9978986.js.map +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_ce6dae5d.js +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_ce6dae5d.js.map +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_d1fd387b.js +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_d1fd387b.js.map +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_d82f78f0.js +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_d82f78f0.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/7f428_lucide-react_dist_esm_icons_d0119342._.js +3 -0
- package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_d0119342._.js.map +1 -0
- package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_rocket_1575cd4d.js +3 -0
- package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_rocket_1575cd4d.js.map +1 -0
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_a1104008.js +3 -0
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_a1104008.js.map +1 -0
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_92642200.js +3 -0
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_92642200.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__039967e3._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__039967e3._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__07a39ff2._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__07a39ff2._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0880ff0e._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0880ff0e._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__11033878._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__11033878._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__23b5ca2c._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__23b5ca2c._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__24dd0927._.js +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__24dd0927._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__2773312c._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__2773312c._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__52485955._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__5d87af2e._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__5d87af2e._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__5edfc56b._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__5edfc56b._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6367aea0._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6367aea0._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__684a868c._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__684a868c._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6eb2a2b0._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6eb2a2b0._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__19187772._.js → [root-of-the-server]__89e8a5cc._.js} +3 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__89e8a5cc._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__8c88ef55._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__8c88ef55._.js.map +1 -1
- 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]__b1e68e34._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__b1e68e34._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c16bf5de._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c16bf5de._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c9777776._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c9777776._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__cbd8062c._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__cbd8062c._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__e70c5627._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__e70c5627._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__fdc75809._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__fdc75809._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0e506641._.js +7 -0
- package/web/.next/server/chunks/ssr/_0e506641._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_135edb9c._.js +3 -0
- package/web/.next/server/chunks/ssr/_135edb9c._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_16235e5e._.js +1 -1
- package/web/.next/server/chunks/ssr/_16235e5e._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_1bb131c4._.js +3 -0
- package/web/.next/server/chunks/ssr/_1bb131c4._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_250a63ae._.js +1 -1
- package/web/.next/server/chunks/ssr/_250a63ae._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_273d4632._.js +3 -0
- package/web/.next/server/chunks/ssr/_273d4632._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_6887cba3._.js +1 -1
- package/web/.next/server/chunks/ssr/_6887cba3._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_6d26a08f._.js +3 -0
- package/web/.next/server/chunks/ssr/_6d26a08f._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_86617fb9._.js +3 -0
- package/web/.next/server/chunks/ssr/{_a0b23a7c._.js.map → _86617fb9._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_8dacd1e7._.js +1 -1
- package/web/.next/server/chunks/ssr/_8dacd1e7._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_8eeee4db._.js +1 -1
- package/web/.next/server/chunks/ssr/_8eeee4db._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_b5d0b00e._.js +3 -0
- package/web/.next/server/chunks/ssr/_b5d0b00e._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_b5fc318a._.js +3 -0
- package/web/.next/server/chunks/ssr/_b5fc318a._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_cc77a143._.js +3 -0
- package/web/.next/server/chunks/ssr/_cc77a143._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_ed11dcd6._.js +1 -1
- package/web/.next/server/chunks/ssr/_ed11dcd6._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_9f81a163._.js → _f2f36bf9._.js} +2 -2
- package/web/.next/server/chunks/ssr/_f2f36bf9._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_f4d222d6._.js +1 -1
- package/web/.next/server/chunks/ssr/_f4d222d6._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_f5316e67._.js +3 -0
- package/web/.next/server/chunks/ssr/_f5316e67._.js.map +1 -0
- 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__next-internal_server_app_(dashboard)_page_actions_888633e1.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_888633e1.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1fa8042e.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1fa8042e.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_24684200.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_24684200.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_ce7cbc3c._.js +5 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_ce7cbc3c._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_components_bf50c527._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_bf50c527._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_de814675._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_de814675._.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/chunks/ssr/src_presentation_web_e2604413._.js +5 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_e2604413._.js.map +1 -0
- package/web/.next/server/middleware-build-manifest.js +4 -4
- 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 +229 -367
- package/web/.next/static/chunks/{206f677ee9f6dc5d.js → 053b644519f721f1.js} +1 -1
- package/web/.next/static/chunks/121a2e602cb9df92.js +11 -0
- package/web/.next/static/chunks/303a1217006489b9.js +1 -0
- package/web/.next/static/chunks/3a806cf059241bc9.js +1 -0
- package/web/.next/static/chunks/5225e7b93df59de9.js +1 -0
- package/web/.next/static/chunks/57b45edf86522369.css +1 -0
- package/web/.next/static/chunks/619af41a8d3232e5.js +1 -0
- package/web/.next/static/chunks/6770c61692fe5605.js +1 -0
- package/web/.next/static/chunks/763f6ecc4593dc10.js +1 -0
- package/web/.next/static/chunks/84a181ff3270fd9f.js +1 -0
- package/web/.next/static/chunks/{b890d6030441cf27.js → 8c3ff8561102a386.js} +1 -1
- package/web/.next/static/chunks/a1b3371ef3ffd58b.js +2 -0
- package/web/.next/static/chunks/b1f3c0e8e9872ef8.js +1 -0
- package/web/.next/static/chunks/bec349a77c5c5796.js +1 -0
- package/web/.next/static/chunks/e85bcc69a4ceb89e.js +1 -0
- package/web/.next/static/chunks/ed3a602003bcb31b.js +1 -0
- package/web/.next/static/chunks/{c6ad05eb3945ee43.js → f32b896b3ceae18d.js} +2 -2
- package/web/.next/static/chunks/fcde0cbb2976b933.js +1 -0
- package/web/.next/static/chunks/{turbopack-b1685b5f87ad1d60.js → turbopack-426d9bc2450816ba.js} +1 -1
- package/apis/json-schema/AnalyzeRepoTimeouts.yaml +0 -10
- package/apis/json-schema/StageTimeouts.yaml +0 -35
- package/dist/packages/core/src/application/use-cases/features/start-feature.use-case.d.ts +0 -25
- package/dist/packages/core/src/application/use-cases/features/start-feature.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/features/start-feature.use-case.js +0 -116
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/035-add-stage-timeout-ms.d.ts +0 -22
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/035-add-stage-timeout-ms.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/035-add-stage-timeout-ms.js +0 -53
- package/dist/src/presentation/cli/commands/feat/start.command.d.ts +0 -12
- package/dist/src/presentation/cli/commands/feat/start.command.d.ts.map +0 -1
- package/dist/src/presentation/cli/commands/feat/start.command.js +0 -43
- package/dist/src/presentation/web/app/actions/execute-query.d.ts +0 -7
- package/dist/src/presentation/web/app/actions/execute-query.d.ts.map +0 -1
- package/dist/src/presentation/web/app/actions/execute-query.js +0 -55
- package/dist/src/presentation/web/app/actions/get-table-rows.d.ts +0 -10
- package/dist/src/presentation/web/app/actions/get-table-rows.d.ts.map +0 -1
- package/dist/src/presentation/web/app/actions/get-table-rows.js +0 -55
- package/dist/src/presentation/web/app/actions/get-table-schema.d.ts +0 -13
- package/dist/src/presentation/web/app/actions/get-table-schema.d.ts.map +0 -1
- package/dist/src/presentation/web/app/actions/get-table-schema.js +0 -27
- package/dist/src/presentation/web/app/actions/list-tables.d.ts +0 -10
- package/dist/src/presentation/web/app/actions/list-tables.d.ts.map +0 -1
- package/dist/src/presentation/web/app/actions/list-tables.js +0 -19
- package/dist/src/presentation/web/app/actions/start-feature.d.ts +0 -5
- package/dist/src/presentation/web/app/actions/start-feature.d.ts.map +0 -1
- package/dist/src/presentation/web/app/actions/start-feature.js +0 -16
- package/dist/src/presentation/web/app/database/page.d.ts +0 -4
- package/dist/src/presentation/web/app/database/page.d.ts.map +0 -1
- package/dist/src/presentation/web/app/database/page.js +0 -15
- package/dist/src/presentation/web/components/features/database/cell-value-dialog.d.ts +0 -8
- package/dist/src/presentation/web/components/features/database/cell-value-dialog.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/database/cell-value-dialog.js +0 -7
- package/dist/src/presentation/web/components/features/database/cell-value-dialog.stories.d.ts +0 -10
- package/dist/src/presentation/web/components/features/database/cell-value-dialog.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/database/cell-value-dialog.stories.js +0 -48
- package/dist/src/presentation/web/components/features/database/database-page-client.d.ts +0 -13
- package/dist/src/presentation/web/components/features/database/database-page-client.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/database/database-page-client.js +0 -75
- package/dist/src/presentation/web/components/features/database/database-page-client.stories.d.ts +0 -9
- package/dist/src/presentation/web/components/features/database/database-page-client.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/database/database-page-client.stories.js +0 -74
- package/dist/src/presentation/web/components/features/database/query-runner.d.ts +0 -9
- package/dist/src/presentation/web/components/features/database/query-runner.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/database/query-runner.js +0 -53
- package/dist/src/presentation/web/components/features/database/query-runner.stories.d.ts +0 -9
- package/dist/src/presentation/web/components/features/database/query-runner.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/database/query-runner.stories.js +0 -55
- package/dist/src/presentation/web/components/features/database/row-browser.d.ts +0 -11
- package/dist/src/presentation/web/components/features/database/row-browser.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/database/row-browser.js +0 -42
- package/dist/src/presentation/web/components/features/database/row-browser.stories.d.ts +0 -14
- package/dist/src/presentation/web/components/features/database/row-browser.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/database/row-browser.stories.js +0 -120
- package/dist/src/presentation/web/components/features/database/schema-viewer.d.ts +0 -7
- package/dist/src/presentation/web/components/features/database/schema-viewer.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/database/schema-viewer.js +0 -13
- package/dist/src/presentation/web/components/features/database/schema-viewer.stories.d.ts +0 -11
- package/dist/src/presentation/web/components/features/database/schema-viewer.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/database/schema-viewer.stories.js +0 -67
- package/dist/src/presentation/web/components/features/database/table-list.d.ts +0 -8
- package/dist/src/presentation/web/components/features/database/table-list.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/database/table-list.js +0 -17
- package/dist/src/presentation/web/components/features/database/table-list.stories.d.ts +0 -10
- package/dist/src/presentation/web/components/features/database/table-list.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/database/table-list.stories.js +0 -66
- package/dist/src/presentation/web/components/features/settings/timeout-slider.d.ts +0 -11
- package/dist/src/presentation/web/components/features/settings/timeout-slider.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/settings/timeout-slider.js +0 -63
- package/dist/src/presentation/web/components/features/settings/timeout-slider.stories.d.ts +0 -10
- package/dist/src/presentation/web/components/features/settings/timeout-slider.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/settings/timeout-slider.stories.js +0 -24
- package/dist/src/presentation/web/components/ui/slider.d.ts +0 -5
- package/dist/src/presentation/web/components/ui/slider.d.ts.map +0 -1
- package/dist/src/presentation/web/components/ui/slider.js +0 -10
- package/dist/src/presentation/web/components/ui/slider.stories.d.ts +0 -7
- package/dist/src/presentation/web/components/ui/slider.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/ui/slider.stories.js +0 -15
- package/dist/src/presentation/web/components/ui/table.d.ts +0 -11
- package/dist/src/presentation/web/components/ui/table.d.ts.map +0 -1
- package/dist/src/presentation/web/components/ui/table.js +0 -28
- package/dist/src/presentation/web/lib/server-db.d.ts +0 -16
- package/dist/src/presentation/web/lib/server-db.d.ts.map +0 -1
- package/dist/src/presentation/web/lib/server-db.js +0 -10
- package/dist/src/presentation/web/lib/sql-validation.d.ts +0 -7
- package/dist/src/presentation/web/lib/sql-validation.d.ts.map +0 -1
- package/dist/src/presentation/web/lib/sql-validation.js +0 -17
- package/web/.next/server/app/database/page/app-paths-manifest.json +0 -3
- package/web/.next/server/app/database/page/build-manifest.json +0 -18
- package/web/.next/server/app/database/page/next-font-manifest.json +0 -6
- package/web/.next/server/app/database/page/react-loadable-manifest.json +0 -1
- package/web/.next/server/app/database/page/server-reference-manifest.json +0 -80
- package/web/.next/server/app/database/page.js +0 -16
- package/web/.next/server/app/database/page.js.map +0 -5
- package/web/.next/server/app/database/page.js.nft.json +0 -1
- package/web/.next/server/app/database/page_client-reference-manifest.js +0 -2
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_ed372306.js +0 -3
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_ed372306.js.map +0 -1
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_32e26434.js +0 -3
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_32e26434.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__172d9576._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__172d9576._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__19187772._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__29958296._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__29958296._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__2a5592d5._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__2a5592d5._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__2d3ecc16._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__2d3ecc16._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__590dfc34._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__590dfc34._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6aae816d._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6aae816d._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__930c8634._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__930c8634._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a93289b0._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a93289b0._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__ac0304e7._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__ac0304e7._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_0e6034fc._.js +0 -3
- package/web/.next/server/chunks/ssr/_0e6034fc._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_34ba40e0._.js +0 -3
- package/web/.next/server/chunks/ssr/_34ba40e0._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_43997634._.js +0 -3
- package/web/.next/server/chunks/ssr/_43997634._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_5b809cd2._.js +0 -4
- package/web/.next/server/chunks/ssr/_5b809cd2._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_6552e0aa._.js +0 -3
- package/web/.next/server/chunks/ssr/_6552e0aa._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_78be8103._.js +0 -3
- package/web/.next/server/chunks/ssr/_78be8103._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_95f78b9e._.js +0 -3
- package/web/.next/server/chunks/ssr/_95f78b9e._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_9f81a163._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_a0b23a7c._.js +0 -3
- package/web/.next/server/chunks/ssr/_ad5819d0._.js +0 -3
- package/web/.next/server/chunks/ssr/_ad5819d0._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_e35fc15d._.js +0 -3
- package/web/.next/server/chunks/ssr/_e35fc15d._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_e4923d09._.js +0 -7
- package/web/.next/server/chunks/ssr/_e4923d09._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_f38b49fe._.js +0 -3
- package/web/.next/server/chunks/ssr/_f38b49fe._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_f9959908._.js +0 -3
- package/web/.next/server/chunks/ssr/_f9959908._.js.map +0 -1
- package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_database_database-page-client_tsx_b853607a._.js +0 -3
- package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_database_database-page-client_tsx_b853607a._.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules__pnpm_8b0ea744._.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules__pnpm_8b0ea744._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_0835b28e._.js +0 -5
- package/web/.next/server/chunks/ssr/src_presentation_web_0835b28e._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_e99d78dd.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_e99d78dd.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_ui_scroll-area_tsx_53ae5be7._.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web_components_ui_scroll-area_tsx_53ae5be7._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_e8034a29._.js +0 -5
- package/web/.next/server/chunks/ssr/src_presentation_web_e8034a29._.js.map +0 -1
- package/web/.next/static/chunks/1bee2061703e096e.js +0 -1
- package/web/.next/static/chunks/40b6bcf1a2de4a0f.js +0 -1
- package/web/.next/static/chunks/4395a53ed15eef72.js +0 -1
- package/web/.next/static/chunks/57f503ca6caf30d1.js +0 -1
- package/web/.next/static/chunks/5b305e0321c90039.js +0 -1
- package/web/.next/static/chunks/692a746daf1778d6.js +0 -1
- package/web/.next/static/chunks/78334cf5381241fe.css +0 -1
- package/web/.next/static/chunks/7d61f552216da1a2.js +0 -1
- package/web/.next/static/chunks/958828e09daddad9.js +0 -1
- package/web/.next/static/chunks/a659cdb17ae65f2e.js +0 -1
- package/web/.next/static/chunks/ac9e29ce89401022.js +0 -11
- package/web/.next/static/chunks/c20537d1fd9f2494.js +0 -1
- package/web/.next/static/chunks/c2c0d4e71c36199f.js +0 -1
- package/web/.next/static/chunks/c7e793951b20a67f.js +0 -1
- package/web/.next/static/chunks/d647189ea3b87ed4.js +0 -1
- package/web/.next/static/chunks/f8bf91061681f06c.js +0 -1
- package/web/.next/static/chunks/fc0fb1f7061949ef.js +0 -2
- /package/web/.next/static/{7el9fE5_x45gdlg69l1-h → Ci7i00ReHDH8Xv9NQW3By}/_buildManifest.js +0 -0
- /package/web/.next/static/{7el9fE5_x45gdlg69l1-h → Ci7i00ReHDH8Xv9NQW3By}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{7el9fE5_x45gdlg69l1-h → Ci7i00ReHDH8Xv9NQW3By}/_ssgManifest.js +0 -0
package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.d.ts
CHANGED
|
@@ -23,20 +23,10 @@ export type NodeLogger = ReturnType<typeof createNodeLogger>;
|
|
|
23
23
|
* Safely read a file from the spec directory. Returns empty string if file doesn't exist.
|
|
24
24
|
*/
|
|
25
25
|
export declare function readSpecFile(specDir: string, filename: string): string;
|
|
26
|
-
/**
|
|
27
|
-
* Resolve the timeout for a specific stage.
|
|
28
|
-
* Reads per-stage timeout from settings (workflow.stageTimeouts.<stage>Ms),
|
|
29
|
-
* falling back to DEFAULT_STAGE_TIMEOUT_MS when not configured.
|
|
30
|
-
*/
|
|
31
|
-
export declare function getStageTimeoutMs(nodeName: string): number;
|
|
32
26
|
/**
|
|
33
27
|
* Build executor options with cwd. Each node gets a clean agent context.
|
|
34
|
-
* The timeout is resolved per-stage from settings (workflow.stageTimeouts)
|
|
35
|
-
* with a fallback to DEFAULT_STAGE_TIMEOUT_MS (10 min).
|
|
36
|
-
*
|
|
37
|
-
* When no `nodeName` is provided, the current node from state is used.
|
|
38
28
|
*/
|
|
39
|
-
export declare function buildExecutorOptions(state: FeatureAgentState, overrides?: Partial<Pick<AgentExecutionOptions, 'timeout'
|
|
29
|
+
export declare function buildExecutorOptions(state: FeatureAgentState, overrides?: Partial<Pick<AgentExecutionOptions, 'timeout'>>): AgentExecutionOptions;
|
|
40
30
|
/**
|
|
41
31
|
* Parse YAML with automatic sanitization of common AI-generated issues.
|
|
42
32
|
* First attempts normal parsing; on failure, sanitizes unquoted braces
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-helpers.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,OAAO,KAAK,EACV,cAAc,EACd,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,+DAA+D,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"node-helpers.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,OAAO,KAAK,EACV,cAAc,EACd,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,+DAA+D,C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AC,KAAK,EAAE,iBAAiB,KAAK,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAqHnE"}
|
package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.js
CHANGED
|
@@ -8,7 +8,6 @@ import yaml from 'js-yaml';
|
|
|
8
8
|
import { readFileSync, writeFileSync, renameSync, unlinkSync } from 'node:fs';
|
|
9
9
|
import { join } from 'node:path';
|
|
10
10
|
import { interrupt, isGraphBubbleUp } from '@langchain/langgraph';
|
|
11
|
-
import { hasSettings, getSettings } from '../../../../services/settings.service.js';
|
|
12
11
|
import { reportNodeStart } from '../heartbeat.js';
|
|
13
12
|
import { recordPhaseStart, recordPhaseEnd, recordApprovalWaitStart, } from '../phase-timing-context.js';
|
|
14
13
|
import { updateNodeLifecycle } from '../lifecycle-context.js';
|
|
@@ -45,52 +44,14 @@ export function readSpecFile(specDir, filename) {
|
|
|
45
44
|
return '';
|
|
46
45
|
}
|
|
47
46
|
}
|
|
48
|
-
/** Default timeout per agent call (30 minutes) — prevents infinite hangs. */
|
|
49
|
-
const DEFAULT_STAGE_TIMEOUT_MS = 1_800_000;
|
|
50
|
-
/**
|
|
51
|
-
* Map from node name to the corresponding StageTimeouts field.
|
|
52
|
-
* `fast-implement` reuses the implement timeout; `evidence` also reuses implement.
|
|
53
|
-
*/
|
|
54
|
-
const STAGE_TIMEOUT_KEY = {
|
|
55
|
-
analyze: 'analyzeMs',
|
|
56
|
-
requirements: 'requirementsMs',
|
|
57
|
-
research: 'researchMs',
|
|
58
|
-
plan: 'planMs',
|
|
59
|
-
implement: 'implementMs',
|
|
60
|
-
'fast-implement': 'implementMs',
|
|
61
|
-
evidence: 'implementMs',
|
|
62
|
-
merge: 'mergeMs',
|
|
63
|
-
};
|
|
64
|
-
/**
|
|
65
|
-
* Resolve the timeout for a specific stage.
|
|
66
|
-
* Reads per-stage timeout from settings (workflow.stageTimeouts.<stage>Ms),
|
|
67
|
-
* falling back to DEFAULT_STAGE_TIMEOUT_MS when not configured.
|
|
68
|
-
*/
|
|
69
|
-
export function getStageTimeoutMs(nodeName) {
|
|
70
|
-
if (!hasSettings())
|
|
71
|
-
return DEFAULT_STAGE_TIMEOUT_MS;
|
|
72
|
-
const timeouts = getSettings().workflow?.stageTimeouts;
|
|
73
|
-
if (!timeouts)
|
|
74
|
-
return DEFAULT_STAGE_TIMEOUT_MS;
|
|
75
|
-
const key = STAGE_TIMEOUT_KEY[nodeName];
|
|
76
|
-
if (!key)
|
|
77
|
-
return DEFAULT_STAGE_TIMEOUT_MS;
|
|
78
|
-
return timeouts[key] ?? DEFAULT_STAGE_TIMEOUT_MS;
|
|
79
|
-
}
|
|
80
47
|
/**
|
|
81
48
|
* Build executor options with cwd. Each node gets a clean agent context.
|
|
82
|
-
* The timeout is resolved per-stage from settings (workflow.stageTimeouts)
|
|
83
|
-
* with a fallback to DEFAULT_STAGE_TIMEOUT_MS (10 min).
|
|
84
|
-
*
|
|
85
|
-
* When no `nodeName` is provided, the current node from state is used.
|
|
86
49
|
*/
|
|
87
|
-
export function buildExecutorOptions(state, overrides
|
|
88
|
-
const stage = nodeName ?? state.currentNode ?? '';
|
|
89
|
-
const stageTimeout = getStageTimeoutMs(stage);
|
|
50
|
+
export function buildExecutorOptions(state, overrides) {
|
|
90
51
|
return {
|
|
91
52
|
cwd: state.worktreePath || state.repositoryPath,
|
|
92
53
|
maxTurns: 5000,
|
|
93
|
-
timeout:
|
|
54
|
+
timeout: 1_800_000, // 30 minutes per agent call — prevents infinite hangs
|
|
94
55
|
...(state.model ? { model: state.model } : {}),
|
|
95
56
|
...overrides,
|
|
96
57
|
};
|
|
@@ -412,7 +373,7 @@ export function executeNode(nodeName, executor, buildPrompt) {
|
|
|
412
373
|
try {
|
|
413
374
|
const resumePrefix = buildResumeContext(state.resumeReason);
|
|
414
375
|
const prompt = resumePrefix + buildPrompt(state, log);
|
|
415
|
-
const options = buildExecutorOptions(state
|
|
376
|
+
const options = buildExecutorOptions(state);
|
|
416
377
|
log.info(`Executing agent at cwd=${options.cwd}`);
|
|
417
378
|
log.info(`Prompt length: ${prompt.length} chars`);
|
|
418
379
|
const result = await executor.execute(prompt, options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAWpC;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAY3C"}
|
|
@@ -15,7 +15,6 @@ import { createLsCommand } from './ls.command.js';
|
|
|
15
15
|
import { createShowCommand } from './show.command.js';
|
|
16
16
|
import { createDelCommand } from './del.command.js';
|
|
17
17
|
import { createResumeCommand } from './resume.command.js';
|
|
18
|
-
import { createStartCommand } from './start.command.js';
|
|
19
18
|
import { createReviewCommand } from './review.command.js';
|
|
20
19
|
import { createApproveCommand } from './approve.command.js';
|
|
21
20
|
import { createRejectCommand } from './reject.command.js';
|
|
@@ -31,7 +30,6 @@ export function createFeatCommand() {
|
|
|
31
30
|
.addCommand(createShowCommand())
|
|
32
31
|
.addCommand(createDelCommand())
|
|
33
32
|
.addCommand(createResumeCommand())
|
|
34
|
-
.addCommand(createStartCommand())
|
|
35
33
|
.addCommand(createReviewCommand())
|
|
36
34
|
.addCommand(createApproveCommand())
|
|
37
35
|
.addCommand(createRejectCommand())
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ls.command.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/ls.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"ls.command.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/ls.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAyKpC,wBAAgB,eAAe,IAAI,OAAO,CAsGzC"}
|
|
@@ -54,9 +54,6 @@ function formatStatus(feature, run) {
|
|
|
54
54
|
if (feature.lifecycle === 'Blocked') {
|
|
55
55
|
return `${colors.warning(symbols.dotEmpty)} ${colors.warning('Blocked')}`;
|
|
56
56
|
}
|
|
57
|
-
if (feature.lifecycle === 'Pending') {
|
|
58
|
-
return `${colors.muted(symbols.dotEmpty)} ${colors.muted('Pending')}`;
|
|
59
|
-
}
|
|
60
57
|
if (!run) {
|
|
61
58
|
return `${colors.muted(symbols.dotEmpty)} ${colors.muted(feature.lifecycle)}`;
|
|
62
59
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"new.command.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/new.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"new.command.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/new.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA4DpC;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CAwI1C"}
|
|
@@ -55,7 +55,6 @@ export function createNewCommand() {
|
|
|
55
55
|
.option('--allow-merge', 'Auto-approve merge phase')
|
|
56
56
|
.option('--allow-all', 'Run fully autonomous (no approval pauses)')
|
|
57
57
|
.option('--parent <fid>', 'Parent feature ID (full or partial prefix)')
|
|
58
|
-
.option('--pending', 'Create feature without starting the agent')
|
|
59
58
|
.option('--fast', 'Skip SDLC phases and implement directly from your prompt')
|
|
60
59
|
.option('--model <model>', 'LLM model identifier for this run (e.g. claude-opus-4-6)')
|
|
61
60
|
.option('--attach <path>', 'Attach a file (repeatable)', collect, [])
|
|
@@ -114,7 +113,6 @@ export function createNewCommand() {
|
|
|
114
113
|
push,
|
|
115
114
|
openPr,
|
|
116
115
|
...(parentId !== undefined && { parentId }),
|
|
117
|
-
...(options.pending && { pending: true }),
|
|
118
116
|
...(options.fast && { fast: true }),
|
|
119
117
|
...(options.model !== undefined && { model: options.model }),
|
|
120
118
|
...(attachmentPaths.length > 0 && { attachmentPaths }),
|
|
@@ -131,9 +129,6 @@ export function createNewCommand() {
|
|
|
131
129
|
if (feature.lifecycle === SdlcLifecycle.Blocked) {
|
|
132
130
|
messages.info(`Feature created in Blocked state — waiting for parent to reach Implementation`);
|
|
133
131
|
}
|
|
134
|
-
if (feature.lifecycle === SdlcLifecycle.Pending) {
|
|
135
|
-
messages.info(`Feature created in Pending state — run ${colors.accent(`shep feat start ${feature.id.slice(0, 8)}`)} to begin`);
|
|
136
|
-
}
|
|
137
132
|
console.log(` ${colors.muted('ID:')} ${colors.accent(feature.id)}`);
|
|
138
133
|
console.log(` ${colors.muted('Name:')} ${feature.name}`);
|
|
139
134
|
console.log(` ${colors.muted('Branch:')} ${colors.accent(feature.branch)}`);
|
|
@@ -143,10 +138,7 @@ export function createNewCommand() {
|
|
|
143
138
|
console.log(` ${colors.muted('Spec:')} ${feature.specPath}`);
|
|
144
139
|
}
|
|
145
140
|
if (feature.agentRunId) {
|
|
146
|
-
|
|
147
|
-
? colors.muted('pending')
|
|
148
|
-
: colors.success('spawned');
|
|
149
|
-
console.log(` ${colors.muted('Agent:')} ${agentStatus} (run ${feature.agentRunId.slice(0, 8)})`);
|
|
141
|
+
console.log(` ${colors.muted('Agent:')} ${colors.success('spawned')} (run ${feature.agentRunId.slice(0, 8)})`);
|
|
150
142
|
}
|
|
151
143
|
if (push || openPr) {
|
|
152
144
|
const pushHint = openPr ? 'push + PR' : 'push only';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"approve-feature.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/actions/approve-feature.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"approve-feature.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/actions/approve-feature.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAK/E,wBAAsB,cAAc,CAClC,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,kBAAkB,GAC3B,OAAO,CAAC;IAAE,QAAQ,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAsChD"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
'use server';
|
|
2
2
|
import { resolve } from '../../lib/server-container.js';
|
|
3
|
+
import { AgentRunStatus } from '../../../../../packages/core/src/domain/generated/output.js';
|
|
4
|
+
const ERROR_STATUSES = new Set([AgentRunStatus.failed, AgentRunStatus.interrupted]);
|
|
3
5
|
export async function approveFeature(featureId, payload) {
|
|
4
6
|
if (!featureId.trim()) {
|
|
5
7
|
return { approved: false, error: 'Feature id is required' };
|
|
@@ -13,6 +15,13 @@ export async function approveFeature(featureId, payload) {
|
|
|
13
15
|
if (!feature.agentRunId) {
|
|
14
16
|
return { approved: false, error: 'Feature has no agent run' };
|
|
15
17
|
}
|
|
18
|
+
const runRepo = resolve('IAgentRunRepository');
|
|
19
|
+
const run = await runRepo.findById(feature.agentRunId);
|
|
20
|
+
if (run && ERROR_STATUSES.has(run.status)) {
|
|
21
|
+
const resumeUseCase = resolve('ResumeFeatureUseCase');
|
|
22
|
+
await resumeUseCase.execute(featureId, { promptPrefix: 'User approved. Please continue.' });
|
|
23
|
+
return { approved: true };
|
|
24
|
+
}
|
|
16
25
|
const approveUseCase = resolve('ApproveAgentRunUseCase');
|
|
17
26
|
const result = await approveUseCase.execute(feature.agentRunId, payload);
|
|
18
27
|
if (!result.approved) {
|
|
@@ -18,8 +18,6 @@ interface CreateFeatureInput {
|
|
|
18
18
|
parentId?: string;
|
|
19
19
|
/** When true, skip SDLC phases and implement directly from the prompt. */
|
|
20
20
|
fast?: boolean;
|
|
21
|
-
/** When true, create the feature in pending state (no agent spawned). */
|
|
22
|
-
pending?: boolean;
|
|
23
21
|
/** Optional agent type override for this feature run */
|
|
24
22
|
agentType?: string;
|
|
25
23
|
/** Optional model identifier for this feature run */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-feature.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/actions/create-feature.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAGpE,UAAU,UAAU;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAQD,UAAU,kBAAkB;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE;QACd,QAAQ,EAAE,OAAO,CAAC;QAClB,SAAS,EAAE,OAAO,CAAC;QACnB,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC;IACF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0EAA0E;IAC1E,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,
|
|
1
|
+
{"version":3,"file":"create-feature.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/actions/create-feature.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAGpE,UAAU,UAAU;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAQD,UAAU,kBAAkB;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE;QACd,QAAQ,EAAE,OAAO,CAAC;QAClB,SAAS,EAAE,OAAO,CAAC;QACnB,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC;IACF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0EAA0E;IAC1E,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,wDAAwD;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qDAAqD;IACrD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAsB,aAAa,CACjC,KAAK,EAAE,kBAAkB,GACxB,OAAO,CAAC;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CA4EhD"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { resolve } from '../../lib/server-container.js';
|
|
3
3
|
import { composeUserInput } from './compose-user-input.js';
|
|
4
4
|
export async function createFeature(input) {
|
|
5
|
-
const { description, repositoryPath, attachments, sessionId, approvalGates, push, openPr, parentId, fast,
|
|
5
|
+
const { description, repositoryPath, attachments, sessionId, approvalGates, push, openPr, parentId, fast, agentType, model, } = input;
|
|
6
6
|
if (!description?.trim()) {
|
|
7
7
|
return { error: 'description is required' };
|
|
8
8
|
}
|
|
@@ -27,7 +27,6 @@ export async function createFeature(input) {
|
|
|
27
27
|
...(parentId ? { parentId } : {}),
|
|
28
28
|
description,
|
|
29
29
|
...(fast ? { fast } : {}),
|
|
30
|
-
...(pending ? { pending } : {}),
|
|
31
30
|
...(agentType ? { agentType } : {}),
|
|
32
31
|
...(model ? { model } : {}),
|
|
33
32
|
});
|
|
@@ -42,7 +41,6 @@ export async function createFeature(input) {
|
|
|
42
41
|
openPr: openPr ?? false,
|
|
43
42
|
...(parentId ? { parentId } : {}),
|
|
44
43
|
...(fast ? { fast } : {}),
|
|
45
|
-
...(pending ? { pending } : {}),
|
|
46
44
|
...(agentType ? { agentType } : {}),
|
|
47
45
|
...(model ? { model } : {}),
|
|
48
46
|
...(sessionId ? { sessionId } : {}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reject-feature.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/actions/reject-feature.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"reject-feature.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/actions/reject-feature.ts"],"names":[],"mappings":"AAWA,wBAAsB,aAAa,CACjC,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,WAAW,CAAC,EAAE,MAAM,EAAE,GACrB,OAAO,CAAC;IACT,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC,CA8CD"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
'use server';
|
|
2
2
|
import { resolve } from '../../lib/server-container.js';
|
|
3
|
+
import { AgentRunStatus } from '../../../../../packages/core/src/domain/generated/output.js';
|
|
4
|
+
const ERROR_STATUSES = new Set([AgentRunStatus.failed, AgentRunStatus.interrupted]);
|
|
3
5
|
export async function rejectFeature(featureId, feedback, attachments) {
|
|
4
6
|
if (!featureId.trim()) {
|
|
5
7
|
return { rejected: false, error: 'Feature id is required' };
|
|
@@ -16,6 +18,13 @@ export async function rejectFeature(featureId, feedback, attachments) {
|
|
|
16
18
|
if (!feature.agentRunId) {
|
|
17
19
|
return { rejected: false, error: 'Feature has no agent run' };
|
|
18
20
|
}
|
|
21
|
+
const runRepo = resolve('IAgentRunRepository');
|
|
22
|
+
const run = await runRepo.findById(feature.agentRunId);
|
|
23
|
+
if (run && ERROR_STATUSES.has(run.status)) {
|
|
24
|
+
const resumeUseCase = resolve('ResumeFeatureUseCase');
|
|
25
|
+
await resumeUseCase.execute(featureId, { promptPrefix: feedback });
|
|
26
|
+
return { rejected: true, iteration: 1 };
|
|
27
|
+
}
|
|
19
28
|
const rejectUseCase = resolve('RejectAgentRunUseCase');
|
|
20
29
|
const result = await rejectUseCase.execute(feature.agentRunId, feedback, attachments);
|
|
21
30
|
if (!result.rejected) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/app/api/agent-events/route.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAiBH,eAAO,MAAM,OAAO,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/app/api/agent-events/route.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAiBH,eAAO,MAAM,OAAO,kBAAkB,CAAC;AAqEvC,wBAAgB,GAAG,CAAC,OAAO,EAAE,OAAO,GAAG,QAAQ,CA4R9C"}
|
|
@@ -32,7 +32,7 @@ export const SmallSize = {
|
|
|
32
32
|
};
|
|
33
33
|
/** Medium size with content-rich review-style content. */
|
|
34
34
|
export const MediumSize = {
|
|
35
|
-
render: () => (_jsx(DrawerTrigger, { size: "md", children: _jsxs("div", { className: "flex flex-col gap-4 p-4", children: [_jsx("h3", { className: "text-sm font-semibold", children: "Review Content" }), _jsx("p", { className: "text-muted-foreground text-sm", children: "This drawer uses size=\"md\" (w-
|
|
35
|
+
render: () => (_jsx(DrawerTrigger, { size: "md", children: _jsxs("div", { className: "flex flex-col gap-4 p-4", children: [_jsx("h3", { className: "text-sm font-semibold", children: "Review Content" }), _jsx("p", { className: "text-muted-foreground text-sm", children: "This drawer uses size=\"md\" (w-xl / 576px) for content-rich review panels that need more horizontal space for diff summaries, tables, and code blocks." }), _jsx("div", { className: "bg-muted rounded-md p-3", children: _jsx("pre", { className: "text-xs", children: `+ Added authentication middleware\n- Removed legacy session handler\n Updated user model schema` }) })] }) })),
|
|
36
36
|
};
|
|
37
37
|
/** Modal drawer with overlay. */
|
|
38
38
|
export const Modal = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-drawer-client.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/control-center-drawer/feature-drawer-client.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"feature-drawer-client.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/control-center-drawer/feature-drawer-client.tsx"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAI/D,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,UAAU,CAAC;IACjB,8FAA8F;IAC9F,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB;AAED,wBAAgB,mBAAmB,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,wBAAwB,2CA8iB1F"}
|
package/dist/src/presentation/web/components/common/control-center-drawer/feature-drawer-client.js
CHANGED
|
@@ -6,7 +6,6 @@ import { toast } from 'sonner';
|
|
|
6
6
|
import { Loader2, Trash2, Play, Square, Copy, Check, Code2, ExternalLink } from 'lucide-react';
|
|
7
7
|
import { approveFeature } from '../../../app/actions/approve-feature.js';
|
|
8
8
|
import { resumeFeature } from '../../../app/actions/resume-feature.js';
|
|
9
|
-
import { startFeature } from '../../../app/actions/start-feature.js';
|
|
10
9
|
import { rejectFeature } from '../../../app/actions/reject-feature.js';
|
|
11
10
|
import { getFeatureArtifact } from '../../../app/actions/get-feature-artifact.js';
|
|
12
11
|
import { getResearchArtifact } from '../../../app/actions/get-research-artifact.js';
|
|
@@ -282,20 +281,6 @@ export function FeatureDrawerClient({ view: initialView, urlTab }) {
|
|
|
282
281
|
return { ...prev, node: { ...prev.node, state: 'running' } };
|
|
283
282
|
});
|
|
284
283
|
}, []);
|
|
285
|
-
const handleStart = useCallback(async (featureId) => {
|
|
286
|
-
const result = await startFeature(featureId);
|
|
287
|
-
if (result.error) {
|
|
288
|
-
toast.error(result.error);
|
|
289
|
-
return;
|
|
290
|
-
}
|
|
291
|
-
toast.success('Feature started');
|
|
292
|
-
// Optimistically update the drawer view
|
|
293
|
-
setView((prev) => {
|
|
294
|
-
if (prev.type !== 'feature')
|
|
295
|
-
return prev;
|
|
296
|
-
return { ...prev, node: { ...prev.node, state: 'running' } };
|
|
297
|
-
});
|
|
298
|
-
}, []);
|
|
299
284
|
// ── Hooks (always called unconditionally per Rules of Hooks) ──────────
|
|
300
285
|
const featureActionsInput = featureNode?.repositoryPath && featureNode?.branch
|
|
301
286
|
? {
|
|
@@ -337,11 +322,7 @@ export function FeatureDrawerClient({ view: initialView, urlTab }) {
|
|
|
337
322
|
// ── Body ──────────────────────────────────────────────────────────────
|
|
338
323
|
let body = null;
|
|
339
324
|
if (view.type === 'feature' && featureNode) {
|
|
340
|
-
const enrichedNode = {
|
|
341
|
-
...featureNode,
|
|
342
|
-
...(featureNode.state === 'error' && { onRetry: handleRetry }),
|
|
343
|
-
...(featureNode.state === 'pending' && { onStart: handleStart }),
|
|
344
|
-
};
|
|
325
|
+
const enrichedNode = featureNode.state === 'error' ? { ...featureNode, onRetry: handleRetry } : featureNode;
|
|
345
326
|
body = (_jsx(FeatureDrawerTabs, { featureNode: enrichedNode, featureId: featureNode.featureId, initialTab: view.initialTab, urlTab: urlTab, sseEvents: events, prdData: prdData, prdSelections: prdSelections, onPrdSelect: (qId, oId) => setPrdSelections((prev) => ({ ...prev, [qId]: oId })), onPrdApprove: handlePrdApprove, onPrdReject: handlePrdReject, isPrdLoading: isLoadingPrd, techData: techData, onTechApprove: handleTechApprove, onTechReject: handleTechReject, isTechLoading: isLoadingTech, productData: isLoadingTechProduct ? null : techProductData, mergeData: mergeData, onMergeApprove: handleMergeApprove, onMergeReject: handleMergeReject, isMergeLoading: isLoadingMerge, isRejecting: isRejecting, chatInput: chatInput, onChatInputChange: setChatInput }));
|
|
346
327
|
}
|
|
347
328
|
return (_jsx(BaseDrawer, { open: isOpen, onClose: attemptClose, size: "md", modal: false, header: header, "data-testid": view.type === 'feature' ? 'feature-drawer' : 'repository-drawer', children: body }));
|
package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.d.ts
CHANGED
|
@@ -36,8 +36,6 @@ export interface FeatureCreatePayload {
|
|
|
36
36
|
parentId?: string;
|
|
37
37
|
/** When true, skip SDLC phases and implement directly from the prompt. */
|
|
38
38
|
fast: boolean;
|
|
39
|
-
/** When true, create the feature in pending state (no agent spawned). */
|
|
40
|
-
pending?: boolean;
|
|
41
39
|
/** Optional agent type override for this feature run */
|
|
42
40
|
agentType?: string;
|
|
43
41
|
/** Optional model override for this feature run */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-create-drawer.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"feature-create-drawer.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAO5E,YAAY,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAE/F,uFAAuF;AACvF,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC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AAmB,EAAE,CAAC;IACjC,+EAA+E;IAC/E,YAAY,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAClC,kGAAkG;IAClG,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,8CAA8C;IAC9C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,yCAAyC;IACzC,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,cAAc,EACd,YAAoB,EACpB,gBAAgB,EAChB,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,YAAY,GACb,EAAE,wBAAwB,2CAmvB1B;AAmJD,MAAM,WAAW,uBAAuB;IACtC,YAAY,EAAE,gBAAgB,EAAE,CAAC;IACjC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;IAC7C,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,YAAY,EACZ,KAAK,EACL,QAAQ,EACR,eAAe,EACf,QAAQ,GACT,EAAE,uBAAuB,2CA8JzB"}
|
package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useCallback, useEffect, useRef } from 'react';
|
|
4
|
-
import { PaperclipIcon, ChevronsUpDown, CheckIcon, Zap,
|
|
4
|
+
import { PaperclipIcon, ChevronsUpDown, CheckIcon, Zap, FolderPlus, Loader2 } from 'lucide-react';
|
|
5
5
|
import { cn } from '../../../lib/utils.js';
|
|
6
6
|
import { useSoundAction } from '../../../hooks/use-sound-action.js';
|
|
7
7
|
import { BaseDrawer } from '../../common/base-drawer/index.js';
|
|
@@ -109,7 +109,6 @@ export function FeatureCreateDrawer({ open, onClose, onSubmit, repositoryPath, i
|
|
|
109
109
|
const [commitEvidence, setCommitEvidence] = useState(defaultCommitEvidence);
|
|
110
110
|
const [parentId, setParentId] = useState(undefined);
|
|
111
111
|
const [fast, setFast] = useState(false);
|
|
112
|
-
const [pending, setPending] = useState(false);
|
|
113
112
|
const [overrideAgent, setOverrideAgent] = useState(undefined);
|
|
114
113
|
const [overrideModel, setOverrideModel] = useState(undefined);
|
|
115
114
|
const [selectedRepoPath, setSelectedRepoPath] = useState(repositoryPath || undefined);
|
|
@@ -153,7 +152,6 @@ export function FeatureCreateDrawer({ open, onClose, onSubmit, repositoryPath, i
|
|
|
153
152
|
setSelectedRepoPath(repositoryPath || undefined);
|
|
154
153
|
setLocalRepos(repositories ?? []);
|
|
155
154
|
setFast(false);
|
|
156
|
-
setPending(false);
|
|
157
155
|
setOverrideAgent(undefined);
|
|
158
156
|
setOverrideModel(undefined);
|
|
159
157
|
setUploadError(null);
|
|
@@ -301,7 +299,6 @@ export function FeatureCreateDrawer({ open, onClose, onSubmit, repositoryPath, i
|
|
|
301
299
|
enableEvidence,
|
|
302
300
|
commitEvidence,
|
|
303
301
|
fast,
|
|
304
|
-
...(pending ? { pending } : {}),
|
|
305
302
|
...(overrideAgent ? { agentType: overrideAgent } : {}),
|
|
306
303
|
...(overrideModel ? { model: overrideModel } : {}),
|
|
307
304
|
...(parentId ? { parentId } : {}),
|
|
@@ -320,7 +317,6 @@ export function FeatureCreateDrawer({ open, onClose, onSubmit, repositoryPath, i
|
|
|
320
317
|
enableEvidence,
|
|
321
318
|
commitEvidence,
|
|
322
319
|
fast,
|
|
323
|
-
pending,
|
|
324
320
|
overrideAgent,
|
|
325
321
|
overrideModel,
|
|
326
322
|
parentId,
|
|
@@ -410,7 +406,7 @@ export function FeatureCreateDrawer({ open, onClose, onSubmit, repositoryPath, i
|
|
|
410
406
|
repositoryPath.split('/').pop() })] })) : null, _jsxs("div", { role: "region", "aria-label": "File drop zone", "data-drag-over": isDragOver ? 'true' : 'false', onDragEnter: handleDragEnter, onDragLeave: handleDragLeave, onDragOver: handleDragOver, onDrop: handleDrop, className: cn('flex flex-col gap-1.5 rounded-md border-2 border-transparent p-1 transition-colors', isDragOver && 'border-primary/50 bg-primary/5'), children: [_jsx(Label, { htmlFor: "feature-description", className: "text-muted-foreground text-xs font-semibold tracking-wider", children: "DESCRIBE YOUR FEATURE" }), _jsxs("div", { ref: promptContainerRef, onFocus: handlePromptFocus, onBlur: handlePromptBlur, className: cn('border-input flex h-56 flex-col overflow-hidden rounded-md border shadow-xs transition-[color,box-shadow]', isPromptFocused && 'ring-ring/50 border-ring ring-[3px]'), children: [_jsx(Textarea, { id: "feature-description", placeholder: "e.g. Add GitHub OAuth login with callback handling and token refresh...", value: description, onChange: (e) => setDescription(e.target.value), onPaste: handlePaste, required: true, disabled: isSubmitting, className: "min-h-0 flex-1 resize-none rounded-none border-0 shadow-none focus-visible:ring-0" }), attachments.length > 0 && (_jsx("div", { className: "flex flex-wrap items-center gap-1.5 px-3 py-2", children: attachments.map((file) => (_jsx(AttachmentChip, { name: file.name, size: file.size, mimeType: file.mimeType, path: file.path, onRemove: () => handleRemoveFile(file.id), disabled: isSubmitting, loading: file.loading }, file.id))) })), uploadError ? (_jsx("p", { className: "text-destructive px-3 pb-2 text-xs", children: uploadError })) : null, _jsxs("div", { className: "border-input flex items-center gap-3 border-t px-3 py-1.5", children: [_jsx(AgentModelPicker, { initialAgentType: overrideAgent ?? currentAgentType ?? 'claude-code', initialModel: overrideModel ?? currentModel ?? 'claude-sonnet-4-6', mode: "override", onAgentModelChange: (agent, model) => {
|
|
411
407
|
setOverrideAgent(agent);
|
|
412
408
|
setOverrideModel(model);
|
|
413
|
-
}, disabled: isSubmitting, className: "w-55" }), _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsxs("div", { className: "ml-auto flex cursor-pointer items-center gap-2", children: [_jsx(Switch, { id: "
|
|
409
|
+
}, disabled: isSubmitting, className: "w-55" }), _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsxs("div", { className: "ml-auto flex cursor-pointer items-center gap-2", children: [_jsx(Switch, { id: "fast-mode", checked: fast, onCheckedChange: setFast, disabled: isSubmitting }), _jsxs(Label, { htmlFor: "fast-mode", className: "flex cursor-pointer items-center gap-1 text-sm font-medium", children: [_jsx(Zap, { className: "h-3.5 w-3.5" }), "Fast Mode"] })] }) }), _jsx(TooltipContent, { side: "bottom", children: "Skip SDLC phases and implement directly from your prompt." })] }), _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("button", { type: "button", onClick: handleAddFiles, disabled: isSubmitting, "aria-label": "Attach files", className: "text-muted-foreground hover:text-foreground cursor-pointer rounded p-1 transition-colors", children: _jsx(PaperclipIcon, { className: "h-4 w-4" }) }) }), _jsx(TooltipContent, { side: "bottom", children: "Attach files" })] })] })] })] }), hasFeatures && initialParentId !== undefined ? (_jsxs("div", { className: "flex flex-col gap-1.5", children: [_jsx(Label, { htmlFor: "parent-feature", className: "text-muted-foreground text-xs font-semibold tracking-wider", children: "PARENT FEATURE" }), _jsx(ParentFeatureCombobox, { features: features, value: parentId, onChange: setParentId, disabled: isSubmitting })] })) : null, _jsxs("div", { className: "flex flex-col gap-2", children: [_jsxs("div", { className: "border-input flex items-center gap-4 rounded-md border px-3 py-2.5", children: [_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("span", { className: "text-muted-foreground w-16 shrink-0 cursor-default text-xs font-semibold tracking-wider", children: "APPROVE" }) }), _jsx(TooltipContent, { side: "bottom", children: "Auto-approve phase transitions without manual review." })] }), _jsx("div", { className: "flex flex-1 items-center gap-4", children: AUTO_APPROVE_OPTIONS.map((opt) => (_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsxs("div", { className: "flex cursor-pointer items-center gap-1.5", children: [_jsx(Switch, { id: `approve-${opt.id}`, size: "sm", checked: approvalGates[opt.id] ?? false, onCheckedChange: (v) => setApprovalGates((prev) => ({ ...prev, [opt.id]: v })), disabled: isSubmitting ||
|
|
414
410
|
(fast && (opt.id === 'allowPrd' || opt.id === 'allowPlan')) }), _jsx(Label, { htmlFor: `approve-${opt.id}`, className: "cursor-pointer text-xs font-medium", children: opt.label })] }) }), _jsx(TooltipContent, { side: "bottom", children: fast && (opt.id === 'allowPrd' || opt.id === 'allowPlan')
|
|
415
411
|
? 'Skipped in Fast Mode'
|
|
416
412
|
: opt.description })] }, opt.id))) }), _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("button", { type: "button", onClick: () => {
|
package/dist/src/presentation/web/components/common/feature-node/derive-feature-state.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"derive-feature-state.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-node/derive-feature-state.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAIL,qBAAqB,EACtB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAE3F;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAC7B,OAAO,EAAE,OAAO,EAChB,QAAQ,CAAC,EAAE,QAAQ,GAAG,IAAI,EAC1B,OAAO,CAAC,EAAE;IAAE,UAAU,CAAC,EAAE,OAAO,CAAA;CAAE,GACjC,gBAAgB,
|
|
1
|
+
{"version":3,"file":"derive-feature-state.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-node/derive-feature-state.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,O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AG,SAAS,GAC5B,qBAAqB,GAAG,SAAS,CAGnC"}
|
|
@@ -21,10 +21,6 @@ export function deriveNodeState(feature, agentRun, options) {
|
|
|
21
21
|
if (feature.lifecycle === SdlcLifecycle.Deleting) {
|
|
22
22
|
return 'deleting';
|
|
23
23
|
}
|
|
24
|
-
// Pending lifecycle — user-deferred, agent not yet spawned
|
|
25
|
-
if (feature.lifecycle === SdlcLifecycle.Pending) {
|
|
26
|
-
return 'pending';
|
|
27
|
-
}
|
|
28
24
|
// Blocked lifecycle takes priority — child waiting on parent regardless of agent run
|
|
29
25
|
if (feature.lifecycle === SdlcLifecycle.Blocked) {
|
|
30
26
|
return 'blocked';
|
|
@@ -115,7 +111,6 @@ export const sdlcLifecycleMap = {
|
|
|
115
111
|
Review: 'review',
|
|
116
112
|
'Deploy & QA': 'deploy',
|
|
117
113
|
Maintain: 'maintain',
|
|
118
|
-
Pending: 'pending',
|
|
119
114
|
};
|
|
120
115
|
/** Map agent graph node names (from agent_run.result or SSE phaseName) to UI lifecycle phases. */
|
|
121
116
|
const phaseNameToLifecycle = {
|
|
@@ -127,7 +122,6 @@ const phaseNameToLifecycle = {
|
|
|
127
122
|
merge: 'review',
|
|
128
123
|
maintain: 'maintain',
|
|
129
124
|
blocked: 'requirements',
|
|
130
|
-
pending: 'pending',
|
|
131
125
|
};
|
|
132
126
|
/**
|
|
133
127
|
* Derives the UI lifecycle phase from a Feature + AgentRun.
|
package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { type LucideIcon } from 'lucide-react';
|
|
|
2
2
|
import type { Node } from '@xyflow/react';
|
|
3
3
|
import type { PrStatus, CiStatus, DeploymentState } from '../../../../../../packages/core/src/domain/generated/output.js';
|
|
4
4
|
import type { AgentTypeValue } from './agent-type-icons.js';
|
|
5
|
-
export type FeatureNodeState = 'creating' | 'running' | 'action-required' | 'done' | 'blocked' | '
|
|
6
|
-
export type FeatureLifecyclePhase = '
|
|
5
|
+
export type FeatureNodeState = 'creating' | 'running' | 'action-required' | 'done' | 'blocked' | 'error' | 'deleting';
|
|
6
|
+
export type FeatureLifecyclePhase = 'requirements' | 'research' | 'implementation' | 'review' | 'deploy' | 'maintain';
|
|
7
7
|
/** Human-readable display labels for lifecycle phases. */
|
|
8
8
|
export declare const lifecycleDisplayLabels: Record<FeatureLifecyclePhase, string>;
|
|
9
9
|
/** Present-participle verbs for the running badge, keyed by lifecycle phase. */
|
|
@@ -85,7 +85,6 @@ export interface FeatureNodeData {
|
|
|
85
85
|
hasChildren?: boolean;
|
|
86
86
|
onDelete?: (featureId: string, cleanup?: boolean, cascadeDelete?: boolean) => void;
|
|
87
87
|
onRetry?: (featureId: string) => void;
|
|
88
|
-
onStart?: (featureId: string) => void;
|
|
89
88
|
showHandles?: boolean;
|
|
90
89
|
}
|
|
91
90
|
export type FeatureNodeType = Node<FeatureNodeData, 'featureNode'>;
|
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":[],"mappings":"AAAA,OAAO,
|
|
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,EAOL,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,O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ACnF,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,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,CAuEnF,CAAC"}
|
package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Loader2, CircleAlert, CircleCheck, Ban, CircleX, Trash2,
|
|
1
|
+
import { Loader2, CircleAlert, CircleCheck, Ban, CircleX, Trash2, } from 'lucide-react';
|
|
2
2
|
/** Human-readable display labels for lifecycle phases. */
|
|
3
3
|
export const lifecycleDisplayLabels = {
|
|
4
|
-
pending: 'PENDING',
|
|
5
4
|
requirements: 'REQUIREMENTS',
|
|
6
5
|
research: 'RESEARCH',
|
|
7
6
|
implementation: 'IMPLEMENTATION',
|
|
@@ -11,7 +10,6 @@ export const lifecycleDisplayLabels = {
|
|
|
11
10
|
};
|
|
12
11
|
/** Present-participle verbs for the running badge, keyed by lifecycle phase. */
|
|
13
12
|
export const lifecycleRunningVerbs = {
|
|
14
|
-
pending: 'Waiting to start',
|
|
15
13
|
requirements: 'Analyzing',
|
|
16
14
|
research: 'Researching',
|
|
17
15
|
implementation: 'Implementing',
|
|
@@ -70,16 +68,6 @@ export const featureNodeStateConfig = {
|
|
|
70
68
|
label: 'Blocked',
|
|
71
69
|
showProgressBar: false,
|
|
72
70
|
},
|
|
73
|
-
pending: {
|
|
74
|
-
icon: Clock,
|
|
75
|
-
borderClass: 'border-l-slate-400',
|
|
76
|
-
labelClass: 'text-slate-400',
|
|
77
|
-
progressClass: 'bg-slate-400',
|
|
78
|
-
badgeClass: 'text-slate-600',
|
|
79
|
-
badgeBgClass: 'bg-slate-100',
|
|
80
|
-
label: 'Pending',
|
|
81
|
-
showProgressBar: false,
|
|
82
|
-
},
|
|
83
71
|
error: {
|
|
84
72
|
icon: CircleX,
|
|
85
73
|
borderClass: 'border-l-red-500',
|
|
@@ -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":"AAwBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AA0DnE,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,2CAsTA"}
|