@adea-ai/runtime-sdk 1.15.1 → 1.16.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.
@@ -190,6 +190,40 @@ export declare const PiDurableLeadProgressRequestSchema: z.ZodObject<{
190
190
  afterSequence: z.ZodOptional<z.ZodNumber>;
191
191
  }, z.core.$strict>;
192
192
  }, z.core.$strict>;
193
+ /** Position after which the next page of children starts: the last returned child's sort key. */
194
+ export declare const PiDurableLeadChildrenCursorSchema: z.ZodReadonly<z.ZodObject<{
195
+ acceptedAt: z.ZodISODateTime;
196
+ delegationId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"delegation ID">, string>>;
197
+ }, z.core.$strict>>;
198
+ export type PiDurableLeadChildrenCursor = z.output<typeof PiDurableLeadChildrenCursorSchema>;
199
+ export declare const PI_DURABLE_LEAD_CHILDREN_MAX_PAGE = 256;
200
+ export declare const PiDurableLeadChildrenRequestSchema: z.ZodObject<{
201
+ contractVersion: z.ZodObject<{
202
+ major: z.ZodNumber;
203
+ minor: z.ZodNumber;
204
+ }, z.core.$strict>;
205
+ requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"request ID">, string>>;
206
+ workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"workspace ID">, string>>;
207
+ projectId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"project ID">, string>>>;
208
+ requestedAt: z.ZodISODateTime;
209
+ caller: z.ZodObject<{
210
+ servicePrincipalId: z.ZodString;
211
+ }, z.core.$strict>;
212
+ correlation: z.ZodObject<{
213
+ traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"trace ID">, string>>;
214
+ causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"command ID">, string>>>;
215
+ parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"event ID">, string>>>;
216
+ }, z.core.$strict>;
217
+ operation: z.ZodLiteral<"pi-durable.lead.children">;
218
+ parameters: z.ZodObject<{
219
+ dispatchId: z.ZodString;
220
+ after: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
221
+ acceptedAt: z.ZodISODateTime;
222
+ delegationId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"delegation ID">, string>>;
223
+ }, z.core.$strict>>>;
224
+ limit: z.ZodOptional<z.ZodNumber>;
225
+ }, z.core.$strict>;
226
+ }, z.core.$strict>;
193
227
  export declare const PiDurableLeadCancelRequestSchema: z.ZodObject<{
194
228
  contractVersion: z.ZodObject<{
195
229
  major: z.ZodNumber;
@@ -723,6 +757,155 @@ export declare const PiDurableLeadCancelResponseSchema: z.ZodObject<{
723
757
  }, z.core.$strict>;
724
758
  }, z.core.$strict>;
725
759
  }, z.core.$strict>;
