@cleocode/cleo 2026.5.3 → 2026.5.5
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/cli/index.js +122 -100
- package/dist/cli/index.js.map +4 -4
- package/package.json +9 -12
- package/dist/backfill/audit-columns.d.ts +0 -105
- package/dist/backfill/audit-columns.d.ts.map +0 -1
- package/dist/backfill/audit-columns.js +0 -258
- package/dist/backfill/audit-columns.js.map +0 -1
- package/dist/cli/commands/adapter.d.ts +0 -28
- package/dist/cli/commands/adapter.d.ts.map +0 -1
- package/dist/cli/commands/adapter.js +0 -119
- package/dist/cli/commands/adapter.js.map +0 -1
- package/dist/cli/commands/add-batch.d.ts +0 -33
- package/dist/cli/commands/add-batch.d.ts.map +0 -1
- package/dist/cli/commands/add-batch.js +0 -148
- package/dist/cli/commands/add-batch.js.map +0 -1
- package/dist/cli/commands/add.d.ts +0 -162
- package/dist/cli/commands/add.d.ts.map +0 -1
- package/dist/cli/commands/add.js +0 -279
- package/dist/cli/commands/add.js.map +0 -1
- package/dist/cli/commands/admin.d.ts +0 -24
- package/dist/cli/commands/admin.d.ts.map +0 -1
- package/dist/cli/commands/admin.js +0 -283
- package/dist/cli/commands/admin.js.map +0 -1
- package/dist/cli/commands/adr.d.ts +0 -33
- package/dist/cli/commands/adr.d.ts.map +0 -1
- package/dist/cli/commands/adr.js +0 -147
- package/dist/cli/commands/adr.js.map +0 -1
- package/dist/cli/commands/agent-profile-status.d.ts +0 -98
- package/dist/cli/commands/agent-profile-status.d.ts.map +0 -1
- package/dist/cli/commands/agent-profile-status.js +0 -71
- package/dist/cli/commands/agent-profile-status.js.map +0 -1
- package/dist/cli/commands/agent.d.ts +0 -47
- package/dist/cli/commands/agent.d.ts.map +0 -1
- package/dist/cli/commands/agent.js +0 -2976
- package/dist/cli/commands/agent.js.map +0 -1
- package/dist/cli/commands/analyze.d.ts +0 -21
- package/dist/cli/commands/analyze.d.ts.map +0 -1
- package/dist/cli/commands/analyze.js +0 -32
- package/dist/cli/commands/analyze.js.map +0 -1
- package/dist/cli/commands/archive-stats.d.ts +0 -66
- package/dist/cli/commands/archive-stats.d.ts.map +0 -1
- package/dist/cli/commands/archive-stats.js +0 -93
- package/dist/cli/commands/archive-stats.js.map +0 -1
- package/dist/cli/commands/archive.d.ts +0 -42
- package/dist/cli/commands/archive.d.ts.map +0 -1
- package/dist/cli/commands/archive.js +0 -59
- package/dist/cli/commands/archive.js.map +0 -1
- package/dist/cli/commands/audit.d.ts +0 -22
- package/dist/cli/commands/audit.d.ts.map +0 -1
- package/dist/cli/commands/audit.js +0 -137
- package/dist/cli/commands/audit.js.map +0 -1
- package/dist/cli/commands/backfill.d.ts +0 -56
- package/dist/cli/commands/backfill.d.ts.map +0 -1
- package/dist/cli/commands/backfill.js +0 -161
- package/dist/cli/commands/backfill.js.map +0 -1
- package/dist/cli/commands/backup-inspect.d.ts +0 -33
- package/dist/cli/commands/backup-inspect.d.ts.map +0 -1
- package/dist/cli/commands/backup-inspect.js +0 -430
- package/dist/cli/commands/backup-inspect.js.map +0 -1
- package/dist/cli/commands/backup.d.ts +0 -23
- package/dist/cli/commands/backup.d.ts.map +0 -1
- package/dist/cli/commands/backup.js +0 -564
- package/dist/cli/commands/backup.js.map +0 -1
- package/dist/cli/commands/blockers.d.ts +0 -20
- package/dist/cli/commands/blockers.d.ts.map +0 -1
- package/dist/cli/commands/blockers.js +0 -31
- package/dist/cli/commands/blockers.js.map +0 -1
- package/dist/cli/commands/brain.d.ts +0 -37
- package/dist/cli/commands/brain.d.ts.map +0 -1
- package/dist/cli/commands/brain.js +0 -445
- package/dist/cli/commands/brain.js.map +0 -1
- package/dist/cli/commands/briefing.d.ts +0 -52
- package/dist/cli/commands/briefing.d.ts.map +0 -1
- package/dist/cli/commands/briefing.js +0 -69
- package/dist/cli/commands/briefing.js.map +0 -1
- package/dist/cli/commands/bug.d.ts +0 -61
- package/dist/cli/commands/bug.d.ts.map +0 -1
- package/dist/cli/commands/bug.js +0 -198
- package/dist/cli/commands/bug.js.map +0 -1
- package/dist/cli/commands/cancel.d.ts +0 -26
- package/dist/cli/commands/cancel.d.ts.map +0 -1
- package/dist/cli/commands/cancel.js +0 -40
- package/dist/cli/commands/cancel.js.map +0 -1
- package/dist/cli/commands/cant.d.ts +0 -13
- package/dist/cli/commands/cant.d.ts.map +0 -1
- package/dist/cli/commands/cant.js +0 -245
- package/dist/cli/commands/cant.js.map +0 -1
- package/dist/cli/commands/chain.d.ts +0 -24
- package/dist/cli/commands/chain.d.ts.map +0 -1
- package/dist/cli/commands/chain.js +0 -116
- package/dist/cli/commands/chain.js.map +0 -1
- package/dist/cli/commands/check.d.ts +0 -18
- package/dist/cli/commands/check.d.ts.map +0 -1
- package/dist/cli/commands/check.js +0 -280
- package/dist/cli/commands/check.js.map +0 -1
- package/dist/cli/commands/checkpoint.d.ts +0 -27
- package/dist/cli/commands/checkpoint.d.ts.map +0 -1
- package/dist/cli/commands/checkpoint.js +0 -105
- package/dist/cli/commands/checkpoint.js.map +0 -1
- package/dist/cli/commands/claim.d.ts +0 -35
- package/dist/cli/commands/claim.d.ts.map +0 -1
- package/dist/cli/commands/claim.js +0 -35
- package/dist/cli/commands/claim.js.map +0 -1
- package/dist/cli/commands/code.d.ts +0 -22
- package/dist/cli/commands/code.d.ts.map +0 -1
- package/dist/cli/commands/code.js +0 -161
- package/dist/cli/commands/code.js.map +0 -1
- package/dist/cli/commands/complete.d.ts +0 -58
- package/dist/cli/commands/complete.d.ts.map +0 -1
- package/dist/cli/commands/complete.js +0 -83
- package/dist/cli/commands/complete.js.map +0 -1
- package/dist/cli/commands/complexity.d.ts +0 -13
- package/dist/cli/commands/complexity.d.ts.map +0 -1
- package/dist/cli/commands/complexity.js +0 -32
- package/dist/cli/commands/complexity.js.map +0 -1
- package/dist/cli/commands/compliance.d.ts +0 -27
- package/dist/cli/commands/compliance.d.ts.map +0 -1
- package/dist/cli/commands/compliance.js +0 -233
- package/dist/cli/commands/compliance.js.map +0 -1
- package/dist/cli/commands/conduit.d.ts +0 -28
- package/dist/cli/commands/conduit.d.ts.map +0 -1
- package/dist/cli/commands/conduit.js +0 -279
- package/dist/cli/commands/conduit.js.map +0 -1
- package/dist/cli/commands/config.d.ts +0 -25
- package/dist/cli/commands/config.d.ts.map +0 -1
- package/dist/cli/commands/config.js +0 -132
- package/dist/cli/commands/config.js.map +0 -1
- package/dist/cli/commands/consensus.d.ts +0 -21
- package/dist/cli/commands/consensus.d.ts.map +0 -1
- package/dist/cli/commands/consensus.js +0 -100
- package/dist/cli/commands/consensus.js.map +0 -1
- package/dist/cli/commands/context.d.ts +0 -19
- package/dist/cli/commands/context.d.ts.map +0 -1
- package/dist/cli/commands/context.js +0 -111
- package/dist/cli/commands/context.js.map +0 -1
- package/dist/cli/commands/contribution.d.ts +0 -21
- package/dist/cli/commands/contribution.d.ts.map +0 -1
- package/dist/cli/commands/contribution.js +0 -90
- package/dist/cli/commands/contribution.js.map +0 -1
- package/dist/cli/commands/current.d.ts +0 -18
- package/dist/cli/commands/current.d.ts.map +0 -1
- package/dist/cli/commands/current.js +0 -28
- package/dist/cli/commands/current.js.map +0 -1
- package/dist/cli/commands/daemon.d.ts +0 -36
- package/dist/cli/commands/daemon.d.ts.map +0 -1
- package/dist/cli/commands/daemon.js +0 -223
- package/dist/cli/commands/daemon.js.map +0 -1
- package/dist/cli/commands/dash.d.ts +0 -23
- package/dist/cli/commands/dash.d.ts.map +0 -1
- package/dist/cli/commands/dash.js +0 -38
- package/dist/cli/commands/dash.js.map +0 -1
- package/dist/cli/commands/decomposition.d.ts +0 -13
- package/dist/cli/commands/decomposition.d.ts.map +0 -1
- package/dist/cli/commands/decomposition.js +0 -92
- package/dist/cli/commands/decomposition.js.map +0 -1
- package/dist/cli/commands/delete.d.ts +0 -29
- package/dist/cli/commands/delete.d.ts.map +0 -1
- package/dist/cli/commands/delete.js +0 -55
- package/dist/cli/commands/delete.js.map +0 -1
- package/dist/cli/commands/deps.d.ts +0 -45
- package/dist/cli/commands/deps.d.ts.map +0 -1
- package/dist/cli/commands/deps.js +0 -170
- package/dist/cli/commands/deps.js.map +0 -1
- package/dist/cli/commands/detect-drift.d.ts +0 -23
- package/dist/cli/commands/detect-drift.d.ts.map +0 -1
- package/dist/cli/commands/detect-drift.js +0 -440
- package/dist/cli/commands/detect-drift.js.map +0 -1
- package/dist/cli/commands/detect.d.ts +0 -3
- package/dist/cli/commands/detect.d.ts.map +0 -1
- package/dist/cli/commands/detect.js +0 -14
- package/dist/cli/commands/detect.js.map +0 -1
- package/dist/cli/commands/diagnostics.d.ts +0 -19
- package/dist/cli/commands/diagnostics.d.ts.map +0 -1
- package/dist/cli/commands/diagnostics.js +0 -109
- package/dist/cli/commands/diagnostics.js.map +0 -1
- package/dist/cli/commands/docs.d.ts +0 -25
- package/dist/cli/commands/docs.d.ts.map +0 -1
- package/dist/cli/commands/docs.js +0 -798
- package/dist/cli/commands/docs.js.map +0 -1
- package/dist/cli/commands/doctor-projects.d.ts +0 -101
- package/dist/cli/commands/doctor-projects.d.ts.map +0 -1
- package/dist/cli/commands/doctor-projects.js +0 -188
- package/dist/cli/commands/doctor-projects.js.map +0 -1
- package/dist/cli/commands/doctor.d.ts +0 -66
- package/dist/cli/commands/doctor.d.ts.map +0 -1
- package/dist/cli/commands/doctor.js +0 -178
- package/dist/cli/commands/doctor.js.map +0 -1
- package/dist/cli/commands/dynamic.d.ts +0 -15
- package/dist/cli/commands/dynamic.d.ts.map +0 -1
- package/dist/cli/commands/dynamic.js +0 -21
- package/dist/cli/commands/dynamic.js.map +0 -1
- package/dist/cli/commands/exists.d.ts +0 -13
- package/dist/cli/commands/exists.d.ts.map +0 -1
- package/dist/cli/commands/exists.js +0 -40
- package/dist/cli/commands/exists.js.map +0 -1
- package/dist/cli/commands/export-tasks.d.ts +0 -46
- package/dist/cli/commands/export-tasks.d.ts.map +0 -1
- package/dist/cli/commands/export-tasks.js +0 -81
- package/dist/cli/commands/export-tasks.js.map +0 -1
- package/dist/cli/commands/export.d.ts +0 -35
- package/dist/cli/commands/export.d.ts.map +0 -1
- package/dist/cli/commands/export.js +0 -68
- package/dist/cli/commands/export.js.map +0 -1
- package/dist/cli/commands/find.d.ts +0 -54
- package/dist/cli/commands/find.d.ts.map +0 -1
- package/dist/cli/commands/find.js +0 -92
- package/dist/cli/commands/find.js.map +0 -1
- package/dist/cli/commands/gc.d.ts +0 -25
- package/dist/cli/commands/gc.d.ts.map +0 -1
- package/dist/cli/commands/gc.js +0 -165
- package/dist/cli/commands/gc.js.map +0 -1
- package/dist/cli/commands/generate-changelog.d.ts +0 -30
- package/dist/cli/commands/generate-changelog.d.ts.map +0 -1
- package/dist/cli/commands/generate-changelog.js +0 -270
- package/dist/cli/commands/generate-changelog.js.map +0 -1
- package/dist/cli/commands/grade.d.ts +0 -13
- package/dist/cli/commands/grade.d.ts.map +0 -1
- package/dist/cli/commands/grade.js +0 -27
- package/dist/cli/commands/grade.js.map +0 -1
- package/dist/cli/commands/history.d.ts +0 -13
- package/dist/cli/commands/history.d.ts.map +0 -1
- package/dist/cli/commands/history.js +0 -65
- package/dist/cli/commands/history.js.map +0 -1
- package/dist/cli/commands/import-tasks.d.ts +0 -60
- package/dist/cli/commands/import-tasks.d.ts.map +0 -1
- package/dist/cli/commands/import-tasks.js +0 -83
- package/dist/cli/commands/import-tasks.js.map +0 -1
- package/dist/cli/commands/import.d.ts +0 -42
- package/dist/cli/commands/import.d.ts.map +0 -1
- package/dist/cli/commands/import.js +0 -64
- package/dist/cli/commands/import.js.map +0 -1
- package/dist/cli/commands/init.d.ts +0 -65
- package/dist/cli/commands/init.d.ts.map +0 -1
- package/dist/cli/commands/init.js +0 -122
- package/dist/cli/commands/init.js.map +0 -1
- package/dist/cli/commands/inject.d.ts +0 -41
- package/dist/cli/commands/inject.d.ts.map +0 -1
- package/dist/cli/commands/inject.js +0 -56
- package/dist/cli/commands/inject.js.map +0 -1
- package/dist/cli/commands/install-global.d.ts +0 -48
- package/dist/cli/commands/install-global.d.ts.map +0 -1
- package/dist/cli/commands/install-global.js +0 -104
- package/dist/cli/commands/install-global.js.map +0 -1
- package/dist/cli/commands/intelligence.d.ts +0 -21
- package/dist/cli/commands/intelligence.d.ts.map +0 -1
- package/dist/cli/commands/intelligence.js +0 -145
- package/dist/cli/commands/intelligence.js.map +0 -1
- package/dist/cli/commands/issue.d.ts +0 -23
- package/dist/cli/commands/issue.d.ts.map +0 -1
- package/dist/cli/commands/issue.js +0 -152
- package/dist/cli/commands/issue.js.map +0 -1
- package/dist/cli/commands/labels.d.ts +0 -21
- package/dist/cli/commands/labels.d.ts.map +0 -1
- package/dist/cli/commands/labels.js +0 -65
- package/dist/cli/commands/labels.js.map +0 -1
- package/dist/cli/commands/lifecycle.d.ts +0 -25
- package/dist/cli/commands/lifecycle.d.ts.map +0 -1
- package/dist/cli/commands/lifecycle.js +0 -221
- package/dist/cli/commands/lifecycle.js.map +0 -1
- package/dist/cli/commands/list.d.ts +0 -28
- package/dist/cli/commands/list.d.ts.map +0 -1
- package/dist/cli/commands/list.js +0 -81
- package/dist/cli/commands/list.js.map +0 -1
- package/dist/cli/commands/log.d.ts +0 -36
- package/dist/cli/commands/log.d.ts.map +0 -1
- package/dist/cli/commands/log.js +0 -50
- package/dist/cli/commands/log.js.map +0 -1
- package/dist/cli/commands/manifest.d.ts +0 -15
- package/dist/cli/commands/manifest.d.ts.map +0 -1
- package/dist/cli/commands/manifest.js +0 -334
- package/dist/cli/commands/manifest.js.map +0 -1
- package/dist/cli/commands/map.d.ts +0 -25
- package/dist/cli/commands/map.d.ts.map +0 -1
- package/dist/cli/commands/map.js +0 -37
- package/dist/cli/commands/map.js.map +0 -1
- package/dist/cli/commands/memory.d.ts +0 -48
- package/dist/cli/commands/memory.d.ts.map +0 -1
- package/dist/cli/commands/memory.js +0 -2439
- package/dist/cli/commands/memory.js.map +0 -1
- package/dist/cli/commands/migrate-claude-mem.d.ts +0 -23
- package/dist/cli/commands/migrate-claude-mem.d.ts.map +0 -1
- package/dist/cli/commands/migrate-claude-mem.js +0 -181
- package/dist/cli/commands/migrate-claude-mem.js.map +0 -1
- package/dist/cli/commands/next.d.ts +0 -27
- package/dist/cli/commands/next.d.ts.map +0 -1
- package/dist/cli/commands/next.js +0 -40
- package/dist/cli/commands/next.js.map +0 -1
- package/dist/cli/commands/nexus.d.ts +0 -15
- package/dist/cli/commands/nexus.d.ts.map +0 -1
- package/dist/cli/commands/nexus.js +0 -3377
- package/dist/cli/commands/nexus.js.map +0 -1
- package/dist/cli/commands/ops.d.ts +0 -23
- package/dist/cli/commands/ops.d.ts.map +0 -1
- package/dist/cli/commands/ops.js +0 -35
- package/dist/cli/commands/ops.js.map +0 -1
- package/dist/cli/commands/orchestrate.d.ts +0 -48
- package/dist/cli/commands/orchestrate.d.ts.map +0 -1
- package/dist/cli/commands/orchestrate.js +0 -774
- package/dist/cli/commands/orchestrate.js.map +0 -1
- package/dist/cli/commands/otel.d.ts +0 -30
- package/dist/cli/commands/otel.d.ts.map +0 -1
- package/dist/cli/commands/otel.js +0 -193
- package/dist/cli/commands/otel.js.map +0 -1
- package/dist/cli/commands/phase.d.ts +0 -29
- package/dist/cli/commands/phase.d.ts.map +0 -1
- package/dist/cli/commands/phase.js +0 -189
- package/dist/cli/commands/phase.js.map +0 -1
- package/dist/cli/commands/pivot.d.ts +0 -34
- package/dist/cli/commands/pivot.d.ts.map +0 -1
- package/dist/cli/commands/pivot.js +0 -50
- package/dist/cli/commands/pivot.js.map +0 -1
- package/dist/cli/commands/plan.d.ts +0 -17
- package/dist/cli/commands/plan.d.ts.map +0 -1
- package/dist/cli/commands/plan.js +0 -27
- package/dist/cli/commands/plan.js.map +0 -1
- package/dist/cli/commands/playbook.d.ts +0 -26
- package/dist/cli/commands/playbook.d.ts.map +0 -1
- package/dist/cli/commands/playbook.js +0 -220
- package/dist/cli/commands/playbook.js.map +0 -1
- package/dist/cli/commands/promote.d.ts +0 -19
- package/dist/cli/commands/promote.d.ts.map +0 -1
- package/dist/cli/commands/promote.js +0 -27
- package/dist/cli/commands/promote.js.map +0 -1
- package/dist/cli/commands/provider.d.ts +0 -23
- package/dist/cli/commands/provider.d.ts.map +0 -1
- package/dist/cli/commands/provider.js +0 -168
- package/dist/cli/commands/provider.js.map +0 -1
- package/dist/cli/commands/reason.d.ts +0 -18
- package/dist/cli/commands/reason.d.ts.map +0 -1
- package/dist/cli/commands/reason.js +0 -102
- package/dist/cli/commands/reason.js.map +0 -1
- package/dist/cli/commands/reconcile.d.ts +0 -35
- package/dist/cli/commands/reconcile.d.ts.map +0 -1
- package/dist/cli/commands/reconcile.js +0 -102
- package/dist/cli/commands/reconcile.js.map +0 -1
- package/dist/cli/commands/refresh-memory.d.ts +0 -16
- package/dist/cli/commands/refresh-memory.d.ts.map +0 -1
- package/dist/cli/commands/refresh-memory.js +0 -34
- package/dist/cli/commands/refresh-memory.js.map +0 -1
- package/dist/cli/commands/relates.d.ts +0 -19
- package/dist/cli/commands/relates.d.ts.map +0 -1
- package/dist/cli/commands/relates.js +0 -129
- package/dist/cli/commands/relates.js.map +0 -1
- package/dist/cli/commands/release.d.ts +0 -27
- package/dist/cli/commands/release.d.ts.map +0 -1
- package/dist/cli/commands/release.js +0 -300
- package/dist/cli/commands/release.js.map +0 -1
- package/dist/cli/commands/remote.d.ts +0 -49
- package/dist/cli/commands/remote.d.ts.map +0 -1
- package/dist/cli/commands/remote.js +0 -265
- package/dist/cli/commands/remote.js.map +0 -1
- package/dist/cli/commands/reorder.d.ts +0 -31
- package/dist/cli/commands/reorder.d.ts.map +0 -1
- package/dist/cli/commands/reorder.js +0 -57
- package/dist/cli/commands/reorder.js.map +0 -1
- package/dist/cli/commands/reparent.d.ts +0 -27
- package/dist/cli/commands/reparent.d.ts.map +0 -1
- package/dist/cli/commands/reparent.js +0 -36
- package/dist/cli/commands/reparent.js.map +0 -1
- package/dist/cli/commands/req.d.ts +0 -37
- package/dist/cli/commands/req.d.ts.map +0 -1
- package/dist/cli/commands/req.js +0 -121
- package/dist/cli/commands/req.js.map +0 -1
- package/dist/cli/commands/research.d.ts +0 -25
- package/dist/cli/commands/research.d.ts.map +0 -1
- package/dist/cli/commands/research.js +0 -327
- package/dist/cli/commands/research.js.map +0 -1
- package/dist/cli/commands/restore.d.ts +0 -64
- package/dist/cli/commands/restore.d.ts.map +0 -1
- package/dist/cli/commands/restore.js +0 -539
- package/dist/cli/commands/restore.js.map +0 -1
- package/dist/cli/commands/revert.d.ts +0 -79
- package/dist/cli/commands/revert.d.ts.map +0 -1
- package/dist/cli/commands/revert.js +0 -300
- package/dist/cli/commands/revert.js.map +0 -1
- package/dist/cli/commands/roadmap.d.ts +0 -29
- package/dist/cli/commands/roadmap.d.ts.map +0 -1
- package/dist/cli/commands/roadmap.js +0 -43
- package/dist/cli/commands/roadmap.js.map +0 -1
- package/dist/cli/commands/safestop.d.ts +0 -41
- package/dist/cli/commands/safestop.d.ts.map +0 -1
- package/dist/cli/commands/safestop.js +0 -62
- package/dist/cli/commands/safestop.js.map +0 -1
- package/dist/cli/commands/schema.d.ts +0 -44
- package/dist/cli/commands/schema.d.ts.map +0 -1
- package/dist/cli/commands/schema.js +0 -177
- package/dist/cli/commands/schema.js.map +0 -1
- package/dist/cli/commands/self-update.d.ts +0 -81
- package/dist/cli/commands/self-update.d.ts.map +0 -1
- package/dist/cli/commands/self-update.js +0 -483
- package/dist/cli/commands/self-update.js.map +0 -1
- package/dist/cli/commands/sentient.d.ts +0 -44
- package/dist/cli/commands/sentient.d.ts.map +0 -1
- package/dist/cli/commands/sentient.js +0 -687
- package/dist/cli/commands/sentient.js.map +0 -1
- package/dist/cli/commands/sequence.d.ts +0 -15
- package/dist/cli/commands/sequence.d.ts.map +0 -1
- package/dist/cli/commands/sequence.js +0 -68
- package/dist/cli/commands/sequence.js.map +0 -1
- package/dist/cli/commands/session.d.ts +0 -32
- package/dist/cli/commands/session.d.ts.map +0 -1
- package/dist/cli/commands/session.js +0 -583
- package/dist/cli/commands/session.js.map +0 -1
- package/dist/cli/commands/show.d.ts +0 -21
- package/dist/cli/commands/show.d.ts.map +0 -1
- package/dist/cli/commands/show.js +0 -37
- package/dist/cli/commands/show.js.map +0 -1
- package/dist/cli/commands/skills.d.ts +0 -31
- package/dist/cli/commands/skills.d.ts.map +0 -1
- package/dist/cli/commands/skills.js +0 -303
- package/dist/cli/commands/skills.js.map +0 -1
- package/dist/cli/commands/snapshot.d.ts +0 -17
- package/dist/cli/commands/snapshot.d.ts.map +0 -1
- package/dist/cli/commands/snapshot.js +0 -95
- package/dist/cli/commands/snapshot.js.map +0 -1
- package/dist/cli/commands/start.d.ts +0 -21
- package/dist/cli/commands/start.d.ts.map +0 -1
- package/dist/cli/commands/start.js +0 -32
- package/dist/cli/commands/start.js.map +0 -1
- package/dist/cli/commands/stats.d.ts +0 -30
- package/dist/cli/commands/stats.d.ts.map +0 -1
- package/dist/cli/commands/stats.js +0 -71
- package/dist/cli/commands/stats.js.map +0 -1
- package/dist/cli/commands/sticky.d.ts +0 -23
- package/dist/cli/commands/sticky.d.ts.map +0 -1
- package/dist/cli/commands/sticky.js +0 -315
- package/dist/cli/commands/sticky.js.map +0 -1
- package/dist/cli/commands/stop.d.ts +0 -15
- package/dist/cli/commands/stop.d.ts.map +0 -1
- package/dist/cli/commands/stop.js +0 -25
- package/dist/cli/commands/stop.js.map +0 -1
- package/dist/cli/commands/sync.d.ts +0 -25
- package/dist/cli/commands/sync.d.ts.map +0 -1
- package/dist/cli/commands/sync.js +0 -125
- package/dist/cli/commands/sync.js.map +0 -1
- package/dist/cli/commands/testing.d.ts +0 -22
- package/dist/cli/commands/testing.d.ts.map +0 -1
- package/dist/cli/commands/testing.js +0 -111
- package/dist/cli/commands/testing.js.map +0 -1
- package/dist/cli/commands/token.d.ts +0 -22
- package/dist/cli/commands/token.d.ts.map +0 -1
- package/dist/cli/commands/token.js +0 -197
- package/dist/cli/commands/token.js.map +0 -1
- package/dist/cli/commands/transcript.d.ts +0 -32
- package/dist/cli/commands/transcript.d.ts.map +0 -1
- package/dist/cli/commands/transcript.js +0 -526
- package/dist/cli/commands/transcript.js.map +0 -1
- package/dist/cli/commands/update.d.ts +0 -164
- package/dist/cli/commands/update.d.ts.map +0 -1
- package/dist/cli/commands/update.js +0 -234
- package/dist/cli/commands/update.js.map +0 -1
- package/dist/cli/commands/upgrade.d.ts +0 -76
- package/dist/cli/commands/upgrade.d.ts.map +0 -1
- package/dist/cli/commands/upgrade.js +0 -154
- package/dist/cli/commands/upgrade.js.map +0 -1
- package/dist/cli/commands/verify.d.ts +0 -83
- package/dist/cli/commands/verify.d.ts.map +0 -1
- package/dist/cli/commands/verify.js +0 -108
- package/dist/cli/commands/verify.js.map +0 -1
- package/dist/cli/commands/web.d.ts +0 -27
- package/dist/cli/commands/web.d.ts.map +0 -1
- package/dist/cli/commands/web.js +0 -414
- package/dist/cli/commands/web.js.map +0 -1
- package/dist/cli/field-context.d.ts +0 -32
- package/dist/cli/field-context.d.ts.map +0 -1
- package/dist/cli/field-context.js +0 -47
- package/dist/cli/field-context.js.map +0 -1
- package/dist/cli/format-context.d.ts +0 -32
- package/dist/cli/format-context.d.ts.map +0 -1
- package/dist/cli/format-context.js +0 -50
- package/dist/cli/format-context.js.map +0 -1
- package/dist/cli/help-renderer.d.ts +0 -40
- package/dist/cli/help-renderer.d.ts.map +0 -1
- package/dist/cli/help-renderer.js +0 -325
- package/dist/cli/help-renderer.js.map +0 -1
- package/dist/cli/index.d.ts +0 -14
- package/dist/cli/index.d.ts.map +0 -1
- package/dist/cli/infer-files-via-gitnexus.d.ts +0 -12
- package/dist/cli/infer-files-via-gitnexus.d.ts.map +0 -1
- package/dist/cli/infer-files-via-gitnexus.js +0 -12
- package/dist/cli/infer-files-via-gitnexus.js.map +0 -1
- package/dist/cli/lib/did-you-mean.d.ts +0 -30
- package/dist/cli/lib/did-you-mean.d.ts.map +0 -1
- package/dist/cli/lib/did-you-mean.js +0 -63
- package/dist/cli/lib/did-you-mean.js.map +0 -1
- package/dist/cli/lib/registry-args.d.ts +0 -36
- package/dist/cli/lib/registry-args.d.ts.map +0 -1
- package/dist/cli/lib/registry-args.js +0 -37
- package/dist/cli/lib/registry-args.js.map +0 -1
- package/dist/cli/lib/subcommand-guard.d.ts +0 -45
- package/dist/cli/lib/subcommand-guard.d.ts.map +0 -1
- package/dist/cli/lib/subcommand-guard.js +0 -55
- package/dist/cli/lib/subcommand-guard.js.map +0 -1
- package/dist/cli/logger-bootstrap.d.ts +0 -6
- package/dist/cli/logger-bootstrap.d.ts.map +0 -1
- package/dist/cli/logger-bootstrap.js +0 -10
- package/dist/cli/logger-bootstrap.js.map +0 -1
- package/dist/cli/middleware/output-format.d.ts +0 -30
- package/dist/cli/middleware/output-format.d.ts.map +0 -1
- package/dist/cli/middleware/output-format.js +0 -35
- package/dist/cli/middleware/output-format.js.map +0 -1
- package/dist/cli/paths.d.ts +0 -85
- package/dist/cli/paths.d.ts.map +0 -1
- package/dist/cli/paths.js +0 -108
- package/dist/cli/paths.js.map +0 -1
- package/dist/cli/progress.d.ts +0 -89
- package/dist/cli/progress.d.ts.map +0 -1
- package/dist/cli/progress.js +0 -185
- package/dist/cli/progress.js.map +0 -1
- package/dist/cli/renderers/colors.d.ts +0 -32
- package/dist/cli/renderers/colors.d.ts.map +0 -1
- package/dist/cli/renderers/colors.js +0 -141
- package/dist/cli/renderers/colors.js.map +0 -1
- package/dist/cli/renderers/error.d.ts +0 -13
- package/dist/cli/renderers/error.d.ts.map +0 -1
- package/dist/cli/renderers/error.js +0 -42
- package/dist/cli/renderers/error.js.map +0 -1
- package/dist/cli/renderers/index.d.ts +0 -90
- package/dist/cli/renderers/index.d.ts.map +0 -1
- package/dist/cli/renderers/index.js +0 -268
- package/dist/cli/renderers/index.js.map +0 -1
- package/dist/cli/renderers/lafs-validator.d.ts +0 -91
- package/dist/cli/renderers/lafs-validator.d.ts.map +0 -1
- package/dist/cli/renderers/lafs-validator.js +0 -176
- package/dist/cli/renderers/lafs-validator.js.map +0 -1
- package/dist/cli/renderers/normalizer.d.ts +0 -21
- package/dist/cli/renderers/normalizer.d.ts.map +0 -1
- package/dist/cli/renderers/normalizer.js +0 -106
- package/dist/cli/renderers/normalizer.js.map +0 -1
- package/dist/cli/renderers/system.d.ts +0 -110
- package/dist/cli/renderers/system.d.ts.map +0 -1
- package/dist/cli/renderers/system.js +0 -662
- package/dist/cli/renderers/system.js.map +0 -1
- package/dist/cli/renderers/tasks.d.ts +0 -28
- package/dist/cli/renderers/tasks.d.ts.map +0 -1
- package/dist/cli/renderers/tasks.js +0 -306
- package/dist/cli/renderers/tasks.js.map +0 -1
- package/dist/cli/tree-context.d.ts +0 -53
- package/dist/cli/tree-context.d.ts.map +0 -1
- package/dist/cli/tree-context.js +0 -43
- package/dist/cli/tree-context.js.map +0 -1
- package/dist/dispatch/adapters/cli.d.ts +0 -67
- package/dist/dispatch/adapters/cli.d.ts.map +0 -1
- package/dist/dispatch/adapters/cli.js +0 -331
- package/dist/dispatch/adapters/cli.js.map +0 -1
- package/dist/dispatch/adapters/typed.d.ts +0 -362
- package/dist/dispatch/adapters/typed.d.ts.map +0 -1
- package/dist/dispatch/adapters/typed.js +0 -278
- package/dist/dispatch/adapters/typed.js.map +0 -1
- package/dist/dispatch/context/session-context.d.ts +0 -108
- package/dist/dispatch/context/session-context.d.ts.map +0 -1
- package/dist/dispatch/context/session-context.js +0 -111
- package/dist/dispatch/context/session-context.js.map +0 -1
- package/dist/dispatch/dispatcher.d.ts +0 -37
- package/dist/dispatch/dispatcher.d.ts.map +0 -1
- package/dist/dispatch/dispatcher.js +0 -172
- package/dist/dispatch/dispatcher.js.map +0 -1
- package/dist/dispatch/domains/_base.d.ts +0 -104
- package/dist/dispatch/domains/_base.d.ts.map +0 -1
- package/dist/dispatch/domains/_base.js +0 -147
- package/dist/dispatch/domains/_base.js.map +0 -1
- package/dist/dispatch/domains/_meta.d.ts +0 -23
- package/dist/dispatch/domains/_meta.d.ts.map +0 -1
- package/dist/dispatch/domains/_meta.js +0 -25
- package/dist/dispatch/domains/_meta.js.map +0 -1
- package/dist/dispatch/domains/_routing.d.ts +0 -8
- package/dist/dispatch/domains/_routing.d.ts.map +0 -1
- package/dist/dispatch/domains/_routing.js +0 -20
- package/dist/dispatch/domains/_routing.js.map +0 -1
- package/dist/dispatch/domains/admin/smoke-provider.d.ts +0 -54
- package/dist/dispatch/domains/admin/smoke-provider.d.ts.map +0 -1
- package/dist/dispatch/domains/admin/smoke-provider.js +0 -309
- package/dist/dispatch/domains/admin/smoke-provider.js.map +0 -1
- package/dist/dispatch/domains/admin.d.ts +0 -51
- package/dist/dispatch/domains/admin.d.ts.map +0 -1
- package/dist/dispatch/domains/admin.js +0 -1163
- package/dist/dispatch/domains/admin.js.map +0 -1
- package/dist/dispatch/domains/check/canon.d.ts +0 -65
- package/dist/dispatch/domains/check/canon.d.ts.map +0 -1
- package/dist/dispatch/domains/check/canon.js +0 -193
- package/dist/dispatch/domains/check/canon.js.map +0 -1
- package/dist/dispatch/domains/check.d.ts +0 -37
- package/dist/dispatch/domains/check.d.ts.map +0 -1
- package/dist/dispatch/domains/check.js +0 -562
- package/dist/dispatch/domains/check.js.map +0 -1
- package/dist/dispatch/domains/conduit.d.ts +0 -61
- package/dist/dispatch/domains/conduit.d.ts.map +0 -1
- package/dist/dispatch/domains/conduit.js +0 -609
- package/dist/dispatch/domains/conduit.js.map +0 -1
- package/dist/dispatch/domains/diagnostics.d.ts +0 -25
- package/dist/dispatch/domains/diagnostics.d.ts.map +0 -1
- package/dist/dispatch/domains/diagnostics.js +0 -82
- package/dist/dispatch/domains/diagnostics.js.map +0 -1
- package/dist/dispatch/domains/docs.d.ts +0 -63
- package/dist/dispatch/domains/docs.d.ts.map +0 -1
- package/dist/dispatch/domains/docs.js +0 -539
- package/dist/dispatch/domains/docs.js.map +0 -1
- package/dist/dispatch/domains/index.d.ts +0 -33
- package/dist/dispatch/domains/index.d.ts.map +0 -1
- package/dist/dispatch/domains/index.js +0 -58
- package/dist/dispatch/domains/index.js.map +0 -1
- package/dist/dispatch/domains/intelligence.d.ts +0 -26
- package/dist/dispatch/domains/intelligence.d.ts.map +0 -1
- package/dist/dispatch/domains/intelligence.js +0 -154
- package/dist/dispatch/domains/intelligence.js.map +0 -1
- package/dist/dispatch/domains/ivtr.d.ts +0 -182
- package/dist/dispatch/domains/ivtr.d.ts.map +0 -1
- package/dist/dispatch/domains/ivtr.js +0 -430
- package/dist/dispatch/domains/ivtr.js.map +0 -1
- package/dist/dispatch/domains/memory.d.ts +0 -22
- package/dist/dispatch/domains/memory.d.ts.map +0 -1
- package/dist/dispatch/domains/memory.js +0 -1281
- package/dist/dispatch/domains/memory.js.map +0 -1
- package/dist/dispatch/domains/nexus.d.ts +0 -78
- package/dist/dispatch/domains/nexus.d.ts.map +0 -1
- package/dist/dispatch/domains/nexus.js +0 -938
- package/dist/dispatch/domains/nexus.js.map +0 -1
- package/dist/dispatch/domains/orchestrate.d.ts +0 -307
- package/dist/dispatch/domains/orchestrate.d.ts.map +0 -1
- package/dist/dispatch/domains/orchestrate.js +0 -986
- package/dist/dispatch/domains/orchestrate.js.map +0 -1
- package/dist/dispatch/domains/pipeline.d.ts +0 -276
- package/dist/dispatch/domains/pipeline.d.ts.map +0 -1
- package/dist/dispatch/domains/pipeline.js +0 -689
- package/dist/dispatch/domains/pipeline.js.map +0 -1
- package/dist/dispatch/domains/playbook.d.ts +0 -131
- package/dist/dispatch/domains/playbook.d.ts.map +0 -1
- package/dist/dispatch/domains/playbook.js +0 -633
- package/dist/dispatch/domains/playbook.js.map +0 -1
- package/dist/dispatch/domains/release.d.ts +0 -97
- package/dist/dispatch/domains/release.d.ts.map +0 -1
- package/dist/dispatch/domains/release.js +0 -177
- package/dist/dispatch/domains/release.js.map +0 -1
- package/dist/dispatch/domains/sentient.d.ts +0 -60
- package/dist/dispatch/domains/sentient.d.ts.map +0 -1
- package/dist/dispatch/domains/sentient.js +0 -270
- package/dist/dispatch/domains/sentient.js.map +0 -1
- package/dist/dispatch/domains/session.d.ts +0 -49
- package/dist/dispatch/domains/session.d.ts.map +0 -1
- package/dist/dispatch/domains/session.js +0 -459
- package/dist/dispatch/domains/session.js.map +0 -1
- package/dist/dispatch/domains/sticky.d.ts +0 -82
- package/dist/dispatch/domains/sticky.d.ts.map +0 -1
- package/dist/dispatch/domains/sticky.js +0 -287
- package/dist/dispatch/domains/sticky.js.map +0 -1
- package/dist/dispatch/domains/tasks.d.ts +0 -58
- package/dist/dispatch/domains/tasks.d.ts.map +0 -1
- package/dist/dispatch/domains/tasks.js +0 -497
- package/dist/dispatch/domains/tasks.js.map +0 -1
- package/dist/dispatch/domains/tools.d.ts +0 -37
- package/dist/dispatch/domains/tools.d.ts.map +0 -1
- package/dist/dispatch/domains/tools.js +0 -481
- package/dist/dispatch/domains/tools.js.map +0 -1
- package/dist/dispatch/engines/_error.d.ts +0 -114
- package/dist/dispatch/engines/_error.d.ts.map +0 -1
- package/dist/dispatch/engines/_error.js +0 -290
- package/dist/dispatch/engines/_error.js.map +0 -1
- package/dist/dispatch/engines/admin-engine.d.ts +0 -386
- package/dist/dispatch/engines/admin-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/admin-engine.js +0 -270
- package/dist/dispatch/engines/admin-engine.js.map +0 -1
- package/dist/dispatch/engines/code-engine.d.ts +0 -14
- package/dist/dispatch/engines/code-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/code-engine.js +0 -14
- package/dist/dispatch/engines/code-engine.js.map +0 -1
- package/dist/dispatch/engines/codebase-map-engine.d.ts +0 -31
- package/dist/dispatch/engines/codebase-map-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/codebase-map-engine.js +0 -43
- package/dist/dispatch/engines/codebase-map-engine.js.map +0 -1
- package/dist/dispatch/engines/config-engine.d.ts +0 -14
- package/dist/dispatch/engines/config-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/config-engine.js +0 -14
- package/dist/dispatch/engines/config-engine.js.map +0 -1
- package/dist/dispatch/engines/diagnostics-engine.d.ts +0 -13
- package/dist/dispatch/engines/diagnostics-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/diagnostics-engine.js +0 -12
- package/dist/dispatch/engines/diagnostics-engine.js.map +0 -1
- package/dist/dispatch/engines/hooks-engine.d.ts +0 -13
- package/dist/dispatch/engines/hooks-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/hooks-engine.js +0 -12
- package/dist/dispatch/engines/hooks-engine.js.map +0 -1
- package/dist/dispatch/engines/init-engine.d.ts +0 -14
- package/dist/dispatch/engines/init-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/init-engine.js +0 -14
- package/dist/dispatch/engines/init-engine.js.map +0 -1
- package/dist/dispatch/engines/lifecycle-engine.d.ts +0 -13
- package/dist/dispatch/engines/lifecycle-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/lifecycle-engine.js +0 -12
- package/dist/dispatch/engines/lifecycle-engine.js.map +0 -1
- package/dist/dispatch/engines/memory-engine.d.ts +0 -10
- package/dist/dispatch/engines/memory-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/memory-engine.js +0 -10
- package/dist/dispatch/engines/memory-engine.js.map +0 -1
- package/dist/dispatch/engines/nexus-engine.d.ts +0 -603
- package/dist/dispatch/engines/nexus-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/nexus-engine.js +0 -1438
- package/dist/dispatch/engines/nexus-engine.js.map +0 -1
- package/dist/dispatch/engines/orchestrate-engine.d.ts +0 -252
- package/dist/dispatch/engines/orchestrate-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/orchestrate-engine.js +0 -1526
- package/dist/dispatch/engines/orchestrate-engine.js.map +0 -1
- package/dist/dispatch/engines/pipeline-engine.d.ts +0 -13
- package/dist/dispatch/engines/pipeline-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/pipeline-engine.js +0 -12
- package/dist/dispatch/engines/pipeline-engine.js.map +0 -1
- package/dist/dispatch/engines/release-engine.d.ts +0 -13
- package/dist/dispatch/engines/release-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/release-engine.js +0 -13
- package/dist/dispatch/engines/release-engine.js.map +0 -1
- package/dist/dispatch/engines/session-engine.d.ts +0 -15
- package/dist/dispatch/engines/session-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/session-engine.js +0 -12
- package/dist/dispatch/engines/session-engine.js.map +0 -1
- package/dist/dispatch/engines/sticky-engine.d.ts +0 -13
- package/dist/dispatch/engines/sticky-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/sticky-engine.js +0 -12
- package/dist/dispatch/engines/sticky-engine.js.map +0 -1
- package/dist/dispatch/engines/system-engine.d.ts +0 -543
- package/dist/dispatch/engines/system-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/system-engine.js +0 -1278
- package/dist/dispatch/engines/system-engine.js.map +0 -1
- package/dist/dispatch/engines/task-engine.d.ts +0 -1161
- package/dist/dispatch/engines/task-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/task-engine.js +0 -1599
- package/dist/dispatch/engines/task-engine.js.map +0 -1
- package/dist/dispatch/engines/template-parser.d.ts +0 -85
- package/dist/dispatch/engines/template-parser.d.ts.map +0 -1
- package/dist/dispatch/engines/template-parser.js +0 -114
- package/dist/dispatch/engines/template-parser.js.map +0 -1
- package/dist/dispatch/engines/tools-engine.d.ts +0 -13
- package/dist/dispatch/engines/tools-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/tools-engine.js +0 -12
- package/dist/dispatch/engines/tools-engine.js.map +0 -1
- package/dist/dispatch/engines/validate-engine.d.ts +0 -13
- package/dist/dispatch/engines/validate-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/validate-engine.js +0 -13
- package/dist/dispatch/engines/validate-engine.js.map +0 -1
- package/dist/dispatch/index.d.ts +0 -20
- package/dist/dispatch/index.d.ts.map +0 -1
- package/dist/dispatch/index.js +0 -19
- package/dist/dispatch/index.js.map +0 -1
- package/dist/dispatch/lib/background-jobs.d.ts +0 -162
- package/dist/dispatch/lib/background-jobs.d.ts.map +0 -1
- package/dist/dispatch/lib/background-jobs.js +0 -360
- package/dist/dispatch/lib/background-jobs.js.map +0 -1
- package/dist/dispatch/lib/budget.d.ts +0 -36
- package/dist/dispatch/lib/budget.d.ts.map +0 -1
- package/dist/dispatch/lib/budget.js +0 -109
- package/dist/dispatch/lib/budget.js.map +0 -1
- package/dist/dispatch/lib/capability-matrix.d.ts +0 -11
- package/dist/dispatch/lib/capability-matrix.d.ts.map +0 -1
- package/dist/dispatch/lib/capability-matrix.js +0 -10
- package/dist/dispatch/lib/capability-matrix.js.map +0 -1
- package/dist/dispatch/lib/config-loader.d.ts +0 -42
- package/dist/dispatch/lib/config-loader.d.ts.map +0 -1
- package/dist/dispatch/lib/config-loader.js +0 -218
- package/dist/dispatch/lib/config-loader.js.map +0 -1
- package/dist/dispatch/lib/config.d.ts +0 -11
- package/dist/dispatch/lib/config.d.ts.map +0 -1
- package/dist/dispatch/lib/config.js +0 -10
- package/dist/dispatch/lib/config.js.map +0 -1
- package/dist/dispatch/lib/defaults.d.ts +0 -115
- package/dist/dispatch/lib/defaults.d.ts.map +0 -1
- package/dist/dispatch/lib/defaults.js +0 -61
- package/dist/dispatch/lib/defaults.js.map +0 -1
- package/dist/dispatch/lib/engine.d.ts +0 -17
- package/dist/dispatch/lib/engine.d.ts.map +0 -1
- package/dist/dispatch/lib/engine.js +0 -36
- package/dist/dispatch/lib/engine.js.map +0 -1
- package/dist/dispatch/lib/exit-codes.d.ts +0 -35
- package/dist/dispatch/lib/exit-codes.d.ts.map +0 -1
- package/dist/dispatch/lib/exit-codes.js +0 -60
- package/dist/dispatch/lib/exit-codes.js.map +0 -1
- package/dist/dispatch/lib/gateway-meta.d.ts +0 -37
- package/dist/dispatch/lib/gateway-meta.d.ts.map +0 -1
- package/dist/dispatch/lib/gateway-meta.js +0 -50
- package/dist/dispatch/lib/gateway-meta.js.map +0 -1
- package/dist/dispatch/lib/job-manager-accessor.d.ts +0 -9
- package/dist/dispatch/lib/job-manager-accessor.d.ts.map +0 -1
- package/dist/dispatch/lib/job-manager-accessor.js +0 -13
- package/dist/dispatch/lib/job-manager-accessor.js.map +0 -1
- package/dist/dispatch/lib/meta.d.ts +0 -26
- package/dist/dispatch/lib/meta.d.ts.map +0 -1
- package/dist/dispatch/lib/meta.js +0 -37
- package/dist/dispatch/lib/meta.js.map +0 -1
- package/dist/dispatch/lib/param-utils.d.ts +0 -11
- package/dist/dispatch/lib/param-utils.d.ts.map +0 -1
- package/dist/dispatch/lib/param-utils.js +0 -10
- package/dist/dispatch/lib/param-utils.js.map +0 -1
- package/dist/dispatch/lib/projections.d.ts +0 -56
- package/dist/dispatch/lib/projections.d.ts.map +0 -1
- package/dist/dispatch/lib/projections.js +0 -65
- package/dist/dispatch/lib/projections.js.map +0 -1
- package/dist/dispatch/lib/proto-envelope.d.ts +0 -56
- package/dist/dispatch/lib/proto-envelope.d.ts.map +0 -1
- package/dist/dispatch/lib/proto-envelope.js +0 -17
- package/dist/dispatch/lib/proto-envelope.js.map +0 -1
- package/dist/dispatch/lib/schema-utils.d.ts +0 -39
- package/dist/dispatch/lib/schema-utils.d.ts.map +0 -1
- package/dist/dispatch/lib/schema-utils.js +0 -88
- package/dist/dispatch/lib/schema-utils.js.map +0 -1
- package/dist/dispatch/lib/security.d.ts +0 -11
- package/dist/dispatch/lib/security.d.ts.map +0 -1
- package/dist/dispatch/lib/security.js +0 -10
- package/dist/dispatch/lib/security.js.map +0 -1
- package/dist/dispatch/middleware/audit.d.ts +0 -23
- package/dist/dispatch/middleware/audit.d.ts.map +0 -1
- package/dist/dispatch/middleware/audit.js +0 -169
- package/dist/dispatch/middleware/audit.js.map +0 -1
- package/dist/dispatch/middleware/field-filter.d.ts +0 -25
- package/dist/dispatch/middleware/field-filter.d.ts.map +0 -1
- package/dist/dispatch/middleware/field-filter.js +0 -70
- package/dist/dispatch/middleware/field-filter.js.map +0 -1
- package/dist/dispatch/middleware/pipeline.d.ts +0 -33
- package/dist/dispatch/middleware/pipeline.d.ts.map +0 -1
- package/dist/dispatch/middleware/pipeline.js +0 -60
- package/dist/dispatch/middleware/pipeline.js.map +0 -1
- package/dist/dispatch/middleware/projection.d.ts +0 -35
- package/dist/dispatch/middleware/projection.d.ts.map +0 -1
- package/dist/dispatch/middleware/projection.js +0 -146
- package/dist/dispatch/middleware/projection.js.map +0 -1
- package/dist/dispatch/middleware/protocol-enforcement.d.ts +0 -30
- package/dist/dispatch/middleware/protocol-enforcement.d.ts.map +0 -1
- package/dist/dispatch/middleware/protocol-enforcement.js +0 -56
- package/dist/dispatch/middleware/protocol-enforcement.js.map +0 -1
- package/dist/dispatch/middleware/rate-limiter.d.ts +0 -72
- package/dist/dispatch/middleware/rate-limiter.d.ts.map +0 -1
- package/dist/dispatch/middleware/rate-limiter.js +0 -127
- package/dist/dispatch/middleware/rate-limiter.js.map +0 -1
- package/dist/dispatch/middleware/sanitizer.d.ts +0 -24
- package/dist/dispatch/middleware/sanitizer.d.ts.map +0 -1
- package/dist/dispatch/middleware/sanitizer.js +0 -56
- package/dist/dispatch/middleware/sanitizer.js.map +0 -1
- package/dist/dispatch/middleware/session-resolver.d.ts +0 -26
- package/dist/dispatch/middleware/session-resolver.d.ts.map +0 -1
- package/dist/dispatch/middleware/session-resolver.js +0 -65
- package/dist/dispatch/middleware/session-resolver.js.map +0 -1
- package/dist/dispatch/middleware/telemetry.d.ts +0 -21
- package/dist/dispatch/middleware/telemetry.d.ts.map +0 -1
- package/dist/dispatch/middleware/telemetry.js +0 -50
- package/dist/dispatch/middleware/telemetry.js.map +0 -1
- package/dist/dispatch/middleware/verification-gates.d.ts +0 -22
- package/dist/dispatch/middleware/verification-gates.d.ts.map +0 -1
- package/dist/dispatch/middleware/verification-gates.js +0 -59
- package/dist/dispatch/middleware/verification-gates.js.map +0 -1
- package/dist/dispatch/registry.d.ts +0 -91
- package/dist/dispatch/registry.d.ts.map +0 -1
- package/dist/dispatch/registry.js +0 -6430
- package/dist/dispatch/registry.js.map +0 -1
- package/dist/dispatch/types.d.ts +0 -150
- package/dist/dispatch/types.d.ts.map +0 -1
- package/dist/dispatch/types.js +0 -38
- package/dist/dispatch/types.js.map +0 -1
- package/dist/migrations/2026-04-25-t991-parent-link-repair.d.ts +0 -88
- package/dist/migrations/2026-04-25-t991-parent-link-repair.d.ts.map +0 -1
- package/dist/migrations/2026-04-25-t991-parent-link-repair.js +0 -76
- package/dist/migrations/2026-04-25-t991-parent-link-repair.js.map +0 -1
|
@@ -1,148 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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;Q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;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"}
|
|
@@ -1,162 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
package/dist/cli/commands/add.js
DELETED
|
@@ -1,279 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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;YAC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YAAY,EAAE,MAAM,EAAE,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"}
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|