agentplane 0.3.24 → 0.3.27
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/assets/policy/incidents.md +3 -1
- package/dist/.build-manifest.json +5 -3193
- package/dist/cli.js +350 -362
- package/package.json +15 -8
- package/bin/framework-dev-contract.d.ts +0 -6
- package/bin/runtime-context.d.ts +0 -23
- package/bin/runtime-watch.d.ts +0 -27
- package/bin/stale-dist-policy.d.ts +0 -6
- package/dist/adapters/clock/system-clock-adapter.d.ts +0 -5
- package/dist/adapters/clock/system-clock-adapter.d.ts.map +0 -1
- package/dist/adapters/clock/system-clock-adapter.js +0 -5
- package/dist/adapters/fs/node-fs-adapter.d.ts +0 -15
- package/dist/adapters/fs/node-fs-adapter.d.ts.map +0 -1
- package/dist/adapters/fs/node-fs-adapter.js +0 -47
- package/dist/adapters/git/git-context-adapter.d.ts +0 -21
- package/dist/adapters/git/git-context-adapter.d.ts.map +0 -1
- package/dist/adapters/git/git-context-adapter.js +0 -27
- package/dist/adapters/index.d.ts +0 -13
- package/dist/adapters/index.d.ts.map +0 -1
- package/dist/adapters/index.js +0 -12
- package/dist/adapters/task-backend/task-backend-adapter.d.ts +0 -14
- package/dist/adapters/task-backend/task-backend-adapter.d.ts.map +0 -1
- package/dist/adapters/task-backend/task-backend-adapter.js +0 -38
- package/dist/agents/agents-template.d.ts +0 -17
- package/dist/agents/agents-template.d.ts.map +0 -1
- package/dist/agents/agents-template.js +0 -119
- package/dist/backends/task-backend/load.d.ts +0 -16
- package/dist/backends/task-backend/load.d.ts.map +0 -1
- package/dist/backends/task-backend/load.js +0 -92
- package/dist/backends/task-backend/local-backend-doc.d.ts +0 -5
- package/dist/backends/task-backend/local-backend-doc.d.ts.map +0 -1
- package/dist/backends/task-backend/local-backend-doc.js +0 -99
- package/dist/backends/task-backend/local-backend-read.d.ts +0 -7
- package/dist/backends/task-backend/local-backend-read.d.ts.map +0 -1
- package/dist/backends/task-backend/local-backend-read.js +0 -187
- package/dist/backends/task-backend/local-backend-state.d.ts +0 -17
- package/dist/backends/task-backend/local-backend-state.d.ts.map +0 -1
- package/dist/backends/task-backend/local-backend-state.js +0 -50
- package/dist/backends/task-backend/local-backend-write.d.ts +0 -15
- package/dist/backends/task-backend/local-backend-write.d.ts.map +0 -1
- package/dist/backends/task-backend/local-backend-write.js +0 -255
- package/dist/backends/task-backend/local-backend.d.ts +0 -47
- package/dist/backends/task-backend/local-backend.d.ts.map +0 -1
- package/dist/backends/task-backend/local-backend.js +0 -80
- package/dist/backends/task-backend/redmine/backend-cache-doc.d.ts +0 -40
- package/dist/backends/task-backend/redmine/backend-cache-doc.d.ts.map +0 -1
- package/dist/backends/task-backend/redmine/backend-cache-doc.js +0 -178
- package/dist/backends/task-backend/redmine/backend-report.d.ts +0 -10
- package/dist/backends/task-backend/redmine/backend-report.d.ts.map +0 -1
- package/dist/backends/task-backend/redmine/backend-report.js +0 -43
- package/dist/backends/task-backend/redmine/backend-runtime.d.ts +0 -5
- package/dist/backends/task-backend/redmine/backend-runtime.d.ts.map +0 -1
- package/dist/backends/task-backend/redmine/backend-runtime.js +0 -4
- package/dist/backends/task-backend/redmine/backend-sync/context.d.ts +0 -44
- package/dist/backends/task-backend/redmine/backend-sync/context.d.ts.map +0 -1
- package/dist/backends/task-backend/redmine/backend-sync/context.js +0 -8
- package/dist/backends/task-backend/redmine/backend-sync/ids.d.ts +0 -6
- package/dist/backends/task-backend/redmine/backend-sync/ids.d.ts.map +0 -1
- package/dist/backends/task-backend/redmine/backend-sync/ids.js +0 -21
- package/dist/backends/task-backend/redmine/backend-sync/migration.d.ts +0 -4
- package/dist/backends/task-backend/redmine/backend-sync/migration.d.ts.map +0 -1
- package/dist/backends/task-backend/redmine/backend-sync/migration.js +0 -87
- package/dist/backends/task-backend/redmine/backend-sync/status.d.ts +0 -10
- package/dist/backends/task-backend/redmine/backend-sync/status.d.ts.map +0 -1
- package/dist/backends/task-backend/redmine/backend-sync/status.js +0 -79
- package/dist/backends/task-backend/redmine/backend-sync/sync.d.ts +0 -12
- package/dist/backends/task-backend/redmine/backend-sync/sync.d.ts.map +0 -1
- package/dist/backends/task-backend/redmine/backend-sync/sync.js +0 -82
- package/dist/backends/task-backend/redmine/backend-sync/write.d.ts +0 -5
- package/dist/backends/task-backend/redmine/backend-sync/write.d.ts.map +0 -1
- package/dist/backends/task-backend/redmine/backend-sync/write.js +0 -100
- package/dist/backends/task-backend/redmine/backend-sync.d.ts +0 -7
- package/dist/backends/task-backend/redmine/backend-sync.d.ts.map +0 -1
- package/dist/backends/task-backend/redmine/backend-sync.js +0 -5
- package/dist/backends/task-backend/redmine/client.d.ts +0 -8
- package/dist/backends/task-backend/redmine/client.d.ts.map +0 -1
- package/dist/backends/task-backend/redmine/client.js +0 -60
- package/dist/backends/task-backend/redmine/comments.d.ts +0 -12
- package/dist/backends/task-backend/redmine/comments.d.ts.map +0 -1
- package/dist/backends/task-backend/redmine/comments.js +0 -54
- package/dist/backends/task-backend/redmine/env.d.ts +0 -16
- package/dist/backends/task-backend/redmine/env.d.ts.map +0 -1
- package/dist/backends/task-backend/redmine/env.js +0 -64
- package/dist/backends/task-backend/redmine/fields.d.ts +0 -9
- package/dist/backends/task-backend/redmine/fields.d.ts.map +0 -1
- package/dist/backends/task-backend/redmine/fields.js +0 -38
- package/dist/backends/task-backend/redmine/inspect.d.ts +0 -11
- package/dist/backends/task-backend/redmine/inspect.d.ts.map +0 -1
- package/dist/backends/task-backend/redmine/inspect.js +0 -75
- package/dist/backends/task-backend/redmine/mapping.d.ts +0 -21
- package/dist/backends/task-backend/redmine/mapping.d.ts.map +0 -1
- package/dist/backends/task-backend/redmine/mapping.js +0 -190
- package/dist/backends/task-backend/redmine/parse.d.ts +0 -4
- package/dist/backends/task-backend/redmine/parse.d.ts.map +0 -1
- package/dist/backends/task-backend/redmine/parse.js +0 -29
- package/dist/backends/task-backend/redmine/remote.d.ts +0 -19
- package/dist/backends/task-backend/redmine/remote.d.ts.map +0 -1
- package/dist/backends/task-backend/redmine/remote.js +0 -82
- package/dist/backends/task-backend/redmine/runtime-context.d.ts +0 -98
- package/dist/backends/task-backend/redmine/runtime-context.d.ts.map +0 -1
- package/dist/backends/task-backend/redmine/runtime-context.js +0 -57
- package/dist/backends/task-backend/redmine/runtime-methods.d.ts +0 -33
- package/dist/backends/task-backend/redmine/runtime-methods.d.ts.map +0 -1
- package/dist/backends/task-backend/redmine/runtime-methods.js +0 -86
- package/dist/backends/task-backend/redmine/runtime-operations.d.ts +0 -19
- package/dist/backends/task-backend/redmine/runtime-operations.d.ts.map +0 -1
- package/dist/backends/task-backend/redmine/runtime-operations.js +0 -83
- package/dist/backends/task-backend/redmine/runtime-state.d.ts +0 -10
- package/dist/backends/task-backend/redmine/runtime-state.d.ts.map +0 -1
- package/dist/backends/task-backend/redmine/runtime-state.js +0 -45
- package/dist/backends/task-backend/redmine/state.d.ts +0 -19
- package/dist/backends/task-backend/redmine/state.d.ts.map +0 -1
- package/dist/backends/task-backend/redmine/state.js +0 -109
- package/dist/backends/task-backend/redmine-backend.d.ts +0 -68
- package/dist/backends/task-backend/redmine-backend.d.ts.map +0 -1
- package/dist/backends/task-backend/redmine-backend.js +0 -147
- package/dist/backends/task-backend/shared/concurrency.d.ts +0 -3
- package/dist/backends/task-backend/shared/concurrency.d.ts.map +0 -1
- package/dist/backends/task-backend/shared/concurrency.js +0 -21
- package/dist/backends/task-backend/shared/constants.d.ts +0 -6
- package/dist/backends/task-backend/shared/constants.d.ts.map +0 -1
- package/dist/backends/task-backend/shared/constants.js +0 -5
- package/dist/backends/task-backend/shared/doc.d.ts +0 -12
- package/dist/backends/task-backend/shared/doc.d.ts.map +0 -1
- package/dist/backends/task-backend/shared/doc.js +0 -67
- package/dist/backends/task-backend/shared/errors.d.ts +0 -23
- package/dist/backends/task-backend/shared/errors.d.ts.map +0 -1
- package/dist/backends/task-backend/shared/errors.js +0 -34
- package/dist/backends/task-backend/shared/events.d.ts +0 -3
- package/dist/backends/task-backend/shared/events.d.ts.map +0 -1
- package/dist/backends/task-backend/shared/events.js +0 -29
- package/dist/backends/task-backend/shared/export.d.ts +0 -8
- package/dist/backends/task-backend/shared/export.d.ts.map +0 -1
- package/dist/backends/task-backend/shared/export.js +0 -114
- package/dist/backends/task-backend/shared/id.d.ts +0 -13
- package/dist/backends/task-backend/shared/id.d.ts.map +0 -1
- package/dist/backends/task-backend/shared/id.js +0 -17
- package/dist/backends/task-backend/shared/normalize.d.ts +0 -12
- package/dist/backends/task-backend/shared/normalize.d.ts.map +0 -1
- package/dist/backends/task-backend/shared/normalize.js +0 -220
- package/dist/backends/task-backend/shared/record.d.ts +0 -4
- package/dist/backends/task-backend/shared/record.d.ts.map +0 -1
- package/dist/backends/task-backend/shared/record.js +0 -76
- package/dist/backends/task-backend/shared/strings.d.ts +0 -4
- package/dist/backends/task-backend/shared/strings.d.ts.map +0 -1
- package/dist/backends/task-backend/shared/strings.js +0 -21
- package/dist/backends/task-backend/shared/types.d.ts +0 -145
- package/dist/backends/task-backend/shared/types.d.ts.map +0 -1
- package/dist/backends/task-backend/shared/types.js +0 -1
- package/dist/backends/task-backend/shared.d.ts +0 -11
- package/dist/backends/task-backend/shared.d.ts.map +0 -1
- package/dist/backends/task-backend/shared.js +0 -9
- package/dist/backends/task-backend.d.ts +0 -5
- package/dist/backends/task-backend.d.ts.map +0 -1
- package/dist/backends/task-backend.js +0 -4
- package/dist/backends/task-index.d.ts +0 -18
- package/dist/backends/task-index.d.ts.map +0 -1
- package/dist/backends/task-index.js +0 -109
- package/dist/cli/archive.d.ts +0 -14
- package/dist/cli/archive.d.ts.map +0 -1
- package/dist/cli/archive.js +0 -171
- package/dist/cli/bootstrap-guide.d.ts +0 -19
- package/dist/cli/bootstrap-guide.d.ts.map +0 -1
- package/dist/cli/bootstrap-guide.js +0 -134
- package/dist/cli/checksum.d.ts +0 -3
- package/dist/cli/checksum.d.ts.map +0 -1
- package/dist/cli/checksum.js +0 -12
- package/dist/cli/command-guide.d.ts +0 -17
- package/dist/cli/command-guide.d.ts.map +0 -1
- package/dist/cli/command-guide.js +0 -181
- package/dist/cli/command-invocations.d.ts +0 -4
- package/dist/cli/command-invocations.d.ts.map +0 -1
- package/dist/cli/command-invocations.js +0 -40
- package/dist/cli/command-snippets.d.ts +0 -30
- package/dist/cli/command-snippets.d.ts.map +0 -1
- package/dist/cli/command-snippets.js +0 -31
- package/dist/cli/critical/cli-runner.d.ts +0 -2
- package/dist/cli/critical/cli-runner.d.ts.map +0 -1
- package/dist/cli/critical/cli-runner.js +0 -11
- package/dist/cli/critical/harness.d.ts +0 -22
- package/dist/cli/critical/harness.d.ts.map +0 -1
- package/dist/cli/critical/harness.js +0 -164
- package/dist/cli/error-map.d.ts +0 -10
- package/dist/cli/error-map.d.ts.map +0 -1
- package/dist/cli/error-map.js +0 -254
- package/dist/cli/exit-codes.d.ts +0 -15
- package/dist/cli/exit-codes.d.ts.map +0 -1
- package/dist/cli/exit-codes.js +0 -28
- package/dist/cli/fs-utils.d.ts +0 -4
- package/dist/cli/fs-utils.d.ts.map +0 -1
- package/dist/cli/fs-utils.js +0 -28
- package/dist/cli/group-command.d.ts +0 -19
- package/dist/cli/group-command.d.ts.map +0 -1
- package/dist/cli/group-command.js +0 -49
- package/dist/cli/http.d.ts +0 -4
- package/dist/cli/http.d.ts.map +0 -1
- package/dist/cli/http.js +0 -126
- package/dist/cli/output.d.ts +0 -77
- package/dist/cli/output.d.ts.map +0 -1
- package/dist/cli/output.js +0 -167
- package/dist/cli/prompts.d.ts +0 -4
- package/dist/cli/prompts.d.ts.map +0 -1
- package/dist/cli/prompts.js +0 -81
- package/dist/cli/reason-codes.d.ts +0 -9
- package/dist/cli/reason-codes.d.ts.map +0 -1
- package/dist/cli/reason-codes.js +0 -121
- package/dist/cli/run-cli/command-catalog/core.d.ts +0 -3
- package/dist/cli/run-cli/command-catalog/core.d.ts.map +0 -1
- package/dist/cli/run-cli/command-catalog/core.js +0 -77
- package/dist/cli/run-cli/command-catalog/kernel.d.ts +0 -44
- package/dist/cli/run-cli/command-catalog/kernel.d.ts.map +0 -1
- package/dist/cli/run-cli/command-catalog/kernel.js +0 -42
- package/dist/cli/run-cli/command-catalog/lifecycle.d.ts +0 -3
- package/dist/cli/run-cli/command-catalog/lifecycle.d.ts.map +0 -1
- package/dist/cli/run-cli/command-catalog/lifecycle.js +0 -44
- package/dist/cli/run-cli/command-catalog/project.d.ts +0 -3
- package/dist/cli/run-cli/command-catalog/project.d.ts.map +0 -1
- package/dist/cli/run-cli/command-catalog/project.js +0 -65
- package/dist/cli/run-cli/command-catalog/task.d.ts +0 -3
- package/dist/cli/run-cli/command-catalog/task.d.ts.map +0 -1
- package/dist/cli/run-cli/command-catalog/task.js +0 -124
- package/dist/cli/run-cli/command-catalog.d.ts +0 -14
- package/dist/cli/run-cli/command-catalog.d.ts.map +0 -1
- package/dist/cli/run-cli/command-catalog.js +0 -41
- package/dist/cli/run-cli/command-loaders/core.d.ts +0 -55
- package/dist/cli/run-cli/command-loaders/core.d.ts.map +0 -1
- package/dist/cli/run-cli/command-loaders/core.js +0 -27
- package/dist/cli/run-cli/command-loaders/lifecycle.d.ts +0 -19
- package/dist/cli/run-cli/command-loaders/lifecycle.d.ts.map +0 -1
- package/dist/cli/run-cli/command-loaders/lifecycle.js +0 -18
- package/dist/cli/run-cli/command-loaders/project.d.ts +0 -37
- package/dist/cli/run-cli/command-loaders/project.d.ts.map +0 -1
- package/dist/cli/run-cli/command-loaders/project.js +0 -36
- package/dist/cli/run-cli/command-loaders/task.d.ts +0 -65
- package/dist/cli/run-cli/command-loaders/task.d.ts.map +0 -1
- package/dist/cli/run-cli/command-loaders/task.js +0 -50
- package/dist/cli/run-cli/commands/codex.d.ts +0 -14
- package/dist/cli/run-cli/commands/codex.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/codex.js +0 -100
- package/dist/cli/run-cli/commands/config.d.ts +0 -26
- package/dist/cli/run-cli/commands/config.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/config.js +0 -263
- package/dist/cli/run-cli/commands/core/agent-profiles.d.ts +0 -34
- package/dist/cli/run-cli/commands/core/agent-profiles.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/core/agent-profiles.js +0 -97
- package/dist/cli/run-cli/commands/core/agents.d.ts +0 -7
- package/dist/cli/run-cli/commands/core/agents.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/core/agents.js +0 -97
- package/dist/cli/run-cli/commands/core/preflight.d.ts +0 -10
- package/dist/cli/run-cli/commands/core/preflight.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/core/preflight.js +0 -330
- package/dist/cli/run-cli/commands/core/quickstart.d.ts +0 -8
- package/dist/cli/run-cli/commands/core/quickstart.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/core/quickstart.js +0 -43
- package/dist/cli/run-cli/commands/core/role.d.ts +0 -9
- package/dist/cli/run-cli/commands/core/role.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/core/role.js +0 -128
- package/dist/cli/run-cli/commands/core.d.ts +0 -6
- package/dist/cli/run-cli/commands/core.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/core.js +0 -5
- package/dist/cli/run-cli/commands/ide.d.ts +0 -15
- package/dist/cli/run-cli/commands/ide.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/ide.js +0 -129
- package/dist/cli/run-cli/commands/init/base-branch.d.ts +0 -9
- package/dist/cli/run-cli/commands/init/base-branch.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/base-branch.js +0 -11
- package/dist/cli/run-cli/commands/init/conflicts.d.ts +0 -11
- package/dist/cli/run-cli/commands/init/conflicts.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/conflicts.js +0 -43
- package/dist/cli/run-cli/commands/init/git.d.ts +0 -8
- package/dist/cli/run-cli/commands/init/git.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/git.js +0 -14
- package/dist/cli/run-cli/commands/init/ide-sync.d.ts +0 -9
- package/dist/cli/run-cli/commands/init/ide-sync.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/ide-sync.js +0 -27
- package/dist/cli/run-cli/commands/init/model.d.ts +0 -43
- package/dist/cli/run-cli/commands/init/model.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/model.js +0 -1
- package/dist/cli/run-cli/commands/init/orchestrate-v2.d.ts +0 -9
- package/dist/cli/run-cli/commands/init/orchestrate-v2.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/orchestrate-v2.js +0 -274
- package/dist/cli/run-cli/commands/init/orchestrate.d.ts +0 -9
- package/dist/cli/run-cli/commands/init/orchestrate.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/orchestrate.js +0 -325
- package/dist/cli/run-cli/commands/init/parsers.d.ts +0 -5
- package/dist/cli/run-cli/commands/init/parsers.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/parsers.js +0 -36
- package/dist/cli/run-cli/commands/init/presets.d.ts +0 -15
- package/dist/cli/run-cli/commands/init/presets.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/presets.js +0 -63
- package/dist/cli/run-cli/commands/init/prompts-v2.d.ts +0 -10
- package/dist/cli/run-cli/commands/init/prompts-v2.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/prompts-v2.js +0 -26
- package/dist/cli/run-cli/commands/init/recipes.d.ts +0 -15
- package/dist/cli/run-cli/commands/init/recipes.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/recipes.js +0 -46
- package/dist/cli/run-cli/commands/init/spec.d.ts +0 -5
- package/dist/cli/run-cli/commands/init/spec.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/spec.js +0 -226
- package/dist/cli/run-cli/commands/init/steps/advanced-settings.d.ts +0 -9
- package/dist/cli/run-cli/commands/init/steps/advanced-settings.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/steps/advanced-settings.js +0 -48
- package/dist/cli/run-cli/commands/init/steps/apply.d.ts +0 -30
- package/dist/cli/run-cli/commands/init/steps/apply.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/steps/apply.js +0 -96
- package/dist/cli/run-cli/commands/init/steps/backend.d.ts +0 -8
- package/dist/cli/run-cli/commands/init/steps/backend.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/steps/backend.js +0 -17
- package/dist/cli/run-cli/commands/init/steps/conflict-resolver.d.ts +0 -10
- package/dist/cli/run-cli/commands/init/steps/conflict-resolver.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/steps/conflict-resolver.js +0 -41
- package/dist/cli/run-cli/commands/init/steps/contracts.d.ts +0 -57
- package/dist/cli/run-cli/commands/init/steps/contracts.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/steps/contracts.js +0 -1
- package/dist/cli/run-cli/commands/init/steps/ide.d.ts +0 -8
- package/dist/cli/run-cli/commands/init/steps/ide.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/steps/ide.js +0 -18
- package/dist/cli/run-cli/commands/init/steps/index.d.ts +0 -10
- package/dist/cli/run-cli/commands/init/steps/index.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/steps/index.js +0 -9
- package/dist/cli/run-cli/commands/init/steps/policy-gateway.d.ts +0 -8
- package/dist/cli/run-cli/commands/init/steps/policy-gateway.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/steps/policy-gateway.js +0 -17
- package/dist/cli/run-cli/commands/init/steps/prompt-utils.d.ts +0 -21
- package/dist/cli/run-cli/commands/init/steps/prompt-utils.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/steps/prompt-utils.js +0 -36
- package/dist/cli/run-cli/commands/init/steps/recipe-selection.d.ts +0 -15
- package/dist/cli/run-cli/commands/init/steps/recipe-selection.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/steps/recipe-selection.js +0 -35
- package/dist/cli/run-cli/commands/init/steps/setup-profile.d.ts +0 -8
- package/dist/cli/run-cli/commands/init/steps/setup-profile.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/steps/setup-profile.js +0 -32
- package/dist/cli/run-cli/commands/init/steps/workflow.d.ts +0 -9
- package/dist/cli/run-cli/commands/init/steps/workflow.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/steps/workflow.js +0 -48
- package/dist/cli/run-cli/commands/init/ui-v2.d.ts +0 -18
- package/dist/cli/run-cli/commands/init/ui-v2.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/ui-v2.js +0 -48
- package/dist/cli/run-cli/commands/init/write-agents.d.ts +0 -13
- package/dist/cli/run-cli/commands/init/write-agents.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/write-agents.js +0 -84
- package/dist/cli/run-cli/commands/init/write-config.d.ts +0 -30
- package/dist/cli/run-cli/commands/init/write-config.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/write-config.js +0 -46
- package/dist/cli/run-cli/commands/init/write-env.d.ts +0 -4
- package/dist/cli/run-cli/commands/init/write-env.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/write-env.js +0 -109
- package/dist/cli/run-cli/commands/init/write-gitignore.d.ts +0 -5
- package/dist/cli/run-cli/commands/init/write-gitignore.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/write-gitignore.js +0 -34
- package/dist/cli/run-cli/commands/init/write-workflow.d.ts +0 -12
- package/dist/cli/run-cli/commands/init/write-workflow.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/init/write-workflow.js +0 -9
- package/dist/cli/run-cli/commands/wrap-command.d.ts +0 -6
- package/dist/cli/run-cli/commands/wrap-command.d.ts.map +0 -1
- package/dist/cli/run-cli/commands/wrap-command.js +0 -17
- package/dist/cli/run-cli/globals.d.ts +0 -25
- package/dist/cli/run-cli/globals.d.ts.map +0 -1
- package/dist/cli/run-cli/globals.js +0 -193
- package/dist/cli/run-cli/registry.run.d.ts +0 -8
- package/dist/cli/run-cli/registry.run.d.ts.map +0 -1
- package/dist/cli/run-cli/registry.run.js +0 -24
- package/dist/cli/run-cli/update-warning.d.ts +0 -7
- package/dist/cli/run-cli/update-warning.d.ts.map +0 -1
- package/dist/cli/run-cli/update-warning.js +0 -72
- package/dist/cli/run-cli.d.ts +0 -2
- package/dist/cli/run-cli.d.ts.map +0 -1
- package/dist/cli/run-cli.js +0 -275
- package/dist/cli/shared/ansi.d.ts +0 -3
- package/dist/cli/shared/ansi.d.ts.map +0 -1
- package/dist/cli/shared/ansi.js +0 -19
- package/dist/cli/spec/docs-render.d.ts +0 -3
- package/dist/cli/spec/docs-render.d.ts.map +0 -1
- package/dist/cli/spec/docs-render.js +0 -138
- package/dist/cli/spec/errors.d.ts +0 -26
- package/dist/cli/spec/errors.d.ts.map +0 -1
- package/dist/cli/spec/errors.js +0 -41
- package/dist/cli/spec/help-render.d.ts +0 -43
- package/dist/cli/spec/help-render.d.ts.map +0 -1
- package/dist/cli/spec/help-render.js +0 -185
- package/dist/cli/spec/help.d.ts +0 -18
- package/dist/cli/spec/help.d.ts.map +0 -1
- package/dist/cli/spec/help.js +0 -66
- package/dist/cli/spec/parse-utils.d.ts +0 -11
- package/dist/cli/spec/parse-utils.d.ts.map +0 -1
- package/dist/cli/spec/parse-utils.js +0 -28
- package/dist/cli/spec/parse.d.ts +0 -8
- package/dist/cli/spec/parse.d.ts.map +0 -1
- package/dist/cli/spec/parse.js +0 -195
- package/dist/cli/spec/registry.d.ts +0 -38
- package/dist/cli/spec/registry.d.ts.map +0 -1
- package/dist/cli/spec/registry.js +0 -120
- package/dist/cli/spec/spec.d.ts +0 -76
- package/dist/cli/spec/spec.d.ts.map +0 -1
- package/dist/cli/spec/spec.js +0 -1
- package/dist/cli/spec/suggest.d.ts +0 -2
- package/dist/cli/spec/suggest.d.ts.map +0 -1
- package/dist/cli/spec/suggest.js +0 -45
- package/dist/cli/update-check.d.ts +0 -31
- package/dist/cli/update-check.d.ts.map +0 -1
- package/dist/cli/update-check.js +0 -86
- package/dist/cli.d.ts.map +0 -1
- package/dist/commands/backend/sync.command.d.ts +0 -15
- package/dist/commands/backend/sync.command.d.ts.map +0 -1
- package/dist/commands/backend/sync.command.js +0 -139
- package/dist/commands/backend.d.ts +0 -50
- package/dist/commands/backend.d.ts.map +0 -1
- package/dist/commands/backend.js +0 -153
- package/dist/commands/block.run.d.ts +0 -5
- package/dist/commands/block.run.d.ts.map +0 -1
- package/dist/commands/block.run.js +0 -23
- package/dist/commands/block.spec.d.ts +0 -18
- package/dist/commands/block.spec.d.ts.map +0 -1
- package/dist/commands/block.spec.js +0 -143
- package/dist/commands/branch/base.command.d.ts +0 -19
- package/dist/commands/branch/base.command.d.ts.map +0 -1
- package/dist/commands/branch/base.command.js +0 -106
- package/dist/commands/branch/base.d.ts +0 -19
- package/dist/commands/branch/base.d.ts.map +0 -1
- package/dist/commands/branch/base.js +0 -120
- package/dist/commands/branch/cleanup-merged.d.ts +0 -14
- package/dist/commands/branch/cleanup-merged.d.ts.map +0 -1
- package/dist/commands/branch/cleanup-merged.js +0 -250
- package/dist/commands/branch/index.d.ts +0 -7
- package/dist/commands/branch/index.d.ts.map +0 -1
- package/dist/commands/branch/index.js +0 -6
- package/dist/commands/branch/internal/archive-pr.d.ts +0 -2
- package/dist/commands/branch/internal/archive-pr.d.ts.map +0 -1
- package/dist/commands/branch/internal/archive-pr.js +0 -17
- package/dist/commands/branch/internal/work-validate.d.ts +0 -3
- package/dist/commands/branch/internal/work-validate.d.ts.map +0 -1
- package/dist/commands/branch/internal/work-validate.js +0 -36
- package/dist/commands/branch/remove.command.d.ts +0 -11
- package/dist/commands/branch/remove.command.d.ts.map +0 -1
- package/dist/commands/branch/remove.command.js +0 -71
- package/dist/commands/branch/remove.d.ts +0 -10
- package/dist/commands/branch/remove.d.ts.map +0 -1
- package/dist/commands/branch/remove.js +0 -77
- package/dist/commands/branch/status.command.d.ts +0 -8
- package/dist/commands/branch/status.command.d.ts.map +0 -1
- package/dist/commands/branch/status.command.js +0 -36
- package/dist/commands/branch/status.d.ts +0 -7
- package/dist/commands/branch/status.d.ts.map +0 -1
- package/dist/commands/branch/status.js +0 -66
- package/dist/commands/branch/work-start.command.d.ts +0 -11
- package/dist/commands/branch/work-start.command.d.ts.map +0 -1
- package/dist/commands/branch/work-start.command.js +0 -82
- package/dist/commands/branch/work-start.d.ts +0 -11
- package/dist/commands/branch/work-start.d.ts.map +0 -1
- package/dist/commands/branch/work-start.direct.d.ts +0 -13
- package/dist/commands/branch/work-start.direct.d.ts.map +0 -1
- package/dist/commands/branch/work-start.direct.js +0 -76
- package/dist/commands/branch/work-start.git.d.ts +0 -3
- package/dist/commands/branch/work-start.git.d.ts.map +0 -1
- package/dist/commands/branch/work-start.git.js +0 -19
- package/dist/commands/branch/work-start.hook-shim.d.ts +0 -2
- package/dist/commands/branch/work-start.hook-shim.d.ts.map +0 -1
- package/dist/commands/branch/work-start.hook-shim.js +0 -50
- package/dist/commands/branch/work-start.js +0 -164
- package/dist/commands/branch/work-start.materialize.d.ts +0 -16
- package/dist/commands/branch/work-start.materialize.d.ts.map +0 -1
- package/dist/commands/branch/work-start.materialize.js +0 -112
- package/dist/commands/cleanup/merged.command.d.ts +0 -18
- package/dist/commands/cleanup/merged.command.d.ts.map +0 -1
- package/dist/commands/cleanup/merged.command.js +0 -95
- package/dist/commands/codex/plugin-install.d.ts +0 -26
- package/dist/commands/codex/plugin-install.d.ts.map +0 -1
- package/dist/commands/codex/plugin-install.js +0 -210
- package/dist/commands/commit.command.d.ts +0 -6
- package/dist/commands/commit.command.d.ts.map +0 -1
- package/dist/commands/commit.command.js +0 -26
- package/dist/commands/commit.spec.d.ts +0 -20
- package/dist/commands/commit.spec.d.ts.map +0 -1
- package/dist/commands/commit.spec.js +0 -183
- package/dist/commands/docs/cli.command.d.ts +0 -9
- package/dist/commands/docs/cli.command.d.ts.map +0 -1
- package/dist/commands/docs/cli.command.js +0 -51
- package/dist/commands/doctor/archive.d.ts +0 -4
- package/dist/commands/doctor/archive.d.ts.map +0 -1
- package/dist/commands/doctor/archive.js +0 -212
- package/dist/commands/doctor/branch-pr.d.ts +0 -4
- package/dist/commands/doctor/branch-pr.d.ts.map +0 -1
- package/dist/commands/doctor/branch-pr.js +0 -99
- package/dist/commands/doctor/fixes.d.ts +0 -9
- package/dist/commands/doctor/fixes.d.ts.map +0 -1
- package/dist/commands/doctor/fixes.js +0 -40
- package/dist/commands/doctor/hook-readiness.d.ts +0 -2
- package/dist/commands/doctor/hook-readiness.d.ts.map +0 -1
- package/dist/commands/doctor/hook-readiness.js +0 -171
- package/dist/commands/doctor/layering.d.ts +0 -2
- package/dist/commands/doctor/layering.d.ts.map +0 -1
- package/dist/commands/doctor/layering.js +0 -87
- package/dist/commands/doctor/runtime.d.ts +0 -4
- package/dist/commands/doctor/runtime.d.ts.map +0 -1
- package/dist/commands/doctor/runtime.js +0 -53
- package/dist/commands/doctor/workflow.d.ts +0 -6
- package/dist/commands/doctor/workflow.d.ts.map +0 -1
- package/dist/commands/doctor/workflow.js +0 -50
- package/dist/commands/doctor/workspace.d.ts +0 -13
- package/dist/commands/doctor/workspace.d.ts.map +0 -1
- package/dist/commands/doctor/workspace.js +0 -371
- package/dist/commands/doctor.run.d.ts +0 -4
- package/dist/commands/doctor.run.d.ts.map +0 -1
- package/dist/commands/doctor.run.js +0 -63
- package/dist/commands/doctor.spec.d.ts +0 -8
- package/dist/commands/doctor.spec.d.ts.map +0 -1
- package/dist/commands/doctor.spec.js +0 -34
- package/dist/commands/finish.run.d.ts +0 -5
- package/dist/commands/finish.run.d.ts.map +0 -1
- package/dist/commands/finish.run.js +0 -55
- package/dist/commands/finish.spec.d.ts +0 -41
- package/dist/commands/finish.spec.d.ts.map +0 -1
- package/dist/commands/finish.spec.js +0 -364
- package/dist/commands/guard/clean.command.d.ts +0 -7
- package/dist/commands/guard/clean.command.d.ts.map +0 -1
- package/dist/commands/guard/clean.command.js +0 -14
- package/dist/commands/guard/commit.command.d.ts +0 -6
- package/dist/commands/guard/commit.command.d.ts.map +0 -1
- package/dist/commands/guard/commit.command.js +0 -31
- package/dist/commands/guard/commit.spec.d.ts +0 -17
- package/dist/commands/guard/commit.spec.d.ts.map +0 -1
- package/dist/commands/guard/commit.spec.js +0 -132
- package/dist/commands/guard/guard.command.d.ts +0 -5
- package/dist/commands/guard/guard.command.d.ts.map +0 -1
- package/dist/commands/guard/guard.command.js +0 -16
- package/dist/commands/guard/impl/allow.d.ts +0 -27
- package/dist/commands/guard/impl/allow.d.ts.map +0 -1
- package/dist/commands/guard/impl/allow.js +0 -131
- package/dist/commands/guard/impl/clean.d.ts +0 -6
- package/dist/commands/guard/impl/clean.d.ts.map +0 -1
- package/dist/commands/guard/impl/clean.js +0 -29
- package/dist/commands/guard/impl/close-dirt.d.ts +0 -6
- package/dist/commands/guard/impl/close-dirt.d.ts.map +0 -1
- package/dist/commands/guard/impl/close-dirt.js +0 -55
- package/dist/commands/guard/impl/close-message.d.ts +0 -16
- package/dist/commands/guard/impl/close-message.d.ts.map +0 -1
- package/dist/commands/guard/impl/close-message.js +0 -180
- package/dist/commands/guard/impl/comment-commit.d.ts +0 -27
- package/dist/commands/guard/impl/comment-commit.d.ts.map +0 -1
- package/dist/commands/guard/impl/comment-commit.js +0 -127
- package/dist/commands/guard/impl/commit-diagnostics.d.ts +0 -4
- package/dist/commands/guard/impl/commit-diagnostics.d.ts.map +0 -1
- package/dist/commands/guard/impl/commit-diagnostics.js +0 -150
- package/dist/commands/guard/impl/commit-refresh.d.ts +0 -25
- package/dist/commands/guard/impl/commit-refresh.d.ts.map +0 -1
- package/dist/commands/guard/impl/commit-refresh.js +0 -116
- package/dist/commands/guard/impl/commit-stage.d.ts +0 -21
- package/dist/commands/guard/impl/commit-stage.d.ts.map +0 -1
- package/dist/commands/guard/impl/commit-stage.js +0 -43
- package/dist/commands/guard/impl/commit.d.ts +0 -25
- package/dist/commands/guard/impl/commit.d.ts.map +0 -1
- package/dist/commands/guard/impl/commit.js +0 -253
- package/dist/commands/guard/impl/env.d.ts +0 -19
- package/dist/commands/guard/impl/env.d.ts.map +0 -1
- package/dist/commands/guard/impl/env.js +0 -56
- package/dist/commands/guard/impl/guard-commit.d.ts +0 -3
- package/dist/commands/guard/impl/guard-commit.d.ts.map +0 -1
- package/dist/commands/guard/impl/guard-commit.js +0 -21
- package/dist/commands/guard/impl/policy.d.ts +0 -21
- package/dist/commands/guard/impl/policy.d.ts.map +0 -1
- package/dist/commands/guard/impl/policy.js +0 -56
- package/dist/commands/guard/impl/suggest.d.ts +0 -6
- package/dist/commands/guard/impl/suggest.d.ts.map +0 -1
- package/dist/commands/guard/impl/suggest.js +0 -33
- package/dist/commands/guard/index.d.ts +0 -6
- package/dist/commands/guard/index.d.ts.map +0 -1
- package/dist/commands/guard/index.js +0 -5
- package/dist/commands/guard/suggest-allow.command.d.ts +0 -7
- package/dist/commands/guard/suggest-allow.command.d.ts.map +0 -1
- package/dist/commands/guard/suggest-allow.command.js +0 -28
- package/dist/commands/hooks/hooks.command.d.ts +0 -5
- package/dist/commands/hooks/hooks.command.d.ts.map +0 -1
- package/dist/commands/hooks/hooks.command.js +0 -16
- package/dist/commands/hooks/index.d.ts +0 -5
- package/dist/commands/hooks/index.d.ts.map +0 -1
- package/dist/commands/hooks/index.js +0 -4
- package/dist/commands/hooks/install.command.d.ts +0 -7
- package/dist/commands/hooks/install.command.d.ts.map +0 -1
- package/dist/commands/hooks/install.command.js +0 -14
- package/dist/commands/hooks/install.d.ts +0 -15
- package/dist/commands/hooks/install.d.ts.map +0 -1
- package/dist/commands/hooks/install.js +0 -167
- package/dist/commands/hooks/run.command.d.ts +0 -9
- package/dist/commands/hooks/run.command.d.ts.map +0 -1
- package/dist/commands/hooks/run.command.js +0 -39
- package/dist/commands/hooks/run.commit-msg.d.ts +0 -3
- package/dist/commands/hooks/run.commit-msg.d.ts.map +0 -1
- package/dist/commands/hooks/run.commit-msg.js +0 -68
- package/dist/commands/hooks/run.d.ts +0 -9
- package/dist/commands/hooks/run.d.ts.map +0 -1
- package/dist/commands/hooks/run.js +0 -45
- package/dist/commands/hooks/run.post-merge.d.ts +0 -3
- package/dist/commands/hooks/run.post-merge.d.ts.map +0 -1
- package/dist/commands/hooks/run.post-merge.js +0 -44
- package/dist/commands/hooks/run.pre-commit.d.ts +0 -3
- package/dist/commands/hooks/run.pre-commit.d.ts.map +0 -1
- package/dist/commands/hooks/run.pre-commit.js +0 -49
- package/dist/commands/hooks/run.pre-push.d.ts +0 -6
- package/dist/commands/hooks/run.pre-push.d.ts.map +0 -1
- package/dist/commands/hooks/run.pre-push.js +0 -313
- package/dist/commands/hooks/shared.d.ts +0 -7
- package/dist/commands/hooks/shared.d.ts.map +0 -1
- package/dist/commands/hooks/shared.js +0 -41
- package/dist/commands/hooks/uninstall.command.d.ts +0 -7
- package/dist/commands/hooks/uninstall.command.d.ts.map +0 -1
- package/dist/commands/hooks/uninstall.command.js +0 -16
- package/dist/commands/incidents/advise.command.d.ts +0 -15
- package/dist/commands/incidents/advise.command.d.ts.map +0 -1
- package/dist/commands/incidents/advise.command.js +0 -139
- package/dist/commands/incidents/collect.command.d.ts +0 -11
- package/dist/commands/incidents/collect.command.d.ts.map +0 -1
- package/dist/commands/incidents/collect.command.js +0 -72
- package/dist/commands/incidents/incidents.command.d.ts +0 -5
- package/dist/commands/incidents/incidents.command.d.ts.map +0 -1
- package/dist/commands/incidents/incidents.command.js +0 -21
- package/dist/commands/incidents/shared.d.ts +0 -75
- package/dist/commands/incidents/shared.d.ts.map +0 -1
- package/dist/commands/incidents/shared.js +0 -261
- package/dist/commands/integrate.command.d.ts +0 -5
- package/dist/commands/integrate.command.d.ts.map +0 -1
- package/dist/commands/integrate.command.js +0 -17
- package/dist/commands/integrate.spec.d.ts +0 -12
- package/dist/commands/integrate.spec.d.ts.map +0 -1
- package/dist/commands/integrate.spec.js +0 -44
- package/dist/commands/pr/check.d.ts +0 -8
- package/dist/commands/pr/check.d.ts.map +0 -1
- package/dist/commands/pr/check.js +0 -332
- package/dist/commands/pr/close-superseded.d.ts +0 -9
- package/dist/commands/pr/close-superseded.d.ts.map +0 -1
- package/dist/commands/pr/close-superseded.js +0 -129
- package/dist/commands/pr/close.d.ts +0 -11
- package/dist/commands/pr/close.d.ts.map +0 -1
- package/dist/commands/pr/close.js +0 -116
- package/dist/commands/pr/integrate/artifacts.d.ts +0 -21
- package/dist/commands/pr/integrate/artifacts.d.ts.map +0 -1
- package/dist/commands/pr/integrate/artifacts.js +0 -115
- package/dist/commands/pr/integrate/cmd.d.ts +0 -14
- package/dist/commands/pr/integrate/cmd.d.ts.map +0 -1
- package/dist/commands/pr/integrate/cmd.js +0 -300
- package/dist/commands/pr/integrate/internal/bootstrap-guidance.d.ts +0 -8
- package/dist/commands/pr/integrate/internal/bootstrap-guidance.d.ts.map +0 -1
- package/dist/commands/pr/integrate/internal/bootstrap-guidance.js +0 -59
- package/dist/commands/pr/integrate/internal/cleanup.d.ts +0 -2
- package/dist/commands/pr/integrate/internal/cleanup.d.ts.map +0 -1
- package/dist/commands/pr/integrate/internal/cleanup.js +0 -1
- package/dist/commands/pr/integrate/internal/finalize.d.ts +0 -29
- package/dist/commands/pr/integrate/internal/finalize.d.ts.map +0 -1
- package/dist/commands/pr/integrate/internal/finalize.js +0 -112
- package/dist/commands/pr/integrate/internal/github-protection.d.ts +0 -5
- package/dist/commands/pr/integrate/internal/github-protection.d.ts.map +0 -1
- package/dist/commands/pr/integrate/internal/github-protection.js +0 -13
- package/dist/commands/pr/integrate/internal/merge.d.ts +0 -50
- package/dist/commands/pr/integrate/internal/merge.d.ts.map +0 -1
- package/dist/commands/pr/integrate/internal/merge.js +0 -276
- package/dist/commands/pr/integrate/internal/post-integrate-bootstrap.d.ts +0 -14
- package/dist/commands/pr/integrate/internal/post-integrate-bootstrap.d.ts.map +0 -1
- package/dist/commands/pr/integrate/internal/post-integrate-bootstrap.js +0 -25
- package/dist/commands/pr/integrate/internal/pre-integrate-bootstrap.d.ts +0 -16
- package/dist/commands/pr/integrate/internal/pre-integrate-bootstrap.d.ts.map +0 -1
- package/dist/commands/pr/integrate/internal/pre-integrate-bootstrap.js +0 -35
- package/dist/commands/pr/integrate/internal/prepare.d.ts +0 -37
- package/dist/commands/pr/integrate/internal/prepare.d.ts.map +0 -1
- package/dist/commands/pr/integrate/internal/prepare.js +0 -273
- package/dist/commands/pr/integrate/internal/worktree.d.ts +0 -15
- package/dist/commands/pr/integrate/internal/worktree.d.ts.map +0 -1
- package/dist/commands/pr/integrate/internal/worktree.js +0 -51
- package/dist/commands/pr/integrate/verify.d.ts +0 -22
- package/dist/commands/pr/integrate/verify.d.ts.map +0 -1
- package/dist/commands/pr/integrate/verify.js +0 -63
- package/dist/commands/pr/internal/auto-commit.d.ts +0 -7
- package/dist/commands/pr/internal/auto-commit.d.ts.map +0 -1
- package/dist/commands/pr/internal/auto-commit.js +0 -67
- package/dist/commands/pr/internal/freshness.d.ts +0 -21
- package/dist/commands/pr/internal/freshness.d.ts.map +0 -1
- package/dist/commands/pr/internal/freshness.js +0 -52
- package/dist/commands/pr/internal/gh-api.d.ts +0 -6
- package/dist/commands/pr/internal/gh-api.d.ts.map +0 -1
- package/dist/commands/pr/internal/gh-api.js +0 -87
- package/dist/commands/pr/internal/note-store.d.ts +0 -18
- package/dist/commands/pr/internal/note-store.d.ts.map +0 -1
- package/dist/commands/pr/internal/note-store.js +0 -66
- package/dist/commands/pr/internal/pr-paths.d.ts +0 -42
- package/dist/commands/pr/internal/pr-paths.d.ts.map +0 -1
- package/dist/commands/pr/internal/pr-paths.js +0 -52
- package/dist/commands/pr/internal/review-template.d.ts +0 -29
- package/dist/commands/pr/internal/review-template.d.ts.map +0 -1
- package/dist/commands/pr/internal/review-template.js +0 -250
- package/dist/commands/pr/internal/sync-branch.d.ts +0 -35
- package/dist/commands/pr/internal/sync-branch.d.ts.map +0 -1
- package/dist/commands/pr/internal/sync-branch.js +0 -109
- package/dist/commands/pr/internal/sync-github.d.ts +0 -28
- package/dist/commands/pr/internal/sync-github.d.ts.map +0 -1
- package/dist/commands/pr/internal/sync-github.js +0 -178
- package/dist/commands/pr/internal/sync-model.d.ts +0 -36
- package/dist/commands/pr/internal/sync-model.d.ts.map +0 -1
- package/dist/commands/pr/internal/sync-model.js +0 -1
- package/dist/commands/pr/internal/sync-open-step.d.ts +0 -10
- package/dist/commands/pr/internal/sync-open-step.d.ts.map +0 -1
- package/dist/commands/pr/internal/sync-open-step.js +0 -128
- package/dist/commands/pr/internal/sync-support.d.ts +0 -7
- package/dist/commands/pr/internal/sync-support.d.ts.map +0 -1
- package/dist/commands/pr/internal/sync-support.js +0 -29
- package/dist/commands/pr/internal/sync-update-step.d.ts +0 -6
- package/dist/commands/pr/internal/sync-update-step.d.ts.map +0 -1
- package/dist/commands/pr/internal/sync-update-step.js +0 -68
- package/dist/commands/pr/internal/sync.d.ts +0 -37
- package/dist/commands/pr/internal/sync.d.ts.map +0 -1
- package/dist/commands/pr/internal/sync.js +0 -253
- package/dist/commands/pr/note.d.ts +0 -10
- package/dist/commands/pr/note.d.ts.map +0 -1
- package/dist/commands/pr/note.js +0 -93
- package/dist/commands/pr/open.d.ts +0 -11
- package/dist/commands/pr/open.d.ts.map +0 -1
- package/dist/commands/pr/open.js +0 -203
- package/dist/commands/pr/pr.command.d.ts +0 -13
- package/dist/commands/pr/pr.command.d.ts.map +0 -1
- package/dist/commands/pr/pr.command.js +0 -89
- package/dist/commands/pr/pr.spec.d.ts +0 -38
- package/dist/commands/pr/pr.spec.d.ts.map +0 -1
- package/dist/commands/pr/pr.spec.js +0 -210
- package/dist/commands/pr/update.d.ts +0 -8
- package/dist/commands/pr/update.d.ts.map +0 -1
- package/dist/commands/pr/update.js +0 -93
- package/dist/commands/ready.command.d.ts +0 -8
- package/dist/commands/ready.command.d.ts.map +0 -1
- package/dist/commands/ready.command.js +0 -28
- package/dist/commands/recipes/active.command.d.ts +0 -7
- package/dist/commands/recipes/active.command.d.ts.map +0 -1
- package/dist/commands/recipes/active.command.js +0 -12
- package/dist/commands/recipes/add.command.d.ts +0 -8
- package/dist/commands/recipes/add.command.d.ts.map +0 -1
- package/dist/commands/recipes/add.command.js +0 -33
- package/dist/commands/recipes/cache-prune.command.d.ts +0 -6
- package/dist/commands/recipes/cache-prune.command.d.ts.map +0 -1
- package/dist/commands/recipes/cache-prune.command.js +0 -30
- package/dist/commands/recipes/cache.command.d.ts +0 -5
- package/dist/commands/recipes/cache.command.d.ts.map +0 -1
- package/dist/commands/recipes/cache.command.js +0 -19
- package/dist/commands/recipes/detach.command.d.ts +0 -7
- package/dist/commands/recipes/detach.command.d.ts.map +0 -1
- package/dist/commands/recipes/detach.command.js +0 -19
- package/dist/commands/recipes/disable.command.d.ts +0 -7
- package/dist/commands/recipes/disable.command.d.ts.map +0 -1
- package/dist/commands/recipes/disable.command.js +0 -10
- package/dist/commands/recipes/enable.command.d.ts +0 -7
- package/dist/commands/recipes/enable.command.d.ts.map +0 -1
- package/dist/commands/recipes/enable.command.js +0 -10
- package/dist/commands/recipes/explain-active.command.d.ts +0 -5
- package/dist/commands/recipes/explain-active.command.d.ts.map +0 -1
- package/dist/commands/recipes/explain-active.command.js +0 -11
- package/dist/commands/recipes/explain.command.d.ts +0 -7
- package/dist/commands/recipes/explain.command.d.ts.map +0 -1
- package/dist/commands/recipes/explain.command.js +0 -12
- package/dist/commands/recipes/impl/apply.d.ts +0 -20
- package/dist/commands/recipes/impl/apply.d.ts.map +0 -1
- package/dist/commands/recipes/impl/apply.js +0 -150
- package/dist/commands/recipes/impl/archive.d.ts +0 -2
- package/dist/commands/recipes/impl/archive.d.ts.map +0 -1
- package/dist/commands/recipes/impl/archive.js +0 -19
- package/dist/commands/recipes/impl/commands/active.d.ts +0 -6
- package/dist/commands/recipes/impl/commands/active.d.ts.map +0 -1
- package/dist/commands/recipes/impl/commands/active.js +0 -47
- package/dist/commands/recipes/impl/commands/add.d.ts +0 -8
- package/dist/commands/recipes/impl/commands/add.d.ts.map +0 -1
- package/dist/commands/recipes/impl/commands/add.js +0 -106
- package/dist/commands/recipes/impl/commands/cache-prune.d.ts +0 -7
- package/dist/commands/recipes/impl/commands/cache-prune.d.ts.map +0 -1
- package/dist/commands/recipes/impl/commands/cache-prune.js +0 -108
- package/dist/commands/recipes/impl/commands/detach.d.ts +0 -6
- package/dist/commands/recipes/impl/commands/detach.d.ts.map +0 -1
- package/dist/commands/recipes/impl/commands/detach.js +0 -100
- package/dist/commands/recipes/impl/commands/disable.d.ts +0 -6
- package/dist/commands/recipes/impl/commands/disable.d.ts.map +0 -1
- package/dist/commands/recipes/impl/commands/disable.js +0 -23
- package/dist/commands/recipes/impl/commands/enable.d.ts +0 -6
- package/dist/commands/recipes/impl/commands/enable.d.ts.map +0 -1
- package/dist/commands/recipes/impl/commands/enable.js +0 -41
- package/dist/commands/recipes/impl/commands/explain-active.d.ts +0 -5
- package/dist/commands/recipes/impl/commands/explain-active.d.ts.map +0 -1
- package/dist/commands/recipes/impl/commands/explain-active.js +0 -20
- package/dist/commands/recipes/impl/commands/explain.d.ts +0 -6
- package/dist/commands/recipes/impl/commands/explain.d.ts.map +0 -1
- package/dist/commands/recipes/impl/commands/explain.js +0 -195
- package/dist/commands/recipes/impl/commands/info.d.ts +0 -6
- package/dist/commands/recipes/impl/commands/info.d.ts.map +0 -1
- package/dist/commands/recipes/impl/commands/info.js +0 -88
- package/dist/commands/recipes/impl/commands/install.d.ts +0 -11
- package/dist/commands/recipes/impl/commands/install.d.ts.map +0 -1
- package/dist/commands/recipes/impl/commands/install.js +0 -226
- package/dist/commands/recipes/impl/commands/list-remote.d.ts +0 -7
- package/dist/commands/recipes/impl/commands/list-remote.d.ts.map +0 -1
- package/dist/commands/recipes/impl/commands/list-remote.js +0 -53
- package/dist/commands/recipes/impl/commands/list.d.ts +0 -7
- package/dist/commands/recipes/impl/commands/list.d.ts.map +0 -1
- package/dist/commands/recipes/impl/commands/list.js +0 -42
- package/dist/commands/recipes/impl/commands/remove.d.ts +0 -6
- package/dist/commands/recipes/impl/commands/remove.d.ts.map +0 -1
- package/dist/commands/recipes/impl/commands/remove.js +0 -53
- package/dist/commands/recipes/impl/commands/update.d.ts +0 -7
- package/dist/commands/recipes/impl/commands/update.d.ts.map +0 -1
- package/dist/commands/recipes/impl/commands/update.js +0 -108
- package/dist/commands/recipes/impl/commands.d.ts +0 -15
- package/dist/commands/recipes/impl/commands.d.ts.map +0 -1
- package/dist/commands/recipes/impl/commands.js +0 -14
- package/dist/commands/recipes/impl/constants.d.ts +0 -2
- package/dist/commands/recipes/impl/constants.d.ts.map +0 -1
- package/dist/commands/recipes/impl/constants.js +0 -1
- package/dist/commands/recipes/impl/format.d.ts +0 -2
- package/dist/commands/recipes/impl/format.d.ts.map +0 -1
- package/dist/commands/recipes/impl/format.js +0 -9
- package/dist/commands/recipes/impl/index.d.ts +0 -12
- package/dist/commands/recipes/impl/index.d.ts.map +0 -1
- package/dist/commands/recipes/impl/index.js +0 -160
- package/dist/commands/recipes/impl/installed-recipes.d.ts +0 -9
- package/dist/commands/recipes/impl/installed-recipes.d.ts.map +0 -1
- package/dist/commands/recipes/impl/installed-recipes.js +0 -100
- package/dist/commands/recipes/impl/mutation-transaction.d.ts +0 -7
- package/dist/commands/recipes/impl/mutation-transaction.d.ts.map +0 -1
- package/dist/commands/recipes/impl/mutation-transaction.js +0 -47
- package/dist/commands/recipes/impl/overlay-project.d.ts +0 -48
- package/dist/commands/recipes/impl/overlay-project.d.ts.map +0 -1
- package/dist/commands/recipes/impl/overlay-project.js +0 -321
- package/dist/commands/recipes/impl/paths.d.ts +0 -37
- package/dist/commands/recipes/impl/paths.d.ts.map +0 -1
- package/dist/commands/recipes/impl/paths.js +0 -51
- package/dist/commands/recipes/impl/project-installed-recipes.d.ts +0 -8
- package/dist/commands/recipes/impl/project-installed-recipes.d.ts.map +0 -1
- package/dist/commands/recipes/impl/project-installed-recipes.js +0 -60
- package/dist/commands/recipes/impl/project-recipe-state.d.ts +0 -18
- package/dist/commands/recipes/impl/project-recipe-state.d.ts.map +0 -1
- package/dist/commands/recipes/impl/project-recipe-state.js +0 -94
- package/dist/commands/recipes/impl/project-registry.d.ts +0 -24
- package/dist/commands/recipes/impl/project-registry.d.ts.map +0 -1
- package/dist/commands/recipes/impl/project-registry.js +0 -124
- package/dist/commands/recipes/impl/project.d.ts +0 -8
- package/dist/commands/recipes/impl/project.d.ts.map +0 -1
- package/dist/commands/recipes/impl/project.js +0 -25
- package/dist/commands/recipes/impl/resolver.d.ts +0 -20
- package/dist/commands/recipes/impl/resolver.d.ts.map +0 -1
- package/dist/commands/recipes/impl/resolver.js +0 -232
- package/dist/commands/recipes/impl/types.d.ts +0 -15
- package/dist/commands/recipes/impl/types.d.ts.map +0 -1
- package/dist/commands/recipes/impl/types.js +0 -1
- package/dist/commands/recipes/impl/version.d.ts +0 -5
- package/dist/commands/recipes/impl/version.d.ts.map +0 -1
- package/dist/commands/recipes/impl/version.js +0 -9
- package/dist/commands/recipes/info.command.d.ts +0 -7
- package/dist/commands/recipes/info.command.d.ts.map +0 -1
- package/dist/commands/recipes/info.command.js +0 -10
- package/dist/commands/recipes/install.run.d.ts +0 -4
- package/dist/commands/recipes/install.run.d.ts.map +0 -1
- package/dist/commands/recipes/install.run.js +0 -23
- package/dist/commands/recipes/install.spec.d.ts +0 -11
- package/dist/commands/recipes/install.spec.d.ts.map +0 -1
- package/dist/commands/recipes/install.spec.js +0 -141
- package/dist/commands/recipes/list-remote.command.d.ts +0 -6
- package/dist/commands/recipes/list-remote.command.d.ts.map +0 -1
- package/dist/commands/recipes/list-remote.command.js +0 -46
- package/dist/commands/recipes/list.command.d.ts +0 -6
- package/dist/commands/recipes/list.command.d.ts.map +0 -1
- package/dist/commands/recipes/list.command.js +0 -39
- package/dist/commands/recipes/recipes.command.d.ts +0 -5
- package/dist/commands/recipes/recipes.command.d.ts.map +0 -1
- package/dist/commands/recipes/recipes.command.js +0 -19
- package/dist/commands/recipes/remove.command.d.ts +0 -7
- package/dist/commands/recipes/remove.command.d.ts.map +0 -1
- package/dist/commands/recipes/remove.command.js +0 -10
- package/dist/commands/recipes/update.command.d.ts +0 -8
- package/dist/commands/recipes/update.command.d.ts.map +0 -1
- package/dist/commands/recipes/update.command.js +0 -35
- package/dist/commands/recipes.d.ts +0 -14
- package/dist/commands/recipes.d.ts.map +0 -1
- package/dist/commands/recipes.js +0 -11
- package/dist/commands/release/apply.command.d.ts +0 -7
- package/dist/commands/release/apply.command.d.ts.map +0 -1
- package/dist/commands/release/apply.command.js +0 -162
- package/dist/commands/release/apply.mutation.d.ts +0 -9
- package/dist/commands/release/apply.mutation.d.ts.map +0 -1
- package/dist/commands/release/apply.mutation.js +0 -137
- package/dist/commands/release/apply.pipeline/finalize.d.ts +0 -21
- package/dist/commands/release/apply.pipeline/finalize.d.ts.map +0 -1
- package/dist/commands/release/apply.pipeline/finalize.js +0 -81
- package/dist/commands/release/apply.pipeline/mutation.d.ts +0 -18
- package/dist/commands/release/apply.pipeline/mutation.d.ts.map +0 -1
- package/dist/commands/release/apply.pipeline/mutation.js +0 -82
- package/dist/commands/release/apply.pipeline/preflight.d.ts +0 -25
- package/dist/commands/release/apply.pipeline/preflight.d.ts.map +0 -1
- package/dist/commands/release/apply.pipeline/preflight.js +0 -69
- package/dist/commands/release/apply.pipeline/shared.d.ts +0 -2
- package/dist/commands/release/apply.pipeline/shared.d.ts.map +0 -1
- package/dist/commands/release/apply.pipeline/shared.js +0 -5
- package/dist/commands/release/apply.pipeline/state.d.ts +0 -25
- package/dist/commands/release/apply.pipeline/state.d.ts.map +0 -1
- package/dist/commands/release/apply.pipeline/state.js +0 -130
- package/dist/commands/release/apply.pipeline.d.ts +0 -26
- package/dist/commands/release/apply.pipeline.d.ts.map +0 -1
- package/dist/commands/release/apply.pipeline.js +0 -32
- package/dist/commands/release/apply.preflight.d.ts +0 -5
- package/dist/commands/release/apply.preflight.d.ts.map +0 -1
- package/dist/commands/release/apply.preflight.git.d.ts +0 -7
- package/dist/commands/release/apply.preflight.git.d.ts.map +0 -1
- package/dist/commands/release/apply.preflight.git.js +0 -138
- package/dist/commands/release/apply.preflight.js +0 -4
- package/dist/commands/release/apply.preflight.package.d.ts +0 -7
- package/dist/commands/release/apply.preflight.package.d.ts.map +0 -1
- package/dist/commands/release/apply.preflight.package.js +0 -69
- package/dist/commands/release/apply.preflight.plan.d.ts +0 -16
- package/dist/commands/release/apply.preflight.plan.d.ts.map +0 -1
- package/dist/commands/release/apply.preflight.plan.js +0 -92
- package/dist/commands/release/apply.preflight.publish.d.ts +0 -4
- package/dist/commands/release/apply.preflight.publish.d.ts.map +0 -1
- package/dist/commands/release/apply.preflight.publish.js +0 -81
- package/dist/commands/release/apply.reporting.d.ts +0 -5
- package/dist/commands/release/apply.reporting.d.ts.map +0 -1
- package/dist/commands/release/apply.reporting.js +0 -29
- package/dist/commands/release/apply.spec.d.ts +0 -5
- package/dist/commands/release/apply.spec.d.ts.map +0 -1
- package/dist/commands/release/apply.spec.js +0 -136
- package/dist/commands/release/apply.types.d.ts +0 -86
- package/dist/commands/release/apply.types.d.ts.map +0 -1
- package/dist/commands/release/apply.types.js +0 -1
- package/dist/commands/release/plan.command.d.ts +0 -5
- package/dist/commands/release/plan.command.d.ts.map +0 -1
- package/dist/commands/release/plan.command.js +0 -214
- package/dist/commands/release/plan.spec.d.ts +0 -10
- package/dist/commands/release/plan.spec.d.ts.map +0 -1
- package/dist/commands/release/plan.spec.js +0 -76
- package/dist/commands/release/release.command.d.ts +0 -5
- package/dist/commands/release/release.command.d.ts.map +0 -1
- package/dist/commands/release/release.command.js +0 -16
- package/dist/commands/runtime.command.d.ts +0 -25
- package/dist/commands/runtime.command.d.ts.map +0 -1
- package/dist/commands/runtime.command.js +0 -138
- package/dist/commands/runtime.spec.d.ts +0 -8
- package/dist/commands/runtime.spec.d.ts.map +0 -1
- package/dist/commands/runtime.spec.js +0 -31
- package/dist/commands/scenario/impl/commands.d.ts +0 -37
- package/dist/commands/scenario/impl/commands.d.ts.map +0 -1
- package/dist/commands/scenario/impl/commands.js +0 -323
- package/dist/commands/scenario/info.command.d.ts +0 -8
- package/dist/commands/scenario/info.command.d.ts.map +0 -1
- package/dist/commands/scenario/info.command.js +0 -32
- package/dist/commands/scenario/list.command.d.ts +0 -5
- package/dist/commands/scenario/list.command.d.ts.map +0 -1
- package/dist/commands/scenario/list.command.js +0 -9
- package/dist/commands/scenario/run.command.d.ts +0 -8
- package/dist/commands/scenario/run.command.d.ts.map +0 -1
- package/dist/commands/scenario/run.command.js +0 -32
- package/dist/commands/scenario.d.ts +0 -2
- package/dist/commands/scenario.d.ts.map +0 -1
- package/dist/commands/scenario.js +0 -1
- package/dist/commands/shared/allow-prefix-policy.d.ts +0 -3
- package/dist/commands/shared/allow-prefix-policy.d.ts.map +0 -1
- package/dist/commands/shared/allow-prefix-policy.js +0 -8
- package/dist/commands/shared/approval-requirements.d.ts +0 -16
- package/dist/commands/shared/approval-requirements.d.ts.map +0 -1
- package/dist/commands/shared/approval-requirements.js +0 -7
- package/dist/commands/shared/comment-format.d.ts +0 -8
- package/dist/commands/shared/comment-format.d.ts.map +0 -1
- package/dist/commands/shared/comment-format.js +0 -80
- package/dist/commands/shared/diagnostics.d.ts +0 -23
- package/dist/commands/shared/diagnostics.d.ts.map +0 -1
- package/dist/commands/shared/diagnostics.js +0 -57
- package/dist/commands/shared/gh-transport.d.ts +0 -16
- package/dist/commands/shared/gh-transport.d.ts.map +0 -1
- package/dist/commands/shared/gh-transport.js +0 -71
- package/dist/commands/shared/git-ops.d.ts +0 -13
- package/dist/commands/shared/git-ops.d.ts.map +0 -1
- package/dist/commands/shared/git-ops.js +0 -86
- package/dist/commands/shared/merged-branch-cleanup.d.ts +0 -12
- package/dist/commands/shared/merged-branch-cleanup.d.ts.map +0 -1
- package/dist/commands/shared/merged-branch-cleanup.js +0 -46
- package/dist/commands/shared/network-approval.d.ts +0 -10
- package/dist/commands/shared/network-approval.d.ts.map +0 -1
- package/dist/commands/shared/network-approval.js +0 -10
- package/dist/commands/shared/operator-pipeline.d.ts +0 -10
- package/dist/commands/shared/operator-pipeline.d.ts.map +0 -1
- package/dist/commands/shared/operator-pipeline.js +0 -16
- package/dist/commands/shared/path.d.ts +0 -3
- package/dist/commands/shared/path.d.ts.map +0 -1
- package/dist/commands/shared/path.js +0 -14
- package/dist/commands/shared/policy-deny.d.ts +0 -3
- package/dist/commands/shared/policy-deny.d.ts.map +0 -1
- package/dist/commands/shared/policy-deny.js +0 -12
- package/dist/commands/shared/post-commit-pr-artifacts.d.ts +0 -9
- package/dist/commands/shared/post-commit-pr-artifacts.d.ts.map +0 -1
- package/dist/commands/shared/post-commit-pr-artifacts.js +0 -58
- package/dist/commands/shared/pr-meta.d.ts +0 -75
- package/dist/commands/shared/pr-meta.d.ts.map +0 -1
- package/dist/commands/shared/pr-meta.js +0 -266
- package/dist/commands/shared/reconcile-check.d.ts +0 -7
- package/dist/commands/shared/reconcile-check.d.ts.map +0 -1
- package/dist/commands/shared/reconcile-check.js +0 -160
- package/dist/commands/shared/task-backend.d.ts +0 -71
- package/dist/commands/shared/task-backend.d.ts.map +0 -1
- package/dist/commands/shared/task-backend.js +0 -305
- package/dist/commands/shared/task-handoff.d.ts +0 -65
- package/dist/commands/shared/task-handoff.d.ts.map +0 -1
- package/dist/commands/shared/task-handoff.js +0 -167
- package/dist/commands/shared/task-local-freshness.d.ts +0 -15
- package/dist/commands/shared/task-local-freshness.d.ts.map +0 -1
- package/dist/commands/shared/task-local-freshness.js +0 -26
- package/dist/commands/shared/task-mutation.d.ts +0 -38
- package/dist/commands/shared/task-mutation.d.ts.map +0 -1
- package/dist/commands/shared/task-mutation.js +0 -74
- package/dist/commands/shared/task-store/intents.d.ts +0 -34
- package/dist/commands/shared/task-store/intents.d.ts.map +0 -1
- package/dist/commands/shared/task-store/intents.js +0 -265
- package/dist/commands/shared/task-store/readme.d.ts +0 -28
- package/dist/commands/shared/task-store/readme.d.ts.map +0 -1
- package/dist/commands/shared/task-store/readme.js +0 -125
- package/dist/commands/shared/task-store/store.d.ts +0 -26
- package/dist/commands/shared/task-store/store.d.ts.map +0 -1
- package/dist/commands/shared/task-store/store.js +0 -105
- package/dist/commands/shared/task-store/types.d.ts +0 -94
- package/dist/commands/shared/task-store/types.d.ts.map +0 -1
- package/dist/commands/shared/task-store/types.js +0 -1
- package/dist/commands/shared/task-store.d.ts +0 -4
- package/dist/commands/shared/task-store.d.ts.map +0 -1
- package/dist/commands/shared/task-store.js +0 -2
- package/dist/commands/start.run.d.ts +0 -5
- package/dist/commands/start.run.d.ts.map +0 -1
- package/dist/commands/start.run.js +0 -23
- package/dist/commands/start.spec.d.ts +0 -18
- package/dist/commands/start.spec.d.ts.map +0 -1
- package/dist/commands/start.spec.js +0 -143
- package/dist/commands/sync.command.d.ts +0 -6
- package/dist/commands/sync.command.d.ts.map +0 -1
- package/dist/commands/sync.command.js +0 -64
- package/dist/commands/task/add.command.d.ts +0 -19
- package/dist/commands/task/add.command.d.ts.map +0 -1
- package/dist/commands/task/add.command.js +0 -152
- package/dist/commands/task/add.d.ts +0 -18
- package/dist/commands/task/add.d.ts.map +0 -1
- package/dist/commands/task/add.js +0 -63
- package/dist/commands/task/block.d.ts +0 -20
- package/dist/commands/task/block.d.ts.map +0 -1
- package/dist/commands/task/block.js +0 -88
- package/dist/commands/task/close-duplicate.command.d.ts +0 -14
- package/dist/commands/task/close-duplicate.command.d.ts.map +0 -1
- package/dist/commands/task/close-duplicate.command.js +0 -102
- package/dist/commands/task/close-duplicate.d.ts +0 -14
- package/dist/commands/task/close-duplicate.d.ts.map +0 -1
- package/dist/commands/task/close-duplicate.js +0 -91
- package/dist/commands/task/close-noop.command.d.ts +0 -14
- package/dist/commands/task/close-noop.command.d.ts.map +0 -1
- package/dist/commands/task/close-noop.command.js +0 -77
- package/dist/commands/task/close-noop.d.ts +0 -13
- package/dist/commands/task/close-noop.d.ts.map +0 -1
- package/dist/commands/task/close-noop.js +0 -38
- package/dist/commands/task/close-shared.d.ts +0 -12
- package/dist/commands/task/close-shared.d.ts.map +0 -1
- package/dist/commands/task/close-shared.js +0 -45
- package/dist/commands/task/close-tail-state.d.ts +0 -7
- package/dist/commands/task/close-tail-state.d.ts.map +0 -1
- package/dist/commands/task/close-tail-state.js +0 -19
- package/dist/commands/task/comment.command.d.ts +0 -10
- package/dist/commands/task/comment.command.d.ts.map +0 -1
- package/dist/commands/task/comment.command.js +0 -57
- package/dist/commands/task/comment.d.ts +0 -10
- package/dist/commands/task/comment.d.ts.map +0 -1
- package/dist/commands/task/comment.js +0 -68
- package/dist/commands/task/derive.command.d.ts +0 -14
- package/dist/commands/task/derive.command.d.ts.map +0 -1
- package/dist/commands/task/derive.command.js +0 -101
- package/dist/commands/task/derive.d.ts +0 -14
- package/dist/commands/task/derive.d.ts.map +0 -1
- package/dist/commands/task/derive.js +0 -101
- package/dist/commands/task/doc-set.command.d.ts +0 -13
- package/dist/commands/task/doc-set.command.d.ts.map +0 -1
- package/dist/commands/task/doc-set.command.js +0 -114
- package/dist/commands/task/doc-show.command.d.ts +0 -10
- package/dist/commands/task/doc-show.command.d.ts.map +0 -1
- package/dist/commands/task/doc-show.command.js +0 -54
- package/dist/commands/task/doc-template.d.ts +0 -10
- package/dist/commands/task/doc-template.d.ts.map +0 -1
- package/dist/commands/task/doc-template.js +0 -95
- package/dist/commands/task/doc.command.d.ts +0 -7
- package/dist/commands/task/doc.command.d.ts.map +0 -1
- package/dist/commands/task/doc.command.js +0 -24
- package/dist/commands/task/doc.d.ts +0 -21
- package/dist/commands/task/doc.d.ts.map +0 -1
- package/dist/commands/task/doc.js +0 -264
- package/dist/commands/task/export.command.d.ts +0 -6
- package/dist/commands/task/export.command.d.ts.map +0 -1
- package/dist/commands/task/export.command.js +0 -17
- package/dist/commands/task/export.d.ts +0 -7
- package/dist/commands/task/export.d.ts.map +0 -1
- package/dist/commands/task/export.js +0 -25
- package/dist/commands/task/findings-add.command.d.ts +0 -20
- package/dist/commands/task/findings-add.command.d.ts.map +0 -1
- package/dist/commands/task/findings-add.command.js +0 -165
- package/dist/commands/task/findings.command.d.ts +0 -7
- package/dist/commands/task/findings.command.d.ts.map +0 -1
- package/dist/commands/task/findings.command.js +0 -20
- package/dist/commands/task/findings.d.ts +0 -63
- package/dist/commands/task/findings.d.ts.map +0 -1
- package/dist/commands/task/findings.js +0 -188
- package/dist/commands/task/finish-close.d.ts +0 -22
- package/dist/commands/task/finish-close.d.ts.map +0 -1
- package/dist/commands/task/finish-close.js +0 -119
- package/dist/commands/task/finish-command.d.ts +0 -3
- package/dist/commands/task/finish-command.d.ts.map +0 -1
- package/dist/commands/task/finish-command.js +0 -56
- package/dist/commands/task/finish-execute.d.ts +0 -8
- package/dist/commands/task/finish-execute.d.ts.map +0 -1
- package/dist/commands/task/finish-execute.js +0 -279
- package/dist/commands/task/finish-findings.d.ts +0 -20
- package/dist/commands/task/finish-findings.d.ts.map +0 -1
- package/dist/commands/task/finish-findings.js +0 -27
- package/dist/commands/task/finish-plan.d.ts +0 -7
- package/dist/commands/task/finish-plan.d.ts.map +0 -1
- package/dist/commands/task/finish-plan.js +0 -157
- package/dist/commands/task/finish-shared.d.ts +0 -62
- package/dist/commands/task/finish-shared.d.ts.map +0 -1
- package/dist/commands/task/finish-shared.js +0 -237
- package/dist/commands/task/finish-types.d.ts +0 -69
- package/dist/commands/task/finish-types.d.ts.map +0 -1
- package/dist/commands/task/finish-types.js +0 -1
- package/dist/commands/task/handoff-record.command.d.ts +0 -17
- package/dist/commands/task/handoff-record.command.d.ts.map +0 -1
- package/dist/commands/task/handoff-record.command.js +0 -140
- package/dist/commands/task/handoff-show.command.d.ts +0 -8
- package/dist/commands/task/handoff-show.command.d.ts.map +0 -1
- package/dist/commands/task/handoff-show.command.js +0 -101
- package/dist/commands/task/handoff.command.d.ts +0 -7
- package/dist/commands/task/handoff.command.d.ts.map +0 -1
- package/dist/commands/task/handoff.command.js +0 -21
- package/dist/commands/task/handoff.shared.d.ts +0 -39
- package/dist/commands/task/handoff.shared.d.ts.map +0 -1
- package/dist/commands/task/handoff.shared.js +0 -133
- package/dist/commands/task/hosted-close-pr.command.d.ts +0 -10
- package/dist/commands/task/hosted-close-pr.command.d.ts.map +0 -1
- package/dist/commands/task/hosted-close-pr.command.js +0 -114
- package/dist/commands/task/hosted-close-pr.execute.d.ts +0 -3
- package/dist/commands/task/hosted-close-pr.execute.d.ts.map +0 -1
- package/dist/commands/task/hosted-close-pr.execute.js +0 -135
- package/dist/commands/task/hosted-close-pr.postcheck.d.ts +0 -3
- package/dist/commands/task/hosted-close-pr.postcheck.d.ts.map +0 -1
- package/dist/commands/task/hosted-close-pr.postcheck.js +0 -13
- package/dist/commands/task/hosted-close-pr.precheck.d.ts +0 -4
- package/dist/commands/task/hosted-close-pr.precheck.d.ts.map +0 -1
- package/dist/commands/task/hosted-close-pr.precheck.js +0 -288
- package/dist/commands/task/hosted-close-pr.report.d.ts +0 -4
- package/dist/commands/task/hosted-close-pr.report.d.ts.map +0 -1
- package/dist/commands/task/hosted-close-pr.report.js +0 -42
- package/dist/commands/task/hosted-close-pr.types.d.ts +0 -75
- package/dist/commands/task/hosted-close-pr.types.d.ts.map +0 -1
- package/dist/commands/task/hosted-close-pr.types.js +0 -1
- package/dist/commands/task/hosted-close.command.d.ts +0 -6
- package/dist/commands/task/hosted-close.command.d.ts.map +0 -1
- package/dist/commands/task/hosted-close.command.js +0 -389
- package/dist/commands/task/hosted-close.spec.d.ts +0 -7
- package/dist/commands/task/hosted-close.spec.d.ts.map +0 -1
- package/dist/commands/task/hosted-close.spec.js +0 -39
- package/dist/commands/task/hosted-merge-sync/builders.d.ts +0 -35
- package/dist/commands/task/hosted-merge-sync/builders.d.ts.map +0 -1
- package/dist/commands/task/hosted-merge-sync/builders.js +0 -148
- package/dist/commands/task/hosted-merge-sync/github.d.ts +0 -10
- package/dist/commands/task/hosted-merge-sync/github.d.ts.map +0 -1
- package/dist/commands/task/hosted-merge-sync/github.js +0 -113
- package/dist/commands/task/hosted-merge-sync/local-branch.d.ts +0 -12
- package/dist/commands/task/hosted-merge-sync/local-branch.d.ts.map +0 -1
- package/dist/commands/task/hosted-merge-sync/local-branch.js +0 -143
- package/dist/commands/task/hosted-merge-sync/model.d.ts +0 -47
- package/dist/commands/task/hosted-merge-sync/model.d.ts.map +0 -1
- package/dist/commands/task/hosted-merge-sync/model.js +0 -1
- package/dist/commands/task/hosted-merge-sync/pr-meta.d.ts +0 -12
- package/dist/commands/task/hosted-merge-sync/pr-meta.d.ts.map +0 -1
- package/dist/commands/task/hosted-merge-sync/pr-meta.js +0 -26
- package/dist/commands/task/hosted-merge-sync.d.ts +0 -23
- package/dist/commands/task/hosted-merge-sync.d.ts.map +0 -1
- package/dist/commands/task/hosted-merge-sync.js +0 -122
- package/dist/commands/task/index.d.ts +0 -31
- package/dist/commands/task/index.d.ts.map +0 -1
- package/dist/commands/task/index.js +0 -29
- package/dist/commands/task/lint.command.d.ts +0 -5
- package/dist/commands/task/lint.command.d.ts.map +0 -1
- package/dist/commands/task/lint.command.js +0 -11
- package/dist/commands/task/lint.d.ts +0 -5
- package/dist/commands/task/lint.d.ts.map +0 -1
- package/dist/commands/task/lint.js +0 -22
- package/dist/commands/task/list.d.ts +0 -15
- package/dist/commands/task/list.d.ts.map +0 -1
- package/dist/commands/task/list.js +0 -36
- package/dist/commands/task/list.run.d.ts +0 -5
- package/dist/commands/task/list.run.d.ts.map +0 -1
- package/dist/commands/task/list.run.js +0 -20
- package/dist/commands/task/list.spec.d.ts +0 -7
- package/dist/commands/task/list.spec.d.ts.map +0 -1
- package/dist/commands/task/list.spec.js +0 -58
- package/dist/commands/task/migrate-doc.command.d.ts +0 -9
- package/dist/commands/task/migrate-doc.command.d.ts.map +0 -1
- package/dist/commands/task/migrate-doc.command.js +0 -69
- package/dist/commands/task/migrate-doc.d.ts +0 -24
- package/dist/commands/task/migrate-doc.d.ts.map +0 -1
- package/dist/commands/task/migrate-doc.js +0 -151
- package/dist/commands/task/migrate-doc.readme.d.ts +0 -8
- package/dist/commands/task/migrate-doc.readme.d.ts.map +0 -1
- package/dist/commands/task/migrate-doc.readme.js +0 -225
- package/dist/commands/task/migrate.command.d.ts +0 -11
- package/dist/commands/task/migrate.command.d.ts.map +0 -1
- package/dist/commands/task/migrate.command.js +0 -58
- package/dist/commands/task/migrate.d.ts +0 -11
- package/dist/commands/task/migrate.d.ts.map +0 -1
- package/dist/commands/task/migrate.js +0 -42
- package/dist/commands/task/new.command.d.ts +0 -6
- package/dist/commands/task/new.command.d.ts.map +0 -1
- package/dist/commands/task/new.command.js +0 -21
- package/dist/commands/task/new.d.ts +0 -18
- package/dist/commands/task/new.d.ts.map +0 -1
- package/dist/commands/task/new.js +0 -234
- package/dist/commands/task/new.spec.d.ts +0 -4
- package/dist/commands/task/new.spec.d.ts.map +0 -1
- package/dist/commands/task/new.spec.js +0 -87
- package/dist/commands/task/next.d.ts +0 -9
- package/dist/commands/task/next.d.ts.map +0 -1
- package/dist/commands/task/next.js +0 -27
- package/dist/commands/task/next.run.d.ts +0 -5
- package/dist/commands/task/next.run.d.ts.map +0 -1
- package/dist/commands/task/next.run.js +0 -11
- package/dist/commands/task/next.spec.d.ts +0 -7
- package/dist/commands/task/next.spec.d.ts.map +0 -1
- package/dist/commands/task/next.spec.js +0 -76
- package/dist/commands/task/normalize.command.d.ts +0 -13
- package/dist/commands/task/normalize.command.d.ts.map +0 -1
- package/dist/commands/task/normalize.command.js +0 -104
- package/dist/commands/task/normalize.d.ts +0 -13
- package/dist/commands/task/normalize.d.ts.map +0 -1
- package/dist/commands/task/normalize.js +0 -129
- package/dist/commands/task/plan-approve.command.d.ts +0 -10
- package/dist/commands/task/plan-approve.command.d.ts.map +0 -1
- package/dist/commands/task/plan-approve.command.js +0 -54
- package/dist/commands/task/plan-reject.command.d.ts +0 -10
- package/dist/commands/task/plan-reject.command.d.ts.map +0 -1
- package/dist/commands/task/plan-reject.command.js +0 -59
- package/dist/commands/task/plan-set.command.d.ts +0 -11
- package/dist/commands/task/plan-set.command.d.ts.map +0 -1
- package/dist/commands/task/plan-set.command.js +0 -76
- package/dist/commands/task/plan.command.d.ts +0 -7
- package/dist/commands/task/plan.command.d.ts.map +0 -1
- package/dist/commands/task/plan.command.js +0 -31
- package/dist/commands/task/plan.d.ts +0 -27
- package/dist/commands/task/plan.d.ts.map +0 -1
- package/dist/commands/task/plan.js +0 -327
- package/dist/commands/task/ready.d.ts +0 -8
- package/dist/commands/task/ready.d.ts.map +0 -1
- package/dist/commands/task/ready.js +0 -54
- package/dist/commands/task/rebuild-index.command.d.ts +0 -6
- package/dist/commands/task/rebuild-index.command.d.ts.map +0 -1
- package/dist/commands/task/rebuild-index.command.js +0 -18
- package/dist/commands/task/reclaim.command.d.ts +0 -11
- package/dist/commands/task/reclaim.command.d.ts.map +0 -1
- package/dist/commands/task/reclaim.command.js +0 -102
- package/dist/commands/task/resume-context.command.d.ts +0 -9
- package/dist/commands/task/resume-context.command.d.ts.map +0 -1
- package/dist/commands/task/resume-context.command.js +0 -60
- package/dist/commands/task/run-cancel.command.d.ts +0 -6
- package/dist/commands/task/run-cancel.command.d.ts.map +0 -1
- package/dist/commands/task/run-cancel.command.js +0 -45
- package/dist/commands/task/run-cancel.spec.d.ts +0 -7
- package/dist/commands/task/run-cancel.spec.d.ts.map +0 -1
- package/dist/commands/task/run-cancel.spec.js +0 -20
- package/dist/commands/task/run-resume.command.d.ts +0 -6
- package/dist/commands/task/run-resume.command.d.ts.map +0 -1
- package/dist/commands/task/run-resume.command.js +0 -55
- package/dist/commands/task/run-resume.spec.d.ts +0 -7
- package/dist/commands/task/run-resume.spec.d.ts.map +0 -1
- package/dist/commands/task/run-resume.spec.js +0 -20
- package/dist/commands/task/run-retry.command.d.ts +0 -6
- package/dist/commands/task/run-retry.command.d.ts.map +0 -1
- package/dist/commands/task/run-retry.command.js +0 -56
- package/dist/commands/task/run-retry.spec.d.ts +0 -7
- package/dist/commands/task/run-retry.spec.d.ts.map +0 -1
- package/dist/commands/task/run-retry.spec.js +0 -20
- package/dist/commands/task/run-show.command.d.ts +0 -6
- package/dist/commands/task/run-show.command.d.ts.map +0 -1
- package/dist/commands/task/run-show.command.js +0 -133
- package/dist/commands/task/run-show.spec.d.ts +0 -8
- package/dist/commands/task/run-show.spec.d.ts.map +0 -1
- package/dist/commands/task/run-show.spec.js +0 -44
- package/dist/commands/task/run-tail.command.d.ts +0 -6
- package/dist/commands/task/run-tail.command.d.ts.map +0 -1
- package/dist/commands/task/run-tail.command.js +0 -26
- package/dist/commands/task/run-tail.spec.d.ts +0 -8
- package/dist/commands/task/run-tail.spec.d.ts.map +0 -1
- package/dist/commands/task/run-tail.spec.js +0 -51
- package/dist/commands/task/run-trace.command.d.ts +0 -6
- package/dist/commands/task/run-trace.command.d.ts.map +0 -1
- package/dist/commands/task/run-trace.command.js +0 -25
- package/dist/commands/task/run-trace.spec.d.ts +0 -7
- package/dist/commands/task/run-trace.spec.d.ts.map +0 -1
- package/dist/commands/task/run-trace.spec.js +0 -31
- package/dist/commands/task/run.command.d.ts +0 -6
- package/dist/commands/task/run.command.d.ts.map +0 -1
- package/dist/commands/task/run.command.js +0 -74
- package/dist/commands/task/run.spec.d.ts +0 -7
- package/dist/commands/task/run.spec.d.ts.map +0 -1
- package/dist/commands/task/run.spec.js +0 -26
- package/dist/commands/task/scaffold.command.d.ts +0 -13
- package/dist/commands/task/scaffold.command.d.ts.map +0 -1
- package/dist/commands/task/scaffold.command.js +0 -81
- package/dist/commands/task/scaffold.d.ts +0 -13
- package/dist/commands/task/scaffold.d.ts.map +0 -1
- package/dist/commands/task/scaffold.js +0 -98
- package/dist/commands/task/scrub.command.d.ts +0 -11
- package/dist/commands/task/scrub.command.d.ts.map +0 -1
- package/dist/commands/task/scrub.command.js +0 -72
- package/dist/commands/task/scrub.d.ts +0 -11
- package/dist/commands/task/scrub.d.ts.map +0 -1
- package/dist/commands/task/scrub.js +0 -68
- package/dist/commands/task/search.d.ts +0 -11
- package/dist/commands/task/search.d.ts.map +0 -1
- package/dist/commands/task/search.js +0 -61
- package/dist/commands/task/search.run.d.ts +0 -5
- package/dist/commands/task/search.run.d.ts.map +0 -1
- package/dist/commands/task/search.run.js +0 -13
- package/dist/commands/task/search.spec.d.ts +0 -9
- package/dist/commands/task/search.spec.d.ts.map +0 -1
- package/dist/commands/task/search.spec.js +0 -86
- package/dist/commands/task/set-status.command.d.ts +0 -22
- package/dist/commands/task/set-status.command.d.ts.map +0 -1
- package/dist/commands/task/set-status.command.js +0 -193
- package/dist/commands/task/set-status.d.ts +0 -22
- package/dist/commands/task/set-status.d.ts.map +0 -1
- package/dist/commands/task/set-status.js +0 -115
- package/dist/commands/task/shared/dependencies.d.ts +0 -16
- package/dist/commands/task/shared/dependencies.d.ts.map +0 -1
- package/dist/commands/task/shared/dependencies.js +0 -162
- package/dist/commands/task/shared/direct-work-lock.d.ts +0 -10
- package/dist/commands/task/shared/direct-work-lock.d.ts.map +0 -1
- package/dist/commands/task/shared/direct-work-lock.js +0 -24
- package/dist/commands/task/shared/docs.d.ts +0 -33
- package/dist/commands/task/shared/docs.d.ts.map +0 -1
- package/dist/commands/task/shared/docs.js +0 -155
- package/dist/commands/task/shared/git-log.d.ts +0 -5
- package/dist/commands/task/shared/git-log.d.ts.map +0 -1
- package/dist/commands/task/shared/git-log.js +0 -14
- package/dist/commands/task/shared/listing.d.ts +0 -34
- package/dist/commands/task/shared/listing.d.ts.map +0 -1
- package/dist/commands/task/shared/listing.js +0 -184
- package/dist/commands/task/shared/tags.d.ts +0 -24
- package/dist/commands/task/shared/tags.d.ts.map +0 -1
- package/dist/commands/task/shared/tags.js +0 -177
- package/dist/commands/task/shared/transition-command.d.ts +0 -17
- package/dist/commands/task/shared/transition-command.d.ts.map +0 -1
- package/dist/commands/task/shared/transition-command.js +0 -44
- package/dist/commands/task/shared/transition-rules.d.ts +0 -28
- package/dist/commands/task/shared/transition-rules.d.ts.map +0 -1
- package/dist/commands/task/shared/transition-rules.js +0 -96
- package/dist/commands/task/shared/transitions.d.ts +0 -71
- package/dist/commands/task/shared/transitions.d.ts.map +0 -1
- package/dist/commands/task/shared/transitions.js +0 -167
- package/dist/commands/task/shared/workflow-transition-service.d.ts +0 -75
- package/dist/commands/task/shared/workflow-transition-service.d.ts.map +0 -1
- package/dist/commands/task/shared/workflow-transition-service.js +0 -226
- package/dist/commands/task/shared.d.ts +0 -10
- package/dist/commands/task/shared.d.ts.map +0 -1
- package/dist/commands/task/shared.js +0 -9
- package/dist/commands/task/show.d.ts +0 -8
- package/dist/commands/task/show.d.ts.map +0 -1
- package/dist/commands/task/show.js +0 -67
- package/dist/commands/task/show.run.d.ts +0 -5
- package/dist/commands/task/show.run.d.ts.map +0 -1
- package/dist/commands/task/show.run.js +0 -11
- package/dist/commands/task/show.spec.d.ts +0 -6
- package/dist/commands/task/show.spec.d.ts.map +0 -1
- package/dist/commands/task/show.spec.js +0 -8
- package/dist/commands/task/start-ready.command.d.ts +0 -14
- package/dist/commands/task/start-ready.command.d.ts.map +0 -1
- package/dist/commands/task/start-ready.command.js +0 -77
- package/dist/commands/task/start-ready.d.ts +0 -13
- package/dist/commands/task/start-ready.d.ts.map +0 -1
- package/dist/commands/task/start-ready.js +0 -48
- package/dist/commands/task/start.d.ts +0 -20
- package/dist/commands/task/start.d.ts.map +0 -1
- package/dist/commands/task/start.js +0 -131
- package/dist/commands/task/task.command.d.ts +0 -7
- package/dist/commands/task/task.command.d.ts.map +0 -1
- package/dist/commands/task/task.command.js +0 -60
- package/dist/commands/task/update.command.d.ts +0 -19
- package/dist/commands/task/update.command.d.ts.map +0 -1
- package/dist/commands/task/update.command.js +0 -143
- package/dist/commands/task/update.d.ts +0 -19
- package/dist/commands/task/update.d.ts.map +0 -1
- package/dist/commands/task/update.js +0 -82
- package/dist/commands/task/verify-command-shared.d.ts +0 -35
- package/dist/commands/task/verify-command-shared.d.ts.map +0 -1
- package/dist/commands/task/verify-command-shared.js +0 -210
- package/dist/commands/task/verify-ok.command.d.ts +0 -9
- package/dist/commands/task/verify-ok.command.d.ts.map +0 -1
- package/dist/commands/task/verify-ok.command.js +0 -54
- package/dist/commands/task/verify-record.d.ts +0 -74
- package/dist/commands/task/verify-record.d.ts.map +0 -1
- package/dist/commands/task/verify-record.js +0 -296
- package/dist/commands/task/verify-rework.command.d.ts +0 -9
- package/dist/commands/task/verify-rework.command.d.ts.map +0 -1
- package/dist/commands/task/verify-rework.command.js +0 -54
- package/dist/commands/task/verify-show.command.d.ts +0 -9
- package/dist/commands/task/verify-show.command.d.ts.map +0 -1
- package/dist/commands/task/verify-show.command.js +0 -69
- package/dist/commands/task/verify.command.d.ts +0 -7
- package/dist/commands/task/verify.command.d.ts.map +0 -1
- package/dist/commands/task/verify.command.js +0 -21
- package/dist/commands/upgrade/apply.d.ts +0 -46
- package/dist/commands/upgrade/apply.d.ts.map +0 -1
- package/dist/commands/upgrade/apply.js +0 -213
- package/dist/commands/upgrade/materialize.d.ts +0 -28
- package/dist/commands/upgrade/materialize.d.ts.map +0 -1
- package/dist/commands/upgrade/materialize.js +0 -147
- package/dist/commands/upgrade/plan.d.ts +0 -18
- package/dist/commands/upgrade/plan.d.ts.map +0 -1
- package/dist/commands/upgrade/plan.js +0 -219
- package/dist/commands/upgrade/policy.d.ts +0 -24
- package/dist/commands/upgrade/policy.d.ts.map +0 -1
- package/dist/commands/upgrade/policy.js +0 -182
- package/dist/commands/upgrade/report.d.ts +0 -21
- package/dist/commands/upgrade/report.d.ts.map +0 -1
- package/dist/commands/upgrade/report.js +0 -83
- package/dist/commands/upgrade/source.d.ts +0 -34
- package/dist/commands/upgrade/source.d.ts.map +0 -1
- package/dist/commands/upgrade/source.js +0 -101
- package/dist/commands/upgrade/types.d.ts +0 -31
- package/dist/commands/upgrade/types.d.ts.map +0 -1
- package/dist/commands/upgrade/types.js +0 -1
- package/dist/commands/upgrade.command.d.ts +0 -5
- package/dist/commands/upgrade.command.d.ts.map +0 -1
- package/dist/commands/upgrade.command.js +0 -3
- package/dist/commands/upgrade.d.ts +0 -22
- package/dist/commands/upgrade.d.ts.map +0 -1
- package/dist/commands/upgrade.js +0 -250
- package/dist/commands/upgrade.spec.d.ts +0 -5
- package/dist/commands/upgrade.spec.d.ts.map +0 -1
- package/dist/commands/upgrade.spec.js +0 -179
- package/dist/commands/verify.run.d.ts +0 -5
- package/dist/commands/verify.run.d.ts.map +0 -1
- package/dist/commands/verify.run.js +0 -29
- package/dist/commands/verify.spec.d.ts +0 -10
- package/dist/commands/verify.spec.d.ts.map +0 -1
- package/dist/commands/verify.spec.js +0 -114
- package/dist/commands/workflow-build.command.d.ts +0 -8
- package/dist/commands/workflow-build.command.d.ts.map +0 -1
- package/dist/commands/workflow-build.command.js +0 -98
- package/dist/commands/workflow-playbook.command.d.ts +0 -7
- package/dist/commands/workflow-playbook.command.d.ts.map +0 -1
- package/dist/commands/workflow-playbook.command.js +0 -156
- package/dist/commands/workflow-playbook.spec.d.ts +0 -6
- package/dist/commands/workflow-playbook.spec.d.ts.map +0 -1
- package/dist/commands/workflow-playbook.spec.js +0 -21
- package/dist/commands/workflow-restore.command.d.ts +0 -5
- package/dist/commands/workflow-restore.command.d.ts.map +0 -1
- package/dist/commands/workflow-restore.command.js +0 -30
- package/dist/commands/workflow.command.d.ts +0 -5
- package/dist/commands/workflow.command.d.ts.map +0 -1
- package/dist/commands/workflow.command.js +0 -19
- package/dist/commands/workflow.d.ts +0 -5
- package/dist/commands/workflow.d.ts.map +0 -1
- package/dist/commands/workflow.js +0 -4
- package/dist/harness/dynamic-tool-contract.d.ts +0 -29
- package/dist/harness/dynamic-tool-contract.d.ts.map +0 -1
- package/dist/harness/dynamic-tool-contract.js +0 -86
- package/dist/harness/hooks-lifecycle.d.ts +0 -27
- package/dist/harness/hooks-lifecycle.d.ts.map +0 -1
- package/dist/harness/hooks-lifecycle.js +0 -71
- package/dist/harness/reconcile.d.ts +0 -37
- package/dist/harness/reconcile.d.ts.map +0 -1
- package/dist/harness/reconcile.js +0 -42
- package/dist/harness/retry-policy.d.ts +0 -31
- package/dist/harness/retry-policy.d.ts.map +0 -1
- package/dist/harness/retry-policy.js +0 -33
- package/dist/harness/scheduler.d.ts +0 -18
- package/dist/harness/scheduler.d.ts.map +0 -1
- package/dist/harness/scheduler.js +0 -55
- package/dist/harness/state-machine.d.ts +0 -17
- package/dist/harness/state-machine.d.ts.map +0 -1
- package/dist/harness/state-machine.js +0 -70
- package/dist/harness/token-accounting.d.ts +0 -19
- package/dist/harness/token-accounting.d.ts.map +0 -1
- package/dist/harness/token-accounting.js +0 -77
- package/dist/harness/workspace-safety.d.ts +0 -14
- package/dist/harness/workspace-safety.d.ts.map +0 -1
- package/dist/harness/workspace-safety.js +0 -62
- package/dist/meta/release.d.ts +0 -2
- package/dist/meta/release.d.ts.map +0 -1
- package/dist/meta/release.js +0 -52
- package/dist/meta/version.d.ts +0 -2
- package/dist/meta/version.d.ts.map +0 -1
- package/dist/meta/version.js +0 -20
- package/dist/policy/engine.d.ts +0 -23
- package/dist/policy/engine.d.ts.map +0 -1
- package/dist/policy/engine.js +0 -31
- package/dist/policy/evaluate.d.ts +0 -3
- package/dist/policy/evaluate.d.ts.map +0 -1
- package/dist/policy/evaluate.js +0 -27
- package/dist/policy/model.d.ts +0 -39
- package/dist/policy/model.d.ts.map +0 -1
- package/dist/policy/model.js +0 -1
- package/dist/policy/result.d.ts +0 -7
- package/dist/policy/result.d.ts.map +0 -1
- package/dist/policy/result.js +0 -21
- package/dist/policy/rules/allowlist.d.ts +0 -3
- package/dist/policy/rules/allowlist.d.ts.map +0 -1
- package/dist/policy/rules/allowlist.js +0 -51
- package/dist/policy/rules/branch-pr-base.d.ts +0 -3
- package/dist/policy/rules/branch-pr-base.d.ts.map +0 -1
- package/dist/policy/rules/branch-pr-base.js +0 -43
- package/dist/policy/rules/clean-tree.d.ts +0 -3
- package/dist/policy/rules/clean-tree.d.ts.map +0 -1
- package/dist/policy/rules/clean-tree.js +0 -19
- package/dist/policy/rules/commit-subject.d.ts +0 -3
- package/dist/policy/rules/commit-subject.d.ts.map +0 -1
- package/dist/policy/rules/commit-subject.js +0 -21
- package/dist/policy/rules/protected-paths.d.ts +0 -3
- package/dist/policy/rules/protected-paths.d.ts.map +0 -1
- package/dist/policy/rules/protected-paths.js +0 -58
- package/dist/policy/taxonomy.d.ts +0 -17
- package/dist/policy/taxonomy.d.ts.map +0 -1
- package/dist/policy/taxonomy.js +0 -302
- package/dist/ports/clock-port.d.ts +0 -4
- package/dist/ports/clock-port.d.ts.map +0 -1
- package/dist/ports/clock-port.js +0 -1
- package/dist/ports/fs-port.d.ts +0 -18
- package/dist/ports/fs-port.d.ts.map +0 -1
- package/dist/ports/fs-port.js +0 -1
- package/dist/ports/git-port.d.ts +0 -18
- package/dist/ports/git-port.d.ts.map +0 -1
- package/dist/ports/git-port.js +0 -1
- package/dist/ports/task-backend-port.d.ts +0 -10
- package/dist/ports/task-backend-port.d.ts.map +0 -1
- package/dist/ports/task-backend-port.js +0 -1
- package/dist/runner/adapters/base.d.ts +0 -42
- package/dist/runner/adapters/base.d.ts.map +0 -1
- package/dist/runner/adapters/base.js +0 -107
- package/dist/runner/adapters/codex-preparation.d.ts +0 -7
- package/dist/runner/adapters/codex-preparation.d.ts.map +0 -1
- package/dist/runner/adapters/codex-preparation.js +0 -86
- package/dist/runner/adapters/codex.d.ts +0 -9
- package/dist/runner/adapters/codex.d.ts.map +0 -1
- package/dist/runner/adapters/codex.js +0 -161
- package/dist/runner/adapters/custom-preparation.d.ts +0 -9
- package/dist/runner/adapters/custom-preparation.d.ts.map +0 -1
- package/dist/runner/adapters/custom-preparation.js +0 -191
- package/dist/runner/adapters/custom.d.ts +0 -12
- package/dist/runner/adapters/custom.d.ts.map +0 -1
- package/dist/runner/adapters/custom.js +0 -151
- package/dist/runner/adapters/execute-supervised.d.ts +0 -41
- package/dist/runner/adapters/execute-supervised.d.ts.map +0 -1
- package/dist/runner/adapters/execute-supervised.js +0 -108
- package/dist/runner/adapters/index.d.ts +0 -8
- package/dist/runner/adapters/index.d.ts.map +0 -1
- package/dist/runner/adapters/index.js +0 -15
- package/dist/runner/adapters/recipe-run-profile.d.ts +0 -8
- package/dist/runner/adapters/recipe-run-profile.d.ts.map +0 -1
- package/dist/runner/adapters/recipe-run-profile.js +0 -53
- package/dist/runner/adapters/runtime-shared.d.ts +0 -14
- package/dist/runner/adapters/runtime-shared.d.ts.map +0 -1
- package/dist/runner/adapters/runtime-shared.js +0 -36
- package/dist/runner/adapters/shared.d.ts +0 -45
- package/dist/runner/adapters/shared.d.ts.map +0 -1
- package/dist/runner/adapters/shared.js +0 -58
- package/dist/runner/artifacts.d.ts +0 -31
- package/dist/runner/artifacts.d.ts.map +0 -1
- package/dist/runner/artifacts.js +0 -155
- package/dist/runner/codex-approval-probe.d.ts +0 -23
- package/dist/runner/codex-approval-probe.d.ts.map +0 -1
- package/dist/runner/codex-approval-probe.js +0 -55
- package/dist/runner/codex-smoke.d.ts +0 -11
- package/dist/runner/codex-smoke.d.ts.map +0 -1
- package/dist/runner/codex-smoke.js +0 -45
- package/dist/runner/config.d.ts +0 -6
- package/dist/runner/config.d.ts.map +0 -1
- package/dist/runner/config.js +0 -15
- package/dist/runner/context/base-prompt-sources.d.ts +0 -30
- package/dist/runner/context/base-prompt-sources.d.ts.map +0 -1
- package/dist/runner/context/base-prompt-sources.js +0 -166
- package/dist/runner/context/base-prompts.d.ts +0 -17
- package/dist/runner/context/base-prompts.d.ts.map +0 -1
- package/dist/runner/context/base-prompts.js +0 -39
- package/dist/runner/context/overlay-prompt-blocks.d.ts +0 -7
- package/dist/runner/context/overlay-prompt-blocks.d.ts.map +0 -1
- package/dist/runner/context/overlay-prompt-blocks.js +0 -72
- package/dist/runner/context/project-skill-prompt-blocks.d.ts +0 -5
- package/dist/runner/context/project-skill-prompt-blocks.d.ts.map +0 -1
- package/dist/runner/context/project-skill-prompt-blocks.js +0 -57
- package/dist/runner/context/prompt-block-shared.d.ts +0 -54
- package/dist/runner/context/prompt-block-shared.d.ts.map +0 -1
- package/dist/runner/context/prompt-block-shared.js +0 -112
- package/dist/runner/context/recipe-context.d.ts +0 -18
- package/dist/runner/context/recipe-context.d.ts.map +0 -1
- package/dist/runner/context/recipe-context.js +0 -86
- package/dist/runner/context/recipe-prompt-blocks.d.ts +0 -6
- package/dist/runner/context/recipe-prompt-blocks.d.ts.map +0 -1
- package/dist/runner/context/recipe-prompt-blocks.js +0 -143
- package/dist/runner/context/task-context.d.ts +0 -24
- package/dist/runner/context/task-context.d.ts.map +0 -1
- package/dist/runner/context/task-context.js +0 -266
- package/dist/runner/policy-decision.d.ts +0 -12
- package/dist/runner/policy-decision.d.ts.map +0 -1
- package/dist/runner/policy-decision.js +0 -89
- package/dist/runner/policy-display.d.ts +0 -4
- package/dist/runner/policy-display.d.ts.map +0 -1
- package/dist/runner/policy-display.js +0 -41
- package/dist/runner/process-supervision/buffered-file-writer.d.ts +0 -10
- package/dist/runner/process-supervision/buffered-file-writer.d.ts.map +0 -1
- package/dist/runner/process-supervision/buffered-file-writer.js +0 -70
- package/dist/runner/process-supervision/run.d.ts +0 -30
- package/dist/runner/process-supervision/run.d.ts.map +0 -1
- package/dist/runner/process-supervision/run.js +0 -364
- package/dist/runner/process-supervision/signals.d.ts +0 -16
- package/dist/runner/process-supervision/signals.d.ts.map +0 -1
- package/dist/runner/process-supervision/signals.js +0 -85
- package/dist/runner/process-supervision/state.d.ts +0 -10
- package/dist/runner/process-supervision/state.d.ts.map +0 -1
- package/dist/runner/process-supervision/state.js +0 -42
- package/dist/runner/process-supervision/streams.d.ts +0 -6
- package/dist/runner/process-supervision/streams.d.ts.map +0 -1
- package/dist/runner/process-supervision/streams.js +0 -23
- package/dist/runner/result-manifest-policy.d.ts +0 -9
- package/dist/runner/result-manifest-policy.d.ts.map +0 -1
- package/dist/runner/result-manifest-policy.js +0 -96
- package/dist/runner/result-manifest.d.ts +0 -30
- package/dist/runner/result-manifest.d.ts.map +0 -1
- package/dist/runner/result-manifest.js +0 -322
- package/dist/runner/run-id.d.ts +0 -2
- package/dist/runner/run-id.d.ts.map +0 -1
- package/dist/runner/run-id.js +0 -3
- package/dist/runner/run-repository.d.ts +0 -51
- package/dist/runner/run-repository.d.ts.map +0 -1
- package/dist/runner/run-repository.js +0 -222
- package/dist/runner/task-run-paths.d.ts +0 -19
- package/dist/runner/task-run-paths.d.ts.map +0 -1
- package/dist/runner/task-run-paths.js +0 -25
- package/dist/runner/task-state.d.ts +0 -9
- package/dist/runner/task-state.d.ts.map +0 -1
- package/dist/runner/task-state.js +0 -354
- package/dist/runner/trace-artifacts.d.ts +0 -14
- package/dist/runner/trace-artifacts.d.ts.map +0 -1
- package/dist/runner/trace-artifacts.js +0 -80
- package/dist/runner/trace.d.ts +0 -10
- package/dist/runner/trace.d.ts.map +0 -1
- package/dist/runner/trace.js +0 -37
- package/dist/runner/types.d.ts +0 -333
- package/dist/runner/types.d.ts.map +0 -1
- package/dist/runner/types.js +0 -3
- package/dist/runner/usecases/scenario-materialize-task.d.ts +0 -29
- package/dist/runner/usecases/scenario-materialize-task.d.ts.map +0 -1
- package/dist/runner/usecases/scenario-materialize-task.js +0 -221
- package/dist/runner/usecases/task-run-inspect.d.ts +0 -41
- package/dist/runner/usecases/task-run-inspect.d.ts.map +0 -1
- package/dist/runner/usecases/task-run-inspect.js +0 -76
- package/dist/runner/usecases/task-run-lifecycle-cancel.d.ts +0 -10
- package/dist/runner/usecases/task-run-lifecycle-cancel.d.ts.map +0 -1
- package/dist/runner/usecases/task-run-lifecycle-cancel.js +0 -173
- package/dist/runner/usecases/task-run-lifecycle-replay.d.ts +0 -18
- package/dist/runner/usecases/task-run-lifecycle-replay.d.ts.map +0 -1
- package/dist/runner/usecases/task-run-lifecycle-replay.js +0 -128
- package/dist/runner/usecases/task-run-lifecycle-shared.d.ts +0 -45
- package/dist/runner/usecases/task-run-lifecycle-shared.d.ts.map +0 -1
- package/dist/runner/usecases/task-run-lifecycle-shared.js +0 -170
- package/dist/runner/usecases/task-run-lifecycle.d.ts +0 -4
- package/dist/runner/usecases/task-run-lifecycle.d.ts.map +0 -1
- package/dist/runner/usecases/task-run-lifecycle.js +0 -2
- package/dist/runner/usecases/task-run.d.ts +0 -32
- package/dist/runner/usecases/task-run.d.ts.map +0 -1
- package/dist/runner/usecases/task-run.js +0 -327
- package/dist/runtime/approvals/index.d.ts +0 -3
- package/dist/runtime/approvals/index.d.ts.map +0 -1
- package/dist/runtime/approvals/index.js +0 -1
- package/dist/runtime/approvals/model.d.ts +0 -31
- package/dist/runtime/approvals/model.d.ts.map +0 -1
- package/dist/runtime/approvals/model.js +0 -1
- package/dist/runtime/approvals/runtime.d.ts +0 -12
- package/dist/runtime/approvals/runtime.d.ts.map +0 -1
- package/dist/runtime/approvals/runtime.js +0 -154
- package/dist/runtime/behavior/index.d.ts +0 -3
- package/dist/runtime/behavior/index.d.ts.map +0 -1
- package/dist/runtime/behavior/index.js +0 -1
- package/dist/runtime/behavior/model.d.ts +0 -26
- package/dist/runtime/behavior/model.d.ts.map +0 -1
- package/dist/runtime/behavior/model.js +0 -1
- package/dist/runtime/behavior/resolve.d.ts +0 -8
- package/dist/runtime/behavior/resolve.d.ts.map +0 -1
- package/dist/runtime/behavior/resolve.js +0 -86
- package/dist/runtime/capabilities/backend.d.ts +0 -7
- package/dist/runtime/capabilities/backend.d.ts.map +0 -1
- package/dist/runtime/capabilities/backend.js +0 -104
- package/dist/runtime/capabilities/index.d.ts +0 -6
- package/dist/runtime/capabilities/index.d.ts.map +0 -1
- package/dist/runtime/capabilities/index.js +0 -4
- package/dist/runtime/capabilities/model.d.ts +0 -28
- package/dist/runtime/capabilities/model.d.ts.map +0 -1
- package/dist/runtime/capabilities/model.js +0 -1
- package/dist/runtime/capabilities/recipe.d.ts +0 -11
- package/dist/runtime/capabilities/recipe.d.ts.map +0 -1
- package/dist/runtime/capabilities/recipe.js +0 -183
- package/dist/runtime/capabilities/registry.d.ts +0 -6
- package/dist/runtime/capabilities/registry.d.ts.map +0 -1
- package/dist/runtime/capabilities/registry.js +0 -69
- package/dist/runtime/capabilities/runner.d.ts +0 -8
- package/dist/runtime/capabilities/runner.d.ts.map +0 -1
- package/dist/runtime/capabilities/runner.js +0 -73
- package/dist/runtime/execution-context.d.ts +0 -64
- package/dist/runtime/execution-context.d.ts.map +0 -1
- package/dist/runtime/execution-context.js +0 -124
- package/dist/runtime/execution-profile/index.d.ts +0 -3
- package/dist/runtime/execution-profile/index.d.ts.map +0 -1
- package/dist/runtime/execution-profile/index.js +0 -1
- package/dist/runtime/execution-profile/model.d.ts +0 -27
- package/dist/runtime/execution-profile/model.d.ts.map +0 -1
- package/dist/runtime/execution-profile/model.js +0 -1
- package/dist/runtime/execution-profile/resolve.d.ts +0 -9
- package/dist/runtime/execution-profile/resolve.d.ts.map +0 -1
- package/dist/runtime/execution-profile/resolve.js +0 -80
- package/dist/runtime/explain/index.d.ts +0 -3
- package/dist/runtime/explain/index.d.ts.map +0 -1
- package/dist/runtime/explain/index.js +0 -1
- package/dist/runtime/explain/model.d.ts +0 -28
- package/dist/runtime/explain/model.d.ts.map +0 -1
- package/dist/runtime/explain/model.js +0 -1
- package/dist/runtime/explain/resolve.d.ts +0 -14
- package/dist/runtime/explain/resolve.d.ts.map +0 -1
- package/dist/runtime/explain/resolve.js +0 -50
- package/dist/runtime/harness/index.d.ts +0 -4
- package/dist/runtime/harness/index.d.ts.map +0 -1
- package/dist/runtime/harness/index.js +0 -2
- package/dist/runtime/harness/resolve-from-command-context.d.ts +0 -4
- package/dist/runtime/harness/resolve-from-command-context.d.ts.map +0 -1
- package/dist/runtime/harness/resolve-from-command-context.js +0 -11
- package/dist/runtime/harness/resolve.d.ts +0 -14
- package/dist/runtime/harness/resolve.d.ts.map +0 -1
- package/dist/runtime/harness/resolve.js +0 -146
- package/dist/runtime/harness/types.d.ts +0 -66
- package/dist/runtime/harness/types.d.ts.map +0 -1
- package/dist/runtime/harness/types.js +0 -1
- package/dist/runtime/incidents/advice-strategy.d.ts +0 -15
- package/dist/runtime/incidents/advice-strategy.d.ts.map +0 -1
- package/dist/runtime/incidents/advice-strategy.js +0 -54
- package/dist/runtime/incidents/index.d.ts +0 -3
- package/dist/runtime/incidents/index.d.ts.map +0 -1
- package/dist/runtime/incidents/index.js +0 -1
- package/dist/runtime/incidents/paths.d.ts +0 -3
- package/dist/runtime/incidents/paths.d.ts.map +0 -1
- package/dist/runtime/incidents/paths.js +0 -2
- package/dist/runtime/incidents/plan-strategy.d.ts +0 -9
- package/dist/runtime/incidents/plan-strategy.d.ts.map +0 -1
- package/dist/runtime/incidents/plan-strategy.js +0 -205
- package/dist/runtime/incidents/registry-strategy.d.ts +0 -6
- package/dist/runtime/incidents/registry-strategy.d.ts.map +0 -1
- package/dist/runtime/incidents/registry-strategy.js +0 -280
- package/dist/runtime/incidents/resolve.d.ts +0 -4
- package/dist/runtime/incidents/resolve.d.ts.map +0 -1
- package/dist/runtime/incidents/resolve.js +0 -3
- package/dist/runtime/incidents/shared.d.ts +0 -34
- package/dist/runtime/incidents/shared.d.ts.map +0 -1
- package/dist/runtime/incidents/shared.js +0 -171
- package/dist/runtime/incidents/types.d.ts +0 -84
- package/dist/runtime/incidents/types.d.ts.map +0 -1
- package/dist/runtime/incidents/types.js +0 -1
- package/dist/runtime/prompt-modules/index.d.ts +0 -3
- package/dist/runtime/prompt-modules/index.d.ts.map +0 -1
- package/dist/runtime/prompt-modules/index.js +0 -1
- package/dist/runtime/prompt-modules/model.d.ts +0 -89
- package/dist/runtime/prompt-modules/model.d.ts.map +0 -1
- package/dist/runtime/prompt-modules/model.js +0 -1
- package/dist/runtime/prompt-modules/mutations.d.ts +0 -103
- package/dist/runtime/prompt-modules/mutations.d.ts.map +0 -1
- package/dist/runtime/prompt-modules/mutations.js +0 -1
- package/dist/runtime/protocol/index.d.ts +0 -3
- package/dist/runtime/protocol/index.d.ts.map +0 -1
- package/dist/runtime/protocol/index.js +0 -2
- package/dist/runtime/protocol/model.d.ts +0 -36
- package/dist/runtime/protocol/model.d.ts.map +0 -1
- package/dist/runtime/protocol/model.js +0 -1
- package/dist/runtime/protocol/resolve.d.ts +0 -16
- package/dist/runtime/protocol/resolve.d.ts.map +0 -1
- package/dist/runtime/protocol/resolve.js +0 -36
- package/dist/runtime/shared/repo-cli-version.d.ts +0 -13
- package/dist/runtime/shared/repo-cli-version.d.ts.map +0 -1
- package/dist/runtime/shared/repo-cli-version.js +0 -71
- package/dist/runtime/shared/runtime-artifacts.d.ts +0 -3
- package/dist/runtime/shared/runtime-artifacts.d.ts.map +0 -1
- package/dist/runtime/shared/runtime-artifacts.js +0 -22
- package/dist/runtime/shared/runtime-source.d.ts +0 -33
- package/dist/runtime/shared/runtime-source.d.ts.map +0 -1
- package/dist/runtime/shared/runtime-source.js +0 -161
- package/dist/runtime/shared/version-compare.d.ts +0 -7
- package/dist/runtime/shared/version-compare.d.ts.map +0 -1
- package/dist/runtime/shared/version-compare.js +0 -30
- package/dist/runtime/task-intake/index.d.ts +0 -3
- package/dist/runtime/task-intake/index.d.ts.map +0 -1
- package/dist/runtime/task-intake/index.js +0 -1
- package/dist/runtime/task-intake/resolve.d.ts +0 -48
- package/dist/runtime/task-intake/resolve.d.ts.map +0 -1
- package/dist/runtime/task-intake/resolve.js +0 -316
- package/dist/runtime/task-intake/types.d.ts +0 -118
- package/dist/runtime/task-intake/types.d.ts.map +0 -1
- package/dist/runtime/task-intake/types.js +0 -1
- package/dist/shared/env.d.ts +0 -4
- package/dist/shared/env.d.ts.map +0 -1
- package/dist/shared/env.js +0 -70
- package/dist/shared/errors.d.ts +0 -83
- package/dist/shared/errors.d.ts.map +0 -1
- package/dist/shared/errors.js +0 -93
- package/dist/shared/git-path.d.ts +0 -3
- package/dist/shared/git-path.d.ts.map +0 -1
- package/dist/shared/git-path.js +0 -30
- package/dist/shared/guards.d.ts +0 -2
- package/dist/shared/guards.d.ts.map +0 -1
- package/dist/shared/guards.js +0 -4
- package/dist/shared/package-paths.d.ts +0 -8
- package/dist/shared/package-paths.d.ts.map +0 -1
- package/dist/shared/package-paths.js +0 -80
- package/dist/shared/policy-gateway.d.ts +0 -15
- package/dist/shared/policy-gateway.d.ts.map +0 -1
- package/dist/shared/policy-gateway.js +0 -49
- package/dist/shared/protected-paths.d.ts +0 -33
- package/dist/shared/protected-paths.d.ts.map +0 -1
- package/dist/shared/protected-paths.js +0 -105
- package/dist/shared/runtime-env.d.ts +0 -3
- package/dist/shared/runtime-env.d.ts.map +0 -1
- package/dist/shared/runtime-env.js +0 -73
- package/dist/shared/strings.d.ts +0 -2
- package/dist/shared/strings.d.ts.map +0 -1
- package/dist/shared/strings.js +0 -14
- package/dist/shared/trace-events.d.ts +0 -13
- package/dist/shared/trace-events.d.ts.map +0 -1
- package/dist/shared/trace-events.js +0 -17
- package/dist/shared/workflow-artifacts.d.ts +0 -37
- package/dist/shared/workflow-artifacts.d.ts.map +0 -1
- package/dist/shared/workflow-artifacts.js +0 -90
- package/dist/shared/write-if-changed.d.ts +0 -3
- package/dist/shared/write-if-changed.d.ts.map +0 -1
- package/dist/shared/write-if-changed.js +0 -26
- package/dist/task-doc/conflicts.d.ts +0 -12
- package/dist/task-doc/conflicts.d.ts.map +0 -1
- package/dist/task-doc/conflicts.js +0 -40
- package/dist/task-doc/state.d.ts +0 -10
- package/dist/task-doc/state.d.ts.map +0 -1
- package/dist/task-doc/state.js +0 -15
- package/dist/test-helpers/fs.d.ts +0 -2
- package/dist/test-helpers/fs.d.ts.map +0 -1
- package/dist/test-helpers/fs.js +0 -9
- package/dist/workflow-runtime/build.d.ts +0 -4
- package/dist/workflow-runtime/build.d.ts.map +0 -1
- package/dist/workflow-runtime/build.js +0 -126
- package/dist/workflow-runtime/enforcement.d.ts +0 -3
- package/dist/workflow-runtime/enforcement.d.ts.map +0 -1
- package/dist/workflow-runtime/enforcement.js +0 -10
- package/dist/workflow-runtime/file-ops.d.ts +0 -11
- package/dist/workflow-runtime/file-ops.d.ts.map +0 -1
- package/dist/workflow-runtime/file-ops.js +0 -229
- package/dist/workflow-runtime/fix.d.ts +0 -17
- package/dist/workflow-runtime/fix.d.ts.map +0 -1
- package/dist/workflow-runtime/fix.js +0 -115
- package/dist/workflow-runtime/index.d.ts +0 -11
- package/dist/workflow-runtime/index.d.ts.map +0 -1
- package/dist/workflow-runtime/index.js +0 -10
- package/dist/workflow-runtime/markdown.d.ts +0 -10
- package/dist/workflow-runtime/markdown.d.ts.map +0 -1
- package/dist/workflow-runtime/markdown.js +0 -147
- package/dist/workflow-runtime/observability.d.ts +0 -12
- package/dist/workflow-runtime/observability.d.ts.map +0 -1
- package/dist/workflow-runtime/observability.js +0 -14
- package/dist/workflow-runtime/paths.d.ts +0 -3
- package/dist/workflow-runtime/paths.d.ts.map +0 -1
- package/dist/workflow-runtime/paths.js +0 -10
- package/dist/workflow-runtime/template.d.ts +0 -7
- package/dist/workflow-runtime/template.d.ts.map +0 -1
- package/dist/workflow-runtime/template.js +0 -94
- package/dist/workflow-runtime/types.d.ts +0 -67
- package/dist/workflow-runtime/types.d.ts.map +0 -1
- package/dist/workflow-runtime/types.js +0 -1
- package/dist/workflow-runtime/validate.d.ts +0 -8
- package/dist/workflow-runtime/validate.d.ts.map +0 -1
- package/dist/workflow-runtime/validate.js +0 -331
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import { loadConfig } from "@agentplaneorg/core/config";
|
|
2
|
-
import { resolveProject } from "@agentplaneorg/core/project";
|
|
3
|
-
import { createCliEmitter } from "../cli/output.js";
|
|
4
|
-
import { loadDirectSubcommandNames, throwGroupCommandUsage, } from "../cli/group-command.js";
|
|
5
|
-
import { evaluateRepoCliVersionExpectation, } from "../runtime/shared/repo-cli-version.js";
|
|
6
|
-
import { FRAMEWORK_DEV_BOOTSTRAP_COMMAND, FRAMEWORK_DEV_FORCE_GLOBAL_EXAMPLE, FRAMEWORK_DEV_GLOBAL_VERIFY_COMMAND, FRAMEWORK_DEV_MANUAL_REPAIR_COMMANDS, FRAMEWORK_DEV_REINSTALL_SCRIPT, FRAMEWORK_DEV_REPO_LOCAL_VERIFY_COMMAND, } from "../../bin/framework-dev-contract.js";
|
|
7
|
-
import { describeRuntimeMode, resolveRuntimeSourceInfo, } from "../runtime/shared/runtime-source.js";
|
|
8
|
-
import { runtimeSpec } from "./runtime.spec.js";
|
|
9
|
-
const output = createCliEmitter();
|
|
10
|
-
export { runtimeExplainSpec, runtimeSpec } from "./runtime.spec.js";
|
|
11
|
-
function renderPath(value) {
|
|
12
|
-
return value ?? "unresolved";
|
|
13
|
-
}
|
|
14
|
-
export function buildFrameworkDevWorkflow(report) {
|
|
15
|
-
const available = report.framework.inFrameworkCheckout;
|
|
16
|
-
if (!available) {
|
|
17
|
-
return {
|
|
18
|
-
available,
|
|
19
|
-
bootstrapCommand: FRAMEWORK_DEV_BOOTSTRAP_COMMAND,
|
|
20
|
-
manualRepairCommands: [...FRAMEWORK_DEV_MANUAL_REPAIR_COMMANDS],
|
|
21
|
-
repoLocalVerifyCommand: FRAMEWORK_DEV_REPO_LOCAL_VERIFY_COMMAND,
|
|
22
|
-
reinstallScript: FRAMEWORK_DEV_REINSTALL_SCRIPT,
|
|
23
|
-
globalVerifyCommand: FRAMEWORK_DEV_GLOBAL_VERIFY_COMMAND,
|
|
24
|
-
forceGlobalExample: FRAMEWORK_DEV_FORCE_GLOBAL_EXAMPLE,
|
|
25
|
-
recommendation: null,
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
const recommendation = report.mode === "repo-local" || report.mode === "repo-local-handoff"
|
|
29
|
-
? "Run the framework bootstrap after fresh clones or dependency drift; use the reinstall helper only when the global PATH command itself should resolve this checkout."
|
|
30
|
-
: report.mode === "global-in-framework"
|
|
31
|
-
? "Bootstrap the framework checkout first so the installed wrapper can hand off cleanly to the repo-local runtime."
|
|
32
|
-
: report.mode === "global-forced-in-framework"
|
|
33
|
-
? "Unset AGENTPLANE_USE_GLOBAL_IN_FRAMEWORK=1 unless you intentionally need the global installed CLI inside the framework checkout."
|
|
34
|
-
: "Use the framework bootstrap command first, then verify the repo-local runtime and global wrapper explicitly.";
|
|
35
|
-
return {
|
|
36
|
-
available,
|
|
37
|
-
bootstrapCommand: FRAMEWORK_DEV_BOOTSTRAP_COMMAND,
|
|
38
|
-
manualRepairCommands: [...FRAMEWORK_DEV_MANUAL_REPAIR_COMMANDS],
|
|
39
|
-
repoLocalVerifyCommand: FRAMEWORK_DEV_REPO_LOCAL_VERIFY_COMMAND,
|
|
40
|
-
reinstallScript: FRAMEWORK_DEV_REINSTALL_SCRIPT,
|
|
41
|
-
globalVerifyCommand: FRAMEWORK_DEV_GLOBAL_VERIFY_COMMAND,
|
|
42
|
-
forceGlobalExample: FRAMEWORK_DEV_FORCE_GLOBAL_EXAMPLE,
|
|
43
|
-
recommendation,
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
function buildRuntimeExplainPayload(report) {
|
|
47
|
-
return {
|
|
48
|
-
...report,
|
|
49
|
-
frameworkDev: buildFrameworkDevWorkflow(report),
|
|
50
|
-
repoCliExpectation: {
|
|
51
|
-
expectedVersion: null,
|
|
52
|
-
activeVersion: report.agentplane.version,
|
|
53
|
-
state: "unconfigured",
|
|
54
|
-
summary: null,
|
|
55
|
-
recovery: null,
|
|
56
|
-
},
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
export function renderRuntimeExplainText(report, repoCliExpectation) {
|
|
60
|
-
const frameworkDev = buildFrameworkDevWorkflow(report);
|
|
61
|
-
const lines = [
|
|
62
|
-
`Mode: ${report.mode} (${describeRuntimeMode(report.mode)})`,
|
|
63
|
-
`Active binary: ${renderPath(report.activeBinaryPath)}`,
|
|
64
|
-
`Current cwd: ${report.cwd}`,
|
|
65
|
-
`Framework checkout: ${report.framework.inFrameworkCheckout ? "yes" : "no"}`,
|
|
66
|
-
`Framework repo root: ${renderPath(report.frameworkSources.repoRoot)}`,
|
|
67
|
-
`Framework agentplane root: ${renderPath(report.frameworkSources.agentplaneRoot)}`,
|
|
68
|
-
`Framework core root: ${renderPath(report.frameworkSources.coreRoot)}`,
|
|
69
|
-
`Resolved agentplane: ${report.agentplane.version ?? "unknown"} @ ${renderPath(report.agentplane.packageRoot)}`,
|
|
70
|
-
`Resolved @agentplaneorg/core: ${report.core.version ?? "unknown"} @ ${renderPath(report.core.packageRoot)}`,
|
|
71
|
-
];
|
|
72
|
-
if (repoCliExpectation.expectedVersion) {
|
|
73
|
-
lines.push(`Repository expected agentplane CLI: ${repoCliExpectation.expectedVersion}`);
|
|
74
|
-
if (repoCliExpectation.summary) {
|
|
75
|
-
lines.push(`Repository CLI status: ${repoCliExpectation.summary}`);
|
|
76
|
-
}
|
|
77
|
-
if (repoCliExpectation.recovery) {
|
|
78
|
-
lines.push(`Recovery: ${repoCliExpectation.recovery}`);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
if (report.handoffFromBinaryPath) {
|
|
82
|
-
lines.push(`Handoff from: ${report.handoffFromBinaryPath}`);
|
|
83
|
-
}
|
|
84
|
-
if (frameworkDev.available) {
|
|
85
|
-
lines.push("", "Framework dev workflow:", "1. Canonical bootstrap:", ` - ${frameworkDev.bootstrapCommand}`, "2. Manual fallback:", ...frameworkDev.manualRepairCommands.map((command) => ` - ${command}`), "3. Verify the repo-local runtime directly:", ` - ${frameworkDev.repoLocalVerifyCommand}`, "4. If the global PATH install should resolve this checkout:", ` - ${frameworkDev.reinstallScript}`, "5. Re-verify the global wrapper:", ` - ${frameworkDev.globalVerifyCommand}`, "6. Optional: force the global installed CLI inside this checkout:", ` - ${frameworkDev.forceGlobalExample}`);
|
|
86
|
-
if (frameworkDev.recommendation) {
|
|
87
|
-
lines.push(`Recommendation: ${frameworkDev.recommendation}`);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
return lines.join("\n");
|
|
91
|
-
}
|
|
92
|
-
async function resolveRepoCliExpectation(opts) {
|
|
93
|
-
try {
|
|
94
|
-
const resolved = await resolveProject({
|
|
95
|
-
cwd: opts.cwd,
|
|
96
|
-
rootOverride: opts.rootOverride ?? null,
|
|
97
|
-
});
|
|
98
|
-
const loaded = await loadConfig(resolved.agentplaneDir);
|
|
99
|
-
return evaluateRepoCliVersionExpectation(loaded.config, opts.report);
|
|
100
|
-
}
|
|
101
|
-
catch {
|
|
102
|
-
return {
|
|
103
|
-
expectedVersion: null,
|
|
104
|
-
activeVersion: opts.report.agentplane.version,
|
|
105
|
-
state: "unconfigured",
|
|
106
|
-
summary: null,
|
|
107
|
-
recovery: null,
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
export const runRuntime = async (_ctx, p) => {
|
|
112
|
-
throwGroupCommandUsage({
|
|
113
|
-
spec: runtimeSpec,
|
|
114
|
-
cmd: p.cmd,
|
|
115
|
-
subcommands: await loadDirectSubcommandNames(["runtime"]),
|
|
116
|
-
command: "runtime",
|
|
117
|
-
contextCommand: "runtime",
|
|
118
|
-
});
|
|
119
|
-
};
|
|
120
|
-
export const runRuntimeExplain = (ctx, p) => {
|
|
121
|
-
const report = resolveRuntimeSourceInfo({
|
|
122
|
-
cwd: ctx.cwd,
|
|
123
|
-
entryModuleUrl: import.meta.url,
|
|
124
|
-
});
|
|
125
|
-
return resolveRepoCliExpectation({
|
|
126
|
-
cwd: ctx.cwd,
|
|
127
|
-
rootOverride: ctx.rootOverride ?? null,
|
|
128
|
-
report,
|
|
129
|
-
}).then((repoCliExpectation) => {
|
|
130
|
-
const payload = { ...buildRuntimeExplainPayload(report), repoCliExpectation };
|
|
131
|
-
if (p.json) {
|
|
132
|
-
output.json(payload);
|
|
133
|
-
return 0;
|
|
134
|
-
}
|
|
135
|
-
output.line(renderRuntimeExplainText(report, repoCliExpectation));
|
|
136
|
-
return 0;
|
|
137
|
-
});
|
|
138
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type GroupCommandParsed } from "../cli/group-command.js";
|
|
2
|
-
import type { CommandSpec } from "../cli/spec/spec.js";
|
|
3
|
-
export type RuntimeExplainParsed = {
|
|
4
|
-
json: boolean;
|
|
5
|
-
};
|
|
6
|
-
export declare const runtimeSpec: CommandSpec<GroupCommandParsed>;
|
|
7
|
-
export declare const runtimeExplainSpec: CommandSpec<RuntimeExplainParsed>;
|
|
8
|
-
//# sourceMappingURL=runtime.spec.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.spec.d.ts","sourceRoot":"","sources":["../../src/commands/runtime.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AACrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEvD,MAAM,MAAM,oBAAoB,GAAG;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,CAAC;AAErD,eAAO,MAAM,WAAW,EAAE,WAAW,CAAC,kBAAkB,CAQvD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,WAAW,CAAC,oBAAoB,CAoBhE,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { parseGroupCommand } from "../cli/group-command.js";
|
|
2
|
-
export const runtimeSpec = {
|
|
3
|
-
id: ["runtime"],
|
|
4
|
-
group: "Diagnostics",
|
|
5
|
-
summary: "Inspect which agentplane runtime/binary/package sources are active.",
|
|
6
|
-
synopsis: ["agentplane runtime <explain> [options]"],
|
|
7
|
-
args: [{ name: "cmd", required: false, variadic: true, valueHint: "<cmd>" }],
|
|
8
|
-
examples: [{ cmd: "agentplane runtime explain", why: "Show active runtime details." }],
|
|
9
|
-
parse: (raw) => parseGroupCommand(raw),
|
|
10
|
-
};
|
|
11
|
-
export const runtimeExplainSpec = {
|
|
12
|
-
id: ["runtime", "explain"],
|
|
13
|
-
group: "Diagnostics",
|
|
14
|
-
summary: "Explain the active binary, runtime mode, and resolved package roots.",
|
|
15
|
-
options: [
|
|
16
|
-
{
|
|
17
|
-
kind: "boolean",
|
|
18
|
-
name: "json",
|
|
19
|
-
default: false,
|
|
20
|
-
description: "Emit machine-readable runtime details.",
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
examples: [
|
|
24
|
-
{ cmd: "agentplane runtime explain", why: "Show the active runtime as readable text." },
|
|
25
|
-
{
|
|
26
|
-
cmd: "agentplane runtime explain --json",
|
|
27
|
-
why: "Show runtime details for scripts and diagnostics tooling.",
|
|
28
|
-
},
|
|
29
|
-
],
|
|
30
|
-
parse: (raw) => ({ json: raw.opts.json === true }),
|
|
31
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { resolveProject } from "@agentplaneorg/core/project";
|
|
2
|
-
type RecipeToolRuntime = "node" | "bash";
|
|
3
|
-
type RecipeToolInvocation = {
|
|
4
|
-
command: string;
|
|
5
|
-
args: string[];
|
|
6
|
-
};
|
|
7
|
-
export declare function resolveRecipeToolInvocation(runtime: RecipeToolRuntime, entrypoint: string, args: string[]): RecipeToolInvocation;
|
|
8
|
-
export declare function cmdScenarioListParsed(opts: {
|
|
9
|
-
cwd: string;
|
|
10
|
-
rootOverride?: string;
|
|
11
|
-
}): Promise<number>;
|
|
12
|
-
export declare function cmdScenarioInfoParsed(opts: {
|
|
13
|
-
cwd: string;
|
|
14
|
-
rootOverride?: string;
|
|
15
|
-
recipeId: string;
|
|
16
|
-
scenarioId: string;
|
|
17
|
-
}): Promise<number>;
|
|
18
|
-
export declare function executeRecipeTool(opts: {
|
|
19
|
-
runtime: RecipeToolRuntime;
|
|
20
|
-
entrypoint: string;
|
|
21
|
-
args: string[];
|
|
22
|
-
cwd: string;
|
|
23
|
-
env: Record<string, string>;
|
|
24
|
-
}): Promise<{
|
|
25
|
-
exitCode: number;
|
|
26
|
-
stdout: string;
|
|
27
|
-
stderr: string;
|
|
28
|
-
}>;
|
|
29
|
-
export declare function cmdScenarioRunParsed(opts: {
|
|
30
|
-
cwd: string;
|
|
31
|
-
rootOverride?: string;
|
|
32
|
-
recipeId: string;
|
|
33
|
-
scenarioId: string;
|
|
34
|
-
resolved?: Awaited<ReturnType<typeof resolveProject>>;
|
|
35
|
-
}): Promise<number>;
|
|
36
|
-
export {};
|
|
37
|
-
//# sourceMappingURL=commands.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../../src/commands/scenario/impl/commands.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAkB7D,KAAK,iBAAiB,GAAG,MAAM,GAAG,MAAM,CAAC;AAEzC,KAAK,oBAAoB,GAAG;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,CAAC;AA0MF,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,iBAAiB,EAC1B,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,MAAM,EAAE,GACb,oBAAoB,CAGtB;AAED,wBAAsB,qBAAqB,CAAC,IAAI,EAAE;IAChD,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,OAAO,CAAC,MAAM,CAAC,CA4BlB;AAED,wBAAsB,qBAAqB,CAAC,IAAI,EAAE;IAChD,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB,GAAG,OAAO,CAAC,MAAM,CAAC,CAqClB;AAED,wBAAsB,iBAAiB,CAAC,IAAI,EAAE;IAC5C,OAAO,EAAE,iBAAiB,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC7B,GAAG,OAAO,CAAC;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CA6ChE;AAED,wBAAsB,oBAAoB,CAAC,IAAI,EAAE;IAC/C,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC;CACvD,GAAG,OAAO,CAAC,MAAM,CAAC,CAuClB"}
|
|
@@ -1,323 +0,0 @@
|
|
|
1
|
-
import path from "node:path";
|
|
2
|
-
import { resolveProject } from "@agentplaneorg/core/project";
|
|
3
|
-
import { runProcess } from "@agentplaneorg/core/process";
|
|
4
|
-
import { mapCoreError } from "../../../cli/error-map.js";
|
|
5
|
-
import { exitCodeForError } from "../../../cli/exit-codes.js";
|
|
6
|
-
import { fileExists } from "../../../cli/fs-utils.js";
|
|
7
|
-
import { createCliEmitter, emptyStateMessage } from "../../../cli/output.js";
|
|
8
|
-
import { CliError } from "../../../shared/errors.js";
|
|
9
|
-
import { listResolvedRecipeScenarios, readProjectInstalledRecipes, readScenarioDefinition, resolveRecipeScenarioSelection, } from "../../recipes.js";
|
|
10
|
-
const output = createCliEmitter();
|
|
11
|
-
const SCENARIO_SELECTION_ERROR_RULES = [
|
|
12
|
-
{
|
|
13
|
-
startsWith: ["No recipe scenario matches"],
|
|
14
|
-
exitCode: exitCodeForError("E_IO"),
|
|
15
|
-
code: "E_IO",
|
|
16
|
-
message: (_message) => "",
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
startsWith: ["Scenario definition not found"],
|
|
20
|
-
exitCode: exitCodeForError("E_IO"),
|
|
21
|
-
code: "E_IO",
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
startsWith: [
|
|
25
|
-
"Scenario selection is ambiguous",
|
|
26
|
-
"Missing required field: scenario.",
|
|
27
|
-
"Invalid field scenario.",
|
|
28
|
-
"Scenario definition id mismatch:",
|
|
29
|
-
],
|
|
30
|
-
exitCode: exitCodeForError("E_VALIDATION"),
|
|
31
|
-
code: "E_VALIDATION",
|
|
32
|
-
},
|
|
33
|
-
];
|
|
34
|
-
const RECIPE_TOOL_INVOCATIONS = {
|
|
35
|
-
node: (entrypoint) => ({ command: "node", args: [entrypoint] }),
|
|
36
|
-
bash: (entrypoint) => ({ command: "bash", args: [entrypoint] }),
|
|
37
|
-
};
|
|
38
|
-
function buildScenarioNotFoundError(recipeId, scenarioId) {
|
|
39
|
-
return new CliError({
|
|
40
|
-
exitCode: exitCodeForError("E_IO"),
|
|
41
|
-
code: "E_IO",
|
|
42
|
-
message: `Scenario not found: ${recipeId}:${scenarioId}`,
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
function mapScenarioSelectionError(recipeId, scenarioId, error) {
|
|
46
|
-
const message = error instanceof Error ? error.message : String(error);
|
|
47
|
-
for (const rule of SCENARIO_SELECTION_ERROR_RULES) {
|
|
48
|
-
if (!rule.startsWith.some((prefix) => message.startsWith(prefix)))
|
|
49
|
-
continue;
|
|
50
|
-
if (message.startsWith("No recipe scenario matches")) {
|
|
51
|
-
return buildScenarioNotFoundError(recipeId, scenarioId);
|
|
52
|
-
}
|
|
53
|
-
return new CliError({
|
|
54
|
-
exitCode: rule.exitCode,
|
|
55
|
-
code: rule.code,
|
|
56
|
-
message: rule.message ? rule.message(message) : message,
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
return null;
|
|
60
|
-
}
|
|
61
|
-
async function resolveScenarioForCli(opts) {
|
|
62
|
-
const installed = await readProjectInstalledRecipes(opts.project);
|
|
63
|
-
const entry = installed.recipes.find((recipe) => recipe.id === opts.recipeId);
|
|
64
|
-
if (!entry) {
|
|
65
|
-
throw new CliError({
|
|
66
|
-
exitCode: exitCodeForError("E_IO"),
|
|
67
|
-
code: "E_IO",
|
|
68
|
-
message: `Recipe not installed: ${opts.recipeId}`,
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
try {
|
|
72
|
-
const selection = await resolveRecipeScenarioSelection({
|
|
73
|
-
project: opts.project,
|
|
74
|
-
flags: {
|
|
75
|
-
recipeId: opts.recipeId,
|
|
76
|
-
scenarioId: opts.scenarioId,
|
|
77
|
-
includeIncompatible: true,
|
|
78
|
-
},
|
|
79
|
-
});
|
|
80
|
-
return { entry, selection };
|
|
81
|
-
}
|
|
82
|
-
catch (error) {
|
|
83
|
-
const mapped = mapScenarioSelectionError(opts.recipeId, opts.scenarioId, error);
|
|
84
|
-
if (mapped)
|
|
85
|
-
throw mapped;
|
|
86
|
-
throw error;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
async function readValidatedScenarioDefinition(opts) {
|
|
90
|
-
if (!(await fileExists(opts.selection.scenario_file))) {
|
|
91
|
-
throw new CliError({
|
|
92
|
-
exitCode: exitCodeForError("E_IO"),
|
|
93
|
-
code: "E_IO",
|
|
94
|
-
message: `Scenario definition not found: ${opts.selection.scenario_file}`,
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
try {
|
|
98
|
-
const scenario = await readScenarioDefinition(opts.selection.scenario_file);
|
|
99
|
-
if (scenario.id !== opts.selection.scenario_id) {
|
|
100
|
-
throw new CliError({
|
|
101
|
-
exitCode: exitCodeForError("E_VALIDATION"),
|
|
102
|
-
code: "E_VALIDATION",
|
|
103
|
-
message: `Scenario definition id mismatch: manifest expects ${opts.selection.scenario_id}, ` +
|
|
104
|
-
`file defines ${scenario.id}`,
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
return scenario;
|
|
108
|
-
}
|
|
109
|
-
catch (error) {
|
|
110
|
-
if (error instanceof CliError)
|
|
111
|
-
throw error;
|
|
112
|
-
throw new CliError({
|
|
113
|
-
exitCode: exitCodeForError("E_VALIDATION"),
|
|
114
|
-
code: "E_VALIDATION",
|
|
115
|
-
message: error instanceof Error ? error.message : String(error),
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
async function validateScenarioRecipeFiles(opts) {
|
|
120
|
-
const checks = [];
|
|
121
|
-
const agents = opts.entry.manifest.agents ?? [];
|
|
122
|
-
const skills = opts.entry.manifest.skills ?? [];
|
|
123
|
-
const tools = opts.entry.manifest.tools ?? [];
|
|
124
|
-
const selectedAgents = agents.filter((agent) => opts.selection.agents_involved.includes(agent.id));
|
|
125
|
-
const selectedSkills = skills.filter((skill) => opts.selection.skills_used.includes(skill.id));
|
|
126
|
-
const selectedTools = tools.filter((tool) => opts.selection.tools_used.includes(tool.id));
|
|
127
|
-
for (const agent of selectedAgents) {
|
|
128
|
-
const agentFile = path.join(opts.selection.recipe_dir, agent.file);
|
|
129
|
-
if (!(await fileExists(agentFile))) {
|
|
130
|
-
throw new CliError({
|
|
131
|
-
exitCode: exitCodeForError("E_IO"),
|
|
132
|
-
code: "E_IO",
|
|
133
|
-
message: `Recipe agent file not found: ${agent.file}`,
|
|
134
|
-
});
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
checks.push(`agent files ok: ${selectedAgents.length}`);
|
|
138
|
-
for (const skill of selectedSkills) {
|
|
139
|
-
const skillFile = path.join(opts.selection.recipe_dir, skill.file);
|
|
140
|
-
if (!(await fileExists(skillFile))) {
|
|
141
|
-
throw new CliError({
|
|
142
|
-
exitCode: exitCodeForError("E_IO"),
|
|
143
|
-
code: "E_IO",
|
|
144
|
-
message: `Recipe skill file not found: ${skill.file}`,
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
checks.push(`skill files ok: ${selectedSkills.length}`);
|
|
149
|
-
for (const tool of selectedTools) {
|
|
150
|
-
const toolEntrypoint = path.join(opts.selection.recipe_dir, tool.entrypoint);
|
|
151
|
-
if (!(await fileExists(toolEntrypoint))) {
|
|
152
|
-
throw new CliError({
|
|
153
|
-
exitCode: exitCodeForError("E_IO"),
|
|
154
|
-
code: "E_IO",
|
|
155
|
-
message: `Tool entrypoint not found: ${tool.entrypoint}`,
|
|
156
|
-
});
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
checks.push(`tool entrypoints ok: ${selectedTools.length}`);
|
|
160
|
-
return checks;
|
|
161
|
-
}
|
|
162
|
-
function assertScenarioCompatibility(selection) {
|
|
163
|
-
if (selection.compatibility.ok)
|
|
164
|
-
return;
|
|
165
|
-
const reasons = selection.compatibility.failures
|
|
166
|
-
.map((failure) => `- ${failure.reason}`)
|
|
167
|
-
.join("\n");
|
|
168
|
-
throw new CliError({
|
|
169
|
-
exitCode: exitCodeForError("E_VALIDATION"),
|
|
170
|
-
code: "E_VALIDATION",
|
|
171
|
-
message: `Scenario is not compatible with the current runtime:\n${reasons}`,
|
|
172
|
-
});
|
|
173
|
-
}
|
|
174
|
-
export function resolveRecipeToolInvocation(runtime, entrypoint, args) {
|
|
175
|
-
const invocation = RECIPE_TOOL_INVOCATIONS[runtime](entrypoint);
|
|
176
|
-
return { command: invocation.command, args: [...invocation.args, ...args] };
|
|
177
|
-
}
|
|
178
|
-
export async function cmdScenarioListParsed(opts) {
|
|
179
|
-
try {
|
|
180
|
-
const project = await resolveProject({
|
|
181
|
-
cwd: opts.cwd,
|
|
182
|
-
rootOverride: opts.rootOverride ?? null,
|
|
183
|
-
});
|
|
184
|
-
const entries = await listResolvedRecipeScenarios({
|
|
185
|
-
project,
|
|
186
|
-
includeIncompatible: true,
|
|
187
|
-
});
|
|
188
|
-
if (entries.length === 0) {
|
|
189
|
-
output.line(emptyStateMessage("scenarios", "Install a recipe to add scenarios."));
|
|
190
|
-
return 0;
|
|
191
|
-
}
|
|
192
|
-
for (const entry of entries) {
|
|
193
|
-
const compatibilityLabel = entry.compatibility.ok ? "compatible" : "incompatible";
|
|
194
|
-
output.line(`${entry.recipe_id}:${entry.scenario_id} - ${entry.scenario_summary} ` +
|
|
195
|
-
`[mode=${entry.run_profile.mode}] [${compatibilityLabel}]`);
|
|
196
|
-
}
|
|
197
|
-
return 0;
|
|
198
|
-
}
|
|
199
|
-
catch (err) {
|
|
200
|
-
if (err instanceof CliError)
|
|
201
|
-
throw err;
|
|
202
|
-
throw mapCoreError(err, { command: "recipes scenario list", root: opts.rootOverride ?? null });
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
export async function cmdScenarioInfoParsed(opts) {
|
|
206
|
-
try {
|
|
207
|
-
const project = await resolveProject({
|
|
208
|
-
cwd: opts.cwd,
|
|
209
|
-
rootOverride: opts.rootOverride ?? null,
|
|
210
|
-
});
|
|
211
|
-
const { selection } = await resolveScenarioForCli({
|
|
212
|
-
project,
|
|
213
|
-
recipeId: opts.recipeId,
|
|
214
|
-
scenarioId: opts.scenarioId,
|
|
215
|
-
});
|
|
216
|
-
output.line(`Scenario: ${selection.recipe_id}:${selection.scenario_id}`);
|
|
217
|
-
output.line(`Recipe: ${selection.recipe_name} (${selection.recipe_id}@${selection.recipe_version})`);
|
|
218
|
-
output.line(`Summary: ${selection.scenario_summary}`);
|
|
219
|
-
if (selection.scenario_description) {
|
|
220
|
-
output.line(`Description: ${selection.scenario_description}`);
|
|
221
|
-
}
|
|
222
|
-
output.jsonSection("Use when", selection.use_when);
|
|
223
|
-
if (selection.avoid_when.length > 0) {
|
|
224
|
-
output.jsonSection("Avoid when", selection.avoid_when);
|
|
225
|
-
}
|
|
226
|
-
output.jsonSection("Run profile", selection.run_profile);
|
|
227
|
-
output.jsonSection("Task template", selection.task_template);
|
|
228
|
-
output.line(`Scenario file: ${path.relative(project.gitRoot, selection.scenario_file)}`);
|
|
229
|
-
if (selection.compatibility.ok) {
|
|
230
|
-
output.line("Compatibility: satisfied");
|
|
231
|
-
}
|
|
232
|
-
else {
|
|
233
|
-
output.jsonSection("Compatibility failures", selection.compatibility.failures);
|
|
234
|
-
}
|
|
235
|
-
return 0;
|
|
236
|
-
}
|
|
237
|
-
catch (err) {
|
|
238
|
-
if (err instanceof CliError)
|
|
239
|
-
throw err;
|
|
240
|
-
throw mapCoreError(err, { command: "recipes scenario info", root: opts.rootOverride ?? null });
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
export async function executeRecipeTool(opts) {
|
|
244
|
-
const { command, args } = resolveRecipeToolInvocation(opts.runtime, opts.entrypoint, opts.args);
|
|
245
|
-
try {
|
|
246
|
-
const { stdout, stderr } = await runProcess({
|
|
247
|
-
command,
|
|
248
|
-
args,
|
|
249
|
-
cwd: opts.cwd,
|
|
250
|
-
env: opts.env,
|
|
251
|
-
});
|
|
252
|
-
return { exitCode: 0, stdout: String(stdout), stderr: String(stderr) };
|
|
253
|
-
}
|
|
254
|
-
catch (err) {
|
|
255
|
-
const rawCode = err && typeof err === "object" && "code" in err
|
|
256
|
-
? err.code
|
|
257
|
-
: undefined;
|
|
258
|
-
const code = typeof rawCode === "number" ? rawCode : undefined;
|
|
259
|
-
const isCommandNotFound = rawCode === "ENOENT" || code === 127;
|
|
260
|
-
let execErr = null;
|
|
261
|
-
if (err && typeof err === "object") {
|
|
262
|
-
execErr = err;
|
|
263
|
-
}
|
|
264
|
-
const exitCode = typeof execErr?.code === "number" ? execErr.code : 1;
|
|
265
|
-
let stderrText = String(execErr?.stderr ?? "");
|
|
266
|
-
const isMissingNodeEntrypoint = command === "node" &&
|
|
267
|
-
/Cannot find module/i.test(stderrText) &&
|
|
268
|
-
(stderrText.includes(opts.entrypoint) || stderrText.includes(`${opts.entrypoint}.js`));
|
|
269
|
-
if (isMissingNodeEntrypoint && !isCommandNotFound) {
|
|
270
|
-
const runtimeLabel = opts.entrypoint.replace(/\.(js|mjs|cjs)$/, "");
|
|
271
|
-
stderrText = `Runtime command not found: ${runtimeLabel}`;
|
|
272
|
-
return {
|
|
273
|
-
exitCode: 1,
|
|
274
|
-
stdout: "",
|
|
275
|
-
stderr: stderrText,
|
|
276
|
-
};
|
|
277
|
-
}
|
|
278
|
-
if (isCommandNotFound && !stderrText) {
|
|
279
|
-
stderrText = `Runtime command not found: ${command}`;
|
|
280
|
-
}
|
|
281
|
-
return {
|
|
282
|
-
exitCode,
|
|
283
|
-
stdout: String(execErr?.stdout ?? ""),
|
|
284
|
-
stderr: stderrText,
|
|
285
|
-
};
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
export async function cmdScenarioRunParsed(opts) {
|
|
289
|
-
const project = opts.resolved ??
|
|
290
|
-
(await resolveProject({
|
|
291
|
-
cwd: opts.cwd,
|
|
292
|
-
rootOverride: opts.rootOverride ?? null,
|
|
293
|
-
}));
|
|
294
|
-
try {
|
|
295
|
-
const { entry, selection } = await resolveScenarioForCli({
|
|
296
|
-
project,
|
|
297
|
-
recipeId: opts.recipeId,
|
|
298
|
-
scenarioId: opts.scenarioId,
|
|
299
|
-
});
|
|
300
|
-
assertScenarioCompatibility(selection);
|
|
301
|
-
const scenarioDefinition = await readValidatedScenarioDefinition({ selection });
|
|
302
|
-
const validationChecks = await validateScenarioRecipeFiles({ entry, selection });
|
|
303
|
-
output.line(`Prepared run plan: ${selection.recipe_id}:${selection.scenario_id}`);
|
|
304
|
-
output.line(`Recipe: ${selection.recipe_name} (${selection.recipe_id}@${selection.recipe_version})`);
|
|
305
|
-
output.line(`Goal: ${scenarioDefinition.goal}`);
|
|
306
|
-
output.line(`Scenario file: ${path.relative(project.gitRoot, selection.scenario_file)}`);
|
|
307
|
-
output.jsonSection("Run profile", selection.run_profile);
|
|
308
|
-
output.jsonSection("Selection reasons", selection.selection_reasons);
|
|
309
|
-
output.jsonSection("Validation", [
|
|
310
|
-
`scenario definition ok: ${path.relative(project.gitRoot, selection.scenario_file)}`,
|
|
311
|
-
...validationChecks,
|
|
312
|
-
]);
|
|
313
|
-
output.line("Status: preview only; no task created and no runner executed.");
|
|
314
|
-
output.line(`Next: use \`agentplane recipes scenario execute ${selection.recipe_id}:${selection.scenario_id}\` ` +
|
|
315
|
-
"to materialize and run this scenario.");
|
|
316
|
-
return 0;
|
|
317
|
-
}
|
|
318
|
-
catch (err) {
|
|
319
|
-
if (err instanceof CliError)
|
|
320
|
-
throw err;
|
|
321
|
-
throw mapCoreError(err, { command: "recipes scenario run", root: opts.rootOverride ?? null });
|
|
322
|
-
}
|
|
323
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { CommandHandler, CommandSpec } from "../../cli/spec/spec.js";
|
|
2
|
-
export type ScenarioInfoParsed = {
|
|
3
|
-
recipeId: string;
|
|
4
|
-
scenarioId: string;
|
|
5
|
-
};
|
|
6
|
-
export declare const scenarioInfoSpec: CommandSpec<ScenarioInfoParsed>;
|
|
7
|
-
export declare const runScenarioInfo: CommandHandler<ScenarioInfoParsed>;
|
|
8
|
-
//# sourceMappingURL=info.command.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"info.command.d.ts","sourceRoot":"","sources":["../../../src/commands/scenario/info.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAI1E,MAAM,MAAM,kBAAkB,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAAC;AAE1E,eAAO,MAAM,gBAAgB,EAAE,WAAW,CAAC,kBAAkB,CAuB5D,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,cAAc,CAAC,kBAAkB,CAM3D,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { usageError } from "../../cli/spec/errors.js";
|
|
2
|
-
import { cmdScenarioInfoParsed } from "../scenario.js";
|
|
3
|
-
export const scenarioInfoSpec = {
|
|
4
|
-
id: ["recipes", "scenario", "info"],
|
|
5
|
-
group: "Recipes",
|
|
6
|
-
summary: "Show manifest-backed scenario details and normalized run profile.",
|
|
7
|
-
args: [{ name: "id", required: true, valueHint: "<recipe:scenario>" }],
|
|
8
|
-
examples: [
|
|
9
|
-
{
|
|
10
|
-
cmd: "agentplane recipes scenario info viewer:demo",
|
|
11
|
-
why: "Inspect resolver-backed scenario metadata before execution.",
|
|
12
|
-
},
|
|
13
|
-
],
|
|
14
|
-
parse: (raw) => {
|
|
15
|
-
const id = String(raw.args.id ?? "");
|
|
16
|
-
const [recipeId, scenarioId] = id.split(":", 2);
|
|
17
|
-
if (!recipeId || !scenarioId) {
|
|
18
|
-
throw usageError({
|
|
19
|
-
spec: scenarioInfoSpec,
|
|
20
|
-
command: "recipes scenario info",
|
|
21
|
-
message: `Invalid scenario id: ${id} (expected: <recipe:scenario>)`,
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
return { recipeId, scenarioId };
|
|
25
|
-
},
|
|
26
|
-
};
|
|
27
|
-
export const runScenarioInfo = (ctx, p) => cmdScenarioInfoParsed({
|
|
28
|
-
cwd: ctx.cwd,
|
|
29
|
-
rootOverride: ctx.rootOverride,
|
|
30
|
-
recipeId: p.recipeId,
|
|
31
|
-
scenarioId: p.scenarioId,
|
|
32
|
-
});
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { CommandHandler, CommandSpec } from "../../cli/spec/spec.js";
|
|
2
|
-
export type ScenarioListParsed = Record<string, never>;
|
|
3
|
-
export declare const scenarioListSpec: CommandSpec<ScenarioListParsed>;
|
|
4
|
-
export declare const runScenarioList: CommandHandler<ScenarioListParsed>;
|
|
5
|
-
//# sourceMappingURL=list.command.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list.command.d.ts","sourceRoot":"","sources":["../../../src/commands/scenario/list.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAG1E,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAEvD,eAAO,MAAM,gBAAgB,EAAE,WAAW,CAAC,kBAAkB,CAM5D,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,cAAc,CAAC,kBAAkB,CACU,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { cmdScenarioListParsed } from "../scenario.js";
|
|
2
|
-
export const scenarioListSpec = {
|
|
3
|
-
id: ["recipes", "scenario", "list"],
|
|
4
|
-
group: "Recipes",
|
|
5
|
-
summary: "List resolver-backed scenario descriptors from installed recipes.",
|
|
6
|
-
parse: () => ({}),
|
|
7
|
-
examples: [{ cmd: "agentplane recipes scenario list", why: "List available recipe scenarios." }],
|
|
8
|
-
};
|
|
9
|
-
export const runScenarioList = (ctx) => cmdScenarioListParsed({ cwd: ctx.cwd, rootOverride: ctx.rootOverride });
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { CommandHandler, CommandSpec } from "../../cli/spec/spec.js";
|
|
2
|
-
export type ScenarioRunParsed = {
|
|
3
|
-
recipeId: string;
|
|
4
|
-
scenarioId: string;
|
|
5
|
-
};
|
|
6
|
-
export declare const scenarioRunSpec: CommandSpec<ScenarioRunParsed>;
|
|
7
|
-
export declare const runScenarioRun: CommandHandler<ScenarioRunParsed>;
|
|
8
|
-
//# sourceMappingURL=run.command.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"run.command.d.ts","sourceRoot":"","sources":["../../../src/commands/scenario/run.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAI1E,MAAM,MAAM,iBAAiB,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAAC;AAEzE,eAAO,MAAM,eAAe,EAAE,WAAW,CAAC,iBAAiB,CAuB1D,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,cAAc,CAAC,iBAAiB,CAMzD,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { usageError } from "../../cli/spec/errors.js";
|
|
2
|
-
import { cmdScenarioRunParsed } from "../scenario.js";
|
|
3
|
-
export const scenarioRunSpec = {
|
|
4
|
-
id: ["recipes", "scenario", "run"],
|
|
5
|
-
group: "Recipes",
|
|
6
|
-
summary: "Preview a validated scenario plan without creating a task or running a runner.",
|
|
7
|
-
args: [{ name: "id", required: true, valueHint: "<recipe:scenario>" }],
|
|
8
|
-
examples: [
|
|
9
|
-
{
|
|
10
|
-
cmd: "agentplane recipes scenario run viewer:demo",
|
|
11
|
-
why: "Validate a scenario and inspect the preview plan before `recipes scenario execute`.",
|
|
12
|
-
},
|
|
13
|
-
],
|
|
14
|
-
parse: (raw) => {
|
|
15
|
-
const id = String(raw.args.id ?? "");
|
|
16
|
-
const [recipeId, scenarioId] = id.split(":", 2);
|
|
17
|
-
if (!recipeId || !scenarioId) {
|
|
18
|
-
throw usageError({
|
|
19
|
-
spec: scenarioRunSpec,
|
|
20
|
-
command: "recipes scenario run",
|
|
21
|
-
message: `Invalid scenario id: ${id} (expected: <recipe:scenario>)`,
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
return { recipeId, scenarioId };
|
|
25
|
-
},
|
|
26
|
-
};
|
|
27
|
-
export const runScenarioRun = (ctx, p) => cmdScenarioRunParsed({
|
|
28
|
-
cwd: ctx.cwd,
|
|
29
|
-
rootOverride: ctx.rootOverride,
|
|
30
|
-
recipeId: p.recipeId,
|
|
31
|
-
scenarioId: p.scenarioId,
|
|
32
|
-
});
|