takt 0.46.0 → 0.48.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 +66 -2
- package/builtins/en/config.yaml +28 -12
- package/builtins/en/facets/instructions/findings-manager.md +13 -0
- package/builtins/en/facets/instructions/fix-maintenance.md +1 -1
- package/builtins/en/facets/instructions/fix.md +9 -4
- package/builtins/en/facets/instructions/implement-maintenance.md +5 -34
- package/builtins/en/facets/instructions/loop-monitor-reviewers-fix.md +5 -1
- package/builtins/en/facets/instructions/plan-maintenance.md +3 -3
- package/builtins/en/facets/instructions/plan-test.md +4 -3
- package/builtins/en/facets/instructions/review-coding.md +13 -6
- package/builtins/en/facets/instructions/review-pure.md +8 -0
- package/builtins/en/facets/instructions/review-qa.md +2 -1
- package/builtins/en/facets/instructions/review-test.md +7 -1
- package/builtins/en/facets/instructions/supervise-maintenance.md +3 -75
- package/builtins/en/facets/instructions/supervise.md +8 -68
- package/builtins/en/facets/instructions/write-tests-first.md +1 -0
- package/builtins/en/facets/knowledge/architecture.md +31 -0
- package/builtins/en/facets/knowledge/backend.md +27 -1
- package/builtins/en/facets/knowledge/cqrs-es.md +69 -0
- package/builtins/en/facets/knowledge/e2e-testing.md +13 -0
- package/builtins/en/facets/knowledge/existing-system.md +2 -2
- package/builtins/en/facets/knowledge/takt.md +11 -0
- package/builtins/en/facets/output-contracts/ai-antipattern-review-finding-contract.md +31 -0
- package/builtins/en/facets/output-contracts/architecture-review-finding-contract.md +35 -0
- package/builtins/en/facets/output-contracts/coding-review-finding-contract.md +25 -0
- package/builtins/en/facets/output-contracts/coding-review.md +11 -4
- package/builtins/en/facets/output-contracts/cqrs-es-review-finding-contract.md +31 -0
- package/builtins/en/facets/output-contracts/findings-manager.md +45 -0
- package/builtins/en/facets/output-contracts/frontend-review-finding-contract.md +30 -0
- package/builtins/en/facets/output-contracts/pure-review-finding-contract.md +45 -0
- package/builtins/en/facets/output-contracts/pure-review.md +6 -6
- package/builtins/en/facets/output-contracts/qa-review-finding-contract.md +35 -0
- package/builtins/en/facets/output-contracts/qa-review.md +10 -3
- package/builtins/en/facets/output-contracts/security-review-finding-contract.md +36 -0
- package/builtins/en/facets/output-contracts/supervisor-validation.md +34 -10
- package/builtins/en/facets/output-contracts/terraform-review-finding-contract.md +31 -0
- package/builtins/en/facets/output-contracts/testing-review-finding-contract.md +41 -0
- package/builtins/en/facets/personas/findings-manager.md +18 -0
- package/builtins/en/facets/policies/ai-antipattern.md +31 -0
- package/builtins/en/facets/policies/existing-system-respect.md +17 -16
- package/builtins/en/facets/policies/review.md +64 -16
- package/builtins/en/facets/policies/testing.md +52 -0
- package/builtins/en/workflow-categories.yaml +2 -0
- package/builtins/en/workflows/audit-architecture-backend.yaml +8 -0
- package/builtins/en/workflows/audit-architecture-dual.yaml +8 -0
- package/builtins/en/workflows/audit-architecture-frontend.yaml +8 -0
- package/builtins/en/workflows/audit-architecture.yaml +8 -0
- package/builtins/en/workflows/audit-e2e.yaml +8 -0
- package/builtins/en/workflows/audit-security.yaml +8 -0
- package/builtins/en/workflows/audit-unit.yaml +8 -0
- package/builtins/en/workflows/auto-improvement-loop.yaml +6 -0
- package/builtins/en/workflows/backend-cqrs-mini.yaml +20 -0
- package/builtins/en/workflows/backend-cqrs.yaml +39 -1
- package/builtins/en/workflows/backend-maintenance.yaml +540 -0
- package/builtins/en/workflows/backend-mini.yaml +20 -0
- package/builtins/en/workflows/backend.yaml +39 -1
- package/builtins/en/workflows/compound-eye.yaml +8 -0
- package/builtins/en/workflows/deep-research.yaml +8 -0
- package/builtins/en/workflows/default-draft.yaml +6 -0
- package/builtins/en/workflows/default-high.yaml +6 -0
- package/builtins/en/workflows/default-mini.yaml +2 -0
- package/builtins/en/workflows/default-peer-review.yaml +17 -1
- package/builtins/en/workflows/default.yaml +4 -0
- package/builtins/en/workflows/draft.yaml +14 -4
- package/builtins/en/workflows/dual-cqrs-mini.yaml +20 -0
- package/builtins/en/workflows/dual-cqrs.yaml +35 -1
- package/builtins/en/workflows/dual-mini.yaml +20 -0
- package/builtins/en/workflows/dual.yaml +39 -1
- package/builtins/en/workflows/frontend-maintenance.yaml +42 -2
- package/builtins/en/workflows/frontend-mini.yaml +20 -0
- package/builtins/en/workflows/frontend.yaml +42 -2
- package/builtins/en/workflows/magi.yaml +6 -0
- package/builtins/en/workflows/peer-review-with-fc.yaml +206 -0
- package/builtins/en/workflows/peer-review.yaml +30 -10
- package/builtins/en/workflows/research.yaml +6 -0
- package/builtins/en/workflows/review-backend-cqrs.yaml +21 -1
- package/builtins/en/workflows/review-backend.yaml +19 -1
- package/builtins/en/workflows/review-default.yaml +21 -1
- package/builtins/en/workflows/review-dual-cqrs.yaml +23 -1
- package/builtins/en/workflows/review-dual.yaml +21 -1
- package/builtins/en/workflows/review-fix-backend-cqrs.yaml +25 -1
- package/builtins/en/workflows/review-fix-backend.yaml +23 -1
- package/builtins/en/workflows/review-fix-default.yaml +25 -1
- package/builtins/en/workflows/review-fix-dual-cqrs.yaml +27 -1
- package/builtins/en/workflows/review-fix-dual.yaml +25 -1
- package/builtins/en/workflows/review-fix-frontend.yaml +25 -1
- package/builtins/en/workflows/review-fix-takt-default.yaml +33 -1
- package/builtins/en/workflows/review-frontend.yaml +21 -1
- package/builtins/en/workflows/review-takt-default.yaml +23 -1
- package/builtins/en/workflows/takt-default-refresh-all.yaml +30 -0
- package/builtins/en/workflows/takt-default-refresh-fast.yaml +30 -0
- package/builtins/en/workflows/takt-default-with-fc.yaml +110 -0
- package/builtins/en/workflows/takt-default.yaml +9 -3
- package/builtins/en/workflows/terraform.yaml +29 -1
- package/builtins/ja/config.yaml +28 -12
- package/builtins/ja/facets/instructions/findings-manager.md +13 -0
- package/builtins/ja/facets/instructions/fix-maintenance.md +1 -1
- package/builtins/ja/facets/instructions/fix.md +9 -4
- package/builtins/ja/facets/instructions/implement-maintenance.md +5 -34
- package/builtins/ja/facets/instructions/loop-monitor-reviewers-fix.md +5 -1
- package/builtins/ja/facets/instructions/plan-maintenance.md +3 -3
- package/builtins/ja/facets/instructions/plan-test.md +4 -3
- package/builtins/ja/facets/instructions/review-coding.md +13 -6
- package/builtins/ja/facets/instructions/review-pure.md +8 -0
- package/builtins/ja/facets/instructions/review-qa.md +2 -1
- package/builtins/ja/facets/instructions/review-test.md +7 -1
- package/builtins/ja/facets/instructions/supervise-maintenance.md +3 -75
- package/builtins/ja/facets/instructions/supervise.md +8 -69
- package/builtins/ja/facets/instructions/write-tests-first.md +1 -0
- package/builtins/ja/facets/knowledge/architecture.md +31 -0
- package/builtins/ja/facets/knowledge/backend.md +27 -1
- package/builtins/ja/facets/knowledge/cqrs-es.md +43 -0
- package/builtins/ja/facets/knowledge/e2e-testing.md +13 -0
- package/builtins/ja/facets/knowledge/existing-system.md +2 -2
- package/builtins/ja/facets/knowledge/takt.md +11 -0
- package/builtins/ja/facets/output-contracts/ai-antipattern-review-finding-contract.md +31 -0
- package/builtins/ja/facets/output-contracts/architecture-review-finding-contract.md +35 -0
- package/builtins/ja/facets/output-contracts/coding-review-finding-contract.md +25 -0
- package/builtins/ja/facets/output-contracts/coding-review.md +11 -4
- package/builtins/ja/facets/output-contracts/cqrs-es-review-finding-contract.md +31 -0
- package/builtins/ja/facets/output-contracts/findings-manager.md +45 -0
- package/builtins/ja/facets/output-contracts/frontend-review-finding-contract.md +30 -0
- package/builtins/ja/facets/output-contracts/pure-review-finding-contract.md +45 -0
- package/builtins/ja/facets/output-contracts/pure-review.md +6 -6
- package/builtins/ja/facets/output-contracts/qa-review-finding-contract.md +35 -0
- package/builtins/ja/facets/output-contracts/qa-review.md +10 -3
- package/builtins/ja/facets/output-contracts/security-review-finding-contract.md +36 -0
- package/builtins/ja/facets/output-contracts/supervisor-validation.md +34 -10
- package/builtins/ja/facets/output-contracts/terraform-review-finding-contract.md +31 -0
- package/builtins/ja/facets/output-contracts/testing-review-finding-contract.md +41 -0
- package/builtins/ja/facets/personas/findings-manager.md +18 -0
- package/builtins/ja/facets/policies/ai-antipattern.md +15 -0
- package/builtins/ja/facets/policies/existing-system-respect.md +17 -16
- package/builtins/ja/facets/policies/review.md +62 -16
- package/builtins/ja/facets/policies/testing.md +52 -0
- package/builtins/ja/workflow-categories.yaml +2 -0
- package/builtins/ja/workflows/audit-architecture-backend.yaml +8 -0
- package/builtins/ja/workflows/audit-architecture-dual.yaml +8 -0
- package/builtins/ja/workflows/audit-architecture-frontend.yaml +8 -0
- package/builtins/ja/workflows/audit-architecture.yaml +8 -0
- package/builtins/ja/workflows/audit-e2e.yaml +8 -0
- package/builtins/ja/workflows/audit-security.yaml +8 -0
- package/builtins/ja/workflows/audit-unit.yaml +8 -0
- package/builtins/ja/workflows/auto-improvement-loop.yaml +6 -0
- package/builtins/ja/workflows/backend-cqrs-mini.yaml +20 -0
- package/builtins/ja/workflows/backend-cqrs.yaml +39 -1
- package/builtins/ja/workflows/backend-maintenance.yaml +540 -0
- package/builtins/ja/workflows/backend-mini.yaml +20 -0
- package/builtins/ja/workflows/backend.yaml +39 -1
- package/builtins/ja/workflows/compound-eye.yaml +8 -0
- package/builtins/ja/workflows/deep-research.yaml +8 -0
- package/builtins/ja/workflows/default-draft.yaml +6 -0
- package/builtins/ja/workflows/default-high.yaml +6 -0
- package/builtins/ja/workflows/default-mini.yaml +2 -0
- package/builtins/ja/workflows/default-peer-review.yaml +17 -1
- package/builtins/ja/workflows/default.yaml +4 -0
- package/builtins/ja/workflows/draft.yaml +14 -4
- package/builtins/ja/workflows/dual-cqrs-mini.yaml +20 -0
- package/builtins/ja/workflows/dual-cqrs.yaml +35 -1
- package/builtins/ja/workflows/dual-mini.yaml +20 -0
- package/builtins/ja/workflows/dual.yaml +39 -1
- package/builtins/ja/workflows/frontend-maintenance.yaml +42 -2
- package/builtins/ja/workflows/frontend-mini.yaml +20 -0
- package/builtins/ja/workflows/frontend.yaml +42 -2
- package/builtins/ja/workflows/magi.yaml +6 -0
- package/builtins/ja/workflows/peer-review-with-fc.yaml +206 -0
- package/builtins/ja/workflows/peer-review.yaml +30 -10
- package/builtins/ja/workflows/research.yaml +6 -0
- package/builtins/ja/workflows/review-backend-cqrs.yaml +21 -1
- package/builtins/ja/workflows/review-backend.yaml +19 -1
- package/builtins/ja/workflows/review-default.yaml +21 -1
- package/builtins/ja/workflows/review-dual-cqrs.yaml +23 -1
- package/builtins/ja/workflows/review-dual.yaml +21 -1
- package/builtins/ja/workflows/review-fix-backend-cqrs.yaml +25 -1
- package/builtins/ja/workflows/review-fix-backend.yaml +23 -1
- package/builtins/ja/workflows/review-fix-default.yaml +25 -1
- package/builtins/ja/workflows/review-fix-dual-cqrs.yaml +27 -1
- package/builtins/ja/workflows/review-fix-dual.yaml +25 -1
- package/builtins/ja/workflows/review-fix-frontend.yaml +25 -1
- package/builtins/ja/workflows/review-fix-takt-default.yaml +33 -1
- package/builtins/ja/workflows/review-frontend.yaml +21 -1
- package/builtins/ja/workflows/review-takt-default.yaml +23 -1
- package/builtins/ja/workflows/takt-default-refresh-all.yaml +30 -0
- package/builtins/ja/workflows/takt-default-refresh-fast.yaml +30 -0
- package/builtins/ja/workflows/takt-default-with-fc.yaml +110 -0
- package/builtins/ja/workflows/takt-default.yaml +9 -3
- package/builtins/ja/workflows/terraform.yaml +29 -1
- package/builtins/skill/references/yaml-schema.md +4 -0
- package/builtins/skill-codex/references/yaml-schema.md +4 -0
- package/dist/agents/decompose-task-usecase.d.ts +3 -1
- package/dist/agents/decompose-task-usecase.d.ts.map +1 -1
- package/dist/agents/decompose-task-usecase.js +2 -2
- package/dist/agents/decompose-task-usecase.js.map +1 -1
- package/dist/agents/runner.js +4 -4
- package/dist/agents/runner.js.map +1 -1
- package/dist/agents/structured-caller/capability-aware-structured-caller.d.ts +2 -2
- package/dist/agents/structured-caller/capability-aware-structured-caller.d.ts.map +1 -1
- package/dist/agents/structured-caller/capability-aware-structured-caller.js.map +1 -1
- package/dist/agents/structured-caller/contracts.d.ts +2 -2
- package/dist/agents/structured-caller/contracts.d.ts.map +1 -1
- package/dist/agents/structured-caller/default-structured-caller.d.ts +2 -2
- package/dist/agents/structured-caller/default-structured-caller.d.ts.map +1 -1
- package/dist/agents/structured-caller/default-structured-caller.js.map +1 -1
- package/dist/agents/structured-caller/prompt-based-structured-caller.d.ts +2 -2
- 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 -2
- package/dist/agents/structured-caller/prompt-based-structured-caller.js.map +1 -1
- package/dist/agents/team-leader-structured-output.d.ts +2 -2
- package/dist/agents/team-leader-structured-output.d.ts.map +1 -1
- package/dist/agents/team-leader-structured-output.js +42 -9
- package/dist/agents/team-leader-structured-output.js.map +1 -1
- package/dist/app/cli/routing-inputs.d.ts +1 -0
- package/dist/app/cli/routing-inputs.d.ts.map +1 -1
- package/dist/app/cli/routing-inputs.js +5 -2
- package/dist/app/cli/routing-inputs.js.map +1 -1
- package/dist/app/cli/routing.d.ts.map +1 -1
- package/dist/app/cli/routing.js +14 -0
- package/dist/app/cli/routing.js.map +1 -1
- package/dist/commands/repertoire/add.d.ts.map +1 -1
- package/dist/commands/repertoire/add.js +47 -7
- package/dist/commands/repertoire/add.js.map +1 -1
- package/dist/commands/repertoire/remove.d.ts.map +1 -1
- package/dist/commands/repertoire/remove.js +19 -3
- package/dist/commands/repertoire/remove.js.map +1 -1
- package/dist/core/models/config-schemas.d.ts +797 -0
- package/dist/core/models/config-schemas.d.ts.map +1 -1
- package/dist/core/models/config-schemas.js +6 -0
- package/dist/core/models/config-schemas.js.map +1 -1
- package/dist/core/models/config-types.d.ts +8 -0
- package/dist/core/models/config-types.d.ts.map +1 -1
- package/dist/core/models/finding-schemas.d.ts +447 -0
- package/dist/core/models/finding-schemas.d.ts.map +1 -0
- package/dist/core/models/finding-schemas.js +234 -0
- package/dist/core/models/finding-schemas.js.map +1 -0
- package/dist/core/models/finding-types.d.ts +146 -0
- package/dist/core/models/finding-types.d.ts.map +1 -0
- package/dist/core/models/finding-types.js +5 -0
- package/dist/core/models/finding-types.js.map +1 -0
- package/dist/core/models/index.d.ts +1 -1
- package/dist/core/models/index.d.ts.map +1 -1
- package/dist/core/models/index.js.map +1 -1
- package/dist/core/models/part.d.ts +7 -0
- package/dist/core/models/part.d.ts.map +1 -1
- package/dist/core/models/schema-base.d.ts +10 -0
- package/dist/core/models/schema-base.d.ts.map +1 -1
- package/dist/core/models/schema-base.js +2 -0
- package/dist/core/models/schema-base.js.map +1 -1
- package/dist/core/models/types.d.ts +2 -2
- package/dist/core/models/types.d.ts.map +1 -1
- package/dist/core/models/workflow-condition-expression.d.ts +3 -0
- package/dist/core/models/workflow-condition-expression.d.ts.map +1 -1
- package/dist/core/models/workflow-condition-expression.js +223 -4
- package/dist/core/models/workflow-condition-expression.js.map +1 -1
- package/dist/core/models/workflow-provider-options.d.ts +2 -0
- package/dist/core/models/workflow-provider-options.d.ts.map +1 -1
- package/dist/core/models/workflow-provider-options.js.map +1 -1
- package/dist/core/models/workflow-schemas.d.ts +124 -36
- package/dist/core/models/workflow-schemas.d.ts.map +1 -1
- package/dist/core/models/workflow-schemas.js +13 -6
- package/dist/core/models/workflow-schemas.js.map +1 -1
- package/dist/core/models/workflow-system-schemas.d.ts.map +1 -1
- package/dist/core/models/workflow-system-schemas.js +1 -0
- package/dist/core/models/workflow-system-schemas.js.map +1 -1
- package/dist/core/models/workflow-types.d.ts +13 -0
- package/dist/core/models/workflow-types.d.ts.map +1 -1
- package/dist/core/models/workflow-types.js.map +1 -1
- package/dist/core/workflow/engine/OptionsBuilder.d.ts +4 -1
- package/dist/core/workflow/engine/OptionsBuilder.d.ts.map +1 -1
- package/dist/core/workflow/engine/OptionsBuilder.js +21 -8
- package/dist/core/workflow/engine/OptionsBuilder.js.map +1 -1
- package/dist/core/workflow/engine/ParallelRunner.d.ts +14 -0
- package/dist/core/workflow/engine/ParallelRunner.d.ts.map +1 -1
- package/dist/core/workflow/engine/ParallelRunner.js +152 -18
- package/dist/core/workflow/engine/ParallelRunner.js.map +1 -1
- package/dist/core/workflow/engine/StepExecutor.d.ts +4 -2
- package/dist/core/workflow/engine/StepExecutor.d.ts.map +1 -1
- package/dist/core/workflow/engine/StepExecutor.js +10 -3
- 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 +6 -6
- package/dist/core/workflow/engine/TeamLeaderRunner.js.map +1 -1
- package/dist/core/workflow/engine/WorkflowCallExecutor.d.ts +3 -1
- package/dist/core/workflow/engine/WorkflowCallExecutor.d.ts.map +1 -1
- package/dist/core/workflow/engine/WorkflowCallExecutor.js +23 -5
- package/dist/core/workflow/engine/WorkflowCallExecutor.js.map +1 -1
- package/dist/core/workflow/engine/WorkflowCallRunner.d.ts +1 -0
- package/dist/core/workflow/engine/WorkflowCallRunner.d.ts.map +1 -1
- package/dist/core/workflow/engine/WorkflowCallRunner.js +5 -1
- package/dist/core/workflow/engine/WorkflowCallRunner.js.map +1 -1
- package/dist/core/workflow/engine/WorkflowEngine.d.ts +7 -1
- package/dist/core/workflow/engine/WorkflowEngine.d.ts.map +1 -1
- package/dist/core/workflow/engine/WorkflowEngine.js +63 -9
- package/dist/core/workflow/engine/WorkflowEngine.js.map +1 -1
- package/dist/core/workflow/engine/WorkflowEngineSetup.d.ts +3 -0
- package/dist/core/workflow/engine/WorkflowEngineSetup.d.ts.map +1 -1
- package/dist/core/workflow/engine/WorkflowEngineSetup.js +27 -1
- package/dist/core/workflow/engine/WorkflowEngineSetup.js.map +1 -1
- package/dist/core/workflow/engine/WorkflowRunLoop.d.ts +10 -7
- package/dist/core/workflow/engine/WorkflowRunLoop.d.ts.map +1 -1
- package/dist/core/workflow/engine/WorkflowRunLoop.js +63 -33
- 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 +78 -1
- package/dist/core/workflow/engine/WorkflowValidator.js.map +1 -1
- package/dist/core/workflow/engine/engine-provider-options.d.ts +1 -0
- package/dist/core/workflow/engine/engine-provider-options.d.ts.map +1 -1
- package/dist/core/workflow/engine/engine-provider-options.js +27 -0
- package/dist/core/workflow/engine/engine-provider-options.js.map +1 -1
- package/dist/core/workflow/engine/team-leader-common.d.ts +1 -0
- package/dist/core/workflow/engine/team-leader-common.d.ts.map +1 -1
- package/dist/core/workflow/engine/team-leader-common.js +23 -0
- package/dist/core/workflow/engine/team-leader-common.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 +22 -1
- package/dist/core/workflow/engine/team-leader-part-runner.js.map +1 -1
- package/dist/core/workflow/evaluation/AggregateEvaluator.d.ts.map +1 -1
- package/dist/core/workflow/evaluation/AggregateEvaluator.js +7 -4
- package/dist/core/workflow/evaluation/AggregateEvaluator.js.map +1 -1
- package/dist/core/workflow/evaluation/RuleEvaluator.d.ts +1 -0
- package/dist/core/workflow/evaluation/RuleEvaluator.d.ts.map +1 -1
- package/dist/core/workflow/evaluation/RuleEvaluator.js +15 -1
- package/dist/core/workflow/evaluation/RuleEvaluator.js.map +1 -1
- package/dist/core/workflow/evaluation/rule-utils.d.ts +5 -1
- package/dist/core/workflow/evaluation/rule-utils.d.ts.map +1 -1
- package/dist/core/workflow/evaluation/rule-utils.js +34 -1
- package/dist/core/workflow/evaluation/rule-utils.js.map +1 -1
- package/dist/core/workflow/evaluation/when-evaluator.d.ts.map +1 -1
- package/dist/core/workflow/evaluation/when-evaluator.js +4 -1
- package/dist/core/workflow/evaluation/when-evaluator.js.map +1 -1
- package/dist/core/workflow/findings/context.d.ts +5 -0
- package/dist/core/workflow/findings/context.d.ts.map +1 -0
- package/dist/core/workflow/findings/context.js +82 -0
- package/dist/core/workflow/findings/context.js.map +1 -0
- package/dist/core/workflow/findings/ledger-validation.d.ts +3 -0
- package/dist/core/workflow/findings/ledger-validation.d.ts.map +1 -0
- package/dist/core/workflow/findings/ledger-validation.js +26 -0
- package/dist/core/workflow/findings/ledger-validation.js.map +1 -0
- package/dist/core/workflow/findings/manager-output-validation.d.ts +15 -0
- package/dist/core/workflow/findings/manager-output-validation.d.ts.map +1 -0
- package/dist/core/workflow/findings/manager-output-validation.js +221 -0
- package/dist/core/workflow/findings/manager-output-validation.js.map +1 -0
- package/dist/core/workflow/findings/manager-runner.d.ts +89 -0
- package/dist/core/workflow/findings/manager-runner.d.ts.map +1 -0
- package/dist/core/workflow/findings/manager-runner.js +291 -0
- package/dist/core/workflow/findings/manager-runner.js.map +1 -0
- package/dist/core/workflow/findings/reconciler.d.ts +10 -0
- package/dist/core/workflow/findings/reconciler.d.ts.map +1 -0
- package/dist/core/workflow/findings/reconciler.js +413 -0
- package/dist/core/workflow/findings/reconciler.js.map +1 -0
- package/dist/core/workflow/findings/schemas.d.ts +2 -0
- package/dist/core/workflow/findings/schemas.d.ts.map +1 -0
- package/dist/core/workflow/findings/schemas.js +2 -0
- package/dist/core/workflow/findings/schemas.js.map +1 -0
- package/dist/core/workflow/findings/store.d.ts +33 -0
- package/dist/core/workflow/findings/store.d.ts.map +1 -0
- package/dist/core/workflow/findings/store.js +169 -0
- package/dist/core/workflow/findings/store.js.map +1 -0
- package/dist/core/workflow/findings/types.d.ts +3 -0
- package/dist/core/workflow/findings/types.d.ts.map +1 -0
- package/dist/core/workflow/findings/types.js +2 -0
- package/dist/core/workflow/findings/types.js.map +1 -0
- package/dist/core/workflow/instruction/InstructionBuilder.d.ts +1 -0
- package/dist/core/workflow/instruction/InstructionBuilder.d.ts.map +1 -1
- package/dist/core/workflow/instruction/InstructionBuilder.js +35 -11
- package/dist/core/workflow/instruction/InstructionBuilder.js.map +1 -1
- package/dist/core/workflow/instruction/ReportInstructionBuilder.d.ts +4 -0
- package/dist/core/workflow/instruction/ReportInstructionBuilder.d.ts.map +1 -1
- package/dist/core/workflow/instruction/ReportInstructionBuilder.js +22 -1
- package/dist/core/workflow/instruction/ReportInstructionBuilder.js.map +1 -1
- package/dist/core/workflow/instruction/fenced-json.d.ts +2 -0
- package/dist/core/workflow/instruction/fenced-json.d.ts.map +1 -0
- package/dist/core/workflow/instruction/fenced-json.js +11 -0
- package/dist/core/workflow/instruction/fenced-json.js.map +1 -0
- package/dist/core/workflow/instruction/instruction-context.d.ts +8 -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/observability/traceDiscovery.d.ts +33 -0
- package/dist/core/workflow/observability/traceDiscovery.d.ts.map +1 -0
- package/dist/core/workflow/observability/traceDiscovery.js +104 -0
- package/dist/core/workflow/observability/traceDiscovery.js.map +1 -0
- package/dist/core/workflow/observability/workflowSpans.d.ts +5 -2
- package/dist/core/workflow/observability/workflowSpans.d.ts.map +1 -1
- package/dist/core/workflow/observability/workflowSpans.js +35 -5
- package/dist/core/workflow/observability/workflowSpans.js.map +1 -1
- package/dist/core/workflow/phase-runner.d.ts +2 -0
- package/dist/core/workflow/phase-runner.d.ts.map +1 -1
- package/dist/core/workflow/phase-runner.js.map +1 -1
- package/dist/core/workflow/promotion/promotion-runtime.d.ts.map +1 -1
- package/dist/core/workflow/promotion/promotion-runtime.js +3 -2
- package/dist/core/workflow/promotion/promotion-runtime.js.map +1 -1
- package/dist/core/workflow/provider-options-trace.d.ts +3 -2
- package/dist/core/workflow/provider-options-trace.d.ts.map +1 -1
- package/dist/core/workflow/provider-resolution.d.ts +11 -3
- package/dist/core/workflow/provider-resolution.d.ts.map +1 -1
- package/dist/core/workflow/provider-resolution.js +68 -2
- package/dist/core/workflow/provider-resolution.js.map +1 -1
- package/dist/core/workflow/providerOptionsRedaction.d.ts +4 -0
- package/dist/core/workflow/providerOptionsRedaction.d.ts.map +1 -0
- package/dist/core/workflow/providerOptionsRedaction.js +18 -0
- package/dist/core/workflow/providerOptionsRedaction.js.map +1 -0
- package/dist/core/workflow/report-phase-runner.d.ts.map +1 -1
- package/dist/core/workflow/report-phase-runner.js +59 -44
- package/dist/core/workflow/report-phase-runner.js.map +1 -1
- package/dist/core/workflow/report-writer.d.ts +2 -0
- package/dist/core/workflow/report-writer.d.ts.map +1 -0
- package/dist/core/workflow/report-writer.js +42 -0
- package/dist/core/workflow/report-writer.js.map +1 -0
- package/dist/core/workflow/run/run-meta.d.ts +5 -0
- package/dist/core/workflow/run/run-meta.d.ts.map +1 -1
- package/dist/core/workflow/run/run-meta.js.map +1 -1
- package/dist/core/workflow/state/workflow-state-access.d.ts +2 -2
- package/dist/core/workflow/state/workflow-state-access.d.ts.map +1 -1
- package/dist/core/workflow/state/workflow-state-access.js +17 -2
- package/dist/core/workflow/state/workflow-state-access.js.map +1 -1
- package/dist/core/workflow/types.d.ts +25 -1
- package/dist/core/workflow/types.d.ts.map +1 -1
- package/dist/features/analytics/events.d.ts +1 -1
- package/dist/features/analytics/events.d.ts.map +1 -1
- package/dist/features/analytics/index.d.ts +1 -1
- package/dist/features/analytics/index.d.ts.map +1 -1
- package/dist/features/analytics/index.js +1 -1
- package/dist/features/analytics/index.js.map +1 -1
- package/dist/features/analytics/report-parser.d.ts +5 -3
- package/dist/features/analytics/report-parser.d.ts.map +1 -1
- package/dist/features/analytics/report-parser.js +42 -7
- package/dist/features/analytics/report-parser.js.map +1 -1
- package/dist/features/interactive/clipboardImage.js +2 -2
- package/dist/features/interactive/clipboardImage.js.map +1 -1
- package/dist/features/pipeline/execute.d.ts.map +1 -1
- package/dist/features/pipeline/execute.js +2 -3
- package/dist/features/pipeline/execute.js.map +1 -1
- package/dist/features/pipeline/steps.d.ts +4 -3
- package/dist/features/pipeline/steps.d.ts.map +1 -1
- package/dist/features/pipeline/steps.js +46 -8
- package/dist/features/pipeline/steps.js.map +1 -1
- package/dist/features/repertoire/file-filter.d.ts +3 -3
- package/dist/features/repertoire/file-filter.d.ts.map +1 -1
- package/dist/features/repertoire/file-filter.js +3 -3
- package/dist/features/repertoire/file-filter.js.map +1 -1
- package/dist/features/repertoire/pack-summary.d.ts +21 -7
- package/dist/features/repertoire/pack-summary.d.ts.map +1 -1
- package/dist/features/repertoire/pack-summary.js +156 -24
- package/dist/features/repertoire/pack-summary.js.map +1 -1
- package/dist/features/repertoire/remove.d.ts +5 -2
- package/dist/features/repertoire/remove.d.ts.map +1 -1
- package/dist/features/repertoire/remove.js +9 -2
- package/dist/features/repertoire/remove.js.map +1 -1
- package/dist/features/repertoire/takt-repertoire-config.d.ts +3 -3
- package/dist/features/repertoire/takt-repertoire-config.d.ts.map +1 -1
- package/dist/features/repertoire/takt-repertoire-config.js +31 -16
- package/dist/features/repertoire/takt-repertoire-config.js.map +1 -1
- package/dist/features/tasks/add/index.d.ts +1 -0
- package/dist/features/tasks/add/index.d.ts.map +1 -1
- package/dist/features/tasks/add/index.js +1 -0
- package/dist/features/tasks/add/index.js.map +1 -1
- package/dist/features/tasks/execute/analyticsEmitter.d.ts +4 -1
- package/dist/features/tasks/execute/analyticsEmitter.d.ts.map +1 -1
- package/dist/features/tasks/execute/analyticsEmitter.js +30 -3
- package/dist/features/tasks/execute/analyticsEmitter.js.map +1 -1
- package/dist/features/tasks/execute/runAllTasks.d.ts.map +1 -1
- package/dist/features/tasks/execute/runAllTasks.js +2 -2
- package/dist/features/tasks/execute/runAllTasks.js.map +1 -1
- package/dist/features/tasks/execute/runMeta.d.ts +5 -1
- package/dist/features/tasks/execute/runMeta.d.ts.map +1 -1
- package/dist/features/tasks/execute/runMeta.js +6 -1
- package/dist/features/tasks/execute/runMeta.js.map +1 -1
- package/dist/features/tasks/execute/selectAndExecute.d.ts.map +1 -1
- package/dist/features/tasks/execute/selectAndExecute.js +12 -0
- package/dist/features/tasks/execute/selectAndExecute.js.map +1 -1
- package/dist/features/tasks/execute/sessionLoggerRecordFactory.d.ts.map +1 -1
- package/dist/features/tasks/execute/sessionLoggerRecordFactory.js +2 -1
- package/dist/features/tasks/execute/sessionLoggerRecordFactory.js.map +1 -1
- package/dist/features/tasks/execute/slackSummaryAdapter.d.ts +0 -1
- package/dist/features/tasks/execute/slackSummaryAdapter.d.ts.map +1 -1
- package/dist/features/tasks/execute/slackSummaryAdapter.js +0 -5
- package/dist/features/tasks/execute/slackSummaryAdapter.js.map +1 -1
- package/dist/features/tasks/execute/taskExecution.d.ts.map +1 -1
- package/dist/features/tasks/execute/taskExecution.js +9 -0
- package/dist/features/tasks/execute/taskExecution.js.map +1 -1
- package/dist/features/tasks/execute/taskWorkflowExecution.d.ts.map +1 -1
- package/dist/features/tasks/execute/taskWorkflowExecution.js +20 -1
- package/dist/features/tasks/execute/taskWorkflowExecution.js.map +1 -1
- package/dist/features/tasks/execute/traceTaskMetadata.d.ts +20 -0
- package/dist/features/tasks/execute/traceTaskMetadata.d.ts.map +1 -0
- package/dist/features/tasks/execute/traceTaskMetadata.js +54 -0
- package/dist/features/tasks/execute/traceTaskMetadata.js.map +1 -0
- package/dist/features/tasks/execute/types.d.ts +13 -1
- package/dist/features/tasks/execute/types.d.ts.map +1 -1
- package/dist/features/tasks/execute/workflowExecution.d.ts.map +1 -1
- package/dist/features/tasks/execute/workflowExecution.js +14 -1
- package/dist/features/tasks/execute/workflowExecution.js.map +1 -1
- package/dist/features/tasks/execute/workflowExecutionBootstrap.d.ts +2 -0
- package/dist/features/tasks/execute/workflowExecutionBootstrap.d.ts.map +1 -1
- package/dist/features/tasks/execute/workflowExecutionBootstrap.js +20 -2
- package/dist/features/tasks/execute/workflowExecutionBootstrap.js.map +1 -1
- package/dist/features/tasks/execute/workflowExecutionEvents.d.ts +2 -0
- package/dist/features/tasks/execute/workflowExecutionEvents.d.ts.map +1 -1
- package/dist/features/tasks/execute/workflowExecutionEvents.js +19 -2
- package/dist/features/tasks/execute/workflowExecutionEvents.js.map +1 -1
- package/dist/features/tasks/execute/workflowExecutionReporting.d.ts +3 -2
- package/dist/features/tasks/execute/workflowExecutionReporting.d.ts.map +1 -1
- package/dist/features/tasks/execute/workflowExecutionReporting.js +14 -2
- package/dist/features/tasks/execute/workflowExecutionReporting.js.map +1 -1
- package/dist/features/tasks/index.d.ts +1 -1
- package/dist/features/tasks/index.d.ts.map +1 -1
- package/dist/features/tasks/index.js.map +1 -1
- package/dist/features/tasks/resume/index.d.ts.map +1 -1
- package/dist/features/tasks/resume/index.js +5 -0
- package/dist/features/tasks/resume/index.js.map +1 -1
- package/dist/infra/claude/client.d.ts.map +1 -1
- package/dist/infra/claude/client.js +1 -0
- package/dist/infra/claude/client.js.map +1 -1
- package/dist/infra/claude/mcp-config.d.ts.map +1 -1
- package/dist/infra/claude/mcp-config.js +2 -2
- package/dist/infra/claude/mcp-config.js.map +1 -1
- package/dist/infra/claude/options-builder.d.ts.map +1 -1
- package/dist/infra/claude/options-builder.js +3 -0
- package/dist/infra/claude/options-builder.js.map +1 -1
- package/dist/infra/claude/types.d.ts +4 -0
- package/dist/infra/claude/types.d.ts.map +1 -1
- package/dist/infra/claude-headless/headless-spawn.d.ts.map +1 -1
- package/dist/infra/claude-headless/headless-spawn.js +3 -0
- package/dist/infra/claude-headless/headless-spawn.js.map +1 -1
- package/dist/infra/claude-headless/types.d.ts +2 -0
- package/dist/infra/claude-headless/types.d.ts.map +1 -1
- package/dist/infra/codex/client.d.ts.map +1 -1
- package/dist/infra/codex/client.js +1 -0
- package/dist/infra/codex/client.js.map +1 -1
- package/dist/infra/codex/types.d.ts +2 -0
- package/dist/infra/codex/types.d.ts.map +1 -1
- package/dist/infra/config/configNormalizers.d.ts +19 -7
- package/dist/infra/config/configNormalizers.d.ts.map +1 -1
- package/dist/infra/config/configNormalizers.js +59 -16
- package/dist/infra/config/configNormalizers.js.map +1 -1
- package/dist/infra/config/env/global-current-env-specs.d.ts.map +1 -1
- package/dist/infra/config/env/global-current-env-specs.js +1 -0
- package/dist/infra/config/env/global-current-env-specs.js.map +1 -1
- package/dist/infra/config/env/project-current-env-specs.d.ts.map +1 -1
- package/dist/infra/config/env/project-current-env-specs.js +1 -0
- package/dist/infra/config/env/project-current-env-specs.js.map +1 -1
- package/dist/infra/config/global/globalConfigCore.d.ts.map +1 -1
- package/dist/infra/config/global/globalConfigCore.js +4 -2
- package/dist/infra/config/global/globalConfigCore.js.map +1 -1
- package/dist/infra/config/global/globalConfigSerializer.d.ts.map +1 -1
- package/dist/infra/config/global/globalConfigSerializer.js +5 -1
- package/dist/infra/config/global/globalConfigSerializer.js.map +1 -1
- package/dist/infra/config/loaders/namedResourceResolver.d.ts +18 -0
- package/dist/infra/config/loaders/namedResourceResolver.d.ts.map +1 -0
- package/dist/infra/config/loaders/namedResourceResolver.js +49 -0
- package/dist/infra/config/loaders/namedResourceResolver.js.map +1 -0
- package/dist/infra/config/loaders/providerOptionsLookupDirectories.d.ts +13 -0
- package/dist/infra/config/loaders/providerOptionsLookupDirectories.d.ts.map +1 -0
- package/dist/infra/config/loaders/providerOptionsLookupDirectories.js +61 -0
- package/dist/infra/config/loaders/providerOptionsLookupDirectories.js.map +1 -0
- package/dist/infra/config/loaders/workflowParser.d.ts.map +1 -1
- package/dist/infra/config/loaders/workflowParser.js +64 -3
- package/dist/infra/config/loaders/workflowParser.js.map +1 -1
- package/dist/infra/config/loaders/workflowPreview.d.ts.map +1 -1
- package/dist/infra/config/loaders/workflowPreview.js +29 -12
- package/dist/infra/config/loaders/workflowPreview.js.map +1 -1
- package/dist/infra/config/loaders/workflowProviderOptionsResolver.d.ts +20 -2
- package/dist/infra/config/loaders/workflowProviderOptionsResolver.d.ts.map +1 -1
- package/dist/infra/config/loaders/workflowProviderOptionsResolver.js +122 -34
- package/dist/infra/config/loaders/workflowProviderOptionsResolver.js.map +1 -1
- package/dist/infra/config/loaders/workflowRuleNormalizer.d.ts.map +1 -1
- package/dist/infra/config/loaders/workflowRuleNormalizer.js +5 -16
- package/dist/infra/config/loaders/workflowRuleNormalizer.js.map +1 -1
- package/dist/infra/config/loaders/workflowStepFeaturesNormalizer.d.ts.map +1 -1
- package/dist/infra/config/loaders/workflowStepFeaturesNormalizer.js +32 -1
- package/dist/infra/config/loaders/workflowStepFeaturesNormalizer.js.map +1 -1
- package/dist/infra/config/loaders/workflowStepNormalizer.d.ts +3 -2
- package/dist/infra/config/loaders/workflowStepNormalizer.d.ts.map +1 -1
- package/dist/infra/config/loaders/workflowStepNormalizer.js +33 -12
- package/dist/infra/config/loaders/workflowStepNormalizer.js.map +1 -1
- package/dist/infra/config/paths.d.ts +4 -0
- package/dist/infra/config/paths.d.ts.map +1 -1
- package/dist/infra/config/paths.js +13 -0
- package/dist/infra/config/paths.js.map +1 -1
- package/dist/infra/config/project/projectConfig.d.ts.map +1 -1
- package/dist/infra/config/project/projectConfig.js +23 -6
- package/dist/infra/config/project/projectConfig.js.map +1 -1
- package/dist/infra/config/providerOptions.d.ts +29 -10
- package/dist/infra/config/providerOptions.d.ts.map +1 -1
- package/dist/infra/config/providerOptions.js +166 -18
- package/dist/infra/config/providerOptions.js.map +1 -1
- package/dist/infra/config/providerOptionsContract.d.ts +4 -3
- package/dist/infra/config/providerOptionsContract.d.ts.map +1 -1
- package/dist/infra/config/providerOptionsContract.js +11 -0
- package/dist/infra/config/providerOptionsContract.js.map +1 -1
- package/dist/infra/config/providerReference.d.ts +3 -2
- package/dist/infra/config/providerReference.d.ts.map +1 -1
- package/dist/infra/config/providerReference.js +6 -6
- package/dist/infra/config/providerReference.js.map +1 -1
- package/dist/infra/config/resolveConfigValue.d.ts.map +1 -1
- package/dist/infra/config/resolveConfigValue.js +95 -25
- package/dist/infra/config/resolveConfigValue.js.map +1 -1
- package/dist/infra/config/traced/tracedConfigLoader.d.ts +3 -2
- package/dist/infra/config/traced/tracedConfigLoader.d.ts.map +1 -1
- package/dist/infra/config/traced/tracedConfigLoader.js +28 -4
- package/dist/infra/config/traced/tracedConfigLoader.js.map +1 -1
- package/dist/infra/config/traced/tracedConfigRuntimeBridge.d.ts.map +1 -1
- package/dist/infra/config/traced/tracedConfigRuntimeBridge.js +2 -2
- package/dist/infra/config/traced/tracedConfigRuntimeBridge.js.map +1 -1
- package/dist/infra/config/traced/tracedConfigSchema.d.ts.map +1 -1
- package/dist/infra/config/traced/tracedConfigSchema.js +8 -0
- package/dist/infra/config/traced/tracedConfigSchema.js.map +1 -1
- package/dist/infra/copilot/client.d.ts.map +1 -1
- package/dist/infra/copilot/client.js +3 -3
- package/dist/infra/copilot/client.js.map +1 -1
- package/dist/infra/cursor/client.d.ts.map +1 -1
- package/dist/infra/cursor/client.js +113 -47
- package/dist/infra/cursor/client.js.map +1 -1
- package/dist/infra/opencode/client.d.ts.map +1 -1
- package/dist/infra/opencode/client.js +21 -0
- package/dist/infra/opencode/client.js.map +1 -1
- package/dist/infra/opencode/unavailable-tool-loop.d.ts +7 -0
- package/dist/infra/opencode/unavailable-tool-loop.d.ts.map +1 -0
- package/dist/infra/opencode/unavailable-tool-loop.js +33 -0
- package/dist/infra/opencode/unavailable-tool-loop.js.map +1 -0
- package/dist/infra/providers/claude-headless.d.ts +1 -1
- package/dist/infra/providers/claude-headless.d.ts.map +1 -1
- package/dist/infra/providers/claude-headless.js +2 -1
- package/dist/infra/providers/claude-headless.js.map +1 -1
- package/dist/infra/providers/claude-terminal.d.ts +1 -1
- package/dist/infra/providers/claude-terminal.d.ts.map +1 -1
- package/dist/infra/providers/claude-terminal.js +1 -1
- package/dist/infra/providers/claude-terminal.js.map +1 -1
- package/dist/infra/providers/claude.d.ts +1 -1
- package/dist/infra/providers/claude.d.ts.map +1 -1
- package/dist/infra/providers/claude.js +2 -1
- package/dist/infra/providers/claude.js.map +1 -1
- package/dist/infra/providers/codex.d.ts +1 -1
- package/dist/infra/providers/codex.d.ts.map +1 -1
- package/dist/infra/providers/codex.js +2 -1
- package/dist/infra/providers/codex.js.map +1 -1
- package/dist/infra/providers/copilot.d.ts +1 -1
- package/dist/infra/providers/copilot.d.ts.map +1 -1
- package/dist/infra/providers/copilot.js +1 -1
- package/dist/infra/providers/copilot.js.map +1 -1
- package/dist/infra/providers/cursor.d.ts +1 -1
- package/dist/infra/providers/cursor.d.ts.map +1 -1
- package/dist/infra/providers/cursor.js +1 -1
- package/dist/infra/providers/cursor.js.map +1 -1
- package/dist/infra/providers/kiro.d.ts +1 -1
- package/dist/infra/providers/kiro.d.ts.map +1 -1
- package/dist/infra/providers/kiro.js +1 -1
- package/dist/infra/providers/kiro.js.map +1 -1
- package/dist/infra/providers/mock.d.ts +1 -1
- package/dist/infra/providers/mock.d.ts.map +1 -1
- package/dist/infra/providers/mock.js +1 -1
- package/dist/infra/providers/mock.js.map +1 -1
- package/dist/infra/providers/opencode.d.ts +1 -1
- package/dist/infra/providers/opencode.d.ts.map +1 -1
- package/dist/infra/providers/opencode.js +4 -1
- package/dist/infra/providers/opencode.js.map +1 -1
- package/dist/infra/providers/provider-capabilities.d.ts.map +1 -1
- package/dist/infra/providers/provider-capabilities.js +0 -1
- package/dist/infra/providers/provider-capabilities.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-base-branch.d.ts +1 -0
- package/dist/infra/task/clone-base-branch.d.ts.map +1 -1
- package/dist/infra/task/clone-base-branch.js +22 -14
- package/dist/infra/task/clone-base-branch.js.map +1 -1
- package/dist/infra/task/clone.d.ts +2 -0
- package/dist/infra/task/clone.d.ts.map +1 -1
- package/dist/infra/task/clone.js +7 -1
- package/dist/infra/task/clone.js.map +1 -1
- package/dist/infra/task/index.d.ts +1 -1
- package/dist/infra/task/index.d.ts.map +1 -1
- package/dist/infra/task/index.js +1 -1
- package/dist/infra/task/index.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/projectLocalTaktSync.d.ts +1 -0
- package/dist/infra/task/projectLocalTaktSync.d.ts.map +1 -1
- package/dist/infra/task/projectLocalTaktSync.js +40 -0
- package/dist/infra/task/projectLocalTaktSync.js.map +1 -1
- package/dist/infra/task/taskExecutionSchemas.d.ts +3 -3
- package/dist/infra/task/taskRecordSchemas.d.ts +2 -2
- package/dist/infra/task/types.d.ts +1 -0
- package/dist/infra/task/types.d.ts.map +1 -1
- package/dist/shared/prompts/en/perform_phase2_message.md +1 -0
- package/dist/shared/prompts/ja/perform_phase2_message.md +1 -0
- package/dist/shared/team-leader-inspect-tools.d.ts +5 -0
- package/dist/shared/team-leader-inspect-tools.d.ts.map +1 -0
- package/dist/shared/team-leader-inspect-tools.js +8 -0
- package/dist/shared/team-leader-inspect-tools.js.map +1 -0
- package/dist/shared/ui/StreamDisplay.js +1 -1
- package/dist/shared/ui/StreamDisplay.js.map +1 -1
- package/dist/shared/utils/index.d.ts +2 -0
- package/dist/shared/utils/index.d.ts.map +1 -1
- package/dist/shared/utils/index.js +2 -0
- package/dist/shared/utils/index.js.map +1 -1
- package/dist/shared/utils/runId.d.ts +2 -0
- package/dist/shared/utils/runId.d.ts.map +1 -0
- package/dist/shared/utils/runId.js +18 -0
- package/dist/shared/utils/runId.js.map +1 -0
- package/dist/shared/utils/tmpdir.d.ts +2 -0
- package/dist/shared/utils/tmpdir.d.ts.map +1 -0
- package/dist/shared/utils/tmpdir.js +8 -0
- package/dist/shared/utils/tmpdir.js.map +1 -0
- package/package.json +33 -16
- /package/builtins/en/{workflows/provider-options → provider-options}/edit.yaml +0 -0
- /package/builtins/en/{workflows/provider-options → provider-options}/review-files.yaml +0 -0
- /package/builtins/en/{workflows/provider-options → provider-options}/review-readonly.yaml +0 -0
- /package/builtins/en/{workflows/provider-options → provider-options}/review-web.yaml +0 -0
- /package/builtins/ja/{workflows/provider-options → provider-options}/edit.yaml +0 -0
- /package/builtins/ja/{workflows/provider-options → provider-options}/review-files.yaml +0 -0
- /package/builtins/ja/{workflows/provider-options → provider-options}/review-readonly.yaml +0 -0
- /package/builtins/ja/{workflows/provider-options → provider-options}/review-web.yaml +0 -0
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
|
+
import { FINDING_CONFLICT_STATUSES, FINDING_LIFECYCLES, FINDING_SEVERITIES, FINDING_STATUSES, } from './finding-types.js';
|
|
3
|
+
const nonEmptyString = z.string().min(1);
|
|
4
|
+
export const FindingContractManagerConfigRawSchema = z.object({
|
|
5
|
+
persona: nonEmptyString,
|
|
6
|
+
instruction: nonEmptyString,
|
|
7
|
+
output_contract: nonEmptyString,
|
|
8
|
+
}).strict();
|
|
9
|
+
export const FindingContractConfigRawSchema = z.object({
|
|
10
|
+
ledger_path: nonEmptyString,
|
|
11
|
+
raw_findings_path: nonEmptyString,
|
|
12
|
+
manager: FindingContractManagerConfigRawSchema,
|
|
13
|
+
}).strict();
|
|
14
|
+
export const FindingSeveritySchema = z.enum(FINDING_SEVERITIES);
|
|
15
|
+
export const FindingStatusSchema = z.enum(FINDING_STATUSES);
|
|
16
|
+
export const FindingLifecycleSchema = z.enum(FINDING_LIFECYCLES);
|
|
17
|
+
export const FindingObservationSchema = z.object({
|
|
18
|
+
runId: nonEmptyString,
|
|
19
|
+
stepName: nonEmptyString,
|
|
20
|
+
timestamp: nonEmptyString,
|
|
21
|
+
}).strict();
|
|
22
|
+
export const FindingLedgerEntrySchema = z.object({
|
|
23
|
+
id: nonEmptyString,
|
|
24
|
+
status: FindingStatusSchema,
|
|
25
|
+
lifecycle: FindingLifecycleSchema,
|
|
26
|
+
severity: FindingSeveritySchema,
|
|
27
|
+
title: nonEmptyString,
|
|
28
|
+
location: nonEmptyString.optional(),
|
|
29
|
+
description: nonEmptyString.optional(),
|
|
30
|
+
suggestion: nonEmptyString.optional(),
|
|
31
|
+
reviewers: z.array(nonEmptyString),
|
|
32
|
+
rawFindingIds: z.array(nonEmptyString),
|
|
33
|
+
firstSeen: FindingObservationSchema,
|
|
34
|
+
lastSeen: FindingObservationSchema,
|
|
35
|
+
resolvedAt: nonEmptyString.optional(),
|
|
36
|
+
resolvedEvidence: nonEmptyString.optional(),
|
|
37
|
+
reopenedEvidence: nonEmptyString.optional(),
|
|
38
|
+
}).strict();
|
|
39
|
+
export const RawFindingSchema = z.object({
|
|
40
|
+
rawFindingId: nonEmptyString,
|
|
41
|
+
stepName: nonEmptyString,
|
|
42
|
+
reviewer: nonEmptyString,
|
|
43
|
+
familyTag: nonEmptyString,
|
|
44
|
+
severity: FindingSeveritySchema,
|
|
45
|
+
title: nonEmptyString,
|
|
46
|
+
location: nonEmptyString.optional(),
|
|
47
|
+
description: nonEmptyString,
|
|
48
|
+
suggestion: nonEmptyString.optional(),
|
|
49
|
+
}).strict();
|
|
50
|
+
export const ReviewerRawFindingSchema = z.object({
|
|
51
|
+
rawFindingId: nonEmptyString,
|
|
52
|
+
familyTag: nonEmptyString,
|
|
53
|
+
severity: FindingSeveritySchema,
|
|
54
|
+
title: nonEmptyString,
|
|
55
|
+
location: nonEmptyString.optional(),
|
|
56
|
+
description: nonEmptyString,
|
|
57
|
+
suggestion: nonEmptyString.optional(),
|
|
58
|
+
}).strict();
|
|
59
|
+
export const FindingLedgerConflictSchema = z.object({
|
|
60
|
+
id: nonEmptyString,
|
|
61
|
+
status: z.enum(FINDING_CONFLICT_STATUSES),
|
|
62
|
+
findingIds: z.array(nonEmptyString),
|
|
63
|
+
rawFindingIds: z.array(nonEmptyString),
|
|
64
|
+
description: nonEmptyString,
|
|
65
|
+
firstSeen: FindingObservationSchema,
|
|
66
|
+
lastSeen: FindingObservationSchema,
|
|
67
|
+
resolvedAt: nonEmptyString.optional(),
|
|
68
|
+
resolvedEvidence: nonEmptyString.optional(),
|
|
69
|
+
}).strict();
|
|
70
|
+
export const FindingLedgerSchema = z.object({
|
|
71
|
+
version: z.literal(1),
|
|
72
|
+
workflowName: nonEmptyString,
|
|
73
|
+
nextId: z.number().int().positive(),
|
|
74
|
+
updatedAt: nonEmptyString,
|
|
75
|
+
findings: z.array(FindingLedgerEntrySchema),
|
|
76
|
+
rawFindings: z.array(RawFindingSchema),
|
|
77
|
+
conflicts: z.array(FindingLedgerConflictSchema),
|
|
78
|
+
}).strict();
|
|
79
|
+
export const FindingManagerOutputSchema = z.object({
|
|
80
|
+
matches: z.array(z.object({
|
|
81
|
+
findingId: nonEmptyString,
|
|
82
|
+
rawFindingIds: z.array(nonEmptyString),
|
|
83
|
+
evidence: nonEmptyString.nullable().optional().transform((value) => value ?? undefined),
|
|
84
|
+
}).strict()),
|
|
85
|
+
newFindings: z.array(z.object({
|
|
86
|
+
rawFindingIds: z.array(nonEmptyString),
|
|
87
|
+
title: nonEmptyString,
|
|
88
|
+
severity: FindingSeveritySchema,
|
|
89
|
+
}).strict()),
|
|
90
|
+
resolvedFindings: z.array(z.object({
|
|
91
|
+
findingId: nonEmptyString,
|
|
92
|
+
rawFindingIds: z.array(nonEmptyString),
|
|
93
|
+
evidence: nonEmptyString,
|
|
94
|
+
}).strict()),
|
|
95
|
+
reopenedFindings: z.array(z.object({
|
|
96
|
+
findingId: nonEmptyString,
|
|
97
|
+
rawFindingIds: z.array(nonEmptyString),
|
|
98
|
+
evidence: nonEmptyString,
|
|
99
|
+
}).strict()),
|
|
100
|
+
conflicts: z.array(z.object({
|
|
101
|
+
findingIds: z.array(nonEmptyString).optional().default([]),
|
|
102
|
+
rawFindingIds: z.array(nonEmptyString),
|
|
103
|
+
description: nonEmptyString,
|
|
104
|
+
}).strict()),
|
|
105
|
+
resolvedConflicts: z.array(z.object({
|
|
106
|
+
conflictId: nonEmptyString,
|
|
107
|
+
evidence: nonEmptyString,
|
|
108
|
+
}).strict()),
|
|
109
|
+
}).strict();
|
|
110
|
+
export const FindingManagerOutputJsonSchema = {
|
|
111
|
+
type: 'object',
|
|
112
|
+
additionalProperties: false,
|
|
113
|
+
required: ['matches', 'newFindings', 'resolvedFindings', 'reopenedFindings', 'conflicts', 'resolvedConflicts'],
|
|
114
|
+
properties: {
|
|
115
|
+
matches: {
|
|
116
|
+
type: 'array',
|
|
117
|
+
items: {
|
|
118
|
+
type: 'object',
|
|
119
|
+
additionalProperties: false,
|
|
120
|
+
required: ['findingId', 'rawFindingIds', 'evidence'],
|
|
121
|
+
properties: {
|
|
122
|
+
findingId: { type: 'string', minLength: 1 },
|
|
123
|
+
rawFindingIds: { type: 'array', items: { type: 'string', minLength: 1 } },
|
|
124
|
+
evidence: { type: ['string', 'null'], minLength: 1 },
|
|
125
|
+
},
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
newFindings: {
|
|
129
|
+
type: 'array',
|
|
130
|
+
items: {
|
|
131
|
+
type: 'object',
|
|
132
|
+
additionalProperties: false,
|
|
133
|
+
required: ['rawFindingIds', 'title', 'severity'],
|
|
134
|
+
properties: {
|
|
135
|
+
rawFindingIds: { type: 'array', items: { type: 'string', minLength: 1 } },
|
|
136
|
+
title: { type: 'string', minLength: 1 },
|
|
137
|
+
severity: { enum: FINDING_SEVERITIES },
|
|
138
|
+
},
|
|
139
|
+
},
|
|
140
|
+
},
|
|
141
|
+
resolvedFindings: {
|
|
142
|
+
type: 'array',
|
|
143
|
+
items: {
|
|
144
|
+
type: 'object',
|
|
145
|
+
additionalProperties: false,
|
|
146
|
+
required: ['findingId', 'rawFindingIds', 'evidence'],
|
|
147
|
+
properties: {
|
|
148
|
+
findingId: { type: 'string', minLength: 1 },
|
|
149
|
+
rawFindingIds: { type: 'array', items: { type: 'string', minLength: 1 } },
|
|
150
|
+
evidence: { type: 'string', minLength: 1 },
|
|
151
|
+
},
|
|
152
|
+
},
|
|
153
|
+
},
|
|
154
|
+
reopenedFindings: {
|
|
155
|
+
type: 'array',
|
|
156
|
+
items: {
|
|
157
|
+
type: 'object',
|
|
158
|
+
additionalProperties: false,
|
|
159
|
+
required: ['findingId', 'rawFindingIds', 'evidence'],
|
|
160
|
+
properties: {
|
|
161
|
+
findingId: { type: 'string', minLength: 1 },
|
|
162
|
+
rawFindingIds: { type: 'array', items: { type: 'string', minLength: 1 } },
|
|
163
|
+
evidence: { type: 'string', minLength: 1 },
|
|
164
|
+
},
|
|
165
|
+
},
|
|
166
|
+
},
|
|
167
|
+
conflicts: {
|
|
168
|
+
type: 'array',
|
|
169
|
+
items: {
|
|
170
|
+
type: 'object',
|
|
171
|
+
additionalProperties: false,
|
|
172
|
+
required: ['findingIds', 'rawFindingIds', 'description'],
|
|
173
|
+
properties: {
|
|
174
|
+
findingIds: { type: 'array', items: { type: 'string', minLength: 1 } },
|
|
175
|
+
rawFindingIds: { type: 'array', items: { type: 'string', minLength: 1 } },
|
|
176
|
+
description: { type: 'string', minLength: 1 },
|
|
177
|
+
},
|
|
178
|
+
},
|
|
179
|
+
},
|
|
180
|
+
resolvedConflicts: {
|
|
181
|
+
type: 'array',
|
|
182
|
+
items: {
|
|
183
|
+
type: 'object',
|
|
184
|
+
additionalProperties: false,
|
|
185
|
+
required: ['conflictId', 'evidence'],
|
|
186
|
+
properties: {
|
|
187
|
+
conflictId: { type: 'string', minLength: 1 },
|
|
188
|
+
evidence: { type: 'string', minLength: 1 },
|
|
189
|
+
},
|
|
190
|
+
},
|
|
191
|
+
},
|
|
192
|
+
},
|
|
193
|
+
};
|
|
194
|
+
export const RawFindingsOutputJsonSchema = {
|
|
195
|
+
type: 'object',
|
|
196
|
+
additionalProperties: false,
|
|
197
|
+
required: ['rawFindings'],
|
|
198
|
+
properties: {
|
|
199
|
+
rawFindings: {
|
|
200
|
+
type: 'array',
|
|
201
|
+
items: {
|
|
202
|
+
type: 'object',
|
|
203
|
+
additionalProperties: false,
|
|
204
|
+
required: ['rawFindingId', 'familyTag', 'severity', 'title', 'location', 'description', 'suggestion'],
|
|
205
|
+
properties: {
|
|
206
|
+
rawFindingId: { type: 'string', minLength: 1 },
|
|
207
|
+
familyTag: {
|
|
208
|
+
type: 'string',
|
|
209
|
+
minLength: 1,
|
|
210
|
+
description: 'Structured form of the Observed Findings family_tag value.',
|
|
211
|
+
},
|
|
212
|
+
severity: { enum: FINDING_SEVERITIES },
|
|
213
|
+
title: { type: 'string', minLength: 1 },
|
|
214
|
+
location: { type: 'string', minLength: 1 },
|
|
215
|
+
description: { type: 'string', minLength: 1 },
|
|
216
|
+
suggestion: { type: 'string', minLength: 1 },
|
|
217
|
+
},
|
|
218
|
+
},
|
|
219
|
+
},
|
|
220
|
+
},
|
|
221
|
+
};
|
|
222
|
+
export function parseFindingLedger(value) {
|
|
223
|
+
return FindingLedgerSchema.parse(value);
|
|
224
|
+
}
|
|
225
|
+
export function parseRawFindings(value) {
|
|
226
|
+
return z.array(RawFindingSchema).parse(value);
|
|
227
|
+
}
|
|
228
|
+
export function parseReviewerRawFindings(value) {
|
|
229
|
+
return z.array(ReviewerRawFindingSchema).parse(value);
|
|
230
|
+
}
|
|
231
|
+
export function parseFindingManagerOutput(value) {
|
|
232
|
+
return FindingManagerOutputSchema.parse(value);
|
|
233
|
+
}
|
|
234
|
+
//# sourceMappingURL=finding-schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"finding-schemas.js","sourceRoot":"","sources":["../../../src/core/models/finding-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAM3B,OAAO,EACL,yBAAyB,EACzB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,oBAAoB,CAAC;AAE5B,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEzC,MAAM,CAAC,MAAM,qCAAqC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5D,OAAO,EAAE,cAAc;IACvB,WAAW,EAAE,cAAc;IAC3B,eAAe,EAAE,cAAc;CAChC,CAAC,CAAC,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,WAAW,EAAE,cAAc;IAC3B,iBAAiB,EAAE,cAAc;IACjC,OAAO,EAAE,qCAAqC;CAC/C,CAAC,CAAC,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;AAChE,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,I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INDING_STATUSES: readonly ["open", "resolved"];
|
|
3
|
+
export declare const FINDING_LIFECYCLES: readonly ["new", "persists", "resolved", "reopened"];
|
|
4
|
+
export declare const FINDING_CONFLICT_STATUSES: readonly ["active", "resolved"];
|
|
5
|
+
export type FindingSeverity = typeof FINDING_SEVERITIES[number];
|
|
6
|
+
export type FindingStatus = typeof FINDING_STATUSES[number];
|
|
7
|
+
export type FindingLifecycle = typeof FINDING_LIFECYCLES[number];
|
|
8
|
+
export type FindingConflictStatus = typeof FINDING_CONFLICT_STATUSES[number];
|
|
9
|
+
export interface FindingContractManagerConfig {
|
|
10
|
+
persona: string;
|
|
11
|
+
personaPath?: string;
|
|
12
|
+
personaDisplayName?: string;
|
|
13
|
+
instruction: string;
|
|
14
|
+
outputContract: string;
|
|
15
|
+
}
|
|
16
|
+
export interface FindingContractConfig {
|
|
17
|
+
ledgerPath: string;
|
|
18
|
+
rawFindingsPath: string;
|
|
19
|
+
manager: FindingContractManagerConfig;
|
|
20
|
+
}
|
|
21
|
+
export interface FindingObservation {
|
|
22
|
+
runId: string;
|
|
23
|
+
stepName: string;
|
|
24
|
+
timestamp: string;
|
|
25
|
+
}
|
|
26
|
+
export interface FindingLedgerEntry {
|
|
27
|
+
id: string;
|
|
28
|
+
status: FindingStatus;
|
|
29
|
+
lifecycle: FindingLifecycle;
|
|
30
|
+
severity: FindingSeverity;
|
|
31
|
+
title: string;
|
|
32
|
+
location?: string;
|
|
33
|
+
description?: string;
|
|
34
|
+
suggestion?: string;
|
|
35
|
+
reviewers: string[];
|
|
36
|
+
rawFindingIds: string[];
|
|
37
|
+
firstSeen: FindingObservation;
|
|
38
|
+
lastSeen: FindingObservation;
|
|
39
|
+
resolvedAt?: string;
|
|
40
|
+
resolvedEvidence?: string;
|
|
41
|
+
reopenedEvidence?: string;
|
|
42
|
+
}
|
|
43
|
+
export type FindingRecord = FindingLedgerEntry;
|
|
44
|
+
export interface FindingLedger {
|
|
45
|
+
version: 1;
|
|
46
|
+
workflowName: string;
|
|
47
|
+
nextId: number;
|
|
48
|
+
updatedAt: string;
|
|
49
|
+
findings: FindingLedgerEntry[];
|
|
50
|
+
rawFindings: RawFinding[];
|
|
51
|
+
conflicts: FindingLedgerConflict[];
|
|
52
|
+
}
|
|
53
|
+
export interface RawFinding {
|
|
54
|
+
rawFindingId: string;
|
|
55
|
+
stepName: string;
|
|
56
|
+
reviewer: string;
|
|
57
|
+
familyTag: string;
|
|
58
|
+
severity: FindingSeverity;
|
|
59
|
+
title: string;
|
|
60
|
+
location?: string;
|
|
61
|
+
description: string;
|
|
62
|
+
suggestion?: string;
|
|
63
|
+
}
|
|
64
|
+
export interface FindingManagerMatch {
|
|
65
|
+
findingId: string;
|
|
66
|
+
rawFindingIds: string[];
|
|
67
|
+
evidence?: string;
|
|
68
|
+
}
|
|
69
|
+
export interface FindingManagerNewFinding {
|
|
70
|
+
rawFindingIds: string[];
|
|
71
|
+
title: string;
|
|
72
|
+
severity: FindingSeverity;
|
|
73
|
+
}
|
|
74
|
+
export interface FindingManagerResolvedFinding {
|
|
75
|
+
findingId: string;
|
|
76
|
+
rawFindingIds: string[];
|
|
77
|
+
evidence: string;
|
|
78
|
+
}
|
|
79
|
+
export interface FindingManagerReopenedFinding {
|
|
80
|
+
findingId: string;
|
|
81
|
+
rawFindingIds: string[];
|
|
82
|
+
evidence: string;
|
|
83
|
+
}
|
|
84
|
+
export interface FindingManagerConflict {
|
|
85
|
+
findingIds: string[];
|
|
86
|
+
rawFindingIds: string[];
|
|
87
|
+
description: string;
|
|
88
|
+
}
|
|
89
|
+
export interface FindingManagerResolvedConflict {
|
|
90
|
+
conflictId: string;
|
|
91
|
+
evidence: string;
|
|
92
|
+
}
|
|
93
|
+
export interface FindingLedgerConflict {
|
|
94
|
+
id: string;
|
|
95
|
+
status: FindingConflictStatus;
|
|
96
|
+
findingIds: string[];
|
|
97
|
+
rawFindingIds: string[];
|
|
98
|
+
description: string;
|
|
99
|
+
firstSeen: FindingObservation;
|
|
100
|
+
lastSeen: FindingObservation;
|
|
101
|
+
resolvedAt?: string;
|
|
102
|
+
resolvedEvidence?: string;
|
|
103
|
+
}
|
|
104
|
+
export interface FindingManagerOutput {
|
|
105
|
+
matches: FindingManagerMatch[];
|
|
106
|
+
newFindings: FindingManagerNewFinding[];
|
|
107
|
+
resolvedFindings: FindingManagerResolvedFinding[];
|
|
108
|
+
reopenedFindings: FindingManagerReopenedFinding[];
|
|
109
|
+
conflicts: FindingManagerConflict[];
|
|
110
|
+
resolvedConflicts: FindingManagerResolvedConflict[];
|
|
111
|
+
}
|
|
112
|
+
export interface FindingReconcileContext {
|
|
113
|
+
workflowName: string;
|
|
114
|
+
stepName: string;
|
|
115
|
+
runId: string;
|
|
116
|
+
timestamp: string;
|
|
117
|
+
}
|
|
118
|
+
export interface FindingsRuleContext {
|
|
119
|
+
open: {
|
|
120
|
+
count: number;
|
|
121
|
+
bySeverity: Record<FindingSeverity, number>;
|
|
122
|
+
items: Array<{
|
|
123
|
+
id: string;
|
|
124
|
+
severity: FindingSeverity;
|
|
125
|
+
title: string;
|
|
126
|
+
location?: string;
|
|
127
|
+
description?: string;
|
|
128
|
+
suggestion?: string;
|
|
129
|
+
reviewers: string[];
|
|
130
|
+
}>;
|
|
131
|
+
};
|
|
132
|
+
resolved: {
|
|
133
|
+
count: number;
|
|
134
|
+
};
|
|
135
|
+
conflicts: {
|
|
136
|
+
count: number;
|
|
137
|
+
items: Array<{
|
|
138
|
+
id: string;
|
|
139
|
+
status: FindingConflictStatus;
|
|
140
|
+
findingIds: string[];
|
|
141
|
+
rawFindingIds: string[];
|
|
142
|
+
description: string;
|
|
143
|
+
}>;
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
//# sourceMappingURL=finding-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"finding-types.d.ts","sourceRoot":"","sources":["../../../src/core/models/finding-types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,gDAAiD,CA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E,KAAK,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;YACX,QAAQ,EAAE,eAAe,CAAC;YAC1B,KAAK,EAAE,MAAM,CAAC;YACd,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,UAAU,CAAC,EAAE,MAAM,CAAC;YACpB,SAAS,EAAE,MAAM,EAAE,CAAC;SACrB,CAAC,CAAC;KACJ,CAAC;IACF,QAAQ,EAAE;QACR,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,SAAS,EAAE;QACT,KAAK,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,KAAK,CAAC;YACb,EAAE,EAAE,MAAM,CAAC;YACX,MAAM,EAAE,qBAAqB,CAAC;YAC9B,UAAU,EAAE,MAAM,EAAE,CAAC;YACrB,aAAa,EAAE,MAAM,EAAE,CAAC;YACxB,WAAW,EAAE,MAAM,CAAC;SACrB,CAAC,CAAC;KACJ,CAAC;CACH"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export const FINDING_SEVERITIES = ['critical', 'high', 'medium', 'low'];
|
|
2
|
+
export const FINDING_STATUSES = ['open', 'resolved'];
|
|
3
|
+
export const FINDING_LIFECYCLES = ['new', 'persists', 'resolved', 'reopened'];
|
|
4
|
+
export const FINDING_CONFLICT_STATUSES = ['active', 'resolved'];
|
|
5
|
+
//# sourceMappingURL=finding-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"finding-types.js","sourceRoot":"","sources":["../../../src/core/models/finding-types.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,CAAU,CAAC;AACjF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,MAAM,EAAE,UAAU,CAAU,CAAC;AAC9D,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,CAAU,CAAC;AACvF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,QAAQ,EAAE,UAAU,CAAU,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { AgentType, Status, RuleMatchMethod, PermissionMode, WorkflowStructuredOutput, WorkflowMaxSteps, WorkflowSystemInput, WorkflowEffect, WorkflowEnqueueBaseBranchConfig, WorkflowEnqueueIssueConfig, WorkflowEnqueueWorktreeConfig, WorkflowTemplateReference, WorkflowEffectScalarReference, OutputContractItem, OutputContractEntry, CommandQualityGate, QualityGate, McpServerConfig, RuntimePreparePreset, RuntimePrepareEntry, WorkflowRuntimeConfig, WorkflowStepKind, WorkflowCallOverrides, WorkflowParamType, WorkflowParamFacetKind, WorkflowCallArgValue, WorkflowSubworkflowParamConfig, WorkflowSubworkflowConfig, WorkflowResumePointEntry, WorkflowResumePoint, WorkflowPromotionEntry, AgentWorkflowStep, SystemWorkflowStep, WorkflowCallStep, AgentErrorKind, AgentResponse, ProviderUsageSnapshot, SessionState, PartDefinition, PartResult, TeamLeaderConfig, WorkflowRule, StepProviderOptions, WorkflowStep, ArpeggioStepConfig, ArpeggioMergeStepConfig, LoopDetectionConfig, LoopMonitorConfig, LoopMonitorJudge, LoopMonitorRule, WorkflowConfig, WorkflowState, CustomAgentConfig, LoggingConfig, ObservabilityConfig, ResolvedObservabilityConfig, Language, PipelineConfig, ProjectConfig, ProviderProfileName, ProviderPermissionProfile, ProviderPermissionProfiles, } from './types.js';
|
|
1
|
+
export type { AgentType, Status, RuleMatchMethod, PermissionMode, WorkflowStructuredOutput, WorkflowMaxSteps, WorkflowSystemInput, WorkflowEffect, WorkflowEnqueueBaseBranchConfig, WorkflowEnqueueIssueConfig, WorkflowEnqueueWorktreeConfig, WorkflowTemplateReference, WorkflowEffectScalarReference, OutputContractItem, OutputContractEntry, CommandQualityGate, QualityGate, McpServerConfig, RuntimePreparePreset, RuntimePrepareEntry, WorkflowRuntimeConfig, WorkflowStepKind, WorkflowCallOverrides, WorkflowParamType, WorkflowParamFacetKind, WorkflowCallArgValue, WorkflowSubworkflowParamConfig, WorkflowSubworkflowConfig, WorkflowResumePointEntry, WorkflowResumePoint, WorkflowPromotionEntry, FindingContractConfig, FindingsRuleContext, AgentWorkflowStep, SystemWorkflowStep, WorkflowCallStep, AgentErrorKind, AgentResponse, ProviderUsageSnapshot, SessionState, PartDefinition, PartResult, TeamLeaderConfig, ProviderRoutingConfig, ProviderRoutingEntry, WorkflowRule, StepProviderOptions, WorkflowStep, ArpeggioStepConfig, ArpeggioMergeStepConfig, LoopDetectionConfig, LoopMonitorConfig, LoopMonitorJudge, LoopMonitorRule, WorkflowConfig, WorkflowState, FindingLedger, CustomAgentConfig, LoggingConfig, ObservabilityConfig, ResolvedObservabilityConfig, Language, PipelineConfig, ProjectConfig, ProviderProfileName, ProviderPermissionProfile, ProviderPermissionProfiles, } from './types.js';
|
|
2
2
|
export * from './agent.js';
|
|
3
3
|
export * from './config.js';
|
|
4
4
|
export * from './schemas.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/models/index.ts"],"names":[],"mappings":"AACA,YAAY,EACV,SAAS,EACT,MAAM,EACN,eAAe,EACf,cAAc,EACd,wBAAwB,EACxB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,+BAA+B,EAC/B,0BAA0B,EAC1B,6BAA6B,EAC7B,yBAAyB,EACzB,6BAA6B,EAC7B,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,qBAAqB,EACrB,iBAAiB,EACjB,sBAAsB,EACtB,oBAAoB,EACpB,8BAA8B,EAC9B,yBAAyB,EACzB,wBAAwB,EACxB,mBAAmB,EACnB,sBAAsB,EACtB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,aAAa,EACb,qBAAqB,EACrB,YAAY,EACZ,cAAc,EACd,UAAU,EACV,gBAAgB,EAChB,YAAY,EACZ,mBAAmB,EACnB,YAAY,EACZ,kBAAkB,EAClB,uBAAuB,EACvB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,aAAa,EACb,mBAAmB,EACnB,2BAA2B,EAC3B,QAAQ,EACR,cAAc,EACd,aAAa,EACb,mBAAmB,EACnB,yBAAyB,EACzB,0BAA0B,GAC3B,MAAM,YAAY,CAAC;AAGpB,cAAc,YAAY,CAAC;AAG3B,cAAc,aAAa,CAAC;AAG5B,cAAc,cAAc,CAAC;AAG7B,OAAO,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAG1G,OAAO,EACL,kBAAkB,EAClB,KAAK,mBAAmB,EACxB,yBAAyB,EACzB,KAAK,kBAAkB,EACvB,wBAAwB,GACzB,MAAM,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/models/index.ts"],"names":[],"mappings":"AACA,YAAY,EACV,SAAS,EACT,MAAM,EACN,eAAe,EACf,cAAc,EACd,wBAAwB,EACxB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,+BAA+B,EAC/B,0BAA0B,EAC1B,6BAA6B,EAC7B,yBAAyB,EACzB,6BAA6B,EAC7B,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,qBAAqB,EACrB,iBAAiB,EACjB,sBAAsB,EACtB,oBAAoB,EACpB,8BAA8B,EAC9B,yBAAyB,EACzB,wBAAwB,EACxB,mBAAmB,EACnB,sBAAsB,EACtB,qBAAqB,EACrB,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,aAAa,EACb,qBAAqB,EACrB,YAAY,EACZ,cAAc,EACd,UAAU,EACV,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,EACpB,YAAY,EACZ,mBAAmB,EACnB,YAAY,EACZ,kBAAkB,EAClB,uBAAuB,EACvB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,cAAc,EACd,aAAa,EACb,aAAa,EACb,iBAAiB,EACjB,aAAa,EACb,mBAAmB,EACnB,2BAA2B,EAC3B,QAAQ,EACR,cAAc,EACd,aAAa,EACb,mBAAmB,EACnB,yBAAyB,EACzB,0BAA0B,GAC3B,MAAM,YAAY,CAAC;AAGpB,cAAc,YAAY,CAAC;AAG3B,cAAc,aAAa,CAAC;AAG5B,cAAc,cAAc,CAAC;AAG7B,OAAO,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAG1G,OAAO,EACL,kBAAkB,EAClB,KAAK,mBAAmB,EACxB,yBAAyB,EACzB,KAAK,kBAAkB,EACvB,wBAAwB,GACzB,MAAM,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/models/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/models/index.ts"],"names":[],"mappings":"AAuEA,0BAA0B;AAC1B,cAAc,YAAY,CAAC;AAE3B,2BAA2B;AAC3B,cAAc,aAAa,CAAC;AAE5B,4BAA4B;AAC5B,cAAc,cAAc,CAAC;AAE7B,qCAAqC;AACrC,OAAO,EAAE,iBAAiB,EAAE,wBAAwB,EAAwB,MAAM,uBAAuB,CAAC;AAE1G,wDAAwD;AACxD,OAAO,EACL,kBAAkB,EAElB,yBAAyB,EAEzB,wBAAwB,GACzB,MAAM,cAAc,CAAC"}
|
|
@@ -25,6 +25,10 @@ export interface TeamLeaderConfig {
|
|
|
25
25
|
persona?: string;
|
|
26
26
|
/** Resolved absolute path for team leader persona */
|
|
27
27
|
personaPath?: string;
|
|
28
|
+
/** Display name used for team leader persona provider resolution */
|
|
29
|
+
personaDisplayName?: string;
|
|
30
|
+
/** Raw persona key used for team leader provider_routing.personas lookup */
|
|
31
|
+
providerRoutingPersonaKey?: string;
|
|
28
32
|
/** Maximum number of parts to run in parallel */
|
|
29
33
|
maxConcurrency: number;
|
|
30
34
|
maxTotalParts: number;
|
|
@@ -32,10 +36,13 @@ export interface TeamLeaderConfig {
|
|
|
32
36
|
refillThreshold: number;
|
|
33
37
|
/** Default timeout for parts in milliseconds */
|
|
34
38
|
timeoutMs: number;
|
|
39
|
+
/** Read-only inspection tools for the parent decomposition call */
|
|
40
|
+
inspectTools?: string[];
|
|
35
41
|
/** Persona reference for part agents */
|
|
36
42
|
partPersona?: string;
|
|
37
43
|
/** Resolved absolute path for part persona */
|
|
38
44
|
partPersonaPath?: string;
|
|
45
|
+
partTags?: string[];
|
|
39
46
|
/** Allowed tools for part agents */
|
|
40
47
|
partAllowedTools?: string[];
|
|
41
48
|
/** Whether part agents can edit files */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"part.d.ts","sourceRoot":"","sources":["../../../src/core/models/part.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAEnE,yDAAyD;AACzD,MAAM,WAAW,cAAc;IAC7B,uCAAuC;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,2BAA2B;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,2CAA2C;IAC3C,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,wCAAwC;AACxC,MAAM,WAAW,UAAU;IACzB,IAAI,EAA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,cAAc,CAAC;IACrB,QAAQ,EAAE,aAAa,CAAC;IACxB,YAAY,CAAC,EAAE;QACb,QAAQ,EAAE,YAAY,GAAG,SAAS,CAAC;QACnC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;KAC3B,CAAC;CACH;AAED,mCAAmC;AACnC,MAAM,WAAW,gBAAgB;IAC/B,kDAAkD;IAClD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qDAAqD;IACrD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oEAAoE;IACpE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,4EAA4E;IAC5E,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,iDAAiD;IACjD,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,oFAAoF;IACpF,eAAe,EAAE,MAAM,CAAC;IACxB,gDAAgD;IAChD,SAAS,EAAE,MAAM,CAAC;IAClB,mEAAmE;IACnE,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,wCAAwC;IACxC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8CAA8C;IAC9C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,oCAAoC;IACpC,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,yCAAyC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sCAAsC;IACtC,kBAAkB,CAAC,EAAE,cAAc,CAAC;CACrC"}
|
|
@@ -73,6 +73,7 @@ export declare const ClaudeSandboxSchema: z.ZodOptional<z.ZodObject<{
|
|
|
73
73
|
/** Provider-specific step options schema */
|
|
74
74
|
export declare const StepProviderOptionsObjectSchema: z.ZodObject<{
|
|
75
75
|
codex: z.ZodOptional<z.ZodObject<{
|
|
76
|
+
base_url: z.ZodOptional<z.ZodString>;
|
|
76
77
|
network_access: z.ZodOptional<z.ZodBoolean>;
|
|
77
78
|
reasoning_effort: z.ZodOptional<z.ZodEnum<{
|
|
78
79
|
minimal: "minimal";
|
|
@@ -88,6 +89,7 @@ export declare const StepProviderOptionsObjectSchema: z.ZodObject<{
|
|
|
88
89
|
allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
89
90
|
}, z.core.$strip>>;
|
|
90
91
|
claude: z.ZodOptional<z.ZodObject<{
|
|
92
|
+
base_url: z.ZodOptional<z.ZodString>;
|
|
91
93
|
allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
92
94
|
effort: z.ZodOptional<z.ZodEnum<{
|
|
93
95
|
low: "low";
|
|
@@ -123,6 +125,7 @@ export declare const StepProviderOptionsObjectSchema: z.ZodObject<{
|
|
|
123
125
|
}, z.core.$strip>;
|
|
124
126
|
export declare const StepProviderOptionsSchema: z.ZodOptional<z.ZodObject<{
|
|
125
127
|
codex: z.ZodOptional<z.ZodObject<{
|
|
128
|
+
base_url: z.ZodOptional<z.ZodString>;
|
|
126
129
|
network_access: z.ZodOptional<z.ZodBoolean>;
|
|
127
130
|
reasoning_effort: z.ZodOptional<z.ZodEnum<{
|
|
128
131
|
minimal: "minimal";
|
|
@@ -138,6 +141,7 @@ export declare const StepProviderOptionsSchema: z.ZodOptional<z.ZodObject<{
|
|
|
138
141
|
allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
139
142
|
}, z.core.$strip>>;
|
|
140
143
|
claude: z.ZodOptional<z.ZodObject<{
|
|
144
|
+
base_url: z.ZodOptional<z.ZodString>;
|
|
141
145
|
allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
142
146
|
effort: z.ZodOptional<z.ZodEnum<{
|
|
143
147
|
low: "low";
|
|
@@ -433,6 +437,7 @@ export declare const WorkflowProviderOptionsSchema: z.ZodOptional<z.ZodObject<{
|
|
|
433
437
|
model: z.ZodOptional<z.ZodString>;
|
|
434
438
|
provider_options: z.ZodOptional<z.ZodObject<{
|
|
435
439
|
codex: z.ZodOptional<z.ZodObject<{
|
|
440
|
+
base_url: z.ZodOptional<z.ZodString>;
|
|
436
441
|
network_access: z.ZodOptional<z.ZodBoolean>;
|
|
437
442
|
reasoning_effort: z.ZodOptional<z.ZodEnum<{
|
|
438
443
|
minimal: "minimal";
|
|
@@ -448,6 +453,7 @@ export declare const WorkflowProviderOptionsSchema: z.ZodOptional<z.ZodObject<{
|
|
|
448
453
|
allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
449
454
|
}, z.core.$strip>>;
|
|
450
455
|
claude: z.ZodOptional<z.ZodObject<{
|
|
456
|
+
base_url: z.ZodOptional<z.ZodString>;
|
|
451
457
|
allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
452
458
|
effort: z.ZodOptional<z.ZodEnum<{
|
|
453
459
|
low: "low";
|
|
@@ -555,6 +561,7 @@ export declare const PersonaProviderEntrySchema: z.ZodObject<{
|
|
|
555
561
|
model: z.ZodOptional<z.ZodString>;
|
|
556
562
|
provider_options: z.ZodOptional<z.ZodObject<{
|
|
557
563
|
codex: z.ZodOptional<z.ZodObject<{
|
|
564
|
+
base_url: z.ZodOptional<z.ZodString>;
|
|
558
565
|
network_access: z.ZodOptional<z.ZodBoolean>;
|
|
559
566
|
reasoning_effort: z.ZodOptional<z.ZodEnum<{
|
|
560
567
|
minimal: "minimal";
|
|
@@ -570,6 +577,7 @@ export declare const PersonaProviderEntrySchema: z.ZodObject<{
|
|
|
570
577
|
allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
571
578
|
}, z.core.$strip>>;
|
|
572
579
|
claude: z.ZodOptional<z.ZodObject<{
|
|
580
|
+
base_url: z.ZodOptional<z.ZodString>;
|
|
573
581
|
allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
574
582
|
effort: z.ZodOptional<z.ZodEnum<{
|
|
575
583
|
low: "low";
|
|
@@ -640,6 +648,7 @@ export declare const PersonaProviderReferenceSchema: z.ZodUnion<readonly [z.ZodE
|
|
|
640
648
|
model: z.ZodOptional<z.ZodString>;
|
|
641
649
|
provider_options: z.ZodOptional<z.ZodObject<{
|
|
642
650
|
codex: z.ZodOptional<z.ZodObject<{
|
|
651
|
+
base_url: z.ZodOptional<z.ZodString>;
|
|
643
652
|
network_access: z.ZodOptional<z.ZodBoolean>;
|
|
644
653
|
reasoning_effort: z.ZodOptional<z.ZodEnum<{
|
|
645
654
|
minimal: "minimal";
|
|
@@ -655,6 +664,7 @@ export declare const PersonaProviderReferenceSchema: z.ZodUnion<readonly [z.ZodE
|
|
|
655
664
|
allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
656
665
|
}, z.core.$strip>>;
|
|
657
666
|
claude: z.ZodOptional<z.ZodObject<{
|
|
667
|
+
base_url: z.ZodOptional<z.ZodString>;
|
|
658
668
|
allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
659
669
|
effort: z.ZodOptional<z.ZodEnum<{
|
|
660
670
|
low: "low";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema-base.d.ts","sourceRoot":"","sources":["../../../src/core/models/schema-base.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAE3E,+CAA+C;AAC/C,eAAO,MAAM,gBAAgB;;;;GAAwD,CAAC;AAEtF,iCAAiC;AACjC,eAAO,MAAM,iBAAiB;;;;;;;;;;;iBAO5B,CAAC;AAEH,sCAAsC;AACtC,eAAO,MAAM,kBAAkB;;;iBAG7B,CAAC;AAEH,4CAA4C;AAC5C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;iBAO3B,CAAC;AAEH,wBAAwB;AACxB,eAAO,MAAM,eAAe;;;;;EAAyD,CAAC;AAEtF,oBAAoB;AACpB,eAAO,MAAM,YAAY;;;;;EAAwB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;;;;;;;;;;;;;;;;;;;;;;;;;kBAmCrC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAGzC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;kBAMnC,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;kBAK/B,CAAC;AAEF,wCAAwC;AACxC,eAAO,MAAM,uBAAuB;;;;;kBAQnC,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;iBAM9B,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;kBAK3B,CAAC;AAEZ,8BAA8B;AAC9B,eAAO,MAAM,qBAAqB;;;;iBAIhC,CAAC;AAEH,8BAA8B;AAC9B,eAAO,MAAM,cAAc;;;EAAuB,CAAC;AAEnD,uCAAuC;AACvC,eAAO,MAAM,oBAAoB;;;;kBAItB,CAAC"}
|
|
@@ -46,6 +46,7 @@ export const ClaudeSandboxSchema = z.object({
|
|
|
46
46
|
/** Provider-specific step options schema */
|
|
47
47
|
export const StepProviderOptionsObjectSchema = z.object({
|
|
48
48
|
codex: z.object({
|
|
49
|
+
base_url: z.string().min(1).optional(),
|
|
49
50
|
network_access: z.boolean().optional(),
|
|
50
51
|
reasoning_effort: z.enum(CODEX_REASONING_EFFORT_VALUES).optional(),
|
|
51
52
|
}).optional(),
|
|
@@ -55,6 +56,7 @@ export const StepProviderOptionsObjectSchema = z.object({
|
|
|
55
56
|
allowed_tools: z.array(z.string()).optional(),
|
|
56
57
|
}).optional(),
|
|
57
58
|
claude: z.object({
|
|
59
|
+
base_url: z.string().min(1).optional(),
|
|
58
60
|
allowed_tools: z.array(z.string()).optional(),
|
|
59
61
|
effort: z.enum(CLAUDE_EFFORT_VALUES).optional(),
|
|
60
62
|
sandbox: ClaudeSandboxSchema,
|