@cleocode/cleo 2026.4.59 → 2026.4.62
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 +1917 -314
- package/dist/cli/index.js.map +4 -4
- package/package.json +8 -8
- package/dist/cli/commander-shim.d.ts +0 -112
- package/dist/cli/commander-shim.d.ts.map +0 -1
- package/dist/cli/commander-shim.js +0 -233
- package/dist/cli/commander-shim.js.map +0 -1
- package/dist/cli/commands/adapter.d.ts +0 -21
- package/dist/cli/commands/adapter.d.ts.map +0 -1
- package/dist/cli/commands/adapter.js +0 -73
- package/dist/cli/commands/adapter.js.map +0 -1
- package/dist/cli/commands/add-batch.d.ts +0 -16
- package/dist/cli/commands/add-batch.d.ts.map +0 -1
- package/dist/cli/commands/add-batch.js +0 -133
- package/dist/cli/commands/add-batch.js.map +0 -1
- package/dist/cli/commands/add.d.ts +0 -12
- package/dist/cli/commands/add.d.ts.map +0 -1
- package/dist/cli/commands/add.js +0 -238
- package/dist/cli/commands/add.js.map +0 -1
- package/dist/cli/commands/admin.d.ts +0 -15
- package/dist/cli/commands/admin.d.ts.map +0 -1
- package/dist/cli/commands/admin.js +0 -143
- package/dist/cli/commands/admin.js.map +0 -1
- package/dist/cli/commands/adr.d.ts +0 -27
- package/dist/cli/commands/adr.d.ts.map +0 -1
- package/dist/cli/commands/adr.js +0 -79
- 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 -41
- package/dist/cli/commands/agent.d.ts.map +0 -1
- package/dist/cli/commands/agent.js +0 -2270
- package/dist/cli/commands/agent.js.map +0 -1
- package/dist/cli/commands/agents.d.ts +0 -17
- package/dist/cli/commands/agents.d.ts.map +0 -1
- package/dist/cli/commands/agents.js +0 -20
- package/dist/cli/commands/agents.js.map +0 -1
- package/dist/cli/commands/analyze.d.ts +0 -12
- package/dist/cli/commands/analyze.d.ts.map +0 -1
- package/dist/cli/commands/analyze.js +0 -20
- package/dist/cli/commands/analyze.js.map +0 -1
- package/dist/cli/commands/archive-stats.d.ts +0 -18
- package/dist/cli/commands/archive-stats.d.ts.map +0 -1
- package/dist/cli/commands/archive-stats.js +0 -49
- package/dist/cli/commands/archive-stats.js.map +0 -1
- package/dist/cli/commands/archive.d.ts +0 -12
- package/dist/cli/commands/archive.d.ts.map +0 -1
- package/dist/cli/commands/archive.js +0 -32
- package/dist/cli/commands/archive.js.map +0 -1
- package/dist/cli/commands/backfill.d.ts +0 -38
- package/dist/cli/commands/backfill.d.ts.map +0 -1
- package/dist/cli/commands/backfill.js +0 -144
- package/dist/cli/commands/backfill.js.map +0 -1
- package/dist/cli/commands/backup-inspect.d.ts +0 -24
- package/dist/cli/commands/backup-inspect.d.ts.map +0 -1
- package/dist/cli/commands/backup-inspect.js +0 -417
- package/dist/cli/commands/backup-inspect.js.map +0 -1
- package/dist/cli/commands/backup.d.ts +0 -13
- package/dist/cli/commands/backup.d.ts.map +0 -1
- package/dist/cli/commands/backup.js +0 -479
- package/dist/cli/commands/backup.js.map +0 -1
- package/dist/cli/commands/blockers.d.ts +0 -7
- package/dist/cli/commands/blockers.d.ts.map +0 -1
- package/dist/cli/commands/blockers.js +0 -16
- package/dist/cli/commands/blockers.js.map +0 -1
- package/dist/cli/commands/brain.d.ts +0 -29
- package/dist/cli/commands/brain.d.ts.map +0 -1
- package/dist/cli/commands/brain.js +0 -358
- package/dist/cli/commands/brain.js.map +0 -1
- package/dist/cli/commands/briefing.d.ts +0 -22
- package/dist/cli/commands/briefing.d.ts.map +0 -1
- package/dist/cli/commands/briefing.js +0 -45
- package/dist/cli/commands/briefing.js.map +0 -1
- package/dist/cli/commands/bug.d.ts +0 -12
- package/dist/cli/commands/bug.d.ts.map +0 -1
- package/dist/cli/commands/bug.js +0 -81
- package/dist/cli/commands/bug.js.map +0 -1
- package/dist/cli/commands/cancel.d.ts +0 -17
- package/dist/cli/commands/cancel.d.ts.map +0 -1
- package/dist/cli/commands/cancel.js +0 -28
- package/dist/cli/commands/cancel.js.map +0 -1
- package/dist/cli/commands/cant.d.ts +0 -32
- package/dist/cli/commands/cant.d.ts.map +0 -1
- package/dist/cli/commands/cant.js +0 -264
- package/dist/cli/commands/cant.js.map +0 -1
- package/dist/cli/commands/chain.d.ts +0 -16
- package/dist/cli/commands/chain.d.ts.map +0 -1
- package/dist/cli/commands/chain.js +0 -52
- package/dist/cli/commands/chain.js.map +0 -1
- package/dist/cli/commands/check.d.ts +0 -25
- package/dist/cli/commands/check.d.ts.map +0 -1
- package/dist/cli/commands/check.js +0 -193
- package/dist/cli/commands/check.js.map +0 -1
- package/dist/cli/commands/checkpoint.d.ts +0 -15
- package/dist/cli/commands/checkpoint.d.ts.map +0 -1
- package/dist/cli/commands/checkpoint.js +0 -91
- package/dist/cli/commands/checkpoint.js.map +0 -1
- package/dist/cli/commands/claim.d.ts +0 -27
- package/dist/cli/commands/claim.d.ts.map +0 -1
- package/dist/cli/commands/claim.js +0 -45
- package/dist/cli/commands/claim.js.map +0 -1
- package/dist/cli/commands/code.d.ts +0 -11
- package/dist/cli/commands/code.d.ts.map +0 -1
- package/dist/cli/commands/code.js +0 -114
- package/dist/cli/commands/code.js.map +0 -1
- package/dist/cli/commands/commands.d.ts +0 -13
- package/dist/cli/commands/commands.d.ts.map +0 -1
- package/dist/cli/commands/commands.js +0 -29
- package/dist/cli/commands/commands.js.map +0 -1
- package/dist/cli/commands/complete.d.ts +0 -12
- package/dist/cli/commands/complete.d.ts.map +0 -1
- package/dist/cli/commands/complete.js +0 -92
- package/dist/cli/commands/complete.js.map +0 -1
- package/dist/cli/commands/complexity.d.ts +0 -17
- package/dist/cli/commands/complexity.d.ts.map +0 -1
- package/dist/cli/commands/complexity.js +0 -25
- package/dist/cli/commands/complexity.js.map +0 -1
- package/dist/cli/commands/compliance.d.ts +0 -9
- package/dist/cli/commands/compliance.d.ts.map +0 -1
- package/dist/cli/commands/compliance.js +0 -110
- package/dist/cli/commands/compliance.js.map +0 -1
- package/dist/cli/commands/config.d.ts +0 -10
- package/dist/cli/commands/config.d.ts.map +0 -1
- package/dist/cli/commands/config.js +0 -69
- package/dist/cli/commands/config.js.map +0 -1
- package/dist/cli/commands/consensus.d.ts +0 -13
- package/dist/cli/commands/consensus.d.ts.map +0 -1
- package/dist/cli/commands/consensus.js +0 -45
- package/dist/cli/commands/consensus.js.map +0 -1
- package/dist/cli/commands/context.d.ts +0 -15
- package/dist/cli/commands/context.d.ts.map +0 -1
- package/dist/cli/commands/context.js +0 -76
- package/dist/cli/commands/context.js.map +0 -1
- package/dist/cli/commands/contribution.d.ts +0 -13
- package/dist/cli/commands/contribution.d.ts.map +0 -1
- package/dist/cli/commands/contribution.js +0 -41
- package/dist/cli/commands/contribution.js.map +0 -1
- package/dist/cli/commands/current.d.ts +0 -13
- package/dist/cli/commands/current.d.ts.map +0 -1
- package/dist/cli/commands/current.js +0 -20
- package/dist/cli/commands/current.js.map +0 -1
- package/dist/cli/commands/dash.d.ts +0 -12
- package/dist/cli/commands/dash.d.ts.map +0 -1
- package/dist/cli/commands/dash.js +0 -20
- 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 -45
- package/dist/cli/commands/decomposition.js.map +0 -1
- package/dist/cli/commands/delete.d.ts +0 -12
- package/dist/cli/commands/delete.d.ts.map +0 -1
- package/dist/cli/commands/delete.js +0 -37
- package/dist/cli/commands/delete.js.map +0 -1
- package/dist/cli/commands/deps.d.ts +0 -24
- package/dist/cli/commands/deps.d.ts.map +0 -1
- package/dist/cli/commands/deps.js +0 -98
- package/dist/cli/commands/deps.js.map +0 -1
- package/dist/cli/commands/detect-drift.d.ts +0 -15
- package/dist/cli/commands/detect-drift.d.ts.map +0 -1
- package/dist/cli/commands/detect-drift.js +0 -428
- package/dist/cli/commands/detect-drift.js.map +0 -1
- package/dist/cli/commands/detect.d.ts +0 -13
- package/dist/cli/commands/detect.d.ts.map +0 -1
- package/dist/cli/commands/detect.js +0 -20
- package/dist/cli/commands/detect.js.map +0 -1
- package/dist/cli/commands/diagnostics.d.ts +0 -16
- package/dist/cli/commands/diagnostics.d.ts.map +0 -1
- package/dist/cli/commands/diagnostics.js +0 -58
- package/dist/cli/commands/diagnostics.js.map +0 -1
- package/dist/cli/commands/docs.d.ts +0 -13
- package/dist/cli/commands/docs.d.ts.map +0 -1
- package/dist/cli/commands/docs.js +0 -169
- package/dist/cli/commands/docs.js.map +0 -1
- package/dist/cli/commands/doctor.d.ts +0 -15
- package/dist/cli/commands/doctor.d.ts.map +0 -1
- package/dist/cli/commands/doctor.js +0 -133
- package/dist/cli/commands/doctor.js.map +0 -1
- package/dist/cli/commands/dynamic.d.ts +0 -24
- package/dist/cli/commands/dynamic.d.ts.map +0 -1
- package/dist/cli/commands/dynamic.js +0 -27
- package/dist/cli/commands/dynamic.js.map +0 -1
- package/dist/cli/commands/env.d.ts +0 -12
- package/dist/cli/commands/env.d.ts.map +0 -1
- package/dist/cli/commands/env.js +0 -44
- package/dist/cli/commands/env.js.map +0 -1
- package/dist/cli/commands/exists.d.ts +0 -24
- package/dist/cli/commands/exists.d.ts.map +0 -1
- package/dist/cli/commands/exists.js +0 -53
- package/dist/cli/commands/exists.js.map +0 -1
- package/dist/cli/commands/export-tasks.d.ts +0 -10
- package/dist/cli/commands/export-tasks.d.ts.map +0 -1
- package/dist/cli/commands/export-tasks.js +0 -47
- package/dist/cli/commands/export-tasks.js.map +0 -1
- package/dist/cli/commands/export.d.ts +0 -9
- package/dist/cli/commands/export.d.ts.map +0 -1
- package/dist/cli/commands/export.js +0 -46
- package/dist/cli/commands/export.js.map +0 -1
- package/dist/cli/commands/find.d.ts +0 -14
- package/dist/cli/commands/find.d.ts.map +0 -1
- package/dist/cli/commands/find.js +0 -152
- package/dist/cli/commands/find.js.map +0 -1
- package/dist/cli/commands/generate-changelog.d.ts +0 -14
- package/dist/cli/commands/generate-changelog.d.ts.map +0 -1
- package/dist/cli/commands/generate-changelog.js +0 -252
- 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 -26
- package/dist/cli/commands/grade.js.map +0 -1
- package/dist/cli/commands/history.d.ts +0 -9
- package/dist/cli/commands/history.d.ts.map +0 -1
- package/dist/cli/commands/history.js +0 -33
- package/dist/cli/commands/history.js.map +0 -1
- package/dist/cli/commands/implementation.d.ts +0 -13
- package/dist/cli/commands/implementation.d.ts.map +0 -1
- package/dist/cli/commands/implementation.js +0 -41
- package/dist/cli/commands/implementation.js.map +0 -1
- package/dist/cli/commands/import-tasks.d.ts +0 -10
- package/dist/cli/commands/import-tasks.d.ts.map +0 -1
- package/dist/cli/commands/import-tasks.js +0 -38
- package/dist/cli/commands/import-tasks.js.map +0 -1
- package/dist/cli/commands/import.d.ts +0 -9
- package/dist/cli/commands/import.d.ts.map +0 -1
- package/dist/cli/commands/import.js +0 -28
- package/dist/cli/commands/import.js.map +0 -1
- package/dist/cli/commands/init.d.ts +0 -34
- package/dist/cli/commands/init.d.ts.map +0 -1
- package/dist/cli/commands/init.js +0 -96
- package/dist/cli/commands/init.js.map +0 -1
- package/dist/cli/commands/inject.d.ts +0 -8
- package/dist/cli/commands/inject.d.ts.map +0 -1
- package/dist/cli/commands/inject.js +0 -28
- package/dist/cli/commands/inject.js.map +0 -1
- package/dist/cli/commands/intelligence.d.ts +0 -22
- package/dist/cli/commands/intelligence.d.ts.map +0 -1
- package/dist/cli/commands/intelligence.js +0 -72
- package/dist/cli/commands/intelligence.js.map +0 -1
- package/dist/cli/commands/issue.d.ts +0 -17
- package/dist/cli/commands/issue.d.ts.map +0 -1
- package/dist/cli/commands/issue.js +0 -107
- package/dist/cli/commands/issue.js.map +0 -1
- package/dist/cli/commands/labels.d.ts +0 -17
- package/dist/cli/commands/labels.d.ts.map +0 -1
- package/dist/cli/commands/labels.js +0 -48
- package/dist/cli/commands/labels.js.map +0 -1
- package/dist/cli/commands/lifecycle.d.ts +0 -8
- package/dist/cli/commands/lifecycle.d.ts.map +0 -1
- package/dist/cli/commands/lifecycle.js +0 -128
- package/dist/cli/commands/lifecycle.js.map +0 -1
- package/dist/cli/commands/list.d.ts +0 -14
- package/dist/cli/commands/list.d.ts.map +0 -1
- package/dist/cli/commands/list.js +0 -143
- package/dist/cli/commands/list.js.map +0 -1
- package/dist/cli/commands/log.d.ts +0 -12
- package/dist/cli/commands/log.d.ts.map +0 -1
- package/dist/cli/commands/log.js +0 -30
- package/dist/cli/commands/log.js.map +0 -1
- package/dist/cli/commands/map.d.ts +0 -10
- package/dist/cli/commands/map.d.ts.map +0 -1
- package/dist/cli/commands/map.js +0 -23
- package/dist/cli/commands/map.js.map +0 -1
- package/dist/cli/commands/memory-brain.d.ts +0 -15
- package/dist/cli/commands/memory-brain.d.ts.map +0 -1
- package/dist/cli/commands/memory-brain.js +0 -436
- package/dist/cli/commands/memory-brain.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 -79
- package/dist/cli/commands/migrate-claude-mem.js.map +0 -1
- package/dist/cli/commands/next.d.ts +0 -9
- package/dist/cli/commands/next.d.ts.map +0 -1
- package/dist/cli/commands/next.js +0 -20
- package/dist/cli/commands/next.js.map +0 -1
- package/dist/cli/commands/nexus.d.ts +0 -20
- package/dist/cli/commands/nexus.d.ts.map +0 -1
- package/dist/cli/commands/nexus.js +0 -2290
- package/dist/cli/commands/nexus.js.map +0 -1
- package/dist/cli/commands/observe.d.ts +0 -13
- package/dist/cli/commands/observe.d.ts.map +0 -1
- package/dist/cli/commands/observe.js +0 -30
- package/dist/cli/commands/observe.js.map +0 -1
- package/dist/cli/commands/ops.d.ts +0 -10
- package/dist/cli/commands/ops.d.ts.map +0 -1
- package/dist/cli/commands/ops.js +0 -19
- package/dist/cli/commands/ops.js.map +0 -1
- package/dist/cli/commands/orchestrate.d.ts +0 -24
- package/dist/cli/commands/orchestrate.d.ts.map +0 -1
- package/dist/cli/commands/orchestrate.js +0 -254
- package/dist/cli/commands/orchestrate.js.map +0 -1
- package/dist/cli/commands/otel.d.ts +0 -12
- package/dist/cli/commands/otel.d.ts.map +0 -1
- package/dist/cli/commands/otel.js +0 -128
- package/dist/cli/commands/otel.js.map +0 -1
- package/dist/cli/commands/phase.d.ts +0 -12
- package/dist/cli/commands/phase.d.ts.map +0 -1
- package/dist/cli/commands/phase.js +0 -91
- package/dist/cli/commands/phase.js.map +0 -1
- package/dist/cli/commands/phases.d.ts +0 -14
- package/dist/cli/commands/phases.d.ts.map +0 -1
- package/dist/cli/commands/phases.js +0 -42
- package/dist/cli/commands/phases.js.map +0 -1
- package/dist/cli/commands/plan.d.ts +0 -8
- package/dist/cli/commands/plan.d.ts.map +0 -1
- package/dist/cli/commands/plan.js +0 -15
- package/dist/cli/commands/plan.js.map +0 -1
- package/dist/cli/commands/promote.d.ts +0 -11
- package/dist/cli/commands/promote.d.ts.map +0 -1
- package/dist/cli/commands/promote.js +0 -18
- package/dist/cli/commands/promote.js.map +0 -1
- package/dist/cli/commands/provider.d.ts +0 -21
- package/dist/cli/commands/provider.d.ts.map +0 -1
- package/dist/cli/commands/provider.js +0 -88
- package/dist/cli/commands/provider.js.map +0 -1
- package/dist/cli/commands/reason.d.ts +0 -36
- package/dist/cli/commands/reason.d.ts.map +0 -1
- package/dist/cli/commands/reason.js +0 -85
- package/dist/cli/commands/reason.js.map +0 -1
- package/dist/cli/commands/refresh-memory.d.ts +0 -9
- package/dist/cli/commands/refresh-memory.d.ts.map +0 -1
- package/dist/cli/commands/refresh-memory.js +0 -24
- package/dist/cli/commands/refresh-memory.js.map +0 -1
- package/dist/cli/commands/relates.d.ts +0 -12
- package/dist/cli/commands/relates.d.ts.map +0 -1
- package/dist/cli/commands/relates.js +0 -53
- package/dist/cli/commands/relates.js.map +0 -1
- package/dist/cli/commands/release.d.ts +0 -8
- package/dist/cli/commands/release.d.ts.map +0 -1
- package/dist/cli/commands/release.js +0 -82
- package/dist/cli/commands/release.js.map +0 -1
- package/dist/cli/commands/remote.d.ts +0 -12
- package/dist/cli/commands/remote.d.ts.map +0 -1
- package/dist/cli/commands/remote.js +0 -207
- package/dist/cli/commands/remote.js.map +0 -1
- package/dist/cli/commands/reorder.d.ts +0 -17
- package/dist/cli/commands/reorder.d.ts.map +0 -1
- package/dist/cli/commands/reorder.js +0 -41
- package/dist/cli/commands/reorder.js.map +0 -1
- package/dist/cli/commands/reparent.d.ts +0 -10
- package/dist/cli/commands/reparent.d.ts.map +0 -1
- package/dist/cli/commands/reparent.js +0 -19
- package/dist/cli/commands/reparent.js.map +0 -1
- package/dist/cli/commands/research.d.ts +0 -8
- package/dist/cli/commands/research.d.ts.map +0 -1
- package/dist/cli/commands/research.js +0 -164
- package/dist/cli/commands/research.js.map +0 -1
- package/dist/cli/commands/restore.d.ts +0 -54
- package/dist/cli/commands/restore.d.ts.map +0 -1
- package/dist/cli/commands/restore.js +0 -470
- package/dist/cli/commands/restore.js.map +0 -1
- package/dist/cli/commands/roadmap.d.ts +0 -14
- package/dist/cli/commands/roadmap.d.ts.map +0 -1
- package/dist/cli/commands/roadmap.js +0 -26
- package/dist/cli/commands/roadmap.js.map +0 -1
- package/dist/cli/commands/safestop.d.ts +0 -14
- package/dist/cli/commands/safestop.d.ts.map +0 -1
- package/dist/cli/commands/safestop.js +0 -32
- package/dist/cli/commands/safestop.js.map +0 -1
- package/dist/cli/commands/schema.d.ts +0 -27
- package/dist/cli/commands/schema.d.ts.map +0 -1
- package/dist/cli/commands/schema.js +0 -160
- package/dist/cli/commands/schema.js.map +0 -1
- package/dist/cli/commands/self-update.d.ts +0 -15
- package/dist/cli/commands/self-update.d.ts.map +0 -1
- package/dist/cli/commands/self-update.js +0 -363
- package/dist/cli/commands/self-update.js.map +0 -1
- package/dist/cli/commands/sequence.d.ts +0 -11
- package/dist/cli/commands/sequence.d.ts.map +0 -1
- package/dist/cli/commands/sequence.js +0 -40
- package/dist/cli/commands/sequence.js.map +0 -1
- package/dist/cli/commands/session.d.ts +0 -12
- package/dist/cli/commands/session.d.ts.map +0 -1
- package/dist/cli/commands/session.js +0 -219
- package/dist/cli/commands/session.js.map +0 -1
- package/dist/cli/commands/show.d.ts +0 -13
- package/dist/cli/commands/show.d.ts.map +0 -1
- package/dist/cli/commands/show.js +0 -40
- package/dist/cli/commands/show.js.map +0 -1
- package/dist/cli/commands/skills.d.ts +0 -13
- package/dist/cli/commands/skills.d.ts.map +0 -1
- package/dist/cli/commands/skills.js +0 -161
- package/dist/cli/commands/skills.js.map +0 -1
- package/dist/cli/commands/snapshot.d.ts +0 -9
- package/dist/cli/commands/snapshot.d.ts.map +0 -1
- package/dist/cli/commands/snapshot.js +0 -50
- package/dist/cli/commands/snapshot.js.map +0 -1
- package/dist/cli/commands/specification.d.ts +0 -13
- package/dist/cli/commands/specification.d.ts.map +0 -1
- package/dist/cli/commands/specification.js +0 -45
- package/dist/cli/commands/specification.js.map +0 -1
- package/dist/cli/commands/start.d.ts +0 -13
- package/dist/cli/commands/start.d.ts.map +0 -1
- package/dist/cli/commands/start.js +0 -20
- package/dist/cli/commands/start.js.map +0 -1
- package/dist/cli/commands/stats.d.ts +0 -12
- package/dist/cli/commands/stats.d.ts.map +0 -1
- package/dist/cli/commands/stats.js +0 -35
- package/dist/cli/commands/stats.js.map +0 -1
- package/dist/cli/commands/sticky.d.ts +0 -16
- package/dist/cli/commands/sticky.d.ts.map +0 -1
- package/dist/cli/commands/sticky.js +0 -218
- package/dist/cli/commands/sticky.js.map +0 -1
- package/dist/cli/commands/stop.d.ts +0 -13
- package/dist/cli/commands/stop.d.ts.map +0 -1
- package/dist/cli/commands/stop.js +0 -20
- package/dist/cli/commands/stop.js.map +0 -1
- package/dist/cli/commands/sync.d.ts +0 -26
- package/dist/cli/commands/sync.d.ts.map +0 -1
- package/dist/cli/commands/sync.js +0 -82
- package/dist/cli/commands/sync.js.map +0 -1
- package/dist/cli/commands/testing.d.ts +0 -13
- package/dist/cli/commands/testing.d.ts.map +0 -1
- package/dist/cli/commands/testing.js +0 -65
- package/dist/cli/commands/testing.js.map +0 -1
- package/dist/cli/commands/token.d.ts +0 -10
- package/dist/cli/commands/token.d.ts.map +0 -1
- package/dist/cli/commands/token.js +0 -135
- package/dist/cli/commands/token.js.map +0 -1
- package/dist/cli/commands/update.d.ts +0 -12
- package/dist/cli/commands/update.d.ts.map +0 -1
- package/dist/cli/commands/update.js +0 -83
- package/dist/cli/commands/update.js.map +0 -1
- package/dist/cli/commands/upgrade.d.ts +0 -18
- package/dist/cli/commands/upgrade.d.ts.map +0 -1
- package/dist/cli/commands/upgrade.js +0 -103
- package/dist/cli/commands/upgrade.js.map +0 -1
- package/dist/cli/commands/validate.d.ts +0 -12
- package/dist/cli/commands/validate.d.ts.map +0 -1
- package/dist/cli/commands/validate.js +0 -24
- package/dist/cli/commands/validate.js.map +0 -1
- package/dist/cli/commands/verify.d.ts +0 -8
- package/dist/cli/commands/verify.d.ts.map +0 -1
- package/dist/cli/commands/verify.js +0 -28
- package/dist/cli/commands/verify.js.map +0 -1
- package/dist/cli/commands/web.d.ts +0 -19
- package/dist/cli/commands/web.d.ts.map +0 -1
- package/dist/cli/commands/web.js +0 -371
- 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-generator.d.ts +0 -74
- package/dist/cli/help-generator.d.ts.map +0 -1
- package/dist/cli/help-generator.js +0 -229
- package/dist/cli/help-generator.js.map +0 -1
- package/dist/cli/help-renderer.d.ts +0 -28
- package/dist/cli/help-renderer.d.ts.map +0 -1
- package/dist/cli/help-renderer.js +0 -301
- package/dist/cli/help-renderer.js.map +0 -1
- package/dist/cli/index.d.ts +0 -9
- package/dist/cli/index.d.ts.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/progress.d.ts +0 -84
- package/dist/cli/progress.d.ts.map +0 -1
- package/dist/cli/progress.js +0 -169
- 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 -87
- package/dist/cli/renderers/index.d.ts.map +0 -1
- package/dist/cli/renderers/index.js +0 -262
- 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 -25
- package/dist/cli/renderers/system.d.ts.map +0 -1
- package/dist/cli/renderers/system.js +0 -416
- 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/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/context/session-context.d.ts +0 -54
- package/dist/dispatch/context/session-context.d.ts.map +0 -1
- package/dist/dispatch/context/session-context.js +0 -61
- package/dist/dispatch/context/session-context.js.map +0 -1
- package/dist/dispatch/dispatcher.d.ts +0 -23
- package/dist/dispatch/dispatcher.d.ts.map +0 -1
- package/dist/dispatch/dispatcher.js +0 -84
- package/dist/dispatch/dispatcher.js.map +0 -1
- package/dist/dispatch/domains/_base.d.ts +0 -59
- package/dist/dispatch/domains/_base.d.ts.map +0 -1
- package/dist/dispatch/domains/_base.js +0 -77
- 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.d.ts +0 -25
- package/dist/dispatch/domains/admin.d.ts.map +0 -1
- package/dist/dispatch/domains/admin.js +0 -791
- package/dist/dispatch/domains/admin.js.map +0 -1
- package/dist/dispatch/domains/check.d.ts +0 -22
- package/dist/dispatch/domains/check.d.ts.map +0 -1
- package/dist/dispatch/domains/check.js +0 -381
- package/dist/dispatch/domains/check.js.map +0 -1
- package/dist/dispatch/domains/conduit.d.ts +0 -38
- package/dist/dispatch/domains/conduit.d.ts.map +0 -1
- package/dist/dispatch/domains/conduit.js +0 -360
- package/dist/dispatch/domains/conduit.js.map +0 -1
- package/dist/dispatch/domains/diagnostics.d.ts +0 -20
- package/dist/dispatch/domains/diagnostics.d.ts.map +0 -1
- package/dist/dispatch/domains/diagnostics.js +0 -77
- package/dist/dispatch/domains/diagnostics.js.map +0 -1
- package/dist/dispatch/domains/index.d.ts +0 -29
- package/dist/dispatch/domains/index.d.ts.map +0 -1
- package/dist/dispatch/domains/index.js +0 -45
- 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/memory.d.ts +0 -22
- package/dist/dispatch/domains/memory.d.ts.map +0 -1
- package/dist/dispatch/domains/memory.js +0 -387
- package/dist/dispatch/domains/memory.js.map +0 -1
- package/dist/dispatch/domains/nexus.d.ts +0 -22
- package/dist/dispatch/domains/nexus.d.ts.map +0 -1
- package/dist/dispatch/domains/nexus.js +0 -286
- package/dist/dispatch/domains/nexus.js.map +0 -1
- package/dist/dispatch/domains/orchestrate.d.ts +0 -26
- package/dist/dispatch/domains/orchestrate.d.ts.map +0 -1
- package/dist/dispatch/domains/orchestrate.js +0 -691
- package/dist/dispatch/domains/orchestrate.js.map +0 -1
- package/dist/dispatch/domains/pipeline.d.ts +0 -35
- package/dist/dispatch/domains/pipeline.d.ts.map +0 -1
- package/dist/dispatch/domains/pipeline.js +0 -593
- package/dist/dispatch/domains/pipeline.js.map +0 -1
- package/dist/dispatch/domains/session.d.ts +0 -22
- package/dist/dispatch/domains/session.d.ts.map +0 -1
- package/dist/dispatch/domains/session.js +0 -267
- package/dist/dispatch/domains/session.js.map +0 -1
- package/dist/dispatch/domains/sticky.d.ts +0 -20
- package/dist/dispatch/domains/sticky.d.ts.map +0 -1
- package/dist/dispatch/domains/sticky.js +0 -167
- package/dist/dispatch/domains/sticky.js.map +0 -1
- package/dist/dispatch/domains/tasks.d.ts +0 -25
- package/dist/dispatch/domains/tasks.d.ts.map +0 -1
- package/dist/dispatch/domains/tasks.js +0 -368
- 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 -119
- package/dist/dispatch/engines/_error.d.ts.map +0 -1
- package/dist/dispatch/engines/_error.js +0 -298
- package/dist/dispatch/engines/_error.js.map +0 -1
- package/dist/dispatch/engines/code-engine.d.ts +0 -18
- package/dist/dispatch/engines/code-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/code-engine.js +0 -71
- 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 -32
- package/dist/dispatch/engines/config-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/config-engine.js +0 -70
- package/dist/dispatch/engines/config-engine.js.map +0 -1
- package/dist/dispatch/engines/diagnostics-engine.d.ts +0 -57
- package/dist/dispatch/engines/diagnostics-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/diagnostics-engine.js +0 -163
- package/dist/dispatch/engines/diagnostics-engine.js.map +0 -1
- package/dist/dispatch/engines/hooks-engine.d.ts +0 -96
- package/dist/dispatch/engines/hooks-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/hooks-engine.js +0 -144
- package/dist/dispatch/engines/hooks-engine.js.map +0 -1
- package/dist/dispatch/engines/init-engine.d.ts +0 -56
- package/dist/dispatch/engines/init-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/init-engine.js +0 -78
- package/dist/dispatch/engines/init-engine.js.map +0 -1
- package/dist/dispatch/engines/lifecycle-engine.d.ts +0 -66
- package/dist/dispatch/engines/lifecycle-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/lifecycle-engine.js +0 -224
- 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 -167
- package/dist/dispatch/engines/nexus-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/nexus-engine.js +0 -356
- package/dist/dispatch/engines/nexus-engine.js.map +0 -1
- package/dist/dispatch/engines/orchestrate-engine.d.ts +0 -141
- package/dist/dispatch/engines/orchestrate-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/orchestrate-engine.js +0 -892
- package/dist/dispatch/engines/orchestrate-engine.js.map +0 -1
- package/dist/dispatch/engines/pipeline-engine.d.ts +0 -51
- package/dist/dispatch/engines/pipeline-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/pipeline-engine.js +0 -191
- package/dist/dispatch/engines/pipeline-engine.js.map +0 -1
- package/dist/dispatch/engines/release-engine.d.ts +0 -94
- package/dist/dispatch/engines/release-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/release-engine.js +0 -763
- package/dist/dispatch/engines/release-engine.js.map +0 -1
- package/dist/dispatch/engines/session-engine.d.ts +0 -387
- package/dist/dispatch/engines/session-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/session-engine.js +0 -924
- package/dist/dispatch/engines/session-engine.js.map +0 -1
- package/dist/dispatch/engines/sticky-engine.d.ts +0 -100
- package/dist/dispatch/engines/sticky-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/sticky-engine.js +0 -181
- 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 -1273
- package/dist/dispatch/engines/system-engine.js.map +0 -1
- package/dist/dispatch/engines/task-engine.d.ts +0 -971
- package/dist/dispatch/engines/task-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/task-engine.js +0 -1255
- 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 -108
- package/dist/dispatch/engines/template-parser.js.map +0 -1
- package/dist/dispatch/engines/tools-engine.d.ts +0 -270
- package/dist/dispatch/engines/tools-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/tools-engine.js +0 -663
- package/dist/dispatch/engines/tools-engine.js.map +0 -1
- package/dist/dispatch/engines/validate-engine.d.ts +0 -218
- package/dist/dispatch/engines/validate-engine.d.ts.map +0 -1
- package/dist/dispatch/engines/validate-engine.js +0 -737
- 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 -86
- package/dist/dispatch/lib/background-jobs.d.ts.map +0 -1
- package/dist/dispatch/lib/background-jobs.js +0 -183
- 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 -217
- 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 -26
- package/dist/dispatch/lib/engine.d.ts.map +0 -1
- package/dist/dispatch/lib/engine.js +0 -46
- 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 -3535
- package/dist/dispatch/registry.js.map +0 -1
- package/dist/dispatch/types.d.ts +0 -206
- package/dist/dispatch/types.d.ts.map +0 -1
- package/dist/dispatch/types.js +0 -27
- package/dist/dispatch/types.js.map +0 -1
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI otel command group - OpenTelemetry token metrics tracking.
|
|
3
|
-
* @task T4535
|
|
4
|
-
* @epic T4454
|
|
5
|
-
*/
|
|
6
|
-
import { CleoError, clearOtelData, formatError, getOtelSessions, getOtelSpawns, getOtelStatus, getOtelSummary, getRealTokenUsage, } from '@cleocode/core/internal';
|
|
7
|
-
import { cliOutput } from '../renderers/index.js';
|
|
8
|
-
/**
|
|
9
|
-
* Register the otel command group.
|
|
10
|
-
* @task T4535
|
|
11
|
-
*/
|
|
12
|
-
export function registerOtelCommand(program) {
|
|
13
|
-
const otel = program
|
|
14
|
-
.command('otel')
|
|
15
|
-
.description('Lightweight token metrics from .cleo/metrics/TOKEN_USAGE.jsonl (session-level, spawn-level events)');
|
|
16
|
-
otel
|
|
17
|
-
.command('status')
|
|
18
|
-
.description('Show token tracking status and recent activity')
|
|
19
|
-
.action(async () => {
|
|
20
|
-
try {
|
|
21
|
-
const result = await getOtelStatus();
|
|
22
|
-
cliOutput(result, { command: 'otel' });
|
|
23
|
-
}
|
|
24
|
-
catch (err) {
|
|
25
|
-
if (err instanceof CleoError) {
|
|
26
|
-
console.error(formatError(err));
|
|
27
|
-
process.exit(err.code);
|
|
28
|
-
}
|
|
29
|
-
throw err;
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
otel
|
|
33
|
-
.command('summary')
|
|
34
|
-
.description('Show combined token usage summary')
|
|
35
|
-
.action(async () => {
|
|
36
|
-
try {
|
|
37
|
-
const result = await getOtelSummary();
|
|
38
|
-
cliOutput(result, { command: 'otel' });
|
|
39
|
-
}
|
|
40
|
-
catch (err) {
|
|
41
|
-
if (err instanceof CleoError) {
|
|
42
|
-
console.error(formatError(err));
|
|
43
|
-
process.exit(err.code);
|
|
44
|
-
}
|
|
45
|
-
throw err;
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
otel
|
|
49
|
-
.command('sessions')
|
|
50
|
-
.description('Show session-level token data')
|
|
51
|
-
.option('--session <id>', 'Filter by session ID')
|
|
52
|
-
.option('--task <id>', 'Filter by task ID')
|
|
53
|
-
.action(async (opts) => {
|
|
54
|
-
try {
|
|
55
|
-
const result = await getOtelSessions({
|
|
56
|
-
session: opts['session'],
|
|
57
|
-
task: opts['task'],
|
|
58
|
-
});
|
|
59
|
-
cliOutput(result, { command: 'otel' });
|
|
60
|
-
}
|
|
61
|
-
catch (err) {
|
|
62
|
-
if (err instanceof CleoError) {
|
|
63
|
-
console.error(formatError(err));
|
|
64
|
-
process.exit(err.code);
|
|
65
|
-
}
|
|
66
|
-
throw err;
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
otel
|
|
70
|
-
.command('spawns')
|
|
71
|
-
.description('Show spawn-level token data')
|
|
72
|
-
.option('--task <id>', 'Filter by task ID')
|
|
73
|
-
.option('--epic <id>', 'Filter by epic ID')
|
|
74
|
-
.action(async (opts) => {
|
|
75
|
-
try {
|
|
76
|
-
const result = await getOtelSpawns({
|
|
77
|
-
task: opts['task'],
|
|
78
|
-
epic: opts['epic'],
|
|
79
|
-
});
|
|
80
|
-
cliOutput(result, { command: 'otel' });
|
|
81
|
-
}
|
|
82
|
-
catch (err) {
|
|
83
|
-
if (err instanceof CleoError) {
|
|
84
|
-
console.error(formatError(err));
|
|
85
|
-
process.exit(err.code);
|
|
86
|
-
}
|
|
87
|
-
throw err;
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
otel
|
|
91
|
-
.command('real')
|
|
92
|
-
.description('Show REAL token usage from Claude Code API')
|
|
93
|
-
.option('--session <id>', 'Filter by session ID')
|
|
94
|
-
.option('--since <date>', 'Filter events since timestamp')
|
|
95
|
-
.action(async (opts) => {
|
|
96
|
-
try {
|
|
97
|
-
const result = await getRealTokenUsage({
|
|
98
|
-
session: opts['session'],
|
|
99
|
-
since: opts['since'],
|
|
100
|
-
});
|
|
101
|
-
cliOutput(result, { command: 'otel' });
|
|
102
|
-
}
|
|
103
|
-
catch (err) {
|
|
104
|
-
if (err instanceof CleoError) {
|
|
105
|
-
console.error(formatError(err));
|
|
106
|
-
process.exit(err.code);
|
|
107
|
-
}
|
|
108
|
-
throw err;
|
|
109
|
-
}
|
|
110
|
-
});
|
|
111
|
-
otel
|
|
112
|
-
.command('clear')
|
|
113
|
-
.description('Clear token tracking data (with backup)')
|
|
114
|
-
.action(async () => {
|
|
115
|
-
try {
|
|
116
|
-
const result = await clearOtelData();
|
|
117
|
-
cliOutput(result, { command: 'otel' });
|
|
118
|
-
}
|
|
119
|
-
catch (err) {
|
|
120
|
-
if (err instanceof CleoError) {
|
|
121
|
-
console.error(formatError(err));
|
|
122
|
-
process.exit(err.code);
|
|
123
|
-
}
|
|
124
|
-
throw err;
|
|
125
|
-
}
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
//# sourceMappingURL=otel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"otel.js","sourceRoot":"","sources":["../../../src/cli/commands/otel.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,SAAS,EACT,aAAa,EACb,WAAW,EACX,eAAe,EACf,aAAa,EACb,aAAa,EACb,cAAc,EACd,iBAAiB,GAClB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD;;;GAGG;AACH,MAAM,UAAU,mBAAmB,CAAC,OAAgB;IAClD,MAAM,IAAI,GAAG,OAAO;SACjB,OAAO,CAAC,MAAM,CAAC;SACf,WAAW,CACV,oGAAoG,CACrG,CAAC;IAEJ,IAAI;SACD,OAAO,CAAC,QAAQ,CAAC;SACjB,WAAW,CAAC,gDAAgD,CAAC;SAC7D,MAAM,CAAC,KAAK,IAAI,EAAE;QACjB,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,aAAa,EAAE,CAAC;YACrC,SAAS,CAAC,MAAM,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC;QACzC,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,IAAI,GAAG,YAAY,SAAS,EAAE,CAAC;gBAC7B,OAAO,CAAC,KAAK,CAAC,WAAW,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IAAI,CAAC,SAAS,CAAuB;gBAC9C,KAAK,EAAE,IAAI,CAAC,OAAO,CAAuB;aAC3C,CAAC,CAAC;YACH,SAAS,CAAC,MAAM,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC;QACzC,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,IAAI,GAAG,YAAY,SAAS,EAAE,CAAC;gBAC7B,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC;gBAChC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACzB,CAAC;YACD,MAAM,GAAG,CAAC;QACZ,CAAC;IACH,CAAC,CAAC,CAAC;IAEL,IAAI;SACD,OAAO,CAAC,OAAO,CAAC;SAChB,WAAW,CAAC,yCAAyC,CAAC;SACtD,MAAM,CAAC,KAAK,IAAI,EAAE;QACjB,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,aAAa,EAAE,CAAC;YACrC,SAAS,CAAC,MAAM,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC;QACzC,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,IAAI,GAAG,YAAY,SAAS,EAAE,CAAC;gBAC7B,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC;gBAChC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACzB,CAAC;YACD,MAAM,GAAG,CAAC;QACZ,CAAC;IACH,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI phase command with subcommands.
|
|
3
|
-
* @task T4464, T5326
|
|
4
|
-
* @epic T4454, T5323
|
|
5
|
-
*/
|
|
6
|
-
import type { ShimCommand as Command } from '../commander-shim.js';
|
|
7
|
-
/**
|
|
8
|
-
* Register the phase command group.
|
|
9
|
-
* @task T4464, T5326
|
|
10
|
-
*/
|
|
11
|
-
export declare function registerPhaseCommand(program: Command): void;
|
|
12
|
-
//# sourceMappingURL=phase.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"phase.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/phase.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,WAAW,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEnE;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CA2H3D"}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI phase command with subcommands.
|
|
3
|
-
* @task T4464, T5326
|
|
4
|
-
* @epic T4454, T5323
|
|
5
|
-
*/
|
|
6
|
-
import { dispatchFromCli } from '../../dispatch/adapters/cli.js';
|
|
7
|
-
/**
|
|
8
|
-
* Register the phase command group.
|
|
9
|
-
* @task T4464, T5326
|
|
10
|
-
*/
|
|
11
|
-
export function registerPhaseCommand(program) {
|
|
12
|
-
const phase = program
|
|
13
|
-
.command('phase')
|
|
14
|
-
.alias('pipeline')
|
|
15
|
-
.description('Project-level phase lifecycle management');
|
|
16
|
-
// T5326: Migrated to dispatch
|
|
17
|
-
phase
|
|
18
|
-
.command('show [slug]')
|
|
19
|
-
.description('Show phase details (current phase if no slug given)')
|
|
20
|
-
.action(async (slug) => {
|
|
21
|
-
const params = slug ? { phaseId: slug } : {};
|
|
22
|
-
await dispatchFromCli('query', 'pipeline', 'phase.show', params, { command: 'phase' });
|
|
23
|
-
});
|
|
24
|
-
// T5326: Migrated to dispatch
|
|
25
|
-
phase
|
|
26
|
-
.command('list')
|
|
27
|
-
.description('List all phases with status')
|
|
28
|
-
.action(async () => {
|
|
29
|
-
await dispatchFromCli('query', 'pipeline', 'phase.list', {}, { command: 'phase' });
|
|
30
|
-
});
|
|
31
|
-
// T5326: Migrated to dispatch
|
|
32
|
-
phase
|
|
33
|
-
.command('set <slug>')
|
|
34
|
-
.description('Set current phase')
|
|
35
|
-
.option('--rollback', 'Allow backward phase movement')
|
|
36
|
-
.option('--force', 'Skip confirmation prompt')
|
|
37
|
-
.option('--dry-run', 'Preview changes without modifying files')
|
|
38
|
-
.action(async (slug, opts) => {
|
|
39
|
-
await dispatchFromCli('mutate', 'pipeline', 'phase.set', {
|
|
40
|
-
phaseId: slug,
|
|
41
|
-
rollback: opts['rollback'],
|
|
42
|
-
force: opts['force'],
|
|
43
|
-
dryRun: opts['dryRun'],
|
|
44
|
-
}, { command: 'phase' });
|
|
45
|
-
});
|
|
46
|
-
// T5326: Migrated to dispatch
|
|
47
|
-
phase
|
|
48
|
-
.command('start <slug>')
|
|
49
|
-
.description('Start a phase (pending -> active)')
|
|
50
|
-
.action(async (slug) => {
|
|
51
|
-
await dispatchFromCli('mutate', 'pipeline', 'phase.set', { phaseId: slug, action: 'start' }, { command: 'phase' });
|
|
52
|
-
});
|
|
53
|
-
// T5326: Migrated to dispatch
|
|
54
|
-
phase
|
|
55
|
-
.command('complete <slug>')
|
|
56
|
-
.description('Complete a phase (active -> completed)')
|
|
57
|
-
.action(async (slug) => {
|
|
58
|
-
await dispatchFromCli('mutate', 'pipeline', 'phase.set', { phaseId: slug, action: 'complete' }, { command: 'phase' });
|
|
59
|
-
});
|
|
60
|
-
// T5326: Migrated to dispatch
|
|
61
|
-
phase
|
|
62
|
-
.command('advance')
|
|
63
|
-
.description('Complete current phase and start next')
|
|
64
|
-
.option('-f, --force', 'Skip validation and interactive prompt')
|
|
65
|
-
.action(async (opts) => {
|
|
66
|
-
await dispatchFromCli('mutate', 'pipeline', 'phase.advance', {
|
|
67
|
-
force: opts['force'],
|
|
68
|
-
}, { command: 'phase' });
|
|
69
|
-
});
|
|
70
|
-
// T5326: Migrated to dispatch
|
|
71
|
-
phase
|
|
72
|
-
.command('rename <oldName> <newName>')
|
|
73
|
-
.description('Rename a phase and update all task references')
|
|
74
|
-
.action(async (oldName, newName) => {
|
|
75
|
-
await dispatchFromCli('mutate', 'pipeline', 'phase.rename', { oldName, newName }, { command: 'phase' });
|
|
76
|
-
});
|
|
77
|
-
// T5326: Migrated to dispatch
|
|
78
|
-
phase
|
|
79
|
-
.command('delete <slug>')
|
|
80
|
-
.description('Delete a phase with task reassignment protection')
|
|
81
|
-
.option('--reassign-to <phase>', 'Reassign tasks to another phase')
|
|
82
|
-
.option('--force', 'Required safety flag')
|
|
83
|
-
.action(async (slug, opts) => {
|
|
84
|
-
await dispatchFromCli('mutate', 'pipeline', 'phase.delete', {
|
|
85
|
-
phaseId: slug,
|
|
86
|
-
reassignTo: opts['reassignTo'],
|
|
87
|
-
force: opts['force'],
|
|
88
|
-
}, { command: 'phase' });
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
|
-
//# sourceMappingURL=phase.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"phase.js","sourceRoot":"","sources":["../../../src/cli/commands/phase.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAGjE;;;GAGG;AACH,MAAM,UAAU,oBAAoB,CAAC,OAAgB;IACnD,MAAM,KAAK,GAAG,OAAO;SAClB,OAAO,CAAC,OAAO,CAAC;SAChB,KAAK,CAAC,UAAU,CAAC;SACjB,WAAW,CAAC,0CAA0C,CAAC,CAAC;IAE3D,8BAA8B;IAC9B,KAAK;SACF,OAAO,CAAC,aAAa,CAAC;SACtB,WAAW,CAAC,qDAAqD,CAAC;SAClE,MAAM,CAAC,KAAK,EAAE,IAAa,EAAE,EAAE;QAC9B,MAAM,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC7C,MAAM,eAAe,CAAC,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,CAA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Q,EACR,UAAU,EACV,cAAc,EACd;YACE,OAAO,EAAE,IAAI;YACb,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC;YAC9B,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC;SACrB,EACD,EAAE,OAAO,EAAE,OAAO,EAAE,CACrB,CAAC;IACJ,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI phases command - phase listing with progress (separate from phase.ts).
|
|
3
|
-
* @deprecated Use `cleo phase` instead.
|
|
4
|
-
* @task T4538, T5326
|
|
5
|
-
* @epic T4454, T5323
|
|
6
|
-
*/
|
|
7
|
-
import type { ShimCommand as Command } from '../commander-shim.js';
|
|
8
|
-
/**
|
|
9
|
-
* Register the phases command group.
|
|
10
|
-
* @deprecated Use `cleo phase` instead.
|
|
11
|
-
* @task T4538, T5326
|
|
12
|
-
*/
|
|
13
|
-
export declare function registerPhasesCommand(program: Command): void;
|
|
14
|
-
//# sourceMappingURL=phases.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"phases.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/phases.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,WAAW,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEnE;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAuC5D"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI phases command - phase listing with progress (separate from phase.ts).
|
|
3
|
-
* @deprecated Use `cleo phase` instead.
|
|
4
|
-
* @task T4538, T5326
|
|
5
|
-
* @epic T4454, T5323
|
|
6
|
-
*/
|
|
7
|
-
import { dispatchFromCli } from '../../dispatch/adapters/cli.js';
|
|
8
|
-
/**
|
|
9
|
-
* Register the phases command group.
|
|
10
|
-
* @deprecated Use `cleo phase` instead.
|
|
11
|
-
* @task T4538, T5326
|
|
12
|
-
*/
|
|
13
|
-
export function registerPhasesCommand(program) {
|
|
14
|
-
const phases = program
|
|
15
|
-
.command('phases')
|
|
16
|
-
.description('DEPRECATED: Use `cleo phase` instead. List phases with progress bars and statistics');
|
|
17
|
-
// T5326: Migrated to dispatch
|
|
18
|
-
phases
|
|
19
|
-
.command('list', { isDefault: true })
|
|
20
|
-
.description('List all phases with progress (default)')
|
|
21
|
-
.action(async () => {
|
|
22
|
-
console.error('[DEPRECATED] cleo phases is deprecated. Use: cleo phase list');
|
|
23
|
-
await dispatchFromCli('query', 'pipeline', 'phase.list', {}, { command: 'phases' });
|
|
24
|
-
});
|
|
25
|
-
// T5326: Migrated to dispatch
|
|
26
|
-
phases
|
|
27
|
-
.command('show <phase>')
|
|
28
|
-
.description('Show phase details and task counts')
|
|
29
|
-
.action(async (phase) => {
|
|
30
|
-
console.error('[DEPRECATED] cleo phases is deprecated. Use: cleo phase show');
|
|
31
|
-
await dispatchFromCli('query', 'pipeline', 'phase.show', { phaseId: phase }, { command: 'phases' });
|
|
32
|
-
});
|
|
33
|
-
// T5326: Migrated to dispatch
|
|
34
|
-
phases
|
|
35
|
-
.command('stats')
|
|
36
|
-
.description('Show detailed phase statistics')
|
|
37
|
-
.action(async () => {
|
|
38
|
-
console.error('[DEPRECATED] cleo phases is deprecated. Use: cleo phase list');
|
|
39
|
-
await dispatchFromCli('query', 'pipeline', 'phase.list', {}, { command: 'phases' });
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
//# sourceMappingURL=phases.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"phases.js","sourceRoot":"","sources":["../../../src/cli/commands/phases.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAGjE;;;;GAIG;AACH,MAAM,UAAU,qBAAqB,CAAC,OAAgB;IACpD,MAAM,MAAM,GAAG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
|
-
*/
|
|
6
|
-
import type { ShimCommand as Command } from '../commander-shim.js';
|
|
7
|
-
export declare function registerPlanCommand(program: Command): void;
|
|
8
|
-
//# sourceMappingURL=plan.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plan.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/plan.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,WAAW,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEnE,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAe1D"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI plan command - composite planning view.
|
|
3
|
-
* @task T4914
|
|
4
|
-
* @epic T4454
|
|
5
|
-
*/
|
|
6
|
-
import { dispatchFromCli } from '../../dispatch/adapters/cli.js';
|
|
7
|
-
export function registerPlanCommand(program) {
|
|
8
|
-
program
|
|
9
|
-
.command('plan')
|
|
10
|
-
.description('Task prioritization view: in-progress epics, ready tasks, blocked tasks, open bugs with scoring. Use when deciding what to work on next.')
|
|
11
|
-
.action(async () => {
|
|
12
|
-
await dispatchFromCli('query', 'tasks', 'plan', {}, { command: 'plan', operation: 'tasks.plan' });
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=plan.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plan.js","sourceRoot":"","sources":["../../../src/cli/commands/plan.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAGjE,MAAM,UAAU,mBAAmB,CAAC,OAAgB;IAClD,OAAO;SACJ,OAAO,CAAC,MAAM,CAAC;SACf,WAAW,CACV,0IAA0I,CAC3I;SACA,MAAM,CAAC,KAAK,IAAI,EAAE;QACjB,MAAM,eAAe,CACnB,OAAO,EACP,OAAO,EACP,MAAM,EACN,EAAE,EACF,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,CAC7C,CAAC;IACJ,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI promote command - remove parent from task, making it root-level.
|
|
3
|
-
*
|
|
4
|
-
* Routes to `tasks.reparent` with `newParentId: null` (the canonical way to
|
|
5
|
-
* promote a task since T5615 rationalization removed `tasks.promote`).
|
|
6
|
-
*
|
|
7
|
-
* @task T4454
|
|
8
|
-
*/
|
|
9
|
-
import type { ShimCommand as Command } from '../commander-shim.js';
|
|
10
|
-
export declare function registerPromoteCommand(program: Command): void;
|
|
11
|
-
//# sourceMappingURL=promote.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"promote.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/promote.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,WAAW,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEnE,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAa7D"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI promote command - remove parent from task, making it root-level.
|
|
3
|
-
*
|
|
4
|
-
* Routes to `tasks.reparent` with `newParentId: null` (the canonical way to
|
|
5
|
-
* promote a task since T5615 rationalization removed `tasks.promote`).
|
|
6
|
-
*
|
|
7
|
-
* @task T4454
|
|
8
|
-
*/
|
|
9
|
-
import { dispatchFromCli } from '../../dispatch/adapters/cli.js';
|
|
10
|
-
export function registerPromoteCommand(program) {
|
|
11
|
-
program
|
|
12
|
-
.command('promote <task-id>')
|
|
13
|
-
.description('Remove parent from task, making it root-level')
|
|
14
|
-
.action(async (taskId) => {
|
|
15
|
-
await dispatchFromCli('mutate', 'tasks', 'reparent', { taskId, newParentId: null }, { command: 'promote' });
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=promote.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"promote.js","sourceRoot":"","sources":["../../../src/cli/commands/promote.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAGjE,MAAM,UAAU,sBAAsB,CAAC,OAAgB;IACrD,OAAO;SACJ,OAAO,CAAC,mBAAmB,CAAC;SAC5B,WAAW,CAAC,+CAA+C,CAAC;SAC5D,MAAM,CAAC,KAAK,EAAE,MAAc,EAAE,EAAE;QAC/B,MAAM,eAAe,CACnB,QAAQ,EACR,OAAO,EACP,UAAU,EACV,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAC7B,EAAE,OAAO,EAAE,SAAS,EAAE,CACvB,CAAC;IACJ,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI provider command - CAAMP provider registry: list, detect, supports, hooks, inject.
|
|
3
|
-
*
|
|
4
|
-
* Covers all tools.provider.* operations:
|
|
5
|
-
* provider.list (query) — list registered providers
|
|
6
|
-
* provider.detect (query) — detect active provider in current environment
|
|
7
|
-
* provider.inject.status (query) — show inject status for project/global scope
|
|
8
|
-
* provider.supports (query) — check if a provider supports a capability
|
|
9
|
-
* provider.hooks (query) — list providers by hook event support
|
|
10
|
-
* provider.inject (mutate) — inject provider references into AGENTS.md
|
|
11
|
-
*
|
|
12
|
-
* @task T479
|
|
13
|
-
* @epic T443
|
|
14
|
-
*/
|
|
15
|
-
import type { ShimCommand as Command } from '../commander-shim.js';
|
|
16
|
-
/**
|
|
17
|
-
* Register the provider command with all subcommands.
|
|
18
|
-
* @task T479
|
|
19
|
-
*/
|
|
20
|
-
export declare function registerProviderCommand(program: Command): void;
|
|
21
|
-
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/provider.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,KAAK,EAAE,WAAW,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEnE;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAoH9D"}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI provider command - CAAMP provider registry: list, detect, supports, hooks, inject.
|
|
3
|
-
*
|
|
4
|
-
* Covers all tools.provider.* operations:
|
|
5
|
-
* provider.list (query) — list registered providers
|
|
6
|
-
* provider.detect (query) — detect active provider in current environment
|
|
7
|
-
* provider.inject.status (query) — show inject status for project/global scope
|
|
8
|
-
* provider.supports (query) — check if a provider supports a capability
|
|
9
|
-
* provider.hooks (query) — list providers by hook event support
|
|
10
|
-
* provider.inject (mutate) — inject provider references into AGENTS.md
|
|
11
|
-
*
|
|
12
|
-
* @task T479
|
|
13
|
-
* @epic T443
|
|
14
|
-
*/
|
|
15
|
-
import { dispatchFromCli } from '../../dispatch/adapters/cli.js';
|
|
16
|
-
/**
|
|
17
|
-
* Register the provider command with all subcommands.
|
|
18
|
-
* @task T479
|
|
19
|
-
*/
|
|
20
|
-
export function registerProviderCommand(program) {
|
|
21
|
-
const providerCmd = program
|
|
22
|
-
.command('provider')
|
|
23
|
-
.description('CAAMP provider registry: list, detect, supports, hooks, inject');
|
|
24
|
-
// Subcommand: list
|
|
25
|
-
providerCmd
|
|
26
|
-
.command('list')
|
|
27
|
-
.description('List all registered CAAMP providers')
|
|
28
|
-
.option('--limit <n>', 'Maximum providers to return')
|
|
29
|
-
.option('--offset <n>', 'Offset for pagination')
|
|
30
|
-
.action(async (opts) => {
|
|
31
|
-
await dispatchFromCli('query', 'tools', 'provider.list', {
|
|
32
|
-
limit: opts['limit'] ? Number(opts['limit']) : undefined,
|
|
33
|
-
offset: opts['offset'] ? Number(opts['offset']) : undefined,
|
|
34
|
-
}, { command: 'provider', operation: 'tools.provider.list' });
|
|
35
|
-
});
|
|
36
|
-
// Subcommand: detect
|
|
37
|
-
providerCmd
|
|
38
|
-
.command('detect')
|
|
39
|
-
.description('Detect which provider is active in the current environment')
|
|
40
|
-
.action(async () => {
|
|
41
|
-
await dispatchFromCli('query', 'tools', 'provider.detect', {}, { command: 'provider', operation: 'tools.provider.detect' });
|
|
42
|
-
});
|
|
43
|
-
// Subcommand: inject-status
|
|
44
|
-
providerCmd
|
|
45
|
-
.command('inject-status')
|
|
46
|
-
.description('Show provider injection status for project or global scope')
|
|
47
|
-
.option('--scope <scope>', 'Scope: project or global (default: project)')
|
|
48
|
-
.option('--content <content>', 'Content string to check against')
|
|
49
|
-
.action(async (opts) => {
|
|
50
|
-
await dispatchFromCli('query', 'tools', 'provider.inject.status', {
|
|
51
|
-
scope: opts['scope'] ?? 'project',
|
|
52
|
-
content: opts['content'],
|
|
53
|
-
}, { command: 'provider', operation: 'tools.provider.inject.status' });
|
|
54
|
-
});
|
|
55
|
-
// Subcommand: supports
|
|
56
|
-
providerCmd
|
|
57
|
-
.command('supports <provider-id> <capability>')
|
|
58
|
-
.description('Check if a provider supports a capability (e.g., spawn.supportsSubagents)')
|
|
59
|
-
.action(async (providerId, capability) => {
|
|
60
|
-
await dispatchFromCli('query', 'tools', 'provider.supports', { providerId, capability }, { command: 'provider', operation: 'tools.provider.supports' });
|
|
61
|
-
});
|
|
62
|
-
// Subcommand: hooks
|
|
63
|
-
providerCmd
|
|
64
|
-
.command('hooks <event>')
|
|
65
|
-
.description('List providers that support a specific hook event (e.g., onSessionStart)')
|
|
66
|
-
.action(async (event) => {
|
|
67
|
-
await dispatchFromCli('query', 'tools', 'provider.hooks', { event }, { command: 'provider', operation: 'tools.provider.hooks' });
|
|
68
|
-
});
|
|
69
|
-
// Subcommand: inject
|
|
70
|
-
providerCmd
|
|
71
|
-
.command('inject')
|
|
72
|
-
.description('Inject provider references into AGENTS.md (project or global scope)')
|
|
73
|
-
.option('--scope <scope>', 'Scope: project or global (default: project)')
|
|
74
|
-
.option('--references <refs...>', 'Provider reference IDs to inject')
|
|
75
|
-
.option('--content <content>', 'Content string to inject directly')
|
|
76
|
-
.action(async (opts) => {
|
|
77
|
-
await dispatchFromCli('mutate', 'tools', 'provider.inject', {
|
|
78
|
-
scope: opts['scope'] ?? 'project',
|
|
79
|
-
references: opts['references'],
|
|
80
|
-
content: opts['content'],
|
|
81
|
-
}, { command: 'provider', operation: 'tools.provider.inject' });
|
|
82
|
-
});
|
|
83
|
-
// Default action (no subcommand) - list
|
|
84
|
-
providerCmd.action(async () => {
|
|
85
|
-
await dispatchFromCli('query', 'tools', 'provider.list', {}, { command: 'provider', operation: 'tools.provider.list' });
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
//# sourceMappingURL=provider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../../../src/cli/commands/provider.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAGjE;;;GAGG;AACH,MAAM,UAAU,uBAAuB,CAAC,OAAgB;IACtD,MAAM,WAAW,GAAG,OAAO;SACxB,OAAO,CAAC,UAAU,CAAC;SACnB,WAAW,CAAC,gEAAgE,CAAC,CAAC;IAEjF,mBAAmB;IACnB,WAAW;SACR,OAAO,CAAC,MAAM,CAAC;SACf,WAAW,CAAC,qCAAqC,CAAC;SAClD,MAAM,CAAC,aAAa,EAAE,6BAA6B,CAAC;SACpD,MAAM,CAAC,cAAc,EAAE,uBAAuB,CAAC;SAC/C,MAAM,CAAC,KAAK,EAAE,IAA6B,EAAE,EAAE;QAC9C,MAAM,eAAe,CACnB,OAAO,EACP,OAAO,EACP,eAAe,EACf;YACE,KAAK,EAAE,IAAI,CAAC,O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,eAAe,EACf,EAAE,EACF,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,qBAAqB,EAAE,CAC1D,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI reason command group — reasoning and intelligence operations.
|
|
3
|
-
*
|
|
4
|
-
* Surfaces task dependency intelligence as first-class CLI commands.
|
|
5
|
-
*
|
|
6
|
-
* Commands:
|
|
7
|
-
* cleo reason impact --change <text> — predict impact of a free-text change (T043)
|
|
8
|
-
* cleo reason impact <taskId> — downstream dependency impact for a known task
|
|
9
|
-
* cleo reason timeline <taskId> — task history and audit trail
|
|
10
|
-
*
|
|
11
|
-
* DEPRECATED (removed): `reason why` and `reason similar` were duplicates of
|
|
12
|
-
* `memory reason-why` and `memory reason-similar`. Use the `memory` subcommands.
|
|
13
|
-
*
|
|
14
|
-
* @task T043
|
|
15
|
-
* @task T044
|
|
16
|
-
* @epic T038
|
|
17
|
-
*/
|
|
18
|
-
import type { ShimCommand as Command } from '../commander-shim.js';
|
|
19
|
-
/**
|
|
20
|
-
* Register the `cleo reason` command group and its subcommands.
|
|
21
|
-
*
|
|
22
|
-
* @remarks
|
|
23
|
-
* Adds `impact` and `timeline` subcommands that dispatch to the tasks domain.
|
|
24
|
-
* `why` and `similar` were removed as duplicates of `cleo memory reason-why`
|
|
25
|
-
* and `cleo memory reason-similar`.
|
|
26
|
-
*
|
|
27
|
-
* @param program - Root CLI program instance (commander shim).
|
|
28
|
-
*
|
|
29
|
-
* @example
|
|
30
|
-
* ```ts
|
|
31
|
-
* registerReasonCommand(rootCommand);
|
|
32
|
-
* // Adds: cleo reason impact|timeline
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
export declare function registerReasonCommand(program: Command): void;
|
|
36
|
-
//# sourceMappingURL=reason.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reason.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/reason.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,KAAK,EAAE,WAAW,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEnE;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAwE5D"}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI reason command group — reasoning and intelligence operations.
|
|
3
|
-
*
|
|
4
|
-
* Surfaces task dependency intelligence as first-class CLI commands.
|
|
5
|
-
*
|
|
6
|
-
* Commands:
|
|
7
|
-
* cleo reason impact --change <text> — predict impact of a free-text change (T043)
|
|
8
|
-
* cleo reason impact <taskId> — downstream dependency impact for a known task
|
|
9
|
-
* cleo reason timeline <taskId> — task history and audit trail
|
|
10
|
-
*
|
|
11
|
-
* DEPRECATED (removed): `reason why` and `reason similar` were duplicates of
|
|
12
|
-
* `memory reason-why` and `memory reason-similar`. Use the `memory` subcommands.
|
|
13
|
-
*
|
|
14
|
-
* @task T043
|
|
15
|
-
* @task T044
|
|
16
|
-
* @epic T038
|
|
17
|
-
*/
|
|
18
|
-
import { dispatchFromCli } from '../../dispatch/adapters/cli.js';
|
|
19
|
-
/**
|
|
20
|
-
* Register the `cleo reason` command group and its subcommands.
|
|
21
|
-
*
|
|
22
|
-
* @remarks
|
|
23
|
-
* Adds `impact` and `timeline` subcommands that dispatch to the tasks domain.
|
|
24
|
-
* `why` and `similar` were removed as duplicates of `cleo memory reason-why`
|
|
25
|
-
* and `cleo memory reason-similar`.
|
|
26
|
-
*
|
|
27
|
-
* @param program - Root CLI program instance (commander shim).
|
|
28
|
-
*
|
|
29
|
-
* @example
|
|
30
|
-
* ```ts
|
|
31
|
-
* registerReasonCommand(rootCommand);
|
|
32
|
-
* // Adds: cleo reason impact|timeline
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
export function registerReasonCommand(program) {
|
|
36
|
-
const reason = program
|
|
37
|
-
.command('reason')
|
|
38
|
-
.description('Reasoning and intelligence operations (impact, timeline)');
|
|
39
|
-
// -- impact --
|
|
40
|
-
// Two modes:
|
|
41
|
-
// cleo reason impact --change "Modify X" → free-text prediction (T043)
|
|
42
|
-
// cleo reason impact <taskId> → dependency graph impact for known task
|
|
43
|
-
reason
|
|
44
|
-
.command('impact [taskId]')
|
|
45
|
-
.description('Predict impact of a change. Use --change for free-text prediction, or pass a taskId for graph-based analysis.')
|
|
46
|
-
.option('--change <description>', 'Free-text description of the proposed change (T043)')
|
|
47
|
-
.option('--limit <n>', 'Maximum seed tasks to match when using --change (default: 5)', '5')
|
|
48
|
-
.option('--depth <n>', 'Maximum traversal depth when using taskId (default: 10)', '10')
|
|
49
|
-
.option('--json', 'Output raw JSON envelope')
|
|
50
|
-
.action(async (taskId, opts) => {
|
|
51
|
-
const change = opts['change'];
|
|
52
|
-
if (change) {
|
|
53
|
-
// Free-text impact prediction (T043): tasks.impact
|
|
54
|
-
await dispatchFromCli('query', 'tasks', 'impact', {
|
|
55
|
-
change,
|
|
56
|
-
matchLimit: parseInt(opts['limit'], 10),
|
|
57
|
-
}, { command: 'reason', operation: 'tasks.impact' });
|
|
58
|
-
}
|
|
59
|
-
else if (taskId) {
|
|
60
|
-
// Graph-based impact for a specific known task: tasks.depends
|
|
61
|
-
await dispatchFromCli('query', 'tasks', 'depends', {
|
|
62
|
-
taskId,
|
|
63
|
-
action: 'impact',
|
|
64
|
-
depth: parseInt(opts['depth'], 10),
|
|
65
|
-
}, { command: 'reason', operation: 'tasks.depends' });
|
|
66
|
-
}
|
|
67
|
-
else {
|
|
68
|
-
process.stderr.write('Error: reason impact requires either --change <description> or a <taskId>\n');
|
|
69
|
-
process.exit(1);
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
// -- timeline --
|
|
73
|
-
reason
|
|
74
|
-
.command('timeline <taskId>')
|
|
75
|
-
.description('Show history and audit trail for a task')
|
|
76
|
-
.option('--limit <n>', 'Maximum number of history entries', parseInt)
|
|
77
|
-
.option('--json', 'Output raw JSON envelope')
|
|
78
|
-
.action(async (taskId, opts) => {
|
|
79
|
-
await dispatchFromCli('query', 'tasks', 'history', {
|
|
80
|
-
taskId,
|
|
81
|
-
limit: opts['limit'],
|
|
82
|
-
}, { command: 'reason', operation: 'tasks.history' });
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
//# sourceMappingURL=reason.js.map
|