@cleocode/cleo 2026.4.59 → 2026.4.60
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 +497 -13
- package/dist/cli/index.js.map +3 -3
- 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,107 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI issue command - file bug reports, feature requests, or questions to CLEO GitHub.
|
|
3
|
-
* Supports subcommands: bug, feature, help, diagnostics.
|
|
4
|
-
*
|
|
5
|
-
* Fix #63: Calls addIssue() from core directly (the tools.issue.add.*
|
|
6
|
-
* operations were removed from the registry in T5615).
|
|
7
|
-
*
|
|
8
|
-
* @task T4555
|
|
9
|
-
* @epic T4545
|
|
10
|
-
*/
|
|
11
|
-
import { execFileSync } from 'node:child_process';
|
|
12
|
-
import { addIssue, BUILD_CONFIG } from '@cleocode/core/internal';
|
|
13
|
-
import { dispatchFromCli } from '../../dispatch/adapters/cli.js';
|
|
14
|
-
import { cliOutput } from '../renderers/index.js';
|
|
15
|
-
const CLEO_REPO = BUILD_CONFIG.repository.fullName;
|
|
16
|
-
/**
|
|
17
|
-
* Register the issue command with all subcommands.
|
|
18
|
-
* @task T4555
|
|
19
|
-
*/
|
|
20
|
-
export function registerIssueCommand(program) {
|
|
21
|
-
const issueCmd = program
|
|
22
|
-
.command('issue')
|
|
23
|
-
.description('File bug reports, feature requests, or questions to CLEO GitHub repo');
|
|
24
|
-
// Subcommand: bug
|
|
25
|
-
issueCmd
|
|
26
|
-
.command('bug')
|
|
27
|
-
.description('File a bug report')
|
|
28
|
-
.requiredOption('--title <title>', 'Issue title')
|
|
29
|
-
.requiredOption('--body <body>', 'Issue description')
|
|
30
|
-
.option('--severity <severity>', 'Severity level (Blocker, Major, Moderate, Minor)')
|
|
31
|
-
.option('--area <area>', 'Affected area (cli, dispatch, docs, tests, other)')
|
|
32
|
-
.option('--open', 'Open issue in browser after creation')
|
|
33
|
-
.option('--dry-run', 'Preview without filing')
|
|
34
|
-
.action(async (opts) => {
|
|
35
|
-
await handleIssueType('bug', opts);
|
|
36
|
-
});
|
|
37
|
-
// Subcommand: feature
|
|
38
|
-
issueCmd
|
|
39
|
-
.command('feature')
|
|
40
|
-
.description('Request a new feature')
|
|
41
|
-
.requiredOption('--title <title>', 'Issue title')
|
|
42
|
-
.requiredOption('--body <body>', 'Issue description')
|
|
43
|
-
.option('--area <area>', 'Affected area')
|
|
44
|
-
.option('--open', 'Open issue in browser after creation')
|
|
45
|
-
.option('--dry-run', 'Preview without filing')
|
|
46
|
-
.action(async (opts) => {
|
|
47
|
-
await handleIssueType('feature', opts);
|
|
48
|
-
});
|
|
49
|
-
// Subcommand: help
|
|
50
|
-
issueCmd
|
|
51
|
-
.command('help')
|
|
52
|
-
.description('Ask a question')
|
|
53
|
-
.requiredOption('--title <title>', 'Issue title')
|
|
54
|
-
.requiredOption('--body <body>', 'Issue description')
|
|
55
|
-
.option('--open', 'Open issue in browser after creation')
|
|
56
|
-
.option('--dry-run', 'Preview without filing')
|
|
57
|
-
.action(async (opts) => {
|
|
58
|
-
await handleIssueType('help', opts);
|
|
59
|
-
});
|
|
60
|
-
// Subcommand: diagnostics
|
|
61
|
-
issueCmd
|
|
62
|
-
.command('diagnostics')
|
|
63
|
-
.description('Show system diagnostics (no issue filed)')
|
|
64
|
-
.action(async () => {
|
|
65
|
-
await dispatchFromCli('query', 'tools', 'issue.diagnostics', {}, {
|
|
66
|
-
command: 'issue',
|
|
67
|
-
operation: 'tools.issue.diagnostics',
|
|
68
|
-
});
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Handle issue creation for a subcommand type (bug, feature, help).
|
|
73
|
-
* Calls addIssue() from core directly (Fix #63: operations were removed in T5615).
|
|
74
|
-
* @task T4555
|
|
75
|
-
*/
|
|
76
|
-
async function handleIssueType(issueType, opts) {
|
|
77
|
-
let result;
|
|
78
|
-
try {
|
|
79
|
-
result = addIssue({
|
|
80
|
-
issueType,
|
|
81
|
-
title: opts['title'],
|
|
82
|
-
body: opts['body'],
|
|
83
|
-
severity: opts['severity'],
|
|
84
|
-
area: opts['area'],
|
|
85
|
-
dryRun: !!opts['dryRun'],
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
catch (err) {
|
|
89
|
-
console.error(`Failed to create issue: ${err instanceof Error ? err.message : String(err)}`);
|
|
90
|
-
process.exitCode = 1;
|
|
91
|
-
return;
|
|
92
|
-
}
|
|
93
|
-
// Handle browser open if requested
|
|
94
|
-
if (opts['open'] && typeof result.url === 'string' && result.url.startsWith('https://')) {
|
|
95
|
-
const issueNumber = result.url.match(/(\d+)$/)?.[1] ?? 'unknown';
|
|
96
|
-
try {
|
|
97
|
-
execFileSync('gh', ['issue', 'view', issueNumber, '--repo', CLEO_REPO, '--web'], {
|
|
98
|
-
stdio: ['pipe', 'pipe', 'pipe'],
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
catch {
|
|
102
|
-
// Browser open is non-fatal
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
cliOutput(result, { command: 'issue', operation: `tools.issue.add.${issueType}` });
|
|
106
|
-
}
|
|
107
|
-
//# sourceMappingURL=issue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"issue.js","sourceRoot":"","sources":["../../../src/cli/commands/issue.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAuB,QAAQ,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACtF,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEjE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,MAAM,SAAS,GAAG,YAAY,CAAC,UAAU,CAAC,QAAQ,CAAC;AAEnD;;;GAGG;AACH,MAAM,UAAU,oBAAoB,CAAC,OAAgB;IACnD,MAAM,QAAQ,GAAG,OAAO;SACrB,OAAO,CAAC,OAAO,CAAC;SAChB,WAAW,CAAC,sEAAsE,CAAC,CAAC;IAEvF,kBAAkB;IAClB,QAAQ;SACL,OAAO,CAAC,KAAK,CAAC;SACd,WAAW,CAAC,mBAAmB,CAAC;SAChC,cAAc,CAAC,iBAAiB,EAAE,aAAa,CAAC;SAChD,cAAc,CAAC,eAAe,EAAE,mBAAmB,CAAC;SACpD,MAAM,CAAC,uBAAuB,EAAE,kDAAkD,CAAC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AAE;gBAC/E,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;aAChC,CAAC,CAAC;QACL,CAAC;QAAC,MAAM,CAAC;YACP,4BAA4B;QAC9B,CAAC;IACH,CAAC;IAED,SAAS,CAAC,MAAM,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,mBAAmB,SAAS,EAAE,EAAE,CAAC,CAAC;AACrF,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI labels command - label management.
|
|
3
|
-
* Routes through dispatch layer to tasks.label.list.
|
|
4
|
-
*
|
|
5
|
-
* Note: `tasks.label.show` was removed in T5615 rationalization.
|
|
6
|
-
* Use `tasks.label.list` with a `{label}` filter param instead.
|
|
7
|
-
*
|
|
8
|
-
* @task T4538
|
|
9
|
-
* @epic T4454
|
|
10
|
-
*/
|
|
11
|
-
import type { ShimCommand as Command } from '../commander-shim.js';
|
|
12
|
-
/**
|
|
13
|
-
* Register the labels command group.
|
|
14
|
-
* @task T4538
|
|
15
|
-
*/
|
|
16
|
-
export declare function registerLabelsCommand(program: Command): void;
|
|
17
|
-
//# sourceMappingURL=labels.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"labels.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/labels.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,KAAK,EAAE,WAAW,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEnE;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAmC5D"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI labels command - label management.
|
|
3
|
-
* Routes through dispatch layer to tasks.label.list.
|
|
4
|
-
*
|
|
5
|
-
* Note: `tasks.label.show` was removed in T5615 rationalization.
|
|
6
|
-
* Use `tasks.label.list` with a `{label}` filter param instead.
|
|
7
|
-
*
|
|
8
|
-
* @task T4538
|
|
9
|
-
* @epic T4454
|
|
10
|
-
*/
|
|
11
|
-
import { dispatchFromCli } from '../../dispatch/adapters/cli.js';
|
|
12
|
-
/**
|
|
13
|
-
* Register the labels command group.
|
|
14
|
-
* @task T4538
|
|
15
|
-
*/
|
|
16
|
-
export function registerLabelsCommand(program) {
|
|
17
|
-
const labels = program
|
|
18
|
-
.command('labels')
|
|
19
|
-
.description('List all labels with counts or show tasks with specific label');
|
|
20
|
-
labels
|
|
21
|
-
.command('list', { isDefault: true })
|
|
22
|
-
.description('List all labels with task counts (default)')
|
|
23
|
-
.action(async () => {
|
|
24
|
-
await dispatchFromCli('query', 'tasks', 'label.list', {}, { command: 'labels' });
|
|
25
|
-
});
|
|
26
|
-
labels
|
|
27
|
-
.command('show <label>')
|
|
28
|
-
.description('Show tasks with specific label')
|
|
29
|
-
.action(async (label) => {
|
|
30
|
-
await dispatchFromCli('query', 'tasks', 'list', { label }, { command: 'labels' });
|
|
31
|
-
});
|
|
32
|
-
labels
|
|
33
|
-
.command('stats')
|
|
34
|
-
.description('Show detailed label statistics')
|
|
35
|
-
.action(async () => {
|
|
36
|
-
// stats is essentially label.list with additional computed fields
|
|
37
|
-
// For now, route through label.list since it provides the same base data
|
|
38
|
-
await dispatchFromCli('query', 'tasks', 'label.list', {}, { command: 'labels' });
|
|
39
|
-
});
|
|
40
|
-
// Alias: tags -> labels
|
|
41
|
-
program
|
|
42
|
-
.command('tags')
|
|
43
|
-
.description('Alias for labels command')
|
|
44
|
-
.action(async () => {
|
|
45
|
-
await dispatchFromCli('query', 'tasks', 'label.list', {}, { command: 'labels' });
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
//# sourceMappingURL=labels.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"labels.js","sourceRoot":"","sources":["../../../src/cli/commands/labels.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,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AE,OAAO,EAAE,QAAQ,EAAE,CAAC,CAAC;IACnF,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lifecycle.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/lifecycle.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,WAAW,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEnE,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAkM/D"}
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI lifecycle command group.
|
|
3
|
-
* @task T4467
|
|
4
|
-
* @epic T4454
|
|
5
|
-
*/
|
|
6
|
-
import { dispatchFromCli, dispatchRaw, handleRawError } from '../../dispatch/adapters/cli.js';
|
|
7
|
-
export function registerLifecycleCommand(program) {
|
|
8
|
-
const lifecycle = program
|
|
9
|
-
.command('lifecycle')
|
|
10
|
-
.description('RCASD-IVTR+C lifecycle pipeline management');
|
|
11
|
-
lifecycle
|
|
12
|
-
.command('show <epicId>')
|
|
13
|
-
.description('Show lifecycle state for an epic')
|
|
14
|
-
.action(async (epicId) => {
|
|
15
|
-
await dispatchFromCli('query', 'pipeline', 'stage.status', { epicId }, { command: 'lifecycle' });
|
|
16
|
-
});
|
|
17
|
-
lifecycle
|
|
18
|
-
.command('start <epicId> <stage>')
|
|
19
|
-
.description('Start a lifecycle stage. Valid stages: research|consensus|architecture_decision|specification|decomposition|implementation|validation|testing|release|contribution')
|
|
20
|
-
.action(async (epicId, stage) => {
|
|
21
|
-
await dispatchFromCli('mutate', 'pipeline', 'stage.record', {
|
|
22
|
-
taskId: epicId,
|
|
23
|
-
stage,
|
|
24
|
-
status: 'in_progress',
|
|
25
|
-
}, { command: 'lifecycle' });
|
|
26
|
-
});
|
|
27
|
-
lifecycle
|
|
28
|
-
.command('complete <epicId> <stage>')
|
|
29
|
-
.description('Complete a lifecycle stage. Valid stages: research|consensus|architecture_decision|specification|decomposition|implementation|validation|testing|release|contribution')
|
|
30
|
-
.option('--artifacts <artifacts>', 'Comma-separated artifact paths')
|
|
31
|
-
.option('--notes <notes>', 'Completion notes')
|
|
32
|
-
.action(async (epicId, stage, opts) => {
|
|
33
|
-
await dispatchFromCli('mutate', 'pipeline', 'stage.record', {
|
|
34
|
-
taskId: epicId,
|
|
35
|
-
stage,
|
|
36
|
-
status: 'completed',
|
|
37
|
-
notes: opts['notes'],
|
|
38
|
-
}, { command: 'lifecycle' });
|
|
39
|
-
});
|
|
40
|
-
lifecycle
|
|
41
|
-
.command('skip <epicId> <stage>')
|
|
42
|
-
.description('Skip a lifecycle stage. Valid stages: research|consensus|architecture_decision|specification|decomposition|implementation|validation|testing|release|contribution')
|
|
43
|
-
.requiredOption('--reason <reason>', 'Reason for skipping')
|
|
44
|
-
.action(async (epicId, stage, opts) => {
|
|
45
|
-
await dispatchFromCli('mutate', 'pipeline', 'stage.skip', {
|
|
46
|
-
taskId: epicId,
|
|
47
|
-
stage,
|
|
48
|
-
reason: opts['reason'],
|
|
49
|
-
}, { command: 'lifecycle' });
|
|
50
|
-
});
|
|
51
|
-
lifecycle
|
|
52
|
-
.command('gate <epicId> <stage>')
|
|
53
|
-
.description('Check lifecycle gate for a stage')
|
|
54
|
-
.action(async (epicId, stage) => {
|
|
55
|
-
const result = await dispatchRaw('query', 'pipeline', 'stage.validate', {
|
|
56
|
-
epicId,
|
|
57
|
-
targetStage: stage,
|
|
58
|
-
});
|
|
59
|
-
if (result.success) {
|
|
60
|
-
const { cliOutput } = await import('../renderers/index.js');
|
|
61
|
-
cliOutput(result.data, { command: 'lifecycle' });
|
|
62
|
-
const data = result.data;
|
|
63
|
-
if (data && !data['canProgress']) {
|
|
64
|
-
process.exit(80);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
else {
|
|
68
|
-
handleRawError(result, { command: 'lifecycle', operation: 'pipeline.stage.validate' });
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
lifecycle
|
|
72
|
-
.command('guidance [stage]')
|
|
73
|
-
.description('Get stage-aware LLM prompt guidance (Phase 2). Pi extensions shell out to this on before_agent_start.')
|
|
74
|
-
.option('--epicId <id>', 'Resolve stage from current epic pipeline status if no stage arg')
|
|
75
|
-
.option('--format <fmt>', 'Output format: markdown | json', 'markdown')
|
|
76
|
-
.action(async (stage, opts) => {
|
|
77
|
-
await dispatchFromCli('query', 'pipeline', 'stage.guidance', {
|
|
78
|
-
stage,
|
|
79
|
-
epicId: opts['epicId'],
|
|
80
|
-
format: opts['format'],
|
|
81
|
-
}, { command: 'lifecycle' });
|
|
82
|
-
});
|
|
83
|
-
lifecycle
|
|
84
|
-
.command('history <taskId>')
|
|
85
|
-
.description('Show full lifecycle stage history for a task or epic')
|
|
86
|
-
.action(async (taskId) => {
|
|
87
|
-
await dispatchFromCli('query', 'pipeline', 'stage.history', { taskId }, { command: 'lifecycle' });
|
|
88
|
-
});
|
|
89
|
-
lifecycle
|
|
90
|
-
.command('reset <epicId> <stage>')
|
|
91
|
-
.description('Reset a lifecycle stage back to pending. Valid stages: research|consensus|architecture_decision|specification|decomposition|implementation|validation|testing|release|contribution')
|
|
92
|
-
.requiredOption('--reason <reason>', 'Reason for resetting the stage')
|
|
93
|
-
.action(async (epicId, stage, opts) => {
|
|
94
|
-
await dispatchFromCli('mutate', 'pipeline', 'stage.reset', {
|
|
95
|
-
taskId: epicId,
|
|
96
|
-
stage,
|
|
97
|
-
reason: opts['reason'],
|
|
98
|
-
}, { command: 'lifecycle' });
|
|
99
|
-
});
|
|
100
|
-
const gate = lifecycle
|
|
101
|
-
.command('gate-record')
|
|
102
|
-
.description('Record a gate pass or fail for a lifecycle stage');
|
|
103
|
-
gate
|
|
104
|
-
.command('pass <epicId> <gateName>')
|
|
105
|
-
.description('Record a gate as passed for a lifecycle stage')
|
|
106
|
-
.option('--agent <agent>', 'Agent that performed the gate check')
|
|
107
|
-
.option('--notes <notes>', 'Notes on gate outcome')
|
|
108
|
-
.action(async (epicId, gateName, opts) => {
|
|
109
|
-
await dispatchFromCli('mutate', 'pipeline', 'stage.gate.pass', {
|
|
110
|
-
taskId: epicId,
|
|
111
|
-
gateName,
|
|
112
|
-
agent: opts['agent'],
|
|
113
|
-
notes: opts['notes'],
|
|
114
|
-
}, { command: 'lifecycle' });
|
|
115
|
-
});
|
|
116
|
-
gate
|
|
117
|
-
.command('fail <epicId> <gateName>')
|
|
118
|
-
.description('Record a gate as failed for a lifecycle stage')
|
|
119
|
-
.option('--reason <reason>', 'Reason the gate failed')
|
|
120
|
-
.action(async (epicId, gateName, opts) => {
|
|
121
|
-
await dispatchFromCli('mutate', 'pipeline', 'stage.gate.fail', {
|
|
122
|
-
taskId: epicId,
|
|
123
|
-
gateName,
|
|
124
|
-
reason: opts['reason'],
|
|
125
|
-
}, { command: 'lifecycle' });
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
//# sourceMappingURL=lifecycle.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lifecycle.js","sourceRoot":"","sources":["../../../src/cli/commands/lifecycle.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAG9F,MAAM,UAAU,wBAAwB,CAAC,OAAgB;IACvD,MAAM,SAAS,GAAG,OAAO;SACtB,OAAO,CAAC,WAAW,CAAC;SACpB,WAAW,CAAC,4CAA4C,CAAC,CAAC;IAE7D,SAAS;SACN,OAAO,CAAC,eAAe,CAAC;SACxB,WAAW,CAAC,kCAAkC,CAAC;SAC/C,MAAM,CAAC,KAAK,EAAE,MAAc,EAAE,EAAE;QAC/B,MAAM,eAAe,CACnB,OAAO,EACP,UAAU,EACV,cAAc,EACd,EAAE,MAAM,EAAE,EACV,EAAE,OAAO,EAAE,WAAW,EAAE,CACzB,CAAC;IACJ,CAAC,CAAC,C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;SACrB,EACD,EAAE,OAAO,EAAE,WAAW,EAAE,CACzB,CAAC;IACJ,CAAC,CAAC,CAAC;IAEL,IAAI;SACD,OAAO,CAAC,0BAA0B,CAAC;SACnC,WAAW,CAAC,+CAA+C,CAAC;SAC5D,MAAM,CAAC,mBAAmB,EAAE,wBAAwB,CAAC;SACrD,MAAM,CAAC,KAAK,EAAE,MAAc,EAAE,QAAgB,EAAE,IAA6B,EAAE,EAAE;QAChF,MAAM,eAAe,CACnB,QAAQ,EACR,UAAU,EACV,iBAAiB,EACjB;YACE,MAAM,EAAE,MAAM;YACd,QAAQ;YACR,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC;SACvB,EACD,EAAE,OAAO,EAAE,WAAW,EAAE,CACzB,CAAC;IACJ,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI list command.
|
|
3
|
-
* @task T4460
|
|
4
|
-
* @task T4668
|
|
5
|
-
* @epic T4454
|
|
6
|
-
*/
|
|
7
|
-
import type { ShimCommand as Command } from '../commander-shim.js';
|
|
8
|
-
/**
|
|
9
|
-
* Register the list command.
|
|
10
|
-
* @task T4460
|
|
11
|
-
* @task T4668
|
|
12
|
-
*/
|
|
13
|
-
export declare function registerListCommand(program: Command): void;
|
|
14
|
-
//# sourceMappingURL=list.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/list.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,OAAO,KAAK,EAAE,WAAW,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAiFnE;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAiD1D"}
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI list command.
|
|
3
|
-
* @task T4460
|
|
4
|
-
* @task T4668
|
|
5
|
-
* @epic T4454
|
|
6
|
-
*/
|
|
7
|
-
import { ExitCode } from '@cleocode/contracts';
|
|
8
|
-
import { createPage } from '@cleocode/core';
|
|
9
|
-
import { dispatchRaw, handleRawError } from '../../dispatch/adapters/cli.js';
|
|
10
|
-
import { applyParamDefsToCommand, buildOperationHelp } from '../help-generator.js';
|
|
11
|
-
import { cliOutput } from '../renderers/index.js';
|
|
12
|
-
// ---------------------------------------------------------------------------
|
|
13
|
-
// ParamDef array for tasks.list
|
|
14
|
-
//
|
|
15
|
-
// The registry entry for tasks.list has a params array (already migrated in
|
|
16
|
-
// T4897 partial work), but it is reproduced here as ParamDef objects so that
|
|
17
|
-
// applyParamDefsToCommand can wire the CLI flags with short aliases and parse
|
|
18
|
-
// functions that the plain registry entry omits.
|
|
19
|
-
// ---------------------------------------------------------------------------
|
|
20
|
-
const LIST_PARAMS = [
|
|
21
|
-
{
|
|
22
|
-
name: 'status',
|
|
23
|
-
type: 'string',
|
|
24
|
-
required: false,
|
|
25
|
-
description: 'Filter by status',
|
|
26
|
-
enum: ['pending', 'active', 'blocked', 'done', 'cancelled'],
|
|
27
|
-
cli: { flag: 'status' },
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
name: 'priority',
|
|
31
|
-
type: 'string',
|
|
32
|
-
required: false,
|
|
33
|
-
description: 'Filter by priority',
|
|
34
|
-
enum: ['low', 'medium', 'high', 'critical'],
|
|
35
|
-
cli: { flag: 'priority' },
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
name: 'type',
|
|
39
|
-
type: 'string',
|
|
40
|
-
required: false,
|
|
41
|
-
description: 'Filter by task type',
|
|
42
|
-
enum: ['epic', 'task', 'subtask', 'bug'],
|
|
43
|
-
cli: { flag: 'type' },
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
name: 'parent',
|
|
47
|
-
type: 'string',
|
|
48
|
-
required: false,
|
|
49
|
-
description: 'Filter by parent task ID',
|
|
50
|
-
cli: { flag: 'parent' },
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
name: 'phase',
|
|
54
|
-
type: 'string',
|
|
55
|
-
required: false,
|
|
56
|
-
description: 'Filter by phase slug',
|
|
57
|
-
cli: { flag: 'phase' },
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
name: 'label',
|
|
61
|
-
type: 'string',
|
|
62
|
-
required: false,
|
|
63
|
-
description: 'Filter by label',
|
|
64
|
-
cli: { flag: 'label' },
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
name: 'children',
|
|
68
|
-
type: 'boolean',
|
|
69
|
-
required: false,
|
|
70
|
-
description: 'Show direct children only (requires --parent)',
|
|
71
|
-
cli: { flag: 'children' },
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
name: 'limit',
|
|
75
|
-
type: 'number',
|
|
76
|
-
required: false,
|
|
77
|
-
description: 'Limit number of results',
|
|
78
|
-
cli: { flag: 'limit', parse: parseInt },
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
name: 'offset',
|
|
82
|
-
type: 'number',
|
|
83
|
-
required: false,
|
|
84
|
-
description: 'Skip first N results',
|
|
85
|
-
cli: { flag: 'offset', parse: parseInt },
|
|
86
|
-
},
|
|
87
|
-
];
|
|
88
|
-
/**
|
|
89
|
-
* Register the list command.
|
|
90
|
-
* @task T4460
|
|
91
|
-
* @task T4668
|
|
92
|
-
*/
|
|
93
|
-
export function registerListCommand(program) {
|
|
94
|
-
const cmd = program
|
|
95
|
-
.command('list')
|
|
96
|
-
.alias('ls')
|
|
97
|
-
.description(buildOperationHelp('tasks.list', 'List tasks with optional filters', LIST_PARAMS));
|
|
98
|
-
// Auto-generate flag options from the ParamDef registry. Replaces the
|
|
99
|
-
// previous hand-written .option() chain and surfaces enum values (status,
|
|
100
|
-
// priority, type) in --help output.
|
|
101
|
-
applyParamDefsToCommand(cmd, LIST_PARAMS, 'tasks.list');
|
|
102
|
-
cmd.action(async (opts) => {
|
|
103
|
-
const limit = opts['limit'];
|
|
104
|
-
const offset = opts['offset'];
|
|
105
|
-
const params = {};
|
|
106
|
-
if (opts['status'] !== undefined)
|
|
107
|
-
params['status'] = opts['status'];
|
|
108
|
-
if (opts['priority'] !== undefined)
|
|
109
|
-
params['priority'] = opts['priority'];
|
|
110
|
-
if (opts['type'] !== undefined)
|
|
111
|
-
params['type'] = opts['type'];
|
|
112
|
-
if (opts['parent'] !== undefined)
|
|
113
|
-
params['parent'] = opts['parent'];
|
|
114
|
-
if (opts['phase'] !== undefined)
|
|
115
|
-
params['phase'] = opts['phase'];
|
|
116
|
-
if (opts['label'] !== undefined)
|
|
117
|
-
params['label'] = opts['label'];
|
|
118
|
-
if (opts['children'] !== undefined)
|
|
119
|
-
params['children'] = opts['children'];
|
|
120
|
-
if (limit !== undefined)
|
|
121
|
-
params['limit'] = limit;
|
|
122
|
-
if (offset !== undefined)
|
|
123
|
-
params['offset'] = offset;
|
|
124
|
-
const response = await dispatchRaw('query', 'tasks', 'list', params);
|
|
125
|
-
if (!response.success) {
|
|
126
|
-
handleRawError(response, { command: 'list', operation: 'tasks.list' });
|
|
127
|
-
}
|
|
128
|
-
const rawData = response.data;
|
|
129
|
-
const data = (Array.isArray(rawData)
|
|
130
|
-
? { tasks: rawData, total: rawData.length }
|
|
131
|
-
: rawData) ?? {};
|
|
132
|
-
const tasks = Array.isArray(data?.tasks) ? data.tasks : [];
|
|
133
|
-
if (tasks.length === 0) {
|
|
134
|
-
cliOutput(data, { command: 'list', message: 'No tasks found', operation: 'tasks.list' });
|
|
135
|
-
process.exit(ExitCode.NO_DATA);
|
|
136
|
-
return;
|
|
137
|
-
}
|
|
138
|
-
const filtered = data?.filtered ?? tasks.length;
|
|
139
|
-
const page = response.page ?? createPage({ total: filtered, limit, offset });
|
|
140
|
-
cliOutput(data, { command: 'list', operation: 'tasks.list', page });
|
|
141
|
-
});
|
|
142
|
-
}
|
|
143
|
-
//# sourceMappingURL=list.js.map
|
|
@@ -1 +0,0 @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EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,CAAC;IACtE,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI log command - view audit log entries.
|
|
3
|
-
* @task T4538
|
|
4
|
-
* @epic T4454
|
|
5
|
-
*/
|
|
6
|
-
import type { ShimCommand as Command } from '../commander-shim.js';
|
|
7
|
-
/**
|
|
8
|
-
* Register the log command.
|
|
9
|
-
* @task T4538
|
|
10
|
-
*/
|
|
11
|
-
export declare function registerLogCommand(program: Command): void;
|
|
12
|
-
//# sourceMappingURL=log.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/log.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,WAAW,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEnE;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAwBzD"}
|
package/dist/cli/commands/log.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI log command - view audit log entries.
|
|
3
|
-
* @task T4538
|
|
4
|
-
* @epic T4454
|
|
5
|
-
*/
|
|
6
|
-
import { dispatchFromCli } from '../../dispatch/adapters/cli.js';
|
|
7
|
-
/**
|
|
8
|
-
* Register the log command.
|
|
9
|
-
* @task T4538
|
|
10
|
-
*/
|
|
11
|
-
export function registerLogCommand(program) {
|
|
12
|
-
program
|
|
13
|
-
.command('log')
|
|
14
|
-
.description('View audit log entries (operations, timestamps, changes)')
|
|
15
|
-
.option('--limit <n>', 'Maximum entries to show', '20')
|
|
16
|
-
.option('--offset <n>', 'Skip N entries', '0')
|
|
17
|
-
.option('--operation <op>', 'Filter by operation type')
|
|
18
|
-
.option('--task <id>', 'Filter by task ID')
|
|
19
|
-
.option('--since <date>', 'Filter entries since date')
|
|
20
|
-
.action(async (opts) => {
|
|
21
|
-
await dispatchFromCli('query', 'admin', 'log', {
|
|
22
|
-
limit: opts['limit'] ? Number(opts['limit']) : 20,
|
|
23
|
-
offset: opts['offset'] ? Number(opts['offset']) : 0,
|
|
24
|
-
operation: opts['operation'],
|
|
25
|
-
taskId: opts['task'],
|
|
26
|
-
since: opts['since'],
|
|
27
|
-
}, { command: 'log', operation: 'admin.log' });
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=log.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"log.js","sourceRoot":"","sources":["../../../src/cli/commands/log.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAGjE;;;GAGG;AACH,MAAM,UAAU,kBAAkB,CAAC,OAAgB;IACjD,OAAO;SACJ,OAAO,CAAC,KAAK,CAAC;SACd,WAAW,CAAC,0DAA0D,CAAC;SACvE,MAAM,CAAC,aAAa,EAAE,yBAAyB,EAAE,IAAI,CAAC;SACtD,MAAM,CAAC,cAAc,EAAE,gBAAgB,EAAE,GAAG,CAAC;SAC7C,MAAM,CAAC,kBAAkB,EAAE,0BAA0B,CAAC;SACtD,MAAM,CAAC,aAAa,EAAE,mBAAmB,CAAC;SAC1C,MAAM,CAAC,gBAAgB,EAAE,2BAA2B,CAAC;SACrD,MAAM,CAAC,KAAK,EAAE,IAA6B,EAAE,EAAE;QAC9C,MAAM,eAAe,CACnB,OAAO,EACP,OAAO,EACP,KAAK,EACL;YACE,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE;YACjD,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YACnD,SAAS,EAAE,IAAI,CAAC,WAAW,CAAuB;YAClD,MAAM,EAAE,IAAI,CAAC,MAAM,CAAuB;YAC1C,KAAK,EAAE,IAAI,CAAC,OAAO,CAAuB;SAC3C,EACD,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,CAC3C,CAAC;IACJ,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI map command - codebase analysis and mapping.
|
|
3
|
-
* @epic cognitive-cleo
|
|
4
|
-
*/
|
|
5
|
-
import type { ShimCommand as Command } from '../commander-shim.js';
|
|
6
|
-
/**
|
|
7
|
-
* Register the map command.
|
|
8
|
-
*/
|
|
9
|
-
export declare function registerMapCommand(program: Command): void;
|
|
10
|
-
//# sourceMappingURL=map.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/map.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,EAAE,WAAW,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEnE;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAgBzD"}
|
package/dist/cli/commands/map.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI map command - codebase analysis and mapping.
|
|
3
|
-
* @epic cognitive-cleo
|
|
4
|
-
*/
|
|
5
|
-
import { dispatchFromCli } from '../../dispatch/adapters/cli.js';
|
|
6
|
-
/**
|
|
7
|
-
* Register the map command.
|
|
8
|
-
*/
|
|
9
|
-
export function registerMapCommand(program) {
|
|
10
|
-
program
|
|
11
|
-
.command('map')
|
|
12
|
-
.description('Analyze codebase structure and return structured mapping')
|
|
13
|
-
.option('--store', 'Store findings to brain.db')
|
|
14
|
-
.option('--focus <area>', 'Focus on one area: stack, architecture, structure, conventions, testing, integrations, concerns')
|
|
15
|
-
.action(async (opts) => {
|
|
16
|
-
const gateway = opts['store'] ? 'mutate' : 'query';
|
|
17
|
-
const params = {};
|
|
18
|
-
if (opts['focus'])
|
|
19
|
-
params.focus = opts['focus'];
|
|
20
|
-
await dispatchFromCli(gateway, 'admin', 'map', params, { command: 'map' });
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=map.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"map.js","sourceRoot":"","sources":["../../../src/cli/commands/map.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAGjE;;GAEG;AACH,MAAM,UAAU,kBAAkB,CAAC,OAAgB;IACjD,OAAO;SACJ,OAAO,CAAC,KAAK,CAAC;SACd,WAAW,CAAC,0DAA0D,CAAC;SACvE,MAAM,CAAC,SAAS,EAAE,4BAA4B,CAAC;SAC/C,MAAM,CACL,gBAAgB,EAChB,iGAAiG,CAClG;SACA,MAAM,CAAC,KAAK,EAAE,IAA6B,EAAE,EAAE;QAC9C,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC;QACnD,MAAM,MAAM,GAA4B,EAAE,CAAC;QAC3C,IAAI,IAAI,CAAC,OAAO,CAAC;YAAE,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC;QAEhD,MAAM,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC;IAC7E,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI memory commands for BRAIN pattern and learning memory.
|
|
3
|
-
*
|
|
4
|
-
* Commands:
|
|
5
|
-
* cleo memory store --type <type> --content <text> --context <text>
|
|
6
|
-
* cleo memory find <query> [--type pattern|learning]
|
|
7
|
-
* cleo memory stats
|
|
8
|
-
* cleo memory consolidate — run full consolidation pipeline (tier promotion, dedup, etc.)
|
|
9
|
-
*
|
|
10
|
-
* @task T4770 T614
|
|
11
|
-
* @epic T4763
|
|
12
|
-
*/
|
|
13
|
-
import type { ShimCommand as Command } from '../commander-shim.js';
|
|
14
|
-
export declare function registerMemoryBrainCommand(program: Command): void;
|
|
15
|
-
//# sourceMappingURL=memory-brain.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"memory-brain.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/memory-brain.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,OAAO,KAAK,EAAE,WAAW,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAGnE,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAsnBjE"}
|