@cleocode/cleo 2026.4.42 → 2026.4.44
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 +176 -30
- package/dist/cli/index.js.map +3 -3
- package/package.json +12 -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 -252
- 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/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 -14
- package/dist/cli/commands/memory-brain.d.ts.map +0 -1
- package/dist/cli/commands/memory-brain.js +0 -377
- 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 -1163
- 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 -13
- package/dist/cli/commands/web.d.ts.map +0 -1
- package/dist/cli/commands/web.js +0 -277
- 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 -329
- 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 -247
- package/dist/dispatch/domains/conduit.js.map +0 -1
- package/dist/dispatch/domains/index.d.ts +0 -28
- package/dist/dispatch/domains/index.d.ts.map +0 -1
- package/dist/dispatch/domains/index.js +0 -43
- 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/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 -912
- 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/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 -3457
- 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 -26
- package/dist/dispatch/types.js.map +0 -1
package/dist/cli/index.js
CHANGED
|
@@ -11104,6 +11104,44 @@ var init_platform_paths = __esm({
|
|
|
11104
11104
|
});
|
|
11105
11105
|
|
|
11106
11106
|
// packages/core/src/paths.ts
|
|
11107
|
+
var paths_exports = {};
|
|
11108
|
+
__export(paths_exports, {
|
|
11109
|
+
getAgentOutputsAbsolute: () => getAgentOutputsAbsolute,
|
|
11110
|
+
getAgentOutputsDir: () => getAgentOutputsDir,
|
|
11111
|
+
getAgentsHome: () => getAgentsHome,
|
|
11112
|
+
getArchivePath: () => getArchivePath,
|
|
11113
|
+
getBackupDir: () => getBackupDir,
|
|
11114
|
+
getClaudeAgentsDir: () => getClaudeAgentsDir,
|
|
11115
|
+
getClaudeMemDbPath: () => getClaudeMemDbPath,
|
|
11116
|
+
getCleoCacheDir: () => getCleoCacheDir,
|
|
11117
|
+
getCleoCantWorkflowsDir: () => getCleoCantWorkflowsDir,
|
|
11118
|
+
getCleoConfigDir: () => getCleoConfigDir,
|
|
11119
|
+
getCleoDir: () => getCleoDir,
|
|
11120
|
+
getCleoDirAbsolute: () => getCleoDirAbsolute,
|
|
11121
|
+
getCleoDocsDir: () => getCleoDocsDir,
|
|
11122
|
+
getCleoGlobalAgentsDir: () => getCleoGlobalAgentsDir,
|
|
11123
|
+
getCleoGlobalJustfilePath: () => getCleoGlobalJustfilePath,
|
|
11124
|
+
getCleoGlobalRecipesDir: () => getCleoGlobalRecipesDir,
|
|
11125
|
+
getCleoHome: () => getCleoHome,
|
|
11126
|
+
getCleoLogDir: () => getCleoLogDir,
|
|
11127
|
+
getCleoPiExtensionsDir: () => getCleoPiExtensionsDir,
|
|
11128
|
+
getCleoSchemasDir: () => getCleoSchemasDir,
|
|
11129
|
+
getCleoTempDir: () => getCleoTempDir,
|
|
11130
|
+
getCleoTemplatesDir: () => getCleoTemplatesDir,
|
|
11131
|
+
getCleoTemplatesTildePath: () => getCleoTemplatesTildePath,
|
|
11132
|
+
getConfigPath: () => getConfigPath,
|
|
11133
|
+
getGlobalConfigPath: () => getGlobalConfigPath,
|
|
11134
|
+
getLogPath: () => getLogPath,
|
|
11135
|
+
getManifestArchivePath: () => getManifestArchivePath,
|
|
11136
|
+
getManifestPath: () => getManifestPath,
|
|
11137
|
+
getProjectRoot: () => getProjectRoot,
|
|
11138
|
+
getSessionsPath: () => getSessionsPath,
|
|
11139
|
+
getTaskPath: () => getTaskPath,
|
|
11140
|
+
isAbsolutePath: () => isAbsolutePath,
|
|
11141
|
+
isProjectInitialized: () => isProjectInitialized,
|
|
11142
|
+
resolveProjectPath: () => resolveProjectPath,
|
|
11143
|
+
worktreeScope: () => worktreeScope
|
|
11144
|
+
});
|
|
11107
11145
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
11108
11146
|
import { existsSync as existsSync3, readFileSync as readFileSync2 } from "node:fs";
|
|
11109
11147
|
import { homedir } from "node:os";
|
|
@@ -11122,6 +11160,9 @@ function getCleoTemplatesDir() {
|
|
|
11122
11160
|
function getCleoSchemasDir() {
|
|
11123
11161
|
return join4(getCleoHome(), "schemas");
|
|
11124
11162
|
}
|
|
11163
|
+
function getCleoDocsDir() {
|
|
11164
|
+
return join4(getCleoHome(), "docs");
|
|
11165
|
+
}
|
|
11125
11166
|
function getCleoDir(cwd) {
|
|
11126
11167
|
if (cwd) {
|
|
11127
11168
|
return getCleoDirAbsolute(cwd);
|
|
@@ -11193,6 +11234,15 @@ function getTaskPath(cwd) {
|
|
|
11193
11234
|
function getConfigPath(cwd) {
|
|
11194
11235
|
return join4(getCleoDirAbsolute(cwd), "config.json");
|
|
11195
11236
|
}
|
|
11237
|
+
function getSessionsPath(cwd) {
|
|
11238
|
+
return join4(getCleoDirAbsolute(cwd), "sessions.json");
|
|
11239
|
+
}
|
|
11240
|
+
function getArchivePath(cwd) {
|
|
11241
|
+
return join4(getCleoDirAbsolute(cwd), "tasks-archive.json");
|
|
11242
|
+
}
|
|
11243
|
+
function getLogPath(cwd) {
|
|
11244
|
+
return join4(getCleoDirAbsolute(cwd), "logs", "cleo.log");
|
|
11245
|
+
}
|
|
11196
11246
|
function getBackupDir(cwd) {
|
|
11197
11247
|
return join4(getCleoDirAbsolute(cwd), "backups", "operational");
|
|
11198
11248
|
}
|
|
@@ -14943,6 +14993,7 @@ function runBrainMigrations(nativeDb, db) {
|
|
|
14943
14993
|
"brain"
|
|
14944
14994
|
);
|
|
14945
14995
|
}
|
|
14996
|
+
ensureColumns(nativeDb, "brain_observations", [{ name: "agent", ddl: "text" }], "brain");
|
|
14946
14997
|
}
|
|
14947
14998
|
function loadBrainVecExtension(nativeDb) {
|
|
14948
14999
|
try {
|
|
@@ -52745,16 +52796,13 @@ var init_sse_transport = __esm({
|
|
|
52745
52796
|
|
|
52746
52797
|
// packages/core/src/conduit/factory.ts
|
|
52747
52798
|
function resolveTransport(credential) {
|
|
52748
|
-
const isCloudBacked = credential.apiBaseUrl && credential.apiBaseUrl !== "local" && credential.apiBaseUrl.startsWith("http");
|
|
52749
|
-
if (isCloudBacked) {
|
|
52750
|
-
if (credential.transportConfig.sseEndpoint) {
|
|
52751
|
-
return new SseTransport();
|
|
52752
|
-
}
|
|
52753
|
-
return new HttpTransport();
|
|
52754
|
-
}
|
|
52755
52799
|
if (LocalTransport.isAvailable()) {
|
|
52756
52800
|
return new LocalTransport();
|
|
52757
52801
|
}
|
|
52802
|
+
const isCloudBacked = credential.apiBaseUrl && credential.apiBaseUrl !== "local" && credential.apiBaseUrl.startsWith("http");
|
|
52803
|
+
if (isCloudBacked && credential.transportConfig.sseEndpoint) {
|
|
52804
|
+
return new SseTransport();
|
|
52805
|
+
}
|
|
52758
52806
|
return new HttpTransport();
|
|
52759
52807
|
}
|
|
52760
52808
|
async function createConduit(registry2, agentId) {
|
|
@@ -86285,6 +86333,14 @@ async function deployStarterBundle(cleoDir, created, warnings) {
|
|
|
86285
86333
|
if (existsSync107(identitySrc) && !existsSync107(identityDst)) {
|
|
86286
86334
|
await copyFile4(identitySrc, identityDst);
|
|
86287
86335
|
}
|
|
86336
|
+
try {
|
|
86337
|
+
const { getCleoHome: getCleoHome2 } = await Promise.resolve().then(() => (init_paths(), paths_exports));
|
|
86338
|
+
const globalIdentityDst = join106(getCleoHome2(), "CLEOOS-IDENTITY.md");
|
|
86339
|
+
if (existsSync107(identitySrc) && !existsSync107(globalIdentityDst)) {
|
|
86340
|
+
await copyFile4(identitySrc, globalIdentityDst);
|
|
86341
|
+
}
|
|
86342
|
+
} catch {
|
|
86343
|
+
}
|
|
86288
86344
|
created.push("starter-bundle: team + agent .cant files + identity deployed to .cleo/");
|
|
86289
86345
|
}
|
|
86290
86346
|
var DIR_SYMLINK_TYPE2;
|
|
@@ -119307,27 +119363,16 @@ async function orchestrateSpawnExecute(taskId, adapterId, protocolType, projectR
|
|
|
119307
119363
|
}
|
|
119308
119364
|
};
|
|
119309
119365
|
}
|
|
119310
|
-
|
|
119311
|
-
|
|
119312
|
-
const { composeSpawnPayload } = await import("@cleocode/cant");
|
|
119313
|
-
const { brainContextProvider } = await import("@cleocode/cant");
|
|
119314
|
-
const { createHash: createHash17 } = await import("node:crypto");
|
|
119315
|
-
const projectHash = createHash17("sha256").update(cwd).digest("hex").slice(0, 12);
|
|
119316
|
-
const agentDef = spawnContext.agentDef;
|
|
119317
|
-
if (agentDef) {
|
|
119318
|
-
const provider2 = brainContextProvider(cwd);
|
|
119319
|
-
const payload = await composeSpawnPayload(agentDef, provider2, projectHash);
|
|
119320
|
-
composedPrompt = payload.systemPrompt;
|
|
119321
|
-
}
|
|
119322
|
-
} catch {
|
|
119323
|
-
}
|
|
119366
|
+
const rawPrompt = spawnContext.prompt;
|
|
119367
|
+
const agentDef = spawnContext.agentDef;
|
|
119324
119368
|
const cleoSpawnContext = {
|
|
119325
119369
|
taskId: spawnContext.taskId,
|
|
119326
119370
|
protocol: protocolType || spawnContext.protocol,
|
|
119327
|
-
prompt:
|
|
119371
|
+
prompt: rawPrompt,
|
|
119328
119372
|
provider: provider.id,
|
|
119329
119373
|
options: {
|
|
119330
|
-
prompt:
|
|
119374
|
+
prompt: rawPrompt,
|
|
119375
|
+
...agentDef ? { agentDef } : {}
|
|
119331
119376
|
},
|
|
119332
119377
|
workingDirectory: cwd,
|
|
119333
119378
|
tokenResolution: {
|
|
@@ -124216,9 +124261,35 @@ var init_conduit2 = __esm({
|
|
|
124216
124261
|
}
|
|
124217
124262
|
return credential;
|
|
124218
124263
|
}
|
|
124219
|
-
/** Get connection status and unread count. */
|
|
124264
|
+
/** Get connection status and unread count. Uses LocalTransport when conduit.db is available. */
|
|
124220
124265
|
async getStatus(agentId) {
|
|
124221
124266
|
const credential = await this.resolveCredential(agentId);
|
|
124267
|
+
const pollerRunning = activePoller !== null && activeAgentId === credential.agentId;
|
|
124268
|
+
const { LocalTransport: LocalTransport2 } = await import("@cleocode/core/conduit");
|
|
124269
|
+
if (LocalTransport2.isAvailable(process.cwd())) {
|
|
124270
|
+
const transport = new LocalTransport2();
|
|
124271
|
+
await transport.connect({
|
|
124272
|
+
agentId: credential.agentId,
|
|
124273
|
+
apiKey: credential.apiKey,
|
|
124274
|
+
apiBaseUrl: credential.apiBaseUrl
|
|
124275
|
+
});
|
|
124276
|
+
try {
|
|
124277
|
+
const pending = await transport.poll({ limit: 1e3 });
|
|
124278
|
+
return {
|
|
124279
|
+
success: true,
|
|
124280
|
+
data: {
|
|
124281
|
+
agentId: credential.agentId,
|
|
124282
|
+
connected: true,
|
|
124283
|
+
transport: "local",
|
|
124284
|
+
pollerRunning,
|
|
124285
|
+
unreadTotal: pending.length,
|
|
124286
|
+
actionItems: 0
|
|
124287
|
+
}
|
|
124288
|
+
};
|
|
124289
|
+
} finally {
|
|
124290
|
+
await transport.disconnect();
|
|
124291
|
+
}
|
|
124292
|
+
}
|
|
124222
124293
|
const response = await fetch(`${credential.apiBaseUrl}/agents/${credential.agentId}/inbox`, {
|
|
124223
124294
|
headers: {
|
|
124224
124295
|
Authorization: `Bearer ${credential.apiKey}`,
|
|
@@ -124231,7 +124302,8 @@ var init_conduit2 = __esm({
|
|
|
124231
124302
|
data: {
|
|
124232
124303
|
agentId: credential.agentId,
|
|
124233
124304
|
connected: false,
|
|
124234
|
-
|
|
124305
|
+
transport: "http",
|
|
124306
|
+
pollerRunning,
|
|
124235
124307
|
error: `API returned ${response.status}`
|
|
124236
124308
|
}
|
|
124237
124309
|
};
|
|
@@ -124242,15 +124314,46 @@ var init_conduit2 = __esm({
|
|
|
124242
124314
|
data: {
|
|
124243
124315
|
agentId: credential.agentId,
|
|
124244
124316
|
connected: true,
|
|
124245
|
-
|
|
124317
|
+
transport: "http",
|
|
124318
|
+
pollerRunning,
|
|
124246
124319
|
unreadTotal: body.data?.unreadTotal ?? 0,
|
|
124247
124320
|
actionItems: body.data?.actionItems?.length ?? 0
|
|
124248
124321
|
}
|
|
124249
124322
|
};
|
|
124250
124323
|
}
|
|
124251
|
-
/** One-shot peek for messages. */
|
|
124324
|
+
/** One-shot peek for messages. Uses LocalTransport when conduit.db is available. */
|
|
124252
124325
|
async peek(agentId, limit) {
|
|
124253
124326
|
const credential = await this.resolveCredential(agentId);
|
|
124327
|
+
const { LocalTransport: LocalTransport2 } = await import("@cleocode/core/conduit");
|
|
124328
|
+
if (LocalTransport2.isAvailable(process.cwd())) {
|
|
124329
|
+
const transport = new LocalTransport2();
|
|
124330
|
+
await transport.connect({
|
|
124331
|
+
agentId: credential.agentId,
|
|
124332
|
+
apiKey: credential.apiKey,
|
|
124333
|
+
apiBaseUrl: credential.apiBaseUrl
|
|
124334
|
+
});
|
|
124335
|
+
try {
|
|
124336
|
+
const messages = await transport.poll({ limit: limit ?? 20 });
|
|
124337
|
+
if (messages.length > 0) {
|
|
124338
|
+
await transport.ack(messages.map((m2) => m2.id));
|
|
124339
|
+
}
|
|
124340
|
+
return {
|
|
124341
|
+
success: true,
|
|
124342
|
+
data: {
|
|
124343
|
+
agentId: credential.agentId,
|
|
124344
|
+
messages: messages.map((m2) => ({
|
|
124345
|
+
id: m2.id,
|
|
124346
|
+
from: m2.from,
|
|
124347
|
+
content: m2.content,
|
|
124348
|
+
conversationId: m2.threadId,
|
|
124349
|
+
timestamp: m2.timestamp
|
|
124350
|
+
}))
|
|
124351
|
+
}
|
|
124352
|
+
};
|
|
124353
|
+
} finally {
|
|
124354
|
+
await transport.disconnect();
|
|
124355
|
+
}
|
|
124356
|
+
}
|
|
124254
124357
|
const params = new URLSearchParams();
|
|
124255
124358
|
params.set("mentioned", credential.agentId);
|
|
124256
124359
|
params.set("limit", String(limit ?? 20));
|
|
@@ -124278,7 +124381,7 @@ var init_conduit2 = __esm({
|
|
|
124278
124381
|
}
|
|
124279
124382
|
};
|
|
124280
124383
|
}
|
|
124281
|
-
/** Start continuous polling via @cleocode/runtime AgentPoller. */
|
|
124384
|
+
/** Start continuous polling via @cleocode/runtime AgentPoller. Uses LocalTransport when conduit.db is available. */
|
|
124282
124385
|
async startPolling(agentId, pollIntervalMs, groupConversationIds) {
|
|
124283
124386
|
if (activePoller) {
|
|
124284
124387
|
return {
|
|
@@ -124292,12 +124395,26 @@ var init_conduit2 = __esm({
|
|
|
124292
124395
|
}
|
|
124293
124396
|
const credential = await this.resolveCredential(agentId);
|
|
124294
124397
|
const { AgentPoller } = await import("@cleocode/runtime");
|
|
124398
|
+
const { LocalTransport: LocalTransport2 } = await import("@cleocode/core/conduit");
|
|
124399
|
+
let transport;
|
|
124400
|
+
let transportName = "http";
|
|
124401
|
+
if (LocalTransport2.isAvailable(process.cwd())) {
|
|
124402
|
+
const local = new LocalTransport2();
|
|
124403
|
+
await local.connect({
|
|
124404
|
+
agentId: credential.agentId,
|
|
124405
|
+
apiKey: credential.apiKey,
|
|
124406
|
+
apiBaseUrl: credential.apiBaseUrl
|
|
124407
|
+
});
|
|
124408
|
+
transport = local;
|
|
124409
|
+
transportName = "local";
|
|
124410
|
+
}
|
|
124295
124411
|
activePoller = new AgentPoller({
|
|
124296
124412
|
agentId: credential.agentId,
|
|
124297
124413
|
apiKey: credential.apiKey,
|
|
124298
124414
|
apiBaseUrl: credential.apiBaseUrl,
|
|
124299
124415
|
pollIntervalMs: pollIntervalMs ?? 5e3,
|
|
124300
|
-
groupConversationIds
|
|
124416
|
+
groupConversationIds,
|
|
124417
|
+
transport
|
|
124301
124418
|
});
|
|
124302
124419
|
activeAgentId = credential.agentId;
|
|
124303
124420
|
activePoller.start();
|
|
@@ -124307,6 +124424,7 @@ var init_conduit2 = __esm({
|
|
|
124307
124424
|
agentId: credential.agentId,
|
|
124308
124425
|
pollIntervalMs: pollIntervalMs ?? 5e3,
|
|
124309
124426
|
groupConversationIds: groupConversationIds ?? [],
|
|
124427
|
+
transport: transportName,
|
|
124310
124428
|
message: "Polling started."
|
|
124311
124429
|
}
|
|
124312
124430
|
};
|
|
@@ -124331,7 +124449,7 @@ var init_conduit2 = __esm({
|
|
|
124331
124449
|
}
|
|
124332
124450
|
};
|
|
124333
124451
|
}
|
|
124334
|
-
/** Send a message to an agent or conversation. */
|
|
124452
|
+
/** Send a message to an agent or conversation. Uses LocalTransport when conduit.db is available. */
|
|
124335
124453
|
async sendMessage(content, to2, conversationId, agentId) {
|
|
124336
124454
|
if (!to2 && !conversationId) {
|
|
124337
124455
|
return {
|
|
@@ -124340,6 +124458,33 @@ var init_conduit2 = __esm({
|
|
|
124340
124458
|
};
|
|
124341
124459
|
}
|
|
124342
124460
|
const credential = await this.resolveCredential(agentId);
|
|
124461
|
+
const { LocalTransport: LocalTransport2 } = await import("@cleocode/core/conduit");
|
|
124462
|
+
if (LocalTransport2.isAvailable(process.cwd())) {
|
|
124463
|
+
const transport = new LocalTransport2();
|
|
124464
|
+
await transport.connect({
|
|
124465
|
+
agentId: credential.agentId,
|
|
124466
|
+
apiKey: credential.apiKey,
|
|
124467
|
+
apiBaseUrl: credential.apiBaseUrl
|
|
124468
|
+
});
|
|
124469
|
+
try {
|
|
124470
|
+
const recipient = to2 ?? conversationId ?? "";
|
|
124471
|
+
const result = await transport.push(recipient, content, {
|
|
124472
|
+
conversationId
|
|
124473
|
+
});
|
|
124474
|
+
return {
|
|
124475
|
+
success: true,
|
|
124476
|
+
data: {
|
|
124477
|
+
messageId: result.messageId,
|
|
124478
|
+
from: credential.agentId,
|
|
124479
|
+
to: recipient,
|
|
124480
|
+
transport: "local",
|
|
124481
|
+
sentAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
124482
|
+
}
|
|
124483
|
+
};
|
|
124484
|
+
} finally {
|
|
124485
|
+
await transport.disconnect();
|
|
124486
|
+
}
|
|
124487
|
+
}
|
|
124343
124488
|
let url2;
|
|
124344
124489
|
const body = { content };
|
|
124345
124490
|
if (conversationId) {
|
|
@@ -124371,6 +124516,7 @@ var init_conduit2 = __esm({
|
|
|
124371
124516
|
messageId: data.data?.message?.id ?? "unknown",
|
|
124372
124517
|
from: credential.agentId,
|
|
124373
124518
|
to: to2 ?? conversationId,
|
|
124519
|
+
transport: "http",
|
|
124374
124520
|
sentAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
124375
124521
|
}
|
|
124376
124522
|
};
|