760
+ /** Terminal child outcome as retained by the delegation record; identifiers and bounded codes only. */
761
+ export declare const PiDurableLeadChildOutcomeSchema: z.ZodObject<{
762
+ state: z.ZodEnum<{
763
+ cancelled: "cancelled";
764
+ completed: "completed";
765
+ failed: "failed";
766
+ }>;
767
+ resultRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"Artifact reference ID">, string>>>;
768
+ failureCode: z.ZodOptional<z.ZodString>;
769
+ publication: z.ZodObject<{
770
+ status: z.ZodEnum<{
771
+ pending: "pending";
772
+ published: "published";
773
+ }>;
774
+ resolution: z.ZodOptional<z.ZodEnum<{
775
+ continue_parent: "continue_parent";
776
+ fail_parent: "fail_parent";
777
+ manual_intervention: "manual_intervention";
778
+ }>>;
779
+ }, z.core.$strict>;
780
+ }, z.core.$strict>;
781
+ /**
782
+ * Canonical, authorized view of one child job of a lead dispatch. It is read from retained
783
+ * delegation records only: no prompt, objective, plan, digest, credential or native payload.
784
+ * `awaitingInput` is the child's own approval/input state; it is observation, never a grant.
785
+ */
786
+ export declare const PiDurableLeadChildSchema: z.ZodObject<{
787
+ delegationId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"delegation ID">, string>>;
788
+ childExecutionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"execution ID">, string>>;
789
+ childAttemptId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"attempt ID">, string>>>;
790
+ role: z.ZodString;
791
+ state: z.ZodEnum<{
792
+ awaiting_input: "awaiting_input";
793
+ cancelled: "cancelled";
794
+ completed: "completed";
795
+ dispatched: "dispatched";
796
+ failed: "failed";
797
+ manual_intervention: "manual_intervention";
798
+ requested: "requested";
799
+ running: "running";
800
+ }>;
801
+ awaitingInput: z.ZodBoolean;
802
+ stopRequested: z.ZodBoolean;
803
+ acceptedAt: z.ZodISODateTime;
804
+ updatedAt: z.ZodISODateTime;
805
+ revision: z.ZodNumber;
806
+ outcome: z.ZodOptional<z.ZodObject<{
807
+ state: z.ZodEnum<{
808
+ cancelled: "cancelled";
809
+ completed: "completed";
810
+ failed: "failed";
811
+ }>;
812
+ resultRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"Artifact reference ID">, string>>>;
813
+ failureCode: z.ZodOptional<z.ZodString>;
814
+ publication: z.ZodObject<{
815
+ status: z.ZodEnum<{
816
+ pending: "pending";
817
+ published: "published";
818
+ }>;
819
+ resolution: z.ZodOptional<z.ZodEnum<{
820
+ continue_parent: "continue_parent";
821
+ fail_parent: "fail_parent";
822
+ manual_intervention: "manual_intervention";
823
+ }>>;
824
+ }, z.core.$strict>;
825
+ }, z.core.$strict>>;
826
+ }, z.core.$strict>;
827
+ /**
828
+ * One page of the dispatch's children, ordered by acceptance time then delegation ID.
829
+ * `totalChildren` counts every child of this dispatch at the time of the read, so a consumer
830
+ * can tell a complete set from a page. `complete` is true only when this page ends the set;
831
+ * otherwise `next` is the cursor for the following page. A page is never silently cut short.
832
+ */
833
+ export declare const PiDurableLeadChildrenResponseSchema: z.ZodObject<{
834
+ contractVersion: z.ZodObject<{
835
+ major: z.ZodNumber;
836
+ minor: z.ZodNumber;
837
+ }, z.core.$strict>;
838
+ requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"request ID">, string>>;
839
+ correlation: z.ZodObject<{
840
+ traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"trace ID">, string>>;
841
+ causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"command ID">, string>>>;
842
+ parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"event ID">, string>>>;
843
+ }, z.core.$strict>;
844
+ data: z.ZodObject<{
845
+ schemaVersion: z.ZodLiteral<"pi-lead-dispatch/v1">;
846
+ dispatchId: z.ZodString;
847
+ intentId: z.ZodUUID;
848
+ executionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"execution ID">, string>>;
849
+ attemptId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"attempt ID">, string>>;
850
+ runtimeSessionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"external-session ID">, string>>;
851
+ requestedTarget: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
852
+ sessionId: z.ZodString;
853
+ taskId: z.ZodString;
854
+ generation: z.ZodNumber;
855
+ }, z.core.$strict>>>;
856
+ observedTarget: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
857
+ sessionId: z.ZodString;
858
+ taskId: z.ZodString;
859
+ }, z.core.$strict>>>;
860
+ children: z.ZodArray<z.ZodObject<{
861
+ delegationId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"delegation ID">, string>>;
862
+ childExecutionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"execution ID">, string>>;
863
+ childAttemptId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"attempt ID">, string>>>;
864
+ role: z.ZodString;
865
+ state: z.ZodEnum<{
866
+ awaiting_input: "awaiting_input";
867
+ cancelled: "cancelled";
868
+ completed: "completed";
869
+ dispatched: "dispatched";
870
+ failed: "failed";
871
+ manual_intervention: "manual_intervention";
872
+ requested: "requested";
873
+ running: "running";
874
+ }>;
875
+ awaitingInput: z.ZodBoolean;
876
+ stopRequested: z.ZodBoolean;
877
+ acceptedAt: z.ZodISODateTime;
878
+ updatedAt: z.ZodISODateTime;
879
+ revision: z.ZodNumber;
880
+ outcome: z.ZodOptional<z.ZodObject<{
881
+ state: z.ZodEnum<{
882
+ cancelled: "cancelled";
883
+ completed: "completed";
884
+ failed: "failed";
885
+ }>;
886
+ resultRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"Artifact reference ID">, string>>>;
887
+ failureCode: z.ZodOptional<z.ZodString>;
888
+ publication: z.ZodObject<{
889
+ status: z.ZodEnum<{
890
+ pending: "pending";
891
+ published: "published";
892
+ }>;
893
+ resolution: z.ZodOptional<z.ZodEnum<{
894
+ continue_parent: "continue_parent";
895
+ fail_parent: "fail_parent";
896
+ manual_intervention: "manual_intervention";
897
+ }>>;
898
+ }, z.core.$strict>;
899
+ }, z.core.$strict>>;
900
+ }, z.core.$strict>>;
901
+ totalChildren: z.ZodNumber;
902
+ complete: z.ZodBoolean;
903
+ next: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
904
+ acceptedAt: z.ZodISODateTime;
905
+ delegationId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"delegation ID">, string>>;
906
+ }, z.core.$strict>>>;
907
+ }, z.core.$strict>;
908
+ }, z.core.$strict>;
726
909
  /** Existing versioned authenticated envelopes; payloads contain opaque references only. */
