@shepai/cli 1.136.0-pr441.5eaafd1 → 1.136.0-pr443.863a0ce
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 +0 -5
- package/apis/json-schema/NotificationEventConfig.yaml +0 -15
- package/apis/json-schema/NotificationEventType.yaml +0 -3
- package/dist/packages/core/src/application/ports/output/repositories/index.d.ts +0 -2
- package/dist/packages/core/src/application/ports/output/repositories/index.d.ts.map +1 -1
- package/dist/packages/core/src/application/ports/output/services/index.d.ts +0 -1
- package/dist/packages/core/src/application/ports/output/services/index.d.ts.map +1 -1
- package/dist/packages/core/src/domain/factories/settings-defaults.factory.d.ts.map +1 -1
- package/dist/packages/core/src/domain/factories/settings-defaults.factory.js +0 -4
- package/dist/packages/core/src/domain/generated/output.d.ts +1 -114
- package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
- package/dist/packages/core/src/domain/generated/output.js +0 -16
- package/dist/packages/core/src/infrastructure/di/container.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/di/container.js +0 -66
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts +0 -4
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.js +0 -8
- package/dist/packages/core/src/infrastructure/services/notifications/notification.service.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/notifications/notification.service.js +0 -3
- package/dist/src/presentation/cli/commands/_serve.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/_serve.command.js +0 -14
- package/dist/src/presentation/cli/index.js +0 -2
- package/dist/src/presentation/web/components/common/feature-node/derive-feature-state.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-node/derive-feature-state.js +0 -4
- package/dist/src/presentation/web/components/common/merge-review/diff-view.d.ts +3 -0
- package/dist/src/presentation/web/components/common/merge-review/diff-view.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/merge-review/diff-view.js +100 -17
- package/dist/src/presentation/web/components/common/merge-review/diff-view.stories.d.ts +3 -1
- package/dist/src/presentation/web/components/common/merge-review/diff-view.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/merge-review/diff-view.stories.js +31 -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 +0 -3
- 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 +0 -3
- package/dist/src/presentation/web/components/features/settings/notification-settings-section.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/notification-settings-section.js +1 -6
- package/dist/src/presentation/web/components/features/settings/notification-settings-section.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/notification-settings-section.stories.js +0 -6
- package/dist/src/presentation/web/components/features/settings/settings-page-client.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/settings-page-client.js +2 -19
- package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.js +0 -1
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.d.ts.map +1 -1
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.js +2 -2
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.js +0 -1
- package/dist/src/presentation/web/components/ui/file-tree.d.ts +39 -0
- package/dist/src/presentation/web/components/ui/file-tree.d.ts.map +1 -0
- package/dist/src/presentation/web/components/ui/file-tree.js +194 -0
- package/dist/src/presentation/web/components/ui/file-tree.stories.d.ts +14 -0
- package/dist/src/presentation/web/components/ui/file-tree.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/ui/file-tree.stories.js +92 -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 +0 -1
- package/dist/src/presentation/web/lib/feature-flags.d.ts +0 -2
- package/dist/src/presentation/web/lib/feature-flags.d.ts.map +1 -1
- package/dist/src/presentation/web/lib/feature-flags.js +0 -5
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -2
- package/web/.next/BUILD_ID +1 -1
- package/web/.next/app-path-routes-manifest.json +1 -2
- package/web/.next/build-manifest.json +2 -2
- package/web/.next/fallback-build-manifest.json +2 -2
- package/web/.next/prerender-manifest.json +3 -3
- package/web/.next/required-server-files.js +1 -1
- package/web/.next/required-server-files.json +1 -1
- package/web/.next/routes-manifest.json +0 -6
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page/server-reference-manifest.json +25 -25
- 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/server-reference-manifest.json +25 -25
- 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/server-reference-manifest.json +31 -31
- 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/server-reference-manifest.json +31 -31
- 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/server-reference-manifest.json +23 -23
- 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/server-reference-manifest.json +25 -25
- 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/server-reference-manifest.json +31 -31
- 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/server-reference-manifest.json +31 -31
- 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/server-reference-manifest.json +23 -23
- 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/server-reference-manifest.json +23 -23
- 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.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/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.nft.json +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.nft.json +1 -1
- package/web/.next/server/app/settings/page/server-reference-manifest.json +8 -8
- package/web/.next/server/app/settings/page.js +2 -2
- 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/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/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/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 -2
- package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js.map +1 -1
- package/web/.next/server/chunks/{[root-of-the-server]__c7d52490._.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]__c6e32a23._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__c6e32a23._.js.map +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.js.map +1 -1
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_b49d9c97.js +1 -1
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_b49d9c97.js.map +1 -1
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js +1 -1
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js.map +1 -1
- package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_8b618f7d._.js +3 -0
- package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_8b618f7d._.js.map +1 -0
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_28632197.js +1 -1
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_28632197.js.map +1 -1
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_10695d37.js +1 -1
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_10695d37.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]__57e0ee34._.js → [root-of-the-server]__3ef34e4c._.js} +3 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__3ef34e4c._.js.map +1 -0
- 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]__47ded061._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__47ded061._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6882232d._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6882232d._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__68ce373c._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__68ce373c._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__33ac1a70._.js → [root-of-the-server]__6ec59045._.js} +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6ec59045._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__718766da._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__718766da._.js.map +1 -1
- 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]__07f12984._.js → [root-of-the-server]__a5f9c6e5._.js} +3 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a5f9c6e5._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__aad040c0._.js +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__aad040c0._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__b3dbadca._.js +3 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__6e93b49c._.js.map → [root-of-the-server]__b3dbadca._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__fdd058b2._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__fdd058b2._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_a3721140._.js → _0020fddd._.js} +2 -2
- package/web/.next/server/chunks/ssr/_0020fddd._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_01046927._.js +9 -0
- package/web/.next/server/chunks/ssr/_01046927._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{403f9_next_53742624._.js → _02ec1aea._.js} +2 -2
- package/web/.next/server/chunks/ssr/_02ec1aea._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{f7870_sonner_dist_index_mjs_dbf63824._.js → _1b7dae9a._.js} +2 -2
- package/web/.next/server/chunks/ssr/_1b7dae9a._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{_8e8cd7e1._.js → _2d94bed7._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_8e8cd7e1._.js.map → _2d94bed7._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_67104d9e._.js +3 -0
- package/web/.next/server/chunks/ssr/_67104d9e._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_7dca1882._.js +3 -0
- package/web/.next/server/chunks/ssr/_7dca1882._.js.map +1 -0
- 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 +3 -0
- package/web/.next/server/chunks/ssr/{_6701ee41._.js.map → _a9f57758._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/{_277acdde._.js → _b5fc318a._.js} +2 -2
- package/web/.next/server/chunks/ssr/_b5fc318a._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_d4b20e29._.js +3 -0
- package/web/.next/server/chunks/ssr/_d4b20e29._.js.map +1 -0
- 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/_e69a26ba._.js +1 -1
- package/web/.next/server/chunks/ssr/_f39a1adb._.js +3 -0
- package/web/.next/server/chunks/ssr/_f39a1adb._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_fefe070a._.js +3 -0
- package/web/.next/server/chunks/ssr/_fefe070a._.js.map +1 -0
- package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js +1 -1
- package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/node_modules__pnpm_55c7a131._.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules__pnpm_55c7a131._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_53666118._.js +2 -2
- package/web/.next/server/chunks/ssr/src_presentation_web_53666118._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_8213e5ea._.js +3 -0
- package/web/.next/server/chunks/ssr/{src_presentation_web_53fa3010._.js.map → src_presentation_web_8213e5ea._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_d95e128d.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_d95e128d.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_components_e599bb8c._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_e599bb8c._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_ui_scroll-area_tsx_53ae5be7._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_components_ui_scroll-area_tsx_53ae5be7._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_e4df6dd7._.js +2 -2
- package/web/.next/server/chunks/ssr/src_presentation_web_e4df6dd7._.js.map +1 -1
- 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 +42 -123
- package/web/.next/static/chunks/0b7fe2ac4f078f54.js +13 -0
- package/web/.next/static/chunks/13cb84d179d5b4ec.js +1 -0
- package/web/.next/static/chunks/15ac82422c6ff481.js +2 -0
- package/web/.next/static/chunks/2a6fc81b4d79edd5.js +1 -0
- package/web/.next/static/chunks/311e3e6daae41529.js +1 -0
- package/web/.next/static/chunks/4942206ecc6050b3.js +1 -0
- package/web/.next/static/chunks/601d93593f5f664f.js +1 -0
- package/web/.next/static/chunks/66e554b3fb85d07b.js +1 -0
- package/web/.next/static/chunks/{42c9564e375717ed.js → 672e3da3ad26005b.js} +1 -1
- package/web/.next/static/chunks/6ce910f8eca9c744.js +1 -0
- package/web/.next/static/chunks/72813fbc89b39798.js +1 -0
- package/web/.next/static/chunks/72fb66a9a892b323.js +1 -0
- package/web/.next/static/chunks/76fe6d79d9531082.js +1 -0
- package/web/.next/static/chunks/8445a8933ec13b8f.css +1 -0
- package/web/.next/static/chunks/9403c53377b1bfee.js +1 -0
- package/web/.next/static/chunks/b70dd4985a814b27.js +1 -0
- package/web/.next/static/chunks/{196650f8cd7fb06a.js → c2e2ff7e444af0fb.js} +1 -1
- package/web/.next/static/chunks/d7cf75b9d218a74a.js +1 -0
- package/web/.next/static/chunks/{bee578019062e7f9.js → e49b53761421e978.js} +1 -1
- package/web/.next/static/chunks/ef02305e9eeeae2d.js +1 -0
- package/apis/json-schema/ScheduledWorkflow.yaml +0 -46
- package/apis/json-schema/WorkflowExecution.yaml +0 -38
- package/apis/json-schema/WorkflowExecutionStatus.yaml +0 -10
- package/apis/json-schema/WorkflowTriggerType.yaml +0 -7
- package/dist/packages/core/src/application/ports/output/repositories/workflow-execution-repository.interface.d.ts +0 -66
- package/dist/packages/core/src/application/ports/output/repositories/workflow-execution-repository.interface.d.ts.map +0 -1
- package/dist/packages/core/src/application/ports/output/repositories/workflow-execution-repository.interface.js +0 -11
- package/dist/packages/core/src/application/ports/output/repositories/workflow-repository.interface.d.ts +0 -81
- package/dist/packages/core/src/application/ports/output/repositories/workflow-repository.interface.d.ts.map +0 -1
- package/dist/packages/core/src/application/ports/output/repositories/workflow-repository.interface.js +0 -11
- package/dist/packages/core/src/application/ports/output/services/clock.interface.d.ts +0 -28
- package/dist/packages/core/src/application/ports/output/services/clock.interface.d.ts.map +0 -1
- package/dist/packages/core/src/application/ports/output/services/clock.interface.js +0 -13
- package/dist/packages/core/src/application/use-cases/workflows/create-workflow.use-case.d.ts +0 -28
- package/dist/packages/core/src/application/use-cases/workflows/create-workflow.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/workflows/create-workflow.use-case.js +0 -72
- package/dist/packages/core/src/application/use-cases/workflows/cron-helpers.d.ts +0 -27
- package/dist/packages/core/src/application/use-cases/workflows/cron-helpers.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/workflows/cron-helpers.js +0 -43
- package/dist/packages/core/src/application/use-cases/workflows/delete-workflow.use-case.d.ts +0 -18
- package/dist/packages/core/src/application/use-cases/workflows/delete-workflow.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/workflows/delete-workflow.use-case.js +0 -64
- package/dist/packages/core/src/application/use-cases/workflows/get-workflow-history.use-case.d.ts +0 -16
- package/dist/packages/core/src/application/use-cases/workflows/get-workflow-history.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/workflows/get-workflow-history.use-case.js +0 -46
- package/dist/packages/core/src/application/use-cases/workflows/get-workflow.use-case.d.ts +0 -13
- package/dist/packages/core/src/application/use-cases/workflows/get-workflow.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/workflows/get-workflow.use-case.js +0 -42
- package/dist/packages/core/src/application/use-cases/workflows/list-workflows.use-case.d.ts +0 -13
- package/dist/packages/core/src/application/use-cases/workflows/list-workflows.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/workflows/list-workflows.use-case.js +0 -33
- package/dist/packages/core/src/application/use-cases/workflows/run-workflow.use-case.d.ts +0 -19
- package/dist/packages/core/src/application/use-cases/workflows/run-workflow.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/workflows/run-workflow.use-case.js +0 -62
- package/dist/packages/core/src/application/use-cases/workflows/schedule-workflow.use-case.d.ts +0 -22
- package/dist/packages/core/src/application/use-cases/workflows/schedule-workflow.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/workflows/schedule-workflow.use-case.js +0 -73
- package/dist/packages/core/src/application/use-cases/workflows/templates/branch-rebase.template.d.ts +0 -9
- package/dist/packages/core/src/application/use-cases/workflows/templates/branch-rebase.template.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/workflows/templates/branch-rebase.template.js +0 -27
- package/dist/packages/core/src/application/use-cases/workflows/templates/issue-triage.template.d.ts +0 -11
- package/dist/packages/core/src/application/use-cases/workflows/templates/issue-triage.template.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/workflows/templates/issue-triage.template.js +0 -27
- package/dist/packages/core/src/application/use-cases/workflows/toggle-workflow.use-case.d.ts +0 -16
- package/dist/packages/core/src/application/use-cases/workflows/toggle-workflow.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/workflows/toggle-workflow.use-case.js +0 -60
- package/dist/packages/core/src/application/use-cases/workflows/update-workflow.use-case.d.ts +0 -25
- package/dist/packages/core/src/application/use-cases/workflows/update-workflow.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/workflows/update-workflow.use-case.js +0 -83
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/workflow-execution.mapper.d.ts +0 -46
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/workflow-execution.mapper.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/workflow-execution.mapper.js +0 -57
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/workflow.mapper.d.ts +0 -51
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/workflow.mapper.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/workflow.mapper.js +0 -71
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/044-add-workflow-notification-events.d.ts +0 -12
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/044-add-workflow-notification-events.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/044-add-workflow-notification-events.js +0 -22
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/045-create-scheduled-workflows.d.ts +0 -14
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/045-create-scheduled-workflows.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/045-create-scheduled-workflows.js +0 -65
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/046-add-feature-flag-scheduled-workflows.d.ts +0 -11
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/046-add-feature-flag-scheduled-workflows.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/046-add-feature-flag-scheduled-workflows.js +0 -17
- package/dist/packages/core/src/infrastructure/repositories/sqlite-workflow-execution.repository.d.ts +0 -24
- package/dist/packages/core/src/infrastructure/repositories/sqlite-workflow-execution.repository.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/repositories/sqlite-workflow-execution.repository.js +0 -92
- package/dist/packages/core/src/infrastructure/repositories/sqlite-workflow.repository.d.ts +0 -26
- package/dist/packages/core/src/infrastructure/repositories/sqlite-workflow.repository.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/repositories/sqlite-workflow.repository.js +0 -117
- package/dist/packages/core/src/infrastructure/services/clock.d.ts +0 -11
- package/dist/packages/core/src/infrastructure/services/clock.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/clock.js +0 -22
- package/dist/packages/core/src/infrastructure/services/workflow-scheduler/workflow-scheduler.service.d.ts +0 -69
- package/dist/packages/core/src/infrastructure/services/workflow-scheduler/workflow-scheduler.service.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/workflow-scheduler/workflow-scheduler.service.js +0 -270
- package/dist/src/presentation/cli/commands/workflow/create.command.d.ts +0 -13
- package/dist/src/presentation/cli/commands/workflow/create.command.d.ts.map +0 -1
- package/dist/src/presentation/cli/commands/workflow/create.command.js +0 -83
- package/dist/src/presentation/cli/commands/workflow/delete.command.d.ts +0 -13
- package/dist/src/presentation/cli/commands/workflow/delete.command.d.ts.map +0 -1
- package/dist/src/presentation/cli/commands/workflow/delete.command.js +0 -50
- package/dist/src/presentation/cli/commands/workflow/disable.command.d.ts +0 -11
- package/dist/src/presentation/cli/commands/workflow/disable.command.d.ts.map +0 -1
- package/dist/src/presentation/cli/commands/workflow/disable.command.js +0 -32
- package/dist/src/presentation/cli/commands/workflow/enable.command.d.ts +0 -11
- package/dist/src/presentation/cli/commands/workflow/enable.command.d.ts.map +0 -1
- package/dist/src/presentation/cli/commands/workflow/enable.command.js +0 -35
- package/dist/src/presentation/cli/commands/workflow/format-helpers.d.ts +0 -35
- package/dist/src/presentation/cli/commands/workflow/format-helpers.d.ts.map +0 -1
- package/dist/src/presentation/cli/commands/workflow/format-helpers.js +0 -89
- package/dist/src/presentation/cli/commands/workflow/history.command.d.ts +0 -12
- package/dist/src/presentation/cli/commands/workflow/history.command.d.ts.map +0 -1
- package/dist/src/presentation/cli/commands/workflow/history.command.js +0 -46
- package/dist/src/presentation/cli/commands/workflow/index.d.ts +0 -26
- package/dist/src/presentation/cli/commands/workflow/index.d.ts.map +0 -1
- package/dist/src/presentation/cli/commands/workflow/index.js +0 -48
- package/dist/src/presentation/cli/commands/workflow/list.command.d.ts +0 -11
- package/dist/src/presentation/cli/commands/workflow/list.command.d.ts.map +0 -1
- package/dist/src/presentation/cli/commands/workflow/list.command.js +0 -52
- package/dist/src/presentation/cli/commands/workflow/run.command.d.ts +0 -11
- package/dist/src/presentation/cli/commands/workflow/run.command.d.ts.map +0 -1
- package/dist/src/presentation/cli/commands/workflow/run.command.js +0 -37
- package/dist/src/presentation/cli/commands/workflow/schedule.command.d.ts +0 -13
- package/dist/src/presentation/cli/commands/workflow/schedule.command.d.ts.map +0 -1
- package/dist/src/presentation/cli/commands/workflow/schedule.command.js +0 -76
- package/dist/src/presentation/cli/commands/workflow/show.command.d.ts +0 -11
- package/dist/src/presentation/cli/commands/workflow/show.command.d.ts.map +0 -1
- package/dist/src/presentation/cli/commands/workflow/show.command.js +0 -93
- package/dist/src/presentation/cli/commands/workflow/update.command.d.ts +0 -13
- package/dist/src/presentation/cli/commands/workflow/update.command.d.ts.map +0 -1
- package/dist/src/presentation/cli/commands/workflow/update.command.js +0 -67
- package/dist/src/presentation/web/app/actions/get-workflow-history.d.ts +0 -7
- package/dist/src/presentation/web/app/actions/get-workflow-history.d.ts.map +0 -1
- package/dist/src/presentation/web/app/actions/get-workflow-history.js +0 -17
- package/dist/src/presentation/web/app/actions/list-workflows.d.ts +0 -7
- package/dist/src/presentation/web/app/actions/list-workflows.d.ts.map +0 -1
- package/dist/src/presentation/web/app/actions/list-workflows.js +0 -17
- package/dist/src/presentation/web/app/actions/toggle-workflow.d.ts +0 -8
- package/dist/src/presentation/web/app/actions/toggle-workflow.d.ts.map +0 -1
- package/dist/src/presentation/web/app/actions/toggle-workflow.js +0 -19
- package/dist/src/presentation/web/app/actions/trigger-workflow.d.ts +0 -8
- package/dist/src/presentation/web/app/actions/trigger-workflow.d.ts.map +0 -1
- package/dist/src/presentation/web/app/actions/trigger-workflow.js +0 -19
- package/dist/src/presentation/web/app/workflows/page.d.ts +0 -4
- package/dist/src/presentation/web/app/workflows/page.d.ts.map +0 -1
- package/dist/src/presentation/web/app/workflows/page.js +0 -18
- package/dist/src/presentation/web/components/features/workflows/workflow-execution-history.d.ts +0 -7
- package/dist/src/presentation/web/components/features/workflows/workflow-execution-history.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/workflows/workflow-execution-history.js +0 -84
- package/dist/src/presentation/web/components/features/workflows/workflow-execution-history.stories.d.ts +0 -11
- package/dist/src/presentation/web/components/features/workflows/workflow-execution-history.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/workflows/workflow-execution-history.stories.js +0 -104
- package/dist/src/presentation/web/components/features/workflows/workflow-list-item.d.ts +0 -8
- package/dist/src/presentation/web/components/features/workflows/workflow-list-item.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/workflows/workflow-list-item.js +0 -68
- package/dist/src/presentation/web/components/features/workflows/workflow-list-item.stories.d.ts +0 -11
- package/dist/src/presentation/web/components/features/workflows/workflow-list-item.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/workflows/workflow-list-item.stories.js +0 -89
- package/dist/src/presentation/web/components/features/workflows/workflow-list.d.ts +0 -8
- package/dist/src/presentation/web/components/features/workflows/workflow-list.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/workflows/workflow-list.js +0 -10
- package/dist/src/presentation/web/components/features/workflows/workflow-list.stories.d.ts +0 -11
- package/dist/src/presentation/web/components/features/workflows/workflow-list.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/workflows/workflow-list.stories.js +0 -90
- package/dist/src/presentation/web/components/features/workflows/workflows-page-client.d.ts +0 -6
- package/dist/src/presentation/web/components/features/workflows/workflows-page-client.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/workflows/workflows-page-client.js +0 -14
- package/dist/src/presentation/web/components/features/workflows/workflows-page-client.stories.d.ts +0 -10
- package/dist/src/presentation/web/components/features/workflows/workflows-page-client.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/workflows/workflows-page-client.stories.js +0 -70
- package/web/.next/server/app/workflows/page/app-paths-manifest.json +0 -3
- package/web/.next/server/app/workflows/page/build-manifest.json +0 -18
- package/web/.next/server/app/workflows/page/next-font-manifest.json +0 -6
- package/web/.next/server/app/workflows/page/react-loadable-manifest.json +0 -8
- package/web/.next/server/app/workflows/page/server-reference-manifest.json +0 -110
- package/web/.next/server/app/workflows/page.js +0 -18
- package/web/.next/server/app/workflows/page.js.map +0 -5
- package/web/.next/server/app/workflows/page.js.nft.json +0 -1
- package/web/.next/server/app/workflows/page_client-reference-manifest.js +0 -2
- package/web/.next/server/chunks/ssr/403f9_next_53742624._.js.map +0 -1
- package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_0c7787d0._.js +0 -3
- package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_0c7787d0._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__07f12984._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__082758f6._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__082758f6._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__32cd6108._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__32cd6108._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__33ac1a70._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__44358910._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__44358910._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__57e0ee34._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6e93b49c._.js +0 -3
- package/web/.next/server/chunks/ssr/_20a4a0d5._.js +0 -3
- package/web/.next/server/chunks/ssr/_20a4a0d5._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_25555eb5._.js +0 -3
- package/web/.next/server/chunks/ssr/_25555eb5._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_277acdde._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_4711e8cf._.js +0 -3
- package/web/.next/server/chunks/ssr/_4711e8cf._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_6701ee41._.js +0 -3
- package/web/.next/server/chunks/ssr/_89a36303._.js +0 -3
- package/web/.next/server/chunks/ssr/_89a36303._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_9869d3da._.js +0 -3
- package/web/.next/server/chunks/ssr/_9869d3da._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_a3721140._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_cc1243e6._.js +0 -3
- package/web/.next/server/chunks/ssr/_cc1243e6._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_e3411387._.js +0 -9
- package/web/.next/server/chunks/ssr/_e3411387._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_f64ffec0._.js +0 -4
- package/web/.next/server/chunks/ssr/_f64ffec0._.js.map +0 -1
- package/web/.next/server/chunks/ssr/f7870_sonner_dist_index_mjs_dbf63824._.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules__pnpm_28388798._.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules__pnpm_28388798._.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules__pnpm_ae1705ef._.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules__pnpm_ae1705ef._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_53fa3010._.js +0 -3
- package/web/.next/static/chunks/2002f5eec5ffec42.css +0 -1
- package/web/.next/static/chunks/2c1ff62df9b34313.js +0 -1
- package/web/.next/static/chunks/3005583e819fc4fc.js +0 -1
- package/web/.next/static/chunks/333c7873f6b17ef1.js +0 -1
- package/web/.next/static/chunks/3b3f8c4f6c36a7ba.js +0 -1
- package/web/.next/static/chunks/43e0eea352eb5106.js +0 -5
- package/web/.next/static/chunks/5420560352333486.js +0 -1
- package/web/.next/static/chunks/62fa33876b0964a4.js +0 -1
- package/web/.next/static/chunks/6db2addb5e13e372.js +0 -1
- package/web/.next/static/chunks/886d0385ca1d4484.js +0 -1
- package/web/.next/static/chunks/8e52a649c3f6bdf4.js +0 -1
- package/web/.next/static/chunks/a02fc9467a585a1f.js +0 -2
- package/web/.next/static/chunks/cdb51cfd682387d2.js +0 -1
- package/web/.next/static/chunks/ed35b4293a81c861.js +0 -9
- package/web/.next/static/chunks/ed7fbcdf0b48e735.js +0 -1
- package/web/.next/static/chunks/f75142a1b75f1c32.js +0 -1
- package/web/.next/static/chunks/fabcd29d488281fa.js +0 -1
- package/web/.next/static/chunks/fd925f996c3fa318.js +0 -1
- /package/web/.next/server/chunks/{[root-of-the-server]__c7d52490._.js.map → [root-of-the-server]__2b1074db._.js.map} +0 -0
- /package/web/.next/static/{w0YQoUPySQy1O9cN91KEk → 6xm4SoE6w_Z_XqNQlMkvd}/_buildManifest.js +0 -0
- /package/web/.next/static/{w0YQoUPySQy1O9cN91KEk → 6xm4SoE6w_Z_XqNQlMkvd}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{w0YQoUPySQy1O9cN91KEk → 6xm4SoE6w_Z_XqNQlMkvd}/_ssgManifest.js +0 -0
|
@@ -42,7 +42,6 @@ import { createIdeOpenCommand } from './commands/ide-open.command.js';
|
|
|
42
42
|
import { createInstallCommand } from './commands/install.command.js';
|
|
43
43
|
import { createUpgradeCommand } from './commands/upgrade.command.js';
|
|
44
44
|
import { createToolsCommand } from './commands/tools.command.js';
|
|
45
|
-
import { createWorkflowCommand } from './commands/workflow/index.js';
|
|
46
45
|
import { messages } from './ui/index.js';
|
|
47
46
|
// Daemon lifecycle commands
|
|
48
47
|
import { createStartCommand } from './commands/start.command.js';
|
|
@@ -111,7 +110,6 @@ async function bootstrap() {
|
|
|
111
110
|
program.addCommand(createInstallCommand());
|
|
112
111
|
program.addCommand(createToolsCommand());
|
|
113
112
|
program.addCommand(createUpgradeCommand());
|
|
114
|
-
program.addCommand(createWorkflowCommand());
|
|
115
113
|
// Daemon lifecycle commands (task-9)
|
|
116
114
|
program.addCommand(createStartCommand());
|
|
117
115
|
program.addCommand(createStopCommand());
|
package/dist/src/presentation/web/components/common/feature-node/derive-feature-state.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"derive-feature-state.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-node/derive-feature-state.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAIL,qBAAqB,EACtB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAE3F;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAC7B,OAAO,EAAE,OAAO,EAChB,QAAQ,CAAC,EAAE,QAAQ,GAAG,IAAI,EAC1B,OAAO,CAAC,EAAE;IAAE,UAAU,CAAC,EAAE,OAAO,CAAA;CAAE,GACjC,gBAAgB,CA4DlB;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAYvD;AAED,oGAAoG;AACpG,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,qBAAqB,GAAG,gBAAgB,
|
|
1
|
+
{"version":3,"file":"derive-feature-state.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-node/derive-feature-state.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAIL,qBAAqB,EACtB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAE3F;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAC7B,OAAO,EAAE,OAAO,EAChB,QAAQ,CAAC,EAAE,QAAQ,GAAG,IAAI,EAC1B,OAAO,CAAC,EAAE;IAAE,UAAU,CAAC,EAAE,OAAO,CAAA;CAAE,GACjC,gBAAgB,CA4DlB;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAYvD;AAED,oGAAoG;AACpG,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,qBAAqB,GAAG,gBAAgB,CAsBtF;AAED,wEAAwE;AACxE,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAQlE,CAAC;AAeF;;;GAGG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,GAAG,IAAI,GAAG,qBAAqB,CAQ7F;AAED,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACpC,SAAS,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAC7C,SAAS,EAAE,qBAAqB,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,SAAS;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,qBAAqB,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,EAAE,GAC7F,cAAc,EAAE,CAmBlB;AAED,wBAAgB,uBAAuB,CACrC,SAAS,EAAE,MAAM,GAAG,SAAS,GAC5B,qBAAqB,GAAG,SAAS,CAGnC"}
|
|
@@ -109,10 +109,6 @@ export function mapEventTypeToState(eventType) {
|
|
|
109
109
|
return 'blocked';
|
|
110
110
|
case NotificationEventType.MergeReviewReady:
|
|
111
111
|
return 'action-required';
|
|
112
|
-
case NotificationEventType.WorkflowStarted:
|
|
113
|
-
case NotificationEventType.WorkflowCompleted:
|
|
114
|
-
case NotificationEventType.WorkflowFailed:
|
|
115
|
-
return 'running';
|
|
116
112
|
}
|
|
117
113
|
}
|
|
118
114
|
/** Map domain SdlcLifecycle enum values to UI FeatureLifecyclePhase. */
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { type TreeViewElement } from '../../ui/file-tree.js';
|
|
1
2
|
import type { MergeReviewFileDiff } from './merge-review-config.js';
|
|
3
|
+
/** Build a tree structure from flat file paths. */
|
|
4
|
+
export declare function buildFileTree(fileDiffs: MergeReviewFileDiff[]): TreeViewElement[];
|
|
2
5
|
export interface DiffViewProps {
|
|
3
6
|
fileDiffs: MergeReviewFileDiff[];
|
|
4
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diff-view.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/merge-review/diff-view.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAuB,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"diff-view.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/merge-review/diff-view.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAsB,KAAK,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACrF,OAAO,KAAK,EAAE,mBAAmB,EAAuB,MAAM,uBAAuB,CAAC;AAStF,mDAAmD;AACnD,wBAAgB,aAAa,CAAC,SAAS,EAAE,mBAAmB,EAAE,GAAG,eAAe,EAAE,CAoCjF;AAoJD,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,mBAAmB,EAAE,CAAC;CAClC;AAED,wBAAgB,QAAQ,CAAC,EAAE,SAAS,EAAE,EAAE,aAAa,kDAkEpD"}
|
|
@@ -1,30 +1,113 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs
|
|
3
|
-
import { useState } from 'react';
|
|
4
|
-
import {
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useState, useMemo, useCallback } from 'react';
|
|
4
|
+
import { FileText, FilePlus, FileMinus, FileEdit } from 'lucide-react';
|
|
5
5
|
import { cn } from '../../../lib/utils.js';
|
|
6
|
+
import { Tree, Folder, File } from '../../ui/file-tree.js';
|
|
6
7
|
const STATUS_CONFIG = {
|
|
7
|
-
added: { icon: FilePlus,
|
|
8
|
-
modified: { icon: FileEdit,
|
|
9
|
-
deleted: { icon: FileMinus,
|
|
10
|
-
renamed: { icon: FileEdit,
|
|
8
|
+
added: { icon: FilePlus, className: 'text-green-600' },
|
|
9
|
+
modified: { icon: FileEdit, className: 'text-amber-600' },
|
|
10
|
+
deleted: { icon: FileMinus, className: 'text-red-600' },
|
|
11
|
+
renamed: { icon: FileEdit, className: 'text-blue-600' },
|
|
11
12
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const
|
|
15
|
-
|
|
13
|
+
/** Build a tree structure from flat file paths. */
|
|
14
|
+
export function buildFileTree(fileDiffs) {
|
|
15
|
+
const root = [];
|
|
16
|
+
for (const diff of fileDiffs) {
|
|
17
|
+
const parts = diff.path.split('/');
|
|
18
|
+
let currentLevel = root;
|
|
19
|
+
for (let i = 0; i < parts.length; i++) {
|
|
20
|
+
const part = parts[i];
|
|
21
|
+
const isFile = i === parts.length - 1;
|
|
22
|
+
const pathSoFar = parts.slice(0, i + 1).join('/');
|
|
23
|
+
const existing = currentLevel.find((el) => el.name === part && el.type === (isFile ? 'file' : 'folder'));
|
|
24
|
+
if (existing) {
|
|
25
|
+
if (!isFile && existing.children) {
|
|
26
|
+
currentLevel = existing.children;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
const node = {
|
|
31
|
+
id: pathSoFar,
|
|
32
|
+
name: part,
|
|
33
|
+
type: isFile ? 'file' : 'folder',
|
|
34
|
+
...(isFile ? {} : { children: [] }),
|
|
35
|
+
};
|
|
36
|
+
currentLevel.push(node);
|
|
37
|
+
if (!isFile && node.children) {
|
|
38
|
+
currentLevel = node.children;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return collapseSingleChildFolders(root);
|
|
44
|
+
}
|
|
45
|
+
/** Collapse folders that contain only one child folder (e.g. src/components -> src/components). */
|
|
46
|
+
function collapseSingleChildFolders(elements) {
|
|
47
|
+
return elements.map((el) => {
|
|
48
|
+
if (el.type === 'folder' && el.children) {
|
|
49
|
+
const collapsed = collapseSingleChildFolders(el.children);
|
|
50
|
+
if (collapsed.length === 1 && collapsed[0].type === 'folder' && collapsed[0].children) {
|
|
51
|
+
return {
|
|
52
|
+
...collapsed[0],
|
|
53
|
+
id: `${el.id}/${collapsed[0].name}`,
|
|
54
|
+
name: `${el.name}/${collapsed[0].name}`,
|
|
55
|
+
children: collapsed[0].children,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
return { ...el, children: collapsed };
|
|
59
|
+
}
|
|
60
|
+
return el;
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
/** Count the total number of file descendants under an element. */
|
|
64
|
+
function countFiles(element) {
|
|
65
|
+
if (element.type === 'file')
|
|
66
|
+
return 1;
|
|
67
|
+
if (!element.children)
|
|
68
|
+
return 0;
|
|
69
|
+
return element.children.reduce((sum, child) => sum + countFiles(child), 0);
|
|
70
|
+
}
|
|
71
|
+
/** Get folder IDs for the first level of folders only (top-level). */
|
|
72
|
+
function getTopLevelFolderIds(elements) {
|
|
73
|
+
return elements.filter((el) => el.type === 'folder').map((el) => el.id);
|
|
16
74
|
}
|
|
17
75
|
function HunkView({ hunk }) {
|
|
18
76
|
return (_jsxs("div", { className: "border-border border-t first:border-t-0", children: [_jsx("div", { className: "bg-muted/50 text-muted-foreground px-3 py-1 font-mono text-[10px]", children: hunk.header }), _jsx("div", { className: "font-mono text-[11px] leading-[18px]", children: hunk.lines.map((line) => (_jsxs("div", { className: cn('flex', line.type === 'added' && 'bg-green-50 dark:bg-green-950/30', line.type === 'removed' && 'bg-red-50 dark:bg-red-950/30'), children: [_jsx("span", { className: "text-muted-foreground w-10 shrink-0 px-1 text-right text-[10px] select-none", children: line.oldNumber ?? '' }), _jsx("span", { className: "text-muted-foreground w-10 shrink-0 px-1 text-right text-[10px] select-none", children: line.newNumber ?? '' }), _jsx("span", { className: cn('w-4 shrink-0 text-center select-none', line.type === 'added' && 'text-green-700 dark:text-green-400', line.type === 'removed' && 'text-red-700 dark:text-red-400'), children: line.type === 'added' ? '+' : line.type === 'removed' ? '-' : ' ' }), _jsx("span", { className: "min-w-0 flex-1 pr-2 break-all whitespace-pre-wrap", children: line.content })] }, `${line.type}-${line.oldNumber ?? ''}-${line.newNumber ?? ''}`))) })] }));
|
|
19
77
|
}
|
|
20
|
-
function
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
|
|
24
|
-
|
|
78
|
+
function DiffFileIcon({ status }) {
|
|
79
|
+
const config = STATUS_CONFIG[status];
|
|
80
|
+
const Icon = config.icon;
|
|
81
|
+
return _jsx(Icon, { className: cn('size-4 shrink-0', config.className) });
|
|
82
|
+
}
|
|
83
|
+
function DiffStats({ additions, deletions }) {
|
|
84
|
+
return (_jsxs("span", { className: "ml-auto shrink-0 text-[10px]", children: [additions > 0 ? _jsxs("span", { className: "text-green-600", children: ["+", additions] }) : null, additions > 0 && deletions > 0 ? ' ' : null, deletions > 0 ? _jsxs("span", { className: "text-red-600", children: ["-", deletions] }) : null] }));
|
|
85
|
+
}
|
|
86
|
+
function FileTreeNode({ element, diffMap, selectedFile, onSelectFile, }) {
|
|
87
|
+
if (element.type === 'folder' && element.children) {
|
|
88
|
+
const fileCount = countFiles(element);
|
|
89
|
+
return (_jsx(Folder, { value: element.id, element: `${element.name} (${fileCount})`, className: "text-muted-foreground", children: element.children.map((child) => (_jsx(FileTreeNode, { element: child, diffMap: diffMap, selectedFile: selectedFile, onSelectFile: onSelectFile }, child.id))) }, element.id));
|
|
90
|
+
}
|
|
91
|
+
const diff = diffMap.get(element.id);
|
|
92
|
+
const status = diff?.status ?? 'modified';
|
|
93
|
+
return (_jsx(File, { value: element.id, fileIcon: _jsx(DiffFileIcon, { status: status }), isSelect: selectedFile === element.id, handleSelect: onSelectFile, className: "w-full", children: _jsxs("span", { className: "flex min-w-0 flex-1 items-center gap-1", children: [_jsx("span", { className: "truncate", children: element.name }), diff?.oldPath ? (_jsxs("span", { className: "text-muted-foreground truncate text-[10px]", children: ["\u2190 ", diff.oldPath.split('/').pop()] })) : null, diff ? _jsx(DiffStats, { additions: diff.additions, deletions: diff.deletions }) : null] }) }, element.id));
|
|
25
94
|
}
|
|
26
95
|
export function DiffView({ fileDiffs }) {
|
|
96
|
+
const [selectedFile, setSelectedFile] = useState(null);
|
|
97
|
+
const treeElements = useMemo(() => buildFileTree(fileDiffs), [fileDiffs]);
|
|
98
|
+
const topLevelFolderIds = useMemo(() => getTopLevelFolderIds(treeElements), [treeElements]);
|
|
99
|
+
const diffMap = useMemo(() => {
|
|
100
|
+
const map = new Map();
|
|
101
|
+
for (const diff of fileDiffs) {
|
|
102
|
+
map.set(diff.path, diff);
|
|
103
|
+
}
|
|
104
|
+
return map;
|
|
105
|
+
}, [fileDiffs]);
|
|
106
|
+
const handleSelectFile = useCallback((path) => {
|
|
107
|
+
setSelectedFile((prev) => (prev === path ? null : path));
|
|
108
|
+
}, []);
|
|
109
|
+
const selectedDiff = selectedFile ? diffMap.get(selectedFile) : null;
|
|
27
110
|
if (fileDiffs.length === 0)
|
|
28
111
|
return null;
|
|
29
|
-
return (_jsxs("div", { className: "border-border rounded-lg border", children: [_jsx("div", { className: "px-4 py-3", children: _jsxs("div", { className: "mb-2 flex items-center gap-2", children: [_jsx(FileText, { className: "text-muted-foreground h-4 w-4" }), _jsx("span", { className: "text-foreground text-xs font-semibold", children: "Changed Files" }), _jsxs("span", { className: "text-muted-foreground text-[10px]", children: ["(", fileDiffs.length, ")"] })] }) }),
|
|
112
|
+
return (_jsxs("div", { className: "border-border rounded-lg border", children: [_jsx("div", { className: "px-4 py-3", children: _jsxs("div", { className: "mb-2 flex items-center gap-2", children: [_jsx(FileText, { className: "text-muted-foreground h-4 w-4" }), _jsx("span", { className: "text-foreground text-xs font-semibold", children: "Changed Files" }), _jsxs("span", { className: "text-muted-foreground text-[10px]", children: ["(", fileDiffs.length, ")"] })] }) }), _jsxs("div", { className: "border-border border-t", children: [_jsx("div", { className: "py-2", children: _jsx(Tree, { elements: treeElements, initialExpandedItems: topLevelFolderIds, indicator: true, sort: "none", className: "text-xs", children: treeElements.map((element) => (_jsx(FileTreeNode, { element: element, diffMap: diffMap, selectedFile: selectedFile, onSelectFile: handleSelectFile }, element.id))) }) }), selectedDiff && selectedDiff.hunks.length > 0 ? (_jsxs("div", { className: "border-border overflow-x-auto border-t", children: [_jsxs("div", { className: "bg-muted/30 flex items-center gap-2 px-3 py-1.5", children: [_jsx(DiffFileIcon, { status: selectedDiff.status }), _jsx("span", { className: "text-foreground font-mono text-xs", children: selectedDiff.path }), _jsx(DiffStats, { additions: selectedDiff.additions, deletions: selectedDiff.deletions })] }), selectedDiff.hunks.map((hunk) => (_jsx(HunkView, { hunk: hunk }, hunk.header)))] })) : null] })] }));
|
|
30
113
|
}
|
|
@@ -3,7 +3,7 @@ import { DiffView } from './diff-view.js';
|
|
|
3
3
|
declare const meta: Meta<typeof DiffView>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof DiffView>;
|
|
6
|
-
/** Default — multiple files with various change types. */
|
|
6
|
+
/** Default — multiple files with various change types shown in a file tree. */
|
|
7
7
|
export declare const Default: Story;
|
|
8
8
|
/** Single modified file. */
|
|
9
9
|
export declare const SingleFile: Story;
|
|
@@ -15,4 +15,6 @@ export declare const OnlyDeletions: Story;
|
|
|
15
15
|
export declare const RenamedFile: Story;
|
|
16
16
|
/** Empty diff list — renders nothing. */
|
|
17
17
|
export declare const EmptyDiffs: Story;
|
|
18
|
+
/** Root-level files without directory nesting. */
|
|
19
|
+
export declare const RootLevelFiles: Story;
|
|
18
20
|
//# sourceMappingURL=diff-view.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diff-view.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/merge-review/diff-view.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AA2HvC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAuB/B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEvC
|
|
1
|
+
{"version":3,"file":"diff-view.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/merge-review/diff-view.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AA2HvC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAuB/B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEvC,+EAA+E;AAC/E,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,4BAA4B;AAC5B,eAAO,MAAM,UAAU,EAAE,KAIxB,CAAC;AAEF,4BAA4B;AAC5B,eAAO,MAAM,aAAa,EAAE,KAI3B,CAAC;AAEF,0BAA0B;AAC1B,eAAO,MAAM,aAAa,EAAE,KAI3B,CAAC;AAEF,oBAAoB;AACpB,eAAO,MAAM,WAAW,EAAE,KAIzB,CAAC;AAEF,yCAAyC;AACzC,eAAO,MAAM,UAAU,EAAE,KAIxB,CAAC;AAEF,kDAAkD;AAClD,eAAO,MAAM,cAAc,EAAE,KA4B5B,CAAC"}
|
|
@@ -136,7 +136,7 @@ const meta = {
|
|
|
136
136
|
],
|
|
137
137
|
};
|
|
138
138
|
export default meta;
|
|
139
|
-
/** Default — multiple files with various change types. */
|
|
139
|
+
/** Default — multiple files with various change types shown in a file tree. */
|
|
140
140
|
export const Default = {
|
|
141
141
|
args: {
|
|
142
142
|
fileDiffs: sampleFiles,
|
|
@@ -172,3 +172,33 @@ export const EmptyDiffs = {
|
|
|
172
172
|
fileDiffs: [],
|
|
173
173
|
},
|
|
174
174
|
};
|
|
175
|
+
/** Root-level files without directory nesting. */
|
|
176
|
+
export const RootLevelFiles = {
|
|
177
|
+
args: {
|
|
178
|
+
fileDiffs: [
|
|
179
|
+
{
|
|
180
|
+
path: 'package.json',
|
|
181
|
+
additions: 3,
|
|
182
|
+
deletions: 1,
|
|
183
|
+
status: 'modified',
|
|
184
|
+
hunks: [
|
|
185
|
+
{
|
|
186
|
+
header: '@@ -10,3 +10,5 @@',
|
|
187
|
+
lines: [
|
|
188
|
+
{ type: 'context', content: ' "dependencies": {', oldNumber: 10, newNumber: 10 },
|
|
189
|
+
{ type: 'added', content: ' "new-dep": "^1.0.0",', newNumber: 11 },
|
|
190
|
+
{ type: 'context', content: ' }', oldNumber: 11, newNumber: 12 },
|
|
191
|
+
],
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
path: 'README.md',
|
|
197
|
+
additions: 10,
|
|
198
|
+
deletions: 0,
|
|
199
|
+
status: 'modified',
|
|
200
|
+
hunks: [],
|
|
201
|
+
},
|
|
202
|
+
],
|
|
203
|
+
},
|
|
204
|
+
};
|
|
@@ -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
|
@@ -14,7 +14,6 @@ const FLAG_DESCRIPTIONS = {
|
|
|
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
|
-
scheduledWorkflows: 'Enable scheduled workflows — create, schedule, and execute automated workflows on a cron schedule',
|
|
18
17
|
};
|
|
19
18
|
const FLAG_LABELS = {
|
|
20
19
|
skills: 'Skills',
|
|
@@ -23,7 +22,6 @@ const FLAG_LABELS = {
|
|
|
23
22
|
githubImport: 'GitHub Import',
|
|
24
23
|
adoptBranch: 'Adopt Branch',
|
|
25
24
|
reactFileManager: 'React File Manager',
|
|
26
|
-
scheduledWorkflows: 'Scheduled Workflows',
|
|
27
25
|
};
|
|
28
26
|
const FLAG_KEYS = [
|
|
29
27
|
'skills',
|
|
@@ -32,7 +30,6 @@ const FLAG_KEYS = [
|
|
|
32
30
|
'githubImport',
|
|
33
31
|
'adoptBranch',
|
|
34
32
|
'reactFileManager',
|
|
35
|
-
'scheduledWorkflows',
|
|
36
33
|
];
|
|
37
34
|
export function FeatureFlagsSettingsSection({ featureFlags }) {
|
|
38
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"}
|
|
@@ -17,7 +17,6 @@ export const Default = {
|
|
|
17
17
|
githubImport: false,
|
|
18
18
|
adoptBranch: false,
|
|
19
19
|
reactFileManager: false,
|
|
20
|
-
scheduledWorkflows: false,
|
|
21
20
|
},
|
|
22
21
|
},
|
|
23
22
|
};
|
|
@@ -30,7 +29,6 @@ export const AllEnabled = {
|
|
|
30
29
|
githubImport: true,
|
|
31
30
|
adoptBranch: true,
|
|
32
31
|
reactFileManager: true,
|
|
33
|
-
scheduledWorkflows: false,
|
|
34
32
|
},
|
|
35
33
|
},
|
|
36
34
|
};
|
|
@@ -43,7 +41,6 @@ export const AllDisabled = {
|
|
|
43
41
|
githubImport: false,
|
|
44
42
|
adoptBranch: false,
|
|
45
43
|
reactFileManager: false,
|
|
46
|
-
scheduledWorkflows: false,
|
|
47
44
|
},
|
|
48
45
|
},
|
|
49
46
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification-settings-section.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/notification-settings-section.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"notification-settings-section.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/notification-settings-section.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAmBpF,MAAM,WAAW,gCAAgC;IAC/C,aAAa,EAAE,uBAAuB,CAAC;CACxC;AAED,wBAAgB,2BAA2B,CAAC,EAAE,aAAa,EAAE,EAAE,gCAAgC,2CAsH9F"}
|
package/dist/src/presentation/web/components/features/settings/notification-settings-section.js
CHANGED
|
@@ -23,11 +23,6 @@ const PR_EVENT_TOGGLES = [
|
|
|
23
23
|
{ key: 'prChecksFailed', label: 'PR Checks Failed' },
|
|
24
24
|
{ key: 'prBlocked', label: 'PR Blocked' },
|
|
25
25
|
];
|
|
26
|
-
const WORKFLOW_EVENT_TOGGLES = [
|
|
27
|
-
{ key: 'workflowStarted', label: 'Workflow Started' },
|
|
28
|
-
{ key: 'workflowCompleted', label: 'Workflow Completed' },
|
|
29
|
-
{ key: 'workflowFailed', label: 'Workflow Failed' },
|
|
30
|
-
];
|
|
31
26
|
export function NotificationSettingsSection({ notifications }) {
|
|
32
27
|
const [inApp, setInApp] = useState(notifications.inApp.enabled);
|
|
33
28
|
const [events, setEvents] = useState({ ...notifications.events });
|
|
@@ -67,5 +62,5 @@ export function NotificationSettingsSection({ notifications }) {
|
|
|
67
62
|
setEvents(newEvents);
|
|
68
63
|
save(buildFullPayload({ events: newEvents }));
|
|
69
64
|
}
|
|
70
|
-
return (_jsxs(Card, { id: "notifications", className: "scroll-mt-6", "data-testid": "notification-settings-section", children: [_jsxs(CardHeader, { children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(Bell, { className: "text-muted-foreground h-4 w-4" }), _jsx(CardTitle, { children: "Notifications" })] }), isPending ? _jsx("span", { className: "text-muted-foreground text-xs", children: "Saving..." }) : null, showSaved && !isPending ? (_jsxs("span", { className: "flex items-center gap-1 text-xs text-green-600", children: [_jsx(Check, { className: "h-3 w-3" }), "Saved"] })) : null] }), _jsx(CardDescription, { children: "Configure notification channels and event preferences" })] }), _jsxs(CardContent, { className: "space-y-4", children: [_jsxs("div", { className: "space-y-3", children: [_jsx("h3", { className: "text-sm font-semibold", children: "Channels" }), _jsxs("div", { className: "flex items-center justify-between", children: [_jsx(Label, { htmlFor: "notif-in-app", children: "In-App" }), _jsx(Switch, { id: "notif-in-app", "data-testid": "switch-in-app", checked: inApp, onCheckedChange: handleInAppChange })] })] }), _jsx(Separator, {}), _jsxs("div", { className: "space-y-3", children: [_jsx("h3", { className: "text-sm font-semibold", children: "Agent Events" }), AGENT_EVENT_TOGGLES.map(({ key, label }) => (_jsxs("div", { className: "flex items-center justify-between", children: [_jsx(Label, { htmlFor: `notif-event-${key}`, children: label }), _jsx(Switch, { id: `notif-event-${key}`, "data-testid": `switch-event-${key}`, checked: events[key], onCheckedChange: (v) => handleEventChange(key, v) })] }, key)))] }), _jsx(Separator, {}), _jsxs("div", { className: "space-y-3", children: [_jsx("h3", { className: "text-sm font-semibold", children: "PR Events" }), PR_EVENT_TOGGLES.map(({ key, label }) => (_jsxs("div", { className: "flex items-center justify-between", children: [_jsx(Label, { htmlFor: `notif-event-${key}`, children: label }), _jsx(Switch, { id: `notif-event-${key}`, "data-testid": `switch-event-${key}`, checked: events[key], onCheckedChange: (v) => handleEventChange(key, v) })] }, key)))] })
|
|
65
|
+
return (_jsxs(Card, { id: "notifications", className: "scroll-mt-6", "data-testid": "notification-settings-section", children: [_jsxs(CardHeader, { children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(Bell, { className: "text-muted-foreground h-4 w-4" }), _jsx(CardTitle, { children: "Notifications" })] }), isPending ? _jsx("span", { className: "text-muted-foreground text-xs", children: "Saving..." }) : null, showSaved && !isPending ? (_jsxs("span", { className: "flex items-center gap-1 text-xs text-green-600", children: [_jsx(Check, { className: "h-3 w-3" }), "Saved"] })) : null] }), _jsx(CardDescription, { children: "Configure notification channels and event preferences" })] }), _jsxs(CardContent, { className: "space-y-4", children: [_jsxs("div", { className: "space-y-3", children: [_jsx("h3", { className: "text-sm font-semibold", children: "Channels" }), _jsxs("div", { className: "flex items-center justify-between", children: [_jsx(Label, { htmlFor: "notif-in-app", children: "In-App" }), _jsx(Switch, { id: "notif-in-app", "data-testid": "switch-in-app", checked: inApp, onCheckedChange: handleInAppChange })] })] }), _jsx(Separator, {}), _jsxs("div", { className: "space-y-3", children: [_jsx("h3", { className: "text-sm font-semibold", children: "Agent Events" }), AGENT_EVENT_TOGGLES.map(({ key, label }) => (_jsxs("div", { className: "flex items-center justify-between", children: [_jsx(Label, { htmlFor: `notif-event-${key}`, children: label }), _jsx(Switch, { id: `notif-event-${key}`, "data-testid": `switch-event-${key}`, checked: events[key], onCheckedChange: (v) => handleEventChange(key, v) })] }, key)))] }), _jsx(Separator, {}), _jsxs("div", { className: "space-y-3", children: [_jsx("h3", { className: "text-sm font-semibold", children: "PR Events" }), PR_EVENT_TOGGLES.map(({ key, label }) => (_jsxs("div", { className: "flex items-center justify-between", children: [_jsx(Label, { htmlFor: `notif-event-${key}`, children: label }), _jsx(Switch, { id: `notif-event-${key}`, "data-testid": `switch-event-${key}`, checked: events[key], onCheckedChange: (v) => handleEventChange(key, v) })] }, key)))] })] })] }));
|
|
71
66
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification-settings-section.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/notification-settings-section.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAE9E,QAAA,MAAM,IAAI;;;;;;;CAO0C,CAAC;AAErD,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"notification-settings-section.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/notification-settings-section.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAE9E,QAAA,MAAM,IAAI;;;;;;;CAO0C,CAAC;AAErD,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AA8BnC,eAAO,MAAM,OAAO,EAAE,KASrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KASxB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KASzB,CAAC"}
|
|
@@ -20,9 +20,6 @@ const allEvents = {
|
|
|
20
20
|
prChecksPassed: true,
|
|
21
21
|
prChecksFailed: true,
|
|
22
22
|
prBlocked: true,
|
|
23
|
-
workflowStarted: true,
|
|
24
|
-
workflowCompleted: true,
|
|
25
|
-
workflowFailed: true,
|
|
26
23
|
};
|
|
27
24
|
const noEvents = {
|
|
28
25
|
agentStarted: false,
|
|
@@ -36,9 +33,6 @@ const noEvents = {
|
|
|
36
33
|
prChecksPassed: false,
|
|
37
34
|
prChecksFailed: false,
|
|
38
35
|
prBlocked: false,
|
|
39
|
-
workflowStarted: false,
|
|
40
|
-
workflowCompleted: false,
|
|
41
|
-
workflowFailed: false,
|
|
42
36
|
};
|
|
43
37
|
export const Default = {
|
|
44
38
|
args: {
|
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,2CAgpCzB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useTransition, useRef, useEffect, useCallback } from 'react';
|
|
4
4
|
import { Check, Bot, Terminal, GitBranch, Activity, Bell, Flag, Database, Minus, Plus, ExternalLink, Settings2, Timer, } from 'lucide-react';
|
|
5
5
|
import { toast } from 'sonner';
|
|
@@ -122,7 +122,6 @@ export function SettingsPageClient({ settings, shepHome, dbFileSize, availableTe
|
|
|
122
122
|
githubImport: false,
|
|
123
123
|
adoptBranch: false,
|
|
124
124
|
reactFileManager: false,
|
|
125
|
-
scheduledWorkflows: false,
|
|
126
125
|
};
|
|
127
126
|
// Agent state
|
|
128
127
|
const [agentType, setAgentType] = useState(settings.agent.type);
|
|
@@ -473,19 +472,7 @@ export function SettingsPageClient({ settings, shepHome, dbFileSize, availableTe
|
|
|
473
472
|
const newEvents = { ...events, mergeReviewReady: v };
|
|
474
473
|
setEvents(newEvents);
|
|
475
474
|
save(buildNotificationPayload({ events: newEvents }));
|
|
476
|
-
} })
|
|
477
|
-
const newEvents = { ...events, workflowStarted: v };
|
|
478
|
-
setEvents(newEvents);
|
|
479
|
-
save(buildNotificationPayload({ events: newEvents }));
|
|
480
|
-
} }), _jsx(SwitchRow, { label: "Workflow completed", id: "notif-event-workflowCompleted", testId: "switch-event-workflowCompleted", checked: events.workflowCompleted, onChange: (v) => {
|
|
481
|
-
const newEvents = { ...events, workflowCompleted: v };
|
|
482
|
-
setEvents(newEvents);
|
|
483
|
-
save(buildNotificationPayload({ events: newEvents }));
|
|
484
|
-
} }), _jsx(SwitchRow, { label: "Workflow failed", id: "notif-event-workflowFailed", testId: "switch-event-workflowFailed", checked: events.workflowFailed, onChange: (v) => {
|
|
485
|
-
const newEvents = { ...events, workflowFailed: v };
|
|
486
|
-
setEvents(newEvents);
|
|
487
|
-
save(buildNotificationPayload({ events: newEvents }));
|
|
488
|
-
} })] })) : null] }), _jsx(SectionHint, { links: [
|
|
475
|
+
} })] }), _jsx(SectionHint, { links: [
|
|
489
476
|
{
|
|
490
477
|
label: 'Notification system',
|
|
491
478
|
href: 'https://github.com/shep-ai/cli/blob/main/specs/021-agent-notifications/spec.yaml',
|
|
@@ -514,10 +501,6 @@ export function SettingsPageClient({ settings, shepHome, dbFileSize, availableTe
|
|
|
514
501
|
const newFlags = { ...flags, reactFileManager: v };
|
|
515
502
|
setFlags(newFlags);
|
|
516
503
|
save({ featureFlags: newFlags });
|
|
517
|
-
} }), _jsx(SwitchRow, { label: "Scheduled Workflows", description: "Enable scheduled workflows \u2014 create, schedule, and execute automated workflows on a cron schedule", id: "flag-scheduledWorkflows", testId: "switch-flag-scheduledWorkflows", checked: flags.scheduledWorkflows, onChange: (v) => {
|
|
518
|
-
const newFlags = { ...flags, scheduledWorkflows: v };
|
|
519
|
-
setFlags(newFlags);
|
|
520
|
-
save({ featureFlags: newFlags });
|
|
521
504
|
} })] }), _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: [
|
|
522
505
|
{
|
|
523
506
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-sidebar.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/layouts/app-sidebar/app-sidebar.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAG/E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,aAAa,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,YAAY,EAAE,iBAAiB,CAAC;IAEhC,cAAc,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C;AAED,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,YAAY,EAEZ,cAAc,GACf,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"app-sidebar.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/layouts/app-sidebar/app-sidebar.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAG/E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,aAAa,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,YAAY,EAAE,iBAAiB,CAAC;IAEhC,cAAc,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C;AAED,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,YAAY,EAEZ,cAAc,GACf,EAAE,eAAe,2CAgHjB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { usePathname } from 'next/navigation';
|
|
4
|
-
import { Home, Wrench, Puzzle,
|
|
4
|
+
import { Home, Wrench, Puzzle, Settings } from 'lucide-react';
|
|
5
5
|
import { Sidebar, SidebarHeader, SidebarContent, SidebarMenu, SidebarMenuItem, SidebarRail, useSidebar, } from '../../ui/sidebar.js';
|
|
6
6
|
import { ScrollArea } from '../../ui/scroll-area.js';
|
|
7
7
|
import { SidebarNavItem } from '../../common/sidebar-nav-item/index.js';
|
|
@@ -29,7 +29,7 @@ export function AppSidebar({ features, featureFlags, onFeatureClick, }) {
|
|
|
29
29
|
'flex min-w-0 flex-1 items-center gap-2 overflow-hidden px-2',
|
|
30
30
|
'transition-opacity duration-200 ease-out',
|
|
31
31
|
expandedVisible ? 'opacity-100' : 'opacity-0',
|
|
32
|
-
].join(' '), "aria-hidden": !expandedVisible, children: [_jsx(ShepLogo, { className: "shrink-0", size: 20, variant: versionData.isDev ? 'dev' : 'default' }), _jsx("span", { className: "truncate text-sm font-semibold tracking-tight", children: "Shep" }), _jsx(VersionBadge, { version: versionData.version, branch: versionData.branch || undefined, commitHash: versionData.commitHash || undefined, isDev: versionData.isDev, packageName: versionData.packageName, description: versionData.description, instancePath: versionData.instancePath || undefined })] })) : null, _jsx(SidebarCollapseToggle, { className: "shrink-0 transition-all duration-200" })] }) }), _jsx(SidebarNavItem, { icon: Home, label: "Control Center", href: "/", active: pathname === '/' }), _jsx(SidebarNavItem, { icon: Wrench, label: "Tools", href: "/tools", active: pathname === '/tools' }), featureFlags.skills ? (_jsx(SidebarNavItem, { icon: Puzzle, label: "Skills", href: "/skills", active: pathname === '/skills' })) : null,
|
|
32
|
+
].join(' '), "aria-hidden": !expandedVisible, children: [_jsx(ShepLogo, { className: "shrink-0", size: 20, variant: versionData.isDev ? 'dev' : 'default' }), _jsx("span", { className: "truncate text-sm font-semibold tracking-tight", children: "Shep" }), _jsx(VersionBadge, { version: versionData.version, branch: versionData.branch || undefined, commitHash: versionData.commitHash || undefined, isDev: versionData.isDev, packageName: versionData.packageName, description: versionData.description, instancePath: versionData.instancePath || undefined })] })) : null, _jsx(SidebarCollapseToggle, { className: "shrink-0 transition-all duration-200" })] }) }), _jsx(SidebarNavItem, { icon: Home, label: "Control Center", href: "/", active: pathname === '/' }), _jsx(SidebarNavItem, { icon: Wrench, label: "Tools", href: "/tools", active: pathname === '/tools' }), featureFlags.skills ? (_jsx(SidebarNavItem, { icon: Puzzle, label: "Skills", href: "/skills", active: pathname === '/skills' })) : null, _jsx(SidebarNavItem, { icon: Settings, label: "Settings", href: "/settings", active: pathname === '/settings' })] }) }), _jsx(SidebarContent, { children: showExpanded ? (_jsxs("div", { className: [
|
|
33
33
|
'min-w-0 overflow-hidden transition-opacity duration-200 ease-out',
|
|
34
34
|
'[&_[data-sidebar=group-label]]:!mt-0 [&_[data-sidebar=group-label]]:!opacity-100 [&_[data-sidebar=group-label]]:!transition-none',
|
|
35
35
|
expandedVisible ? 'opacity-100' : 'opacity-0',
|
package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-sidebar.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"app-sidebar.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAe3C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAyBjC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAmDnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAIlC,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAOvB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAInB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAiB3B,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Accordion as AccordionPrimitive } from 'radix-ui';
|
|
3
|
+
interface TreeViewElement {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
type?: 'file' | 'folder';
|
|
7
|
+
isSelectable?: boolean;
|
|
8
|
+
children?: TreeViewElement[];
|
|
9
|
+
}
|
|
10
|
+
type TreeSortMode = 'default' | 'none' | ((a: TreeViewElement, b: TreeViewElement) => number);
|
|
11
|
+
declare const Tree: React.ForwardRefExoticComponent<{
|
|
12
|
+
initialSelectedId?: string;
|
|
13
|
+
indicator?: boolean;
|
|
14
|
+
elements?: TreeViewElement[];
|
|
15
|
+
initialExpandedItems?: string[];
|
|
16
|
+
openIcon?: React.ReactNode;
|
|
17
|
+
closeIcon?: React.ReactNode;
|
|
18
|
+
sort?: TreeSortMode;
|
|
19
|
+
} & Omit<Omit<AccordionPrimitive.AccordionSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<AccordionPrimitive.AccordionMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">, "type" | "value" | "defaultValue" | "onValueChange"> & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
declare const Folder: React.ForwardRefExoticComponent<{
|
|
21
|
+
expandedItems?: string[];
|
|
22
|
+
element: string;
|
|
23
|
+
isSelectable?: boolean;
|
|
24
|
+
isSelect?: boolean;
|
|
25
|
+
} & Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
26
|
+
declare const File: React.ForwardRefExoticComponent<{
|
|
27
|
+
value: string;
|
|
28
|
+
handleSelect?: (id: string) => void;
|
|
29
|
+
isSelectable?: boolean;
|
|
30
|
+
isSelect?: boolean;
|
|
31
|
+
fileIcon?: React.ReactNode;
|
|
32
|
+
} & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
33
|
+
declare const CollapseButton: React.ForwardRefExoticComponent<{
|
|
34
|
+
elements: TreeViewElement[];
|
|
35
|
+
expandAll?: boolean;
|
|
36
|
+
} & React.HTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
37
|
+
export { CollapseButton, File, Folder, Tree, type TreeViewElement };
|
|
38
|
+
export type { TreeSortMode };
|
|
39
|
+
//# sourceMappingURL=file-tree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-tree.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/components/ui/file-tree.tsx"],"names":[],"mappings":"AAEA,OAAO,KAON,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,SAAS,IAAI,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAO3D,UAAU,eAAe;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,eAAe,EAAE,CAAC;CAC9B;AAED,KAAK,YAAY,GAAG,SAAS,GAAG,MAAM,GAAG,CAAC,CAAC,CAAC,EAAE,eAAe,EAAE,CAAC,EAAE,eAAe,KAAK,MAAM,CAAC,CAAC;AAsH9F,QAAA,MAAM,IAAI;wBAZY,MAAM;gBACd,OAAO;eACR,eAAe,EAAE;2BACL,MAAM,EAAE;eACpB,KAAK,CAAC,SAAS;gBACd,KAAK,CAAC,SAAS;WACpB,YAAY;+RA4GpB,CAAC;AA+BF,QAAA,MAAM,MAAM;oBANM,MAAM,EAAE;aACf,MAAM;mBACA,OAAO;eACX,OAAO;0KAuDnB,CAAC;AAIF,QAAA,MAAM,IAAI;WAGC,MAAM;mBACE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI;mBACpB,OAAO;eACX,OAAO;eACP,KAAK,CAAC,SAAS;2FA6C7B,CAAC;AAIF,QAAA,MAAM,cAAc;cAGN,eAAe,EAAE;gBACf,OAAO;qFAmDrB,CAAC;AAIH,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,eAAe,EAAE,CAAC;AACpE,YAAY,EAAE,YAAY,EAAE,CAAC"}
|