takt 0.47.0 → 0.49.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 +24 -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/fix-maintenance.md +1 -1
- package/builtins/en/facets/instructions/implement-maintenance.md +2 -2
- package/builtins/en/facets/instructions/plan-maintenance.md +3 -3
- package/builtins/en/facets/instructions/review-coding.md +6 -4
- package/builtins/en/facets/instructions/review-test.md +6 -1
- package/builtins/en/facets/knowledge/backend.md +2 -0
- package/builtins/en/facets/knowledge/cqrs-es.md +12 -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 +27 -0
- package/builtins/en/facets/output-contracts/exec-review-result.md +13 -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/policies/existing-system-respect.md +30 -16
- package/builtins/en/facets/policies/review.md +2 -0
- package/builtins/en/facets/policies/testing.md +41 -0
- package/builtins/en/workflow-categories.yaml +1 -0
- package/builtins/en/workflows/backend-maintenance.yaml +540 -0
- package/builtins/en/workflows/draft.yaml +4 -2
- package/builtins/en/workflows/frontend-maintenance.yaml +1 -1
- package/builtins/en/workflows/frontend.yaml +1 -1
- package/builtins/en/workflows/peer-review-with-fc.yaml +1 -1
- package/builtins/en/workflows/peer-review.yaml +1 -1
- 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/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/fix-maintenance.md +1 -1
- package/builtins/ja/facets/instructions/implement-maintenance.md +2 -2
- package/builtins/ja/facets/instructions/plan-maintenance.md +3 -3
- package/builtins/ja/facets/instructions/review-coding.md +6 -4
- package/builtins/ja/facets/instructions/review-test.md +6 -1
- package/builtins/ja/facets/knowledge/backend.md +2 -0
- package/builtins/ja/facets/knowledge/cqrs-es.md +12 -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 +27 -0
- package/builtins/ja/facets/output-contracts/exec-review-result.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/policies/existing-system-respect.md +30 -16
- package/builtins/ja/facets/policies/review.md +3 -0
- package/builtins/ja/facets/policies/testing.md +41 -0
- package/builtins/ja/workflow-categories.yaml +1 -0
- package/builtins/ja/workflows/backend-maintenance.yaml +540 -0
- package/builtins/ja/workflows/draft.yaml +4 -2
- package/builtins/ja/workflows/frontend-maintenance.yaml +1 -1
- package/builtins/ja/workflows/frontend.yaml +1 -1
- package/builtins/ja/workflows/peer-review-with-fc.yaml +1 -1
- package/builtins/ja/workflows/peer-review.yaml +1 -1
- 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 +3 -2
- package/dist/agents/decompose-task-usecase.d.ts.map +1 -1
- package/dist/agents/decompose-task-usecase.js +2 -6
- package/dist/agents/decompose-task-usecase.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/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 -5
- 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/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/commands.js +13 -0
- package/dist/app/cli/commands.js.map +1 -1
- package/dist/commands/repertoire/add.d.ts.map +1 -1
- package/dist/commands/repertoire/add.js +2 -3
- package/dist/commands/repertoire/add.js.map +1 -1
- package/dist/core/models/config-schemas.d.ts +26 -0
- package/dist/core/models/config-schemas.d.ts.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/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 +270 -16
- package/dist/core/models/workflow-schemas.d.ts.map +1 -1
- package/dist/core/models/workflow-schemas.js +39 -3
- package/dist/core/models/workflow-schemas.js.map +1 -1
- package/dist/core/models/workflow-types.d.ts +8 -0
- package/dist/core/models/workflow-types.d.ts.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 +1 -0
- package/dist/core/workflow/engine/OptionsBuilder.d.ts.map +1 -1
- package/dist/core/workflow/engine/OptionsBuilder.js +23 -11
- package/dist/core/workflow/engine/OptionsBuilder.js.map +1 -1
- package/dist/core/workflow/engine/StepExecutor.d.ts.map +1 -1
- package/dist/core/workflow/engine/StepExecutor.js +4 -8
- 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/WorkflowEngineSetup.js +2 -2
- 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 +17 -7
- 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 +45 -6
- 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 +13 -1
- package/dist/core/workflow/engine/team-leader-common.js.map +1 -1
- package/dist/core/workflow/findings/manager-runner.d.ts.map +1 -1
- package/dist/core/workflow/findings/manager-runner.js +9 -25
- package/dist/core/workflow/findings/manager-runner.js.map +1 -1
- package/dist/core/workflow/instruction/InstructionBuilder.js +1 -1
- package/dist/core/workflow/instruction/InstructionBuilder.js.map +1 -1
- package/dist/core/workflow/observability/workflowSpans.d.ts.map +1 -1
- package/dist/core/workflow/observability/workflowSpans.js +2 -1
- package/dist/core/workflow/observability/workflowSpans.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-model-compatibility.d.ts +0 -1
- package/dist/core/workflow/provider-model-compatibility.d.ts.map +1 -1
- package/dist/core/workflow/provider-model-compatibility.js +2 -2
- package/dist/core/workflow/provider-model-compatibility.js.map +1 -1
- 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/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/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/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 +150 -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 +3 -0
- package/dist/features/interactive/aiCaller.d.ts.map +1 -1
- package/dist/features/interactive/aiCaller.js +4 -0
- package/dist/features/interactive/aiCaller.js.map +1 -1
- package/dist/features/interactive/clipboardImage.js +2 -2
- package/dist/features/interactive/clipboardImage.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/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.js +2 -2
- package/dist/features/interactive/interactive.js.map +1 -1
- 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/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/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/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/taskWorkflowExecution.d.ts.map +1 -1
- package/dist/features/tasks/execute/taskWorkflowExecution.js +41 -1
- package/dist/features/tasks/execute/taskWorkflowExecution.js.map +1 -1
- package/dist/features/tasks/execute/types.d.ts +8 -0
- package/dist/features/tasks/execute/types.d.ts.map +1 -1
- package/dist/features/tasks/execute/workflowExecutionBootstrap.d.ts.map +1 -1
- package/dist/features/tasks/execute/workflowExecutionBootstrap.js +4 -0
- package/dist/features/tasks/execute/workflowExecutionBootstrap.js.map +1 -1
- package/dist/features/tasks/execute/workflowExecutionEvents.d.ts.map +1 -1
- package/dist/features/tasks/execute/workflowExecutionEvents.js +12 -1
- 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/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/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 +3 -2
- package/dist/infra/config/configNormalizers.d.ts.map +1 -1
- package/dist/infra/config/configNormalizers.js +26 -13
- package/dist/infra/config/configNormalizers.js.map +1 -1
- package/dist/infra/config/global/globalConfigCore.d.ts.map +1 -1
- package/dist/infra/config/global/globalConfigCore.js +2 -1
- 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 +119 -46
- package/dist/infra/config/loaders/resource-resolver.js.map +1 -1
- package/dist/infra/config/loaders/workflowCallableArgResolver.d.ts.map +1 -1
- package/dist/infra/config/loaders/workflowCallableArgResolver.js +15 -7
- package/dist/infra/config/loaders/workflowCallableArgResolver.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 +3 -1
- package/dist/infra/config/loaders/workflowLoopMonitorNormalizer.js.map +1 -1
- package/dist/infra/config/loaders/workflowParser.d.ts.map +1 -1
- package/dist/infra/config/loaders/workflowParser.js +6 -8
- 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 +32 -12
- package/dist/infra/config/loaders/workflowPreview.js.map +1 -1
- package/dist/infra/config/loaders/workflowProviderOptionsResolver.js +8 -2
- package/dist/infra/config/loaders/workflowProviderOptionsResolver.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 +1 -1
- package/dist/infra/config/loaders/workflowStepNormalizer.d.ts.map +1 -1
- package/dist/infra/config/loaders/workflowStepNormalizer.js +18 -10
- package/dist/infra/config/loaders/workflowStepNormalizer.js.map +1 -1
- package/dist/infra/config/project/projectConfig.d.ts.map +1 -1
- package/dist/infra/config/project/projectConfig.js +12 -4
- package/dist/infra/config/project/projectConfig.js.map +1 -1
- package/dist/infra/config/providerOptions.d.ts +12 -5
- package/dist/infra/config/providerOptions.d.ts.map +1 -1
- package/dist/infra/config/providerOptions.js +112 -10
- 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/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/opencode/allowedTools.d.ts +1 -0
- package/dist/infra/opencode/allowedTools.d.ts.map +1 -1
- package/dist/infra/opencode/allowedTools.js +7 -0
- package/dist/infra/opencode/allowedTools.js.map +1 -1
- package/dist/infra/opencode/client.d.ts.map +1 -1
- package/dist/infra/opencode/client.js +47 -1
- package/dist/infra/opencode/client.js.map +1 -1
- package/dist/infra/opencode/types.d.ts +1 -0
- package/dist/infra/opencode/types.d.ts.map +1 -1
- package/dist/infra/opencode/types.js +10 -10
- package/dist/infra/opencode/types.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 +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 +2 -1
- package/dist/infra/providers/opencode.d.ts.map +1 -1
- package/dist/infra/providers/opencode.js +19 -6
- 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/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/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/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 +28 -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 +35 -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 +28 -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 +35 -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/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/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/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 +10 -5
- package/builtins/en/provider-options/review-web.yaml +0 -14
- package/builtins/ja/provider-options/review-web.yaml +0 -14
- 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/shared/prompts/en/score_interactive_policy.md +0 -83
- package/dist/shared/prompts/ja/score_interactive_policy.md +0 -83
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { closeSync, constants, existsSync, fstatSync, lstatSync, mkdirSync, openSync, readdirSync, readFileSync, renameSync, rmSync, unlinkSync, writeFileSync, } from 'node:fs';
|
|
2
|
+
import { randomUUID } from 'node:crypto';
|
|
3
|
+
import { basename, dirname, join } from 'node:path';
|
|
4
|
+
import { assertPathSegmentsAreSafe, isRealPathInside, lstatIfExists } from '../../shared/utils/index.js';
|
|
5
|
+
const OPEN_NOFOLLOW = constants.O_NOFOLLOW ?? 0;
|
|
6
|
+
export class ProjectBoundaryError extends Error {
|
|
7
|
+
constructor(message) {
|
|
8
|
+
super(message);
|
|
9
|
+
this.name = 'ProjectBoundaryError';
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
function buildBoundaryError(label, path) {
|
|
13
|
+
return new ProjectBoundaryError(`Project-local ${label} must stay inside the project and must not use symlinks: ${path}`);
|
|
14
|
+
}
|
|
15
|
+
function assertExistingSegmentsAreSafe(cwd, targetPath, label) {
|
|
16
|
+
assertPathSegmentsAreSafe(cwd, targetPath, (_violation, segmentPath) => buildBoundaryError(label, segmentPath), { rejectSamePath: true });
|
|
17
|
+
}
|
|
18
|
+
function prepareProjectLocalDirectory(cwd, dirPath, label) {
|
|
19
|
+
assertExistingSegmentsAreSafe(cwd, dirPath, label);
|
|
20
|
+
mkdirSync(dirPath, { recursive: true });
|
|
21
|
+
assertExistingSegmentsAreSafe(cwd, dirPath, label);
|
|
22
|
+
const stats = lstatSync(dirPath);
|
|
23
|
+
if (!stats.isDirectory()) {
|
|
24
|
+
throw buildBoundaryError(label, dirPath);
|
|
25
|
+
}
|
|
26
|
+
if (!isRealPathInside(cwd, dirPath)) {
|
|
27
|
+
throw buildBoundaryError(label, dirPath);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
function assertProjectLocalFileTarget(cwd, filePath, label) {
|
|
31
|
+
assertExistingSegmentsAreSafe(cwd, filePath, label);
|
|
32
|
+
if (!isRealPathInside(cwd, dirname(filePath))) {
|
|
33
|
+
throw buildBoundaryError(label, filePath);
|
|
34
|
+
}
|
|
35
|
+
const stats = lstatIfExists(filePath);
|
|
36
|
+
if (stats === null) {
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
if (stats.isSymbolicLink() || !stats.isFile()) {
|
|
40
|
+
throw buildBoundaryError(label, filePath);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
export function projectLocalFileExists(cwd, filePath, label) {
|
|
44
|
+
const stats = lstatIfExists(filePath);
|
|
45
|
+
if (stats === null) {
|
|
46
|
+
assertExistingSegmentsAreSafe(cwd, filePath, label);
|
|
47
|
+
return false;
|
|
48
|
+
}
|
|
49
|
+
assertProjectLocalFileTarget(cwd, filePath, label);
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
export function listProjectLocalDirectoryEntries(cwd, dirPath, label) {
|
|
53
|
+
assertExistingSegmentsAreSafe(cwd, dirPath, label);
|
|
54
|
+
if (!existsSync(dirPath)) {
|
|
55
|
+
return [];
|
|
56
|
+
}
|
|
57
|
+
const stats = lstatSync(dirPath);
|
|
58
|
+
if (!stats.isDirectory() || !isRealPathInside(cwd, dirPath)) {
|
|
59
|
+
throw buildBoundaryError(label, dirPath);
|
|
60
|
+
}
|
|
61
|
+
return readdirSync(dirPath);
|
|
62
|
+
}
|
|
63
|
+
export function readProjectLocalTextFile(cwd, filePath, label) {
|
|
64
|
+
let fileDescriptor;
|
|
65
|
+
try {
|
|
66
|
+
assertProjectLocalFileTarget(cwd, filePath, label);
|
|
67
|
+
fileDescriptor = openSync(filePath, constants.O_RDONLY | OPEN_NOFOLLOW);
|
|
68
|
+
const stats = fstatSync(fileDescriptor);
|
|
69
|
+
if (!stats.isFile()) {
|
|
70
|
+
throw buildBoundaryError(label, filePath);
|
|
71
|
+
}
|
|
72
|
+
return readFileSync(fileDescriptor, 'utf-8');
|
|
73
|
+
}
|
|
74
|
+
catch (error) {
|
|
75
|
+
if (error.code === 'ELOOP') {
|
|
76
|
+
throw buildBoundaryError(label, filePath);
|
|
77
|
+
}
|
|
78
|
+
throw error;
|
|
79
|
+
}
|
|
80
|
+
finally {
|
|
81
|
+
if (fileDescriptor !== undefined) {
|
|
82
|
+
closeSync(fileDescriptor);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export function writeProjectLocalTextFile(cwd, filePath, content, label) {
|
|
87
|
+
const parentDir = dirname(filePath);
|
|
88
|
+
prepareProjectLocalDirectory(cwd, parentDir, label);
|
|
89
|
+
assertProjectLocalFileTarget(cwd, filePath, label);
|
|
90
|
+
const tempPath = join(parentDir, `.${basename(filePath)}.${process.pid}.${randomUUID()}.tmp`);
|
|
91
|
+
let fileDescriptor;
|
|
92
|
+
try {
|
|
93
|
+
fileDescriptor = openSync(tempPath, constants.O_CREAT | constants.O_EXCL | constants.O_WRONLY | OPEN_NOFOLLOW, 0o600);
|
|
94
|
+
writeFileSync(fileDescriptor, content, 'utf-8');
|
|
95
|
+
closeSync(fileDescriptor);
|
|
96
|
+
fileDescriptor = undefined;
|
|
97
|
+
assertProjectLocalFileTarget(cwd, filePath, label);
|
|
98
|
+
renameSync(tempPath, filePath);
|
|
99
|
+
}
|
|
100
|
+
finally {
|
|
101
|
+
if (fileDescriptor !== undefined) {
|
|
102
|
+
closeSync(fileDescriptor);
|
|
103
|
+
}
|
|
104
|
+
rmSync(tempPath, { force: true });
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
export function deleteProjectLocalFile(cwd, filePath, label) {
|
|
108
|
+
assertProjectLocalFileTarget(cwd, filePath, label);
|
|
109
|
+
unlinkSync(filePath);
|
|
110
|
+
}
|
|
111
|
+
//# sourceMappingURL=projectLocalFiles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectLocalFiles.js","sourceRoot":"","sources":["../../../src/features/exec/projectLocalFiles.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,SAAS,EACT,UAAU,EACV,SAAS,EACT,SAAS,EACT,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CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type SelectOptionItem } from '../../shared/prompt/index.js';
|
|
2
|
+
import type { SessionContext } from '../interactive/aiCaller.js';
|
|
3
|
+
import { type ExecLanguage } from './labels.js';
|
|
4
|
+
export declare function selectExecOption<T extends string>(lang: ExecLanguage, message: string, options: SelectOptionItem<T>[]): Promise<T | null>;
|
|
5
|
+
export declare function promptTextOrCancel(prompt: string, current: string, lang: SessionContext['lang']): Promise<string | null>;
|
|
6
|
+
export declare function promptText(prompt: string, current: string, lang: SessionContext['lang']): Promise<string>;
|
|
7
|
+
export declare function promptInteger(prompt: string, current: number, lang: SessionContext['lang']): Promise<number>;
|
|
8
|
+
//# sourceMappingURL=promptUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"promptUtils.d.ts","sourceRoot":"","sources":["../../../src/features/exec/promptUtils.ts"],"names":[],"mappings":"AACA,OAAO,EAAgB,KAAK,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAEnF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,EAAa,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3D,wBAAsB,gBAAgB,CAAC,CAAC,SAAS,MAAM,EACrD,IAAI,EAAE,YAAY,EAClB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAAE,GAC7B,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC,CAEnB;AAED,wBAAsB,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAO9H;AAED,wBAAsB,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,CAG/G;AAED,wBAAsB,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,CAUlH"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { readInteractiveInput } from '../interactive/interactiveInput.js';
|
|
2
|
+
import { selectOption } from '../../shared/prompt/index.js';
|
|
3
|
+
import { sanitizeTerminalText } from '../../shared/utils/index.js';
|
|
4
|
+
import { EXEC_TEXT_INPUT_COMMAND_AVAILABILITY } from './commandAvailability.js';
|
|
5
|
+
import { execLabel } from './labels.js';
|
|
6
|
+
export async function selectExecOption(lang, message, options) {
|
|
7
|
+
return await selectOption(message, options, { cancelLabel: execLabel(lang, 'common.cancel') });
|
|
8
|
+
}
|
|
9
|
+
export async function promptTextOrCancel(prompt, current, lang) {
|
|
10
|
+
const input = await readInteractiveInput(`${prompt} (${sanitizeTerminalText(current)}): `, lang, EXEC_TEXT_INPUT_COMMAND_AVAILABILITY);
|
|
11
|
+
if (input === null) {
|
|
12
|
+
return null;
|
|
13
|
+
}
|
|
14
|
+
const trimmed = input.trim();
|
|
15
|
+
return trimmed.length > 0 ? trimmed : current;
|
|
16
|
+
}
|
|
17
|
+
export async function promptText(prompt, current, lang) {
|
|
18
|
+
const input = await promptTextOrCancel(prompt, current, lang);
|
|
19
|
+
return input ?? current;
|
|
20
|
+
}
|
|
21
|
+
export async function promptInteger(prompt, current, lang) {
|
|
22
|
+
const input = await readInteractiveInput(`${prompt} (${current}): `, lang, EXEC_TEXT_INPUT_COMMAND_AVAILABILITY);
|
|
23
|
+
if (input === null || input.trim().length === 0) {
|
|
24
|
+
return current;
|
|
25
|
+
}
|
|
26
|
+
const parsed = Number(input.trim());
|
|
27
|
+
if (!Number.isInteger(parsed) || parsed <= 0) {
|
|
28
|
+
throw new Error(`${prompt} must be a positive integer.`);
|
|
29
|
+
}
|
|
30
|
+
return parsed;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=promptUtils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"promptUtils.js","sourceRoot":"","sources":["../../../src/features/exec/promptUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAyB,MAAM,8BAA8B,CAAC;AACnF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,OAAO,EAAE,oCAAoC,EAAE,MAAM,0BAA0B,CAAC;AAChF,OAAO,EAAE,SAAS,EAAqB,MAAM,aAAa,CAAC;AAE3D,MAAM,CAAC,KAAK,UAAU,gBAAgB,CACpC,IAAkB,EAClB,OAAe,EACf,OAA8B;IAE9B,OAAO,MAAM,YAAY,CAAI,OAAO,EAAE,OAAO,EAAE,EAAE,WAAW,EAAE,SAAS,CAAC,IAAI,EAAE,eAAe,CAAC,EAAE,CAAC,CAAC;AACpG,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,kBAAkB,CAAC,MAAc,EAAE,OAAe,EAAE,IAA4B;IACpG,MAAM,KAAK,GAAG,MAAM,oBAAoB,CAAC,GAAG,MAAM,KAAK,oBAAoB,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI,EAAE,oCAAoC,CAAC,CAAC;IACvI,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACnB,OAAO,IAAI,CAAC;IACd,CAAC;IACD,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC;IAC7B,OAAO,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;AAChD,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,UAAU,CAAC,MAAc,EAAE,OAAe,EAAE,IAA4B;IAC5F,MAAM,KAAK,GAAG,MAAM,kBAAkB,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;IAC9D,OAAO,KAAK,IAAI,OAAO,CAAC;AAC1B,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,aAAa,CAAC,MAAc,EAAE,OAAe,EAAE,IAA4B;IAC/F,MAAM,KAAK,GAAG,MAAM,oBAAoB,CAAC,GAAG,MAAM,KAAK,OAAO,KAAK,EAAE,IAAI,EAAE,oCAAoC,CAAC,CAAC;IACjH,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAChD,OAAO,OAAO,CAAC;IACjB,CAAC;IACD,MAAM,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC;IACpC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,MAAM,IAAI,CAAC,EAAE,CAAC;QAC7C,MAAM,IAAI,KAAK,CAAC,GAAG,MAAM,8BAA8B,CAAC,CAAC;IAC3D,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ProviderType } from '../../infra/providers/index.js';
|
|
2
|
+
import type { ExecConfig, ResolvedExecConfig } from './types.js';
|
|
3
|
+
export interface ExecProviderModelDefaults {
|
|
4
|
+
provider?: ProviderType;
|
|
5
|
+
model?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function resolveConfiguredExecProviderModel(cwd: string): ExecProviderModelDefaults;
|
|
8
|
+
export declare function resolveExecProviderModel(explicitProvider: ProviderType | undefined, explicitModel: string | undefined, defaults: ExecProviderModelDefaults, path: string): {
|
|
9
|
+
provider: ProviderType;
|
|
10
|
+
model?: string;
|
|
11
|
+
};
|
|
12
|
+
export declare function resolveExecConfigProviderModel(config: ExecConfig, defaults: ExecProviderModelDefaults): ResolvedExecConfig;
|
|
13
|
+
//# sourceMappingURL=runtimeConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtimeConfig.d.ts","sourceRoot":"","sources":["../../../src/features/exec/runtimeConfig.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAEnE,OAAO,KAAK,EAEV,UAAU,EAGV,kBAAkB,EAEnB,MAAM,YAAY,CAAC;AAEpB,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,kCAAkC,CAAC,GAAG,EAAE,MAAM,GAAG,yBAAyB,CASzF;AA4BD,wBAAgB,wBAAwB,CACtC,gBAAgB,EAAE,YAAY,GAAG,SAAS,EAC1C,aAAa,EAAE,MAAM,GAAG,SAAS,EACjC,QAAQ,EAAE,yBAAyB,EACnC,IAAI,EAAE,MAAM,GACX;IAAE,QAAQ,EAAE,YAAY,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAO5C;AAuBD,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,UAAU,EAClB,QAAQ,EAAE,yBAAyB,GAClC,kBAAkB,CASpB"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { resolveWorkflowConfigValues } from '../../infra/config/index.js';
|
|
2
|
+
import { assertResolvedExecConfig } from './configValidation.js';
|
|
3
|
+
export function resolveConfiguredExecProviderModel(cwd) {
|
|
4
|
+
const config = resolveWorkflowConfigValues(cwd, ['provider', 'model']);
|
|
5
|
+
if (config.provider === undefined) {
|
|
6
|
+
return {};
|
|
7
|
+
}
|
|
8
|
+
return {
|
|
9
|
+
provider: config.provider,
|
|
10
|
+
...(config.model !== undefined ? { model: config.model } : {}),
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
function resolveExecModel(explicitProvider, explicitModel, defaults) {
|
|
14
|
+
if (explicitModel !== undefined) {
|
|
15
|
+
return explicitModel;
|
|
16
|
+
}
|
|
17
|
+
if (explicitProvider === undefined || explicitProvider === defaults.provider) {
|
|
18
|
+
return defaults.model;
|
|
19
|
+
}
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
function resolveExecProvider(explicitProvider, defaults, path) {
|
|
23
|
+
const provider = explicitProvider ?? defaults.provider;
|
|
24
|
+
if (provider === undefined) {
|
|
25
|
+
throw new Error(`Provider is not configured for ${path}.`);
|
|
26
|
+
}
|
|
27
|
+
return provider;
|
|
28
|
+
}
|
|
29
|
+
export function resolveExecProviderModel(explicitProvider, explicitModel, defaults, path) {
|
|
30
|
+
const provider = resolveExecProvider(explicitProvider, defaults, path);
|
|
31
|
+
const model = resolveExecModel(explicitProvider, explicitModel, defaults);
|
|
32
|
+
return {
|
|
33
|
+
provider,
|
|
34
|
+
model,
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function resolveSessionConfig(session, defaults) {
|
|
38
|
+
return {
|
|
39
|
+
...session,
|
|
40
|
+
...resolveExecProviderModel(session.provider, session.model, defaults, 'exec.session.provider'),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function resolveActorConfig(actor, defaults, path) {
|
|
44
|
+
return {
|
|
45
|
+
...actor,
|
|
46
|
+
...resolveExecProviderModel(actor.provider, actor.model, defaults, path),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export function resolveExecConfigProviderModel(config, defaults) {
|
|
50
|
+
const resolved = {
|
|
51
|
+
...config,
|
|
52
|
+
session: resolveSessionConfig(config.session, defaults),
|
|
53
|
+
workers: config.workers.map((worker, index) => resolveActorConfig(worker, defaults, `exec.workers[${index}].provider`)),
|
|
54
|
+
reviews: config.reviews.map((review, index) => resolveActorConfig(review, defaults, `exec.reviews[${index}].provider`)),
|
|
55
|
+
};
|
|
56
|
+
assertResolvedExecConfig(resolved);
|
|
57
|
+
return resolved;
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1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ACF,wBAAwB,CAAC,QAAQ,CAAC,CAAC;IACnC,OAAO,QAAQ,CAAC;AAClB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type ExecSessionContext } from './assistantSession.js';
|
|
2
|
+
import { type ExecProviderModelDefaults } from './runtimeConfig.js';
|
|
3
|
+
import type { ExecConfig } from './types.js';
|
|
4
|
+
export declare function runSetupMenu(cwd: string, config: ExecConfig, ctx: ExecSessionContext, providerModelDefaults: ExecProviderModelDefaults): Promise<ExecConfig>;
|
|
5
|
+
//# sourceMappingURL=setupMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setupMenu.d.ts","sourceRoot":"","sources":["../../../src/features/exec/setupMenu.ts"],"names":[],"mappings":"AAyBA,OAAO,EAGL,KAAK,kBAAkB,EACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAGL,KAAK,yBAAyB,EAC/B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAEV,UAAU,EAMX,MAAM,YAAY,CAAC;AAqbpB,wBAAsB,YAAY,CAChC,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,UAAU,EAClB,GAAG,EAAE,kBAAkB,EACvB,qBAAqB,EAAE,yBAAyB,GAC/C,OAAO,CAAC,UAAU,CAAC,CAuCrB"}
|