727
910
  export declare const PiDurableLeadHttpContract: Readonly<{
728
911
  schemaVersion: "pi-lead-dispatch/v1";
@@ -1187,6 +1370,114 @@ export declare const PiDurableLeadHttpContract: Readonly<{
1187
1370
  }, z.core.$strict>;
1188
1371
  }, z.core.$strict>;
1189
1372
  }>;
1373
+ children: Readonly<{
1374
+ route: "children";
1375
+ operation: "pi-durable.lead.children";
1376
+ scope: "execution:read";
1377
+ requestSchema: z.ZodObject<{
1378
+ contractVersion: z.ZodObject<{
1379
+ major: z.ZodNumber;
1380
+ minor: z.ZodNumber;
1381
+ }, z.core.$strict>;
1382
+ requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"request ID">, string>>;
1383
+ workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"workspace ID">, string>>;
1384
+ projectId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"project ID">, string>>>;
1385
+ requestedAt: z.ZodISODateTime;
1386
+ caller: z.ZodObject<{
1387
+ servicePrincipalId: z.ZodString;
1388
+ }, z.core.$strict>;
1389
+ correlation: z.ZodObject<{
1390
+ traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"trace ID">, string>>;
1391
+ causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"command ID">, string>>>;
1392
+ parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"event ID">, string>>>;
1393
+ }, z.core.$strict>;
1394
+ operation: z.ZodLiteral<"pi-durable.lead.children">;
1395
+ parameters: z.ZodObject<{
1396
+ dispatchId: z.ZodString;
1397
+ after: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
1398
+ acceptedAt: z.ZodISODateTime;
1399
+ delegationId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"delegation ID">, string>>;
1400
+ }, z.core.$strict>>>;
1401
+ limit: z.ZodOptional<z.ZodNumber>;
1402
+ }, z.core.$strict>;
1403
+ }, z.core.$strict>;
1404
+ responseSchema: z.ZodObject<{
1405
+ contractVersion: z.ZodObject<{
1406
+ major: z.ZodNumber;
1407
+ minor: z.ZodNumber;
1408
+ }, z.core.$strict>;
1409
+ requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"request ID">, string>>;
1410
+ correlation: z.ZodObject<{
1411
+ traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"trace ID">, string>>;
1412
+ causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"command ID">, string>>>;
1413
+ parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"event ID">, string>>>;
1414
+ }, z.core.$strict>;
1415
+ data: z.ZodObject<{
1416
+ schemaVersion: z.ZodLiteral<"pi-lead-dispatch/v1">;
1417
+ dispatchId: z.ZodString;
1418
+ intentId: z.ZodUUID;
1419
+ executionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"execution ID">, string>>;
1420
+ attemptId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"attempt ID">, string>>;
1421
+ runtimeSessionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"external-session ID">, string>>;
1422
+ requestedTarget: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
1423
+ sessionId: z.ZodString;
1424
+ taskId: z.ZodString;
1425
+ generation: z.ZodNumber;
1426
+ }, z.core.$strict>>>;
1427
+ observedTarget: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
1428
+ sessionId: z.ZodString;
1429
+ taskId: z.ZodString;
1430
+ }, z.core.$strict>>>;
1431
+ children: z.ZodArray<z.ZodObject<{
1432
+ delegationId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"delegation ID">, string>>;
1433
+ childExecutionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"execution ID">, string>>;
1434
+ childAttemptId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"attempt ID">, string>>>;
1435
+ role: z.ZodString;
1436
+ state: z.ZodEnum<{
1437
+ awaiting_input: "awaiting_input";
1438
+ cancelled: "cancelled";
1439
+ completed: "completed";
1440
+ dispatched: "dispatched";
1441
+ failed: "failed";
1442
+ manual_intervention: "manual_intervention";
1443
+ requested: "requested";
1444
+ running: "running";
1445
+ }>;
1446
+ awaitingInput: z.ZodBoolean;
1447
+ stopRequested: z.ZodBoolean;
1448
+ acceptedAt: z.ZodISODateTime;
1449
+ updatedAt: z.ZodISODateTime;
1450
+ revision: z.ZodNumber;
1451
+ outcome: z.ZodOptional<z.ZodObject<{
1452
+ state: z.ZodEnum<{
1453
+ cancelled: "cancelled";
1454
+ completed: "completed";
1455
+ failed: "failed";
1456
+ }>;
1457
+ resultRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"Artifact reference ID">, string>>>;
1458
+ failureCode: z.ZodOptional<z.ZodString>;
1459
+ publication: z.ZodObject<{
1460
+ status: z.ZodEnum<{
1461
+ pending: "pending";
1462
+ published: "published";
1463
+ }>;
1464
+ resolution: z.ZodOptional<z.ZodEnum<{
1465
+ continue_parent: "continue_parent";
1466
+ fail_parent: "fail_parent";
1467
+ manual_intervention: "manual_intervention";
1468
+ }>>;
1469
+ }, z.core.$strict>;
1470
+ }, z.core.$strict>>;
1471
+ }, z.core.$strict>>;
1472
+ totalChildren: z.ZodNumber;
1473
+ complete: z.ZodBoolean;
1474
+ next: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
1475
+ acceptedAt: z.ZodISODateTime;
1476
+ delegationId: z.ZodPipe<z.ZodString, z.ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"delegation ID">, string>>;
1477
+ }, z.core.$strict>>>;
1478
+ }, z.core.$strict>;
1479
+ }, z.core.$strict>;
1480
+ }>;
1190
1481
  cancel: Readonly<{
1191
1482
  route: "cancel";
1192
1483
  operation: "pi-durable.lead.cancel";
@@ -1360,6 +1651,9 @@ export type PiDurableLeadStatusRequest = z.output<typeof PiDurableLeadStatusRequ
1360
1651
  export type PiDurableLeadStatusResponse = z.output<typeof PiDurableLeadStatusResponseSchema>;
1361
1652
  export type PiDurableLeadProgressRequest = z.output<typeof PiDurableLeadProgressRequestSchema>;
1362
1653
  export type PiDurableLeadProgressResponse = z.output<typeof PiDurableLeadProgressResponseSchema>;
1654
+ export type PiDurableLeadChildrenRequest = z.output<typeof PiDurableLeadChildrenRequestSchema>;
1655
+ export type PiDurableLeadChildrenResponse = z.output<typeof PiDurableLeadChildrenResponseSchema>;
1656
+ export type PiDurableLeadChild = z.output<typeof PiDurableLeadChildSchema>;
1363
1657
  export type PiDurableLeadCancelRequest = z.output<typeof PiDurableLeadCancelRequestSchema>;
1364
1658
  export type PiDurableLeadCancelResponse = z.output<typeof PiDurableLeadCancelResponseSchema>;
1365
1659
  //# sourceMappingURL=pi-durable-lead.d.ts.map
@@ -1 +1 @@
1
- {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A"}
@@ -71,6 +71,24 @@ export const PiDurableLeadProgressRequestSchema = PiDurableLeadReadEnvelopeSchem
71
71
  })
