@cleocode/adapters 2026.5.134 → 2026.6.1
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/index.js +56 -4
- package/dist/index.js.map +2 -2
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1297,8 +1297,8 @@ var init_db_inventory = __esm({
|
|
|
1297
1297
|
role: "signaldock-project",
|
|
1298
1298
|
tier: "project",
|
|
1299
1299
|
filePathTemplate: "<projectRoot>/.cleo/signaldock.db",
|
|
1300
|
-
drizzleSchemaPath: "packages/core/src/store/schema/
|
|
1301
|
-
migrationsDir: "packages/core/migrations/drizzle-
|
|
1300
|
+
drizzleSchemaPath: "packages/core/src/store/schema/agent-registry-schema.ts",
|
|
1301
|
+
migrationsDir: "packages/core/migrations/drizzle-agent-registry/",
|
|
1302
1302
|
ownerPackage: "@cleocode/core",
|
|
1303
1303
|
openedVia: "HISTORICAL \u2014 project-tier signaldock.db was migrated into conduit.db post-T310/ADR-037. No live opener; charter row retained for migration provenance and legacy backup detection.",
|
|
1304
1304
|
concurrency: "single-writer",
|
|
@@ -1310,8 +1310,8 @@ var init_db_inventory = __esm({
|
|
|
1310
1310
|
role: "signaldock-global",
|
|
1311
1311
|
tier: "global",
|
|
1312
1312
|
filePathTemplate: "$XDG_DATA_HOME/cleo/signaldock.db",
|
|
1313
|
-
drizzleSchemaPath: "packages/core/src/store/schema/
|
|
1314
|
-
migrationsDir: "packages/core/migrations/drizzle-
|
|
1313
|
+
drizzleSchemaPath: "packages/core/src/store/schema/agent-registry-schema.ts",
|
|
1314
|
+
migrationsDir: "packages/core/migrations/drizzle-agent-registry/",
|
|
1315
1315
|
ownerPackage: "@cleocode/core",
|
|
1316
1316
|
openedVia: "openCleoDb('signaldock')",
|
|
1317
1317
|
concurrency: "single-writer",
|
|
@@ -4109,6 +4109,50 @@ var init_operations_registry = __esm({
|
|
|
4109
4109
|
}
|
|
4110
4110
|
]
|
|
4111
4111
|
},
|
|
4112
|
+
{
|
|
4113
|
+
// T11575 — the handler (dispatch/domains/tasks.ts 'relates.add-batch') and
|
|
4114
|
+
// CLI command (cli/commands/relates.ts add-batch) shipped, but no
|
|
4115
|
+
// OperationDef existed here, so `resolve()` returned undefined and the
|
|
4116
|
+
// dispatcher rejected the call with E_INVALID_OPERATION before it ever
|
|
4117
|
+
// reached the handler. Registering the op (gateway:'mutate') closes the gap.
|
|
4118
|
+
gateway: "mutate",
|
|
4119
|
+
domain: "tasks",
|
|
4120
|
+
operation: "relates.add-batch",
|
|
4121
|
+
description: "tasks.relates.add-batch (mutate) \u2014 bulk-add advisory relation edges from a JSON payload ({relations:[...]} or {edges:[...]}); use dryRun to preview without writing.",
|
|
4122
|
+
tier: 1,
|
|
4123
|
+
idempotent: false,
|
|
4124
|
+
sessionRequired: false,
|
|
4125
|
+
// Neither `relations` nor `edges` is individually required — the handler
|
|
4126
|
+
// accepts either shape and validates emptiness in core — so no param is
|
|
4127
|
+
// declared required at the dispatch boundary.
|
|
4128
|
+
requiredParams: [],
|
|
4129
|
+
params: [
|
|
4130
|
+
{
|
|
4131
|
+
name: "relations",
|
|
4132
|
+
type: "array",
|
|
4133
|
+
required: false,
|
|
4134
|
+
description: "Array of relation edges ({from|taskId, to|relatedId, type, reason})"
|
|
4135
|
+
},
|
|
4136
|
+
{
|
|
4137
|
+
name: "edges",
|
|
4138
|
+
type: "array",
|
|
4139
|
+
required: false,
|
|
4140
|
+
description: "Alias for `relations` \u2014 array of relation edges"
|
|
4141
|
+
},
|
|
4142
|
+
{
|
|
4143
|
+
name: "dryRun",
|
|
4144
|
+
type: "boolean",
|
|
4145
|
+
required: false,
|
|
4146
|
+
description: "Validate and report what would be created without writing"
|
|
4147
|
+
},
|
|
4148
|
+
{
|
|
4149
|
+
name: "reasonWaiver",
|
|
4150
|
+
type: "string",
|
|
4151
|
+
required: false,
|
|
4152
|
+
description: "Explicit audit waiver text for edges without per-edge reasons"
|
|
4153
|
+
}
|
|
4154
|
+
]
|
|
4155
|
+
},
|
|
4112
4156
|
{
|
|
4113
4157
|
gateway: "mutate",
|
|
4114
4158
|
domain: "tasks",
|
|
@@ -10890,6 +10934,13 @@ var init_observe = __esm({
|
|
|
10890
10934
|
}
|
|
10891
10935
|
});
|
|
10892
10936
|
|
|
10937
|
+
// packages/contracts/src/migration-parity.ts
|
|
10938
|
+
var init_migration_parity = __esm({
|
|
10939
|
+
"packages/contracts/src/migration-parity.ts"() {
|
|
10940
|
+
"use strict";
|
|
10941
|
+
}
|
|
10942
|
+
});
|
|
10943
|
+
|
|
10893
10944
|
// packages/contracts/src/mvi.ts
|
|
10894
10945
|
var init_mvi = __esm({
|
|
10895
10946
|
"packages/contracts/src/mvi.ts"() {
|
|
@@ -12772,6 +12823,7 @@ var init_src = __esm({
|
|
|
12772
12823
|
init_lafs();
|
|
12773
12824
|
init_plugin_llm();
|
|
12774
12825
|
init_observe();
|
|
12826
|
+
init_migration_parity();
|
|
12775
12827
|
init_mvi();
|
|
12776
12828
|
init_operation_envelope_validation();
|
|
12777
12829
|
init_docs();
|