@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,148 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI add-batch command — atomic batch creation of multiple tasks.
|
|
3
|
+
*
|
|
4
|
+
* Reads a JSON array of task definitions from a file or stdin and creates
|
|
5
|
+
* them atomically. More reliable than N sequential `cleo add` calls during
|
|
6
|
+
* epic decomposition.
|
|
7
|
+
*
|
|
8
|
+
* @task T090
|
|
9
|
+
*/
|
|
10
|
+
import { existsSync, readFileSync } from 'node:fs';
|
|
11
|
+
import { defineCommand } from 'citty';
|
|
12
|
+
import { dispatchRaw } from '../../dispatch/adapters/cli.js';
|
|
13
|
+
import { cliError, cliOutput } from '../renderers/index.js';
|
|
14
|
+
/**
|
|
15
|
+
* Native citty command for atomic batch creation of multiple tasks.
|
|
16
|
+
*
|
|
17
|
+
* Reads a JSON array of task definitions from a file or stdin and dispatches
|
|
18
|
+
* each as a `tasks.add` mutation. Partial failures are reported with a
|
|
19
|
+
* non-zero exit code while still reporting successful creations.
|
|
20
|
+
*
|
|
21
|
+
* @task T090
|
|
22
|
+
*/
|
|
23
|
+
export const addBatchCommand = defineCommand({
|
|
24
|
+
meta: { name: 'add-batch', description: 'Create multiple tasks atomically from a JSON file' },
|
|
25
|
+
args: {
|
|
26
|
+
file: {
|
|
27
|
+
type: 'string',
|
|
28
|
+
description: 'Path to JSON file (array of task objects). Use - for stdin.',
|
|
29
|
+
},
|
|
30
|
+
parent: {
|
|
31
|
+
type: 'string',
|
|
32
|
+
description: 'Default parent for all tasks (overridden by per-task parent)',
|
|
33
|
+
},
|
|
34
|
+
'dry-run': {
|
|
35
|
+
type: 'boolean',
|
|
36
|
+
description: 'Preview what would be created without making changes',
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
async run({ args }) {
|
|
40
|
+
const filePath = args.file;
|
|
41
|
+
const defaultParent = args.parent;
|
|
42
|
+
const dryRun = args['dry-run'];
|
|
43
|
+
// Read input
|
|
44
|
+
let raw;
|
|
45
|
+
if (!filePath || filePath === '-') {
|
|
46
|
+
// Read from stdin
|
|
47
|
+
const chunks = [];
|
|
48
|
+
for await (const chunk of process.stdin) {
|
|
49
|
+
chunks.push(chunk);
|
|
50
|
+
}
|
|
51
|
+
raw = Buffer.concat(chunks).toString('utf-8');
|
|
52
|
+
if (!raw.trim()) {
|
|
53
|
+
cliError('No input provided. Pass --file <path> or pipe JSON to stdin.', 'E_VALIDATION', {
|
|
54
|
+
name: 'E_VALIDATION',
|
|
55
|
+
fix: 'cleo add-batch --file tasks.json',
|
|
56
|
+
}, { operation: 'tasks.add-batch' });
|
|
57
|
+
process.exit(2);
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
if (!existsSync(filePath)) {
|
|
63
|
+
cliError(`File not found: ${filePath}`, 'E_NOT_FOUND', {
|
|
64
|
+
name: 'E_NOT_FOUND',
|
|
65
|
+
fix: `Verify the file path exists: ${filePath}`,
|
|
66
|
+
}, { operation: 'tasks.add-batch' });
|
|
67
|
+
process.exit(2);
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
raw = readFileSync(filePath, 'utf-8');
|
|
71
|
+
}
|
|
72
|
+
let tasks;
|
|
73
|
+
try {
|
|
74
|
+
const parsed = JSON.parse(raw);
|
|
75
|
+
tasks = Array.isArray(parsed) ? parsed : [parsed];
|
|
76
|
+
}
|
|
77
|
+
catch {
|
|
78
|
+
cliError('Invalid JSON input. Expected an array of task objects.', 'E_VALIDATION', {
|
|
79
|
+
name: 'E_VALIDATION',
|
|
80
|
+
fix: 'Ensure the input is a valid JSON array of task objects',
|
|
81
|
+
}, { operation: 'tasks.add-batch' });
|
|
82
|
+
process.exit(2);
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
if (tasks.length === 0) {
|
|
86
|
+
cliError('No tasks in input.', 'E_VALIDATION', {
|
|
87
|
+
name: 'E_VALIDATION',
|
|
88
|
+
fix: 'Provide at least one task object in the JSON array',
|
|
89
|
+
}, { operation: 'tasks.add-batch' });
|
|
90
|
+
process.exit(2);
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
const results = [];
|
|
94
|
+
let failed = 0;
|
|
95
|
+
for (const task of tasks) {
|
|
96
|
+
const params = {
|
|
97
|
+
title: task.title,
|
|
98
|
+
...(task.description && { description: task.description }),
|
|
99
|
+
parent: task.parent ?? defaultParent,
|
|
100
|
+
...(task.type && { type: task.type }),
|
|
101
|
+
...(task.priority && { priority: task.priority }),
|
|
102
|
+
...(task.size && { size: task.size }),
|
|
103
|
+
...(task.acceptance?.length && { acceptance: task.acceptance }),
|
|
104
|
+
...(task.depends?.length && { depends: task.depends }),
|
|
105
|
+
...(task.labels?.length && { labels: task.labels }),
|
|
106
|
+
...(task.phase && { phase: task.phase }),
|
|
107
|
+
...(task.notes && { notes: task.notes }),
|
|
108
|
+
...(task.files?.length && { files: task.files }),
|
|
109
|
+
...(dryRun && { dryRun: true }),
|
|
110
|
+
};
|
|
111
|
+
const response = await dispatchRaw('mutate', 'tasks', 'add', params);
|
|
112
|
+
if (response.success) {
|
|
113
|
+
const data = response.data;
|
|
114
|
+
const taskData = data?.task;
|
|
115
|
+
results.push({ title: task.title, id: taskData?.id });
|
|
116
|
+
}
|
|
117
|
+
else {
|
|
118
|
+
failed++;
|
|
119
|
+
results.push({
|
|
120
|
+
title: task.title,
|
|
121
|
+
error: response.error?.message ?? 'Unknown error',
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
const output = {
|
|
126
|
+
total: tasks.length,
|
|
127
|
+
created: tasks.length - failed,
|
|
128
|
+
failed,
|
|
129
|
+
dryRun: dryRun ?? false,
|
|
130
|
+
results,
|
|
131
|
+
};
|
|
132
|
+
if (failed > 0) {
|
|
133
|
+
cliOutput(output, {
|
|
134
|
+
command: 'add-batch',
|
|
135
|
+
message: `${failed} of ${tasks.length} tasks failed`,
|
|
136
|
+
operation: 'tasks.add-batch',
|
|
137
|
+
});
|
|
138
|
+
process.exit(1);
|
|
139
|
+
}
|
|
140
|
+
else {
|
|
141
|
+
cliOutput(output, {
|
|
142
|
+
command: 'add-batch',
|
|
143
|
+
operation: 'tasks.add-batch',
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
});
|
|
148
|
+
//# sourceMappingURL=add-batch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-batch.js","sourceRoot":"","sources":["../../../src/cli/commands/add-batch.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAkB5D;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC;IAC3C,IAAI,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE,mDAAmD,EAAE;IAC7F,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,6DAA6D;SAC3E;QACD,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,8DAA8D;SAC5E;QACD,SAAS,EAAE;YACT,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,sDAAsD;SACpE;KACF;IACD,KAAK,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE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AC;oBACX,KAAK,EAAE,IAAI,CAAC,KAAK;oBACjB,KAAK,EAAE,QAAQ,CAAC,KAAK,EAAE,OAAO,IAAI,eAAe;iBAClD,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,MAAM,MAAM,GAAG;YACb,KAAK,EAAE,KAAK,CAAC,MAAM;YACnB,OAAO,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM;YAC9B,MAAM;YACN,MAAM,EAAE,MAAM,IAAI,KAAK;YACvB,OAAO;SACR,CAAC;QAEF,IAAI,MAAM,GAAG,CAAC,EAAE,CAAC;YACf,SAAS,CAAC,MAAM,EAAE;gBAChB,OAAO,EAAE,WAAW;gBACpB,OAAO,EAAE,GAAG,MAAM,OAAO,KAAK,CAAC,MAAM,eAAe;gBACpD,SAAS,EAAE,iBAAiB;aAC7B,CAAC,CAAC;YACH,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAClB,CAAC;aAAM,CAAC;YACN,SAAS,CAAC,MAAM,EAAE;gBAChB,OAAO,EAAE,WAAW;gBACpB,SAAS,EAAE,iBAAiB;aAC7B,CAAC,CAAC;QACL,CAAC;IACH,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI add command — create a new task.
|
|
3
|
+
*
|
|
4
|
+
* Task CLI command convention: CLEO intentionally exposes task operations as
|
|
5
|
+
* split root commands (`add`, `update`, `list`, etc.) instead of a
|
|
6
|
+
* `tasks.ts` command group. Keep CLI-only compatibility aliases in the
|
|
7
|
+
* command file that owns the flag, then dispatch only canonical task params.
|
|
8
|
+
*
|
|
9
|
+
* Dispatches to `tasks.add` via dispatchRaw and emits advisory warnings and
|
|
10
|
+
* duplicate / dry-run notices from the response payload.
|
|
11
|
+
*
|
|
12
|
+
* @task T4460
|
|
13
|
+
* @epic T4454
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* cleo add — create a new task.
|
|
17
|
+
*
|
|
18
|
+
* Accepts a positional title plus a full suite of optional flags that map
|
|
19
|
+
* directly to the `tasks.add` operation parameters. Pipe-separated
|
|
20
|
+
* acceptance criteria (`--acceptance "AC1|AC2"`) and JSON array format are
|
|
21
|
+
* both supported.
|
|
22
|
+
*
|
|
23
|
+
* T944 additions: `--role` (intent axis) and `--scope` (granularity axis).
|
|
24
|
+
* `--kind` is accepted as a backward-compatible alias for `--role`.
|
|
25
|
+
* `--parent-id` and `--note` are CLI-only compatibility aliases for
|
|
26
|
+
* `--parent` and `--notes`.
|
|
27
|
+
*
|
|
28
|
+
* T1329: In strict mode, if no explicit `--parent` is provided and the task
|
|
29
|
+
* type is not 'epic', the command attempts to infer `--parent` from the active
|
|
30
|
+
* session's current task (`session.taskWork.taskId`). This reduces friction for
|
|
31
|
+
* creating subtasks under the active focus task.
|
|
32
|
+
*/
|
|
33
|
+
export declare const addCommand: import("citty").CommandDef<{
|
|
34
|
+
readonly title: {
|
|
35
|
+
readonly type: "positional";
|
|
36
|
+
readonly description: "Task title (3–500 characters)";
|
|
37
|
+
readonly required: false;
|
|
38
|
+
};
|
|
39
|
+
readonly status: {
|
|
40
|
+
readonly type: "string";
|
|
41
|
+
readonly alias: "s";
|
|
42
|
+
readonly description: "Task status (pending | active | blocked | done)";
|
|
43
|
+
};
|
|
44
|
+
readonly priority: {
|
|
45
|
+
readonly type: "string";
|
|
46
|
+
readonly alias: "p";
|
|
47
|
+
readonly description: "Task priority (low | medium | high | critical)";
|
|
48
|
+
};
|
|
49
|
+
readonly type: {
|
|
50
|
+
readonly type: "string";
|
|
51
|
+
readonly alias: "t";
|
|
52
|
+
readonly description: "Task type (epic | task | subtask | bug)";
|
|
53
|
+
};
|
|
54
|
+
readonly parent: {
|
|
55
|
+
readonly type: "string";
|
|
56
|
+
readonly description: "Parent task ID (makes this task a subtask)";
|
|
57
|
+
};
|
|
58
|
+
readonly 'parent-id': {
|
|
59
|
+
readonly type: "string";
|
|
60
|
+
readonly description: "Alias for --parent (legacy parentId compatibility)";
|
|
61
|
+
};
|
|
62
|
+
readonly size: {
|
|
63
|
+
readonly type: "string";
|
|
64
|
+
readonly description: "Scope size estimate (small | medium | large)";
|
|
65
|
+
};
|
|
66
|
+
readonly phase: {
|
|
67
|
+
readonly type: "string";
|
|
68
|
+
readonly alias: "P";
|
|
69
|
+
readonly description: "Phase slug to assign the task to";
|
|
70
|
+
};
|
|
71
|
+
readonly description: {
|
|
72
|
+
readonly type: "string";
|
|
73
|
+
readonly alias: "d";
|
|
74
|
+
readonly description: "Detailed task description (must differ meaningfully from title)";
|
|
75
|
+
};
|
|
76
|
+
readonly desc: {
|
|
77
|
+
readonly type: "string";
|
|
78
|
+
readonly description: "Task description (alias for --description)";
|
|
79
|
+
};
|
|
80
|
+
readonly labels: {
|
|
81
|
+
readonly type: "string";
|
|
82
|
+
readonly alias: "l";
|
|
83
|
+
readonly description: "Comma-separated labels";
|
|
84
|
+
};
|
|
85
|
+
readonly files: {
|
|
86
|
+
readonly type: "string";
|
|
87
|
+
readonly description: "Comma-separated file paths";
|
|
88
|
+
};
|
|
89
|
+
readonly 'files-infer': {
|
|
90
|
+
readonly type: "boolean";
|
|
91
|
+
readonly description: "Infer touched files from task title and description using GitNexus";
|
|
92
|
+
};
|
|
93
|
+
readonly acceptance: {
|
|
94
|
+
readonly type: "string";
|
|
95
|
+
readonly description: "Pipe-separated acceptance criteria (e.g. \"AC1|AC2|AC3\")";
|
|
96
|
+
};
|
|
97
|
+
readonly depends: {
|
|
98
|
+
readonly type: "string";
|
|
99
|
+
readonly alias: "D";
|
|
100
|
+
readonly description: "Comma-separated dependency task IDs";
|
|
101
|
+
};
|
|
102
|
+
readonly notes: {
|
|
103
|
+
readonly type: "string";
|
|
104
|
+
readonly description: "Initial note entry for the task";
|
|
105
|
+
};
|
|
106
|
+
readonly note: {
|
|
107
|
+
readonly type: "string";
|
|
108
|
+
readonly description: "Alias for --notes";
|
|
109
|
+
};
|
|
110
|
+
readonly position: {
|
|
111
|
+
readonly type: "string";
|
|
112
|
+
readonly description: "Position within sibling group";
|
|
113
|
+
};
|
|
114
|
+
readonly 'parent-search': {
|
|
115
|
+
readonly type: "string";
|
|
116
|
+
readonly description: "Resolve parent by title substring instead of exact ID (T090)";
|
|
117
|
+
};
|
|
118
|
+
readonly 'add-phase': {
|
|
119
|
+
readonly type: "boolean";
|
|
120
|
+
readonly description: "Create new phase if it does not exist";
|
|
121
|
+
};
|
|
122
|
+
readonly 'dry-run': {
|
|
123
|
+
readonly type: "boolean";
|
|
124
|
+
readonly description: "Show what would be created without making changes";
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* Task role axis — intent of work.
|
|
128
|
+
* Values: work | research | experiment | bug | spike | release
|
|
129
|
+
* @task T944
|
|
130
|
+
*/
|
|
131
|
+
readonly role: {
|
|
132
|
+
readonly type: "string";
|
|
133
|
+
readonly description: "Task role / intent axis (work|research|experiment|bug|spike|release) — orthogonal to --type (T944)";
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* Backward-compatible alias for --role (fractal-ontology spec used "kind").
|
|
137
|
+
* @task T944
|
|
138
|
+
*/
|
|
139
|
+
readonly kind: {
|
|
140
|
+
readonly type: "string";
|
|
141
|
+
readonly description: "Alias for --role (T944 fractal-ontology compat)";
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* Task scope axis — granularity of work.
|
|
145
|
+
* Values: project | feature | unit
|
|
146
|
+
* @task T944
|
|
147
|
+
*/
|
|
148
|
+
readonly scope: {
|
|
149
|
+
readonly type: "string";
|
|
150
|
+
readonly description: "Task scope / granularity axis (project|feature|unit) — orthogonal to --type (T944)";
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* Bug severity. Only valid when --role bug.
|
|
154
|
+
* Values: P0 | P1 | P2 | P3
|
|
155
|
+
* @task T944
|
|
156
|
+
*/
|
|
157
|
+
readonly severity: {
|
|
158
|
+
readonly type: "string";
|
|
159
|
+
readonly description: "Bug severity (P0|P1|P2|P3) — only valid with --role bug (T944)";
|
|
160
|
+
};
|
|
161
|
+
}>;
|
|
162
|
+
//# sourceMappingURL=add.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/add.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAOH;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkGnB;;;;OAIG;;;;;IAMH;;;OAGG;;;;;IAKH;;;;OAIG;;;;;IAMH;;;;OAIG;;;;;EAwGL,CAAC"}
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI add command — create a new task.
|
|
3
|
+
*
|
|
4
|
+
* Task CLI command convention: CLEO intentionally exposes task operations as
|
|
5
|
+
* split root commands (`add`, `update`, `list`, etc.) instead of a
|
|
6
|
+
* `tasks.ts` command group. Keep CLI-only compatibility aliases in the
|
|
7
|
+
* command file that owns the flag, then dispatch only canonical task params.
|
|
8
|
+
*
|
|
9
|
+
* Dispatches to `tasks.add` via dispatchRaw and emits advisory warnings and
|
|
10
|
+
* duplicate / dry-run notices from the response payload.
|
|
11
|
+
*
|
|
12
|
+
* @task T4460
|
|
13
|
+
* @epic T4454
|
|
14
|
+
*/
|
|
15
|
+
import { getProjectRoot, inferTaskAddParams } from '@cleocode/core';
|
|
16
|
+
import { defineCommand, showUsage } from 'citty';
|
|
17
|
+
import { dispatchRaw, handleRawError } from '../../dispatch/adapters/cli.js';
|
|
18
|
+
import { cliOutput } from '../renderers/index.js';
|
|
19
|
+
/**
|
|
20
|
+
* cleo add — create a new task.
|
|
21
|
+
*
|
|
22
|
+
* Accepts a positional title plus a full suite of optional flags that map
|
|
23
|
+
* directly to the `tasks.add` operation parameters. Pipe-separated
|
|
24
|
+
* acceptance criteria (`--acceptance "AC1|AC2"`) and JSON array format are
|
|
25
|
+
* both supported.
|
|
26
|
+
*
|
|
27
|
+
* T944 additions: `--role` (intent axis) and `--scope` (granularity axis).
|
|
28
|
+
* `--kind` is accepted as a backward-compatible alias for `--role`.
|
|
29
|
+
* `--parent-id` and `--note` are CLI-only compatibility aliases for
|
|
30
|
+
* `--parent` and `--notes`.
|
|
31
|
+
*
|
|
32
|
+
* T1329: In strict mode, if no explicit `--parent` is provided and the task
|
|
33
|
+
* type is not 'epic', the command attempts to infer `--parent` from the active
|
|
34
|
+
* session's current task (`session.taskWork.taskId`). This reduces friction for
|
|
35
|
+
* creating subtasks under the active focus task.
|
|
36
|
+
*/
|
|
37
|
+
export const addCommand = defineCommand({
|
|
38
|
+
meta: {
|
|
39
|
+
name: 'add',
|
|
40
|
+
description: 'Create a new task (requires active session)',
|
|
41
|
+
},
|
|
42
|
+
args: {
|
|
43
|
+
title: {
|
|
44
|
+
type: 'positional',
|
|
45
|
+
description: 'Task title (3–500 characters)',
|
|
46
|
+
required: false,
|
|
47
|
+
},
|
|
48
|
+
status: {
|
|
49
|
+
type: 'string',
|
|
50
|
+
alias: 's',
|
|
51
|
+
description: 'Task status (pending | active | blocked | done)',
|
|
52
|
+
},
|
|
53
|
+
priority: {
|
|
54
|
+
type: 'string',
|
|
55
|
+
alias: 'p',
|
|
56
|
+
description: 'Task priority (low | medium | high | critical)',
|
|
57
|
+
},
|
|
58
|
+
type: {
|
|
59
|
+
type: 'string',
|
|
60
|
+
alias: 't',
|
|
61
|
+
description: 'Task type (epic | task | subtask | bug)',
|
|
62
|
+
},
|
|
63
|
+
parent: {
|
|
64
|
+
type: 'string',
|
|
65
|
+
description: 'Parent task ID (makes this task a subtask)',
|
|
66
|
+
},
|
|
67
|
+
'parent-id': {
|
|
68
|
+
type: 'string',
|
|
69
|
+
description: 'Alias for --parent (legacy parentId compatibility)',
|
|
70
|
+
},
|
|
71
|
+
size: {
|
|
72
|
+
type: 'string',
|
|
73
|
+
description: 'Scope size estimate (small | medium | large)',
|
|
74
|
+
},
|
|
75
|
+
phase: {
|
|
76
|
+
type: 'string',
|
|
77
|
+
alias: 'P',
|
|
78
|
+
description: 'Phase slug to assign the task to',
|
|
79
|
+
},
|
|
80
|
+
description: {
|
|
81
|
+
type: 'string',
|
|
82
|
+
alias: 'd',
|
|
83
|
+
description: 'Detailed task description (must differ meaningfully from title)',
|
|
84
|
+
},
|
|
85
|
+
desc: {
|
|
86
|
+
type: 'string',
|
|
87
|
+
description: 'Task description (alias for --description)',
|
|
88
|
+
},
|
|
89
|
+
labels: {
|
|
90
|
+
type: 'string',
|
|
91
|
+
alias: 'l',
|
|
92
|
+
description: 'Comma-separated labels',
|
|
93
|
+
},
|
|
94
|
+
files: {
|
|
95
|
+
type: 'string',
|
|
96
|
+
description: 'Comma-separated file paths',
|
|
97
|
+
},
|
|
98
|
+
'files-infer': {
|
|
99
|
+
type: 'boolean',
|
|
100
|
+
description: 'Infer touched files from task title and description using GitNexus',
|
|
101
|
+
},
|
|
102
|
+
acceptance: {
|
|
103
|
+
type: 'string',
|
|
104
|
+
description: 'Pipe-separated acceptance criteria (e.g. "AC1|AC2|AC3")',
|
|
105
|
+
},
|
|
106
|
+
depends: {
|
|
107
|
+
type: 'string',
|
|
108
|
+
alias: 'D',
|
|
109
|
+
description: 'Comma-separated dependency task IDs',
|
|
110
|
+
},
|
|
111
|
+
notes: {
|
|
112
|
+
type: 'string',
|
|
113
|
+
description: 'Initial note entry for the task',
|
|
114
|
+
},
|
|
115
|
+
note: {
|
|
116
|
+
type: 'string',
|
|
117
|
+
description: 'Alias for --notes',
|
|
118
|
+
},
|
|
119
|
+
position: {
|
|
120
|
+
type: 'string',
|
|
121
|
+
description: 'Position within sibling group',
|
|
122
|
+
},
|
|
123
|
+
'parent-search': {
|
|
124
|
+
type: 'string',
|
|
125
|
+
description: 'Resolve parent by title substring instead of exact ID (T090)',
|
|
126
|
+
},
|
|
127
|
+
'add-phase': {
|
|
128
|
+
type: 'boolean',
|
|
129
|
+
description: 'Create new phase if it does not exist',
|
|
130
|
+
},
|
|
131
|
+
'dry-run': {
|
|
132
|
+
type: 'boolean',
|
|
133
|
+
description: 'Show what would be created without making changes',
|
|
134
|
+
},
|
|
135
|
+
/**
|
|
136
|
+
* Task role axis — intent of work.
|
|
137
|
+
* Values: work | research | experiment | bug | spike | release
|
|
138
|
+
* @task T944
|
|
139
|
+
*/
|
|
140
|
+
role: {
|
|
141
|
+
type: 'string',
|
|
142
|
+
description: 'Task role / intent axis (work|research|experiment|bug|spike|release) — orthogonal to --type (T944)',
|
|
143
|
+
},
|
|
144
|
+
/**
|
|
145
|
+
* Backward-compatible alias for --role (fractal-ontology spec used "kind").
|
|
146
|
+
* @task T944
|
|
147
|
+
*/
|
|
148
|
+
kind: {
|
|
149
|
+
type: 'string',
|
|
150
|
+
description: 'Alias for --role (T944 fractal-ontology compat)',
|
|
151
|
+
},
|
|
152
|
+
/**
|
|
153
|
+
* Task scope axis — granularity of work.
|
|
154
|
+
* Values: project | feature | unit
|
|
155
|
+
* @task T944
|
|
156
|
+
*/
|
|
157
|
+
scope: {
|
|
158
|
+
type: 'string',
|
|
159
|
+
description: 'Task scope / granularity axis (project|feature|unit) — orthogonal to --type (T944)',
|
|
160
|
+
},
|
|
161
|
+
/**
|
|
162
|
+
* Bug severity. Only valid when --role bug.
|
|
163
|
+
* Values: P0 | P1 | P2 | P3
|
|
164
|
+
* @task T944
|
|
165
|
+
*/
|
|
166
|
+
severity: {
|
|
167
|
+
type: 'string',
|
|
168
|
+
description: 'Bug severity (P0|P1|P2|P3) — only valid with --role bug (T944)',
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
async run({ args, cmd }) {
|
|
172
|
+
if (!args.title) {
|
|
173
|
+
await showUsage(cmd);
|
|
174
|
+
return;
|
|
175
|
+
}
|
|
176
|
+
const params = { title: args.title };
|
|
177
|
+
if (args.status !== undefined)
|
|
178
|
+
params['status'] = args.status;
|
|
179
|
+
if (args.priority !== undefined)
|
|
180
|
+
params['priority'] = args.priority;
|
|
181
|
+
if (args.type !== undefined)
|
|
182
|
+
params['type'] = args.type;
|
|
183
|
+
if (args.parent !== undefined)
|
|
184
|
+
params['parent'] = args.parent;
|
|
185
|
+
if (args['parent-id'] !== undefined)
|
|
186
|
+
params['parent'] = params['parent'] ?? args['parent-id'];
|
|
187
|
+
if (args.size !== undefined)
|
|
188
|
+
params['size'] = args.size;
|
|
189
|
+
if (args.phase !== undefined)
|
|
190
|
+
params['phase'] = args.phase;
|
|
191
|
+
if (args['add-phase'] !== undefined)
|
|
192
|
+
params['addPhase'] = args['add-phase'];
|
|
193
|
+
if (args.description !== undefined) {
|
|
194
|
+
params['description'] = args.description;
|
|
195
|
+
}
|
|
196
|
+
else if (args.desc !== undefined) {
|
|
197
|
+
params['description'] = args.desc;
|
|
198
|
+
}
|
|
199
|
+
if (args.labels)
|
|
200
|
+
params['labels'] = args.labels.split(',').map((s) => s.trim());
|
|
201
|
+
if (args.depends)
|
|
202
|
+
params['depends'] = args.depends.split(',').map((s) => s.trim());
|
|
203
|
+
if (args.notes !== undefined)
|
|
204
|
+
params['notes'] = args.notes;
|
|
205
|
+
if (args.note !== undefined)
|
|
206
|
+
params['notes'] = params['notes'] ?? args.note;
|
|
207
|
+
if (args.position !== undefined)
|
|
208
|
+
params['position'] = Number.parseInt(args.position, 10);
|
|
209
|
+
if (args['dry-run'] !== undefined)
|
|
210
|
+
params['dryRun'] = args['dry-run'];
|
|
211
|
+
if (args['parent-search'] !== undefined)
|
|
212
|
+
params['parentSearch'] = args['parent-search'];
|
|
213
|
+
// T944: orthogonal axes — --kind is a CLI alias for --role (ADR-057 D2)
|
|
214
|
+
// Aliasing lives at the CLI layer; wire format only uses 'role'.
|
|
215
|
+
if (args.role !== undefined)
|
|
216
|
+
params['role'] = args.role;
|
|
217
|
+
if (args.kind !== undefined)
|
|
218
|
+
params['role'] = params['role'] ?? args.kind;
|
|
219
|
+
if (args.scope !== undefined)
|
|
220
|
+
params['scope'] = args.scope;
|
|
221
|
+
if (args.severity !== undefined)
|
|
222
|
+
params['severity'] = args.severity;
|
|
223
|
+
// T1490: Delegate file inference, acceptance parsing, and parent inference
|
|
224
|
+
// to Core so the CLI layer stays a thin parse-and-delegate shell.
|
|
225
|
+
// Stderr output (warnings, notices) remains here in the CLI layer.
|
|
226
|
+
const inferred = await inferTaskAddParams(getProjectRoot(), {
|
|
227
|
+
title: args.title,
|
|
228
|
+
description: (args.description ?? args.desc),
|
|
229
|
+
filesInfer: args['files-infer'],
|
|
230
|
+
filesRaw: args.files,
|
|
231
|
+
acceptanceRaw: args.acceptance,
|
|
232
|
+
parentRaw: params['parent'],
|
|
233
|
+
type: params['type'],
|
|
234
|
+
});
|
|
235
|
+
// Emit stderr notices (CLI responsibility — Core never writes to stderr)
|
|
236
|
+
if (inferred.filesInferWarning) {
|
|
237
|
+
process.stderr.write('⚠ No files inferred by GitNexus. Use --files to specify files explicitly, or leave empty for atomicity check at spawn time.\n');
|
|
238
|
+
}
|
|
239
|
+
if (inferred.files)
|
|
240
|
+
params['files'] = inferred.files;
|
|
241
|
+
if (inferred.acceptance)
|
|
242
|
+
params['acceptance'] = inferred.acceptance;
|
|
243
|
+
// T1329: parent inference from active session's current task
|
|
244
|
+
if (inferred.inferredParent) {
|
|
245
|
+
params['parent'] = inferred.inferredParent;
|
|
246
|
+
process.stderr.write(`[cleo add] inferred --parent from current task: ${inferred.inferredParent}\n`);
|
|
247
|
+
}
|
|
248
|
+
const response = await dispatchRaw('mutate', 'tasks', 'add', params);
|
|
249
|
+
if (!response.success) {
|
|
250
|
+
handleRawError(response, { command: 'add', operation: 'tasks.add' });
|
|
251
|
+
}
|
|
252
|
+
const data = response.data;
|
|
253
|
+
// Display advisory warnings (T089: orphan prevention, etc.)
|
|
254
|
+
const dataWarnings = data?.warnings;
|
|
255
|
+
if (dataWarnings?.length) {
|
|
256
|
+
for (const w of dataWarnings) {
|
|
257
|
+
process.stderr.write(`⚠ ${w}\n`);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
if (data?.duplicate) {
|
|
261
|
+
cliOutput(data, {
|
|
262
|
+
command: 'add',
|
|
263
|
+
message: 'Task with identical title was created recently',
|
|
264
|
+
operation: 'tasks.add',
|
|
265
|
+
});
|
|
266
|
+
}
|
|
267
|
+
else if (data?.dryRun) {
|
|
268
|
+
cliOutput(data, {
|
|
269
|
+
command: 'add',
|
|
270
|
+
message: 'Dry run - no changes made',
|
|
271
|
+
operation: 'tasks.add',
|
|
272
|
+
});
|
|
273
|
+
}
|
|
274
|
+
else {
|
|
275
|
+
cliOutput(data, { command: 'add', operation: 'tasks.add' });
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
});
|
|
279
|
+
//# sourceMappingURL=add.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add.js","sourceRoot":"","sources":["../../../src/cli/commands/add.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC;IACtC,IAAI,EAAE;QACJ,IAAI,EAAE,KAAK;QACX,WAAW,EAAE,6CAA6C;KAC3D;IACD,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,+BAA+B;YAC5C,QAAQ,EAAE,KAAK;SAChB;QACD,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,GAAG;YACV,WAAW,EAAE,iDAAiD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E,CAAC;YACzB,KAAK,MAAM,CAAC,IAAI,YAAY,EAAE,CAAC;gBAC7B,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YACnC,CAAC;QACH,CAAC;QAED,IAAI,IAAI,EAAE,SAAS,EAAE,CAAC;YACpB,SAAS,CAAC,IAAI,EAAE;gBACd,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,gDAAgD;gBACzD,SAAS,EAAE,WAAW;aACvB,CAAC,CAAC;QACL,CAAC;aAAM,IAAI,IAAI,EAAE,MAAM,EAAE,CAAC;YACxB,SAAS,CAAC,IAAI,EAAE;gBACd,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,2BAA2B;gBACpC,SAAS,EAAE,WAAW;aACvB,CAAC,CAAC;QACL,CAAC;aAAM,CAAC;YACN,SAAS,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC,CAAC;QAC9D,CAAC;IACH,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI command group for system administration and diagnostics.
|
|
3
|
+
*
|
|
4
|
+
* Provides CLI access to admin.version, admin.health, admin.stats,
|
|
5
|
+
* admin.runtime, admin.smoke, admin.paths, admin.scaffold-hub,
|
|
6
|
+
* admin.cleanup, admin.job, admin.job.cancel, admin.install.global,
|
|
7
|
+
* and admin.context.inject via `cleo admin <subcommand>`.
|
|
8
|
+
*
|
|
9
|
+
* The `job` subgroup uses an explicit parent `run()` that delegates to
|
|
10
|
+
* `job list` when no subcommand is given (citty has no `isDefault` concept).
|
|
11
|
+
*
|
|
12
|
+
* @task T132
|
|
13
|
+
* @task T480 — add cleanup, job, job.cancel, install.global, context.inject subcommands.
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* Root admin command group — registers all admin subcommands.
|
|
17
|
+
*
|
|
18
|
+
* Dispatches to the `admin` domain registry operations.
|
|
19
|
+
*
|
|
20
|
+
* @task T132
|
|
21
|
+
* @task T480
|
|
22
|
+
*/
|
|
23
|
+
export declare const adminCommand: import("citty").CommandDef<import("citty").ArgsDef>;
|
|
24
|
+
//# sourceMappingURL=admin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/admin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAqUH;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,qDAoBvB,CAAC"}
|