72
72
  .strict(),
73
73
  });
74
+ /** Position after which the next page of children starts: the last returned child's sort key. */
75
+ export const PiDurableLeadChildrenCursorSchema = z
76
+ .object({ acceptedAt: z.iso.datetime(), delegationId: IdentifierSchemas.delegationId })
77
+ .strict()
78
+ .readonly();
79
+ export const PI_DURABLE_LEAD_CHILDREN_MAX_PAGE = 256;
80
+ export const PiDurableLeadChildrenRequestSchema = PiDurableLeadReadEnvelopeSchema.extend({
81
+ operation: z.literal('pi-durable.lead.children'),
82
+ parameters: z
83
+ .object({
84
+ dispatchId: DispatchId,
85
+ /** Resume strictly after this child (acceptance time, then delegation ID). */
86
+ after: PiDurableLeadChildrenCursorSchema.optional(),
87
+ /** Page size, 1..256; the default is the maximum. */
88
+ limit: z.number().int().min(1).max(PI_DURABLE_LEAD_CHILDREN_MAX_PAGE).optional(),
89
+ })
90
+ .strict(),
91
+ });
74
92
  export const PiDurableLeadCancelRequestSchema = PiDurableLeadCommandEnvelopeSchema.extend({
75
93
  operation: z.literal('pi-durable.lead.cancel'),
76
94
  payload: z.object({ dispatchId: DispatchId }).strict(),
@@ -165,6 +183,82 @@ export const PiDurableLeadProgressResponseSchema = response.extend({
165
183
  }),
166
184
  });
