agentplane 0.3.7 → 0.3.9
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 +692 -337
- package/dist/adapters/task-backend/task-backend-adapter.d.ts +3 -1
- package/dist/adapters/task-backend/task-backend-adapter.d.ts.map +1 -1
- package/dist/adapters/task-backend/task-backend-adapter.js +13 -0
- 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 +4 -2
- package/dist/backends/task-backend/local-backend.d.ts.map +1 -1
- package/dist/backends/task-backend/local-backend.js +26 -403
- 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/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 +12 -2
- 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 +2 -0
- package/dist/backends/task-backend/redmine/state.d.ts.map +1 -1
- package/dist/backends/task-backend/redmine/state.js +15 -1
- package/dist/backends/task-backend/redmine-backend.d.ts +5 -2
- package/dist/backends/task-backend/redmine-backend.d.ts.map +1 -1
- package/dist/backends/task-backend/redmine-backend.js +88 -536
- 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/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 +7 -2
- package/dist/backends/task-backend/shared/types.d.ts +38 -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 -6
- 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 +8 -6
- 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/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 +122 -12
- 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 +3 -5
- package/dist/commands/backend/sync.command.d.ts.map +1 -1
- package/dist/commands/backend/sync.command.js +9 -12
- package/dist/commands/backend.d.ts.map +1 -1
- package/dist/commands/backend.js +8 -7
- 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/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/finish.spec.d.ts.map +1 -1
- package/dist/commands/finish.spec.js +7 -0
- 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/commands.d.ts +2 -0
- package/dist/commands/guard/impl/commands.d.ts.map +1 -1
- package/dist/commands/guard/impl/commands.js +55 -7
- 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/hooks/index.d.ts.map +1 -1
- package/dist/commands/hooks/index.js +8 -4
- 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.js +1 -1
- package/dist/commands/recipes/impl/commands/explain.js +1 -1
- package/dist/commands/recipes/impl/installed-recipes.d.ts.map +1 -1
- package/dist/commands/recipes/impl/installed-recipes.js +1 -1
- 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.map +1 -1
- package/dist/commands/recipes/impl/project-installed-recipes.js +1 -1
- 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.map +1 -1
- 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 +34 -0
- package/dist/commands/release.test-helpers.d.ts.map +1 -0
- package/dist/commands/release.test-helpers.js +48 -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 +10 -6
- package/dist/commands/shared/task-backend.d.ts.map +1 -1
- package/dist/commands/shared/task-backend.js +99 -25
- 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 +5 -1
- package/dist/commands/shared/task-store.d.ts.map +1 -1
- package/dist/commands/shared/task-store.js +72 -92
- 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 -110
- 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 +25 -55
- package/dist/commands/task/comment.d.ts.map +1 -1
- package/dist/commands/task/comment.js +48 -37
- package/dist/commands/task/derive.d.ts.map +1 -1
- package/dist/commands/task/derive.js +14 -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 +58 -62
- 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 +79 -210
- 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/new.d.ts.map +1 -1
- package/dist/commands/task/new.js +26 -6
- 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 +96 -103
- 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 +36 -152
- package/dist/commands/task/shared/dependencies.d.ts +4 -4
- package/dist/commands/task/shared/dependencies.d.ts.map +1 -1
- package/dist/commands/task/shared/dependencies.js +10 -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 +13 -0
- 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 +39 -0
- package/dist/commands/task/shared/transitions.d.ts.map +1 -1
- package/dist/commands/task/shared/transitions.js +62 -1
- 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 +5 -3
- package/dist/commands/task/shared.d.ts.map +1 -1
- package/dist/commands/task/shared.js +5 -3
- 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 +33 -119
- 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 +16 -141
- 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/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.d.ts.map +1 -1
- package/dist/commands/upgrade.js +154 -642
- 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/ports/task-backend-port.d.ts +3 -1
- 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/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 +2 -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,58 @@
|
|
|
1
|
+
function nowIso() {
|
|
2
|
+
return new Date().toISOString();
|
|
3
|
+
}
|
|
4
|
+
export function runnerAdapterSuccessResult(opts) {
|
|
5
|
+
const started_at = opts.started_at ?? nowIso();
|
|
6
|
+
const ended_at = opts.ended_at ?? nowIso();
|
|
7
|
+
return {
|
|
8
|
+
status: "success",
|
|
9
|
+
exit_code: opts.exit_code ?? 0,
|
|
10
|
+
started_at,
|
|
11
|
+
ended_at,
|
|
12
|
+
summary: opts.summary,
|
|
13
|
+
stdout_summary: opts.stdout_summary,
|
|
14
|
+
output_paths: opts.output_paths,
|
|
15
|
+
metrics: opts.metrics,
|
|
16
|
+
timeout_reason: opts.timeout_reason,
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export function runnerAdapterFailureResult(opts) {
|
|
20
|
+
const started_at = opts.started_at ?? nowIso();
|
|
21
|
+
const ended_at = opts.ended_at ?? nowIso();
|
|
22
|
+
const message = opts.stderr_summary ?? (opts.err instanceof Error ? opts.err.message : String(opts.err));
|
|
23
|
+
return {
|
|
24
|
+
status: "failed",
|
|
25
|
+
exit_code: opts.exit_code ?? 1,
|
|
26
|
+
started_at,
|
|
27
|
+
ended_at,
|
|
28
|
+
summary: opts.summary,
|
|
29
|
+
stderr_summary: message,
|
|
30
|
+
output_paths: opts.output_paths,
|
|
31
|
+
metrics: opts.metrics,
|
|
32
|
+
timeout_reason: opts.timeout_reason,
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function runnerAdapterCancelledResult(opts) {
|
|
36
|
+
const started_at = opts.started_at ?? nowIso();
|
|
37
|
+
const ended_at = opts.ended_at ?? nowIso();
|
|
38
|
+
return {
|
|
39
|
+
status: "cancelled",
|
|
40
|
+
exit_code: opts.exit_code ?? null,
|
|
41
|
+
started_at,
|
|
42
|
+
ended_at,
|
|
43
|
+
summary: opts.summary,
|
|
44
|
+
stderr_summary: opts.stderr_summary ?? opts.reason,
|
|
45
|
+
output_paths: opts.output_paths,
|
|
46
|
+
metrics: opts.metrics,
|
|
47
|
+
timeout_reason: opts.timeout_reason,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export function runnerArtifactsFromSpecs(specs) {
|
|
51
|
+
const artifacts = specs
|
|
52
|
+
.filter((spec) => typeof spec.path === "string" && spec.path.trim().length > 0)
|
|
53
|
+
.map((spec) => ({
|
|
54
|
+
path: spec.path,
|
|
55
|
+
...(spec.label ? { label: spec.label } : {}),
|
|
56
|
+
}));
|
|
57
|
+
return artifacts.length > 0 ? artifacts : undefined;
|
|
58
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { RunnerContextBundle, RunnerEvent, RunnerInvocation, RunnerInvocationSnapshot, RunnerLifecycleStatus, RunnerResult, RunnerRunState, RunnerSupervisionState } from "./types.js";
|
|
2
|
+
export declare function createRunnerInvocationSnapshot(invocation?: RunnerInvocation | null): RunnerInvocationSnapshot;
|
|
3
|
+
export declare function createRunnerRunState(opts: {
|
|
4
|
+
bundle: RunnerContextBundle;
|
|
5
|
+
status?: RunnerLifecycleStatus;
|
|
6
|
+
created_at?: string;
|
|
7
|
+
prepared_metadata?: RunnerRunState["prepared_metadata"];
|
|
8
|
+
}): RunnerRunState;
|
|
9
|
+
export declare function writePreparedRunnerArtifacts(opts: {
|
|
10
|
+
bundle: RunnerContextBundle;
|
|
11
|
+
bootstrap_markdown?: string;
|
|
12
|
+
created_at?: string;
|
|
13
|
+
invocation?: RunnerInvocation;
|
|
14
|
+
}): Promise<RunnerRunState>;
|
|
15
|
+
export declare function appendRunnerEvent(opts: {
|
|
16
|
+
events_path: string;
|
|
17
|
+
event: RunnerEvent;
|
|
18
|
+
}): Promise<void>;
|
|
19
|
+
export declare function readRunnerRunState(state_path: string): Promise<RunnerRunState | null>;
|
|
20
|
+
export declare function evolveRunnerRunState(opts: {
|
|
21
|
+
state: RunnerRunState;
|
|
22
|
+
status: RunnerLifecycleStatus;
|
|
23
|
+
result?: RunnerResult;
|
|
24
|
+
updated_at?: string;
|
|
25
|
+
supervision?: RunnerSupervisionState;
|
|
26
|
+
}): RunnerRunState;
|
|
27
|
+
export declare function writeRunnerRunState(opts: {
|
|
28
|
+
state_path: string;
|
|
29
|
+
state: RunnerRunState;
|
|
30
|
+
}): Promise<void>;
|
|
31
|
+
//# sourceMappingURL=artifacts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"artifacts.d.ts","sourceRoot":"","sources":["../../src/runner/artifacts.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,mBAAmB,EACnB,WAAW,EACX,gBAAgB,EAChB,wBAAwB,EACxB,qBAAqB,EAErB,YAAY,EACZ,cAAc,EACd,sBAAsB,EACvB,MAAM,YAAY,CAAC;AAUpB,wBAAgB,8BAA8B,CAC5C,UAAU,CAAC,EAAE,gBAAgB,GAAG,IAAI,GACnC,wBAAwB,CAuB1B;AAwBD,wBAAgB,oBAAoB,CAAC,IAAI,EAAE;IACzC,MAAM,EAAE,mBAAmB,CAAC;IAC5B,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,cAAc,CAAC,mBAAmB,CAAC,CAAC;CACzD,GAAG,cAAc,CAuBjB;AAED,wBAAsB,4BAA4B,CAAC,IAAI,EAAE;IACvD,MAAM,EAAE,mBAAmB,CAAC;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,gBAAgB,CAAC;CAC/B,GAAG,OAAO,CAAC,cAAc,CAAC,CAkD1B;AAED,wBAAsB,iBAAiB,CAAC,IAAI,EAAE;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,WAAW,CAAC;CACpB,GAAG,OAAO,CAAC,IAAI,CAAC,CAGhB;AAED,wBAAsB,kBAAkB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC,CAS3F;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE;IACzC,KAAK,EAAE,cAAc,CAAC;IACtB,MAAM,EAAE,qBAAqB,CAAC;IAC9B,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,sBAAsB,CAAC;CACtC,GAAG,cAAc,CASjB;AAED,wBAAsB,mBAAmB,CAAC,IAAI,EAAE;IAC9C,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,cAAc,CAAC;CACvB,GAAG,OAAO,CAAC,IAAI,CAAC,CAGhB"}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { createHash } from "node:crypto";
|
|
2
|
+
import { appendFile, mkdir, readFile } from "node:fs/promises";
|
|
3
|
+
import path from "node:path";
|
|
4
|
+
import { atomicWriteFile } from "@agentplaneorg/core";
|
|
5
|
+
function sha256(text) {
|
|
6
|
+
return createHash("sha256").update(text).digest("hex");
|
|
7
|
+
}
|
|
8
|
+
function byteLength(text) {
|
|
9
|
+
return Buffer.byteLength(text, "utf8");
|
|
10
|
+
}
|
|
11
|
+
export function createRunnerInvocationSnapshot(invocation) {
|
|
12
|
+
return {
|
|
13
|
+
executable: invocation?.argv[0] ?? null,
|
|
14
|
+
argv: [...(invocation?.argv ?? [])],
|
|
15
|
+
argv_count: invocation?.argv.length ?? 0,
|
|
16
|
+
env_keys: Object.keys(invocation?.env ?? {}).toSorted(),
|
|
17
|
+
cwd: invocation?.run_dir ?? null,
|
|
18
|
+
run_dir: invocation?.run_dir ?? null,
|
|
19
|
+
bundle_path: invocation?.bundle_path ?? null,
|
|
20
|
+
state_path: invocation?.state_path ?? null,
|
|
21
|
+
events_path: invocation?.events_path ?? null,
|
|
22
|
+
result_path: invocation?.result_path ?? null,
|
|
23
|
+
trace_path: invocation?.trace_path ?? null,
|
|
24
|
+
stderr_path: invocation?.stderr_path ?? null,
|
|
25
|
+
bootstrap_path: invocation?.bootstrap_path ?? null,
|
|
26
|
+
output_last_message_path: invocation?.output_last_message_path ?? null,
|
|
27
|
+
dry_run: invocation?.dry_run ?? false,
|
|
28
|
+
has_result_path: typeof invocation?.result_path === "string" && invocation.result_path.length > 0,
|
|
29
|
+
has_output_last_message_path: typeof invocation?.output_last_message_path === "string" &&
|
|
30
|
+
invocation.output_last_message_path.trim().length > 0,
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
function buildPreparedMetadata(opts) {
|
|
34
|
+
return {
|
|
35
|
+
prompt_count: opts.bundle.base_prompts.length,
|
|
36
|
+
bundle_bytes: byteLength(opts.bundle_text),
|
|
37
|
+
bootstrap_bytes: byteLength(opts.bootstrap_text),
|
|
38
|
+
bundle_sha256: sha256(opts.bundle_text),
|
|
39
|
+
bootstrap_sha256: sha256(opts.bootstrap_text),
|
|
40
|
+
has_task_context: !!opts.bundle.task,
|
|
41
|
+
has_recipe_context: !!opts.bundle.recipe,
|
|
42
|
+
trace_policy: opts.bundle.execution.trace_policy,
|
|
43
|
+
timeout_policy: opts.bundle.execution.timeout_policy,
|
|
44
|
+
adapter_capabilities: opts.bundle.execution.adapter_capabilities,
|
|
45
|
+
policy_decision: opts.bundle.execution.policy_decision,
|
|
46
|
+
invocation: createRunnerInvocationSnapshot(opts.invocation),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export function createRunnerRunState(opts) {
|
|
50
|
+
const created_at = opts.created_at ?? new Date().toISOString();
|
|
51
|
+
return {
|
|
52
|
+
schema_version: opts.bundle.schema_version,
|
|
53
|
+
runner_api_version: opts.bundle.runner_api_version,
|
|
54
|
+
run_id: opts.bundle.execution.run_id,
|
|
55
|
+
adapter_id: opts.bundle.execution.adapter_id,
|
|
56
|
+
target: opts.bundle.target,
|
|
57
|
+
status: opts.status ?? "prepared",
|
|
58
|
+
mode: opts.bundle.execution.mode,
|
|
59
|
+
bundle_path: opts.bundle.execution.artifact_paths.bundle_path,
|
|
60
|
+
result_path: opts.bundle.execution.artifact_paths.result_path,
|
|
61
|
+
bootstrap_path: opts.bundle.execution.artifact_paths.bootstrap_path,
|
|
62
|
+
events_path: opts.bundle.execution.artifact_paths.events_path,
|
|
63
|
+
trace_path: opts.bundle.execution.artifact_paths.trace_path,
|
|
64
|
+
stderr_path: opts.bundle.execution.artifact_paths.stderr_path,
|
|
65
|
+
trace_policy: opts.bundle.execution.trace_policy,
|
|
66
|
+
timeout_policy: opts.bundle.execution.timeout_policy,
|
|
67
|
+
policy_decision: opts.bundle.execution.policy_decision,
|
|
68
|
+
created_at,
|
|
69
|
+
updated_at: created_at,
|
|
70
|
+
prepared_metadata: opts.prepared_metadata,
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
export async function writePreparedRunnerArtifacts(opts) {
|
|
74
|
+
const paths = opts.bundle.execution.artifact_paths;
|
|
75
|
+
await mkdir(paths.run_dir, { recursive: true });
|
|
76
|
+
const bundleText = `${JSON.stringify(opts.bundle, null, 2)}\n`;
|
|
77
|
+
const bootstrapText = opts.bootstrap_markdown
|
|
78
|
+
? ensureTrailingNewline(opts.bootstrap_markdown)
|
|
79
|
+
: "";
|
|
80
|
+
const preparedMetadata = buildPreparedMetadata({
|
|
81
|
+
bundle: opts.bundle,
|
|
82
|
+
invocation: opts.invocation,
|
|
83
|
+
bundle_text: bundleText,
|
|
84
|
+
bootstrap_text: bootstrapText,
|
|
85
|
+
});
|
|
86
|
+
const state = createRunnerRunState({
|
|
87
|
+
bundle: opts.bundle,
|
|
88
|
+
created_at: opts.created_at,
|
|
89
|
+
prepared_metadata: preparedMetadata,
|
|
90
|
+
});
|
|
91
|
+
await atomicWriteFile(paths.bundle_path, bundleText, "utf8");
|
|
92
|
+
await atomicWriteFile(paths.state_path, `${JSON.stringify(state, null, 2)}\n`, "utf8");
|
|
93
|
+
await atomicWriteFile(paths.bootstrap_path, bootstrapText, "utf8");
|
|
94
|
+
await atomicWriteFile(paths.events_path, "", "utf8");
|
|
95
|
+
await atomicWriteFile(paths.trace_path, "", "utf8");
|
|
96
|
+
await atomicWriteFile(paths.stderr_path, "", "utf8");
|
|
97
|
+
await appendRunnerEvent({
|
|
98
|
+
events_path: paths.events_path,
|
|
99
|
+
event: {
|
|
100
|
+
at: state.created_at,
|
|
101
|
+
type: "runner_prepared",
|
|
102
|
+
message: `runner prepared with adapter=${opts.bundle.execution.adapter_id} mode=${opts.bundle.execution.mode}`,
|
|
103
|
+
data: {
|
|
104
|
+
prompt_count: preparedMetadata.prompt_count,
|
|
105
|
+
bundle_bytes: preparedMetadata.bundle_bytes,
|
|
106
|
+
bootstrap_bytes: preparedMetadata.bootstrap_bytes,
|
|
107
|
+
bundle_sha256: preparedMetadata.bundle_sha256,
|
|
108
|
+
bootstrap_sha256: preparedMetadata.bootstrap_sha256,
|
|
109
|
+
has_task_context: preparedMetadata.has_task_context,
|
|
110
|
+
has_recipe_context: preparedMetadata.has_recipe_context,
|
|
111
|
+
trace_policy: preparedMetadata.trace_policy,
|
|
112
|
+
timeout_policy: preparedMetadata.timeout_policy,
|
|
113
|
+
adapter_capabilities: preparedMetadata.adapter_capabilities,
|
|
114
|
+
policy_decision: preparedMetadata.policy_decision,
|
|
115
|
+
invocation: preparedMetadata.invocation,
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
});
|
|
119
|
+
return state;
|
|
120
|
+
}
|
|
121
|
+
export async function appendRunnerEvent(opts) {
|
|
122
|
+
await mkdir(path.dirname(opts.events_path), { recursive: true });
|
|
123
|
+
await appendFile(opts.events_path, `${JSON.stringify(opts.event)}\n`, "utf8");
|
|
124
|
+
}
|
|
125
|
+
export async function readRunnerRunState(state_path) {
|
|
126
|
+
try {
|
|
127
|
+
const raw = await readFile(state_path, "utf8");
|
|
128
|
+
return JSON.parse(raw);
|
|
129
|
+
}
|
|
130
|
+
catch (err) {
|
|
131
|
+
const code = err?.code;
|
|
132
|
+
if (code === "ENOENT")
|
|
133
|
+
return null;
|
|
134
|
+
throw err;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
export function evolveRunnerRunState(opts) {
|
|
138
|
+
const updated_at = opts.updated_at ?? new Date().toISOString();
|
|
139
|
+
return {
|
|
140
|
+
...opts.state,
|
|
141
|
+
status: opts.status,
|
|
142
|
+
updated_at,
|
|
143
|
+
supervision: opts.supervision ?? opts.state.supervision,
|
|
144
|
+
result: opts.result,
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
export async function writeRunnerRunState(opts) {
|
|
148
|
+
await mkdir(path.dirname(opts.state_path), { recursive: true });
|
|
149
|
+
await atomicWriteFile(opts.state_path, `${JSON.stringify(opts.state, null, 2)}\n`, "utf8");
|
|
150
|
+
}
|
|
151
|
+
function ensureTrailingNewline(text) {
|
|
152
|
+
return text.endsWith("\n") ? text : `${text}\n`;
|
|
153
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export type CodexApprovalMode = "never" | "untrusted" | "on-request";
|
|
2
|
+
export type CodexApprovalProbeAction = "write_probe" | "delete_probe";
|
|
3
|
+
export type CodexApprovalProbeVerdict = "permissive" | "restrictive" | "unknown";
|
|
4
|
+
export type CodexApprovalProbeObservation = {
|
|
5
|
+
mode: CodexApprovalMode;
|
|
6
|
+
action: CodexApprovalProbeAction;
|
|
7
|
+
exit_code: number | null;
|
|
8
|
+
timed_out: boolean;
|
|
9
|
+
target_exists_after: boolean;
|
|
10
|
+
};
|
|
11
|
+
export type CodexApprovalProbeAssessment = {
|
|
12
|
+
mode: CodexApprovalMode;
|
|
13
|
+
verdict: CodexApprovalProbeVerdict;
|
|
14
|
+
summary: string;
|
|
15
|
+
write_probe: CodexApprovalProbeObservation;
|
|
16
|
+
delete_probe: CodexApprovalProbeObservation;
|
|
17
|
+
};
|
|
18
|
+
export declare function assessCodexApprovalMode(opts: {
|
|
19
|
+
mode: CodexApprovalMode;
|
|
20
|
+
write_probe: CodexApprovalProbeObservation;
|
|
21
|
+
delete_probe: CodexApprovalProbeObservation;
|
|
22
|
+
}): CodexApprovalProbeAssessment;
|
|
23
|
+
//# sourceMappingURL=codex-approval-probe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codex-approval-probe.d.ts","sourceRoot":"","sources":["../../src/runner/codex-approval-probe.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,WAAW,GAAG,YAAY,CAAC;AACrE,MAAM,MAAM,wBAAwB,GAAG,aAAa,GAAG,cAAc,CAAC;AACtE,MAAM,MAAM,yBAAyB,GAAG,YAAY,GAAG,aAAa,GAAG,SAAS,CAAC;AAEjF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,EAAE,iBAAiB,CAAC;IACxB,MAAM,EAAE,wBAAwB,CAAC;IACjC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,mBAAmB,EAAE,OAAO,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC,IAAI,EAAE,iBAAiB,CAAC;IACxB,OAAO,EAAE,yBAAyB,CAAC;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,6BAA6B,CAAC;IAC3C,YAAY,EAAE,6BAA6B,CAAC;CAC7C,CAAC;AA6BF,wBAAgB,uBAAuB,CAAC,IAAI,EAAE;IAC5C,IAAI,EAAE,iBAAiB,CAAC;IACxB,WAAW,EAAE,6BAA6B,CAAC;IAC3C,YAAY,EAAE,6BAA6B,CAAC;CAC7C,GAAG,4BAA4B,CAwC/B"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
function isSuccessfulWrite(observation) {
|
|
2
|
+
return (observation.action === "write_probe" &&
|
|
3
|
+
observation.timed_out === false &&
|
|
4
|
+
observation.exit_code === 0 &&
|
|
5
|
+
observation.target_exists_after);
|
|
6
|
+
}
|
|
7
|
+
function isBlockedDelete(observation) {
|
|
8
|
+
return (observation.action === "delete_probe" &&
|
|
9
|
+
(observation.timed_out === true ||
|
|
10
|
+
observation.exit_code !== 0 ||
|
|
11
|
+
observation.target_exists_after === true));
|
|
12
|
+
}
|
|
13
|
+
function isPermissiveDelete(observation) {
|
|
14
|
+
return (observation.action === "delete_probe" &&
|
|
15
|
+
observation.timed_out === false &&
|
|
16
|
+
observation.exit_code === 0 &&
|
|
17
|
+
observation.target_exists_after === false);
|
|
18
|
+
}
|
|
19
|
+
export function assessCodexApprovalMode(opts) {
|
|
20
|
+
const { mode, write_probe, delete_probe } = opts;
|
|
21
|
+
if (!isSuccessfulWrite(write_probe)) {
|
|
22
|
+
return {
|
|
23
|
+
mode,
|
|
24
|
+
verdict: "unknown",
|
|
25
|
+
summary: `Mode ${mode} did not complete the control write probe successfully.`,
|
|
26
|
+
write_probe,
|
|
27
|
+
delete_probe,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
if (isPermissiveDelete(delete_probe)) {
|
|
31
|
+
return {
|
|
32
|
+
mode,
|
|
33
|
+
verdict: "permissive",
|
|
34
|
+
summary: `Mode ${mode} allowed the destructive delete probe without surfacing an approval barrier.`,
|
|
35
|
+
write_probe,
|
|
36
|
+
delete_probe,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
if (isBlockedDelete(delete_probe)) {
|
|
40
|
+
return {
|
|
41
|
+
mode,
|
|
42
|
+
verdict: "restrictive",
|
|
43
|
+
summary: `Mode ${mode} blocked or failed the destructive delete probe after the control write probe succeeded.`,
|
|
44
|
+
write_probe,
|
|
45
|
+
delete_probe,
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
mode,
|
|
50
|
+
verdict: "unknown",
|
|
51
|
+
summary: `Mode ${mode} produced an ambiguous delete probe outcome.`,
|
|
52
|
+
write_probe,
|
|
53
|
+
delete_probe,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { RunnerPolicyRefusal, RunnerRunState } from "./types.js";
|
|
2
|
+
export type CodexSmokeOutcome = "success" | "timeout" | "policy_refusal" | "runner_failure";
|
|
3
|
+
export type CodexSmokeClassification = {
|
|
4
|
+
outcome: CodexSmokeOutcome;
|
|
5
|
+
status: RunnerRunState["status"];
|
|
6
|
+
summary: string;
|
|
7
|
+
timeout_reason?: string | null;
|
|
8
|
+
refusal_reason?: RunnerPolicyRefusal | null;
|
|
9
|
+
};
|
|
10
|
+
export declare function classifyCodexSmokeRun(state: RunnerRunState): CodexSmokeClassification;
|
|
11
|
+
//# sourceMappingURL=codex-smoke.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codex-smoke.d.ts","sourceRoot":"","sources":["../../src/runner/codex-smoke.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAgB,MAAM,YAAY,CAAC;AAEpF,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,SAAS,GAAG,gBAAgB,GAAG,gBAAgB,CAAC;AAE5F,MAAM,MAAM,wBAAwB,GAAG;IACrC,OAAO,EAAE,iBAAiB,CAAC;IAC3B,MAAM,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,cAAc,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;CAC7C,CAAC;AAQF,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,cAAc,GAAG,wBAAwB,CA4CrF"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
function describeTarget(target) {
|
|
2
|
+
return target.kind === "task"
|
|
3
|
+
? `task ${target.task_id}`
|
|
4
|
+
: `scenario ${target.recipe_id}:${target.scenario_id}`;
|
|
5
|
+
}
|
|
6
|
+
export function classifyCodexSmokeRun(state) {
|
|
7
|
+
const timeoutReason = state.result?.timeout_reason ?? state.supervision?.timeout_reason ?? null;
|
|
8
|
+
const refusalReason = state.policy_decision?.refusal_reason ?? null;
|
|
9
|
+
const target = describeTarget(state.target);
|
|
10
|
+
if (state.status === "success") {
|
|
11
|
+
return {
|
|
12
|
+
outcome: "success",
|
|
13
|
+
status: state.status,
|
|
14
|
+
summary: `Runner smoke completed successfully for ${target}.`,
|
|
15
|
+
timeout_reason: timeoutReason,
|
|
16
|
+
refusal_reason: refusalReason,
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
if (timeoutReason) {
|
|
20
|
+
return {
|
|
21
|
+
outcome: "timeout",
|
|
22
|
+
status: state.status,
|
|
23
|
+
summary: `Runner smoke timed out (${timeoutReason}) for ${target}.`,
|
|
24
|
+
timeout_reason: timeoutReason,
|
|
25
|
+
refusal_reason: refusalReason,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
if (refusalReason) {
|
|
29
|
+
return {
|
|
30
|
+
outcome: "policy_refusal",
|
|
31
|
+
status: state.status,
|
|
32
|
+
summary: `Runner smoke was refused by policy for ${target}` +
|
|
33
|
+
(refusalReason.policy_field ? ` (field=${refusalReason.policy_field}).` : "."),
|
|
34
|
+
timeout_reason: timeoutReason,
|
|
35
|
+
refusal_reason: refusalReason,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
outcome: "runner_failure",
|
|
40
|
+
status: state.status,
|
|
41
|
+
summary: `Runner smoke failed for ${target}.`,
|
|
42
|
+
timeout_reason: timeoutReason,
|
|
43
|
+
refusal_reason: refusalReason,
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { AgentplaneConfig, RunnerAdapterId, RunnerTimeoutConfig, RunnerTraceConfig } from "@agentplaneorg/core";
|
|
2
|
+
export declare const KNOWN_RUNNER_ADAPTER_IDS: RunnerAdapterId[];
|
|
3
|
+
export declare function resolveRunnerAdapterId(config: Pick<AgentplaneConfig, "runner">): RunnerAdapterId;
|
|
4
|
+
export declare function resolveRunnerTracePolicy(config: Pick<AgentplaneConfig, "runner">): RunnerTraceConfig;
|
|
5
|
+
export declare function resolveRunnerTimeoutPolicy(config: Pick<AgentplaneConfig, "runner">): RunnerTimeoutConfig;
|
|
6
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/runner/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,wBAAwB,EAAE,eAAe,EAAwB,CAAC;AAE/E,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,IAAI,CAAC,gBAAgB,EAAE,QAAQ,CAAC,GAAG,eAAe,CAEhG;AAED,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,IAAI,CAAC,gBAAgB,EAAE,QAAQ,CAAC,GACvC,iBAAiB,CAOnB;AAED,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,IAAI,CAAC,gBAAgB,EAAE,QAAQ,CAAC,GACvC,mBAAmB,CAErB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export const KNOWN_RUNNER_ADAPTER_IDS = ["codex", "custom"];
|
|
2
|
+
export function resolveRunnerAdapterId(config) {
|
|
3
|
+
return config.runner.default_adapter;
|
|
4
|
+
}
|
|
5
|
+
export function resolveRunnerTracePolicy(config) {
|
|
6
|
+
return {
|
|
7
|
+
...config.runner.trace,
|
|
8
|
+
retention: config.runner.trace.retention ?? "keep",
|
|
9
|
+
compression: config.runner.trace.compression ?? "none",
|
|
10
|
+
redact_patterns: config.runner.trace.redact_patterns ?? [],
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export function resolveRunnerTimeoutPolicy(config) {
|
|
14
|
+
return config.runner.timeouts;
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type PolicyGatewayFlavor } from "../../shared/policy-gateway.js";
|
|
2
|
+
import type { RunnerPromptBlock, RunnerRecipeContext } from "../types.js";
|
|
3
|
+
export declare function collectRunnerBasePrompts(opts: {
|
|
4
|
+
git_root: string;
|
|
5
|
+
owner_id: string;
|
|
6
|
+
agents_dir?: string;
|
|
7
|
+
fallback_policy_gateway_flavor?: PolicyGatewayFlavor;
|
|
8
|
+
recipe?: RunnerRecipeContext;
|
|
9
|
+
}): Promise<RunnerPromptBlock[]>;
|
|
10
|
+
//# sourceMappingURL=base-prompts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-prompts.d.ts","sourceRoot":"","sources":["../../../src/runner/context/base-prompts.ts"],"names":[],"mappings":"AAKA,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,iBAAiB,EAAoB,mBAAmB,EAAE,MAAM,aAAa,CAAC;AA+R5F,wBAAsB,wBAAwB,CAAC,IAAI,EAAE;IACnD,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,8BAA8B,CAAC,EAAE,mBAAmB,CAAC;IACrD,MAAM,CAAC,EAAE,mBAAmB,CAAC;CAC9B,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAsB/B"}
|