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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../../../src/backends/task-backend/redmine/backend-sync/status.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAEvD,wBAAsB,iCAAiC,CACrD,OAAO,EAAE,kBAAkB,EAC3B,SAAS,EAAE,OAAO,GACjB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CASxB;AAED,wBAAsB,qCAAqC,CACzD,OAAO,EAAE,kBAAkB,GAC1B,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAuC9B;AAED,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAC;IAAC,SAAS,EAAE,OAAO,CAAA;CAAE,EAAE,EAC/E,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,GAChC,MAAM,GAAG,IAAI,CA6Bf"}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { normalizeTaskStatus } from "@agentplaneorg/core/tasks";
|
|
2
|
-
import { toStringSafe } from "../../shared.js";
|
|
3
|
-
export async function inferRedmineStatusIdForTaskStatus(context, statusRaw) {
|
|
4
|
-
const status = normalizeTaskStatus(toStringSafe(statusRaw));
|
|
5
|
-
if (!status)
|
|
6
|
-
return null;
|
|
7
|
-
const explicit = context.statusMap?.[status];
|
|
8
|
-
if (typeof explicit === "number" && Number.isFinite(explicit))
|
|
9
|
-
return explicit;
|
|
10
|
-
const inferred = await loadRedmineInferredStatusByTaskStatus(context);
|
|
11
|
-
return inferred.get(status) ?? null;
|
|
12
|
-
}
|
|
13
|
-
export async function loadRedmineInferredStatusByTaskStatus(context) {
|
|
14
|
-
if (context.inferredStatusByTaskStatus)
|
|
15
|
-
return context.inferredStatusByTaskStatus;
|
|
16
|
-
const map = new Map();
|
|
17
|
-
context.setInferredStatusByTaskStatus(map);
|
|
18
|
-
try {
|
|
19
|
-
const payload = await context.requestJson("GET", "issue_statuses.json");
|
|
20
|
-
const statuses = Array.isArray(payload.issue_statuses) ? payload.issue_statuses : [];
|
|
21
|
-
const parsed = [];
|
|
22
|
-
for (const item of statuses) {
|
|
23
|
-
if (!item || typeof item !== "object" || Array.isArray(item))
|
|
24
|
-
continue;
|
|
25
|
-
const status = item;
|
|
26
|
-
const id = typeof status.id === "number" ? status.id : null;
|
|
27
|
-
if (!id || !Number.isFinite(id))
|
|
28
|
-
continue;
|
|
29
|
-
parsed.push({
|
|
30
|
-
id,
|
|
31
|
-
name: toStringSafe(status.name).trim().toLowerCase(),
|
|
32
|
-
isClosed: status.is_closed === true,
|
|
33
|
-
isDefault: status.is_default === true,
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
const done = selectRedmineInferredStatus(parsed, "DONE");
|
|
37
|
-
const doing = selectRedmineInferredStatus(parsed, "DOING");
|
|
38
|
-
const todo = selectRedmineInferredStatus(parsed, "TODO");
|
|
39
|
-
if (done !== null)
|
|
40
|
-
map.set("DONE", done);
|
|
41
|
-
if (doing !== null)
|
|
42
|
-
map.set("DOING", doing);
|
|
43
|
-
if (todo !== null)
|
|
44
|
-
map.set("TODO", todo);
|
|
45
|
-
}
|
|
46
|
-
catch {
|
|
47
|
-
// Best effort: keep previous behavior when status discovery is unavailable.
|
|
48
|
-
}
|
|
49
|
-
return map;
|
|
50
|
-
}
|
|
51
|
-
export function selectRedmineInferredStatus(statuses, target) {
|
|
52
|
-
if (statuses.length === 0)
|
|
53
|
-
return null;
|
|
54
|
-
if (target === "DOING") {
|
|
55
|
-
const byId = statuses.find((item) => item.id === 2);
|
|
56
|
-
if (byId)
|
|
57
|
-
return byId.id;
|
|
58
|
-
const byName = statuses.find((item) => item.name.includes("progress") || item.name.includes("doing"));
|
|
59
|
-
return byName?.id ?? null;
|
|
60
|
-
}
|
|
61
|
-
if (target === "DONE") {
|
|
62
|
-
const closed = statuses.find((item) => item.isClosed);
|
|
63
|
-
if (closed)
|
|
64
|
-
return closed.id;
|
|
65
|
-
const byId = statuses.find((item) => item.id === 5 || item.id === 3 || item.id === 6);
|
|
66
|
-
if (byId)
|
|
67
|
-
return byId.id;
|
|
68
|
-
const byName = statuses.find((item) => item.name.includes("done") ||
|
|
69
|
-
item.name.includes("closed") ||
|
|
70
|
-
item.name.includes("resolved") ||
|
|
71
|
-
item.name.includes("complete"));
|
|
72
|
-
return byName?.id ?? null;
|
|
73
|
-
}
|
|
74
|
-
const byDefault = statuses.find((item) => item.isDefault);
|
|
75
|
-
if (byDefault)
|
|
76
|
-
return byDefault.id;
|
|
77
|
-
const byId = statuses.find((item) => item.id === 1);
|
|
78
|
-
return byId?.id ?? statuses[0]?.id ?? null;
|
|
79
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type TaskData } from "../../shared.js";
|
|
2
|
-
import type { RedmineSyncContext } from "./context.js";
|
|
3
|
-
export declare function syncRedmine(context: RedmineSyncContext, opts: {
|
|
4
|
-
direction: "push" | "pull";
|
|
5
|
-
conflict: "diff" | "prefer-local" | "prefer-remote" | "fail";
|
|
6
|
-
quiet: boolean;
|
|
7
|
-
confirm: boolean;
|
|
8
|
-
}): Promise<void>;
|
|
9
|
-
export declare function syncPushRedmine(context: RedmineSyncContext, quiet: boolean, confirm: boolean): Promise<void>;
|
|
10
|
-
export declare function syncPullRedmine(context: RedmineSyncContext, conflict: "diff" | "prefer-local" | "prefer-remote" | "fail", quiet: boolean): Promise<void>;
|
|
11
|
-
export declare function handleRedmineConflict(context: RedmineSyncContext, taskId: string, localTask: TaskData, remoteTask: TaskData, conflict: "diff" | "prefer-local" | "prefer-remote" | "fail"): Promise<void>;
|
|
12
|
-
//# sourceMappingURL=sync.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../../../../src/backends/task-backend/redmine/backend-sync/sync.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,KAAK,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAEvD,wBAAsB,WAAW,CAC/B,OAAO,EAAE,kBAAkB,EAC3B,IAAI,EAAE;IACJ,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,QAAQ,EAAE,MAAM,GAAG,cAAc,GAAG,eAAe,GAAG,MAAM,CAAC;IAC7D,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;CAClB,GACA,OAAO,CAAC,IAAI,CAAC,CAUf;AAED,wBAAsB,eAAe,CACnC,OAAO,EAAE,kBAAkB,EAC3B,KAAK,EAAE,OAAO,EACd,OAAO,EAAE,OAAO,GACf,OAAO,CAAC,IAAI,CAAC,CAkBf;AAED,wBAAsB,eAAe,CACnC,OAAO,EAAE,kBAAkB,EAC3B,QAAQ,EAAE,MAAM,GAAG,cAAc,GAAG,eAAe,GAAG,MAAM,EAC5D,KAAK,EAAE,OAAO,GACb,OAAO,CAAC,IAAI,CAAC,CA+Bf;AAED,wBAAsB,qBAAqB,CACzC,OAAO,EAAE,kBAAkB,EAC3B,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,QAAQ,EACnB,UAAU,EAAE,QAAQ,EACpB,QAAQ,EAAE,MAAM,GAAG,cAAc,GAAG,eAAe,GAAG,MAAM,GAC3D,OAAO,CAAC,IAAI,CAAC,CAcf"}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { BackendError, toStringSafe } from "../../shared.js";
|
|
2
|
-
export async function syncRedmine(context, opts) {
|
|
3
|
-
if (opts.direction === "push") {
|
|
4
|
-
await syncPushRedmine(context, opts.quiet, opts.confirm);
|
|
5
|
-
return;
|
|
6
|
-
}
|
|
7
|
-
if (opts.direction === "pull") {
|
|
8
|
-
await syncPullRedmine(context, opts.conflict, opts.quiet);
|
|
9
|
-
return;
|
|
10
|
-
}
|
|
11
|
-
throw new BackendError("Invalid sync direction (expected push|pull)", "E_BACKEND");
|
|
12
|
-
}
|
|
13
|
-
export async function syncPushRedmine(context, quiet, confirm) {
|
|
14
|
-
if (!context.cache) {
|
|
15
|
-
throw new BackendError("Redmine cache is disabled; sync push is unavailable", "E_BACKEND");
|
|
16
|
-
}
|
|
17
|
-
const tasks = await context.cache.listTasks();
|
|
18
|
-
const dirty = tasks.filter((task) => task.dirty);
|
|
19
|
-
if (dirty.length === 0) {
|
|
20
|
-
if (!quiet)
|
|
21
|
-
process.stdout.write("ℹ️ no local task changes to push\n");
|
|
22
|
-
return;
|
|
23
|
-
}
|
|
24
|
-
if (!confirm) {
|
|
25
|
-
for (const task of dirty) {
|
|
26
|
-
process.stdout.write(`- pending push: ${task.id}\n`);
|
|
27
|
-
}
|
|
28
|
-
throw new BackendError("Refusing to push without --yes (preview above)", "E_BACKEND");
|
|
29
|
-
}
|
|
30
|
-
await context.writeTasks(dirty);
|
|
31
|
-
if (!quiet)
|
|
32
|
-
process.stdout.write(`✅ pushed ${dirty.length} task(s) (dirty)\n`);
|
|
33
|
-
}
|
|
34
|
-
export async function syncPullRedmine(context, conflict, quiet) {
|
|
35
|
-
if (!context.cache) {
|
|
36
|
-
throw new BackendError("Redmine cache is disabled; sync pull is unavailable", "E_BACKEND");
|
|
37
|
-
}
|
|
38
|
-
const remoteTasks = await context.listTasksRemote();
|
|
39
|
-
const remoteById = new Map();
|
|
40
|
-
for (const task of remoteTasks) {
|
|
41
|
-
const taskId = toStringSafe(task.id);
|
|
42
|
-
if (taskId)
|
|
43
|
-
remoteById.set(taskId, task);
|
|
44
|
-
}
|
|
45
|
-
const localTasks = await context.cache.listTasks();
|
|
46
|
-
const localById = new Map();
|
|
47
|
-
for (const task of localTasks) {
|
|
48
|
-
const taskId = toStringSafe(task.id);
|
|
49
|
-
if (taskId)
|
|
50
|
-
localById.set(taskId, task);
|
|
51
|
-
}
|
|
52
|
-
for (const [taskId, remoteTask] of remoteById.entries()) {
|
|
53
|
-
const localTask = localById.get(taskId);
|
|
54
|
-
if (localTask?.dirty) {
|
|
55
|
-
if (context.tasksDiffer(localTask, remoteTask)) {
|
|
56
|
-
await handleRedmineConflict(context, taskId, localTask, remoteTask, conflict);
|
|
57
|
-
continue;
|
|
58
|
-
}
|
|
59
|
-
localTask.dirty = false;
|
|
60
|
-
await context.cacheTask(localTask, false);
|
|
61
|
-
continue;
|
|
62
|
-
}
|
|
63
|
-
await context.cacheTask(remoteTask, false);
|
|
64
|
-
}
|
|
65
|
-
if (!quiet)
|
|
66
|
-
process.stdout.write(`✅ pulled ${remoteById.size} task(s) (remote)\n`);
|
|
67
|
-
}
|
|
68
|
-
export async function handleRedmineConflict(context, taskId, localTask, remoteTask, conflict) {
|
|
69
|
-
if (conflict === "prefer-local") {
|
|
70
|
-
await context.writeTask(localTask);
|
|
71
|
-
return;
|
|
72
|
-
}
|
|
73
|
-
if (conflict === "prefer-remote") {
|
|
74
|
-
await context.cacheTask(remoteTask, false);
|
|
75
|
-
return;
|
|
76
|
-
}
|
|
77
|
-
if (conflict === "diff") {
|
|
78
|
-
process.stdout.write(`${context.diffTasks(localTask, remoteTask)}\n`);
|
|
79
|
-
throw new BackendError(`Conflict detected for ${taskId}`, "E_BACKEND");
|
|
80
|
-
}
|
|
81
|
-
throw new BackendError(`Conflict detected for ${taskId}`, "E_BACKEND");
|
|
82
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type TaskData, type TaskWriteOptions } from "../../shared.js";
|
|
2
|
-
import { type RedmineSyncContext } from "./context.js";
|
|
3
|
-
export declare function writeRedmineTask(context: RedmineSyncContext, task: TaskData, opts?: TaskWriteOptions): Promise<void>;
|
|
4
|
-
export declare function writeRedmineTasks(context: RedmineSyncContext, tasks: TaskData[], opts?: TaskWriteOptions): Promise<void>;
|
|
5
|
-
//# sourceMappingURL=write.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"write.d.ts","sourceRoot":"","sources":["../../../../../src/backends/task-backend/redmine/backend-sync/write.ts"],"names":[],"mappings":"AAEA,OAAO,EAML,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACtB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAoC,KAAK,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAGzF,wBAAsB,gBAAgB,CACpC,OAAO,EAAE,kBAAkB,EAC3B,IAAI,EAAE,QAAQ,EACd,IAAI,CAAC,EAAE,gBAAgB,GACtB,OAAO,CAAC,IAAI,CAAC,CA4Ff;AAED,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,kBAAkB,EAC3B,KAAK,EAAE,QAAQ,EAAE,EACjB,IAAI,CAAC,EAAE,gBAAgB,GACtB,OAAO,CAAC,IAAI,CAAC,CAWf"}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { taskDocToSectionMap } from "@agentplaneorg/core/tasks";
|
|
2
|
-
import { missingTaskIdMessage, RedmineUnavailable, sleep, toStringSafe, validateTaskId, } from "../../shared.js";
|
|
3
|
-
import { parseRedmineCanonicalState } from "../state.js";
|
|
4
|
-
import { issueFromPayload, revisionNumber } from "./context.js";
|
|
5
|
-
import { inferRedmineStatusIdForTaskStatus } from "./status.js";
|
|
6
|
-
export async function writeRedmineTask(context, task, opts) {
|
|
7
|
-
const taskId = toStringSafe(task.id).trim();
|
|
8
|
-
if (!taskId)
|
|
9
|
-
throw new Error(missingTaskIdMessage());
|
|
10
|
-
validateTaskId(taskId);
|
|
11
|
-
try {
|
|
12
|
-
context.ensureDocMetadata(task);
|
|
13
|
-
let issue = await context.findIssueByTaskId(taskId);
|
|
14
|
-
let issueId = issue?.id;
|
|
15
|
-
let issueIdText = issueId ? toStringSafe(issueId) : "";
|
|
16
|
-
let existingIssue = issue ?? null;
|
|
17
|
-
if (issueIdText && !existingIssue) {
|
|
18
|
-
const payload = await context.requestJson("GET", `issues/${issueIdText}.json`);
|
|
19
|
-
existingIssue = issueFromPayload(payload);
|
|
20
|
-
}
|
|
21
|
-
const currentState = existingIssue && context.customFields.canonical_state
|
|
22
|
-
? parseRedmineCanonicalState(context.customFieldValue(existingIssue, context.customFields.canonical_state))
|
|
23
|
-
: null;
|
|
24
|
-
context.assertExpectedRevisionSupported(taskId, opts);
|
|
25
|
-
context.assertExpectedRevision(taskId, opts?.expectedRevision, currentState?.revision ?? 0);
|
|
26
|
-
const nextRevision = issueIdText
|
|
27
|
-
? Math.max(revisionNumber(task.revision), revisionNumber(currentState?.revision), 0) + 1
|
|
28
|
-
: Math.max(revisionNumber(task.revision), revisionNumber(currentState?.revision), 1);
|
|
29
|
-
const taskForWrite = {
|
|
30
|
-
...task,
|
|
31
|
-
revision: nextRevision,
|
|
32
|
-
sections: task.sections && Object.keys(task.sections).length > 0
|
|
33
|
-
? task.sections
|
|
34
|
-
: task.doc
|
|
35
|
-
? taskDocToSectionMap(task.doc)
|
|
36
|
-
: undefined,
|
|
37
|
-
};
|
|
38
|
-
const payload = context.taskToIssuePayload(taskForWrite, existingIssue ?? undefined);
|
|
39
|
-
if (payload.status_id === undefined) {
|
|
40
|
-
const inferredStatusId = await inferRedmineStatusIdForTaskStatus(context, taskForWrite.status);
|
|
41
|
-
if (inferredStatusId !== null)
|
|
42
|
-
payload.status_id = inferredStatusId;
|
|
43
|
-
}
|
|
44
|
-
if (issueIdText) {
|
|
45
|
-
await context.requestJson("PUT", `issues/${issueIdText}.json`, { issue: payload });
|
|
46
|
-
}
|
|
47
|
-
else {
|
|
48
|
-
const createPayload = { ...payload, project_id: context.projectId };
|
|
49
|
-
const created = await context.requestJson("POST", "issues.json", { issue: createPayload });
|
|
50
|
-
const createdIssue = issueFromPayload(created);
|
|
51
|
-
issueId = createdIssue?.id;
|
|
52
|
-
issueIdText = issueId ? toStringSafe(issueId) : "";
|
|
53
|
-
if (issueIdText) {
|
|
54
|
-
const updatePayload = { ...payload };
|
|
55
|
-
delete updatePayload.project_id;
|
|
56
|
-
await context.requestJson("PUT", `issues/${issueIdText}.json`, { issue: updatePayload });
|
|
57
|
-
const refreshed = await context.requestJson("GET", `issues/${issueIdText}.json`);
|
|
58
|
-
existingIssue = issueFromPayload(refreshed);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
if (issueIdText) {
|
|
62
|
-
const existingComments = existingIssue && context.customFields.comments
|
|
63
|
-
? context.normalizeComments(context.maybeParseJson(context.customFieldValue(existingIssue, context.customFields.comments)))
|
|
64
|
-
: [];
|
|
65
|
-
const desiredComments = context.normalizeComments(taskForWrite.comments);
|
|
66
|
-
await context.appendCommentNotes(issueIdText, existingComments, desiredComments);
|
|
67
|
-
}
|
|
68
|
-
taskForWrite.dirty = false;
|
|
69
|
-
await context.cacheTask(taskForWrite, false);
|
|
70
|
-
context.issueCache.clear();
|
|
71
|
-
}
|
|
72
|
-
catch (err) {
|
|
73
|
-
if (!(err instanceof RedmineUnavailable))
|
|
74
|
-
throw err;
|
|
75
|
-
if (!context.cache)
|
|
76
|
-
throw err;
|
|
77
|
-
context.assertExpectedRevisionSupported(taskId, opts);
|
|
78
|
-
const taskForCache = {
|
|
79
|
-
...task,
|
|
80
|
-
revision: Math.max(revisionNumber(task.revision), 1),
|
|
81
|
-
sections: task.sections && Object.keys(task.sections).length > 0
|
|
82
|
-
? task.sections
|
|
83
|
-
: task.doc
|
|
84
|
-
? taskDocToSectionMap(task.doc)
|
|
85
|
-
: undefined,
|
|
86
|
-
dirty: true,
|
|
87
|
-
};
|
|
88
|
-
await context.cache.writeTask(taskForCache, opts);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
export async function writeRedmineTasks(context, tasks, opts) {
|
|
92
|
-
for (const [index, task] of tasks.entries()) {
|
|
93
|
-
await context.writeTask(task, opts);
|
|
94
|
-
if (context.batchPauseMs > 0 &&
|
|
95
|
-
context.batchSize > 0 &&
|
|
96
|
-
(index + 1) % context.batchSize === 0) {
|
|
97
|
-
await sleep(context.batchPauseMs);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export type { RedmineSyncContext } from "./backend-sync/context.js";
|
|
2
|
-
export { generateRedmineTaskId } from "./backend-sync/ids.js";
|
|
3
|
-
export { migrateRedmineCanonicalState } from "./backend-sync/migration.js";
|
|
4
|
-
export { inferRedmineStatusIdForTaskStatus, loadRedmineInferredStatusByTaskStatus, selectRedmineInferredStatus, } from "./backend-sync/status.js";
|
|
5
|
-
export { handleRedmineConflict, syncPullRedmine, syncPushRedmine, syncRedmine, } from "./backend-sync/sync.js";
|
|
6
|
-
export { writeRedmineTask, writeRedmineTasks } from "./backend-sync/write.js";
|
|
7
|
-
//# sourceMappingURL=backend-sync.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"backend-sync.d.ts","sourceRoot":"","sources":["../../../../src/backends/task-backend/redmine/backend-sync.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,EACL,iCAAiC,EACjC,qCAAqC,EACrC,2BAA2B,GAC5B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,eAAe,EACf,WAAW,GACZ,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { generateRedmineTaskId } from "./backend-sync/ids.js";
|
|
2
|
-
export { migrateRedmineCanonicalState } from "./backend-sync/migration.js";
|
|
3
|
-
export { inferRedmineStatusIdForTaskStatus, loadRedmineInferredStatusByTaskStatus, selectRedmineInferredStatus, } from "./backend-sync/status.js";
|
|
4
|
-
export { handleRedmineConflict, syncPullRedmine, syncPushRedmine, syncRedmine, } from "./backend-sync/sync.js";
|
|
5
|
-
export { writeRedmineTask, writeRedmineTasks } from "./backend-sync/write.js";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare function requestJson(opts: {
|
|
2
|
-
baseUrl: string;
|
|
3
|
-
apiKey: string;
|
|
4
|
-
}, method: string, reqPath: string, payload?: Record<string, unknown>, params?: Record<string, unknown>, requestOpts?: {
|
|
5
|
-
attempts?: number;
|
|
6
|
-
backoff?: number;
|
|
7
|
-
}): Promise<Record<string, unknown>>;
|
|
8
|
-
//# sourceMappingURL=client.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/backends/task-backend/redmine/client.ts"],"names":[],"mappings":"AAIA,wBAAsB,WAAW,CAC/B,IAAI,EAAE;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,EACzC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACjC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAChC,WAAW,CAAC,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GACpD,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAqDlC"}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { isRecord } from "../../../shared/guards.js";
|
|
2
|
-
import { BackendError, RedmineUnavailable, sleep, toStringSafe } from "../shared.js";
|
|
3
|
-
export async function requestJson(opts, method, reqPath, payload, params, requestOpts) {
|
|
4
|
-
let url = `${opts.baseUrl}/${reqPath.replace(/^\//u, "")}`;
|
|
5
|
-
if (params) {
|
|
6
|
-
const search = new URLSearchParams();
|
|
7
|
-
for (const [key, value] of Object.entries(params)) {
|
|
8
|
-
if (value === undefined || value === null)
|
|
9
|
-
continue;
|
|
10
|
-
search.append(key, toStringSafe(value));
|
|
11
|
-
}
|
|
12
|
-
const qs = search.toString();
|
|
13
|
-
if (qs)
|
|
14
|
-
url += `?${qs}`;
|
|
15
|
-
}
|
|
16
|
-
const attempts = Math.max(1, requestOpts?.attempts ?? 3);
|
|
17
|
-
const backoff = requestOpts?.backoff ?? 0.5;
|
|
18
|
-
let lastError = null;
|
|
19
|
-
for (let attempt = 1; attempt <= attempts; attempt++) {
|
|
20
|
-
try {
|
|
21
|
-
const resp = await fetch(url, {
|
|
22
|
-
method,
|
|
23
|
-
headers: {
|
|
24
|
-
"Content-Type": "application/json",
|
|
25
|
-
"X-Redmine-API-Key": opts.apiKey,
|
|
26
|
-
},
|
|
27
|
-
body: payload ? JSON.stringify(payload) : undefined,
|
|
28
|
-
});
|
|
29
|
-
const text = await resp.text();
|
|
30
|
-
if (!resp.ok) {
|
|
31
|
-
if ((resp.status === 429 || resp.status >= 500) && attempt < attempts) {
|
|
32
|
-
await sleep(backoff * attempt * 1000);
|
|
33
|
-
continue;
|
|
34
|
-
}
|
|
35
|
-
throw new BackendError(`Redmine API error: ${resp.status} ${text}`, "E_BACKEND");
|
|
36
|
-
}
|
|
37
|
-
if (!text)
|
|
38
|
-
return {};
|
|
39
|
-
try {
|
|
40
|
-
const parsed = JSON.parse(text);
|
|
41
|
-
if (isRecord(parsed))
|
|
42
|
-
return parsed;
|
|
43
|
-
return {};
|
|
44
|
-
}
|
|
45
|
-
catch {
|
|
46
|
-
return {};
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
catch (err) {
|
|
50
|
-
lastError = err;
|
|
51
|
-
if (err instanceof BackendError)
|
|
52
|
-
throw err;
|
|
53
|
-
if (attempt >= attempts) {
|
|
54
|
-
throw new RedmineUnavailable("Redmine unavailable");
|
|
55
|
-
}
|
|
56
|
-
await sleep(backoff * attempt * 1000);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
throw lastError instanceof Error ? lastError : new RedmineUnavailable("Redmine unavailable");
|
|
60
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export type TaskComment = {
|
|
2
|
-
author: string;
|
|
3
|
-
body: string;
|
|
4
|
-
};
|
|
5
|
-
export declare function normalizeComments(value: unknown): TaskComment[];
|
|
6
|
-
export declare function appendCommentNotes(opts: {
|
|
7
|
-
issueId: string;
|
|
8
|
-
existingComments: TaskComment[];
|
|
9
|
-
desiredComments: TaskComment[];
|
|
10
|
-
requestJson: (method: string, reqPath: string, payload?: Record<string, unknown>, params?: Record<string, unknown>) => Promise<Record<string, unknown>>;
|
|
11
|
-
}): Promise<void>;
|
|
12
|
-
//# sourceMappingURL=comments.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../../../src/backends/task-backend/redmine/comments.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,WAAW,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAE3D,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,WAAW,EAAE,CAW/D;AAmBD,wBAAsB,kBAAkB,CAAC,IAAI,EAAE;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,WAAW,EAAE,CAAC;IAChC,eAAe,EAAE,WAAW,EAAE,CAAC;IAC/B,WAAW,EAAE,CACX,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACjC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC7B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CACvC,GAAG,OAAO,CAAC,IAAI,CAAC,CAuBhB"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { isRecord } from "../../../shared/guards.js";
|
|
2
|
-
import { toStringSafe } from "../shared.js";
|
|
3
|
-
export function normalizeComments(value) {
|
|
4
|
-
if (Array.isArray(value)) {
|
|
5
|
-
return value.filter((item) => isRecord(item) ? typeof item.author === "string" && typeof item.body === "string" : false);
|
|
6
|
-
}
|
|
7
|
-
if (isRecord(value))
|
|
8
|
-
return [value];
|
|
9
|
-
if (typeof value === "string" && value.trim()) {
|
|
10
|
-
return [{ author: "redmine", body: value.trim() }];
|
|
11
|
-
}
|
|
12
|
-
return [];
|
|
13
|
-
}
|
|
14
|
-
function commentsToPairs(comments) {
|
|
15
|
-
const pairs = [];
|
|
16
|
-
for (const comment of comments) {
|
|
17
|
-
const author = toStringSafe(comment.author).trim();
|
|
18
|
-
const body = toStringSafe(comment.body).trim();
|
|
19
|
-
if (!author && !body)
|
|
20
|
-
continue;
|
|
21
|
-
pairs.push([author, body]);
|
|
22
|
-
}
|
|
23
|
-
return pairs;
|
|
24
|
-
}
|
|
25
|
-
function formatCommentNote(author = "unknown", body = "") {
|
|
26
|
-
const authorText = author;
|
|
27
|
-
const bodyText = body;
|
|
28
|
-
return `[comment] ${authorText}: ${bodyText}`.trim();
|
|
29
|
-
}
|
|
30
|
-
export async function appendCommentNotes(opts) {
|
|
31
|
-
const issueIdText = toStringSafe(opts.issueId);
|
|
32
|
-
if (!issueIdText)
|
|
33
|
-
return;
|
|
34
|
-
const existingPairs = commentsToPairs(opts.existingComments);
|
|
35
|
-
const desiredPairs = commentsToPairs(opts.desiredComments);
|
|
36
|
-
if (desiredPairs.length === 0)
|
|
37
|
-
return;
|
|
38
|
-
if (desiredPairs.length < existingPairs.length)
|
|
39
|
-
return;
|
|
40
|
-
if (existingPairs.length > 0) {
|
|
41
|
-
const prefix = desiredPairs.slice(0, existingPairs.length);
|
|
42
|
-
const matches = prefix.length === existingPairs.length &&
|
|
43
|
-
prefix.every((pair, idx) => pair[0] === existingPairs[idx]?.[0] && pair[1] === existingPairs[idx]?.[1]);
|
|
44
|
-
if (!matches)
|
|
45
|
-
return;
|
|
46
|
-
}
|
|
47
|
-
const newPairs = desiredPairs.slice(existingPairs.length);
|
|
48
|
-
for (const [author, body] of newPairs) {
|
|
49
|
-
const note = formatCommentNote(author, body);
|
|
50
|
-
if (note) {
|
|
51
|
-
await opts.requestJson("PUT", `issues/${issueIdText}.json`, { issue: { notes: note } });
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export type RedmineEnvConfig = {
|
|
2
|
-
url?: string;
|
|
3
|
-
apiKey?: string;
|
|
4
|
-
projectId?: string;
|
|
5
|
-
assigneeId?: number;
|
|
6
|
-
ownerAgent?: string;
|
|
7
|
-
customFields: Partial<Record<RedmineCustomFieldKey, number>>;
|
|
8
|
-
batch: {
|
|
9
|
-
size?: number;
|
|
10
|
-
pauseMs?: number;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
type RedmineCustomFieldKey = "task_id" | "canonical_state" | "doc" | "doc_version" | "doc_updated_at" | "doc_updated_by" | "tags" | "priority" | "owner";
|
|
14
|
-
export declare function readRedmineEnv(): RedmineEnvConfig;
|
|
15
|
-
export {};
|
|
16
|
-
//# sourceMappingURL=env.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../../../../src/backends/task-backend/redmine/env.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC,CAAC;IAC7D,KAAK,EAAE;QACL,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;CACH,CAAC;AAEF,KAAK,qBAAqB,GACtB,SAAS,GACT,iBAAiB,GACjB,KAAK,GACL,aAAa,GACb,gBAAgB,GAChB,gBAAgB,GAChB,MAAM,GACN,UAAU,GACV,OAAO,CAAC;AA6BZ,wBAAgB,cAAc,IAAI,gBAAgB,CAmCjD"}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { BackendError, redmineConfigInvalidEnvMessage } from "../shared.js";
|
|
2
|
-
function nonEmptyEnv(key) {
|
|
3
|
-
const value = process.env[key];
|
|
4
|
-
if (typeof value !== "string")
|
|
5
|
-
return undefined;
|
|
6
|
-
const trimmed = value.trim();
|
|
7
|
-
return trimmed.length > 0 ? trimmed : undefined;
|
|
8
|
-
}
|
|
9
|
-
function parsePositiveIntEnv(key, opts) {
|
|
10
|
-
const raw = nonEmptyEnv(key);
|
|
11
|
-
if (!raw)
|
|
12
|
-
return undefined;
|
|
13
|
-
if (!/^\d+$/u.test(raw)) {
|
|
14
|
-
throw new BackendError(redmineConfigInvalidEnvMessage(key, "a positive integer"), "E_BACKEND");
|
|
15
|
-
}
|
|
16
|
-
const parsed = Number(raw);
|
|
17
|
-
const min = opts?.min ?? (opts?.allowZero ? 0 : 1);
|
|
18
|
-
if (!Number.isFinite(parsed) || parsed < min) {
|
|
19
|
-
throw new BackendError(redmineConfigInvalidEnvMessage(key, `an integer >= ${min}`), "E_BACKEND");
|
|
20
|
-
}
|
|
21
|
-
return parsed;
|
|
22
|
-
}
|
|
23
|
-
export function readRedmineEnv() {
|
|
24
|
-
const customFields = {};
|
|
25
|
-
const taskId = parsePositiveIntEnv("AGENTPLANE_REDMINE_CUSTOM_FIELDS_TASK_ID");
|
|
26
|
-
if (taskId !== undefined)
|
|
27
|
-
customFields.task_id = taskId;
|
|
28
|
-
const canonicalState = parsePositiveIntEnv("AGENTPLANE_REDMINE_CUSTOM_FIELDS_CANONICAL_STATE");
|
|
29
|
-
if (canonicalState !== undefined)
|
|
30
|
-
customFields.canonical_state = canonicalState;
|
|
31
|
-
const doc = parsePositiveIntEnv("AGENTPLANE_REDMINE_CUSTOM_FIELDS_DOC");
|
|
32
|
-
if (doc !== undefined)
|
|
33
|
-
customFields.doc = doc;
|
|
34
|
-
const docVersion = parsePositiveIntEnv("AGENTPLANE_REDMINE_CUSTOM_FIELDS_DOC_VERSION");
|
|
35
|
-
if (docVersion !== undefined)
|
|
36
|
-
customFields.doc_version = docVersion;
|
|
37
|
-
const docUpdatedAt = parsePositiveIntEnv("AGENTPLANE_REDMINE_CUSTOM_FIELDS_DOC_UPDATED_AT");
|
|
38
|
-
if (docUpdatedAt !== undefined)
|
|
39
|
-
customFields.doc_updated_at = docUpdatedAt;
|
|
40
|
-
const docUpdatedBy = parsePositiveIntEnv("AGENTPLANE_REDMINE_CUSTOM_FIELDS_DOC_UPDATED_BY");
|
|
41
|
-
if (docUpdatedBy !== undefined)
|
|
42
|
-
customFields.doc_updated_by = docUpdatedBy;
|
|
43
|
-
const tags = parsePositiveIntEnv("AGENTPLANE_REDMINE_CUSTOM_FIELDS_TAGS");
|
|
44
|
-
if (tags !== undefined)
|
|
45
|
-
customFields.tags = tags;
|
|
46
|
-
const priority = parsePositiveIntEnv("AGENTPLANE_REDMINE_CUSTOM_FIELDS_PRIORITY");
|
|
47
|
-
if (priority !== undefined)
|
|
48
|
-
customFields.priority = priority;
|
|
49
|
-
const owner = parsePositiveIntEnv("AGENTPLANE_REDMINE_CUSTOM_FIELDS_OWNER");
|
|
50
|
-
if (owner !== undefined)
|
|
51
|
-
customFields.owner = owner;
|
|
52
|
-
return {
|
|
53
|
-
url: nonEmptyEnv("AGENTPLANE_REDMINE_URL"),
|
|
54
|
-
apiKey: nonEmptyEnv("AGENTPLANE_REDMINE_API_KEY"),
|
|
55
|
-
projectId: nonEmptyEnv("AGENTPLANE_REDMINE_PROJECT_ID"),
|
|
56
|
-
assigneeId: parsePositiveIntEnv("AGENTPLANE_REDMINE_ASSIGNEE_ID"),
|
|
57
|
-
ownerAgent: nonEmptyEnv("AGENTPLANE_REDMINE_OWNER") ?? nonEmptyEnv("AGENTPLANE_REDMINE_OWNER_AGENT"),
|
|
58
|
-
customFields,
|
|
59
|
-
batch: {
|
|
60
|
-
size: parsePositiveIntEnv("AGENTPLANE_REDMINE_BATCH_SIZE"),
|
|
61
|
-
pauseMs: parsePositiveIntEnv("AGENTPLANE_REDMINE_BATCH_PAUSE", { allowZero: true, min: 0 }),
|
|
62
|
-
},
|
|
63
|
-
};
|
|
64
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare function customFieldValue(issue: Record<string, unknown>, fieldId: unknown): string | null;
|
|
2
|
-
export declare function setIssueCustomFieldValue(issue: Record<string, unknown>, fieldId: unknown, value: unknown): void;
|
|
3
|
-
export declare function appendCustomField(opts: {
|
|
4
|
-
customFields: Record<string, unknown>;
|
|
5
|
-
fields: Record<string, unknown>[];
|
|
6
|
-
key: string;
|
|
7
|
-
value: unknown;
|
|
8
|
-
}): void;
|
|
9
|
-
//# sourceMappingURL=fields.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../../src/backends/task-backend/redmine/fields.ts"],"names":[],"mappings":"AAIA,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAUhG;AAED,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9B,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,OAAO,GACb,IAAI,CAYN;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE;IACtC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,OAAO,CAAC;CAChB,GAAG,IAAI,CAQP"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { isRecord } from "../../../shared/guards.js";
|
|
2
|
-
import { toStringSafe } from "../shared.js";
|
|
3
|
-
export function customFieldValue(issue, fieldId) {
|
|
4
|
-
if (!fieldId)
|
|
5
|
-
return null;
|
|
6
|
-
const fields = Array.isArray(issue.custom_fields) ? issue.custom_fields : [];
|
|
7
|
-
for (const field of fields) {
|
|
8
|
-
if (isRecord(field) && field.id === fieldId) {
|
|
9
|
-
const value = field.value;
|
|
10
|
-
return value !== undefined && value !== null ? toStringSafe(value) : "";
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
return null;
|
|
14
|
-
}
|
|
15
|
-
export function setIssueCustomFieldValue(issue, fieldId, value) {
|
|
16
|
-
const fields = Array.isArray(issue.custom_fields) ? issue.custom_fields : [];
|
|
17
|
-
let found = false;
|
|
18
|
-
const updated = fields.map((field) => {
|
|
19
|
-
if (isRecord(field) && field.id === fieldId) {
|
|
20
|
-
found = true;
|
|
21
|
-
return { ...field, value };
|
|
22
|
-
}
|
|
23
|
-
return field;
|
|
24
|
-
});
|
|
25
|
-
if (!found)
|
|
26
|
-
updated.push({ id: fieldId, value });
|
|
27
|
-
issue.custom_fields = updated;
|
|
28
|
-
}
|
|
29
|
-
export function appendCustomField(opts) {
|
|
30
|
-
const fieldId = opts.customFields?.[opts.key];
|
|
31
|
-
if (!fieldId)
|
|
32
|
-
return;
|
|
33
|
-
let payloadValue = opts.value;
|
|
34
|
-
if (Array.isArray(opts.value) || isRecord(opts.value)) {
|
|
35
|
-
payloadValue = JSON.stringify(opts.value);
|
|
36
|
-
}
|
|
37
|
-
opts.fields.push({ id: fieldId, value: payloadValue });
|
|
38
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type TaskBackendFieldNameDrift, type TaskBackendVisibleField } from "../shared.js";
|
|
2
|
-
export declare function inspectVisibleCustomFields(opts: {
|
|
3
|
-
projectId: string;
|
|
4
|
-
requestJson: (method: string, reqPath: string, payload?: Record<string, unknown>, params?: Record<string, unknown>) => Promise<Record<string, unknown>>;
|
|
5
|
-
}): Promise<TaskBackendVisibleField[]>;
|
|
6
|
-
export declare function inferVisibleCanonicalStateFieldId(visibleFields: TaskBackendVisibleField[]): number | null;
|
|
7
|
-
export declare function detectConfiguredFieldNameDrift(opts: {
|
|
8
|
-
configuredFields: Record<string, unknown>;
|
|
9
|
-
visibleFields: TaskBackendVisibleField[];
|
|
10
|
-
}): TaskBackendFieldNameDrift[];
|
|
11
|
-
//# sourceMappingURL=inspect.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"inspect.d.ts","sourceRoot":"","sources":["../../../../src/backends/task-backend/redmine/inspect.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC7B,MAAM,cAAc,CAAC;AAYtB,wBAAsB,0BAA0B,CAAC,IAAI,EAAE;IACrD,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,CACX,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACjC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC7B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CACvC,GAAG,OAAO,CAAC,uBAAuB,EAAE,CAAC,CA6CrC;AAED,wBAAgB,iCAAiC,CAC/C,aAAa,EAAE,uBAAuB,EAAE,GACvC,MAAM,GAAG,IAAI,CAGf;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE;IACnD,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1C,aAAa,EAAE,uBAAuB,EAAE,CAAC;CAC1C,GAAG,yBAAyB,EAAE,CAkB9B"}
|