@shepai/cli 1.129.4 → 1.130.0-pr413.5fb0075
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apis/json-schema/FeatureFlags.yaml +5 -0
- package/dist/packages/core/src/domain/factories/settings-defaults.factory.d.ts.map +1 -1
- package/dist/packages/core/src/domain/factories/settings-defaults.factory.js +1 -0
- package/dist/packages/core/src/domain/generated/output.d.ts +4 -0
- package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/legacy-migrations.d.ts +2 -2
- package/dist/packages/core/src/infrastructure/persistence/sqlite/legacy-migrations.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/legacy-migrations.js +13 -2
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts +1 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.js +2 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations.d.ts +3 -3
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations.js +4 -4
- 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 -0
- package/dist/packages/core/src/infrastructure/services/agents/common/agent-validator.service.js +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/common/executors/cursor-executor.service.d.ts +5 -5
- package/dist/packages/core/src/infrastructure/services/agents/common/executors/cursor-executor.service.js +8 -8
- package/dist/packages/core/src/infrastructure/services/deployment/deployment.service.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/deployment/deployment.service.js +24 -7
- package/dist/src/presentation/web/app/actions/check-agent-auth.js +1 -1
- package/dist/src/presentation/web/app/api/directory/list/route.d.ts +3 -0
- package/dist/src/presentation/web/app/api/directory/list/route.d.ts.map +1 -0
- package/dist/src/presentation/web/app/api/directory/list/route.js +76 -0
- package/dist/src/presentation/web/app/layout.d.ts +1 -0
- package/dist/src/presentation/web/app/layout.d.ts.map +1 -1
- package/dist/src/presentation/web/app/layout.js +1 -0
- package/dist/src/presentation/web/components/common/add-repository-button/add-repository-button.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/add-repository-button/add-repository-button.js +23 -2
- package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.js +50 -19
- package/dist/src/presentation/web/components/common/index.d.ts +1 -0
- package/dist/src/presentation/web/components/common/index.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/index.js +1 -0
- package/dist/src/presentation/web/components/common/react-file-manager-dialog/index.d.ts +3 -0
- package/dist/src/presentation/web/components/common/react-file-manager-dialog/index.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/react-file-manager-dialog/index.js +1 -0
- package/dist/src/presentation/web/components/common/react-file-manager-dialog/react-file-manager-dialog-config.d.ts +17 -0
- package/dist/src/presentation/web/components/common/react-file-manager-dialog/react-file-manager-dialog-config.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/react-file-manager-dialog/react-file-manager-dialog-config.js +1 -0
- package/dist/src/presentation/web/components/common/react-file-manager-dialog/react-file-manager-dialog.d.ts +3 -0
- package/dist/src/presentation/web/components/common/react-file-manager-dialog/react-file-manager-dialog.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/react-file-manager-dialog/react-file-manager-dialog.js +116 -0
- package/dist/src/presentation/web/components/common/react-file-manager-dialog/react-file-manager-dialog.stories.d.ts +9 -0
- package/dist/src/presentation/web/components/common/react-file-manager-dialog/react-file-manager-dialog.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/react-file-manager-dialog/react-file-manager-dialog.stories.js +27 -0
- package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.js +22 -1
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.js +3 -0
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.js +3 -0
- package/dist/src/presentation/web/components/features/settings/settings-page-client.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/settings-page-client.js +5 -0
- package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.js +1 -0
- package/dist/src/presentation/web/components/layouts/app-shell/app-shell.d.ts.map +1 -1
- package/dist/src/presentation/web/components/layouts/app-shell/app-shell.js +21 -2
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.js +1 -0
- package/dist/src/presentation/web/hooks/feature-flags-context.d.ts.map +1 -1
- package/dist/src/presentation/web/hooks/feature-flags-context.js +1 -0
- package/dist/src/presentation/web/lib/feature-flags.d.ts +2 -0
- package/dist/src/presentation/web/lib/feature-flags.d.ts.map +1 -1
- package/dist/src/presentation/web/lib/feature-flags.js +5 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -1
- package/web/.next/BUILD_ID +1 -1
- package/web/.next/app-path-routes-manifest.json +1 -0
- package/web/.next/build-manifest.json +6 -6
- package/web/.next/fallback-build-manifest.json +2 -2
- package/web/.next/prerender-manifest.json +3 -3
- package/web/.next/required-server-files.js +3 -3
- package/web/.next/required-server-files.json +3 -3
- package/web/.next/routes-manifest.json +6 -0
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page/build-manifest.json +4 -4
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page/react-loadable-manifest.json +8 -1
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page/server-reference-manifest.json +24 -24
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/create/page/build-manifest.json +4 -4
- package/web/.next/server/app/(dashboard)/@drawer/create/page/react-loadable-manifest.json +8 -1
- package/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +24 -24
- package/web/.next/server/app/(dashboard)/@drawer/create/page.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/create/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/create/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/build-manifest.json +4 -4
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/react-loadable-manifest.json +8 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/server-reference-manifest.json +30 -30
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/build-manifest.json +4 -4
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/react-loadable-manifest.json +8 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/server-reference-manifest.json +30 -30
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/build-manifest.json +4 -4
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/react-loadable-manifest.json +8 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +22 -22
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/create/page/build-manifest.json +4 -4
- package/web/.next/server/app/(dashboard)/create/page/react-loadable-manifest.json +8 -1
- package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +24 -24
- package/web/.next/server/app/(dashboard)/create/page.js +1 -1
- package/web/.next/server/app/(dashboard)/create/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/create/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/build-manifest.json +4 -4
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/react-loadable-manifest.json +8 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/server-reference-manifest.json +30 -30
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page/build-manifest.json +4 -4
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page/react-loadable-manifest.json +8 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page/server-reference-manifest.json +30 -30
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/page/build-manifest.json +4 -4
- package/web/.next/server/app/(dashboard)/page/react-loadable-manifest.json +8 -1
- package/web/.next/server/app/(dashboard)/page/server-reference-manifest.json +22 -22
- package/web/.next/server/app/(dashboard)/page.js +1 -1
- package/web/.next/server/app/(dashboard)/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/build-manifest.json +4 -4
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/react-loadable-manifest.json +8 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +22 -22
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/_global-error/page/build-manifest.json +4 -4
- package/web/.next/server/app/_global-error.html +2 -2
- package/web/.next/server/app/_global-error.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/server/app/_not-found/page/build-manifest.json +4 -4
- package/web/.next/server/app/_not-found/page/react-loadable-manifest.json +8 -1
- package/web/.next/server/app/_not-found/page/server-reference-manifest.json +3 -3
- package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/api/attachments/preview/route.js +1 -1
- package/web/.next/server/app/api/attachments/preview/route.js.nft.json +1 -1
- package/web/.next/server/app/api/directory/list/route/app-paths-manifest.json +3 -0
- package/web/.next/server/app/api/directory/list/route/build-manifest.json +11 -0
- package/web/.next/server/app/api/directory/list/route/server-reference-manifest.json +4 -0
- package/web/.next/server/app/api/directory/list/route.js +7 -0
- package/web/.next/server/app/api/directory/list/route.js.map +5 -0
- package/web/.next/server/app/api/directory/list/route.js.nft.json +1 -0
- package/web/.next/server/app/api/directory/list/route_client-reference-manifest.js +2 -0
- package/web/.next/server/app/api/evidence/route.js +1 -1
- package/web/.next/server/app/api/evidence/route.js.nft.json +1 -1
- package/web/.next/server/app/api/feature-logs/route.js +1 -1
- package/web/.next/server/app/api/feature-logs/route.js.nft.json +1 -1
- package/web/.next/server/app/api/graph-data/route.js +1 -1
- package/web/.next/server/app/api/graph-data/route.js.nft.json +1 -1
- package/web/.next/server/app/settings/page/build-manifest.json +4 -4
- package/web/.next/server/app/settings/page/react-loadable-manifest.json +8 -1
- package/web/.next/server/app/settings/page/server-reference-manifest.json +8 -8
- package/web/.next/server/app/settings/page.js +1 -1
- package/web/.next/server/app/settings/page.js.nft.json +1 -1
- package/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/skills/page/build-manifest.json +4 -4
- package/web/.next/server/app/skills/page/react-loadable-manifest.json +8 -1
- package/web/.next/server/app/skills/page/server-reference-manifest.json +8 -8
- package/web/.next/server/app/skills/page.js +1 -1
- package/web/.next/server/app/skills/page.js.nft.json +1 -1
- package/web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/tools/page/build-manifest.json +4 -4
- package/web/.next/server/app/tools/page/react-loadable-manifest.json +8 -1
- package/web/.next/server/app/tools/page/server-reference-manifest.json +8 -8
- package/web/.next/server/app/tools/page.js +1 -1
- package/web/.next/server/app/tools/page.js.nft.json +1 -1
- package/web/.next/server/app/tools/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/version/page/build-manifest.json +4 -4
- package/web/.next/server/app/version/page/react-loadable-manifest.json +8 -1
- package/web/.next/server/app/version/page/server-reference-manifest.json +3 -3
- package/web/.next/server/app/version/page.js.nft.json +1 -1
- package/web/.next/server/app/version/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app-paths-manifest.json +1 -0
- package/web/.next/server/chunks/744ca_web__next-internal_server_app_api_directory_list_route_actions_9e35153e.js +3 -0
- package/web/.next/server/chunks/744ca_web__next-internal_server_app_api_directory_list_route_actions_9e35153e.js.map +1 -0
- package/web/.next/server/chunks/{[root-of-the-server]__53013576._.js → [root-of-the-server]__25f23d5d._.js} +2 -2
- package/web/.next/server/chunks/{[root-of-the-server]__92078db6._.js → [root-of-the-server]__26565141._.js} +2 -2
- package/web/.next/server/chunks/{[root-of-the-server]__d8037e14._.js → [root-of-the-server]__2b1074db._.js} +2 -2
- package/web/.next/server/chunks/[root-of-the-server]__a402b567._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.js.map +1 -1
- package/web/.next/server/chunks/{[root-of-the-server]__bc532286._.js → [root-of-the-server]__d1dc8fcd._.js} +2 -2
- package/web/.next/server/chunks/[root-of-the-server]__d1dc8fcd._.js.map +1 -0
- package/web/.next/server/chunks/[root-of-the-server]__fc6fd958._.js +3 -0
- package/web/.next/server/chunks/[root-of-the-server]__fc6fd958._.js.map +1 -0
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_4e741df2.js +1 -1
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_4e741df2.js.map +1 -1
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js +1 -1
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js.map +1 -1
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_026fdffa.js +1 -1
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_026fdffa.js.map +1 -1
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_8b91e197.js +1 -1
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_8b91e197.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__357d99f9._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__43f51aa6._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__43f51aa6._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__60684242._.js → [root-of-the-server]__5142820f._.js} +3 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__5142820f._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__a21eef5a._.js → [root-of-the-server]__57018345._.js} +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__57018345._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6bb00d90._.js +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6bb00d90._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__755cfe02._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__755cfe02._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__7894f27f._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__7894f27f._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__815546bd._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__815546bd._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__62cdea24._.js → [root-of-the-server]__84f72684._.js} +3 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__99ab2519._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__99ab2519._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a628fb91._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a628fb91._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__bfba58e6._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__bfba58e6._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c3ab8422._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c3ab8422._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0020fddd._.js +1 -1
- package/web/.next/server/chunks/ssr/_0020fddd._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_02ec1aea._.js +1 -1
- package/web/.next/server/chunks/ssr/_02ec1aea._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_1b7dae9a._.js +3 -0
- package/web/.next/server/chunks/ssr/_1b7dae9a._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{_26c20380._.js → _5ee8f45d._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_26c20380._.js.map → _5ee8f45d._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_7dca1882._.js +1 -1
- package/web/.next/server/chunks/ssr/_7dca1882._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_df70217b._.js → _874b80c0._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_df70217b._.js.map → _874b80c0._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_a37f5f18._.js +1 -1
- package/web/.next/server/chunks/ssr/_a37f5f18._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_a9f57758._.js +1 -1
- package/web/.next/server/chunks/ssr/_a9f57758._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_d4b20e29._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_d8575088._.js +1 -1
- package/web/.next/server/chunks/ssr/_d8575088._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_f39a1adb._.js +1 -1
- package/web/.next/server/chunks/ssr/_f39a1adb._.js.map +1 -1
- package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js +1 -1
- package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_08116d3b._.js +3 -0
- package/web/.next/server/chunks/ssr/{src_presentation_web_eb13df7b._.js.map → src_presentation_web_08116d3b._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_8e7fe0d1._.js +2 -2
- package/web/.next/server/chunks/ssr/src_presentation_web_8e7fe0d1._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_ca051134.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_ca051134.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1b176e3c.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1b176e3c.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_bd9f0dda.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_bd9f0dda.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_b9023017._.js +2 -2
- package/web/.next/server/chunks/ssr/src_presentation_web_b9023017._.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/middleware-build-manifest.js +4 -4
- package/web/.next/server/pages/500.html +2 -2
- package/web/.next/server/server-reference-manifest.js +1 -1
- package/web/.next/server/server-reference-manifest.json +38 -38
- package/web/.next/static/chunks/{73d01c063ddb619b.js → 043177e27239ee9b.js} +1 -1
- package/web/.next/static/chunks/0947837d5f088deb.js +1 -0
- package/web/.next/static/chunks/{d34a91958ca566fa.js → 0b7fe2ac4f078f54.js} +1 -1
- package/web/.next/static/chunks/0ea15b83aeca7b1a.css +1 -0
- package/web/.next/static/chunks/4cec255f2754e5ec.js +1 -0
- package/web/.next/static/chunks/50c8366413985b52.js +2 -0
- package/web/.next/static/chunks/{b5eff80f41163060.js → 5dc0c2d0e8c03f50.js} +1 -1
- package/web/.next/static/chunks/6d7b999c99d6d175.js +9 -0
- package/web/.next/static/chunks/8180973e9cd6a99e.css +1 -0
- package/web/.next/static/chunks/83fc7ea32e18c9a5.js +1 -0
- package/web/.next/static/chunks/{a819286e092d6779.js → 9e19688c4469756f.js} +1 -1
- package/web/.next/static/chunks/a745a1cccb043b11.js +1 -0
- package/web/.next/static/chunks/aa8ba8c68d56af4d.js +1 -0
- package/web/.next/static/chunks/{33e8656cd8fcd8f3.js → c578097902966b8f.js} +1 -1
- package/web/.next/static/chunks/c6013534d05ef8b3.js +1 -0
- package/web/.next/static/chunks/c7e793951b20a67f.js +1 -0
- package/web/.next/static/chunks/{dbcb999ae8247914.js → c95991b900920cce.js} +2 -2
- package/web/.next/static/chunks/{269012ed01bb54b3.js → d071385c79ad63e1.js} +1 -1
- package/web/.next/static/chunks/{e3eb64f3e2b71c2c.js → f1e89e97948fca44.js} +1 -1
- package/web/.next/static/chunks/{turbopack-080e470ea902d0ba.js → turbopack-c2d183e05f30c7dc.js} +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__bc532286._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0e842eba._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0e842eba._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__60684242._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a21eef5a._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_b4b8a636._.js +0 -3
- package/web/.next/server/chunks/ssr/_b4b8a636._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_eb13df7b._.js +0 -3
- package/web/.next/static/chunks/2c5a88b90c52d160.js +0 -2
- package/web/.next/static/chunks/31ddce9ebee38ab1.css +0 -1
- package/web/.next/static/chunks/5e816d8bfa88e38c.js +0 -1
- package/web/.next/static/chunks/610ae73585c51f7e.js +0 -1
- package/web/.next/static/chunks/84a181ff3270fd9f.js +0 -1
- package/web/.next/static/chunks/89aac43287d73b02.js +0 -1
- package/web/.next/static/chunks/a98b057ce6b40740.js +0 -1
- package/web/.next/static/chunks/f259386f4875e70c.js +0 -1
- package/web/.next/static/chunks/f28016900dc9baea.js +0 -1
- /package/web/.next/server/chunks/{[root-of-the-server]__53013576._.js.map → [root-of-the-server]__25f23d5d._.js.map} +0 -0
- /package/web/.next/server/chunks/{[root-of-the-server]__92078db6._.js.map → [root-of-the-server]__26565141._.js.map} +0 -0
- /package/web/.next/server/chunks/{[root-of-the-server]__d8037e14._.js.map → [root-of-the-server]__2b1074db._.js.map} +0 -0
- /package/web/.next/server/chunks/ssr/{[root-of-the-server]__62cdea24._.js.map → [root-of-the-server]__84f72684._.js.map} +0 -0
- /package/web/.next/static/{pKNtnYRxwr5XM3dfLB6Fs → Q6RW_wJCzRhFkGGjPlKbb}/_buildManifest.js +0 -0
- /package/web/.next/static/{pKNtnYRxwr5XM3dfLB6Fs → Q6RW_wJCzRhFkGGjPlKbb}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{pKNtnYRxwr5XM3dfLB6Fs → Q6RW_wJCzRhFkGGjPlKbb}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-repository-button.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/add-repository-button/add-repository-button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-repository-button.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/add-repository-button/add-repository-button.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAEvE,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,cAAc,CAAC,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;CACnD;AAED,wBAAgB,mBAAmB,CAAC,EAAE,QAAQ,EAAE,cAAc,EAAE,EAAE,wBAAwB,2CAsHzF"}
|
package/dist/src/presentation/web/components/common/add-repository-button/add-repository-button.js
CHANGED
|
@@ -6,17 +6,24 @@ import { Button } from '../../ui/button.js';
|
|
|
6
6
|
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '../../ui/tooltip.js';
|
|
7
7
|
import { Popover, PopoverContent, PopoverTrigger } from '../../ui/popover.js';
|
|
8
8
|
import { GitHubImportDialog } from '../../common/github-import-dialog/index.js';
|
|
9
|
-
import { pickFolder } from './pick-folder.js';
|
|
10
9
|
import { useFeatureFlags } from '../../../hooks/feature-flags-context.js';
|
|
10
|
+
import { ReactFileManagerDialog } from '../../common/react-file-manager-dialog/index.js';
|
|
11
|
+
import { pickFolder } from './pick-folder.js';
|
|
11
12
|
export function AddRepositoryButton({ onSelect, onGitHubImport }) {
|
|
12
13
|
const featureFlags = useFeatureFlags();
|
|
13
14
|
const [loading, setLoading] = useState(false);
|
|
14
15
|
const [popoverOpen, setPopoverOpen] = useState(false);
|
|
15
16
|
const [githubDialogOpen, setGithubDialogOpen] = useState(false);
|
|
17
|
+
const [showReactPicker, setShowReactPicker] = useState(false);
|
|
18
|
+
const { reactFileManager: useReactFileManager } = featureFlags;
|
|
16
19
|
async function handleLocalFolder() {
|
|
17
20
|
setPopoverOpen(false);
|
|
18
21
|
if (loading)
|
|
19
22
|
return;
|
|
23
|
+
if (useReactFileManager) {
|
|
24
|
+
setShowReactPicker(true);
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
20
27
|
setLoading(true);
|
|
21
28
|
try {
|
|
22
29
|
const path = await pickFolder();
|
|
@@ -24,6 +31,10 @@ export function AddRepositoryButton({ onSelect, onGitHubImport }) {
|
|
|
24
31
|
onSelect?.(path);
|
|
25
32
|
}
|
|
26
33
|
}
|
|
34
|
+
catch {
|
|
35
|
+
// Native picker failed — fall back to React file manager
|
|
36
|
+
setShowReactPicker(true);
|
|
37
|
+
}
|
|
27
38
|
finally {
|
|
28
39
|
setLoading(false);
|
|
29
40
|
}
|
|
@@ -38,5 +49,15 @@ export function AddRepositoryButton({ onSelect, onGitHubImport }) {
|
|
|
38
49
|
onSelect?.(repository.path);
|
|
39
50
|
}
|
|
40
51
|
}
|
|
41
|
-
|
|
52
|
+
function handleReactPickerSelect(path) {
|
|
53
|
+
if (path) {
|
|
54
|
+
onSelect?.(path);
|
|
55
|
+
}
|
|
56
|
+
setShowReactPicker(false);
|
|
57
|
+
}
|
|
58
|
+
return (_jsxs(_Fragment, { children: [_jsxs(Popover, { open: popoverOpen, onOpenChange: setPopoverOpen, children: [_jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx(PopoverTrigger, { asChild: true, children: _jsx(Button, { variant: "ghost", size: "icon", "aria-label": "Add Repository", "data-testid": "add-repository-button", disabled: loading, children: loading ? (_jsx(Loader2, { className: "h-5 w-5 animate-spin" })) : (_jsx(Plus, { className: "h-5 w-5" })) }) }) }), _jsx(TooltipContent, { children: "Add Repository" })] }) }), _jsxs(PopoverContent, { className: "w-48 p-1", align: "start", children: [_jsxs("button", { type: "button", className: "hover:bg-accent flex w-full items-center gap-2 rounded-sm px-2 py-1.5 text-sm", onClick: handleLocalFolder, "data-testid": "add-repo-local-folder", children: [_jsx(FolderPlus, { className: "h-4 w-4" }), "Local folder"] }), featureFlags.githubImport ? (_jsxs("button", { type: "button", className: "hover:bg-accent flex w-full items-center gap-2 rounded-sm px-2 py-1.5 text-sm", onClick: handleFromGitHub, "data-testid": "add-repo-from-github", children: [_jsx(Github, { className: "h-4 w-4" }), "From GitHub"] })) : null] })] }), featureFlags.githubImport ? (_jsx(GitHubImportDialog, { open: githubDialogOpen, onOpenChange: setGithubDialogOpen, onImportComplete: handleImportComplete })) : null, _jsx(ReactFileManagerDialog, { open: showReactPicker, onOpenChange: (open) => {
|
|
59
|
+
if (!open) {
|
|
60
|
+
setShowReactPicker(false);
|
|
61
|
+
}
|
|
62
|
+
}, onSelect: handleReactPickerSelect })] }));
|
|
42
63
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-create-drawer.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"feature-create-drawer.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAS5E,YAAY,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAE/F,uFAAuF;AACvF,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,0DAA0D;AAC1D,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED,iEAAiE;AACjE,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE;QACb,QAAQ,EAAE,OAAO,CAAC;QAClB,SAAS,EAAE,OAAO,CAAC;QACnB,UAAU,EAAE,OAAO,CAAC;KACrB,CAAC;IACF,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0EAA0E;IAC1E,IAAI,EAAE,OAAO,CAAC;IACd,yEAAyE;IACzE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wDAAwD;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mDAAmD;IACnD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA+ED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAC/C,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,qEAAqE;IACrE,QAAQ,CAAC,EAAE,mBAAmB,EAAE,CAAC;IACjC,+EAA+E;IAC/E,YAAY,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAClC,kGAAkG;IAClG,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,8CAA8C;IAC9C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,yCAAyC;IACzC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oEAAoE;IACpE,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,cAAc,EACd,YAAoB,EACpB,gBAAgB,EAChB,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,YAAY,EACZ,kBAAkB,GACnB,EAAE,wBAAwB,2CAwzB1B;AAmJD,MAAM,WAAW,uBAAuB;IACtC,YAAY,EAAE,gBAAgB,EAAE,CAAC;IACjC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;IAC7C,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,YAAY,EACZ,KAAK,EACL,QAAQ,EACR,eAAe,EACf,QAAQ,GACT,EAAE,uBAAuB,2CAiNzB"}
|
package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.js
CHANGED
|
@@ -19,6 +19,8 @@ import { AttachmentChip } from '../../common/attachment-chip/index.js';
|
|
|
19
19
|
import { AgentModelPicker } from '../../features/settings/AgentModelPicker/index.js';
|
|
20
20
|
import { Separator } from '../../ui/separator.js';
|
|
21
21
|
import { pickFolder } from '../../common/add-repository-button/pick-folder.js';
|
|
22
|
+
import { ReactFileManagerDialog } from '../../common/react-file-manager-dialog/index.js';
|
|
23
|
+
import { useFeatureFlags } from '../../../hooks/feature-flags-context.js';
|
|
22
24
|
import { addRepository } from '../../../app/actions/add-repository.js';
|
|
23
25
|
import { pickFiles } from './pick-files.js';
|
|
24
26
|
const MAX_FILE_SIZE = 10 * 1024 * 1024; // 10 MB
|
|
@@ -492,7 +494,9 @@ export function RepositoryCombobox({ repositories, value, onChange, onAddReposit
|
|
|
492
494
|
const [query, setQuery] = useState('');
|
|
493
495
|
const [isAdding, setIsAdding] = useState(false);
|
|
494
496
|
const [addError, setAddError] = useState(null);
|
|
497
|
+
const [showReactPicker, setShowReactPicker] = useState(false);
|
|
495
498
|
const inputRef = useRef(null);
|
|
499
|
+
const { reactFileManager: useReactFileManager } = useFeatureFlags();
|
|
496
500
|
const selectedRepo = repositories.find((r) => r.path === value);
|
|
497
501
|
const filtered = query.trim()
|
|
498
502
|
? repositories.filter((r) => r.name.toLowerCase().includes(query.toLowerCase()) ||
|
|
@@ -503,9 +507,32 @@ export function RepositoryCombobox({ repositories, value, onChange, onAddReposit
|
|
|
503
507
|
setOpen(false);
|
|
504
508
|
setQuery('');
|
|
505
509
|
}, [onChange]);
|
|
510
|
+
const addRepoFromPath = useCallback(async (folderPath) => {
|
|
511
|
+
const result = await addRepository({ path: folderPath });
|
|
512
|
+
if (result.error) {
|
|
513
|
+
setAddError(result.error);
|
|
514
|
+
setIsAdding(false);
|
|
515
|
+
return;
|
|
516
|
+
}
|
|
517
|
+
if (result.repository) {
|
|
518
|
+
const newRepo = {
|
|
519
|
+
id: result.repository.id,
|
|
520
|
+
name: result.repository.name,
|
|
521
|
+
path: result.repository.path,
|
|
522
|
+
};
|
|
523
|
+
onAddRepository?.(newRepo);
|
|
524
|
+
onChange(newRepo.path);
|
|
525
|
+
setOpen(false);
|
|
526
|
+
setQuery('');
|
|
527
|
+
}
|
|
528
|
+
}, [onAddRepository, onChange]);
|
|
506
529
|
const handleAddRepository = useCallback(async () => {
|
|
507
530
|
if (isAdding)
|
|
508
531
|
return;
|
|
532
|
+
if (useReactFileManager) {
|
|
533
|
+
setShowReactPicker(true);
|
|
534
|
+
return;
|
|
535
|
+
}
|
|
509
536
|
setIsAdding(true);
|
|
510
537
|
setAddError(null);
|
|
511
538
|
try {
|
|
@@ -514,23 +541,24 @@ export function RepositoryCombobox({ repositories, value, onChange, onAddReposit
|
|
|
514
541
|
setIsAdding(false);
|
|
515
542
|
return;
|
|
516
543
|
}
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
544
|
+
await addRepoFromPath(folderPath);
|
|
545
|
+
}
|
|
546
|
+
catch {
|
|
547
|
+
// Native picker failed — fall back to React file manager
|
|
548
|
+
setShowReactPicker(true);
|
|
549
|
+
}
|
|
550
|
+
finally {
|
|
551
|
+
setIsAdding(false);
|
|
552
|
+
}
|
|
553
|
+
}, [isAdding, useReactFileManager, addRepoFromPath]);
|
|
554
|
+
const handleReactPickerSelect = useCallback(async (path) => {
|
|
555
|
+
setShowReactPicker(false);
|
|
556
|
+
if (!path)
|
|
557
|
+
return;
|
|
558
|
+
setIsAdding(true);
|
|
559
|
+
setAddError(null);
|
|
560
|
+
try {
|
|
561
|
+
await addRepoFromPath(path);
|
|
534
562
|
}
|
|
535
563
|
catch (err) {
|
|
536
564
|
setAddError(err instanceof Error ? err.message : 'Failed to add repository');
|
|
@@ -538,7 +566,7 @@ export function RepositoryCombobox({ repositories, value, onChange, onAddReposit
|
|
|
538
566
|
finally {
|
|
539
567
|
setIsAdding(false);
|
|
540
568
|
}
|
|
541
|
-
}, [
|
|
569
|
+
}, [addRepoFromPath]);
|
|
542
570
|
useEffect(() => {
|
|
543
571
|
if (open) {
|
|
544
572
|
setTimeout(() => inputRef.current?.focus(), 0);
|
|
@@ -547,5 +575,8 @@ export function RepositoryCombobox({ repositories, value, onChange, onAddReposit
|
|
|
547
575
|
setQuery('');
|
|
548
576
|
}
|
|
549
577
|
}, [open]);
|
|
550
|
-
return (_jsxs(Popover, { open: open, onOpenChange: setOpen, children: [_jsx(PopoverTrigger, { asChild: true, children: _jsxs("button", { type: "button", role: "combobox", "aria-expanded": open, "aria-label": "Repository", disabled: disabled, "data-testid": "repository-combobox", className: cn('border-input bg-background ring-offset-background focus:ring-ring flex h-9 w-full items-center justify-between rounded-md border px-3 py-2 text-sm focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:cursor-not-allowed disabled:opacity-50', !selectedRepo && 'text-muted-foreground'), children: [_jsx("span", { className: "truncate", children: selectedRepo ? selectedRepo.name : 'Select repository...' }), _jsx(ChevronsUpDown, { className: "ml-2 h-4 w-4 shrink-0 opacity-50" })] }) }), _jsx(PopoverContent, { className: "w-80 p-0", align: "start", "data-testid": "repository-combobox-content", children: _jsxs("div", { className: "flex flex-col", children: [_jsx("div", { className: "border-b p-2", children: _jsx(Input, { ref: inputRef, placeholder: "Search repositories...", value: query, onChange: (e) => setQuery(e.target.value), className: "h-8 border-0 p-0 text-sm shadow-none focus-visible:ring-0", "data-testid": "repository-search" }) }), _jsx("div", { className: "max-h-48 overflow-y-auto py-1", role: "listbox", "aria-label": "Repositories", children: filtered.length === 0 ? (_jsx("p", { className: "text-muted-foreground px-3 py-2 text-sm", "data-testid": "repository-empty", children: "No repositories found." })) : (filtered.map((r) => (_jsxs("button", { type: "button", role: "option", "aria-selected": value === r.path, onClick: () => handleSelect(r.path), className: cn('hover:bg-accent hover:text-accent-foreground flex w-full items-center gap-2 px-3 py-2 text-sm', value === r.path && 'bg-accent/50'), "data-testid": `repository-option-${r.id}`, children: [_jsx(CheckIcon, { className: cn('h-4 w-4 shrink-0', value !== r.path && 'invisible') }), _jsxs("span", { className: "flex flex-col items-start truncate", children: [_jsx("span", { className: "truncate", children: r.name }), _jsx("span", { className: "text-muted-foreground truncate text-xs", children: r.path })] })] }, r.id)))) }), _jsx(Separator, {}), _jsxs("button", { type: "button", onClick: handleAddRepository, disabled: isAdding, className: "hover:bg-accent hover:text-accent-foreground flex w-full items-center gap-2 px-3 py-2 text-sm", "data-testid": "add-repository-item", children: [isAdding ? (_jsx(Loader2, { className: "h-4 w-4 shrink-0 animate-spin" })) : (_jsx(FolderPlus, { className: "h-4 w-4 shrink-0" })), _jsx("span", { children: "Add new repository..." })] }), addError ? (_jsx("p", { className: "px-3 pb-2 text-xs text-red-500", "data-testid": "add-repository-error", children: addError })) : null] }) })] }))
|
|
578
|
+
return (_jsxs(_Fragment, { children: [_jsxs(Popover, { open: open, onOpenChange: setOpen, children: [_jsx(PopoverTrigger, { asChild: true, children: _jsxs("button", { type: "button", role: "combobox", "aria-expanded": open, "aria-label": "Repository", disabled: disabled, "data-testid": "repository-combobox", className: cn('border-input bg-background ring-offset-background focus:ring-ring flex h-9 w-full items-center justify-between rounded-md border px-3 py-2 text-sm focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:cursor-not-allowed disabled:opacity-50', !selectedRepo && 'text-muted-foreground'), children: [_jsx("span", { className: "truncate", children: selectedRepo ? selectedRepo.name : 'Select repository...' }), _jsx(ChevronsUpDown, { className: "ml-2 h-4 w-4 shrink-0 opacity-50" })] }) }), _jsx(PopoverContent, { className: "w-80 p-0", align: "start", "data-testid": "repository-combobox-content", children: _jsxs("div", { className: "flex flex-col", children: [_jsx("div", { className: "border-b p-2", children: _jsx(Input, { ref: inputRef, placeholder: "Search repositories...", value: query, onChange: (e) => setQuery(e.target.value), className: "h-8 border-0 p-0 text-sm shadow-none focus-visible:ring-0", "data-testid": "repository-search" }) }), _jsx("div", { className: "max-h-48 overflow-y-auto py-1", role: "listbox", "aria-label": "Repositories", children: filtered.length === 0 ? (_jsx("p", { className: "text-muted-foreground px-3 py-2 text-sm", "data-testid": "repository-empty", children: "No repositories found." })) : (filtered.map((r) => (_jsxs("button", { type: "button", role: "option", "aria-selected": value === r.path, onClick: () => handleSelect(r.path), className: cn('hover:bg-accent hover:text-accent-foreground flex w-full items-center gap-2 px-3 py-2 text-sm', value === r.path && 'bg-accent/50'), "data-testid": `repository-option-${r.id}`, children: [_jsx(CheckIcon, { className: cn('h-4 w-4 shrink-0', value !== r.path && 'invisible') }), _jsxs("span", { className: "flex flex-col items-start truncate", children: [_jsx("span", { className: "truncate", children: r.name }), _jsx("span", { className: "text-muted-foreground truncate text-xs", children: r.path })] })] }, r.id)))) }), _jsx(Separator, {}), _jsxs("button", { type: "button", onClick: handleAddRepository, disabled: isAdding, className: "hover:bg-accent hover:text-accent-foreground flex w-full items-center gap-2 px-3 py-2 text-sm", "data-testid": "add-repository-item", children: [isAdding ? (_jsx(Loader2, { className: "h-4 w-4 shrink-0 animate-spin" })) : (_jsx(FolderPlus, { className: "h-4 w-4 shrink-0" })), _jsx("span", { children: "Add new repository..." })] }), addError ? (_jsx("p", { className: "px-3 pb-2 text-xs text-red-500", "data-testid": "add-repository-error", children: addError })) : null] }) })] }), _jsx(ReactFileManagerDialog, { open: showReactPicker, onOpenChange: (isOpen) => {
|
|
579
|
+
if (!isOpen)
|
|
580
|
+
setShowReactPicker(false);
|
|
581
|
+
}, onSelect: handleReactPickerSelect })] }));
|
|
551
582
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { computeDrawerView, type DrawerView } from './control-center-drawer/index.js';
|
|
2
2
|
export { AddRepositoryButton } from './add-repository-button/index.js';
|
|
3
|
+
export { ReactFileManagerDialog, type ReactFileManagerDialogProps, } from './react-file-manager-dialog/index.js';
|
|
3
4
|
export { FloatingActionButton, type FloatingActionButtonProps, type FloatingActionButtonAction, } from './floating-action-button/index.js';
|
|
4
5
|
export { ElapsedTime, formatElapsed } from './elapsed-time/index.js';
|
|
5
6
|
export { EmptyState, type EmptyStateProps } from './empty-state/index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/components/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,KAAK,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EACL,oBAAoB,EACpB,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,GAChC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,GAC1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,iBAAiB,EACjB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AACjF,OAAO,EACL,WAAW,EACX,sBAAsB,EACtB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,sBAAsB,GAC5B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,KAAK,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAC7F,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAC1F,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EACL,cAAc,EACd,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,oBAAoB,GAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,GAC7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,qBAAqB,EAAE,KAAK,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,KAAK,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAChG,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/components/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,KAAK,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EACL,sBAAsB,EACtB,KAAK,2BAA2B,GACjC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,oBAAoB,EACpB,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,GAChC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,GAC1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,iBAAiB,EACjB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AACjF,OAAO,EACL,WAAW,EACX,sBAAsB,EACtB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,sBAAsB,GAC5B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,KAAK,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAC7F,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAC1F,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EACL,cAAc,EACd,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,oBAAoB,GAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,GAC7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,qBAAqB,EAAE,KAAK,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,KAAK,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAChG,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { computeDrawerView } from './control-center-drawer/index.js';
|
|
2
2
|
export { AddRepositoryButton } from './add-repository-button/index.js';
|
|
3
|
+
export { ReactFileManagerDialog, } from './react-file-manager-dialog/index.js';
|
|
3
4
|
export { FloatingActionButton, } from './floating-action-button/index.js';
|
|
4
5
|
export { ElapsedTime, formatElapsed } from './elapsed-time/index.js';
|
|
5
6
|
export { EmptyState } from './empty-state/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/react-file-manager-dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,YAAY,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ReactFileManagerDialog } from './react-file-manager-dialog.js';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface ReactFileManagerDialogProps {
|
|
2
|
+
open: boolean;
|
|
3
|
+
onOpenChange: (open: boolean) => void;
|
|
4
|
+
onSelect: (path: string | null) => void;
|
|
5
|
+
initialPath?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface DirectoryEntry {
|
|
8
|
+
name: string;
|
|
9
|
+
path: string;
|
|
10
|
+
isDirectory: true;
|
|
11
|
+
updatedAt: string;
|
|
12
|
+
}
|
|
13
|
+
export interface DirectoryListResponse {
|
|
14
|
+
entries: DirectoryEntry[];
|
|
15
|
+
currentPath: string;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=react-file-manager-dialog-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-file-manager-dialog-config.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/react-file-manager-dialog/react-file-manager-dialog-config.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACxC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,IAAI,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,cAAc,EAAE,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { ReactFileManagerDialogProps } from './react-file-manager-dialog-config.js';
|
|
2
|
+
export declare function ReactFileManagerDialog({ open, onOpenChange, onSelect, initialPath, }: ReactFileManagerDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=react-file-manager-dialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-file-manager-dialog.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/react-file-manager-dialog/react-file-manager-dialog.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAGV,2BAA2B,EAC5B,MAAM,oCAAoC,CAAC;AA2C5C,wBAAgB,sBAAsB,CAAC,EACrC,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,WAAW,GACZ,EAAE,2BAA2B,2CAgI7B"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useCallback, useEffect, useRef, useState } from 'react';
|
|
4
|
+
import dynamic from 'next/dynamic';
|
|
5
|
+
import { Loader2 } from 'lucide-react';
|
|
6
|
+
import { toast } from 'sonner';
|
|
7
|
+
import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, } from '../../ui/dialog.js';
|
|
8
|
+
import { Button } from '../../ui/button.js';
|
|
9
|
+
const FileManager = dynamic(() => import('@cubone/react-file-manager').then((mod) => mod.FileManager), { ssr: false, loading: () => _jsx(FileManagerSkeleton, {}) });
|
|
10
|
+
function FileManagerSkeleton() {
|
|
11
|
+
return (_jsx("div", { className: "flex h-full w-full items-center justify-center", children: _jsx(Loader2, { className: "text-muted-foreground h-8 w-8 animate-spin" }) }));
|
|
12
|
+
}
|
|
13
|
+
function toFileManagerFiles(entries) {
|
|
14
|
+
// The @cubone/react-file-manager component filters visible files by matching
|
|
15
|
+
// file.path === currentPath + "/" + file.name. Since we dynamically fetch
|
|
16
|
+
// directory contents on each navigation, we present all entries at the
|
|
17
|
+
// FileManager's root level by using path = "/" + name. The real absolute
|
|
18
|
+
// path is preserved in a custom `absolutePath` field for selection/navigation.
|
|
19
|
+
return entries.map((entry) => ({
|
|
20
|
+
name: entry.name,
|
|
21
|
+
isDirectory: true,
|
|
22
|
+
path: `/${entry.name}`,
|
|
23
|
+
absolutePath: entry.path,
|
|
24
|
+
updatedAt: entry.updatedAt,
|
|
25
|
+
}));
|
|
26
|
+
}
|
|
27
|
+
async function fetchDirectory(dirPath) {
|
|
28
|
+
const params = new URLSearchParams();
|
|
29
|
+
if (dirPath) {
|
|
30
|
+
params.set('path', dirPath);
|
|
31
|
+
}
|
|
32
|
+
const res = await fetch(`/api/directory/list?${params.toString()}`);
|
|
33
|
+
if (!res.ok) {
|
|
34
|
+
const body = await res.json().catch(() => ({ error: 'Failed to load directory' }));
|
|
35
|
+
throw new Error(body.error ?? 'Failed to load directory');
|
|
36
|
+
}
|
|
37
|
+
return res.json();
|
|
38
|
+
}
|
|
39
|
+
export function ReactFileManagerDialog({ open, onOpenChange, onSelect, initialPath, }) {
|
|
40
|
+
const [entries, setEntries] = useState([]);
|
|
41
|
+
const [currentPath, setCurrentPath] = useState('');
|
|
42
|
+
const [isLoading, setIsLoading] = useState(false);
|
|
43
|
+
const [selectedPath, setSelectedPath] = useState(null);
|
|
44
|
+
const hasLoadedRef = useRef(false);
|
|
45
|
+
const loadDirectory = useCallback(async (dirPath) => {
|
|
46
|
+
setIsLoading(true);
|
|
47
|
+
setSelectedPath(null);
|
|
48
|
+
try {
|
|
49
|
+
const data = await fetchDirectory(dirPath);
|
|
50
|
+
setEntries(data.entries);
|
|
51
|
+
setCurrentPath(data.currentPath);
|
|
52
|
+
}
|
|
53
|
+
catch (error) {
|
|
54
|
+
const message = error instanceof Error ? error.message : 'Failed to load directory';
|
|
55
|
+
toast.error(message);
|
|
56
|
+
}
|
|
57
|
+
finally {
|
|
58
|
+
setIsLoading(false);
|
|
59
|
+
}
|
|
60
|
+
}, []);
|
|
61
|
+
useEffect(() => {
|
|
62
|
+
if (open && !hasLoadedRef.current) {
|
|
63
|
+
hasLoadedRef.current = true;
|
|
64
|
+
loadDirectory(initialPath);
|
|
65
|
+
}
|
|
66
|
+
if (!open) {
|
|
67
|
+
hasLoadedRef.current = false;
|
|
68
|
+
}
|
|
69
|
+
}, [open, initialPath, loadDirectory]);
|
|
70
|
+
const handleFileOpen = useCallback((file) => {
|
|
71
|
+
// Use absolutePath (real filesystem path) for navigation, not the
|
|
72
|
+
// virtual path used by the FileManager tree.
|
|
73
|
+
const realPath = file.absolutePath;
|
|
74
|
+
if (file.isDirectory && realPath) {
|
|
75
|
+
loadDirectory(realPath);
|
|
76
|
+
}
|
|
77
|
+
}, [loadDirectory]);
|
|
78
|
+
const handleSelectionChange = useCallback((files) => {
|
|
79
|
+
if (files.length === 1 && files[0].isDirectory) {
|
|
80
|
+
const realPath = files[0].absolutePath;
|
|
81
|
+
setSelectedPath(realPath ?? null);
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
setSelectedPath(null);
|
|
85
|
+
}
|
|
86
|
+
}, []);
|
|
87
|
+
function handleSelect() {
|
|
88
|
+
if (selectedPath) {
|
|
89
|
+
onSelect(selectedPath);
|
|
90
|
+
onOpenChange(false);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
function handleSelectCurrentPath() {
|
|
94
|
+
if (currentPath) {
|
|
95
|
+
onSelect(currentPath);
|
|
96
|
+
onOpenChange(false);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
function handleCancel() {
|
|
100
|
+
onSelect(null);
|
|
101
|
+
onOpenChange(false);
|
|
102
|
+
}
|
|
103
|
+
return (_jsx(Dialog, { open: open, onOpenChange: (isOpen) => {
|
|
104
|
+
if (!isOpen) {
|
|
105
|
+
handleCancel();
|
|
106
|
+
}
|
|
107
|
+
}, children: _jsxs(DialogContent, { className: "flex h-[95dvh] max-w-[95vw] flex-col", onCloseAutoFocus: (e) => e.preventDefault(), children: [_jsxs(DialogHeader, { children: [_jsx(DialogTitle, { children: "Select Folder" }), _jsx(DialogDescription, { className: "truncate font-mono text-xs", children: currentPath || 'Loading...' })] }), _jsx("div", { className: "shep-file-manager min-h-0 flex-1 overflow-hidden rounded-md border", children: _jsx(FileManager, { files: toFileManagerFiles(entries), isLoading: isLoading, height: "100%", width: "100%", layout: "list", enableFilePreview: false, permissions: {
|
|
108
|
+
upload: false,
|
|
109
|
+
delete: false,
|
|
110
|
+
create: false,
|
|
111
|
+
download: false,
|
|
112
|
+
copy: false,
|
|
113
|
+
move: false,
|
|
114
|
+
rename: false,
|
|
115
|
+
}, onFileOpen: handleFileOpen, onSelectionChange: handleSelectionChange, onRefresh: () => loadDirectory(currentPath) }, currentPath) }), _jsxs(DialogFooter, { children: [_jsx(Button, { variant: "outline", onClick: handleCancel, children: "Cancel" }), _jsx(Button, { variant: "secondary", onClick: handleSelectCurrentPath, disabled: !currentPath, children: "Select Current Folder" }), _jsx(Button, { onClick: handleSelect, disabled: !selectedPath, children: "Select Folder" })] })] }) }));
|
|
116
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ReactFileManagerDialog } from './react-file-manager-dialog.js';
|
|
3
|
+
declare const meta: Meta<typeof ReactFileManagerDialog>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof ReactFileManagerDialog>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithInitialPath: Story;
|
|
8
|
+
export declare const Closed: Story;
|
|
9
|
+
//# sourceMappingURL=react-file-manager-dialog.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-file-manager-dialog.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/react-file-manager-dialog/react-file-manager-dialog.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,sBAAsB,CAY7C,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAErD,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,eAAe,EAAE,KAI7B,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAIpB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { fn } from '@storybook/test';
|
|
2
|
+
import { ReactFileManagerDialog } from './react-file-manager-dialog.js';
|
|
3
|
+
const meta = {
|
|
4
|
+
title: 'Composed/ReactFileManagerDialog',
|
|
5
|
+
component: ReactFileManagerDialog,
|
|
6
|
+
tags: ['autodocs'],
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: 'centered',
|
|
9
|
+
},
|
|
10
|
+
args: {
|
|
11
|
+
open: true,
|
|
12
|
+
onOpenChange: fn().mockName('onOpenChange'),
|
|
13
|
+
onSelect: fn().mockName('onSelect'),
|
|
14
|
+
},
|
|
15
|
+
};
|
|
16
|
+
export default meta;
|
|
17
|
+
export const Default = {};
|
|
18
|
+
export const WithInitialPath = {
|
|
19
|
+
args: {
|
|
20
|
+
initialPath: '/tmp',
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
export const Closed = {
|
|
24
|
+
args: {
|
|
25
|
+
open: false,
|
|
26
|
+
},
|
|
27
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-center-empty-state.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/control-center/control-center-empty-state.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"control-center-empty-state.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/control-center/control-center-empty-state.tsx"],"names":[],"mappings":"AAsBA,MAAM,WAAW,4BAA4B;IAC3C,kBAAkB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAID,wBAAgB,uBAAuB,CAAC,EACtC,kBAAkB,EAClB,SAAS,GACV,EAAE,4BAA4B,kDAuL9B"}
|
package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.js
CHANGED
|
@@ -4,6 +4,8 @@ import { useState, useCallback, useEffect } from 'react';
|
|
|
4
4
|
import { FolderOpen, Copy, Check, Loader2, CheckCircle2, AlertCircle, Terminal, ChevronDown, } from 'lucide-react';
|
|
5
5
|
import { cn } from '../../../lib/utils.js';
|
|
6
6
|
import { pickFolder } from '../../common/add-repository-button/pick-folder.js';
|
|
7
|
+
import { ReactFileManagerDialog } from '../../common/react-file-manager-dialog/index.js';
|
|
8
|
+
import { useFeatureFlags } from '../../../hooks/feature-flags-context.js';
|
|
7
9
|
import { isAgentSetupComplete } from '../../../app/actions/agent-setup-flag.js';
|
|
8
10
|
import { checkAgentAuth } from '../../../app/actions/check-agent-auth.js';
|
|
9
11
|
import { WelcomeAgentSetup } from './welcome-agent-setup.js';
|
|
@@ -11,9 +13,11 @@ const commands = ['cd ~/my-repo', 'shep feat new "sleek dashboard"'];
|
|
|
11
13
|
export function ControlCenterEmptyState({ onRepositorySelect, className, }) {
|
|
12
14
|
const [copied, setCopied] = useState(false);
|
|
13
15
|
const [loading, setLoading] = useState(false);
|
|
16
|
+
const [showReactPicker, setShowReactPicker] = useState(false);
|
|
14
17
|
const [agentReady, setAgentReady] = useState(null);
|
|
15
18
|
const [authStatus, setAuthStatus] = useState(null);
|
|
16
19
|
const [cliExpanded, setCliExpanded] = useState(false);
|
|
20
|
+
const { reactFileManager: useReactFileManager } = useFeatureFlags();
|
|
17
21
|
useEffect(() => {
|
|
18
22
|
isAgentSetupComplete().then((done) => {
|
|
19
23
|
setAgentReady(done);
|
|
@@ -27,6 +31,10 @@ export function ControlCenterEmptyState({ onRepositorySelect, className, }) {
|
|
|
27
31
|
async function handlePickerClick() {
|
|
28
32
|
if (loading)
|
|
29
33
|
return;
|
|
34
|
+
if (useReactFileManager) {
|
|
35
|
+
setShowReactPicker(true);
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
30
38
|
setLoading(true);
|
|
31
39
|
try {
|
|
32
40
|
const path = await pickFolder();
|
|
@@ -34,10 +42,20 @@ export function ControlCenterEmptyState({ onRepositorySelect, className, }) {
|
|
|
34
42
|
onRepositorySelect?.(path);
|
|
35
43
|
}
|
|
36
44
|
}
|
|
45
|
+
catch {
|
|
46
|
+
// Native picker failed — fall back to React file manager
|
|
47
|
+
setShowReactPicker(true);
|
|
48
|
+
}
|
|
37
49
|
finally {
|
|
38
50
|
setLoading(false);
|
|
39
51
|
}
|
|
40
52
|
}
|
|
53
|
+
function handleReactPickerSelect(path) {
|
|
54
|
+
if (path) {
|
|
55
|
+
onRepositorySelect?.(path);
|
|
56
|
+
}
|
|
57
|
+
setShowReactPicker(false);
|
|
58
|
+
}
|
|
41
59
|
const handleCopy = useCallback(async () => {
|
|
42
60
|
await navigator.clipboard.writeText(commands.join('\n'));
|
|
43
61
|
setCopied(true);
|
|
@@ -60,7 +78,10 @@ export function ControlCenterEmptyState({ onRepositorySelect, className, }) {
|
|
|
60
78
|
animationDelay: '400ms',
|
|
61
79
|
animationDuration: '600ms',
|
|
62
80
|
animationFillMode: 'both',
|
|
63
|
-
}, children: [_jsxs("button", { type: "button", onClick: () => setCliExpanded(!cliExpanded), className: "text-muted-foreground hover:text-foreground flex cursor-pointer items-center gap-1.5 transition-colors duration-200", children: [_jsx(Terminal, { className: "h-3.5 w-3.5" }), _jsx("span", { className: "text-sm", children: "or use the CLI" }), _jsx(ChevronDown, { className: cn('h-3.5 w-3.5 transition-transform duration-200', cliExpanded ? '' : 'rotate-180') })] }), cliExpanded ? (_jsx("div", { className: "animate-in fade-in slide-in-from-top-1 mt-3 w-80 duration-200", children: _jsxs("div", { "data-testid": "cli-code-block", className: "relative rounded-xl bg-zinc-900 px-5 py-4 font-mono text-[13px] leading-relaxed text-zinc-400", children: [_jsx("button", { type: "button", "data-testid": "cli-code-block-copy", onClick: handleCopy, className: "absolute top-3 right-3 cursor-pointer rounded-md p-1.5 text-zinc-600 transition-colors hover:bg-zinc-800 hover:text-zinc-300", "aria-label": "Copy commands", children: copied ? (_jsx(Check, { className: "h-3.5 w-3.5 text-emerald-400" })) : (_jsx(Copy, { className: "h-3.5 w-3.5" })) }), _jsx("div", { className: "space-y-1", children: commands.map((cmd) => (_jsxs("div", { className: "whitespace-nowrap", children: [_jsx("span", { className: "text-zinc-600 select-none", children: "$ " }), _jsx("span", { className: "text-zinc-300", children: cmd })] }, cmd))) })] }) })) : null] })) : null
|
|
81
|
+
}, children: [_jsxs("button", { type: "button", onClick: () => setCliExpanded(!cliExpanded), className: "text-muted-foreground hover:text-foreground flex cursor-pointer items-center gap-1.5 transition-colors duration-200", children: [_jsx(Terminal, { className: "h-3.5 w-3.5" }), _jsx("span", { className: "text-sm", children: "or use the CLI" }), _jsx(ChevronDown, { className: cn('h-3.5 w-3.5 transition-transform duration-200', cliExpanded ? '' : 'rotate-180') })] }), cliExpanded ? (_jsx("div", { className: "animate-in fade-in slide-in-from-top-1 mt-3 w-80 duration-200", children: _jsxs("div", { "data-testid": "cli-code-block", className: "relative rounded-xl bg-zinc-900 px-5 py-4 font-mono text-[13px] leading-relaxed text-zinc-400", children: [_jsx("button", { type: "button", "data-testid": "cli-code-block-copy", onClick: handleCopy, className: "absolute top-3 right-3 cursor-pointer rounded-md p-1.5 text-zinc-600 transition-colors hover:bg-zinc-800 hover:text-zinc-300", "aria-label": "Copy commands", children: copied ? (_jsx(Check, { className: "h-3.5 w-3.5 text-emerald-400" })) : (_jsx(Copy, { className: "h-3.5 w-3.5" })) }), _jsx("div", { className: "space-y-1", children: commands.map((cmd) => (_jsxs("div", { className: "whitespace-nowrap", children: [_jsx("span", { className: "text-zinc-600 select-none", children: "$ " }), _jsx("span", { className: "text-zinc-300", children: cmd })] }, cmd))) })] }) })) : null] })) : null, _jsx(ReactFileManagerDialog, { open: showReactPicker, onOpenChange: (open) => {
|
|
82
|
+
if (!open)
|
|
83
|
+
setShowReactPicker(false);
|
|
84
|
+
}, onSelect: handleReactPickerSelect })] }));
|
|
64
85
|
}
|
|
65
86
|
/** Inline status pill — minimal, no background box */
|
|
66
87
|
function AgentAuthBanner({ status, onRetry, }) {
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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;AA8BzE,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
CHANGED
|
@@ -13,6 +13,7 @@ const FLAG_DESCRIPTIONS = {
|
|
|
13
13
|
debug: 'Enable debug UI elements and verbose client-side logging',
|
|
14
14
|
githubImport: 'Enable GitHub repository import in the web UI',
|
|
15
15
|
adoptBranch: 'Enable the ability to adopt existing branches as tracked features',
|
|
16
|
+
reactFileManager: 'Use the built-in React file manager instead of the native OS folder picker. Also serves as automatic fallback when the native picker is unavailable.',
|
|
16
17
|
};
|
|
17
18
|
const FLAG_LABELS = {
|
|
18
19
|
skills: 'Skills',
|
|
@@ -20,6 +21,7 @@ const FLAG_LABELS = {
|
|
|
20
21
|
debug: 'Debug',
|
|
21
22
|
githubImport: 'GitHub Import',
|
|
22
23
|
adoptBranch: 'Adopt Branch',
|
|
24
|
+
reactFileManager: 'React File Manager',
|
|
23
25
|
};
|
|
24
26
|
const FLAG_KEYS = [
|
|
25
27
|
'skills',
|
|
@@ -27,6 +29,7 @@ const FLAG_KEYS = [
|
|
|
27
29
|
'debug',
|
|
28
30
|
'githubImport',
|
|
29
31
|
'adoptBranch',
|
|
32
|
+
'reactFileManager',
|
|
30
33
|
];
|
|
31
34
|
export function FeatureFlagsSettingsSection({ featureFlags }) {
|
|
32
35
|
const [flags, setFlags] = useState({ ...featureFlags });
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,KAWrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAWxB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAWzB,CAAC"}
|
|
@@ -16,6 +16,7 @@ export const Default = {
|
|
|
16
16
|
debug: false,
|
|
17
17
|
githubImport: false,
|
|
18
18
|
adoptBranch: false,
|
|
19
|
+
reactFileManager: false,
|
|
19
20
|
},
|
|
20
21
|
},
|
|
21
22
|
};
|
|
@@ -27,6 +28,7 @@ export const AllEnabled = {
|
|
|
27
28
|
debug: true,
|
|
28
29
|
githubImport: true,
|
|
29
30
|
adoptBranch: true,
|
|
31
|
+
reactFileManager: true,
|
|
30
32
|
},
|
|
31
33
|
},
|
|
32
34
|
};
|
|
@@ -38,6 +40,7 @@ export const AllDisabled = {
|
|
|
38
40
|
debug: false,
|
|
39
41
|
githubImport: false,
|
|
40
42
|
adoptBranch: false,
|
|
43
|
+
reactFileManager: false,
|
|
41
44
|
},
|
|
42
45
|
},
|
|
43
46
|
};
|
package/dist/src/presentation/web/components/features/settings/settings-page-client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-page-client.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/settings-page-client.tsx"],"names":[],"mappings":"AAkCA,OAAO,KAAK,EACV,QAAQ,EAGT,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AA2B/E,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC1C;AA6QD,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,kBAAkB,GACnB,EAAE,uBAAuB,
|
|
1
|
+
{"version":3,"file":"settings-page-client.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/settings-page-client.tsx"],"names":[],"mappings":"AAkCA,OAAO,KAAK,EACV,QAAQ,EAGT,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AA2B/E,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC1C;AA6QD,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,kBAAkB,GACnB,EAAE,uBAAuB,2CAkoCzB"}
|
|
@@ -121,6 +121,7 @@ export function SettingsPageClient({ settings, shepHome, dbFileSize, availableTe
|
|
|
121
121
|
debug: false,
|
|
122
122
|
githubImport: false,
|
|
123
123
|
adoptBranch: false,
|
|
124
|
+
reactFileManager: false,
|
|
124
125
|
};
|
|
125
126
|
// Agent state
|
|
126
127
|
const [agentType, setAgentType] = useState(settings.agent.type);
|
|
@@ -491,6 +492,10 @@ export function SettingsPageClient({ settings, shepHome, dbFileSize, availableTe
|
|
|
491
492
|
const newFlags = { ...flags, adoptBranch: v };
|
|
492
493
|
setFlags(newFlags);
|
|
493
494
|
save({ featureFlags: newFlags });
|
|
495
|
+
} }), _jsx(SwitchRow, { label: "React File Manager", description: "Use the built-in React file manager instead of the native OS folder picker", id: "flag-reactFileManager", testId: "switch-flag-reactFileManager", checked: flags.reactFileManager, onChange: (v) => {
|
|
496
|
+
const newFlags = { ...flags, reactFileManager: v };
|
|
497
|
+
setFlags(newFlags);
|
|
498
|
+
save({ featureFlags: newFlags });
|
|
494
499
|
} })] }), _jsx(SectionHint, { children: "Experimental features that are still under development. Enable at your own risk \u2014 they may change or be removed in future versions. Debug mode adds verbose logging useful for troubleshooting." })] }), _jsxs("div", { id: "section-database", className: "grid scroll-mt-18 grid-cols-1 gap-x-5 rounded-lg lg:grid-cols-[1fr_280px]", children: [_jsxs(SettingsSection, { icon: Database, title: "Database", description: "Local storage information", testId: "database-settings-section", children: [_jsx(SettingsRow, { label: "Location", description: "Path to the local SQLite database", children: _jsx("span", { className: "text-muted-foreground max-w-50 truncate font-mono text-xs", "data-testid": "shep-home-path", children: shepHome }) }), _jsx(SettingsRow, { label: "Size", children: _jsx("span", { className: "text-muted-foreground text-xs", "data-testid": "db-file-size", children: dbFileSize }) })] }), _jsx(SectionHint, { links: [
|
|
495
500
|
{
|
|
496
501
|
label: 'Settings service',
|
package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-page-client.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/settings-page-client.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAM5D,QAAA,MAAM,IAAI;;;;;;;CAOiC,CAAC;AAE5C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"settings-page-client.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/settings-page-client.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAM5D,QAAA,MAAM,IAAI;;;;;;;CAOiC,CAAC;AAE5C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAoBzB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAa7B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAsB5B,CAAC"}
|