agentplane 0.1.9 → 0.2.1
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/README.md +4 -4
- package/assets/AGENTS.md +281 -70
- package/assets/agents/CODER.json +1 -0
- package/assets/agents/INTEGRATOR.json +1 -0
- package/assets/agents/ORCHESTRATOR.json +1 -0
- package/assets/agents/PLANNER.json +1 -0
- package/assets/agents/TESTER.json +1 -0
- package/dist/backends/task-backend/load.d.ts +13 -0
- package/dist/backends/task-backend/load.d.ts.map +1 -0
- package/dist/backends/task-backend/load.js +58 -0
- package/dist/backends/task-backend/local-backend.d.ts +28 -0
- package/dist/backends/task-backend/local-backend.d.ts.map +1 -0
- package/dist/backends/task-backend/local-backend.js +335 -0
- package/dist/backends/task-backend/redmine/client.d.ts +8 -0
- package/dist/backends/task-backend/redmine/client.d.ts.map +1 -0
- package/dist/backends/task-backend/redmine/client.js +60 -0
- package/dist/backends/task-backend/redmine/comments.d.ts +12 -0
- package/dist/backends/task-backend/redmine/comments.d.ts.map +1 -0
- package/dist/backends/task-backend/redmine/comments.js +54 -0
- package/dist/backends/task-backend/redmine/fields.d.ts +9 -0
- package/dist/backends/task-backend/redmine/fields.d.ts.map +1 -0
- package/dist/backends/task-backend/redmine/fields.js +38 -0
- package/dist/backends/task-backend/redmine/mapping.d.ts +20 -0
- package/dist/backends/task-backend/redmine/mapping.d.ts.map +1 -0
- package/dist/backends/task-backend/redmine/mapping.js +114 -0
- package/dist/backends/task-backend/redmine/parse.d.ts +3 -0
- package/dist/backends/task-backend/redmine/parse.d.ts.map +1 -0
- package/dist/backends/task-backend/redmine/parse.js +27 -0
- package/dist/backends/task-backend/redmine/remote.d.ts +19 -0
- package/dist/backends/task-backend/redmine/remote.d.ts.map +1 -0
- package/dist/backends/task-backend/redmine/remote.js +82 -0
- package/dist/backends/task-backend/redmine-backend.d.ts +80 -0
- package/dist/backends/task-backend/redmine-backend.d.ts.map +1 -0
- package/dist/backends/task-backend/redmine-backend.js +505 -0
- package/dist/backends/task-backend/shared/concurrency.d.ts +3 -0
- package/dist/backends/task-backend/shared/concurrency.d.ts.map +1 -0
- package/dist/backends/task-backend/shared/concurrency.js +21 -0
- package/dist/backends/task-backend/shared/constants.d.ts +4 -0
- package/dist/backends/task-backend/shared/constants.d.ts.map +1 -0
- package/dist/backends/task-backend/shared/constants.js +4 -0
- package/dist/backends/task-backend/shared/doc.d.ts +11 -0
- package/dist/backends/task-backend/shared/doc.d.ts.map +1 -0
- package/dist/backends/task-backend/shared/doc.js +78 -0
- package/dist/backends/task-backend/shared/errors.d.ts +10 -0
- package/dist/backends/task-backend/shared/errors.d.ts.map +1 -0
- package/dist/backends/task-backend/shared/errors.js +18 -0
- package/dist/backends/task-backend/shared/events.d.ts +3 -0
- package/dist/backends/task-backend/shared/events.d.ts.map +1 -0
- package/dist/backends/task-backend/shared/events.js +29 -0
- package/dist/backends/task-backend/shared/export.d.ts +15 -0
- package/dist/backends/task-backend/shared/export.d.ts.map +1 -0
- package/dist/backends/task-backend/shared/export.js +60 -0
- package/dist/backends/task-backend/shared/id.d.ts +13 -0
- package/dist/backends/task-backend/shared/id.d.ts.map +1 -0
- package/dist/backends/task-backend/shared/id.js +17 -0
- package/dist/backends/task-backend/shared/normalize.d.ts +8 -0
- package/dist/backends/task-backend/shared/normalize.d.ts.map +1 -0
- package/dist/backends/task-backend/shared/normalize.js +54 -0
- package/dist/backends/task-backend/shared/record.d.ts +4 -0
- package/dist/backends/task-backend/shared/record.d.ts.map +1 -0
- package/dist/backends/task-backend/shared/record.js +53 -0
- package/dist/backends/task-backend/shared/strings.d.ts +4 -0
- package/dist/backends/task-backend/shared/strings.d.ts.map +1 -0
- package/dist/backends/task-backend/shared/strings.js +21 -0
- package/dist/backends/task-backend/shared/types.d.ts +84 -0
- package/dist/backends/task-backend/shared/types.d.ts.map +1 -0
- package/dist/backends/task-backend/shared/types.js +1 -0
- package/dist/backends/task-backend/shared.d.ts +11 -0
- package/dist/backends/task-backend/shared.d.ts.map +1 -0
- package/dist/backends/task-backend/shared.js +9 -0
- package/dist/backends/task-backend.d.ts +4 -204
- package/dist/backends/task-backend.d.ts.map +1 -1
- package/dist/backends/task-backend.js +4 -1366
- package/dist/backends/task-index.js +2 -2
- package/dist/cli/archive.d.ts +0 -2
- package/dist/cli/archive.d.ts.map +1 -1
- package/dist/cli/archive.js +1 -2
- package/dist/cli/command-guide.d.ts.map +1 -1
- package/dist/cli/command-guide.js +25 -8
- package/dist/cli/parse/lifecycle.d.ts +64 -0
- package/dist/cli/parse/lifecycle.d.ts.map +1 -0
- package/dist/cli/parse/lifecycle.js +280 -0
- package/dist/cli/run-cli/command-catalog.d.ts +16 -0
- package/dist/cli/run-cli/command-catalog.d.ts.map +1 -0
- package/dist/cli/run-cli/command-catalog.js +204 -0
- package/dist/cli/run-cli/commands/config.d.ts +20 -0
- package/dist/cli/run-cli/commands/config.d.ts.map +1 -0
- package/dist/cli/run-cli/commands/config.js +130 -0
- package/dist/cli/run-cli/commands/core.d.ts +14 -0
- package/dist/cli/run-cli/commands/core.d.ts.map +1 -0
- package/dist/cli/run-cli/commands/core.js +144 -0
- package/dist/cli/run-cli/commands/ide.d.ts +13 -0
- package/dist/cli/run-cli/commands/ide.d.ts.map +1 -0
- package/dist/cli/run-cli/commands/ide.js +67 -0
- package/dist/cli/run-cli/commands/init/base-branch.d.ts +9 -0
- package/dist/cli/run-cli/commands/init/base-branch.d.ts.map +1 -0
- package/dist/cli/run-cli/commands/init/base-branch.js +11 -0
- package/dist/cli/run-cli/commands/init/conflicts.d.ts +11 -0
- package/dist/cli/run-cli/commands/init/conflicts.d.ts.map +1 -0
- package/dist/cli/run-cli/commands/init/conflicts.js +42 -0
- package/dist/cli/run-cli/commands/init/git.d.ts +8 -0
- package/dist/cli/run-cli/commands/init/git.d.ts.map +1 -0
- package/dist/cli/run-cli/commands/init/git.js +12 -0
- package/dist/cli/run-cli/commands/init/ide-sync.d.ts +9 -0
- package/dist/cli/run-cli/commands/init/ide-sync.d.ts.map +1 -0
- package/dist/cli/run-cli/commands/init/ide-sync.js +18 -0
- package/dist/cli/run-cli/commands/init/recipes.d.ts +2 -0
- package/dist/cli/run-cli/commands/init/recipes.d.ts.map +1 -0
- package/dist/cli/run-cli/commands/init/recipes.js +11 -0
- package/dist/cli/run-cli/commands/init/write-agents.d.ts +11 -0
- package/dist/cli/run-cli/commands/init/write-agents.d.ts.map +1 -0
- package/dist/cli/run-cli/commands/init/write-agents.js +30 -0
- package/dist/cli/run-cli/commands/init/write-config.d.ts +15 -0
- package/dist/cli/run-cli/commands/init/write-config.d.ts.map +1 -0
- package/dist/cli/run-cli/commands/init/write-config.js +45 -0
- package/dist/cli/run-cli/commands/init.d.ts +21 -0
- package/dist/cli/run-cli/commands/init.d.ts.map +1 -0
- package/dist/cli/run-cli/commands/init.js +332 -0
- package/dist/cli/run-cli/registry.run.d.ts +4 -0
- package/dist/cli/run-cli/registry.run.d.ts.map +1 -0
- package/dist/cli/run-cli/registry.run.js +19 -0
- package/dist/cli/run-cli.d.ts.map +1 -1
- package/dist/cli/run-cli.js +182 -2463
- package/dist/cli/spec/docs-render.d.ts +3 -0
- package/dist/cli/spec/docs-render.d.ts.map +1 -0
- package/dist/cli/spec/docs-render.js +118 -0
- package/dist/cli/spec/errors.d.ts +9 -0
- package/dist/cli/spec/errors.d.ts.map +1 -0
- package/dist/cli/spec/errors.js +18 -0
- package/dist/cli/spec/help-render.d.ts +43 -0
- package/dist/cli/spec/help-render.d.ts.map +1 -0
- package/dist/cli/spec/help-render.js +185 -0
- package/dist/cli/spec/help.d.ts +10 -0
- package/dist/cli/spec/help.d.ts.map +1 -0
- package/dist/cli/spec/help.js +64 -0
- package/dist/cli/spec/parse.d.ts +8 -0
- package/dist/cli/spec/parse.d.ts.map +1 -0
- package/dist/cli/spec/parse.js +188 -0
- package/dist/cli/spec/registry.d.ts +12 -0
- package/dist/cli/spec/registry.d.ts.map +1 -0
- package/dist/cli/spec/registry.js +47 -0
- package/dist/cli/spec/spec.d.ts +76 -0
- package/dist/cli/spec/spec.d.ts.map +1 -0
- package/dist/cli/spec/spec.js +1 -0
- package/dist/cli/spec/suggest.d.ts +2 -0
- package/dist/cli/spec/suggest.d.ts.map +1 -0
- package/dist/cli/spec/suggest.js +45 -0
- package/dist/commands/backend/sync.command.d.ts +12 -0
- package/dist/commands/backend/sync.command.d.ts.map +1 -0
- package/dist/commands/backend/sync.command.js +79 -0
- package/dist/commands/backend.d.ts +21 -8
- package/dist/commands/backend.d.ts.map +1 -1
- package/dist/commands/backend.js +28 -165
- package/dist/commands/block.command.d.ts +19 -0
- package/dist/commands/block.command.d.ts.map +1 -0
- package/dist/commands/block.command.js +143 -0
- package/dist/commands/branch/base.command.d.ts +20 -0
- package/dist/commands/branch/base.command.d.ts.map +1 -0
- package/dist/commands/branch/base.command.js +110 -0
- package/dist/commands/branch/base.d.ts +19 -0
- package/dist/commands/branch/base.d.ts.map +1 -0
- package/dist/commands/branch/base.js +114 -0
- package/dist/commands/branch/cleanup-merged.d.ts +11 -0
- package/dist/commands/branch/cleanup-merged.d.ts.map +1 -0
- package/dist/commands/branch/cleanup-merged.js +141 -0
- package/dist/commands/branch/index.d.ts +6 -59
- package/dist/commands/branch/index.d.ts.map +1 -1
- package/dist/commands/branch/index.js +6 -513
- package/dist/commands/branch/internal/archive-pr.d.ts +2 -0
- package/dist/commands/branch/internal/archive-pr.d.ts.map +1 -0
- package/dist/commands/branch/internal/archive-pr.js +17 -0
- package/dist/commands/branch/internal/work-validate.d.ts +3 -0
- package/dist/commands/branch/internal/work-validate.d.ts.map +1 -0
- package/dist/commands/branch/internal/work-validate.js +27 -0
- package/dist/commands/branch/remove.command.d.ts +10 -0
- package/dist/commands/branch/remove.command.d.ts.map +1 -0
- package/dist/commands/branch/remove.command.js +63 -0
- package/dist/commands/branch/remove.d.ts +9 -0
- package/dist/commands/branch/remove.d.ts.map +1 -0
- package/dist/commands/branch/remove.js +65 -0
- package/dist/commands/branch/status.command.d.ts +8 -0
- package/dist/commands/branch/status.command.d.ts.map +1 -0
- package/dist/commands/branch/status.command.js +36 -0
- package/dist/commands/branch/status.d.ts +7 -0
- package/dist/commands/branch/status.d.ts.map +1 -0
- package/dist/commands/branch/status.js +60 -0
- package/dist/commands/branch/work-start.command.d.ts +11 -0
- package/dist/commands/branch/work-start.command.d.ts.map +1 -0
- package/dist/commands/branch/work-start.command.js +80 -0
- package/dist/commands/branch/work-start.d.ts +11 -0
- package/dist/commands/branch/work-start.d.ts.map +1 -0
- package/dist/commands/branch/work-start.js +120 -0
- package/dist/commands/cleanup/merged.command.d.ts +17 -0
- package/dist/commands/cleanup/merged.command.d.ts.map +1 -0
- package/dist/commands/cleanup/merged.command.js +75 -0
- package/dist/commands/commit.command.d.ts +6 -0
- package/dist/commands/commit.command.d.ts.map +1 -0
- package/dist/commands/commit.command.js +24 -0
- package/dist/commands/commit.spec.d.ts +18 -0
- package/dist/commands/commit.spec.d.ts.map +1 -0
- package/dist/commands/commit.spec.js +119 -0
- package/dist/commands/docs/cli.command.d.ts +9 -0
- package/dist/commands/docs/cli.command.d.ts.map +1 -0
- package/dist/commands/docs/cli.command.js +51 -0
- package/dist/commands/finish.command.d.ts +28 -0
- package/dist/commands/finish.command.d.ts.map +1 -0
- package/dist/commands/finish.command.js +237 -0
- package/dist/commands/guard/clean.command.d.ts +7 -0
- package/dist/commands/guard/clean.command.d.ts.map +1 -0
- package/dist/commands/guard/clean.command.js +14 -0
- package/dist/commands/guard/commit.command.d.ts +19 -0
- package/dist/commands/guard/commit.command.d.ts.map +1 -0
- package/dist/commands/guard/commit.command.js +132 -0
- package/dist/commands/guard/guard.command.d.ts +5 -0
- package/dist/commands/guard/guard.command.d.ts.map +1 -0
- package/dist/commands/guard/guard.command.js +21 -0
- package/dist/commands/guard/impl/allow.d.ts +18 -0
- package/dist/commands/guard/impl/allow.d.ts.map +1 -0
- package/dist/commands/guard/impl/allow.js +77 -0
- package/dist/commands/guard/impl/close-message.d.ts +16 -0
- package/dist/commands/guard/impl/close-message.d.ts.map +1 -0
- package/dist/commands/guard/impl/close-message.js +156 -0
- package/dist/commands/guard/impl/commands.d.ts +32 -0
- package/dist/commands/guard/impl/commands.d.ts.map +1 -0
- package/dist/commands/guard/impl/commands.js +191 -0
- package/dist/commands/guard/impl/comment-commit.d.ts +25 -0
- package/dist/commands/guard/impl/comment-commit.d.ts.map +1 -0
- package/dist/commands/guard/impl/comment-commit.js +137 -0
- package/dist/commands/guard/impl/env.d.ts +10 -0
- package/dist/commands/guard/impl/env.d.ts.map +1 -0
- package/dist/commands/guard/impl/env.js +12 -0
- package/dist/commands/guard/impl/policy.d.ts +19 -0
- package/dist/commands/guard/impl/policy.d.ts.map +1 -0
- package/dist/commands/guard/impl/policy.js +46 -0
- package/dist/commands/guard/index.d.ts +4 -87
- package/dist/commands/guard/index.d.ts.map +1 -1
- package/dist/commands/guard/index.js +4 -481
- package/dist/commands/guard/suggest-allow.command.d.ts +7 -0
- package/dist/commands/guard/suggest-allow.command.d.ts.map +1 -0
- package/dist/commands/guard/suggest-allow.command.js +28 -0
- package/dist/commands/hooks/hooks.command.d.ts +5 -0
- package/dist/commands/hooks/hooks.command.d.ts.map +1 -0
- package/dist/commands/hooks/hooks.command.js +18 -0
- package/dist/commands/hooks/index.d.ts.map +1 -1
- package/dist/commands/hooks/index.js +36 -81
- package/dist/commands/hooks/install.command.d.ts +7 -0
- package/dist/commands/hooks/install.command.d.ts.map +1 -0
- package/dist/commands/hooks/install.command.js +14 -0
- package/dist/commands/hooks/run.command.d.ts +9 -0
- package/dist/commands/hooks/run.command.d.ts.map +1 -0
- package/dist/commands/hooks/run.command.js +39 -0
- package/dist/commands/hooks/uninstall.command.d.ts +7 -0
- package/dist/commands/hooks/uninstall.command.d.ts.map +1 -0
- package/dist/commands/hooks/uninstall.command.js +16 -0
- package/dist/commands/integrate.command.d.ts +14 -0
- package/dist/commands/integrate.command.d.ts.map +1 -0
- package/dist/commands/integrate.command.js +61 -0
- package/dist/commands/pr/check.d.ts +8 -0
- package/dist/commands/pr/check.d.ts.map +1 -0
- package/dist/commands/pr/check.js +78 -0
- package/dist/commands/pr/index.d.ts +5 -45
- package/dist/commands/pr/index.d.ts.map +1 -1
- package/dist/commands/pr/index.js +5 -857
- package/dist/commands/pr/integrate/artifacts.d.ts +14 -0
- package/dist/commands/pr/integrate/artifacts.d.ts.map +1 -0
- package/dist/commands/pr/integrate/artifacts.js +45 -0
- package/dist/commands/pr/integrate/cmd.d.ts +14 -0
- package/dist/commands/pr/integrate/cmd.d.ts.map +1 -0
- package/dist/commands/pr/integrate/cmd.js +150 -0
- package/dist/commands/pr/integrate/internal/finalize.d.ts +25 -0
- package/dist/commands/pr/integrate/internal/finalize.d.ts.map +1 -0
- package/dist/commands/pr/integrate/internal/finalize.js +86 -0
- package/dist/commands/pr/integrate/internal/merge.d.ts +40 -0
- package/dist/commands/pr/integrate/internal/merge.d.ts.map +1 -0
- package/dist/commands/pr/integrate/internal/merge.js +138 -0
- package/dist/commands/pr/integrate/internal/prepare.d.ts +33 -0
- package/dist/commands/pr/integrate/internal/prepare.d.ts.map +1 -0
- package/dist/commands/pr/integrate/internal/prepare.js +142 -0
- package/dist/commands/pr/integrate/internal/worktree.d.ts +14 -0
- package/dist/commands/pr/integrate/internal/worktree.d.ts.map +1 -0
- package/dist/commands/pr/integrate/internal/worktree.js +51 -0
- package/dist/commands/pr/integrate/verify.d.ts +22 -0
- package/dist/commands/pr/integrate/verify.d.ts.map +1 -0
- package/dist/commands/pr/integrate/verify.js +60 -0
- package/dist/commands/pr/integrate.d.ts +2 -0
- package/dist/commands/pr/integrate.d.ts.map +1 -0
- package/dist/commands/pr/integrate.js +1 -0
- package/dist/commands/pr/internal/pr-paths.d.ts +29 -0
- package/dist/commands/pr/internal/pr-paths.d.ts.map +1 -0
- package/dist/commands/pr/internal/pr-paths.js +38 -0
- package/dist/commands/pr/internal/review-template.d.ts +9 -0
- package/dist/commands/pr/internal/review-template.d.ts.map +1 -0
- package/dist/commands/pr/internal/review-template.js +62 -0
- package/dist/commands/pr/note.d.ts +10 -0
- package/dist/commands/pr/note.d.ts.map +1 -0
- package/dist/commands/pr/note.js +50 -0
- package/dist/commands/pr/open.d.ts +10 -0
- package/dist/commands/pr/open.d.ts.map +1 -0
- package/dist/commands/pr/open.js +80 -0
- package/dist/commands/pr/pr.command.d.ts +33 -0
- package/dist/commands/pr/pr.command.d.ts.map +1 -0
- package/dist/commands/pr/pr.command.js +172 -0
- package/dist/commands/pr/update.d.ts +8 -0
- package/dist/commands/pr/update.d.ts.map +1 -0
- package/dist/commands/pr/update.js +103 -0
- package/dist/commands/ready.command.d.ts +8 -0
- package/dist/commands/ready.command.d.ts.map +1 -0
- package/dist/commands/ready.command.js +28 -0
- package/dist/commands/recipes/cache-prune.command.d.ts +6 -0
- package/dist/commands/recipes/cache-prune.command.d.ts.map +1 -0
- package/dist/commands/recipes/cache-prune.command.js +30 -0
- package/dist/commands/recipes/cache.command.d.ts +6 -0
- package/dist/commands/recipes/cache.command.d.ts.map +1 -0
- package/dist/commands/recipes/cache.command.js +37 -0
- package/dist/commands/recipes/explain.command.d.ts +7 -0
- package/dist/commands/recipes/explain.command.d.ts.map +1 -0
- package/dist/commands/recipes/explain.command.js +10 -0
- package/dist/commands/recipes/impl/apply.d.ts +16 -0
- package/dist/commands/recipes/impl/apply.d.ts.map +1 -0
- package/dist/commands/recipes/impl/apply.js +97 -0
- package/dist/commands/recipes/impl/archive.d.ts +2 -0
- package/dist/commands/recipes/impl/archive.d.ts.map +1 -0
- package/dist/commands/recipes/impl/archive.js +19 -0
- package/dist/commands/recipes/impl/commands/cache-prune.d.ts +7 -0
- package/dist/commands/recipes/impl/commands/cache-prune.d.ts.map +1 -0
- package/dist/commands/recipes/impl/commands/cache-prune.js +94 -0
- package/dist/commands/recipes/impl/commands/explain.d.ts +6 -0
- package/dist/commands/recipes/impl/commands/explain.d.ts.map +1 -0
- package/dist/commands/recipes/impl/commands/explain.js +88 -0
- package/dist/commands/recipes/impl/commands/info.d.ts +6 -0
- package/dist/commands/recipes/impl/commands/info.d.ts.map +1 -0
- package/dist/commands/recipes/impl/commands/info.js +58 -0
- package/dist/commands/recipes/impl/commands/install.d.ts +11 -0
- package/dist/commands/recipes/impl/commands/install.d.ts.map +1 -0
- package/dist/commands/recipes/impl/commands/install.js +212 -0
- package/dist/commands/recipes/impl/commands/list-remote.d.ts +7 -0
- package/dist/commands/recipes/impl/commands/list-remote.d.ts.map +1 -0
- package/dist/commands/recipes/impl/commands/list-remote.js +53 -0
- package/dist/commands/recipes/impl/commands/list.d.ts +7 -0
- package/dist/commands/recipes/impl/commands/list.d.ts.map +1 -0
- package/dist/commands/recipes/impl/commands/list.js +38 -0
- package/dist/commands/recipes/impl/commands/remove.d.ts +6 -0
- package/dist/commands/recipes/impl/commands/remove.d.ts.map +1 -0
- package/dist/commands/recipes/impl/commands/remove.js +35 -0
- package/dist/commands/recipes/impl/commands.d.ts +8 -0
- package/dist/commands/recipes/impl/commands.d.ts.map +1 -0
- package/dist/commands/recipes/impl/commands.js +7 -0
- package/dist/commands/recipes/impl/constants.d.ts +13 -0
- package/dist/commands/recipes/impl/constants.d.ts.map +1 -0
- package/dist/commands/recipes/impl/constants.js +16 -0
- package/dist/commands/recipes/impl/format.d.ts +2 -0
- package/dist/commands/recipes/impl/format.d.ts.map +1 -0
- package/dist/commands/recipes/impl/format.js +9 -0
- package/dist/commands/recipes/impl/index.d.ts +12 -0
- package/dist/commands/recipes/impl/index.d.ts.map +1 -0
- package/dist/commands/recipes/impl/index.js +150 -0
- package/dist/commands/recipes/impl/installed-recipes.d.ts +4 -0
- package/dist/commands/recipes/impl/installed-recipes.d.ts.map +1 -0
- package/dist/commands/recipes/impl/installed-recipes.js +58 -0
- package/dist/commands/recipes/impl/manifest.d.ts +4 -0
- package/dist/commands/recipes/impl/manifest.d.ts.map +1 -0
- package/dist/commands/recipes/impl/manifest.js +43 -0
- package/dist/commands/recipes/impl/normalize.d.ts +5 -0
- package/dist/commands/recipes/impl/normalize.d.ts.map +1 -0
- package/dist/commands/recipes/impl/normalize.js +50 -0
- package/dist/commands/recipes/impl/paths.d.ts +13 -0
- package/dist/commands/recipes/impl/paths.d.ts.map +1 -0
- package/dist/commands/recipes/impl/paths.js +27 -0
- package/dist/commands/recipes/impl/project.d.ts +8 -0
- package/dist/commands/recipes/impl/project.d.ts.map +1 -0
- package/dist/commands/recipes/impl/project.js +23 -0
- package/dist/commands/recipes/impl/scenario.d.ts +16 -0
- package/dist/commands/recipes/impl/scenario.d.ts.map +1 -0
- package/dist/commands/recipes/impl/scenario.js +128 -0
- package/dist/commands/recipes/impl/types.d.ts +107 -0
- package/dist/commands/recipes/impl/types.d.ts.map +1 -0
- package/dist/commands/recipes/impl/types.js +1 -0
- package/dist/commands/recipes/info.command.d.ts +7 -0
- package/dist/commands/recipes/info.command.d.ts.map +1 -0
- package/dist/commands/recipes/info.command.js +10 -0
- package/dist/commands/recipes/install.command.d.ts +12 -0
- package/dist/commands/recipes/install.command.d.ts.map +1 -0
- package/dist/commands/recipes/install.command.js +161 -0
- package/dist/commands/recipes/list-remote.command.d.ts +6 -0
- package/dist/commands/recipes/list-remote.command.d.ts.map +1 -0
- package/dist/commands/recipes/list-remote.command.js +46 -0
- package/dist/commands/recipes/list.command.d.ts +6 -0
- package/dist/commands/recipes/list.command.d.ts.map +1 -0
- package/dist/commands/recipes/list.command.js +39 -0
- package/dist/commands/recipes/recipes.command.d.ts +6 -0
- package/dist/commands/recipes/recipes.command.d.ts.map +1 -0
- package/dist/commands/recipes/recipes.command.js +45 -0
- package/dist/commands/recipes/remove.command.d.ts +7 -0
- package/dist/commands/recipes/remove.command.d.ts.map +1 -0
- package/dist/commands/recipes/remove.command.js +10 -0
- package/dist/commands/recipes.d.ts +7 -81
- package/dist/commands/recipes.d.ts.map +1 -1
- package/dist/commands/recipes.js +6 -1457
- package/dist/commands/scenario/impl/commands.d.ts +19 -0
- package/dist/commands/scenario/impl/commands.d.ts.map +1 -0
- package/dist/commands/scenario/impl/commands.js +336 -0
- package/dist/commands/scenario/impl/report.d.ts +30 -0
- package/dist/commands/scenario/impl/report.d.ts.map +1 -0
- package/dist/commands/scenario/impl/report.js +99 -0
- package/dist/commands/scenario/info.command.d.ts +8 -0
- package/dist/commands/scenario/info.command.d.ts.map +1 -0
- package/dist/commands/scenario/info.command.js +27 -0
- package/dist/commands/scenario/list.command.d.ts +5 -0
- package/dist/commands/scenario/list.command.d.ts.map +1 -0
- package/dist/commands/scenario/list.command.js +9 -0
- package/dist/commands/scenario/run.command.d.ts +8 -0
- package/dist/commands/scenario/run.command.d.ts.map +1 -0
- package/dist/commands/scenario/run.command.js +27 -0
- package/dist/commands/scenario/scenario.command.d.ts +6 -0
- package/dist/commands/scenario/scenario.command.d.ts.map +1 -0
- package/dist/commands/scenario/scenario.command.js +37 -0
- package/dist/commands/scenario.d.ts +1 -6
- package/dist/commands/scenario.d.ts.map +1 -1
- package/dist/commands/scenario.js +1 -501
- package/dist/commands/shared/git-context.d.ts +23 -0
- package/dist/commands/shared/git-context.d.ts.map +1 -0
- package/dist/commands/shared/git-context.js +140 -0
- package/dist/commands/shared/policy-deny.d.ts +3 -0
- package/dist/commands/shared/policy-deny.d.ts.map +1 -0
- package/dist/commands/shared/policy-deny.js +12 -0
- package/dist/commands/shared/task-backend.d.ts +17 -5
- package/dist/commands/shared/task-backend.d.ts.map +1 -1
- package/dist/commands/shared/task-backend.js +34 -5
- package/dist/commands/shared/task-store.d.ts +16 -0
- package/dist/commands/shared/task-store.d.ts.map +1 -0
- package/dist/commands/shared/task-store.js +142 -0
- package/dist/commands/start.command.d.ts +19 -0
- package/dist/commands/start.command.d.ts.map +1 -0
- package/dist/commands/start.command.js +143 -0
- package/dist/commands/sync.command.d.ts +6 -0
- package/dist/commands/sync.command.d.ts.map +1 -0
- package/dist/commands/sync.command.js +57 -0
- package/dist/commands/task/add.command.d.ts +18 -0
- package/dist/commands/task/add.command.d.ts.map +1 -0
- package/dist/commands/task/add.command.js +157 -0
- package/dist/commands/task/add.d.ts +13 -3
- package/dist/commands/task/add.d.ts.map +1 -1
- package/dist/commands/task/add.js +21 -126
- package/dist/commands/task/block.d.ts +2 -2
- package/dist/commands/task/block.d.ts.map +1 -1
- package/dist/commands/task/block.js +13 -9
- package/dist/commands/task/comment.command.d.ts +10 -0
- package/dist/commands/task/comment.command.d.ts.map +1 -0
- package/dist/commands/task/comment.command.js +57 -0
- package/dist/commands/task/comment.d.ts +2 -0
- package/dist/commands/task/comment.d.ts.map +1 -1
- package/dist/commands/task/comment.js +10 -7
- package/dist/commands/task/derive.command.d.ts +13 -0
- package/dist/commands/task/derive.command.d.ts.map +1 -0
- package/dist/commands/task/derive.command.js +94 -0
- package/dist/commands/task/derive.d.ts +13 -0
- package/dist/commands/task/derive.d.ts.map +1 -0
- package/dist/commands/task/derive.js +71 -0
- package/dist/commands/task/doc-set.command.d.ts +12 -0
- package/dist/commands/task/doc-set.command.d.ts.map +1 -0
- package/dist/commands/task/doc-set.command.js +82 -0
- package/dist/commands/task/doc-show.command.d.ts +10 -0
- package/dist/commands/task/doc-show.command.d.ts.map +1 -0
- package/dist/commands/task/doc-show.command.js +54 -0
- package/dist/commands/task/doc.command.d.ts +7 -0
- package/dist/commands/task/doc.command.d.ts.map +1 -0
- package/dist/commands/task/doc.command.js +22 -0
- package/dist/commands/task/doc.d.ts +9 -6
- package/dist/commands/task/doc.d.ts.map +1 -1
- package/dist/commands/task/doc.js +61 -113
- package/dist/commands/task/export.command.d.ts +6 -0
- package/dist/commands/task/export.command.d.ts.map +1 -0
- package/dist/commands/task/export.command.js +17 -0
- package/dist/commands/task/export.d.ts +2 -0
- package/dist/commands/task/export.d.ts.map +1 -1
- package/dist/commands/task/export.js +7 -9
- package/dist/commands/task/finish.d.ts +5 -4
- package/dist/commands/task/finish.d.ts.map +1 -1
- package/dist/commands/task/finish.js +50 -17
- package/dist/commands/task/index.d.ts +14 -13
- package/dist/commands/task/index.d.ts.map +1 -1
- package/dist/commands/task/index.js +13 -13
- package/dist/commands/task/lint.command.d.ts +5 -0
- package/dist/commands/task/lint.command.d.ts.map +1 -0
- package/dist/commands/task/lint.command.js +11 -0
- package/dist/commands/task/list.command.d.ts +9 -0
- package/dist/commands/task/list.command.d.ts.map +1 -0
- package/dist/commands/task/list.command.js +68 -0
- package/dist/commands/task/list.d.ts +6 -2
- package/dist/commands/task/list.d.ts.map +1 -1
- package/dist/commands/task/list.js +12 -15
- package/dist/commands/task/migrate-doc.command.d.ts +9 -0
- package/dist/commands/task/migrate-doc.command.d.ts.map +1 -0
- package/dist/commands/task/migrate-doc.command.js +65 -0
- package/dist/commands/task/migrate-doc.d.ts +3 -3
- package/dist/commands/task/migrate-doc.d.ts.map +1 -1
- package/dist/commands/task/migrate-doc.js +40 -47
- package/dist/commands/task/migrate.command.d.ts +10 -0
- package/dist/commands/task/migrate.command.d.ts.map +1 -0
- package/dist/commands/task/migrate.command.js +50 -0
- package/dist/commands/task/migrate.d.ts +5 -1
- package/dist/commands/task/migrate.d.ts.map +1 -1
- package/dist/commands/task/migrate.js +10 -44
- package/dist/commands/task/new.command.d.ts +6 -0
- package/dist/commands/task/new.command.d.ts.map +1 -0
- package/dist/commands/task/new.command.js +13 -0
- package/dist/commands/task/new.d.ts +13 -4
- package/dist/commands/task/new.d.ts.map +1 -1
- package/dist/commands/task/new.js +30 -92
- package/dist/commands/task/new.spec.d.ts +4 -0
- package/dist/commands/task/new.spec.d.ts.map +1 -0
- package/dist/commands/task/new.spec.js +79 -0
- package/dist/commands/task/next.command.d.ts +9 -0
- package/dist/commands/task/next.command.d.ts.map +1 -0
- package/dist/commands/task/next.command.js +89 -0
- package/dist/commands/task/next.d.ts +4 -1
- package/dist/commands/task/next.d.ts.map +1 -1
- package/dist/commands/task/next.js +15 -16
- package/dist/commands/task/normalize.command.d.ts +9 -0
- package/dist/commands/task/normalize.command.d.ts.map +1 -0
- package/dist/commands/task/normalize.command.js +39 -0
- package/dist/commands/task/normalize.d.ts +4 -1
- package/dist/commands/task/normalize.d.ts.map +1 -1
- package/dist/commands/task/normalize.js +18 -31
- package/dist/commands/task/plan-approve.command.d.ts +10 -0
- package/dist/commands/task/plan-approve.command.d.ts.map +1 -0
- package/dist/commands/task/plan-approve.command.js +54 -0
- package/dist/commands/task/plan-reject.command.d.ts +10 -0
- package/dist/commands/task/plan-reject.command.d.ts.map +1 -0
- package/dist/commands/task/plan-reject.command.js +59 -0
- package/dist/commands/task/plan-set.command.d.ts +11 -0
- package/dist/commands/task/plan-set.command.d.ts.map +1 -0
- package/dist/commands/task/plan-set.command.js +76 -0
- package/dist/commands/task/plan.d.ts +23 -10
- package/dist/commands/task/plan.d.ts.map +1 -1
- package/dist/commands/task/plan.js +182 -177
- package/dist/commands/task/ready.d.ts +2 -0
- package/dist/commands/task/ready.d.ts.map +1 -1
- package/dist/commands/task/ready.js +4 -6
- package/dist/commands/task/scaffold.command.d.ts +12 -0
- package/dist/commands/task/scaffold.command.d.ts.map +1 -0
- package/dist/commands/task/scaffold.command.js +73 -0
- package/dist/commands/task/scaffold.d.ts +7 -3
- package/dist/commands/task/scaffold.d.ts.map +1 -1
- package/dist/commands/task/scaffold.js +57 -67
- package/dist/commands/task/scrub.command.d.ts +11 -0
- package/dist/commands/task/scrub.command.d.ts.map +1 -0
- package/dist/commands/task/scrub.command.js +72 -0
- package/dist/commands/task/scrub.d.ts +6 -3
- package/dist/commands/task/scrub.d.ts.map +1 -1
- package/dist/commands/task/scrub.js +12 -68
- package/dist/commands/task/search.command.d.ts +11 -0
- package/dist/commands/task/search.command.d.ts.map +1 -0
- package/dist/commands/task/search.command.js +101 -0
- package/dist/commands/task/search.d.ts +5 -1
- package/dist/commands/task/search.d.ts.map +1 -1
- package/dist/commands/task/search.js +14 -23
- package/dist/commands/task/set-status.command.d.ts +21 -0
- package/dist/commands/task/set-status.command.d.ts.map +1 -0
- package/dist/commands/task/set-status.command.js +171 -0
- package/dist/commands/task/set-status.d.ts +2 -0
- package/dist/commands/task/set-status.d.ts.map +1 -1
- package/dist/commands/task/set-status.js +14 -8
- package/dist/commands/task/shared.d.ts +5 -0
- package/dist/commands/task/shared.d.ts.map +1 -1
- package/dist/commands/task/shared.js +50 -0
- package/dist/commands/task/show.command.d.ts +8 -0
- package/dist/commands/task/show.command.d.ts.map +1 -0
- package/dist/commands/task/show.command.js +19 -0
- package/dist/commands/task/show.d.ts +2 -0
- package/dist/commands/task/show.d.ts.map +1 -1
- package/dist/commands/task/show.js +5 -7
- package/dist/commands/task/start.d.ts +2 -2
- package/dist/commands/task/start.d.ts.map +1 -1
- package/dist/commands/task/start.js +48 -11
- package/dist/commands/task/update.command.d.ts +18 -0
- package/dist/commands/task/update.command.d.ts.map +1 -0
- package/dist/commands/task/update.command.js +141 -0
- package/dist/commands/task/update.d.ts +13 -3
- package/dist/commands/task/update.d.ts.map +1 -1
- package/dist/commands/task/update.js +31 -122
- package/dist/commands/task/verify-ok.command.d.ts +13 -0
- package/dist/commands/task/verify-ok.command.d.ts.map +1 -0
- package/dist/commands/task/verify-ok.command.js +83 -0
- package/dist/commands/task/verify-record.d.ts +30 -8
- package/dist/commands/task/verify-record.d.ts.map +1 -1
- package/dist/commands/task/verify-record.js +107 -117
- package/dist/commands/task/verify-rework.command.d.ts +13 -0
- package/dist/commands/task/verify-rework.command.d.ts.map +1 -0
- package/dist/commands/task/verify-rework.command.js +83 -0
- package/dist/commands/task/verify-show.command.d.ts +9 -0
- package/dist/commands/task/verify-show.command.d.ts.map +1 -0
- package/dist/commands/task/verify-show.command.js +38 -0
- package/dist/commands/task/verify.command.d.ts +7 -0
- package/dist/commands/task/verify.command.d.ts.map +1 -0
- package/dist/commands/task/verify.command.js +20 -0
- package/dist/commands/upgrade.command.d.ts +6 -0
- package/dist/commands/upgrade.command.d.ts.map +1 -0
- package/dist/commands/upgrade.command.js +104 -0
- package/dist/commands/upgrade.d.ts +19 -2
- package/dist/commands/upgrade.d.ts.map +1 -1
- package/dist/commands/upgrade.js +281 -85
- package/dist/commands/verify.command.d.ts +16 -0
- package/dist/commands/verify.command.d.ts.map +1 -0
- package/dist/commands/verify.command.js +113 -0
- package/dist/commands/workflow.d.ts +4 -6
- package/dist/commands/workflow.d.ts.map +1 -1
- package/dist/commands/workflow.js +4 -7
- package/dist/meta/release.d.ts +2 -0
- package/dist/meta/release.d.ts.map +1 -0
- package/dist/meta/release.js +50 -0
- package/dist/policy/evaluate.d.ts +3 -0
- package/dist/policy/evaluate.d.ts.map +1 -0
- package/dist/policy/evaluate.js +27 -0
- package/dist/policy/result.d.ts +7 -0
- package/dist/policy/result.d.ts.map +1 -0
- package/dist/policy/result.js +21 -0
- package/dist/policy/rules/allowlist.d.ts +3 -0
- package/dist/policy/rules/allowlist.d.ts.map +1 -0
- package/dist/policy/rules/allowlist.js +30 -0
- package/dist/policy/rules/branch-pr-base.d.ts +3 -0
- package/dist/policy/rules/branch-pr-base.d.ts.map +1 -0
- package/dist/policy/rules/branch-pr-base.js +43 -0
- package/dist/policy/rules/clean-tree.d.ts +3 -0
- package/dist/policy/rules/clean-tree.d.ts.map +1 -0
- package/dist/policy/rules/clean-tree.js +19 -0
- package/dist/policy/rules/commit-subject.d.ts +3 -0
- package/dist/policy/rules/commit-subject.d.ts.map +1 -0
- package/dist/policy/rules/commit-subject.js +33 -0
- package/dist/policy/rules/protected-paths.d.ts +3 -0
- package/dist/policy/rules/protected-paths.d.ts.map +1 -0
- package/dist/policy/rules/protected-paths.js +53 -0
- package/dist/policy/types.d.ts +38 -0
- package/dist/policy/types.d.ts.map +1 -0
- package/dist/policy/types.js +1 -0
- package/dist/shared/write-if-changed.d.ts +3 -0
- package/dist/shared/write-if-changed.d.ts.map +1 -0
- package/dist/shared/write-if-changed.js +25 -0
- package/package.json +3 -3
- package/dist/cli/help.d.ts +0 -2
- package/dist/cli/help.d.ts.map +0 -1
- package/dist/cli/help.js +0 -127
- package/dist/commands/task/verify.d.ts +0 -2
- package/dist/commands/task/verify.d.ts.map +0 -1
- package/dist/commands/task/verify.js +0 -1
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { chmod, mkdir, readFile, rm, writeFile } from "node:fs/promises";
|
|
2
2
|
import path from "node:path";
|
|
3
|
-
import { getStagedFiles, loadConfig, resolveBaseBranch, resolveProject
|
|
3
|
+
import { getStagedFiles, loadConfig, resolveBaseBranch, resolveProject } from "@agentplaneorg/core";
|
|
4
|
+
import { evaluatePolicy } from "../../policy/evaluate.js";
|
|
4
5
|
import { mapBackendError, mapCoreError } from "../../cli/error-map.js";
|
|
5
6
|
import { fileExists } from "../../cli/fs-utils.js";
|
|
6
7
|
import { infoMessage, successMessage } from "../../cli/output.js";
|
|
7
8
|
import { CliError } from "../../shared/errors.js";
|
|
8
|
-
import {
|
|
9
|
+
import { throwIfPolicyDenied } from "../shared/policy-deny.js";
|
|
9
10
|
import { gitCurrentBranch, gitRevParse } from "../shared/git-ops.js";
|
|
10
11
|
import { isPathWithin } from "../shared/path.js";
|
|
11
12
|
const HOOK_MARKER = "agentplane-hook";
|
|
@@ -176,39 +177,21 @@ export async function cmdHooksRun(opts) {
|
|
|
176
177
|
}
|
|
177
178
|
const raw = await readFile(messagePath, "utf8");
|
|
178
179
|
const subject = readCommitSubject(raw);
|
|
179
|
-
if (!subject) {
|
|
180
|
-
throw new CliError({
|
|
181
|
-
exitCode: 5,
|
|
182
|
-
code: "E_GIT",
|
|
183
|
-
message: "Commit message subject is empty",
|
|
184
|
-
});
|
|
185
|
-
}
|
|
186
180
|
const resolved = await resolveProject({
|
|
187
181
|
cwd: opts.cwd,
|
|
188
182
|
rootOverride: opts.rootOverride ?? null,
|
|
189
183
|
});
|
|
190
184
|
const loaded = await loadConfig(resolved.agentplaneDir);
|
|
191
185
|
const taskId = (process.env.AGENTPLANE_TASK_ID ?? "").trim();
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
}
|
|
198
|
-
if (!policy.ok) {
|
|
199
|
-
throw new CliError({
|
|
200
|
-
exitCode: 5,
|
|
201
|
-
code: "E_GIT",
|
|
202
|
-
message: policy.errors.join("\n"),
|
|
203
|
-
});
|
|
204
|
-
}
|
|
205
|
-
return 0;
|
|
206
|
-
}
|
|
207
|
-
throw new CliError({
|
|
208
|
-
exitCode: 5,
|
|
209
|
-
code: "E_GIT",
|
|
210
|
-
message: "AGENTPLANE_TASK_ID is required (use `agentplane commit ...`)",
|
|
186
|
+
const res = evaluatePolicy({
|
|
187
|
+
action: "hook_commit_msg",
|
|
188
|
+
config: loaded.config,
|
|
189
|
+
taskId,
|
|
190
|
+
git: { stagedPaths: [] },
|
|
191
|
+
commit: { subject },
|
|
211
192
|
});
|
|
193
|
+
throwIfPolicyDenied(res);
|
|
194
|
+
return 0;
|
|
212
195
|
}
|
|
213
196
|
if (opts.hook === "pre-commit") {
|
|
214
197
|
const staged = await getStagedFiles({
|
|
@@ -228,63 +211,35 @@ export async function cmdHooksRun(opts) {
|
|
|
228
211
|
rootOverride: opts.rootOverride ?? null,
|
|
229
212
|
});
|
|
230
213
|
const loaded = await loadConfig(resolved.agentplaneDir);
|
|
231
|
-
const
|
|
232
|
-
const
|
|
233
|
-
|
|
234
|
-
if (tasksStaged && !allowTasks) {
|
|
235
|
-
throw new CliError({
|
|
236
|
-
exitCode: 5,
|
|
237
|
-
code: "E_GIT",
|
|
238
|
-
message: `${tasksPath} is protected by agentplane hooks (set AGENTPLANE_ALLOW_TASKS=1 to override)`,
|
|
239
|
-
});
|
|
240
|
-
}
|
|
241
|
-
for (const filePath of staged) {
|
|
242
|
-
const kind = protectedPathKindForFile({ filePath, tasksPath });
|
|
243
|
-
if (!kind || kind === "tasks")
|
|
244
|
-
continue;
|
|
245
|
-
const override = getProtectedPathOverride(kind);
|
|
246
|
-
const allowed = (kind === "policy" && allowPolicy) ||
|
|
247
|
-
(kind === "config" && allowConfig) ||
|
|
248
|
-
(kind === "hooks" && allowHooks) ||
|
|
249
|
-
(kind === "ci" && allowCI);
|
|
250
|
-
if (!allowed) {
|
|
251
|
-
throw new CliError({
|
|
252
|
-
exitCode: 5,
|
|
253
|
-
code: "E_GIT",
|
|
254
|
-
message: `${filePath} is protected by agentplane hooks (set ${override.envVar}=1 to override)`,
|
|
255
|
-
});
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
if (loaded.config.workflow_mode === "branch_pr") {
|
|
259
|
-
const baseBranch = await resolveBaseBranch({
|
|
214
|
+
const inBranchPr = loaded.config.workflow_mode === "branch_pr";
|
|
215
|
+
const baseBranch = inBranchPr
|
|
216
|
+
? await resolveBaseBranch({
|
|
260
217
|
cwd: opts.cwd,
|
|
261
218
|
rootOverride: opts.rootOverride ?? null,
|
|
262
219
|
cliBaseOpt: null,
|
|
263
220
|
mode: loaded.config.workflow_mode,
|
|
264
|
-
})
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
}
|
|
287
|
-
}
|
|
221
|
+
})
|
|
222
|
+
: null;
|
|
223
|
+
const currentBranch = inBranchPr ? await gitCurrentBranch(resolved.gitRoot) : undefined;
|
|
224
|
+
const res = evaluatePolicy({
|
|
225
|
+
action: "hook_pre_commit",
|
|
226
|
+
config: loaded.config,
|
|
227
|
+
taskId: (process.env.AGENTPLANE_TASK_ID ?? "").trim(),
|
|
228
|
+
git: {
|
|
229
|
+
stagedPaths: staged,
|
|
230
|
+
currentBranch,
|
|
231
|
+
baseBranch,
|
|
232
|
+
},
|
|
233
|
+
allow: {
|
|
234
|
+
allowTasks,
|
|
235
|
+
allowBase,
|
|
236
|
+
allowPolicy,
|
|
237
|
+
allowConfig,
|
|
238
|
+
allowHooks,
|
|
239
|
+
allowCI,
|
|
240
|
+
},
|
|
241
|
+
});
|
|
242
|
+
throwIfPolicyDenied(res);
|
|
288
243
|
return 0;
|
|
289
244
|
}
|
|
290
245
|
return 0;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CommandHandler, CommandSpec } from "../../cli/spec/spec.js";
|
|
2
|
+
export type HooksInstallParsed = {
|
|
3
|
+
quiet: boolean;
|
|
4
|
+
};
|
|
5
|
+
export declare const hooksInstallSpec: CommandSpec<HooksInstallParsed>;
|
|
6
|
+
export declare const runHooksInstall: CommandHandler<HooksInstallParsed>;
|
|
7
|
+
//# sourceMappingURL=install.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"install.command.d.ts","sourceRoot":"","sources":["../../../src/commands/hooks/install.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAI1E,MAAM,MAAM,kBAAkB,GAAG;IAAE,KAAK,EAAE,OAAO,CAAA;CAAE,CAAC;AAEpD,eAAO,MAAM,gBAAgB,EAAE,WAAW,CAAC,kBAAkB,CAS5D,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,cAAc,CAAC,kBAAkB,CAE9D,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { cmdHooksInstall } from "./index.js";
|
|
2
|
+
export const hooksInstallSpec = {
|
|
3
|
+
id: ["hooks", "install"],
|
|
4
|
+
group: "Hooks",
|
|
5
|
+
summary: "Install managed git hooks and the agentplane shim.",
|
|
6
|
+
options: [
|
|
7
|
+
{ kind: "boolean", name: "quiet", default: false, description: "Reduce output noise." },
|
|
8
|
+
],
|
|
9
|
+
examples: [{ cmd: "agentplane hooks install", why: "Install hooks into .git/hooks/." }],
|
|
10
|
+
parse: (raw) => ({ quiet: raw.opts.quiet === true }),
|
|
11
|
+
};
|
|
12
|
+
export const runHooksInstall = async (ctx, p) => {
|
|
13
|
+
return await cmdHooksInstall({ cwd: ctx.cwd, rootOverride: ctx.rootOverride, quiet: p.quiet });
|
|
14
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { CommandHandler, CommandSpec } from "../../cli/spec/spec.js";
|
|
2
|
+
import { HOOK_NAMES } from "./index.js";
|
|
3
|
+
export type HooksRunParsed = {
|
|
4
|
+
hook: (typeof HOOK_NAMES)[number];
|
|
5
|
+
args: string[];
|
|
6
|
+
};
|
|
7
|
+
export declare const hooksRunSpec: CommandSpec<HooksRunParsed>;
|
|
8
|
+
export declare const runHooksRun: CommandHandler<HooksRunParsed>;
|
|
9
|
+
//# sourceMappingURL=run.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run.command.d.ts","sourceRoot":"","sources":["../../../src/commands/hooks/run.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAG1E,OAAO,EAAE,UAAU,EAAe,MAAM,YAAY,CAAC;AAErD,MAAM,MAAM,cAAc,GAAG;IAAE,IAAI,EAAE,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;IAAC,IAAI,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;AAEnF,eAAO,MAAM,YAAY,EAAE,WAAW,CAAC,cAAc,CA4BpD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,cAAc,CAAC,cAAc,CAOtD,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { usageError } from "../../cli/spec/errors.js";
|
|
2
|
+
import { HOOK_NAMES, cmdHooksRun } from "./index.js";
|
|
3
|
+
export const hooksRunSpec = {
|
|
4
|
+
id: ["hooks", "run"],
|
|
5
|
+
group: "Hooks",
|
|
6
|
+
summary: "Run a managed hook (use `--` to pass through additional arguments).",
|
|
7
|
+
args: [
|
|
8
|
+
{ name: "hook", required: true, valueHint: "<hook>" },
|
|
9
|
+
{ name: "args", required: false, variadic: true, valueHint: "<args...>" },
|
|
10
|
+
],
|
|
11
|
+
examples: [
|
|
12
|
+
{ cmd: "agentplane hooks run pre-commit", why: "Run the pre-commit checks." },
|
|
13
|
+
{
|
|
14
|
+
cmd: "agentplane hooks run commit-msg -- .git/COMMIT_EDITMSG",
|
|
15
|
+
why: "Run commit-msg with a message file argument.",
|
|
16
|
+
},
|
|
17
|
+
],
|
|
18
|
+
validateRaw: (raw) => {
|
|
19
|
+
const hook = String(raw.args.hook);
|
|
20
|
+
if (!HOOK_NAMES.includes(hook)) {
|
|
21
|
+
throw usageError({
|
|
22
|
+
spec: hooksRunSpec,
|
|
23
|
+
message: `Unknown hook: ${hook} (expected one of: ${HOOK_NAMES.join(", ")})`,
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
parse: (raw) => ({
|
|
28
|
+
hook: String(raw.args.hook),
|
|
29
|
+
args: Array.isArray(raw.args.args) ? raw.args.args.map(String) : [],
|
|
30
|
+
}),
|
|
31
|
+
};
|
|
32
|
+
export const runHooksRun = async (ctx, p) => {
|
|
33
|
+
return await cmdHooksRun({
|
|
34
|
+
cwd: ctx.cwd,
|
|
35
|
+
rootOverride: ctx.rootOverride,
|
|
36
|
+
hook: p.hook,
|
|
37
|
+
args: p.args,
|
|
38
|
+
});
|
|
39
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CommandHandler, CommandSpec } from "../../cli/spec/spec.js";
|
|
2
|
+
export type HooksUninstallParsed = {
|
|
3
|
+
quiet: boolean;
|
|
4
|
+
};
|
|
5
|
+
export declare const hooksUninstallSpec: CommandSpec<HooksUninstallParsed>;
|
|
6
|
+
export declare const runHooksUninstall: CommandHandler<HooksUninstallParsed>;
|
|
7
|
+
//# sourceMappingURL=uninstall.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uninstall.command.d.ts","sourceRoot":"","sources":["../../../src/commands/hooks/uninstall.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAI1E,MAAM,MAAM,oBAAoB,GAAG;IAAE,KAAK,EAAE,OAAO,CAAA;CAAE,CAAC;AAEtD,eAAO,MAAM,kBAAkB,EAAE,WAAW,CAAC,oBAAoB,CAWhE,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,cAAc,CAAC,oBAAoB,CAElE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { cmdHooksUninstall } from "./index.js";
|
|
2
|
+
export const hooksUninstallSpec = {
|
|
3
|
+
id: ["hooks", "uninstall"],
|
|
4
|
+
group: "Hooks",
|
|
5
|
+
summary: "Uninstall managed git hooks installed by agentplane.",
|
|
6
|
+
options: [
|
|
7
|
+
{ kind: "boolean", name: "quiet", default: false, description: "Reduce output noise." },
|
|
8
|
+
],
|
|
9
|
+
examples: [
|
|
10
|
+
{ cmd: "agentplane hooks uninstall", why: "Remove agentplane hooks from .git/hooks/." },
|
|
11
|
+
],
|
|
12
|
+
parse: (raw) => ({ quiet: raw.opts.quiet === true }),
|
|
13
|
+
};
|
|
14
|
+
export const runHooksUninstall = async (ctx, p) => {
|
|
15
|
+
return await cmdHooksUninstall({ cwd: ctx.cwd, rootOverride: ctx.rootOverride, quiet: p.quiet });
|
|
16
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { CommandCtx, CommandSpec } from "../cli/spec/spec.js";
|
|
2
|
+
import type { CommandContext } from "./shared/task-backend.js";
|
|
3
|
+
export type IntegrateParsed = {
|
|
4
|
+
taskId: string;
|
|
5
|
+
branch: string | null;
|
|
6
|
+
base: string | null;
|
|
7
|
+
mergeStrategy: "squash" | "merge" | "rebase";
|
|
8
|
+
runVerify: boolean;
|
|
9
|
+
dryRun: boolean;
|
|
10
|
+
quiet: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare const integrateSpec: CommandSpec<IntegrateParsed>;
|
|
13
|
+
export declare function makeRunIntegrateHandler(getCtx: (cmd: string) => Promise<CommandContext>): (ctx: CommandCtx, p: IntegrateParsed) => Promise<number>;
|
|
14
|
+
//# sourceMappingURL=integrate.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrate.command.d.ts","sourceRoot":"","sources":["../../src/commands/integrate.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAG/D,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,aAAa,EAAE,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;IAC7C,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,WAAW,CAAC,eAAe,CA0CtD,CAAC;AAEF,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,cAAc,CAAC,IACxE,KAAK,UAAU,EAAE,GAAG,eAAe,KAAG,OAAO,CAAC,MAAM,CAAC,CAcpE"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { usageError } from "../cli/spec/errors.js";
|
|
2
|
+
import { cmdIntegrate } from "./pr/index.js";
|
|
3
|
+
export const integrateSpec = {
|
|
4
|
+
id: ["integrate"],
|
|
5
|
+
group: "PR",
|
|
6
|
+
summary: "Integrate a task branch into the base branch (branch_pr workflow).",
|
|
7
|
+
args: [{ name: "task-id", required: true, valueHint: "<task-id>" }],
|
|
8
|
+
options: [
|
|
9
|
+
{ kind: "string", name: "branch", valueHint: "<name>", description: "Branch name override." },
|
|
10
|
+
{ kind: "string", name: "base", valueHint: "<name>", description: "Base branch override." },
|
|
11
|
+
{
|
|
12
|
+
kind: "string",
|
|
13
|
+
name: "merge-strategy",
|
|
14
|
+
valueHint: "<squash|merge|rebase>",
|
|
15
|
+
choices: ["squash", "merge", "rebase"],
|
|
16
|
+
default: "squash",
|
|
17
|
+
description: "Merge strategy (default: squash).",
|
|
18
|
+
},
|
|
19
|
+
{ kind: "boolean", name: "run-verify", default: false, description: "Run verify commands." },
|
|
20
|
+
{ kind: "boolean", name: "dry-run", default: false, description: "Do not modify git state." },
|
|
21
|
+
{ kind: "boolean", name: "quiet", default: false, description: "Reduce output noise." },
|
|
22
|
+
],
|
|
23
|
+
examples: [
|
|
24
|
+
{ cmd: "agentplane integrate 202602030608-F1Q8AB --run-verify", why: "Integrate with verify." },
|
|
25
|
+
],
|
|
26
|
+
validateRaw: (raw) => {
|
|
27
|
+
const base = typeof raw.opts.base === "string" ? raw.opts.base.trim() : "";
|
|
28
|
+
if (raw.opts.base !== undefined && !base) {
|
|
29
|
+
throw usageError({ spec: integrateSpec, message: "Invalid value for --base: empty." });
|
|
30
|
+
}
|
|
31
|
+
const branch = typeof raw.opts.branch === "string" ? raw.opts.branch.trim() : "";
|
|
32
|
+
if (raw.opts.branch !== undefined && !branch) {
|
|
33
|
+
throw usageError({ spec: integrateSpec, message: "Invalid value for --branch: empty." });
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
parse: (raw) => ({
|
|
37
|
+
taskId: String(raw.args["task-id"]),
|
|
38
|
+
branch: typeof raw.opts.branch === "string" ? raw.opts.branch : null,
|
|
39
|
+
base: typeof raw.opts.base === "string" ? raw.opts.base : null,
|
|
40
|
+
mergeStrategy: (raw.opts["merge-strategy"] ?? "squash"),
|
|
41
|
+
runVerify: raw.opts["run-verify"] === true,
|
|
42
|
+
dryRun: raw.opts["dry-run"] === true,
|
|
43
|
+
quiet: raw.opts.quiet === true,
|
|
44
|
+
}),
|
|
45
|
+
};
|
|
46
|
+
export function makeRunIntegrateHandler(getCtx) {
|
|
47
|
+
return async (ctx, p) => {
|
|
48
|
+
return await cmdIntegrate({
|
|
49
|
+
ctx: await getCtx("integrate"),
|
|
50
|
+
cwd: ctx.cwd,
|
|
51
|
+
rootOverride: ctx.rootOverride,
|
|
52
|
+
taskId: p.taskId,
|
|
53
|
+
branch: p.branch ?? undefined,
|
|
54
|
+
base: p.base ?? undefined,
|
|
55
|
+
mergeStrategy: p.mergeStrategy,
|
|
56
|
+
runVerify: p.runVerify,
|
|
57
|
+
dryRun: p.dryRun,
|
|
58
|
+
quiet: p.quiet,
|
|
59
|
+
});
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../../src/commands/pr/check.ts"],"names":[],"mappings":"AAQA,OAAO,EAGL,KAAK,cAAc,EACpB,MAAM,2BAA2B,CAAC;AAKnC,wBAAsB,UAAU,CAAC,IAAI,EAAE;IACrC,GAAG,CAAC,EAAE,cAAc,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;CAChB,GAAG,OAAO,CAAC,MAAM,CAAC,CAoElB"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { readFile } from "node:fs/promises";
|
|
2
|
+
import path from "node:path";
|
|
3
|
+
import { mapBackendError } from "../../cli/error-map.js";
|
|
4
|
+
import { fileExists } from "../../cli/fs-utils.js";
|
|
5
|
+
import { successMessage, workflowModeMessage } from "../../cli/output.js";
|
|
6
|
+
import { CliError } from "../../shared/errors.js";
|
|
7
|
+
import { parsePrMeta } from "../shared/pr-meta.js";
|
|
8
|
+
import { loadBackendTask, loadCommandContext, } from "../shared/task-backend.js";
|
|
9
|
+
import { resolvePrPaths } from "./internal/pr-paths.js";
|
|
10
|
+
import { validateReviewContents } from "./internal/review-template.js";
|
|
11
|
+
export async function cmdPrCheck(opts) {
|
|
12
|
+
try {
|
|
13
|
+
const ctx = opts.ctx ??
|
|
14
|
+
(await loadCommandContext({ cwd: opts.cwd, rootOverride: opts.rootOverride ?? null }));
|
|
15
|
+
const { task } = await loadBackendTask({
|
|
16
|
+
ctx,
|
|
17
|
+
cwd: opts.cwd,
|
|
18
|
+
rootOverride: opts.rootOverride,
|
|
19
|
+
taskId: opts.taskId,
|
|
20
|
+
});
|
|
21
|
+
const { resolved, config, prDir, metaPath, diffstatPath, verifyLogPath, reviewPath } = await resolvePrPaths({ ...opts, ctx });
|
|
22
|
+
if (config.workflow_mode !== "branch_pr") {
|
|
23
|
+
throw new CliError({
|
|
24
|
+
exitCode: 2,
|
|
25
|
+
code: "E_USAGE",
|
|
26
|
+
message: workflowModeMessage(config.workflow_mode, "branch_pr"),
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
const errors = [];
|
|
30
|
+
const relPrDir = path.relative(resolved.gitRoot, prDir);
|
|
31
|
+
const relMetaPath = path.relative(resolved.gitRoot, metaPath);
|
|
32
|
+
const relDiffstatPath = path.relative(resolved.gitRoot, diffstatPath);
|
|
33
|
+
const relVerifyLogPath = path.relative(resolved.gitRoot, verifyLogPath);
|
|
34
|
+
const relReviewPath = path.relative(resolved.gitRoot, reviewPath);
|
|
35
|
+
if (!(await fileExists(prDir)))
|
|
36
|
+
errors.push(`Missing PR directory: ${relPrDir}`);
|
|
37
|
+
if (!(await fileExists(metaPath)))
|
|
38
|
+
errors.push(`Missing ${relMetaPath}`);
|
|
39
|
+
if (!(await fileExists(diffstatPath)))
|
|
40
|
+
errors.push(`Missing ${relDiffstatPath}`);
|
|
41
|
+
if (!(await fileExists(verifyLogPath)))
|
|
42
|
+
errors.push(`Missing ${relVerifyLogPath}`);
|
|
43
|
+
if (!(await fileExists(reviewPath)))
|
|
44
|
+
errors.push(`Missing ${relReviewPath}`);
|
|
45
|
+
let meta = null;
|
|
46
|
+
if (await fileExists(metaPath)) {
|
|
47
|
+
try {
|
|
48
|
+
meta = parsePrMeta(await readFile(metaPath, "utf8"), task.id);
|
|
49
|
+
}
|
|
50
|
+
catch (err) {
|
|
51
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
52
|
+
errors.push(message);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
if (await fileExists(reviewPath)) {
|
|
56
|
+
const review = await readFile(reviewPath, "utf8");
|
|
57
|
+
validateReviewContents(review, errors);
|
|
58
|
+
}
|
|
59
|
+
if (task.verify && task.verify.length > 0) {
|
|
60
|
+
if (meta?.verify?.status !== "pass") {
|
|
61
|
+
errors.push("Verify requirements not satisfied (meta.verify.status != pass)");
|
|
62
|
+
}
|
|
63
|
+
if (!meta?.last_verified_sha || !meta.last_verified_at) {
|
|
64
|
+
errors.push("Verify metadata missing (last_verified_sha/last_verified_at)");
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
if (errors.length > 0) {
|
|
68
|
+
throw new CliError({ exitCode: 3, code: "E_VALIDATION", message: errors.join("\n") });
|
|
69
|
+
}
|
|
70
|
+
process.stdout.write(`${successMessage("pr check", path.relative(resolved.gitRoot, prDir))}\n`);
|
|
71
|
+
return 0;
|
|
72
|
+
}
|
|
73
|
+
catch (err) {
|
|
74
|
+
if (err instanceof CliError)
|
|
75
|
+
throw err;
|
|
76
|
+
throw mapBackendError(err, { command: "pr check", root: opts.rootOverride ?? null });
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -1,46 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export declare const PR_CHECK_USAGE_EXAMPLE = "agentplane pr check 202602030608-F1Q8AB";
|
|
7
|
-
export declare const PR_NOTE_USAGE = "Usage: agentplane pr note <task-id> --author <id> --body <text>";
|
|
8
|
-
export declare const PR_NOTE_USAGE_EXAMPLE = "agentplane pr note 202602030608-F1Q8AB --author REVIEWER --body \"...\"";
|
|
9
|
-
export declare const INTEGRATE_USAGE = "Usage: agentplane integrate <task-id> [--branch <name>] [--base <name>] [--merge-strategy squash|merge|rebase] [--run-verify] [--dry-run] [--quiet]";
|
|
10
|
-
export declare const INTEGRATE_USAGE_EXAMPLE = "agentplane integrate 202602030608-F1Q8AB --run-verify";
|
|
11
|
-
export declare function cmdPrOpen(opts: {
|
|
12
|
-
cwd: string;
|
|
13
|
-
rootOverride?: string;
|
|
14
|
-
taskId: string;
|
|
15
|
-
author: string;
|
|
16
|
-
branch?: string;
|
|
17
|
-
}): Promise<number>;
|
|
18
|
-
export declare function cmdPrUpdate(opts: {
|
|
19
|
-
cwd: string;
|
|
20
|
-
rootOverride?: string;
|
|
21
|
-
taskId: string;
|
|
22
|
-
}): Promise<number>;
|
|
23
|
-
export declare function cmdPrCheck(opts: {
|
|
24
|
-
cwd: string;
|
|
25
|
-
rootOverride?: string;
|
|
26
|
-
taskId: string;
|
|
27
|
-
}): Promise<number>;
|
|
28
|
-
export declare function cmdPrNote(opts: {
|
|
29
|
-
cwd: string;
|
|
30
|
-
rootOverride?: string;
|
|
31
|
-
taskId: string;
|
|
32
|
-
author: string;
|
|
33
|
-
body: string;
|
|
34
|
-
}): Promise<number>;
|
|
35
|
-
export declare function cmdIntegrate(opts: {
|
|
36
|
-
cwd: string;
|
|
37
|
-
rootOverride?: string;
|
|
38
|
-
taskId: string;
|
|
39
|
-
branch?: string;
|
|
40
|
-
base?: string;
|
|
41
|
-
mergeStrategy: "squash" | "merge" | "rebase";
|
|
42
|
-
runVerify: boolean;
|
|
43
|
-
dryRun: boolean;
|
|
44
|
-
quiet: boolean;
|
|
45
|
-
}): Promise<number>;
|
|
1
|
+
export { cmdPrOpen } from "./open.js";
|
|
2
|
+
export { cmdPrUpdate } from "./update.js";
|
|
3
|
+
export { cmdPrCheck } from "./check.js";
|
|
4
|
+
export { cmdPrNote } from "./note.js";
|
|
5
|
+
export { cmdIntegrate } from "./integrate.js";
|
|
46
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/pr/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/pr/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
|