@shepai/cli 1.129.4-pr396.5d604d5 → 1.129.4-pr412.cbe0d37
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 +3 -3
- package/dist/packages/core/src/application/ports/output/services/git-pr-service.interface.d.ts +5 -73
- package/dist/packages/core/src/application/ports/output/services/git-pr-service.interface.d.ts.map +1 -1
- package/dist/packages/core/src/application/ports/output/services/git-pr-service.interface.js +4 -6
- package/dist/packages/core/src/domain/factories/settings-defaults.factory.js +1 -1
- package/dist/packages/core/src/domain/generated/output.d.ts +2 -2
- 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 -15
- 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 -1
- 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 -2
- 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 +5 -3
- package/dist/packages/core/src/infrastructure/services/git/git-pr.service.d.ts +0 -6
- package/dist/packages/core/src/infrastructure/services/git/git-pr.service.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/git/git-pr.service.js +0 -134
- package/dist/src/presentation/web/app/(dashboard)/get-graph-data.d.ts.map +1 -1
- package/dist/src/presentation/web/app/(dashboard)/get-graph-data.js +12 -5
- 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/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 +4 -4
- 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/feature-drawer/use-feature-actions.d.ts +0 -4
- package/dist/src/presentation/web/components/common/feature-drawer/use-feature-actions.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-drawer/use-feature-actions.js +1 -32
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.d.ts +1 -4
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.js +2 -2
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/overview-tab.d.ts +1 -4
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/overview-tab.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/overview-tab.js +3 -8
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/overview-tab.stories.d.ts +0 -6
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/overview-tab.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/overview-tab.stories.js +0 -30
- 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/open-action-menu/open-action-menu.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/open-action-menu/open-action-menu.stories.js +0 -3
- 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/common/repository-node/repository-drawer.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/repository-node/repository-drawer.js +3 -5
- package/dist/src/presentation/web/components/common/repository-node/repository-node.js +1 -1
- package/dist/src/presentation/web/components/common/repository-node/use-repository-actions.d.ts +0 -4
- package/dist/src/presentation/web/components/common/repository-node/use-repository-actions.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/repository-node/use-repository-actions.js +0 -11
- 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 -3
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.js +3 -3
- package/dist/src/presentation/web/components/features/settings/settings-page-client.js +3 -3
- package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.js +1 -1
- 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.js +1 -1
- package/dist/src/presentation/web/hooks/feature-flags-context.js +1 -1
- package/dist/src/presentation/web/lib/feature-flags.d.ts +2 -2
- package/dist/src/presentation/web/lib/feature-flags.d.ts.map +1 -1
- package/dist/src/presentation/web/lib/feature-flags.js +4 -4
- 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 +1 -1
- package/web/.next/required-server-files.json +1 -1
- package/web/.next/routes-manifest.json +6 -0
- package/web/.next/server/app/(dashboard)/@drawer/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 +48 -63
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js +3 -3
- 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 +48 -63
- package/web/.next/server/app/(dashboard)/@drawer/create/page.js +3 -3
- 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 +60 -90
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js +3 -3
- 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 +60 -90
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js +3 -3
- 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 +44 -59
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js +3 -3
- 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 +48 -63
- package/web/.next/server/app/(dashboard)/create/page.js +3 -3
- 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 +60 -90
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js +3 -3
- 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 +60 -90
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js +3 -3
- 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 +44 -59
- package/web/.next/server/app/(dashboard)/page.js +3 -3
- 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 +44 -59
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js +3 -3
- 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/403f9_next_dist_esm_build_templates_app-route_370c43b1.js +1 -1
- package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js.map +1 -1
- package/web/.next/server/chunks/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 +3 -0
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_4e741df2.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_026fdffa.js +3 -0
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_026fdffa.js.map +1 -0
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_8b91e197.js +3 -0
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_8b91e197.js.map +1 -0
- 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 +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__755cfe02._.js.map +1 -0
- 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 +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__99ab2519._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a628fb91._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a628fb91._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__bfba58e6._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__bfba58e6._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c3ab8422._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c3ab8422._.js.map +1 -0
- 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/_01046927._.js +2 -2
- 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/{_b09cd608._.js → _56c5e92e._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_b09cd608._.js.map → _56c5e92e._.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/_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/{_6f295a50._.js → _b032a7ac._.js} +2 -2
- package/web/.next/server/chunks/ssr/_b032a7ac._.js.map +1 -0
- 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/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_0a31df6d._.js +3 -0
- package/web/.next/server/chunks/ssr/{src_presentation_web_a751c99b._.js.map → src_presentation_web_0a31df6d._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_8e7fe0d1._.js +5 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_8e7fe0d1._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_ca051134.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_ca051134.js.map +1 -0
- 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 +5 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_b9023017._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.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 +296 -410
- package/web/.next/static/chunks/{fb3e66702c475c87.js → 0b7fe2ac4f078f54.js} +1 -1
- package/web/.next/static/chunks/0ea15b83aeca7b1a.css +1 -0
- package/web/.next/static/chunks/{1469da8ddd6eea90.js → 10b5069084213d7b.js} +1 -1
- package/web/.next/static/chunks/{4aeed32883643436.js → 467005fc66090d82.js} +1 -1
- package/web/.next/static/chunks/4cec255f2754e5ec.js +1 -0
- package/web/.next/static/chunks/{a495659415f138d6.js → 56986cf0d5665b33.js} +1 -1
- package/web/.next/static/chunks/{997a568d8ad04a23.js → 5d102c2368573ad4.js} +1 -1
- package/web/.next/static/chunks/{b9e557204db8d0b3.js → 5e0f0eb56caca7b0.js} +1 -1
- package/web/.next/static/chunks/6d7b999c99d6d175.js +9 -0
- package/web/.next/static/chunks/{f1801a777780b4e9.js → 768922d1350524f7.js} +1 -1
- package/web/.next/static/chunks/791fa3135b12cc5c.js +1 -0
- package/web/.next/static/chunks/7d78b55397522ad9.js +1 -0
- package/web/.next/static/chunks/8180973e9cd6a99e.css +1 -0
- package/web/.next/static/chunks/83fc7ea32e18c9a5.js +1 -0
- package/web/.next/static/chunks/{a063447a4428f722.js → a449ec16975164ef.js} +1 -1
- package/web/.next/static/chunks/c7e793951b20a67f.js +1 -0
- package/web/.next/static/chunks/{e5c346dccbba2214.js → c8ae9f83f18eec9e.js} +1 -1
- package/web/.next/static/chunks/{df75002e2d1c7531.js → d67b9a7e0395aadc.js} +2 -2
- package/web/.next/static/chunks/eb9841ec4d80af01.js +1 -0
- package/web/.next/static/chunks/{1642a69a3baf7820.js → fc31060238e90093.js} +2 -2
- package/web/.next/static/chunks/{turbopack-080e470ea902d0ba.js → turbopack-c2d183e05f30c7dc.js} +1 -1
- package/dist/packages/core/src/application/use-cases/features/rebase-feature-on-main.use-case.d.ts +0 -28
- package/dist/packages/core/src/application/use-cases/features/rebase-feature-on-main.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/features/rebase-feature-on-main.use-case.js +0 -81
- package/dist/packages/core/src/application/use-cases/repositories/sync-repository-main.use-case.d.ts +0 -16
- package/dist/packages/core/src/application/use-cases/repositories/sync-repository-main.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/repositories/sync-repository-main.use-case.js +0 -43
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/042-add-feature-flag-git-rebase-sync.d.ts +0 -11
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/042-add-feature-flag-git-rebase-sync.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/042-add-feature-flag-git-rebase-sync.js +0 -17
- package/dist/packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.prompt.d.ts +0 -35
- package/dist/packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.prompt.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.prompt.js +0 -66
- package/dist/packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.service.d.ts +0 -42
- package/dist/packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.service.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.service.js +0 -169
- package/dist/src/presentation/web/app/actions/rebase-feature.d.ts +0 -5
- package/dist/src/presentation/web/app/actions/rebase-feature.d.ts.map +0 -1
- package/dist/src/presentation/web/app/actions/rebase-feature.js +0 -16
- package/dist/src/presentation/web/app/actions/sync-repository.d.ts +0 -5
- package/dist/src/presentation/web/app/actions/sync-repository.d.ts.map +0 -1
- package/dist/src/presentation/web/app/actions/sync-repository.js +0 -16
- 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]__39ecb785._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__39ecb785._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__465c0deb._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__465c0deb._.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]__8b6d1e18._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__8b6d1e18._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__8f6c27af._.js +0 -6
- package/web/.next/server/chunks/ssr/[root-of-the-server]__8f6c27af._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__910e9de5._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__910e9de5._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a04af228._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a04af228._.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/[root-of-the-server]__a32728d0._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a32728d0._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__d6ab9c36._.js +0 -6
- package/web/.next/server/chunks/ssr/[root-of-the-server]__d6ab9c36._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__f2eb7d62._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__f2eb7d62._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__f3036814._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__f3036814._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_6f295a50._.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_a751c99b._.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_baaca5d5._.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_baaca5d5._.js.map +0 -1
- package/web/.next/static/chunks/31ddce9ebee38ab1.css +0 -1
- package/web/.next/static/chunks/74fde105df75b977.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/bfda4e4194a4a633.js +0 -1
- package/web/.next/static/chunks/f259386f4875e70c.js +0 -1
- package/web/.next/static/chunks/febbfdc31eef505b.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/{9XEfk6BBAe6EEGca_Yisr → jD-F2qPl8fvHfH8oc0hVX}/_buildManifest.js +0 -0
- /package/web/.next/static/{9XEfk6BBAe6EEGca_Yisr → jD-F2qPl8fvHfH8oc0hVX}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{9XEfk6BBAe6EEGca_Yisr → jD-F2qPl8fvHfH8oc0hVX}/_ssgManifest.js +0 -0
package/dist/src/presentation/web/components/common/repository-node/use-repository-actions.js
CHANGED
|
@@ -3,27 +3,22 @@ import { useState, useCallback, useRef, useEffect } from 'react';
|
|
|
3
3
|
import { openIde } from '../../../app/actions/open-ide.js';
|
|
4
4
|
import { openShell } from '../../../app/actions/open-shell.js';
|
|
5
5
|
import { openFolder } from '../../../app/actions/open-folder.js';
|
|
6
|
-
import { syncRepository } from '../../../app/actions/sync-repository.js';
|
|
7
6
|
const ERROR_CLEAR_DELAY = 5000;
|
|
8
7
|
export function useRepositoryActions(input) {
|
|
9
8
|
const [ideLoading, setIdeLoading] = useState(false);
|
|
10
9
|
const [shellLoading, setShellLoading] = useState(false);
|
|
11
10
|
const [folderLoading, setFolderLoading] = useState(false);
|
|
12
|
-
const [syncLoading, setSyncLoading] = useState(false);
|
|
13
11
|
const [ideError, setIdeError] = useState(null);
|
|
14
12
|
const [shellError, setShellError] = useState(null);
|
|
15
13
|
const [folderError, setFolderError] = useState(null);
|
|
16
|
-
const [syncError, setSyncError] = useState(null);
|
|
17
14
|
const ideTimerRef = useRef(null);
|
|
18
15
|
const shellTimerRef = useRef(null);
|
|
19
16
|
const folderTimerRef = useRef(null);
|
|
20
|
-
const syncTimerRef = useRef(null);
|
|
21
17
|
// Clear timers on unmount
|
|
22
18
|
useEffect(() => {
|
|
23
19
|
const ideRef = ideTimerRef;
|
|
24
20
|
const shellRef = shellTimerRef;
|
|
25
21
|
const folderRef = folderTimerRef;
|
|
26
|
-
const syncRef = syncTimerRef;
|
|
27
22
|
return () => {
|
|
28
23
|
if (ideRef.current)
|
|
29
24
|
clearTimeout(ideRef.current);
|
|
@@ -31,8 +26,6 @@ export function useRepositoryActions(input) {
|
|
|
31
26
|
clearTimeout(shellRef.current);
|
|
32
27
|
if (folderRef.current)
|
|
33
28
|
clearTimeout(folderRef.current);
|
|
34
|
-
if (syncRef.current)
|
|
35
|
-
clearTimeout(syncRef.current);
|
|
36
29
|
};
|
|
37
30
|
}, []);
|
|
38
31
|
const performAction = useCallback(async (action, setLoading, setError, timerRef, isLoading) => {
|
|
@@ -62,19 +55,15 @@ export function useRepositoryActions(input) {
|
|
|
62
55
|
const handleOpenIde = useCallback(() => performAction(() => openIde({ repositoryPath: input.repositoryPath }), setIdeLoading, setIdeError, ideTimerRef, ideLoading), [performAction, ideLoading, input]);
|
|
63
56
|
const handleOpenShell = useCallback(() => performAction(() => openShell({ repositoryPath: input.repositoryPath }), setShellLoading, setShellError, shellTimerRef, shellLoading), [performAction, shellLoading, input]);
|
|
64
57
|
const handleOpenFolder = useCallback(() => performAction(() => openFolder(input.repositoryPath), setFolderLoading, setFolderError, folderTimerRef, folderLoading), [performAction, folderLoading, input]);
|
|
65
|
-
const handleSyncMain = useCallback(() => performAction(() => syncRepository(input.repositoryId ?? ''), setSyncLoading, setSyncError, syncTimerRef, syncLoading), [performAction, syncLoading, input]);
|
|
66
58
|
return {
|
|
67
59
|
openInIde: handleOpenIde,
|
|
68
60
|
openInShell: handleOpenShell,
|
|
69
61
|
openFolder: handleOpenFolder,
|
|
70
|
-
syncMain: handleSyncMain,
|
|
71
62
|
ideLoading,
|
|
72
63
|
shellLoading,
|
|
73
64
|
folderLoading,
|
|
74
|
-
syncLoading,
|
|
75
65
|
ideError,
|
|
76
66
|
shellError,
|
|
77
67
|
folderError,
|
|
78
|
-
syncError,
|
|
79
68
|
};
|
|
80
69
|
}
|
|
@@ -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,7 +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
|
-
|
|
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.',
|
|
17
17
|
};
|
|
18
18
|
const FLAG_LABELS = {
|
|
19
19
|
skills: 'Skills',
|
|
@@ -21,7 +21,7 @@ const FLAG_LABELS = {
|
|
|
21
21
|
debug: 'Debug',
|
|
22
22
|
githubImport: 'GitHub Import',
|
|
23
23
|
adoptBranch: 'Adopt Branch',
|
|
24
|
-
|
|
24
|
+
reactFileManager: 'React File Manager',
|
|
25
25
|
};
|
|
26
26
|
const FLAG_KEYS = [
|
|
27
27
|
'skills',
|
|
@@ -29,7 +29,7 @@ const FLAG_KEYS = [
|
|
|
29
29
|
'debug',
|
|
30
30
|
'githubImport',
|
|
31
31
|
'adoptBranch',
|
|
32
|
-
'
|
|
32
|
+
'reactFileManager',
|
|
33
33
|
];
|
|
34
34
|
export function FeatureFlagsSettingsSection({ featureFlags }) {
|
|
35
35
|
const [flags, setFlags] = useState({ ...featureFlags });
|
|
@@ -16,7 +16,7 @@ export const Default = {
|
|
|
16
16
|
debug: false,
|
|
17
17
|
githubImport: false,
|
|
18
18
|
adoptBranch: false,
|
|
19
|
-
|
|
19
|
+
reactFileManager: false,
|
|
20
20
|
},
|
|
21
21
|
},
|
|
22
22
|
};
|
|
@@ -28,7 +28,7 @@ export const AllEnabled = {
|
|
|
28
28
|
debug: true,
|
|
29
29
|
githubImport: true,
|
|
30
30
|
adoptBranch: true,
|
|
31
|
-
|
|
31
|
+
reactFileManager: true,
|
|
32
32
|
},
|
|
33
33
|
},
|
|
34
34
|
};
|
|
@@ -40,7 +40,7 @@ export const AllDisabled = {
|
|
|
40
40
|
debug: false,
|
|
41
41
|
githubImport: false,
|
|
42
42
|
adoptBranch: false,
|
|
43
|
-
|
|
43
|
+
reactFileManager: false,
|
|
44
44
|
},
|
|
45
45
|
},
|
|
46
46
|
};
|
|
@@ -121,7 +121,7 @@ export function SettingsPageClient({ settings, shepHome, dbFileSize, availableTe
|
|
|
121
121
|
debug: false,
|
|
122
122
|
githubImport: false,
|
|
123
123
|
adoptBranch: false,
|
|
124
|
-
|
|
124
|
+
reactFileManager: false,
|
|
125
125
|
};
|
|
126
126
|
// Agent state
|
|
127
127
|
const [agentType, setAgentType] = useState(settings.agent.type);
|
|
@@ -492,8 +492,8 @@ export function SettingsPageClient({ settings, shepHome, dbFileSize, availableTe
|
|
|
492
492
|
const newFlags = { ...flags, adoptBranch: v };
|
|
493
493
|
setFlags(newFlags);
|
|
494
494
|
save({ featureFlags: newFlags });
|
|
495
|
-
} }), _jsx(SwitchRow, { label: "
|
|
496
|
-
const newFlags = { ...flags,
|
|
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
497
|
setFlags(newFlags);
|
|
498
498
|
save({ featureFlags: newFlags });
|
|
499
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: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-shell.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/layouts/app-shell/app-shell.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAkC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"app-shell.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/layouts/app-shell/app-shell.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAkC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAwBvE,UAAU,aAAa;IACrB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAsKD,wBAAgB,QAAQ,CAAC,EAAE,QAAQ,EAAE,EAAE,aAAa,2CAUnD"}
|
|
@@ -8,6 +8,7 @@ import { AppSidebar } from '../../layouts/app-sidebar/index.js';
|
|
|
8
8
|
import { FloatingActionButton, } from '../../common/floating-action-button/index.js';
|
|
9
9
|
import { ThemeToggle } from '../../common/theme-toggle/index.js';
|
|
10
10
|
import { SoundToggle } from '../../common/sound-toggle/index.js';
|
|
11
|
+
import { ReactFileManagerDialog } from '../../common/react-file-manager-dialog/index.js';
|
|
11
12
|
import { pickFolder } from '../../common/add-repository-button/pick-folder.js';
|
|
12
13
|
import { GitHubImportDialog } from '../../common/github-import-dialog/index.js';
|
|
13
14
|
import { AgentEventsProvider } from '../../../hooks/agent-events-provider.js';
|
|
@@ -39,9 +40,14 @@ function AppShellInner({ children }) {
|
|
|
39
40
|
}, [router, guardedNavigate]);
|
|
40
41
|
const [addingRepo, setAddingRepo] = useState(false);
|
|
41
42
|
const [githubDialogOpen, setGithubDialogOpen] = useState(false);
|
|
43
|
+
const [showReactPicker, setShowReactPicker] = useState(false);
|
|
42
44
|
const handleAddRepository = useCallback(async () => {
|
|
43
45
|
if (addingRepo)
|
|
44
46
|
return;
|
|
47
|
+
if (featureFlags.reactFileManager) {
|
|
48
|
+
setShowReactPicker(true);
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
45
51
|
setAddingRepo(true);
|
|
46
52
|
try {
|
|
47
53
|
const path = await pickFolder();
|
|
@@ -49,10 +55,20 @@ function AppShellInner({ children }) {
|
|
|
49
55
|
window.dispatchEvent(new CustomEvent('shep:add-repository', { detail: { path } }));
|
|
50
56
|
}
|
|
51
57
|
}
|
|
58
|
+
catch {
|
|
59
|
+
// Native picker failed — fall back to React file manager
|
|
60
|
+
setShowReactPicker(true);
|
|
61
|
+
}
|
|
52
62
|
finally {
|
|
53
63
|
setAddingRepo(false);
|
|
54
64
|
}
|
|
55
|
-
}, [addingRepo]);
|
|
65
|
+
}, [addingRepo, featureFlags.reactFileManager]);
|
|
66
|
+
const handleReactPickerSelect = useCallback((path) => {
|
|
67
|
+
if (path) {
|
|
68
|
+
window.dispatchEvent(new CustomEvent('shep:add-repository', { detail: { path } }));
|
|
69
|
+
}
|
|
70
|
+
setShowReactPicker(false);
|
|
71
|
+
}, []);
|
|
56
72
|
const handleImportFromGitHub = useCallback(() => {
|
|
57
73
|
setGithubDialogOpen(true);
|
|
58
74
|
}, []);
|
|
@@ -105,7 +121,10 @@ function AppShellInner({ children }) {
|
|
|
105
121
|
featureFlags.githubImport,
|
|
106
122
|
featureFlags.adoptBranch,
|
|
107
123
|
]);
|
|
108
|
-
return (_jsxs(SidebarProvider, { defaultOpen: false, children: [_jsx(AppSidebar, { features: features, featureFlags: featureFlags, onFeatureClick: handleFeatureClick }), _jsx(SidebarInset, { children: _jsxs("div", { className: "relative h-full", children: [_jsxs("div", { className: "absolute top-3 right-3 z-50 flex gap-1", "data-test-id": "canvas-actions-toolbar", children: [_jsx(SoundToggle, {}), _jsx(ThemeToggle, {})] }), _jsx("main", { className: "h-full", children: children }), isControlCenterRoute(pathname) && hasRepositories ? (_jsx(FloatingActionButton, { actions: fabActions })) : null, featureFlags.githubImport ? (_jsx(GitHubImportDialog, { open: githubDialogOpen, onOpenChange: setGithubDialogOpen, onImportComplete: handleGitHubImportComplete })) : null] }) })
|
|
124
|
+
return (_jsxs(SidebarProvider, { defaultOpen: false, children: [_jsx(AppSidebar, { features: features, featureFlags: featureFlags, onFeatureClick: handleFeatureClick }), _jsx(SidebarInset, { children: _jsxs("div", { className: "relative h-full", children: [_jsxs("div", { className: "absolute top-3 right-3 z-50 flex gap-1", "data-test-id": "canvas-actions-toolbar", children: [_jsx(SoundToggle, {}), _jsx(ThemeToggle, {})] }), _jsx("main", { className: "h-full", children: children }), isControlCenterRoute(pathname) && hasRepositories ? (_jsx(FloatingActionButton, { actions: fabActions })) : null, featureFlags.githubImport ? (_jsx(GitHubImportDialog, { open: githubDialogOpen, onOpenChange: setGithubDialogOpen, onImportComplete: handleGitHubImportComplete })) : null] }) }), _jsx(ReactFileManagerDialog, { open: showReactPicker, onOpenChange: (open) => {
|
|
125
|
+
if (!open)
|
|
126
|
+
setShowReactPicker(false);
|
|
127
|
+
}, onSelect: handleReactPickerSelect })] }));
|
|
109
128
|
}
|
|
110
129
|
export function AppShell({ children }) {
|
|
111
130
|
return (_jsx(AgentEventsProvider, { children: _jsx(DrawerCloseGuardProvider, { children: _jsx(SidebarFeaturesProvider, { children: _jsx(AppShellInner, { children: children }) }) }) }));
|
|
@@ -11,7 +11,7 @@ export interface FeatureFlagsState {
|
|
|
11
11
|
debug: boolean;
|
|
12
12
|
githubImport: boolean;
|
|
13
13
|
adoptBranch: boolean;
|
|
14
|
-
|
|
14
|
+
reactFileManager: boolean;
|
|
15
15
|
}
|
|
16
16
|
export declare function getFeatureFlags(): FeatureFlagsState;
|
|
17
17
|
/**
|
|
@@ -24,6 +24,6 @@ export declare const featureFlags: {
|
|
|
24
24
|
readonly debug: boolean;
|
|
25
25
|
readonly githubImport: boolean;
|
|
26
26
|
readonly adoptBranch: boolean;
|
|
27
|
-
readonly
|
|
27
|
+
readonly reactFileManager: boolean;
|
|
28
28
|
};
|
|
29
29
|
//# sourceMappingURL=feature-flags.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-flags.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/web/lib/feature-flags.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,OAAO,CAAC;IACf,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,
|
|
1
|
+
{"version":3,"file":"feature-flags.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/web/lib/feature-flags.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,OAAO,CAAC;IACf,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,EAAE,OAAO,CAAC;CAC3B;AAED,wBAAgB,eAAe,IAAI,iBAAiB,CA8BnD;AAED;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;;;CAmBf,CAAC"}
|
|
@@ -20,7 +20,7 @@ export function getFeatureFlags() {
|
|
|
20
20
|
debug: flags.debug,
|
|
21
21
|
githubImport: flags.githubImport,
|
|
22
22
|
adoptBranch: flags.adoptBranch,
|
|
23
|
-
|
|
23
|
+
reactFileManager: flags.reactFileManager,
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -36,7 +36,7 @@ export function getFeatureFlags() {
|
|
|
36
36
|
debug: false,
|
|
37
37
|
githubImport: false,
|
|
38
38
|
adoptBranch: false,
|
|
39
|
-
|
|
39
|
+
reactFileManager: isEnabled(process.env.NEXT_PUBLIC_FLAG_REACT_FILE_MANAGER),
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
@@ -59,7 +59,7 @@ export const featureFlags = {
|
|
|
59
59
|
get adoptBranch() {
|
|
60
60
|
return getFeatureFlags().adoptBranch;
|
|
61
61
|
},
|
|
62
|
-
get
|
|
63
|
-
return getFeatureFlags().
|
|
62
|
+
get reactFileManager() {
|
|
63
|
+
return getFeatureFlags().reactFileManager;
|
|
64
64
|
},
|
|
65
65
|
};
|