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,250 +0,0 @@
|
|
|
1
|
-
import { readFile } from "node:fs/promises";
|
|
2
|
-
import path from "node:path";
|
|
3
|
-
import { resolveBaseBranch, gitEnv, gitDiffNames, findWorktreeForBranch, gitListBranchesByPrefixes, parseTaskIdFromCloseBranch, parseTaskIdFromBranch, } from "@agentplaneorg/core/git";
|
|
4
|
-
import { normalizeTaskStatus } from "@agentplaneorg/core/tasks";
|
|
5
|
-
import { mapBackendError } from "../../cli/error-map.js";
|
|
6
|
-
import { createCliEmitter, unknownEntityMessage, workflowModeMessage } from "../../cli/output.js";
|
|
7
|
-
import { CliError } from "../../shared/errors.js";
|
|
8
|
-
import { ensureGitClean } from "../guard/index.js";
|
|
9
|
-
import { execFileAsync } from "@agentplaneorg/core/process";
|
|
10
|
-
import { gitBranchExists, gitCurrentBranch, gitIsAncestor } from "../shared/git-ops.js";
|
|
11
|
-
import { cleanupMergedLocalBranch } from "../shared/merged-branch-cleanup.js";
|
|
12
|
-
import { isPathWithin, resolvePathFallback } from "../shared/path.js";
|
|
13
|
-
import { parsePrMeta } from "../shared/pr-meta.js";
|
|
14
|
-
import { loadTaskFromContext, loadCommandContext, } from "../shared/task-backend.js";
|
|
15
|
-
import { archivePrArtifacts } from "./internal/archive-pr.js";
|
|
16
|
-
const output = createCliEmitter();
|
|
17
|
-
function resolveCleanupBranchTaskId(opts) {
|
|
18
|
-
const taskId = parseTaskIdFromBranch(opts.prefix, opts.branch);
|
|
19
|
-
if (taskId)
|
|
20
|
-
return { taskId, kind: "task" };
|
|
21
|
-
const closeTaskId = parseTaskIdFromCloseBranch(opts.branch);
|
|
22
|
-
if (closeTaskId)
|
|
23
|
-
return { taskId: closeTaskId, kind: "task-close" };
|
|
24
|
-
return null;
|
|
25
|
-
}
|
|
26
|
-
async function readCleanupPrMetaIfPresent(opts) {
|
|
27
|
-
const metaPath = path.join(opts.gitRoot, opts.workflowDir, opts.taskId, "pr", "meta.json");
|
|
28
|
-
try {
|
|
29
|
-
const raw = await readFile(metaPath, "utf8");
|
|
30
|
-
return parsePrMeta(raw, opts.taskId);
|
|
31
|
-
}
|
|
32
|
-
catch {
|
|
33
|
-
return null;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
async function taskLifecycleIsOnBase(opts) {
|
|
37
|
-
const taskCommitHash = opts.task.commit?.hash?.trim() ?? "";
|
|
38
|
-
if (taskCommitHash && (await gitIsAncestor(opts.gitRoot, taskCommitHash, opts.baseBranch))) {
|
|
39
|
-
return true;
|
|
40
|
-
}
|
|
41
|
-
const meta = await readCleanupPrMetaIfPresent({
|
|
42
|
-
gitRoot: opts.gitRoot,
|
|
43
|
-
workflowDir: opts.workflowDir,
|
|
44
|
-
taskId: opts.taskId,
|
|
45
|
-
});
|
|
46
|
-
const mergeCommit = meta?.status === "MERGED" ? (meta.merge_commit?.trim() ?? "") : "";
|
|
47
|
-
return (mergeCommit.length > 0 && (await gitIsAncestor(opts.gitRoot, mergeCommit, opts.baseBranch)));
|
|
48
|
-
}
|
|
49
|
-
async function resolveCleanupCandidates(opts) {
|
|
50
|
-
const prefix = opts.ctx.config.branch.task_prefix;
|
|
51
|
-
const branches = await gitListBranchesByPrefixes(opts.gitRoot, [prefix, "task-close"]);
|
|
52
|
-
const taskCache = new Map();
|
|
53
|
-
const candidates = [];
|
|
54
|
-
for (const branch of branches) {
|
|
55
|
-
if (branch === opts.baseBranch)
|
|
56
|
-
continue;
|
|
57
|
-
const target = resolveCleanupBranchTaskId({ branch, prefix });
|
|
58
|
-
if (!target)
|
|
59
|
-
continue;
|
|
60
|
-
let task = taskCache.get(target.taskId) ?? null;
|
|
61
|
-
if (!taskCache.has(target.taskId)) {
|
|
62
|
-
try {
|
|
63
|
-
task = await loadTaskFromContext({ ctx: opts.ctx, taskId: target.taskId });
|
|
64
|
-
}
|
|
65
|
-
catch {
|
|
66
|
-
task = null;
|
|
67
|
-
}
|
|
68
|
-
taskCache.set(target.taskId, task);
|
|
69
|
-
}
|
|
70
|
-
if (!task)
|
|
71
|
-
continue;
|
|
72
|
-
const status = normalizeTaskStatus(task.status);
|
|
73
|
-
if (status !== "DONE")
|
|
74
|
-
continue;
|
|
75
|
-
const diff = await gitDiffNames(opts.gitRoot, opts.baseBranch, branch);
|
|
76
|
-
const lifecycleOnBase = await taskLifecycleIsOnBase({
|
|
77
|
-
gitRoot: opts.gitRoot,
|
|
78
|
-
workflowDir: opts.workflowDir,
|
|
79
|
-
baseBranch: opts.baseBranch,
|
|
80
|
-
task,
|
|
81
|
-
taskId: target.taskId,
|
|
82
|
-
});
|
|
83
|
-
if (diff.length > 0 && !lifecycleOnBase)
|
|
84
|
-
continue;
|
|
85
|
-
const worktreePath = await findWorktreeForBranch(opts.gitRoot, branch);
|
|
86
|
-
candidates.push({ taskId: target.taskId, branch, worktreePath });
|
|
87
|
-
}
|
|
88
|
-
return candidates;
|
|
89
|
-
}
|
|
90
|
-
function isMissingRemoteBranchDelete(error) {
|
|
91
|
-
const stdout = String(error?.stdout ?? "");
|
|
92
|
-
const stderr = String(error?.stderr ?? "");
|
|
93
|
-
const text = `${stdout}\n${stderr}`;
|
|
94
|
-
return (text.includes("remote ref does not exist") ||
|
|
95
|
-
text.includes("unable to delete") ||
|
|
96
|
-
text.includes("remote reference is not a full refname"));
|
|
97
|
-
}
|
|
98
|
-
async function deleteRemoteBranchIfPresent(gitRoot, branch) {
|
|
99
|
-
try {
|
|
100
|
-
await execFileAsync("git", ["push", "origin", "--delete", branch], {
|
|
101
|
-
cwd: gitRoot,
|
|
102
|
-
env: gitEnv(),
|
|
103
|
-
});
|
|
104
|
-
return true;
|
|
105
|
-
}
|
|
106
|
-
catch (error) {
|
|
107
|
-
if (isMissingRemoteBranchDelete(error)) {
|
|
108
|
-
return false;
|
|
109
|
-
}
|
|
110
|
-
throw error;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
export async function cmdCleanupMerged(opts) {
|
|
114
|
-
try {
|
|
115
|
-
const ctx = opts.ctx ??
|
|
116
|
-
(await loadCommandContext({ cwd: opts.cwd, rootOverride: opts.rootOverride ?? null }));
|
|
117
|
-
const resolved = ctx.resolvedProject;
|
|
118
|
-
const config = ctx.config;
|
|
119
|
-
if (config.workflow_mode !== "branch_pr") {
|
|
120
|
-
throw new CliError({
|
|
121
|
-
exitCode: 2,
|
|
122
|
-
code: "E_USAGE",
|
|
123
|
-
message: workflowModeMessage(config.workflow_mode, "branch_pr"),
|
|
124
|
-
});
|
|
125
|
-
}
|
|
126
|
-
await ensureGitClean({ cwd: opts.cwd, rootOverride: opts.rootOverride });
|
|
127
|
-
if (opts.fetch) {
|
|
128
|
-
await execFileAsync("git", ["fetch", "--prune", "origin"], {
|
|
129
|
-
cwd: resolved.gitRoot,
|
|
130
|
-
env: gitEnv(),
|
|
131
|
-
});
|
|
132
|
-
}
|
|
133
|
-
const baseBranch = await resolveBaseBranch({
|
|
134
|
-
cwd: opts.cwd,
|
|
135
|
-
rootOverride: opts.rootOverride ?? null,
|
|
136
|
-
cliBaseOpt: opts.base ?? null,
|
|
137
|
-
mode: config.workflow_mode,
|
|
138
|
-
});
|
|
139
|
-
if (!baseBranch) {
|
|
140
|
-
throw new CliError({
|
|
141
|
-
exitCode: 2,
|
|
142
|
-
code: "E_USAGE",
|
|
143
|
-
message: "Base branch could not be resolved (use `agentplane branch base set` or --base).",
|
|
144
|
-
});
|
|
145
|
-
}
|
|
146
|
-
if (!(await gitBranchExists(resolved.gitRoot, baseBranch))) {
|
|
147
|
-
throw new CliError({
|
|
148
|
-
exitCode: 5,
|
|
149
|
-
code: "E_GIT",
|
|
150
|
-
message: unknownEntityMessage("base branch", baseBranch),
|
|
151
|
-
});
|
|
152
|
-
}
|
|
153
|
-
const currentBranch = await gitCurrentBranch(resolved.gitRoot);
|
|
154
|
-
if (currentBranch !== baseBranch) {
|
|
155
|
-
throw new CliError({
|
|
156
|
-
exitCode: 5,
|
|
157
|
-
code: "E_GIT",
|
|
158
|
-
message: `cleanup merged must run on base branch ${baseBranch} (current: ${currentBranch})`,
|
|
159
|
-
});
|
|
160
|
-
}
|
|
161
|
-
const repoRoot = await resolvePathFallback(resolved.gitRoot);
|
|
162
|
-
const candidates = await resolveCleanupCandidates({
|
|
163
|
-
ctx,
|
|
164
|
-
gitRoot: resolved.gitRoot,
|
|
165
|
-
workflowDir: config.paths.workflow_dir,
|
|
166
|
-
baseBranch,
|
|
167
|
-
});
|
|
168
|
-
const sortedCandidates = candidates.toSorted((a, b) => a.taskId.localeCompare(b.taskId));
|
|
169
|
-
if (!opts.quiet) {
|
|
170
|
-
const archiveLabel = opts.archive ? " archive=on" : "";
|
|
171
|
-
const fetchLabel = opts.fetch ? " fetch=on" : "";
|
|
172
|
-
const remoteLabel = opts.deleteRemoteBranches ? " remote=delete" : "";
|
|
173
|
-
output.line(`cleanup merged (base=${baseBranch}${archiveLabel}${fetchLabel}${remoteLabel})`);
|
|
174
|
-
if (sortedCandidates.length === 0) {
|
|
175
|
-
output.line("no candidates");
|
|
176
|
-
return 0;
|
|
177
|
-
}
|
|
178
|
-
for (const item of sortedCandidates) {
|
|
179
|
-
output.line(`- ${item.taskId}: branch=${item.branch} worktree=${item.worktreePath ?? "-"}`);
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
if (!opts.yes) {
|
|
183
|
-
if (!opts.quiet) {
|
|
184
|
-
output.line("Re-run with --yes to delete these branches/worktrees.");
|
|
185
|
-
}
|
|
186
|
-
return 0;
|
|
187
|
-
}
|
|
188
|
-
const skipUnsafeWorktrees = opts.skipUnsafeWorktrees === true;
|
|
189
|
-
let deletedRemoteBranches = 0;
|
|
190
|
-
let skippedUnsafe = 0;
|
|
191
|
-
for (const item of sortedCandidates) {
|
|
192
|
-
const worktreePath = item.worktreePath ? await resolvePathFallback(item.worktreePath) : null;
|
|
193
|
-
if (worktreePath) {
|
|
194
|
-
const outsideRepo = !isPathWithin(repoRoot, worktreePath);
|
|
195
|
-
const currentWorktree = worktreePath === repoRoot;
|
|
196
|
-
if (outsideRepo || currentWorktree) {
|
|
197
|
-
if (skipUnsafeWorktrees) {
|
|
198
|
-
skippedUnsafe += 1;
|
|
199
|
-
continue;
|
|
200
|
-
}
|
|
201
|
-
if (outsideRepo) {
|
|
202
|
-
throw new CliError({
|
|
203
|
-
exitCode: 5,
|
|
204
|
-
code: "E_GIT",
|
|
205
|
-
message: `Refusing to remove worktree outside repo: ${worktreePath}`,
|
|
206
|
-
});
|
|
207
|
-
}
|
|
208
|
-
throw new CliError({
|
|
209
|
-
exitCode: 5,
|
|
210
|
-
code: "E_GIT",
|
|
211
|
-
message: "Refusing to remove the current worktree",
|
|
212
|
-
});
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
if (opts.archive) {
|
|
216
|
-
const taskDir = path.join(resolved.gitRoot, config.paths.workflow_dir, item.taskId);
|
|
217
|
-
await archivePrArtifacts(taskDir);
|
|
218
|
-
}
|
|
219
|
-
await cleanupMergedLocalBranch({
|
|
220
|
-
gitRoot: resolved.gitRoot,
|
|
221
|
-
branch: item.branch,
|
|
222
|
-
worktreePathHint: worktreePath,
|
|
223
|
-
});
|
|
224
|
-
if (opts.deleteRemoteBranches) {
|
|
225
|
-
deletedRemoteBranches += (await deleteRemoteBranchIfPresent(resolved.gitRoot, item.branch))
|
|
226
|
-
? 1
|
|
227
|
-
: 0;
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
if (opts.deleteRemoteBranches) {
|
|
231
|
-
await execFileAsync("git", ["fetch", "--prune", "origin"], {
|
|
232
|
-
cwd: resolved.gitRoot,
|
|
233
|
-
env: gitEnv(),
|
|
234
|
-
});
|
|
235
|
-
}
|
|
236
|
-
if (!opts.quiet) {
|
|
237
|
-
const remoteDetail = opts.deleteRemoteBranches
|
|
238
|
-
? ` remote_deleted=${deletedRemoteBranches}`
|
|
239
|
-
: "";
|
|
240
|
-
const skippedDetail = skipUnsafeWorktrees ? ` skipped_unsafe=${skippedUnsafe}` : "";
|
|
241
|
-
output.success("cleanup merged", undefined, `deleted=${candidates.length - skippedUnsafe}${remoteDetail}${skippedDetail}`);
|
|
242
|
-
}
|
|
243
|
-
return 0;
|
|
244
|
-
}
|
|
245
|
-
catch (err) {
|
|
246
|
-
if (err instanceof CliError)
|
|
247
|
-
throw err;
|
|
248
|
-
throw mapBackendError(err, { command: "cleanup merged", root: opts.rootOverride ?? null });
|
|
249
|
-
}
|
|
250
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { ensureInitCommit, gitInitRepo, promptInitBaseBranch, resolveInitBaseBranch, } from "../shared/git-ops.js";
|
|
2
|
-
export { cmdBranchBaseClear, cmdBranchBaseExplain, cmdBranchBaseGet, cmdBranchBaseSet, } from "./base.js";
|
|
3
|
-
export { cmdBranchRemove } from "./remove.js";
|
|
4
|
-
export { cmdBranchStatus } from "./status.js";
|
|
5
|
-
export { cmdCleanupMerged } from "./cleanup-merged.js";
|
|
6
|
-
export { cmdWorkStart } from "./work-start.js";
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/branch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { ensureInitCommit, gitInitRepo, promptInitBaseBranch, resolveInitBaseBranch, } from "../shared/git-ops.js";
|
|
2
|
-
export { cmdBranchBaseClear, cmdBranchBaseExplain, cmdBranchBaseGet, cmdBranchBaseSet, } from "./base.js";
|
|
3
|
-
export { cmdBranchRemove } from "./remove.js";
|
|
4
|
-
export { cmdBranchStatus } from "./status.js";
|
|
5
|
-
export { cmdCleanupMerged } from "./cleanup-merged.js";
|
|
6
|
-
export { cmdWorkStart } from "./work-start.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"archive-pr.d.ts","sourceRoot":"","sources":["../../../../src/commands/branch/internal/archive-pr.ts"],"names":[],"mappings":"AAKA,wBAAsB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAYhF"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { mkdir, rename } from "node:fs/promises";
|
|
2
|
-
import path from "node:path";
|
|
3
|
-
import { fileExists } from "../../../cli/fs-utils.js";
|
|
4
|
-
export async function archivePrArtifacts(taskDir) {
|
|
5
|
-
const prDir = path.join(taskDir, "pr");
|
|
6
|
-
if (!(await fileExists(prDir)))
|
|
7
|
-
return null;
|
|
8
|
-
const archiveRoot = path.join(taskDir, "pr-archive");
|
|
9
|
-
await mkdir(archiveRoot, { recursive: true });
|
|
10
|
-
const stamp = new Date().toISOString().replaceAll(/[:.]/g, "");
|
|
11
|
-
let dest = path.join(archiveRoot, stamp);
|
|
12
|
-
if (await fileExists(dest)) {
|
|
13
|
-
dest = path.join(archiveRoot, `${stamp}-${Math.random().toString(36).slice(2, 8)}`);
|
|
14
|
-
}
|
|
15
|
-
await rename(prDir, dest);
|
|
16
|
-
return dest;
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"work-validate.d.ts","sourceRoot":"","sources":["../../../../src/commands/branch/internal/work-validate.ts"],"names":[],"mappings":"AAGA,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAgBnD;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAgBrD"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { CliError } from "../../../shared/errors.js";
|
|
2
|
-
import { exitCodeForError } from "../../../cli/exit-codes.js";
|
|
3
|
-
export function validateWorkSlug(slug) {
|
|
4
|
-
const trimmed = slug.trim();
|
|
5
|
-
if (!trimmed) {
|
|
6
|
-
throw new CliError({
|
|
7
|
-
exitCode: exitCodeForError("E_USAGE"),
|
|
8
|
-
code: "E_USAGE",
|
|
9
|
-
message: "Invalid value for --slug.",
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
if (!/^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(trimmed)) {
|
|
13
|
-
throw new CliError({
|
|
14
|
-
exitCode: exitCodeForError("E_USAGE"),
|
|
15
|
-
code: "E_USAGE",
|
|
16
|
-
message: "Slug must be lowercase kebab-case (a-z, 0-9, hyphen).",
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
export function validateWorkAgent(agent) {
|
|
21
|
-
const trimmed = agent.trim();
|
|
22
|
-
if (!trimmed) {
|
|
23
|
-
throw new CliError({
|
|
24
|
-
exitCode: exitCodeForError("E_USAGE"),
|
|
25
|
-
code: "E_USAGE",
|
|
26
|
-
message: "Invalid value for --agent.",
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
if (!/^[A-Z0-9_]+$/.test(trimmed)) {
|
|
30
|
-
throw new CliError({
|
|
31
|
-
exitCode: exitCodeForError("E_USAGE"),
|
|
32
|
-
code: "E_USAGE",
|
|
33
|
-
message: "Agent id must be uppercase letters, numbers, or underscores.",
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { CommandHandler, CommandSpec } from "../../cli/spec/spec.js";
|
|
2
|
-
export type BranchRemoveParsed = {
|
|
3
|
-
branch: string | null;
|
|
4
|
-
worktree: string | null;
|
|
5
|
-
force: boolean;
|
|
6
|
-
yes: boolean;
|
|
7
|
-
quiet: boolean;
|
|
8
|
-
};
|
|
9
|
-
export declare const branchRemoveSpec: CommandSpec<BranchRemoveParsed>;
|
|
10
|
-
export declare const runBranchRemove: CommandHandler<BranchRemoveParsed>;
|
|
11
|
-
//# sourceMappingURL=remove.command.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remove.command.d.ts","sourceRoot":"","sources":["../../../src/commands/branch/remove.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAK1E,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,OAAO,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,WAAW,CAAC,kBAAkB,CAyD5D,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,cAAc,CAAC,kBAAkB,CAU9D,CAAC"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { usageError } from "../../cli/spec/errors.js";
|
|
2
|
-
import { cmdBranchRemove } from "./index.js";
|
|
3
|
-
export const branchRemoveSpec = {
|
|
4
|
-
id: ["branch", "remove"],
|
|
5
|
-
group: "Branch",
|
|
6
|
-
summary: "Remove a task branch and/or its worktree.",
|
|
7
|
-
options: [
|
|
8
|
-
{
|
|
9
|
-
kind: "string",
|
|
10
|
-
name: "branch",
|
|
11
|
-
valueHint: "<name>",
|
|
12
|
-
description: "Branch name to delete.",
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
kind: "string",
|
|
16
|
-
name: "worktree",
|
|
17
|
-
valueHint: "<path>",
|
|
18
|
-
description: "Worktree path to remove (relative to repo root or absolute).",
|
|
19
|
-
},
|
|
20
|
-
{ kind: "boolean", name: "force", default: false, description: "Force deletion." },
|
|
21
|
-
{
|
|
22
|
-
kind: "boolean",
|
|
23
|
-
name: "yes",
|
|
24
|
-
default: false,
|
|
25
|
-
description: "Auto-approve force-action approval checks when required.",
|
|
26
|
-
},
|
|
27
|
-
{ kind: "boolean", name: "quiet", default: false, description: "Reduce output noise." },
|
|
28
|
-
],
|
|
29
|
-
examples: [
|
|
30
|
-
{
|
|
31
|
-
cmd: "agentplane branch remove --branch task/202602030608-F1Q8AB/cli",
|
|
32
|
-
why: "Delete a branch.",
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
cmd: "agentplane branch remove --worktree .agentplane/worktrees/202602030608-F1Q8AB-cli",
|
|
36
|
-
why: "Remove a worktree.",
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
cmd: "agentplane branch remove --branch task/202602030608-F1Q8AB/cli --worktree .agentplane/worktrees/202602030608-F1Q8AB-cli --force",
|
|
40
|
-
why: "Force-remove both worktree and branch.",
|
|
41
|
-
},
|
|
42
|
-
],
|
|
43
|
-
validateRaw: (raw) => {
|
|
44
|
-
const branch = typeof raw.opts.branch === "string" ? raw.opts.branch.trim() : "";
|
|
45
|
-
const worktree = typeof raw.opts.worktree === "string" ? raw.opts.worktree.trim() : "";
|
|
46
|
-
if (!branch && !worktree) {
|
|
47
|
-
throw usageError({
|
|
48
|
-
spec: branchRemoveSpec,
|
|
49
|
-
message: "Missing required option: provide --branch and/or --worktree.",
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
parse: (raw) => ({
|
|
54
|
-
branch: typeof raw.opts.branch === "string" ? raw.opts.branch : null,
|
|
55
|
-
worktree: typeof raw.opts.worktree === "string" ? raw.opts.worktree : null,
|
|
56
|
-
force: raw.opts.force === true,
|
|
57
|
-
yes: raw.opts.yes === true,
|
|
58
|
-
quiet: raw.opts.quiet === true,
|
|
59
|
-
}),
|
|
60
|
-
};
|
|
61
|
-
export const runBranchRemove = async (ctx, p) => {
|
|
62
|
-
return await cmdBranchRemove({
|
|
63
|
-
cwd: ctx.cwd,
|
|
64
|
-
rootOverride: ctx.rootOverride,
|
|
65
|
-
branch: p.branch ?? undefined,
|
|
66
|
-
worktree: p.worktree ?? undefined,
|
|
67
|
-
force: p.force,
|
|
68
|
-
yes: p.yes,
|
|
69
|
-
quiet: p.quiet,
|
|
70
|
-
});
|
|
71
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remove.d.ts","sourceRoot":"","sources":["../../../src/commands/branch/remove.ts"],"names":[],"mappings":"AAcA,wBAAsB,eAAe,CAAC,IAAI,EAAE;IAC1C,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,OAAO,CAAC;CAChB,GAAG,OAAO,CAAC,MAAM,CAAC,CAqElB"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import path from "node:path";
|
|
2
|
-
import { loadConfig } from "@agentplaneorg/core/config";
|
|
3
|
-
import { resolveProject } from "@agentplaneorg/core/project";
|
|
4
|
-
import { mapCoreError } from "../../cli/error-map.js";
|
|
5
|
-
import { createCliEmitter, unknownEntityMessage } from "../../cli/output.js";
|
|
6
|
-
import { CliError } from "../../shared/errors.js";
|
|
7
|
-
import { ensureActionApproved } from "../shared/approval-requirements.js";
|
|
8
|
-
import { execFileAsync } from "@agentplaneorg/core/process";
|
|
9
|
-
import { gitEnv } from "@agentplaneorg/core/git";
|
|
10
|
-
import { gitBranchExists } from "../shared/git-ops.js";
|
|
11
|
-
import { isPathWithin, resolvePathFallback } from "../shared/path.js";
|
|
12
|
-
export async function cmdBranchRemove(opts) {
|
|
13
|
-
const branch = (opts.branch ?? "").trim();
|
|
14
|
-
const worktree = (opts.worktree ?? "").trim();
|
|
15
|
-
const output = createCliEmitter();
|
|
16
|
-
if (!branch && !worktree) {
|
|
17
|
-
throw new CliError({
|
|
18
|
-
exitCode: 2,
|
|
19
|
-
code: "E_USAGE",
|
|
20
|
-
message: "Missing required option: --branch or --worktree.",
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
try {
|
|
24
|
-
const resolved = await resolveProject({
|
|
25
|
-
cwd: opts.cwd,
|
|
26
|
-
rootOverride: opts.rootOverride ?? null,
|
|
27
|
-
});
|
|
28
|
-
const loaded = await loadConfig(resolved.agentplaneDir);
|
|
29
|
-
if (opts.force) {
|
|
30
|
-
await ensureActionApproved({
|
|
31
|
-
action: "force_action",
|
|
32
|
-
config: loaded.config,
|
|
33
|
-
yes: opts.yes === true,
|
|
34
|
-
reason: "branch remove --force",
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
if (worktree) {
|
|
38
|
-
const worktreePath = path.isAbsolute(worktree)
|
|
39
|
-
? await resolvePathFallback(worktree)
|
|
40
|
-
: await resolvePathFallback(path.join(resolved.gitRoot, worktree));
|
|
41
|
-
const worktreesRoot = path.resolve(resolved.gitRoot, loaded.config.paths.worktrees_dir);
|
|
42
|
-
if (!isPathWithin(worktreesRoot, worktreePath)) {
|
|
43
|
-
throw new CliError({
|
|
44
|
-
exitCode: 2,
|
|
45
|
-
code: "E_USAGE",
|
|
46
|
-
message: `Refusing to remove worktree outside ${worktreesRoot}: ${worktreePath}`,
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
await execFileAsync("git", ["worktree", "remove", ...(opts.force ? ["--force"] : []), worktreePath], { cwd: resolved.gitRoot, env: gitEnv() });
|
|
50
|
-
if (!opts.quiet) {
|
|
51
|
-
output.success("removed worktree", worktreePath);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
if (branch) {
|
|
55
|
-
if (!(await gitBranchExists(resolved.gitRoot, branch))) {
|
|
56
|
-
throw new CliError({
|
|
57
|
-
exitCode: 2,
|
|
58
|
-
code: "E_USAGE",
|
|
59
|
-
message: unknownEntityMessage("branch", branch),
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
await execFileAsync("git", ["branch", opts.force ? "-D" : "-d", branch], {
|
|
63
|
-
cwd: resolved.gitRoot,
|
|
64
|
-
env: gitEnv(),
|
|
65
|
-
});
|
|
66
|
-
if (!opts.quiet) {
|
|
67
|
-
output.success("removed branch", branch);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
return 0;
|
|
71
|
-
}
|
|
72
|
-
catch (err) {
|
|
73
|
-
if (err instanceof CliError)
|
|
74
|
-
throw err;
|
|
75
|
-
throw mapCoreError(err, { command: "branch remove", root: opts.rootOverride ?? null });
|
|
76
|
-
}
|
|
77
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { CommandHandler, CommandSpec } from "../../cli/spec/spec.js";
|
|
2
|
-
export type BranchStatusParsed = {
|
|
3
|
-
branch: string | null;
|
|
4
|
-
base: string | null;
|
|
5
|
-
};
|
|
6
|
-
export declare const branchStatusSpec: CommandSpec<BranchStatusParsed>;
|
|
7
|
-
export declare const runBranchStatus: CommandHandler<BranchStatusParsed>;
|
|
8
|
-
//# sourceMappingURL=status.command.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"status.command.d.ts","sourceRoot":"","sources":["../../../src/commands/branch/status.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAI1E,MAAM,MAAM,kBAAkB,GAAG;IAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAC;AAEhF,eAAO,MAAM,gBAAgB,EAAE,WAAW,CAAC,kBAAkB,CA0B5D,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,cAAc,CAAC,kBAAkB,CAO9D,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { cmdBranchStatus } from "./index.js";
|
|
2
|
-
export const branchStatusSpec = {
|
|
3
|
-
id: ["branch", "status"],
|
|
4
|
-
group: "Branch",
|
|
5
|
-
summary: "Show ahead/behind status for a branch relative to a base branch.",
|
|
6
|
-
options: [
|
|
7
|
-
{
|
|
8
|
-
kind: "string",
|
|
9
|
-
name: "branch",
|
|
10
|
-
valueHint: "<name>",
|
|
11
|
-
description: "Branch name (default: current branch).",
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
kind: "string",
|
|
15
|
-
name: "base",
|
|
16
|
-
valueHint: "<name>",
|
|
17
|
-
description: "Base branch name (default: auto-resolved base).",
|
|
18
|
-
},
|
|
19
|
-
],
|
|
20
|
-
examples: [
|
|
21
|
-
{ cmd: "agentplane branch status", why: "Check current branch against effective base." },
|
|
22
|
-
{ cmd: "agentplane branch status --base main", why: "Check against an explicit base." },
|
|
23
|
-
],
|
|
24
|
-
parse: (raw) => ({
|
|
25
|
-
branch: typeof raw.opts.branch === "string" ? raw.opts.branch : null,
|
|
26
|
-
base: typeof raw.opts.base === "string" ? raw.opts.base : null,
|
|
27
|
-
}),
|
|
28
|
-
};
|
|
29
|
-
export const runBranchStatus = async (ctx, p) => {
|
|
30
|
-
return await cmdBranchStatus({
|
|
31
|
-
cwd: ctx.cwd,
|
|
32
|
-
rootOverride: ctx.rootOverride,
|
|
33
|
-
branch: p.branch ?? undefined,
|
|
34
|
-
base: p.base ?? undefined,
|
|
35
|
-
});
|
|
36
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../src/commands/branch/status.ts"],"names":[],"mappings":"AAgBA,wBAAsB,eAAe,CAAC,IAAI,EAAE;IAC1C,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,OAAO,CAAC,MAAM,CAAC,CA0DlB"}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { loadConfig } from "@agentplaneorg/core/config";
|
|
2
|
-
import { resolveProject } from "@agentplaneorg/core/project";
|
|
3
|
-
import { resolveBaseBranch, gitAheadBehind, findWorktreeForBranch, parseTaskIdFromBranch, } from "@agentplaneorg/core/git";
|
|
4
|
-
import { mapCoreError } from "../../cli/error-map.js";
|
|
5
|
-
import { exitCodeForError } from "../../cli/exit-codes.js";
|
|
6
|
-
import { createCliEmitter, unknownEntityMessage } from "../../cli/output.js";
|
|
7
|
-
import { CliError } from "../../shared/errors.js";
|
|
8
|
-
import { gitBranchExists, gitCurrentBranch } from "../shared/git-ops.js";
|
|
9
|
-
const output = createCliEmitter();
|
|
10
|
-
export async function cmdBranchStatus(opts) {
|
|
11
|
-
try {
|
|
12
|
-
const resolved = await resolveProject({
|
|
13
|
-
cwd: opts.cwd,
|
|
14
|
-
rootOverride: opts.rootOverride ?? null,
|
|
15
|
-
});
|
|
16
|
-
const loaded = await loadConfig(resolved.agentplaneDir);
|
|
17
|
-
const branch = (opts.branch ?? (await gitCurrentBranch(resolved.gitRoot))).trim();
|
|
18
|
-
const base = await resolveBaseBranch({
|
|
19
|
-
cwd: opts.cwd,
|
|
20
|
-
rootOverride: opts.rootOverride ?? null,
|
|
21
|
-
cliBaseOpt: opts.base ?? null,
|
|
22
|
-
mode: loaded.config.workflow_mode,
|
|
23
|
-
});
|
|
24
|
-
if (!branch) {
|
|
25
|
-
throw new CliError({
|
|
26
|
-
exitCode: exitCodeForError("E_USAGE"),
|
|
27
|
-
code: "E_USAGE",
|
|
28
|
-
message: "Invalid value for --branch.",
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
if (!base) {
|
|
32
|
-
throw new CliError({
|
|
33
|
-
exitCode: exitCodeForError("E_USAGE"),
|
|
34
|
-
code: "E_USAGE",
|
|
35
|
-
message: "Base branch could not be resolved (use `agentplane branch base set` or --base).",
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
if (!(await gitBranchExists(resolved.gitRoot, branch))) {
|
|
39
|
-
throw new CliError({
|
|
40
|
-
exitCode: exitCodeForError("E_USAGE"),
|
|
41
|
-
code: "E_USAGE",
|
|
42
|
-
message: unknownEntityMessage("branch", branch),
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
if (!(await gitBranchExists(resolved.gitRoot, base))) {
|
|
46
|
-
throw new CliError({
|
|
47
|
-
exitCode: exitCodeForError("E_USAGE"),
|
|
48
|
-
code: "E_USAGE",
|
|
49
|
-
message: unknownEntityMessage("base branch", base),
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
const taskId = parseTaskIdFromBranch(loaded.config.branch.task_prefix, branch);
|
|
53
|
-
const worktree = await findWorktreeForBranch(resolved.gitRoot, branch);
|
|
54
|
-
const { ahead, behind } = await gitAheadBehind(resolved.gitRoot, base, branch);
|
|
55
|
-
output.line(`branch=${branch} base=${base} ahead=${ahead} behind=${behind} task_id=${taskId ?? "-"}`);
|
|
56
|
-
if (worktree) {
|
|
57
|
-
output.line(`worktree=${worktree}`);
|
|
58
|
-
}
|
|
59
|
-
return 0;
|
|
60
|
-
}
|
|
61
|
-
catch (err) {
|
|
62
|
-
if (err instanceof CliError)
|
|
63
|
-
throw err;
|
|
64
|
-
throw mapCoreError(err, { command: "branch status", root: opts.rootOverride ?? null });
|
|
65
|
-
}
|
|
66
|
-
}
|