@shepai/cli 1.77.1-pr244.c979f34 → 1.77.1
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/Settings.yaml +0 -3
- 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 +2 -7
- package/dist/packages/core/src/domain/generated/output.d.ts +0 -21
- 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 +0 -6
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts +0 -6
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.js +0 -17
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations.js +0 -27
- package/dist/packages/core/src/infrastructure/repositories/sqlite-settings.repository.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/repositories/sqlite-settings.repository.js +3 -13
- 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 +2 -1
- package/dist/packages/core/src/infrastructure/services/settings.service.d.ts +0 -10
- package/dist/packages/core/src/infrastructure/services/settings.service.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/settings.service.js +0 -15
- package/dist/src/presentation/web/app/layout.d.ts.map +1 -1
- package/dist/src/presentation/web/app/layout.js +1 -3
- package/dist/src/presentation/web/components/common/base-drawer/base-drawer.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/base-drawer/base-drawer.js +1 -2
- package/dist/src/presentation/web/components/common/control-center-drawer/feature-drawer-client.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/control-center-drawer/feature-drawer-client.js +1 -2
- package/dist/src/presentation/web/components/common/control-center-drawer/repository-drawer-client.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/control-center-drawer/repository-drawer-client.js +1 -2
- package/dist/src/presentation/web/components/common/repository-node/repository-node.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/repository-node/repository-node.js +1 -2
- package/dist/src/presentation/web/components/common/review-drawer-shell/review-drawer-shell.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/review-drawer-shell/review-drawer-shell.js +1 -2
- package/dist/src/presentation/web/components/layouts/app-shell/app-shell.d.ts.map +1 -1
- package/dist/src/presentation/web/components/layouts/app-shell/app-shell.js +1 -3
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.d.ts +1 -3
- 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 +4 -3
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.js +0 -4
- package/dist/src/presentation/web/lib/feature-flags.d.ts +2 -14
- package/dist/src/presentation/web/lib/feature-flags.d.ts.map +1 -1
- package/dist/src/presentation/web/lib/feature-flags.js +4 -39
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/web/.next/BUILD_ID +1 -1
- package/web/.next/app-path-routes-manifest.json +0 -1
- package/web/.next/build-manifest.json +5 -5
- 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 +0 -6
- package/web/.next/server/app/(dashboard)/@drawer/create/page/build-manifest.json +3 -3
- 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 -9
- 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 +3 -3
- 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 -9
- 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 +3 -3
- 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 -9
- 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 +3 -3
- package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +16 -16
- package/web/.next/server/app/(dashboard)/create/page.js +8 -9
- 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 +3 -3
- 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 -9
- 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 +3 -3
- package/web/.next/server/app/(dashboard)/page/server-reference-manifest.json +14 -14
- package/web/.next/server/app/(dashboard)/page.js +8 -9
- 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 +3 -3
- 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 -9
- 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 +3 -3
- package/web/.next/server/app/_global-error/page.js +3 -4
- 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 +3 -3
- package/web/.next/server/app/_not-found/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/_not-found/page.js +8 -10
- 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/skills/page/build-manifest.json +3 -3
- package/web/.next/server/app/skills/page/server-reference-manifest.json +6 -6
- package/web/.next/server/app/skills/page.js +9 -12
- 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 +3 -3
- package/web/.next/server/app/tools/page/server-reference-manifest.json +6 -6
- package/web/.next/server/app/tools/page.js +8 -10
- 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 +3 -3
- package/web/.next/server/app/version/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/version/page.js +8 -9
- package/web/.next/server/app/version/page.js.nft.json +1 -1
- package/web/.next/server/app/version/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app-paths-manifest.json +0 -1
- package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_4d623b8e.js.map +1 -1
- package/web/.next/{standalone/src/presentation/web/.next/server/chunks/ssr/_8eeee4db._.js → server/chunks/ssr/403f9_next_dist_6c821c12._.js} +3 -3
- package/web/.next/server/chunks/ssr/{403f9_next_dist_190bdc35._.js.map → 403f9_next_dist_6c821c12._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_client_components_builtin_global-error_5fefc4d7.js +3 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_client_components_builtin_global-error_5fefc4d7.js.map +1 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_d738ab66._.js +3 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_d738ab66._.js.map +1 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_0f115902.js +4 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_0f115902.js.map +1 -0
- package/web/.next/{standalone/src/presentation/web/.next/server/chunks/ssr/_16235e5e._.js → server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_8e8822d6.js} +3 -3
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_8e8822d6.js.map +1 -0
- package/web/.next/{standalone/src/presentation/web/.next/server/chunks/ssr/_f4d222d6._.js → server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_9d039634.js} +3 -3
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_9d039634.js.map +1 -0
- package/web/.next/server/chunks/ssr/{403f9_next_dist_esm_build_templates_app-page_2eacac96.js → 403f9_next_dist_esm_build_templates_app-page_bec3d8d3.js} +3 -3
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_bec3d8d3.js.map +1 -0
- package/web/.next/server/chunks/ssr/{403f9_next_dist_esm_build_templates_app-page_46d6bf1b.js → 403f9_next_dist_esm_build_templates_app-page_c27615b6.js} +3 -3
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_c27615b6.js.map +1 -0
- package/web/.next/{standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_c9978986.js → server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_d302115b.js} +3 -3
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_d302115b.js.map +1 -0
- package/web/.next/{standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_6c70ecca.js → server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_dbf21e04.js} +3 -3
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_dbf21e04.js.map +1 -0
- 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]__17a611f0._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__17a611f0._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__2018e25f._.js +3 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__c3c963c6._.js.map → [root-of-the-server]__2018e25f._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__249c74f6._.js +3 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__357d99f9._.js.map → [root-of-the-server]__249c74f6._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__3b4af5ae._.js +3 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__c9777776._.js.map → [root-of-the-server]__3b4af5ae._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__45dbf93d._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__45dbf93d._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6258349c._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6258349c._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6b17a22d._.js +4 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__11033878._.js.map → [root-of-the-server]__6b17a22d._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6cbc1149._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6cbc1149._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6ee2450e._.js +3 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__23b5ca2c._.js.map → [root-of-the-server]__6ee2450e._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__804c006d._.js +4 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__fdc75809._.js.map → [root-of-the-server]__804c006d._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__80e5bed2._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__8a947500._.js +3 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__0880ff0e._.js.map → [root-of-the-server]__8a947500._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__94a6d275._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__94a6d275._.js.map +1 -0
- 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]__c18f84a4._.js +3 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__5edfc56b._.js.map → [root-of-the-server]__c18f84a4._.js.map} +1 -1
- package/web/.next/{standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__09af7f56._.js → server/chunks/ssr/[root-of-the-server]__c37779e6._.js} +2 -2
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__09af7f56._.js.map → [root-of-the-server]__c37779e6._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__e062a6de._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__e062a6de._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__fa87595c._.js +3 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__8c88ef55._.js.map → [root-of-the-server]__fa87595c._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_07c2a32a._.js +9 -0
- package/web/.next/server/chunks/ssr/_07c2a32a._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_0e9d6bf7._.js +1 -1
- package/web/.next/server/chunks/ssr/_0e9d6bf7._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_88c4dab8._.js → _3197d5cb._.js} +2 -2
- package/web/.next/server/chunks/ssr/_3197d5cb._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_380c6567._.js +6 -0
- package/web/.next/server/chunks/ssr/_380c6567._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_44cce4e0._.js +4 -0
- package/web/.next/server/chunks/ssr/_44cce4e0._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_5ee4f5a7._.js +7 -0
- package/web/.next/server/chunks/ssr/_5ee4f5a7._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_61351ed3._.js +1 -1
- package/web/.next/server/chunks/ssr/_61351ed3._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_6640df4c._.js +6 -0
- package/web/.next/server/chunks/ssr/_6640df4c._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_6e08ce21._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_8400c8bb._.js +1 -1
- package/web/.next/server/chunks/ssr/_8400c8bb._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_ed11dcd6._.js → _884ddade._.js} +3 -3
- package/web/.next/server/chunks/ssr/{403f9_next_dist_esm_build_templates_app-page_d82f78f0.js.map → _884ddade._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_9f940437._.js +3 -0
- package/web/.next/server/chunks/ssr/_9f940437._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{_6887cba3._.js → _ad8a094f._.js} +3 -3
- package/web/.next/server/chunks/ssr/_ad8a094f._.js.map +1 -0
- package/web/.next/{standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_190bdc35._.js → server/chunks/ssr/_dc379243._.js} +3 -3
- package/web/.next/server/chunks/ssr/_dc379243._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_e806976d._.js +3 -0
- package/web/.next/server/chunks/ssr/_e806976d._.js.map +1 -0
- package/web/.next/server/chunks/ssr/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js +1 -1
- package/web/.next/server/chunks/ssr/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js.map +1 -1
- package/web/.next/server/chunks/ssr/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_67178b88._.js +13 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_67178b88._.js.map +1 -0
- 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_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_features_tools_tools-page-client_tsx_3d0aa70c._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_tools_tools-page-client_tsx_3d0aa70c._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_ui_tabs_tsx_b226ea9b._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_components_ui_tabs_tsx_b226ea9b._.js.map +1 -0
- package/web/.next/server/middleware-build-manifest.js +3 -3
- 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 +22 -59
- 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 +0 -1
- package/web/.next/standalone/src/presentation/web/.next/build-manifest.json +5 -5
- 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 +0 -6
- package/web/.next/standalone/src/presentation/web/.next/server/app/(dashboard)/@drawer/create/page/build-manifest.json +3 -3
- 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 -9
- 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 +3 -3
- 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 -9
- 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 +3 -3
- 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 -9
- 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 +3 -3
- 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 -9
- 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 +3 -3
- 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 -9
- 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 +3 -3
- 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 -9
- 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 +3 -3
- 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 -9
- 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 +3 -3
- package/web/.next/standalone/src/presentation/web/.next/server/app/_global-error/page.js +3 -4
- 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 +3 -3
- 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 +8 -10
- 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/skills/page/build-manifest.json +3 -3
- 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 +9 -12
- 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 +3 -3
- 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 +8 -10
- 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 +3 -3
- 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 -9
- 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 +0 -1
- package/web/.next/{server/chunks/ssr/_8eeee4db._.js → standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_6c821c12._.js} +3 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_client_components_builtin_global-error_5fefc4d7.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_d738ab66._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_0f115902.js +4 -0
- package/web/.next/{server/chunks/ssr/_16235e5e._.js → standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_8e8822d6.js} +3 -3
- package/web/.next/{server/chunks/ssr/_f4d222d6._.js → standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_9d039634.js} +3 -3
- package/web/.next/{server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_54b1e179.js → standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_bec3d8d3.js} +3 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/{403f9_next_dist_esm_build_templates_app-page_46d6bf1b.js → 403f9_next_dist_esm_build_templates_app-page_c27615b6.js} +3 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/{403f9_next_dist_esm_build_templates_app-page_ce6dae5d.js → 403f9_next_dist_esm_build_templates_app-page_d302115b.js} +3 -3
- package/web/.next/{server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_6c70ecca.js → standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_dbf21e04.js} +3 -3
- 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]__17a611f0._.js +4 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__2018e25f._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__249c74f6._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__3b4af5ae._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__45dbf93d._.js +4 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__6258349c._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__6b17a22d._.js +4 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__6cbc1149._.js +4 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__6ee2450e._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__804c006d._.js +4 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__80e5bed2._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__8a947500._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__94a6d275._.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]__c18f84a4._.js +3 -0
- package/web/.next/{server/chunks/ssr/[root-of-the-server]__09af7f56._.js → standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__c37779e6._.js} +2 -2
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__e062a6de._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__fa87595c._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_07c2a32a._.js +9 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_0e9d6bf7._.js +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/{_88c4dab8._.js → _3197d5cb._.js} +2 -2
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_380c6567._.js +6 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_44cce4e0._.js +4 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_5ee4f5a7._.js +7 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_61351ed3._.js +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_6640df4c._.js +6 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_8400c8bb._.js +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/{_ed11dcd6._.js → _884ddade._.js} +3 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_9f940437._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/{_6887cba3._.js → _ad8a094f._.js} +3 -3
- package/web/.next/{server/chunks/ssr/403f9_next_dist_190bdc35._.js → standalone/src/presentation/web/.next/server/chunks/ssr/_dc379243._.js} +3 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_e806976d._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js +1 -1
- 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_67178b88._.js +13 -0
- 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_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_features_tools_tools-page-client_tsx_3d0aa70c._.js +1 -1
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/src_presentation_web_components_ui_tabs_tsx_b226ea9b._.js +3 -0
- package/web/.next/standalone/src/presentation/web/.next/server/middleware-build-manifest.js +3 -3
- 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 +22 -59
- package/web/.next/standalone/src/presentation/web/app/layout.tsx +1 -5
- package/web/.next/standalone/src/presentation/web/components/common/base-drawer/base-drawer.tsx +1 -2
- package/web/.next/standalone/src/presentation/web/components/common/control-center-drawer/feature-drawer-client.tsx +1 -2
- package/web/.next/standalone/src/presentation/web/components/common/control-center-drawer/repository-drawer-client.tsx +1 -2
- package/web/.next/standalone/src/presentation/web/components/common/repository-node/repository-node.tsx +1 -2
- package/web/.next/standalone/src/presentation/web/components/common/review-drawer-shell/review-drawer-shell.tsx +1 -2
- package/web/.next/standalone/src/presentation/web/components/layouts/app-shell/app-shell.tsx +0 -3
- package/web/.next/standalone/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.tsx +0 -5
- package/web/.next/standalone/src/presentation/web/components/layouts/app-sidebar/app-sidebar.tsx +3 -15
- package/web/.next/standalone/src/presentation/web/lib/feature-flags.ts +4 -47
- package/web/.next/standalone/src/presentation/web/server.js +1 -1
- package/web/.next/static/chunks/{98e3a7cf58fc912a.js → 00adfce42dbbd5ef.js} +1 -1
- package/web/.next/static/chunks/{d4d8f0a137bd2eb4.js → 07f00e2e73d322d2.js} +3 -3
- package/web/.next/static/chunks/{0b7bccc8f636dd5b.js → 0853e1358b862314.js} +1 -1
- package/web/.next/static/chunks/1f5c93a8b939416d.js +5 -0
- package/web/.next/static/chunks/3f205fd6adbfd20a.js +7 -0
- package/web/.next/static/chunks/424982cd78174a1a.js +1 -0
- package/web/.next/static/chunks/4a3b3cfcc85e7254.js +1 -0
- package/web/.next/static/chunks/4e7375d89f61c79d.js +4 -0
- package/web/.next/static/chunks/5d0a6417c4e4e545.js +1 -0
- package/web/.next/static/chunks/7194d56ee0c66306.js +1 -0
- package/web/.next/static/chunks/7e6f572625c82efd.js +1 -0
- package/web/.next/static/chunks/8b6a6c28b4f733d0.js +1 -0
- package/web/.next/static/chunks/{8946a56bec2830be.js → 8b8d01272ba4aebd.js} +1 -1
- package/web/.next/static/chunks/{8530c7b12f46a61e.js → 8cbc99412f24eb01.js} +1 -1
- package/web/.next/static/chunks/9215b6fb973482c5.js +1 -0
- package/web/.next/static/chunks/ab411f151f1b87cc.js +1 -0
- package/web/.next/static/chunks/b6c507fc42d9a277.js +1 -0
- package/web/.next/static/chunks/c6ade368deec2ef6.js +1 -0
- package/web/.next/static/chunks/e12fff3b57456bc2.css +2 -0
- package/web/.next/static/chunks/{c596c91507fdc622.js → ec76915c456404e6.js} +1 -1
- package/web/.next/static/chunks/{turbopack-080e470ea902d0ba.js → turbopack-05820f781f3ffc22.js} +1 -1
- package/web/.next/trace +1 -1
- package/web/.next/trace-build +1 -1
- package/web/.next/types/link.d.ts +0 -1
- package/web/.next/types/routes.d.ts +1 -2
- package/web/.next/types/validator.ts +0 -9
- package/apis/json-schema/FeatureFlags.yaml +0 -21
- package/dist/src/presentation/web/app/actions/load-settings.d.ts +0 -9
- package/dist/src/presentation/web/app/actions/load-settings.d.ts.map +0 -1
- package/dist/src/presentation/web/app/actions/load-settings.js +0 -33
- package/dist/src/presentation/web/app/actions/update-settings.d.ts +0 -11
- package/dist/src/presentation/web/app/actions/update-settings.d.ts.map +0 -1
- package/dist/src/presentation/web/app/actions/update-settings.js +0 -45
- package/dist/src/presentation/web/app/global-error.d.ts +0 -7
- package/dist/src/presentation/web/app/global-error.d.ts.map +0 -1
- package/dist/src/presentation/web/app/global-error.js +0 -5
- package/dist/src/presentation/web/app/settings/page.d.ts +0 -4
- package/dist/src/presentation/web/app/settings/page.d.ts.map +0 -1
- package/dist/src/presentation/web/app/settings/page.js +0 -12
- package/dist/src/presentation/web/components/common/editor-type-icons.d.ts +0 -8
- package/dist/src/presentation/web/components/common/editor-type-icons.d.ts.map +0 -1
- package/dist/src/presentation/web/components/common/editor-type-icons.js +0 -42
- package/dist/src/presentation/web/components/features/settings/agent-settings-section.d.ts +0 -6
- package/dist/src/presentation/web/components/features/settings/agent-settings-section.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/settings/agent-settings-section.js +0 -75
- package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.d.ts +0 -16
- package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.js +0 -36
- package/dist/src/presentation/web/components/features/settings/database-settings-section.d.ts +0 -6
- package/dist/src/presentation/web/components/features/settings/database-settings-section.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/settings/database-settings-section.js +0 -8
- package/dist/src/presentation/web/components/features/settings/database-settings-section.stories.d.ts +0 -15
- package/dist/src/presentation/web/components/features/settings/database-settings-section.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/settings/database-settings-section.stories.js +0 -22
- package/dist/src/presentation/web/components/features/settings/environment-settings-section.d.ts +0 -6
- package/dist/src/presentation/web/components/features/settings/environment-settings-section.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/settings/environment-settings-section.js +0 -54
- package/dist/src/presentation/web/components/features/settings/environment-settings-section.stories.d.ts +0 -15
- package/dist/src/presentation/web/components/features/settings/environment-settings-section.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/settings/environment-settings-section.stories.js +0 -27
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.d.ts +0 -6
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.js +0 -45
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.d.ts +0 -16
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.js +0 -37
- package/dist/src/presentation/web/components/features/settings/notification-settings-section.d.ts +0 -6
- package/dist/src/presentation/web/components/features/settings/notification-settings-section.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/settings/notification-settings-section.js +0 -68
- package/dist/src/presentation/web/components/features/settings/notification-settings-section.stories.d.ts +0 -16
- package/dist/src/presentation/web/components/features/settings/notification-settings-section.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/settings/notification-settings-section.stories.js +0 -62
- package/dist/src/presentation/web/components/features/settings/settings-page-client.d.ts +0 -8
- package/dist/src/presentation/web/components/features/settings/settings-page-client.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/settings/settings-page-client.js +0 -245
- package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.d.ts +0 -15
- package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.js +0 -39
- package/dist/src/presentation/web/components/features/settings/workflow-settings-section.d.ts +0 -6
- package/dist/src/presentation/web/components/features/settings/workflow-settings-section.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/settings/workflow-settings-section.js +0 -76
- package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.d.ts +0 -16
- package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.js +0 -55
- package/dist/src/presentation/web/components/ui/switch.d.ts +0 -7
- package/dist/src/presentation/web/components/ui/switch.d.ts.map +0 -1
- package/dist/src/presentation/web/components/ui/switch.js +0 -8
- package/dist/src/presentation/web/hooks/feature-flags-context.d.ts +0 -19
- package/dist/src/presentation/web/hooks/feature-flags-context.d.ts.map +0 -1
- package/dist/src/presentation/web/hooks/feature-flags-context.js +0 -20
- package/web/.next/server/app/settings/page/app-paths-manifest.json +0 -3
- package/web/.next/server/app/settings/page/build-manifest.json +0 -18
- package/web/.next/server/app/settings/page/next-font-manifest.json +0 -6
- package/web/.next/server/app/settings/page/react-loadable-manifest.json +0 -1
- package/web/.next/server/app/settings/page/server-reference-manifest.json +0 -50
- package/web/.next/server/app/settings/page.js +0 -18
- package/web/.next/server/app/settings/page.js.map +0 -5
- package/web/.next/server/app/settings/page.js.nft.json +0 -1
- package/web/.next/server/app/settings/page_client-reference-manifest.js +0 -2
- package/web/.next/server/chunks/ssr/403f9_next_dist_31ea46d3._.js +0 -6
- package/web/.next/server/chunks/ssr/403f9_next_dist_31ea46d3._.js.map +0 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_c9d9b4d7._.js +0 -6
- package/web/.next/server/chunks/ssr/403f9_next_dist_c9d9b4d7._.js.map +0 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_compiled_dc550646._.js +0 -3
- package/web/.next/server/chunks/ssr/403f9_next_dist_compiled_dc550646._.js.map +0 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_3981ee1d._.js +0 -3
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_3981ee1d._.js.map +0 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_2eacac96.js.map +0 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_46d6bf1b.js.map +0 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_54b1e179.js.map +0 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_6c70ecca.js.map +0 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_c9978986.js +0 -4
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_c9978986.js.map +0 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_ce6dae5d.js +0 -4
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_ce6dae5d.js.map +0 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_d82f78f0.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0880ff0e._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__11033878._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1c870feb._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1c870feb._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__23b5ca2c._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__357d99f9._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__4be9a9bb._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__4be9a9bb._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__52485955._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__5edfc56b._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6eb2a2b0._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6eb2a2b0._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__8c88ef55._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__ad2b2a3c._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__ad2b2a3c._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__aea328fd._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__aea328fd._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c3c963c6._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c9777776._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__f0d8d054._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__f0d8d054._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__fd36b8bf._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__fd36b8bf._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__fdc75809._.js +0 -4
- package/web/.next/server/chunks/ssr/_16235e5e._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_3a4c94e3._.js +0 -3
- package/web/.next/server/chunks/ssr/_3a4c94e3._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_4093a637._.js +0 -5
- package/web/.next/server/chunks/ssr/_4093a637._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_5428b384._.js +0 -3
- package/web/.next/server/chunks/ssr/_5428b384._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_6645f218._.js +0 -21
- package/web/.next/server/chunks/ssr/_6645f218._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_6887cba3._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_88c4dab8._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_8eeee4db._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_956601a1._.js +0 -9
- package/web/.next/server/chunks/ssr/_956601a1._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_9d11d025._.js +0 -7
- package/web/.next/server/chunks/ssr/_9d11d025._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_a37f5f18._.js +0 -13
- package/web/.next/server/chunks/ssr/_a37f5f18._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_a445a23e._.js +0 -4
- package/web/.next/server/chunks/ssr/_a445a23e._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_c26c679f._.js +0 -3
- package/web/.next/server/chunks/ssr/_c26c679f._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_caf6533c._.js +0 -3
- package/web/.next/server/chunks/ssr/_caf6533c._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_d4b20e29._.js +0 -3
- package/web/.next/server/chunks/ssr/_d4b20e29._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_ed11dcd6._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_f38b49fe._.js +0 -3
- package/web/.next/server/chunks/ssr/_f38b49fe._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_f4d222d6._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_f7f6173c._.js +0 -3
- package/web/.next/server/chunks/ssr/_f7f6173c._.js.map +0 -1
- package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js +0 -3
- package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js.map +0 -1
- package/web/.next/server/chunks/ssr/f7870_sonner_dist_index_mjs_dbf63824._.js +0 -3
- package/web/.next/server/chunks/ssr/f7870_sonner_dist_index_mjs_dbf63824._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1fa8042e.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1fa8042e.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_24684200.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_24684200.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_app_global-error_tsx_14c389b5._.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web_app_global-error_tsx_14c389b5._.js.map +0 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/settings/page/app-paths-manifest.json +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/app/settings/page/build-manifest.json +0 -18
- package/web/.next/standalone/src/presentation/web/.next/server/app/settings/page/next-font-manifest.json +0 -6
- package/web/.next/standalone/src/presentation/web/.next/server/app/settings/page/react-loadable-manifest.json +0 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/settings/page/server-reference-manifest.json +0 -50
- package/web/.next/standalone/src/presentation/web/.next/server/app/settings/page.js +0 -18
- package/web/.next/standalone/src/presentation/web/.next/server/app/settings/page.js.map +0 -5
- package/web/.next/standalone/src/presentation/web/.next/server/app/settings/page.js.nft.json +0 -1
- package/web/.next/standalone/src/presentation/web/.next/server/app/settings/page_client-reference-manifest.js +0 -2
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_31ea46d3._.js +0 -6
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_c9d9b4d7._.js +0 -6
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_compiled_dc550646._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_esm_3981ee1d._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_2eacac96.js +0 -4
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_54b1e179.js +0 -4
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_d82f78f0.js +0 -4
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__0880ff0e._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__11033878._.js +0 -4
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__1c870feb._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__23b5ca2c._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__357d99f9._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__4be9a9bb._.js +0 -4
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__52485955._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__5edfc56b._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__6eb2a2b0._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__8c88ef55._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__ad2b2a3c._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__aea328fd._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__c3c963c6._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__c9777776._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__f0d8d054._.js +0 -4
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__fd36b8bf._.js +0 -4
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__fdc75809._.js +0 -4
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_3a4c94e3._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_4093a637._.js +0 -5
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_5428b384._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_6645f218._.js +0 -21
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_956601a1._.js +0 -9
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_9d11d025._.js +0 -7
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_a37f5f18._.js +0 -13
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_a445a23e._.js +0 -4
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_c26c679f._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_caf6533c._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_d4b20e29._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_f38b49fe._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/_f7f6173c._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/f7870_sonner_dist_index_mjs_dbf63824._.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1fa8042e.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_24684200.js +0 -3
- package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/src_presentation_web_app_global-error_tsx_14c389b5._.js +0 -3
- package/web/.next/standalone/src/presentation/web/app/actions/load-settings.ts +0 -43
- package/web/.next/standalone/src/presentation/web/app/actions/update-settings.ts +0 -73
- package/web/.next/standalone/src/presentation/web/app/global-error.tsx +0 -23
- package/web/.next/standalone/src/presentation/web/app/settings/page.tsx +0 -27
- package/web/.next/standalone/src/presentation/web/components/common/editor-type-icons.tsx +0 -84
- package/web/.next/standalone/src/presentation/web/components/features/settings/agent-settings-section.stories.tsx +0 -43
- package/web/.next/standalone/src/presentation/web/components/features/settings/agent-settings-section.tsx +0 -183
- package/web/.next/standalone/src/presentation/web/components/features/settings/database-settings-section.stories.tsx +0 -28
- package/web/.next/standalone/src/presentation/web/components/features/settings/database-settings-section.tsx +0 -43
- package/web/.next/standalone/src/presentation/web/components/features/settings/environment-settings-section.stories.tsx +0 -33
- package/web/.next/standalone/src/presentation/web/components/features/settings/environment-settings-section.tsx +0 -125
- package/web/.next/standalone/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.tsx +0 -44
- package/web/.next/standalone/src/presentation/web/components/features/settings/feature-flags-settings-section.tsx +0 -94
- package/web/.next/standalone/src/presentation/web/components/features/settings/notification-settings-section.stories.tsx +0 -71
- package/web/.next/standalone/src/presentation/web/components/features/settings/notification-settings-section.tsx +0 -178
- package/web/.next/standalone/src/presentation/web/components/features/settings/settings-page-client.stories.tsx +0 -46
- package/web/.next/standalone/src/presentation/web/components/features/settings/settings-page-client.tsx +0 -706
- package/web/.next/standalone/src/presentation/web/components/features/settings/workflow-settings-section.stories.tsx +0 -62
- package/web/.next/standalone/src/presentation/web/components/features/settings/workflow-settings-section.tsx +0 -274
- package/web/.next/standalone/src/presentation/web/components/ui/switch.tsx +0 -35
- package/web/.next/standalone/src/presentation/web/hooks/feature-flags-context.tsx +0 -30
- package/web/.next/standalone/src/presentation/web/public/icons/editors/vscode.svg +0 -3
- package/web/.next/standalone/src/presentation/web/public/icons/editors/windsurf.svg +0 -4
- package/web/.next/standalone/src/presentation/web/public/icons/editors/zed.svg +0 -4
- package/web/.next/static/chunks/120e17fda1419d01.js +0 -1
- package/web/.next/static/chunks/3479d6ae297e5410.css +0 -2
- package/web/.next/static/chunks/356ebc89a2a97627.js +0 -1
- package/web/.next/static/chunks/36d88ff9f7db4eb9.js +0 -1
- package/web/.next/static/chunks/55c131b6fc504375.js +0 -1
- package/web/.next/static/chunks/6bc55aa5ad2095ac.js +0 -3
- package/web/.next/static/chunks/700501f5ac2bb320.js +0 -1
- package/web/.next/static/chunks/730cb306a35d6396.js +0 -1
- package/web/.next/static/chunks/7ea835cf2a6ae94b.js +0 -1
- package/web/.next/static/chunks/89aac43287d73b02.js +0 -1
- package/web/.next/static/chunks/8beb0ab10e6c953c.js +0 -1
- package/web/.next/static/chunks/907556417091ee06.js +0 -11
- package/web/.next/static/chunks/92ba0981701fda34.js +0 -2
- package/web/.next/static/chunks/aa6cc6df962a3fc0.js +0 -3
- package/web/.next/static/chunks/c17b075a71a85424.js +0 -1
- package/web/.next/static/chunks/c63d1c145c5a07dc.js +0 -1
- package/web/.next/static/chunks/eb9841ec4d80af01.js +0 -1
- package/web/.next/static/chunks/fc00e1b83852da4e.js +0 -1
- package/web/public/icons/editors/vscode.svg +0 -3
- package/web/public/icons/editors/windsurf.svg +0 -4
- package/web/public/icons/editors/zed.svg +0 -4
- /package/web/.next/server/chunks/ssr/{[root-of-the-server]__52485955._.js.map → [root-of-the-server]__80e5bed2._.js.map} +0 -0
- /package/web/.next/static/{YWzkM_I8raXDlPfEwO-Xo → kPTTy-YsS3np6cPgsciL2}/_buildManifest.js +0 -0
- /package/web/.next/static/{YWzkM_I8raXDlPfEwO-Xo → kPTTy-YsS3np6cPgsciL2}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{YWzkM_I8raXDlPfEwO-Xo → kPTTy-YsS3np6cPgsciL2}/_ssgManifest.js +0 -0
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { loadSettings } from '../actions/load-settings.js';
|
|
3
|
-
import { SettingsPageClient } from '../../components/features/settings/settings-page-client.js';
|
|
4
|
-
/** Skip static pre-rendering since we need runtime DI container and server context. */
|
|
5
|
-
export const dynamic = 'force-dynamic';
|
|
6
|
-
export default async function SettingsPage() {
|
|
7
|
-
const { settings, shepHome, dbFileSize, error } = await loadSettings();
|
|
8
|
-
if (error || !settings) {
|
|
9
|
-
return (_jsx("div", { className: "flex h-full flex-col p-6", children: _jsxs("p", { className: "text-destructive text-sm", children: ["Failed to load settings: ", error] }) }));
|
|
10
|
-
}
|
|
11
|
-
return (_jsx("div", { className: "flex h-full flex-col p-6", children: _jsx(SettingsPageClient, { settings: settings, shepHome: shepHome ?? '', dbFileSize: dbFileSize ?? 'Unknown' }) }));
|
|
12
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ComponentType, SVGProps } from 'react';
|
|
2
|
-
type IconProps = SVGProps<SVGSVGElement> & {
|
|
3
|
-
className?: string;
|
|
4
|
-
};
|
|
5
|
-
/** Resolve an editor type string to its corresponding icon component. */
|
|
6
|
-
export declare function getEditorTypeIcon(editorType?: string): ComponentType<IconProps>;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=editor-type-icons.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"editor-type-icons.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/components/common/editor-type-icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAKrD,KAAK,SAAS,GAAG,QAAQ,CAAC,aAAa,CAAC,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAwElE,yEAAyE;AACzE,wBAAgB,iBAAiB,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC,SAAS,CAAC,CAK/E"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import Image from 'next/image';
|
|
3
|
-
import { Code, Rocket } from 'lucide-react';
|
|
4
|
-
import { cn } from '../../lib/utils.js';
|
|
5
|
-
/** Fallback icon for unknown editor types. */
|
|
6
|
-
function DefaultEditorIcon(props) {
|
|
7
|
-
return _jsx(Code, { className: cn('h-4 w-4', props.className), ...props });
|
|
8
|
-
}
|
|
9
|
-
function VsCodeIcon({ className }) {
|
|
10
|
-
return (_jsx(Image, { src: "/icons/editors/vscode.svg", alt: "VS Code", width: 24, height: 24, className: cn('rounded-sm object-contain', className) }));
|
|
11
|
-
}
|
|
12
|
-
VsCodeIcon.displayName = 'VsCodeIcon';
|
|
13
|
-
function CursorEditorIcon({ className }) {
|
|
14
|
-
return (_jsx(Image, { src: "/icons/agents/cursor.jpeg", alt: "Cursor", width: 24, height: 24, className: cn('rounded-sm object-contain', className) }));
|
|
15
|
-
}
|
|
16
|
-
CursorEditorIcon.displayName = 'CursorEditorIcon';
|
|
17
|
-
function WindsurfIcon({ className }) {
|
|
18
|
-
return (_jsx(Image, { src: "/icons/editors/windsurf.svg", alt: "Windsurf", width: 24, height: 24, className: cn('rounded-sm object-contain', className) }));
|
|
19
|
-
}
|
|
20
|
-
WindsurfIcon.displayName = 'WindsurfIcon';
|
|
21
|
-
function ZedIcon({ className }) {
|
|
22
|
-
return (_jsx(Image, { src: "/icons/editors/zed.svg", alt: "Zed", width: 24, height: 24, className: cn('rounded-sm object-contain', className) }));
|
|
23
|
-
}
|
|
24
|
-
ZedIcon.displayName = 'ZedIcon';
|
|
25
|
-
function AntigravityIcon({ className, ...props }) {
|
|
26
|
-
return _jsx(Rocket, { className: cn('h-4 w-4', className), ...props });
|
|
27
|
-
}
|
|
28
|
-
AntigravityIcon.displayName = 'AntigravityIcon';
|
|
29
|
-
const editorTypeIconMap = {
|
|
30
|
-
vscode: VsCodeIcon,
|
|
31
|
-
cursor: CursorEditorIcon,
|
|
32
|
-
windsurf: WindsurfIcon,
|
|
33
|
-
zed: ZedIcon,
|
|
34
|
-
antigravity: AntigravityIcon,
|
|
35
|
-
};
|
|
36
|
-
/** Resolve an editor type string to its corresponding icon component. */
|
|
37
|
-
export function getEditorTypeIcon(editorType) {
|
|
38
|
-
if (editorType && editorType in editorTypeIconMap) {
|
|
39
|
-
return editorTypeIconMap[editorType];
|
|
40
|
-
}
|
|
41
|
-
return DefaultEditorIcon;
|
|
42
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
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
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agent-settings-section.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/agent-settings-section.tsx"],"names":[],"mappings":"AAmBA,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,2CA+IxE"}
|
|
@@ -1,75 +0,0 @@
|
|
|
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
|
-
import { getAgentTypeIcon } from '../../common/feature-node/agent-type-icons.js';
|
|
14
|
-
const AGENT_TYPE_OPTIONS = [
|
|
15
|
-
{ value: AgentType.ClaudeCode, label: 'Claude Code' },
|
|
16
|
-
{ value: AgentType.Cursor, label: 'Cursor' },
|
|
17
|
-
{ value: AgentType.GeminiCli, label: 'Gemini CLI' },
|
|
18
|
-
{ value: AgentType.Aider, label: 'Aider' },
|
|
19
|
-
{ value: AgentType.Continue, label: 'Continue' },
|
|
20
|
-
{ value: AgentType.Dev, label: 'Dev' },
|
|
21
|
-
];
|
|
22
|
-
const AUTH_METHOD_OPTIONS = [
|
|
23
|
-
{ value: AgentAuthMethod.Session, label: 'Session' },
|
|
24
|
-
{ value: AgentAuthMethod.Token, label: 'Token' },
|
|
25
|
-
];
|
|
26
|
-
export function AgentSettingsSection({ agent }) {
|
|
27
|
-
const [agentType, setAgentType] = useState(agent.type);
|
|
28
|
-
const [authMethod, setAuthMethod] = useState(agent.authMethod);
|
|
29
|
-
const [token, setToken] = useState(agent.token ?? '');
|
|
30
|
-
const [showToken, setShowToken] = useState(false);
|
|
31
|
-
const [isPending, startTransition] = useTransition();
|
|
32
|
-
const [showSaved, setShowSaved] = useState(false);
|
|
33
|
-
const prevPendingRef = useRef(false);
|
|
34
|
-
useEffect(() => {
|
|
35
|
-
if (prevPendingRef.current && !isPending) {
|
|
36
|
-
setShowSaved(true);
|
|
37
|
-
const timer = setTimeout(() => setShowSaved(false), 2000);
|
|
38
|
-
return () => clearTimeout(timer);
|
|
39
|
-
}
|
|
40
|
-
prevPendingRef.current = isPending;
|
|
41
|
-
}, [isPending]);
|
|
42
|
-
function save(payload) {
|
|
43
|
-
startTransition(async () => {
|
|
44
|
-
const result = await updateSettingsAction(payload);
|
|
45
|
-
if (!result.success) {
|
|
46
|
-
toast.error(result.error ?? 'Failed to save agent settings');
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
function buildPayload(overrides = {}) {
|
|
51
|
-
const merged = { type: agentType, authMethod, ...overrides };
|
|
52
|
-
const result = { type: merged.type, authMethod: merged.authMethod };
|
|
53
|
-
if (merged.authMethod === AgentAuthMethod.Token) {
|
|
54
|
-
result.token = overrides.token ?? token;
|
|
55
|
-
}
|
|
56
|
-
return { agent: result };
|
|
57
|
-
}
|
|
58
|
-
function handleAgentTypeChange(value) {
|
|
59
|
-
setAgentType(value);
|
|
60
|
-
save(buildPayload({ type: value }));
|
|
61
|
-
}
|
|
62
|
-
function handleAuthMethodChange(value) {
|
|
63
|
-
setAuthMethod(value);
|
|
64
|
-
save(buildPayload({ authMethod: value }));
|
|
65
|
-
}
|
|
66
|
-
function handleTokenBlur() {
|
|
67
|
-
if (token !== (agent.token ?? '')) {
|
|
68
|
-
save(buildPayload({ token }));
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
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) => {
|
|
72
|
-
const Icon = getAgentTypeIcon(opt.value);
|
|
73
|
-
return (_jsx(SelectItem, { value: opt.value, children: _jsxs("span", { className: "flex items-center gap-2", children: [_jsx(Icon, { className: "h-4 w-4 shrink-0" }), opt.label] }) }, opt.value));
|
|
74
|
-
}) })] })] }), _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" })] }))] })] }));
|
|
75
|
-
}
|
package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
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
|
-
};
|
package/dist/src/presentation/web/components/features/settings/database-settings-section.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
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
DELETED
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
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
DELETED
|
@@ -1 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,27 +0,0 @@
|
|
|
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
|
-
};
|
package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { FeatureFlags } from '../../../../../../packages/core/src/domain/generated/output.js';
|
|
2
|
-
export interface FeatureFlagsSettingsSectionProps {
|
|
3
|
-
featureFlags: FeatureFlags;
|
|
4
|
-
}
|
|
5
|
-
export declare function FeatureFlagsSettingsSection({ featureFlags }: FeatureFlagsSettingsSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
//# sourceMappingURL=feature-flags-settings-section.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"feature-flags-settings-section.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/feature-flags-settings-section.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAgBzE,MAAM,WAAW,gCAAgC;IAC/C,YAAY,EAAE,YAAY,CAAC;CAC5B;AAED,wBAAgB,2BAA2B,CAAC,EAAE,YAAY,EAAE,EAAE,gCAAgC,2CAgE7F"}
|
package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
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 { Flag, 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 { Switch } from '../../ui/switch.js';
|
|
9
|
-
import { updateSettingsAction } from '../../../app/actions/update-settings.js';
|
|
10
|
-
const FLAG_DESCRIPTIONS = {
|
|
11
|
-
skills: 'Enable Skills navigation and functionality in the web UI',
|
|
12
|
-
envDeploy: 'Enable environment deployment features in the web UI',
|
|
13
|
-
debug: 'Enable debug UI elements and verbose client-side logging',
|
|
14
|
-
};
|
|
15
|
-
const FLAG_LABELS = {
|
|
16
|
-
skills: 'Skills',
|
|
17
|
-
envDeploy: 'Deployments',
|
|
18
|
-
debug: 'Debug',
|
|
19
|
-
};
|
|
20
|
-
const FLAG_KEYS = ['skills', 'envDeploy', 'debug'];
|
|
21
|
-
export function FeatureFlagsSettingsSection({ featureFlags }) {
|
|
22
|
-
const [flags, setFlags] = useState({ ...featureFlags });
|
|
23
|
-
const [isPending, startTransition] = useTransition();
|
|
24
|
-
const [showSaved, setShowSaved] = useState(false);
|
|
25
|
-
const prevPendingRef = useRef(false);
|
|
26
|
-
useEffect(() => {
|
|
27
|
-
if (prevPendingRef.current && !isPending) {
|
|
28
|
-
setShowSaved(true);
|
|
29
|
-
const timer = setTimeout(() => setShowSaved(false), 2000);
|
|
30
|
-
return () => clearTimeout(timer);
|
|
31
|
-
}
|
|
32
|
-
prevPendingRef.current = isPending;
|
|
33
|
-
}, [isPending]);
|
|
34
|
-
function handleFlagChange(key, value) {
|
|
35
|
-
const newFlags = { ...flags, [key]: value };
|
|
36
|
-
setFlags(newFlags);
|
|
37
|
-
startTransition(async () => {
|
|
38
|
-
const result = await updateSettingsAction({ featureFlags: newFlags });
|
|
39
|
-
if (!result.success) {
|
|
40
|
-
toast.error(result.error ?? 'Failed to save feature flags');
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
return (_jsxs(Card, { id: "feature-flags", className: "scroll-mt-6", "data-testid": "feature-flags-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(Flag, { className: "text-muted-foreground h-4 w-4" }), _jsx(CardTitle, { children: "Feature Flags" })] }), 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: "Toggle experimental and optional features. Changes take effect after page navigation." })] }), _jsx(CardContent, { className: "space-y-4", children: FLAG_KEYS.map((key) => (_jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsxs("div", { className: "space-y-0.5", children: [_jsx(Label, { htmlFor: `flag-${key}`, children: FLAG_LABELS[key] }), _jsx("p", { className: "text-muted-foreground text-xs", children: FLAG_DESCRIPTIONS[key] })] }), _jsx(Switch, { id: `flag-${key}`, "data-testid": `switch-flag-${key}`, checked: flags[key], onCheckedChange: (v) => handleFlagChange(key, v) })] }, key))) })] }));
|
|
45
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import { FeatureFlagsSettingsSection } from './feature-flags-settings-section.js';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof FeatureFlagsSettingsSection;
|
|
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 AllEnabled: Story;
|
|
15
|
-
export declare const AllDisabled: Story;
|
|
16
|
-
//# sourceMappingURL=feature-flags-settings-section.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"feature-flags-settings-section.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/feature-flags-settings-section.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAE/E,QAAA,MAAM,IAAI;;;;;;;CAO0C,CAAC;AAErD,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAQxB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAQzB,CAAC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { FeatureFlagsSettingsSection } from './feature-flags-settings-section.js';
|
|
2
|
-
const meta = {
|
|
3
|
-
title: 'Features/Settings/FeatureFlagsSettingsSection',
|
|
4
|
-
component: FeatureFlagsSettingsSection,
|
|
5
|
-
tags: ['autodocs'],
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: 'padded',
|
|
8
|
-
},
|
|
9
|
-
};
|
|
10
|
-
export default meta;
|
|
11
|
-
export const Default = {
|
|
12
|
-
args: {
|
|
13
|
-
featureFlags: {
|
|
14
|
-
skills: false,
|
|
15
|
-
envDeploy: false,
|
|
16
|
-
debug: false,
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
};
|
|
20
|
-
export const AllEnabled = {
|
|
21
|
-
args: {
|
|
22
|
-
featureFlags: {
|
|
23
|
-
skills: true,
|
|
24
|
-
envDeploy: true,
|
|
25
|
-
debug: true,
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
};
|
|
29
|
-
export const AllDisabled = {
|
|
30
|
-
args: {
|
|
31
|
-
featureFlags: {
|
|
32
|
-
skills: false,
|
|
33
|
-
envDeploy: false,
|
|
34
|
-
debug: false,
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
};
|
package/dist/src/presentation/web/components/features/settings/notification-settings-section.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { NotificationPreferences } from '../../../../../../packages/core/src/domain/generated/output.js';
|
|
2
|
-
export interface NotificationSettingsSectionProps {
|
|
3
|
-
notifications: NotificationPreferences;
|
|
4
|
-
}
|
|
5
|
-
export declare function NotificationSettingsSection({ notifications }: NotificationSettingsSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
//# sourceMappingURL=notification-settings-section.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notification-settings-section.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/notification-settings-section.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAiBpF,MAAM,WAAW,gCAAgC;IAC/C,aAAa,EAAE,uBAAuB,CAAC;CACxC;AAED,wBAAgB,2BAA2B,CAAC,EAAE,aAAa,EAAE,EAAE,gCAAgC,2CAkJ9F"}
|
package/dist/src/presentation/web/components/features/settings/notification-settings-section.js
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
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 { Bell, 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 { Switch } from '../../ui/switch.js';
|
|
9
|
-
import { Separator } from '../../ui/separator.js';
|
|
10
|
-
import { updateSettingsAction } from '../../../app/actions/update-settings.js';
|
|
11
|
-
const AGENT_EVENT_TOGGLES = [
|
|
12
|
-
{ key: 'agentStarted', label: 'Agent Started' },
|
|
13
|
-
{ key: 'phaseCompleted', label: 'Phase Completed' },
|
|
14
|
-
{ key: 'waitingApproval', label: 'Waiting Approval' },
|
|
15
|
-
{ key: 'agentCompleted', label: 'Agent Completed' },
|
|
16
|
-
{ key: 'agentFailed', label: 'Agent Failed' },
|
|
17
|
-
];
|
|
18
|
-
const PR_EVENT_TOGGLES = [
|
|
19
|
-
{ key: 'prMerged', label: 'PR Merged' },
|
|
20
|
-
{ key: 'prClosed', label: 'PR Closed' },
|
|
21
|
-
{ key: 'prChecksPassed', label: 'PR Checks Passed' },
|
|
22
|
-
{ key: 'prChecksFailed', label: 'PR Checks Failed' },
|
|
23
|
-
];
|
|
24
|
-
export function NotificationSettingsSection({ notifications }) {
|
|
25
|
-
const [inApp, setInApp] = useState(notifications.inApp.enabled);
|
|
26
|
-
const [browser, setBrowser] = useState(notifications.browser.enabled);
|
|
27
|
-
const [desktop, setDesktop] = useState(notifications.desktop.enabled);
|
|
28
|
-
const [events, setEvents] = useState({ ...notifications.events });
|
|
29
|
-
const [isPending, startTransition] = useTransition();
|
|
30
|
-
const [showSaved, setShowSaved] = useState(false);
|
|
31
|
-
const prevPendingRef = useRef(false);
|
|
32
|
-
useEffect(() => {
|
|
33
|
-
if (prevPendingRef.current && !isPending) {
|
|
34
|
-
setShowSaved(true);
|
|
35
|
-
const timer = setTimeout(() => setShowSaved(false), 2000);
|
|
36
|
-
return () => clearTimeout(timer);
|
|
37
|
-
}
|
|
38
|
-
prevPendingRef.current = isPending;
|
|
39
|
-
}, [isPending]);
|
|
40
|
-
function save(payload) {
|
|
41
|
-
startTransition(async () => {
|
|
42
|
-
const result = await updateSettingsAction(payload);
|
|
43
|
-
if (!result.success) {
|
|
44
|
-
toast.error(result.error ?? 'Failed to save notification settings');
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
function buildFullPayload(overrides = {}) {
|
|
49
|
-
return {
|
|
50
|
-
notifications: {
|
|
51
|
-
inApp: { enabled: overrides.inApp ?? inApp },
|
|
52
|
-
browser: { enabled: overrides.browser ?? browser },
|
|
53
|
-
desktop: { enabled: overrides.desktop ?? desktop },
|
|
54
|
-
events: overrides.events ?? events,
|
|
55
|
-
},
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
function handleChannelChange(channel, setter, value) {
|
|
59
|
-
setter(value);
|
|
60
|
-
save(buildFullPayload({ [channel]: value }));
|
|
61
|
-
}
|
|
62
|
-
function handleEventChange(key, value) {
|
|
63
|
-
const newEvents = { ...events, [key]: value };
|
|
64
|
-
setEvents(newEvents);
|
|
65
|
-
save(buildFullPayload({ events: newEvents }));
|
|
66
|
-
}
|
|
67
|
-
return (_jsxs(Card, { id: "notifications", className: "scroll-mt-6", "data-testid": "notification-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(Bell, { className: "text-muted-foreground h-4 w-4" }), _jsx(CardTitle, { children: "Notifications" })] }), 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 notification channels and event preferences" })] }), _jsxs(CardContent, { className: "space-y-4", children: [_jsxs("div", { className: "space-y-3", children: [_jsx("h3", { className: "text-sm font-semibold", children: "Channels" }), _jsxs("div", { className: "flex items-center justify-between", children: [_jsx(Label, { htmlFor: "notif-in-app", children: "In-App" }), _jsx(Switch, { id: "notif-in-app", "data-testid": "switch-in-app", checked: inApp, onCheckedChange: (v) => handleChannelChange('inApp', setInApp, v) })] }), _jsxs("div", { className: "flex items-center justify-between", children: [_jsx(Label, { htmlFor: "notif-browser", children: "Browser" }), _jsx(Switch, { id: "notif-browser", "data-testid": "switch-browser", checked: browser, onCheckedChange: (v) => handleChannelChange('browser', setBrowser, v) })] }), _jsxs("div", { className: "flex items-center justify-between", children: [_jsx(Label, { htmlFor: "notif-desktop", children: "Desktop" }), _jsx(Switch, { id: "notif-desktop", "data-testid": "switch-desktop", checked: desktop, onCheckedChange: (v) => handleChannelChange('desktop', setDesktop, v) })] })] }), _jsx(Separator, {}), _jsxs("div", { className: "space-y-3", children: [_jsx("h3", { className: "text-sm font-semibold", children: "Agent Events" }), AGENT_EVENT_TOGGLES.map(({ key, label }) => (_jsxs("div", { className: "flex items-center justify-between", children: [_jsx(Label, { htmlFor: `notif-event-${key}`, children: label }), _jsx(Switch, { id: `notif-event-${key}`, "data-testid": `switch-event-${key}`, checked: events[key], onCheckedChange: (v) => handleEventChange(key, v) })] }, key)))] }), _jsx(Separator, {}), _jsxs("div", { className: "space-y-3", children: [_jsx("h3", { className: "text-sm font-semibold", children: "PR Events" }), PR_EVENT_TOGGLES.map(({ key, label }) => (_jsxs("div", { className: "flex items-center justify-between", children: [_jsx(Label, { htmlFor: `notif-event-${key}`, children: label }), _jsx(Switch, { id: `notif-event-${key}`, "data-testid": `switch-event-${key}`, checked: events[key], onCheckedChange: (v) => handleEventChange(key, v) })] }, key)))] })] })] }));
|
|
68
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import { NotificationSettingsSection } from './notification-settings-section.js';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof NotificationSettingsSection;
|
|
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 AllEnabled: Story;
|
|
15
|
-
export declare const AllDisabled: Story;
|
|
16
|
-
//# sourceMappingURL=notification-settings-section.stories.d.ts.map
|