@shepai/cli 1.76.0 → 1.77.0-pr244.422e487
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apis/json-schema/FeatureFlags.yaml +21 -0
- package/apis/json-schema/Settings.yaml +3 -0
- package/dist/packages/core/src/application/ports/output/agents/feature-agent-process.interface.d.ts +1 -0
- package/dist/packages/core/src/application/ports/output/agents/feature-agent-process.interface.d.ts.map +1 -1
- package/dist/packages/core/src/application/ports/output/services/spec-initializer.interface.d.ts +4 -1
- package/dist/packages/core/src/application/ports/output/services/spec-initializer.interface.d.ts.map +1 -1
- 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 +5 -2
- package/dist/packages/core/src/application/use-cases/features/create/types.d.ts +2 -0
- package/dist/packages/core/src/application/use-cases/features/create/types.d.ts.map +1 -1
- package/dist/packages/core/src/domain/factories/settings-defaults.factory.d.ts.map +1 -1
- package/dist/packages/core/src/domain/factories/settings-defaults.factory.js +7 -2
- package/dist/packages/core/src/domain/generated/output.d.ts +21 -0
- package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/di/container.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/di/container.js +6 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts +6 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.js +17 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations.js +27 -0
- package/dist/packages/core/src/infrastructure/repositories/sqlite-settings.repository.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/repositories/sqlite-settings.repository.js +13 -3
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/fast-feature-agent-graph.d.ts +220 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/fast-feature-agent-graph.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/fast-feature-agent-graph.js +66 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.d.ts +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.js +3 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.d.ts +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.js +10 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/lifecycle-context.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/lifecycle-context.js +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/fast-implement.node.d.ts +21 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/fast-implement.node.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/fast-implement.node.js +60 -0
- 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 +1 -2
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/fast-implement.prompt.d.ts +25 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/fast-implement.prompt.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/fast-implement.prompt.js +176 -0
- package/dist/packages/core/src/infrastructure/services/settings.service.d.ts +10 -0
- package/dist/packages/core/src/infrastructure/services/settings.service.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/settings.service.js +15 -0
- package/dist/packages/core/src/infrastructure/services/spec/spec-initializer.service.d.ts +1 -1
- package/dist/packages/core/src/infrastructure/services/spec/spec-initializer.service.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/spec/spec-initializer.service.js +8 -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 +2 -0
- package/dist/src/presentation/web/app/actions/create-feature.d.ts +2 -0
- package/dist/src/presentation/web/app/actions/create-feature.d.ts.map +1 -1
- package/dist/src/presentation/web/app/actions/create-feature.js +3 -1
- package/dist/src/presentation/web/app/actions/load-settings.d.ts +9 -0
- package/dist/src/presentation/web/app/actions/load-settings.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/load-settings.js +33 -0
- package/dist/src/presentation/web/app/actions/update-settings.d.ts +11 -0
- package/dist/src/presentation/web/app/actions/update-settings.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/update-settings.js +45 -0
- package/dist/src/presentation/web/app/global-error.d.ts +7 -0
- package/dist/src/presentation/web/app/global-error.d.ts.map +1 -0
- package/dist/src/presentation/web/app/global-error.js +5 -0
- package/dist/src/presentation/web/app/settings/page.d.ts +4 -0
- package/dist/src/presentation/web/app/settings/page.d.ts.map +1 -0
- package/dist/src/presentation/web/app/settings/page.js +12 -0
- package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.d.ts +2 -0
- 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 +5 -1
- package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.stories.d.ts +18 -0
- package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.stories.js +49 -0
- 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 +28 -4
- package/dist/src/presentation/web/components/features/control-center/use-control-center-state.d.ts +4 -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 +6 -3
- package/dist/src/presentation/web/components/features/features-canvas/features-canvas.js +1 -1
- package/dist/src/presentation/web/components/features/features-canvas/features-canvas.stories.d.ts +1 -0
- package/dist/src/presentation/web/components/features/features-canvas/features-canvas.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/features-canvas/features-canvas.stories.js +71 -2
- package/dist/src/presentation/web/components/features/settings/agent-settings-section.d.ts +6 -0
- package/dist/src/presentation/web/components/features/settings/agent-settings-section.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/settings/agent-settings-section.js +71 -0
- package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.d.ts +16 -0
- package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.js +36 -0
- package/dist/src/presentation/web/components/features/settings/database-settings-section.d.ts +6 -0
- package/dist/src/presentation/web/components/features/settings/database-settings-section.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/settings/database-settings-section.js +8 -0
- package/dist/src/presentation/web/components/features/settings/database-settings-section.stories.d.ts +15 -0
- package/dist/src/presentation/web/components/features/settings/database-settings-section.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/settings/database-settings-section.stories.js +22 -0
- package/dist/src/presentation/web/components/features/settings/environment-settings-section.d.ts +6 -0
- package/dist/src/presentation/web/components/features/settings/environment-settings-section.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/settings/environment-settings-section.js +54 -0
- package/dist/src/presentation/web/components/features/settings/environment-settings-section.stories.d.ts +15 -0
- package/dist/src/presentation/web/components/features/settings/environment-settings-section.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/settings/environment-settings-section.stories.js +27 -0
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.d.ts +6 -0
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.js +45 -0
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.d.ts +16 -0
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.js +37 -0
- package/dist/src/presentation/web/components/features/settings/notification-settings-section.d.ts +6 -0
- package/dist/src/presentation/web/components/features/settings/notification-settings-section.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/settings/notification-settings-section.js +68 -0
- package/dist/src/presentation/web/components/features/settings/notification-settings-section.stories.d.ts +16 -0
- package/dist/src/presentation/web/components/features/settings/notification-settings-section.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/settings/notification-settings-section.stories.js +62 -0
- package/dist/src/presentation/web/components/features/settings/settings-page-client.d.ts +8 -0
- package/dist/src/presentation/web/components/features/settings/settings-page-client.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/settings/settings-page-client.js +21 -0
- package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.d.ts +15 -0
- package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.js +39 -0
- package/dist/src/presentation/web/components/features/settings/workflow-settings-section.d.ts +6 -0
- package/dist/src/presentation/web/components/features/settings/workflow-settings-section.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/settings/workflow-settings-section.js +76 -0
- package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.d.ts +16 -0
- package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.js +55 -0
- 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/components/ui/switch.d.ts +7 -0
- package/dist/src/presentation/web/components/ui/switch.d.ts.map +1 -0
- package/dist/src/presentation/web/components/ui/switch.js +8 -0
- package/dist/src/presentation/web/hooks/use-graph-state.d.ts +2 -0
- package/dist/src/presentation/web/hooks/use-graph-state.d.ts.map +1 -1
- package/dist/src/presentation/web/hooks/use-graph-state.js +4 -0
- package/dist/src/presentation/web/hooks/use-viewport-persistence.d.ts +1 -0
- package/dist/src/presentation/web/hooks/use-viewport-persistence.d.ts.map +1 -1
- package/dist/src/presentation/web/lib/feature-flags.d.ts +14 -2
- package/dist/src/presentation/web/lib/feature-flags.d.ts.map +1 -1
- package/dist/src/presentation/web/lib/feature-flags.js +39 -4
- 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 +1 -0
- package/web/.next/build-manifest.json +6 -6
- package/web/.next/cache/.previewinfo +1 -1
- package/web/.next/cache/.rscinfo +1 -1
- package/web/.next/cache/.tsbuildinfo +1 -1
- package/web/.next/cache/config.json +3 -3
- 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 +6 -0
- 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 +16 -16
- package/web/.next/server/app/(dashboard)/@drawer/create/page.js +8 -7
- 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]/page/build-manifest.json +4 -4
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/server-reference-manifest.json +19 -19
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js +8 -7
- 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 +14 -14
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js +8 -7
- 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 +16 -16
- package/web/.next/server/app/(dashboard)/create/page.js +8 -7
- 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]/page/build-manifest.json +4 -4
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page/server-reference-manifest.json +19 -19
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js +8 -7
- 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 +14 -14
- package/web/.next/server/app/(dashboard)/page.js +8 -7
- 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 +14 -14
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js +8 -7
- 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/page.js +4 -3
- package/web/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/web/.next/server/app/_global-error.html +2 -2
- package/web/.next/server/app/_global-error.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/server/app/_not-found/page/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 +9 -7
- 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/settings/page/app-paths-manifest.json +3 -0
- package/web/.next/server/app/settings/page/build-manifest.json +18 -0
- package/web/.next/server/app/settings/page/next-font-manifest.json +6 -0
- package/web/.next/server/app/settings/page/react-loadable-manifest.json +1 -0
- package/web/.next/server/app/settings/page/server-reference-manifest.json +50 -0
- package/web/.next/server/app/settings/page.js +18 -0
- package/web/.next/server/app/settings/page.js.map +5 -0
- package/web/.next/server/app/settings/page.js.nft.json +1 -0
- package/web/.next/server/app/settings/page_client-reference-manifest.js +2 -0
- 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 +11 -8
- 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 +9 -7
- 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 +8 -7
- 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 +1 -0
- package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_4d623b8e.js.map +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_190bdc35._.js +4 -0
- package/web/.next/server/chunks/ssr/{403f9_next_dist_6c821c12._.js.map → 403f9_next_dist_190bdc35._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_31ea46d3._.js +6 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_31ea46d3._.js.map +1 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_c9d9b4d7._.js +6 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_c9d9b4d7._.js.map +1 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_compiled_dc550646._.js +3 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_compiled_dc550646._.js.map +1 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_3981ee1d._.js +3 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_3981ee1d._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{403f9_next_dist_esm_build_templates_app-page_bec3d8d3.js → 403f9_next_dist_esm_build_templates_app-page_2eacac96.js} +3 -3
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_2eacac96.js.map +1 -0
- package/web/.next/server/chunks/ssr/{403f9_next_dist_esm_build_templates_app-page_c27615b6.js → 403f9_next_dist_esm_build_templates_app-page_46d6bf1b.js} +3 -3
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_46d6bf1b.js.map +1 -0
- package/web/.next/{standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_bec3d8d3.js → server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_54b1e179.js} +3 -3
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_54b1e179.js.map +1 -0
- package/web/.next/server/chunks/ssr/{403f9_next_dist_esm_build_templates_app-page_dbf21e04.js → 403f9_next_dist_esm_build_templates_app-page_6c70ecca.js} +3 -3
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_6c70ecca.js.map +1 -0
- package/web/.next/{standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_d302115b.js → server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_c9978986.js} +3 -3
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_c9978986.js.map +1 -0
- package/web/.next/server/chunks/ssr/{403f9_next_dist_esm_build_templates_app-page_d302115b.js → 403f9_next_dist_esm_build_templates_app-page_ce6dae5d.js} +3 -3
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_ce6dae5d.js.map +1 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_d82f78f0.js +4 -0
- package/web/.next/server/chunks/ssr/{_884ddade._.js.map → 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/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_da7eef33.js +1 -1
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_da7eef33.js.map +1 -1
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_0a9251aa.js +1 -1
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_0a9251aa.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0880ff0e._.js +3 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__8a947500._.js.map → [root-of-the-server]__0880ff0e._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__c37779e6._.js → [root-of-the-server]__09af7f56._.js} +2 -2
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__c37779e6._.js.map → [root-of-the-server]__09af7f56._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__11033878._.js +4 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__6b17a22d._.js.map → [root-of-the-server]__11033878._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1e4ddb05._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1e4ddb05._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__23b5ca2c._.js +3 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__6ee2450e._.js.map → [root-of-the-server]__23b5ca2c._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__2f487654._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__2f487654._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__357d99f9._.js +3 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__249c74f6._.js.map → [root-of-the-server]__357d99f9._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__5edfc56b._.js +3 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__c18f84a4._.js.map → [root-of-the-server]__5edfc56b._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6eb2a2b0._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6eb2a2b0._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__8c88ef55._.js +3 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__fa87595c._.js.map → [root-of-the-server]__8c88ef55._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__aad040c0._.js +1 -1
- 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]__ad2b2a3c._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__ad2b2a3c._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c0876a83._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c0876a83._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c3c963c6._.js +3 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__2018e25f._.js.map → [root-of-the-server]__c3c963c6._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c9777776._.js +3 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__3b4af5ae._.js.map → [root-of-the-server]__c9777776._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c9eacb2e._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c9eacb2e._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__f0d8d054._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__f0d8d054._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__fb243197._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__fb243197._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__fdc75809._.js +4 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__804c006d._.js.map → [root-of-the-server]__fdc75809._.js.map} +1 -1
- package/web/.next/{standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_8e8822d6.js → server/chunks/ssr/_16235e5e._.js} +3 -3
- package/web/.next/server/chunks/ssr/_16235e5e._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_3a4c94e3._.js +3 -0
- package/web/.next/server/chunks/ssr/_3a4c94e3._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_4b60a2b7._.js +3 -0
- package/web/.next/server/chunks/ssr/_4b60a2b7._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_6645f218._.js +21 -0
- package/web/.next/server/chunks/ssr/_6645f218._.js.map +1 -0
- package/web/.next/{standalone/src/presentation/web/.next/server/chunks/ssr/_ad8a094f._.js → server/chunks/ssr/_6887cba3._.js} +3 -3
- package/web/.next/server/chunks/ssr/_6887cba3._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_6d5ca3fe._.js +3 -0
- package/web/.next/server/chunks/ssr/_6d5ca3fe._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_6e08ce21._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_77989807._.js +3 -0
- package/web/.next/server/chunks/ssr/_77989807._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_800acf27._.js +3 -0
- package/web/.next/server/chunks/ssr/_800acf27._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{403f9_next_dist_6c821c12._.js → _8eeee4db._.js} +3 -3
- package/web/.next/server/chunks/ssr/_8eeee4db._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_9025abb8._.js +3 -0
- package/web/.next/server/chunks/ssr/_9025abb8._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_9603ace6._.js +3 -0
- package/web/.next/server/chunks/ssr/_9603ace6._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_ad771b49._.js +6 -0
- package/web/.next/server/chunks/ssr/_ad771b49._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_b11878f5._.js +3 -0
- package/web/.next/server/chunks/ssr/_b11878f5._.js.map +1 -0
- package/web/.next/{standalone/src/presentation/web/.next/server/chunks/ssr/_3197d5cb._.js → server/chunks/ssr/_caf236b9._.js} +2 -2
- package/web/.next/server/chunks/ssr/_caf236b9._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_ce38ef23._.js +9 -0
- package/web/.next/server/chunks/ssr/_ce38ef23._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_d13defa2._.js +3 -0
- package/web/.next/server/chunks/ssr/_d13defa2._.js.map +1 -0
- package/web/.next/{standalone/src/presentation/web/.next/server/chunks/ssr/_884ddade._.js → server/chunks/ssr/_ed11dcd6._.js} +3 -3
- package/web/.next/server/chunks/ssr/_ed11dcd6._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_f0132aa7._.js +7 -0
- package/web/.next/server/chunks/ssr/_f0132aa7._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_f38b49fe._.js +3 -0
- package/web/.next/server/chunks/ssr/_f38b49fe._.js.map +1 -0
- package/web/.next/{standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_9d039634.js → server/chunks/ssr/_f4d222d6._.js} +3 -3
- package/web/.next/server/chunks/ssr/_f4d222d6._.js.map +1 -0
- package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js +3 -0
- package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js.map +1 -0
- package/web/.next/server/chunks/ssr/f7870_sonner_dist_index_mjs_dbf63824._.js +3 -0
- package/web/.next/server/chunks/ssr/f7870_sonner_dist_index_mjs_dbf63824._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_163038ba._.js +2 -2
- package/web/.next/server/chunks/ssr/src_presentation_web_163038ba._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_30d7eeda._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_30d7eeda._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_459cb687._.js +2 -2
- package/web/.next/server/chunks/ssr/src_presentation_web_459cb687._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_565a14f8._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_565a14f8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_021a05f2.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_021a05f2.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1fa8042e.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1fa8042e.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_24684200.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_24684200.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_app_global-error_tsx_14c389b5._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_app_global-error_tsx_14c389b5._.js.map +1 -0
- 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_components_ui_label_tsx_af3b4cd6._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_components_ui_label_tsx_af3b4cd6._.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 +59 -22
- package/web/.next/standalone/src/presentation/web/.next/BUILD_ID +1 -1
- package/web/.next/standalone/src/presentation/web/.next/app-path-routes-manifest.json +1 -0
- package/web/.next/standalone/src/presentation/web/.next/build-manifest.json +6 -6
- package/web/.next/standalone/src/presentation/web/.next/prerender-manifest.json +3 -3
- package/web/.next/standalone/src/presentation/web/.next/required-server-files.json +1 -1
- package/web/.next/standalone/src/presentation/web/.next/routes-manifest.json +6 -0
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/@drawer/create/page/build-manifest.json +4 -4
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +16 -16
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/@drawer/create/page.js +8 -7
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/@drawer/create/page.js.nft.json +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/@drawer/create/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/build-manifest.json +4 -4
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/server-reference-manifest.json +19 -19
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js +8 -7
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js.nft.json +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/build-manifest.json +4 -4
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +14 -14
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js +8 -7
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js.nft.json +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/create/page/build-manifest.json +4 -4
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +16 -16
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/create/page.js +8 -7
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/create/page.js.nft.json +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/create/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/feature/[featureId]/page/build-manifest.json +4 -4
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/feature/[featureId]/page/server-reference-manifest.json +19 -19
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/feature/[featureId]/page.js +8 -7
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/feature/[featureId]/page.js.nft.json +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/feature/[featureId]/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/page/build-manifest.json +4 -4
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/page/server-reference-manifest.json +14 -14
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/page.js +8 -7
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/page.js.nft.json +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/build-manifest.json +4 -4
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +14 -14
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js +8 -7
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js.nft.json +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/_global-error/page/build-manifest.json +4 -4
- package/web/.next/standalone/src/presentation/web/.next/server/app/_global-error/page.js +4 -3
- package/web/.next/standalone/src/presentation/web/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/_global-error.html +2 -2
- package/web/.next/standalone/src/presentation/web/.next/server/app/_global-error.rsc +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/_not-found/page/build-manifest.json +4 -4
- package/web/.next/standalone/src/presentation/web/.next/server/app/_not-found/page/server-reference-manifest.json +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/_not-found/page.js +9 -7
- package/web/.next/standalone/src/presentation/web/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/settings/page/app-paths-manifest.json +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/app/settings/page/build-manifest.json +18 -0
- package/web/.next/standalone/src/presentation/web/.next/server/app/settings/page/next-font-manifest.json +6 -0
- package/web/.next/standalone/src/presentation/web/.next/server/app/settings/page/react-loadable-manifest.json +1 -0
- package/web/.next/standalone/src/presentation/web/.next/server/app/settings/page/server-reference-manifest.json +50 -0
- package/web/.next/standalone/src/presentation/web/.next/server/app/settings/page.js +18 -0
- package/web/.next/standalone/src/presentation/web/.next/server/app/settings/page.js.map +5 -0
- package/web/.next/standalone/src/presentation/web/.next/server/app/settings/page.js.nft.json +1 -0
- package/web/.next/standalone/src/presentation/web/.next/server/app/settings/page_client-reference-manifest.js +2 -0
- package/web/.next/standalone/src/presentation/web/.next/server/app/skills/page/build-manifest.json +4 -4
- package/web/.next/standalone/src/presentation/web/.next/server/app/skills/page/server-reference-manifest.json +6 -6
- package/web/.next/standalone/src/presentation/web/.next/server/app/skills/page.js +11 -8
- package/web/.next/standalone/src/presentation/web/.next/server/app/skills/page.js.nft.json +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/tools/page/build-manifest.json +4 -4
- package/web/.next/standalone/src/presentation/web/.next/server/app/tools/page/server-reference-manifest.json +6 -6
- package/web/.next/standalone/src/presentation/web/.next/server/app/tools/page.js +9 -7
- package/web/.next/standalone/src/presentation/web/.next/server/app/tools/page.js.nft.json +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/tools/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/version/page/build-manifest.json +4 -4
- package/web/.next/standalone/src/presentation/web/.next/server/app/version/page/server-reference-manifest.json +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/version/page.js +8 -7
- package/web/.next/standalone/src/presentation/web/.next/server/app/version/page.js.nft.json +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/version/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app-paths-manifest.json +1 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_190bdc35._.js +4 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_31ea46d3._.js +6 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_c9d9b4d7._.js +6 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_compiled_dc550646._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_esm_3981ee1d._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_2eacac96.js +4 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/{403f9_next_dist_esm_build_templates_app-page_c27615b6.js → 403f9_next_dist_esm_build_templates_app-page_46d6bf1b.js} +3 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_54b1e179.js +4 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/{403f9_next_dist_esm_build_templates_app-page_dbf21e04.js → 403f9_next_dist_esm_build_templates_app-page_6c70ecca.js} +3 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_c9978986.js +4 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_ce6dae5d.js +4 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_d82f78f0.js +4 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_da7eef33.js +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_0a9251aa.js +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__0880ff0e._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/{[root-of-the-server]__c37779e6._.js → [root-of-the-server]__09af7f56._.js} +2 -2
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__11033878._.js +4 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__1e4ddb05._.js +4 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__23b5ca2c._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__2f487654._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__357d99f9._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__5edfc56b._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__6eb2a2b0._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__8c88ef55._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__aad040c0._.js +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__ad2b2a3c._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__c0876a83._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__c3c963c6._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__c9777776._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__c9eacb2e._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__f0d8d054._.js +4 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__fb243197._.js +4 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__fdc75809._.js +4 -0
- package/web/.next/{server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_8e8822d6.js → standalone/src/presentation/web/.next/server/chunks/ssr/_16235e5e._.js} +3 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_3a4c94e3._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_4b60a2b7._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_6645f218._.js +21 -0
- package/web/.next/{server/chunks/ssr/_ad8a094f._.js → standalone/src/presentation/web/.next/server/chunks/ssr/_6887cba3._.js} +3 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_6d5ca3fe._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_77989807._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_800acf27._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/{403f9_next_dist_6c821c12._.js → _8eeee4db._.js} +3 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_9025abb8._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_9603ace6._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_ad771b49._.js +6 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_b11878f5._.js +3 -0
- package/web/.next/{server/chunks/ssr/_3197d5cb._.js → standalone/src/presentation/web/.next/server/chunks/ssr/_caf236b9._.js} +2 -2
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_ce38ef23._.js +9 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_d13defa2._.js +3 -0
- package/web/.next/{server/chunks/ssr/_884ddade._.js → standalone/src/presentation/web/.next/server/chunks/ssr/_ed11dcd6._.js} +3 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_f0132aa7._.js +7 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_f38b49fe._.js +3 -0
- package/web/.next/{server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_9d039634.js → standalone/src/presentation/web/.next/server/chunks/ssr/_f4d222d6._.js} +3 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/f7870_sonner_dist_index_mjs_dbf63824._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/src_presentation_web_163038ba._.js +2 -2
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/src_presentation_web_30d7eeda._.js +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/src_presentation_web_459cb687._.js +2 -2
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/src_presentation_web_565a14f8._.js +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_021a05f2.js +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1fa8042e.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_24684200.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/src_presentation_web_app_global-error_tsx_14c389b5._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/src_presentation_web_components_e599bb8c._.js +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/src_presentation_web_components_ui_label_tsx_af3b4cd6._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/middleware-build-manifest.js +4 -4
- package/web/.next/standalone/src/presentation/web/.next/server/pages/500.html +2 -2
- package/web/.next/standalone/src/presentation/web/.next/server/server-reference-manifest.js +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/server-reference-manifest.json +59 -22
- package/web/.next/standalone/src/presentation/web/app/actions/create-feature.ts +6 -1
- package/web/.next/standalone/src/presentation/web/app/actions/load-settings.ts +43 -0
- package/web/.next/standalone/src/presentation/web/app/actions/update-settings.ts +73 -0
- package/web/.next/standalone/src/presentation/web/app/global-error.tsx +23 -0
- package/web/.next/standalone/src/presentation/web/app/settings/page.tsx +27 -0
- package/web/.next/standalone/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.stories.tsx +57 -0
- package/web/.next/standalone/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.tsx +21 -0
- package/web/.next/standalone/src/presentation/web/components/features/control-center/control-center-inner.tsx +32 -4
- package/web/.next/standalone/src/presentation/web/components/features/control-center/use-control-center-state.ts +9 -4
- package/web/.next/standalone/src/presentation/web/components/features/features-canvas/features-canvas.stories.tsx +81 -2
- package/web/.next/standalone/src/presentation/web/components/features/features-canvas/features-canvas.tsx +1 -1
- package/web/.next/standalone/src/presentation/web/components/features/settings/agent-settings-section.stories.tsx +43 -0
- package/web/.next/standalone/src/presentation/web/components/features/settings/agent-settings-section.tsx +176 -0
- package/web/.next/standalone/src/presentation/web/components/features/settings/database-settings-section.stories.tsx +28 -0
- package/web/.next/standalone/src/presentation/web/components/features/settings/database-settings-section.tsx +43 -0
- package/web/.next/standalone/src/presentation/web/components/features/settings/environment-settings-section.stories.tsx +33 -0
- package/web/.next/standalone/src/presentation/web/components/features/settings/environment-settings-section.tsx +125 -0
- package/web/.next/standalone/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.tsx +44 -0
- package/web/.next/standalone/src/presentation/web/components/features/settings/feature-flags-settings-section.tsx +94 -0
- package/web/.next/standalone/src/presentation/web/components/features/settings/notification-settings-section.stories.tsx +71 -0
- package/web/.next/standalone/src/presentation/web/components/features/settings/notification-settings-section.tsx +178 -0
- package/web/.next/standalone/src/presentation/web/components/features/settings/settings-page-client.stories.tsx +46 -0
- package/web/.next/standalone/src/presentation/web/components/features/settings/settings-page-client.tsx +60 -0
- package/web/.next/standalone/src/presentation/web/components/features/settings/workflow-settings-section.stories.tsx +62 -0
- package/web/.next/standalone/src/presentation/web/components/features/settings/workflow-settings-section.tsx +274 -0
- package/web/.next/standalone/src/presentation/web/components/layouts/app-sidebar/app-sidebar.tsx +7 -1
- package/web/.next/standalone/src/presentation/web/components/ui/switch.tsx +35 -0
- package/web/.next/standalone/src/presentation/web/hooks/use-graph-state.ts +7 -0
- package/web/.next/standalone/src/presentation/web/hooks/use-viewport-persistence.ts +2 -0
- package/web/.next/standalone/src/presentation/web/lib/feature-flags.ts +47 -4
- package/web/.next/standalone/src/presentation/web/server.js +1 -1
- package/web/.next/static/chunks/0c9c6fa052f30692.js +1 -0
- package/web/.next/static/chunks/12c0a9e7b566f998.css +2 -0
- package/web/.next/static/chunks/2500bf7056aaeff1.js +1 -0
- package/web/.next/static/chunks/27a80588cf4e08df.js +1 -0
- package/web/.next/static/chunks/27f7260befce4dea.js +1 -0
- package/web/.next/static/chunks/2bbd5c12e2c90c0c.js +1 -0
- package/web/.next/static/chunks/356ebc89a2a97627.js +1 -0
- package/web/.next/static/chunks/3b37508221559c80.js +1 -0
- package/web/.next/static/chunks/3e4dc2cc60a49743.js +1 -0
- package/web/.next/static/chunks/{716547ef8d13139d.js → 4d4a4111dec5f70f.js} +1 -1
- package/web/.next/static/chunks/700501f5ac2bb320.js +1 -0
- package/web/.next/static/chunks/736bef33b328e5e6.js +1 -0
- package/web/.next/static/chunks/8857165c23fc8fe5.js +1 -0
- package/web/.next/static/chunks/89aac43287d73b02.js +1 -0
- package/web/.next/static/chunks/9c74a889605bb2a3.js +1 -0
- package/web/.next/static/chunks/a5c6c77b79b9ed9b.js +1 -0
- package/web/.next/static/chunks/b1c0e555cf7bb4f8.js +1 -0
- package/web/.next/static/chunks/d0732d738a696000.js +1 -0
- package/web/.next/static/chunks/{07f00e2e73d322d2.js → d4d8f0a137bd2eb4.js} +3 -3
- package/web/.next/static/chunks/d9c55c5f00f6d29b.js +1 -0
- package/web/.next/static/chunks/db55ff93af6c8455.js +4 -0
- package/web/.next/static/chunks/{00adfce42dbbd5ef.js → f742ff5c1be2ef77.js} +1 -1
- package/web/.next/static/chunks/f97fd41212035056.js +11 -0
- package/web/.next/static/chunks/fa9742636bdfcce6.js +1 -0
- package/web/.next/static/chunks/{turbopack-05820f781f3ffc22.js → turbopack-3bdf15471eef2eec.js} +1 -1
- package/web/.next/trace +1 -1
- package/web/.next/trace-build +1 -1
- package/web/.next/types/link.d.ts +1 -0
- package/web/.next/types/routes.d.ts +2 -1
- package/web/.next/types/validator.ts +9 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_client_components_builtin_global-error_5fefc4d7.js +0 -3
- package/web/.next/server/chunks/ssr/403f9_next_dist_client_components_builtin_global-error_5fefc4d7.js.map +0 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_d738ab66._.js +0 -3
- package/web/.next/server/chunks/ssr/403f9_next_dist_d738ab66._.js.map +0 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_0f115902.js +0 -4
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_0f115902.js.map +0 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_8e8822d6.js.map +0 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_9d039634.js.map +0 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_bec3d8d3.js.map +0 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_c27615b6.js.map +0 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_d302115b.js.map +0 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_dbf21e04.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__17a611f0._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__17a611f0._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__2018e25f._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__249c74f6._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__3b4af5ae._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__45dbf93d._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__45dbf93d._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6258349c._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6258349c._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6b17a22d._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6cbc1149._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6cbc1149._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6ee2450e._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__804c006d._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__80e5bed2._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__80e5bed2._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__8a947500._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__94a6d275._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__94a6d275._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c18f84a4._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__e062a6de._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__e062a6de._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__fa87595c._.js +0 -3
- package/web/.next/server/chunks/ssr/_07c2a32a._.js +0 -9
- package/web/.next/server/chunks/ssr/_07c2a32a._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_0e9d6bf7._.js +0 -3
- package/web/.next/server/chunks/ssr/_0e9d6bf7._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_3197d5cb._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_380c6567._.js +0 -6
- package/web/.next/server/chunks/ssr/_380c6567._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_44cce4e0._.js +0 -4
- package/web/.next/server/chunks/ssr/_44cce4e0._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_5ee4f5a7._.js +0 -7
- package/web/.next/server/chunks/ssr/_5ee4f5a7._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_61351ed3._.js +0 -3
- package/web/.next/server/chunks/ssr/_61351ed3._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_8400c8bb._.js +0 -3
- package/web/.next/server/chunks/ssr/_8400c8bb._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_9f940437._.js +0 -3
- package/web/.next/server/chunks/ssr/_9f940437._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_a29296f0._.js +0 -3
- package/web/.next/server/chunks/ssr/_a29296f0._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_a3854150._.js +0 -6
- package/web/.next/server/chunks/ssr/_a3854150._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_ad8a094f._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_dc379243._.js +0 -4
- package/web/.next/server/chunks/ssr/_dc379243._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_e806976d._.js +0 -3
- package/web/.next/server/chunks/ssr/_e806976d._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_ui_tabs_tsx_b226ea9b._.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web_components_ui_tabs_tsx_b226ea9b._.js.map +0 -1
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_client_components_builtin_global-error_5fefc4d7.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_d738ab66._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_0f115902.js +0 -4
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__17a611f0._.js +0 -4
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__2018e25f._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__249c74f6._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__3b4af5ae._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__45dbf93d._.js +0 -4
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__6258349c._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__6b17a22d._.js +0 -4
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__6cbc1149._.js +0 -4
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__6ee2450e._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__804c006d._.js +0 -4
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__80e5bed2._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__8a947500._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__94a6d275._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__c18f84a4._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__e062a6de._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__fa87595c._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_07c2a32a._.js +0 -9
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_0e9d6bf7._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_380c6567._.js +0 -6
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_44cce4e0._.js +0 -4
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_5ee4f5a7._.js +0 -7
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_61351ed3._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_8400c8bb._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_9f940437._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_a29296f0._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_a3854150._.js +0 -6
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_dc379243._.js +0 -4
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_e806976d._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/src_presentation_web_components_ui_tabs_tsx_b226ea9b._.js +0 -3
- package/web/.next/static/chunks/11a6c88ffcbac93f.js +0 -1
- package/web/.next/static/chunks/1f5c93a8b939416d.js +0 -5
- package/web/.next/static/chunks/255140c45a023ff4.js +0 -1
- package/web/.next/static/chunks/293231ccc0b144fa.js +0 -1
- package/web/.next/static/chunks/3bc2a07d02372939.js +0 -1
- package/web/.next/static/chunks/3f205fd6adbfd20a.js +0 -7
- package/web/.next/static/chunks/424982cd78174a1a.js +0 -1
- package/web/.next/static/chunks/4a3b3cfcc85e7254.js +0 -1
- package/web/.next/static/chunks/5d0a6417c4e4e545.js +0 -1
- package/web/.next/static/chunks/6931ae67c2484ddf.js +0 -1
- package/web/.next/static/chunks/9215b6fb973482c5.js +0 -1
- package/web/.next/static/chunks/9a765e022ef2b815.js +0 -1
- package/web/.next/static/chunks/b6c507fc42d9a277.js +0 -1
- package/web/.next/static/chunks/c1dbeb3307dab443.js +0 -4
- package/web/.next/static/chunks/d7786685ec8efe10.js +0 -1
- package/web/.next/static/chunks/e12fff3b57456bc2.css +0 -2
- package/web/.next/static/chunks/edbd674102e897b4.js +0 -1
- /package/web/.next/static/{L6_6jZ4TnQuuDXIF5GZEf → OY9vo9JHlYYnBy-WPoYAQ}/_buildManifest.js +0 -0
- /package/web/.next/static/{L6_6jZ4TnQuuDXIF5GZEf → OY9vo9JHlYYnBy-WPoYAQ}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{L6_6jZ4TnQuuDXIF5GZEf → OY9vo9JHlYYnBy-WPoYAQ}/_ssgManifest.js +0 -0
|
@@ -212,6 +212,55 @@ export const PrChecked = {
|
|
|
212
212
|
await userEvent.click(prCheckbox);
|
|
213
213
|
},
|
|
214
214
|
};
|
|
215
|
+
/* ---------------------------------------------------------------------------
|
|
216
|
+
* Fast mode stories
|
|
217
|
+
* ------------------------------------------------------------------------- */
|
|
218
|
+
/**
|
|
219
|
+
* Fast Mode off (default) — the "Fast Mode" checkbox in the MODE section
|
|
220
|
+
* is unchecked. The full SDLC pipeline (analyze, requirements, research,
|
|
221
|
+
* plan, implement) will run.
|
|
222
|
+
*/
|
|
223
|
+
export const FastModeOff = {
|
|
224
|
+
render: () => _jsx(CreateDrawerTrigger, { label: "Open (Fast Mode Off)" }),
|
|
225
|
+
play: async ({ canvasElement }) => {
|
|
226
|
+
const canvas = within(canvasElement);
|
|
227
|
+
await userEvent.click(canvas.getByRole('button', { name: 'Open (Fast Mode Off)' }));
|
|
228
|
+
},
|
|
229
|
+
};
|
|
230
|
+
/**
|
|
231
|
+
* Fast Mode on — the "Fast Mode" checkbox is checked. When submitted,
|
|
232
|
+
* `fast: true` is included in the payload, skipping SDLC phases and
|
|
233
|
+
* implementing directly from the user's prompt.
|
|
234
|
+
*/
|
|
235
|
+
export const FastModeOn = {
|
|
236
|
+
render: () => _jsx(CreateDrawerTrigger, { label: "Open (Fast Mode On)" }),
|
|
237
|
+
play: async ({ canvasElement }) => {
|
|
238
|
+
const canvas = within(canvasElement);
|
|
239
|
+
await userEvent.click(canvas.getByRole('button', { name: 'Open (Fast Mode On)' }));
|
|
240
|
+
const body = within(canvasElement.ownerDocument.body);
|
|
241
|
+
const fastCheckbox = await body.findByLabelText('Fast Mode');
|
|
242
|
+
await userEvent.click(fastCheckbox);
|
|
243
|
+
},
|
|
244
|
+
};
|
|
245
|
+
/**
|
|
246
|
+
* Fast Mode combined with approval gates and git options — demonstrates
|
|
247
|
+
* that fast mode works alongside other form controls. Here fast mode,
|
|
248
|
+
* auto-approve all, push, and create PR are all enabled.
|
|
249
|
+
*/
|
|
250
|
+
export const FastModeWithOptions = {
|
|
251
|
+
render: () => _jsx(CreateDrawerTrigger, { label: "Open (Fast + Options)" }),
|
|
252
|
+
play: async ({ canvasElement }) => {
|
|
253
|
+
const canvas = within(canvasElement);
|
|
254
|
+
await userEvent.click(canvas.getByRole('button', { name: 'Open (Fast + Options)' }));
|
|
255
|
+
const body = within(canvasElement.ownerDocument.body);
|
|
256
|
+
const fastCheckbox = await body.findByLabelText('Fast Mode');
|
|
257
|
+
await userEvent.click(fastCheckbox);
|
|
258
|
+
const autoApprove = body.getByLabelText('Auto approve all');
|
|
259
|
+
await userEvent.click(autoApprove);
|
|
260
|
+
const prCheckbox = body.getByLabelText('Create PR');
|
|
261
|
+
await userEvent.click(prCheckbox);
|
|
262
|
+
},
|
|
263
|
+
};
|
|
215
264
|
/* ---------------------------------------------------------------------------
|
|
216
265
|
* Workflow defaults stories
|
|
217
266
|
* ------------------------------------------------------------------------- */
|
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;
|
|
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;AAsB5E,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,2CAuQzF"}
|
package/dist/src/presentation/web/components/features/control-center/control-center-inner.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { useCallback, useEffect, useMemo } from 'react';
|
|
3
|
+
import { useCallback, useEffect, useMemo, useRef } from 'react';
|
|
4
4
|
import { useRouter, usePathname } from 'next/navigation';
|
|
5
|
+
import { useReactFlow } from '@xyflow/react';
|
|
5
6
|
import { FeaturesCanvas } from '../../features/features-canvas/index.js';
|
|
6
7
|
import { useSidebarFeaturesContext, mapNodeStateToSidebarStatus, } from '../../../hooks/sidebar-features-context.js';
|
|
7
8
|
import { useSelectedFeatureId } from '../../../hooks/use-selected-feature-id.js';
|
|
@@ -10,12 +11,20 @@ import { useDrawerCloseGuard } from '../../../hooks/drawer-close-guard.js';
|
|
|
10
11
|
import { useViewportPersistence } from '../../../hooks/use-viewport-persistence.js';
|
|
11
12
|
import { ControlCenterEmptyState } from './control-center-empty-state.js';
|
|
12
13
|
import { useControlCenterState } from './use-control-center-state.js';
|
|
14
|
+
const AUTO_FOCUS_OPTIONS = {
|
|
15
|
+
maxZoom: 1.0,
|
|
16
|
+
padding: 0.5,
|
|
17
|
+
duration: 500,
|
|
18
|
+
};
|
|
19
|
+
const AUTO_FOCUS_DRAWER_DELAY_MS = 600;
|
|
13
20
|
export function ControlCenterInner({ initialNodes, initialEdges }) {
|
|
14
21
|
const router = useRouter();
|
|
15
22
|
const pathname = usePathname();
|
|
16
23
|
const selectedFeatureId = useSelectedFeatureId();
|
|
17
24
|
const clickSound = useSoundAction('click');
|
|
18
25
|
const { guardedNavigate } = useDrawerCloseGuard();
|
|
26
|
+
const { fitView } = useReactFlow();
|
|
27
|
+
const drawerTimerRef = useRef(null);
|
|
19
28
|
const { defaultViewport, onMoveEnd: handleViewportChange, resetViewport, } = useViewportPersistence();
|
|
20
29
|
const { nodes, edges, onNodesChange, handleConnect, handleAddRepository, handleDeleteFeature, handleDeleteRepository, createFeatureNode, setCallbacks, } = useControlCenterState(initialNodes, initialEdges);
|
|
21
30
|
// Publish sidebar features to context whenever feature node data changes
|
|
@@ -107,11 +116,26 @@ export function ControlCenterInner({ initialNodes, initialEdges }) {
|
|
|
107
116
|
useEffect(() => {
|
|
108
117
|
const handler = (e) => {
|
|
109
118
|
const path = e.detail.path;
|
|
110
|
-
handleAddRepository(path);
|
|
119
|
+
const { wasEmpty, repoPath } = handleAddRepository(path);
|
|
120
|
+
if (wasEmpty) {
|
|
121
|
+
// Wait for next render so the repo node exists in the DOM, then auto-focus
|
|
122
|
+
setTimeout(() => {
|
|
123
|
+
fitView(AUTO_FOCUS_OPTIONS);
|
|
124
|
+
// Open the create-feature drawer after the fitView animation completes
|
|
125
|
+
drawerTimerRef.current = setTimeout(() => {
|
|
126
|
+
guardedNavigate(() => router.push(`/create?repo=${encodeURIComponent(repoPath)}`));
|
|
127
|
+
}, AUTO_FOCUS_DRAWER_DELAY_MS);
|
|
128
|
+
}, 0);
|
|
129
|
+
}
|
|
111
130
|
};
|
|
112
131
|
window.addEventListener('shep:add-repository', handler);
|
|
113
|
-
return () =>
|
|
114
|
-
|
|
132
|
+
return () => {
|
|
133
|
+
window.removeEventListener('shep:add-repository', handler);
|
|
134
|
+
if (drawerTimerRef.current != null) {
|
|
135
|
+
clearTimeout(drawerTimerRef.current);
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
}, [handleAddRepository, fitView, guardedNavigate, router]);
|
|
115
139
|
// Listen for create events from the create drawer (with real feature ID from server)
|
|
116
140
|
useEffect(() => {
|
|
117
141
|
const handler = (e) => {
|
package/dist/src/presentation/web/components/features/control-center/use-control-center-state.d.ts
CHANGED
|
@@ -9,7 +9,10 @@ export interface ControlCenterState {
|
|
|
9
9
|
edges: Edge[];
|
|
10
10
|
onNodesChange: (changes: NodeChange<CanvasNodeType>[]) => void;
|
|
11
11
|
handleConnect: (connection: Connection) => void;
|
|
12
|
-
handleAddRepository: (path: string) =>
|
|
12
|
+
handleAddRepository: (path: string) => {
|
|
13
|
+
wasEmpty: boolean;
|
|
14
|
+
repoPath: string;
|
|
15
|
+
};
|
|
13
16
|
handleLayout: (direction: LayoutDirection) => void;
|
|
14
17
|
handleDeleteFeature: (featureId: string) => void;
|
|
15
18
|
handleDeleteRepository: (repositoryId: string) => Promise<void>;
|
|
@@ -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;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,
|
|
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,KAAK,IAAI,CAAC;IACjD,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,CAuXpB"}
|
package/dist/src/presentation/web/components/features/control-center/use-control-center-state.js
CHANGED
|
@@ -18,11 +18,12 @@ const POLL_INTERVAL_MS = 3_000;
|
|
|
18
18
|
/** Must match the message string emitted by the SSE route in agent-events/route.ts */
|
|
19
19
|
const METADATA_UPDATED_MESSAGE = 'Feature metadata updated';
|
|
20
20
|
let nextFeatureId = 0;
|
|
21
|
+
let nextRepoTempId = 0;
|
|
21
22
|
export function useControlCenterState(initialNodes, initialEdges) {
|
|
22
23
|
const router = useRouter();
|
|
23
24
|
const deleteSound = useSoundAction('delete');
|
|
24
25
|
const createSound = useSoundAction('create');
|
|
25
|
-
const { nodes, edges, reconcile, updateFeature, addPendingFeature, removeFeature, restoreFeature, addRepository: addRepositoryToMap, removeRepository, replaceRepository, getFeatureRepositoryPath, getRepositoryData, setCallbacks, } = useGraphState(initialNodes, initialEdges);
|
|
26
|
+
const { nodes, edges, reconcile, updateFeature, addPendingFeature, removeFeature, restoreFeature, addRepository: addRepositoryToMap, removeRepository, replaceRepository, getFeatureRepositoryPath, getRepositoryData, getRepoMapSize, setCallbacks, } = useGraphState(initialNodes, initialEdges);
|
|
26
27
|
// Refs for stable access to latest nodes/edges without callback recreation
|
|
27
28
|
const nodesRef = useRef(nodes);
|
|
28
29
|
const edgesRef = useRef(edges);
|
|
@@ -274,7 +275,8 @@ export function useControlCenterState(initialNodes, initialEdges) {
|
|
|
274
275
|
reconcile(result.nodes, result.edges);
|
|
275
276
|
}, [reconcile]);
|
|
276
277
|
const handleAddRepository = useCallback((path) => {
|
|
277
|
-
const
|
|
278
|
+
const wasEmpty = getRepoMapSize() === 0;
|
|
279
|
+
const tempId = `repo-temp-${++nextRepoTempId}`;
|
|
278
280
|
const repoName = path
|
|
279
281
|
.replace(/[\\/]+$/, '')
|
|
280
282
|
.split(/[\\/]/)
|
|
@@ -300,7 +302,8 @@ export function useControlCenterState(initialNodes, initialEdges) {
|
|
|
300
302
|
removeRepository(tempId);
|
|
301
303
|
toast.error('Failed to add repository');
|
|
302
304
|
});
|
|
303
|
-
|
|
305
|
+
return { wasEmpty, repoPath: path };
|
|
306
|
+
}, [addRepositoryToMap, removeRepository, replaceRepository, createSound, getRepoMapSize]);
|
|
304
307
|
return {
|
|
305
308
|
nodes,
|
|
306
309
|
edges,
|
|
@@ -15,7 +15,7 @@ function ResetButton({ onResetViewport }) {
|
|
|
15
15
|
const viewport = onResetViewport();
|
|
16
16
|
setViewport(viewport, { duration: 400 });
|
|
17
17
|
}, [onResetViewport, setViewport]);
|
|
18
|
-
return (_jsx(ControlButton, { onClick: handleReset, title: "Reset view", "aria-label": "Reset view", children: _jsx(RotateCcw, {}) }));
|
|
18
|
+
return (_jsx(ControlButton, { onClick: handleReset, title: "Reset view", "aria-label": "Reset view", children: _jsx(RotateCcw, { style: { fill: 'none' } }) }));
|
|
19
19
|
}
|
|
20
20
|
export function FeaturesCanvas({ nodes, edges, selectedFeatureId, defaultViewport, onNodesChange, onAddFeature, onConnect, onNodeClick, onPaneClick, onCanvasDrag, onMoveEnd, onResetViewport, toolbar, emptyState, }) {
|
|
21
21
|
const nodeTypes = useMemo(() => ({
|
package/dist/src/presentation/web/components/features/features-canvas/features-canvas.stories.d.ts
CHANGED
|
@@ -16,4 +16,5 @@ export declare const MultipleRepositoriesMixedConnections: Story;
|
|
|
16
16
|
export declare const InteractiveWithRepository: Story;
|
|
17
17
|
export declare const WithSavedViewport: Story;
|
|
18
18
|
export declare const ZoomedOutViewport: Story;
|
|
19
|
+
export declare const FastModeFeatures: Story;
|
|
19
20
|
//# sourceMappingURL=features-canvas.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"features-canvas.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/features-canvas/features-canvas.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"features-canvas.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/features-canvas/features-canvas.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAOnD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAcrC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAwKnC,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAKxB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAK3B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAK5B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KASzB,CAAC;AAoDF,eAAO,MAAM,mCAAmC,EAAE,KAKjD,CAAC;AA4BF,eAAO,MAAM,gCAAgC,EAAE,KAO9C,CAAC;AA0DF,eAAO,MAAM,gCAAgC,EAAE,KAS9C,CAAC;AAiDF,eAAO,MAAM,oBAAoB,EAAE,KAQlC,CAAC;AAqGF,eAAO,MAAM,oCAAoC,EAAE,KAKlD,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,KAMvC,CAAC;AAIF,eAAO,MAAM,iBAAiB,EAAE,KAO/B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAO/B,CAAC;AAsEF,eAAO,MAAM,gBAAgB,EAAE,KAM9B,CAAC"}
|
package/dist/src/presentation/web/components/features/features-canvas/features-canvas.stories.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { FeaturesCanvas } from './features-canvas.js';
|
|
3
3
|
import { layoutWithDagre } from '../../../lib/layout-with-dagre.js';
|
|
4
|
+
import { DEFAULT_VIEWPORT } from '../../../hooks/use-viewport-persistence.js';
|
|
4
5
|
const meta = {
|
|
5
6
|
title: 'Features/FeaturesCanvas',
|
|
6
7
|
component: FeaturesCanvas,
|
|
@@ -516,12 +517,13 @@ export const InteractiveWithRepository = {
|
|
|
516
517
|
onAddFeature: () => undefined,
|
|
517
518
|
},
|
|
518
519
|
};
|
|
520
|
+
// --- Viewport Persistence Stories ---
|
|
519
521
|
export const WithSavedViewport = {
|
|
520
522
|
args: {
|
|
521
523
|
nodes: repoFeatureNodes,
|
|
522
524
|
edges: repoFeatureEdges,
|
|
523
525
|
defaultViewport: { x: 200, y: 150, zoom: 1.0 },
|
|
524
|
-
onResetViewport: () =>
|
|
526
|
+
onResetViewport: () => DEFAULT_VIEWPORT,
|
|
525
527
|
},
|
|
526
528
|
};
|
|
527
529
|
export const ZoomedOutViewport = {
|
|
@@ -529,6 +531,73 @@ export const ZoomedOutViewport = {
|
|
|
529
531
|
nodes: mixedLayoutedNodes,
|
|
530
532
|
edges: mixedLayoutedEdges,
|
|
531
533
|
defaultViewport: { x: 0, y: 0, zoom: 0.5 },
|
|
532
|
-
onResetViewport: () =>
|
|
534
|
+
onResetViewport: () => DEFAULT_VIEWPORT,
|
|
535
|
+
},
|
|
536
|
+
};
|
|
537
|
+
// --- Fast-mode feature scenario ---
|
|
538
|
+
const fastModeNodesRaw = [
|
|
539
|
+
{
|
|
540
|
+
id: 'repo-1',
|
|
541
|
+
type: 'repositoryNode',
|
|
542
|
+
position: { x: 0, y: 0 },
|
|
543
|
+
data: { name: 'shep-ai/cli' },
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
id: 'feat-fast-1',
|
|
547
|
+
type: 'featureNode',
|
|
548
|
+
position: { x: 0, y: 0 },
|
|
549
|
+
data: {
|
|
550
|
+
name: 'Quick Bug Fix',
|
|
551
|
+
description: 'Fast-mode feature — skips SDLC, starts at implementation',
|
|
552
|
+
featureId: '#ff1',
|
|
553
|
+
lifecycle: 'implementation',
|
|
554
|
+
state: 'running',
|
|
555
|
+
progress: 30,
|
|
556
|
+
repositoryPath: '/home/user/my-repo',
|
|
557
|
+
branch: 'feat/quick-bug-fix',
|
|
558
|
+
},
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
id: 'feat-full-1',
|
|
562
|
+
type: 'featureNode',
|
|
563
|
+
position: { x: 0, y: 0 },
|
|
564
|
+
data: {
|
|
565
|
+
name: 'Auth Module',
|
|
566
|
+
description: 'Full-pipeline feature — goes through all SDLC phases',
|
|
567
|
+
featureId: '#ff2',
|
|
568
|
+
lifecycle: 'requirements',
|
|
569
|
+
state: 'running',
|
|
570
|
+
progress: 15,
|
|
571
|
+
repositoryPath: '/home/user/my-repo',
|
|
572
|
+
branch: 'feat/auth-module',
|
|
573
|
+
},
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
id: 'feat-fast-2',
|
|
577
|
+
type: 'featureNode',
|
|
578
|
+
position: { x: 0, y: 0 },
|
|
579
|
+
data: {
|
|
580
|
+
name: 'Update README',
|
|
581
|
+
description: 'Fast-mode feature — already done',
|
|
582
|
+
featureId: '#ff3',
|
|
583
|
+
lifecycle: 'deploy',
|
|
584
|
+
state: 'done',
|
|
585
|
+
progress: 100,
|
|
586
|
+
repositoryPath: '/home/user/my-repo',
|
|
587
|
+
branch: 'feat/update-readme',
|
|
588
|
+
},
|
|
589
|
+
},
|
|
590
|
+
];
|
|
591
|
+
const fastModeEdges = [
|
|
592
|
+
{ id: 'e-r1-ff1', source: 'repo-1', target: 'feat-fast-1', ...dashedEdge },
|
|
593
|
+
{ id: 'e-r1-ff2', source: 'repo-1', target: 'feat-full-1', ...dashedEdge },
|
|
594
|
+
{ id: 'e-r1-ff3', source: 'repo-1', target: 'feat-fast-2', ...dashedEdge },
|
|
595
|
+
];
|
|
596
|
+
const { nodes: fastModeLayoutedNodes, edges: fastModeLayoutedEdges } = layoutWithDagre(fastModeNodesRaw, fastModeEdges, { direction: 'LR' });
|
|
597
|
+
export const FastModeFeatures = {
|
|
598
|
+
name: 'Fast Mode Features (Mixed Pipeline)',
|
|
599
|
+
args: {
|
|
600
|
+
nodes: fastModeLayoutedNodes,
|
|
601
|
+
edges: fastModeLayoutedEdges,
|
|
533
602
|
},
|
|
534
603
|
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { AgentConfig } from '../../../../../../packages/core/src/domain/generated/output.js';
|
|
2
|
+
export interface AgentSettingsSectionProps {
|
|
3
|
+
agent: AgentConfig;
|
|
4
|
+
}
|
|
5
|
+
export declare function AgentSettingsSection({ agent }: AgentSettingsSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=agent-settings-section.d.ts.map
|
package/dist/src/presentation/web/components/features/settings/agent-settings-section.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-settings-section.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/agent-settings-section.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAgBxE,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,WAAW,CAAC;CACpB;AAED,wBAAgB,oBAAoB,CAAC,EAAE,KAAK,EAAE,EAAE,yBAAyB,2CAyIxE"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useState, useTransition, useRef, useEffect } from 'react';
|
|
4
|
+
import { Bot, Eye, EyeOff, Check } from 'lucide-react';
|
|
5
|
+
import { toast } from 'sonner';
|
|
6
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '../../ui/card.js';
|
|
7
|
+
import { Label } from '../../ui/label.js';
|
|
8
|
+
import { Input } from '../../ui/input.js';
|
|
9
|
+
import { Button } from '../../ui/button.js';
|
|
10
|
+
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from '../../ui/select.js';
|
|
11
|
+
import { updateSettingsAction } from '../../../app/actions/update-settings.js';
|
|
12
|
+
import { AgentType, AgentAuthMethod } from '../../../../../../packages/core/src/domain/generated/output.js';
|
|
13
|
+
const AGENT_TYPE_OPTIONS = [
|
|
14
|
+
{ value: AgentType.ClaudeCode, label: 'Claude Code' },
|
|
15
|
+
{ value: AgentType.Cursor, label: 'Cursor' },
|
|
16
|
+
{ value: AgentType.GeminiCli, label: 'Gemini CLI' },
|
|
17
|
+
{ value: AgentType.Aider, label: 'Aider' },
|
|
18
|
+
{ value: AgentType.Continue, label: 'Continue' },
|
|
19
|
+
{ value: AgentType.Dev, label: 'Dev' },
|
|
20
|
+
];
|
|
21
|
+
const AUTH_METHOD_OPTIONS = [
|
|
22
|
+
{ value: AgentAuthMethod.Session, label: 'Session' },
|
|
23
|
+
{ value: AgentAuthMethod.Token, label: 'Token' },
|
|
24
|
+
];
|
|
25
|
+
export function AgentSettingsSection({ agent }) {
|
|
26
|
+
const [agentType, setAgentType] = useState(agent.type);
|
|
27
|
+
const [authMethod, setAuthMethod] = useState(agent.authMethod);
|
|
28
|
+
const [token, setToken] = useState(agent.token ?? '');
|
|
29
|
+
const [showToken, setShowToken] = useState(false);
|
|
30
|
+
const [isPending, startTransition] = useTransition();
|
|
31
|
+
const [showSaved, setShowSaved] = useState(false);
|
|
32
|
+
const prevPendingRef = useRef(false);
|
|
33
|
+
useEffect(() => {
|
|
34
|
+
if (prevPendingRef.current && !isPending) {
|
|
35
|
+
setShowSaved(true);
|
|
36
|
+
const timer = setTimeout(() => setShowSaved(false), 2000);
|
|
37
|
+
return () => clearTimeout(timer);
|
|
38
|
+
}
|
|
39
|
+
prevPendingRef.current = isPending;
|
|
40
|
+
}, [isPending]);
|
|
41
|
+
function save(payload) {
|
|
42
|
+
startTransition(async () => {
|
|
43
|
+
const result = await updateSettingsAction(payload);
|
|
44
|
+
if (!result.success) {
|
|
45
|
+
toast.error(result.error ?? 'Failed to save agent settings');
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
function buildPayload(overrides = {}) {
|
|
50
|
+
const merged = { type: agentType, authMethod, ...overrides };
|
|
51
|
+
const result = { type: merged.type, authMethod: merged.authMethod };
|
|
52
|
+
if (merged.authMethod === AgentAuthMethod.Token) {
|
|
53
|
+
result.token = overrides.token ?? token;
|
|
54
|
+
}
|
|
55
|
+
return { agent: result };
|
|
56
|
+
}
|
|
57
|
+
function handleAgentTypeChange(value) {
|
|
58
|
+
setAgentType(value);
|
|
59
|
+
save(buildPayload({ type: value }));
|
|
60
|
+
}
|
|
61
|
+
function handleAuthMethodChange(value) {
|
|
62
|
+
setAuthMethod(value);
|
|
63
|
+
save(buildPayload({ authMethod: value }));
|
|
64
|
+
}
|
|
65
|
+
function handleTokenBlur() {
|
|
66
|
+
if (token !== (agent.token ?? '')) {
|
|
67
|
+
save(buildPayload({ token }));
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
return (_jsxs(Card, { id: "agent", className: "scroll-mt-6", "data-testid": "agent-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(Bot, { className: "text-muted-foreground h-4 w-4" }), _jsx(CardTitle, { children: "Preferred Agent" })] }), 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: "Choose your AI coding agent and authentication method" })] }), _jsxs(CardContent, { className: "space-y-4", children: [_jsxs("div", { className: "space-y-2", children: [_jsx(Label, { htmlFor: "agent-type", children: "Agent Type" }), _jsxs(Select, { value: agentType, onValueChange: handleAgentTypeChange, children: [_jsx(SelectTrigger, { id: "agent-type", "data-testid": "agent-type-select", children: _jsx(SelectValue, {}) }), _jsx(SelectContent, { children: AGENT_TYPE_OPTIONS.map((opt) => (_jsx(SelectItem, { value: opt.value, children: opt.label }, opt.value))) })] })] }), _jsxs("div", { className: "space-y-2", children: [_jsx(Label, { htmlFor: "auth-method", children: "Authentication Method" }), _jsxs(Select, { value: authMethod, onValueChange: handleAuthMethodChange, children: [_jsx(SelectTrigger, { id: "auth-method", "data-testid": "auth-method-select", children: _jsx(SelectValue, {}) }), _jsx(SelectContent, { children: AUTH_METHOD_OPTIONS.map((opt) => (_jsx(SelectItem, { value: opt.value, children: opt.label }, opt.value))) })] })] }), authMethod === AgentAuthMethod.Token && (_jsxs("div", { className: "space-y-2", children: [_jsx(Label, { htmlFor: "agent-token", children: "API Token" }), _jsxs("div", { className: "relative", children: [_jsx(Input, { id: "agent-token", "data-testid": "agent-token-input", type: showToken ? 'text' : 'password', value: token, onChange: (e) => setToken(e.target.value), onBlur: handleTokenBlur, placeholder: "Enter your API token", className: "pr-10" }), _jsx(Button, { type: "button", variant: "ghost", size: "sm", className: "absolute top-0 right-0 h-full px-3 hover:bg-transparent", onClick: () => setShowToken(!showToken), "data-testid": "toggle-token-visibility", "aria-label": showToken ? 'Hide token' : 'Show token', children: showToken ? _jsx(EyeOff, { className: "h-4 w-4" }) : _jsx(Eye, { className: "h-4 w-4" }) })] }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Saves automatically when you leave the field" })] }))] })] }));
|
|
71
|
+
}
|
package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react';
|
|
2
|
+
import { AgentSettingsSection } from './agent-settings-section.js';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AgentSettingsSection;
|
|
6
|
+
tags: string[];
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const Default: Story;
|
|
14
|
+
export declare const TokenAuth: Story;
|
|
15
|
+
export declare const AiderSession: Story;
|
|
16
|
+
//# sourceMappingURL=agent-settings-section.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-settings-section.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/agent-settings-section.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGhE,QAAA,MAAM,IAAI;;;;;;;CAOmC,CAAC;AAE9C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAQvB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAO1B,CAAC"}
|
package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.js
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { AgentSettingsSection } from './agent-settings-section.js';
|
|
2
|
+
import { AgentType, AgentAuthMethod } from '../../../../../../packages/core/src/domain/generated/output.js';
|
|
3
|
+
const meta = {
|
|
4
|
+
title: 'Features/Settings/AgentSettingsSection',
|
|
5
|
+
component: AgentSettingsSection,
|
|
6
|
+
tags: ['autodocs'],
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: 'padded',
|
|
9
|
+
},
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
export const Default = {
|
|
13
|
+
args: {
|
|
14
|
+
agent: {
|
|
15
|
+
type: AgentType.ClaudeCode,
|
|
16
|
+
authMethod: AgentAuthMethod.Session,
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
};
|
|
20
|
+
export const TokenAuth = {
|
|
21
|
+
args: {
|
|
22
|
+
agent: {
|
|
23
|
+
type: AgentType.GeminiCli,
|
|
24
|
+
authMethod: AgentAuthMethod.Token,
|
|
25
|
+
token: 'sk-test-token-12345',
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
export const AiderSession = {
|
|
30
|
+
args: {
|
|
31
|
+
agent: {
|
|
32
|
+
type: AgentType.Aider,
|
|
33
|
+
authMethod: AgentAuthMethod.Session,
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface DatabaseSettingsSectionProps {
|
|
2
|
+
shepHome: string;
|
|
3
|
+
dbFileSize: string;
|
|
4
|
+
}
|
|
5
|
+
export declare function DatabaseSettingsSection({ shepHome, dbFileSize }: DatabaseSettingsSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=database-settings-section.d.ts.map
|
package/dist/src/presentation/web/components/features/settings/database-settings-section.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"database-settings-section.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/database-settings-section.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,uBAAuB,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,4BAA4B,2CA+B7F"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Database, Info } from 'lucide-react';
|
|
4
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '../../ui/card.js';
|
|
5
|
+
import { Label } from '../../ui/label.js';
|
|
6
|
+
export function DatabaseSettingsSection({ shepHome, dbFileSize }) {
|
|
7
|
+
return (_jsxs(Card, { id: "database", className: "scroll-mt-6", "data-testid": "database-settings-section", children: [_jsxs(CardHeader, { children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(Database, { className: "text-muted-foreground h-4 w-4" }), _jsx(CardTitle, { children: "Database Location" })] }), _jsx(CardDescription, { children: _jsxs("span", { className: "inline-flex items-center gap-1", children: [_jsx(Info, { className: "h-3 w-3" }), "Read-only information about your Shep data directory and database"] }) })] }), _jsxs(CardContent, { className: "bg-muted/50 space-y-3 rounded-b-lg", children: [_jsxs("div", { className: "space-y-1", children: [_jsx(Label, { className: "text-muted-foreground text-xs", children: "SHEP_HOME Directory" }), _jsx("p", { className: "font-mono text-sm", "data-testid": "shep-home-path", children: shepHome })] }), _jsxs("div", { className: "space-y-1", children: [_jsx(Label, { className: "text-muted-foreground text-xs", children: "Database File Size" }), _jsx("p", { className: "text-sm", "data-testid": "db-file-size", children: dbFileSize })] })] })] }));
|
|
8
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react';
|
|
2
|
+
import { DatabaseSettingsSection } from './database-settings-section.js';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof DatabaseSettingsSection;
|
|
6
|
+
tags: string[];
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const Default: Story;
|
|
14
|
+
export declare const LargeDatabase: Story;
|
|
15
|
+
//# sourceMappingURL=database-settings-section.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"database-settings-section.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/database-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,KAKrB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAK3B,CAAC"}
|
package/dist/src/presentation/web/components/features/settings/database-settings-section.stories.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DatabaseSettingsSection } from './database-settings-section.js';
|
|
2
|
+
const meta = {
|
|
3
|
+
title: 'Features/Settings/DatabaseSettingsSection',
|
|
4
|
+
component: DatabaseSettingsSection,
|
|
5
|
+
tags: ['autodocs'],
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: 'padded',
|
|
8
|
+
},
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
export const Default = {
|
|
12
|
+
args: {
|
|
13
|
+
shepHome: '/home/user/.shep',
|
|
14
|
+
dbFileSize: '2.4 MB',
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
export const LargeDatabase = {
|
|
18
|
+
args: {
|
|
19
|
+
shepHome: '/opt/shep/production',
|
|
20
|
+
dbFileSize: '156.7 MB',
|
|
21
|
+
},
|
|
22
|
+
};
|
package/dist/src/presentation/web/components/features/settings/environment-settings-section.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { EnvironmentConfig } from '../../../../../../packages/core/src/domain/generated/output.js';
|
|
2
|
+
export interface EnvironmentSettingsSectionProps {
|
|
3
|
+
environment: EnvironmentConfig;
|
|
4
|
+
}
|
|
5
|
+
export declare function EnvironmentSettingsSection({ environment }: EnvironmentSettingsSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=environment-settings-section.d.ts.map
|
package/dist/src/presentation/web/components/features/settings/environment-settings-section.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment-settings-section.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/environment-settings-section.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAgB9E,MAAM,WAAW,+BAA+B;IAC9C,WAAW,EAAE,iBAAiB,CAAC;CAChC;AAED,wBAAgB,0BAA0B,CAAC,EAAE,WAAW,EAAE,EAAE,+BAA+B,2CAwF1F"}
|
package/dist/src/presentation/web/components/features/settings/environment-settings-section.js
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useState, useTransition, useRef, useEffect } from 'react';
|
|
4
|
+
import { Terminal, Check } from 'lucide-react';
|
|
5
|
+
import { toast } from 'sonner';
|
|
6
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '../../ui/card.js';
|
|
7
|
+
import { Label } from '../../ui/label.js';
|
|
8
|
+
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from '../../ui/select.js';
|
|
9
|
+
import { updateSettingsAction } from '../../../app/actions/update-settings.js';
|
|
10
|
+
import { EditorType } from '../../../../../../packages/core/src/domain/generated/output.js';
|
|
11
|
+
const EDITOR_OPTIONS = [
|
|
12
|
+
{ value: EditorType.VsCode, label: 'VS Code' },
|
|
13
|
+
{ value: EditorType.Cursor, label: 'Cursor' },
|
|
14
|
+
{ value: EditorType.Windsurf, label: 'Windsurf' },
|
|
15
|
+
{ value: EditorType.Zed, label: 'Zed' },
|
|
16
|
+
{ value: EditorType.Antigravity, label: 'Antigravity' },
|
|
17
|
+
];
|
|
18
|
+
const SHELL_OPTIONS = [
|
|
19
|
+
{ value: 'bash', label: 'Bash' },
|
|
20
|
+
{ value: 'zsh', label: 'Zsh' },
|
|
21
|
+
{ value: 'fish', label: 'Fish' },
|
|
22
|
+
];
|
|
23
|
+
export function EnvironmentSettingsSection({ environment }) {
|
|
24
|
+
const [editor, setEditor] = useState(environment.defaultEditor);
|
|
25
|
+
const [shell, setShell] = useState(environment.shellPreference);
|
|
26
|
+
const [isPending, startTransition] = useTransition();
|
|
27
|
+
const [showSaved, setShowSaved] = useState(false);
|
|
28
|
+
const prevPendingRef = useRef(false);
|
|
29
|
+
useEffect(() => {
|
|
30
|
+
if (prevPendingRef.current && !isPending) {
|
|
31
|
+
setShowSaved(true);
|
|
32
|
+
const timer = setTimeout(() => setShowSaved(false), 2000);
|
|
33
|
+
return () => clearTimeout(timer);
|
|
34
|
+
}
|
|
35
|
+
prevPendingRef.current = isPending;
|
|
36
|
+
}, [isPending]);
|
|
37
|
+
function save(payload) {
|
|
38
|
+
startTransition(async () => {
|
|
39
|
+
const result = await updateSettingsAction(payload);
|
|
40
|
+
if (!result.success) {
|
|
41
|
+
toast.error(result.error ?? 'Failed to save IDE & Terminal settings');
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
function handleEditorChange(value) {
|
|
46
|
+
setEditor(value);
|
|
47
|
+
save({ environment: { defaultEditor: value, shellPreference: shell } });
|
|
48
|
+
}
|
|
49
|
+
function handleShellChange(value) {
|
|
50
|
+
setShell(value);
|
|
51
|
+
save({ environment: { defaultEditor: editor, shellPreference: value } });
|
|
52
|
+
}
|
|
53
|
+
return (_jsxs(Card, { id: "environment", className: "scroll-mt-6", "data-testid": "environment-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(Terminal, { className: "text-muted-foreground h-4 w-4" }), _jsx(CardTitle, { children: "IDE & Terminal" })] }), 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 your default editor and shell preferences" })] }), _jsxs(CardContent, { className: "space-y-4", children: [_jsxs("div", { className: "space-y-2", children: [_jsx(Label, { htmlFor: "default-editor", children: "Default Editor" }), _jsxs(Select, { value: editor, onValueChange: handleEditorChange, children: [_jsx(SelectTrigger, { id: "default-editor", "data-testid": "editor-select", children: _jsx(SelectValue, {}) }), _jsx(SelectContent, { children: EDITOR_OPTIONS.map((opt) => (_jsx(SelectItem, { value: opt.value, children: opt.label }, opt.value))) })] })] }), _jsxs("div", { className: "space-y-2", children: [_jsx(Label, { htmlFor: "shell-preference", children: "Shell Preference" }), _jsxs(Select, { value: shell, onValueChange: handleShellChange, children: [_jsx(SelectTrigger, { id: "shell-preference", "data-testid": "shell-select", children: _jsx(SelectValue, {}) }), _jsx(SelectContent, { children: SHELL_OPTIONS.map((opt) => (_jsx(SelectItem, { value: opt.value, children: opt.label }, opt.value))) })] })] })] })] }));
|
|
54
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react';
|
|
2
|
+
import { EnvironmentSettingsSection } from './environment-settings-section.js';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof EnvironmentSettingsSection;
|
|
6
|
+
tags: string[];
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const Default: Story;
|
|
14
|
+
export declare const CursorWithZsh: Story;
|
|
15
|
+
//# sourceMappingURL=environment-settings-section.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment-settings-section.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/environment-settings-section.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAG5E,QAAA,MAAM,IAAI;;;;;;;CAOyC,CAAC;AAEpD,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAO3B,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { EnvironmentSettingsSection } from './environment-settings-section.js';
|
|
2
|
+
import { EditorType } from '../../../../../../packages/core/src/domain/generated/output.js';
|
|
3
|
+
const meta = {
|
|
4
|
+
title: 'Features/Settings/EnvironmentSettingsSection',
|
|
5
|
+
component: EnvironmentSettingsSection,
|
|
6
|
+
tags: ['autodocs'],
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: 'padded',
|
|
9
|
+
},
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
export const Default = {
|
|
13
|
+
args: {
|
|
14
|
+
environment: {
|
|
15
|
+
defaultEditor: EditorType.VsCode,
|
|
16
|
+
shellPreference: 'bash',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
};
|
|
20
|
+
export const CursorWithZsh = {
|
|
21
|
+
args: {
|
|
22
|
+
environment: {
|
|
23
|
+
defaultEditor: EditorType.Cursor,
|
|
24
|
+
shellPreference: 'zsh',
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
};
|