167
185
  export const PiDurableLeadCancelResponseSchema = PiDurableLeadStatusResponseSchema;
186
+ const ChildReference = z
187
+ .string()
188
+ .trim()
189
+ .min(1)
190
+ .max(256)
191
+ .regex(/^[A-Za-z0-9._:/-]+$/);
192
+ /** Terminal child outcome as retained by the delegation record; identifiers and bounded codes only. */
193
+ export const PiDurableLeadChildOutcomeSchema = z
194
+ .object({
195
+ state: z.enum(['completed', 'failed', 'cancelled']),
196
+ resultRef: IdentifierSchemas.artifactId.optional(),
197
+ failureCode: ChildReference.optional(),
198
+ publication: z
199
+ .object({
200
+ status: z.enum(['pending', 'published']),
201
+ resolution: z.enum(['continue_parent', 'manual_intervention', 'fail_parent']).optional(),
202
+ })
203
+ .strict(),
204
+ })
205
+ .strict();
206
+ /**
207
+ * Canonical, authorized view of one child job of a lead dispatch. It is read from retained
208
+ * delegation records only: no prompt, objective, plan, digest, credential or native payload.
209
+ * `awaitingInput` is the child's own approval/input state; it is observation, never a grant.
210
+ */
211
+ export const PiDurableLeadChildSchema = z
212
+ .object({
213
+ delegationId: IdentifierSchemas.delegationId,
214
+ childExecutionId: IdentifierSchemas.executionId,
215
+ childAttemptId: IdentifierSchemas.attemptId.optional(),
216
+ role: ChildReference,
217
+ state: z.enum([
218
+ 'requested',
219
+ 'dispatched',
220
+ 'running',
221
+ 'awaiting_input',
222
+ 'completed',
223
+ 'failed',
224
+ 'cancelled',
225
+ 'manual_intervention',
226
+ ]),
227
+ awaitingInput: z.boolean(),
228
+ stopRequested: z.boolean(),
229
+ acceptedAt: z.iso.datetime(),
230
+ updatedAt: z.iso.datetime(),
231
+ revision: z.number().int().positive().max(Number.MAX_SAFE_INTEGER),
232
+ outcome: PiDurableLeadChildOutcomeSchema.optional(),
233
+ })
234
+ .strict();
235
+ /**
236
+ * One page of the dispatch's children, ordered by acceptance time then delegation ID.
237
+ * `totalChildren` counts every child of this dispatch at the time of the read, so a consumer
238
+ * can tell a complete set from a page. `complete` is true only when this page ends the set;
239
+ * otherwise `next` is the cursor for the following page. A page is never silently cut short.
240
+ */
241
+ export const PiDurableLeadChildrenResponseSchema = response.extend({
242
+ data: PiDurableLeadReceiptResponseSchema.extend({
243
+ children: z.array(PiDurableLeadChildSchema).max(PI_DURABLE_LEAD_CHILDREN_MAX_PAGE),
244
+ totalChildren: z.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER),
245
+ complete: z.boolean(),
246
+ next: PiDurableLeadChildrenCursorSchema.optional(),
247
+ }).superRefine((value, context) => {
248
+ if (value.complete === (value.next !== undefined))
249
+ context.addIssue({
250
+ code: 'custom',
251
+ path: ['next'],
252
+ message: 'A page is complete exactly when it has no next cursor',
253
+ });
254
+ if (value.children.length > value.totalChildren)
255
+ context.addIssue({
256
+ code: 'custom',
257
+ path: ['totalChildren'],
258
+ message: 'A page cannot hold more children than the dispatch has',
259
+ });
260
+ }),
261
+ });
168
262
  /** Existing versioned authenticated envelopes; payloads contain opaque references only. */
