@shepai/cli 1.183.0-pr527.80e6e27 → 1.183.0-pr553.cd3d150
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/README.md +1 -0
- package/apis/json-schema/FeatureFlags.yaml +0 -5
- package/apis/json-schema/Settings.yaml +0 -3
- package/dist/packages/core/src/application/ports/output/agents/agent-executor.interface.d.ts +1 -15
- package/dist/packages/core/src/application/ports/output/agents/agent-executor.interface.d.ts.map +1 -1
- package/dist/packages/core/src/application/ports/output/agents/feature-agent-process.interface.d.ts +1 -3
- package/dist/packages/core/src/application/ports/output/agents/feature-agent-process.interface.d.ts.map +1 -1
- package/dist/packages/core/src/application/ports/output/services/github-repository-service.interface.d.ts +0 -38
- package/dist/packages/core/src/application/ports/output/services/github-repository-service.interface.d.ts.map +1 -1
- package/dist/packages/core/src/application/ports/output/services/github-repository-service.interface.js +0 -9
- package/dist/packages/core/src/application/ports/output/services/spec-initializer.interface.d.ts +0 -11
- package/dist/packages/core/src/application/ports/output/services/spec-initializer.interface.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/agents/approve-agent-run.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/agents/approve-agent-run.use-case.js +0 -2
- package/dist/packages/core/src/application/use-cases/agents/reject-agent-run.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/agents/reject-agent-run.use-case.js +0 -2
- package/dist/packages/core/src/application/use-cases/features/check-and-unblock-features.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/features/check-and-unblock-features.use-case.js +0 -2
- package/dist/packages/core/src/application/use-cases/features/create/create-feature.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/features/create/create-feature.use-case.js +0 -1
- package/dist/packages/core/src/application/use-cases/features/resume-feature.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/features/resume-feature.use-case.js +0 -2
- package/dist/packages/core/src/application/use-cases/features/start-feature.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/features/start-feature.use-case.js +0 -2
- package/dist/packages/core/src/domain/factories/settings-defaults.factory.d.ts.map +1 -1
- package/dist/packages/core/src/domain/factories/settings-defaults.factory.js +1 -6
- package/dist/packages/core/src/domain/generated/output.d.ts +0 -263
- package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
- package/dist/packages/core/src/domain/generated/output.js +0 -43
- package/dist/packages/core/src/infrastructure/di/container.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/di/container.js +0 -57
- 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 -17
- package/dist/packages/core/src/infrastructure/repositories/sqlite-settings.repository.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/repositories/sqlite-settings.repository.js +3 -15
- package/dist/packages/core/src/infrastructure/services/agents/common/executors/claude-code-executor.service.d.ts +0 -2
- package/dist/packages/core/src/infrastructure/services/agents/common/executors/claude-code-executor.service.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/common/executors/claude-code-executor.service.js +0 -12
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/fast-feature-agent-graph.d.ts +0 -10
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/fast-feature-agent-graph.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts +0 -34
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.d.ts +1 -3
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.js +1 -7
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.d.ts +1 -3
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.js +1 -32
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.js +0 -25
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.d.ts +1 -4
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.js +0 -10
- package/dist/packages/core/src/infrastructure/services/external/github-repository.service.d.ts +1 -10
- package/dist/packages/core/src/infrastructure/services/external/github-repository.service.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/external/github-repository.service.js +1 -101
- package/dist/packages/core/src/infrastructure/services/spec/spec-initializer.service.d.ts +0 -1
- package/dist/packages/core/src/infrastructure/services/spec/spec-initializer.service.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/spec/spec-initializer.service.js +0 -61
- package/dist/src/presentation/cli/index.js +0 -2
- 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 +1 -5
- package/dist/src/presentation/web/app/build-graph-nodes.d.ts +1 -3
- package/dist/src/presentation/web/app/build-graph-nodes.d.ts.map +1 -1
- package/dist/src/presentation/web/app/build-graph-nodes.js +0 -2
- package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts +1 -3
- package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-node/feature-node.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-node/feature-node.js +1 -2
- package/dist/src/presentation/web/components/common/repository-node/repository-drawer.d.ts +1 -3
- 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 +2 -3
- package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.js +3 -3
- 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/settings-page-client.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/settings-page-client.js +7 -26
- 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/translations/ar/cli.json +0 -21
- package/dist/translations/ar/web.json +1 -43
- package/dist/translations/de/cli.json +0 -21
- package/dist/translations/de/web.json +1 -43
- package/dist/translations/en/cli.json +0 -21
- package/dist/translations/en/web.json +1 -43
- package/dist/translations/es/cli.json +0 -21
- package/dist/translations/es/web.json +1 -43
- package/dist/translations/fr/cli.json +0 -21
- package/dist/translations/fr/web.json +1 -43
- package/dist/translations/he/cli.json +0 -21
- package/dist/translations/he/web.json +1 -43
- package/dist/translations/pt/cli.json +1 -22
- package/dist/translations/pt/web.json +1 -43
- package/dist/translations/ru/cli.json +0 -21
- package/dist/translations/ru/web.json +1 -43
- package/dist/translations/uk/cli.json +0 -21
- package/dist/translations/uk/web.json +1 -43
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/web/.next/BUILD_ID +1 -1
- 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/server/app/(dashboard)/@drawer/adopt/page/server-reference-manifest.json +32 -32
- 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/chat/page/server-reference-manifest.json +30 -30
- package/web/.next/server/app/(dashboard)/@drawer/chat/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/chat/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +33 -33
- 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 +41 -41
- 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 +41 -41
- 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]/[tab]/page/server-reference-manifest.json +31 -31
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +31 -31
- 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)/chat/page/server-reference-manifest.json +30 -30
- package/web/.next/server/app/(dashboard)/chat/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +33 -33
- 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 +41 -41
- 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 +41 -41
- 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 +30 -30
- 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]/[tab]/page/server-reference-manifest.json +31 -31
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +31 -31
- 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 +7 -7
- package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/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/graph-data/route.js.nft.json +1 -1
- package/web/.next/server/app/api/interactive/chat/[featureId]/messages/route.js.nft.json +1 -1
- package/web/.next/server/app/api/sessions/route.js.nft.json +1 -1
- package/web/.next/server/app/api/sessions-batch/route.js.nft.json +1 -1
- package/web/.next/server/app/application/[id]/page/server-reference-manifest.json +16 -16
- package/web/.next/server/app/application/[id]/page.js.nft.json +1 -1
- package/web/.next/server/app/application/[id]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/applications/page/server-reference-manifest.json +15 -15
- package/web/.next/server/app/applications/page.js.nft.json +1 -1
- package/web/.next/server/app/applications/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/features/page/server-reference-manifest.json +7 -7
- package/web/.next/server/app/features/page.js.nft.json +1 -1
- package/web/.next/server/app/features/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/settings/page/server-reference-manifest.json +20 -35
- 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/server-reference-manifest.json +15 -15
- 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 +13 -13
- 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 +7 -7
- package/web/.next/server/app/version/page.js.nft.json +1 -1
- package/web/.next/server/app/version/page_client-reference-manifest.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__10e976f3._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__84fede21._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__84fede21._.js.map +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__aabea727._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__aabea727._.js.map +1 -1
- package/web/.next/server/chunks/d9f3b_next_dist_esm_build_templates_app-route_fc401c5d.js +1 -1
- package/web/.next/server/chunks/d9f3b_next_dist_esm_build_templates_app-route_fc401c5d.js.map +1 -1
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_4f9eef62.js +1 -1
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_4f9eef62.js.map +1 -1
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_chat_page_actions_ffa16a22.js +1 -1
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_chat_page_actions_ffa16a22.js.map +1 -1
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_chat_page_actions_a1a998f9.js +1 -1
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_chat_page_actions_a1a998f9.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/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js +2 -2
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/744ca_web_components_features_applications_applications-page-client_tsx_d0db9938._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__288ffaa6._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__288ffaa6._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__4101a4a8._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__4101a4a8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__538580df._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__538580df._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__5c5de261._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__5c5de261._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__638955bc._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a9255c9a._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a9255c9a._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__ac9ab3c5._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__ac9ab3c5._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__b88acc3c._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__b88acc3c._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c3d233f3._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c3d233f3._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c6dba2b8._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c6dba2b8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__eacd32e9._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__eacd32e9._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__ef0b8905._.js +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__ef0b8905._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__f94e4165._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__f94e4165._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__ff5a5243._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__ff5a5243._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_bb029ee1._.js → _06fde7cf._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_bb029ee1._.js.map → _06fde7cf._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_22d60ea8._.js +3 -0
- package/web/.next/server/chunks/ssr/_22d60ea8._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_33a243dd._.js +1 -1
- package/web/.next/server/chunks/ssr/_33a243dd._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_88a1b163._.js → _4b57bcc3._.js} +2 -2
- package/web/.next/server/chunks/ssr/_4b57bcc3._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_519d77a9._.js +1 -1
- package/web/.next/server/chunks/ssr/_519d77a9._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_56b9d60f._.js +1 -1
- package/web/.next/server/chunks/ssr/_56b9d60f._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_5b868d9b._.js +1 -1
- package/web/.next/server/chunks/ssr/_5b868d9b._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_615e07af._.js +3 -0
- package/web/.next/server/chunks/ssr/_615e07af._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{_700b8ec9._.js → _64d1b6ab._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_700b8ec9._.js.map → _64d1b6ab._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_6b254164._.js +1 -1
- package/web/.next/server/chunks/ssr/_6b254164._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_72cc0c05._.js +1 -1
- package/web/.next/server/chunks/ssr/_72cc0c05._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_ac5961de._.js → _87fc28df._.js} +2 -2
- package/web/.next/server/chunks/ssr/_87fc28df._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{_59563ac1._.js → _8b845c2a._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_59563ac1._.js.map → _8b845c2a._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_8e101e0b._.js +2 -2
- package/web/.next/server/chunks/ssr/_8e101e0b._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_dfbeab70._.js +3 -0
- package/web/.next/server/chunks/ssr/_dfbeab70._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_e65abbd1._.js +1 -1
- package/web/.next/server/chunks/ssr/_e65abbd1._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_f86fc1bf._.js +1 -1
- package/web/.next/server/chunks/ssr/_f86fc1bf._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_fc778d22._.js +3 -0
- package/web/.next/server/chunks/ssr/_fc778d22._.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/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js +1 -1
- package/web/.next/server/chunks/ssr/{node_modules__pnpm_9ac649c1._.js → node_modules__pnpm_28a53b5d._.js} +2 -2
- package/web/.next/server/chunks/ssr/{node_modules__pnpm_9ac649c1._.js.map → node_modules__pnpm_28a53b5d._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_47181610._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_47181610._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_5d3f4199._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_5d3f4199._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_6159fef8._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_6159fef8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_61d96ba8._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_61d96ba8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_6994959a._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_6994959a._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_77dadf68._.js +3 -3
- package/web/.next/server/chunks/ssr/src_presentation_web_77dadf68._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_9a543843._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_9a543843._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_c3f6f57e.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_c3f6f57e.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_ad42cc73._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_ad42cc73._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_8514dfcd._.js +3 -3
- package/web/.next/server/chunks/ssr/src_presentation_web_b95ed206._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_b95ed206._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_bade80bd._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_bade80bd._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_c543cf3e._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_c543cf3e._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_common_base-drawer_base-drawer_tsx_97dfbbc8._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_common_base-drawer_base-drawer_tsx_97dfbbc8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_skills_8a174cac._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_skills_8a174cac._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_db9fa0c2._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_db9fa0c2._.js.map +1 -1
- package/web/.next/server/chunks/ssr/translations_1562ae1a._.js +1 -1
- package/web/.next/server/chunks/ssr/translations_1562ae1a._.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 +64 -79
- package/web/.next/static/chunks/{61201f0a38dc6784.js → 04c38e109dd4d082.js} +2 -2
- package/web/.next/static/chunks/{ded36f5739e4a4e1.js → 0658b69414ca5ecc.js} +1 -1
- package/web/.next/static/chunks/{03f93b2842ca688b.js → 1a0d47b7acf662f8.js} +2 -2
- package/web/.next/static/chunks/2cbe80f8e84d59a8.js +1 -0
- package/web/.next/static/chunks/{fcf7327eb2731905.js → 302c86aa96dcbacc.js} +1 -1
- package/web/.next/static/chunks/31f0d4fdd800c3ec.js +1 -0
- package/web/.next/static/chunks/36d968c44c52dccd.js +1 -0
- package/web/.next/static/chunks/3a6eedce30387a65.js +1 -0
- package/web/.next/static/chunks/{69bb98258075326f.js → 4ac64eaceef16292.js} +1 -1
- package/web/.next/static/chunks/{6be5713bee484a88.js → 4d7751c92a531b4c.js} +1 -1
- package/web/.next/static/chunks/{776acfd9be35f7b8.js → 4f4945ed1c4b793f.js} +3 -3
- package/web/.next/static/chunks/{c31dd6ed2546ed02.js → 7aaf68f557255f3d.js} +1 -1
- package/web/.next/static/chunks/81345b1f79dad8ea.js +1 -0
- package/web/.next/static/chunks/81b02c44e71de1ec.css +1 -0
- package/web/.next/static/chunks/91548fae41232f24.js +1 -0
- package/web/.next/static/chunks/930ceb2e741b0343.js +1 -0
- package/web/.next/static/chunks/9619faa56afb8dee.js +1 -0
- package/web/.next/static/chunks/{c47be6406b8c0053.js → 966f57938829b729.js} +1 -1
- package/web/.next/static/chunks/{dd5877dbb207f4ba.js → 97a6e70bf3c1e782.js} +1 -1
- package/web/.next/static/chunks/{5cb969096639b8db.js → 9a6c59ac77000a57.js} +1 -1
- package/web/.next/static/chunks/9aea22f126886a4a.js +7 -0
- package/web/.next/static/chunks/{aa792ef5139df0ab.js → a19c77561ecb59d0.js} +1 -1
- package/web/.next/static/chunks/c0a3918240432e6f.js +1 -0
- package/web/.next/static/chunks/{14ccadfe528de126.js → c9dde6d26ec1357f.js} +1 -1
- package/web/.next/static/chunks/e9e5cb9172ef1908.js +5 -0
- package/web/.next/static/chunks/f89f13e73f1306e0.js +1 -0
- package/apis/json-schema/ActionDispositionEntry.yaml +0 -14
- package/apis/json-schema/DependencyFinding.yaml +0 -28
- package/apis/json-schema/DependencyRiskType.yaml +0 -11
- package/apis/json-schema/DependencyRules.yaml +0 -38
- package/apis/json-schema/EffectivePolicySnapshot.yaml +0 -24
- package/apis/json-schema/ReleaseIntegrityCheck.yaml +0 -22
- package/apis/json-schema/ReleaseIntegrityCheckType.yaml +0 -9
- package/apis/json-schema/ReleaseIntegrityResult.yaml +0 -16
- package/apis/json-schema/ReleaseRules.yaml +0 -21
- package/apis/json-schema/SecurityActionCategory.yaml +0 -10
- package/apis/json-schema/SecurityActionDisposition.yaml +0 -8
- package/apis/json-schema/SecurityConfig.yaml +0 -17
- package/apis/json-schema/SecurityEvent.yaml +0 -36
- package/apis/json-schema/SecurityMode.yaml +0 -8
- package/apis/json-schema/SecurityPolicy.yaml +0 -24
- package/apis/json-schema/SecuritySeverity.yaml +0 -9
- package/dist/packages/core/src/application/ports/output/repositories/security-event.repository.interface.d.ts +0 -76
- package/dist/packages/core/src/application/ports/output/repositories/security-event.repository.interface.d.ts.map +0 -1
- package/dist/packages/core/src/application/ports/output/repositories/security-event.repository.interface.js +0 -11
- package/dist/packages/core/src/application/ports/output/services/security-policy-service.interface.d.ts +0 -77
- package/dist/packages/core/src/application/ports/output/services/security-policy-service.interface.d.ts.map +0 -1
- package/dist/packages/core/src/application/ports/output/services/security-policy-service.interface.js +0 -13
- package/dist/packages/core/src/application/use-cases/security/enforce-security.use-case.d.ts +0 -71
- package/dist/packages/core/src/application/use-cases/security/enforce-security.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/security/enforce-security.use-case.js +0 -215
- package/dist/packages/core/src/application/use-cases/security/evaluate-security-policy.use-case.d.ts +0 -24
- package/dist/packages/core/src/application/use-cases/security/evaluate-security-policy.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/security/evaluate-security-policy.use-case.js +0 -56
- package/dist/packages/core/src/application/use-cases/security/get-security-state.use-case.d.ts +0 -36
- package/dist/packages/core/src/application/use-cases/security/get-security-state.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/security/get-security-state.use-case.js +0 -76
- package/dist/packages/core/src/application/use-cases/security/record-security-event.use-case.d.ts +0 -14
- package/dist/packages/core/src/application/use-cases/security/record-security-event.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/security/record-security-event.use-case.js +0 -46
- package/dist/packages/core/src/domain/errors/security-violation.error.d.ts +0 -15
- package/dist/packages/core/src/domain/errors/security-violation.error.d.ts.map +0 -1
- package/dist/packages/core/src/domain/errors/security-violation.error.js +0 -20
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/security-event.mapper.d.ts +0 -44
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/security-event.mapper.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/security-event.mapper.js +0 -55
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-security-settings-columns.d.ts +0 -18
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-security-settings-columns.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-security-settings-columns.js +0 -31
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/054-create-security-events-table.d.ts +0 -29
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/054-create-security-events-table.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/054-create-security-events-table.js +0 -53
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/056-add-feature-flag-supply-chain-security.d.ts +0 -16
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/056-add-feature-flag-supply-chain-security.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/056-add-feature-flag-supply-chain-security.js +0 -22
- package/dist/packages/core/src/infrastructure/repositories/sqlite-security-event.repository.d.ts +0 -24
- package/dist/packages/core/src/infrastructure/repositories/sqlite-security-event.repository.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/repositories/sqlite-security-event.repository.js +0 -96
- package/dist/packages/core/src/infrastructure/services/agents/common/executors/security-constraint-validator.d.ts +0 -22
- package/dist/packages/core/src/infrastructure/services/agents/common/executors/security-constraint-validator.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/agents/common/executors/security-constraint-validator.js +0 -30
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/security-pre-check.d.ts +0 -59
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/security-pre-check.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/security-pre-check.js +0 -89
- package/dist/packages/core/src/infrastructure/services/security/dependency-risk-evaluator.d.ts +0 -53
- package/dist/packages/core/src/infrastructure/services/security/dependency-risk-evaluator.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/security/dependency-risk-evaluator.js +0 -241
- package/dist/packages/core/src/infrastructure/services/security/release-integrity-evaluator.d.ts +0 -44
- package/dist/packages/core/src/infrastructure/services/security/release-integrity-evaluator.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/security/release-integrity-evaluator.js +0 -194
- package/dist/packages/core/src/infrastructure/services/security/security-policy-file-reader.d.ts +0 -28
- package/dist/packages/core/src/infrastructure/services/security/security-policy-file-reader.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/security/security-policy-file-reader.js +0 -50
- package/dist/packages/core/src/infrastructure/services/security/security-policy-validator.d.ts +0 -26
- package/dist/packages/core/src/infrastructure/services/security/security-policy-validator.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/security/security-policy-validator.js +0 -147
- package/dist/packages/core/src/infrastructure/services/security/security-policy.service.d.ts +0 -44
- package/dist/packages/core/src/infrastructure/services/security/security-policy.service.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/security/security-policy.service.js +0 -174
- package/dist/src/presentation/cli/commands/security.command.d.ts +0 -16
- package/dist/src/presentation/cli/commands/security.command.d.ts.map +0 -1
- package/dist/src/presentation/cli/commands/security.command.js +0 -133
- package/dist/src/presentation/web/app/actions/security.d.ts +0 -28
- package/dist/src/presentation/web/app/actions/security.d.ts.map +0 -1
- package/dist/src/presentation/web/app/actions/security.js +0 -59
- package/dist/src/presentation/web/components/common/repository-node/security-panel.d.ts +0 -6
- package/dist/src/presentation/web/components/common/repository-node/security-panel.d.ts.map +0 -1
- package/dist/src/presentation/web/components/common/repository-node/security-panel.js +0 -29
- package/dist/src/presentation/web/components/common/repository-node/security-panel.stories.d.ts +0 -10
- package/dist/src/presentation/web/components/common/repository-node/security-panel.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/common/repository-node/security-panel.stories.js +0 -53
- package/dist/src/presentation/web/components/common/security-badge.d.ts +0 -7
- package/dist/src/presentation/web/components/common/security-badge.d.ts.map +0 -1
- package/dist/src/presentation/web/components/common/security-badge.js +0 -30
- package/dist/src/presentation/web/components/common/security-badge.stories.d.ts +0 -12
- package/dist/src/presentation/web/components/common/security-badge.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/common/security-badge.stories.js +0 -20
- package/dist/src/presentation/web/components/features/settings/supply-chain-security-settings-section.d.ts +0 -6
- package/dist/src/presentation/web/components/features/settings/supply-chain-security-settings-section.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/settings/supply-chain-security-settings-section.js +0 -60
- package/dist/src/presentation/web/components/features/settings/supply-chain-security-settings-section.stories.d.ts +0 -14
- package/dist/src/presentation/web/components/features/settings/supply-chain-security-settings-section.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/settings/supply-chain-security-settings-section.stories.js +0 -116
- package/web/.next/server/chunks/ssr/[root-of-the-server]__81a09b67._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__81a09b67._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c21d1dbd._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c21d1dbd._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_4fe617d4._.js +0 -3
- package/web/.next/server/chunks/ssr/_4fe617d4._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_6bb86205._.js +0 -3
- package/web/.next/server/chunks/ssr/_6bb86205._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_88a1b163._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_a54e0548._.js +0 -3
- package/web/.next/server/chunks/ssr/_a54e0548._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_ac5961de._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_f8c78107._.js +0 -3
- package/web/.next/server/chunks/ssr/_f8c78107._.js.map +0 -1
- package/web/.next/static/chunks/04dacffc25b1aeca.js +0 -1
- package/web/.next/static/chunks/12d22b6a19665808.js +0 -1
- package/web/.next/static/chunks/1d538b66f81665fc.js +0 -1
- package/web/.next/static/chunks/23fab49df408d779.js +0 -1
- package/web/.next/static/chunks/6264451e0550022f.js +0 -7
- package/web/.next/static/chunks/7260582ee8e58549.js +0 -1
- package/web/.next/static/chunks/769f6939e7a4698a.js +0 -1
- package/web/.next/static/chunks/7851e1a90ca04c06.js +0 -1
- package/web/.next/static/chunks/84c1ad7ae5fc042d.js +0 -1
- package/web/.next/static/chunks/8d1446e71ffa2ed7.js +0 -5
- package/web/.next/static/chunks/cd8143002baa074e.js +0 -1
- package/web/.next/static/chunks/f0c985090f51835b.css +0 -1
- package/web/.next/static/chunks/f4ff691fdf16fb25.js +0 -1
- /package/web/.next/static/{Ed9rVk6pcfyq98DN_pOrK → s9Tl6ka-fGtxB11GslSv7}/_buildManifest.js +0 -0
- /package/web/.next/static/{Ed9rVk6pcfyq98DN_pOrK → s9Tl6ka-fGtxB11GslSv7}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{Ed9rVk6pcfyq98DN_pOrK → s9Tl6ka-fGtxB11GslSv7}/_ssgManifest.js +0 -0
|
@@ -67,16 +67,13 @@ let SQLiteSettingsRepository = class SQLiteSettingsRepository {
|
|
|
67
67
|
feature_flag_skills, feature_flag_env_deploy, feature_flag_debug, feature_flag_github_import, feature_flag_adopt_branch, feature_flag_git_rebase_sync,
|
|
68
68
|
feature_flag_react_file_manager,
|
|
69
69
|
feature_flag_inventory,
|
|
70
|
-
feature_flag_supply_chain_security,
|
|
71
70
|
workflow_enable_evidence, workflow_commit_evidence,
|
|
72
71
|
hide_ci_status, default_fast_mode,
|
|
73
72
|
interactive_agent_enabled, interactive_agent_auto_timeout_minutes,
|
|
74
73
|
interactive_agent_max_concurrent_sessions,
|
|
75
74
|
auto_archive_delay_minutes,
|
|
76
75
|
stage_timeout_fast_implement_ms,
|
|
77
|
-
fab_position_swapped
|
|
78
|
-
skill_injection_enabled, skill_injection_skills,
|
|
79
|
-
security_mode, security_last_evaluation_at, security_policy_source
|
|
76
|
+
fab_position_swapped
|
|
80
77
|
) VALUES (
|
|
81
78
|
@id, @created_at, @updated_at,
|
|
82
79
|
@model_analyze, @model_requirements, @model_plan, @model_implement, @model_default,
|
|
@@ -102,16 +99,13 @@ let SQLiteSettingsRepository = class SQLiteSettingsRepository {
|
|
|
102
99
|
@feature_flag_skills, @feature_flag_env_deploy, @feature_flag_debug, @feature_flag_github_import, @feature_flag_adopt_branch, @feature_flag_git_rebase_sync,
|
|
103
100
|
@feature_flag_react_file_manager,
|
|
104
101
|
@feature_flag_inventory,
|
|
105
|
-
@feature_flag_supply_chain_security,
|
|
106
102
|
@workflow_enable_evidence, @workflow_commit_evidence,
|
|
107
103
|
@hide_ci_status, @default_fast_mode,
|
|
108
104
|
@interactive_agent_enabled, @interactive_agent_auto_timeout_minutes,
|
|
109
105
|
@interactive_agent_max_concurrent_sessions,
|
|
110
106
|
@auto_archive_delay_minutes,
|
|
111
107
|
@stage_timeout_fast_implement_ms,
|
|
112
|
-
@fab_position_swapped
|
|
113
|
-
@skill_injection_enabled, @skill_injection_skills,
|
|
114
|
-
@security_mode, @security_last_evaluation_at, @security_policy_source
|
|
108
|
+
@fab_position_swapped
|
|
115
109
|
)
|
|
116
110
|
`);
|
|
117
111
|
// Execute with named parameters (safe from SQL injection)
|
|
@@ -208,7 +202,6 @@ let SQLiteSettingsRepository = class SQLiteSettingsRepository {
|
|
|
208
202
|
feature_flag_git_rebase_sync = @feature_flag_git_rebase_sync,
|
|
209
203
|
feature_flag_react_file_manager = @feature_flag_react_file_manager,
|
|
210
204
|
feature_flag_inventory = @feature_flag_inventory,
|
|
211
|
-
feature_flag_supply_chain_security = @feature_flag_supply_chain_security,
|
|
212
205
|
workflow_enable_evidence = @workflow_enable_evidence,
|
|
213
206
|
workflow_commit_evidence = @workflow_commit_evidence,
|
|
214
207
|
hide_ci_status = @hide_ci_status,
|
|
@@ -218,12 +211,7 @@ let SQLiteSettingsRepository = class SQLiteSettingsRepository {
|
|
|
218
211
|
interactive_agent_max_concurrent_sessions = @interactive_agent_max_concurrent_sessions,
|
|
219
212
|
auto_archive_delay_minutes = @auto_archive_delay_minutes,
|
|
220
213
|
stage_timeout_fast_implement_ms = @stage_timeout_fast_implement_ms,
|
|
221
|
-
fab_position_swapped = @fab_position_swapped
|
|
222
|
-
skill_injection_enabled = @skill_injection_enabled,
|
|
223
|
-
skill_injection_skills = @skill_injection_skills,
|
|
224
|
-
security_mode = @security_mode,
|
|
225
|
-
security_last_evaluation_at = @security_last_evaluation_at,
|
|
226
|
-
security_policy_source = @security_policy_source
|
|
214
|
+
fab_position_swapped = @fab_position_swapped
|
|
227
215
|
WHERE id = @id
|
|
228
216
|
`);
|
|
229
217
|
// Execute with named parameters (safe from SQL injection)
|
|
@@ -23,8 +23,6 @@ export declare class ClaudeCodeExecutorService implements IAgentExecutor {
|
|
|
23
23
|
constructor(spawn: SpawnFunction);
|
|
24
24
|
/** Debug logging — writes to stdout so it appears in the worker log file */
|
|
25
25
|
private log;
|
|
26
|
-
/** Executor capabilities for security constraint validation */
|
|
27
|
-
private static readonly CAPABILITIES;
|
|
28
26
|
execute(prompt: string, options?: AgentExecutionOptions): Promise<AgentExecutionResult>;
|
|
29
27
|
executeStream(prompt: string, options?: AgentExecutionOptions): AsyncIterable<AgentExecutionStreamEvent>;
|
|
30
28
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claude-code-executor.service.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/core/src/infrastructure/services/agents/common/executors/claude-code-executor.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,KAAK,EACV,cAAc,EACd,qBAAqB,EACrB,oBAAoB,EAEpB,yBAAyB,EAC1B,MAAM,4EAA4E,CAAC;AACpF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"claude-code-executor.service.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/core/src/infrastructure/services/agents/common/executors/claude-code-executor.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,KAAK,EACV,cAAc,EACd,qBAAqB,EACrB,oBAAoB,EAEpB,yBAAyB,EAC1B,MAAM,4EAA4E,CAAC;AACpF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAajD;;;GAGG;AACH,qBAAa,yBAA0B,YAAW,cAAc;IAMlD,OAAO,CAAC,QAAQ,CAAC,KAAK;IALlC,QAAQ,CAAC,SAAS,EAAE,SAAS,CAA8B;IAE3D,4EAA4E;IAC5E,OAAO,CAAC,MAAM,CAAS;gBAEM,KAAK,EAAE,aAAa;IAEjD,4EAA4E;IAC5E,OAAO,CAAC,GAAG;IAML,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAoHtF,aAAa,CAClB,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,qBAAqB,GAC9B,aAAa,CAAC,yBAAyB,CAAC;IAgG3C;;;OAGG;IACH,OAAO,CAAC,cAAc;IA0CtB,eAAe,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO;IAI/C,OAAO,CAAC,SAAS;IAejB,OAAO,CAAC,eAAe;IAUvB,OAAO,CAAC,iBAAiB;IAyBzB,OAAO,CAAC,eAAe;IA6BvB;;;OAGG;IACH,OAAO,CAAC,YAAY;IAqBpB,OAAO,CAAC,eAAe;CAkExB"}
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { getCurrentPhase, getLogPrefix } from '../../feature-agent/log-context.js';
|
|
12
12
|
import { IS_WINDOWS } from '../../../../platform.js';
|
|
13
|
-
import { validateSecurityConstraints, } from './security-constraint-validator.js';
|
|
14
13
|
/** Features supported by Claude Code CLI */
|
|
15
14
|
const SUPPORTED_FEATURES = new Set([
|
|
16
15
|
'session-resume',
|
|
@@ -38,16 +37,8 @@ export class ClaudeCodeExecutorService {
|
|
|
38
37
|
const ts = new Date().toISOString();
|
|
39
38
|
process.stdout.write(`[${ts}] ${getCurrentPhase()}${getLogPrefix()}${message}\n`);
|
|
40
39
|
}
|
|
41
|
-
/** Executor capabilities for security constraint validation */
|
|
42
|
-
static CAPABILITIES = {
|
|
43
|
-
requiresPermissiveMode: true, // uses --dangerously-skip-permissions
|
|
44
|
-
executorName: 'claude-code',
|
|
45
|
-
};
|
|
46
40
|
async execute(prompt, options) {
|
|
47
41
|
this.silent = options?.silent ?? false;
|
|
48
|
-
const warning = validateSecurityConstraints(options?.securityConstraints, ClaudeCodeExecutorService.CAPABILITIES);
|
|
49
|
-
if (warning)
|
|
50
|
-
this.log(warning);
|
|
51
42
|
// Use stream-json so we get real-time events in the worker log
|
|
52
43
|
// instead of zero output for minutes with --output-format json
|
|
53
44
|
const args = this.buildStreamArgs(prompt, options);
|
|
@@ -150,9 +141,6 @@ export class ClaudeCodeExecutorService {
|
|
|
150
141
|
});
|
|
151
142
|
}
|
|
152
143
|
async *executeStream(prompt, options) {
|
|
153
|
-
const warning = validateSecurityConstraints(options?.securityConstraints, ClaudeCodeExecutorService.CAPABILITIES);
|
|
154
|
-
if (warning)
|
|
155
|
-
this.log(warning);
|
|
156
144
|
const args = this.buildStreamArgs(prompt, options);
|
|
157
145
|
const spawnOpts = this.buildSpawnOptions(options);
|
|
158
146
|
const proc = this.spawn('claude', args, spawnOpts);
|
|
@@ -69,8 +69,6 @@ export declare function createFastFeatureAgentGraph(depsOrExecutor: FastFeatureA
|
|
|
69
69
|
ciFixAttempts: number;
|
|
70
70
|
ciFixHistory: import("../../../../domain/index.js").CiFixRecord[];
|
|
71
71
|
ciFixStatus: "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted";
|
|
72
|
-
securityMode: import("../../../../domain/index.js").SecurityMode;
|
|
73
|
-
securityActionDispositions: Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>;
|
|
74
72
|
}, {
|
|
75
73
|
featureId?: string | undefined;
|
|
76
74
|
repositoryPath?: string | undefined;
|
|
@@ -104,8 +102,6 @@ export declare function createFastFeatureAgentGraph(depsOrExecutor: FastFeatureA
|
|
|
104
102
|
ciFixAttempts?: number | undefined;
|
|
105
103
|
ciFixHistory?: import("../../../../domain/index.js").CiFixRecord[] | undefined;
|
|
106
104
|
ciFixStatus?: "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted" | undefined;
|
|
107
|
-
securityMode?: import("../../../../domain/index.js").SecurityMode | undefined;
|
|
108
|
-
securityActionDispositions?: Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>> | undefined;
|
|
109
105
|
}, "__start__" | "fast-implement", {
|
|
110
106
|
featureId: {
|
|
111
107
|
(): import("@langchain/langgraph").LastValue<string>;
|
|
@@ -159,8 +155,6 @@ export declare function createFastFeatureAgentGraph(depsOrExecutor: FastFeatureA
|
|
|
159
155
|
ciFixAttempts: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
|
|
160
156
|
ciFixHistory: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").CiFixRecord[], import("../../../../domain/index.js").CiFixRecord[]>;
|
|
161
157
|
ciFixStatus: import("@langchain/langgraph").BinaryOperatorAggregate<"success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted", "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted">;
|
|
162
|
-
securityMode: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").SecurityMode, import("../../../../domain/index.js").SecurityMode>;
|
|
163
|
-
securityActionDispositions: import("@langchain/langgraph").BinaryOperatorAggregate<Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>, Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>>;
|
|
164
158
|
}, {
|
|
165
159
|
featureId: {
|
|
166
160
|
(): import("@langchain/langgraph").LastValue<string>;
|
|
@@ -214,8 +208,6 @@ export declare function createFastFeatureAgentGraph(depsOrExecutor: FastFeatureA
|
|
|
214
208
|
ciFixAttempts: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
|
|
215
209
|
ciFixHistory: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").CiFixRecord[], import("../../../../domain/index.js").CiFixRecord[]>;
|
|
216
210
|
ciFixStatus: import("@langchain/langgraph").BinaryOperatorAggregate<"success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted", "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted">;
|
|
217
|
-
securityMode: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").SecurityMode, import("../../../../domain/index.js").SecurityMode>;
|
|
218
|
-
securityActionDispositions: import("@langchain/langgraph").BinaryOperatorAggregate<Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>, Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>>;
|
|
219
211
|
}, import("@langchain/langgraph").StateDefinition, {
|
|
220
212
|
"fast-implement": Partial<import("@langchain/langgraph").StateType<{
|
|
221
213
|
featureId: {
|
|
@@ -270,8 +262,6 @@ export declare function createFastFeatureAgentGraph(depsOrExecutor: FastFeatureA
|
|
|
270
262
|
ciFixAttempts: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
|
|
271
263
|
ciFixHistory: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").CiFixRecord[], import("../../../../domain/index.js").CiFixRecord[]>;
|
|
272
264
|
ciFixStatus: import("@langchain/langgraph").BinaryOperatorAggregate<"success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted", "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted">;
|
|
273
|
-
securityMode: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").SecurityMode, import("../../../../domain/index.js").SecurityMode>;
|
|
274
|
-
securityActionDispositions: import("@langchain/langgraph").BinaryOperatorAggregate<Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>, Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>>;
|
|
275
265
|
}>>;
|
|
276
266
|
}, unknown, unknown>;
|
|
277
267
|
//# sourceMappingURL=fast-feature-agent-graph.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fast-feature-agent-graph.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/services/agents/feature-agent/fast-feature-agent-graph.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAA0B,KAAK,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AACxF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+DAA+D,CAAC;AAGpG,OAAO,EAAmB,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGlF,OAAO,EAAE,sBAAsB,EAAE,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE5E;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,cAAc,CAAC;IACzB,aAAa,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;CACjD;AAkBD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,2BAA2B,CACzC,cAAc,EAAE,yBAAyB,GAAG,cAAc,EAC1D,YAAY,CAAC,EAAE,mBAAmB
|
|
1
|
+
{"version":3,"file":"fast-feature-agent-graph.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/services/agents/feature-agent/fast-feature-agent-graph.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAA0B,KAAK,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AACxF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+DAA+D,CAAC;AAGpG,OAAO,EAAmB,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGlF,OAAO,EAAE,sBAAsB,EAAE,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE5E;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,cAAc,CAAC;IACzB,aAAa,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;CACjD;AAkBD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,2BAA2B,CACzC,cAAc,EAAE,yBAAyB,GAAG,cAAc,EAC1D,YAAY,CAAC,EAAE,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA6BnC"}
|
package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts
CHANGED
|
@@ -56,8 +56,6 @@ export declare function createFeatureAgentGraph(depsOrExecutor: FeatureAgentGrap
|
|
|
56
56
|
ciFixAttempts: number;
|
|
57
57
|
ciFixHistory: import("../../../../domain/index.js").CiFixRecord[];
|
|
58
58
|
ciFixStatus: "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted";
|
|
59
|
-
securityMode: import("../../../../domain/index.js").SecurityMode;
|
|
60
|
-
securityActionDispositions: Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>;
|
|
61
59
|
}, {
|
|
62
60
|
featureId?: string | undefined;
|
|
63
61
|
repositoryPath?: string | undefined;
|
|
@@ -91,8 +89,6 @@ export declare function createFeatureAgentGraph(depsOrExecutor: FeatureAgentGrap
|
|
|
91
89
|
ciFixAttempts?: number | undefined;
|
|
92
90
|
ciFixHistory?: import("../../../../domain/index.js").CiFixRecord[] | undefined;
|
|
93
91
|
ciFixStatus?: "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted" | undefined;
|
|
94
|
-
securityMode?: import("../../../../domain/index.js").SecurityMode | undefined;
|
|
95
|
-
securityActionDispositions?: Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>> | undefined;
|
|
96
92
|
}, "implement" | "__start__" | "analyze" | "requirements" | "research" | "plan" | "validate_spec_analyze" | "validate_spec_requirements" | "validate_research" | "validate_plan_tasks" | "repair_spec_analyze" | "repair_spec_requirements" | "repair_research" | "repair_plan_tasks", {
|
|
97
93
|
featureId: {
|
|
98
94
|
(): import("@langchain/langgraph").LastValue<string>;
|
|
@@ -146,8 +142,6 @@ export declare function createFeatureAgentGraph(depsOrExecutor: FeatureAgentGrap
|
|
|
146
142
|
ciFixAttempts: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
|
|
147
143
|
ciFixHistory: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").CiFixRecord[], import("../../../../domain/index.js").CiFixRecord[]>;
|
|
148
144
|
ciFixStatus: import("@langchain/langgraph").BinaryOperatorAggregate<"success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted", "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted">;
|
|
149
|
-
securityMode: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").SecurityMode, import("../../../../domain/index.js").SecurityMode>;
|
|
150
|
-
securityActionDispositions: import("@langchain/langgraph").BinaryOperatorAggregate<Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>, Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>>;
|
|
151
145
|
}, {
|
|
152
146
|
featureId: {
|
|
153
147
|
(): import("@langchain/langgraph").LastValue<string>;
|
|
@@ -201,8 +195,6 @@ export declare function createFeatureAgentGraph(depsOrExecutor: FeatureAgentGrap
|
|
|
201
195
|
ciFixAttempts: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
|
|
202
196
|
ciFixHistory: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").CiFixRecord[], import("../../../../domain/index.js").CiFixRecord[]>;
|
|
203
197
|
ciFixStatus: import("@langchain/langgraph").BinaryOperatorAggregate<"success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted", "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted">;
|
|
204
|
-
securityMode: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").SecurityMode, import("../../../../domain/index.js").SecurityMode>;
|
|
205
|
-
securityActionDispositions: import("@langchain/langgraph").BinaryOperatorAggregate<Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>, Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>>;
|
|
206
198
|
}, import("@langchain/langgraph").StateDefinition, {
|
|
207
199
|
analyze: Partial<import("@langchain/langgraph").StateType<{
|
|
208
200
|
featureId: {
|
|
@@ -257,8 +249,6 @@ export declare function createFeatureAgentGraph(depsOrExecutor: FeatureAgentGrap
|
|
|
257
249
|
ciFixAttempts: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
|
|
258
250
|
ciFixHistory: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").CiFixRecord[], import("../../../../domain/index.js").CiFixRecord[]>;
|
|
259
251
|
ciFixStatus: import("@langchain/langgraph").BinaryOperatorAggregate<"success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted", "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted">;
|
|
260
|
-
securityMode: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").SecurityMode, import("../../../../domain/index.js").SecurityMode>;
|
|
261
|
-
securityActionDispositions: import("@langchain/langgraph").BinaryOperatorAggregate<Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>, Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>>;
|
|
262
252
|
}>>;
|
|
263
253
|
requirements: Partial<import("@langchain/langgraph").StateType<{
|
|
264
254
|
featureId: {
|
|
@@ -313,8 +303,6 @@ export declare function createFeatureAgentGraph(depsOrExecutor: FeatureAgentGrap
|
|
|
313
303
|
ciFixAttempts: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
|
|
314
304
|
ciFixHistory: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").CiFixRecord[], import("../../../../domain/index.js").CiFixRecord[]>;
|
|
315
305
|
ciFixStatus: import("@langchain/langgraph").BinaryOperatorAggregate<"success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted", "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted">;
|
|
316
|
-
securityMode: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").SecurityMode, import("../../../../domain/index.js").SecurityMode>;
|
|
317
|
-
securityActionDispositions: import("@langchain/langgraph").BinaryOperatorAggregate<Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>, Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>>;
|
|
318
306
|
}>>;
|
|
319
307
|
research: Partial<import("@langchain/langgraph").StateType<{
|
|
320
308
|
featureId: {
|
|
@@ -369,8 +357,6 @@ export declare function createFeatureAgentGraph(depsOrExecutor: FeatureAgentGrap
|
|
|
369
357
|
ciFixAttempts: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
|
|
370
358
|
ciFixHistory: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").CiFixRecord[], import("../../../../domain/index.js").CiFixRecord[]>;
|
|
371
359
|
ciFixStatus: import("@langchain/langgraph").BinaryOperatorAggregate<"success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted", "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted">;
|
|
372
|
-
securityMode: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").SecurityMode, import("../../../../domain/index.js").SecurityMode>;
|
|
373
|
-
securityActionDispositions: import("@langchain/langgraph").BinaryOperatorAggregate<Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>, Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>>;
|
|
374
360
|
}>>;
|
|
375
361
|
plan: Partial<import("@langchain/langgraph").StateType<{
|
|
376
362
|
featureId: {
|
|
@@ -425,8 +411,6 @@ export declare function createFeatureAgentGraph(depsOrExecutor: FeatureAgentGrap
|
|
|
425
411
|
ciFixAttempts: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
|
|
426
412
|
ciFixHistory: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").CiFixRecord[], import("../../../../domain/index.js").CiFixRecord[]>;
|
|
427
413
|
ciFixStatus: import("@langchain/langgraph").BinaryOperatorAggregate<"success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted", "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted">;
|
|
428
|
-
securityMode: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").SecurityMode, import("../../../../domain/index.js").SecurityMode>;
|
|
429
|
-
securityActionDispositions: import("@langchain/langgraph").BinaryOperatorAggregate<Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>, Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>>;
|
|
430
414
|
}>>;
|
|
431
415
|
implement: Partial<import("@langchain/langgraph").StateType<{
|
|
432
416
|
featureId: {
|
|
@@ -481,8 +465,6 @@ export declare function createFeatureAgentGraph(depsOrExecutor: FeatureAgentGrap
|
|
|
481
465
|
ciFixAttempts: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
|
|
482
466
|
ciFixHistory: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").CiFixRecord[], import("../../../../domain/index.js").CiFixRecord[]>;
|
|
483
467
|
ciFixStatus: import("@langchain/langgraph").BinaryOperatorAggregate<"success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted", "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted">;
|
|
484
|
-
securityMode: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").SecurityMode, import("../../../../domain/index.js").SecurityMode>;
|
|
485
|
-
securityActionDispositions: import("@langchain/langgraph").BinaryOperatorAggregate<Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>, Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>>;
|
|
486
468
|
}>>;
|
|
487
469
|
validate_spec_analyze: Partial<import("@langchain/langgraph").StateType<{
|
|
488
470
|
featureId: {
|
|
@@ -537,8 +519,6 @@ export declare function createFeatureAgentGraph(depsOrExecutor: FeatureAgentGrap
|
|
|
537
519
|
ciFixAttempts: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
|
|
538
520
|
ciFixHistory: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").CiFixRecord[], import("../../../../domain/index.js").CiFixRecord[]>;
|
|
539
521
|
ciFixStatus: import("@langchain/langgraph").BinaryOperatorAggregate<"success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted", "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted">;
|
|
540
|
-
securityMode: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").SecurityMode, import("../../../../domain/index.js").SecurityMode>;
|
|
541
|
-
securityActionDispositions: import("@langchain/langgraph").BinaryOperatorAggregate<Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>, Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>>;
|
|
542
522
|
}>>;
|
|
543
523
|
validate_spec_requirements: Partial<import("@langchain/langgraph").StateType<{
|
|
544
524
|
featureId: {
|
|
@@ -593,8 +573,6 @@ export declare function createFeatureAgentGraph(depsOrExecutor: FeatureAgentGrap
|
|
|
593
573
|
ciFixAttempts: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
|
|
594
574
|
ciFixHistory: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").CiFixRecord[], import("../../../../domain/index.js").CiFixRecord[]>;
|
|
595
575
|
ciFixStatus: import("@langchain/langgraph").BinaryOperatorAggregate<"success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted", "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted">;
|
|
596
|
-
securityMode: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").SecurityMode, import("../../../../domain/index.js").SecurityMode>;
|
|
597
|
-
securityActionDispositions: import("@langchain/langgraph").BinaryOperatorAggregate<Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>, Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>>;
|
|
598
576
|
}>>;
|
|
599
577
|
validate_research: Partial<import("@langchain/langgraph").StateType<{
|
|
600
578
|
featureId: {
|
|
@@ -649,8 +627,6 @@ export declare function createFeatureAgentGraph(depsOrExecutor: FeatureAgentGrap
|
|
|
649
627
|
ciFixAttempts: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
|
|
650
628
|
ciFixHistory: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").CiFixRecord[], import("../../../../domain/index.js").CiFixRecord[]>;
|
|
651
629
|
ciFixStatus: import("@langchain/langgraph").BinaryOperatorAggregate<"success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted", "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted">;
|
|
652
|
-
securityMode: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").SecurityMode, import("../../../../domain/index.js").SecurityMode>;
|
|
653
|
-
securityActionDispositions: import("@langchain/langgraph").BinaryOperatorAggregate<Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>, Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>>;
|
|
654
630
|
}>>;
|
|
655
631
|
validate_plan_tasks: Partial<import("@langchain/langgraph").StateType<{
|
|
656
632
|
featureId: {
|
|
@@ -705,8 +681,6 @@ export declare function createFeatureAgentGraph(depsOrExecutor: FeatureAgentGrap
|
|
|
705
681
|
ciFixAttempts: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
|
|
706
682
|
ciFixHistory: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").CiFixRecord[], import("../../../../domain/index.js").CiFixRecord[]>;
|
|
707
683
|
ciFixStatus: import("@langchain/langgraph").BinaryOperatorAggregate<"success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted", "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted">;
|
|
708
|
-
securityMode: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").SecurityMode, import("../../../../domain/index.js").SecurityMode>;
|
|
709
|
-
securityActionDispositions: import("@langchain/langgraph").BinaryOperatorAggregate<Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>, Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>>;
|
|
710
684
|
}>>;
|
|
711
685
|
repair_spec_analyze: Partial<import("@langchain/langgraph").StateType<{
|
|
712
686
|
featureId: {
|
|
@@ -761,8 +735,6 @@ export declare function createFeatureAgentGraph(depsOrExecutor: FeatureAgentGrap
|
|
|
761
735
|
ciFixAttempts: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
|
|
762
736
|
ciFixHistory: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").CiFixRecord[], import("../../../../domain/index.js").CiFixRecord[]>;
|
|
763
737
|
ciFixStatus: import("@langchain/langgraph").BinaryOperatorAggregate<"success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted", "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted">;
|
|
764
|
-
securityMode: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").SecurityMode, import("../../../../domain/index.js").SecurityMode>;
|
|
765
|
-
securityActionDispositions: import("@langchain/langgraph").BinaryOperatorAggregate<Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>, Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>>;
|
|
766
738
|
}>>;
|
|
767
739
|
repair_spec_requirements: Partial<import("@langchain/langgraph").StateType<{
|
|
768
740
|
featureId: {
|
|
@@ -817,8 +789,6 @@ export declare function createFeatureAgentGraph(depsOrExecutor: FeatureAgentGrap
|
|
|
817
789
|
ciFixAttempts: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
|
|
818
790
|
ciFixHistory: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").CiFixRecord[], import("../../../../domain/index.js").CiFixRecord[]>;
|
|
819
791
|
ciFixStatus: import("@langchain/langgraph").BinaryOperatorAggregate<"success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted", "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted">;
|
|
820
|
-
securityMode: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").SecurityMode, import("../../../../domain/index.js").SecurityMode>;
|
|
821
|
-
securityActionDispositions: import("@langchain/langgraph").BinaryOperatorAggregate<Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>, Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>>;
|
|
822
792
|
}>>;
|
|
823
793
|
repair_research: Partial<import("@langchain/langgraph").StateType<{
|
|
824
794
|
featureId: {
|
|
@@ -873,8 +843,6 @@ export declare function createFeatureAgentGraph(depsOrExecutor: FeatureAgentGrap
|
|
|
873
843
|
ciFixAttempts: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
|
|
874
844
|
ciFixHistory: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").CiFixRecord[], import("../../../../domain/index.js").CiFixRecord[]>;
|
|
875
845
|
ciFixStatus: import("@langchain/langgraph").BinaryOperatorAggregate<"success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted", "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted">;
|
|
876
|
-
securityMode: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").SecurityMode, import("../../../../domain/index.js").SecurityMode>;
|
|
877
|
-
securityActionDispositions: import("@langchain/langgraph").BinaryOperatorAggregate<Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>, Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>>;
|
|
878
846
|
}>>;
|
|
879
847
|
repair_plan_tasks: Partial<import("@langchain/langgraph").StateType<{
|
|
880
848
|
featureId: {
|
|
@@ -929,8 +897,6 @@ export declare function createFeatureAgentGraph(depsOrExecutor: FeatureAgentGrap
|
|
|
929
897
|
ciFixAttempts: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
|
|
930
898
|
ciFixHistory: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").CiFixRecord[], import("../../../../domain/index.js").CiFixRecord[]>;
|
|
931
899
|
ciFixStatus: import("@langchain/langgraph").BinaryOperatorAggregate<"success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted", "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted">;
|
|
932
|
-
securityMode: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").SecurityMode, import("../../../../domain/index.js").SecurityMode>;
|
|
933
|
-
securityActionDispositions: import("@langchain/langgraph").BinaryOperatorAggregate<Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>, Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>>;
|
|
934
900
|
}>>;
|
|
935
901
|
}, unknown, unknown>;
|
|
936
902
|
//# sourceMappingURL=feature-agent-graph.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-agent-graph.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-graph.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AACxF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+DAA+D,CAAC;AAOpG,OAAO,EAAmB,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAelF,OAAO,EAAE,sBAAsB,EAAE,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE5E;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,cAAc,CAAC;IACzB,aAAa,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;CACjD;AAwJD;;;;;;;;;;;;GAYG;AACH,wBAAgB,uBAAuB,CACrC,cAAc,EAAE,qBAAqB,GAAG,cAAc,EACtD,YAAY,CAAC,EAAE,mBAAmB
|
|
1
|
+
{"version":3,"file":"feature-agent-graph.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-graph.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AACxF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+DAA+D,CAAC;AAOpG,OAAO,EAAmB,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAelF,OAAO,EAAE,sBAAsB,EAAE,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE5E;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,cAAc,CAAC;IACzB,aAAa,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;CACjD;AAwJD;;;;;;;;;;;;GAYG;AACH,wBAAgB,uBAAuB,CACrC,cAAc,EAAE,qBAAqB,GAAG,cAAc,EACtD,YAAY,CAAC,EAAE,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAsFnC"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import type { IFeatureAgentProcessService } from '../../../../application/ports/output/agents/feature-agent-process.interface.js';
|
|
9
9
|
import type { IAgentRunRepository } from '../../../../application/ports/output/agents/agent-run-repository.interface.js';
|
|
10
|
-
import { type ApprovalGates, type AgentType
|
|
10
|
+
import { type ApprovalGates, type AgentType } from '../../../../domain/generated/output.js';
|
|
11
11
|
export declare class FeatureAgentProcessService implements IFeatureAgentProcessService {
|
|
12
12
|
private readonly runRepository;
|
|
13
13
|
constructor(runRepository: IAgentRunRepository);
|
|
@@ -28,8 +28,6 @@ export declare class FeatureAgentProcessService implements IFeatureAgentProcessS
|
|
|
28
28
|
fast?: boolean;
|
|
29
29
|
model?: string;
|
|
30
30
|
resumeReason?: string;
|
|
31
|
-
securityMode?: SecurityMode;
|
|
32
|
-
securityActionDispositions?: Partial<Record<SecurityActionCategory, SecurityActionDisposition>>;
|
|
33
31
|
}): number;
|
|
34
32
|
isAlive(pid: number): boolean;
|
|
35
33
|
checkAndMarkCrashed(runId: string): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-agent-process.service.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AASH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sEAAsE,CAAC;AACxH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qEAAqE,CAAC;AAC/G,OAAO,
|
|
1
|
+
{"version":3,"file":"feature-agent-process.service.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AASH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sEAAsE,CAAC;AACxH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qEAAqE,CAAC;AAC/G,OAAO,EAAkB,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAalG,qBAAa,0BAA2B,YAAW,2BAA2B;IAChE,OAAO,CAAC,QAAQ,CAAC,aAAa;gBAAb,aAAa,EAAE,mBAAmB;IAE/D,KAAK,CACH,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,EACf,YAAY,CAAC,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE;QACR,aAAa,CAAC,EAAE,aAAa,CAAC;QAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,mBAAmB,CAAC,EAAE,OAAO,CAAC;QAC9B,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,SAAS,CAAC,EAAE,SAAS,CAAC;QACtB,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB,GACA,MAAM;IAsFT,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IASvB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAexD"}
|
|
@@ -12,7 +12,7 @@ import { join } from 'node:path';
|
|
|
12
12
|
import { openSync } from 'node:fs';
|
|
13
13
|
import { homedir } from 'node:os';
|
|
14
14
|
import { mkdirSync } from 'node:fs';
|
|
15
|
-
import { AgentRunStatus
|
|
15
|
+
import { AgentRunStatus } from '../../../../domain/generated/output.js';
|
|
16
16
|
import { IS_WINDOWS } from '../../../platform.js';
|
|
17
17
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
18
18
|
/** Terminal statuses that should not be updated */
|
|
@@ -90,12 +90,6 @@ export class FeatureAgentProcessService {
|
|
|
90
90
|
if (options?.resumeReason) {
|
|
91
91
|
args.push('--resume-reason', options.resumeReason);
|
|
92
92
|
}
|
|
93
|
-
if (options?.securityMode) {
|
|
94
|
-
args.push('--security-mode', options.securityMode);
|
|
95
|
-
}
|
|
96
|
-
if (options?.securityActionDispositions) {
|
|
97
|
-
args.push('--security-dispositions', JSON.stringify(options.securityActionDispositions));
|
|
98
|
-
}
|
|
99
93
|
// Create log file for worker output (for debugging)
|
|
100
94
|
const logsDir = join(homedir(), '.shep', 'logs');
|
|
101
95
|
mkdirSync(logsDir, { recursive: true });
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* CLI Args: --feature-id <id> --run-id <id> --repo <path> --spec-dir <path>
|
|
10
10
|
*/
|
|
11
11
|
import 'reflect-metadata';
|
|
12
|
-
import {
|
|
12
|
+
import { type AgentType } from '../../../../domain/generated/output.js';
|
|
13
13
|
import type { ApprovalGates } from '../../../../domain/generated/output.js';
|
|
14
14
|
export interface WorkerArgs {
|
|
15
15
|
featureId: string;
|
|
@@ -33,8 +33,6 @@ export interface WorkerArgs {
|
|
|
33
33
|
fast?: boolean;
|
|
34
34
|
model?: string;
|
|
35
35
|
resumeReason?: string;
|
|
36
|
-
securityMode?: SecurityMode;
|
|
37
|
-
securityActionDispositions?: Partial<Record<SecurityActionCategory, SecurityActionDisposition>>;
|
|
38
36
|
}
|
|
39
37
|
/**
|
|
40
38
|
* Parse CLI arguments into a WorkerArgs object.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-agent-worker.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.ts"],"names":[],"mappings":";AACA;;;;;;;;GAQG;AAEH,OAAO,kBAAkB,CAAC;AAiB1B,OAAO,
|
|
1
|
+
{"version":3,"file":"feature-agent-worker.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.ts"],"names":[],"mappings":";AACA;;;;;;;;GAQG;AAEH,OAAO,kBAAkB,CAAC;AAiB1B,OAAO,EAAiC,KAAK,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAW7F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAElE,MAAM,WAAW,UAAU;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,UAAU,CAkF1D;AAgCD;;;GAGG;AACH,wBAAsB,SAAS,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAiU/D"}
|
package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.js
CHANGED
|
@@ -17,7 +17,7 @@ import { initializeContainer, container } from '../../../di/container.js';
|
|
|
17
17
|
import { createFeatureAgentGraph } from './feature-agent-graph.js';
|
|
18
18
|
import { createFastFeatureAgentGraph } from './fast-feature-agent-graph.js';
|
|
19
19
|
import { createCheckpointer } from '../common/checkpointer.js';
|
|
20
|
-
import { AgentRunStatus, SdlcLifecycle
|
|
20
|
+
import { AgentRunStatus, SdlcLifecycle } from '../../../../domain/generated/output.js';
|
|
21
21
|
import { initializeSettings } from '../../../services/settings.service.js';
|
|
22
22
|
import { InitializeSettingsUseCase } from '../../../../application/use-cases/settings/initialize-settings.use-case.js';
|
|
23
23
|
import { setHeartbeatContext } from './heartbeat.js';
|
|
@@ -77,23 +77,6 @@ export function parseWorkerArgs(args) {
|
|
|
77
77
|
const resumeReason = resumeReasonIdx !== -1 && resumeReasonIdx + 1 < args.length
|
|
78
78
|
? args[resumeReasonIdx + 1]
|
|
79
79
|
: undefined;
|
|
80
|
-
const securityModeIdx = args.indexOf('--security-mode');
|
|
81
|
-
const securityModeRaw = securityModeIdx !== -1 && securityModeIdx + 1 < args.length
|
|
82
|
-
? args[securityModeIdx + 1]
|
|
83
|
-
: undefined;
|
|
84
|
-
const securityMode = securityModeRaw && Object.values(SecurityMode).includes(securityModeRaw)
|
|
85
|
-
? securityModeRaw
|
|
86
|
-
: undefined;
|
|
87
|
-
const securityDispositionsIdx = args.indexOf('--security-dispositions');
|
|
88
|
-
let securityActionDispositions;
|
|
89
|
-
if (securityDispositionsIdx !== -1 && securityDispositionsIdx + 1 < args.length) {
|
|
90
|
-
try {
|
|
91
|
-
securityActionDispositions = JSON.parse(args[securityDispositionsIdx + 1]);
|
|
92
|
-
}
|
|
93
|
-
catch {
|
|
94
|
-
securityActionDispositions = undefined;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
80
|
return {
|
|
98
81
|
featureId: getArg('feature-id'),
|
|
99
82
|
runId: getArg('run-id'),
|
|
@@ -116,8 +99,6 @@ export function parseWorkerArgs(args) {
|
|
|
116
99
|
fast,
|
|
117
100
|
model,
|
|
118
101
|
resumeReason,
|
|
119
|
-
securityMode,
|
|
120
|
-
securityActionDispositions,
|
|
121
102
|
};
|
|
122
103
|
}
|
|
123
104
|
/** Simple worker logger — writes to stdout which is redirected to log file by the parent. */
|
|
@@ -179,10 +160,6 @@ export async function runWorker(args) {
|
|
|
179
160
|
...(args.agentType ? ['--agent-type', args.agentType] : []),
|
|
180
161
|
...(args.fast ? ['--fast'] : []),
|
|
181
162
|
...(args.model ? ['--model', args.model] : []),
|
|
182
|
-
...(args.securityMode ? ['--security-mode', args.securityMode] : []),
|
|
183
|
-
...(args.securityActionDispositions
|
|
184
|
-
? ['--security-dispositions', JSON.stringify(args.securityActionDispositions)]
|
|
185
|
-
: []),
|
|
186
163
|
];
|
|
187
164
|
log(`Starting worker — full command:`);
|
|
188
165
|
log(` ${cmdParts.join(' ')}`);
|
|
@@ -338,10 +315,6 @@ export async function runWorker(args) {
|
|
|
338
315
|
ciWatchEnabled: args.ciWatchEnabled ?? true,
|
|
339
316
|
enableEvidence: args.enableEvidence ?? false,
|
|
340
317
|
commitEvidence: args.commitEvidence ?? false,
|
|
341
|
-
...(args.securityMode ? { securityMode: args.securityMode } : {}),
|
|
342
|
-
...(args.securityActionDispositions
|
|
343
|
-
? { securityActionDispositions: args.securityActionDispositions }
|
|
344
|
-
: {}),
|
|
345
318
|
}, graphConfig);
|
|
346
319
|
}
|
|
347
320
|
else {
|
|
@@ -360,10 +333,6 @@ export async function runWorker(args) {
|
|
|
360
333
|
ciWatchEnabled: args.ciWatchEnabled ?? true,
|
|
361
334
|
enableEvidence: args.enableEvidence ?? false,
|
|
362
335
|
commitEvidence: args.commitEvidence ?? false,
|
|
363
|
-
...(args.securityMode ? { securityMode: args.securityMode } : {}),
|
|
364
|
-
...(args.securityActionDispositions
|
|
365
|
-
? { securityActionDispositions: args.securityActionDispositions }
|
|
366
|
-
: {}),
|
|
367
336
|
}, graphConfig);
|
|
368
337
|
}
|
|
369
338
|
log(`Graph invocation completed. Error: ${result.error ?? 'none'}`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-helpers.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAOH,OAAO,KAAK,EACV,cAAc,EACd,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,+DAA+D,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"node-helpers.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAOH,OAAO,KAAK,EACV,cAAc,EACd,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,+DAA+D,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAE5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAWrD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM;IAE7C,4DAA4D;gBAChD,IAAI;kBAGF,MAAM,GAAG,IAAI;mBAIZ,MAAM,GAAG,IAAI;EAK/B;AAED,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE7D;;GAEG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAMtE;AAoBD;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAO1D;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,iBAAiB,EACxB,SAAS,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,qBAAqB,EAAE,SAAS,CAAC,CAAC,EAC3D,QAAQ,CAAC,EAAE,MAAM,GAChB,qBAAqB,CAUvB;AAeD;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAQrD;AAgBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,CAElD;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,aAAa,GAAG,SAAS,GAAG,OAAO,CAQ3F;AAMD,MAAM,MAAM,aAAa,GAAG,eAAe,GAAG,mBAAmB,GAAG,eAAe,GAAG,SAAS,CAAC;AAMhG;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,aAAa,CAKjE;AAED,MAAM,WAAW,YAAY;IAC3B,wDAAwD;IACxD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kFAAkF;IAClF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,UAAU,CAAC;CACrB;AAED;;;;;;GAMG;AACH,wBAAsB,YAAY,CAChC,QAAQ,EAAE,cAAc,EACxB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,qBAAqB,EAC9B,SAAS,CAAC,EAAE,YAAY,GACvB,OAAO,CAAC,oBAAoB,CAAC,CA6B/B;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,CAW5D;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,UAAU,GAAG,IAAI,CAiB5F;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI;IAAE,QAAQ,EAAE,IAAI,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAOhG;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,UAAU,GAAG,IAAI,CAoB1F;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAa5F;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE;IACzC,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,6FAA6F;IAC7F,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,GAAG,MAAM,CAmCT;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAa3E;AAKD;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,iBAAiB,EACxB,QAAQ,EAAE,MAAM,EAChB,GAAG,EAAE,UAAU,GACd,IAAI,CA6BN;AAED;;;;;;;GAOG;AACH,wBAAgB,WAAW,CACzB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,cAAc,EACxB,WAAW,EAAE,CAAC,KAAK,EAAE,iBAAiB,EAAE,GAAG,EAAE,UAAU,KAAK,MAAM,GACjE,CAAC,KAAK,EAAE,iBAAiB,KAAK,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAwInE;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,iBAAiB,EACxB,QAAQ,EAAE,QAAQ,EAAE,EACpB,GAAG,EAAE,UAAU,CAAC,OAAO,gBAAgB,CAAC,GACvC,IAAI,CAaN"}
|
package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.js
CHANGED
|
@@ -10,8 +10,6 @@ import { execSync } from 'node:child_process';
|
|
|
10
10
|
import { join, dirname, relative } from 'node:path';
|
|
11
11
|
import { interrupt, isGraphBubbleUp } from '@langchain/langgraph';
|
|
12
12
|
import { hasSettings, getSettings } from '../../../../services/settings.service.js';
|
|
13
|
-
import { SecurityViolationError } from '../../../../../domain/errors/security-violation.error.js';
|
|
14
|
-
import { checkSecurityDisposition, resolveEffectiveSecurityMode } from './security-pre-check.js';
|
|
15
13
|
import { reportNodeStart } from '../heartbeat.js';
|
|
16
14
|
import { recordPhaseStart, recordPhaseEnd, recordApprovalWaitStart, } from '../phase-timing-context.js';
|
|
17
15
|
import { updateNodeLifecycle } from '../lifecycle-context.js';
|
|
@@ -494,29 +492,6 @@ export function executeNode(nodeName, executor, buildPrompt) {
|
|
|
494
492
|
};
|
|
495
493
|
}
|
|
496
494
|
}
|
|
497
|
-
// Security pre-check: evaluate policy before executing the agent.
|
|
498
|
-
// Master kill switch — when the supplyChainSecurity feature flag is off,
|
|
499
|
-
// resolveEffectiveSecurityMode forces the mode to Disabled so
|
|
500
|
-
// checkSecurityDisposition returns a skip and no security logic runs.
|
|
501
|
-
const supplyChainSecurityEnabled = hasSettings()
|
|
502
|
-
? (getSettings().featureFlags?.supplyChainSecurity ?? true)
|
|
503
|
-
: true;
|
|
504
|
-
const effectiveSecurityMode = resolveEffectiveSecurityMode(state.securityMode, supplyChainSecurityEnabled);
|
|
505
|
-
const securityCheck = checkSecurityDisposition(nodeName, effectiveSecurityMode, state.securityActionDispositions ?? {});
|
|
506
|
-
if (securityCheck.action === 'deny') {
|
|
507
|
-
throw new SecurityViolationError(`Node "${nodeName}" denied by security policy (category: ${securityCheck.category})`, securityCheck.category, `Action category "${securityCheck.category}" is denied. Update security policy to allow this action.`);
|
|
508
|
-
}
|
|
509
|
-
if (securityCheck.action === 'approval_required') {
|
|
510
|
-
log.info(`Security policy requires approval for "${nodeName}" (category: ${securityCheck.category})`);
|
|
511
|
-
interrupt({
|
|
512
|
-
node: nodeName,
|
|
513
|
-
message: `Security policy requires approval for "${securityCheck.category}" before "${nodeName}" can execute.`,
|
|
514
|
-
securityCategory: securityCheck.category,
|
|
515
|
-
});
|
|
516
|
-
}
|
|
517
|
-
if (securityCheck.action === 'warn') {
|
|
518
|
-
log.info(`Security advisory: "${nodeName}" would be restricted (category: ${securityCheck.category})`);
|
|
519
|
-
}
|
|
520
495
|
const startTime = Date.now();
|
|
521
496
|
const resumePrefix = buildResumeContext(state.resumeReason);
|
|
522
497
|
const prompt = resumePrefix + buildPrompt(state, log);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { ApprovalGates, CiFixRecord, Evidence
|
|
2
|
-
import { SecurityMode } from '../../../../domain/generated/output.js';
|
|
1
|
+
import type { ApprovalGates, CiFixRecord, Evidence } from '../../../../domain/generated/output.js';
|
|
3
2
|
/**
|
|
4
3
|
* State annotation for the feature-agent graph.
|
|
5
4
|
*
|
|
@@ -60,8 +59,6 @@ export declare const FeatureAgentAnnotation: import("@langchain/langgraph").Anno
|
|
|
60
59
|
ciFixAttempts: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
|
|
61
60
|
ciFixHistory: import("@langchain/langgraph").BinaryOperatorAggregate<CiFixRecord[], CiFixRecord[]>;
|
|
62
61
|
ciFixStatus: import("@langchain/langgraph").BinaryOperatorAggregate<"success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted", "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted">;
|
|
63
|
-
securityMode: import("@langchain/langgraph").BinaryOperatorAggregate<SecurityMode, SecurityMode>;
|
|
64
|
-
securityActionDispositions: import("@langchain/langgraph").BinaryOperatorAggregate<Partial<Record<SecurityActionCategory, SecurityActionDisposition>>, Partial<Record<SecurityActionCategory, SecurityActionDisposition>>>;
|
|
65
62
|
}>;
|
|
66
63
|
export type FeatureAgentState = typeof FeatureAgentAnnotation.State;
|
|
67
64
|
//# sourceMappingURL=state.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/services/agents/feature-agent/state.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/services/agents/feature-agent/state.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAEzF;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwHjC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,OAAO,sBAAsB,CAAC,KAAK,CAAC"}
|