agentplane 0.3.24 → 0.3.26
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 +2 -1
- package/dist/.build-manifest.json +93 -103
- package/dist/cli.js +349 -361
- package/package.json +13 -7
- 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,94 +0,0 @@
|
|
|
1
|
-
import type { ParsedTaskReadme } from "@agentplaneorg/core/tasks";
|
|
2
|
-
import type { TaskData, TaskEvent } from "../../../backends/task-backend.js";
|
|
3
|
-
import type { CommandContext } from "../task-backend.js";
|
|
4
|
-
export type CachedTask = {
|
|
5
|
-
task: TaskData;
|
|
6
|
-
readmePath: string;
|
|
7
|
-
mtimeMs: number;
|
|
8
|
-
parsed: ParsedTaskReadme;
|
|
9
|
-
rawText: string;
|
|
10
|
-
};
|
|
11
|
-
export type TaskComment = NonNullable<TaskData["comments"]>[number];
|
|
12
|
-
export type TaskDocState = {
|
|
13
|
-
comments: TaskData["comments"] | null;
|
|
14
|
-
doc: string;
|
|
15
|
-
doc_updated_at?: string;
|
|
16
|
-
doc_updated_by?: string;
|
|
17
|
-
doc_version: 2 | 3;
|
|
18
|
-
owner: string;
|
|
19
|
-
sections?: TaskData["sections"] | null;
|
|
20
|
-
};
|
|
21
|
-
export type TaskStoreTaskPatch = Partial<Omit<TaskData, "doc" | "comments" | "events" | "doc_version" | "doc_updated_at" | "doc_updated_by">>;
|
|
22
|
-
export type TaskStoreDocPatch = {
|
|
23
|
-
kind: "replace-doc";
|
|
24
|
-
doc: string;
|
|
25
|
-
expectedCurrentDoc?: string | null;
|
|
26
|
-
} | {
|
|
27
|
-
kind: "set-section";
|
|
28
|
-
section: string;
|
|
29
|
-
text: string;
|
|
30
|
-
requiredSections: string[];
|
|
31
|
-
expectedCurrentText?: string | null;
|
|
32
|
-
};
|
|
33
|
-
export type TaskStorePatch = {
|
|
34
|
-
task?: TaskStoreTaskPatch;
|
|
35
|
-
appendComments?: TaskComment[];
|
|
36
|
-
appendEvents?: TaskEvent[];
|
|
37
|
-
doc?: TaskStoreDocPatch;
|
|
38
|
-
docMeta?: {
|
|
39
|
-
touch?: boolean;
|
|
40
|
-
updatedBy?: string;
|
|
41
|
-
version?: 2 | 3;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
export type TaskStoreIntent = {
|
|
45
|
-
kind: "set-task-fields";
|
|
46
|
-
task: TaskStoreTaskPatch;
|
|
47
|
-
} | {
|
|
48
|
-
kind: "append-comments";
|
|
49
|
-
comments: TaskComment[];
|
|
50
|
-
} | {
|
|
51
|
-
kind: "append-events";
|
|
52
|
-
events: TaskEvent[];
|
|
53
|
-
} | {
|
|
54
|
-
kind: "replace-doc";
|
|
55
|
-
doc: string;
|
|
56
|
-
expectedCurrentDoc?: string | null;
|
|
57
|
-
} | {
|
|
58
|
-
kind: "set-section";
|
|
59
|
-
section: string;
|
|
60
|
-
text: string;
|
|
61
|
-
requiredSections: string[];
|
|
62
|
-
expectedCurrentText?: string | null;
|
|
63
|
-
} | {
|
|
64
|
-
kind: "touch-doc-meta";
|
|
65
|
-
updatedBy?: string;
|
|
66
|
-
version?: 2 | 3;
|
|
67
|
-
};
|
|
68
|
-
export type TaskStoreIntentResult = TaskStoreIntent | readonly TaskStoreIntent[] | null | undefined;
|
|
69
|
-
export type TaskStoreMutationOptions = {
|
|
70
|
-
expectedRevision?: number;
|
|
71
|
-
};
|
|
72
|
-
export type TaskStoreLike = Pick<TaskStore, "patch"> & {
|
|
73
|
-
mutate?: TaskStore["mutate"];
|
|
74
|
-
};
|
|
75
|
-
export type TaskStoreReader = {
|
|
76
|
-
get(taskId: string): Promise<TaskData>;
|
|
77
|
-
};
|
|
78
|
-
export interface TaskStore {
|
|
79
|
-
get(taskId: string): Promise<TaskData>;
|
|
80
|
-
update(taskId: string, updater: (current: TaskData) => Promise<TaskData> | TaskData, opts?: TaskStoreMutationOptions): Promise<{
|
|
81
|
-
changed: boolean;
|
|
82
|
-
task: TaskData;
|
|
83
|
-
}>;
|
|
84
|
-
patch(taskId: string, builder: (current: TaskData) => Promise<TaskStorePatch | null | undefined> | TaskStorePatch | null | undefined, opts?: TaskStoreMutationOptions): Promise<{
|
|
85
|
-
changed: boolean;
|
|
86
|
-
task: TaskData;
|
|
87
|
-
}>;
|
|
88
|
-
mutate(taskId: string, builder: (current: TaskData) => Promise<TaskStoreIntentResult> | TaskStoreIntentResult, opts?: TaskStoreMutationOptions): Promise<{
|
|
89
|
-
changed: boolean;
|
|
90
|
-
task: TaskData;
|
|
91
|
-
}>;
|
|
92
|
-
}
|
|
93
|
-
export type TaskStoreContext = CommandContext;
|
|
94
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/commands/shared/task-store/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAElE,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,EAAE,QAAQ,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,gBAAgB,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,WAAW,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;AACpE,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,EAAE,QAAQ,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC;IACtC,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,CAAC,GAAG,CAAC,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,QAAQ,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,OAAO,CACtC,IAAI,CACF,QAAQ,EACR,KAAK,GAAG,UAAU,GAAG,QAAQ,GAAG,aAAa,GAAG,gBAAgB,GAAG,gBAAgB,CACpF,CACF,CAAC;AAEF,MAAM,MAAM,iBAAiB,GACzB;IACE,IAAI,EAAE,aAAa,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACpC,GACD;IACE,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACrC,CAAC;AAEN,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B,cAAc,CAAC,EAAE,WAAW,EAAE,CAAC;IAC/B,YAAY,CAAC,EAAE,SAAS,EAAE,CAAC;IAC3B,GAAG,CAAC,EAAE,iBAAiB,CAAC;IACxB,OAAO,CAAC,EAAE;QACR,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;KACjB,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,eAAe,GACvB;IACE,IAAI,EAAE,iBAAiB,CAAC;IACxB,IAAI,EAAE,kBAAkB,CAAC;CAC1B,GACD;IACE,IAAI,EAAE,iBAAiB,CAAC;IACxB,QAAQ,EAAE,WAAW,EAAE,CAAC;CACzB,GACD;IACE,IAAI,EAAE,eAAe,CAAC;IACtB,MAAM,EAAE,SAAS,EAAE,CAAC;CACrB,GACD;IACE,IAAI,EAAE,aAAa,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACpC,GACD;IACE,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACrC,GACD;IACE,IAAI,EAAE,gBAAgB,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;CACjB,CAAC;AAEN,MAAM,MAAM,qBAAqB,GAAG,eAAe,GAAG,SAAS,eAAe,EAAE,GAAG,IAAI,GAAG,SAAS,CAAC;AAEpG,MAAM,MAAM,wBAAwB,GAAG;IACrC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,GAAG;IACrD,MAAM,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;CACxC,CAAC;AAEF,MAAM,WAAW,SAAS;IACxB,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;IACvC,MAAM,CACJ,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,CAAC,OAAO,EAAE,QAAQ,KAAK,OAAO,CAAC,QAAQ,CAAC,GAAG,QAAQ,EAC5D,IAAI,CAAC,EAAE,wBAAwB,GAC9B,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,QAAQ,CAAA;KAAE,CAAC,CAAC;IACjD,KAAK,CACH,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,CACP,OAAO,EAAE,QAAQ,KACd,OAAO,CAAC,cAAc,GAAG,IAAI,GAAG,SAAS,CAAC,GAAG,cAAc,GAAG,IAAI,GAAG,SAAS,EACnF,IAAI,CAAC,EAAE,wBAAwB,GAC9B,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,QAAQ,CAAA;KAAE,CAAC,CAAC;IACjD,MAAM,CACJ,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,CAAC,OAAO,EAAE,QAAQ,KAAK,OAAO,CAAC,qBAAqB,CAAC,GAAG,qBAAqB,EACtF,IAAI,CAAC,EAAE,wBAAwB,GAC9B,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,QAAQ,CAAA;KAAE,CAAC,CAAC;CAClD;AAED,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export type { TaskStoreDocPatch, TaskStoreIntent, TaskStoreIntentResult, TaskStoreLike, TaskStoreMutationOptions, TaskStorePatch, TaskStoreTaskPatch, } from "./task-store/types.js";
|
|
2
|
-
export { appendTaskCommentIntent, appendTaskCommentsIntent, appendTaskEventIntent, appendTaskEventsIntent, applyTaskStoreIntentsToTask, mutateTaskStore, replaceTaskDocIntent, setTaskFieldsIntent, setTaskSectionIntent, taskStorePatchFromIntents, touchTaskDocMetaIntent, } from "./task-store/intents.js";
|
|
3
|
-
export { TaskStore, backendIsLocalFileBackend, getTaskStore } from "./task-store/store.js";
|
|
4
|
-
//# sourceMappingURL=task-store.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"task-store.d.ts","sourceRoot":"","sources":["../../../src/commands/shared/task-store.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,wBAAwB,EACxB,cAAc,EACd,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,sBAAsB,EACtB,2BAA2B,EAC3B,eAAe,EACf,oBAAoB,EACpB,mBAAmB,EACnB,oBAAoB,EACpB,yBAAyB,EACzB,sBAAsB,GACvB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,SAAS,EAAE,yBAAyB,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { appendTaskCommentIntent, appendTaskCommentsIntent, appendTaskEventIntent, appendTaskEventsIntent, applyTaskStoreIntentsToTask, mutateTaskStore, replaceTaskDocIntent, setTaskFieldsIntent, setTaskSectionIntent, taskStorePatchFromIntents, touchTaskDocMetaIntent, } from "./task-store/intents.js";
|
|
2
|
-
export { TaskStore, backendIsLocalFileBackend, getTaskStore } from "./task-store/store.js";
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { CommandCtx } from "../cli/spec/spec.js";
|
|
2
|
-
import type { CommandContext } from "./shared/task-backend.js";
|
|
3
|
-
import type { StartParsed } from "./start.spec.js";
|
|
4
|
-
export declare function makeRunStartHandler(getCtx: (cmd: string) => Promise<CommandContext>): (ctx: CommandCtx, p: StartParsed) => Promise<number>;
|
|
5
|
-
//# sourceMappingURL=start.run.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"start.run.d.ts","sourceRoot":"","sources":["../../src/commands/start.run.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAG/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,cAAc,CAAC,IACpE,KAAK,UAAU,EAAE,GAAG,WAAW,KAAG,OAAO,CAAC,MAAM,CAAC,CAoBhE"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { cmdStart } from "./task/start.js";
|
|
2
|
-
export function makeRunStartHandler(getCtx) {
|
|
3
|
-
return async (ctx, p) => {
|
|
4
|
-
return await cmdStart({
|
|
5
|
-
ctx: await getCtx("start"),
|
|
6
|
-
cwd: ctx.cwd,
|
|
7
|
-
rootOverride: ctx.rootOverride,
|
|
8
|
-
taskId: p.taskId,
|
|
9
|
-
author: p.author,
|
|
10
|
-
body: p.body,
|
|
11
|
-
commitFromComment: p.commitFromComment,
|
|
12
|
-
commitEmoji: p.commitEmoji,
|
|
13
|
-
commitAllow: p.commitAllow,
|
|
14
|
-
commitAutoAllow: p.commitAutoAllow,
|
|
15
|
-
commitAllowTasks: p.commitAllowTasks,
|
|
16
|
-
commitRequireClean: p.commitRequireClean,
|
|
17
|
-
confirmStatusCommit: p.confirmStatusCommit,
|
|
18
|
-
force: p.force,
|
|
19
|
-
yes: p.yes,
|
|
20
|
-
quiet: p.quiet,
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { CommandSpec } from "../cli/spec/spec.js";
|
|
2
|
-
export type StartParsed = {
|
|
3
|
-
taskId: string;
|
|
4
|
-
author: string;
|
|
5
|
-
body: string;
|
|
6
|
-
commitFromComment: boolean;
|
|
7
|
-
commitEmoji?: string;
|
|
8
|
-
commitAllow: string[];
|
|
9
|
-
commitAutoAllow: boolean;
|
|
10
|
-
commitAllowTasks: boolean;
|
|
11
|
-
commitRequireClean: boolean;
|
|
12
|
-
confirmStatusCommit: boolean;
|
|
13
|
-
force: boolean;
|
|
14
|
-
yes: boolean;
|
|
15
|
-
quiet: boolean;
|
|
16
|
-
};
|
|
17
|
-
export declare const startSpec: CommandSpec<StartParsed>;
|
|
18
|
-
//# sourceMappingURL=start.spec.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"start.spec.d.ts","sourceRoot":"","sources":["../../src/commands/start.spec.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AASvD,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB,EAAE,OAAO,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,eAAe,EAAE,OAAO,CAAC;IACzB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,mBAAmB,EAAE,OAAO,CAAC;IAC7B,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,OAAO,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,WAAW,CAAC,WAAW,CA8I9C,CAAC"}
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import { usageError } from "../cli/spec/errors.js";
|
|
2
|
-
import { findRepoWideAllowPrefixes, repoWideAllowPrefixMessage, } from "./shared/allow-prefix-policy.js";
|
|
3
|
-
import { toStringList } from "../cli/spec/parse-utils.js";
|
|
4
|
-
export const startSpec = {
|
|
5
|
-
id: ["start"],
|
|
6
|
-
group: "Lifecycle",
|
|
7
|
-
summary: "Transition a task to DOING and record a structured Start comment.",
|
|
8
|
-
args: [
|
|
9
|
-
{
|
|
10
|
-
name: "task-id",
|
|
11
|
-
required: true,
|
|
12
|
-
valueHint: "<task-id>",
|
|
13
|
-
description: "Existing task id.",
|
|
14
|
-
},
|
|
15
|
-
],
|
|
16
|
-
options: [
|
|
17
|
-
{
|
|
18
|
-
kind: "string",
|
|
19
|
-
name: "author",
|
|
20
|
-
valueHint: "<id>",
|
|
21
|
-
required: true,
|
|
22
|
-
description: "Comment author id (e.g. CODER).",
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
kind: "string",
|
|
26
|
-
name: "body",
|
|
27
|
-
valueHint: "<text>",
|
|
28
|
-
required: true,
|
|
29
|
-
description: "Structured comment body (must match the configured Start: prefix).",
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
kind: "boolean",
|
|
33
|
-
name: "commit-from-comment",
|
|
34
|
-
default: false,
|
|
35
|
-
description: "Create a status commit using the comment body.",
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
kind: "string",
|
|
39
|
-
name: "commit-emoji",
|
|
40
|
-
valueHint: "<emoji>",
|
|
41
|
-
description: "Override the status commit emoji (used with --commit-from-comment).",
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
kind: "string",
|
|
45
|
-
name: "commit-allow",
|
|
46
|
-
valueHint: "<path-prefix>",
|
|
47
|
-
repeatable: true,
|
|
48
|
-
description: "Repeatable. Allowlist path prefixes to stage for the status commit (used with --commit-from-comment). Use minimal prefixes; '.' is rejected.",
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
kind: "boolean",
|
|
52
|
-
name: "commit-auto-allow",
|
|
53
|
-
default: false,
|
|
54
|
-
description: "Deprecated. Disabled for safety; pass explicit --commit-allow prefixes.",
|
|
55
|
-
deprecated: "disabled",
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
kind: "boolean",
|
|
59
|
-
name: "commit-allow-tasks",
|
|
60
|
-
default: true,
|
|
61
|
-
hidden: true,
|
|
62
|
-
description: "Deprecated. Tasks are always allowed for status commits.",
|
|
63
|
-
deprecated: "no-op",
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
kind: "boolean",
|
|
67
|
-
name: "commit-require-clean",
|
|
68
|
-
default: false,
|
|
69
|
-
description: "Require a clean working tree for the status commit (used with --commit-from-comment).",
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
kind: "boolean",
|
|
73
|
-
name: "confirm-status-commit",
|
|
74
|
-
default: false,
|
|
75
|
-
description: "Confirm status commit creation when status_commit_policy=confirm (used with --commit-from-comment).",
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
kind: "boolean",
|
|
79
|
-
name: "force",
|
|
80
|
-
default: false,
|
|
81
|
-
description: "Override readiness checks and status transition restrictions.",
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
kind: "boolean",
|
|
85
|
-
name: "yes",
|
|
86
|
-
default: false,
|
|
87
|
-
description: "Auto-approve force-action approval checks when required.",
|
|
88
|
-
},
|
|
89
|
-
{ kind: "boolean", name: "quiet", default: false, description: "Suppress output." },
|
|
90
|
-
],
|
|
91
|
-
examples: [
|
|
92
|
-
{
|
|
93
|
-
cmd: 'agentplane start 202602030608-F1Q8AB --author CODER --body "Start: implement spec-driven CLI"',
|
|
94
|
-
why: "Start work on a task.",
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
cmd: 'agentplane start 202602030608-F1Q8AB --author CODER --body "Start: implement spec-driven CLI" --commit-from-comment --commit-allow packages/agentplane/src',
|
|
98
|
-
why: "Start work and create a status commit from the comment.",
|
|
99
|
-
},
|
|
100
|
-
],
|
|
101
|
-
validateRaw: (raw) => {
|
|
102
|
-
const author = typeof raw.opts.author === "string" ? raw.opts.author.trim() : "";
|
|
103
|
-
const body = typeof raw.opts.body === "string" ? raw.opts.body.trim() : "";
|
|
104
|
-
const commitAllow = toStringList(raw.opts["commit-allow"]);
|
|
105
|
-
if (!author)
|
|
106
|
-
throw usageError({ spec: startSpec, message: "Invalid value for --author: empty." });
|
|
107
|
-
if (!body)
|
|
108
|
-
throw usageError({ spec: startSpec, message: "Invalid value for --body: empty." });
|
|
109
|
-
if (findRepoWideAllowPrefixes(commitAllow).length > 0) {
|
|
110
|
-
throw usageError({
|
|
111
|
-
spec: startSpec,
|
|
112
|
-
message: repoWideAllowPrefixMessage("--commit-allow"),
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
if (raw.opts["commit-auto-allow"] === true) {
|
|
116
|
-
throw usageError({
|
|
117
|
-
spec: startSpec,
|
|
118
|
-
message: "--commit-auto-allow is disabled; pass explicit --commit-allow <path-prefix>.",
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
if (raw.opts["commit-from-comment"] === true && commitAllow.length === 0) {
|
|
122
|
-
throw usageError({
|
|
123
|
-
spec: startSpec,
|
|
124
|
-
message: "--commit-from-comment requires --commit-allow <path-prefix> (tip: `agentplane guard suggest-allow --format args`).",
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
parse: (raw) => ({
|
|
129
|
-
taskId: typeof raw.args["task-id"] === "string" ? raw.args["task-id"] : "",
|
|
130
|
-
author: raw.opts.author,
|
|
131
|
-
body: raw.opts.body,
|
|
132
|
-
commitFromComment: raw.opts["commit-from-comment"] === true,
|
|
133
|
-
commitEmoji: raw.opts["commit-emoji"],
|
|
134
|
-
commitAllow: toStringList(raw.opts["commit-allow"]),
|
|
135
|
-
commitAutoAllow: raw.opts["commit-auto-allow"] === true,
|
|
136
|
-
commitAllowTasks: raw.opts["commit-allow-tasks"] !== false,
|
|
137
|
-
commitRequireClean: raw.opts["commit-require-clean"] === true,
|
|
138
|
-
confirmStatusCommit: raw.opts["confirm-status-commit"] === true,
|
|
139
|
-
force: raw.opts.force === true,
|
|
140
|
-
yes: raw.opts.yes === true,
|
|
141
|
-
quiet: raw.opts.quiet === true,
|
|
142
|
-
}),
|
|
143
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { CommandCtx, CommandSpec } from "../cli/spec/spec.js";
|
|
2
|
-
import type { CommandContext } from "./shared/task-backend.js";
|
|
3
|
-
import { type SyncParsed } from "./backend.js";
|
|
4
|
-
export declare const syncSpec: CommandSpec<SyncParsed>;
|
|
5
|
-
export declare function makeRunSyncHandler(getCtx: (cmd: string) => Promise<CommandContext>): (ctx: CommandCtx, p: SyncParsed) => Promise<number>;
|
|
6
|
-
//# sourceMappingURL=sync.command.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sync.command.d.ts","sourceRoot":"","sources":["../../src/commands/sync.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAiB,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAE9D,eAAO,MAAM,QAAQ,EAAE,WAAW,CAAC,UAAU,CAmD5C,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,cAAc,CAAC,IACnE,KAAK,UAAU,EAAE,GAAG,UAAU,KAAG,OAAO,CAAC,MAAM,CAAC,CAS/D"}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { COMMAND_SNIPPETS } from "../cli/command-snippets.js";
|
|
2
|
-
import { cmdSyncParsed } from "./backend.js";
|
|
3
|
-
export const syncSpec = {
|
|
4
|
-
id: ["sync"],
|
|
5
|
-
group: "Backend",
|
|
6
|
-
summary: "Sync the configured backend (alias).",
|
|
7
|
-
description: "Alias for backend sync using the configured backend id. Optionally pass an explicit backend id.",
|
|
8
|
-
args: [
|
|
9
|
-
{
|
|
10
|
-
name: "id",
|
|
11
|
-
required: false,
|
|
12
|
-
valueHint: "<id>",
|
|
13
|
-
description: "Optional backend id (must match configured backend id).",
|
|
14
|
-
},
|
|
15
|
-
],
|
|
16
|
-
options: [
|
|
17
|
-
{
|
|
18
|
-
kind: "string",
|
|
19
|
-
name: "direction",
|
|
20
|
-
valueHint: "<push|pull>",
|
|
21
|
-
choices: ["push", "pull"],
|
|
22
|
-
default: "push",
|
|
23
|
-
description: "Sync direction (default: push).",
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
kind: "string",
|
|
27
|
-
name: "conflict",
|
|
28
|
-
valueHint: "<diff|prefer-local|prefer-remote|fail>",
|
|
29
|
-
choices: ["diff", "prefer-local", "prefer-remote", "fail"],
|
|
30
|
-
default: "diff",
|
|
31
|
-
description: "Conflict handling policy (default: diff).",
|
|
32
|
-
},
|
|
33
|
-
{ kind: "boolean", name: "yes", default: false, description: "Auto-approve network access." },
|
|
34
|
-
{ kind: "boolean", name: "quiet", default: false, description: "Reduce output noise." },
|
|
35
|
-
],
|
|
36
|
-
examples: [
|
|
37
|
-
{
|
|
38
|
-
cmd: COMMAND_SNIPPETS.sync.pullConfigured,
|
|
39
|
-
why: "Pull from backend (configured backend id).",
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
cmd: COMMAND_SNIPPETS.sync.pushRedmineExplicitWithYes,
|
|
43
|
-
why: "Push to redmine backend.",
|
|
44
|
-
},
|
|
45
|
-
],
|
|
46
|
-
parse: (raw) => ({
|
|
47
|
-
backendId: raw.args.id ? String(raw.args.id) : null,
|
|
48
|
-
direction: (raw.opts.direction ?? "push"),
|
|
49
|
-
conflict: (raw.opts.conflict ?? "diff"),
|
|
50
|
-
yes: raw.opts.yes === true,
|
|
51
|
-
quiet: raw.opts.quiet === true,
|
|
52
|
-
}),
|
|
53
|
-
};
|
|
54
|
-
export function makeRunSyncHandler(getCtx) {
|
|
55
|
-
return async (ctx, p) => {
|
|
56
|
-
const commandCtx = await getCtx("sync");
|
|
57
|
-
return await cmdSyncParsed({
|
|
58
|
-
ctx: commandCtx,
|
|
59
|
-
cwd: ctx.cwd,
|
|
60
|
-
rootOverride: ctx.rootOverride,
|
|
61
|
-
flags: p,
|
|
62
|
-
});
|
|
63
|
-
};
|
|
64
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { type TaskStatus } from "@agentplaneorg/core/tasks";
|
|
2
|
-
import type { CommandCtx, CommandSpec } from "../../cli/spec/spec.js";
|
|
3
|
-
import type { CommandContext } from "../shared/task-backend.js";
|
|
4
|
-
export type TaskAddParsed = {
|
|
5
|
-
taskIds: string[];
|
|
6
|
-
title: string;
|
|
7
|
-
description: string;
|
|
8
|
-
status: TaskStatus;
|
|
9
|
-
priority: "low" | "normal" | "med" | "high";
|
|
10
|
-
owner: string;
|
|
11
|
-
tags: string[];
|
|
12
|
-
dependsOn: string[];
|
|
13
|
-
verify: string[];
|
|
14
|
-
commentAuthor: string | null;
|
|
15
|
-
commentBody: string | null;
|
|
16
|
-
};
|
|
17
|
-
export declare const taskAddSpec: CommandSpec<TaskAddParsed>;
|
|
18
|
-
export declare function makeRunTaskAddHandler(getCtx: (cmd: string) => Promise<CommandContext>): (ctx: CommandCtx, p: TaskAddParsed) => Promise<number>;
|
|
19
|
-
//# sourceMappingURL=add.command.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"add.command.d.ts","sourceRoot":"","sources":["../../../src/commands/task/add.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEhF,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAGtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAKhE,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,UAAU,CAAC;IACnB,QAAQ,EAAE,KAAK,GAAG,QAAQ,GAAG,KAAK,GAAG,MAAM,CAAC;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WAAW,CAAC,aAAa,CAmIlD,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,cAAc,CAAC,IACtE,KAAK,UAAU,EAAE,GAAG,aAAa,KAAG,OAAO,CAAC,MAAM,CAAC,CAkBlE"}
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import { TASK_STATUS_VALUES } from "@agentplaneorg/core/tasks";
|
|
2
|
-
import { usageError } from "../../cli/spec/errors.js";
|
|
3
|
-
import { toStringList } from "../../cli/spec/parse-utils.js";
|
|
4
|
-
import { cmdTaskAdd } from "./add.js";
|
|
5
|
-
import { normalizeDependsOnInput } from "./shared.js";
|
|
6
|
-
export const taskAddSpec = {
|
|
7
|
-
id: ["task", "add"],
|
|
8
|
-
group: "Task",
|
|
9
|
-
summary: "Create one or more tasks with explicit ids (prints the created task ids).",
|
|
10
|
-
args: [{ name: "task-id", required: true, variadic: true, valueHint: "<task-id>" }],
|
|
11
|
-
options: [
|
|
12
|
-
{ kind: "string", name: "title", valueHint: "<text>", required: true, description: "Title." },
|
|
13
|
-
{
|
|
14
|
-
kind: "string",
|
|
15
|
-
name: "description",
|
|
16
|
-
valueHint: "<text>",
|
|
17
|
-
required: true,
|
|
18
|
-
description: "Description.",
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
kind: "string",
|
|
22
|
-
name: "status",
|
|
23
|
-
valueHint: "<TODO|DOING|DONE|BLOCKED>",
|
|
24
|
-
choices: [...TASK_STATUS_VALUES],
|
|
25
|
-
default: "TODO",
|
|
26
|
-
description: "Initial status (default: TODO).",
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
kind: "string",
|
|
30
|
-
name: "priority",
|
|
31
|
-
valueHint: "<low|normal|med|high>",
|
|
32
|
-
choices: ["low", "normal", "med", "high"],
|
|
33
|
-
required: true,
|
|
34
|
-
description: "Task priority.",
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
kind: "string",
|
|
38
|
-
name: "owner",
|
|
39
|
-
valueHint: "<id>",
|
|
40
|
-
required: true,
|
|
41
|
-
description: "Owner id (e.g. CODER).",
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
kind: "string",
|
|
45
|
-
name: "tag",
|
|
46
|
-
valueHint: "<tag>",
|
|
47
|
-
repeatable: true,
|
|
48
|
-
minCount: 1,
|
|
49
|
-
description: "Repeatable. Adds a tag (must provide at least one).",
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
kind: "string",
|
|
53
|
-
name: "depends-on",
|
|
54
|
-
valueHint: "<task-id>",
|
|
55
|
-
repeatable: true,
|
|
56
|
-
coerce: (raw) => normalizeDependsOnInput(raw),
|
|
57
|
-
description: "Repeatable. Adds a dependency. Special-case: '[]' is treated as empty.",
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
kind: "string",
|
|
61
|
-
name: "verify",
|
|
62
|
-
valueHint: "<command>",
|
|
63
|
-
repeatable: true,
|
|
64
|
-
description: "Repeatable. Verification commands/checks to run for this task.",
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
kind: "string",
|
|
68
|
-
name: "comment-author",
|
|
69
|
-
valueHint: "<id>",
|
|
70
|
-
description: "Optional. Adds a comment author (requires --comment-body).",
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
kind: "string",
|
|
74
|
-
name: "comment-body",
|
|
75
|
-
valueHint: "<text>",
|
|
76
|
-
description: "Optional. Adds a comment body (requires --comment-author).",
|
|
77
|
-
},
|
|
78
|
-
],
|
|
79
|
-
examples: [
|
|
80
|
-
{
|
|
81
|
-
cmd: 'agentplane task add 202602030608-F1Q8AB --title "Refactor CLI" --description "Spec-driven CLI" --priority med --owner CODER --tag cli',
|
|
82
|
-
why: "Create a task with an explicit id.",
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
cmd: 'agentplane task add 202602030608-F1Q8AB 202602030608-ZZZZZZ --title "Refactor CLI" --description "Spec-driven CLI" --priority med --owner CODER --tag cli',
|
|
86
|
-
why: "Create multiple tasks with shared metadata.",
|
|
87
|
-
},
|
|
88
|
-
],
|
|
89
|
-
validateRaw: (raw) => {
|
|
90
|
-
for (const k of ["title", "description", "owner"]) {
|
|
91
|
-
const v = raw.opts[k];
|
|
92
|
-
if (typeof v === "string" && v.trim() === "") {
|
|
93
|
-
throw usageError({ spec: taskAddSpec, message: `Invalid value for --${k}: empty.` });
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
const tags = toStringList(raw.opts.tag);
|
|
97
|
-
if (tags.some((t) => t.trim() === "")) {
|
|
98
|
-
throw usageError({ spec: taskAddSpec, message: "Invalid value for --tag: empty." });
|
|
99
|
-
}
|
|
100
|
-
const commentAuthor = raw.opts["comment-author"];
|
|
101
|
-
const commentBody = raw.opts["comment-body"];
|
|
102
|
-
const hasAuthor = typeof commentAuthor === "string" && commentAuthor.trim() !== "";
|
|
103
|
-
const hasBody = typeof commentBody === "string" && commentBody.trim() !== "";
|
|
104
|
-
if (hasAuthor !== hasBody) {
|
|
105
|
-
throw usageError({
|
|
106
|
-
spec: taskAddSpec,
|
|
107
|
-
message: "Both --comment-author and --comment-body must be provided together.",
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
parse: (raw) => {
|
|
112
|
-
const taskIds = Array.isArray(raw.args["task-id"]) ? raw.args["task-id"].map(String) : [];
|
|
113
|
-
const tags = toStringList(raw.opts.tag);
|
|
114
|
-
const dependsOn = toStringList(raw.opts["depends-on"]);
|
|
115
|
-
const verify = toStringList(raw.opts.verify);
|
|
116
|
-
const commentAuthor = typeof raw.opts["comment-author"] === "string" ? raw.opts["comment-author"] : null;
|
|
117
|
-
const commentBody = typeof raw.opts["comment-body"] === "string" ? raw.opts["comment-body"] : null;
|
|
118
|
-
return {
|
|
119
|
-
taskIds,
|
|
120
|
-
title: String(raw.opts.title),
|
|
121
|
-
description: String(raw.opts.description),
|
|
122
|
-
status: (raw.opts.status ?? "TODO"),
|
|
123
|
-
priority: raw.opts.priority,
|
|
124
|
-
owner: String(raw.opts.owner),
|
|
125
|
-
tags,
|
|
126
|
-
dependsOn,
|
|
127
|
-
verify,
|
|
128
|
-
commentAuthor,
|
|
129
|
-
commentBody,
|
|
130
|
-
};
|
|
131
|
-
},
|
|
132
|
-
};
|
|
133
|
-
export function makeRunTaskAddHandler(getCtx) {
|
|
134
|
-
return async (ctx, p) => {
|
|
135
|
-
return await cmdTaskAdd({
|
|
136
|
-
ctx: await getCtx("task add"),
|
|
137
|
-
cwd: ctx.cwd,
|
|
138
|
-
rootOverride: ctx.rootOverride,
|
|
139
|
-
taskIds: p.taskIds,
|
|
140
|
-
title: p.title,
|
|
141
|
-
description: p.description,
|
|
142
|
-
status: p.status,
|
|
143
|
-
priority: p.priority,
|
|
144
|
-
owner: p.owner,
|
|
145
|
-
tags: p.tags,
|
|
146
|
-
dependsOn: p.dependsOn,
|
|
147
|
-
verify: p.verify,
|
|
148
|
-
commentAuthor: p.commentAuthor,
|
|
149
|
-
commentBody: p.commentBody,
|
|
150
|
-
});
|
|
151
|
-
};
|
|
152
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { type CommandContext } from "../shared/task-backend.js";
|
|
2
|
-
export declare function cmdTaskAdd(opts: {
|
|
3
|
-
ctx?: CommandContext;
|
|
4
|
-
cwd: string;
|
|
5
|
-
rootOverride?: string;
|
|
6
|
-
taskIds: string[];
|
|
7
|
-
title: string;
|
|
8
|
-
description: string;
|
|
9
|
-
status: string;
|
|
10
|
-
priority: string;
|
|
11
|
-
owner: string;
|
|
12
|
-
tags: string[];
|
|
13
|
-
dependsOn: string[];
|
|
14
|
-
verify: string[];
|
|
15
|
-
commentAuthor: string | null;
|
|
16
|
-
commentBody: string | null;
|
|
17
|
-
}): Promise<number>;
|
|
18
|
-
//# sourceMappingURL=add.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../src/commands/task/add.ts"],"names":[],"mappings":"AAGA,OAAO,EAAsB,KAAK,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAKpF,wBAAsB,UAAU,CAAC,IAAI,EAAE;IACrC,GAAG,CAAC,EAAE,cAAc,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B,GAAG,OAAO,CAAC,MAAM,CAAC,CA2DlB"}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { mapBackendError } from "../../cli/error-map.js";
|
|
2
|
-
import { CliError } from "../../shared/errors.js";
|
|
3
|
-
import { loadCommandContext } from "../shared/task-backend.js";
|
|
4
|
-
import { applyTaskCollectionMutation } from "../shared/task-mutation.js";
|
|
5
|
-
import { dedupeStrings, normalizeTaskStatus, nowIso } from "./shared.js";
|
|
6
|
-
import { defaultTaskDocV3, TASK_DOC_VERSION_V3 } from "./doc-template.js";
|
|
7
|
-
export async function cmdTaskAdd(opts) {
|
|
8
|
-
try {
|
|
9
|
-
const ctx = opts.ctx ??
|
|
10
|
-
(await loadCommandContext({ cwd: opts.cwd, rootOverride: opts.rootOverride ?? null }));
|
|
11
|
-
const status = normalizeTaskStatus(opts.status);
|
|
12
|
-
const tags = dedupeStrings(opts.tags);
|
|
13
|
-
const dependsOn = dedupeStrings(opts.dependsOn);
|
|
14
|
-
const verify = dedupeStrings(opts.verify);
|
|
15
|
-
const docUpdatedBy = (opts.commentAuthor ?? "").trim() || opts.owner;
|
|
16
|
-
const { tasksToWrite } = await applyTaskCollectionMutation({
|
|
17
|
-
ctx,
|
|
18
|
-
build: (existing) => {
|
|
19
|
-
const existingIds = new Set(existing.map((task) => task.id));
|
|
20
|
-
for (const taskId of opts.taskIds) {
|
|
21
|
-
if (existingIds.has(taskId)) {
|
|
22
|
-
throw new CliError({
|
|
23
|
-
exitCode: 2,
|
|
24
|
-
code: "E_USAGE",
|
|
25
|
-
message: `Task already exists: ${taskId}`,
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
const tasksToWrite = opts.taskIds.map((taskId) => ({
|
|
30
|
-
id: taskId,
|
|
31
|
-
title: opts.title,
|
|
32
|
-
description: opts.description,
|
|
33
|
-
status,
|
|
34
|
-
priority: opts.priority,
|
|
35
|
-
owner: opts.owner,
|
|
36
|
-
origin: { system: "manual" },
|
|
37
|
-
tags,
|
|
38
|
-
depends_on: dependsOn,
|
|
39
|
-
verify,
|
|
40
|
-
comments: opts.commentAuthor && opts.commentBody
|
|
41
|
-
? [{ author: opts.commentAuthor, body: opts.commentBody }]
|
|
42
|
-
: [],
|
|
43
|
-
doc_version: TASK_DOC_VERSION_V3,
|
|
44
|
-
doc_updated_at: nowIso(),
|
|
45
|
-
doc_updated_by: docUpdatedBy,
|
|
46
|
-
id_source: "explicit",
|
|
47
|
-
doc: defaultTaskDocV3({ title: opts.title, description: opts.description }),
|
|
48
|
-
}));
|
|
49
|
-
return {
|
|
50
|
-
result: null,
|
|
51
|
-
tasksToWrite,
|
|
52
|
-
};
|
|
53
|
-
},
|
|
54
|
-
});
|
|
55
|
-
for (const task of tasksToWrite) {
|
|
56
|
-
process.stdout.write(`${task.id}\n`);
|
|
57
|
-
}
|
|
58
|
-
return 0;
|
|
59
|
-
}
|
|
60
|
-
catch (err) {
|
|
61
|
-
throw mapBackendError(err, { command: "task add", root: opts.rootOverride ?? null });
|
|
62
|
-
}
|
|
63
|
-
}
|