169
263
  export const PiDurableLeadHttpContract = Object.freeze({
170
264
  schemaVersion: 'pi-lead-dispatch/v1',
@@ -205,6 +299,13 @@ export const PiDurableLeadHttpContract = Object.freeze({
205
299
  requestSchema: PiDurableLeadProgressRequestSchema,
206
300
  responseSchema: PiDurableLeadProgressResponseSchema,
207
301
  }),
302
+ children: Object.freeze({
303
+ route: 'children',
304
+ operation: 'pi-durable.lead.children',
305
+ scope: 'execution:read',
306
+ requestSchema: PiDurableLeadChildrenRequestSchema,
307
+ responseSchema: PiDurableLeadChildrenResponseSchema,
308
+ }),
208
309
  cancel: Object.freeze({
209
310
  route: 'cancel',
210
311
  operation: 'pi-durable.lead.cancel',
@@ -1 +1 @@
1
- {"version":3,"file":"pi-durable-lead.js","sourceRoot":"","sources":["../src/pi-durable-lead.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EACL,iBAAiB,EACjB,+BAA+B,EAC/B,uBAAuB,EACvB,yBAAyB,EACzB,kCAAkC,EAClC,6BAA6B,GAC9B,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,4BAA4B,EAC5B,8BAA8B,EAC9B,4BAA4B,EAC5B,2BAA2B,GAC5B,MAAM,cAAc,CAAA;AAErB,MAAM,QAAQ,GAAG,CAAC,CAAC,IAAI,EAAE,CAAA;AACzB,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAA;AAC9D,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAA;AACxF,MAAM,MAAM,GAAG,kCAAkC,CAAC,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kC;QACjD,cAAc,EAAE,mCAAmC;KACpD,CAAC;IACF,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;QACpB,KAAK,EAAE,QAAQ;QACf,SAAS,EAAE,wBAAwB;QACnC,KAAK,EAAE,gBAAgB;QACvB,aAAa,EAAE,gCAAgC;QAC/C,cAAc,EAAE,iCAAiC;KAClD,CAAC;IACF,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;QACpB,KAAK,EAAE,QAAQ;QACf,SAAS,EAAE,wBAAwB;QACnC,KAAK,EAAE,gBAAgB;QACvB,aAAa,EAAE,gCAAgC;QAC/C,cAAc,EAAE,iCAAiC;KAClD,CAAC;IACF,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC;QACtB,KAAK,EAAE,UAAU;QACjB,SAAS,EAAE,0BAA0B;QACrC,KAAK,EAAE,gBAAgB;QACvB,aAAa,EAAE,kCAAkC;QACjD,cAAc,EAAE,mCAAmC;KACpD,CAAC;IACF,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC;QACtB,KAAK,EAAE,UAAU;QACjB,SAAS,EAAE,0BAA0B;QACrC,KAAK,EAAE,gBAAgB;QACvB,aAAa,EAAE,kCAAkC;QACjD,cAAc,EAAE,mCAAmC;KACpD,CAAC;IACF,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;QACpB,KAAK,EAAE,QAAQ;QACf,SAAS,EAAE,wBAAwB;QACnC,KAAK,EAAE,kBAAkB;QACzB,aAAa,EAAE,gCAAgC;QAC/C,cAAc,EAAE,iCAAiC;KAClD,CAAC;CACH,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adea-ai/runtime-sdk",
3
- "version": "1.15.1",
3
+ "version": "1.16.1",
4
4
  "description": "SDK for building Control Plane runtimes: adapters, capabilities, conformance, discovery, eligibility, health, sessions, transport, and routing.",
5
5
  "keywords": [
6
6
  "adapter",
@@ -36,13 +36,14 @@
36
36
  },
37
37
  "scripts": {
38
38
  "build": "tsc -p tsconfig.json",
39
+ "typecheck": "bun check -p tsconfig.json",
39
40
  "compatibility:check": "bun scripts/compatibility.mjs --check",
40
41
  "compatibility:generate": "bun scripts/compatibility.mjs",
41
42
  "lint": "oxlint src",
42
43
  "test": "bun test src"
43
44
  },
44
45
  "dependencies": {
45
- "@adea-ai/contracts": "^1.19.1",
46
+ "@adea-ai/contracts": "^1.21.4",
46
47
  "zod": "4.6.5"
47
48
  },
48
49
  "engines": {