takt 0.48.0 → 0.50.0
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 +15 -0
- package/builtins/en/config.yaml +6 -0
- package/builtins/en/facets/instructions/ai-antipattern-review.md +5 -0
- package/builtins/en/facets/instructions/exec-loop-monitor.md +15 -0
- package/builtins/en/facets/instructions/exec-replan.md +5 -0
- package/builtins/en/facets/instructions/exec-review.md +10 -0
- package/builtins/en/facets/instructions/exec-worker.md +5 -0
- package/builtins/en/facets/instructions/findings-manager.md +6 -2
- package/builtins/en/facets/instructions/loop-monitor-fix-replan.md +21 -0
- package/builtins/en/facets/instructions/loop-monitor-replan.md +10 -0
- package/builtins/en/facets/instructions/plan-maintenance.md +10 -7
- package/builtins/en/facets/instructions/plan.md +17 -8
- package/builtins/en/facets/instructions/review-arch.md +5 -0
- package/builtins/en/facets/instructions/review-coding.md +15 -6
- package/builtins/en/facets/instructions/review-cqrs-es.md +9 -0
- package/builtins/en/facets/instructions/review-implementation-semantics.md +18 -0
- package/builtins/en/facets/instructions/review-merge-readiness.md +14 -0
- package/builtins/en/facets/instructions/supervise-maintenance.md +2 -2
- package/builtins/en/facets/instructions/supervise.md +8 -3
- package/builtins/en/facets/instructions/write-tests-first.md +23 -3
- package/builtins/en/facets/knowledge/architecture.md +25 -0
- package/builtins/en/facets/knowledge/cqrs-es.md +718 -235
- package/builtins/en/facets/knowledge/implementation-semantics.md +104 -0
- package/builtins/en/facets/knowledge/takt.md +26 -2
- package/builtins/en/facets/knowledge/unit-testing.md +14 -0
- package/builtins/en/facets/output-contracts/ai-antipattern-review.md +11 -1
- package/builtins/en/facets/output-contracts/architecture-review.md +6 -1
- package/builtins/en/facets/output-contracts/coding-review.md +11 -1
- package/builtins/en/facets/output-contracts/exec-review-result.md +13 -0
- package/builtins/en/facets/output-contracts/findings-manager.md +14 -0
- package/builtins/en/facets/output-contracts/implementation-semantics-review-finding-contract.md +28 -0
- package/builtins/en/facets/output-contracts/implementation-semantics-review.md +50 -0
- package/builtins/en/facets/output-contracts/{pure-review-finding-contract.md → merge-readiness-review-finding-contract.md} +14 -8
- package/builtins/en/facets/output-contracts/{pure-review.md → merge-readiness-review.md} +17 -11
- package/builtins/en/facets/output-contracts/supervisor-validation.md +6 -2
- package/builtins/en/facets/output-contracts/test-report.md +25 -0
- package/builtins/en/facets/personas/exec-assistant.md +3 -0
- package/builtins/en/facets/personas/exec-worker.md +3 -0
- package/builtins/en/facets/personas/implementation-semantics-reviewer.md +27 -0
- package/builtins/en/facets/personas/merge-readiness-reviewer.md +28 -0
- package/builtins/en/facets/personas/supervisor.md +1 -1
- package/builtins/en/facets/policies/ai-antipattern.md +18 -0
- package/builtins/en/facets/policies/existing-system-respect.md +13 -0
- package/builtins/en/facets/policies/review.md +17 -0
- package/builtins/en/facets/policies/testing.md +14 -0
- package/builtins/en/workflow-categories.yaml +13 -1
- package/builtins/en/workflows/audit-architecture-backend.yaml +1 -0
- package/builtins/en/workflows/audit-architecture-dual.yaml +1 -0
- package/builtins/en/workflows/audit-architecture-frontend.yaml +1 -0
- package/builtins/en/workflows/audit-architecture.yaml +1 -0
- package/builtins/en/workflows/audit-e2e.yaml +1 -0
- package/builtins/en/workflows/audit-security.yaml +1 -0
- package/builtins/en/workflows/audit-unit.yaml +1 -0
- package/builtins/en/workflows/backend-cqrs-for-local-llm.yaml +288 -0
- package/builtins/en/workflows/backend-cqrs-mini.yaml +1 -0
- package/builtins/en/workflows/backend-cqrs.yaml +28 -84
- package/builtins/en/workflows/backend-for-local-llm.yaml +284 -0
- package/builtins/en/workflows/backend-maintenance.yaml +32 -89
- package/builtins/en/workflows/backend-mini.yaml +1 -0
- package/builtins/en/workflows/backend.yaml +25 -83
- package/builtins/en/workflows/{takt-default-with-fc.yaml → cli.yaml} +16 -4
- package/builtins/en/workflows/deep-research.yaml +1 -0
- package/builtins/en/workflows/default-high.yaml +3 -32
- package/builtins/en/workflows/default-peer-review.yaml +16 -52
- package/builtins/en/workflows/default.yaml +2 -1
- package/builtins/en/workflows/draft.yaml +1 -1
- package/builtins/en/workflows/dual-cqrs-mini.yaml +1 -0
- package/builtins/en/workflows/dual-cqrs.yaml +28 -87
- package/builtins/en/workflows/dual-for-local-llm.yaml +312 -0
- package/builtins/en/workflows/dual-mini.yaml +1 -0
- package/builtins/en/workflows/dual.yaml +29 -57
- package/builtins/en/workflows/frontend-for-local-llm.yaml +289 -0
- package/builtins/en/workflows/frontend-maintenance.yaml +34 -91
- package/builtins/en/workflows/frontend-mini.yaml +1 -0
- package/builtins/en/workflows/frontend.yaml +27 -85
- package/builtins/en/workflows/merge-readiness-dual-final-gate.yaml +92 -0
- package/builtins/en/workflows/merge-readiness-final-gate.yaml +79 -0
- package/builtins/en/workflows/{peer-review-with-fc.yaml → peer-review-for-local-llm.yaml} +49 -38
- package/builtins/en/workflows/peer-review.yaml +26 -21
- package/builtins/en/workflows/research.yaml +1 -0
- package/builtins/en/workflows/review-backend-cqrs.yaml +63 -35
- package/builtins/en/workflows/review-backend.yaml +63 -35
- package/builtins/en/workflows/review-default.yaml +138 -107
- package/builtins/en/workflows/review-dual-cqrs.yaml +63 -35
- package/builtins/en/workflows/review-dual.yaml +63 -35
- package/builtins/en/workflows/review-fix-backend-cqrs.yaml +27 -87
- package/builtins/en/workflows/review-fix-backend.yaml +25 -86
- package/builtins/en/workflows/review-fix-default.yaml +17 -87
- package/builtins/en/workflows/review-fix-dual-cqrs.yaml +29 -90
- package/builtins/en/workflows/review-fix-dual.yaml +27 -89
- package/builtins/en/workflows/review-fix-frontend.yaml +25 -87
- package/builtins/en/workflows/review-fix-takt-default.yaml +67 -362
- package/builtins/en/workflows/review-frontend.yaml +63 -35
- package/builtins/en/workflows/review-takt-default.yaml +140 -109
- package/builtins/en/workflows/takt-default-for-local-llm.yaml +283 -0
- package/builtins/en/workflows/takt-default-refresh-all.yaml +20 -58
- package/builtins/en/workflows/takt-default-refresh-fast.yaml +19 -56
- package/builtins/en/workflows/takt-default.yaml +3 -25
- package/builtins/en/workflows/terraform.yaml +81 -44
- package/builtins/exec/presets/backend.yaml +31 -0
- package/builtins/exec/presets/dual.yaml +34 -0
- package/builtins/exec/presets/frontend.yaml +31 -0
- package/builtins/exec/presets/research.yaml +45 -0
- package/builtins/ja/config.yaml +6 -0
- package/builtins/ja/facets/instructions/ai-antipattern-review.md +5 -0
- package/builtins/ja/facets/instructions/exec-loop-monitor.md +15 -0
- package/builtins/ja/facets/instructions/exec-replan.md +5 -0
- package/builtins/ja/facets/instructions/exec-review.md +10 -0
- package/builtins/ja/facets/instructions/exec-worker.md +5 -0
- package/builtins/ja/facets/instructions/findings-manager.md +6 -2
- package/builtins/ja/facets/instructions/implement-maintenance.md +4 -15
- package/builtins/ja/facets/instructions/implement.md +2 -14
- package/builtins/ja/facets/instructions/loop-monitor-fix-replan.md +21 -0
- package/builtins/ja/facets/instructions/loop-monitor-replan.md +10 -0
- package/builtins/ja/facets/instructions/plan-maintenance.md +10 -7
- package/builtins/ja/facets/instructions/plan.md +9 -6
- package/builtins/ja/facets/instructions/review-arch.md +5 -0
- package/builtins/ja/facets/instructions/review-coding.md +15 -6
- package/builtins/ja/facets/instructions/review-cqrs-es.md +9 -0
- package/builtins/ja/facets/instructions/review-implementation-semantics.md +17 -0
- package/builtins/ja/facets/instructions/review-merge-readiness.md +14 -0
- package/builtins/ja/facets/instructions/supervise-maintenance.md +2 -2
- package/builtins/ja/facets/instructions/supervise.md +8 -3
- package/builtins/ja/facets/instructions/write-tests-first.md +23 -3
- package/builtins/ja/facets/knowledge/architecture.md +25 -0
- package/builtins/ja/facets/knowledge/cqrs-es.md +211 -16
- package/builtins/ja/facets/knowledge/implementation-semantics.md +104 -0
- package/builtins/ja/facets/knowledge/takt.md +26 -2
- package/builtins/ja/facets/knowledge/unit-testing.md +14 -0
- package/builtins/ja/facets/output-contracts/ai-antipattern-review.md +11 -1
- package/builtins/ja/facets/output-contracts/architecture-review.md +6 -1
- package/builtins/ja/facets/output-contracts/coding-review.md +11 -1
- package/builtins/ja/facets/output-contracts/exec-review-result.md +13 -0
- package/builtins/ja/facets/output-contracts/findings-manager.md +14 -0
- package/builtins/ja/facets/output-contracts/implementation-semantics-review-finding-contract.md +24 -0
- package/builtins/ja/facets/output-contracts/implementation-semantics-review.md +50 -0
- package/builtins/ja/facets/output-contracts/{pure-review-finding-contract.md → merge-readiness-review-finding-contract.md} +14 -8
- package/builtins/ja/facets/output-contracts/{pure-review.md → merge-readiness-review.md} +17 -11
- package/builtins/ja/facets/output-contracts/supervisor-validation.md +6 -2
- package/builtins/ja/facets/output-contracts/test-report.md +25 -0
- package/builtins/ja/facets/partials/instructions/implement-common.md +13 -0
- package/builtins/ja/facets/personas/exec-assistant.md +3 -0
- package/builtins/ja/facets/personas/exec-worker.md +3 -0
- package/builtins/ja/facets/personas/implementation-semantics-reviewer.md +27 -0
- package/builtins/ja/facets/personas/merge-readiness-reviewer.md +28 -0
- package/builtins/ja/facets/personas/supervisor.md +1 -1
- package/builtins/ja/facets/policies/ai-antipattern.md +18 -0
- package/builtins/ja/facets/policies/coding.md +1 -0
- package/builtins/ja/facets/policies/existing-system-respect.md +13 -0
- package/builtins/ja/facets/policies/review.md +18 -0
- package/builtins/ja/facets/policies/testing.md +19 -2
- package/builtins/ja/workflow-categories.yaml +13 -1
- package/builtins/ja/workflows/audit-architecture-backend.yaml +1 -0
- package/builtins/ja/workflows/audit-architecture-dual.yaml +1 -0
- package/builtins/ja/workflows/audit-architecture-frontend.yaml +1 -0
- package/builtins/ja/workflows/audit-architecture.yaml +1 -0
- package/builtins/ja/workflows/audit-e2e.yaml +1 -0
- package/builtins/ja/workflows/audit-security.yaml +1 -0
- package/builtins/ja/workflows/audit-unit.yaml +1 -0
- package/builtins/ja/workflows/backend-cqrs-for-local-llm.yaml +287 -0
- package/builtins/ja/workflows/backend-cqrs-mini.yaml +1 -0
- package/builtins/ja/workflows/backend-cqrs.yaml +28 -84
- package/builtins/ja/workflows/backend-for-local-llm.yaml +283 -0
- package/builtins/ja/workflows/backend-maintenance.yaml +32 -89
- package/builtins/ja/workflows/backend-mini.yaml +1 -0
- package/builtins/ja/workflows/backend.yaml +25 -83
- package/builtins/ja/workflows/{takt-default-with-fc.yaml → cli.yaml} +16 -4
- package/builtins/ja/workflows/deep-research.yaml +1 -0
- package/builtins/ja/workflows/default-high.yaml +3 -32
- package/builtins/ja/workflows/default-peer-review.yaml +16 -52
- package/builtins/ja/workflows/default.yaml +2 -1
- package/builtins/ja/workflows/draft.yaml +1 -1
- package/builtins/ja/workflows/dual-cqrs-mini.yaml +1 -0
- package/builtins/ja/workflows/dual-cqrs.yaml +28 -87
- package/builtins/ja/workflows/dual-for-local-llm.yaml +311 -0
- package/builtins/ja/workflows/dual-mini.yaml +1 -0
- package/builtins/ja/workflows/dual.yaml +29 -57
- package/builtins/ja/workflows/frontend-for-local-llm.yaml +288 -0
- package/builtins/ja/workflows/frontend-maintenance.yaml +34 -91
- package/builtins/ja/workflows/frontend-mini.yaml +1 -0
- package/builtins/ja/workflows/frontend.yaml +27 -85
- package/builtins/ja/workflows/merge-readiness-dual-final-gate.yaml +92 -0
- package/builtins/ja/workflows/merge-readiness-final-gate.yaml +79 -0
- package/builtins/ja/workflows/{peer-review-with-fc.yaml → peer-review-for-local-llm.yaml} +49 -38
- package/builtins/ja/workflows/peer-review.yaml +26 -21
- package/builtins/ja/workflows/research.yaml +1 -0
- package/builtins/ja/workflows/review-backend-cqrs.yaml +63 -35
- package/builtins/ja/workflows/review-backend.yaml +63 -35
- package/builtins/ja/workflows/review-default.yaml +111 -79
- package/builtins/ja/workflows/review-dual-cqrs.yaml +63 -35
- package/builtins/ja/workflows/review-dual.yaml +63 -35
- package/builtins/ja/workflows/review-fix-backend-cqrs.yaml +27 -87
- package/builtins/ja/workflows/review-fix-backend.yaml +25 -86
- package/builtins/ja/workflows/review-fix-default.yaml +17 -87
- package/builtins/ja/workflows/review-fix-dual-cqrs.yaml +29 -90
- package/builtins/ja/workflows/review-fix-dual.yaml +27 -89
- package/builtins/ja/workflows/review-fix-frontend.yaml +25 -87
- package/builtins/ja/workflows/review-fix-takt-default.yaml +67 -362
- package/builtins/ja/workflows/review-frontend.yaml +63 -35
- package/builtins/ja/workflows/review-takt-default.yaml +112 -80
- package/builtins/ja/workflows/takt-default-for-local-llm.yaml +282 -0
- package/builtins/ja/workflows/takt-default-refresh-all.yaml +20 -58
- package/builtins/ja/workflows/takt-default-refresh-fast.yaml +19 -56
- package/builtins/ja/workflows/takt-default.yaml +3 -25
- package/builtins/ja/workflows/terraform.yaml +81 -44
- package/builtins/skill/SKILL.md +1 -1
- package/builtins/skill/references/engine.md +1 -15
- package/builtins/skill-codex/SKILL.md +1 -1
- package/builtins/skill-codex/references/engine.md +0 -2
- package/dist/agents/decompose-task-usecase.d.ts +1 -1
- package/dist/agents/decompose-task-usecase.d.ts.map +1 -1
- package/dist/agents/decompose-task-usecase.js +2 -4
- package/dist/agents/decompose-task-usecase.js.map +1 -1
- package/dist/agents/judge-utils.d.ts.map +1 -1
- package/dist/agents/judge-utils.js +4 -3
- package/dist/agents/judge-utils.js.map +1 -1
- package/dist/agents/runner.d.ts.map +1 -1
- package/dist/agents/runner.js +7 -6
- package/dist/agents/runner.js.map +1 -1
- package/dist/agents/structured-caller/prompt-based-structured-caller.d.ts.map +1 -1
- package/dist/agents/structured-caller/prompt-based-structured-caller.js +2 -3
- package/dist/agents/structured-caller/prompt-based-structured-caller.js.map +1 -1
- package/dist/agents/structured-caller/shared.d.ts.map +1 -1
- package/dist/agents/structured-caller/shared.js +2 -9
- package/dist/agents/structured-caller/shared.js.map +1 -1
- package/dist/app/acp/agent.d.ts +28 -0
- package/dist/app/acp/agent.d.ts.map +1 -0
- package/dist/app/acp/agent.js +279 -0
- package/dist/app/acp/agent.js.map +1 -0
- package/dist/app/acp/confirmationBridge.d.ts +5 -0
- package/dist/app/acp/confirmationBridge.d.ts.map +1 -0
- package/dist/app/acp/confirmationBridge.js +194 -0
- package/dist/app/acp/confirmationBridge.js.map +1 -0
- package/dist/app/acp/conversationFactory.d.ts +4 -0
- package/dist/app/acp/conversationFactory.d.ts.map +1 -0
- package/dist/app/acp/conversationFactory.js +33 -0
- package/dist/app/acp/conversationFactory.js.map +1 -0
- package/dist/app/acp/enqueue.d.ts +33 -0
- package/dist/app/acp/enqueue.d.ts.map +1 -0
- package/dist/app/acp/enqueue.js +45 -0
- package/dist/app/acp/enqueue.js.map +1 -0
- package/dist/app/acp/index.d.ts +7 -0
- package/dist/app/acp/index.d.ts.map +1 -0
- package/dist/app/acp/index.js +125 -0
- package/dist/app/acp/index.js.map +1 -0
- package/dist/app/acp/intent.d.ts +10 -0
- package/dist/app/acp/intent.d.ts.map +1 -0
- package/dist/app/acp/intent.js +210 -0
- package/dist/app/acp/intent.js.map +1 -0
- package/dist/app/acp/mcpServers.d.ts +4 -0
- package/dist/app/acp/mcpServers.d.ts.map +1 -0
- package/dist/app/acp/mcpServers.js +51 -0
- package/dist/app/acp/mcpServers.js.map +1 -0
- package/dist/app/acp/promptContent.d.ts +3 -0
- package/dist/app/acp/promptContent.d.ts.map +1 -0
- package/dist/app/acp/promptContent.js +23 -0
- package/dist/app/acp/promptContent.js.map +1 -0
- package/dist/app/acp/sessionStore.d.ts +19 -0
- package/dist/app/acp/sessionStore.d.ts.map +1 -0
- package/dist/app/acp/sessionStore.js +50 -0
- package/dist/app/acp/sessionStore.js.map +1 -0
- package/dist/app/acp/sessionUpdates.d.ts +8 -0
- package/dist/app/acp/sessionUpdates.d.ts.map +1 -0
- package/dist/app/acp/sessionUpdates.js +108 -0
- package/dist/app/acp/sessionUpdates.js.map +1 -0
- package/dist/app/acp/taskContext.d.ts +17 -0
- package/dist/app/acp/taskContext.d.ts.map +1 -0
- package/dist/app/acp/taskContext.js +81 -0
- package/dist/app/acp/taskContext.js.map +1 -0
- package/dist/app/acp/types.d.ts +33 -0
- package/dist/app/acp/types.d.ts.map +1 -0
- package/dist/app/acp/types.js +2 -0
- package/dist/app/acp/types.js.map +1 -0
- package/dist/app/cli/commands.js +13 -0
- package/dist/app/cli/commands.js.map +1 -1
- package/dist/app/cli/program.d.ts.map +1 -1
- package/dist/app/cli/program.js +2 -3
- package/dist/app/cli/program.js.map +1 -1
- package/dist/app/mcp/index.d.ts +3 -0
- package/dist/app/mcp/index.d.ts.map +1 -0
- package/dist/app/mcp/index.js +16 -0
- package/dist/app/mcp/index.js.map +1 -0
- package/dist/app/mcp/server.d.ts +2 -0
- package/dist/app/mcp/server.d.ts.map +1 -0
- package/dist/app/mcp/server.js +2 -0
- package/dist/app/mcp/server.js.map +1 -0
- package/dist/core/config/provider-resolution.d.ts +1 -0
- package/dist/core/config/provider-resolution.d.ts.map +1 -1
- package/dist/core/config/provider-resolution.js +19 -0
- package/dist/core/config/provider-resolution.js.map +1 -1
- package/dist/core/models/finding-schemas.d.ts +129 -10
- package/dist/core/models/finding-schemas.d.ts.map +1 -1
- package/dist/core/models/finding-schemas.js +79 -9
- package/dist/core/models/finding-schemas.js.map +1 -1
- package/dist/core/models/finding-types.d.ts +39 -2
- package/dist/core/models/finding-types.d.ts.map +1 -1
- package/dist/core/models/finding-types.js +3 -2
- package/dist/core/models/finding-types.js.map +1 -1
- package/dist/core/models/workflow-condition-expression.d.ts +17 -0
- package/dist/core/models/workflow-condition-expression.d.ts.map +1 -1
- package/dist/core/models/workflow-condition-expression.js +85 -2
- package/dist/core/models/workflow-condition-expression.js.map +1 -1
- package/dist/core/models/workflow-schemas.d.ts +222 -22
- package/dist/core/models/workflow-schemas.d.ts.map +1 -1
- package/dist/core/models/workflow-schemas.js +38 -4
- package/dist/core/models/workflow-schemas.js.map +1 -1
- package/dist/core/models/workflow-types.d.ts +14 -0
- package/dist/core/models/workflow-types.d.ts.map +1 -1
- package/dist/core/runtime/runtime-environment.d.ts.map +1 -1
- package/dist/core/runtime/runtime-environment.js +19 -0
- package/dist/core/runtime/runtime-environment.js.map +1 -1
- package/dist/core/workflow/engine/LoopMonitorJudgeRunner.d.ts +2 -2
- package/dist/core/workflow/engine/LoopMonitorJudgeRunner.d.ts.map +1 -1
- package/dist/core/workflow/engine/LoopMonitorJudgeRunner.js +8 -7
- package/dist/core/workflow/engine/LoopMonitorJudgeRunner.js.map +1 -1
- package/dist/core/workflow/engine/OptionsBuilder.d.ts +15 -5
- package/dist/core/workflow/engine/OptionsBuilder.d.ts.map +1 -1
- package/dist/core/workflow/engine/OptionsBuilder.js +93 -16
- package/dist/core/workflow/engine/OptionsBuilder.js.map +1 -1
- package/dist/core/workflow/engine/ParallelRunner.d.ts +2 -0
- package/dist/core/workflow/engine/ParallelRunner.d.ts.map +1 -1
- package/dist/core/workflow/engine/ParallelRunner.js +131 -23
- package/dist/core/workflow/engine/ParallelRunner.js.map +1 -1
- package/dist/core/workflow/engine/StepExecutor.d.ts +10 -0
- package/dist/core/workflow/engine/StepExecutor.d.ts.map +1 -1
- package/dist/core/workflow/engine/StepExecutor.js +90 -38
- package/dist/core/workflow/engine/StepExecutor.js.map +1 -1
- package/dist/core/workflow/engine/TeamLeaderRunner.d.ts.map +1 -1
- package/dist/core/workflow/engine/TeamLeaderRunner.js +3 -0
- package/dist/core/workflow/engine/TeamLeaderRunner.js.map +1 -1
- package/dist/core/workflow/engine/WorkflowEngine.d.ts.map +1 -1
- package/dist/core/workflow/engine/WorkflowEngine.js +8 -3
- package/dist/core/workflow/engine/WorkflowEngine.js.map +1 -1
- package/dist/core/workflow/engine/WorkflowEngineSetup.d.ts.map +1 -1
- package/dist/core/workflow/engine/WorkflowEngineSetup.js +5 -3
- package/dist/core/workflow/engine/WorkflowEngineSetup.js.map +1 -1
- package/dist/core/workflow/engine/WorkflowRunLoop.d.ts.map +1 -1
- package/dist/core/workflow/engine/WorkflowRunLoop.js +31 -0
- package/dist/core/workflow/engine/WorkflowRunLoop.js.map +1 -1
- package/dist/core/workflow/engine/WorkflowValidator.d.ts.map +1 -1
- package/dist/core/workflow/engine/WorkflowValidator.js +25 -12
- package/dist/core/workflow/engine/WorkflowValidator.js.map +1 -1
- package/dist/core/workflow/engine/engine-provider-options.d.ts +2 -1
- package/dist/core/workflow/engine/engine-provider-options.d.ts.map +1 -1
- package/dist/core/workflow/engine/engine-provider-options.js +30 -6
- package/dist/core/workflow/engine/engine-provider-options.js.map +1 -1
- package/dist/core/workflow/engine/team-leader-part-runner.d.ts.map +1 -1
- package/dist/core/workflow/engine/team-leader-part-runner.js +3 -1
- package/dist/core/workflow/engine/team-leader-part-runner.js.map +1 -1
- package/dist/core/workflow/evaluation/RuleEvaluator.d.ts +0 -1
- package/dist/core/workflow/evaluation/RuleEvaluator.d.ts.map +1 -1
- package/dist/core/workflow/evaluation/RuleEvaluator.js +22 -34
- package/dist/core/workflow/evaluation/RuleEvaluator.js.map +1 -1
- package/dist/core/workflow/evaluation/rule-utils.d.ts +33 -1
- package/dist/core/workflow/evaluation/rule-utils.d.ts.map +1 -1
- package/dist/core/workflow/evaluation/rule-utils.js +77 -5
- package/dist/core/workflow/evaluation/rule-utils.js.map +1 -1
- package/dist/core/workflow/evaluation/when-evaluator.d.ts +1 -0
- package/dist/core/workflow/evaluation/when-evaluator.d.ts.map +1 -1
- package/dist/core/workflow/evaluation/when-evaluator.js +18 -40
- package/dist/core/workflow/evaluation/when-evaluator.js.map +1 -1
- package/dist/core/workflow/findings/context.d.ts +4 -0
- package/dist/core/workflow/findings/context.d.ts.map +1 -1
- package/dist/core/workflow/findings/context.js +27 -0
- package/dist/core/workflow/findings/context.js.map +1 -1
- package/dist/core/workflow/findings/manager-output-validation.d.ts +2 -0
- package/dist/core/workflow/findings/manager-output-validation.d.ts.map +1 -1
- package/dist/core/workflow/findings/manager-output-validation.js +145 -8
- package/dist/core/workflow/findings/manager-output-validation.js.map +1 -1
- package/dist/core/workflow/findings/manager-runner.d.ts +13 -3
- package/dist/core/workflow/findings/manager-runner.d.ts.map +1 -1
- package/dist/core/workflow/findings/manager-runner.js +28 -27
- package/dist/core/workflow/findings/manager-runner.js.map +1 -1
- package/dist/core/workflow/findings/reconciler.d.ts +1 -0
- package/dist/core/workflow/findings/reconciler.d.ts.map +1 -1
- package/dist/core/workflow/findings/reconciler.js +90 -4
- package/dist/core/workflow/findings/reconciler.js.map +1 -1
- package/dist/core/workflow/instruction/InstructionBuilder.d.ts.map +1 -1
- package/dist/core/workflow/instruction/InstructionBuilder.js +18 -2
- package/dist/core/workflow/instruction/InstructionBuilder.js.map +1 -1
- package/dist/core/workflow/instruction/instruction-context.d.ts +4 -0
- package/dist/core/workflow/instruction/instruction-context.d.ts.map +1 -1
- package/dist/core/workflow/instruction/instruction-context.js.map +1 -1
- package/dist/core/workflow/instruction/status-rules.d.ts.map +1 -1
- package/dist/core/workflow/instruction/status-rules.js +7 -2
- package/dist/core/workflow/instruction/status-rules.js.map +1 -1
- package/dist/core/workflow/phase-runner.d.ts +17 -10
- package/dist/core/workflow/phase-runner.d.ts.map +1 -1
- package/dist/core/workflow/phase-runner.js +1 -1
- package/dist/core/workflow/phase-runner.js.map +1 -1
- package/dist/core/workflow/provider-model-requirements.d.ts +6 -0
- package/dist/core/workflow/provider-model-requirements.d.ts.map +1 -0
- package/dist/core/workflow/provider-model-requirements.js +15 -0
- package/dist/core/workflow/provider-model-requirements.js.map +1 -0
- package/dist/core/workflow/provider-resolution.d.ts +4 -6
- package/dist/core/workflow/provider-resolution.d.ts.map +1 -1
- package/dist/core/workflow/provider-resolution.js +19 -11
- package/dist/core/workflow/provider-resolution.js.map +1 -1
- package/dist/core/workflow/report-phase-runner.d.ts +5 -2
- package/dist/core/workflow/report-phase-runner.d.ts.map +1 -1
- package/dist/core/workflow/report-phase-runner.js +135 -43
- package/dist/core/workflow/report-phase-runner.js.map +1 -1
- package/dist/core/workflow/session-key.d.ts +4 -1
- package/dist/core/workflow/session-key.d.ts.map +1 -1
- package/dist/core/workflow/session-key.js +5 -2
- package/dist/core/workflow/session-key.js.map +1 -1
- package/dist/core/workflow/status-judgment-phase.d.ts +2 -2
- package/dist/core/workflow/status-judgment-phase.d.ts.map +1 -1
- package/dist/core/workflow/status-judgment-phase.js +1 -7
- package/dist/core/workflow/status-judgment-phase.js.map +1 -1
- package/dist/core/workflow/system/system-step-effect-runner.js +2 -2
- package/dist/core/workflow/system/system-step-effect-runner.js.map +1 -1
- package/dist/core/workflow/system/system-step-services.d.ts +101 -0
- package/dist/core/workflow/system/system-step-services.d.ts.map +1 -1
- package/dist/core/workflow/types.d.ts +7 -3
- package/dist/core/workflow/types.d.ts.map +1 -1
- package/dist/features/analytics/events.d.ts +2 -1
- package/dist/features/analytics/events.d.ts.map +1 -1
- package/dist/features/catalog/catalogFacets.d.ts +11 -1
- package/dist/features/catalog/catalogFacets.d.ts.map +1 -1
- package/dist/features/catalog/catalogFacets.js +36 -10
- package/dist/features/catalog/catalogFacets.js.map +1 -1
- package/dist/features/exec/assistantSession.d.ts +18 -0
- package/dist/features/exec/assistantSession.d.ts.map +1 -0
- package/dist/features/exec/assistantSession.js +51 -0
- package/dist/features/exec/assistantSession.js.map +1 -0
- package/dist/features/exec/command.d.ts +9 -0
- package/dist/features/exec/command.d.ts.map +1 -0
- package/dist/features/exec/command.js +143 -0
- package/dist/features/exec/command.js.map +1 -0
- package/dist/features/exec/commandAvailability.d.ts +4 -0
- package/dist/features/exec/commandAvailability.d.ts.map +1 -0
- package/dist/features/exec/commandAvailability.js +10 -0
- package/dist/features/exec/commandAvailability.js.map +1 -0
- package/dist/features/exec/configOps.d.ts +13 -0
- package/dist/features/exec/configOps.d.ts.map +1 -0
- package/dist/features/exec/configOps.js +129 -0
- package/dist/features/exec/configOps.js.map +1 -0
- package/dist/features/exec/configValidation.d.ts +15 -0
- package/dist/features/exec/configValidation.d.ts.map +1 -0
- package/dist/features/exec/configValidation.js +146 -0
- package/dist/features/exec/configValidation.js.map +1 -0
- package/dist/features/exec/defaults.d.ts +3 -0
- package/dist/features/exec/defaults.d.ts.map +1 -0
- package/dist/features/exec/defaults.js +30 -0
- package/dist/features/exec/defaults.js.map +1 -0
- package/dist/features/exec/facetEditor.d.ts +5 -0
- package/dist/features/exec/facetEditor.d.ts.map +1 -0
- package/dist/features/exec/facetEditor.js +293 -0
- package/dist/features/exec/facetEditor.js.map +1 -0
- package/dist/features/exec/index.d.ts +2 -0
- package/dist/features/exec/index.d.ts.map +1 -0
- package/dist/features/exec/index.js +2 -0
- package/dist/features/exec/index.js.map +1 -0
- package/dist/features/exec/labels.d.ts +11 -0
- package/dist/features/exec/labels.d.ts.map +1 -0
- package/dist/features/exec/labels.js +20 -0
- package/dist/features/exec/labels.js.map +1 -0
- package/dist/features/exec/presetSelection.d.ts +3 -0
- package/dist/features/exec/presetSelection.d.ts.map +1 -0
- package/dist/features/exec/presetSelection.js +16 -0
- package/dist/features/exec/presetSelection.js.map +1 -0
- package/dist/features/exec/presetSetup.d.ts +7 -0
- package/dist/features/exec/presetSetup.d.ts.map +1 -0
- package/dist/features/exec/presetSetup.js +120 -0
- package/dist/features/exec/presetSetup.js.map +1 -0
- package/dist/features/exec/presetStore.d.ts +25 -0
- package/dist/features/exec/presetStore.d.ts.map +1 -0
- package/dist/features/exec/presetStore.js +326 -0
- package/dist/features/exec/presetStore.js.map +1 -0
- package/dist/features/exec/projectLocalFiles.d.ts +9 -0
- package/dist/features/exec/projectLocalFiles.d.ts.map +1 -0
- package/dist/features/exec/projectLocalFiles.js +111 -0
- package/dist/features/exec/projectLocalFiles.js.map +1 -0
- package/dist/features/exec/promptUtils.d.ts +8 -0
- package/dist/features/exec/promptUtils.d.ts.map +1 -0
- package/dist/features/exec/promptUtils.js +32 -0
- package/dist/features/exec/promptUtils.js.map +1 -0
- package/dist/features/exec/runtimeConfig.d.ts +13 -0
- package/dist/features/exec/runtimeConfig.d.ts.map +1 -0
- package/dist/features/exec/runtimeConfig.js +59 -0
- package/dist/features/exec/runtimeConfig.js.map +1 -0
- package/dist/features/exec/setupMenu.d.ts +5 -0
- package/dist/features/exec/setupMenu.d.ts.map +1 -0
- package/dist/features/exec/setupMenu.js +431 -0
- package/dist/features/exec/setupMenu.js.map +1 -0
- package/dist/features/exec/types.d.ts +52 -0
- package/dist/features/exec/types.d.ts.map +1 -0
- package/dist/features/exec/types.js +2 -0
- package/dist/features/exec/types.js.map +1 -0
- package/dist/features/exec/workflowRunner.d.ts +9 -0
- package/dist/features/exec/workflowRunner.d.ts.map +1 -0
- package/dist/features/exec/workflowRunner.js +96 -0
- package/dist/features/exec/workflowRunner.js.map +1 -0
- package/dist/features/exec/workflowTemplate.d.ts +9 -0
- package/dist/features/exec/workflowTemplate.d.ts.map +1 -0
- package/dist/features/exec/workflowTemplate.js +159 -0
- package/dist/features/exec/workflowTemplate.js.map +1 -0
- package/dist/features/interactive/aiCaller.d.ts +5 -0
- package/dist/features/interactive/aiCaller.d.ts.map +1 -1
- package/dist/features/interactive/aiCaller.js +35 -10
- package/dist/features/interactive/aiCaller.js.map +1 -1
- package/dist/features/interactive/commandMatcher.d.ts +2 -1
- package/dist/features/interactive/commandMatcher.d.ts.map +1 -1
- package/dist/features/interactive/commandMatcher.js +13 -2
- package/dist/features/interactive/commandMatcher.js.map +1 -1
- package/dist/features/interactive/conversationSession.d.ts +44 -0
- package/dist/features/interactive/conversationSession.d.ts.map +1 -0
- package/dist/features/interactive/conversationSession.js +133 -0
- package/dist/features/interactive/conversationSession.js.map +1 -0
- package/dist/features/interactive/index.d.ts +1 -0
- package/dist/features/interactive/index.d.ts.map +1 -1
- package/dist/features/interactive/index.js +1 -0
- package/dist/features/interactive/index.js.map +1 -1
- package/dist/features/interactive/interactive-summary.d.ts.map +1 -1
- package/dist/features/interactive/interactive-summary.js +45 -23
- package/dist/features/interactive/interactive-summary.js.map +1 -1
- package/dist/features/interactive/interactive.d.ts +5 -4
- package/dist/features/interactive/interactive.d.ts.map +1 -1
- package/dist/features/interactive/interactive.js +12 -6
- package/dist/features/interactive/interactive.js.map +1 -1
- package/dist/features/interactive/interactiveApplication.d.ts +5 -0
- package/dist/features/interactive/interactiveApplication.d.ts.map +1 -0
- package/dist/features/interactive/interactiveApplication.js +10 -0
- package/dist/features/interactive/interactiveApplication.js.map +1 -0
- package/dist/features/interactive/promptSections.d.ts.map +1 -1
- package/dist/features/interactive/promptSections.js +3 -6
- package/dist/features/interactive/promptSections.js.map +1 -1
- package/dist/features/interactive/retryMode.d.ts.map +1 -1
- package/dist/features/interactive/retryMode.js +3 -3
- package/dist/features/interactive/retryMode.js.map +1 -1
- package/dist/features/interactive/runSessionReader.d.ts +4 -37
- package/dist/features/interactive/runSessionReader.d.ts.map +1 -1
- package/dist/features/interactive/runSessionReader.js +130 -49
- package/dist/features/interactive/runSessionReader.js.map +1 -1
- package/dist/features/interactive/slashCommandRegistry.d.ts +2 -0
- package/dist/features/interactive/slashCommandRegistry.d.ts.map +1 -1
- package/dist/features/interactive/slashCommandRegistry.js +5 -0
- package/dist/features/interactive/slashCommandRegistry.js.map +1 -1
- package/dist/features/mcp/operations.d.ts +25 -0
- package/dist/features/mcp/operations.d.ts.map +1 -0
- package/dist/features/mcp/operations.js +150 -0
- package/dist/features/mcp/operations.js.map +1 -0
- package/dist/features/mcp/schemas.d.ts +50 -0
- package/dist/features/mcp/schemas.d.ts.map +1 -0
- package/dist/features/mcp/schemas.js +59 -0
- package/dist/features/mcp/schemas.js.map +1 -0
- package/dist/features/mcp/server.d.ts +7 -0
- package/dist/features/mcp/server.d.ts.map +1 -0
- package/dist/features/mcp/server.js +36 -0
- package/dist/features/mcp/server.js.map +1 -0
- package/dist/features/prompt/preview.d.ts.map +1 -1
- package/dist/features/prompt/preview.js +58 -32
- package/dist/features/prompt/preview.js.map +1 -1
- package/dist/features/tasks/add/index.d.ts +8 -20
- package/dist/features/tasks/add/index.d.ts.map +1 -1
- package/dist/features/tasks/add/index.js +42 -61
- package/dist/features/tasks/add/index.js.map +1 -1
- package/dist/features/tasks/attachments.d.ts +2 -5
- package/dist/features/tasks/attachments.d.ts.map +1 -1
- package/dist/features/tasks/attachments.js +11 -35
- package/dist/features/tasks/attachments.js.map +1 -1
- package/dist/features/tasks/execute/outputFns.d.ts +1 -1
- package/dist/features/tasks/execute/outputFns.d.ts.map +1 -1
- package/dist/features/tasks/execute/outputFns.js +17 -1
- package/dist/features/tasks/execute/outputFns.js.map +1 -1
- package/dist/features/tasks/execute/postExecution.d.ts +4 -1
- package/dist/features/tasks/execute/postExecution.d.ts.map +1 -1
- package/dist/features/tasks/execute/postExecution.js +33 -14
- package/dist/features/tasks/execute/postExecution.js.map +1 -1
- package/dist/features/tasks/execute/resolveTask.d.ts +9 -3
- package/dist/features/tasks/execute/resolveTask.d.ts.map +1 -1
- package/dist/features/tasks/execute/resolveTask.js +45 -13
- package/dist/features/tasks/execute/resolveTask.js.map +1 -1
- package/dist/features/tasks/execute/runTaskExecution.d.ts +7 -1
- package/dist/features/tasks/execute/runTaskExecution.d.ts.map +1 -1
- package/dist/features/tasks/execute/runTaskExecution.js +11 -8
- package/dist/features/tasks/execute/runTaskExecution.js.map +1 -1
- package/dist/features/tasks/execute/selectAndExecute.d.ts.map +1 -1
- package/dist/features/tasks/execute/selectAndExecute.js +6 -2
- package/dist/features/tasks/execute/selectAndExecute.js.map +1 -1
- package/dist/features/tasks/execute/taskExecution.d.ts +12 -3
- package/dist/features/tasks/execute/taskExecution.d.ts.map +1 -1
- package/dist/features/tasks/execute/taskExecution.js +63 -16
- package/dist/features/tasks/execute/taskExecution.js.map +1 -1
- package/dist/features/tasks/execute/taskResultHandler.d.ts +2 -2
- package/dist/features/tasks/execute/taskResultHandler.d.ts.map +1 -1
- package/dist/features/tasks/execute/taskResultHandler.js +8 -4
- package/dist/features/tasks/execute/taskResultHandler.js.map +1 -1
- package/dist/features/tasks/execute/taskWorkflowExecution.d.ts.map +1 -1
- package/dist/features/tasks/execute/taskWorkflowExecution.js +101 -10
- package/dist/features/tasks/execute/taskWorkflowExecution.js.map +1 -1
- package/dist/features/tasks/execute/traceTaskMetadata.js +3 -6
- package/dist/features/tasks/execute/traceTaskMetadata.js.map +1 -1
- package/dist/features/tasks/execute/types.d.ts +103 -2
- package/dist/features/tasks/execute/types.d.ts.map +1 -1
- package/dist/features/tasks/execute/workflowExecution.d.ts +3 -1
- package/dist/features/tasks/execute/workflowExecution.d.ts.map +1 -1
- package/dist/features/tasks/execute/workflowExecution.js +41 -3
- package/dist/features/tasks/execute/workflowExecution.js.map +1 -1
- package/dist/features/tasks/execute/workflowExecutionApi.d.ts +6 -0
- package/dist/features/tasks/execute/workflowExecutionApi.d.ts.map +1 -0
- package/dist/features/tasks/execute/workflowExecutionApi.js +25 -0
- package/dist/features/tasks/execute/workflowExecutionApi.js.map +1 -0
- package/dist/features/tasks/execute/workflowExecutionBootstrap.d.ts +2 -1
- package/dist/features/tasks/execute/workflowExecutionBootstrap.d.ts.map +1 -1
- package/dist/features/tasks/execute/workflowExecutionBootstrap.js +18 -14
- package/dist/features/tasks/execute/workflowExecutionBootstrap.js.map +1 -1
- package/dist/features/tasks/execute/workflowExecutionEvents.d.ts +14 -1
- package/dist/features/tasks/execute/workflowExecutionEvents.d.ts.map +1 -1
- package/dist/features/tasks/execute/workflowExecutionEvents.js +244 -3
- package/dist/features/tasks/execute/workflowExecutionEvents.js.map +1 -1
- package/dist/features/tasks/list/instructMode.d.ts.map +1 -1
- package/dist/features/tasks/list/instructMode.js +3 -3
- package/dist/features/tasks/list/instructMode.js.map +1 -1
- package/dist/features/tasks/list/requeueHelpers.d.ts +1 -0
- package/dist/features/tasks/list/requeueHelpers.d.ts.map +1 -1
- package/dist/features/tasks/list/requeueHelpers.js +3 -0
- package/dist/features/tasks/list/requeueHelpers.js.map +1 -1
- package/dist/features/tasks/list/taskInstructionActions.d.ts.map +1 -1
- package/dist/features/tasks/list/taskInstructionActions.js +2 -2
- package/dist/features/tasks/list/taskInstructionActions.js.map +1 -1
- package/dist/features/tasks/list/taskRetryActions.d.ts.map +1 -1
- package/dist/features/tasks/list/taskRetryActions.js +1 -4
- package/dist/features/tasks/list/taskRetryActions.js.map +1 -1
- package/dist/features/tasks/resume/directInstructMode.d.ts.map +1 -1
- package/dist/features/tasks/resume/directInstructMode.js +3 -3
- package/dist/features/tasks/resume/directInstructMode.js.map +1 -1
- package/dist/features/tasks/taskContextValidation.d.ts +10 -0
- package/dist/features/tasks/taskContextValidation.d.ts.map +1 -0
- package/dist/features/tasks/taskContextValidation.js +73 -0
- package/dist/features/tasks/taskContextValidation.js.map +1 -0
- package/dist/infra/codex/client.d.ts.map +1 -1
- package/dist/infra/codex/client.js +5 -0
- package/dist/infra/codex/client.js.map +1 -1
- package/dist/infra/config/configNormalizers.d.ts.map +1 -1
- package/dist/infra/config/configNormalizers.js +14 -11
- package/dist/infra/config/configNormalizers.js.map +1 -1
- package/dist/infra/config/global/globalConfigCore.js +2 -2
- package/dist/infra/config/global/globalConfigCore.js.map +1 -1
- package/dist/infra/config/loaders/resource-resolver.d.ts +3 -33
- package/dist/infra/config/loaders/resource-resolver.d.ts.map +1 -1
- package/dist/infra/config/loaders/resource-resolver.js +140 -52
- package/dist/infra/config/loaders/resource-resolver.js.map +1 -1
- package/dist/infra/config/loaders/workflowCallContracts.d.ts.map +1 -1
- package/dist/infra/config/loaders/workflowCallContracts.js +5 -0
- package/dist/infra/config/loaders/workflowCallContracts.js.map +1 -1
- package/dist/infra/config/loaders/workflowCallableArgResolver.d.ts.map +1 -1
- package/dist/infra/config/loaders/workflowCallableArgResolver.js +42 -7
- package/dist/infra/config/loaders/workflowCallableArgResolver.js.map +1 -1
- package/dist/infra/config/loaders/workflowCallableRuleValidation.d.ts.map +1 -1
- package/dist/infra/config/loaders/workflowCallableRuleValidation.js +5 -0
- package/dist/infra/config/loaders/workflowCallableRuleValidation.js.map +1 -1
- package/dist/infra/config/loaders/workflowDoctor.d.ts.map +1 -1
- package/dist/infra/config/loaders/workflowDoctor.js +19 -7
- package/dist/infra/config/loaders/workflowDoctor.js.map +1 -1
- package/dist/infra/config/loaders/workflowLoopMonitorNormalizer.d.ts +3 -1
- package/dist/infra/config/loaders/workflowLoopMonitorNormalizer.d.ts.map +1 -1
- package/dist/infra/config/loaders/workflowLoopMonitorNormalizer.js +12 -2
- package/dist/infra/config/loaders/workflowLoopMonitorNormalizer.js.map +1 -1
- package/dist/infra/config/loaders/workflowPackageScope.d.ts +1 -0
- package/dist/infra/config/loaders/workflowPackageScope.d.ts.map +1 -1
- package/dist/infra/config/loaders/workflowPackageScope.js +20 -2
- package/dist/infra/config/loaders/workflowPackageScope.js.map +1 -1
- package/dist/infra/config/loaders/workflowParser.d.ts.map +1 -1
- package/dist/infra/config/loaders/workflowParser.js +17 -14
- package/dist/infra/config/loaders/workflowParser.js.map +1 -1
- package/dist/infra/config/loaders/workflowPreview.d.ts +3 -0
- package/dist/infra/config/loaders/workflowPreview.d.ts.map +1 -1
- package/dist/infra/config/loaders/workflowPreview.js +17 -9
- package/dist/infra/config/loaders/workflowPreview.js.map +1 -1
- package/dist/infra/config/loaders/workflowRuleNormalizer.d.ts +10 -0
- package/dist/infra/config/loaders/workflowRuleNormalizer.d.ts.map +1 -1
- package/dist/infra/config/loaders/workflowRuleNormalizer.js +70 -1
- package/dist/infra/config/loaders/workflowRuleNormalizer.js.map +1 -1
- package/dist/infra/config/loaders/workflowStepNormalizer.d.ts +1 -1
- package/dist/infra/config/loaders/workflowStepNormalizer.d.ts.map +1 -1
- package/dist/infra/config/loaders/workflowStepNormalizer.js +33 -11
- package/dist/infra/config/loaders/workflowStepNormalizer.js.map +1 -1
- package/dist/infra/config/project/sessionStore.d.ts +2 -2
- package/dist/infra/config/project/sessionStore.d.ts.map +1 -1
- package/dist/infra/config/project/sessionStore.js +12 -4
- package/dist/infra/config/project/sessionStore.js.map +1 -1
- package/dist/infra/config/providerModelRequirements.d.ts +2 -0
- package/dist/infra/config/providerModelRequirements.d.ts.map +1 -0
- package/dist/infra/config/providerModelRequirements.js +2 -0
- package/dist/infra/config/providerModelRequirements.js.map +1 -0
- package/dist/infra/git/format.d.ts +1 -0
- package/dist/infra/git/format.d.ts.map +1 -1
- package/dist/infra/git/format.js +21 -0
- package/dist/infra/git/format.js.map +1 -1
- package/dist/infra/git/index.d.ts +1 -1
- package/dist/infra/git/index.d.ts.map +1 -1
- package/dist/infra/git/types.d.ts +16 -4
- package/dist/infra/git/types.d.ts.map +1 -1
- package/dist/infra/github/GitHubProvider.d.ts +2 -1
- package/dist/infra/github/GitHubProvider.d.ts.map +1 -1
- package/dist/infra/github/GitHubProvider.js +4 -1
- package/dist/infra/github/GitHubProvider.js.map +1 -1
- package/dist/infra/github/issue.d.ts +2 -1
- package/dist/infra/github/issue.d.ts.map +1 -1
- package/dist/infra/github/issue.js +23 -2
- package/dist/infra/github/issue.js.map +1 -1
- package/dist/infra/gitlab/GitLabProvider.d.ts +2 -1
- package/dist/infra/gitlab/GitLabProvider.d.ts.map +1 -1
- package/dist/infra/gitlab/GitLabProvider.js +4 -1
- package/dist/infra/gitlab/GitLabProvider.js.map +1 -1
- package/dist/infra/gitlab/issue.d.ts +2 -1
- package/dist/infra/gitlab/issue.d.ts.map +1 -1
- package/dist/infra/gitlab/issue.js +30 -2
- package/dist/infra/gitlab/issue.js.map +1 -1
- package/dist/infra/opencode/OpenCodeStreamHandler.d.ts +4 -0
- package/dist/infra/opencode/OpenCodeStreamHandler.d.ts.map +1 -1
- package/dist/infra/opencode/OpenCodeStreamHandler.js.map +1 -1
- package/dist/infra/opencode/allowedTools.d.ts +1 -0
- package/dist/infra/opencode/allowedTools.d.ts.map +1 -1
- package/dist/infra/opencode/allowedTools.js +6 -0
- package/dist/infra/opencode/allowedTools.js.map +1 -1
- package/dist/infra/opencode/client.d.ts +2 -0
- package/dist/infra/opencode/client.d.ts.map +1 -1
- package/dist/infra/opencode/client.js +392 -169
- package/dist/infra/opencode/client.js.map +1 -1
- package/dist/infra/opencode/types.d.ts +35 -0
- package/dist/infra/opencode/types.d.ts.map +1 -1
- package/dist/infra/opencode/types.js +98 -11
- package/dist/infra/opencode/types.js.map +1 -1
- package/dist/infra/opencode/unavailable-tool-loop.d.ts +13 -0
- package/dist/infra/opencode/unavailable-tool-loop.d.ts.map +1 -1
- package/dist/infra/opencode/unavailable-tool-loop.js +46 -0
- package/dist/infra/opencode/unavailable-tool-loop.js.map +1 -1
- package/dist/infra/providers/allowed-tool-edit-policy.d.ts +1 -0
- package/dist/infra/providers/allowed-tool-edit-policy.d.ts.map +1 -1
- package/dist/infra/providers/allowed-tool-edit-policy.js +35 -1
- package/dist/infra/providers/allowed-tool-edit-policy.js.map +1 -1
- package/dist/infra/providers/claude-headless.d.ts.map +1 -1
- package/dist/infra/providers/claude-headless.js +0 -2
- package/dist/infra/providers/claude-headless.js.map +1 -1
- package/dist/infra/providers/claude-terminal.d.ts.map +1 -1
- package/dist/infra/providers/claude-terminal.js +0 -2
- package/dist/infra/providers/claude-terminal.js.map +1 -1
- package/dist/infra/providers/claude.d.ts.map +1 -1
- package/dist/infra/providers/claude.js +0 -2
- package/dist/infra/providers/claude.js.map +1 -1
- package/dist/infra/providers/opencode.d.ts +3 -2
- package/dist/infra/providers/opencode.d.ts.map +1 -1
- package/dist/infra/providers/opencode.js +19 -8
- package/dist/infra/providers/opencode.js.map +1 -1
- package/dist/infra/providers/types.d.ts +1 -1
- package/dist/infra/providers/types.d.ts.map +1 -1
- package/dist/infra/task/clone-exec.d.ts.map +1 -1
- package/dist/infra/task/clone-exec.js +31 -0
- package/dist/infra/task/clone-exec.js.map +1 -1
- package/dist/infra/task/enqueueService.d.ts +115 -0
- package/dist/infra/task/enqueueService.d.ts.map +1 -0
- package/dist/infra/task/enqueueService.js +191 -0
- package/dist/infra/task/enqueueService.js.map +1 -0
- package/dist/infra/task/enqueuedTaskFile.d.ts +6 -0
- package/dist/infra/task/enqueuedTaskFile.d.ts.map +1 -0
- package/dist/infra/task/enqueuedTaskFile.js +55 -0
- package/dist/infra/task/enqueuedTaskFile.js.map +1 -0
- package/dist/infra/task/issueTask.d.ts +20 -0
- package/dist/infra/task/issueTask.d.ts.map +1 -0
- package/dist/{features/tasks/add → infra/task}/issueTask.js +61 -43
- package/dist/infra/task/issueTask.js.map +1 -0
- package/dist/infra/task/listSerializer.d.ts +1 -0
- package/dist/infra/task/listSerializer.d.ts.map +1 -1
- package/dist/infra/task/listSerializer.js +1 -0
- package/dist/infra/task/listSerializer.js.map +1 -1
- package/dist/infra/task/mapper.d.ts.map +1 -1
- package/dist/infra/task/mapper.js +1 -0
- package/dist/infra/task/mapper.js.map +1 -1
- package/dist/infra/task/taskExecutionSchemas.d.ts +3 -0
- package/dist/infra/task/taskExecutionSchemas.d.ts.map +1 -1
- package/dist/infra/task/taskExecutionSchemas.js +4 -2
- package/dist/infra/task/taskExecutionSchemas.js.map +1 -1
- package/dist/infra/task/taskRecordSchemas.d.ts +2 -0
- package/dist/infra/task/taskRecordSchemas.d.ts.map +1 -1
- package/dist/infra/workflow/system/DefaultSystemStepServices.d.ts.map +1 -1
- package/dist/infra/workflow/system/DefaultSystemStepServices.js +7 -7
- package/dist/infra/workflow/system/DefaultSystemStepServices.js.map +1 -1
- package/dist/infra/workflow/system/system-enqueue-effect.d.ts.map +1 -1
- package/dist/infra/workflow/system/system-enqueue-effect.js +78 -20
- package/dist/infra/workflow/system/system-enqueue-effect.js.map +1 -1
- package/dist/infra/workflow/system/system-git-context.d.ts +6 -6
- package/dist/infra/workflow/system/system-git-context.d.ts.map +1 -1
- package/dist/infra/workflow/system/system-git-context.js +13 -13
- package/dist/infra/workflow/system/system-git-context.js.map +1 -1
- package/dist/infra/workflow/system/system-issue-input-resolver.d.ts +3 -3
- package/dist/infra/workflow/system/system-issue-input-resolver.d.ts.map +1 -1
- package/dist/infra/workflow/system/system-issue-input-resolver.js +8 -8
- package/dist/infra/workflow/system/system-issue-input-resolver.js.map +1 -1
- package/dist/infra/workflow/system/system-pr-effects.d.ts.map +1 -1
- package/dist/infra/workflow/system/system-pr-effects.js +6 -3
- package/dist/infra/workflow/system/system-pr-effects.js.map +1 -1
- package/dist/infra/workflow/system/system-pr-input-resolver.d.ts +3 -3
- package/dist/infra/workflow/system/system-pr-input-resolver.d.ts.map +1 -1
- package/dist/infra/workflow/system/system-pr-input-resolver.js +8 -8
- package/dist/infra/workflow/system/system-pr-input-resolver.js.map +1 -1
- package/dist/infra/workflow/system/system-sync-effects.js +2 -2
- package/dist/infra/workflow/system/system-sync-effects.js.map +1 -1
- package/dist/shared/constants.d.ts +1 -0
- package/dist/shared/constants.d.ts.map +1 -1
- package/dist/shared/constants.js +1 -0
- package/dist/shared/constants.js.map +1 -1
- package/dist/shared/i18n/labels_en.yaml +115 -0
- package/dist/shared/i18n/labels_ja.yaml +115 -0
- package/dist/shared/package-info.d.ts +2 -0
- package/dist/shared/package-info.d.ts.map +1 -0
- package/dist/shared/package-info.js +5 -0
- package/dist/shared/package-info.js.map +1 -0
- package/dist/shared/prompts/en/exec_assistant_clarify.md +14 -0
- package/dist/shared/prompts/en/exec_assistant_instruct.md +14 -0
- package/dist/shared/prompts/en/exec_assistant_summary.md +12 -0
- package/dist/shared/prompts/en/exec_facet_create.md +8 -0
- package/dist/shared/prompts/en/exec_facet_edit.md +8 -0
- package/dist/shared/prompts/en/finding_manager_instruction.md +35 -0
- package/dist/shared/prompts/en/opencode_agent_prompt.md +52 -0
- package/dist/shared/prompts/en/opencode_report_agent_prompt.md +8 -0
- package/dist/shared/prompts/en/opencode_review_agent_prompt.md +32 -0
- package/dist/shared/prompts/en/perform_phase1_message.md +1 -4
- package/dist/shared/prompts/en/perform_phase2_message.md +1 -0
- package/dist/shared/prompts/en/perform_phase3_message.md +1 -0
- package/dist/shared/prompts/en/provider_runtime_system_prompt.md +1 -0
- package/dist/shared/prompts/en/score_slug_system_prompt.md +1 -0
- package/dist/shared/prompts/en/score_slug_user_prompt.md +1 -0
- package/dist/shared/prompts/en/score_summary_system_prompt.md +1 -0
- package/dist/shared/prompts/en/source_context_section_guidance.md +6 -0
- package/dist/shared/prompts/en/source_context_system_guard.md +8 -0
- package/dist/shared/prompts/en/structured_json_schema_instruction.md +12 -0
- package/dist/shared/prompts/en/structured_json_step_instruction.md +12 -0
- package/dist/shared/prompts/en/sync_conflict_resolver_message.md +1 -0
- package/dist/shared/prompts/en/sync_conflict_resolver_system_prompt.md +1 -0
- package/dist/shared/prompts/index.d.ts.map +1 -1
- package/dist/shared/prompts/index.js +3 -1
- package/dist/shared/prompts/index.js.map +1 -1
- package/dist/shared/prompts/ja/exec_assistant_clarify.md +14 -0
- package/dist/shared/prompts/ja/exec_assistant_instruct.md +14 -0
- package/dist/shared/prompts/ja/exec_assistant_summary.md +12 -0
- package/dist/shared/prompts/ja/exec_facet_create.md +8 -0
- package/dist/shared/prompts/ja/exec_facet_edit.md +8 -0
- package/dist/shared/prompts/ja/finding_manager_instruction.md +35 -0
- package/dist/shared/prompts/ja/opencode_agent_prompt.md +52 -0
- package/dist/shared/prompts/ja/opencode_report_agent_prompt.md +8 -0
- package/dist/shared/prompts/ja/opencode_review_agent_prompt.md +32 -0
- package/dist/shared/prompts/ja/perform_phase1_message.md +1 -4
- package/dist/shared/prompts/ja/perform_phase2_message.md +1 -0
- package/dist/shared/prompts/ja/perform_phase3_message.md +1 -0
- package/dist/shared/prompts/ja/provider_runtime_system_prompt.md +1 -0
- package/dist/shared/prompts/ja/score_slug_system_prompt.md +1 -0
- package/dist/shared/prompts/ja/score_slug_user_prompt.md +1 -0
- package/dist/shared/prompts/ja/score_summary_system_prompt.md +1 -0
- package/dist/shared/prompts/ja/source_context_section_guidance.md +6 -0
- package/dist/shared/prompts/ja/source_context_system_guard.md +8 -0
- package/dist/shared/prompts/ja/structured_json_schema_instruction.md +12 -0
- package/dist/shared/prompts/ja/structured_json_step_instruction.md +12 -0
- package/dist/shared/prompts/ja/sync_conflict_resolver_message.md +1 -0
- package/dist/shared/prompts/ja/sync_conflict_resolver_system_prompt.md +1 -0
- package/dist/shared/utils/entrypoint.d.ts +2 -0
- package/dist/shared/utils/entrypoint.d.ts.map +1 -0
- package/dist/shared/utils/entrypoint.js +15 -0
- package/dist/shared/utils/entrypoint.js.map +1 -0
- package/dist/shared/utils/index.d.ts +1 -0
- package/dist/shared/utils/index.d.ts.map +1 -1
- package/dist/shared/utils/index.js +1 -0
- package/dist/shared/utils/index.js.map +1 -1
- package/dist/shared/utils/pathBoundary.d.ts +6 -0
- package/dist/shared/utils/pathBoundary.d.ts.map +1 -1
- package/dist/shared/utils/pathBoundary.js +38 -1
- package/dist/shared/utils/pathBoundary.js.map +1 -1
- package/dist/shared/utils/safeExternalErrorMessage.d.ts +2 -0
- package/dist/shared/utils/safeExternalErrorMessage.d.ts.map +1 -0
- package/dist/shared/utils/safeExternalErrorMessage.js +22 -0
- package/dist/shared/utils/safeExternalErrorMessage.js.map +1 -0
- package/package.json +29 -10
- package/builtins/en/facets/instructions/review-pure.md +0 -9
- package/builtins/en/facets/personas/pure-reviewer.md +0 -22
- package/builtins/en/provider-options/review-web.yaml +0 -14
- package/builtins/ja/facets/instructions/review-pure.md +0 -9
- package/builtins/ja/facets/personas/pure-reviewer.md +0 -22
- package/builtins/ja/provider-options/review-web.yaml +0 -14
- package/dist/core/workflow/claude-effort-compatibility.d.ts +0 -3
- package/dist/core/workflow/claude-effort-compatibility.d.ts.map +0 -1
- package/dist/core/workflow/claude-effort-compatibility.js +0 -28
- package/dist/core/workflow/claude-effort-compatibility.js.map +0 -1
- package/dist/core/workflow/provider-model-compatibility.d.ts +0 -7
- package/dist/core/workflow/provider-model-compatibility.d.ts.map +0 -1
- package/dist/core/workflow/provider-model-compatibility.js +0 -20
- package/dist/core/workflow/provider-model-compatibility.js.map +0 -1
- package/dist/features/interactive/policyPrompt.d.ts +0 -2
- package/dist/features/interactive/policyPrompt.d.ts.map +0 -1
- package/dist/features/interactive/policyPrompt.js +0 -18
- package/dist/features/interactive/policyPrompt.js.map +0 -1
- package/dist/features/tasks/add/issueTask.d.ts +0 -7
- package/dist/features/tasks/add/issueTask.d.ts.map +0 -1
- package/dist/features/tasks/add/issueTask.js.map +0 -1
- package/dist/infra/config/providerModelCompatibility.d.ts +0 -2
- package/dist/infra/config/providerModelCompatibility.d.ts.map +0 -1
- package/dist/infra/config/providerModelCompatibility.js +0 -2
- package/dist/infra/config/providerModelCompatibility.js.map +0 -1
- package/dist/shared/prompts/en/score_interactive_policy.md +0 -83
- package/dist/shared/prompts/ja/score_interactive_policy.md +0 -83
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command.js","sourceRoot":"","sources":["../../../src/features/exec/command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAE1E,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAE/E,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC1G,OAAO,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAC7E,OAAO,EAAE,sCAAsC,EAAE,MAAM,0BAA0B,CAAC;AAClF,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,OAAO,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EACL,kCAAkC,EAClC,8BAA8B,GAE/B,MAAM,oBAAoB,CAAC;AAQ5B,MAAM,0BAA0B,GAAG;IACjC,mEAAmE;IACnE,4FAA4F;CAC7F,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEZ,SAAS,gBAAgB,CA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AC,KAAK,CAAC,CAAC,CAAC,CAAC;QACrF,CAAC;IACH,CAAC;AACH,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,cAAc,CAAC,GAAW,EAAE,OAA8B;IAC9E,IAAI,OAAO,CAAC,IAAI,KAAK,IAAI,EAAE,CAAC;QAC1B,MAAM,OAAO,GAAG,eAAe,CAAC,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC,CAAC;QACrD,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;YAC7B,OAAO,CAAC,GAAG,CAAC;gBACV,oBAAoB,CAAC,MAAM,CAAC,IAAI,CAAC;gBACjC,MAAM,CAAC,MAAM;gBACb,oBAAoB,CAAC,MAAM,CAAC,WAAW,CAAC;aACzC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QAChB,CAAC;QACD,OAAO;IACT,CAAC;IAED,MAAM,UAAU,GAAG,uBAAuB,CAAC,GAAG,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IAChE,MAAM,qBAAqB,GAAG,kCAAkC,CAAC,GAAG,CAAC,CAAC;IACtE,MAAM,MAAM,GAAG,kBAAkB,CAAC,UAAU,EAAE,OAAO,CAAC,cAAc,EAAE,qBAAqB,CAAC,CAAC;IAC7F,MAAM,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,qBAAqB,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;IACtF,OAAO,CAAC,oBAAoB,CAAC,CAAC;AAChC,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CommandAvailability } from '../interactive/slashCommandRegistry.js';
|
|
2
|
+
export declare const EXEC_CONVERSATION_COMMAND_AVAILABILITY: CommandAvailability;
|
|
3
|
+
export declare const EXEC_TEXT_INPUT_COMMAND_AVAILABILITY: CommandAvailability;
|
|
4
|
+
//# sourceMappingURL=commandAvailability.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commandAvailability.d.ts","sourceRoot":"","sources":["../../../src/features/exec/commandAvailability.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAElF,eAAO,MAAM,sCAAsC,EAAE,mBAGpD,CAAC;AAEF,eAAO,MAAM,oCAAoC,EAAE,mBAGlD,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SlashCommand } from '../../shared/constants.js';
|
|
2
|
+
export const EXEC_CONVERSATION_COMMAND_AVAILABILITY = {
|
|
3
|
+
enableSetupCommand: true,
|
|
4
|
+
enabledCommands: [SlashCommand.Setup, SlashCommand.Go, SlashCommand.Cancel],
|
|
5
|
+
};
|
|
6
|
+
export const EXEC_TEXT_INPUT_COMMAND_AVAILABILITY = {
|
|
7
|
+
enableSetupCommand: false,
|
|
8
|
+
enabledCommands: [],
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=commandAvailability.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commandAvailability.js","sourceRoot":"","sources":["../../../src/features/exec/commandAvailability.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAGzD,MAAM,CAAC,MAAM,sCAAsC,GAAwB;IACzE,kBAAkB,EAAE,IAAI;IACxB,eAAe,EAAE,CAAC,YAAY,CAAC,KAAK,EAAE,YAAY,CAAC,EAAE,EAAE,YAAY,CAAC,MAAM,CAAC;CAC5E,CAAC;AAEF,MAAM,CAAC,MAAM,oCAAoC,GAAwB;IACvE,kBAAkB,EAAE,KAAK;IACzB,eAAe,EAAE,EAAE;CACpB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ProviderType } from '../../infra/providers/index.js';
|
|
2
|
+
import type { TaskExecutionOptions } from '../tasks/index.js';
|
|
3
|
+
import { type ExecLanguage } from './labels.js';
|
|
4
|
+
import { type ExecProviderModelDefaults } from './runtimeConfig.js';
|
|
5
|
+
import type { ExecActorConfig, ExecConfig, ExecEffort } from './types.js';
|
|
6
|
+
export declare function formatProviderModel(provider: ProviderType, model: string | undefined, lang?: ExecLanguage): string;
|
|
7
|
+
export declare function resolveEffortAfterProviderModelOverride(currentProvider: ProviderType | undefined, currentModel: string | undefined, nextProvider: ProviderType, nextModel: string | undefined, effort: ExecEffort | undefined): ExecEffort | undefined;
|
|
8
|
+
export declare function resolveModelAfterProviderOverride(currentProvider: ProviderType | undefined, nextProvider: ProviderType, currentModel: string | undefined, overrideModel: string | undefined): string | undefined;
|
|
9
|
+
export declare function normalizeExecConfigEfforts(config: ExecConfig, defaults: ExecProviderModelDefaults): ExecConfig;
|
|
10
|
+
export declare function applyExecOverrides(config: ExecConfig, overrides: TaskExecutionOptions | undefined, defaults: ExecProviderModelDefaults): ExecConfig;
|
|
11
|
+
export declare function formatExecConfigSummary(config: ExecConfig): string;
|
|
12
|
+
export declare function formatActorDetails(actor: ExecActorConfig, lang?: ExecLanguage): string;
|
|
13
|
+
//# sourceMappingURL=configOps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configOps.d.ts","sourceRoot":"","sources":["../../../src/features/exec/configOps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAa,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAO3D,OAAO,EAA4D,KAAK,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC9H,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,UAAU,EAA2B,MAAM,YAAY,CAAC;AAEnG,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,IAAI,CAAC,EAAE,YAAY,GAAG,MAAM,CAWlH;AAcD,wBAAgB,uCAAuC,CACrD,eAAe,EAAE,YAAY,GAAG,SAAS,EACzC,YAAY,EAAE,MAAM,GAAG,SAAS,EAChC,YAAY,EAAE,YAAY,EAC1B,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,MAAM,EAAE,UAAU,GAAG,SAAS,GAC7B,UAAU,GAAG,SAAS,CAQxB;AAED,wBAAgB,iCAAiC,CAC/C,eAAe,EAAE,YAAY,GAAG,SAAS,EACzC,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,MAAM,GAAG,SAAS,EAChC,aAAa,EAAE,MAAM,GAAG,SAAS,GAChC,MAAM,GAAG,SAAS,CAQpB;AAuDD,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,yBAAyB,GAAG,UAAU,CAiB9G;AAED,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,UAAU,EAClB,SAAS,EAAE,oBAAoB,GAAG,SAAS,EAC3C,QAAQ,EAAE,yBAAyB,GAClC,UAAU,CAiBZ;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CAOlE;AAQD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,YAAY,GAAG,MAAM,CAOtF"}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { sanitizeTerminalText } from '../../shared/utils/index.js';
|
|
2
|
+
import { execLabel } from './labels.js';
|
|
3
|
+
import { assertExecConfig, assertExecProviderModel, assertExecProviderEffort, assertResolvedExecConfig, } from './configValidation.js';
|
|
4
|
+
import { resolveExecConfigProviderModel, resolveExecProviderModel } from './runtimeConfig.js';
|
|
5
|
+
export function formatProviderModel(provider, model, lang) {
|
|
6
|
+
const formattedProvider = sanitizeTerminalText(provider);
|
|
7
|
+
if (model === undefined) {
|
|
8
|
+
const providerDefault = lang === undefined ? 'provider default' : execLabel(lang, 'common.providerDefault');
|
|
9
|
+
return `${formattedProvider}/(${providerDefault})`;
|
|
10
|
+
}
|
|
11
|
+
const formattedModel = sanitizeTerminalText(model);
|
|
12
|
+
if (model.startsWith(`${provider}/`)) {
|
|
13
|
+
return formattedModel;
|
|
14
|
+
}
|
|
15
|
+
return `${formattedProvider}/${formattedModel}`;
|
|
16
|
+
}
|
|
17
|
+
function canKeepEffortForProvider(provider, effort) {
|
|
18
|
+
try {
|
|
19
|
+
assertExecProviderEffort(provider, effort, 'exec.effort');
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
catch {
|
|
23
|
+
return false;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export function resolveEffortAfterProviderModelOverride(currentProvider, currentModel, nextProvider, nextModel, effort) {
|
|
27
|
+
if (effort === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (currentProvider === nextProvider && currentModel === nextModel) {
|
|
31
|
+
return effort;
|
|
32
|
+
}
|
|
33
|
+
return canKeepEffortForProvider(nextProvider, effort) ? effort : undefined;
|
|
34
|
+
}
|
|
35
|
+
export function resolveModelAfterProviderOverride(currentProvider, nextProvider, currentModel, overrideModel) {
|
|
36
|
+
if (overrideModel !== undefined) {
|
|
37
|
+
return overrideModel;
|
|
38
|
+
}
|
|
39
|
+
if (currentProvider === nextProvider) {
|
|
40
|
+
return currentModel;
|
|
41
|
+
}
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
function applyProviderOverride(config, overrides, defaults, errorPath) {
|
|
45
|
+
const provider = overrides?.provider ?? config.provider;
|
|
46
|
+
const model = provider === undefined
|
|
47
|
+
? overrides?.model ?? config.model
|
|
48
|
+
: resolveModelAfterProviderOverride(config.provider, provider, config.model, overrides?.model);
|
|
49
|
+
const nextResolvedProviderModel = provider === undefined && defaults.provider === undefined
|
|
50
|
+
? undefined
|
|
51
|
+
: resolveExecProviderModel(provider, model, defaults, `${errorPath}.provider`);
|
|
52
|
+
const next = {
|
|
53
|
+
...config,
|
|
54
|
+
...(provider !== undefined ? { provider } : {}),
|
|
55
|
+
model,
|
|
56
|
+
effort: nextResolvedProviderModel === undefined
|
|
57
|
+
? config.effort
|
|
58
|
+
: resolveEffortAfterProviderModelOverride(config.provider, config.model, nextResolvedProviderModel.provider, nextResolvedProviderModel.model, config.effort),
|
|
59
|
+
};
|
|
60
|
+
if (nextResolvedProviderModel !== undefined) {
|
|
61
|
+
assertExecProviderModel(nextResolvedProviderModel.provider, nextResolvedProviderModel.model, `${errorPath}.model`);
|
|
62
|
+
assertExecProviderEffort(nextResolvedProviderModel.provider, next.effort, `${errorPath}.effort`);
|
|
63
|
+
}
|
|
64
|
+
return next;
|
|
65
|
+
}
|
|
66
|
+
function normalizeProviderModelEffort(config, defaults, errorPath) {
|
|
67
|
+
const resolvedProviderModel = resolveExecProviderModel(config.provider, config.model, defaults, `${errorPath}.provider`);
|
|
68
|
+
const effort = resolveEffortAfterProviderModelOverride(config.provider, config.model, resolvedProviderModel.provider, resolvedProviderModel.model, config.effort);
|
|
69
|
+
if (effort === config.effort) {
|
|
70
|
+
return config;
|
|
71
|
+
}
|
|
72
|
+
return { ...config, effort };
|
|
73
|
+
}
|
|
74
|
+
export function normalizeExecConfigEfforts(config, defaults) {
|
|
75
|
+
const session = normalizeProviderModelEffort(config.session, defaults, 'exec.session');
|
|
76
|
+
const workers = config.workers.map((worker, index) => normalizeProviderModelEffort(worker, defaults, `exec.workers[${index}]`));
|
|
77
|
+
const reviews = config.reviews.map((review, index) => normalizeProviderModelEffort(review, defaults, `exec.reviews[${index}]`));
|
|
78
|
+
if (session === config.session
|
|
79
|
+
&& workers.every((worker, index) => worker === config.workers[index])
|
|
80
|
+
&& reviews.every((review, index) => review === config.reviews[index])) {
|
|
81
|
+
return config;
|
|
82
|
+
}
|
|
83
|
+
return {
|
|
84
|
+
...config,
|
|
85
|
+
session,
|
|
86
|
+
workers,
|
|
87
|
+
reviews,
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
export function applyExecOverrides(config, overrides, defaults) {
|
|
91
|
+
if (overrides === undefined || (overrides.provider === undefined && overrides.model === undefined)) {
|
|
92
|
+
const normalized = normalizeExecConfigEfforts(config, defaults);
|
|
93
|
+
assertExecConfig(normalized);
|
|
94
|
+
resolveExecConfigProviderModel(normalized, defaults);
|
|
95
|
+
return normalized;
|
|
96
|
+
}
|
|
97
|
+
const next = {
|
|
98
|
+
...config,
|
|
99
|
+
session: applyProviderOverride(config.session, overrides, defaults, 'exec.session'),
|
|
100
|
+
workers: config.workers.map((worker, index) => applyProviderOverride(worker, overrides, defaults, `exec.workers[${index}]`)),
|
|
101
|
+
reviews: config.reviews.map((review, index) => applyProviderOverride(review, overrides, defaults, `exec.reviews[${index}]`)),
|
|
102
|
+
};
|
|
103
|
+
const normalized = normalizeExecConfigEfforts(next, defaults);
|
|
104
|
+
assertExecConfig(normalized);
|
|
105
|
+
resolveExecConfigProviderModel(normalized, defaults);
|
|
106
|
+
return normalized;
|
|
107
|
+
}
|
|
108
|
+
export function formatExecConfigSummary(config) {
|
|
109
|
+
assertResolvedExecConfig(config);
|
|
110
|
+
return [
|
|
111
|
+
`Assistant agent: ${formatProviderModel(config.session.provider, config.session.model)}`,
|
|
112
|
+
`Worker agent x${config.workers.length}: ${config.workers.map((worker) => formatProviderModel(worker.provider, worker.model)).join(', ')}`,
|
|
113
|
+
`Review agent x${config.reviews.length}: ${config.reviews.map((review) => formatProviderModel(review.provider, review.model)).join(', ')}`,
|
|
114
|
+
].join(' | ');
|
|
115
|
+
}
|
|
116
|
+
function assertResolvedExecActorConfig(actor) {
|
|
117
|
+
if (actor.provider === undefined) {
|
|
118
|
+
throw new Error(`Invalid exec config at exec.${actor.name}.provider: provider is not resolved`);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
export function formatActorDetails(actor, lang) {
|
|
122
|
+
assertResolvedExecActorConfig(actor);
|
|
123
|
+
const effort = actor.effort ? `/${sanitizeTerminalText(actor.effort)}` : '';
|
|
124
|
+
const instruction = lang === undefined
|
|
125
|
+
? `instruction: ${sanitizeTerminalText(actor.instruction)}`
|
|
126
|
+
: execLabel(lang, 'fields.actorInstruction', { value: sanitizeTerminalText(actor.instruction) });
|
|
127
|
+
return `${formatProviderModel(actor.provider, actor.model, lang)}${effort} · ${instruction}`;
|
|
128
|
+
}
|
|
129
|
+
//# sourceMappingURL=configOps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configOps.js","sourceRoot":"","sources":["../../../src/features/exec/configOps.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,SAAS,EAAqB,MAAM,aAAa,CAAC;AAC3D,OAAO,EACL,gBAAgB,EAChB,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,8BAA8B,EAAE,wBAAwB,EAAkC,MAAM,oBAAoB,CAAC;AAG9H,MAAM,UAAU,mBAAmB,CAAC,QAAsB,EAAE,KAAyB,EAAE,IAAmB;IACxG,MAAM,iBAAiB,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC;IACzD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,MAAM,eAAe,GAAG,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,EAAE,wBAAwB,CAAC,CAAC;QAC5G,OAAO,GAAG,iBAAiB,KAAK,eAAe,GAAG,CAAC;IACrD,CAAC;IACD,MAAM,cAAc,GAAG,oBAAoB,CAAC,KAAK,CAAC,CAAC;IACnD,IAAI,KAAK,CAAC,UAAU,CAAC,GAAG,QAAQ,GAAG,CAAC,EAAE,CAAC;QACrC,OAAO,cAAc,CAAC;IACxB,CAAC;IACD,OAAO,GAAG,iBAAiB,IAAI,cAAc,EAAE,CAAC;AAClD,CAAC;AAED,SAAS,wBAAwB,CAC/B,QAAsB,EACtB,MAAkB;IAElB,IAAI,CAAC;QACH,wBAAw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
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ProviderType } from '../../infra/providers/index.js';
|
|
2
|
+
import type { ExecConfig, ExecEffort, ResolvedExecConfig } from './types.js';
|
|
3
|
+
export declare const EXEC_PROVIDERS: readonly ProviderType[];
|
|
4
|
+
export declare const EXEC_EFFORTS: readonly ExecEffort[];
|
|
5
|
+
export declare const CLAUDE_TOOL_PROVIDERS: ReadonlySet<ProviderType>;
|
|
6
|
+
export declare function providerSupportsExecEffort(provider: ProviderType, effort: ExecEffort): boolean;
|
|
7
|
+
export declare function getSupportedExecEfforts(provider: ProviderType): ExecEffort[];
|
|
8
|
+
export declare function getExecModelCandidates(provider: ProviderType): readonly string[];
|
|
9
|
+
export declare function providerAllowsOmittedExecModel(provider: ProviderType): boolean;
|
|
10
|
+
export declare function assertExecProviderModel(provider: ProviderType, model: string | undefined, path: string): void;
|
|
11
|
+
export declare function assertExecProviderEffort(provider: ProviderType, effort: ExecEffort | undefined, path: string): void;
|
|
12
|
+
export declare function assertExecActorName(name: string, path: string): void;
|
|
13
|
+
export declare function assertExecConfig(config: ExecConfig): void;
|
|
14
|
+
export declare function assertResolvedExecConfig(config: ExecConfig): asserts config is ResolvedExecConfig;
|
|
15
|
+
//# sourceMappingURL=configValidation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configValidation.d.ts","sourceRoot":"","sources":["../../../src/features/exec/configValidation.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,KAAK,EAAmB,UAAU,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAE9F,eAAO,MAAM,cAAc,EAAE,SAAS,YAAY,EAUjD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,SAAS,UAAU,EAAyD,CAAC;AAWxG,eAAO,MAAM,qBAAqB,EAAE,WAAW,CAAC,YAAY,CAAwD,CAAC;AAerH,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,GAAG,OAAO,CAW9F;AAED,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,YAAY,GAAG,UAAU,EAAE,CAE5E;AAED,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,YAAY,GAAG,SAAS,MAAM,EAAE,CAEhF;AAED,wBAAgB,8BAA8B,CAAC,QAAQ,EAAE,YAAY,GAAG,OAAO,CAE9E;AAED,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAW7G;AAED,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,YAAY,EACtB,MAAM,EAAE,UAAU,GAAG,SAAS,EAC9B,IAAI,EAAE,MAAM,GACX,IAAI,CAON;AAaD,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAOpE;AAWD,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,CA2BzD;AAED,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC,MAAM,IAAI,kBAAkB,CAejG"}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { CLAUDE_EFFORT_VALUES, CODEX_REASONING_EFFORT_VALUES, COPILOT_EFFORT_VALUES, } from '../../core/models/workflow-types.js';
|
|
2
|
+
import { validateProviderModelRequirements } from '../../core/workflow/provider-model-requirements.js';
|
|
3
|
+
export const EXEC_PROVIDERS = [
|
|
4
|
+
'claude',
|
|
5
|
+
'claude-sdk',
|
|
6
|
+
'claude-terminal',
|
|
7
|
+
'codex',
|
|
8
|
+
'opencode',
|
|
9
|
+
'cursor',
|
|
10
|
+
'copilot',
|
|
11
|
+
'kiro',
|
|
12
|
+
'mock',
|
|
13
|
+
];
|
|
14
|
+
export const EXEC_EFFORTS = ['minimal', 'low', 'medium', 'high', 'xhigh', 'max'];
|
|
15
|
+
const EXEC_MODEL_CANDIDATES = {
|
|
16
|
+
claude: ['opus', 'sonnet', 'haiku'],
|
|
17
|
+
'claude-sdk': ['opus', 'sonnet', 'haiku'],
|
|
18
|
+
'claude-terminal': ['opus', 'sonnet', 'haiku'],
|
|
19
|
+
codex: ['gpt-5'],
|
|
20
|
+
opencode: ['opencode/big-pickle'],
|
|
21
|
+
mock: ['mock-model'],
|
|
22
|
+
};
|
|
23
|
+
const EXEC_OPTIONAL_MODEL_PROVIDERS = new Set(['cursor', 'copilot', 'kiro']);
|
|
24
|
+
export const CLAUDE_TOOL_PROVIDERS = new Set(['claude', 'claude-sdk', 'claude-terminal']);
|
|
25
|
+
const EXEC_ACTOR_NAME_REGEX = /^[A-Za-z0-9_-]+$/;
|
|
26
|
+
const RESERVED_EXEC_SESSION_KEY_BASES = new Set([
|
|
27
|
+
'execute',
|
|
28
|
+
'review',
|
|
29
|
+
'replan',
|
|
30
|
+
'exec-assistant',
|
|
31
|
+
'exec-replan',
|
|
32
|
+
'exec-loop-monitor-small',
|
|
33
|
+
'exec-loop-monitor-large',
|
|
34
|
+
'_loop_judge_execute_review',
|
|
35
|
+
'_loop_judge_replan_execute_review',
|
|
36
|
+
]);
|
|
37
|
+
export function providerSupportsExecEffort(provider, effort) {
|
|
38
|
+
if (CLAUDE_TOOL_PROVIDERS.has(provider)) {
|
|
39
|
+
return CLAUDE_EFFORT_VALUES.includes(effort);
|
|
40
|
+
}
|
|
41
|
+
if (provider === 'codex') {
|
|
42
|
+
return CODEX_REASONING_EFFORT_VALUES.includes(effort);
|
|
43
|
+
}
|
|
44
|
+
if (provider === 'copilot') {
|
|
45
|
+
return COPILOT_EFFORT_VALUES.includes(effort);
|
|
46
|
+
}
|
|
47
|
+
return false;
|
|
48
|
+
}
|
|
49
|
+
export function getSupportedExecEfforts(provider) {
|
|
50
|
+
return EXEC_EFFORTS.filter((effort) => providerSupportsExecEffort(provider, effort));
|
|
51
|
+
}
|
|
52
|
+
export function getExecModelCandidates(provider) {
|
|
53
|
+
return EXEC_MODEL_CANDIDATES[provider] ?? [];
|
|
54
|
+
}
|
|
55
|
+
export function providerAllowsOmittedExecModel(provider) {
|
|
56
|
+
return EXEC_OPTIONAL_MODEL_PROVIDERS.has(provider);
|
|
57
|
+
}
|
|
58
|
+
export function assertExecProviderModel(provider, model, path) {
|
|
59
|
+
if (model !== undefined && model.trim().length === 0) {
|
|
60
|
+
throw new Error(`Invalid exec config at ${path}: expected non-empty string`);
|
|
61
|
+
}
|
|
62
|
+
try {
|
|
63
|
+
validateProviderModelRequirements(provider, model, {
|
|
64
|
+
modelFieldName: `Invalid exec config at ${path}`,
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
catch (error) {
|
|
68
|
+
throw new Error(`Invalid exec config at ${path}: ${error instanceof Error ? error.message : String(error)}`);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
export function assertExecProviderEffort(provider, effort, path) {
|
|
72
|
+
if (effort === undefined) {
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
if (!providerSupportsExecEffort(provider, effort)) {
|
|
76
|
+
throw new Error(`Invalid exec config at ${path}: provider "${provider}" does not support effort "${effort}"`);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
function assertUniqueActorSessionKeys(actors) {
|
|
80
|
+
const seen = new Set();
|
|
81
|
+
for (const actor of actors) {
|
|
82
|
+
assertExecActorName(actor.name, `exec actor "${actor.name}"`);
|
|
83
|
+
if (seen.has(actor.name)) {
|
|
84
|
+
throw new Error(`Invalid exec config: duplicate actor name/session_key "${actor.name}"`);
|
|
85
|
+
}
|
|
86
|
+
seen.add(actor.name);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
export function assertExecActorName(name, path) {
|
|
90
|
+
if (!EXEC_ACTOR_NAME_REGEX.test(name)) {
|
|
91
|
+
throw new Error(`Invalid exec config at ${path}: actor name must match ${EXEC_ACTOR_NAME_REGEX}`);
|
|
92
|
+
}
|
|
93
|
+
if (RESERVED_EXEC_SESSION_KEY_BASES.has(name)) {
|
|
94
|
+
throw new Error(`Invalid exec config at ${path}: actor name "${name}" is reserved for exec workflow session routing`);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
function assertExecProviderConfigured(provider, path) {
|
|
98
|
+
if (provider === undefined) {
|
|
99
|
+
throw new Error(`Invalid exec config at ${path}: provider is not resolved`);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
export function assertExecConfig(config) {
|
|
103
|
+
if (config.session.model !== undefined && config.session.model.trim().length === 0) {
|
|
104
|
+
throw new Error('Invalid exec config at exec.session.model: expected non-empty string');
|
|
105
|
+
}
|
|
106
|
+
if (config.session.provider !== undefined) {
|
|
107
|
+
assertExecProviderModel(config.session.provider, config.session.model, 'exec.session.model');
|
|
108
|
+
assertExecProviderEffort(config.session.provider, config.session.effort, 'exec.session.effort');
|
|
109
|
+
}
|
|
110
|
+
assertUniqueActorSessionKeys([...config.workers, ...config.reviews]);
|
|
111
|
+
config.workers.forEach((worker, index) => {
|
|
112
|
+
if (worker.model !== undefined && worker.model.trim().length === 0) {
|
|
113
|
+
throw new Error(`Invalid exec config at exec.workers[${index}].model: expected non-empty string`);
|
|
114
|
+
}
|
|
115
|
+
if (worker.provider !== undefined) {
|
|
116
|
+
assertExecProviderModel(worker.provider, worker.model, `exec.workers[${index}].model`);
|
|
117
|
+
assertExecProviderEffort(worker.provider, worker.effort, `exec.workers[${index}].effort`);
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
config.reviews.forEach((review, index) => {
|
|
121
|
+
if (review.model !== undefined && review.model.trim().length === 0) {
|
|
122
|
+
throw new Error(`Invalid exec config at exec.reviews[${index}].model: expected non-empty string`);
|
|
123
|
+
}
|
|
124
|
+
if (review.provider !== undefined) {
|
|
125
|
+
assertExecProviderModel(review.provider, review.model, `exec.reviews[${index}].model`);
|
|
126
|
+
assertExecProviderEffort(review.provider, review.effort, `exec.reviews[${index}].effort`);
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
export function assertResolvedExecConfig(config) {
|
|
131
|
+
assertExecProviderConfigured(config.session.provider, 'exec.session.provider');
|
|
132
|
+
assertExecProviderModel(config.session.provider, config.session.model, 'exec.session.model');
|
|
133
|
+
assertExecProviderEffort(config.session.provider, config.session.effort, 'exec.session.effort');
|
|
134
|
+
assertUniqueActorSessionKeys([...config.workers, ...config.reviews]);
|
|
135
|
+
config.workers.forEach((worker, index) => {
|
|
136
|
+
assertExecProviderConfigured(worker.provider, `exec.workers[${index}].provider`);
|
|
137
|
+
assertExecProviderModel(worker.provider, worker.model, `exec.workers[${index}].model`);
|
|
138
|
+
assertExecProviderEffort(worker.provider, worker.effort, `exec.workers[${index}].effort`);
|
|
139
|
+
});
|
|
140
|
+
config.reviews.forEach((review, index) => {
|
|
141
|
+
assertExecProviderConfigured(review.provider, `exec.reviews[${index}].provider`);
|
|
142
|
+
assertExecProviderModel(review.provider, review.model, `exec.reviews[${index}].model`);
|
|
143
|
+
assertExecProviderEffort(review.provider, review.effort, `exec.reviews[${index}].effort`);
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
//# sourceMappingURL=configValidation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configValidation.js","sourceRoot":"","sources":["../../../src/features/exec/configValidation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,6BAA6B,EAC7B,qBAAqB,GACtB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,iCAAiC,EAAE,MAAM,oDAAoD,CAAC;AAIvG,MAAM,CAAC,MAAM,cAAc,GAA4B;IACrD,QAAQ;IACR,YAAY;IACZ,iBAAiB;IACjB,OAAO;IACP,UAAU;IACV,QAAQ;IACR,SAAS;IACT,MAAM;IACN,MAAM;CACP,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAA0B,CA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,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,KAAK,UAAU,CAAC,CAAC;IAC5F,CAAC,CAAC,CAAC;IACH,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE;QACvC,4BAA4B,CAAC,MAAM,CAAC,QAAQ,EAAE,gBAAgB,KAAK,YAAY,CAAC,CAAC;QACjF,uBAAuB,CAAC,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,KAAK,EAAE,gBAAgB,KAAK,SAAS,CAAC,CAAC;QACvF,wBAAwB,CAAC,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,KAAK,UAAU,CAAC,CAAC;IAC5F,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../src/features/exec/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,mBAAmB,EAAE,UA4BjC,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export const DEFAULT_EXEC_CONFIG = {
|
|
2
|
+
session: {},
|
|
3
|
+
replan: {
|
|
4
|
+
instruction: 'exec-replan',
|
|
5
|
+
knowledge: ['architecture'],
|
|
6
|
+
policy: [],
|
|
7
|
+
},
|
|
8
|
+
workers: [
|
|
9
|
+
{
|
|
10
|
+
name: 'worker-1',
|
|
11
|
+
instruction: 'exec-worker',
|
|
12
|
+
knowledge: ['architecture'],
|
|
13
|
+
policy: ['coding', 'testing'],
|
|
14
|
+
},
|
|
15
|
+
],
|
|
16
|
+
reviews: [
|
|
17
|
+
{
|
|
18
|
+
name: 'review-1',
|
|
19
|
+
instruction: 'exec-review',
|
|
20
|
+
knowledge: ['architecture'],
|
|
21
|
+
policy: ['review'],
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
loop: {
|
|
25
|
+
smallThreshold: 3,
|
|
26
|
+
largeThreshold: 2,
|
|
27
|
+
maxSteps: 20,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=defaults.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../src/features/exec/defaults.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,mBAAmB,GAAe;IAC7C,OAAO,EAAE,EAAE;IACX,MAAM,EAAE;QACN,WAAW,EAAE,aAAa;QAC1B,SAAS,EAAE,CAAC,cAAc,CAAC;QAC3B,MAAM,EAAE,EAAE;KACX;IACD,OAAO,EAAE;QACP;YACE,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,aAAa;YAC1B,SAAS,EAAE,CAAC,cAAc,CAAC;YAC3B,MAAM,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;SAC9B;KACF;IACD,OAAO,EAAE;QACP;YACE,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,aAAa;YAC1B,SAAS,EAAE,CAAC,cAAc,CAAC;YAC3B,MAAM,EAAE,CAAC,QAAQ,CAAC;SACnB;KACF;IACD,IAAI,EAAE;QACJ,cAAc,EAAE,CAAC;QACjB,cAAc,EAAE,CAAC;QACjB,QAAQ,EAAE,EAAE;KACb;CACF,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type FacetType } from '../catalog/catalogFacets.js';
|
|
2
|
+
import { type ExecSessionContext } from './assistantSession.js';
|
|
3
|
+
export declare function editInstructionFacetRef(cwd: string, current: string, defaultRef: string, ctx: ExecSessionContext): Promise<string>;
|
|
4
|
+
export declare function editFacetRefList(cwd: string, kind: Extract<FacetType, 'knowledge' | 'policies'>, current: string[], ctx: ExecSessionContext): Promise<string[]>;
|
|
5
|
+
//# sourceMappingURL=facetEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"facetEditor.d.ts","sourceRoot":"","sources":["../../../src/features/exec/facetEditor.ts"],"names":[],"mappings":"AAKA,OAAO,EAAoD,KAAK,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAK/G,OAAO,EAAoB,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAuRlF,wBAAsB,uBAAuB,CAC3C,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,GAAG,EAAE,kBAAkB,GACtB,OAAO,CAAC,MAAM,CAAC,CAyBjB;AAiBD,wBAAsB,gBAAgB,CACpC,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,OAAO,CAAC,SAAS,EAAE,WAAW,GAAG,UAAU,CAAC,EAClD,OAAO,EAAE,MAAM,EAAE,EACjB,GAAG,EAAE,kBAAkB,GACtB,OAAO,CAAC,MAAM,EAAE,CAAC,CA8BnB"}
|