agentplane 0.3.6 → 0.3.8
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/AGENTS.md +11 -1
- package/assets/RUNNER.md +17 -0
- package/bin/agentplane.js +16 -7
- package/bin/framework-dev-contract.d.ts +6 -0
- package/bin/framework-dev-contract.js +13 -0
- package/bin/stale-dist-policy.js +6 -1
- package/dist/.build-manifest.json +724 -359
- package/dist/adapters/task-backend/task-backend-adapter.d.ts +4 -2
- package/dist/adapters/task-backend/task-backend-adapter.d.ts.map +1 -1
- package/dist/adapters/task-backend/task-backend-adapter.js +15 -2
- package/dist/backends/task-backend/local-backend-doc.d.ts +5 -0
- package/dist/backends/task-backend/local-backend-doc.d.ts.map +1 -0
- package/dist/backends/task-backend/local-backend-doc.js +98 -0
- package/dist/backends/task-backend/local-backend-read.d.ts +7 -0
- package/dist/backends/task-backend/local-backend-read.d.ts.map +1 -0
- package/dist/backends/task-backend/local-backend-read.js +186 -0
- package/dist/backends/task-backend/local-backend-state.d.ts +17 -0
- package/dist/backends/task-backend/local-backend-state.d.ts.map +1 -0
- package/dist/backends/task-backend/local-backend-state.js +50 -0
- package/dist/backends/task-backend/local-backend-write.d.ts +15 -0
- package/dist/backends/task-backend/local-backend-write.d.ts.map +1 -0
- package/dist/backends/task-backend/local-backend-write.js +254 -0
- package/dist/backends/task-backend/local-backend.d.ts +10 -6
- package/dist/backends/task-backend/local-backend.d.ts.map +1 -1
- package/dist/backends/task-backend/local-backend.js +32 -337
- package/dist/backends/task-backend/redmine/backend-cache-doc.d.ts +40 -0
- package/dist/backends/task-backend/redmine/backend-cache-doc.d.ts.map +1 -0
- package/dist/backends/task-backend/redmine/backend-cache-doc.js +178 -0
- package/dist/backends/task-backend/redmine/backend-report.d.ts +10 -0
- package/dist/backends/task-backend/redmine/backend-report.d.ts.map +1 -0
- package/dist/backends/task-backend/redmine/backend-report.js +43 -0
- package/dist/backends/task-backend/redmine/backend-sync.d.ts +67 -0
- package/dist/backends/task-backend/redmine/backend-sync.d.ts.map +1 -0
- package/dist/backends/task-backend/redmine/backend-sync.js +367 -0
- package/dist/backends/task-backend/redmine/env.d.ts +1 -1
- package/dist/backends/task-backend/redmine/env.d.ts.map +1 -1
- package/dist/backends/task-backend/redmine/env.js +3 -0
- package/dist/backends/task-backend/redmine/inspect.d.ts +11 -0
- package/dist/backends/task-backend/redmine/inspect.d.ts.map +1 -0
- package/dist/backends/task-backend/redmine/inspect.js +75 -0
- package/dist/backends/task-backend/redmine/mapping.d.ts +2 -1
- package/dist/backends/task-backend/redmine/mapping.d.ts.map +1 -1
- package/dist/backends/task-backend/redmine/mapping.js +32 -3
- package/dist/backends/task-backend/redmine/parse.d.ts +2 -1
- package/dist/backends/task-backend/redmine/parse.d.ts.map +1 -1
- package/dist/backends/task-backend/redmine/parse.js +5 -3
- package/dist/backends/task-backend/redmine/state.d.ts +19 -0
- package/dist/backends/task-backend/redmine/state.d.ts.map +1 -0
- package/dist/backends/task-backend/redmine/state.js +109 -0
- package/dist/backends/task-backend/redmine-backend.d.ts +14 -17
- package/dist/backends/task-backend/redmine-backend.d.ts.map +1 -1
- package/dist/backends/task-backend/redmine-backend.js +121 -379
- package/dist/backends/task-backend/shared/constants.d.ts +2 -1
- package/dist/backends/task-backend/shared/constants.d.ts.map +1 -1
- package/dist/backends/task-backend/shared/constants.js +1 -1
- package/dist/backends/task-backend/shared/doc.d.ts.map +1 -1
- package/dist/backends/task-backend/shared/doc.js +25 -39
- package/dist/backends/task-backend/shared/export.d.ts +2 -9
- package/dist/backends/task-backend/shared/export.d.ts.map +1 -1
- package/dist/backends/task-backend/shared/export.js +73 -8
- package/dist/backends/task-backend/shared/normalize.d.ts +5 -1
- package/dist/backends/task-backend/shared/normalize.d.ts.map +1 -1
- package/dist/backends/task-backend/shared/normalize.js +166 -0
- package/dist/backends/task-backend/shared/record.d.ts +1 -1
- package/dist/backends/task-backend/shared/record.d.ts.map +1 -1
- package/dist/backends/task-backend/shared/record.js +27 -3
- package/dist/backends/task-backend/shared/types.d.ts +76 -36
- package/dist/backends/task-backend/shared/types.d.ts.map +1 -1
- package/dist/backends/task-backend/shared.d.ts +2 -2
- package/dist/backends/task-backend/shared.d.ts.map +1 -1
- package/dist/backends/task-backend/shared.js +1 -1
- package/dist/backends/task-backend.d.ts +1 -1
- package/dist/backends/task-backend.d.ts.map +1 -1
- package/dist/backends/task-backend.js +1 -1
- package/dist/backends/task-index.d.ts +2 -2
- package/dist/backends/task-index.d.ts.map +1 -1
- package/dist/backends/task-index.js +9 -5
- package/dist/cli/bootstrap-guide.d.ts +2 -2
- package/dist/cli/bootstrap-guide.d.ts.map +1 -1
- package/dist/cli/bootstrap-guide.js +10 -10
- package/dist/cli/command-guide.d.ts.map +1 -1
- package/dist/cli/command-guide.js +11 -9
- package/dist/cli/command-invocations.d.ts +4 -0
- package/dist/cli/command-invocations.d.ts.map +1 -0
- package/dist/cli/command-invocations.js +35 -0
- package/dist/cli/command-snippets.d.ts +12 -8
- package/dist/cli/command-snippets.d.ts.map +1 -1
- package/dist/cli/command-snippets.js +14 -8
- package/dist/cli/exit-codes.d.ts.map +1 -1
- package/dist/cli/exit-codes.js +1 -0
- package/dist/cli/group-command.d.ts +18 -0
- package/dist/cli/group-command.d.ts.map +1 -0
- package/dist/cli/group-command.js +45 -0
- package/dist/cli/output.d.ts +29 -0
- package/dist/cli/output.d.ts.map +1 -1
- package/dist/cli/output.js +76 -0
- package/dist/cli/prompts.d.ts.map +1 -1
- package/dist/cli/prompts.js +5 -1
- package/dist/cli/run-cli/command-catalog/core.d.ts.map +1 -1
- package/dist/cli/run-cli/command-catalog/core.js +38 -29
- package/dist/cli/run-cli/command-catalog/lifecycle.d.ts.map +1 -1
- package/dist/cli/run-cli/command-catalog/lifecycle.js +9 -6
- package/dist/cli/run-cli/command-catalog/project.d.ts +1 -1
- package/dist/cli/run-cli/command-catalog/project.d.ts.map +1 -1
- package/dist/cli/run-cli/command-catalog/project.js +11 -7
- package/dist/cli/run-cli/command-catalog/shared.d.ts +12 -3
- package/dist/cli/run-cli/command-catalog/shared.d.ts.map +1 -1
- package/dist/cli/run-cli/command-catalog/shared.js +6 -3
- package/dist/cli/run-cli/command-catalog/task.d.ts +1 -1
- package/dist/cli/run-cli/command-catalog/task.d.ts.map +1 -1
- package/dist/cli/run-cli/command-catalog/task.js +46 -11
- package/dist/cli/run-cli/command-catalog.d.ts +11 -1
- package/dist/cli/run-cli/command-catalog.d.ts.map +1 -1
- package/dist/cli/run-cli/command-catalog.js +29 -0
- package/dist/cli/run-cli/commands/config.d.ts.map +1 -1
- package/dist/cli/run-cli/commands/config.js +52 -6
- package/dist/cli/run-cli/commands/core/agent-profiles.d.ts +34 -0
- package/dist/cli/run-cli/commands/core/agent-profiles.d.ts.map +1 -0
- package/dist/cli/run-cli/commands/core/agent-profiles.js +97 -0
- package/dist/cli/run-cli/commands/core/agents.d.ts +7 -0
- package/dist/cli/run-cli/commands/core/agents.d.ts.map +1 -0
- package/dist/cli/run-cli/commands/core/agents.js +97 -0
- package/dist/cli/run-cli/commands/core/preflight.d.ts +10 -0
- package/dist/cli/run-cli/commands/core/preflight.d.ts.map +1 -0
- package/dist/cli/run-cli/commands/core/preflight.js +286 -0
- package/dist/cli/run-cli/commands/core/quickstart.d.ts +8 -0
- package/dist/cli/run-cli/commands/core/quickstart.d.ts.map +1 -0
- package/dist/cli/run-cli/commands/core/quickstart.js +43 -0
- package/dist/cli/run-cli/commands/core/role.d.ts +9 -0
- package/dist/cli/run-cli/commands/core/role.d.ts.map +1 -0
- package/dist/cli/run-cli/commands/core/role.js +128 -0
- package/dist/cli/run-cli/commands/core.d.ts +4 -24
- package/dist/cli/run-cli/commands/core.d.ts.map +1 -1
- package/dist/cli/run-cli/commands/core.js +4 -630
- package/dist/cli/run-cli/commands/init/write-env.d.ts.map +1 -1
- package/dist/cli/run-cli/commands/init/write-env.js +12 -0
- package/dist/cli/run-cli/error-guidance.js +10 -0
- package/dist/cli/run-cli/globals.d.ts +5 -2
- package/dist/cli/run-cli/globals.d.ts.map +1 -1
- package/dist/cli/run-cli/globals.js +82 -86
- package/dist/cli/run-cli.d.ts.map +1 -1
- package/dist/cli/run-cli.js +137 -100
- package/dist/cli/run-cli.test-helpers.d.ts +21 -0
- package/dist/cli/run-cli.test-helpers.d.ts.map +1 -1
- package/dist/cli/run-cli.test-helpers.js +90 -4
- package/dist/cli/spec/help.d.ts +10 -2
- package/dist/cli/spec/help.d.ts.map +1 -1
- package/dist/cli/spec/help.js +7 -5
- package/dist/cli/spec/registry.d.ts +27 -1
- package/dist/cli/spec/registry.d.ts.map +1 -1
- package/dist/cli/spec/registry.js +98 -25
- package/dist/commands/backend/sync.command.d.ts +8 -6
- package/dist/commands/backend/sync.command.d.ts.map +1 -1
- package/dist/commands/backend/sync.command.js +75 -14
- package/dist/commands/backend.d.ts +22 -0
- package/dist/commands/backend.d.ts.map +1 -1
- package/dist/commands/backend.js +111 -1
- package/dist/commands/branch/base.command.d.ts +2 -3
- package/dist/commands/branch/base.command.d.ts.map +1 -1
- package/dist/commands/branch/base.command.js +8 -12
- package/dist/commands/branch/base.d.ts.map +1 -1
- package/dist/commands/branch/base.js +11 -7
- package/dist/commands/branch/cleanup-merged.d.ts.map +1 -1
- package/dist/commands/branch/cleanup-merged.js +9 -8
- package/dist/commands/branch/remove.d.ts.map +1 -1
- package/dist/commands/branch/remove.js +4 -3
- package/dist/commands/branch/status.d.ts.map +1 -1
- package/dist/commands/branch/status.js +4 -3
- package/dist/commands/branch/work-start.d.ts.map +1 -1
- package/dist/commands/branch/work-start.js +48 -5
- package/dist/commands/cleanup/merged.command.d.ts +2 -3
- package/dist/commands/cleanup/merged.command.d.ts.map +1 -1
- package/dist/commands/cleanup/merged.command.js +8 -12
- package/dist/commands/commit.spec.d.ts.map +1 -1
- package/dist/commands/commit.spec.js +30 -6
- package/dist/commands/docs/cli.command.js +2 -2
- package/dist/commands/doctor/runtime.js +1 -1
- package/dist/commands/doctor/workflow.d.ts.map +1 -1
- package/dist/commands/doctor/workflow.js +10 -1
- package/dist/commands/doctor/workspace.d.ts +8 -0
- package/dist/commands/doctor/workspace.d.ts.map +1 -1
- package/dist/commands/doctor/workspace.js +127 -3
- package/dist/commands/finish.spec.d.ts.map +1 -1
- package/dist/commands/finish.spec.js +7 -0
- package/dist/commands/guard/commit.command.d.ts.map +1 -1
- package/dist/commands/guard/commit.command.js +30 -6
- package/dist/commands/guard/guard.command.d.ts +3 -3
- package/dist/commands/guard/guard.command.d.ts.map +1 -1
- package/dist/commands/guard/guard.command.js +9 -14
- package/dist/commands/guard/impl/allow.d.ts +4 -0
- package/dist/commands/guard/impl/allow.d.ts.map +1 -1
- package/dist/commands/guard/impl/allow.js +14 -3
- package/dist/commands/guard/impl/commands.d.ts +2 -0
- package/dist/commands/guard/impl/commands.d.ts.map +1 -1
- package/dist/commands/guard/impl/commands.js +66 -9
- package/dist/commands/guard/impl/policy.d.ts +1 -0
- package/dist/commands/guard/impl/policy.d.ts.map +1 -1
- package/dist/commands/guard/impl/policy.js +9 -6
- package/dist/commands/hooks/hooks.command.d.ts +3 -3
- package/dist/commands/hooks/hooks.command.d.ts.map +1 -1
- package/dist/commands/hooks/hooks.command.js +9 -11
- package/dist/commands/pr/check.d.ts.map +1 -1
- package/dist/commands/pr/check.js +90 -18
- package/dist/commands/pr/integrate/cmd.d.ts.map +1 -1
- package/dist/commands/pr/integrate/cmd.js +31 -3
- package/dist/commands/pr/integrate/internal/cleanup.d.ts +12 -0
- package/dist/commands/pr/integrate/internal/cleanup.d.ts.map +1 -0
- package/dist/commands/pr/integrate/internal/cleanup.js +46 -0
- package/dist/commands/pr/integrate/internal/finalize.d.ts +4 -0
- package/dist/commands/pr/integrate/internal/finalize.d.ts.map +1 -1
- package/dist/commands/pr/integrate/internal/finalize.js +34 -40
- package/dist/commands/pr/integrate/internal/merge.d.ts +6 -0
- package/dist/commands/pr/integrate/internal/merge.d.ts.map +1 -1
- package/dist/commands/pr/integrate/internal/merge.js +92 -0
- package/dist/commands/pr/integrate/internal/prepare.d.ts +1 -0
- package/dist/commands/pr/integrate/internal/prepare.d.ts.map +1 -1
- package/dist/commands/pr/integrate/internal/prepare.js +1 -0
- package/dist/commands/pr/integrate/verify.d.ts.map +1 -1
- package/dist/commands/pr/integrate/verify.js +4 -3
- package/dist/commands/pr/note.d.ts.map +1 -1
- package/dist/commands/pr/note.js +3 -2
- package/dist/commands/pr/open.d.ts.map +1 -1
- package/dist/commands/pr/open.js +9 -12
- package/dist/commands/pr/pr.command.d.ts +3 -4
- package/dist/commands/pr/pr.command.d.ts.map +1 -1
- package/dist/commands/pr/pr.command.js +6 -11
- package/dist/commands/pr/update.d.ts.map +1 -1
- package/dist/commands/pr/update.js +5 -10
- package/dist/commands/recipes/cache.command.d.ts +3 -4
- package/dist/commands/recipes/cache.command.d.ts.map +1 -1
- package/dist/commands/recipes/cache.command.js +8 -26
- package/dist/commands/recipes/impl/apply.d.ts +1 -1
- package/dist/commands/recipes/impl/apply.d.ts.map +1 -1
- package/dist/commands/recipes/impl/apply.js +1 -1
- package/dist/commands/recipes/impl/commands/explain.js +1 -1
- package/dist/commands/recipes/impl/commands/install.d.ts.map +1 -1
- package/dist/commands/recipes/impl/commands/install.js +1 -2
- package/dist/commands/recipes/impl/installed-recipes.d.ts +1 -1
- package/dist/commands/recipes/impl/installed-recipes.d.ts.map +1 -1
- package/dist/commands/recipes/impl/installed-recipes.js +1 -2
- package/dist/commands/recipes/impl/manifest.d.ts.map +1 -1
- package/dist/commands/recipes/impl/manifest.js +0 -10
- package/dist/commands/recipes/impl/project-installed-recipes.d.ts +1 -1
- package/dist/commands/recipes/impl/project-installed-recipes.d.ts.map +1 -1
- package/dist/commands/recipes/impl/project-installed-recipes.js +1 -2
- package/dist/commands/recipes/impl/resolver.d.ts +1 -1
- package/dist/commands/recipes/impl/resolver.d.ts.map +1 -1
- package/dist/commands/recipes/impl/resolver.js +26 -16
- package/dist/commands/recipes/impl/scenario.d.ts.map +1 -1
- package/dist/commands/recipes/impl/scenario.js +80 -0
- package/dist/commands/recipes/impl/types.d.ts +27 -13
- package/dist/commands/recipes/impl/types.d.ts.map +1 -1
- package/dist/commands/recipes/recipes.command.d.ts +3 -4
- package/dist/commands/recipes/recipes.command.d.ts.map +1 -1
- package/dist/commands/recipes/recipes.command.js +8 -34
- package/dist/commands/recipes.d.ts +4 -4
- package/dist/commands/recipes.d.ts.map +1 -1
- package/dist/commands/recipes.js +3 -3
- package/dist/commands/recipes.test-helpers.d.ts +17 -0
- package/dist/commands/recipes.test-helpers.d.ts.map +1 -1
- package/dist/commands/recipes.test-helpers.js +56 -2
- package/dist/commands/release/apply.command.d.ts.map +1 -1
- package/dist/commands/release/apply.command.js +77 -56
- package/dist/commands/release/plan.command.d.ts.map +1 -1
- package/dist/commands/release/plan.command.js +7 -3
- package/dist/commands/release/release.command.d.ts +3 -3
- package/dist/commands/release/release.command.d.ts.map +1 -1
- package/dist/commands/release/release.command.js +9 -11
- package/dist/commands/release.test-helpers.d.ts +20 -0
- package/dist/commands/release.test-helpers.d.ts.map +1 -0
- package/dist/commands/release.test-helpers.js +37 -0
- package/dist/commands/runtime.command.d.ts +7 -7
- package/dist/commands/runtime.command.d.ts.map +1 -1
- package/dist/commands/runtime.command.js +29 -33
- package/dist/commands/scenario/execute.command.d.ts +8 -0
- package/dist/commands/scenario/execute.command.d.ts.map +1 -0
- package/dist/commands/scenario/execute.command.js +117 -0
- package/dist/commands/scenario/impl/commands.d.ts.map +1 -1
- package/dist/commands/scenario/impl/commands.js +45 -32
- package/dist/commands/scenario/run.command.js +2 -2
- package/dist/commands/scenario/scenario.command.d.ts +3 -4
- package/dist/commands/scenario/scenario.command.d.ts.map +1 -1
- package/dist/commands/scenario/scenario.command.js +8 -26
- package/dist/commands/shared/git-context.d.ts +1 -0
- package/dist/commands/shared/git-context.d.ts.map +1 -1
- package/dist/commands/shared/git-context.js +4 -2
- package/dist/commands/shared/git-ops.d.ts +1 -0
- package/dist/commands/shared/git-ops.d.ts.map +1 -1
- package/dist/commands/shared/git-ops.js +13 -0
- package/dist/commands/shared/operator-pipeline.d.ts +10 -0
- package/dist/commands/shared/operator-pipeline.d.ts.map +1 -0
- package/dist/commands/shared/operator-pipeline.js +16 -0
- package/dist/commands/shared/pr-meta.d.ts +32 -12
- package/dist/commands/shared/pr-meta.d.ts.map +1 -1
- package/dist/commands/shared/pr-meta.js +49 -14
- package/dist/commands/shared/reconcile-check.d.ts.map +1 -1
- package/dist/commands/shared/reconcile-check.js +28 -3
- package/dist/commands/shared/task-backend.d.ts +11 -7
- package/dist/commands/shared/task-backend.d.ts.map +1 -1
- package/dist/commands/shared/task-backend.js +107 -24
- package/dist/commands/shared/task-handoff.d.ts +64 -0
- package/dist/commands/shared/task-handoff.d.ts.map +1 -0
- package/dist/commands/shared/task-handoff.js +151 -0
- package/dist/commands/shared/task-mutation.d.ts +36 -0
- package/dist/commands/shared/task-mutation.d.ts.map +1 -0
- package/dist/commands/shared/task-mutation.js +67 -0
- package/dist/commands/shared/task-store.d.ts +65 -2
- package/dist/commands/shared/task-store.d.ts.map +1 -1
- package/dist/commands/shared/task-store.js +309 -91
- package/dist/commands/task/add.d.ts.map +1 -1
- package/dist/commands/task/add.js +41 -39
- package/dist/commands/task/block.d.ts.map +1 -1
- package/dist/commands/task/block.js +31 -89
- package/dist/commands/task/close-duplicate.d.ts.map +1 -1
- package/dist/commands/task/close-duplicate.js +0 -7
- package/dist/commands/task/close-noop.d.ts.map +1 -1
- package/dist/commands/task/close-noop.js +0 -21
- package/dist/commands/task/close-shared.d.ts +0 -2
- package/dist/commands/task/close-shared.d.ts.map +1 -1
- package/dist/commands/task/close-shared.js +24 -57
- package/dist/commands/task/comment.d.ts.map +1 -1
- package/dist/commands/task/comment.js +48 -42
- package/dist/commands/task/derive.command.d.ts +1 -0
- package/dist/commands/task/derive.command.d.ts.map +1 -1
- package/dist/commands/task/derive.command.js +15 -2
- package/dist/commands/task/derive.d.ts +1 -0
- package/dist/commands/task/derive.d.ts.map +1 -1
- package/dist/commands/task/derive.js +37 -7
- package/dist/commands/task/doc.command.d.ts.map +1 -1
- package/dist/commands/task/doc.command.js +7 -6
- package/dist/commands/task/doc.d.ts.map +1 -1
- package/dist/commands/task/doc.js +68 -61
- package/dist/commands/task/finish-shared.d.ts +60 -0
- package/dist/commands/task/finish-shared.d.ts.map +1 -0
- package/dist/commands/task/finish-shared.js +181 -0
- package/dist/commands/task/finish.d.ts +1 -0
- package/dist/commands/task/finish.d.ts.map +1 -1
- package/dist/commands/task/finish.js +73 -204
- package/dist/commands/task/handoff-record.command.d.ts +17 -0
- package/dist/commands/task/handoff-record.command.d.ts.map +1 -0
- package/dist/commands/task/handoff-record.command.js +140 -0
- package/dist/commands/task/handoff-show.command.d.ts +8 -0
- package/dist/commands/task/handoff-show.command.d.ts.map +1 -0
- package/dist/commands/task/handoff-show.command.js +77 -0
- package/dist/commands/task/handoff.command.d.ts +7 -0
- package/dist/commands/task/handoff.command.d.ts.map +1 -0
- package/dist/commands/task/handoff.command.js +21 -0
- package/dist/commands/task/handoff.shared.d.ts +39 -0
- package/dist/commands/task/handoff.shared.d.ts.map +1 -0
- package/dist/commands/task/handoff.shared.js +134 -0
- package/dist/commands/task/hosted-close.command.d.ts +9 -0
- package/dist/commands/task/hosted-close.command.d.ts.map +1 -0
- package/dist/commands/task/hosted-close.command.js +190 -0
- package/dist/commands/task/hosted-merge-sync.d.ts +40 -0
- package/dist/commands/task/hosted-merge-sync.d.ts.map +1 -0
- package/dist/commands/task/hosted-merge-sync.js +277 -0
- package/dist/commands/task/list.d.ts.map +1 -1
- package/dist/commands/task/list.js +7 -24
- package/dist/commands/task/migrate-doc.d.ts +15 -0
- package/dist/commands/task/migrate-doc.d.ts.map +1 -1
- package/dist/commands/task/migrate-doc.js +126 -35
- package/dist/commands/task/new.d.ts.map +1 -1
- package/dist/commands/task/new.js +26 -4
- package/dist/commands/task/next.d.ts.map +1 -1
- package/dist/commands/task/next.js +10 -28
- package/dist/commands/task/normalize.command.d.ts +1 -0
- package/dist/commands/task/normalize.command.d.ts.map +1 -1
- package/dist/commands/task/normalize.command.js +12 -0
- package/dist/commands/task/normalize.d.ts +1 -0
- package/dist/commands/task/normalize.d.ts.map +1 -1
- package/dist/commands/task/normalize.js +21 -9
- package/dist/commands/task/plan.command.d.ts +3 -4
- package/dist/commands/task/plan.command.d.ts.map +1 -1
- package/dist/commands/task/plan.command.js +6 -12
- package/dist/commands/task/plan.d.ts.map +1 -1
- package/dist/commands/task/plan.js +118 -125
- package/dist/commands/task/reclaim.command.d.ts +11 -0
- package/dist/commands/task/reclaim.command.d.ts.map +1 -0
- package/dist/commands/task/reclaim.command.js +102 -0
- package/dist/commands/task/resume-context.command.d.ts +9 -0
- package/dist/commands/task/resume-context.command.d.ts.map +1 -0
- package/dist/commands/task/resume-context.command.js +60 -0
- package/dist/commands/task/run-cancel.command.d.ts +6 -0
- package/dist/commands/task/run-cancel.command.d.ts.map +1 -0
- package/dist/commands/task/run-cancel.command.js +45 -0
- package/dist/commands/task/run-cancel.spec.d.ts +7 -0
- package/dist/commands/task/run-cancel.spec.d.ts.map +1 -0
- package/dist/commands/task/run-cancel.spec.js +20 -0
- package/dist/commands/task/run-resume.command.d.ts +6 -0
- package/dist/commands/task/run-resume.command.d.ts.map +1 -0
- package/dist/commands/task/run-resume.command.js +55 -0
- package/dist/commands/task/run-resume.spec.d.ts +7 -0
- package/dist/commands/task/run-resume.spec.d.ts.map +1 -0
- package/dist/commands/task/run-resume.spec.js +20 -0
- package/dist/commands/task/run-retry.command.d.ts +6 -0
- package/dist/commands/task/run-retry.command.d.ts.map +1 -0
- package/dist/commands/task/run-retry.command.js +56 -0
- package/dist/commands/task/run-retry.spec.d.ts +7 -0
- package/dist/commands/task/run-retry.spec.d.ts.map +1 -0
- package/dist/commands/task/run-retry.spec.js +20 -0
- package/dist/commands/task/run-show.command.d.ts +6 -0
- package/dist/commands/task/run-show.command.d.ts.map +1 -0
- package/dist/commands/task/run-show.command.js +133 -0
- package/dist/commands/task/run-show.spec.d.ts +8 -0
- package/dist/commands/task/run-show.spec.d.ts.map +1 -0
- package/dist/commands/task/run-show.spec.js +44 -0
- package/dist/commands/task/run-tail.command.d.ts +6 -0
- package/dist/commands/task/run-tail.command.d.ts.map +1 -0
- package/dist/commands/task/run-tail.command.js +26 -0
- package/dist/commands/task/run-tail.spec.d.ts +8 -0
- package/dist/commands/task/run-tail.spec.d.ts.map +1 -0
- package/dist/commands/task/run-tail.spec.js +51 -0
- package/dist/commands/task/run-trace.command.d.ts +6 -0
- package/dist/commands/task/run-trace.command.d.ts.map +1 -0
- package/dist/commands/task/run-trace.command.js +25 -0
- package/dist/commands/task/run-trace.spec.d.ts +7 -0
- package/dist/commands/task/run-trace.spec.d.ts.map +1 -0
- package/dist/commands/task/run-trace.spec.js +31 -0
- package/dist/commands/task/run.command.d.ts +6 -0
- package/dist/commands/task/run.command.d.ts.map +1 -0
- package/dist/commands/task/run.command.js +74 -0
- package/dist/commands/task/run.spec.d.ts +7 -0
- package/dist/commands/task/run.spec.d.ts.map +1 -0
- package/dist/commands/task/run.spec.js +26 -0
- package/dist/commands/task/scaffold.d.ts.map +1 -1
- package/dist/commands/task/scaffold.js +4 -2
- package/dist/commands/task/scrub.d.ts.map +1 -1
- package/dist/commands/task/scrub.js +27 -24
- package/dist/commands/task/search.d.ts.map +1 -1
- package/dist/commands/task/search.js +21 -31
- package/dist/commands/task/set-status.d.ts.map +1 -1
- package/dist/commands/task/set-status.js +38 -111
- package/dist/commands/task/shared/dependencies.d.ts +5 -4
- package/dist/commands/task/shared/dependencies.d.ts.map +1 -1
- package/dist/commands/task/shared/dependencies.js +20 -2
- package/dist/commands/task/shared/docs.d.ts +6 -1
- package/dist/commands/task/shared/docs.d.ts.map +1 -1
- package/dist/commands/task/shared/docs.js +14 -1
- package/dist/commands/task/shared/listing.d.ts +16 -2
- package/dist/commands/task/shared/listing.d.ts.map +1 -1
- package/dist/commands/task/shared/listing.js +56 -0
- package/dist/commands/task/shared/transition-command.d.ts +15 -0
- package/dist/commands/task/shared/transition-command.d.ts.map +1 -0
- package/dist/commands/task/shared/transition-command.js +43 -0
- package/dist/commands/task/shared/transitions.d.ts +56 -0
- package/dist/commands/task/shared/transitions.d.ts.map +1 -1
- package/dist/commands/task/shared/transitions.js +82 -8
- package/dist/commands/task/shared/workflow-transition-service.d.ts +75 -0
- package/dist/commands/task/shared/workflow-transition-service.d.ts.map +1 -0
- package/dist/commands/task/shared/workflow-transition-service.js +226 -0
- package/dist/commands/task/shared.d.ts +6 -4
- package/dist/commands/task/shared.d.ts.map +1 -1
- package/dist/commands/task/shared.js +6 -4
- package/dist/commands/task/show.d.ts.map +1 -1
- package/dist/commands/task/show.js +37 -3
- package/dist/commands/task/start.d.ts.map +1 -1
- package/dist/commands/task/start.js +32 -113
- package/dist/commands/task/task.command.d.ts +3 -4
- package/dist/commands/task/task.command.d.ts.map +1 -1
- package/dist/commands/task/task.command.js +22 -37
- package/dist/commands/task/verify-record.d.ts.map +1 -1
- package/dist/commands/task/verify-record.js +21 -146
- package/dist/commands/task/verify.command.d.ts.map +1 -1
- package/dist/commands/task/verify.command.js +7 -6
- package/dist/commands/task.test-helpers.d.ts +13 -0
- package/dist/commands/task.test-helpers.d.ts.map +1 -0
- package/dist/commands/task.test-helpers.js +65 -0
- package/dist/commands/upgrade/apply.d.ts +2 -0
- package/dist/commands/upgrade/apply.d.ts.map +1 -1
- package/dist/commands/upgrade/apply.js +33 -1
- package/dist/commands/upgrade/materialize.d.ts +28 -0
- package/dist/commands/upgrade/materialize.d.ts.map +1 -0
- package/dist/commands/upgrade/materialize.js +154 -0
- package/dist/commands/upgrade/plan.d.ts +18 -0
- package/dist/commands/upgrade/plan.d.ts.map +1 -0
- package/dist/commands/upgrade/plan.js +219 -0
- package/dist/commands/upgrade/policy.d.ts +24 -0
- package/dist/commands/upgrade/policy.d.ts.map +1 -0
- package/dist/commands/upgrade/policy.js +182 -0
- package/dist/commands/upgrade/report.d.ts.map +1 -1
- package/dist/commands/upgrade/report.js +7 -5
- package/dist/commands/upgrade.command.d.ts.map +1 -1
- package/dist/commands/upgrade.command.js +25 -0
- package/dist/commands/upgrade.d.ts +1 -0
- package/dist/commands/upgrade.d.ts.map +1 -1
- package/dist/commands/upgrade.js +164 -618
- package/dist/commands/workflow.command.d.ts +3 -4
- package/dist/commands/workflow.command.d.ts.map +1 -1
- package/dist/commands/workflow.command.js +8 -25
- package/dist/policy/rules/allowlist.d.ts.map +1 -1
- package/dist/policy/rules/allowlist.js +12 -9
- package/dist/ports/task-backend-port.d.ts +4 -2
- package/dist/ports/task-backend-port.d.ts.map +1 -1
- package/dist/runner/adapters/codex.d.ts +9 -0
- package/dist/runner/adapters/codex.d.ts.map +1 -0
- package/dist/runner/adapters/codex.js +414 -0
- package/dist/runner/adapters/custom.d.ts +12 -0
- package/dist/runner/adapters/custom.d.ts.map +1 -0
- package/dist/runner/adapters/custom.js +512 -0
- package/dist/runner/adapters/index.d.ts +8 -0
- package/dist/runner/adapters/index.d.ts.map +1 -0
- package/dist/runner/adapters/index.js +15 -0
- package/dist/runner/adapters/recipe-run-profile.d.ts +8 -0
- package/dist/runner/adapters/recipe-run-profile.d.ts.map +1 -0
- package/dist/runner/adapters/recipe-run-profile.js +53 -0
- package/dist/runner/adapters/shared.d.ts +45 -0
- package/dist/runner/adapters/shared.d.ts.map +1 -0
- package/dist/runner/adapters/shared.js +58 -0
- package/dist/runner/artifacts.d.ts +31 -0
- package/dist/runner/artifacts.d.ts.map +1 -0
- package/dist/runner/artifacts.js +153 -0
- package/dist/runner/codex-approval-probe.d.ts +23 -0
- package/dist/runner/codex-approval-probe.d.ts.map +1 -0
- package/dist/runner/codex-approval-probe.js +55 -0
- package/dist/runner/codex-smoke.d.ts +11 -0
- package/dist/runner/codex-smoke.d.ts.map +1 -0
- package/dist/runner/codex-smoke.js +45 -0
- package/dist/runner/config.d.ts +6 -0
- package/dist/runner/config.d.ts.map +1 -0
- package/dist/runner/config.js +15 -0
- package/dist/runner/context/base-prompts.d.ts +10 -0
- package/dist/runner/context/base-prompts.d.ts.map +1 -0
- package/dist/runner/context/base-prompts.js +255 -0
- package/dist/runner/context/recipe-context.d.ts +17 -0
- package/dist/runner/context/recipe-context.d.ts.map +1 -0
- package/dist/runner/context/recipe-context.js +48 -0
- package/dist/runner/context/task-context.d.ts +24 -0
- package/dist/runner/context/task-context.d.ts.map +1 -0
- package/dist/runner/context/task-context.js +266 -0
- package/dist/runner/index.d.ts +12 -0
- package/dist/runner/index.d.ts.map +1 -0
- package/dist/runner/index.js +11 -0
- package/dist/runner/policy-decision.d.ts +12 -0
- package/dist/runner/policy-decision.d.ts.map +1 -0
- package/dist/runner/policy-decision.js +89 -0
- package/dist/runner/policy-display.d.ts +4 -0
- package/dist/runner/policy-display.d.ts.map +1 -0
- package/dist/runner/policy-display.js +41 -0
- package/dist/runner/process-supervision.d.ts +48 -0
- package/dist/runner/process-supervision.d.ts.map +1 -0
- package/dist/runner/process-supervision.js +490 -0
- package/dist/runner/result-manifest-policy.d.ts +9 -0
- package/dist/runner/result-manifest-policy.d.ts.map +1 -0
- package/dist/runner/result-manifest-policy.js +96 -0
- package/dist/runner/result-manifest.d.ts +30 -0
- package/dist/runner/result-manifest.d.ts.map +1 -0
- package/dist/runner/result-manifest.js +322 -0
- package/dist/runner/run-id.d.ts +2 -0
- package/dist/runner/run-id.d.ts.map +1 -0
- package/dist/runner/run-id.js +3 -0
- package/dist/runner/run-repository.d.ts +51 -0
- package/dist/runner/run-repository.d.ts.map +1 -0
- package/dist/runner/run-repository.js +222 -0
- package/dist/runner/task-run-paths.d.ts +19 -0
- package/dist/runner/task-run-paths.d.ts.map +1 -0
- package/dist/runner/task-run-paths.js +25 -0
- package/dist/runner/task-state.d.ts +9 -0
- package/dist/runner/task-state.d.ts.map +1 -0
- package/dist/runner/task-state.js +354 -0
- package/dist/runner/test-helpers.d.ts +30 -0
- package/dist/runner/test-helpers.d.ts.map +1 -0
- package/dist/runner/test-helpers.js +97 -0
- package/dist/runner/trace-artifacts.d.ts +14 -0
- package/dist/runner/trace-artifacts.d.ts.map +1 -0
- package/dist/runner/trace-artifacts.js +80 -0
- package/dist/runner/trace.d.ts +10 -0
- package/dist/runner/trace.d.ts.map +1 -0
- package/dist/runner/trace.js +37 -0
- package/dist/runner/types.d.ts +317 -0
- package/dist/runner/types.d.ts.map +1 -0
- package/dist/runner/types.js +3 -0
- package/dist/runner/usecases/scenario-materialize-task.d.ts +29 -0
- package/dist/runner/usecases/scenario-materialize-task.d.ts.map +1 -0
- package/dist/runner/usecases/scenario-materialize-task.js +151 -0
- package/dist/runner/usecases/task-run-inspect.d.ts +41 -0
- package/dist/runner/usecases/task-run-inspect.d.ts.map +1 -0
- package/dist/runner/usecases/task-run-inspect.js +74 -0
- package/dist/runner/usecases/task-run-lifecycle-cancel.d.ts +10 -0
- package/dist/runner/usecases/task-run-lifecycle-cancel.d.ts.map +1 -0
- package/dist/runner/usecases/task-run-lifecycle-cancel.js +172 -0
- package/dist/runner/usecases/task-run-lifecycle-replay.d.ts +18 -0
- package/dist/runner/usecases/task-run-lifecycle-replay.d.ts.map +1 -0
- package/dist/runner/usecases/task-run-lifecycle-replay.js +128 -0
- package/dist/runner/usecases/task-run-lifecycle-shared.d.ts +45 -0
- package/dist/runner/usecases/task-run-lifecycle-shared.d.ts.map +1 -0
- package/dist/runner/usecases/task-run-lifecycle-shared.js +172 -0
- package/dist/runner/usecases/task-run-lifecycle.d.ts +4 -0
- package/dist/runner/usecases/task-run-lifecycle.d.ts.map +1 -0
- package/dist/runner/usecases/task-run-lifecycle.js +2 -0
- package/dist/runner/usecases/task-run.d.ts +32 -0
- package/dist/runner/usecases/task-run.d.ts.map +1 -0
- package/dist/runner/usecases/task-run.js +278 -0
- package/dist/shared/agent-emoji.d.ts.map +1 -1
- package/dist/shared/agent-emoji.js +1 -0
- package/dist/shared/errors.d.ts +1 -1
- package/dist/shared/errors.d.ts.map +1 -1
- package/dist/shared/guards.d.ts.map +1 -1
- package/dist/shared/guards.js +1 -0
- package/dist/shared/protected-paths.d.ts +10 -0
- package/dist/shared/protected-paths.d.ts.map +1 -1
- package/dist/shared/protected-paths.js +33 -0
- package/dist/shared/repo-cli-version.d.ts.map +1 -1
- package/dist/shared/repo-cli-version.js +7 -5
- package/dist/shared/task-doc-conflicts.d.ts +12 -0
- package/dist/shared/task-doc-conflicts.d.ts.map +1 -0
- package/dist/shared/task-doc-conflicts.js +40 -0
- package/dist/shared/task-doc-state.d.ts +10 -0
- package/dist/shared/task-doc-state.d.ts.map +1 -0
- package/dist/shared/task-doc-state.js +15 -0
- package/dist/test-helpers/fs.d.ts +2 -0
- package/dist/test-helpers/fs.d.ts.map +1 -0
- package/dist/test-helpers/fs.js +9 -0
- package/dist/usecases/context/resolve-context.d.ts +2 -0
- package/dist/usecases/context/resolve-context.d.ts.map +1 -1
- package/dist/usecases/context/resolve-context.js +4 -1
- package/dist/usecases/task/task-list-usecase.d.ts.map +1 -1
- package/dist/usecases/task/task-list-usecase.js +2 -8
- package/dist/workflow-runtime/fix.d.ts +9 -1
- package/dist/workflow-runtime/fix.d.ts.map +1 -1
- package/dist/workflow-runtime/fix.js +9 -1
- package/package.json +3 -2
- package/dist/backends/task-backend.test-helpers.d.ts +0 -4
- package/dist/backends/task-backend.test-helpers.d.ts.map +0 -1
- package/dist/backends/task-backend.test-helpers.js +0 -33
- package/dist/cli/run-cli/catalog.d.ts +0 -7
- package/dist/cli/run-cli/catalog.d.ts.map +0 -1
- package/dist/cli/run-cli/catalog.js +0 -22
- package/dist/cli/run-cli.core.pr-flow.test-helpers.d.ts +0 -3
- package/dist/cli/run-cli.core.pr-flow.test-helpers.d.ts.map +0 -1
- package/dist/cli/run-cli.core.pr-flow.test-helpers.js +0 -41
- package/dist/cli/run-cli.core.tasks.test-helpers.d.ts +0 -2
- package/dist/cli/run-cli.core.tasks.test-helpers.d.ts.map +0 -1
- package/dist/cli/run-cli.core.tasks.test-helpers.js +0 -6
- package/dist/commands/block.command.d.ts +0 -4
- package/dist/commands/block.command.d.ts.map +0 -1
- package/dist/commands/block.command.js +0 -2
- package/dist/commands/doctor.command.d.ts +0 -3
- package/dist/commands/doctor.command.d.ts.map +0 -1
- package/dist/commands/doctor.command.js +0 -2
- package/dist/commands/finish.command.d.ts +0 -4
- package/dist/commands/finish.command.d.ts.map +0 -1
- package/dist/commands/finish.command.js +0 -2
- package/dist/commands/recipes/install.command.d.ts +0 -3
- package/dist/commands/recipes/install.command.d.ts.map +0 -1
- package/dist/commands/recipes/install.command.js +0 -2
- package/dist/commands/start.command.d.ts +0 -4
- package/dist/commands/start.command.d.ts.map +0 -1
- package/dist/commands/start.command.js +0 -2
- package/dist/commands/task/list.command.d.ts +0 -4
- package/dist/commands/task/list.command.d.ts.map +0 -1
- package/dist/commands/task/list.command.js +0 -2
- package/dist/commands/task/next.command.d.ts +0 -4
- package/dist/commands/task/next.command.d.ts.map +0 -1
- package/dist/commands/task/next.command.js +0 -2
- package/dist/commands/task/search.command.d.ts +0 -4
- package/dist/commands/task/search.command.d.ts.map +0 -1
- package/dist/commands/task/search.command.js +0 -2
- package/dist/commands/task/show.command.d.ts +0 -4
- package/dist/commands/task/show.command.d.ts.map +0 -1
- package/dist/commands/task/show.command.js +0 -2
- package/dist/commands/verify.command.d.ts +0 -4
- package/dist/commands/verify.command.d.ts.map +0 -1
- package/dist/commands/verify.command.js +0 -2
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { usageError } from "./spec/errors.js";
|
|
2
|
+
import { suggestOne } from "./spec/suggest.js";
|
|
3
|
+
export function parseGroupCommand(raw, argName = "cmd") {
|
|
4
|
+
const value = raw.args[argName];
|
|
5
|
+
if (Array.isArray(value))
|
|
6
|
+
return { cmd: value.map(String) };
|
|
7
|
+
if (typeof value === "string" && value.length > 0)
|
|
8
|
+
return { cmd: [value] };
|
|
9
|
+
return { cmd: [] };
|
|
10
|
+
}
|
|
11
|
+
export function directSubcommandNames(prefix, specs) {
|
|
12
|
+
return directSubcommandNamesFromIds(prefix, specs.map((spec) => spec.id));
|
|
13
|
+
}
|
|
14
|
+
export function directSubcommandNamesFromIds(prefix, ids) {
|
|
15
|
+
const names = new Set();
|
|
16
|
+
for (const id of ids) {
|
|
17
|
+
if (id.length <= prefix.length)
|
|
18
|
+
continue;
|
|
19
|
+
if (!prefix.every((segment, index) => id[index] === segment))
|
|
20
|
+
continue;
|
|
21
|
+
const next = id[prefix.length];
|
|
22
|
+
if (typeof next === "string" && next.length > 0)
|
|
23
|
+
names.add(next);
|
|
24
|
+
}
|
|
25
|
+
return [...names].toSorted((left, right) => left.localeCompare(right));
|
|
26
|
+
}
|
|
27
|
+
export async function loadDirectSubcommandNames(prefix) {
|
|
28
|
+
// Lazy-load the catalog to avoid a static cycle between group roots and catalog bootstrap.
|
|
29
|
+
const { getDirectChildCommandNames } = await import("./run-cli/command-catalog.js");
|
|
30
|
+
return getDirectChildCommandNames(prefix);
|
|
31
|
+
}
|
|
32
|
+
export function throwGroupCommandUsage(opts) {
|
|
33
|
+
const input = opts.cmd.join(" ");
|
|
34
|
+
const suggestion = suggestOne(input, [...opts.subcommands]);
|
|
35
|
+
const suffix = suggestion ? ` Did you mean: ${suggestion}?` : "";
|
|
36
|
+
const message = opts.cmd.length === 0
|
|
37
|
+
? (opts.missingMessage ?? "Missing subcommand.")
|
|
38
|
+
: `${opts.unknownMessage?.(opts.cmd[0] ?? "") ?? `Unknown subcommand: ${opts.cmd[0]}.`}${suffix}`;
|
|
39
|
+
throw usageError({
|
|
40
|
+
spec: opts.spec,
|
|
41
|
+
command: opts.command,
|
|
42
|
+
message,
|
|
43
|
+
context: opts.contextCommand ? { command: opts.contextCommand } : undefined,
|
|
44
|
+
});
|
|
45
|
+
}
|
package/dist/cli/output.d.ts
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
export type CliOutputWriter = {
|
|
2
|
+
write: (chunk: string) => unknown;
|
|
3
|
+
};
|
|
4
|
+
export type CliEmitterStream = "stdout" | "stderr";
|
|
5
|
+
export type CliReportEntry = string | {
|
|
6
|
+
label: string;
|
|
7
|
+
value?: string | number | boolean | null;
|
|
8
|
+
};
|
|
9
|
+
export type CliReportOptions = {
|
|
10
|
+
header?: string;
|
|
11
|
+
stream?: CliEmitterStream;
|
|
12
|
+
};
|
|
13
|
+
export type CliEmitter = {
|
|
14
|
+
line: (text: string, stream?: CliEmitterStream) => void;
|
|
15
|
+
lines: (lines: Iterable<string>, stream?: CliEmitterStream) => void;
|
|
16
|
+
json: (value: unknown, stream?: CliEmitterStream) => void;
|
|
17
|
+
jsonSection: (label: string, value: unknown, options?: {
|
|
18
|
+
indent?: string;
|
|
19
|
+
stream?: CliEmitterStream;
|
|
20
|
+
}) => void;
|
|
21
|
+
report: (entries: Iterable<CliReportEntry>, options?: CliReportOptions) => void;
|
|
22
|
+
info: (message: string, stream?: CliEmitterStream) => void;
|
|
23
|
+
warn: (message: string, stream?: CliEmitterStream) => void;
|
|
24
|
+
success: (action: string, target?: string, details?: string, stream?: CliEmitterStream) => void;
|
|
25
|
+
};
|
|
1
26
|
export declare function successMessage(action: string, target?: string, details?: string): string;
|
|
2
27
|
export declare function infoMessage(message: string): string;
|
|
3
28
|
export declare function warnMessage(message: string): string;
|
|
@@ -13,4 +38,8 @@ export declare function invalidFieldMessage(field: string, expected: string, sou
|
|
|
13
38
|
export declare function invalidPathMessage(field: string, reason: string, source?: string): string;
|
|
14
39
|
export declare function missingFileMessage(filename: string, rootHint?: string): string;
|
|
15
40
|
export declare function workflowModeMessage(actual: string | undefined, expected: string): string;
|
|
41
|
+
export declare function createCliEmitter(streams?: {
|
|
42
|
+
stdout?: CliOutputWriter;
|
|
43
|
+
stderr?: CliOutputWriter;
|
|
44
|
+
}): CliEmitter;
|
|
16
45
|
//# sourceMappingURL=output.d.ts.map
|
package/dist/cli/output.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output.d.ts","sourceRoot":"","sources":["../../src/cli/output.ts"],"names":[],"mappings":"AAAA,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAIxF;AAED,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAEnD;AAED,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAEnD;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAEpE;AAED,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAElE;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAExD;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAE1F;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAEzF;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAE1E;AAED,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAEzE;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAE3E;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAE5F;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAEzF;AAED,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAE9E;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAExF"}
|
|
1
|
+
{"version":3,"file":"output.d.ts","sourceRoot":"","sources":["../../src/cli/output.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEnD,MAAM,MAAM,cAAc,GACtB,MAAM,GACN;IACE,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;CAC1C,CAAC;AAEN,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,gBAAgB,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACxD,KAAK,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACpE,IAAI,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC1D,WAAW,EAAE,CACX,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,OAAO,EACd,OAAO,CAAC,EAAE;QACR,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,MAAM,CAAC,EAAE,gBAAgB,CAAC;KAC3B,KACE,IAAI,CAAC;IACV,MAAM,EAAE,CAAC,OAAO,EAAE,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAChF,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC3D,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC3D,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,gBAAgB,KAAK,IAAI,CAAC;CACjG,CAAC;AAwBF,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAIxF;AAED,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAEnD;AAED,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAEnD;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAEpE;AAED,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAElE;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAExD;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAE1F;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAEzF;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAE1E;AAED,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAEzE;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAE3E;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAE5F;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAEzF;AAED,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAE9E;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAExF;AA4BD,wBAAgB,gBAAgB,CAAC,OAAO,CAAC,EAAE;IACzC,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,MAAM,CAAC,EAAE,eAAe,CAAC;CAC1B,GAAG,UAAU,CAyDb"}
|
package/dist/cli/output.js
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
function ensureTrailingNewline(text) {
|
|
2
|
+
return text.endsWith("\n") ? text : `${text}\n`;
|
|
3
|
+
}
|
|
4
|
+
function renderReportLine(entry) {
|
|
5
|
+
if (typeof entry === "string")
|
|
6
|
+
return entry;
|
|
7
|
+
if (entry.value === undefined || entry.value === null)
|
|
8
|
+
return `${entry.label}:`;
|
|
9
|
+
return `${entry.label}: ${String(entry.value)}`;
|
|
10
|
+
}
|
|
11
|
+
function resolveWriter(stdout, stderr, stream) {
|
|
12
|
+
return stream === "stderr" ? stderr : stdout;
|
|
13
|
+
}
|
|
14
|
+
function writeChunk(writer, text) {
|
|
15
|
+
writer.write(text);
|
|
16
|
+
}
|
|
1
17
|
export function successMessage(action, target, details) {
|
|
2
18
|
const base = target ? `${action} ${target}` : action;
|
|
3
19
|
const suffix = details ? ` (${details})` : "";
|
|
@@ -45,3 +61,63 @@ export function missingFileMessage(filename, rootHint) {
|
|
|
45
61
|
export function workflowModeMessage(actual, expected) {
|
|
46
62
|
return `Invalid workflow_mode: ${actual ?? "unknown"} (expected ${expected})`;
|
|
47
63
|
}
|
|
64
|
+
function renderPrettyJson(value) {
|
|
65
|
+
return JSON.stringify(value, null, 2);
|
|
66
|
+
}
|
|
67
|
+
function renderTextLine(text) {
|
|
68
|
+
return ensureTrailingNewline(text);
|
|
69
|
+
}
|
|
70
|
+
function renderTextLines(lines) {
|
|
71
|
+
return Array.from(lines, renderTextLine).join("");
|
|
72
|
+
}
|
|
73
|
+
function renderReportBlock(entries, options) {
|
|
74
|
+
const lines = options?.header ? [options.header] : [];
|
|
75
|
+
for (const entry of entries) {
|
|
76
|
+
lines.push(renderReportLine(entry));
|
|
77
|
+
}
|
|
78
|
+
return renderTextLines(lines);
|
|
79
|
+
}
|
|
80
|
+
function renderJsonSectionBlock(label, value, indent) {
|
|
81
|
+
const payload = renderPrettyJson(value);
|
|
82
|
+
if (!payload)
|
|
83
|
+
return null;
|
|
84
|
+
return renderTextLines([`${label}:`, ...payload.split("\n").map((line) => `${indent}${line}`)]);
|
|
85
|
+
}
|
|
86
|
+
export function createCliEmitter(streams) {
|
|
87
|
+
const stdout = streams?.stdout ?? process.stdout;
|
|
88
|
+
const stderr = streams?.stderr ?? process.stderr;
|
|
89
|
+
const line = (text, stream = "stdout") => {
|
|
90
|
+
writeChunk(resolveWriter(stdout, stderr, stream), renderTextLine(text));
|
|
91
|
+
};
|
|
92
|
+
const lines = (values, stream = "stdout") => {
|
|
93
|
+
writeChunk(resolveWriter(stdout, stderr, stream), renderTextLines(values));
|
|
94
|
+
};
|
|
95
|
+
const json = (value, stream = "stdout") => {
|
|
96
|
+
line(renderPrettyJson(value), stream);
|
|
97
|
+
};
|
|
98
|
+
const jsonSection = (label, value, options) => {
|
|
99
|
+
const block = renderJsonSectionBlock(label, value, options?.indent ?? " ");
|
|
100
|
+
if (!block)
|
|
101
|
+
return;
|
|
102
|
+
writeChunk(resolveWriter(stdout, stderr, options?.stream ?? "stdout"), block);
|
|
103
|
+
};
|
|
104
|
+
const report = (entries, options) => {
|
|
105
|
+
writeChunk(resolveWriter(stdout, stderr, options?.stream ?? "stdout"), renderReportBlock(entries, options));
|
|
106
|
+
};
|
|
107
|
+
return {
|
|
108
|
+
line,
|
|
109
|
+
lines,
|
|
110
|
+
json,
|
|
111
|
+
jsonSection,
|
|
112
|
+
report,
|
|
113
|
+
info: (message, stream = "stdout") => {
|
|
114
|
+
line(infoMessage(message), stream);
|
|
115
|
+
},
|
|
116
|
+
warn: (message, stream = "stderr") => {
|
|
117
|
+
line(warnMessage(message), stream);
|
|
118
|
+
},
|
|
119
|
+
success: (action, target, details, stream = "stdout") => {
|
|
120
|
+
line(successMessage(action, target, details), stream);
|
|
121
|
+
},
|
|
122
|
+
};
|
|
123
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../src/cli/prompts.ts"],"names":[],"mappings":"AAEA,wBAAsB,YAAY,CAChC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,EAAE,EACjB,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,MAAM,CAAC,CAYjB;AAED,wBAAsB,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../src/cli/prompts.ts"],"names":[],"mappings":"AAEA,wBAAsB,YAAY,CAChC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,EAAE,EACjB,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,MAAM,CAAC,CAYjB;AAED,wBAAsB,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAUzF;AAED,wBAAsB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAKjE"}
|
package/dist/cli/prompts.js
CHANGED
|
@@ -21,7 +21,11 @@ export async function promptYesNo(prompt, defaultValue) {
|
|
|
21
21
|
const trimmed = answer.trim().toLowerCase();
|
|
22
22
|
if (!trimmed)
|
|
23
23
|
return defaultValue;
|
|
24
|
-
|
|
24
|
+
if (["y", "yes", "true", "1", "on"].includes(trimmed))
|
|
25
|
+
return true;
|
|
26
|
+
if (["n", "no", "false", "0", "off"].includes(trimmed))
|
|
27
|
+
return false;
|
|
28
|
+
return defaultValue;
|
|
25
29
|
}
|
|
26
30
|
export async function promptInput(prompt) {
|
|
27
31
|
const rl = createInterface({ input: process.stdin, output: process.stdout });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../../../src/cli/run-cli/command-catalog/core.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../../../src/cli/run-cli/command-catalog/core.ts"],"names":[],"mappings":"AA6BA,OAAO,EAAS,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAEvD,eAAO,MAAM,aAAa,2VA8MkB,CAAC"}
|
|
@@ -9,129 +9,138 @@ import { releaseApplySpec } from "../../../commands/release/apply.command.js";
|
|
|
9
9
|
import { releasePlanSpec } from "../../../commands/release/plan.command.js";
|
|
10
10
|
import { releaseSpec } from "../../../commands/release/release.command.js";
|
|
11
11
|
import { configSetSpec, configShowSpec, modeGetSpec, modeSetSpec, profileSetSpec, } from "../commands/config.js";
|
|
12
|
-
import { agentsSpec
|
|
12
|
+
import { agentsSpec } from "../commands/core/agents.js";
|
|
13
|
+
import { preflightSpec } from "../commands/core/preflight.js";
|
|
14
|
+
import { quickstartSpec } from "../commands/core/quickstart.js";
|
|
15
|
+
import { roleSpec } from "../commands/core/role.js";
|
|
13
16
|
import { ideSyncSpec } from "../commands/ide.js";
|
|
14
17
|
import { initSpec } from "../commands/init.js";
|
|
18
|
+
import { requireCanonicalCommandInvocation } from "../../command-invocations.js";
|
|
15
19
|
import { entry } from "./shared.js";
|
|
16
20
|
export const CORE_COMMANDS = [
|
|
17
21
|
entry(initSpec, () => import("../commands/init.js").then((m) => m.runInit), {
|
|
18
22
|
needsProject: false,
|
|
19
|
-
|
|
23
|
+
needsLoadedConfig: false,
|
|
20
24
|
needsTaskContext: false,
|
|
25
|
+
invocation: requireCanonicalCommandInvocation(["init"]),
|
|
21
26
|
}),
|
|
22
27
|
entry(upgradeSpec, () => import("../../../commands/upgrade.command.js").then((m) => m.runUpgrade), {
|
|
23
28
|
needsProject: false,
|
|
24
|
-
|
|
29
|
+
needsLoadedConfig: false,
|
|
25
30
|
needsTaskContext: false,
|
|
26
31
|
}),
|
|
27
32
|
entry(releaseSpec, () => import("../../../commands/release/release.command.js").then((m) => m.runRelease), {
|
|
28
33
|
needsProject: false,
|
|
29
|
-
|
|
34
|
+
needsLoadedConfig: false,
|
|
30
35
|
needsTaskContext: false,
|
|
31
36
|
}),
|
|
32
37
|
entry(releasePlanSpec, () => import("../../../commands/release/plan.command.js").then((m) => m.runReleasePlan), {
|
|
33
38
|
needsProject: true,
|
|
34
|
-
|
|
39
|
+
needsLoadedConfig: false,
|
|
35
40
|
needsTaskContext: false,
|
|
36
41
|
}),
|
|
37
42
|
entry(releaseApplySpec, () => import("../../../commands/release/apply.command.js").then((m) => m.runReleaseApply), {
|
|
38
43
|
needsProject: true,
|
|
39
|
-
|
|
44
|
+
needsLoadedConfig: false,
|
|
40
45
|
needsTaskContext: false,
|
|
41
46
|
}),
|
|
42
|
-
entry(quickstartSpec, () => import("../commands/core.js").then((m) => m.runQuickstart), {
|
|
47
|
+
entry(quickstartSpec, () => import("../commands/core/quickstart.js").then((m) => m.runQuickstart), {
|
|
43
48
|
needsProject: false,
|
|
44
|
-
|
|
49
|
+
needsLoadedConfig: false,
|
|
45
50
|
needsTaskContext: false,
|
|
51
|
+
invocation: requireCanonicalCommandInvocation(["quickstart"]),
|
|
46
52
|
}),
|
|
47
|
-
entry(preflightSpec, () => import("../commands/core.js").then((m) => m.runPreflight), {
|
|
53
|
+
entry(preflightSpec, () => import("../commands/core/preflight.js").then((m) => m.runPreflight), {
|
|
48
54
|
needsProject: false,
|
|
49
|
-
|
|
55
|
+
needsLoadedConfig: false,
|
|
50
56
|
needsTaskContext: false,
|
|
57
|
+
invocation: requireCanonicalCommandInvocation(["preflight"]),
|
|
51
58
|
}),
|
|
52
59
|
entry(runtimeSpec, () => import("../../../commands/runtime.command.js").then((m) => m.runRuntime), {
|
|
53
60
|
needsProject: false,
|
|
54
|
-
|
|
61
|
+
needsLoadedConfig: false,
|
|
55
62
|
needsTaskContext: false,
|
|
56
63
|
}),
|
|
57
64
|
entry(runtimeExplainSpec, () => import("../../../commands/runtime.command.js").then((m) => m.runRuntimeExplain), {
|
|
58
65
|
needsProject: false,
|
|
59
|
-
|
|
66
|
+
needsLoadedConfig: false,
|
|
60
67
|
needsTaskContext: false,
|
|
61
68
|
}),
|
|
62
|
-
entry(roleSpec, () => import("../commands/core.js").then((m) => m.runRole), {
|
|
69
|
+
entry(roleSpec, () => import("../commands/core/role.js").then((m) => m.runRole), {
|
|
63
70
|
needsProject: false,
|
|
64
|
-
|
|
71
|
+
needsLoadedConfig: false,
|
|
65
72
|
needsTaskContext: false,
|
|
73
|
+
invocation: requireCanonicalCommandInvocation(["role"]),
|
|
66
74
|
}),
|
|
67
|
-
entry(agentsSpec, (deps) => import("../commands/core.js").then((m) => m.makeRunAgentsHandler(deps)), {
|
|
75
|
+
entry(agentsSpec, (deps) => import("../commands/core/agents.js").then((m) => m.makeRunAgentsHandler(deps)), {
|
|
68
76
|
needsProject: true,
|
|
69
|
-
|
|
77
|
+
needsLoadedConfig: false,
|
|
70
78
|
needsTaskContext: false,
|
|
71
79
|
}),
|
|
72
80
|
entry(configShowSpec, (deps) => import("../commands/config.js").then((m) => m.makeRunConfigShowHandler(deps)), {
|
|
73
81
|
needsProject: true,
|
|
74
|
-
|
|
82
|
+
needsLoadedConfig: true,
|
|
75
83
|
needsTaskContext: false,
|
|
84
|
+
invocation: requireCanonicalCommandInvocation(["config", "show"]),
|
|
76
85
|
}),
|
|
77
86
|
entry(configSetSpec, (deps) => import("../commands/config.js").then((m) => m.makeRunConfigSetHandler(deps)), {
|
|
78
87
|
needsProject: true,
|
|
79
|
-
|
|
88
|
+
needsLoadedConfig: true,
|
|
80
89
|
needsTaskContext: false,
|
|
81
90
|
}),
|
|
82
91
|
entry(modeGetSpec, (deps) => import("../commands/config.js").then((m) => m.makeRunModeGetHandler(deps)), {
|
|
83
92
|
needsProject: true,
|
|
84
|
-
|
|
93
|
+
needsLoadedConfig: true,
|
|
85
94
|
needsTaskContext: false,
|
|
86
95
|
}),
|
|
87
96
|
entry(modeSetSpec, (deps) => import("../commands/config.js").then((m) => m.makeRunModeSetHandler(deps)), {
|
|
88
97
|
needsProject: true,
|
|
89
|
-
|
|
98
|
+
needsLoadedConfig: true,
|
|
90
99
|
needsTaskContext: false,
|
|
91
100
|
}),
|
|
92
101
|
entry(profileSetSpec, (deps) => import("../commands/config.js").then((m) => m.makeRunProfileSetHandler(deps)), {
|
|
93
102
|
needsProject: true,
|
|
94
|
-
|
|
103
|
+
needsLoadedConfig: true,
|
|
95
104
|
needsTaskContext: false,
|
|
96
105
|
}),
|
|
97
106
|
entry(ideSyncSpec, (deps) => import("../commands/ide.js").then((m) => m.makeRunIdeSyncHandler(deps)), {
|
|
98
107
|
needsProject: true,
|
|
99
|
-
|
|
108
|
+
needsLoadedConfig: false,
|
|
100
109
|
needsTaskContext: false,
|
|
101
110
|
}),
|
|
102
111
|
entry(doctorSpec, () => import("../../../commands/doctor.run.js").then((m) => m.runDoctor), {
|
|
103
112
|
needsProject: true,
|
|
104
|
-
|
|
113
|
+
needsLoadedConfig: false,
|
|
105
114
|
needsTaskContext: false,
|
|
106
115
|
}),
|
|
107
116
|
entry(workflowSpec, () => import("../../../commands/workflow.command.js").then((m) => m.runWorkflow), {
|
|
108
117
|
needsProject: false,
|
|
109
|
-
|
|
118
|
+
needsLoadedConfig: false,
|
|
110
119
|
needsTaskContext: false,
|
|
111
120
|
}),
|
|
112
121
|
entry(workflowBuildSpec, () => import("../../../commands/workflow-build.command.js").then((m) => m.runWorkflowBuild), {
|
|
113
122
|
needsProject: true,
|
|
114
|
-
|
|
123
|
+
needsLoadedConfig: false,
|
|
115
124
|
needsTaskContext: false,
|
|
116
125
|
}),
|
|
117
126
|
entry(workflowRestoreSpec, () => import("../../../commands/workflow-restore.command.js").then((m) => m.runWorkflowRestore), {
|
|
118
127
|
needsProject: true,
|
|
119
|
-
|
|
128
|
+
needsLoadedConfig: false,
|
|
120
129
|
needsTaskContext: false,
|
|
121
130
|
}),
|
|
122
131
|
entry(workflowDebugSpec, () => import("../../../commands/workflow-playbook.command.js").then((m) => m.runWorkflowDebug), {
|
|
123
132
|
needsProject: true,
|
|
124
|
-
|
|
133
|
+
needsLoadedConfig: false,
|
|
125
134
|
needsTaskContext: false,
|
|
126
135
|
}),
|
|
127
136
|
entry(workflowSyncSpec, () => import("../../../commands/workflow-playbook.command.js").then((m) => m.runWorkflowSync), {
|
|
128
137
|
needsProject: true,
|
|
129
|
-
|
|
138
|
+
needsLoadedConfig: false,
|
|
130
139
|
needsTaskContext: false,
|
|
131
140
|
}),
|
|
132
141
|
entry(workflowLandSpec, () => import("../../../commands/workflow-playbook.command.js").then((m) => m.runWorkflowLand), {
|
|
133
142
|
needsProject: true,
|
|
134
|
-
|
|
143
|
+
needsLoadedConfig: false,
|
|
135
144
|
needsTaskContext: false,
|
|
136
145
|
}),
|
|
137
146
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lifecycle.d.ts","sourceRoot":"","sources":["../../../../src/cli/run-cli/command-catalog/lifecycle.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lifecycle.d.ts","sourceRoot":"","sources":["../../../../src/cli/run-cli/command-catalog/lifecycle.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAS,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAEvD,eAAO,MAAM,kBAAkB,yPA2Fa,CAAC"}
|
|
@@ -14,22 +14,25 @@ import { hooksUninstallSpec } from "../../../commands/hooks/uninstall.command.js
|
|
|
14
14
|
import { readySpec } from "../../../commands/ready.command.js";
|
|
15
15
|
import { startSpec } from "../../../commands/start.spec.js";
|
|
16
16
|
import { verifySpec } from "../../../commands/verify.spec.js";
|
|
17
|
+
import { requireCanonicalCommandInvocation } from "../../command-invocations.js";
|
|
17
18
|
import { entry } from "./shared.js";
|
|
18
19
|
export const LIFECYCLE_COMMANDS = [
|
|
19
20
|
entry(commitSpec, (deps) => import("../../../commands/commit.command.js").then((m) => m.makeRunCommitHandler(deps.getCtx))),
|
|
20
21
|
entry(startSpec, (deps) => import("../../../commands/start.run.js").then((m) => m.makeRunStartHandler(deps.getCtx))),
|
|
21
22
|
entry(blockSpec, (deps) => import("../../../commands/block.run.js").then((m) => m.makeRunBlockHandler(deps.getCtx))),
|
|
22
|
-
entry(verifySpec, (deps) => import("../../../commands/verify.run.js").then((m) => m.makeRunVerifyHandler(deps.getCtx))),
|
|
23
|
-
entry(finishSpec, (deps) => import("../../../commands/finish.run.js").then((m) => m.makeRunFinishHandler(deps.getCtx))
|
|
23
|
+
entry(verifySpec, (deps) => import("../../../commands/verify.run.js").then((m) => m.makeRunVerifyHandler(deps.getCtx)), { invocation: requireCanonicalCommandInvocation(["verify"]) }),
|
|
24
|
+
entry(finishSpec, (deps) => import("../../../commands/finish.run.js").then((m) => m.makeRunFinishHandler(deps.getCtx)), {
|
|
25
|
+
invocation: requireCanonicalCommandInvocation(["finish"]),
|
|
26
|
+
}),
|
|
24
27
|
entry(readySpec, (deps) => import("../../../commands/ready.command.js").then((m) => m.makeRunReadyHandler(deps.getCtx))),
|
|
25
28
|
entry(docsCliSpec, (deps) => import("../../../commands/docs/cli.command.js").then((m) => m.makeRunDocsCliHandler(deps.getHelpJsonForDocs)), {
|
|
26
29
|
needsProject: false,
|
|
27
|
-
|
|
30
|
+
needsLoadedConfig: false,
|
|
28
31
|
needsTaskContext: false,
|
|
29
32
|
}),
|
|
30
33
|
entry(hooksSpec, () => import("../../../commands/hooks/hooks.command.js").then((m) => m.runHooks), {
|
|
31
34
|
needsProject: false,
|
|
32
|
-
|
|
35
|
+
needsLoadedConfig: false,
|
|
33
36
|
needsTaskContext: false,
|
|
34
37
|
}),
|
|
35
38
|
entry(hooksInstallSpec, () => import("../../../commands/hooks/install.command.js").then((m) => m.runHooksInstall)),
|
|
@@ -37,13 +40,13 @@ export const LIFECYCLE_COMMANDS = [
|
|
|
37
40
|
entry(hooksRunSpec, () => import("../../../commands/hooks/run.command.js").then((m) => m.runHooksRun)),
|
|
38
41
|
entry(cleanupSpec, () => import("../../../commands/cleanup/merged.command.js").then((m) => m.runCleanup), {
|
|
39
42
|
needsProject: false,
|
|
40
|
-
|
|
43
|
+
needsLoadedConfig: false,
|
|
41
44
|
needsTaskContext: false,
|
|
42
45
|
}),
|
|
43
46
|
entry(cleanupMergedSpec, (deps) => import("../../../commands/cleanup/merged.command.js").then((m) => m.makeRunCleanupMergedHandler(deps.getCtx))),
|
|
44
47
|
entry(guardSpec, () => import("../../../commands/guard/guard.command.js").then((m) => m.runGuard), {
|
|
45
48
|
needsProject: false,
|
|
46
|
-
|
|
49
|
+
needsLoadedConfig: false,
|
|
47
50
|
needsTaskContext: false,
|
|
48
51
|
}),
|
|
49
52
|
entry(guardCleanSpec, () => import("../../../commands/guard/clean.command.js").then((m) => m.runGuardClean)),
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type CommandEntry } from "./shared.js";
|
|
2
|
-
export declare const PROJECT_COMMANDS: readonly [CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry];
|
|
2
|
+
export declare const PROJECT_COMMANDS: readonly [CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry];
|
|
3
3
|
//# sourceMappingURL=project.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../../../src/cli/run-cli/command-catalog/project.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../../../src/cli/run-cli/command-catalog/project.ts"],"names":[],"mappings":"AAwCA,OAAO,EAAS,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAEvD,eAAO,MAAM,gBAAgB,ydAsJe,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { syncSpec } from "../../../commands/sync.command.js";
|
|
2
|
-
import { backendSpec, backendSyncSpec } from "../../../commands/backend/sync.command.js";
|
|
2
|
+
import { backendInspectSpec, backendMigrateCanonicalStateSpec, backendSpec, backendSyncSpec, } from "../../../commands/backend/sync.command.js";
|
|
3
3
|
import { branchBaseClearSpec, branchBaseExplainSpec, branchBaseGetSpec, branchBaseSetSpec, branchBaseSpec, } from "../../../commands/branch/base.command.js";
|
|
4
4
|
import { branchRemoveSpec } from "../../../commands/branch/remove.command.js";
|
|
5
5
|
import { branchStatusSpec } from "../../../commands/branch/status.command.js";
|
|
@@ -15,6 +15,7 @@ import { recipesListRemoteSpec } from "../../../commands/recipes/list-remote.com
|
|
|
15
15
|
import { recipesListSpec } from "../../../commands/recipes/list.command.js";
|
|
16
16
|
import { recipesRemoveSpec } from "../../../commands/recipes/remove.command.js";
|
|
17
17
|
import { recipesSpec } from "../../../commands/recipes/recipes.command.js";
|
|
18
|
+
import { scenarioExecuteSpec } from "../../../commands/scenario/execute.command.js";
|
|
18
19
|
import { scenarioInfoSpec } from "../../../commands/scenario/info.command.js";
|
|
19
20
|
import { scenarioListSpec } from "../../../commands/scenario/list.command.js";
|
|
20
21
|
import { scenarioRunSpec } from "../../../commands/scenario/run.command.js";
|
|
@@ -24,12 +25,12 @@ export const PROJECT_COMMANDS = [
|
|
|
24
25
|
entry(workStartSpec, (deps) => import("../../../commands/branch/work-start.command.js").then((m) => m.makeRunWorkStartHandler(deps.getCtx))),
|
|
25
26
|
entry(recipesSpec, () => import("../../../commands/recipes/recipes.command.js").then((m) => m.runRecipes), {
|
|
26
27
|
needsProject: false,
|
|
27
|
-
|
|
28
|
+
needsLoadedConfig: false,
|
|
28
29
|
needsTaskContext: false,
|
|
29
30
|
}),
|
|
30
31
|
entry(recipesCacheSpec, () => import("../../../commands/recipes/cache.command.js").then((m) => m.runRecipesCache), {
|
|
31
32
|
needsProject: false,
|
|
32
|
-
|
|
33
|
+
needsLoadedConfig: false,
|
|
33
34
|
needsTaskContext: false,
|
|
34
35
|
}),
|
|
35
36
|
entry(recipesListSpec, () => import("../../../commands/recipes/list.command.js").then((m) => m.runRecipesList)),
|
|
@@ -41,15 +42,16 @@ export const PROJECT_COMMANDS = [
|
|
|
41
42
|
entry(recipesInstallSpec, () => import("../../../commands/recipes/install.run.js").then((m) => m.runRecipesInstall)),
|
|
42
43
|
entry(scenarioSpec, () => import("../../../commands/scenario/scenario.command.js").then((m) => m.runScenario), {
|
|
43
44
|
needsProject: false,
|
|
44
|
-
|
|
45
|
+
needsLoadedConfig: false,
|
|
45
46
|
needsTaskContext: false,
|
|
46
47
|
}),
|
|
47
48
|
entry(scenarioListSpec, () => import("../../../commands/scenario/list.command.js").then((m) => m.runScenarioList)),
|
|
48
49
|
entry(scenarioInfoSpec, () => import("../../../commands/scenario/info.command.js").then((m) => m.runScenarioInfo)),
|
|
50
|
+
entry(scenarioExecuteSpec, () => import("../../../commands/scenario/execute.command.js").then((m) => m.runScenarioExecute)),
|
|
49
51
|
entry(scenarioRunSpec, () => import("../../../commands/scenario/run.command.js").then((m) => m.runScenarioRun)),
|
|
50
52
|
entry(branchBaseSpec, () => import("../../../commands/branch/base.command.js").then((m) => m.runBranchBase), {
|
|
51
53
|
needsProject: false,
|
|
52
|
-
|
|
54
|
+
needsLoadedConfig: false,
|
|
53
55
|
needsTaskContext: false,
|
|
54
56
|
}),
|
|
55
57
|
entry(branchBaseGetSpec, () => import("../../../commands/branch/base.command.js").then((m) => m.runBranchBaseGet)),
|
|
@@ -60,14 +62,16 @@ export const PROJECT_COMMANDS = [
|
|
|
60
62
|
entry(branchRemoveSpec, () => import("../../../commands/branch/remove.command.js").then((m) => m.runBranchRemove)),
|
|
61
63
|
entry(backendSpec, (deps) => import("../../../commands/backend/sync.command.js").then((m) => m.makeRunBackendHandler(deps.getCtx)), {
|
|
62
64
|
needsProject: false,
|
|
63
|
-
|
|
65
|
+
needsLoadedConfig: false,
|
|
64
66
|
needsTaskContext: false,
|
|
65
67
|
}),
|
|
66
68
|
entry(backendSyncSpec, (deps) => import("../../../commands/backend/sync.command.js").then((m) => m.makeRunBackendSyncHandler(deps.getCtx))),
|
|
69
|
+
entry(backendInspectSpec, (deps) => import("../../../commands/backend/sync.command.js").then((m) => m.makeRunBackendInspectHandler(deps.getCtx))),
|
|
70
|
+
entry(backendMigrateCanonicalStateSpec, (deps) => import("../../../commands/backend/sync.command.js").then((m) => m.makeRunBackendMigrateCanonicalStateHandler(deps.getCtx))),
|
|
67
71
|
entry(syncSpec, (deps) => import("../../../commands/sync.command.js").then((m) => m.makeRunSyncHandler(deps.getCtx))),
|
|
68
72
|
entry(prSpec, (deps) => import("../../../commands/pr/pr.command.js").then((m) => m.makeRunPrHandler(deps.getCtx)), {
|
|
69
73
|
needsProject: false,
|
|
70
|
-
|
|
74
|
+
needsLoadedConfig: false,
|
|
71
75
|
needsTaskContext: false,
|
|
72
76
|
}),
|
|
73
77
|
entry(prOpenSpec, (deps) => import("../../../commands/pr/pr.command.js").then((m) => m.makeRunPrOpenHandler(deps.getCtx))),
|
|
@@ -8,12 +8,21 @@ export type RunDeps = {
|
|
|
8
8
|
getLoadedConfig: (commandForErrorContext: string) => Promise<LoadedConfig>;
|
|
9
9
|
getHelpJsonForDocs: () => readonly HelpJson[];
|
|
10
10
|
};
|
|
11
|
+
export type DispatchNeeds = {
|
|
12
|
+
project: boolean;
|
|
13
|
+
loadedConfig: boolean;
|
|
14
|
+
taskContext: boolean;
|
|
15
|
+
};
|
|
11
16
|
export type CommandEntry = {
|
|
12
17
|
spec: CommandSpec<unknown>;
|
|
13
18
|
load: (deps: RunDeps) => Promise<CommandHandler<unknown>>;
|
|
19
|
+
dispatch: DispatchNeeds;
|
|
20
|
+
invocation?: string;
|
|
21
|
+
};
|
|
22
|
+
export declare function entry<TParsed>(spec: CommandSpec<TParsed>, load: (deps: RunDeps) => Promise<CommandHandler<TParsed>>, meta?: Partial<{
|
|
14
23
|
needsProject: boolean;
|
|
15
|
-
|
|
24
|
+
needsLoadedConfig: boolean;
|
|
16
25
|
needsTaskContext: boolean;
|
|
17
|
-
|
|
18
|
-
|
|
26
|
+
invocation: string;
|
|
27
|
+
}>): CommandEntry;
|
|
19
28
|
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/cli/run-cli/command-catalog/shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEzE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtE,MAAM,MAAM,OAAO,GAAG;IACpB,MAAM,EAAE,CAAC,sBAAsB,EAAE,MAAM,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;IACpE,kBAAkB,EAAE,CAAC,sBAAsB,EAAE,MAAM,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;IACjF,eAAe,EAAE,CAAC,sBAAsB,EAAE,MAAM,KAAK,OAAO,CAAC,YAAY,CAAC,CAAC;IAC3E,kBAAkB,EAAE,MAAM,SAAS,QAAQ,EAAE,CAAC;CAC/C,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC3B,IAAI,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAC1D,
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/cli/run-cli/command-catalog/shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEzE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtE,MAAM,MAAM,OAAO,GAAG;IACpB,MAAM,EAAE,CAAC,sBAAsB,EAAE,MAAM,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;IACpE,kBAAkB,EAAE,CAAC,sBAAsB,EAAE,MAAM,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;IACjF,eAAe,EAAE,CAAC,sBAAsB,EAAE,MAAM,KAAK,OAAO,CAAC,YAAY,CAAC,CAAC;IAC3E,kBAAkB,EAAE,MAAM,SAAS,QAAQ,EAAE,CAAC;CAC/C,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC3B,IAAI,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAC1D,QAAQ,EAAE,aAAa,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,wBAAgB,KAAK,CAAC,OAAO,EAC3B,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,EAC1B,IAAI,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,EACzD,IAAI,CAAC,EAAE,OAAO,CAAC;IACb,YAAY,EAAE,OAAO,CAAC;IACtB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC,GACD,YAAY,CAWd"}
|
|
@@ -2,8 +2,11 @@ export function entry(spec, load, meta) {
|
|
|
2
2
|
return {
|
|
3
3
|
spec: spec,
|
|
4
4
|
load: (deps) => load(deps),
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
dispatch: {
|
|
6
|
+
project: meta?.needsProject ?? true,
|
|
7
|
+
loadedConfig: meta?.needsLoadedConfig ?? meta?.needsProject ?? true,
|
|
8
|
+
taskContext: meta?.needsTaskContext ?? true,
|
|
9
|
+
},
|
|
10
|
+
invocation: meta?.invocation,
|
|
8
11
|
};
|
|
9
12
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type CommandEntry } from "./shared.js";
|
|
2
|
-
export declare const TASK_COMMANDS: readonly [CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry];
|
|
2
|
+
export declare const TASK_COMMANDS: readonly [CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry, CommandEntry];
|
|
3
3
|
//# sourceMappingURL=task.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../../../src/cli/run-cli/command-catalog/task.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../../../src/cli/run-cli/command-catalog/task.ts"],"names":[],"mappings":"AAgDA,OAAO,EAAS,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAEvD,eAAO,MAAM,aAAa,+oBAoPkB,CAAC"}
|