@cleocode/cleo 2026.4.161 → 2026.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +58 -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 +1712 -9777
- 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,116 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI chain command group — WarpChain pipeline operations.
|
|
3
|
+
*
|
|
4
|
+
* Exposes the 5 chain operations registered under the pipeline domain
|
|
5
|
+
* as a native citty subcommand group:
|
|
6
|
+
*
|
|
7
|
+
* cleo chain show <chainId> — show a WarpChain definition
|
|
8
|
+
* cleo chain list — list all WarpChain definitions
|
|
9
|
+
* cleo chain add <file> — add a definition from a JSON file
|
|
10
|
+
* cleo chain instantiate <chainId> <epicId> — instantiate for an epic
|
|
11
|
+
* cleo chain advance <instanceId> <nextStage> — advance to next stage
|
|
12
|
+
*
|
|
13
|
+
* All subcommands dispatch to `pipeline.chain.*` registry entries via
|
|
14
|
+
* dispatchFromCli.
|
|
15
|
+
*
|
|
16
|
+
* @task T483
|
|
17
|
+
*/
|
|
18
|
+
import { readFileSync } from 'node:fs';
|
|
19
|
+
import { defineCommand, showUsage } from 'citty';
|
|
20
|
+
import { dispatchFromCli } from '../../dispatch/adapters/cli.js';
|
|
21
|
+
/** cleo chain show — display details for a WarpChain definition */
|
|
22
|
+
const showCommand = defineCommand({
|
|
23
|
+
meta: { name: 'show', description: 'Show details for a WarpChain definition' },
|
|
24
|
+
args: {
|
|
25
|
+
chainId: {
|
|
26
|
+
type: 'positional',
|
|
27
|
+
description: 'WarpChain definition ID',
|
|
28
|
+
required: true,
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
async run({ args }) {
|
|
32
|
+
await dispatchFromCli('query', 'pipeline', 'chain.show', { chainId: args.chainId }, { command: 'chain' });
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
/** cleo chain list — list all WarpChain definitions */
|
|
36
|
+
const listCommand = defineCommand({
|
|
37
|
+
meta: { name: 'list', description: 'List all WarpChain definitions' },
|
|
38
|
+
async run() {
|
|
39
|
+
await dispatchFromCli('query', 'pipeline', 'chain.list', {}, { command: 'chain' });
|
|
40
|
+
},
|
|
41
|
+
});
|
|
42
|
+
/** cleo chain add — register a new WarpChain definition from a JSON file */
|
|
43
|
+
const addCommand = defineCommand({
|
|
44
|
+
meta: { name: 'add', description: 'Add a new WarpChain definition from a JSON file' },
|
|
45
|
+
args: {
|
|
46
|
+
file: {
|
|
47
|
+
type: 'positional',
|
|
48
|
+
description: 'Path to JSON file containing the WarpChain definition',
|
|
49
|
+
required: true,
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
async run({ args }) {
|
|
53
|
+
const chainJson = JSON.parse(readFileSync(args.file, 'utf-8'));
|
|
54
|
+
await dispatchFromCli('mutate', 'pipeline', 'chain.add', { chain: chainJson }, { command: 'chain' });
|
|
55
|
+
},
|
|
56
|
+
});
|
|
57
|
+
/** cleo chain instantiate — create a running instance of a WarpChain for an epic */
|
|
58
|
+
const instantiateCommand = defineCommand({
|
|
59
|
+
meta: { name: 'instantiate', description: 'Instantiate a WarpChain for an epic' },
|
|
60
|
+
args: {
|
|
61
|
+
chainId: {
|
|
62
|
+
type: 'positional',
|
|
63
|
+
description: 'WarpChain definition ID to instantiate',
|
|
64
|
+
required: true,
|
|
65
|
+
},
|
|
66
|
+
epicId: {
|
|
67
|
+
type: 'positional',
|
|
68
|
+
description: 'Epic ID to attach the instance to',
|
|
69
|
+
required: true,
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
async run({ args }) {
|
|
73
|
+
await dispatchFromCli('mutate', 'pipeline', 'chain.instantiate', { chainId: args.chainId, epicId: args.epicId }, { command: 'chain' });
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
/** cleo chain advance — move a WarpChain instance to the next stage */
|
|
77
|
+
const advanceCommand = defineCommand({
|
|
78
|
+
meta: { name: 'advance', description: 'Advance a WarpChain instance to the next stage' },
|
|
79
|
+
args: {
|
|
80
|
+
instanceId: {
|
|
81
|
+
type: 'positional',
|
|
82
|
+
description: 'WarpChain instance ID to advance',
|
|
83
|
+
required: true,
|
|
84
|
+
},
|
|
85
|
+
nextStage: {
|
|
86
|
+
type: 'positional',
|
|
87
|
+
description: 'Name of the stage to advance to',
|
|
88
|
+
required: true,
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
async run({ args }) {
|
|
92
|
+
await dispatchFromCli('mutate', 'pipeline', 'chain.advance', { instanceId: args.instanceId, nextStage: args.nextStage }, { command: 'chain' });
|
|
93
|
+
},
|
|
94
|
+
});
|
|
95
|
+
/**
|
|
96
|
+
* Root chain command group — registers all 5 WarpChain subcommands.
|
|
97
|
+
*
|
|
98
|
+
* Dispatches to `pipeline.chain.*` registry operations.
|
|
99
|
+
*/
|
|
100
|
+
export const chainCommand = defineCommand({
|
|
101
|
+
meta: { name: 'chain', description: 'WarpChain pipeline management (tier-2 orchestrator)' },
|
|
102
|
+
subCommands: {
|
|
103
|
+
show: showCommand,
|
|
104
|
+
list: listCommand,
|
|
105
|
+
add: addCommand,
|
|
106
|
+
instantiate: instantiateCommand,
|
|
107
|
+
advance: advanceCommand,
|
|
108
|
+
},
|
|
109
|
+
async run({ cmd, rawArgs }) {
|
|
110
|
+
const firstArg = rawArgs?.find((a) => !a.startsWith('-'));
|
|
111
|
+
if (firstArg && cmd.subCommands && firstArg in cmd.subCommands)
|
|
112
|
+
return;
|
|
113
|
+
await showUsage(cmd);
|
|
114
|
+
},
|
|
115
|
+
});
|
|
116
|
+
//# sourceMappingURL=chain.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chain.js","sourceRoot":"","sources":["../../../src/cli/commands/chain.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,YA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I,EAAE;QAChB,MAAM,eAAe,CACnB,QAAQ,EACR,UAAU,EACV,eAAe,EACf,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,EAC1D,EAAE,OAAO,EAAE,OAAO,EAAE,CACrB,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAC;IACxC,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,qDAAqD,EAAE;IAC3F,WAAW,EAAE;QACX,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,WAAW;QACjB,GAAG,EAAE,UAAU;QACf,WAAW,EAAE,kBAAkB;QAC/B,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,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI check command group — dispatches to the check domain.
|
|
3
|
+
*
|
|
4
|
+
* Subcommands: schema, coherence, task, output, chain-validate, canon, protocol
|
|
5
|
+
* @task T132
|
|
6
|
+
* @task T260 — generic protocol subcommand exposing all 12 protocols
|
|
7
|
+
* @task T476 — output and chain-validate subcommands
|
|
8
|
+
* @task T864 — check.schema args derived from registry (SSoT proof-of-concept)
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Root check command group — validation and compliance checks.
|
|
12
|
+
*
|
|
13
|
+
* Dispatches to the check domain. Supports schema validation, coherence,
|
|
14
|
+
* task checks, output validation, WarpChain validation, canon drift
|
|
15
|
+
* detection, and RCASD-IVTR+C protocol checks.
|
|
16
|
+
*/
|
|
17
|
+
export declare const checkCommand: import("citty").CommandDef<import("citty").ArgsDef>;
|
|
18
|
+
//# sourceMappingURL=check.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/check.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAuSH;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,qDAgBvB,CAAC"}
|
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI check command group — dispatches to the check domain.
|
|
3
|
+
*
|
|
4
|
+
* Subcommands: schema, coherence, task, output, chain-validate, canon, protocol
|
|
5
|
+
* @task T132
|
|
6
|
+
* @task T260 — generic protocol subcommand exposing all 12 protocols
|
|
7
|
+
* @task T476 — output and chain-validate subcommands
|
|
8
|
+
* @task T864 — check.schema args derived from registry (SSoT proof-of-concept)
|
|
9
|
+
*/
|
|
10
|
+
import { defineCommand, showUsage } from 'citty';
|
|
11
|
+
import { dispatchFromCli } from '../../dispatch/adapters/cli.js';
|
|
12
|
+
import { getOperationParams, paramsToCittyArgs } from '../lib/registry-args.js';
|
|
13
|
+
/**
|
|
14
|
+
* The 12 supported protocol types — must stay in sync with
|
|
15
|
+
* packages/core/src/orchestration/protocol-validators.ts#PROTOCOL_TYPES.
|
|
16
|
+
*
|
|
17
|
+
* @task T260
|
|
18
|
+
*/
|
|
19
|
+
const SUPPORTED_PROTOCOL_TYPES = [
|
|
20
|
+
'research',
|
|
21
|
+
'consensus',
|
|
22
|
+
'architecture-decision',
|
|
23
|
+
'specification',
|
|
24
|
+
'decomposition',
|
|
25
|
+
'implementation',
|
|
26
|
+
'contribution',
|
|
27
|
+
'validation',
|
|
28
|
+
'testing',
|
|
29
|
+
'release',
|
|
30
|
+
'artifact-publish',
|
|
31
|
+
'provenance',
|
|
32
|
+
];
|
|
33
|
+
/**
|
|
34
|
+
* cleo check schema — validate schema by type.
|
|
35
|
+
*
|
|
36
|
+
* Args derived from registry via `paramsToCittyArgs` (T864 SSoT).
|
|
37
|
+
*/
|
|
38
|
+
const checkSchemaCommand = defineCommand({
|
|
39
|
+
meta: {
|
|
40
|
+
name: 'schema',
|
|
41
|
+
description: 'Validate schema (type: todo, config, archive, log, sessions)',
|
|
42
|
+
},
|
|
43
|
+
args: paramsToCittyArgs(getOperationParams('query', 'check', 'schema')),
|
|
44
|
+
async run({ args }) {
|
|
45
|
+
await dispatchFromCli('query', 'check', 'schema', { type: args['type'] }, { command: 'check' });
|
|
46
|
+
},
|
|
47
|
+
});
|
|
48
|
+
/** cleo check coherence — run coherence check across task data */
|
|
49
|
+
const checkCoherenceCommand = defineCommand({
|
|
50
|
+
meta: { name: 'coherence', description: 'Run coherence check across task data' },
|
|
51
|
+
async run() {
|
|
52
|
+
await dispatchFromCli('query', 'check', 'coherence', {}, { command: 'check' });
|
|
53
|
+
},
|
|
54
|
+
});
|
|
55
|
+
/** cleo check task — validate a specific task */
|
|
56
|
+
const checkTaskCommand = defineCommand({
|
|
57
|
+
meta: { name: 'task', description: 'Validate a specific task' },
|
|
58
|
+
args: { taskId: { type: 'positional', description: 'Task ID to validate', required: true } },
|
|
59
|
+
async run({ args }) {
|
|
60
|
+
await dispatchFromCli('query', 'check', 'task', { taskId: args.taskId }, { command: 'check' });
|
|
61
|
+
},
|
|
62
|
+
});
|
|
63
|
+
/** cleo check output — validate an agent output file against the manifest schema */
|
|
64
|
+
const checkOutputCommand = defineCommand({
|
|
65
|
+
meta: {
|
|
66
|
+
name: 'output',
|
|
67
|
+
description: 'Validate an agent output file against the manifest schema',
|
|
68
|
+
},
|
|
69
|
+
args: {
|
|
70
|
+
filePath: { type: 'positional', description: 'Path to agent output file', required: true },
|
|
71
|
+
'task-id': { type: 'string', description: 'Task ID the output file belongs to' },
|
|
72
|
+
},
|
|
73
|
+
async run({ args }) {
|
|
74
|
+
await dispatchFromCli('query', 'check', 'output', { filePath: args.filePath, taskId: args['task-id'] }, { command: 'check', operation: 'check.output' });
|
|
75
|
+
},
|
|
76
|
+
});
|
|
77
|
+
/** cleo check chain-validate — validate a WarpChain definition from a JSON file */
|
|
78
|
+
const checkChainValidateCommand = defineCommand({
|
|
79
|
+
meta: {
|
|
80
|
+
name: 'chain-validate',
|
|
81
|
+
description: 'Validate a WarpChain definition from a JSON file',
|
|
82
|
+
},
|
|
83
|
+
args: {
|
|
84
|
+
file: {
|
|
85
|
+
type: 'positional',
|
|
86
|
+
description: 'JSON file containing the WarpChain definition',
|
|
87
|
+
required: true,
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
async run({ args }) {
|
|
91
|
+
const { readFileSync } = await import('node:fs');
|
|
92
|
+
let chain;
|
|
93
|
+
try {
|
|
94
|
+
chain = JSON.parse(readFileSync(args.file, 'utf8'));
|
|
95
|
+
}
|
|
96
|
+
catch (err) {
|
|
97
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
98
|
+
console.error(`Failed to read or parse chain file: ${message}`);
|
|
99
|
+
process.exit(2);
|
|
100
|
+
}
|
|
101
|
+
await dispatchFromCli('query', 'check', 'chain.validate', { chain }, { command: 'check', operation: 'check.chain.validate' });
|
|
102
|
+
},
|
|
103
|
+
});
|
|
104
|
+
/** cleo check canon — CI gate: detect canon drift between docs and live code */
|
|
105
|
+
const checkCanonCommand = defineCommand({
|
|
106
|
+
meta: { name: 'canon', description: 'CI gate: detect canon drift between docs and live code' },
|
|
107
|
+
async run() {
|
|
108
|
+
await dispatchFromCli('query', 'check', 'canon', {}, { command: 'check' });
|
|
109
|
+
},
|
|
110
|
+
});
|
|
111
|
+
/** cleo check protocol — validate any of the 12 RCASD-IVTR+C protocols */
|
|
112
|
+
const checkProtocolCommand = defineCommand({
|
|
113
|
+
meta: {
|
|
114
|
+
name: 'protocol',
|
|
115
|
+
description: `Validate any of the 12 RCASD-IVTR+C protocols: ${SUPPORTED_PROTOCOL_TYPES.join(', ')}`,
|
|
116
|
+
},
|
|
117
|
+
args: {
|
|
118
|
+
protocolType: {
|
|
119
|
+
type: 'positional',
|
|
120
|
+
description: 'Protocol type to validate',
|
|
121
|
+
required: true,
|
|
122
|
+
},
|
|
123
|
+
'task-id': { type: 'string', description: 'Task ID to validate (mode=task, default)' },
|
|
124
|
+
'manifest-file': { type: 'string', description: 'Manifest file to validate (mode=manifest)' },
|
|
125
|
+
strict: { type: 'boolean', description: 'Exit with error code on violations' },
|
|
126
|
+
'voting-matrix-file': { type: 'string', description: 'consensus: voting matrix JSON file' },
|
|
127
|
+
'epic-id': { type: 'string', description: 'decomposition: parent epic ID' },
|
|
128
|
+
'sibling-count': { type: 'string', description: 'decomposition: actual sibling count' },
|
|
129
|
+
'max-siblings': { type: 'string', description: 'decomposition: configured max siblings' },
|
|
130
|
+
'spec-file': { type: 'string', description: 'specification: path to spec markdown' },
|
|
131
|
+
'has-code-changes': {
|
|
132
|
+
type: 'boolean',
|
|
133
|
+
description: 'research: code changes detected (forbidden)',
|
|
134
|
+
},
|
|
135
|
+
'has-task-tags': {
|
|
136
|
+
type: 'boolean',
|
|
137
|
+
description: 'implementation: @task tags present in code',
|
|
138
|
+
},
|
|
139
|
+
'has-contribution-tags': {
|
|
140
|
+
type: 'boolean',
|
|
141
|
+
description: 'contribution: @contribution tags present',
|
|
142
|
+
},
|
|
143
|
+
version: { type: 'string', description: 'release: target version (semver/calver)' },
|
|
144
|
+
'has-changelog': { type: 'boolean', description: 'release: changelog updated' },
|
|
145
|
+
'artifact-type': {
|
|
146
|
+
type: 'string',
|
|
147
|
+
description: 'artifact-publish: artifact handler (npm-package, docker-image, ...)',
|
|
148
|
+
},
|
|
149
|
+
'build-passed': { type: 'boolean', description: 'artifact-publish: build step succeeded' },
|
|
150
|
+
'has-attestation': {
|
|
151
|
+
type: 'boolean',
|
|
152
|
+
description: 'provenance: in-toto attestation generated',
|
|
153
|
+
},
|
|
154
|
+
'has-sbom': {
|
|
155
|
+
type: 'boolean',
|
|
156
|
+
description: 'provenance: SBOM (CycloneDX/SPDX) generated',
|
|
157
|
+
},
|
|
158
|
+
'adr-content': { type: 'string', description: 'ADR: ADR markdown body for section check' },
|
|
159
|
+
status: {
|
|
160
|
+
type: 'string',
|
|
161
|
+
description: 'ADR: lifecycle status (proposed|accepted|superseded|deprecated)',
|
|
162
|
+
},
|
|
163
|
+
'hitl-reviewed': { type: 'boolean', description: 'ADR: HITL review completed' },
|
|
164
|
+
'downstream-flagged': {
|
|
165
|
+
type: 'boolean',
|
|
166
|
+
description: 'ADR: downstream artifacts flagged for review',
|
|
167
|
+
},
|
|
168
|
+
'persisted-in-db': {
|
|
169
|
+
type: 'boolean',
|
|
170
|
+
description: 'ADR: persisted in canonical decisions table',
|
|
171
|
+
},
|
|
172
|
+
'spec-match-confirmed': {
|
|
173
|
+
type: 'boolean',
|
|
174
|
+
description: 'validation: implementation matches spec',
|
|
175
|
+
},
|
|
176
|
+
'test-suite-passed': {
|
|
177
|
+
type: 'boolean',
|
|
178
|
+
description: 'validation: existing test suite passed',
|
|
179
|
+
},
|
|
180
|
+
'protocol-compliance-checked': {
|
|
181
|
+
type: 'boolean',
|
|
182
|
+
description: 'validation: upstream protocols checked',
|
|
183
|
+
},
|
|
184
|
+
framework: { type: 'string', description: 'testing: detected test framework' },
|
|
185
|
+
'tests-run': { type: 'string', description: 'testing: total tests executed' },
|
|
186
|
+
'tests-passed': { type: 'string', description: 'testing: tests that passed' },
|
|
187
|
+
'tests-failed': { type: 'string', description: 'testing: tests that failed' },
|
|
188
|
+
'coverage-percent': { type: 'string', description: 'testing: coverage percentage' },
|
|
189
|
+
'coverage-threshold': { type: 'string', description: 'testing: configured coverage threshold' },
|
|
190
|
+
'ivt-loop-converged': { type: 'boolean', description: 'testing: IVT loop converged on spec' },
|
|
191
|
+
'ivt-loop-iterations': { type: 'string', description: 'testing: IVT iteration count' },
|
|
192
|
+
},
|
|
193
|
+
async run({ args }) {
|
|
194
|
+
const protocolType = args.protocolType;
|
|
195
|
+
if (!SUPPORTED_PROTOCOL_TYPES.includes(protocolType)) {
|
|
196
|
+
console.error(`Unknown protocol type "${protocolType}". Supported: ${SUPPORTED_PROTOCOL_TYPES.join(', ')}`);
|
|
197
|
+
process.exit(2);
|
|
198
|
+
}
|
|
199
|
+
const mode = args['manifest-file'] ? 'manifest' : 'task';
|
|
200
|
+
await dispatchFromCli('query', 'check', 'protocol', {
|
|
201
|
+
protocolType,
|
|
202
|
+
mode,
|
|
203
|
+
taskId: args['task-id'],
|
|
204
|
+
manifestFile: args['manifest-file'],
|
|
205
|
+
strict: args.strict,
|
|
206
|
+
votingMatrixFile: args['voting-matrix-file'],
|
|
207
|
+
epicId: args['epic-id'],
|
|
208
|
+
siblingCount: args['sibling-count'] !== undefined
|
|
209
|
+
? Number.parseInt(args['sibling-count'], 10)
|
|
210
|
+
: undefined,
|
|
211
|
+
maxSiblings: args['max-siblings'] !== undefined
|
|
212
|
+
? Number.parseInt(args['max-siblings'], 10)
|
|
213
|
+
: undefined,
|
|
214
|
+
specFile: args['spec-file'],
|
|
215
|
+
hasCodeChanges: args['has-code-changes'],
|
|
216
|
+
hasTaskTags: args['has-task-tags'],
|
|
217
|
+
hasContributionTags: args['has-contribution-tags'],
|
|
218
|
+
version: args.version,
|
|
219
|
+
hasChangelog: args['has-changelog'],
|
|
220
|
+
artifactType: args['artifact-type'],
|
|
221
|
+
buildPassed: args['build-passed'],
|
|
222
|
+
hasAttestation: args['has-attestation'],
|
|
223
|
+
hasSbom: args['has-sbom'],
|
|
224
|
+
adrContent: args['adr-content'],
|
|
225
|
+
status: args.status,
|
|
226
|
+
hitlReviewed: args['hitl-reviewed'],
|
|
227
|
+
downstreamFlagged: args['downstream-flagged'],
|
|
228
|
+
persistedInDb: args['persisted-in-db'],
|
|
229
|
+
specMatchConfirmed: args['spec-match-confirmed'],
|
|
230
|
+
testSuitePassed: args['test-suite-passed'],
|
|
231
|
+
protocolComplianceChecked: args['protocol-compliance-checked'],
|
|
232
|
+
framework: args.framework,
|
|
233
|
+
testsRun: args['tests-run'] !== undefined
|
|
234
|
+
? Number.parseInt(args['tests-run'], 10)
|
|
235
|
+
: undefined,
|
|
236
|
+
testsPassed: args['tests-passed'] !== undefined
|
|
237
|
+
? Number.parseInt(args['tests-passed'], 10)
|
|
238
|
+
: undefined,
|
|
239
|
+
testsFailed: args['tests-failed'] !== undefined
|
|
240
|
+
? Number.parseInt(args['tests-failed'], 10)
|
|
241
|
+
: undefined,
|
|
242
|
+
coveragePercent: args['coverage-percent'] !== undefined
|
|
243
|
+
? Number.parseFloat(args['coverage-percent'])
|
|
244
|
+
: undefined,
|
|
245
|
+
coverageThreshold: args['coverage-threshold'] !== undefined
|
|
246
|
+
? Number.parseFloat(args['coverage-threshold'])
|
|
247
|
+
: undefined,
|
|
248
|
+
ivtLoopConverged: args['ivt-loop-converged'],
|
|
249
|
+
ivtLoopIterations: args['ivt-loop-iterations'] !== undefined
|
|
250
|
+
? Number.parseInt(args['ivt-loop-iterations'], 10)
|
|
251
|
+
: undefined,
|
|
252
|
+
}, { command: 'check' });
|
|
253
|
+
},
|
|
254
|
+
});
|
|
255
|
+
/**
|
|
256
|
+
* Root check command group — validation and compliance checks.
|
|
257
|
+
*
|
|
258
|
+
* Dispatches to the check domain. Supports schema validation, coherence,
|
|
259
|
+
* task checks, output validation, WarpChain validation, canon drift
|
|
260
|
+
* detection, and RCASD-IVTR+C protocol checks.
|
|
261
|
+
*/
|
|
262
|
+
export const checkCommand = defineCommand({
|
|
263
|
+
meta: { name: 'check', description: 'Validation and compliance checks' },
|
|
264
|
+
subCommands: {
|
|
265
|
+
schema: checkSchemaCommand,
|
|
266
|
+
coherence: checkCoherenceCommand,
|
|
267
|
+
task: checkTaskCommand,
|
|
268
|
+
output: checkOutputCommand,
|
|
269
|
+
'chain-validate': checkChainValidateCommand,
|
|
270
|
+
canon: checkCanonCommand,
|
|
271
|
+
protocol: checkProtocolCommand,
|
|
272
|
+
},
|
|
273
|
+
async run({ cmd, rawArgs }) {
|
|
274
|
+
const firstArg = rawArgs?.find((a) => !a.startsWith('-'));
|
|
275
|
+
if (firstArg && cmd.subCommands && firstArg in cmd.subCommands)
|
|
276
|
+
return;
|
|
277
|
+
await showUsage(cmd);
|
|
278
|
+
},
|
|
279
|
+
});
|
|
280
|
+
//# sourceMappingURL=check.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check.js","sourceRoot":"","sources":["../../../src/cli/commands/check.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAEhF;;;;;GAKG;AACH,MAAM,wBAAwB,GAAG;IAC/B,UAAU;IACV,WAAW;IACX,uBAAuB;IACvB,eAAe;IACf,eAAe;IACf,gBAAgB;IAChB,cAAc;IACd,YAAY;IACZ,SAAS;IACT,SAAS;IACT,kBAAkB;IAClB,YAAY;CACJ,CAAC;AAEX;;;;GAIG;AACH,MAAM,kBAAkB,GAAG,aAAa,CAAC;IACvC,IAAI,EAAE;QACJ,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,8DAA8D;KAC5E;IACD,IAAI,EAAE,iBAAiB,CAAC,kBAAkB,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;IACvE,KAAK,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE;QAChB,MAAM,eAAe,CACnB,OAAO,EACP,OAAO,EACP,QAAQ,EACR,EAAE,IAAI,EAAE,IAAI,CAAC,MAAM,CAAW,EAAE,EAChC,EAAE,OAAO,EAAE,OAAO,EAAE,CACrB,CAAC;IACJ,CAAC;CACF,CA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AAE,kCAAkC,EAAE;IACxE,WAAW,EAAE;QACX,MAAM,EAAE,kBAAkB;QAC1B,SAAS,EAAE,qBAAqB;QAChC,IAAI,EAAE,gBAAgB;QACtB,MAAM,EAAE,kBAAkB;QAC1B,gBAAgB,EAAE,yBAAyB;QAC3C,KAAK,EAAE,iBAAiB;QACxB,QAAQ,EAAE,oBAAoB;KAC/B;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,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI checkpoint command — Git state checkpoint for CLEO data files.
|
|
3
|
+
*
|
|
4
|
+
* Delegates to src/store/git-checkpoint.ts for isolated .cleo/.git
|
|
5
|
+
* operations. This command has no dispatch route; it is CLI-only.
|
|
6
|
+
*
|
|
7
|
+
* @task T4551
|
|
8
|
+
* @epic T4545
|
|
9
|
+
* @task T4872
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* cleo checkpoint — Git checkpoint for CLEO state files.
|
|
13
|
+
*
|
|
14
|
+
* Commits .cleo data files to an isolated .cleo/.git repository.
|
|
15
|
+
* Supports --status (show last checkpoint info) and --dry-run (preview).
|
|
16
|
+
*/
|
|
17
|
+
export declare const checkpointCommand: import("citty").CommandDef<{
|
|
18
|
+
readonly status: {
|
|
19
|
+
readonly type: "boolean";
|
|
20
|
+
readonly description: "Show configuration and last checkpoint time";
|
|
21
|
+
};
|
|
22
|
+
readonly 'dry-run': {
|
|
23
|
+
readonly type: "boolean";
|
|
24
|
+
readonly description: "Show what files would be committed";
|
|
25
|
+
};
|
|
26
|
+
}>;
|
|
27
|
+
//# sourceMappingURL=checkpoint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkpoint.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/checkpoint.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AA6BH;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;EA0F5B,CAAC"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI checkpoint command — Git state checkpoint for CLEO data files.
|
|
3
|
+
*
|
|
4
|
+
* Delegates to src/store/git-checkpoint.ts for isolated .cleo/.git
|
|
5
|
+
* operations. This command has no dispatch route; it is CLI-only.
|
|
6
|
+
*
|
|
7
|
+
* @task T4551
|
|
8
|
+
* @epic T4545
|
|
9
|
+
* @task T4872
|
|
10
|
+
*/
|
|
11
|
+
import { ExitCode } from '@cleocode/contracts';
|
|
12
|
+
import { CleoError, formatError, getCleoDir, gitCheckpoint, gitCheckpointStatus, isCleoGitInitialized, } from '@cleocode/core/internal';
|
|
13
|
+
import { defineCommand } from 'citty';
|
|
14
|
+
import { cliOutput } from '../renderers/index.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if inside a git repository.
|
|
17
|
+
*
|
|
18
|
+
* Thin wrapper around isCleoGitInitialized() for --status output.
|
|
19
|
+
* @task T4551
|
|
20
|
+
*/
|
|
21
|
+
function isGitRepo() {
|
|
22
|
+
try {
|
|
23
|
+
const cleoDir = getCleoDir();
|
|
24
|
+
return isCleoGitInitialized(cleoDir);
|
|
25
|
+
}
|
|
26
|
+
catch {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* cleo checkpoint — Git checkpoint for CLEO state files.
|
|
32
|
+
*
|
|
33
|
+
* Commits .cleo data files to an isolated .cleo/.git repository.
|
|
34
|
+
* Supports --status (show last checkpoint info) and --dry-run (preview).
|
|
35
|
+
*/
|
|
36
|
+
export const checkpointCommand = defineCommand({
|
|
37
|
+
meta: {
|
|
38
|
+
name: 'checkpoint',
|
|
39
|
+
description: 'Git checkpoint for CLEO state files (commits to isolated .cleo/.git repo)',
|
|
40
|
+
},
|
|
41
|
+
args: {
|
|
42
|
+
status: {
|
|
43
|
+
type: 'boolean',
|
|
44
|
+
description: 'Show configuration and last checkpoint time',
|
|
45
|
+
},
|
|
46
|
+
'dry-run': {
|
|
47
|
+
type: 'boolean',
|
|
48
|
+
description: 'Show what files would be committed',
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
async run({ args }) {
|
|
52
|
+
try {
|
|
53
|
+
if (!isGitRepo()) {
|
|
54
|
+
throw new CleoError(ExitCode.GENERAL_ERROR, '.cleo/.git not initialized. Run: cleo init');
|
|
55
|
+
}
|
|
56
|
+
if (args.status) {
|
|
57
|
+
const status = await gitCheckpointStatus();
|
|
58
|
+
cliOutput({
|
|
59
|
+
config: status.config,
|
|
60
|
+
lastCheckpoint: status.status.lastCheckpoint,
|
|
61
|
+
pendingFiles: status.status.pendingChanges,
|
|
62
|
+
isGitRepo: status.status.isGitRepo,
|
|
63
|
+
}, { command: 'checkpoint' });
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
if (args['dry-run']) {
|
|
67
|
+
const status = await gitCheckpointStatus();
|
|
68
|
+
const count = status.status.pendingChanges;
|
|
69
|
+
cliOutput({
|
|
70
|
+
dryRun: true,
|
|
71
|
+
fileCount: count,
|
|
72
|
+
}, {
|
|
73
|
+
command: 'checkpoint',
|
|
74
|
+
message: count === 0 ? 'No CLEO files to checkpoint' : `Would checkpoint ${count} file(s)`,
|
|
75
|
+
});
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
// Get pending count before committing so we can report it
|
|
79
|
+
const before = await gitCheckpointStatus();
|
|
80
|
+
if (!before.config.enabled) {
|
|
81
|
+
cliOutput({ enabled: false }, {
|
|
82
|
+
command: 'checkpoint',
|
|
83
|
+
message: 'Git checkpoint is disabled. Enable with: cleo config set gitCheckpoint.enabled true',
|
|
84
|
+
});
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
if (before.status.pendingChanges === 0) {
|
|
88
|
+
cliOutput({ noChange: true }, { command: 'checkpoint', message: 'No CLEO files to checkpoint' });
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
await gitCheckpoint('manual');
|
|
92
|
+
cliOutput({
|
|
93
|
+
checkpointed: before.status.pendingChanges,
|
|
94
|
+
}, { command: 'checkpoint', message: 'Checkpoint complete' });
|
|
95
|
+
}
|
|
96
|
+
catch (err) {
|
|
97
|
+
if (err instanceof CleoError) {
|
|
98
|
+
console.error(formatError(err));
|
|
99
|
+
process.exit(err.code);
|
|
100
|
+
}
|
|
101
|
+
throw err;
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
});
|
|
105
|
+
//# sourceMappingURL=checkpoint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkpoint.js","sourceRoot":"","sources":["../../../src/cli/commands/checkpoint.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EACL,SAAS,EACT,WAAW,EACX,UAAU,EACV,aAAa,EACb,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD;;;;;GAKG;AACH,SAAS,SAAS;IAChB,IAAI,CAAC;QACH,MAAM,OAAO,GAAG,UAAU,EAAE,CAAC;QAC7B,OAAO,oBAAoB,CAAC,OAAO,CAAC,CAAC;IACvC,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CA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C,CAAC,oBAAoB,KAAK,UAAU;iBACpF,CACF,CAAC;gBACF,OAAO;YACT,CAAC;YAED,0DAA0D;YAC1D,MAAM,MAAM,GAAG,MAAM,mBAAmB,EAAE,CAAC;YAC3C,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;gBAC3B,SAAS,CACP,EAAE,OAAO,EAAE,KAAK,EAAE,EAClB;oBACE,OAAO,EAAE,YAAY;oBACrB,OAAO,EACL,qFAAqF;iBACxF,CACF,CAAC;gBACF,OAAO;YACT,CAAC;YAED,IAAI,MAAM,CAAC,MAAM,CAAC,cAAc,KAAK,CAAC,EAAE,CAAC;gBACvC,SAAS,CACP,EAAE,QAAQ,EAAE,IAAI,EAAE,EAClB,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAClE,CAAC;gBACF,OAAO;YACT,CAAC;YAED,MAAM,aAAa,CAAC,QAAQ,CAAC,CAAC;YAE9B,SAAS,CACP;gBACE,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,cAAc;aAC3C,EACD,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,qBAAqB,EAAE,CAC1D,CAAC;QACJ,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,IAAI,GAAG,YAAY,SAAS,EAAE,CAAC;gBAC7B,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC;gBAChC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACzB,CAAC;YACD,MAAM,GAAG,CAAC;QACZ,CAAC;IACH,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI claim / unclaim commands — assign a task to an agent or session.
|
|
3
|
+
* @task T473
|
|
4
|
+
* @epic T443
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Native citty command for claiming a task by assigning it to an agent.
|
|
8
|
+
*
|
|
9
|
+
* Dispatches to tasks.claim (mutate). Requires an active session.
|
|
10
|
+
*/
|
|
11
|
+
export declare const claimCommand: import("citty").CommandDef<{
|
|
12
|
+
readonly taskId: {
|
|
13
|
+
readonly type: "positional";
|
|
14
|
+
readonly description: "Task ID to claim";
|
|
15
|
+
readonly required: true;
|
|
16
|
+
};
|
|
17
|
+
readonly agent: {
|
|
18
|
+
readonly type: "string";
|
|
19
|
+
readonly description: "Agent ID to assign the task to";
|
|
20
|
+
readonly required: true;
|
|
21
|
+
};
|
|
22
|
+
}>;
|
|
23
|
+
/**
|
|
24
|
+
* Native citty command for unclaiming a task by removing its current assignee.
|
|
25
|
+
*
|
|
26
|
+
* Dispatches to tasks.unclaim (mutate). Requires an active session.
|
|
27
|
+
*/
|
|
28
|
+
export declare const unclaimCommand: import("citty").CommandDef<{
|
|
29
|
+
readonly taskId: {
|
|
30
|
+
readonly type: "positional";
|
|
31
|
+
readonly description: "Task ID to unclaim";
|
|
32
|
+
readonly required: true;
|
|
33
|
+
};
|
|
34
|
+
}>;
|
|
35
|
+
//# sourceMappingURL=claim.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"claim.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/claim.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;EAevB,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;;;;EAYzB,CAAC"}
|