@cleocode/cleo 2026.4.161 → 2026.5.0
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/dist/backfill/audit-columns.d.ts +105 -0
- package/dist/backfill/audit-columns.d.ts.map +1 -0
- package/dist/backfill/audit-columns.js +258 -0
- package/dist/backfill/audit-columns.js.map +1 -0
- package/dist/cli/commands/adapter.d.ts +28 -0
- package/dist/cli/commands/adapter.d.ts.map +1 -0
- package/dist/cli/commands/adapter.js +119 -0
- package/dist/cli/commands/adapter.js.map +1 -0
- package/dist/cli/commands/add-batch.d.ts +33 -0
- package/dist/cli/commands/add-batch.d.ts.map +1 -0
- package/dist/cli/commands/add-batch.js +148 -0
- package/dist/cli/commands/add-batch.js.map +1 -0
- package/dist/cli/commands/add.d.ts +162 -0
- package/dist/cli/commands/add.d.ts.map +1 -0
- package/dist/cli/commands/add.js +279 -0
- package/dist/cli/commands/add.js.map +1 -0
- package/dist/cli/commands/admin.d.ts +24 -0
- package/dist/cli/commands/admin.d.ts.map +1 -0
- package/dist/cli/commands/admin.js +283 -0
- package/dist/cli/commands/admin.js.map +1 -0
- package/dist/cli/commands/adr.d.ts +33 -0
- package/dist/cli/commands/adr.d.ts.map +1 -0
- package/dist/cli/commands/adr.js +147 -0
- package/dist/cli/commands/adr.js.map +1 -0
- package/dist/cli/commands/agent-profile-status.d.ts +98 -0
- package/dist/cli/commands/agent-profile-status.d.ts.map +1 -0
- package/dist/cli/commands/agent-profile-status.js +71 -0
- package/dist/cli/commands/agent-profile-status.js.map +1 -0
- package/dist/cli/commands/agent.d.ts +47 -0
- package/dist/cli/commands/agent.d.ts.map +1 -0
- package/dist/cli/commands/agent.js +2976 -0
- package/dist/cli/commands/agent.js.map +1 -0
- package/dist/cli/commands/analyze.d.ts +21 -0
- package/dist/cli/commands/analyze.d.ts.map +1 -0
- package/dist/cli/commands/analyze.js +32 -0
- package/dist/cli/commands/analyze.js.map +1 -0
- package/dist/cli/commands/archive-stats.d.ts +66 -0
- package/dist/cli/commands/archive-stats.d.ts.map +1 -0
- package/dist/cli/commands/archive-stats.js +93 -0
- package/dist/cli/commands/archive-stats.js.map +1 -0
- package/dist/cli/commands/archive.d.ts +42 -0
- package/dist/cli/commands/archive.d.ts.map +1 -0
- package/dist/cli/commands/archive.js +59 -0
- package/dist/cli/commands/archive.js.map +1 -0
- package/dist/cli/commands/audit.d.ts +22 -0
- package/dist/cli/commands/audit.d.ts.map +1 -0
- package/dist/cli/commands/audit.js +137 -0
- package/dist/cli/commands/audit.js.map +1 -0
- package/dist/cli/commands/backfill.d.ts +56 -0
- package/dist/cli/commands/backfill.d.ts.map +1 -0
- package/dist/cli/commands/backfill.js +161 -0
- package/dist/cli/commands/backfill.js.map +1 -0
- package/dist/cli/commands/backup-inspect.d.ts +33 -0
- package/dist/cli/commands/backup-inspect.d.ts.map +1 -0
- package/dist/cli/commands/backup-inspect.js +430 -0
- package/dist/cli/commands/backup-inspect.js.map +1 -0
- package/dist/cli/commands/backup.d.ts +23 -0
- package/dist/cli/commands/backup.d.ts.map +1 -0
- package/dist/cli/commands/backup.js +564 -0
- package/dist/cli/commands/backup.js.map +1 -0
- package/dist/cli/commands/blockers.d.ts +20 -0
- package/dist/cli/commands/blockers.d.ts.map +1 -0
- package/dist/cli/commands/blockers.js +31 -0
- package/dist/cli/commands/blockers.js.map +1 -0
- package/dist/cli/commands/brain.d.ts +37 -0
- package/dist/cli/commands/brain.d.ts.map +1 -0
- package/dist/cli/commands/brain.js +445 -0
- package/dist/cli/commands/brain.js.map +1 -0
- package/dist/cli/commands/briefing.d.ts +52 -0
- package/dist/cli/commands/briefing.d.ts.map +1 -0
- package/dist/cli/commands/briefing.js +69 -0
- package/dist/cli/commands/briefing.js.map +1 -0
- package/dist/cli/commands/bug.d.ts +61 -0
- package/dist/cli/commands/bug.d.ts.map +1 -0
- package/dist/cli/commands/bug.js +198 -0
- package/dist/cli/commands/bug.js.map +1 -0
- package/dist/cli/commands/cancel.d.ts +26 -0
- package/dist/cli/commands/cancel.d.ts.map +1 -0
- package/dist/cli/commands/cancel.js +40 -0
- package/dist/cli/commands/cancel.js.map +1 -0
- package/dist/cli/commands/cant.d.ts +13 -0
- package/dist/cli/commands/cant.d.ts.map +1 -0
- package/dist/cli/commands/cant.js +245 -0
- package/dist/cli/commands/cant.js.map +1 -0
- package/dist/cli/commands/chain.d.ts +24 -0
- package/dist/cli/commands/chain.d.ts.map +1 -0
- package/dist/cli/commands/chain.js +116 -0
- package/dist/cli/commands/chain.js.map +1 -0
- package/dist/cli/commands/check.d.ts +18 -0
- package/dist/cli/commands/check.d.ts.map +1 -0
- package/dist/cli/commands/check.js +280 -0
- package/dist/cli/commands/check.js.map +1 -0
- package/dist/cli/commands/checkpoint.d.ts +27 -0
- package/dist/cli/commands/checkpoint.d.ts.map +1 -0
- package/dist/cli/commands/checkpoint.js +105 -0
- package/dist/cli/commands/checkpoint.js.map +1 -0
- package/dist/cli/commands/claim.d.ts +35 -0
- package/dist/cli/commands/claim.d.ts.map +1 -0
- package/dist/cli/commands/claim.js +35 -0
- package/dist/cli/commands/claim.js.map +1 -0
- package/dist/cli/commands/code.d.ts +22 -0
- package/dist/cli/commands/code.d.ts.map +1 -0
- package/dist/cli/commands/code.js +161 -0
- package/dist/cli/commands/code.js.map +1 -0
- package/dist/cli/commands/complete.d.ts +49 -0
- package/dist/cli/commands/complete.d.ts.map +1 -0
- package/dist/cli/commands/complete.js +83 -0
- package/dist/cli/commands/complete.js.map +1 -0
- package/dist/cli/commands/complexity.d.ts +13 -0
- package/dist/cli/commands/complexity.d.ts.map +1 -0
- package/dist/cli/commands/complexity.js +32 -0
- package/dist/cli/commands/complexity.js.map +1 -0
- package/dist/cli/commands/compliance.d.ts +27 -0
- package/dist/cli/commands/compliance.d.ts.map +1 -0
- package/dist/cli/commands/compliance.js +233 -0
- package/dist/cli/commands/compliance.js.map +1 -0
- package/dist/cli/commands/conduit.d.ts +28 -0
- package/dist/cli/commands/conduit.d.ts.map +1 -0
- package/dist/cli/commands/conduit.js +279 -0
- package/dist/cli/commands/conduit.js.map +1 -0
- package/dist/cli/commands/config.d.ts +25 -0
- package/dist/cli/commands/config.d.ts.map +1 -0
- package/dist/cli/commands/config.js +132 -0
- package/dist/cli/commands/config.js.map +1 -0
- package/dist/cli/commands/consensus.d.ts +21 -0
- package/dist/cli/commands/consensus.d.ts.map +1 -0
- package/dist/cli/commands/consensus.js +100 -0
- package/dist/cli/commands/consensus.js.map +1 -0
- package/dist/cli/commands/context.d.ts +19 -0
- package/dist/cli/commands/context.d.ts.map +1 -0
- package/dist/cli/commands/context.js +111 -0
- package/dist/cli/commands/context.js.map +1 -0
- package/dist/cli/commands/contribution.d.ts +21 -0
- package/dist/cli/commands/contribution.d.ts.map +1 -0
- package/dist/cli/commands/contribution.js +90 -0
- package/dist/cli/commands/contribution.js.map +1 -0
- package/dist/cli/commands/current.d.ts +18 -0
- package/dist/cli/commands/current.d.ts.map +1 -0
- package/dist/cli/commands/current.js +28 -0
- package/dist/cli/commands/current.js.map +1 -0
- package/dist/cli/commands/daemon.d.ts +36 -0
- package/dist/cli/commands/daemon.d.ts.map +1 -0
- package/dist/cli/commands/daemon.js +223 -0
- package/dist/cli/commands/daemon.js.map +1 -0
- package/dist/cli/commands/dash.d.ts +23 -0
- package/dist/cli/commands/dash.d.ts.map +1 -0
- package/dist/cli/commands/dash.js +38 -0
- package/dist/cli/commands/dash.js.map +1 -0
- package/dist/cli/commands/decomposition.d.ts +13 -0
- package/dist/cli/commands/decomposition.d.ts.map +1 -0
- package/dist/cli/commands/decomposition.js +92 -0
- package/dist/cli/commands/decomposition.js.map +1 -0
- package/dist/cli/commands/delete.d.ts +29 -0
- package/dist/cli/commands/delete.d.ts.map +1 -0
- package/dist/cli/commands/delete.js +55 -0
- package/dist/cli/commands/delete.js.map +1 -0
- package/dist/cli/commands/deps.d.ts +45 -0
- package/dist/cli/commands/deps.d.ts.map +1 -0
- package/dist/cli/commands/deps.js +170 -0
- package/dist/cli/commands/deps.js.map +1 -0
- package/dist/cli/commands/detect-drift.d.ts +23 -0
- package/dist/cli/commands/detect-drift.d.ts.map +1 -0
- package/dist/cli/commands/detect-drift.js +440 -0
- package/dist/cli/commands/detect-drift.js.map +1 -0
- package/dist/cli/commands/detect.d.ts +3 -0
- package/dist/cli/commands/detect.d.ts.map +1 -0
- package/dist/cli/commands/detect.js +14 -0
- package/dist/cli/commands/detect.js.map +1 -0
- package/dist/cli/commands/diagnostics.d.ts +19 -0
- package/dist/cli/commands/diagnostics.d.ts.map +1 -0
- package/dist/cli/commands/diagnostics.js +109 -0
- package/dist/cli/commands/diagnostics.js.map +1 -0
- package/dist/cli/commands/docs.d.ts +25 -0
- package/dist/cli/commands/docs.d.ts.map +1 -0
- package/dist/cli/commands/docs.js +798 -0
- package/dist/cli/commands/docs.js.map +1 -0
- package/dist/cli/commands/doctor-projects.d.ts +101 -0
- package/dist/cli/commands/doctor-projects.d.ts.map +1 -0
- package/dist/cli/commands/doctor-projects.js +188 -0
- package/dist/cli/commands/doctor-projects.js.map +1 -0
- package/dist/cli/commands/doctor.d.ts +66 -0
- package/dist/cli/commands/doctor.d.ts.map +1 -0
- package/dist/cli/commands/doctor.js +178 -0
- package/dist/cli/commands/doctor.js.map +1 -0
- package/dist/cli/commands/dynamic.d.ts +15 -0
- package/dist/cli/commands/dynamic.d.ts.map +1 -0
- package/dist/cli/commands/dynamic.js +21 -0
- package/dist/cli/commands/dynamic.js.map +1 -0
- package/dist/cli/commands/exists.d.ts +13 -0
- package/dist/cli/commands/exists.d.ts.map +1 -0
- package/dist/cli/commands/exists.js +40 -0
- package/dist/cli/commands/exists.js.map +1 -0
- package/dist/cli/commands/export-tasks.d.ts +46 -0
- package/dist/cli/commands/export-tasks.d.ts.map +1 -0
- package/dist/cli/commands/export-tasks.js +81 -0
- package/dist/cli/commands/export-tasks.js.map +1 -0
- package/dist/cli/commands/export.d.ts +35 -0
- package/dist/cli/commands/export.d.ts.map +1 -0
- package/dist/cli/commands/export.js +68 -0
- package/dist/cli/commands/export.js.map +1 -0
- package/dist/cli/commands/find.d.ts +54 -0
- package/dist/cli/commands/find.d.ts.map +1 -0
- package/dist/cli/commands/find.js +92 -0
- package/dist/cli/commands/find.js.map +1 -0
- package/dist/cli/commands/gc.d.ts +25 -0
- package/dist/cli/commands/gc.d.ts.map +1 -0
- package/dist/cli/commands/gc.js +165 -0
- package/dist/cli/commands/gc.js.map +1 -0
- package/dist/cli/commands/generate-changelog.d.ts +30 -0
- package/dist/cli/commands/generate-changelog.d.ts.map +1 -0
- package/dist/cli/commands/generate-changelog.js +270 -0
- package/dist/cli/commands/generate-changelog.js.map +1 -0
- package/dist/cli/commands/grade.d.ts +13 -0
- package/dist/cli/commands/grade.d.ts.map +1 -0
- package/dist/cli/commands/grade.js +27 -0
- package/dist/cli/commands/grade.js.map +1 -0
- package/dist/cli/commands/history.d.ts +13 -0
- package/dist/cli/commands/history.d.ts.map +1 -0
- package/dist/cli/commands/history.js +65 -0
- package/dist/cli/commands/history.js.map +1 -0
- package/dist/cli/commands/import-tasks.d.ts +60 -0
- package/dist/cli/commands/import-tasks.d.ts.map +1 -0
- package/dist/cli/commands/import-tasks.js +83 -0
- package/dist/cli/commands/import-tasks.js.map +1 -0
- package/dist/cli/commands/import.d.ts +42 -0
- package/dist/cli/commands/import.d.ts.map +1 -0
- package/dist/cli/commands/import.js +64 -0
- package/dist/cli/commands/import.js.map +1 -0
- package/dist/cli/commands/init.d.ts +65 -0
- package/dist/cli/commands/init.d.ts.map +1 -0
- package/dist/cli/commands/init.js +122 -0
- package/dist/cli/commands/init.js.map +1 -0
- package/dist/cli/commands/inject.d.ts +41 -0
- package/dist/cli/commands/inject.d.ts.map +1 -0
- package/dist/cli/commands/inject.js +56 -0
- package/dist/cli/commands/inject.js.map +1 -0
- package/dist/cli/commands/install-global.d.ts +48 -0
- package/dist/cli/commands/install-global.d.ts.map +1 -0
- package/dist/cli/commands/install-global.js +104 -0
- package/dist/cli/commands/install-global.js.map +1 -0
- package/dist/cli/commands/intelligence.d.ts +21 -0
- package/dist/cli/commands/intelligence.d.ts.map +1 -0
- package/dist/cli/commands/intelligence.js +145 -0
- package/dist/cli/commands/intelligence.js.map +1 -0
- package/dist/cli/commands/issue.d.ts +23 -0
- package/dist/cli/commands/issue.d.ts.map +1 -0
- package/dist/cli/commands/issue.js +152 -0
- package/dist/cli/commands/issue.js.map +1 -0
- package/dist/cli/commands/labels.d.ts +21 -0
- package/dist/cli/commands/labels.d.ts.map +1 -0
- package/dist/cli/commands/labels.js +65 -0
- package/dist/cli/commands/labels.js.map +1 -0
- package/dist/cli/commands/lifecycle.d.ts +25 -0
- package/dist/cli/commands/lifecycle.d.ts.map +1 -0
- package/dist/cli/commands/lifecycle.js +221 -0
- package/dist/cli/commands/lifecycle.js.map +1 -0
- package/dist/cli/commands/list.d.ts +28 -0
- package/dist/cli/commands/list.d.ts.map +1 -0
- package/dist/cli/commands/list.js +81 -0
- package/dist/cli/commands/list.js.map +1 -0
- package/dist/cli/commands/log.d.ts +36 -0
- package/dist/cli/commands/log.d.ts.map +1 -0
- package/dist/cli/commands/log.js +50 -0
- package/dist/cli/commands/log.js.map +1 -0
- package/dist/cli/commands/manifest.d.ts +15 -0
- package/dist/cli/commands/manifest.d.ts.map +1 -0
- package/dist/cli/commands/manifest.js +334 -0
- package/dist/cli/commands/manifest.js.map +1 -0
- package/dist/cli/commands/map.d.ts +25 -0
- package/dist/cli/commands/map.d.ts.map +1 -0
- package/dist/cli/commands/map.js +37 -0
- package/dist/cli/commands/map.js.map +1 -0
- package/dist/cli/commands/memory.d.ts +48 -0
- package/dist/cli/commands/memory.d.ts.map +1 -0
- package/dist/cli/commands/memory.js +2439 -0
- package/dist/cli/commands/memory.js.map +1 -0
- package/dist/cli/commands/migrate-claude-mem.d.ts +23 -0
- package/dist/cli/commands/migrate-claude-mem.d.ts.map +1 -0
- package/dist/cli/commands/migrate-claude-mem.js +181 -0
- package/dist/cli/commands/migrate-claude-mem.js.map +1 -0
- package/dist/cli/commands/next.d.ts +27 -0
- package/dist/cli/commands/next.d.ts.map +1 -0
- package/dist/cli/commands/next.js +40 -0
- package/dist/cli/commands/next.js.map +1 -0
- package/dist/cli/commands/nexus.d.ts +15 -0
- package/dist/cli/commands/nexus.d.ts.map +1 -0
- package/dist/cli/commands/nexus.js +3377 -0
- package/dist/cli/commands/nexus.js.map +1 -0
- package/dist/cli/commands/ops.d.ts +23 -0
- package/dist/cli/commands/ops.d.ts.map +1 -0
- package/dist/cli/commands/ops.js +35 -0
- package/dist/cli/commands/ops.js.map +1 -0
- package/dist/cli/commands/orchestrate.d.ts +48 -0
- package/dist/cli/commands/orchestrate.d.ts.map +1 -0
- package/dist/cli/commands/orchestrate.js +774 -0
- package/dist/cli/commands/orchestrate.js.map +1 -0
- package/dist/cli/commands/otel.d.ts +30 -0
- package/dist/cli/commands/otel.d.ts.map +1 -0
- package/dist/cli/commands/otel.js +193 -0
- package/dist/cli/commands/otel.js.map +1 -0
- package/dist/cli/commands/phase.d.ts +29 -0
- package/dist/cli/commands/phase.d.ts.map +1 -0
- package/dist/cli/commands/phase.js +189 -0
- package/dist/cli/commands/phase.js.map +1 -0
- package/dist/cli/commands/pivot.d.ts +34 -0
- package/dist/cli/commands/pivot.d.ts.map +1 -0
- package/dist/cli/commands/pivot.js +50 -0
- package/dist/cli/commands/pivot.js.map +1 -0
- package/dist/cli/commands/plan.d.ts +17 -0
- package/dist/cli/commands/plan.d.ts.map +1 -0
- package/dist/cli/commands/plan.js +27 -0
- package/dist/cli/commands/plan.js.map +1 -0
- package/dist/cli/commands/playbook.d.ts +26 -0
- package/dist/cli/commands/playbook.d.ts.map +1 -0
- package/dist/cli/commands/playbook.js +220 -0
- package/dist/cli/commands/playbook.js.map +1 -0
- package/dist/cli/commands/promote.d.ts +19 -0
- package/dist/cli/commands/promote.d.ts.map +1 -0
- package/dist/cli/commands/promote.js +27 -0
- package/dist/cli/commands/promote.js.map +1 -0
- package/dist/cli/commands/provider.d.ts +23 -0
- package/dist/cli/commands/provider.d.ts.map +1 -0
- package/dist/cli/commands/provider.js +168 -0
- package/dist/cli/commands/provider.js.map +1 -0
- package/dist/cli/commands/reason.d.ts +18 -0
- package/dist/cli/commands/reason.d.ts.map +1 -0
- package/dist/cli/commands/reason.js +102 -0
- package/dist/cli/commands/reason.js.map +1 -0
- package/dist/cli/commands/reconcile.d.ts +35 -0
- package/dist/cli/commands/reconcile.d.ts.map +1 -0
- package/dist/cli/commands/reconcile.js +102 -0
- package/dist/cli/commands/reconcile.js.map +1 -0
- package/dist/cli/commands/refresh-memory.d.ts +16 -0
- package/dist/cli/commands/refresh-memory.d.ts.map +1 -0
- package/dist/cli/commands/refresh-memory.js +34 -0
- package/dist/cli/commands/refresh-memory.js.map +1 -0
- package/dist/cli/commands/relates.d.ts +19 -0
- package/dist/cli/commands/relates.d.ts.map +1 -0
- package/dist/cli/commands/relates.js +129 -0
- package/dist/cli/commands/relates.js.map +1 -0
- package/dist/cli/commands/release.d.ts +27 -0
- package/dist/cli/commands/release.d.ts.map +1 -0
- package/dist/cli/commands/release.js +300 -0
- package/dist/cli/commands/release.js.map +1 -0
- package/dist/cli/commands/remote.d.ts +49 -0
- package/dist/cli/commands/remote.d.ts.map +1 -0
- package/dist/cli/commands/remote.js +265 -0
- package/dist/cli/commands/remote.js.map +1 -0
- package/dist/cli/commands/reorder.d.ts +31 -0
- package/dist/cli/commands/reorder.d.ts.map +1 -0
- package/dist/cli/commands/reorder.js +57 -0
- package/dist/cli/commands/reorder.js.map +1 -0
- package/dist/cli/commands/reparent.d.ts +27 -0
- package/dist/cli/commands/reparent.d.ts.map +1 -0
- package/dist/cli/commands/reparent.js +36 -0
- package/dist/cli/commands/reparent.js.map +1 -0
- package/dist/cli/commands/req.d.ts +37 -0
- package/dist/cli/commands/req.d.ts.map +1 -0
- package/dist/cli/commands/req.js +121 -0
- package/dist/cli/commands/req.js.map +1 -0
- package/dist/cli/commands/research.d.ts +25 -0
- package/dist/cli/commands/research.d.ts.map +1 -0
- package/dist/cli/commands/research.js +327 -0
- package/dist/cli/commands/research.js.map +1 -0
- package/dist/cli/commands/restore.d.ts +64 -0
- package/dist/cli/commands/restore.d.ts.map +1 -0
- package/dist/cli/commands/restore.js +539 -0
- package/dist/cli/commands/restore.js.map +1 -0
- package/dist/cli/commands/revert.d.ts +79 -0
- package/dist/cli/commands/revert.d.ts.map +1 -0
- package/dist/cli/commands/revert.js +300 -0
- package/dist/cli/commands/revert.js.map +1 -0
- package/dist/cli/commands/roadmap.d.ts +29 -0
- package/dist/cli/commands/roadmap.d.ts.map +1 -0
- package/dist/cli/commands/roadmap.js +43 -0
- package/dist/cli/commands/roadmap.js.map +1 -0
- package/dist/cli/commands/safestop.d.ts +41 -0
- package/dist/cli/commands/safestop.d.ts.map +1 -0
- package/dist/cli/commands/safestop.js +62 -0
- package/dist/cli/commands/safestop.js.map +1 -0
- package/dist/cli/commands/schema.d.ts +44 -0
- package/dist/cli/commands/schema.d.ts.map +1 -0
- package/dist/cli/commands/schema.js +177 -0
- package/dist/cli/commands/schema.js.map +1 -0
- package/dist/cli/commands/self-update.d.ts +81 -0
- package/dist/cli/commands/self-update.d.ts.map +1 -0
- package/dist/cli/commands/self-update.js +483 -0
- package/dist/cli/commands/self-update.js.map +1 -0
- package/dist/cli/commands/sentient.d.ts +44 -0
- package/dist/cli/commands/sentient.d.ts.map +1 -0
- package/dist/cli/commands/sentient.js +687 -0
- package/dist/cli/commands/sentient.js.map +1 -0
- package/dist/cli/commands/sequence.d.ts +15 -0
- package/dist/cli/commands/sequence.d.ts.map +1 -0
- package/dist/cli/commands/sequence.js +68 -0
- package/dist/cli/commands/sequence.js.map +1 -0
- package/dist/cli/commands/session.d.ts +32 -0
- package/dist/cli/commands/session.d.ts.map +1 -0
- package/dist/cli/commands/session.js +583 -0
- package/dist/cli/commands/session.js.map +1 -0
- package/dist/cli/commands/show.d.ts +21 -0
- package/dist/cli/commands/show.d.ts.map +1 -0
- package/dist/cli/commands/show.js +37 -0
- package/dist/cli/commands/show.js.map +1 -0
- package/dist/cli/commands/skills.d.ts +31 -0
- package/dist/cli/commands/skills.d.ts.map +1 -0
- package/dist/cli/commands/skills.js +303 -0
- package/dist/cli/commands/skills.js.map +1 -0
- package/dist/cli/commands/snapshot.d.ts +17 -0
- package/dist/cli/commands/snapshot.d.ts.map +1 -0
- package/dist/cli/commands/snapshot.js +95 -0
- package/dist/cli/commands/snapshot.js.map +1 -0
- package/dist/cli/commands/start.d.ts +21 -0
- package/dist/cli/commands/start.d.ts.map +1 -0
- package/dist/cli/commands/start.js +32 -0
- package/dist/cli/commands/start.js.map +1 -0
- package/dist/cli/commands/stats.d.ts +30 -0
- package/dist/cli/commands/stats.d.ts.map +1 -0
- package/dist/cli/commands/stats.js +71 -0
- package/dist/cli/commands/stats.js.map +1 -0
- package/dist/cli/commands/sticky.d.ts +23 -0
- package/dist/cli/commands/sticky.d.ts.map +1 -0
- package/dist/cli/commands/sticky.js +315 -0
- package/dist/cli/commands/sticky.js.map +1 -0
- package/dist/cli/commands/stop.d.ts +15 -0
- package/dist/cli/commands/stop.d.ts.map +1 -0
- package/dist/cli/commands/stop.js +25 -0
- package/dist/cli/commands/stop.js.map +1 -0
- package/dist/cli/commands/sync.d.ts +25 -0
- package/dist/cli/commands/sync.d.ts.map +1 -0
- package/dist/cli/commands/sync.js +125 -0
- package/dist/cli/commands/sync.js.map +1 -0
- package/dist/cli/commands/testing.d.ts +22 -0
- package/dist/cli/commands/testing.d.ts.map +1 -0
- package/dist/cli/commands/testing.js +111 -0
- package/dist/cli/commands/testing.js.map +1 -0
- package/dist/cli/commands/token.d.ts +22 -0
- package/dist/cli/commands/token.d.ts.map +1 -0
- package/dist/cli/commands/token.js +197 -0
- package/dist/cli/commands/token.js.map +1 -0
- package/dist/cli/commands/transcript.d.ts +32 -0
- package/dist/cli/commands/transcript.d.ts.map +1 -0
- package/dist/cli/commands/transcript.js +526 -0
- package/dist/cli/commands/transcript.js.map +1 -0
- package/dist/cli/commands/update.d.ts +164 -0
- package/dist/cli/commands/update.d.ts.map +1 -0
- package/dist/cli/commands/update.js +234 -0
- package/dist/cli/commands/update.js.map +1 -0
- package/dist/cli/commands/upgrade.d.ts +76 -0
- package/dist/cli/commands/upgrade.d.ts.map +1 -0
- package/dist/cli/commands/upgrade.js +154 -0
- package/dist/cli/commands/upgrade.js.map +1 -0
- package/dist/cli/commands/verify.d.ts +83 -0
- package/dist/cli/commands/verify.d.ts.map +1 -0
- package/dist/cli/commands/verify.js +108 -0
- package/dist/cli/commands/verify.js.map +1 -0
- package/dist/cli/commands/web.d.ts +27 -0
- package/dist/cli/commands/web.d.ts.map +1 -0
- package/dist/cli/commands/web.js +414 -0
- package/dist/cli/commands/web.js.map +1 -0
- package/dist/cli/field-context.d.ts +32 -0
- package/dist/cli/field-context.d.ts.map +1 -0
- package/dist/cli/field-context.js +47 -0
- package/dist/cli/field-context.js.map +1 -0
- package/dist/cli/format-context.d.ts +32 -0
- package/dist/cli/format-context.d.ts.map +1 -0
- package/dist/cli/format-context.js +50 -0
- package/dist/cli/format-context.js.map +1 -0
- package/dist/cli/help-renderer.d.ts +40 -0
- package/dist/cli/help-renderer.d.ts.map +1 -0
- package/dist/cli/help-renderer.js +325 -0
- package/dist/cli/help-renderer.js.map +1 -0
- package/dist/cli/index.d.ts +14 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +1561 -9748
- package/dist/cli/index.js.map +4 -4
- package/dist/cli/infer-files-via-gitnexus.d.ts +12 -0
- package/dist/cli/infer-files-via-gitnexus.d.ts.map +1 -0
- package/dist/cli/infer-files-via-gitnexus.js +12 -0
- package/dist/cli/infer-files-via-gitnexus.js.map +1 -0
- package/dist/cli/lib/did-you-mean.d.ts +30 -0
- package/dist/cli/lib/did-you-mean.d.ts.map +1 -0
- package/dist/cli/lib/did-you-mean.js +63 -0
- package/dist/cli/lib/did-you-mean.js.map +1 -0
- package/dist/cli/lib/registry-args.d.ts +36 -0
- package/dist/cli/lib/registry-args.d.ts.map +1 -0
- package/dist/cli/lib/registry-args.js +37 -0
- package/dist/cli/lib/registry-args.js.map +1 -0
- package/dist/cli/lib/subcommand-guard.d.ts +45 -0
- package/dist/cli/lib/subcommand-guard.d.ts.map +1 -0
- package/dist/cli/lib/subcommand-guard.js +55 -0
- package/dist/cli/lib/subcommand-guard.js.map +1 -0
- package/dist/cli/logger-bootstrap.d.ts +6 -0
- package/dist/cli/logger-bootstrap.d.ts.map +1 -0
- package/dist/cli/logger-bootstrap.js +10 -0
- package/dist/cli/logger-bootstrap.js.map +1 -0
- package/dist/cli/middleware/output-format.d.ts +30 -0
- package/dist/cli/middleware/output-format.d.ts.map +1 -0
- package/dist/cli/middleware/output-format.js +35 -0
- package/dist/cli/middleware/output-format.js.map +1 -0
- package/dist/cli/paths.d.ts +85 -0
- package/dist/cli/paths.d.ts.map +1 -0
- package/dist/cli/paths.js +108 -0
- package/dist/cli/paths.js.map +1 -0
- package/dist/cli/progress.d.ts +89 -0
- package/dist/cli/progress.d.ts.map +1 -0
- package/dist/cli/progress.js +185 -0
- package/dist/cli/progress.js.map +1 -0
- package/dist/cli/renderers/colors.d.ts +32 -0
- package/dist/cli/renderers/colors.d.ts.map +1 -0
- package/dist/cli/renderers/colors.js +141 -0
- package/dist/cli/renderers/colors.js.map +1 -0
- package/dist/cli/renderers/error.d.ts +13 -0
- package/dist/cli/renderers/error.d.ts.map +1 -0
- package/dist/cli/renderers/error.js +42 -0
- package/dist/cli/renderers/error.js.map +1 -0
- package/dist/cli/renderers/index.d.ts +90 -0
- package/dist/cli/renderers/index.d.ts.map +1 -0
- package/dist/cli/renderers/index.js +268 -0
- package/dist/cli/renderers/index.js.map +1 -0
- package/dist/cli/renderers/lafs-validator.d.ts +91 -0
- package/dist/cli/renderers/lafs-validator.d.ts.map +1 -0
- package/dist/cli/renderers/lafs-validator.js +176 -0
- package/dist/cli/renderers/lafs-validator.js.map +1 -0
- package/dist/cli/renderers/normalizer.d.ts +21 -0
- package/dist/cli/renderers/normalizer.d.ts.map +1 -0
- package/dist/cli/renderers/normalizer.js +106 -0
- package/dist/cli/renderers/normalizer.js.map +1 -0
- package/dist/cli/renderers/system.d.ts +110 -0
- package/dist/cli/renderers/system.d.ts.map +1 -0
- package/dist/cli/renderers/system.js +662 -0
- package/dist/cli/renderers/system.js.map +1 -0
- package/dist/cli/renderers/tasks.d.ts +28 -0
- package/dist/cli/renderers/tasks.d.ts.map +1 -0
- package/dist/cli/renderers/tasks.js +306 -0
- package/dist/cli/renderers/tasks.js.map +1 -0
- package/dist/cli/tree-context.d.ts +53 -0
- package/dist/cli/tree-context.d.ts.map +1 -0
- package/dist/cli/tree-context.js +43 -0
- package/dist/cli/tree-context.js.map +1 -0
- package/dist/dispatch/adapters/cli.d.ts +67 -0
- package/dist/dispatch/adapters/cli.d.ts.map +1 -0
- package/dist/dispatch/adapters/cli.js +331 -0
- package/dist/dispatch/adapters/cli.js.map +1 -0
- package/dist/dispatch/adapters/typed.d.ts +362 -0
- package/dist/dispatch/adapters/typed.d.ts.map +1 -0
- package/dist/dispatch/adapters/typed.js +278 -0
- package/dist/dispatch/adapters/typed.js.map +1 -0
- package/dist/dispatch/context/session-context.d.ts +108 -0
- package/dist/dispatch/context/session-context.d.ts.map +1 -0
- package/dist/dispatch/context/session-context.js +111 -0
- package/dist/dispatch/context/session-context.js.map +1 -0
- package/dist/dispatch/dispatcher.d.ts +37 -0
- package/dist/dispatch/dispatcher.d.ts.map +1 -0
- package/dist/dispatch/dispatcher.js +172 -0
- package/dist/dispatch/dispatcher.js.map +1 -0
- package/dist/dispatch/domains/_base.d.ts +104 -0
- package/dist/dispatch/domains/_base.d.ts.map +1 -0
- package/dist/dispatch/domains/_base.js +147 -0
- package/dist/dispatch/domains/_base.js.map +1 -0
- package/dist/dispatch/domains/_meta.d.ts +23 -0
- package/dist/dispatch/domains/_meta.d.ts.map +1 -0
- package/dist/dispatch/domains/_meta.js +25 -0
- package/dist/dispatch/domains/_meta.js.map +1 -0
- package/dist/dispatch/domains/_routing.d.ts +8 -0
- package/dist/dispatch/domains/_routing.d.ts.map +1 -0
- package/dist/dispatch/domains/_routing.js +20 -0
- package/dist/dispatch/domains/_routing.js.map +1 -0
- package/dist/dispatch/domains/admin/smoke-provider.d.ts +54 -0
- package/dist/dispatch/domains/admin/smoke-provider.d.ts.map +1 -0
- package/dist/dispatch/domains/admin/smoke-provider.js +309 -0
- package/dist/dispatch/domains/admin/smoke-provider.js.map +1 -0
- package/dist/dispatch/domains/admin.d.ts +51 -0
- package/dist/dispatch/domains/admin.d.ts.map +1 -0
- package/dist/dispatch/domains/admin.js +1163 -0
- package/dist/dispatch/domains/admin.js.map +1 -0
- package/dist/dispatch/domains/check/canon.d.ts +65 -0
- package/dist/dispatch/domains/check/canon.d.ts.map +1 -0
- package/dist/dispatch/domains/check/canon.js +193 -0
- package/dist/dispatch/domains/check/canon.js.map +1 -0
- package/dist/dispatch/domains/check.d.ts +37 -0
- package/dist/dispatch/domains/check.d.ts.map +1 -0
- package/dist/dispatch/domains/check.js +562 -0
- package/dist/dispatch/domains/check.js.map +1 -0
- package/dist/dispatch/domains/conduit.d.ts +61 -0
- package/dist/dispatch/domains/conduit.d.ts.map +1 -0
- package/dist/dispatch/domains/conduit.js +609 -0
- package/dist/dispatch/domains/conduit.js.map +1 -0
- package/dist/dispatch/domains/diagnostics.d.ts +25 -0
- package/dist/dispatch/domains/diagnostics.d.ts.map +1 -0
- package/dist/dispatch/domains/diagnostics.js +82 -0
- package/dist/dispatch/domains/diagnostics.js.map +1 -0
- package/dist/dispatch/domains/docs.d.ts +63 -0
- package/dist/dispatch/domains/docs.d.ts.map +1 -0
- package/dist/dispatch/domains/docs.js +539 -0
- package/dist/dispatch/domains/docs.js.map +1 -0
- package/dist/dispatch/domains/index.d.ts +33 -0
- package/dist/dispatch/domains/index.d.ts.map +1 -0
- package/dist/dispatch/domains/index.js +58 -0
- package/dist/dispatch/domains/index.js.map +1 -0
- package/dist/dispatch/domains/intelligence.d.ts +26 -0
- package/dist/dispatch/domains/intelligence.d.ts.map +1 -0
- package/dist/dispatch/domains/intelligence.js +154 -0
- package/dist/dispatch/domains/intelligence.js.map +1 -0
- package/dist/dispatch/domains/ivtr.d.ts +182 -0
- package/dist/dispatch/domains/ivtr.d.ts.map +1 -0
- package/dist/dispatch/domains/ivtr.js +430 -0
- package/dist/dispatch/domains/ivtr.js.map +1 -0
- package/dist/dispatch/domains/memory.d.ts +22 -0
- package/dist/dispatch/domains/memory.d.ts.map +1 -0
- package/dist/dispatch/domains/memory.js +1281 -0
- package/dist/dispatch/domains/memory.js.map +1 -0
- package/dist/dispatch/domains/nexus.d.ts +78 -0
- package/dist/dispatch/domains/nexus.d.ts.map +1 -0
- package/dist/dispatch/domains/nexus.js +938 -0
- package/dist/dispatch/domains/nexus.js.map +1 -0
- package/dist/dispatch/domains/orchestrate.d.ts +307 -0
- package/dist/dispatch/domains/orchestrate.d.ts.map +1 -0
- package/dist/dispatch/domains/orchestrate.js +986 -0
- package/dist/dispatch/domains/orchestrate.js.map +1 -0
- package/dist/dispatch/domains/pipeline.d.ts +276 -0
- package/dist/dispatch/domains/pipeline.d.ts.map +1 -0
- package/dist/dispatch/domains/pipeline.js +689 -0
- package/dist/dispatch/domains/pipeline.js.map +1 -0
- package/dist/dispatch/domains/playbook.d.ts +131 -0
- package/dist/dispatch/domains/playbook.d.ts.map +1 -0
- package/dist/dispatch/domains/playbook.js +633 -0
- package/dist/dispatch/domains/playbook.js.map +1 -0
- package/dist/dispatch/domains/release.d.ts +97 -0
- package/dist/dispatch/domains/release.d.ts.map +1 -0
- package/dist/dispatch/domains/release.js +177 -0
- package/dist/dispatch/domains/release.js.map +1 -0
- package/dist/dispatch/domains/sentient.d.ts +60 -0
- package/dist/dispatch/domains/sentient.d.ts.map +1 -0
- package/dist/dispatch/domains/sentient.js +270 -0
- package/dist/dispatch/domains/sentient.js.map +1 -0
- package/dist/dispatch/domains/session.d.ts +49 -0
- package/dist/dispatch/domains/session.d.ts.map +1 -0
- package/dist/dispatch/domains/session.js +459 -0
- package/dist/dispatch/domains/session.js.map +1 -0
- package/dist/dispatch/domains/sticky.d.ts +82 -0
- package/dist/dispatch/domains/sticky.d.ts.map +1 -0
- package/dist/dispatch/domains/sticky.js +287 -0
- package/dist/dispatch/domains/sticky.js.map +1 -0
- package/dist/dispatch/domains/tasks.d.ts +58 -0
- package/dist/dispatch/domains/tasks.d.ts.map +1 -0
- package/dist/dispatch/domains/tasks.js +497 -0
- package/dist/dispatch/domains/tasks.js.map +1 -0
- package/dist/dispatch/domains/tools.d.ts +37 -0
- package/dist/dispatch/domains/tools.d.ts.map +1 -0
- package/dist/dispatch/domains/tools.js +481 -0
- package/dist/dispatch/domains/tools.js.map +1 -0
- package/dist/dispatch/engines/_error.d.ts +114 -0
- package/dist/dispatch/engines/_error.d.ts.map +1 -0
- package/dist/dispatch/engines/_error.js +290 -0
- package/dist/dispatch/engines/_error.js.map +1 -0
- package/dist/dispatch/engines/admin-engine.d.ts +386 -0
- package/dist/dispatch/engines/admin-engine.d.ts.map +1 -0
- package/dist/dispatch/engines/admin-engine.js +270 -0
- package/dist/dispatch/engines/admin-engine.js.map +1 -0
- package/dist/dispatch/engines/code-engine.d.ts +14 -0
- package/dist/dispatch/engines/code-engine.d.ts.map +1 -0
- package/dist/dispatch/engines/code-engine.js +14 -0
- package/dist/dispatch/engines/code-engine.js.map +1 -0
- package/dist/dispatch/engines/codebase-map-engine.d.ts +31 -0
- package/dist/dispatch/engines/codebase-map-engine.d.ts.map +1 -0
- package/dist/dispatch/engines/codebase-map-engine.js +43 -0
- package/dist/dispatch/engines/codebase-map-engine.js.map +1 -0
- package/dist/dispatch/engines/config-engine.d.ts +14 -0
- package/dist/dispatch/engines/config-engine.d.ts.map +1 -0
- package/dist/dispatch/engines/config-engine.js +14 -0
- package/dist/dispatch/engines/config-engine.js.map +1 -0
- package/dist/dispatch/engines/diagnostics-engine.d.ts +13 -0
- package/dist/dispatch/engines/diagnostics-engine.d.ts.map +1 -0
- package/dist/dispatch/engines/diagnostics-engine.js +12 -0
- package/dist/dispatch/engines/diagnostics-engine.js.map +1 -0
- package/dist/dispatch/engines/hooks-engine.d.ts +13 -0
- package/dist/dispatch/engines/hooks-engine.d.ts.map +1 -0
- package/dist/dispatch/engines/hooks-engine.js +12 -0
- package/dist/dispatch/engines/hooks-engine.js.map +1 -0
- package/dist/dispatch/engines/init-engine.d.ts +14 -0
- package/dist/dispatch/engines/init-engine.d.ts.map +1 -0
- package/dist/dispatch/engines/init-engine.js +14 -0
- package/dist/dispatch/engines/init-engine.js.map +1 -0
- package/dist/dispatch/engines/lifecycle-engine.d.ts +13 -0
- package/dist/dispatch/engines/lifecycle-engine.d.ts.map +1 -0
- package/dist/dispatch/engines/lifecycle-engine.js +12 -0
- package/dist/dispatch/engines/lifecycle-engine.js.map +1 -0
- package/dist/dispatch/engines/memory-engine.d.ts +10 -0
- package/dist/dispatch/engines/memory-engine.d.ts.map +1 -0
- package/dist/dispatch/engines/memory-engine.js +10 -0
- package/dist/dispatch/engines/memory-engine.js.map +1 -0
- package/dist/dispatch/engines/nexus-engine.d.ts +603 -0
- package/dist/dispatch/engines/nexus-engine.d.ts.map +1 -0
- package/dist/dispatch/engines/nexus-engine.js +1438 -0
- package/dist/dispatch/engines/nexus-engine.js.map +1 -0
- package/dist/dispatch/engines/orchestrate-engine.d.ts +252 -0
- package/dist/dispatch/engines/orchestrate-engine.d.ts.map +1 -0
- package/dist/dispatch/engines/orchestrate-engine.js +1526 -0
- package/dist/dispatch/engines/orchestrate-engine.js.map +1 -0
- package/dist/dispatch/engines/pipeline-engine.d.ts +13 -0
- package/dist/dispatch/engines/pipeline-engine.d.ts.map +1 -0
- package/dist/dispatch/engines/pipeline-engine.js +12 -0
- package/dist/dispatch/engines/pipeline-engine.js.map +1 -0
- package/dist/dispatch/engines/release-engine.d.ts +13 -0
- package/dist/dispatch/engines/release-engine.d.ts.map +1 -0
- package/dist/dispatch/engines/release-engine.js +13 -0
- package/dist/dispatch/engines/release-engine.js.map +1 -0
- package/dist/dispatch/engines/session-engine.d.ts +15 -0
- package/dist/dispatch/engines/session-engine.d.ts.map +1 -0
- package/dist/dispatch/engines/session-engine.js +12 -0
- package/dist/dispatch/engines/session-engine.js.map +1 -0
- package/dist/dispatch/engines/sticky-engine.d.ts +13 -0
- package/dist/dispatch/engines/sticky-engine.d.ts.map +1 -0
- package/dist/dispatch/engines/sticky-engine.js +12 -0
- package/dist/dispatch/engines/sticky-engine.js.map +1 -0
- package/dist/dispatch/engines/system-engine.d.ts +543 -0
- package/dist/dispatch/engines/system-engine.d.ts.map +1 -0
- package/dist/dispatch/engines/system-engine.js +1278 -0
- package/dist/dispatch/engines/system-engine.js.map +1 -0
- package/dist/dispatch/engines/task-engine.d.ts +1161 -0
- package/dist/dispatch/engines/task-engine.d.ts.map +1 -0
- package/dist/dispatch/engines/task-engine.js +1599 -0
- package/dist/dispatch/engines/task-engine.js.map +1 -0
- package/dist/dispatch/engines/template-parser.d.ts +85 -0
- package/dist/dispatch/engines/template-parser.d.ts.map +1 -0
- package/dist/dispatch/engines/template-parser.js +114 -0
- package/dist/dispatch/engines/template-parser.js.map +1 -0
- package/dist/dispatch/engines/tools-engine.d.ts +13 -0
- package/dist/dispatch/engines/tools-engine.d.ts.map +1 -0
- package/dist/dispatch/engines/tools-engine.js +12 -0
- package/dist/dispatch/engines/tools-engine.js.map +1 -0
- package/dist/dispatch/engines/validate-engine.d.ts +13 -0
- package/dist/dispatch/engines/validate-engine.d.ts.map +1 -0
- package/dist/dispatch/engines/validate-engine.js +13 -0
- package/dist/dispatch/engines/validate-engine.js.map +1 -0
- package/dist/dispatch/index.d.ts +20 -0
- package/dist/dispatch/index.d.ts.map +1 -0
- package/dist/dispatch/index.js +19 -0
- package/dist/dispatch/index.js.map +1 -0
- package/dist/dispatch/lib/background-jobs.d.ts +162 -0
- package/dist/dispatch/lib/background-jobs.d.ts.map +1 -0
- package/dist/dispatch/lib/background-jobs.js +360 -0
- package/dist/dispatch/lib/background-jobs.js.map +1 -0
- package/dist/dispatch/lib/budget.d.ts +36 -0
- package/dist/dispatch/lib/budget.d.ts.map +1 -0
- package/dist/dispatch/lib/budget.js +109 -0
- package/dist/dispatch/lib/budget.js.map +1 -0
- package/dist/dispatch/lib/capability-matrix.d.ts +11 -0
- package/dist/dispatch/lib/capability-matrix.d.ts.map +1 -0
- package/dist/dispatch/lib/capability-matrix.js +10 -0
- package/dist/dispatch/lib/capability-matrix.js.map +1 -0
- package/dist/dispatch/lib/config-loader.d.ts +42 -0
- package/dist/dispatch/lib/config-loader.d.ts.map +1 -0
- package/dist/dispatch/lib/config-loader.js +218 -0
- package/dist/dispatch/lib/config-loader.js.map +1 -0
- package/dist/dispatch/lib/config.d.ts +11 -0
- package/dist/dispatch/lib/config.d.ts.map +1 -0
- package/dist/dispatch/lib/config.js +10 -0
- package/dist/dispatch/lib/config.js.map +1 -0
- package/dist/dispatch/lib/defaults.d.ts +115 -0
- package/dist/dispatch/lib/defaults.d.ts.map +1 -0
- package/dist/dispatch/lib/defaults.js +61 -0
- package/dist/dispatch/lib/defaults.js.map +1 -0
- package/dist/dispatch/lib/engine.d.ts +17 -0
- package/dist/dispatch/lib/engine.d.ts.map +1 -0
- package/dist/dispatch/lib/engine.js +36 -0
- package/dist/dispatch/lib/engine.js.map +1 -0
- package/dist/dispatch/lib/exit-codes.d.ts +35 -0
- package/dist/dispatch/lib/exit-codes.d.ts.map +1 -0
- package/dist/dispatch/lib/exit-codes.js +60 -0
- package/dist/dispatch/lib/exit-codes.js.map +1 -0
- package/dist/dispatch/lib/gateway-meta.d.ts +37 -0
- package/dist/dispatch/lib/gateway-meta.d.ts.map +1 -0
- package/dist/dispatch/lib/gateway-meta.js +50 -0
- package/dist/dispatch/lib/gateway-meta.js.map +1 -0
- package/dist/dispatch/lib/job-manager-accessor.d.ts +9 -0
- package/dist/dispatch/lib/job-manager-accessor.d.ts.map +1 -0
- package/dist/dispatch/lib/job-manager-accessor.js +13 -0
- package/dist/dispatch/lib/job-manager-accessor.js.map +1 -0
- package/dist/dispatch/lib/meta.d.ts +26 -0
- package/dist/dispatch/lib/meta.d.ts.map +1 -0
- package/dist/dispatch/lib/meta.js +37 -0
- package/dist/dispatch/lib/meta.js.map +1 -0
- package/dist/dispatch/lib/param-utils.d.ts +11 -0
- package/dist/dispatch/lib/param-utils.d.ts.map +1 -0
- package/dist/dispatch/lib/param-utils.js +10 -0
- package/dist/dispatch/lib/param-utils.js.map +1 -0
- package/dist/dispatch/lib/projections.d.ts +56 -0
- package/dist/dispatch/lib/projections.d.ts.map +1 -0
- package/dist/dispatch/lib/projections.js +65 -0
- package/dist/dispatch/lib/projections.js.map +1 -0
- package/dist/dispatch/lib/proto-envelope.d.ts +56 -0
- package/dist/dispatch/lib/proto-envelope.d.ts.map +1 -0
- package/dist/dispatch/lib/proto-envelope.js +17 -0
- package/dist/dispatch/lib/proto-envelope.js.map +1 -0
- package/dist/dispatch/lib/schema-utils.d.ts +39 -0
- package/dist/dispatch/lib/schema-utils.d.ts.map +1 -0
- package/dist/dispatch/lib/schema-utils.js +88 -0
- package/dist/dispatch/lib/schema-utils.js.map +1 -0
- package/dist/dispatch/lib/security.d.ts +11 -0
- package/dist/dispatch/lib/security.d.ts.map +1 -0
- package/dist/dispatch/lib/security.js +10 -0
- package/dist/dispatch/lib/security.js.map +1 -0
- package/dist/dispatch/middleware/audit.d.ts +23 -0
- package/dist/dispatch/middleware/audit.d.ts.map +1 -0
- package/dist/dispatch/middleware/audit.js +169 -0
- package/dist/dispatch/middleware/audit.js.map +1 -0
- package/dist/dispatch/middleware/field-filter.d.ts +25 -0
- package/dist/dispatch/middleware/field-filter.d.ts.map +1 -0
- package/dist/dispatch/middleware/field-filter.js +70 -0
- package/dist/dispatch/middleware/field-filter.js.map +1 -0
- package/dist/dispatch/middleware/pipeline.d.ts +33 -0
- package/dist/dispatch/middleware/pipeline.d.ts.map +1 -0
- package/dist/dispatch/middleware/pipeline.js +60 -0
- package/dist/dispatch/middleware/pipeline.js.map +1 -0
- package/dist/dispatch/middleware/projection.d.ts +35 -0
- package/dist/dispatch/middleware/projection.d.ts.map +1 -0
- package/dist/dispatch/middleware/projection.js +146 -0
- package/dist/dispatch/middleware/projection.js.map +1 -0
- package/dist/dispatch/middleware/protocol-enforcement.d.ts +30 -0
- package/dist/dispatch/middleware/protocol-enforcement.d.ts.map +1 -0
- package/dist/dispatch/middleware/protocol-enforcement.js +56 -0
- package/dist/dispatch/middleware/protocol-enforcement.js.map +1 -0
- package/dist/dispatch/middleware/rate-limiter.d.ts +72 -0
- package/dist/dispatch/middleware/rate-limiter.d.ts.map +1 -0
- package/dist/dispatch/middleware/rate-limiter.js +127 -0
- package/dist/dispatch/middleware/rate-limiter.js.map +1 -0
- package/dist/dispatch/middleware/sanitizer.d.ts +24 -0
- package/dist/dispatch/middleware/sanitizer.d.ts.map +1 -0
- package/dist/dispatch/middleware/sanitizer.js +56 -0
- package/dist/dispatch/middleware/sanitizer.js.map +1 -0
- package/dist/dispatch/middleware/session-resolver.d.ts +26 -0
- package/dist/dispatch/middleware/session-resolver.d.ts.map +1 -0
- package/dist/dispatch/middleware/session-resolver.js +65 -0
- package/dist/dispatch/middleware/session-resolver.js.map +1 -0
- package/dist/dispatch/middleware/telemetry.d.ts +21 -0
- package/dist/dispatch/middleware/telemetry.d.ts.map +1 -0
- package/dist/dispatch/middleware/telemetry.js +50 -0
- package/dist/dispatch/middleware/telemetry.js.map +1 -0
- package/dist/dispatch/middleware/verification-gates.d.ts +22 -0
- package/dist/dispatch/middleware/verification-gates.d.ts.map +1 -0
- package/dist/dispatch/middleware/verification-gates.js +59 -0
- package/dist/dispatch/middleware/verification-gates.js.map +1 -0
- package/dist/dispatch/registry.d.ts +91 -0
- package/dist/dispatch/registry.d.ts.map +1 -0
- package/dist/dispatch/registry.js +6430 -0
- package/dist/dispatch/registry.js.map +1 -0
- package/dist/dispatch/types.d.ts +150 -0
- package/dist/dispatch/types.d.ts.map +1 -0
- package/dist/dispatch/types.js +38 -0
- package/dist/dispatch/types.js.map +1 -0
- package/dist/migrations/2026-04-25-t991-parent-link-repair.d.ts +88 -0
- package/dist/migrations/2026-04-25-t991-parent-link-repair.d.ts.map +1 -0
- package/dist/migrations/2026-04-25-t991-parent-link-repair.js +76 -0
- package/dist/migrations/2026-04-25-t991-parent-link-repair.js.map +1 -0
- package/package.json +9 -9
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reorder.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/reorder.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH;;;;;GAKG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;EA+CzB,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI command for changing task position within a sibling group.
|
|
3
|
+
*
|
|
4
|
+
* @task T4454
|
|
5
|
+
*/
|
|
6
|
+
import { defineCommand } from 'citty';
|
|
7
|
+
import { dispatchFromCli } from '../../dispatch/adapters/cli.js';
|
|
8
|
+
/** Sentinel value for --bottom: moves task to end of sibling list. */
|
|
9
|
+
const BOTTOM_POSITION = 999999;
|
|
10
|
+
/**
|
|
11
|
+
* cleo reorder — change task position within sibling group.
|
|
12
|
+
*
|
|
13
|
+
* Supports `--top` (position 0), `--bottom` (position 999999), or
|
|
14
|
+
* explicit `--position <n>` for precise placement.
|
|
15
|
+
*/
|
|
16
|
+
export const reorderCommand = defineCommand({
|
|
17
|
+
meta: { name: 'reorder', description: 'Change task position within sibling group' },
|
|
18
|
+
args: {
|
|
19
|
+
'task-id': {
|
|
20
|
+
type: 'positional',
|
|
21
|
+
description: 'Task ID to reorder',
|
|
22
|
+
required: true,
|
|
23
|
+
},
|
|
24
|
+
position: {
|
|
25
|
+
type: 'string',
|
|
26
|
+
description: 'Move to specific zero-based position among siblings',
|
|
27
|
+
},
|
|
28
|
+
top: {
|
|
29
|
+
type: 'boolean',
|
|
30
|
+
description: 'Move to the top (position 0)',
|
|
31
|
+
},
|
|
32
|
+
bottom: {
|
|
33
|
+
type: 'boolean',
|
|
34
|
+
description: 'Move to the bottom',
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
async run({ args }) {
|
|
38
|
+
const taskId = args['task-id'];
|
|
39
|
+
let position;
|
|
40
|
+
if (args.top) {
|
|
41
|
+
position = 0;
|
|
42
|
+
}
|
|
43
|
+
else if (args.bottom) {
|
|
44
|
+
position = BOTTOM_POSITION;
|
|
45
|
+
}
|
|
46
|
+
else if (args.position !== undefined) {
|
|
47
|
+
position = Number.parseInt(args.position, 10);
|
|
48
|
+
}
|
|
49
|
+
if (position === undefined) {
|
|
50
|
+
console.error('Error: Must specify --position <n>, --top, or --bottom.');
|
|
51
|
+
process.exitCode = 2;
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
await dispatchFromCli('mutate', 'tasks', 'reorder', { taskId, position }, { command: 'reorder' });
|
|
55
|
+
},
|
|
56
|
+
});
|
|
57
|
+
//# sourceMappingURL=reorder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reorder.js","sourceRoot":"","sources":["../../../src/cli/commands/reorder.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEjE,sEAAsE;AACtE,MAAM,eAAe,GAAG,MAAM,CAAC;AAE/B;;;;;GAKG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAC;IAC1C,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,2CAA2C,EAAE;IACnF,IAAI,EAAE;QACJ,SAAS,EAAE;YACT,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,oBAAoB;YACjC,QAAQ,EAAE,IAAI;SACf;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,qDAAqD;SACnE;QACD,GAAG,EAAE;YACH,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,8BAA8B;SAC5C;QACD,MAAM,EAAE;YACN,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,oBAAoB;SAClC;KACF;IACD,KAAK,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE;QAChB,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC;QAC/B,IAAI,QAA4B,CAAC;QAEjC,IAAI,IAAI,CAAC,GAAG,EAAE,CAAC;YACb,QAAQ,GAAG,CAAC,CAAC;QACf,CAAC;aAAM,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YACvB,QAAQ,GAAG,eAAe,CAAC;QAC7B,CAAC;aAAM,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,EAAE,CAAC;YACvC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;QAChD,CAAC;QAED,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC3B,OAAO,CAAC,KAAK,CAAC,yDAAyD,CAAC,CAAC;YACzE,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;YACrB,OAAO;QACT,CAAC;QAED,MAAM,eAAe,CACnB,QAAQ,EACR,OAAO,EACP,SAAS,EACT,EAAE,MAAM,EAAE,QAAQ,EAAE,EACpB,EAAE,OAAO,EAAE,SAAS,EAAE,CACvB,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI reparent command - move a task to a different parent.
|
|
3
|
+
* Delegates to src/core/tasks/reparent.ts (canonical implementation).
|
|
4
|
+
*
|
|
5
|
+
* @task T4807
|
|
6
|
+
* @epic T4454
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Native citty command for `cleo reparent` — moves a task to a different parent
|
|
10
|
+
* in the task hierarchy, or makes it root-level when `--to ""` is passed.
|
|
11
|
+
*
|
|
12
|
+
* @task T4807
|
|
13
|
+
* @epic T487
|
|
14
|
+
*/
|
|
15
|
+
export declare const reparentCommand: import("citty").CommandDef<{
|
|
16
|
+
readonly taskId: {
|
|
17
|
+
readonly type: "positional";
|
|
18
|
+
readonly description: "ID of the task to reparent";
|
|
19
|
+
readonly required: true;
|
|
20
|
+
};
|
|
21
|
+
readonly to: {
|
|
22
|
+
readonly type: "string";
|
|
23
|
+
readonly description: "Target parent task ID (or \"\" to make root)";
|
|
24
|
+
readonly required: true;
|
|
25
|
+
};
|
|
26
|
+
}>;
|
|
27
|
+
//# sourceMappingURL=reparent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reparent.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/reparent.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH;;;;;;GAMG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;EAwB1B,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI reparent command - move a task to a different parent.
|
|
3
|
+
* Delegates to src/core/tasks/reparent.ts (canonical implementation).
|
|
4
|
+
*
|
|
5
|
+
* @task T4807
|
|
6
|
+
* @epic T4454
|
|
7
|
+
*/
|
|
8
|
+
import { defineCommand } from 'citty';
|
|
9
|
+
import { dispatchFromCli } from '../../dispatch/adapters/cli.js';
|
|
10
|
+
/**
|
|
11
|
+
* Native citty command for `cleo reparent` — moves a task to a different parent
|
|
12
|
+
* in the task hierarchy, or makes it root-level when `--to ""` is passed.
|
|
13
|
+
*
|
|
14
|
+
* @task T4807
|
|
15
|
+
* @epic T487
|
|
16
|
+
*/
|
|
17
|
+
export const reparentCommand = defineCommand({
|
|
18
|
+
meta: { name: 'reparent', description: 'Move task to a different parent in hierarchy' },
|
|
19
|
+
args: {
|
|
20
|
+
taskId: {
|
|
21
|
+
type: 'positional',
|
|
22
|
+
description: 'ID of the task to reparent',
|
|
23
|
+
required: true,
|
|
24
|
+
},
|
|
25
|
+
to: {
|
|
26
|
+
type: 'string',
|
|
27
|
+
description: 'Target parent task ID (or "" to make root)',
|
|
28
|
+
required: true,
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
async run({ args }) {
|
|
32
|
+
const newParentId = args.to || null;
|
|
33
|
+
await dispatchFromCli('mutate', 'tasks', 'reparent', { taskId: args.taskId, newParentId }, { command: 'reparent' });
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
//# sourceMappingURL=reparent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reparent.js","sourceRoot":"","sources":["../../../src/cli/commands/reparent.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEjE;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC;IAC3C,IAAI,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,8CAA8C,EAAE;IACvF,IAAI,EAAE;QACJ,MAAM,EAAE;YACN,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,4BAA4B;YACzC,QAAQ,EAAE,IAAI;SACf;QACD,EAAE,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,4CAA4C;YACzD,QAAQ,EAAE,IAAI;SACf;KACF;IACD,KAAK,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE;QAChB,MAAM,WAAW,GAAG,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC;QACpC,MAAM,eAAe,CACnB,QAAQ,EACR,OAAO,EACP,UAAU,EACV,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,WAAW,EAAE,EACpC,EAAE,OAAO,EAAE,UAAU,EAAE,CACxB,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI command group for REQ-ID-addressable acceptance gate management.
|
|
3
|
+
*
|
|
4
|
+
* Subcommands:
|
|
5
|
+
* cleo req add <taskId> --gate '<json>' — add a typed AcceptanceGate with a REQ-ID
|
|
6
|
+
* cleo req list <taskId> — list all REQ-ID gates on a task
|
|
7
|
+
* cleo req migrate <taskId> [--apply] — heuristic migrator for free-text criteria
|
|
8
|
+
*
|
|
9
|
+
* All output is JSON-envelope compliant (success + data).
|
|
10
|
+
* Validation against the AcceptanceGate Zod schema happens server-side
|
|
11
|
+
* (in the dispatch layer) before any write is performed.
|
|
12
|
+
*
|
|
13
|
+
* @epic T760
|
|
14
|
+
* @task T782
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* Root req command group — manages REQ-ID-addressable acceptance gates.
|
|
18
|
+
*
|
|
19
|
+
* Dispatches to `tasks.req.*` registry operations.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```bash
|
|
23
|
+
* # Add a test gate with REQ-ID TIMER-01
|
|
24
|
+
* cleo req add T42 --gate '{"kind":"test","command":"pnpm test","expect":"pass","description":"Tests pass","req":"TIMER-01"}'
|
|
25
|
+
*
|
|
26
|
+
* # List all REQ-ID gates on T42
|
|
27
|
+
* cleo req list T42
|
|
28
|
+
*
|
|
29
|
+
* # Preview migration proposals for T42 (dry-run)
|
|
30
|
+
* cleo req migrate T42
|
|
31
|
+
*
|
|
32
|
+
* # Apply migration (write typed gates back to the task)
|
|
33
|
+
* cleo req migrate T42 --apply
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
export declare const reqCommand: import("citty").CommandDef<import("citty").ArgsDef>;
|
|
37
|
+
//# sourceMappingURL=req.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"req.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/req.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA0FH;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,UAAU,qDAYrB,CAAC"}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI command group for REQ-ID-addressable acceptance gate management.
|
|
3
|
+
*
|
|
4
|
+
* Subcommands:
|
|
5
|
+
* cleo req add <taskId> --gate '<json>' — add a typed AcceptanceGate with a REQ-ID
|
|
6
|
+
* cleo req list <taskId> — list all REQ-ID gates on a task
|
|
7
|
+
* cleo req migrate <taskId> [--apply] — heuristic migrator for free-text criteria
|
|
8
|
+
*
|
|
9
|
+
* All output is JSON-envelope compliant (success + data).
|
|
10
|
+
* Validation against the AcceptanceGate Zod schema happens server-side
|
|
11
|
+
* (in the dispatch layer) before any write is performed.
|
|
12
|
+
*
|
|
13
|
+
* @epic T760
|
|
14
|
+
* @task T782
|
|
15
|
+
*/
|
|
16
|
+
import { defineCommand, showUsage } from 'citty';
|
|
17
|
+
import { dispatchFromCli } from '../../dispatch/adapters/cli.js';
|
|
18
|
+
/** cleo req add <task-id> — add a typed AcceptanceGate (with REQ-ID) to a task */
|
|
19
|
+
const addCommand = defineCommand({
|
|
20
|
+
meta: {
|
|
21
|
+
name: 'add',
|
|
22
|
+
description: "Add a typed AcceptanceGate (with REQ-ID) to a task's acceptance array",
|
|
23
|
+
},
|
|
24
|
+
args: {
|
|
25
|
+
'task-id': {
|
|
26
|
+
type: 'positional',
|
|
27
|
+
description: 'Task ID to add the gate to',
|
|
28
|
+
required: true,
|
|
29
|
+
},
|
|
30
|
+
gate: {
|
|
31
|
+
type: 'string',
|
|
32
|
+
description: 'AcceptanceGate JSON string (must match the AcceptanceGate schema; include "req" for a REQ-ID)',
|
|
33
|
+
required: true,
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
async run({ args }) {
|
|
37
|
+
const taskId = args['task-id'];
|
|
38
|
+
const gate = args.gate;
|
|
39
|
+
if (!gate) {
|
|
40
|
+
process.stderr.write('Error: --gate <json> is required.\n' +
|
|
41
|
+
'Example: cleo req add T42 --gate \'{"kind":"test","command":"pnpm test","expect":"pass","description":"Tests pass","req":"TIMER-01"}\'\n');
|
|
42
|
+
process.exit(6);
|
|
43
|
+
}
|
|
44
|
+
await dispatchFromCli('mutate', 'tasks', 'req.add', { taskId, gate }, { command: 'req add' });
|
|
45
|
+
},
|
|
46
|
+
});
|
|
47
|
+
/** cleo req list <task-id> — list all REQ-ID-addressed acceptance gates on a task */
|
|
48
|
+
const listCommand = defineCommand({
|
|
49
|
+
meta: { name: 'list', description: 'List all REQ-ID-addressed acceptance gates on a task' },
|
|
50
|
+
args: {
|
|
51
|
+
'task-id': {
|
|
52
|
+
type: 'positional',
|
|
53
|
+
description: 'Task ID to list gates for',
|
|
54
|
+
required: true,
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
async run({ args }) {
|
|
58
|
+
const taskId = args['task-id'];
|
|
59
|
+
await dispatchFromCli('query', 'tasks', 'req.list', { taskId }, { command: 'req list' });
|
|
60
|
+
},
|
|
61
|
+
});
|
|
62
|
+
/** cleo req migrate <task-id> — heuristic migrator for free-text acceptance criteria */
|
|
63
|
+
const migrateCommand = defineCommand({
|
|
64
|
+
meta: {
|
|
65
|
+
name: 'migrate',
|
|
66
|
+
description: 'Heuristic migrator: propose (or apply) typed gate replacements for free-text acceptance strings. ' +
|
|
67
|
+
'Heuristics: "tests pass" → test gate, "<file> exists" → file gate, ' +
|
|
68
|
+
'"lint clean" → lint gate, "<cmd> returns 0" → command gate, otherwise → manual gate.',
|
|
69
|
+
},
|
|
70
|
+
args: {
|
|
71
|
+
'task-id': {
|
|
72
|
+
type: 'positional',
|
|
73
|
+
description: 'Task ID to migrate gates for',
|
|
74
|
+
required: true,
|
|
75
|
+
},
|
|
76
|
+
apply: {
|
|
77
|
+
type: 'boolean',
|
|
78
|
+
description: 'Write the proposed typed gates back to the task (default: dry-run, print proposals only)',
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
async run({ args }) {
|
|
82
|
+
const taskId = args['task-id'];
|
|
83
|
+
const apply = Boolean(args.apply);
|
|
84
|
+
await dispatchFromCli(apply ? 'mutate' : 'query', 'tasks', 'req.migrate', { taskId, apply }, { command: 'req migrate' });
|
|
85
|
+
},
|
|
86
|
+
});
|
|
87
|
+
/**
|
|
88
|
+
* Root req command group — manages REQ-ID-addressable acceptance gates.
|
|
89
|
+
*
|
|
90
|
+
* Dispatches to `tasks.req.*` registry operations.
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* ```bash
|
|
94
|
+
* # Add a test gate with REQ-ID TIMER-01
|
|
95
|
+
* cleo req add T42 --gate '{"kind":"test","command":"pnpm test","expect":"pass","description":"Tests pass","req":"TIMER-01"}'
|
|
96
|
+
*
|
|
97
|
+
* # List all REQ-ID gates on T42
|
|
98
|
+
* cleo req list T42
|
|
99
|
+
*
|
|
100
|
+
* # Preview migration proposals for T42 (dry-run)
|
|
101
|
+
* cleo req migrate T42
|
|
102
|
+
*
|
|
103
|
+
* # Apply migration (write typed gates back to the task)
|
|
104
|
+
* cleo req migrate T42 --apply
|
|
105
|
+
* ```
|
|
106
|
+
*/
|
|
107
|
+
export const reqCommand = defineCommand({
|
|
108
|
+
meta: { name: 'req', description: 'Manage REQ-ID-addressable acceptance gates on tasks' },
|
|
109
|
+
subCommands: {
|
|
110
|
+
add: addCommand,
|
|
111
|
+
list: listCommand,
|
|
112
|
+
migrate: migrateCommand,
|
|
113
|
+
},
|
|
114
|
+
async run({ cmd, rawArgs }) {
|
|
115
|
+
const firstArg = rawArgs?.find((a) => !a.startsWith('-'));
|
|
116
|
+
if (firstArg && cmd.subCommands && firstArg in cmd.subCommands)
|
|
117
|
+
return;
|
|
118
|
+
await showUsage(cmd);
|
|
119
|
+
},
|
|
120
|
+
});
|
|
121
|
+
//# sourceMappingURL=req.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"req.js","sourceRoot":"","sources":["../../../src/cli/commands/req.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEjE,kFAAkF;AAClF,MAAM,UAAU,GAAG,aAAa,CAAC;IAC/B,IAAI,EAAE;QACJ,IAAI,EAAE,KAAK;QACX,WAAW,EAAE,uEAAuE;KACrF;IACD,IAAI,EAAE;QACJ,SAAS,EAAE;YACT,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,4BAA4B;YACzC,QAAQ,EAAE,IAAI;SACf;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,+FAA+F;YACjG,QAAQ,EAAE,IAAI;SACf;KACF;IACD,KAAK,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE;QAChB,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC;QAC/B,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;QAEvB,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,OAAO,CAAC,MAAM,CAAC,KAAK,CAClB,qCAAqC;gBACnC,0IAA0I,CAC7I,CAAC;YACF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAClB,CAAC;QAED,MAAM,eAAe,CAAC,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAC;IAChG,CAAC;CACF,CAAC,CAAC;AAEH,qFAAqF;AACrF,MAAM,WAAW,GAAG,aAAa,CAAC;IAChC,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,sDAAsD,EAAE;IAC3F,IAAI,EAAE;QACJ,SAAS,EAAE;YACT,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,2BAA2B;YACxC,QAAQ,EAAE,IAAI;SACf;KACF;IACD,KAAK,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE;QAChB,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC;QAC/B,MAAM,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC,CAAC;IAC3F,CAAC;CACF,CAAC,CAAC;AAEH,wFAAwF;AACxF,MAAM,cAAc,GAAG,aAAa,CAAC;IACnC,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,WAAW,EACT,mGAAmG;YACnG,qEAAqE;YACrE,sFAAsF;KACzF;IACD,IAAI,EAAE;QACJ,SAAS,EAAE;YACT,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,8BAA8B;YAC3C,QAAQ,EAAE,IAAI;SACf;QACD,KAAK,EAAE;YACL,IAAI,EAAE,SAAS;YACf,WAAW,EACT,0FAA0F;SAC7F;KACF;IACD,KAAK,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE;QAChB,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC;QAC/B,MAAM,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAClC,MAAM,eAAe,CACnB,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAC1B,OAAO,EACP,aAAa,EACb,EAAE,MAAM,EAAE,KAAK,EAAE,EACjB,EAAE,OAAO,EAAE,aAAa,EAAE,CAC3B,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC;IACtC,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,qDAAqD,EAAE;IACzF,WAAW,EAAE;QACX,GAAG,EAAE,UAAU;QACf,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE,cAAc;KACxB;IACD,KAAK,CAAC,GAAG,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE;QACxB,MAAM,QAAQ,GAAG,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC;QAC1D,IAAI,QAAQ,IAAI,GAAG,CAAC,WAAW,IAAI,QAAQ,IAAI,GAAG,CAAC,WAAW;YAAE,OAAO;QACvE,MAAM,SAAS,CAAC,GAAG,CAAC,CAAC;IACvB,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI research command group for manifest operations.
|
|
3
|
+
*
|
|
4
|
+
* Subcommands:
|
|
5
|
+
* cleo research add — add a research entry to pipeline_manifest (via cleo manifest append)
|
|
6
|
+
* cleo research show — show a single research entry
|
|
7
|
+
* cleo research list — list research entries with optional filters
|
|
8
|
+
* cleo research pending — list pending entries
|
|
9
|
+
* cleo research link — link a research entry to a task
|
|
10
|
+
* cleo research update — update findings on an existing entry
|
|
11
|
+
* cleo research stats — show research statistics
|
|
12
|
+
* cleo research links — show entries linked to a task
|
|
13
|
+
* cleo research archive — archive completed entries
|
|
14
|
+
* cleo research manifest — query pipeline_manifest entries directly
|
|
15
|
+
*
|
|
16
|
+
* @task T4465
|
|
17
|
+
* @epic T4454
|
|
18
|
+
*/
|
|
19
|
+
/**
|
|
20
|
+
* Root research command group — registers all research subcommands.
|
|
21
|
+
*
|
|
22
|
+
* Dispatches to `pipeline.manifest.*` registry operations.
|
|
23
|
+
*/
|
|
24
|
+
export declare const researchCommand: import("citty").CommandDef<import("citty").ArgsDef>;
|
|
25
|
+
//# sourceMappingURL=research.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"research.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/research.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAuWH;;;;GAIG;AACH,eAAO,MAAM,eAAe,qDAmB1B,CAAC"}
|
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI research command group for manifest operations.
|
|
3
|
+
*
|
|
4
|
+
* Subcommands:
|
|
5
|
+
* cleo research add — add a research entry to pipeline_manifest (via cleo manifest append)
|
|
6
|
+
* cleo research show — show a single research entry
|
|
7
|
+
* cleo research list — list research entries with optional filters
|
|
8
|
+
* cleo research pending — list pending entries
|
|
9
|
+
* cleo research link — link a research entry to a task
|
|
10
|
+
* cleo research update — update findings on an existing entry
|
|
11
|
+
* cleo research stats — show research statistics
|
|
12
|
+
* cleo research links — show entries linked to a task
|
|
13
|
+
* cleo research archive — archive completed entries
|
|
14
|
+
* cleo research manifest — query pipeline_manifest entries directly
|
|
15
|
+
*
|
|
16
|
+
* @task T4465
|
|
17
|
+
* @epic T4454
|
|
18
|
+
*/
|
|
19
|
+
import { defineCommand, showUsage } from 'citty';
|
|
20
|
+
import { dispatchFromCli } from '../../dispatch/adapters/cli.js';
|
|
21
|
+
// ---------------------------------------------------------------------------
|
|
22
|
+
// Helpers
|
|
23
|
+
// ---------------------------------------------------------------------------
|
|
24
|
+
/**
|
|
25
|
+
* Build a unique research manifest entry ID.
|
|
26
|
+
*
|
|
27
|
+
* Uses a `res_` prefix and the current timestamp to avoid collisions
|
|
28
|
+
* with task or other entity IDs.
|
|
29
|
+
*/
|
|
30
|
+
function generateResearchId() {
|
|
31
|
+
return `res_${Date.now()}`;
|
|
32
|
+
}
|
|
33
|
+
// ---------------------------------------------------------------------------
|
|
34
|
+
// Subcommands
|
|
35
|
+
// ---------------------------------------------------------------------------
|
|
36
|
+
/** cleo research add — add a new research entry to pipeline_manifest (ADR-027) */
|
|
37
|
+
const addCommand = defineCommand({
|
|
38
|
+
meta: { name: 'add', description: 'Add a research entry' },
|
|
39
|
+
args: {
|
|
40
|
+
task: {
|
|
41
|
+
type: 'string',
|
|
42
|
+
description: 'Task ID to attach research to',
|
|
43
|
+
required: true,
|
|
44
|
+
alias: 't',
|
|
45
|
+
},
|
|
46
|
+
topic: {
|
|
47
|
+
type: 'string',
|
|
48
|
+
description: 'Research topic',
|
|
49
|
+
required: true,
|
|
50
|
+
},
|
|
51
|
+
findings: {
|
|
52
|
+
type: 'string',
|
|
53
|
+
description: 'Comma-separated findings',
|
|
54
|
+
},
|
|
55
|
+
sources: {
|
|
56
|
+
type: 'string',
|
|
57
|
+
description: 'Comma-separated sources',
|
|
58
|
+
},
|
|
59
|
+
'agent-type': {
|
|
60
|
+
type: 'string',
|
|
61
|
+
description: 'Agent type that produced this entry',
|
|
62
|
+
default: 'researcher',
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
async run({ args }) {
|
|
66
|
+
const topic = args.topic;
|
|
67
|
+
const findings = args.findings ? args.findings.split(',').map((s) => s.trim()) : [];
|
|
68
|
+
const taskId = args.task;
|
|
69
|
+
const agentType = args['agent-type'] ?? 'researcher';
|
|
70
|
+
await dispatchFromCli('mutate', 'pipeline', 'manifest.append', {
|
|
71
|
+
entry: {
|
|
72
|
+
id: generateResearchId(),
|
|
73
|
+
file: `research/${topic.replace(/\s+/g, '-').toLowerCase()}.md`,
|
|
74
|
+
title: topic,
|
|
75
|
+
date: new Date().toISOString().slice(0, 10),
|
|
76
|
+
status: 'partial',
|
|
77
|
+
agent_type: agentType,
|
|
78
|
+
topics: [topic],
|
|
79
|
+
key_findings: findings,
|
|
80
|
+
actionable: findings.length > 0,
|
|
81
|
+
needs_followup: [],
|
|
82
|
+
linked_tasks: [taskId],
|
|
83
|
+
},
|
|
84
|
+
}, { command: 'research', operation: 'pipeline.manifest.append' });
|
|
85
|
+
},
|
|
86
|
+
});
|
|
87
|
+
/** cleo research show — show a single research entry by ID */
|
|
88
|
+
const showCommand = defineCommand({
|
|
89
|
+
meta: { name: 'show', description: 'Show a research entry' },
|
|
90
|
+
args: {
|
|
91
|
+
id: {
|
|
92
|
+
type: 'positional',
|
|
93
|
+
description: 'Research entry ID',
|
|
94
|
+
required: true,
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
async run({ args }) {
|
|
98
|
+
await dispatchFromCli('query', 'pipeline', 'manifest.show', { entryId: args.id }, { command: 'research' });
|
|
99
|
+
},
|
|
100
|
+
});
|
|
101
|
+
/** cleo research list — list research entries with optional filters */
|
|
102
|
+
const listCommand = defineCommand({
|
|
103
|
+
meta: { name: 'list', description: 'List research entries' },
|
|
104
|
+
args: {
|
|
105
|
+
task: {
|
|
106
|
+
type: 'string',
|
|
107
|
+
description: 'Filter by task ID',
|
|
108
|
+
alias: 't',
|
|
109
|
+
},
|
|
110
|
+
status: {
|
|
111
|
+
type: 'string',
|
|
112
|
+
description: 'Filter by status',
|
|
113
|
+
alias: 's',
|
|
114
|
+
},
|
|
115
|
+
limit: {
|
|
116
|
+
type: 'string',
|
|
117
|
+
description: 'Limit results',
|
|
118
|
+
alias: 'l',
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
async run({ args }) {
|
|
122
|
+
await dispatchFromCli('query', 'pipeline', 'manifest.list', {
|
|
123
|
+
taskId: args.task,
|
|
124
|
+
status: args.status,
|
|
125
|
+
limit: args.limit ? Number.parseInt(args.limit, 10) : undefined,
|
|
126
|
+
}, { command: 'research' });
|
|
127
|
+
},
|
|
128
|
+
});
|
|
129
|
+
/** cleo research pending — list all pending research entries */
|
|
130
|
+
const pendingCommand = defineCommand({
|
|
131
|
+
meta: { name: 'pending', description: 'List pending research entries' },
|
|
132
|
+
async run() {
|
|
133
|
+
await dispatchFromCli('query', 'pipeline', 'manifest.list', { status: 'pending' }, { command: 'research' });
|
|
134
|
+
},
|
|
135
|
+
});
|
|
136
|
+
/** cleo research link — link an existing research entry to a task */
|
|
137
|
+
const linkCommand = defineCommand({
|
|
138
|
+
meta: { name: 'link', description: 'Link a research entry to a task' },
|
|
139
|
+
args: {
|
|
140
|
+
researchId: {
|
|
141
|
+
type: 'positional',
|
|
142
|
+
description: 'Research entry ID',
|
|
143
|
+
required: true,
|
|
144
|
+
},
|
|
145
|
+
taskId: {
|
|
146
|
+
type: 'positional',
|
|
147
|
+
description: 'Task ID to link to',
|
|
148
|
+
required: true,
|
|
149
|
+
},
|
|
150
|
+
},
|
|
151
|
+
async run({ args }) {
|
|
152
|
+
const researchId = args.researchId;
|
|
153
|
+
const taskId = args.taskId;
|
|
154
|
+
await dispatchFromCli('mutate', 'pipeline', 'manifest.append', {
|
|
155
|
+
entry: {
|
|
156
|
+
id: researchId,
|
|
157
|
+
file: `research/link-${researchId}.md`,
|
|
158
|
+
title: `Link: ${researchId} -> ${taskId}`,
|
|
159
|
+
date: new Date().toISOString().slice(0, 10),
|
|
160
|
+
status: 'partial',
|
|
161
|
+
agent_type: 'researcher',
|
|
162
|
+
topics: [],
|
|
163
|
+
key_findings: [],
|
|
164
|
+
actionable: false,
|
|
165
|
+
needs_followup: [],
|
|
166
|
+
linked_tasks: [taskId],
|
|
167
|
+
},
|
|
168
|
+
}, { command: 'research', operation: 'pipeline.manifest.append' });
|
|
169
|
+
},
|
|
170
|
+
});
|
|
171
|
+
/** cleo research update — update findings on an existing research entry */
|
|
172
|
+
const updateCommand = defineCommand({
|
|
173
|
+
meta: { name: 'update', description: 'Update research findings' },
|
|
174
|
+
args: {
|
|
175
|
+
id: {
|
|
176
|
+
type: 'positional',
|
|
177
|
+
description: 'Research entry ID',
|
|
178
|
+
required: true,
|
|
179
|
+
},
|
|
180
|
+
findings: {
|
|
181
|
+
type: 'string',
|
|
182
|
+
description: 'Comma-separated findings',
|
|
183
|
+
},
|
|
184
|
+
sources: {
|
|
185
|
+
type: 'string',
|
|
186
|
+
description: 'Comma-separated sources',
|
|
187
|
+
},
|
|
188
|
+
status: {
|
|
189
|
+
type: 'string',
|
|
190
|
+
description: 'Set status (completed, partial, blocked)',
|
|
191
|
+
alias: 's',
|
|
192
|
+
},
|
|
193
|
+
topic: {
|
|
194
|
+
type: 'string',
|
|
195
|
+
description: 'Research topic (used as title)',
|
|
196
|
+
},
|
|
197
|
+
},
|
|
198
|
+
async run({ args }) {
|
|
199
|
+
const id = args.id;
|
|
200
|
+
const findings = args.findings ? args.findings.split(',').map((s) => s.trim()) : [];
|
|
201
|
+
const status = args.status ?? 'partial';
|
|
202
|
+
const topic = args.topic ?? `Updated research: ${id}`;
|
|
203
|
+
await dispatchFromCli('mutate', 'pipeline', 'manifest.append', {
|
|
204
|
+
entry: {
|
|
205
|
+
id,
|
|
206
|
+
file: `research/${id}.md`,
|
|
207
|
+
title: topic,
|
|
208
|
+
date: new Date().toISOString().slice(0, 10),
|
|
209
|
+
status,
|
|
210
|
+
agent_type: 'researcher',
|
|
211
|
+
topics: topic !== `Updated research: ${id}` ? [topic] : [],
|
|
212
|
+
key_findings: findings,
|
|
213
|
+
actionable: findings.length > 0,
|
|
214
|
+
needs_followup: [],
|
|
215
|
+
linked_tasks: [],
|
|
216
|
+
},
|
|
217
|
+
}, { command: 'research', operation: 'pipeline.manifest.append' });
|
|
218
|
+
},
|
|
219
|
+
});
|
|
220
|
+
/** cleo research stats — show research statistics */
|
|
221
|
+
const statsCommand = defineCommand({
|
|
222
|
+
meta: { name: 'stats', description: 'Show research statistics' },
|
|
223
|
+
async run() {
|
|
224
|
+
await dispatchFromCli('query', 'pipeline', 'manifest.stats', {}, { command: 'research' });
|
|
225
|
+
},
|
|
226
|
+
});
|
|
227
|
+
/** cleo research links — show research entries linked to a task */
|
|
228
|
+
const linksCommand = defineCommand({
|
|
229
|
+
meta: { name: 'links', description: 'Show research entries linked to a task' },
|
|
230
|
+
args: {
|
|
231
|
+
taskId: {
|
|
232
|
+
type: 'positional',
|
|
233
|
+
description: 'Task ID',
|
|
234
|
+
required: true,
|
|
235
|
+
},
|
|
236
|
+
},
|
|
237
|
+
async run({ args }) {
|
|
238
|
+
await dispatchFromCli('query', 'pipeline', 'manifest.find', { taskId: args.taskId }, { command: 'research' });
|
|
239
|
+
},
|
|
240
|
+
});
|
|
241
|
+
/** cleo research archive — archive completed research entries */
|
|
242
|
+
const archiveCommand = defineCommand({
|
|
243
|
+
meta: { name: 'archive', description: 'Archive completed research entries' },
|
|
244
|
+
args: {
|
|
245
|
+
'before-date': {
|
|
246
|
+
type: 'string',
|
|
247
|
+
description: 'Archive entries before this date (YYYY-MM-DD)',
|
|
248
|
+
},
|
|
249
|
+
},
|
|
250
|
+
async run({ args }) {
|
|
251
|
+
await dispatchFromCli('mutate', 'pipeline', 'manifest.archive', {
|
|
252
|
+
beforeDate: args['before-date'],
|
|
253
|
+
}, { command: 'research' });
|
|
254
|
+
},
|
|
255
|
+
});
|
|
256
|
+
/** cleo research manifest — query pipeline_manifest entries directly */
|
|
257
|
+
const manifestCommand = defineCommand({
|
|
258
|
+
meta: { name: 'manifest', description: 'Query pipeline_manifest entries' },
|
|
259
|
+
args: {
|
|
260
|
+
status: {
|
|
261
|
+
type: 'string',
|
|
262
|
+
description: 'Filter by status',
|
|
263
|
+
alias: 's',
|
|
264
|
+
},
|
|
265
|
+
'agent-type': {
|
|
266
|
+
type: 'string',
|
|
267
|
+
description: 'Filter by agent type',
|
|
268
|
+
alias: 'a',
|
|
269
|
+
},
|
|
270
|
+
topic: {
|
|
271
|
+
type: 'string',
|
|
272
|
+
description: 'Filter by topic',
|
|
273
|
+
},
|
|
274
|
+
task: {
|
|
275
|
+
type: 'string',
|
|
276
|
+
description: 'Filter by linked task',
|
|
277
|
+
alias: 't',
|
|
278
|
+
},
|
|
279
|
+
limit: {
|
|
280
|
+
type: 'string',
|
|
281
|
+
description: 'Limit results',
|
|
282
|
+
alias: 'l',
|
|
283
|
+
},
|
|
284
|
+
},
|
|
285
|
+
async run({ args }) {
|
|
286
|
+
// Print deprecation warning to stderr before executing
|
|
287
|
+
console.error('DEPRECATED: `cleo research manifest` is deprecated and will be removed in v2026.6.x.\n' +
|
|
288
|
+
'Use `cleo manifest list` instead. See docs/specs/T1096-manifest-unification-spec.md');
|
|
289
|
+
await dispatchFromCli('query', 'pipeline', 'manifest.list', {
|
|
290
|
+
status: args.status,
|
|
291
|
+
agentType: args['agent-type'],
|
|
292
|
+
topic: args.topic,
|
|
293
|
+
taskId: args.task,
|
|
294
|
+
limit: args.limit ? Number.parseInt(args.limit, 10) : undefined,
|
|
295
|
+
}, { command: 'research' });
|
|
296
|
+
},
|
|
297
|
+
});
|
|
298
|
+
// ---------------------------------------------------------------------------
|
|
299
|
+
// Root export
|
|
300
|
+
// ---------------------------------------------------------------------------
|
|
301
|
+
/**
|
|
302
|
+
* Root research command group — registers all research subcommands.
|
|
303
|
+
*
|
|
304
|
+
* Dispatches to `pipeline.manifest.*` registry operations.
|
|
305
|
+
*/
|
|
306
|
+
export const researchCommand = defineCommand({
|
|
307
|
+
meta: { name: 'research', description: 'Research commands and manifest operations' },
|
|
308
|
+
subCommands: {
|
|
309
|
+
add: addCommand,
|
|
310
|
+
show: showCommand,
|
|
311
|
+
list: listCommand,
|
|
312
|
+
pending: pendingCommand,
|
|
313
|
+
link: linkCommand,
|
|
314
|
+
update: updateCommand,
|
|
315
|
+
stats: statsCommand,
|
|
316
|
+
links: linksCommand,
|
|
317
|
+
archive: archiveCommand,
|
|
318
|
+
manifest: manifestCommand,
|
|
319
|
+
},
|
|
320
|
+
async run({ cmd, rawArgs }) {
|
|
321
|
+
const firstArg = rawArgs?.find((a) => !a.startsWith('-'));
|
|
322
|
+
if (firstArg && cmd.subCommands && firstArg in cmd.subCommands)
|
|
323
|
+
return;
|
|
324
|
+
await showUsage(cmd);
|
|
325
|
+
},
|
|
326
|
+
});
|
|
327
|
+
//# sourceMappingURL=research.js.map
|