@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
|
@@ -2,7 +2,7 @@
|
|
|
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, FileText, Wrench, GitMerge, Trash2, Zap, Loader2, Globe, RotateCcw,
|
|
5
|
+
import { Plus, FileText, Wrench, GitMerge, Trash2, Zap, Loader2, Globe, RotateCcw, } 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';
|
|
@@ -49,8 +49,6 @@ function getBadgeText(data) {
|
|
|
49
49
|
return data.runtime ? `Completed in ${data.runtime}` : 'Completed';
|
|
50
50
|
case 'blocked':
|
|
51
51
|
return data.blockedBy ? `Waiting on ${data.blockedBy}` : 'Blocked';
|
|
52
|
-
case 'pending':
|
|
53
|
-
return 'Pending';
|
|
54
52
|
case 'action-required':
|
|
55
53
|
if (data.lifecycle === 'requirements')
|
|
56
54
|
return 'Review Product Requirements';
|
|
@@ -75,11 +73,7 @@ export function FeatureNode({ data, selected, }) {
|
|
|
75
73
|
}, 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) => {
|
|
76
74
|
setConfirmOpen(false);
|
|
77
75
|
data.onDelete?.(data.featureId, cleanup, cascadeDelete);
|
|
78
|
-
}, isDeleting: false, featureName: data.name ?? 'this feature', featureId: data.featureId, hasChildren: data.hasChildren })] })) : 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-72 cursor-pointer flex-col rounded-lg border p-3 shadow-sm', selected && 'ring-primary ring-2', data.state === 'deleting' && 'opacity-60'), children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsx("span", { "data-testid": "feature-node-lifecycle-label", className: cn('text-[10px] font-semibold tracking-wider'), children: data.state === 'blocked'
|
|
79
|
-
? 'BLOCKED'
|
|
80
|
-
: data.state === 'pending'
|
|
81
|
-
? 'PENDING'
|
|
82
|
-
: lifecycleDisplayLabels[data.lifecycle] }), _jsxs("div", { className: "flex items-center gap-0.5", children: [data.fastMode ? (_jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("span", { "data-testid": "feature-node-fast-mode-badge", className: "-mt-1 p-1", children: _jsx(Zap, { className: "h-3.5 w-3.5 text-amber-500" }) }) }), _jsx(TooltipContent, { side: "bottom", children: "Fast Mode" })] }) })) : null, data.agentType ? (_jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("button", { type: "button", "aria-label": agentTypeLabels[data.agentType] ?? data.agentType, "data-testid": "feature-node-agent-badge", onClick: (e) => {
|
|
76
|
+
}, isDeleting: false, featureName: data.name ?? 'this feature', featureId: data.featureId, hasChildren: data.hasChildren })] })) : 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-72 cursor-pointer flex-col rounded-lg border p-3 shadow-sm', selected && 'ring-primary ring-2', data.state === 'deleting' && 'opacity-60'), children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsx("span", { "data-testid": "feature-node-lifecycle-label", className: cn('text-[10px] font-semibold tracking-wider'), children: data.state === 'blocked' ? 'BLOCKED' : lifecycleDisplayLabels[data.lifecycle] }), _jsxs("div", { className: "flex items-center gap-0.5", children: [data.fastMode ? (_jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("span", { "data-testid": "feature-node-fast-mode-badge", className: "-mt-1 p-1", children: _jsx(Zap, { className: "h-3.5 w-3.5 text-amber-500" }) }) }), _jsx(TooltipContent, { side: "bottom", children: "Fast Mode" })] }) })) : null, data.agentType ? (_jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("button", { type: "button", "aria-label": agentTypeLabels[data.agentType] ?? data.agentType, "data-testid": "feature-node-agent-badge", onClick: (e) => {
|
|
83
77
|
e.stopPropagation();
|
|
84
78
|
data.onSettings?.();
|
|
85
79
|
}, className: cn('nodrag -mt-1 -mr-1 p-1', data.onSettings
|
|
@@ -97,10 +91,7 @@ export function FeatureNode({ data, selected, }) {
|
|
|
97
91
|
})(), _jsx("span", { className: "truncate", children: getBadgeText(data) })] }), data.state === 'error' && data.onRetry ? (_jsxs("button", { type: "button", "aria-label": "Retry feature", "data-testid": "feature-node-retry-button", onClick: (e) => {
|
|
98
92
|
e.stopPropagation();
|
|
99
93
|
data.onRetry(data.featureId);
|
|
100
|
-
}, className: "nodrag flex shrink-0 cursor-pointer items-center gap-1 rounded-full bg-red-100 px-2.5 py-1 text-[11px] font-medium text-red-700 transition-colors hover:bg-red-200", children: [_jsx(RotateCcw, { className: "h-3 w-3" }), "Retry"] })) : null, data.state
|
|
101
|
-
e.stopPropagation();
|
|
102
|
-
data.onStart(data.featureId);
|
|
103
|
-
}, className: "nodrag flex shrink-0 cursor-pointer items-center gap-1 rounded-full bg-slate-100 px-2.5 py-1 text-[11px] font-medium text-slate-700 transition-colors hover:bg-slate-200", 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!", children: _jsx("button", { type: "button", "aria-label": "Add", "data-testid": "feature-node-action-button", onClick: (e) => {
|
|
94
|
+
}, className: "nodrag flex shrink-0 cursor-pointer items-center gap-1 rounded-full bg-red-100 px-2.5 py-1 text-[11px] font-medium text-red-700 transition-colors hover:bg-red-200", children: [_jsx(RotateCcw, { className: "h-3 w-3" }), "Retry"] })) : null] })] })) })] }), data.onAction && data.state !== 'deleting' ? (_jsx(Handle, { type: "source", position: Position.Right, className: "h-0! w-0! border-0! bg-transparent!", children: _jsx("button", { type: "button", "aria-label": "Add", "data-testid": "feature-node-action-button", onClick: (e) => {
|
|
104
95
|
e.stopPropagation();
|
|
105
96
|
data.onAction?.();
|
|
106
97
|
}, 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!" })) : null] }));
|
|
@@ -23,6 +23,4 @@ export declare const DeploymentBooting: Story;
|
|
|
23
23
|
export declare const DeploymentReady: Story;
|
|
24
24
|
export declare const DeploymentReadyNoUrl: Story;
|
|
25
25
|
export declare const Interactive: Story;
|
|
26
|
-
export declare const Pending: Story;
|
|
27
|
-
export declare const PendingWithStart: Story;
|
|
28
26
|
//# sourceMappingURL=feature-node.stories.d.ts.map
|
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;AAiCrC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,eAAe,CAc/B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,eAAe,CAAC,CAAC;AAEvC,eAAO,MAAM,OAAO,EAAE,KAErB,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;AAiCrC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,eAAe,CAc/B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,eAAe,CAAC,CAAC;AAEvC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAgHF,eAAO,MAAM,SAAS,EAAE,KAQvB,CAAC;AAWF,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;AA4EF,eAAO,MAAM,WAAW,EAAE,KAOzB,CAAC"}
|
|
@@ -127,16 +127,6 @@ const allStatesData = [
|
|
|
127
127
|
repositoryPath: '/home/user/my-repo',
|
|
128
128
|
branch: 'feat/email-service',
|
|
129
129
|
},
|
|
130
|
-
{
|
|
131
|
-
name: 'Notification Service',
|
|
132
|
-
description: 'Push notification integration',
|
|
133
|
-
featureId: '#f7',
|
|
134
|
-
lifecycle: 'pending',
|
|
135
|
-
state: 'pending',
|
|
136
|
-
progress: 0,
|
|
137
|
-
repositoryPath: '/home/user/my-repo',
|
|
138
|
-
branch: 'feat/notification-service',
|
|
139
|
-
},
|
|
140
130
|
{
|
|
141
131
|
name: 'Legacy API Cleanup',
|
|
142
132
|
description: 'Remove deprecated REST endpoints',
|
|
@@ -152,7 +142,6 @@ export const AllStates = {
|
|
|
152
142
|
render: () => (_jsx("div", { className: "flex flex-wrap gap-6", children: allStatesData.map((data) => (_jsx(FeatureNodeCanvas, { style: { width: 500, height: 350 }, data: data }, data.featureId))) })),
|
|
153
143
|
};
|
|
154
144
|
const allLifecycles = [
|
|
155
|
-
'pending',
|
|
156
145
|
'requirements',
|
|
157
146
|
'research',
|
|
158
147
|
'implementation',
|
|
@@ -166,8 +155,8 @@ export const AllLifecycles = {
|
|
|
166
155
|
description: `Currently in ${lifecycle} phase`,
|
|
167
156
|
featureId: `#f${i + 1}`,
|
|
168
157
|
lifecycle,
|
|
169
|
-
state:
|
|
170
|
-
progress: [
|
|
158
|
+
state: 'running',
|
|
159
|
+
progress: [10, 25, 50, 70, 90, 100][i],
|
|
171
160
|
repositoryPath: '/home/user/my-repo',
|
|
172
161
|
branch: 'feat/feature-name',
|
|
173
162
|
} }, lifecycle))) })),
|
|
@@ -489,26 +478,3 @@ export const Interactive = {
|
|
|
489
478
|
await waitFor(() => expect(nodeWrapper).toBeTruthy());
|
|
490
479
|
},
|
|
491
480
|
};
|
|
492
|
-
export const Pending = {
|
|
493
|
-
args: {
|
|
494
|
-
name: 'Notification Service',
|
|
495
|
-
description: 'Push notification integration',
|
|
496
|
-
featureId: '#p1',
|
|
497
|
-
lifecycle: 'pending',
|
|
498
|
-
state: 'pending',
|
|
499
|
-
progress: 0,
|
|
500
|
-
},
|
|
501
|
-
render: (args) => _jsx(FeatureNodeCanvas, { data: args }),
|
|
502
|
-
};
|
|
503
|
-
export const PendingWithStart = {
|
|
504
|
-
args: {
|
|
505
|
-
name: 'Notification Service',
|
|
506
|
-
description: 'Push notification integration — ready to start',
|
|
507
|
-
featureId: '#p2',
|
|
508
|
-
lifecycle: 'pending',
|
|
509
|
-
state: 'pending',
|
|
510
|
-
progress: 0,
|
|
511
|
-
onStart: fn(),
|
|
512
|
-
},
|
|
513
|
-
render: (args) => _jsx(FeatureNodeCanvas, { data: args }),
|
|
514
|
-
};
|
package/dist/src/presentation/web/components/features/control-center/control-center-inner.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-center-inner.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/control-center/control-center-inner.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAY,MAAM,eAAe,CAAC;AAGpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAuB5E,UAAU,uBAAuB;IAC/B,YAAY,EAAE,cAAc,EAAE,CAAC;IAC/B,YAAY,EAAE,IAAI,EAAE,CAAC;CACtB;AAED,wBAAgB,kBAAkB,CAAC,EAAE,YAAY,EAAE,YAAY,EAAE,EAAE,uBAAuB,
|
|
1
|
+
{"version":3,"file":"control-center-inner.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/control-center/control-center-inner.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAY,MAAM,eAAe,CAAC;AAGpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAuB5E,UAAU,uBAAuB;IAC/B,YAAY,EAAE,cAAc,EAAE,CAAC;IAC/B,YAAY,EAAE,IAAI,EAAE,CAAC;CACtB;AAED,wBAAgB,kBAAkB,CAAC,EAAE,YAAY,EAAE,YAAY,EAAE,EAAE,uBAAuB,2CAqUzF"}
|
package/dist/src/presentation/web/components/features/control-center/control-center-inner.js
CHANGED
|
@@ -26,7 +26,7 @@ export function ControlCenterInner({ initialNodes, initialEdges }) {
|
|
|
26
26
|
const { fitView } = useReactFlow();
|
|
27
27
|
const drawerTimerRef = useRef(null);
|
|
28
28
|
const { defaultViewport, onMoveEnd: handleViewportChange, resetViewport, } = useViewportPersistence();
|
|
29
|
-
const { nodes, edges, onNodesChange, handleConnect, handleAddRepository, handleDeleteFeature, handleRetryFeature,
|
|
29
|
+
const { nodes, edges, onNodesChange, handleConnect, handleAddRepository, handleDeleteFeature, handleRetryFeature, handleDeleteRepository, createFeatureNode, setCallbacks, } = useControlCenterState(initialNodes, initialEdges);
|
|
30
30
|
// Publish sidebar features to context whenever feature node data changes
|
|
31
31
|
const { setFeatures: setSidebarFeatures } = useSidebarFeaturesContext();
|
|
32
32
|
const featureNodes = useMemo(() => nodes.filter((n) => n.type === 'featureNode'), [nodes]);
|
|
@@ -191,7 +191,6 @@ export function ControlCenterInner({ initialNodes, initialEdges }) {
|
|
|
191
191
|
onNodeAction: handleAddFeatureToFeature,
|
|
192
192
|
onFeatureDelete: handleDeleteFeature,
|
|
193
193
|
onRetryFeature: handleRetryFeature,
|
|
194
|
-
onStartFeature: handleStartFeature,
|
|
195
194
|
onRepositoryAdd: handleAddFeatureToRepo,
|
|
196
195
|
onRepositoryClick: handleRepositoryClick,
|
|
197
196
|
onRepositoryDelete: handleDeleteRepository,
|
|
@@ -201,7 +200,6 @@ export function ControlCenterInner({ initialNodes, initialEdges }) {
|
|
|
201
200
|
handleAddFeatureToFeature,
|
|
202
201
|
handleDeleteFeature,
|
|
203
202
|
handleRetryFeature,
|
|
204
|
-
handleStartFeature,
|
|
205
203
|
handleAddFeatureToRepo,
|
|
206
204
|
handleRepositoryClick,
|
|
207
205
|
handleDeleteRepository,
|
package/dist/src/presentation/web/components/features/control-center/use-control-center-state.d.ts
CHANGED
|
@@ -16,7 +16,6 @@ export interface ControlCenterState {
|
|
|
16
16
|
handleLayout: (direction: LayoutDirection) => void;
|
|
17
17
|
handleDeleteFeature: (featureId: string, cleanup?: boolean, cascadeDelete?: boolean) => void;
|
|
18
18
|
handleRetryFeature: (featureId: string) => void;
|
|
19
|
-
handleStartFeature: (featureId: string) => void;
|
|
20
19
|
handleDeleteRepository: (repositoryId: string) => Promise<void>;
|
|
21
20
|
createFeatureNode: (sourceNodeId: string | null, dataOverride?: Partial<FeatureNodeData>, edgeType?: string) => string;
|
|
22
21
|
/** Stable lookup: repositoryPath for a feature node. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-control-center-state.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/control-center/use-control-center-state.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,EAGL,KAAK,eAAe,EACrB,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"use-control-center-state.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/control-center/use-control-center-state.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,EAGL,KAAK,eAAe,EACrB,MAAM,yBAAyB,CAAC;AAcjC,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAM7E,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,aAAa,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC,cAAc,CAAC,EAAE,KAAK,IAAI,CAAC;IAC/D,aAAa,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;IAChD,mBAAmB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK;QAAE,QAAQ,EAAE,OAAO,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;IAC/E,YAAY,EAAE,CAAC,SAAS,EAAE,eAAe,KAAK,IAAI,CAAC;IACnD,mBAAmB,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,aAAa,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7F,kBAAkB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,sBAAsB,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAChE,iBAAiB,EAAE,CACjB,YAAY,EAAE,MAAM,GAAG,IAAI,EAC3B,YAAY,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,EACvC,QAAQ,CAAC,EAAE,MAAM,KACd,MAAM,CAAC;IACZ,wDAAwD;IACxD,wBAAwB,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC;IACxE,gDAAgD;IAChD,iBAAiB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,kBAAkB,GAAG,SAAS,CAAC;IACtE,0EAA0E;IAC1E,YAAY,EAAE,CAAC,SAAS,EAAE,cAAc,KAAK,IAAI,CAAC;CACnD;AAQD,wBAAgB,qBAAqB,CACnC,YAAY,EAAE,cAAc,EAAE,EAC9B,YAAY,EAAE,IAAI,EAAE,GACnB,kBAAkB,CA0dpB"}
|
package/dist/src/presentation/web/components/features/control-center/use-control-center-state.js
CHANGED
|
@@ -5,7 +5,6 @@ import { toast } from 'sonner';
|
|
|
5
5
|
import { layoutWithDagre, CANVAS_LAYOUT_DEFAULTS, } from '../../../lib/layout-with-dagre.js';
|
|
6
6
|
import { deleteFeature } from '../../../app/actions/delete-feature.js';
|
|
7
7
|
import { resumeFeature } from '../../../app/actions/resume-feature.js';
|
|
8
|
-
import { startFeature } from '../../../app/actions/start-feature.js';
|
|
9
8
|
import { addRepository } from '../../../app/actions/add-repository.js';
|
|
10
9
|
import { deleteRepository } from '../../../app/actions/delete-repository.js';
|
|
11
10
|
import { getFeatureMetadata } from '../../../app/actions/get-feature-metadata.js';
|
|
@@ -228,27 +227,6 @@ export function useControlCenterState(initialNodes, initialEdges) {
|
|
|
228
227
|
})
|
|
229
228
|
.finally(() => endMutation());
|
|
230
229
|
}, [updateFeature, beginMutation, endMutation]);
|
|
231
|
-
const handleStartFeature = useCallback((featureId) => {
|
|
232
|
-
const nodeId = `feat-${featureId}`;
|
|
233
|
-
// Optimistic: switch to running state
|
|
234
|
-
beginMutation();
|
|
235
|
-
updateFeature(nodeId, { state: 'running' });
|
|
236
|
-
startFeature(featureId)
|
|
237
|
-
.then((result) => {
|
|
238
|
-
if (result.error) {
|
|
239
|
-
updateFeature(nodeId, { state: 'pending' });
|
|
240
|
-
toast.error(result.error);
|
|
241
|
-
}
|
|
242
|
-
else {
|
|
243
|
-
toast.success('Feature started');
|
|
244
|
-
}
|
|
245
|
-
})
|
|
246
|
-
.catch(() => {
|
|
247
|
-
updateFeature(nodeId, { state: 'pending' });
|
|
248
|
-
toast.error('Failed to start feature');
|
|
249
|
-
})
|
|
250
|
-
.finally(() => endMutation());
|
|
251
|
-
}, [updateFeature, beginMutation, endMutation]);
|
|
252
230
|
const handleDeleteFeature = useCallback((featureId, cleanup, cascadeDelete) => {
|
|
253
231
|
const nodeId = `feat-${featureId}`;
|
|
254
232
|
const shouldCascade = cascadeDelete === true;
|
|
@@ -427,7 +405,6 @@ export function useControlCenterState(initialNodes, initialEdges) {
|
|
|
427
405
|
handleLayout,
|
|
428
406
|
handleDeleteFeature,
|
|
429
407
|
handleRetryFeature,
|
|
430
|
-
handleStartFeature,
|
|
431
408
|
handleDeleteRepository,
|
|
432
409
|
createFeatureNode,
|
|
433
410
|
getFeatureRepositoryPath,
|
package/dist/src/presentation/web/components/features/settings/settings-page-client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-page-client.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/settings-page-client.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"settings-page-client.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/settings-page-client.tsx"],"names":[],"mappings":"AAqCA,OAAO,KAAK,EACV,QAAQ,EAGT,MAAM,sCAAsC,CAAC;AAyB9C,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB;AA6QD,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,uBAAuB,2CAi1B7F"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useTransition, useRef, useEffect, useCallback } from 'react';
|
|
4
|
-
import { Eye, EyeOff, Check, Bot, Terminal, GitBranch, Activity, Bell, Flag, Database, Minus, Plus, ExternalLink, Settings2,
|
|
4
|
+
import { Eye, EyeOff, Check, Bot, Terminal, GitBranch, Activity, Bell, Flag, Database, Minus, Plus, ExternalLink, Settings2, } from 'lucide-react';
|
|
5
5
|
import { toast } from 'sonner';
|
|
6
6
|
import { cn } from '../../../lib/utils.js';
|
|
7
7
|
import { Label } from '../../ui/label.js';
|
|
@@ -14,7 +14,6 @@ import { updateSettingsAction } from '../../../app/actions/update-settings.js';
|
|
|
14
14
|
import { AgentAuthMethod, EditorType } from '../../../../../../packages/core/src/domain/generated/output.js';
|
|
15
15
|
import { getEditorTypeIcon } from '../../common/editor-type-icons.js';
|
|
16
16
|
import { AgentModelPicker } from '../../features/settings/AgentModelPicker/index.js';
|
|
17
|
-
import { TimeoutSlider } from '../../features/settings/timeout-slider.js';
|
|
18
17
|
const AUTH_METHOD_OPTIONS = [
|
|
19
18
|
{ value: AgentAuthMethod.Session, label: 'Session' },
|
|
20
19
|
{ value: AgentAuthMethod.Token, label: 'Token' },
|
|
@@ -31,7 +30,6 @@ const SECTIONS = [
|
|
|
31
30
|
{ id: 'environment', label: 'Environment', icon: Terminal },
|
|
32
31
|
{ id: 'workflow', label: 'Workflow', icon: GitBranch },
|
|
33
32
|
{ id: 'ci', label: 'CI', icon: Activity },
|
|
34
|
-
{ id: 'stage-timeouts', label: 'Timeouts', icon: Timer },
|
|
35
33
|
{ id: 'notifications', label: 'Notifications', icon: Bell },
|
|
36
34
|
{ id: 'feature-flags', label: 'Flags', icon: Flag },
|
|
37
35
|
{ id: 'database', label: 'Database', icon: Database },
|
|
@@ -139,18 +137,6 @@ export function SettingsPageClient({ settings, shepHome, dbFileSize }) {
|
|
|
139
137
|
? String(Math.round(settings.workflow.ciWatchTimeoutMs / 1000))
|
|
140
138
|
: '');
|
|
141
139
|
const [ciLogMax, setCiLogMax] = useState(settings.workflow.ciLogMaxChars != null ? String(settings.workflow.ciLogMaxChars) : '');
|
|
142
|
-
// Feature agent per-stage timeout states (stored in seconds for display, converted to ms on save)
|
|
143
|
-
// Defaults: feature agent stages = 1_800_000 ms (1800s), analyze-repo = 600_000 ms (600s)
|
|
144
|
-
const stageTimeoutsConfig = settings.workflow.stageTimeouts;
|
|
145
|
-
const [analyzeTimeout, setAnalyzeTimeout] = useState(String(Math.round((stageTimeoutsConfig?.analyzeMs ?? 1_800_000) / 1000)));
|
|
146
|
-
const [requirementsTimeout, setRequirementsTimeout] = useState(String(Math.round((stageTimeoutsConfig?.requirementsMs ?? 1_800_000) / 1000)));
|
|
147
|
-
const [researchTimeout, setResearchTimeout] = useState(String(Math.round((stageTimeoutsConfig?.researchMs ?? 1_800_000) / 1000)));
|
|
148
|
-
const [planTimeout, setPlanTimeout] = useState(String(Math.round((stageTimeoutsConfig?.planMs ?? 1_800_000) / 1000)));
|
|
149
|
-
const [implementTimeout, setImplementTimeout] = useState(String(Math.round((stageTimeoutsConfig?.implementMs ?? 1_800_000) / 1000)));
|
|
150
|
-
const [mergeTimeout, setMergeTimeout] = useState(String(Math.round((stageTimeoutsConfig?.mergeMs ?? 1_800_000) / 1000)));
|
|
151
|
-
// Analyze-repo agent timeout state
|
|
152
|
-
const analyzeRepoConfig = settings.workflow.analyzeRepoTimeouts;
|
|
153
|
-
const [analyzeRepoTimeout, setAnalyzeRepoTimeout] = useState(String(Math.round((analyzeRepoConfig?.analyzeMs ?? 600_000) / 1000)));
|
|
154
140
|
// Notification state
|
|
155
141
|
const [inApp, setInApp] = useState(settings.notifications.inApp.enabled);
|
|
156
142
|
const [browser, setBrowser] = useState(settings.notifications.browser.enabled);
|
|
@@ -164,27 +150,6 @@ export function SettingsPageClient({ settings, shepHome, dbFileSize }) {
|
|
|
164
150
|
? String(Math.round(settings.workflow.ciWatchTimeoutMs / 1000))
|
|
165
151
|
: '';
|
|
166
152
|
const originalCiLogMax = settings.workflow.ciLogMaxChars != null ? String(settings.workflow.ciLogMaxChars) : '';
|
|
167
|
-
const originalAnalyzeTimeout = stageTimeoutsConfig?.analyzeMs != null
|
|
168
|
-
? String(Math.round(stageTimeoutsConfig.analyzeMs / 1000))
|
|
169
|
-
: '';
|
|
170
|
-
const originalRequirementsTimeout = stageTimeoutsConfig?.requirementsMs != null
|
|
171
|
-
? String(Math.round(stageTimeoutsConfig.requirementsMs / 1000))
|
|
172
|
-
: '';
|
|
173
|
-
const originalResearchTimeout = stageTimeoutsConfig?.researchMs != null
|
|
174
|
-
? String(Math.round(stageTimeoutsConfig.researchMs / 1000))
|
|
175
|
-
: '';
|
|
176
|
-
const originalPlanTimeout = stageTimeoutsConfig?.planMs != null
|
|
177
|
-
? String(Math.round(stageTimeoutsConfig.planMs / 1000))
|
|
178
|
-
: '';
|
|
179
|
-
const originalImplementTimeout = stageTimeoutsConfig?.implementMs != null
|
|
180
|
-
? String(Math.round(stageTimeoutsConfig.implementMs / 1000))
|
|
181
|
-
: '';
|
|
182
|
-
const originalMergeTimeout = stageTimeoutsConfig?.mergeMs != null
|
|
183
|
-
? String(Math.round(stageTimeoutsConfig.mergeMs / 1000))
|
|
184
|
-
: '';
|
|
185
|
-
const originalAnalyzeRepoTimeout = analyzeRepoConfig?.analyzeMs != null
|
|
186
|
-
? String(Math.round(analyzeRepoConfig.analyzeMs / 1000))
|
|
187
|
-
: '';
|
|
188
153
|
function parseOptionalInt(value) {
|
|
189
154
|
if (value === '')
|
|
190
155
|
return undefined;
|
|
@@ -200,12 +165,6 @@ export function SettingsPageClient({ settings, shepHome, dbFileSize }) {
|
|
|
200
165
|
}
|
|
201
166
|
return { agent: result };
|
|
202
167
|
}
|
|
203
|
-
function secondsToMs(val) {
|
|
204
|
-
if (val === undefined)
|
|
205
|
-
return undefined;
|
|
206
|
-
const n = parseOptionalInt(val);
|
|
207
|
-
return n != null ? n * 1000 : undefined;
|
|
208
|
-
}
|
|
209
168
|
// Workflow helpers
|
|
210
169
|
function buildWorkflowPayload(overrides = {}) {
|
|
211
170
|
const timeoutSeconds = parseOptionalInt(overrides.ciTimeout ?? ciTimeout);
|
|
@@ -223,17 +182,6 @@ export function SettingsPageClient({ settings, shepHome, dbFileSize }) {
|
|
|
223
182
|
ciMaxFixAttempts: parseOptionalInt(overrides.ciMaxFix ?? ciMaxFix),
|
|
224
183
|
ciWatchTimeoutMs: timeoutSeconds != null ? timeoutSeconds * 1000 : undefined,
|
|
225
184
|
ciLogMaxChars: parseOptionalInt(overrides.ciLogMax ?? ciLogMax),
|
|
226
|
-
stageTimeouts: {
|
|
227
|
-
analyzeMs: secondsToMs(overrides.analyzeTimeout ?? analyzeTimeout),
|
|
228
|
-
requirementsMs: secondsToMs(overrides.requirementsTimeout ?? requirementsTimeout),
|
|
229
|
-
researchMs: secondsToMs(overrides.researchTimeout ?? researchTimeout),
|
|
230
|
-
planMs: secondsToMs(overrides.planTimeout ?? planTimeout),
|
|
231
|
-
implementMs: secondsToMs(overrides.implementTimeout ?? implementTimeout),
|
|
232
|
-
mergeMs: secondsToMs(overrides.mergeTimeout ?? mergeTimeout),
|
|
233
|
-
},
|
|
234
|
-
analyzeRepoTimeouts: {
|
|
235
|
-
analyzeMs: secondsToMs(overrides.analyzeRepoTimeout ?? analyzeRepoTimeout),
|
|
236
|
-
},
|
|
237
185
|
},
|
|
238
186
|
};
|
|
239
187
|
}
|
|
@@ -372,28 +320,7 @@ export function SettingsPageClient({ settings, shepHome, dbFileSize }) {
|
|
|
372
320
|
label: 'CI security gates',
|
|
373
321
|
href: 'https://github.com/shep-ai/cli/blob/main/specs/003-cicd-security-gates/spec.md',
|
|
374
322
|
},
|
|
375
|
-
], children: "When a feature completes, the agent can watch CI and auto-fix failures. These limits prevent runaway retries and control how much log output is sent to the agent for analysis." })] }), _jsxs("div", { id: "section-
|
|
376
|
-
if (analyzeTimeout !== originalAnalyzeTimeout)
|
|
377
|
-
save(buildWorkflowPayload({ analyzeTimeout }));
|
|
378
|
-
}, defaultSeconds: 1800 }) }), _jsx(SettingsRow, { label: "Requirements", description: "Requirements gathering timeout", htmlFor: "timeout-requirements", children: _jsx(TimeoutSlider, { id: "timeout-requirements", testId: "timeout-requirements-input", value: requirementsTimeout, onChange: setRequirementsTimeout, onBlur: () => {
|
|
379
|
-
if (requirementsTimeout !== originalRequirementsTimeout)
|
|
380
|
-
save(buildWorkflowPayload({ requirementsTimeout }));
|
|
381
|
-
}, defaultSeconds: 1800 }) }), _jsx(SettingsRow, { label: "Research", description: "Technical research timeout", htmlFor: "timeout-research", children: _jsx(TimeoutSlider, { id: "timeout-research", testId: "timeout-research-input", value: researchTimeout, onChange: setResearchTimeout, onBlur: () => {
|
|
382
|
-
if (researchTimeout !== originalResearchTimeout)
|
|
383
|
-
save(buildWorkflowPayload({ researchTimeout }));
|
|
384
|
-
}, defaultSeconds: 1800 }) }), _jsx(SettingsRow, { label: "Plan", description: "Implementation planning timeout", htmlFor: "timeout-plan", children: _jsx(TimeoutSlider, { id: "timeout-plan", testId: "timeout-plan-input", value: planTimeout, onChange: setPlanTimeout, onBlur: () => {
|
|
385
|
-
if (planTimeout !== originalPlanTimeout)
|
|
386
|
-
save(buildWorkflowPayload({ planTimeout }));
|
|
387
|
-
}, defaultSeconds: 1800 }) }), _jsx(SettingsRow, { label: "Implement", description: "Code implementation timeout", htmlFor: "timeout-implement", children: _jsx(TimeoutSlider, { id: "timeout-implement", testId: "timeout-implement-input", value: implementTimeout, onChange: setImplementTimeout, onBlur: () => {
|
|
388
|
-
if (implementTimeout !== originalImplementTimeout)
|
|
389
|
-
save(buildWorkflowPayload({ implementTimeout }));
|
|
390
|
-
}, defaultSeconds: 1800 }) }), _jsx(SettingsRow, { label: "Merge", description: "PR creation and merge timeout", htmlFor: "timeout-merge", children: _jsx(TimeoutSlider, { id: "timeout-merge", testId: "timeout-merge-input", value: mergeTimeout, onChange: setMergeTimeout, onBlur: () => {
|
|
391
|
-
if (mergeTimeout !== originalMergeTimeout)
|
|
392
|
-
save(buildWorkflowPayload({ mergeTimeout }));
|
|
393
|
-
}, defaultSeconds: 1800 }) }), _jsx(SubsectionLabel, { children: "Analyze Repository Agent" }), _jsx(SettingsRow, { label: "Analyze", description: "Repository analysis timeout", htmlFor: "timeout-analyze-repo", children: _jsx(TimeoutSlider, { id: "timeout-analyze-repo", testId: "timeout-analyze-repo-input", value: analyzeRepoTimeout, onChange: setAnalyzeRepoTimeout, onBlur: () => {
|
|
394
|
-
if (analyzeRepoTimeout !== originalAnalyzeRepoTimeout)
|
|
395
|
-
save(buildWorkflowPayload({ analyzeRepoTimeout }));
|
|
396
|
-
}, defaultSeconds: 600 }) })] }), _jsx(SectionHint, { children: "Each agent has independently configurable stage timeouts. When a stage exceeds its timeout, the agent is terminated. Longer timeouts are useful for complex implementations. Feature agent defaults to 30 minutes per stage. Analyze repository agent defaults to 10 minutes." })] }), _jsxs("div", { id: "section-notifications", className: "grid scroll-mt-18 grid-cols-1 gap-x-5 rounded-lg lg:grid-cols-[1fr_280px]", children: [_jsxs(SettingsSection, { icon: Bell, title: "Notifications", description: "How and when you get notified", testId: "notification-settings-section", children: [_jsx(SubsectionLabel, { children: "Channels" }), _jsx(SwitchRow, { label: "In-app", description: "Notifications inside the Shep UI", id: "notif-in-app", testId: "switch-in-app", checked: inApp, onChange: (v) => {
|
|
323
|
+
], children: "When a feature completes, the agent can watch CI and auto-fix failures. These limits prevent runaway retries and control how much log output is sent to the agent for analysis." })] }), _jsxs("div", { id: "section-notifications", className: "grid scroll-mt-18 grid-cols-1 gap-x-5 rounded-lg lg:grid-cols-[1fr_280px]", children: [_jsxs(SettingsSection, { icon: Bell, title: "Notifications", description: "How and when you get notified", testId: "notification-settings-section", children: [_jsx(SubsectionLabel, { children: "Channels" }), _jsx(SwitchRow, { label: "In-app", description: "Notifications inside the Shep UI", id: "notif-in-app", testId: "switch-in-app", checked: inApp, onChange: (v) => {
|
|
397
324
|
setInApp(v);
|
|
398
325
|
save(buildNotificationPayload({ inApp: v }));
|
|
399
326
|
} }), _jsx(SwitchRow, { label: "Browser", description: "Push notifications via the browser", id: "notif-browser", testId: "switch-browser", checked: browser, onChange: (v) => {
|
package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.d.ts
CHANGED
|
@@ -13,5 +13,4 @@ type Story = StoryObj<typeof meta>;
|
|
|
13
13
|
export declare const Default: Story;
|
|
14
14
|
export declare const AllSections: Story;
|
|
15
15
|
export declare const EvidenceEnabled: Story;
|
|
16
|
-
export declare const CustomTimeouts: Story;
|
|
17
16
|
//# sourceMappingURL=settings-page-client.stories.d.ts.map
|
package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-page-client.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/settings-page-client.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAM5D,QAAA,MAAM,IAAI;;;;;;;CAOiC,CAAC;AAE5C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAkBzB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAa7B,CAAC
|
|
1
|
+
{"version":3,"file":"settings-page-client.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/settings-page-client.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAM5D,QAAA,MAAM,IAAI;;;;;;;CAOiC,CAAC;AAE5C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAkBzB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAa7B,CAAC"}
|
package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.js
CHANGED
|
@@ -51,26 +51,3 @@ export const EvidenceEnabled = {
|
|
|
51
51
|
dbFileSize: '2.4 MB',
|
|
52
52
|
},
|
|
53
53
|
};
|
|
54
|
-
export const CustomTimeouts = {
|
|
55
|
-
args: {
|
|
56
|
-
settings: {
|
|
57
|
-
...defaultSettings,
|
|
58
|
-
workflow: {
|
|
59
|
-
...defaultSettings.workflow,
|
|
60
|
-
stageTimeouts: {
|
|
61
|
-
analyzeMs: 300000,
|
|
62
|
-
requirementsMs: 600000,
|
|
63
|
-
researchMs: 900000,
|
|
64
|
-
planMs: 600000,
|
|
65
|
-
implementMs: 1800000,
|
|
66
|
-
mergeMs: 600000,
|
|
67
|
-
},
|
|
68
|
-
analyzeRepoTimeouts: {
|
|
69
|
-
analyzeMs: 300000,
|
|
70
|
-
},
|
|
71
|
-
},
|
|
72
|
-
},
|
|
73
|
-
shepHome: '/home/user/.shep',
|
|
74
|
-
dbFileSize: '2.4 MB',
|
|
75
|
-
},
|
|
76
|
-
};
|
package/dist/src/presentation/web/components/features/settings/workflow-settings-section.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-settings-section.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/workflow-settings-section.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"workflow-settings-section.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/workflow-settings-section.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAE3E,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,EAAE,cAAc,CAAC;CAC1B;AAED,wBAAgB,uBAAuB,CAAC,EAAE,QAAQ,EAAE,EAAE,4BAA4B,2CAgQjF"}
|
|
@@ -9,7 +9,6 @@ import { Input } from '../../ui/input.js';
|
|
|
9
9
|
import { Switch } from '../../ui/switch.js';
|
|
10
10
|
import { Separator } from '../../ui/separator.js';
|
|
11
11
|
import { updateSettingsAction } from '../../../app/actions/update-settings.js';
|
|
12
|
-
import { TimeoutSlider } from '../../features/settings/timeout-slider.js';
|
|
13
12
|
export function WorkflowSettingsSection({ workflow }) {
|
|
14
13
|
const [openPr, setOpenPr] = useState(workflow.openPrOnImplementationComplete);
|
|
15
14
|
const [pushOnComplete, setPushOnComplete] = useState(workflow.approvalGateDefaults.pushOnImplementationComplete);
|
|
@@ -19,18 +18,6 @@ export function WorkflowSettingsSection({ workflow }) {
|
|
|
19
18
|
const [ciMaxFix, setCiMaxFix] = useState(workflow.ciMaxFixAttempts != null ? String(workflow.ciMaxFixAttempts) : '');
|
|
20
19
|
const [ciTimeout, setCiTimeout] = useState(workflow.ciWatchTimeoutMs != null ? String(Math.round(workflow.ciWatchTimeoutMs / 1000)) : '');
|
|
21
20
|
const [ciLogMax, setCiLogMax] = useState(workflow.ciLogMaxChars != null ? String(workflow.ciLogMaxChars) : '');
|
|
22
|
-
// Per-stage timeout states (seconds for display)
|
|
23
|
-
// Defaults: feature agent stages = 1_800_000 ms (1800s), analyze-repo = 600_000 ms (600s)
|
|
24
|
-
const st = workflow.stageTimeouts;
|
|
25
|
-
const [analyzeTimeout, setAnalyzeTimeout] = useState(String(Math.round((st?.analyzeMs ?? 1_800_000) / 1000)));
|
|
26
|
-
const [requirementsTimeout, setRequirementsTimeout] = useState(String(Math.round((st?.requirementsMs ?? 1_800_000) / 1000)));
|
|
27
|
-
const [researchTimeout, setResearchTimeout] = useState(String(Math.round((st?.researchMs ?? 1_800_000) / 1000)));
|
|
28
|
-
const [planTimeout, setPlanTimeout] = useState(String(Math.round((st?.planMs ?? 1_800_000) / 1000)));
|
|
29
|
-
const [implementTimeout, setImplementTimeout] = useState(String(Math.round((st?.implementMs ?? 1_800_000) / 1000)));
|
|
30
|
-
const [mergeTimeout, setMergeTimeout] = useState(String(Math.round((st?.mergeMs ?? 1_800_000) / 1000)));
|
|
31
|
-
// Analyze-repo agent timeout state
|
|
32
|
-
const art = workflow.analyzeRepoTimeouts;
|
|
33
|
-
const [analyzeRepoTimeout, setAnalyzeRepoTimeout] = useState(String(Math.round((art?.analyzeMs ?? 600_000) / 1000)));
|
|
34
21
|
const [isPending, startTransition] = useTransition();
|
|
35
22
|
const [showSaved, setShowSaved] = useState(false);
|
|
36
23
|
const prevPendingRef = useRef(false);
|
|
@@ -48,10 +35,6 @@ export function WorkflowSettingsSection({ workflow }) {
|
|
|
48
35
|
const n = parseInt(value, 10);
|
|
49
36
|
return Number.isNaN(n) || n <= 0 ? undefined : n;
|
|
50
37
|
}
|
|
51
|
-
function secondsToMs(val) {
|
|
52
|
-
const n = parseOptionalInt(val);
|
|
53
|
-
return n != null ? n * 1000 : undefined;
|
|
54
|
-
}
|
|
55
38
|
function buildPayload(overrides = {}) {
|
|
56
39
|
const timeoutSeconds = parseOptionalInt(overrides.ciTimeout ?? ciTimeout);
|
|
57
40
|
return {
|
|
@@ -66,17 +49,6 @@ export function WorkflowSettingsSection({ workflow }) {
|
|
|
66
49
|
ciMaxFixAttempts: parseOptionalInt(overrides.ciMaxFix ?? ciMaxFix),
|
|
67
50
|
ciWatchTimeoutMs: timeoutSeconds != null ? timeoutSeconds * 1000 : undefined,
|
|
68
51
|
ciLogMaxChars: parseOptionalInt(overrides.ciLogMax ?? ciLogMax),
|
|
69
|
-
stageTimeouts: {
|
|
70
|
-
analyzeMs: secondsToMs(overrides.analyzeTimeout ?? analyzeTimeout),
|
|
71
|
-
requirementsMs: secondsToMs(overrides.requirementsTimeout ?? requirementsTimeout),
|
|
72
|
-
researchMs: secondsToMs(overrides.researchTimeout ?? researchTimeout),
|
|
73
|
-
planMs: secondsToMs(overrides.planTimeout ?? planTimeout),
|
|
74
|
-
implementMs: secondsToMs(overrides.implementTimeout ?? implementTimeout),
|
|
75
|
-
mergeMs: secondsToMs(overrides.mergeTimeout ?? mergeTimeout),
|
|
76
|
-
},
|
|
77
|
-
analyzeRepoTimeouts: {
|
|
78
|
-
analyzeMs: secondsToMs(overrides.analyzeRepoTimeout ?? analyzeRepoTimeout),
|
|
79
|
-
},
|
|
80
52
|
},
|
|
81
53
|
};
|
|
82
54
|
}
|
|
@@ -92,7 +64,7 @@ export function WorkflowSettingsSection({ workflow }) {
|
|
|
92
64
|
setter(value);
|
|
93
65
|
save({ [key]: value });
|
|
94
66
|
}
|
|
95
|
-
function
|
|
67
|
+
function handleCiFieldBlur(key, currentValue, originalValue) {
|
|
96
68
|
if (currentValue !== originalValue) {
|
|
97
69
|
save({ [key]: currentValue });
|
|
98
70
|
}
|
|
@@ -100,72 +72,5 @@ export function WorkflowSettingsSection({ workflow }) {
|
|
|
100
72
|
const originalCiMaxFix = workflow.ciMaxFixAttempts != null ? String(workflow.ciMaxFixAttempts) : '';
|
|
101
73
|
const originalCiTimeout = workflow.ciWatchTimeoutMs != null ? String(Math.round(workflow.ciWatchTimeoutMs / 1000)) : '';
|
|
102
74
|
const originalCiLogMax = workflow.ciLogMaxChars != null ? String(workflow.ciLogMaxChars) : '';
|
|
103
|
-
|
|
104
|
-
const originalRequirementsTimeout = st?.requirementsMs != null ? String(Math.round(st.requirementsMs / 1000)) : '';
|
|
105
|
-
const originalResearchTimeout = st?.researchMs != null ? String(Math.round(st.researchMs / 1000)) : '';
|
|
106
|
-
const originalPlanTimeout = st?.planMs != null ? String(Math.round(st.planMs / 1000)) : '';
|
|
107
|
-
const originalImplementTimeout = st?.implementMs != null ? String(Math.round(st.implementMs / 1000)) : '';
|
|
108
|
-
const originalMergeTimeout = st?.mergeMs != null ? String(Math.round(st.mergeMs / 1000)) : '';
|
|
109
|
-
const originalAnalyzeRepoTimeout = art?.analyzeMs != null ? String(Math.round(art.analyzeMs / 1000)) : '';
|
|
110
|
-
const FEATURE_AGENT_FIELDS = [
|
|
111
|
-
{
|
|
112
|
-
key: 'analyzeTimeout',
|
|
113
|
-
label: 'Analyze',
|
|
114
|
-
defaultSeconds: 1800,
|
|
115
|
-
state: analyzeTimeout,
|
|
116
|
-
setter: setAnalyzeTimeout,
|
|
117
|
-
original: originalAnalyzeTimeout,
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
key: 'requirementsTimeout',
|
|
121
|
-
label: 'Requirements',
|
|
122
|
-
defaultSeconds: 1800,
|
|
123
|
-
state: requirementsTimeout,
|
|
124
|
-
setter: setRequirementsTimeout,
|
|
125
|
-
original: originalRequirementsTimeout,
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
key: 'researchTimeout',
|
|
129
|
-
label: 'Research',
|
|
130
|
-
defaultSeconds: 1800,
|
|
131
|
-
state: researchTimeout,
|
|
132
|
-
setter: setResearchTimeout,
|
|
133
|
-
original: originalResearchTimeout,
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
key: 'planTimeout',
|
|
137
|
-
label: 'Plan',
|
|
138
|
-
defaultSeconds: 1800,
|
|
139
|
-
state: planTimeout,
|
|
140
|
-
setter: setPlanTimeout,
|
|
141
|
-
original: originalPlanTimeout,
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
key: 'implementTimeout',
|
|
145
|
-
label: 'Implement',
|
|
146
|
-
defaultSeconds: 1800,
|
|
147
|
-
state: implementTimeout,
|
|
148
|
-
setter: setImplementTimeout,
|
|
149
|
-
original: originalImplementTimeout,
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
key: 'mergeTimeout',
|
|
153
|
-
label: 'Merge',
|
|
154
|
-
defaultSeconds: 1800,
|
|
155
|
-
state: mergeTimeout,
|
|
156
|
-
setter: setMergeTimeout,
|
|
157
|
-
original: originalMergeTimeout,
|
|
158
|
-
},
|
|
159
|
-
];
|
|
160
|
-
const ANALYZE_REPO_FIELDS = [
|
|
161
|
-
{
|
|
162
|
-
key: 'analyzeRepoTimeout',
|
|
163
|
-
label: 'Analyze',
|
|
164
|
-
defaultSeconds: 600,
|
|
165
|
-
state: analyzeRepoTimeout,
|
|
166
|
-
setter: setAnalyzeRepoTimeout,
|
|
167
|
-
original: originalAnalyzeRepoTimeout,
|
|
168
|
-
},
|
|
169
|
-
];
|
|
170
|
-
return (_jsxs(Card, { id: "workflow", className: "scroll-mt-6", "data-testid": "workflow-settings-section", children: [_jsxs(CardHeader, { children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(GitBranch, { className: "text-muted-foreground h-4 w-4" }), _jsx(CardTitle, { children: "Workflow" })] }), isPending ? _jsx("span", { className: "text-muted-foreground text-xs", children: "Saving..." }) : null, showSaved && !isPending ? (_jsxs("span", { className: "flex items-center gap-1 text-xs text-green-600", children: [_jsx(Check, { className: "h-3 w-3" }), "Saved"] })) : null] }), _jsx(CardDescription, { children: "Configure PR behavior, approval gates, and CI settings" })] }), _jsxs(CardContent, { className: "space-y-4", children: [_jsxs("div", { className: "space-y-3", children: [_jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsxs("div", { className: "space-y-0.5", children: [_jsx(Label, { htmlFor: "open-pr", children: "Open PR on implementation complete" }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Automatically create a pull request when the agent finishes" })] }), _jsx(Switch, { id: "open-pr", "data-testid": "switch-open-pr", checked: openPr, onCheckedChange: (v) => handleSwitchChange('openPr', setOpenPr, v) })] }), _jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsxs("div", { className: "space-y-0.5", children: [_jsx(Label, { htmlFor: "push-on-complete", children: "Push on implementation complete" }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Push the branch to remote when implementation is done" })] }), _jsx(Switch, { id: "push-on-complete", "data-testid": "switch-push-on-complete", checked: pushOnComplete, onCheckedChange: (v) => handleSwitchChange('pushOnComplete', setPushOnComplete, v) })] })] }), _jsx(Separator, {}), _jsxs("div", { className: "space-y-3", children: [_jsx("h3", { className: "text-sm font-semibold", children: "Approval Gates" }), _jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsxs("div", { className: "space-y-0.5", children: [_jsx(Label, { htmlFor: "allow-prd", children: "PRD auto-approval" }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Skip manual approval for product requirement documents" })] }), _jsx(Switch, { id: "allow-prd", "data-testid": "switch-allow-prd", checked: allowPrd, onCheckedChange: (v) => handleSwitchChange('allowPrd', setAllowPrd, v) })] }), _jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsxs("div", { className: "space-y-0.5", children: [_jsx(Label, { htmlFor: "allow-plan", children: "Plan auto-approval" }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Skip manual approval for implementation plans" })] }), _jsx(Switch, { id: "allow-plan", "data-testid": "switch-allow-plan", checked: allowPlan, onCheckedChange: (v) => handleSwitchChange('allowPlan', setAllowPlan, v) })] }), _jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsxs("div", { className: "space-y-0.5", children: [_jsx(Label, { htmlFor: "allow-merge", children: "Merge auto-approval" }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Skip manual approval for PR merges" })] }), _jsx(Switch, { id: "allow-merge", "data-testid": "switch-allow-merge", checked: allowMerge, onCheckedChange: (v) => handleSwitchChange('allowMerge', setAllowMerge, v) })] })] }), _jsx(Separator, {}), _jsxs("div", { className: "space-y-3", children: [_jsx("h3", { className: "text-sm font-semibold", children: "CI Settings" }), _jsxs("div", { className: "space-y-1.5", children: [_jsx(Label, { htmlFor: "ci-max-fix", children: "Max fix attempts" }), _jsx(Input, { id: "ci-max-fix", "data-testid": "ci-max-fix-input", type: "text", inputMode: "numeric", pattern: "[0-9]*", min: 1, max: 10, placeholder: "e.g., 3", value: ciMaxFix, onChange: (e) => setCiMaxFix(e.target.value), onBlur: () => handleFieldBlur('ciMaxFix', ciMaxFix, originalCiMaxFix) }), _jsx("p", { className: "text-muted-foreground text-xs", children: "How many times the agent retries fixing CI failures" })] }), _jsxs("div", { className: "space-y-1.5", children: [_jsx(Label, { htmlFor: "ci-timeout", children: "Watch timeout (seconds)" }), _jsx(Input, { id: "ci-timeout", "data-testid": "ci-timeout-input", type: "text", inputMode: "numeric", pattern: "[0-9]*", placeholder: "e.g., 300", value: ciTimeout, onChange: (e) => setCiTimeout(e.target.value), onBlur: () => handleFieldBlur('ciTimeout', ciTimeout, originalCiTimeout) }), _jsx("p", { className: "text-muted-foreground text-xs", children: "How long to wait for CI to complete before timing out" })] }), _jsxs("div", { className: "space-y-1.5", children: [_jsx(Label, { htmlFor: "ci-log-max", children: "Max log characters" }), _jsx(Input, { id: "ci-log-max", "data-testid": "ci-log-max-input", type: "text", inputMode: "numeric", pattern: "[0-9]*", placeholder: "e.g., 50000", value: ciLogMax, onChange: (e) => setCiLogMax(e.target.value), onBlur: () => handleFieldBlur('ciLogMax', ciLogMax, originalCiLogMax) }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Maximum characters to capture from CI logs" })] })] }), _jsx(Separator, {}), _jsxs("div", { className: "space-y-3", children: [_jsx("h3", { className: "text-sm font-semibold", children: "Stage Timeouts" }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Maximum execution time per agent stage" }), _jsx("h4", { className: "text-muted-foreground text-xs font-semibold tracking-wider uppercase", children: "Feature Agent" }), FEATURE_AGENT_FIELDS.map((field) => (_jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsx(Label, { htmlFor: `stage-timeout-${field.key}`, children: field.label }), _jsx(TimeoutSlider, { id: `stage-timeout-${field.key}`, testId: `stage-timeout-${field.key}-input`, value: field.state, onChange: field.setter, onBlur: () => handleFieldBlur(field.key, field.state, field.original), defaultSeconds: field.defaultSeconds })] }, field.key))), _jsx("h4", { className: "text-muted-foreground pt-2 text-xs font-semibold tracking-wider uppercase", children: "Analyze Repository Agent" }), ANALYZE_REPO_FIELDS.map((field) => (_jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsx(Label, { htmlFor: `stage-timeout-${field.key}`, children: field.label }), _jsx(TimeoutSlider, { id: `stage-timeout-${field.key}`, testId: `stage-timeout-${field.key}-input`, value: field.state, onChange: field.setter, onBlur: () => handleFieldBlur(field.key, field.state, field.original), defaultSeconds: field.defaultSeconds })] }, field.key)))] })] })] }));
|
|
75
|
+
return (_jsxs(Card, { id: "workflow", className: "scroll-mt-6", "data-testid": "workflow-settings-section", children: [_jsxs(CardHeader, { children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(GitBranch, { className: "text-muted-foreground h-4 w-4" }), _jsx(CardTitle, { children: "Workflow" })] }), isPending ? _jsx("span", { className: "text-muted-foreground text-xs", children: "Saving..." }) : null, showSaved && !isPending ? (_jsxs("span", { className: "flex items-center gap-1 text-xs text-green-600", children: [_jsx(Check, { className: "h-3 w-3" }), "Saved"] })) : null] }), _jsx(CardDescription, { children: "Configure PR behavior, approval gates, and CI settings" })] }), _jsxs(CardContent, { className: "space-y-4", children: [_jsxs("div", { className: "space-y-3", children: [_jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsxs("div", { className: "space-y-0.5", children: [_jsx(Label, { htmlFor: "open-pr", children: "Open PR on implementation complete" }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Automatically create a pull request when the agent finishes" })] }), _jsx(Switch, { id: "open-pr", "data-testid": "switch-open-pr", checked: openPr, onCheckedChange: (v) => handleSwitchChange('openPr', setOpenPr, v) })] }), _jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsxs("div", { className: "space-y-0.5", children: [_jsx(Label, { htmlFor: "push-on-complete", children: "Push on implementation complete" }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Push the branch to remote when implementation is done" })] }), _jsx(Switch, { id: "push-on-complete", "data-testid": "switch-push-on-complete", checked: pushOnComplete, onCheckedChange: (v) => handleSwitchChange('pushOnComplete', setPushOnComplete, v) })] })] }), _jsx(Separator, {}), _jsxs("div", { className: "space-y-3", children: [_jsx("h3", { className: "text-sm font-semibold", children: "Approval Gates" }), _jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsxs("div", { className: "space-y-0.5", children: [_jsx(Label, { htmlFor: "allow-prd", children: "PRD auto-approval" }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Skip manual approval for product requirement documents" })] }), _jsx(Switch, { id: "allow-prd", "data-testid": "switch-allow-prd", checked: allowPrd, onCheckedChange: (v) => handleSwitchChange('allowPrd', setAllowPrd, v) })] }), _jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsxs("div", { className: "space-y-0.5", children: [_jsx(Label, { htmlFor: "allow-plan", children: "Plan auto-approval" }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Skip manual approval for implementation plans" })] }), _jsx(Switch, { id: "allow-plan", "data-testid": "switch-allow-plan", checked: allowPlan, onCheckedChange: (v) => handleSwitchChange('allowPlan', setAllowPlan, v) })] }), _jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsxs("div", { className: "space-y-0.5", children: [_jsx(Label, { htmlFor: "allow-merge", children: "Merge auto-approval" }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Skip manual approval for PR merges" })] }), _jsx(Switch, { id: "allow-merge", "data-testid": "switch-allow-merge", checked: allowMerge, onCheckedChange: (v) => handleSwitchChange('allowMerge', setAllowMerge, v) })] })] }), _jsx(Separator, {}), _jsxs("div", { className: "space-y-3", children: [_jsx("h3", { className: "text-sm font-semibold", children: "CI Settings" }), _jsxs("div", { className: "space-y-1.5", children: [_jsx(Label, { htmlFor: "ci-max-fix", children: "Max fix attempts" }), _jsx(Input, { id: "ci-max-fix", "data-testid": "ci-max-fix-input", type: "text", inputMode: "numeric", pattern: "[0-9]*", min: 1, max: 10, placeholder: "e.g., 3", value: ciMaxFix, onChange: (e) => setCiMaxFix(e.target.value), onBlur: () => handleCiFieldBlur('ciMaxFix', ciMaxFix, originalCiMaxFix) }), _jsx("p", { className: "text-muted-foreground text-xs", children: "How many times the agent retries fixing CI failures" })] }), _jsxs("div", { className: "space-y-1.5", children: [_jsx(Label, { htmlFor: "ci-timeout", children: "Watch timeout (seconds)" }), _jsx(Input, { id: "ci-timeout", "data-testid": "ci-timeout-input", type: "text", inputMode: "numeric", pattern: "[0-9]*", placeholder: "e.g., 300", value: ciTimeout, onChange: (e) => setCiTimeout(e.target.value), onBlur: () => handleCiFieldBlur('ciTimeout', ciTimeout, originalCiTimeout) }), _jsx("p", { className: "text-muted-foreground text-xs", children: "How long to wait for CI to complete before timing out" })] }), _jsxs("div", { className: "space-y-1.5", children: [_jsx(Label, { htmlFor: "ci-log-max", children: "Max log characters" }), _jsx(Input, { id: "ci-log-max", "data-testid": "ci-log-max-input", type: "text", inputMode: "numeric", pattern: "[0-9]*", placeholder: "e.g., 50000", value: ciLogMax, onChange: (e) => setCiLogMax(e.target.value), onBlur: () => handleCiFieldBlur('ciLogMax', ciLogMax, originalCiLogMax) }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Maximum characters to capture from CI logs" })] })] })] })] }));
|
|
171
76
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-settings-section.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/workflow-settings-section.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,QAAA,MAAM,IAAI;;;;;;;CAOsC,CAAC;AAEjD,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAcrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"workflow-settings-section.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/workflow-settings-section.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,QAAA,MAAM,IAAI;;;;;;;CAOsC,CAAC;AAEjD,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAcrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAiBxB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAiB5B,CAAC"}
|