@cleocode/adapters 2026.11.1-canary.10 → 2026.11.1-canary.12

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.
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "schema": 2,
3
- "sourceHash": "17974184a97361a9e80f9162e240d641aa7396069957d91c84b3047362568f65"
3
+ "sourceHash": "1e778e940759149c53fc02d072cbc2c16befdeb0f6987146d99ba8a7bc33a8dd"
4
4
  }
package/dist/index.js CHANGED
@@ -1127,7 +1127,7 @@ var init_code_symbol = __esm({
1127
1127
 
1128
1128
  // packages/contracts/src/orca-execution.ts
1129
1129
  import { z as z4 } from "zod";
1130
- var identifier, orcaAgentSchema, DEFAULT_ORCA_AGENTS, orchestrateOrcaConfigSchema, orcaContextSchema, orcaRoutingRunSchema, orcaLaunchSchema, orcaStartBindingSchema, orcaAttemptSchema, orcaWorkerDoneSchema, orcaWorkerReportSchema, orcaReportSourceSchema, orcaWorkerDonePayloadSchema, orcaWorkerRequestSchema, effectSchema, selectionSchema, orcaReplySchema, orcaCommandRegistrySchema, accountProviderSchema, orcaAccountReplySchema;
1130
+ var identifier, orcaAgentSchema, DEFAULT_ORCA_AGENTS, orchestrateOrcaConfigSchema, orcaContextSchema, orcaRoutingRunSchema, orcaLaunchSchema, orcaStartBindingSchema, orcaAttemptSchema, orcaWorkerDoneSchema, orcaWorkerReportSchema, orcaReportDeliverySchema, orcaWorkerSettlementSchema, orcaReportMessageSchema, orcaReportSourceSchema, orcaWorkerDonePayloadSchema, orcaWorkerRequestSchema, effectSchema, selectionSchema, orcaReplySchema, orcaCommandRegistrySchema, accountProviderSchema, orcaAccountReplySchema;
1131
1131
  var init_orca_execution = __esm({
1132
1132
  "packages/contracts/src/orca-execution.ts"() {
1133
1133
  "use strict";
@@ -1239,23 +1239,40 @@ var init_orca_execution = __esm({
1239
1239
  reportDigest: z4.string().regex(/^[a-f0-9]{64}$/),
1240
1240
  ingestedAt: z4.string().datetime()
1241
1241
  });
1242
+ orcaReportDeliverySchema = z4.object({
1243
+ key: identifier,
1244
+ mailbox: identifier.nullable(),
1245
+ state: z4.enum(["pending", "delivered"]),
1246
+ messageId: identifier.nullable(),
1247
+ deliveredAt: z4.string().datetime().nullable(),
1248
+ lastError: z4.string().nullable()
1249
+ });
1250
+ orcaWorkerSettlementSchema = z4.object({
1251
+ resourceRelease: z4.object({
1252
+ dispatchId: identifier,
1253
+ releasedAt: z4.string().datetime(),
1254
+ receiptDigest: z4.string().regex(/^[a-f0-9]{64}$/),
1255
+ receipt: identifier
1256
+ }).optional(),
1257
+ retiredAt: z4.string().datetime().optional(),
1258
+ reportDelivery: orcaReportDeliverySchema.optional()
1259
+ });
1260
+ orcaReportMessageSchema = z4.object({
1261
+ id: identifier,
1262
+ run_id: z4.string().nullable(),
1263
+ delivery_contract: z4.string(),
1264
+ from_handle: z4.string(),
1265
+ to_handle: z4.string(),
1266
+ type: z4.string(),
1267
+ body: z4.string(),
1268
+ payload: z4.string().nullable(),
1269
+ sender_pane_key: z4.string().nullable()
1270
+ });
1242
1271
  orcaReportSourceSchema = z4.object({
1243
1272
  ok: z4.literal(true),
1244
1273
  _meta: z4.object({ runtimeId: identifier }),
1245
1274
  result: z4.object({
1246
- messages: z4.array(
1247
- z4.object({
1248
- id: identifier,
1249
- run_id: z4.string().nullable(),
1250
- delivery_contract: z4.string(),
1251
- from_handle: z4.string(),
1252
- to_handle: z4.string(),
1253
- type: z4.string(),
1254
- body: z4.string(),
1255
- payload: z4.string().nullable(),
1256
- sender_pane_key: z4.string().nullable()
1257
- })
1258
- ).optional(),
1275
+ messages: z4.array(z4.json()).optional(),
1259
1276
  dispatch: z4.object({
1260
1277
  id: identifier,
1261
1278
  run_id: identifier,
@@ -1280,7 +1297,8 @@ var init_orca_execution = __esm({
1280
1297
  "recover-stop",
1281
1298
  "retry",
1282
1299
  "stop",
1283
- "ingest-report"
1300
+ "ingest-report",
1301
+ "relay-report"
1284
1302
  ]),
1285
1303
  recordId: identifier,
1286
1304
  cursor: identifier.optional(),