@cleocode/cleo 2026.4.22 → 2026.4.24

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 CHANGED
@@ -55245,35 +55245,6 @@ var init_show3 = __esm({
55245
55245
  });
55246
55246
 
55247
55247
  // packages/core/src/tasks/index.ts
55248
- var tasks_exports = {};
55249
- __export(tasks_exports, {
55250
- VALID_PRIORITIES: () => VALID_PRIORITIES,
55251
- addTask: () => addTask,
55252
- archiveTasks: () => archiveTasks,
55253
- buildDefaultVerification: () => buildDefaultVerification,
55254
- completeTask: () => completeTask,
55255
- deleteTask: () => deleteTask,
55256
- findRecentDuplicate: () => findRecentDuplicate,
55257
- findTasks: () => findTasks,
55258
- fuzzyScore: () => fuzzyScore,
55259
- getNextPosition: () => getNextPosition,
55260
- getTaskDepth: () => getTaskDepth,
55261
- inferTaskType: () => inferTaskType,
55262
- listTasks: () => listTasks,
55263
- logOperation: () => logOperation,
55264
- normalizePriority: () => normalizePriority,
55265
- showTask: () => showTask,
55266
- updateTask: () => updateTask,
55267
- validateDepends: () => validateDepends,
55268
- validateLabels: () => validateLabels,
55269
- validateParent: () => validateParent,
55270
- validatePhaseFormat: () => validatePhaseFormat,
55271
- validatePriority: () => validatePriority,
55272
- validateSize: () => validateSize,
55273
- validateStatus: () => validateStatus,
55274
- validateTaskType: () => validateTaskType,
55275
- validateTitle: () => validateTitle
55276
- });
55277
55248
  var init_tasks2 = __esm({
55278
55249
  "packages/core/src/tasks/index.ts"() {
55279
55250
  "use strict";
@@ -75217,258 +75188,6 @@ var init_cleo = __esm({
75217
75188
  });
75218
75189
 
75219
75190
  // packages/core/src/index.ts
75220
- var src_exports = {};
75221
- __export(src_exports, {
75222
- ADR_STATUSES: () => ADR_STATUSES,
75223
- AGENT_INSTANCE_STATUSES: () => AGENT_INSTANCE_STATUSES,
75224
- AGENT_TYPES: () => AGENT_TYPES,
75225
- AdapterManager: () => AdapterManager,
75226
- BRAIN_OBSERVATION_TYPES: () => BRAIN_OBSERVATION_TYPES,
75227
- CORE_PROTECTED_FILES: () => CORE_PROTECTED_FILES,
75228
- Cleo: () => Cleo,
75229
- CleoError: () => CleoError,
75230
- ERROR_CATALOG: () => ERROR_CATALOG,
75231
- ExitCode: () => ExitCode,
75232
- GATE_STATUSES: () => GATE_STATUSES,
75233
- HookRegistry: () => HookRegistry,
75234
- LIFECYCLE_PIPELINE_STATUSES: () => LIFECYCLE_PIPELINE_STATUSES,
75235
- LIFECYCLE_STAGE_STATUSES: () => LIFECYCLE_STAGE_STATUSES,
75236
- MANIFEST_STATUSES: () => MANIFEST_STATUSES,
75237
- MINIMUM_NODE_MAJOR: () => MINIMUM_NODE_MAJOR,
75238
- OrchestrationLevel: () => OrchestrationLevel,
75239
- PIPELINE_STATUS_ICONS: () => PIPELINE_STATUS_ICONS,
75240
- PLATFORM: () => PLATFORM,
75241
- SESSION_STATUSES: () => SESSION_STATUSES,
75242
- STAGE_STATUS_ICONS: () => STAGE_STATUS_ICONS,
75243
- STATUS_REGISTRY: () => STATUS_REGISTRY,
75244
- STRICTNESS_PRESETS: () => STRICTNESS_PRESETS,
75245
- SessionView: () => SessionView,
75246
- TASK_STATUSES: () => TASK_STATUSES,
75247
- TASK_STATUS_SYMBOLS_ASCII: () => TASK_STATUS_SYMBOLS_ASCII,
75248
- TASK_STATUS_SYMBOLS_UNICODE: () => TASK_STATUS_SYMBOLS_UNICODE,
75249
- TERMINAL_PIPELINE_STATUSES: () => TERMINAL_PIPELINE_STATUSES,
75250
- TERMINAL_STAGE_STATUSES: () => TERMINAL_STAGE_STATUSES,
75251
- TERMINAL_TASK_STATUSES: () => TERMINAL_TASK_STATUSES,
75252
- adapters: () => adapters_exports,
75253
- addTask: () => addTask,
75254
- admin: () => admin_exports,
75255
- adrStatusSchema: () => adrStatusSchema,
75256
- adrs: () => adrs_exports,
75257
- agentInstanceStatusSchema: () => agentInstanceStatusSchema,
75258
- agentTypeSchema: () => agentTypeSchema,
75259
- agents: () => agents_exports,
75260
- applyStrictnessPreset: () => applyStrictnessPreset,
75261
- archiveTasks: () => archiveTasks,
75262
- bootstrapGlobalCleo: () => bootstrapGlobalCleo,
75263
- brainConfidenceLevelSchema: () => brainConfidenceLevelSchema,
75264
- brainDecisionTypeSchema: () => brainDecisionTypeSchema,
75265
- brainEdgeTypeSchema: () => brainEdgeTypeSchema,
75266
- brainImpactLevelSchema: () => brainImpactLevelSchema,
75267
- brainLinkTypeSchema: () => brainLinkTypeSchema,
75268
- brainMemoryTypeSchema: () => brainMemoryTypeSchema,
75269
- brainNodeTypeSchema: () => brainNodeTypeSchema,
75270
- brainObservationSourceTypeSchema: () => brainObservationSourceTypeSchema,
75271
- brainObservationTypeSchema: () => brainObservationTypeSchema,
75272
- brainOutcomeTypeSchema: () => brainOutcomeTypeSchema,
75273
- brainPatternTypeSchema: () => brainPatternTypeSchema,
75274
- brainStickyColorSchema: () => brainStickyColorSchema,
75275
- brainStickyPrioritySchema: () => brainStickyPrioritySchema,
75276
- brainStickyStatusSchema: () => brainStickyStatusSchema,
75277
- caamp: () => caamp_exports,
75278
- checkSchema: () => checkSchema,
75279
- checkStorageMigration: () => checkStorageMigration,
75280
- classifyProject: () => classifyProject,
75281
- closeLogger: () => closeLogger,
75282
- code: () => code_exports,
75283
- codebaseMap: () => codebase_map_exports,
75284
- compareSemver: () => compareSemver,
75285
- completeTask: () => completeTask,
75286
- compliance: () => compliance_exports,
75287
- conduit: () => conduit_exports,
75288
- context: () => context_exports,
75289
- coreHooks: () => hooks_exports,
75290
- createDataAccessor: () => createDataAccessor,
75291
- createErrorResult: () => createErrorResult,
75292
- createPage: () => createPage,
75293
- createSuccessResult: () => createSuccessResult,
75294
- currentTask: () => currentTask,
75295
- deleteTask: () => deleteTask,
75296
- detectPlatform: () => detectPlatform,
75297
- detectVersion: () => detectVersion,
75298
- endSession: () => endSession,
75299
- ensureCleoOsHub: () => ensureCleoOsHub,
75300
- ensureCleoStructure: () => ensureCleoStructure,
75301
- ensureGlobalHome: () => ensureGlobalHome,
75302
- ensureGlobalScaffold: () => ensureGlobalScaffold,
75303
- ensureInitialized: () => ensureInitialized,
75304
- ensureSqliteDb: () => ensureSqliteDb,
75305
- externalLinkTypeSchema: () => externalLinkTypeSchema,
75306
- fetchBrainEntries: () => fetchBrainEntries,
75307
- fileExists: () => fileExists,
75308
- findTasks: () => findTasks,
75309
- formatError: () => formatError3,
75310
- formatOutput: () => formatOutput,
75311
- formatSuccess: () => formatSuccess,
75312
- gateStatusSchema: () => gateStatusSchema,
75313
- getAccessor: () => getAccessor,
75314
- getAllErrorDefinitions: () => getAllErrorDefinitions,
75315
- getCleoCacheDir: () => getCleoCacheDir,
75316
- getCleoCantWorkflowsDir: () => getCleoCantWorkflowsDir,
75317
- getCleoConfigDir: () => getCleoConfigDir,
75318
- getCleoDir: () => getCleoDir,
75319
- getCleoDirAbsolute: () => getCleoDirAbsolute,
75320
- getCleoErrorRegistry: () => getCleoErrorRegistry,
75321
- getCleoGlobalAgentsDir: () => getCleoGlobalAgentsDir,
75322
- getCleoGlobalJustfilePath: () => getCleoGlobalJustfilePath,
75323
- getCleoGlobalRecipesDir: () => getCleoGlobalRecipesDir,
75324
- getCleoHome: () => getCleoHome,
75325
- getCleoLogDir: () => getCleoLogDir,
75326
- getCleoPiExtensionsDir: () => getCleoPiExtensionsDir,
75327
- getCleoTempDir: () => getCleoTempDir,
75328
- getCleoTemplatesTildePath: () => getCleoTemplatesTildePath,
75329
- getCleoVersion: () => getCleoVersion,
75330
- getConfigPath: () => getConfigPath,
75331
- getConfigValue: () => getConfigValue,
75332
- getErrorDefinition: () => getErrorDefinition,
75333
- getErrorDefinitionByLafsCode: () => getErrorDefinitionByLafsCode,
75334
- getErrorMessage: () => getErrorMessage,
75335
- getExitCodeName: () => getExitCodeName,
75336
- getGlobalConfigPath: () => getGlobalConfigPath,
75337
- getIsoTimestamp: () => getIsoTimestamp,
75338
- getLogDir: () => getLogDir,
75339
- getLogger: () => getLogger,
75340
- getMigrationStatus: () => getMigrationStatus,
75341
- getPackageRoot: () => getPackageRoot,
75342
- getProjectInfo: () => getProjectInfo,
75343
- getProjectInfoSync: () => getProjectInfoSync,
75344
- getProjectRoot: () => getProjectRoot,
75345
- getRawConfig: () => getRawConfig,
75346
- getRawConfigValue: () => getRawConfigValue,
75347
- getRegistryEntry: () => getRegistryEntry,
75348
- getRegistryEntryByLafsCode: () => getRegistryEntryByLafsCode,
75349
- getSystemInfo: () => getSystemInfo2,
75350
- getSystemMigrationStatus: () => getMigrationStatus2,
75351
- getVersion: () => getVersion2,
75352
- hooks: () => hooks,
75353
- initLogger: () => initLogger,
75354
- initProject: () => initProject,
75355
- inject: () => inject_exports,
75356
- insertAgentErrorLogSchema: () => insertAgentErrorLogSchema,
75357
- insertAgentInstanceSchema: () => insertAgentInstanceSchema,
75358
- insertExternalTaskLinkSchema: () => insertExternalTaskLinkSchema,
75359
- insertPipelineManifestSchema: () => insertPipelineManifestSchema,
75360
- insertReleaseManifestSchema: () => insertReleaseManifestSchema,
75361
- insertSessionSchema: () => insertSessionSchema,
75362
- insertTaskSchema: () => insertTaskSchema,
75363
- intelligence: () => intelligence_exports,
75364
- isCleoRegisteredCode: () => isCleoRegisteredCode,
75365
- isErrorCode: () => isErrorCode,
75366
- isErrorResult: () => isErrorResult,
75367
- isErrorType: () => isErrorType,
75368
- isGatewayEnvelope: () => isGatewayEnvelope,
75369
- isLafsError: () => isLafsError,
75370
- isLafsSuccess: () => isLafsSuccess,
75371
- isNoChangeCode: () => isNoChangeCode,
75372
- isProjectInitialized: () => isProjectInitialized,
75373
- isRecoverableCode: () => isRecoverableCode,
75374
- isSuccessCode: () => isSuccessCode,
75375
- isValidStatus: () => isValidStatus,
75376
- issue: () => issue_exports,
75377
- lib: () => lib_exports,
75378
- lifecycle: () => lifecycle_exports,
75379
- lifecycleEvidenceTypeSchema: () => lifecycleEvidenceTypeSchema,
75380
- lifecycleGateResultSchema: () => lifecycleGateResultSchema,
75381
- lifecyclePipelineStatusSchema: () => lifecyclePipelineStatusSchema,
75382
- lifecycleStageNameSchema: () => lifecycleStageNameSchema,
75383
- lifecycleStageStatusSchema: () => lifecycleStageStatusSchema,
75384
- lifecycleTransitionTypeSchema: () => lifecycleTransitionTypeSchema,
75385
- listSessions: () => listSessions,
75386
- listStrictnessPresets: () => listStrictnessPresets,
75387
- listTasks: () => listTasks,
75388
- loadConfig: () => loadConfig,
75389
- manifestStatusSchema: () => manifestStatusSchema,
75390
- memory: () => memory_exports,
75391
- memoryFindHitNext: () => memoryFindHitNext,
75392
- metrics: () => metrics_exports,
75393
- migration: () => migration_exports,
75394
- nexus: () => nexus_exports,
75395
- normalizeError: () => normalizeError,
75396
- normalizeTaskId: () => normalizeTaskId,
75397
- observability: () => observability_exports,
75398
- observeBrain: () => observeBrain,
75399
- ops: () => operations_exports,
75400
- orchestration: () => orchestration_exports,
75401
- otel: () => otel_exports,
75402
- paginate: () => paginate,
75403
- parseConfigValue: () => parseConfigValue,
75404
- phases: () => phases_exports,
75405
- pipeline: () => pipeline_exports2,
75406
- populateEmbeddings: () => populateEmbeddings,
75407
- pruneAuditLog: () => pruneAuditLog,
75408
- pushWarning: () => pushWarning,
75409
- queryAudit: () => queryAudit,
75410
- reconcile: () => reconcile,
75411
- reconciliation: () => reconciliation_exports,
75412
- release: () => release_exports,
75413
- remote: () => remote_exports,
75414
- research: () => research_exports,
75415
- resolveProjectPath: () => resolveProjectPath,
75416
- restoreSession: () => restoreSession,
75417
- resumeSession: () => resumeSession,
75418
- roadmap: () => roadmap_exports,
75419
- routing: () => routing_exports,
75420
- runAllMigrations: () => runAllMigrations,
75421
- runMigration: () => runMigration,
75422
- searchBrain: () => searchBrain,
75423
- searchBrainCompact: () => searchBrainCompact,
75424
- security: () => security_exports,
75425
- selectAgentErrorLogSchema: () => selectAgentErrorLogSchema,
75426
- selectAgentInstanceSchema: () => selectAgentInstanceSchema,
75427
- selectExternalTaskLinkSchema: () => selectExternalTaskLinkSchema,
75428
- selectPipelineManifestSchema: () => selectPipelineManifestSchema,
75429
- selectReleaseManifestSchema: () => selectReleaseManifestSchema,
75430
- selectSessionSchema: () => selectSessionSchema,
75431
- selectTaskSchema: () => selectTaskSchema,
75432
- sequence: () => sequence_exports,
75433
- serializeSession: () => serializeSession,
75434
- sessionListItemNext: () => sessionListItemNext,
75435
- sessionStartNext: () => sessionStartNext,
75436
- sessionStatus: () => sessionStatus,
75437
- sessionStatusSchema: () => sessionStatusSchema,
75438
- sessions: () => sessions_exports,
75439
- setConfigValue: () => setConfigValue,
75440
- sha256: () => sha256,
75441
- showTask: () => showTask,
75442
- skills: () => skills_exports,
75443
- snapshot: () => snapshot_exports,
75444
- spawn: () => spawn_exports,
75445
- startSession: () => startSession,
75446
- startTask: () => startTask,
75447
- stats: () => stats_exports,
75448
- sticky: () => sticky_exports,
75449
- stopTask: () => stopTask,
75450
- syncDirectionSchema: () => syncDirectionSchema,
75451
- system: () => system_exports,
75452
- taskListItemNext: () => taskListItemNext,
75453
- taskPrioritySchema: () => taskPrioritySchema,
75454
- taskRelationTypeSchema: () => taskRelationTypeSchema,
75455
- taskShowNext: () => taskShowNext,
75456
- taskSizeSchema: () => taskSizeSchema,
75457
- taskStatusSchema: () => taskStatusSchema,
75458
- taskTypeSchema: () => taskTypeSchema,
75459
- taskWork: () => task_work_exports,
75460
- tasks: () => tasks_exports,
75461
- templates: () => templates_exports,
75462
- timelineBrain: () => timelineBrain,
75463
- tokenUsageConfidenceSchema: () => tokenUsageConfidenceSchema,
75464
- tokenUsageMethodSchema: () => tokenUsageMethodSchema,
75465
- tokenUsageTransportSchema: () => tokenUsageTransportSchema,
75466
- ui: () => ui_exports,
75467
- updateProjectName: () => updateProjectName,
75468
- updateTask: () => updateTask,
75469
- validateAgainstSchema: () => validateAgainstSchema,
75470
- validation: () => validation_exports
75471
- });
75472
75191
  var init_src2 = __esm({
75473
75192
  "packages/core/src/index.ts"() {
75474
75193
  init_src();
@@ -104462,11 +104181,11 @@ var init_registry5 = __esm({
104462
104181
  // orchestrate — Wave 7a: analyze parallel-safety mode (T410)
104463
104182
  // Note: orchestrate.analyze already registered above; this documents the new
104464
104183
  // mode="parallel-safety" variant via the existing analyze operation's params.
104465
- // conduit — agent messaging operations (replaces standalone clawmsgr scripts)
104184
+ // conduit — agent messaging operations (ADR-042: moved under orchestrate domain)
104466
104185
  {
104467
104186
  gateway: "query",
104468
- domain: "conduit",
104469
- operation: "status",
104187
+ domain: "orchestrate",
104188
+ operation: "conduit.status",
104470
104189
  description: "conduit.status (query) \u2014 check agent connection status and unread count",
104471
104190
  tier: 2,
104472
104191
  idempotent: true,
@@ -104483,8 +104202,8 @@ var init_registry5 = __esm({
104483
104202
  },
104484
104203
  {
104485
104204
  gateway: "query",
104486
- domain: "conduit",
104487
- operation: "peek",
104205
+ domain: "orchestrate",
104206
+ operation: "conduit.peek",
104488
104207
  description: "conduit.peek (query) \u2014 one-shot poll for new messages without acking",
104489
104208
  tier: 2,
104490
104209
  idempotent: true,
@@ -104507,8 +104226,8 @@ var init_registry5 = __esm({
104507
104226
  },
104508
104227
  {
104509
104228
  gateway: "mutate",
104510
- domain: "conduit",
104511
- operation: "start",
104229
+ domain: "orchestrate",
104230
+ operation: "conduit.start",
104512
104231
  description: "conduit.start (mutate) \u2014 start continuous message polling for the active agent",
104513
104232
  tier: 2,
104514
104233
  idempotent: true,
@@ -104537,8 +104256,8 @@ var init_registry5 = __esm({
104537
104256
  },
104538
104257
  {
104539
104258
  gateway: "mutate",
104540
- domain: "conduit",
104541
- operation: "stop",
104259
+ domain: "orchestrate",
104260
+ operation: "conduit.stop",
104542
104261
  description: "conduit.stop (mutate) \u2014 stop the active polling loop",
104543
104262
  tier: 2,
104544
104263
  idempotent: true,
@@ -104547,8 +104266,8 @@ var init_registry5 = __esm({
104547
104266
  },
104548
104267
  {
104549
104268
  gateway: "mutate",
104550
- domain: "conduit",
104551
- operation: "send",
104269
+ domain: "orchestrate",
104270
+ operation: "conduit.send",
104552
104271
  description: "conduit.send (mutate) \u2014 send a message to an agent or conversation",
104553
104272
  tier: 2,
104554
104273
  idempotent: false,
@@ -107761,6 +107480,11 @@ var init_system_engine = __esm({
107761
107480
 
107762
107481
  // packages/cleo/src/dispatch/engines/task-engine.ts
107763
107482
  function taskToRecord(task) {
107483
+ const relates = task.relates?.map((r) => ({
107484
+ taskId: r.taskId,
107485
+ type: r.type,
107486
+ ...r.reason && { reason: r.reason }
107487
+ }));
107764
107488
  return {
107765
107489
  id: task.id,
107766
107490
  title: task.title,
@@ -107777,7 +107501,7 @@ function taskToRecord(task) {
107777
107501
  position: task.position,
107778
107502
  positionVersion: task.positionVersion,
107779
107503
  depends: task.depends,
107780
- relates: task.relates,
107504
+ relates,
107781
107505
  files: task.files,
107782
107506
  acceptance: task.acceptance,
107783
107507
  notes: task.notes,
@@ -107864,34 +107588,12 @@ async function taskFind(projectRoot, query, limit, options) {
107864
107588
  return { success: true, data: { results: fullResults, total: findResult.total } };
107865
107589
  }
107866
107590
  if (options?.fields) {
107867
- const extraFields = options.fields.split(",").map((f2) => f2.trim());
107868
- const extendedResults = [];
107591
+ const fullResults = [];
107869
107592
  for (const r of findResult.results) {
107870
- const base = {
107871
- id: r.id,
107872
- title: r.title,
107873
- status: r.status,
107874
- priority: r.priority,
107875
- parentId: r.parentId,
107876
- depends: r.depends,
107877
- type: r.type,
107878
- size: r.size
107879
- };
107880
107593
  const task = await accessor.loadSingleTask(r.id);
107881
- if (task) {
107882
- const record2 = taskToRecord(task);
107883
- for (const field of extraFields) {
107884
- if (field in record2) {
107885
- base[field] = record2[field];
107886
- }
107887
- }
107888
- }
107889
- extendedResults.push(base);
107594
+ if (task) fullResults.push(taskToRecord(task));
107890
107595
  }
107891
- return {
107892
- success: true,
107893
- data: { results: extendedResults, total: findResult.total }
107894
- };
107596
+ return { success: true, data: { results: fullResults, total: findResult.total } };
107895
107597
  }
107896
107598
  const results = findResult.results.map((r) => ({
107897
107599
  id: r.id,
@@ -111977,7 +111679,7 @@ async function orchestrateAnalyzeParallelSafety(taskIds, projectRoot) {
111977
111679
  };
111978
111680
  }
111979
111681
  }
111980
- var OrchestrateHandler, FANOUT_MANIFEST_MAX_SIZE, fanoutManifestStore;
111682
+ var conduitHandler, OrchestrateHandler, FANOUT_MANIFEST_MAX_SIZE, fanoutManifestStore;
111981
111683
  var init_orchestrate2 = __esm({
111982
111684
  "packages/cleo/src/dispatch/domains/orchestrate.ts"() {
111983
111685
  "use strict";
@@ -111986,6 +111688,8 @@ var init_orchestrate2 = __esm({
111986
111688
  init_base();
111987
111689
  init_meta2();
111988
111690
  init_routing2();
111691
+ init_conduit2();
111692
+ conduitHandler = new ConduitHandler();
111989
111693
  OrchestrateHandler = class {
111990
111694
  // -----------------------------------------------------------------------
111991
111695
  // DomainHandler interface
@@ -112164,6 +111868,11 @@ var init_orchestrate2 = __esm({
112164
111868
  page: page.page
112165
111869
  };
112166
111870
  }
111871
+ // ADR-042: conduit sub-operations routed through orchestrate domain
111872
+ case "conduit.status":
111873
+ return conduitHandler.query("status", params);
111874
+ case "conduit.peek":
111875
+ return conduitHandler.query("peek", params);
112167
111876
  default:
112168
111877
  return errorResult(
112169
111878
  "query",
@@ -112413,6 +112122,13 @@ var init_orchestrate2 = __esm({
112413
112122
  data: instance
112414
112123
  };
112415
112124
  }
112125
+ // ADR-042: conduit sub-operations routed through orchestrate domain
112126
+ case "conduit.start":
112127
+ return conduitHandler.mutate("start", params);
112128
+ case "conduit.stop":
112129
+ return conduitHandler.mutate("stop", params);
112130
+ case "conduit.send":
112131
+ return conduitHandler.mutate("send", params);
112416
112132
  default:
112417
112133
  return errorResult(
112418
112134
  "mutate",
@@ -112445,7 +112161,10 @@ var init_orchestrate2 = __esm({
112445
112161
  "tessera.list",
112446
112162
  // Wave 7a (T379)
112447
112163
  "classify",
112448
- "fanout.status"
112164
+ "fanout.status",
112165
+ // ADR-042: conduit sub-operations
112166
+ "conduit.status",
112167
+ "conduit.peek"
112449
112168
  ],
112450
112169
  mutate: [
112451
112170
  "start",
@@ -112456,7 +112175,11 @@ var init_orchestrate2 = __esm({
112456
112175
  "parallel",
112457
112176
  "tessera.instantiate",
112458
112177
  // Wave 7a (T379)
112459
- "fanout"
112178
+ "fanout",
112179
+ // ADR-042: conduit sub-operations
112180
+ "conduit.start",
112181
+ "conduit.stop",
112182
+ "conduit.send"
112460
112183
  ]
112461
112184
  };
112462
112185
  }
@@ -115553,7 +115276,6 @@ function createDomainHandlers() {
115553
115276
  handlers.set("admin", new AdminHandler());
115554
115277
  handlers.set("nexus", new NexusHandler());
115555
115278
  handlers.set("sticky", new StickyHandler());
115556
- handlers.set("conduit", new ConduitHandler());
115557
115279
  return handlers;
115558
115280
  }
115559
115281
  var init_domains = __esm({
@@ -122842,7 +122564,7 @@ function registerLabelsCommand(program) {
122842
122564
  await dispatchFromCli("query", "tasks", "label.list", {}, { command: "labels" });
122843
122565
  });
122844
122566
  labels.command("show <label>").description("Show tasks with specific label").action(async (label) => {
122845
- await dispatchFromCli("query", "tasks", "label.show", { label }, { command: "labels" });
122567
+ await dispatchFromCli("query", "tasks", "label.list", { label }, { command: "labels" });
122846
122568
  });
122847
122569
  labels.command("stats").description("Show detailed label statistics").action(async () => {
122848
122570
  await dispatchFromCli("query", "tasks", "label.list", {}, { command: "labels" });
@@ -123407,34 +123129,24 @@ function registerNexusCommand(program) {
123407
123129
  }
123408
123130
 
123409
123131
  // packages/cleo/src/cli/commands/observe.ts
123410
- init_src2();
123411
- init_renderers();
123132
+ init_cli();
123412
123133
  function registerObserveCommand(program) {
123413
123134
  program.command("observe <text>").description("Save an observation to brain.db").option("-t, --title <title>", "Optional title (defaults to first 120 chars of text)").option(
123414
123135
  "--type <type>",
123415
123136
  "Observation type (discovery, decision, bugfix, refactor, feature, change, pattern, session_summary)"
123416
123137
  ).action(async (text3, opts) => {
123417
- const projectDir = getProjectRoot();
123418
- const { observeBrain: observeBrain2 } = await Promise.resolve().then(() => (init_src2(), src_exports));
123419
- try {
123420
- const result = await observeBrain2(projectDir, {
123138
+ await dispatchFromCli(
123139
+ "mutate",
123140
+ "memory",
123141
+ "observe",
123142
+ {
123421
123143
  text: text3,
123422
123144
  title: opts.title,
123423
- type: opts.type,
123145
+ ...opts.type !== void 0 && { type: opts.type },
123424
123146
  sourceType: "manual"
123425
- });
123426
- cliOutput(
123427
- {
123428
- id: result.id,
123429
- type: result.type,
123430
- createdAt: result.createdAt
123431
- },
123432
- { command: "observe", operation: "memory.observe" }
123433
- );
123434
- } catch (err) {
123435
- cliError(err instanceof Error ? err.message : String(err), 1);
123436
- process.exitCode = 1;
123437
- }
123147
+ },
123148
+ { command: "observe", operation: "memory.observe" }
123149
+ );
123438
123150
  });
123439
123151
  }
123440
123152
 
@@ -123720,8 +123432,14 @@ function registerPlanCommand(program) {
123720
123432
  // packages/cleo/src/cli/commands/promote.ts
123721
123433
  init_cli();
123722
123434
  function registerPromoteCommand(program) {
123723
- program.command("promote <task-id>").description("Remove parent from task, making it root-level").option("--no-type-update", "Skip auto-updating type from subtask to task").action(async (taskId) => {
123724
- await dispatchFromCli("mutate", "tasks", "promote", { taskId }, { command: "promote" });
123435
+ program.command("promote <task-id>").description("Remove parent from task, making it root-level").action(async (taskId) => {
123436
+ await dispatchFromCli(
123437
+ "mutate",
123438
+ "tasks",
123439
+ "reparent",
123440
+ { taskId, newParentId: null },
123441
+ { command: "promote" }
123442
+ );
123725
123443
  });
123726
123444
  }
123727
123445
 
@@ -125416,38 +125134,26 @@ function registerSkillsCommand(program) {
125416
125134
  { command: "skills", operation: "tools.skill.uninstall" }
125417
125135
  );
125418
125136
  });
125419
- skillsCmd.command("enable <skill-name>").description("Enable a skill").action(async (skillName) => {
125137
+ skillsCmd.command("enable <skill-name>").description("Enable a skill (alias for install)").action(async (skillName) => {
125420
125138
  await dispatchFromCli(
125421
125139
  "mutate",
125422
125140
  "tools",
125423
- "skill.enable",
125141
+ "skill.install",
125424
125142
  {
125425
125143
  name: skillName
125426
125144
  },
125427
- { command: "skills", operation: "tools.skill.enable" }
125145
+ { command: "skills", operation: "tools.skill.install" }
125428
125146
  );
125429
125147
  });
125430
- skillsCmd.command("disable <skill-name>").description("Disable a skill").action(async (skillName) => {
125148
+ skillsCmd.command("disable <skill-name>").description("Disable a skill (alias for uninstall)").action(async (skillName) => {
125431
125149
  await dispatchFromCli(
125432
125150
  "mutate",
125433
125151
  "tools",
125434
- "skill.disable",
125152
+ "skill.uninstall",
125435
125153
  {
125436
125154
  name: skillName
125437
125155
  },
125438
- { command: "skills", operation: "tools.skill.disable" }
125439
- );
125440
- });
125441
- skillsCmd.command("configure <skill-name>").description("Configure a skill").option("--set <key=value>", "Set configuration value").action(async (skillName, opts) => {
125442
- await dispatchFromCli(
125443
- "mutate",
125444
- "tools",
125445
- "skill.configure",
125446
- {
125447
- name: skillName,
125448
- config: opts["set"]
125449
- },
125450
- { command: "skills", operation: "tools.skill.configure" }
125156
+ { command: "skills", operation: "tools.skill.uninstall" }
125451
125157
  );
125452
125158
  });
125453
125159
  skillsCmd.command("refresh").description("Refresh skills cache").action(async () => {