@av-pi-studio/protocol 0.0.113 → 0.0.115

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.
@@ -799,6 +799,14 @@ export declare const agentStreamEventSchema: z.ZodDiscriminatedUnion<"kind", [z.
799
799
  output?: string | undefined;
800
800
  }>]>;
801
801
  status: z.ZodOptional<z.ZodString>;
802
+ /**
803
+ * Ephemeral in-flight output snapshot (Pi `tool_execution_update`). Producer contract: broadcast
804
+ * with no `seq`, never appended to the timeline, never replayed from history, and never sent
805
+ * after the call's terminal event. Consumer contract: upsert by `callId` and let the snapshot
806
+ * supersede earlier output — never accumulate. Describes the delivery, not the tool call, so a
807
+ * client must not store it on its row model.
808
+ */
809
+ partial: z.ZodOptional<z.ZodBoolean>;
802
810
  }, "strip", z.ZodTypeAny, {
803
811
  kind: "tool_call";
804
812
  callId?: string | undefined;
@@ -833,6 +841,7 @@ export declare const agentStreamEventSchema: z.ZodDiscriminatedUnion<"kind", [z.
833
841
  output?: string | undefined;
834
842
  };
835
843
  status?: string | undefined;
844
+ partial?: boolean | undefined;
836
845
  }, {
837
846
  kind: "tool_call";
838
847
  callId?: string | undefined;
@@ -867,6 +876,7 @@ export declare const agentStreamEventSchema: z.ZodDiscriminatedUnion<"kind", [z.
867
876
  output?: string | undefined;
868
877
  };
869
878
  status?: string | undefined;
879
+ partial?: boolean | undefined;
870
880
  }>, z.ZodObject<{
871
881
  kind: z.ZodLiteral<"turn_started">;
872
882
  turnId: z.ZodOptional<z.ZodString>;
@@ -1122,6 +1132,14 @@ export declare const agentStreamSchema: z.ZodObject<{
1122
1132
  output?: string | undefined;
1123
1133
  }>]>;
1124
1134
  status: z.ZodOptional<z.ZodString>;
1135
+ /**
1136
+ * Ephemeral in-flight output snapshot (Pi `tool_execution_update`). Producer contract: broadcast
1137
+ * with no `seq`, never appended to the timeline, never replayed from history, and never sent
1138
+ * after the call's terminal event. Consumer contract: upsert by `callId` and let the snapshot
1139
+ * supersede earlier output — never accumulate. Describes the delivery, not the tool call, so a
1140
+ * client must not store it on its row model.
1141
+ */
1142
+ partial: z.ZodOptional<z.ZodBoolean>;
1125
1143
  }, "strip", z.ZodTypeAny, {
1126
1144
  kind: "tool_call";
1127
1145
  callId?: string | undefined;
@@ -1156,6 +1174,7 @@ export declare const agentStreamSchema: z.ZodObject<{
1156
1174
  output?: string | undefined;
1157
1175
  };
1158
1176
  status?: string | undefined;
1177
+ partial?: boolean | undefined;
1159
1178
  }, {
1160
1179
  kind: "tool_call";
1161
1180
  callId?: string | undefined;
@@ -1190,6 +1209,7 @@ export declare const agentStreamSchema: z.ZodObject<{
1190
1209
  output?: string | undefined;
1191
1210
  };
1192
1211
  status?: string | undefined;
1212
+ partial?: boolean | undefined;
1193
1213
  }>, z.ZodObject<{
1194
1214
  kind: z.ZodLiteral<"turn_started">;
1195
1215
  turnId: z.ZodOptional<z.ZodString>;
@@ -1337,6 +1357,7 @@ export declare const agentStreamSchema: z.ZodObject<{
1337
1357
  output?: string | undefined;
1338
1358
  };
1339
1359
  status?: string | undefined;
1360
+ partial?: boolean | undefined;
1340
1361
  } | {
1341
1362
  kind: "turn_started";
1342
1363
  turnId?: string | undefined;
@@ -1424,6 +1445,7 @@ export declare const agentStreamSchema: z.ZodObject<{
1424
1445
  output?: string | undefined;
1425
1446
  };
1426
1447
  status?: string | undefined;
1448
+ partial?: boolean | undefined;
1427
1449
  } | {
1428
1450
  kind: "turn_started";
1429
1451
  turnId?: string | undefined;
@@ -10332,6 +10354,868 @@ export declare const agentUiListResponseSchema: z.ZodObject<{
10332
10354
  }, z.ZodTypeAny, "passthrough">>;
10333
10355
  }, z.ZodTypeAny, "passthrough">>;
10334
10356
  export type AgentUiListResponse = z.infer<typeof agentUiListResponseSchema>;
10357
+ /** `deleted` is never sent: the daemon drops the extension's tombstones. */
10358
+ export declare const agentTodoStatusSchema: z.ZodEnum<["pending", "in_progress", "completed"]>;
10359
+ export type AgentTodoStatus = z.infer<typeof agentTodoStatusSchema>;
10360
+ /**
10361
+ * Hard limits the **daemon** applies before sending (truncating over-long text with `…`, never
10362
+ * rejecting). The schemas below deliberately do not enforce them: a newer daemon may raise a cap
10363
+ * and an older client must still parse the result. Clients read `AGENT_TODOS_MAX_TASKS` for the
10364
+ * "showing the first N" hint.
10365
+ */
10366
+ export declare const AGENT_TODOS_MAX_TASKS = 200;
10367
+ export declare const AGENT_TODO_MAX_SUBJECT_CHARS = 500;
10368
+ export declare const AGENT_TODO_MAX_ACTIVE_FORM_CHARS = 500;
10369
+ export declare const AGENT_TODO_MAX_OWNER_CHARS = 100;
10370
+ export declare const AGENT_TODO_MAX_DESCRIPTION_CHARS = 4000;
10371
+ export declare const AGENT_TODO_MAX_BLOCKED_BY = 50;
10372
+ export declare const agentTodoSchema: z.ZodObject<{
10373
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10374
+ id: z.ZodNumber;
10375
+ subject: z.ZodString;
10376
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10377
+ activeForm: z.ZodOptional<z.ZodString>;
10378
+ description: z.ZodOptional<z.ZodString>;
10379
+ owner: z.ZodOptional<z.ZodString>;
10380
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10381
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10382
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10383
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10384
+ id: z.ZodNumber;
10385
+ subject: z.ZodString;
10386
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10387
+ activeForm: z.ZodOptional<z.ZodString>;
10388
+ description: z.ZodOptional<z.ZodString>;
10389
+ owner: z.ZodOptional<z.ZodString>;
10390
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10391
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10392
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10393
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10394
+ id: z.ZodNumber;
10395
+ subject: z.ZodString;
10396
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10397
+ activeForm: z.ZodOptional<z.ZodString>;
10398
+ description: z.ZodOptional<z.ZodString>;
10399
+ owner: z.ZodOptional<z.ZodString>;
10400
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10401
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10402
+ }, z.ZodTypeAny, "passthrough">>;
10403
+ export type AgentTodo = z.infer<typeof agentTodoSchema>;
10404
+ /**
10405
+ * One agent's whole todo list, last-value-wins. `seq` is strictly increasing per agent within one
10406
+ * daemon process lifetime and restarts at 1 after a daemon restart, so a client resets its
10407
+ * per-agent seq on reconnect and refetches. Empty `tasks` means "no list" (panel hidden).
10408
+ */
10409
+ export declare const agentTodosSnapshotSchema: z.ZodObject<{
10410
+ agentId: z.ZodString;
10411
+ seq: z.ZodNumber;
10412
+ tasks: z.ZodArray<z.ZodObject<{
10413
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10414
+ id: z.ZodNumber;
10415
+ subject: z.ZodString;
10416
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10417
+ activeForm: z.ZodOptional<z.ZodString>;
10418
+ description: z.ZodOptional<z.ZodString>;
10419
+ owner: z.ZodOptional<z.ZodString>;
10420
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10421
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10422
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10423
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10424
+ id: z.ZodNumber;
10425
+ subject: z.ZodString;
10426
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10427
+ activeForm: z.ZodOptional<z.ZodString>;
10428
+ description: z.ZodOptional<z.ZodString>;
10429
+ owner: z.ZodOptional<z.ZodString>;
10430
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10431
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10432
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10433
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10434
+ id: z.ZodNumber;
10435
+ subject: z.ZodString;
10436
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10437
+ activeForm: z.ZodOptional<z.ZodString>;
10438
+ description: z.ZodOptional<z.ZodString>;
10439
+ owner: z.ZodOptional<z.ZodString>;
10440
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10441
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10442
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10443
+ /** True when the task cap dropped tasks. */
10444
+ truncated: z.ZodOptional<z.ZodBoolean>;
10445
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10446
+ agentId: z.ZodString;
10447
+ seq: z.ZodNumber;
10448
+ tasks: z.ZodArray<z.ZodObject<{
10449
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10450
+ id: z.ZodNumber;
10451
+ subject: z.ZodString;
10452
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10453
+ activeForm: z.ZodOptional<z.ZodString>;
10454
+ description: z.ZodOptional<z.ZodString>;
10455
+ owner: z.ZodOptional<z.ZodString>;
10456
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10457
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10458
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10459
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10460
+ id: z.ZodNumber;
10461
+ subject: z.ZodString;
10462
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10463
+ activeForm: z.ZodOptional<z.ZodString>;
10464
+ description: z.ZodOptional<z.ZodString>;
10465
+ owner: z.ZodOptional<z.ZodString>;
10466
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10467
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10468
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10469
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10470
+ id: z.ZodNumber;
10471
+ subject: z.ZodString;
10472
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10473
+ activeForm: z.ZodOptional<z.ZodString>;
10474
+ description: z.ZodOptional<z.ZodString>;
10475
+ owner: z.ZodOptional<z.ZodString>;
10476
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10477
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10478
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10479
+ /** True when the task cap dropped tasks. */
10480
+ truncated: z.ZodOptional<z.ZodBoolean>;
10481
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10482
+ agentId: z.ZodString;
10483
+ seq: z.ZodNumber;
10484
+ tasks: z.ZodArray<z.ZodObject<{
10485
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10486
+ id: z.ZodNumber;
10487
+ subject: z.ZodString;
10488
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10489
+ activeForm: z.ZodOptional<z.ZodString>;
10490
+ description: z.ZodOptional<z.ZodString>;
10491
+ owner: z.ZodOptional<z.ZodString>;
10492
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10493
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10494
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10495
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10496
+ id: z.ZodNumber;
10497
+ subject: z.ZodString;
10498
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10499
+ activeForm: z.ZodOptional<z.ZodString>;
10500
+ description: z.ZodOptional<z.ZodString>;
10501
+ owner: z.ZodOptional<z.ZodString>;
10502
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10503
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10504
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10505
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10506
+ id: z.ZodNumber;
10507
+ subject: z.ZodString;
10508
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10509
+ activeForm: z.ZodOptional<z.ZodString>;
10510
+ description: z.ZodOptional<z.ZodString>;
10511
+ owner: z.ZodOptional<z.ZodString>;
10512
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10513
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10514
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10515
+ /** True when the task cap dropped tasks. */
10516
+ truncated: z.ZodOptional<z.ZodBoolean>;
10517
+ }, z.ZodTypeAny, "passthrough">>;
10518
+ export type AgentTodosSnapshot = z.infer<typeof agentTodosSnapshotSchema>;
10519
+ /** Works for live agents and process-less records. */
10520
+ export declare const agentTodosListRequestSchema: z.ZodObject<{
10521
+ type: z.ZodLiteral<"agent_todos_list_request">;
10522
+ requestId: z.ZodString;
10523
+ agentId: z.ZodString;
10524
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10525
+ type: z.ZodLiteral<"agent_todos_list_request">;
10526
+ requestId: z.ZodString;
10527
+ agentId: z.ZodString;
10528
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10529
+ type: z.ZodLiteral<"agent_todos_list_request">;
10530
+ requestId: z.ZodString;
10531
+ agentId: z.ZodString;
10532
+ }, z.ZodTypeAny, "passthrough">>;
10533
+ export type AgentTodosListRequest = z.infer<typeof agentTodosListRequestSchema>;
10534
+ /**
10535
+ * Success carries `snapshot` (and no `ok`); a refusal carries `ok: false` and an open-string
10536
+ * `error` (`not_found` documented, not enumerated). A failure to read the session never reaches
10537
+ * here as an error: the daemon answers an empty snapshot instead.
10538
+ */
10539
+ export declare const agentTodosListResponseSchema: z.ZodObject<{
10540
+ type: z.ZodLiteral<"agent_todos_list_response">;
10541
+ requestId: z.ZodString;
10542
+ snapshot: z.ZodOptional<z.ZodObject<{
10543
+ agentId: z.ZodString;
10544
+ seq: z.ZodNumber;
10545
+ tasks: z.ZodArray<z.ZodObject<{
10546
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10547
+ id: z.ZodNumber;
10548
+ subject: z.ZodString;
10549
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10550
+ activeForm: z.ZodOptional<z.ZodString>;
10551
+ description: z.ZodOptional<z.ZodString>;
10552
+ owner: z.ZodOptional<z.ZodString>;
10553
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10554
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10555
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10556
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10557
+ id: z.ZodNumber;
10558
+ subject: z.ZodString;
10559
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10560
+ activeForm: z.ZodOptional<z.ZodString>;
10561
+ description: z.ZodOptional<z.ZodString>;
10562
+ owner: z.ZodOptional<z.ZodString>;
10563
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10564
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10565
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10566
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10567
+ id: z.ZodNumber;
10568
+ subject: z.ZodString;
10569
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10570
+ activeForm: z.ZodOptional<z.ZodString>;
10571
+ description: z.ZodOptional<z.ZodString>;
10572
+ owner: z.ZodOptional<z.ZodString>;
10573
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10574
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10575
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10576
+ /** True when the task cap dropped tasks. */
10577
+ truncated: z.ZodOptional<z.ZodBoolean>;
10578
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10579
+ agentId: z.ZodString;
10580
+ seq: z.ZodNumber;
10581
+ tasks: z.ZodArray<z.ZodObject<{
10582
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10583
+ id: z.ZodNumber;
10584
+ subject: z.ZodString;
10585
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10586
+ activeForm: z.ZodOptional<z.ZodString>;
10587
+ description: z.ZodOptional<z.ZodString>;
10588
+ owner: z.ZodOptional<z.ZodString>;
10589
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10590
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10591
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10592
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10593
+ id: z.ZodNumber;
10594
+ subject: z.ZodString;
10595
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10596
+ activeForm: z.ZodOptional<z.ZodString>;
10597
+ description: z.ZodOptional<z.ZodString>;
10598
+ owner: z.ZodOptional<z.ZodString>;
10599
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10600
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10601
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10602
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10603
+ id: z.ZodNumber;
10604
+ subject: z.ZodString;
10605
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10606
+ activeForm: z.ZodOptional<z.ZodString>;
10607
+ description: z.ZodOptional<z.ZodString>;
10608
+ owner: z.ZodOptional<z.ZodString>;
10609
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10610
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10611
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10612
+ /** True when the task cap dropped tasks. */
10613
+ truncated: z.ZodOptional<z.ZodBoolean>;
10614
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10615
+ agentId: z.ZodString;
10616
+ seq: z.ZodNumber;
10617
+ tasks: z.ZodArray<z.ZodObject<{
10618
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10619
+ id: z.ZodNumber;
10620
+ subject: z.ZodString;
10621
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10622
+ activeForm: z.ZodOptional<z.ZodString>;
10623
+ description: z.ZodOptional<z.ZodString>;
10624
+ owner: z.ZodOptional<z.ZodString>;
10625
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10626
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10627
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10628
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10629
+ id: z.ZodNumber;
10630
+ subject: z.ZodString;
10631
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10632
+ activeForm: z.ZodOptional<z.ZodString>;
10633
+ description: z.ZodOptional<z.ZodString>;
10634
+ owner: z.ZodOptional<z.ZodString>;
10635
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10636
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10637
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10638
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10639
+ id: z.ZodNumber;
10640
+ subject: z.ZodString;
10641
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10642
+ activeForm: z.ZodOptional<z.ZodString>;
10643
+ description: z.ZodOptional<z.ZodString>;
10644
+ owner: z.ZodOptional<z.ZodString>;
10645
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10646
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10647
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10648
+ /** True when the task cap dropped tasks. */
10649
+ truncated: z.ZodOptional<z.ZodBoolean>;
10650
+ }, z.ZodTypeAny, "passthrough">>>;
10651
+ ok: z.ZodOptional<z.ZodBoolean>;
10652
+ error: z.ZodOptional<z.ZodString>;
10653
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10654
+ type: z.ZodLiteral<"agent_todos_list_response">;
10655
+ requestId: z.ZodString;
10656
+ snapshot: z.ZodOptional<z.ZodObject<{
10657
+ agentId: z.ZodString;
10658
+ seq: z.ZodNumber;
10659
+ tasks: z.ZodArray<z.ZodObject<{
10660
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10661
+ id: z.ZodNumber;
10662
+ subject: z.ZodString;
10663
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10664
+ activeForm: z.ZodOptional<z.ZodString>;
10665
+ description: z.ZodOptional<z.ZodString>;
10666
+ owner: z.ZodOptional<z.ZodString>;
10667
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10668
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10669
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10670
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10671
+ id: z.ZodNumber;
10672
+ subject: z.ZodString;
10673
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10674
+ activeForm: z.ZodOptional<z.ZodString>;
10675
+ description: z.ZodOptional<z.ZodString>;
10676
+ owner: z.ZodOptional<z.ZodString>;
10677
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10678
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10679
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10680
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10681
+ id: z.ZodNumber;
10682
+ subject: z.ZodString;
10683
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10684
+ activeForm: z.ZodOptional<z.ZodString>;
10685
+ description: z.ZodOptional<z.ZodString>;
10686
+ owner: z.ZodOptional<z.ZodString>;
10687
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10688
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10689
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10690
+ /** True when the task cap dropped tasks. */
10691
+ truncated: z.ZodOptional<z.ZodBoolean>;
10692
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10693
+ agentId: z.ZodString;
10694
+ seq: z.ZodNumber;
10695
+ tasks: z.ZodArray<z.ZodObject<{
10696
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10697
+ id: z.ZodNumber;
10698
+ subject: z.ZodString;
10699
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10700
+ activeForm: z.ZodOptional<z.ZodString>;
10701
+ description: z.ZodOptional<z.ZodString>;
10702
+ owner: z.ZodOptional<z.ZodString>;
10703
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10704
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10705
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10706
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10707
+ id: z.ZodNumber;
10708
+ subject: z.ZodString;
10709
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10710
+ activeForm: z.ZodOptional<z.ZodString>;
10711
+ description: z.ZodOptional<z.ZodString>;
10712
+ owner: z.ZodOptional<z.ZodString>;
10713
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10714
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10715
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10716
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10717
+ id: z.ZodNumber;
10718
+ subject: z.ZodString;
10719
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10720
+ activeForm: z.ZodOptional<z.ZodString>;
10721
+ description: z.ZodOptional<z.ZodString>;
10722
+ owner: z.ZodOptional<z.ZodString>;
10723
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10724
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10725
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10726
+ /** True when the task cap dropped tasks. */
10727
+ truncated: z.ZodOptional<z.ZodBoolean>;
10728
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10729
+ agentId: z.ZodString;
10730
+ seq: z.ZodNumber;
10731
+ tasks: z.ZodArray<z.ZodObject<{
10732
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10733
+ id: z.ZodNumber;
10734
+ subject: z.ZodString;
10735
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10736
+ activeForm: z.ZodOptional<z.ZodString>;
10737
+ description: z.ZodOptional<z.ZodString>;
10738
+ owner: z.ZodOptional<z.ZodString>;
10739
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10740
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10741
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10742
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10743
+ id: z.ZodNumber;
10744
+ subject: z.ZodString;
10745
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10746
+ activeForm: z.ZodOptional<z.ZodString>;
10747
+ description: z.ZodOptional<z.ZodString>;
10748
+ owner: z.ZodOptional<z.ZodString>;
10749
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10750
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10751
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10752
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10753
+ id: z.ZodNumber;
10754
+ subject: z.ZodString;
10755
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10756
+ activeForm: z.ZodOptional<z.ZodString>;
10757
+ description: z.ZodOptional<z.ZodString>;
10758
+ owner: z.ZodOptional<z.ZodString>;
10759
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10760
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10761
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10762
+ /** True when the task cap dropped tasks. */
10763
+ truncated: z.ZodOptional<z.ZodBoolean>;
10764
+ }, z.ZodTypeAny, "passthrough">>>;
10765
+ ok: z.ZodOptional<z.ZodBoolean>;
10766
+ error: z.ZodOptional<z.ZodString>;
10767
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10768
+ type: z.ZodLiteral<"agent_todos_list_response">;
10769
+ requestId: z.ZodString;
10770
+ snapshot: z.ZodOptional<z.ZodObject<{
10771
+ agentId: z.ZodString;
10772
+ seq: z.ZodNumber;
10773
+ tasks: z.ZodArray<z.ZodObject<{
10774
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10775
+ id: z.ZodNumber;
10776
+ subject: z.ZodString;
10777
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10778
+ activeForm: z.ZodOptional<z.ZodString>;
10779
+ description: z.ZodOptional<z.ZodString>;
10780
+ owner: z.ZodOptional<z.ZodString>;
10781
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10782
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10783
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10784
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10785
+ id: z.ZodNumber;
10786
+ subject: z.ZodString;
10787
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10788
+ activeForm: z.ZodOptional<z.ZodString>;
10789
+ description: z.ZodOptional<z.ZodString>;
10790
+ owner: z.ZodOptional<z.ZodString>;
10791
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10792
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10793
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10794
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10795
+ id: z.ZodNumber;
10796
+ subject: z.ZodString;
10797
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10798
+ activeForm: z.ZodOptional<z.ZodString>;
10799
+ description: z.ZodOptional<z.ZodString>;
10800
+ owner: z.ZodOptional<z.ZodString>;
10801
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10802
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10803
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10804
+ /** True when the task cap dropped tasks. */
10805
+ truncated: z.ZodOptional<z.ZodBoolean>;
10806
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10807
+ agentId: z.ZodString;
10808
+ seq: z.ZodNumber;
10809
+ tasks: z.ZodArray<z.ZodObject<{
10810
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10811
+ id: z.ZodNumber;
10812
+ subject: z.ZodString;
10813
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10814
+ activeForm: z.ZodOptional<z.ZodString>;
10815
+ description: z.ZodOptional<z.ZodString>;
10816
+ owner: z.ZodOptional<z.ZodString>;
10817
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10818
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10819
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10820
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10821
+ id: z.ZodNumber;
10822
+ subject: z.ZodString;
10823
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10824
+ activeForm: z.ZodOptional<z.ZodString>;
10825
+ description: z.ZodOptional<z.ZodString>;
10826
+ owner: z.ZodOptional<z.ZodString>;
10827
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10828
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10829
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10830
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10831
+ id: z.ZodNumber;
10832
+ subject: z.ZodString;
10833
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10834
+ activeForm: z.ZodOptional<z.ZodString>;
10835
+ description: z.ZodOptional<z.ZodString>;
10836
+ owner: z.ZodOptional<z.ZodString>;
10837
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10838
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10839
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10840
+ /** True when the task cap dropped tasks. */
10841
+ truncated: z.ZodOptional<z.ZodBoolean>;
10842
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10843
+ agentId: z.ZodString;
10844
+ seq: z.ZodNumber;
10845
+ tasks: z.ZodArray<z.ZodObject<{
10846
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10847
+ id: z.ZodNumber;
10848
+ subject: z.ZodString;
10849
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10850
+ activeForm: z.ZodOptional<z.ZodString>;
10851
+ description: z.ZodOptional<z.ZodString>;
10852
+ owner: z.ZodOptional<z.ZodString>;
10853
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10854
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10855
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10856
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10857
+ id: z.ZodNumber;
10858
+ subject: z.ZodString;
10859
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10860
+ activeForm: z.ZodOptional<z.ZodString>;
10861
+ description: z.ZodOptional<z.ZodString>;
10862
+ owner: z.ZodOptional<z.ZodString>;
10863
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10864
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10865
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10866
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10867
+ id: z.ZodNumber;
10868
+ subject: z.ZodString;
10869
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10870
+ activeForm: z.ZodOptional<z.ZodString>;
10871
+ description: z.ZodOptional<z.ZodString>;
10872
+ owner: z.ZodOptional<z.ZodString>;
10873
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10874
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10875
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10876
+ /** True when the task cap dropped tasks. */
10877
+ truncated: z.ZodOptional<z.ZodBoolean>;
10878
+ }, z.ZodTypeAny, "passthrough">>>;
10879
+ ok: z.ZodOptional<z.ZodBoolean>;
10880
+ error: z.ZodOptional<z.ZodString>;
10881
+ }, z.ZodTypeAny, "passthrough">>;
10882
+ export type AgentTodosListResponse = z.infer<typeof agentTodosListResponseSchema>;
10883
+ /** Broadcast to every active session, no subscribe RPC (same shape as `skills_changed`). */
10884
+ export declare const agentTodosUpdateSchema: z.ZodObject<{
10885
+ type: z.ZodLiteral<"agent_todos_update">;
10886
+ snapshot: z.ZodObject<{
10887
+ agentId: z.ZodString;
10888
+ seq: z.ZodNumber;
10889
+ tasks: z.ZodArray<z.ZodObject<{
10890
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10891
+ id: z.ZodNumber;
10892
+ subject: z.ZodString;
10893
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10894
+ activeForm: z.ZodOptional<z.ZodString>;
10895
+ description: z.ZodOptional<z.ZodString>;
10896
+ owner: z.ZodOptional<z.ZodString>;
10897
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10898
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10899
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10900
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10901
+ id: z.ZodNumber;
10902
+ subject: z.ZodString;
10903
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10904
+ activeForm: z.ZodOptional<z.ZodString>;
10905
+ description: z.ZodOptional<z.ZodString>;
10906
+ owner: z.ZodOptional<z.ZodString>;
10907
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10908
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10909
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10910
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10911
+ id: z.ZodNumber;
10912
+ subject: z.ZodString;
10913
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10914
+ activeForm: z.ZodOptional<z.ZodString>;
10915
+ description: z.ZodOptional<z.ZodString>;
10916
+ owner: z.ZodOptional<z.ZodString>;
10917
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10918
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10919
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10920
+ /** True when the task cap dropped tasks. */
10921
+ truncated: z.ZodOptional<z.ZodBoolean>;
10922
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10923
+ agentId: z.ZodString;
10924
+ seq: z.ZodNumber;
10925
+ tasks: z.ZodArray<z.ZodObject<{
10926
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10927
+ id: z.ZodNumber;
10928
+ subject: z.ZodString;
10929
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10930
+ activeForm: z.ZodOptional<z.ZodString>;
10931
+ description: z.ZodOptional<z.ZodString>;
10932
+ owner: z.ZodOptional<z.ZodString>;
10933
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10934
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10935
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10936
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10937
+ id: z.ZodNumber;
10938
+ subject: z.ZodString;
10939
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10940
+ activeForm: z.ZodOptional<z.ZodString>;
10941
+ description: z.ZodOptional<z.ZodString>;
10942
+ owner: z.ZodOptional<z.ZodString>;
10943
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10944
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10945
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10946
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10947
+ id: z.ZodNumber;
10948
+ subject: z.ZodString;
10949
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10950
+ activeForm: z.ZodOptional<z.ZodString>;
10951
+ description: z.ZodOptional<z.ZodString>;
10952
+ owner: z.ZodOptional<z.ZodString>;
10953
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10954
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10955
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10956
+ /** True when the task cap dropped tasks. */
10957
+ truncated: z.ZodOptional<z.ZodBoolean>;
10958
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10959
+ agentId: z.ZodString;
10960
+ seq: z.ZodNumber;
10961
+ tasks: z.ZodArray<z.ZodObject<{
10962
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10963
+ id: z.ZodNumber;
10964
+ subject: z.ZodString;
10965
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10966
+ activeForm: z.ZodOptional<z.ZodString>;
10967
+ description: z.ZodOptional<z.ZodString>;
10968
+ owner: z.ZodOptional<z.ZodString>;
10969
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10970
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10971
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10972
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10973
+ id: z.ZodNumber;
10974
+ subject: z.ZodString;
10975
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10976
+ activeForm: z.ZodOptional<z.ZodString>;
10977
+ description: z.ZodOptional<z.ZodString>;
10978
+ owner: z.ZodOptional<z.ZodString>;
10979
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10980
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10981
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10982
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10983
+ id: z.ZodNumber;
10984
+ subject: z.ZodString;
10985
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10986
+ activeForm: z.ZodOptional<z.ZodString>;
10987
+ description: z.ZodOptional<z.ZodString>;
10988
+ owner: z.ZodOptional<z.ZodString>;
10989
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10990
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10991
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10992
+ /** True when the task cap dropped tasks. */
10993
+ truncated: z.ZodOptional<z.ZodBoolean>;
10994
+ }, z.ZodTypeAny, "passthrough">>;
10995
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10996
+ type: z.ZodLiteral<"agent_todos_update">;
10997
+ snapshot: z.ZodObject<{
10998
+ agentId: z.ZodString;
10999
+ seq: z.ZodNumber;
11000
+ tasks: z.ZodArray<z.ZodObject<{
11001
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11002
+ id: z.ZodNumber;
11003
+ subject: z.ZodString;
11004
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11005
+ activeForm: z.ZodOptional<z.ZodString>;
11006
+ description: z.ZodOptional<z.ZodString>;
11007
+ owner: z.ZodOptional<z.ZodString>;
11008
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11009
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11010
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11011
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11012
+ id: z.ZodNumber;
11013
+ subject: z.ZodString;
11014
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11015
+ activeForm: z.ZodOptional<z.ZodString>;
11016
+ description: z.ZodOptional<z.ZodString>;
11017
+ owner: z.ZodOptional<z.ZodString>;
11018
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11019
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11020
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11021
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11022
+ id: z.ZodNumber;
11023
+ subject: z.ZodString;
11024
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11025
+ activeForm: z.ZodOptional<z.ZodString>;
11026
+ description: z.ZodOptional<z.ZodString>;
11027
+ owner: z.ZodOptional<z.ZodString>;
11028
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11029
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11030
+ }, z.ZodTypeAny, "passthrough">>, "many">;
11031
+ /** True when the task cap dropped tasks. */
11032
+ truncated: z.ZodOptional<z.ZodBoolean>;
11033
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11034
+ agentId: z.ZodString;
11035
+ seq: z.ZodNumber;
11036
+ tasks: z.ZodArray<z.ZodObject<{
11037
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11038
+ id: z.ZodNumber;
11039
+ subject: z.ZodString;
11040
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11041
+ activeForm: z.ZodOptional<z.ZodString>;
11042
+ description: z.ZodOptional<z.ZodString>;
11043
+ owner: z.ZodOptional<z.ZodString>;
11044
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11045
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11046
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11047
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11048
+ id: z.ZodNumber;
11049
+ subject: z.ZodString;
11050
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11051
+ activeForm: z.ZodOptional<z.ZodString>;
11052
+ description: z.ZodOptional<z.ZodString>;
11053
+ owner: z.ZodOptional<z.ZodString>;
11054
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11055
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11056
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11057
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11058
+ id: z.ZodNumber;
11059
+ subject: z.ZodString;
11060
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11061
+ activeForm: z.ZodOptional<z.ZodString>;
11062
+ description: z.ZodOptional<z.ZodString>;
11063
+ owner: z.ZodOptional<z.ZodString>;
11064
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11065
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11066
+ }, z.ZodTypeAny, "passthrough">>, "many">;
11067
+ /** True when the task cap dropped tasks. */
11068
+ truncated: z.ZodOptional<z.ZodBoolean>;
11069
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11070
+ agentId: z.ZodString;
11071
+ seq: z.ZodNumber;
11072
+ tasks: z.ZodArray<z.ZodObject<{
11073
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11074
+ id: z.ZodNumber;
11075
+ subject: z.ZodString;
11076
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11077
+ activeForm: z.ZodOptional<z.ZodString>;
11078
+ description: z.ZodOptional<z.ZodString>;
11079
+ owner: z.ZodOptional<z.ZodString>;
11080
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11081
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11082
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11083
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11084
+ id: z.ZodNumber;
11085
+ subject: z.ZodString;
11086
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11087
+ activeForm: z.ZodOptional<z.ZodString>;
11088
+ description: z.ZodOptional<z.ZodString>;
11089
+ owner: z.ZodOptional<z.ZodString>;
11090
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11091
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11092
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11093
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11094
+ id: z.ZodNumber;
11095
+ subject: z.ZodString;
11096
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11097
+ activeForm: z.ZodOptional<z.ZodString>;
11098
+ description: z.ZodOptional<z.ZodString>;
11099
+ owner: z.ZodOptional<z.ZodString>;
11100
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11101
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11102
+ }, z.ZodTypeAny, "passthrough">>, "many">;
11103
+ /** True when the task cap dropped tasks. */
11104
+ truncated: z.ZodOptional<z.ZodBoolean>;
11105
+ }, z.ZodTypeAny, "passthrough">>;
11106
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11107
+ type: z.ZodLiteral<"agent_todos_update">;
11108
+ snapshot: z.ZodObject<{
11109
+ agentId: z.ZodString;
11110
+ seq: z.ZodNumber;
11111
+ tasks: z.ZodArray<z.ZodObject<{
11112
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11113
+ id: z.ZodNumber;
11114
+ subject: z.ZodString;
11115
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11116
+ activeForm: z.ZodOptional<z.ZodString>;
11117
+ description: z.ZodOptional<z.ZodString>;
11118
+ owner: z.ZodOptional<z.ZodString>;
11119
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11120
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11121
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11122
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11123
+ id: z.ZodNumber;
11124
+ subject: z.ZodString;
11125
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11126
+ activeForm: z.ZodOptional<z.ZodString>;
11127
+ description: z.ZodOptional<z.ZodString>;
11128
+ owner: z.ZodOptional<z.ZodString>;
11129
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11130
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11131
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11132
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11133
+ id: z.ZodNumber;
11134
+ subject: z.ZodString;
11135
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11136
+ activeForm: z.ZodOptional<z.ZodString>;
11137
+ description: z.ZodOptional<z.ZodString>;
11138
+ owner: z.ZodOptional<z.ZodString>;
11139
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11140
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11141
+ }, z.ZodTypeAny, "passthrough">>, "many">;
11142
+ /** True when the task cap dropped tasks. */
11143
+ truncated: z.ZodOptional<z.ZodBoolean>;
11144
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11145
+ agentId: z.ZodString;
11146
+ seq: z.ZodNumber;
11147
+ tasks: z.ZodArray<z.ZodObject<{
11148
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11149
+ id: z.ZodNumber;
11150
+ subject: z.ZodString;
11151
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11152
+ activeForm: z.ZodOptional<z.ZodString>;
11153
+ description: z.ZodOptional<z.ZodString>;
11154
+ owner: z.ZodOptional<z.ZodString>;
11155
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11156
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11157
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11158
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11159
+ id: z.ZodNumber;
11160
+ subject: z.ZodString;
11161
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11162
+ activeForm: z.ZodOptional<z.ZodString>;
11163
+ description: z.ZodOptional<z.ZodString>;
11164
+ owner: z.ZodOptional<z.ZodString>;
11165
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11166
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11167
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11168
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11169
+ id: z.ZodNumber;
11170
+ subject: z.ZodString;
11171
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11172
+ activeForm: z.ZodOptional<z.ZodString>;
11173
+ description: z.ZodOptional<z.ZodString>;
11174
+ owner: z.ZodOptional<z.ZodString>;
11175
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11176
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11177
+ }, z.ZodTypeAny, "passthrough">>, "many">;
11178
+ /** True when the task cap dropped tasks. */
11179
+ truncated: z.ZodOptional<z.ZodBoolean>;
11180
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11181
+ agentId: z.ZodString;
11182
+ seq: z.ZodNumber;
11183
+ tasks: z.ZodArray<z.ZodObject<{
11184
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11185
+ id: z.ZodNumber;
11186
+ subject: z.ZodString;
11187
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11188
+ activeForm: z.ZodOptional<z.ZodString>;
11189
+ description: z.ZodOptional<z.ZodString>;
11190
+ owner: z.ZodOptional<z.ZodString>;
11191
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11192
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11193
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11194
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11195
+ id: z.ZodNumber;
11196
+ subject: z.ZodString;
11197
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11198
+ activeForm: z.ZodOptional<z.ZodString>;
11199
+ description: z.ZodOptional<z.ZodString>;
11200
+ owner: z.ZodOptional<z.ZodString>;
11201
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11202
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11203
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11204
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11205
+ id: z.ZodNumber;
11206
+ subject: z.ZodString;
11207
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11208
+ activeForm: z.ZodOptional<z.ZodString>;
11209
+ description: z.ZodOptional<z.ZodString>;
11210
+ owner: z.ZodOptional<z.ZodString>;
11211
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11212
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11213
+ }, z.ZodTypeAny, "passthrough">>, "many">;
11214
+ /** True when the task cap dropped tasks. */
11215
+ truncated: z.ZodOptional<z.ZodBoolean>;
11216
+ }, z.ZodTypeAny, "passthrough">>;
11217
+ }, z.ZodTypeAny, "passthrough">>;
11218
+ export type AgentTodosUpdate = z.infer<typeof agentTodosUpdateSchema>;
10335
11219
  export declare const rpcErrorSchema: z.ZodObject<{
10336
11220
  type: z.ZodLiteral<"rpc_error">;
10337
11221
  requestId: z.ZodString;
@@ -10791,6 +11675,14 @@ export declare const sessionMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
10791
11675
  output?: string | undefined;
10792
11676
  }>]>;
10793
11677
  status: z.ZodOptional<z.ZodString>;
11678
+ /**
11679
+ * Ephemeral in-flight output snapshot (Pi `tool_execution_update`). Producer contract: broadcast
11680
+ * with no `seq`, never appended to the timeline, never replayed from history, and never sent
11681
+ * after the call's terminal event. Consumer contract: upsert by `callId` and let the snapshot
11682
+ * supersede earlier output — never accumulate. Describes the delivery, not the tool call, so a
11683
+ * client must not store it on its row model.
11684
+ */
11685
+ partial: z.ZodOptional<z.ZodBoolean>;
10794
11686
  }, "strip", z.ZodTypeAny, {
10795
11687
  kind: "tool_call";
10796
11688
  callId?: string | undefined;
@@ -10825,6 +11717,7 @@ export declare const sessionMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
10825
11717
  output?: string | undefined;
10826
11718
  };
10827
11719
  status?: string | undefined;
11720
+ partial?: boolean | undefined;
10828
11721
  }, {
10829
11722
  kind: "tool_call";
10830
11723
  callId?: string | undefined;
@@ -10859,6 +11752,7 @@ export declare const sessionMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
10859
11752
  output?: string | undefined;
10860
11753
  };
10861
11754
  status?: string | undefined;
11755
+ partial?: boolean | undefined;
10862
11756
  }>, z.ZodObject<{
10863
11757
  kind: z.ZodLiteral<"turn_started">;
10864
11758
  turnId: z.ZodOptional<z.ZodString>;
@@ -11006,6 +11900,7 @@ export declare const sessionMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
11006
11900
  output?: string | undefined;
11007
11901
  };
11008
11902
  status?: string | undefined;
11903
+ partial?: boolean | undefined;
11009
11904
  } | {
11010
11905
  kind: "turn_started";
11011
11906
  turnId?: string | undefined;
@@ -11093,6 +11988,7 @@ export declare const sessionMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
11093
11988
  output?: string | undefined;
11094
11989
  };
11095
11990
  status?: string | undefined;
11991
+ partial?: boolean | undefined;
11096
11992
  } | {
11097
11993
  kind: "turn_started";
11098
11994
  turnId?: string | undefined;
@@ -18861,6 +19757,693 @@ export declare const sessionMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
18861
19757
  }, z.ZodTypeAny, "passthrough">>, "many">;
18862
19758
  error: z.ZodOptional<z.ZodString>;
18863
19759
  }, z.ZodTypeAny, "passthrough">>;
19760
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
19761
+ type: z.ZodLiteral<"agent_todos_list_request">;
19762
+ requestId: z.ZodString;
19763
+ agentId: z.ZodString;
19764
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19765
+ type: z.ZodLiteral<"agent_todos_list_request">;
19766
+ requestId: z.ZodString;
19767
+ agentId: z.ZodString;
19768
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19769
+ type: z.ZodLiteral<"agent_todos_list_request">;
19770
+ requestId: z.ZodString;
19771
+ agentId: z.ZodString;
19772
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
19773
+ type: z.ZodLiteral<"agent_todos_list_response">;
19774
+ requestId: z.ZodString;
19775
+ snapshot: z.ZodOptional<z.ZodObject<{
19776
+ agentId: z.ZodString;
19777
+ seq: z.ZodNumber;
19778
+ tasks: z.ZodArray<z.ZodObject<{
19779
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19780
+ id: z.ZodNumber;
19781
+ subject: z.ZodString;
19782
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19783
+ activeForm: z.ZodOptional<z.ZodString>;
19784
+ description: z.ZodOptional<z.ZodString>;
19785
+ owner: z.ZodOptional<z.ZodString>;
19786
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19787
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19788
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19789
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19790
+ id: z.ZodNumber;
19791
+ subject: z.ZodString;
19792
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19793
+ activeForm: z.ZodOptional<z.ZodString>;
19794
+ description: z.ZodOptional<z.ZodString>;
19795
+ owner: z.ZodOptional<z.ZodString>;
19796
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19797
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19798
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19799
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19800
+ id: z.ZodNumber;
19801
+ subject: z.ZodString;
19802
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19803
+ activeForm: z.ZodOptional<z.ZodString>;
19804
+ description: z.ZodOptional<z.ZodString>;
19805
+ owner: z.ZodOptional<z.ZodString>;
19806
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19807
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19808
+ }, z.ZodTypeAny, "passthrough">>, "many">;
19809
+ /** True when the task cap dropped tasks. */
19810
+ truncated: z.ZodOptional<z.ZodBoolean>;
19811
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19812
+ agentId: z.ZodString;
19813
+ seq: z.ZodNumber;
19814
+ tasks: z.ZodArray<z.ZodObject<{
19815
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19816
+ id: z.ZodNumber;
19817
+ subject: z.ZodString;
19818
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19819
+ activeForm: z.ZodOptional<z.ZodString>;
19820
+ description: z.ZodOptional<z.ZodString>;
19821
+ owner: z.ZodOptional<z.ZodString>;
19822
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19823
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19824
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19825
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19826
+ id: z.ZodNumber;
19827
+ subject: z.ZodString;
19828
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19829
+ activeForm: z.ZodOptional<z.ZodString>;
19830
+ description: z.ZodOptional<z.ZodString>;
19831
+ owner: z.ZodOptional<z.ZodString>;
19832
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19833
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19834
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19835
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19836
+ id: z.ZodNumber;
19837
+ subject: z.ZodString;
19838
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19839
+ activeForm: z.ZodOptional<z.ZodString>;
19840
+ description: z.ZodOptional<z.ZodString>;
19841
+ owner: z.ZodOptional<z.ZodString>;
19842
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19843
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19844
+ }, z.ZodTypeAny, "passthrough">>, "many">;
19845
+ /** True when the task cap dropped tasks. */
19846
+ truncated: z.ZodOptional<z.ZodBoolean>;
19847
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19848
+ agentId: z.ZodString;
19849
+ seq: z.ZodNumber;
19850
+ tasks: z.ZodArray<z.ZodObject<{
19851
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19852
+ id: z.ZodNumber;
19853
+ subject: z.ZodString;
19854
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19855
+ activeForm: z.ZodOptional<z.ZodString>;
19856
+ description: z.ZodOptional<z.ZodString>;
19857
+ owner: z.ZodOptional<z.ZodString>;
19858
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19859
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19860
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19861
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19862
+ id: z.ZodNumber;
19863
+ subject: z.ZodString;
19864
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19865
+ activeForm: z.ZodOptional<z.ZodString>;
19866
+ description: z.ZodOptional<z.ZodString>;
19867
+ owner: z.ZodOptional<z.ZodString>;
19868
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19869
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19870
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19871
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19872
+ id: z.ZodNumber;
19873
+ subject: z.ZodString;
19874
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19875
+ activeForm: z.ZodOptional<z.ZodString>;
19876
+ description: z.ZodOptional<z.ZodString>;
19877
+ owner: z.ZodOptional<z.ZodString>;
19878
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19879
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19880
+ }, z.ZodTypeAny, "passthrough">>, "many">;
19881
+ /** True when the task cap dropped tasks. */
19882
+ truncated: z.ZodOptional<z.ZodBoolean>;
19883
+ }, z.ZodTypeAny, "passthrough">>>;
19884
+ ok: z.ZodOptional<z.ZodBoolean>;
19885
+ error: z.ZodOptional<z.ZodString>;
19886
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19887
+ type: z.ZodLiteral<"agent_todos_list_response">;
19888
+ requestId: z.ZodString;
19889
+ snapshot: z.ZodOptional<z.ZodObject<{
19890
+ agentId: z.ZodString;
19891
+ seq: z.ZodNumber;
19892
+ tasks: z.ZodArray<z.ZodObject<{
19893
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19894
+ id: z.ZodNumber;
19895
+ subject: z.ZodString;
19896
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19897
+ activeForm: z.ZodOptional<z.ZodString>;
19898
+ description: z.ZodOptional<z.ZodString>;
19899
+ owner: z.ZodOptional<z.ZodString>;
19900
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19901
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19902
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19903
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19904
+ id: z.ZodNumber;
19905
+ subject: z.ZodString;
19906
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19907
+ activeForm: z.ZodOptional<z.ZodString>;
19908
+ description: z.ZodOptional<z.ZodString>;
19909
+ owner: z.ZodOptional<z.ZodString>;
19910
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19911
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19912
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19913
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19914
+ id: z.ZodNumber;
19915
+ subject: z.ZodString;
19916
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19917
+ activeForm: z.ZodOptional<z.ZodString>;
19918
+ description: z.ZodOptional<z.ZodString>;
19919
+ owner: z.ZodOptional<z.ZodString>;
19920
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19921
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19922
+ }, z.ZodTypeAny, "passthrough">>, "many">;
19923
+ /** True when the task cap dropped tasks. */
19924
+ truncated: z.ZodOptional<z.ZodBoolean>;
19925
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19926
+ agentId: z.ZodString;
19927
+ seq: z.ZodNumber;
19928
+ tasks: z.ZodArray<z.ZodObject<{
19929
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19930
+ id: z.ZodNumber;
19931
+ subject: z.ZodString;
19932
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19933
+ activeForm: z.ZodOptional<z.ZodString>;
19934
+ description: z.ZodOptional<z.ZodString>;
19935
+ owner: z.ZodOptional<z.ZodString>;
19936
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19937
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19938
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19939
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19940
+ id: z.ZodNumber;
19941
+ subject: z.ZodString;
19942
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19943
+ activeForm: z.ZodOptional<z.ZodString>;
19944
+ description: z.ZodOptional<z.ZodString>;
19945
+ owner: z.ZodOptional<z.ZodString>;
19946
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19947
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19948
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19949
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19950
+ id: z.ZodNumber;
19951
+ subject: z.ZodString;
19952
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19953
+ activeForm: z.ZodOptional<z.ZodString>;
19954
+ description: z.ZodOptional<z.ZodString>;
19955
+ owner: z.ZodOptional<z.ZodString>;
19956
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19957
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19958
+ }, z.ZodTypeAny, "passthrough">>, "many">;
19959
+ /** True when the task cap dropped tasks. */
19960
+ truncated: z.ZodOptional<z.ZodBoolean>;
19961
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19962
+ agentId: z.ZodString;
19963
+ seq: z.ZodNumber;
19964
+ tasks: z.ZodArray<z.ZodObject<{
19965
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19966
+ id: z.ZodNumber;
19967
+ subject: z.ZodString;
19968
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19969
+ activeForm: z.ZodOptional<z.ZodString>;
19970
+ description: z.ZodOptional<z.ZodString>;
19971
+ owner: z.ZodOptional<z.ZodString>;
19972
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19973
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19974
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19975
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19976
+ id: z.ZodNumber;
19977
+ subject: z.ZodString;
19978
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19979
+ activeForm: z.ZodOptional<z.ZodString>;
19980
+ description: z.ZodOptional<z.ZodString>;
19981
+ owner: z.ZodOptional<z.ZodString>;
19982
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19983
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19984
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19985
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19986
+ id: z.ZodNumber;
19987
+ subject: z.ZodString;
19988
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19989
+ activeForm: z.ZodOptional<z.ZodString>;
19990
+ description: z.ZodOptional<z.ZodString>;
19991
+ owner: z.ZodOptional<z.ZodString>;
19992
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19993
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19994
+ }, z.ZodTypeAny, "passthrough">>, "many">;
19995
+ /** True when the task cap dropped tasks. */
19996
+ truncated: z.ZodOptional<z.ZodBoolean>;
19997
+ }, z.ZodTypeAny, "passthrough">>>;
19998
+ ok: z.ZodOptional<z.ZodBoolean>;
19999
+ error: z.ZodOptional<z.ZodString>;
20000
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20001
+ type: z.ZodLiteral<"agent_todos_list_response">;
20002
+ requestId: z.ZodString;
20003
+ snapshot: z.ZodOptional<z.ZodObject<{
20004
+ agentId: z.ZodString;
20005
+ seq: z.ZodNumber;
20006
+ tasks: z.ZodArray<z.ZodObject<{
20007
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20008
+ id: z.ZodNumber;
20009
+ subject: z.ZodString;
20010
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20011
+ activeForm: z.ZodOptional<z.ZodString>;
20012
+ description: z.ZodOptional<z.ZodString>;
20013
+ owner: z.ZodOptional<z.ZodString>;
20014
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20015
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20016
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20017
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20018
+ id: z.ZodNumber;
20019
+ subject: z.ZodString;
20020
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20021
+ activeForm: z.ZodOptional<z.ZodString>;
20022
+ description: z.ZodOptional<z.ZodString>;
20023
+ owner: z.ZodOptional<z.ZodString>;
20024
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20025
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20026
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20027
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20028
+ id: z.ZodNumber;
20029
+ subject: z.ZodString;
20030
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20031
+ activeForm: z.ZodOptional<z.ZodString>;
20032
+ description: z.ZodOptional<z.ZodString>;
20033
+ owner: z.ZodOptional<z.ZodString>;
20034
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20035
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20036
+ }, z.ZodTypeAny, "passthrough">>, "many">;
20037
+ /** True when the task cap dropped tasks. */
20038
+ truncated: z.ZodOptional<z.ZodBoolean>;
20039
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20040
+ agentId: z.ZodString;
20041
+ seq: z.ZodNumber;
20042
+ tasks: z.ZodArray<z.ZodObject<{
20043
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20044
+ id: z.ZodNumber;
20045
+ subject: z.ZodString;
20046
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20047
+ activeForm: z.ZodOptional<z.ZodString>;
20048
+ description: z.ZodOptional<z.ZodString>;
20049
+ owner: z.ZodOptional<z.ZodString>;
20050
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20051
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20052
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20053
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20054
+ id: z.ZodNumber;
20055
+ subject: z.ZodString;
20056
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20057
+ activeForm: z.ZodOptional<z.ZodString>;
20058
+ description: z.ZodOptional<z.ZodString>;
20059
+ owner: z.ZodOptional<z.ZodString>;
20060
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20061
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20062
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20063
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20064
+ id: z.ZodNumber;
20065
+ subject: z.ZodString;
20066
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20067
+ activeForm: z.ZodOptional<z.ZodString>;
20068
+ description: z.ZodOptional<z.ZodString>;
20069
+ owner: z.ZodOptional<z.ZodString>;
20070
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20071
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20072
+ }, z.ZodTypeAny, "passthrough">>, "many">;
20073
+ /** True when the task cap dropped tasks. */
20074
+ truncated: z.ZodOptional<z.ZodBoolean>;
20075
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20076
+ agentId: z.ZodString;
20077
+ seq: z.ZodNumber;
20078
+ tasks: z.ZodArray<z.ZodObject<{
20079
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20080
+ id: z.ZodNumber;
20081
+ subject: z.ZodString;
20082
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20083
+ activeForm: z.ZodOptional<z.ZodString>;
20084
+ description: z.ZodOptional<z.ZodString>;
20085
+ owner: z.ZodOptional<z.ZodString>;
20086
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20087
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20088
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20089
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20090
+ id: z.ZodNumber;
20091
+ subject: z.ZodString;
20092
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20093
+ activeForm: z.ZodOptional<z.ZodString>;
20094
+ description: z.ZodOptional<z.ZodString>;
20095
+ owner: z.ZodOptional<z.ZodString>;
20096
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20097
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20098
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20099
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20100
+ id: z.ZodNumber;
20101
+ subject: z.ZodString;
20102
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20103
+ activeForm: z.ZodOptional<z.ZodString>;
20104
+ description: z.ZodOptional<z.ZodString>;
20105
+ owner: z.ZodOptional<z.ZodString>;
20106
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20107
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20108
+ }, z.ZodTypeAny, "passthrough">>, "many">;
20109
+ /** True when the task cap dropped tasks. */
20110
+ truncated: z.ZodOptional<z.ZodBoolean>;
20111
+ }, z.ZodTypeAny, "passthrough">>>;
20112
+ ok: z.ZodOptional<z.ZodBoolean>;
20113
+ error: z.ZodOptional<z.ZodString>;
20114
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
20115
+ type: z.ZodLiteral<"agent_todos_update">;
20116
+ snapshot: z.ZodObject<{
20117
+ agentId: z.ZodString;
20118
+ seq: z.ZodNumber;
20119
+ tasks: z.ZodArray<z.ZodObject<{
20120
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20121
+ id: z.ZodNumber;
20122
+ subject: z.ZodString;
20123
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20124
+ activeForm: z.ZodOptional<z.ZodString>;
20125
+ description: z.ZodOptional<z.ZodString>;
20126
+ owner: z.ZodOptional<z.ZodString>;
20127
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20128
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20129
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20130
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20131
+ id: z.ZodNumber;
20132
+ subject: z.ZodString;
20133
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20134
+ activeForm: z.ZodOptional<z.ZodString>;
20135
+ description: z.ZodOptional<z.ZodString>;
20136
+ owner: z.ZodOptional<z.ZodString>;
20137
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20138
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20139
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20140
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20141
+ id: z.ZodNumber;
20142
+ subject: z.ZodString;
20143
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20144
+ activeForm: z.ZodOptional<z.ZodString>;
20145
+ description: z.ZodOptional<z.ZodString>;
20146
+ owner: z.ZodOptional<z.ZodString>;
20147
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20148
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20149
+ }, z.ZodTypeAny, "passthrough">>, "many">;
20150
+ /** True when the task cap dropped tasks. */
20151
+ truncated: z.ZodOptional<z.ZodBoolean>;
20152
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20153
+ agentId: z.ZodString;
20154
+ seq: z.ZodNumber;
20155
+ tasks: z.ZodArray<z.ZodObject<{
20156
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20157
+ id: z.ZodNumber;
20158
+ subject: z.ZodString;
20159
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20160
+ activeForm: z.ZodOptional<z.ZodString>;
20161
+ description: z.ZodOptional<z.ZodString>;
20162
+ owner: z.ZodOptional<z.ZodString>;
20163
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20164
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20165
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20166
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20167
+ id: z.ZodNumber;
20168
+ subject: z.ZodString;
20169
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20170
+ activeForm: z.ZodOptional<z.ZodString>;
20171
+ description: z.ZodOptional<z.ZodString>;
20172
+ owner: z.ZodOptional<z.ZodString>;
20173
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20174
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20175
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20176
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20177
+ id: z.ZodNumber;
20178
+ subject: z.ZodString;
20179
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20180
+ activeForm: z.ZodOptional<z.ZodString>;
20181
+ description: z.ZodOptional<z.ZodString>;
20182
+ owner: z.ZodOptional<z.ZodString>;
20183
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20184
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20185
+ }, z.ZodTypeAny, "passthrough">>, "many">;
20186
+ /** True when the task cap dropped tasks. */
20187
+ truncated: z.ZodOptional<z.ZodBoolean>;
20188
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20189
+ agentId: z.ZodString;
20190
+ seq: z.ZodNumber;
20191
+ tasks: z.ZodArray<z.ZodObject<{
20192
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20193
+ id: z.ZodNumber;
20194
+ subject: z.ZodString;
20195
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20196
+ activeForm: z.ZodOptional<z.ZodString>;
20197
+ description: z.ZodOptional<z.ZodString>;
20198
+ owner: z.ZodOptional<z.ZodString>;
20199
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20200
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20201
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20202
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20203
+ id: z.ZodNumber;
20204
+ subject: z.ZodString;
20205
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20206
+ activeForm: z.ZodOptional<z.ZodString>;
20207
+ description: z.ZodOptional<z.ZodString>;
20208
+ owner: z.ZodOptional<z.ZodString>;
20209
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20210
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20211
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20212
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20213
+ id: z.ZodNumber;
20214
+ subject: z.ZodString;
20215
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20216
+ activeForm: z.ZodOptional<z.ZodString>;
20217
+ description: z.ZodOptional<z.ZodString>;
20218
+ owner: z.ZodOptional<z.ZodString>;
20219
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20220
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20221
+ }, z.ZodTypeAny, "passthrough">>, "many">;
20222
+ /** True when the task cap dropped tasks. */
20223
+ truncated: z.ZodOptional<z.ZodBoolean>;
20224
+ }, z.ZodTypeAny, "passthrough">>;
20225
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20226
+ type: z.ZodLiteral<"agent_todos_update">;
20227
+ snapshot: z.ZodObject<{
20228
+ agentId: z.ZodString;
20229
+ seq: z.ZodNumber;
20230
+ tasks: z.ZodArray<z.ZodObject<{
20231
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20232
+ id: z.ZodNumber;
20233
+ subject: z.ZodString;
20234
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20235
+ activeForm: z.ZodOptional<z.ZodString>;
20236
+ description: z.ZodOptional<z.ZodString>;
20237
+ owner: z.ZodOptional<z.ZodString>;
20238
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20239
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20240
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20241
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20242
+ id: z.ZodNumber;
20243
+ subject: z.ZodString;
20244
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20245
+ activeForm: z.ZodOptional<z.ZodString>;
20246
+ description: z.ZodOptional<z.ZodString>;
20247
+ owner: z.ZodOptional<z.ZodString>;
20248
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20249
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20250
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20251
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20252
+ id: z.ZodNumber;
20253
+ subject: z.ZodString;
20254
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20255
+ activeForm: z.ZodOptional<z.ZodString>;
20256
+ description: z.ZodOptional<z.ZodString>;
20257
+ owner: z.ZodOptional<z.ZodString>;
20258
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20259
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20260
+ }, z.ZodTypeAny, "passthrough">>, "many">;
20261
+ /** True when the task cap dropped tasks. */
20262
+ truncated: z.ZodOptional<z.ZodBoolean>;
20263
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20264
+ agentId: z.ZodString;
20265
+ seq: z.ZodNumber;
20266
+ tasks: z.ZodArray<z.ZodObject<{
20267
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20268
+ id: z.ZodNumber;
20269
+ subject: z.ZodString;
20270
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20271
+ activeForm: z.ZodOptional<z.ZodString>;
20272
+ description: z.ZodOptional<z.ZodString>;
20273
+ owner: z.ZodOptional<z.ZodString>;
20274
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20275
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20276
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20277
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20278
+ id: z.ZodNumber;
20279
+ subject: z.ZodString;
20280
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20281
+ activeForm: z.ZodOptional<z.ZodString>;
20282
+ description: z.ZodOptional<z.ZodString>;
20283
+ owner: z.ZodOptional<z.ZodString>;
20284
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20285
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20286
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20287
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20288
+ id: z.ZodNumber;
20289
+ subject: z.ZodString;
20290
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20291
+ activeForm: z.ZodOptional<z.ZodString>;
20292
+ description: z.ZodOptional<z.ZodString>;
20293
+ owner: z.ZodOptional<z.ZodString>;
20294
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20295
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20296
+ }, z.ZodTypeAny, "passthrough">>, "many">;
20297
+ /** True when the task cap dropped tasks. */
20298
+ truncated: z.ZodOptional<z.ZodBoolean>;
20299
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20300
+ agentId: z.ZodString;
20301
+ seq: z.ZodNumber;
20302
+ tasks: z.ZodArray<z.ZodObject<{
20303
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20304
+ id: z.ZodNumber;
20305
+ subject: z.ZodString;
20306
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20307
+ activeForm: z.ZodOptional<z.ZodString>;
20308
+ description: z.ZodOptional<z.ZodString>;
20309
+ owner: z.ZodOptional<z.ZodString>;
20310
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20311
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20312
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20313
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20314
+ id: z.ZodNumber;
20315
+ subject: z.ZodString;
20316
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20317
+ activeForm: z.ZodOptional<z.ZodString>;
20318
+ description: z.ZodOptional<z.ZodString>;
20319
+ owner: z.ZodOptional<z.ZodString>;
20320
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20321
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20322
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20323
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20324
+ id: z.ZodNumber;
20325
+ subject: z.ZodString;
20326
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20327
+ activeForm: z.ZodOptional<z.ZodString>;
20328
+ description: z.ZodOptional<z.ZodString>;
20329
+ owner: z.ZodOptional<z.ZodString>;
20330
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20331
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20332
+ }, z.ZodTypeAny, "passthrough">>, "many">;
20333
+ /** True when the task cap dropped tasks. */
20334
+ truncated: z.ZodOptional<z.ZodBoolean>;
20335
+ }, z.ZodTypeAny, "passthrough">>;
20336
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20337
+ type: z.ZodLiteral<"agent_todos_update">;
20338
+ snapshot: z.ZodObject<{
20339
+ agentId: z.ZodString;
20340
+ seq: z.ZodNumber;
20341
+ tasks: z.ZodArray<z.ZodObject<{
20342
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20343
+ id: z.ZodNumber;
20344
+ subject: z.ZodString;
20345
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20346
+ activeForm: z.ZodOptional<z.ZodString>;
20347
+ description: z.ZodOptional<z.ZodString>;
20348
+ owner: z.ZodOptional<z.ZodString>;
20349
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20350
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20351
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20352
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20353
+ id: z.ZodNumber;
20354
+ subject: z.ZodString;
20355
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20356
+ activeForm: z.ZodOptional<z.ZodString>;
20357
+ description: z.ZodOptional<z.ZodString>;
20358
+ owner: z.ZodOptional<z.ZodString>;
20359
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20360
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20361
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20362
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20363
+ id: z.ZodNumber;
20364
+ subject: z.ZodString;
20365
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20366
+ activeForm: z.ZodOptional<z.ZodString>;
20367
+ description: z.ZodOptional<z.ZodString>;
20368
+ owner: z.ZodOptional<z.ZodString>;
20369
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20370
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20371
+ }, z.ZodTypeAny, "passthrough">>, "many">;
20372
+ /** True when the task cap dropped tasks. */
20373
+ truncated: z.ZodOptional<z.ZodBoolean>;
20374
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20375
+ agentId: z.ZodString;
20376
+ seq: z.ZodNumber;
20377
+ tasks: z.ZodArray<z.ZodObject<{
20378
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20379
+ id: z.ZodNumber;
20380
+ subject: z.ZodString;
20381
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20382
+ activeForm: z.ZodOptional<z.ZodString>;
20383
+ description: z.ZodOptional<z.ZodString>;
20384
+ owner: z.ZodOptional<z.ZodString>;
20385
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20386
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20387
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20388
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20389
+ id: z.ZodNumber;
20390
+ subject: z.ZodString;
20391
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20392
+ activeForm: z.ZodOptional<z.ZodString>;
20393
+ description: z.ZodOptional<z.ZodString>;
20394
+ owner: z.ZodOptional<z.ZodString>;
20395
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20396
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20397
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20398
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20399
+ id: z.ZodNumber;
20400
+ subject: z.ZodString;
20401
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20402
+ activeForm: z.ZodOptional<z.ZodString>;
20403
+ description: z.ZodOptional<z.ZodString>;
20404
+ owner: z.ZodOptional<z.ZodString>;
20405
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20406
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20407
+ }, z.ZodTypeAny, "passthrough">>, "many">;
20408
+ /** True when the task cap dropped tasks. */
20409
+ truncated: z.ZodOptional<z.ZodBoolean>;
20410
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20411
+ agentId: z.ZodString;
20412
+ seq: z.ZodNumber;
20413
+ tasks: z.ZodArray<z.ZodObject<{
20414
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20415
+ id: z.ZodNumber;
20416
+ subject: z.ZodString;
20417
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20418
+ activeForm: z.ZodOptional<z.ZodString>;
20419
+ description: z.ZodOptional<z.ZodString>;
20420
+ owner: z.ZodOptional<z.ZodString>;
20421
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20422
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20423
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20424
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20425
+ id: z.ZodNumber;
20426
+ subject: z.ZodString;
20427
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20428
+ activeForm: z.ZodOptional<z.ZodString>;
20429
+ description: z.ZodOptional<z.ZodString>;
20430
+ owner: z.ZodOptional<z.ZodString>;
20431
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20432
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20433
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20434
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20435
+ id: z.ZodNumber;
20436
+ subject: z.ZodString;
20437
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20438
+ activeForm: z.ZodOptional<z.ZodString>;
20439
+ description: z.ZodOptional<z.ZodString>;
20440
+ owner: z.ZodOptional<z.ZodString>;
20441
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20442
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20443
+ }, z.ZodTypeAny, "passthrough">>, "many">;
20444
+ /** True when the task cap dropped tasks. */
20445
+ truncated: z.ZodOptional<z.ZodBoolean>;
20446
+ }, z.ZodTypeAny, "passthrough">>;
18864
20447
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
18865
20448
  type: z.ZodLiteral<"rpc_error">;
18866
20449
  requestId: z.ZodString;
@@ -19336,6 +20919,14 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
19336
20919
  output?: string | undefined;
19337
20920
  }>]>;
19338
20921
  status: z.ZodOptional<z.ZodString>;
20922
+ /**
20923
+ * Ephemeral in-flight output snapshot (Pi `tool_execution_update`). Producer contract: broadcast
20924
+ * with no `seq`, never appended to the timeline, never replayed from history, and never sent
20925
+ * after the call's terminal event. Consumer contract: upsert by `callId` and let the snapshot
20926
+ * supersede earlier output — never accumulate. Describes the delivery, not the tool call, so a
20927
+ * client must not store it on its row model.
20928
+ */
20929
+ partial: z.ZodOptional<z.ZodBoolean>;
19339
20930
  }, "strip", z.ZodTypeAny, {
19340
20931
  kind: "tool_call";
19341
20932
  callId?: string | undefined;
@@ -19370,6 +20961,7 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
19370
20961
  output?: string | undefined;
19371
20962
  };
19372
20963
  status?: string | undefined;
20964
+ partial?: boolean | undefined;
19373
20965
  }, {
19374
20966
  kind: "tool_call";
19375
20967
  callId?: string | undefined;
@@ -19404,6 +20996,7 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
19404
20996
  output?: string | undefined;
19405
20997
  };
19406
20998
  status?: string | undefined;
20999
+ partial?: boolean | undefined;
19407
21000
  }>, z.ZodObject<{
19408
21001
  kind: z.ZodLiteral<"turn_started">;
19409
21002
  turnId: z.ZodOptional<z.ZodString>;
@@ -19551,6 +21144,7 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
19551
21144
  output?: string | undefined;
19552
21145
  };
19553
21146
  status?: string | undefined;
21147
+ partial?: boolean | undefined;
19554
21148
  } | {
19555
21149
  kind: "turn_started";
19556
21150
  turnId?: string | undefined;
@@ -19638,6 +21232,7 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
19638
21232
  output?: string | undefined;
19639
21233
  };
19640
21234
  status?: string | undefined;
21235
+ partial?: boolean | undefined;
19641
21236
  } | {
19642
21237
  kind: "turn_started";
19643
21238
  turnId?: string | undefined;
@@ -27406,6 +29001,693 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
27406
29001
  }, z.ZodTypeAny, "passthrough">>, "many">;
27407
29002
  error: z.ZodOptional<z.ZodString>;
27408
29003
  }, z.ZodTypeAny, "passthrough">>;
29004
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
29005
+ type: z.ZodLiteral<"agent_todos_list_request">;
29006
+ requestId: z.ZodString;
29007
+ agentId: z.ZodString;
29008
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29009
+ type: z.ZodLiteral<"agent_todos_list_request">;
29010
+ requestId: z.ZodString;
29011
+ agentId: z.ZodString;
29012
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29013
+ type: z.ZodLiteral<"agent_todos_list_request">;
29014
+ requestId: z.ZodString;
29015
+ agentId: z.ZodString;
29016
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
29017
+ type: z.ZodLiteral<"agent_todos_list_response">;
29018
+ requestId: z.ZodString;
29019
+ snapshot: z.ZodOptional<z.ZodObject<{
29020
+ agentId: z.ZodString;
29021
+ seq: z.ZodNumber;
29022
+ tasks: z.ZodArray<z.ZodObject<{
29023
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29024
+ id: z.ZodNumber;
29025
+ subject: z.ZodString;
29026
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29027
+ activeForm: z.ZodOptional<z.ZodString>;
29028
+ description: z.ZodOptional<z.ZodString>;
29029
+ owner: z.ZodOptional<z.ZodString>;
29030
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29031
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29032
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29033
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29034
+ id: z.ZodNumber;
29035
+ subject: z.ZodString;
29036
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29037
+ activeForm: z.ZodOptional<z.ZodString>;
29038
+ description: z.ZodOptional<z.ZodString>;
29039
+ owner: z.ZodOptional<z.ZodString>;
29040
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29041
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29042
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29043
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29044
+ id: z.ZodNumber;
29045
+ subject: z.ZodString;
29046
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29047
+ activeForm: z.ZodOptional<z.ZodString>;
29048
+ description: z.ZodOptional<z.ZodString>;
29049
+ owner: z.ZodOptional<z.ZodString>;
29050
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29051
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29052
+ }, z.ZodTypeAny, "passthrough">>, "many">;
29053
+ /** True when the task cap dropped tasks. */
29054
+ truncated: z.ZodOptional<z.ZodBoolean>;
29055
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29056
+ agentId: z.ZodString;
29057
+ seq: z.ZodNumber;
29058
+ tasks: z.ZodArray<z.ZodObject<{
29059
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29060
+ id: z.ZodNumber;
29061
+ subject: z.ZodString;
29062
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29063
+ activeForm: z.ZodOptional<z.ZodString>;
29064
+ description: z.ZodOptional<z.ZodString>;
29065
+ owner: z.ZodOptional<z.ZodString>;
29066
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29067
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29068
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29069
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29070
+ id: z.ZodNumber;
29071
+ subject: z.ZodString;
29072
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29073
+ activeForm: z.ZodOptional<z.ZodString>;
29074
+ description: z.ZodOptional<z.ZodString>;
29075
+ owner: z.ZodOptional<z.ZodString>;
29076
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29077
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29078
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29079
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29080
+ id: z.ZodNumber;
29081
+ subject: z.ZodString;
29082
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29083
+ activeForm: z.ZodOptional<z.ZodString>;
29084
+ description: z.ZodOptional<z.ZodString>;
29085
+ owner: z.ZodOptional<z.ZodString>;
29086
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29087
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29088
+ }, z.ZodTypeAny, "passthrough">>, "many">;
29089
+ /** True when the task cap dropped tasks. */
29090
+ truncated: z.ZodOptional<z.ZodBoolean>;
29091
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29092
+ agentId: z.ZodString;
29093
+ seq: z.ZodNumber;
29094
+ tasks: z.ZodArray<z.ZodObject<{
29095
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29096
+ id: z.ZodNumber;
29097
+ subject: z.ZodString;
29098
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29099
+ activeForm: z.ZodOptional<z.ZodString>;
29100
+ description: z.ZodOptional<z.ZodString>;
29101
+ owner: z.ZodOptional<z.ZodString>;
29102
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29103
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29104
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29105
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29106
+ id: z.ZodNumber;
29107
+ subject: z.ZodString;
29108
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29109
+ activeForm: z.ZodOptional<z.ZodString>;
29110
+ description: z.ZodOptional<z.ZodString>;
29111
+ owner: z.ZodOptional<z.ZodString>;
29112
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29113
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29114
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29115
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29116
+ id: z.ZodNumber;
29117
+ subject: z.ZodString;
29118
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29119
+ activeForm: z.ZodOptional<z.ZodString>;
29120
+ description: z.ZodOptional<z.ZodString>;
29121
+ owner: z.ZodOptional<z.ZodString>;
29122
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29123
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29124
+ }, z.ZodTypeAny, "passthrough">>, "many">;
29125
+ /** True when the task cap dropped tasks. */
29126
+ truncated: z.ZodOptional<z.ZodBoolean>;
29127
+ }, z.ZodTypeAny, "passthrough">>>;
29128
+ ok: z.ZodOptional<z.ZodBoolean>;
29129
+ error: z.ZodOptional<z.ZodString>;
29130
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29131
+ type: z.ZodLiteral<"agent_todos_list_response">;
29132
+ requestId: z.ZodString;
29133
+ snapshot: z.ZodOptional<z.ZodObject<{
29134
+ agentId: z.ZodString;
29135
+ seq: z.ZodNumber;
29136
+ tasks: z.ZodArray<z.ZodObject<{
29137
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29138
+ id: z.ZodNumber;
29139
+ subject: z.ZodString;
29140
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29141
+ activeForm: z.ZodOptional<z.ZodString>;
29142
+ description: z.ZodOptional<z.ZodString>;
29143
+ owner: z.ZodOptional<z.ZodString>;
29144
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29145
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29146
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29147
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29148
+ id: z.ZodNumber;
29149
+ subject: z.ZodString;
29150
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29151
+ activeForm: z.ZodOptional<z.ZodString>;
29152
+ description: z.ZodOptional<z.ZodString>;
29153
+ owner: z.ZodOptional<z.ZodString>;
29154
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29155
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29156
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29157
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29158
+ id: z.ZodNumber;
29159
+ subject: z.ZodString;
29160
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29161
+ activeForm: z.ZodOptional<z.ZodString>;
29162
+ description: z.ZodOptional<z.ZodString>;
29163
+ owner: z.ZodOptional<z.ZodString>;
29164
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29165
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29166
+ }, z.ZodTypeAny, "passthrough">>, "many">;
29167
+ /** True when the task cap dropped tasks. */
29168
+ truncated: z.ZodOptional<z.ZodBoolean>;
29169
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29170
+ agentId: z.ZodString;
29171
+ seq: z.ZodNumber;
29172
+ tasks: z.ZodArray<z.ZodObject<{
29173
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29174
+ id: z.ZodNumber;
29175
+ subject: z.ZodString;
29176
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29177
+ activeForm: z.ZodOptional<z.ZodString>;
29178
+ description: z.ZodOptional<z.ZodString>;
29179
+ owner: z.ZodOptional<z.ZodString>;
29180
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29181
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29182
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29183
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29184
+ id: z.ZodNumber;
29185
+ subject: z.ZodString;
29186
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29187
+ activeForm: z.ZodOptional<z.ZodString>;
29188
+ description: z.ZodOptional<z.ZodString>;
29189
+ owner: z.ZodOptional<z.ZodString>;
29190
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29191
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29192
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29193
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29194
+ id: z.ZodNumber;
29195
+ subject: z.ZodString;
29196
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29197
+ activeForm: z.ZodOptional<z.ZodString>;
29198
+ description: z.ZodOptional<z.ZodString>;
29199
+ owner: z.ZodOptional<z.ZodString>;
29200
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29201
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29202
+ }, z.ZodTypeAny, "passthrough">>, "many">;
29203
+ /** True when the task cap dropped tasks. */
29204
+ truncated: z.ZodOptional<z.ZodBoolean>;
29205
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29206
+ agentId: z.ZodString;
29207
+ seq: z.ZodNumber;
29208
+ tasks: z.ZodArray<z.ZodObject<{
29209
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29210
+ id: z.ZodNumber;
29211
+ subject: z.ZodString;
29212
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29213
+ activeForm: z.ZodOptional<z.ZodString>;
29214
+ description: z.ZodOptional<z.ZodString>;
29215
+ owner: z.ZodOptional<z.ZodString>;
29216
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29217
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29218
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29219
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29220
+ id: z.ZodNumber;
29221
+ subject: z.ZodString;
29222
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29223
+ activeForm: z.ZodOptional<z.ZodString>;
29224
+ description: z.ZodOptional<z.ZodString>;
29225
+ owner: z.ZodOptional<z.ZodString>;
29226
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29227
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29228
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29229
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29230
+ id: z.ZodNumber;
29231
+ subject: z.ZodString;
29232
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29233
+ activeForm: z.ZodOptional<z.ZodString>;
29234
+ description: z.ZodOptional<z.ZodString>;
29235
+ owner: z.ZodOptional<z.ZodString>;
29236
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29237
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29238
+ }, z.ZodTypeAny, "passthrough">>, "many">;
29239
+ /** True when the task cap dropped tasks. */
29240
+ truncated: z.ZodOptional<z.ZodBoolean>;
29241
+ }, z.ZodTypeAny, "passthrough">>>;
29242
+ ok: z.ZodOptional<z.ZodBoolean>;
29243
+ error: z.ZodOptional<z.ZodString>;
29244
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29245
+ type: z.ZodLiteral<"agent_todos_list_response">;
29246
+ requestId: z.ZodString;
29247
+ snapshot: z.ZodOptional<z.ZodObject<{
29248
+ agentId: z.ZodString;
29249
+ seq: z.ZodNumber;
29250
+ tasks: z.ZodArray<z.ZodObject<{
29251
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29252
+ id: z.ZodNumber;
29253
+ subject: z.ZodString;
29254
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29255
+ activeForm: z.ZodOptional<z.ZodString>;
29256
+ description: z.ZodOptional<z.ZodString>;
29257
+ owner: z.ZodOptional<z.ZodString>;
29258
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29259
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29260
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29261
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29262
+ id: z.ZodNumber;
29263
+ subject: z.ZodString;
29264
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29265
+ activeForm: z.ZodOptional<z.ZodString>;
29266
+ description: z.ZodOptional<z.ZodString>;
29267
+ owner: z.ZodOptional<z.ZodString>;
29268
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29269
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29270
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29271
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29272
+ id: z.ZodNumber;
29273
+ subject: z.ZodString;
29274
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29275
+ activeForm: z.ZodOptional<z.ZodString>;
29276
+ description: z.ZodOptional<z.ZodString>;
29277
+ owner: z.ZodOptional<z.ZodString>;
29278
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29279
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29280
+ }, z.ZodTypeAny, "passthrough">>, "many">;
29281
+ /** True when the task cap dropped tasks. */
29282
+ truncated: z.ZodOptional<z.ZodBoolean>;
29283
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29284
+ agentId: z.ZodString;
29285
+ seq: z.ZodNumber;
29286
+ tasks: z.ZodArray<z.ZodObject<{
29287
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29288
+ id: z.ZodNumber;
29289
+ subject: z.ZodString;
29290
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29291
+ activeForm: z.ZodOptional<z.ZodString>;
29292
+ description: z.ZodOptional<z.ZodString>;
29293
+ owner: z.ZodOptional<z.ZodString>;
29294
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29295
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29296
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29297
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29298
+ id: z.ZodNumber;
29299
+ subject: z.ZodString;
29300
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29301
+ activeForm: z.ZodOptional<z.ZodString>;
29302
+ description: z.ZodOptional<z.ZodString>;
29303
+ owner: z.ZodOptional<z.ZodString>;
29304
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29305
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29306
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29307
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29308
+ id: z.ZodNumber;
29309
+ subject: z.ZodString;
29310
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29311
+ activeForm: z.ZodOptional<z.ZodString>;
29312
+ description: z.ZodOptional<z.ZodString>;
29313
+ owner: z.ZodOptional<z.ZodString>;
29314
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29315
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29316
+ }, z.ZodTypeAny, "passthrough">>, "many">;
29317
+ /** True when the task cap dropped tasks. */
29318
+ truncated: z.ZodOptional<z.ZodBoolean>;
29319
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29320
+ agentId: z.ZodString;
29321
+ seq: z.ZodNumber;
29322
+ tasks: z.ZodArray<z.ZodObject<{
29323
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29324
+ id: z.ZodNumber;
29325
+ subject: z.ZodString;
29326
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29327
+ activeForm: z.ZodOptional<z.ZodString>;
29328
+ description: z.ZodOptional<z.ZodString>;
29329
+ owner: z.ZodOptional<z.ZodString>;
29330
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29331
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29332
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29333
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29334
+ id: z.ZodNumber;
29335
+ subject: z.ZodString;
29336
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29337
+ activeForm: z.ZodOptional<z.ZodString>;
29338
+ description: z.ZodOptional<z.ZodString>;
29339
+ owner: z.ZodOptional<z.ZodString>;
29340
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29341
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29342
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29343
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29344
+ id: z.ZodNumber;
29345
+ subject: z.ZodString;
29346
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29347
+ activeForm: z.ZodOptional<z.ZodString>;
29348
+ description: z.ZodOptional<z.ZodString>;
29349
+ owner: z.ZodOptional<z.ZodString>;
29350
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29351
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29352
+ }, z.ZodTypeAny, "passthrough">>, "many">;
29353
+ /** True when the task cap dropped tasks. */
29354
+ truncated: z.ZodOptional<z.ZodBoolean>;
29355
+ }, z.ZodTypeAny, "passthrough">>>;
29356
+ ok: z.ZodOptional<z.ZodBoolean>;
29357
+ error: z.ZodOptional<z.ZodString>;
29358
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
29359
+ type: z.ZodLiteral<"agent_todos_update">;
29360
+ snapshot: z.ZodObject<{
29361
+ agentId: z.ZodString;
29362
+ seq: z.ZodNumber;
29363
+ tasks: z.ZodArray<z.ZodObject<{
29364
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29365
+ id: z.ZodNumber;
29366
+ subject: z.ZodString;
29367
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29368
+ activeForm: z.ZodOptional<z.ZodString>;
29369
+ description: z.ZodOptional<z.ZodString>;
29370
+ owner: z.ZodOptional<z.ZodString>;
29371
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29372
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29373
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29374
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29375
+ id: z.ZodNumber;
29376
+ subject: z.ZodString;
29377
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29378
+ activeForm: z.ZodOptional<z.ZodString>;
29379
+ description: z.ZodOptional<z.ZodString>;
29380
+ owner: z.ZodOptional<z.ZodString>;
29381
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29382
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29383
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29384
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29385
+ id: z.ZodNumber;
29386
+ subject: z.ZodString;
29387
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29388
+ activeForm: z.ZodOptional<z.ZodString>;
29389
+ description: z.ZodOptional<z.ZodString>;
29390
+ owner: z.ZodOptional<z.ZodString>;
29391
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29392
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29393
+ }, z.ZodTypeAny, "passthrough">>, "many">;
29394
+ /** True when the task cap dropped tasks. */
29395
+ truncated: z.ZodOptional<z.ZodBoolean>;
29396
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29397
+ agentId: z.ZodString;
29398
+ seq: z.ZodNumber;
29399
+ tasks: z.ZodArray<z.ZodObject<{
29400
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29401
+ id: z.ZodNumber;
29402
+ subject: z.ZodString;
29403
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29404
+ activeForm: z.ZodOptional<z.ZodString>;
29405
+ description: z.ZodOptional<z.ZodString>;
29406
+ owner: z.ZodOptional<z.ZodString>;
29407
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29408
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29409
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29410
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29411
+ id: z.ZodNumber;
29412
+ subject: z.ZodString;
29413
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29414
+ activeForm: z.ZodOptional<z.ZodString>;
29415
+ description: z.ZodOptional<z.ZodString>;
29416
+ owner: z.ZodOptional<z.ZodString>;
29417
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29418
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29419
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29420
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29421
+ id: z.ZodNumber;
29422
+ subject: z.ZodString;
29423
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29424
+ activeForm: z.ZodOptional<z.ZodString>;
29425
+ description: z.ZodOptional<z.ZodString>;
29426
+ owner: z.ZodOptional<z.ZodString>;
29427
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29428
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29429
+ }, z.ZodTypeAny, "passthrough">>, "many">;
29430
+ /** True when the task cap dropped tasks. */
29431
+ truncated: z.ZodOptional<z.ZodBoolean>;
29432
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29433
+ agentId: z.ZodString;
29434
+ seq: z.ZodNumber;
29435
+ tasks: z.ZodArray<z.ZodObject<{
29436
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29437
+ id: z.ZodNumber;
29438
+ subject: z.ZodString;
29439
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29440
+ activeForm: z.ZodOptional<z.ZodString>;
29441
+ description: z.ZodOptional<z.ZodString>;
29442
+ owner: z.ZodOptional<z.ZodString>;
29443
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29444
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29445
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29446
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29447
+ id: z.ZodNumber;
29448
+ subject: z.ZodString;
29449
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29450
+ activeForm: z.ZodOptional<z.ZodString>;
29451
+ description: z.ZodOptional<z.ZodString>;
29452
+ owner: z.ZodOptional<z.ZodString>;
29453
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29454
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29455
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29456
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29457
+ id: z.ZodNumber;
29458
+ subject: z.ZodString;
29459
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29460
+ activeForm: z.ZodOptional<z.ZodString>;
29461
+ description: z.ZodOptional<z.ZodString>;
29462
+ owner: z.ZodOptional<z.ZodString>;
29463
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29464
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29465
+ }, z.ZodTypeAny, "passthrough">>, "many">;
29466
+ /** True when the task cap dropped tasks. */
29467
+ truncated: z.ZodOptional<z.ZodBoolean>;
29468
+ }, z.ZodTypeAny, "passthrough">>;
29469
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29470
+ type: z.ZodLiteral<"agent_todos_update">;
29471
+ snapshot: z.ZodObject<{
29472
+ agentId: z.ZodString;
29473
+ seq: z.ZodNumber;
29474
+ tasks: z.ZodArray<z.ZodObject<{
29475
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29476
+ id: z.ZodNumber;
29477
+ subject: z.ZodString;
29478
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29479
+ activeForm: z.ZodOptional<z.ZodString>;
29480
+ description: z.ZodOptional<z.ZodString>;
29481
+ owner: z.ZodOptional<z.ZodString>;
29482
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29483
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29484
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29485
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29486
+ id: z.ZodNumber;
29487
+ subject: z.ZodString;
29488
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29489
+ activeForm: z.ZodOptional<z.ZodString>;
29490
+ description: z.ZodOptional<z.ZodString>;
29491
+ owner: z.ZodOptional<z.ZodString>;
29492
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29493
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29494
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29495
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29496
+ id: z.ZodNumber;
29497
+ subject: z.ZodString;
29498
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29499
+ activeForm: z.ZodOptional<z.ZodString>;
29500
+ description: z.ZodOptional<z.ZodString>;
29501
+ owner: z.ZodOptional<z.ZodString>;
29502
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29503
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29504
+ }, z.ZodTypeAny, "passthrough">>, "many">;
29505
+ /** True when the task cap dropped tasks. */
29506
+ truncated: z.ZodOptional<z.ZodBoolean>;
29507
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29508
+ agentId: z.ZodString;
29509
+ seq: z.ZodNumber;
29510
+ tasks: z.ZodArray<z.ZodObject<{
29511
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29512
+ id: z.ZodNumber;
29513
+ subject: z.ZodString;
29514
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29515
+ activeForm: z.ZodOptional<z.ZodString>;
29516
+ description: z.ZodOptional<z.ZodString>;
29517
+ owner: z.ZodOptional<z.ZodString>;
29518
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29519
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29520
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29521
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29522
+ id: z.ZodNumber;
29523
+ subject: z.ZodString;
29524
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29525
+ activeForm: z.ZodOptional<z.ZodString>;
29526
+ description: z.ZodOptional<z.ZodString>;
29527
+ owner: z.ZodOptional<z.ZodString>;
29528
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29529
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29530
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29531
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29532
+ id: z.ZodNumber;
29533
+ subject: z.ZodString;
29534
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29535
+ activeForm: z.ZodOptional<z.ZodString>;
29536
+ description: z.ZodOptional<z.ZodString>;
29537
+ owner: z.ZodOptional<z.ZodString>;
29538
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29539
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29540
+ }, z.ZodTypeAny, "passthrough">>, "many">;
29541
+ /** True when the task cap dropped tasks. */
29542
+ truncated: z.ZodOptional<z.ZodBoolean>;
29543
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29544
+ agentId: z.ZodString;
29545
+ seq: z.ZodNumber;
29546
+ tasks: z.ZodArray<z.ZodObject<{
29547
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29548
+ id: z.ZodNumber;
29549
+ subject: z.ZodString;
29550
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29551
+ activeForm: z.ZodOptional<z.ZodString>;
29552
+ description: z.ZodOptional<z.ZodString>;
29553
+ owner: z.ZodOptional<z.ZodString>;
29554
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29555
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29556
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29557
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29558
+ id: z.ZodNumber;
29559
+ subject: z.ZodString;
29560
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29561
+ activeForm: z.ZodOptional<z.ZodString>;
29562
+ description: z.ZodOptional<z.ZodString>;
29563
+ owner: z.ZodOptional<z.ZodString>;
29564
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29565
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29566
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29567
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29568
+ id: z.ZodNumber;
29569
+ subject: z.ZodString;
29570
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29571
+ activeForm: z.ZodOptional<z.ZodString>;
29572
+ description: z.ZodOptional<z.ZodString>;
29573
+ owner: z.ZodOptional<z.ZodString>;
29574
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29575
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29576
+ }, z.ZodTypeAny, "passthrough">>, "many">;
29577
+ /** True when the task cap dropped tasks. */
29578
+ truncated: z.ZodOptional<z.ZodBoolean>;
29579
+ }, z.ZodTypeAny, "passthrough">>;
29580
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29581
+ type: z.ZodLiteral<"agent_todos_update">;
29582
+ snapshot: z.ZodObject<{
29583
+ agentId: z.ZodString;
29584
+ seq: z.ZodNumber;
29585
+ tasks: z.ZodArray<z.ZodObject<{
29586
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29587
+ id: z.ZodNumber;
29588
+ subject: z.ZodString;
29589
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29590
+ activeForm: z.ZodOptional<z.ZodString>;
29591
+ description: z.ZodOptional<z.ZodString>;
29592
+ owner: z.ZodOptional<z.ZodString>;
29593
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29594
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29595
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29596
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29597
+ id: z.ZodNumber;
29598
+ subject: z.ZodString;
29599
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29600
+ activeForm: z.ZodOptional<z.ZodString>;
29601
+ description: z.ZodOptional<z.ZodString>;
29602
+ owner: z.ZodOptional<z.ZodString>;
29603
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29604
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29605
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29606
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29607
+ id: z.ZodNumber;
29608
+ subject: z.ZodString;
29609
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29610
+ activeForm: z.ZodOptional<z.ZodString>;
29611
+ description: z.ZodOptional<z.ZodString>;
29612
+ owner: z.ZodOptional<z.ZodString>;
29613
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29614
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29615
+ }, z.ZodTypeAny, "passthrough">>, "many">;
29616
+ /** True when the task cap dropped tasks. */
29617
+ truncated: z.ZodOptional<z.ZodBoolean>;
29618
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29619
+ agentId: z.ZodString;
29620
+ seq: z.ZodNumber;
29621
+ tasks: z.ZodArray<z.ZodObject<{
29622
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29623
+ id: z.ZodNumber;
29624
+ subject: z.ZodString;
29625
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29626
+ activeForm: z.ZodOptional<z.ZodString>;
29627
+ description: z.ZodOptional<z.ZodString>;
29628
+ owner: z.ZodOptional<z.ZodString>;
29629
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29630
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29631
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29632
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29633
+ id: z.ZodNumber;
29634
+ subject: z.ZodString;
29635
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29636
+ activeForm: z.ZodOptional<z.ZodString>;
29637
+ description: z.ZodOptional<z.ZodString>;
29638
+ owner: z.ZodOptional<z.ZodString>;
29639
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29640
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29641
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29642
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29643
+ id: z.ZodNumber;
29644
+ subject: z.ZodString;
29645
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29646
+ activeForm: z.ZodOptional<z.ZodString>;
29647
+ description: z.ZodOptional<z.ZodString>;
29648
+ owner: z.ZodOptional<z.ZodString>;
29649
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29650
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29651
+ }, z.ZodTypeAny, "passthrough">>, "many">;
29652
+ /** True when the task cap dropped tasks. */
29653
+ truncated: z.ZodOptional<z.ZodBoolean>;
29654
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29655
+ agentId: z.ZodString;
29656
+ seq: z.ZodNumber;
29657
+ tasks: z.ZodArray<z.ZodObject<{
29658
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29659
+ id: z.ZodNumber;
29660
+ subject: z.ZodString;
29661
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29662
+ activeForm: z.ZodOptional<z.ZodString>;
29663
+ description: z.ZodOptional<z.ZodString>;
29664
+ owner: z.ZodOptional<z.ZodString>;
29665
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29666
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29667
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29668
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29669
+ id: z.ZodNumber;
29670
+ subject: z.ZodString;
29671
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29672
+ activeForm: z.ZodOptional<z.ZodString>;
29673
+ description: z.ZodOptional<z.ZodString>;
29674
+ owner: z.ZodOptional<z.ZodString>;
29675
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29676
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29677
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29678
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29679
+ id: z.ZodNumber;
29680
+ subject: z.ZodString;
29681
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29682
+ activeForm: z.ZodOptional<z.ZodString>;
29683
+ description: z.ZodOptional<z.ZodString>;
29684
+ owner: z.ZodOptional<z.ZodString>;
29685
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29686
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29687
+ }, z.ZodTypeAny, "passthrough">>, "many">;
29688
+ /** True when the task cap dropped tasks. */
29689
+ truncated: z.ZodOptional<z.ZodBoolean>;
29690
+ }, z.ZodTypeAny, "passthrough">>;
27409
29691
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
27410
29692
  type: z.ZodLiteral<"rpc_error">;
27411
29693
  requestId: z.ZodString;
@@ -27559,6 +29841,7 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
27559
29841
  output?: string | undefined;
27560
29842
  };
27561
29843
  status?: string | undefined;
29844
+ partial?: boolean | undefined;
27562
29845
  } | {
27563
29846
  kind: "turn_started";
27564
29847
  turnId?: string | undefined;
@@ -30153,6 +32436,235 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
30153
32436
  }, z.ZodTypeAny, "passthrough">>, "many">;
30154
32437
  error: z.ZodOptional<z.ZodString>;
30155
32438
  }, z.ZodTypeAny, "passthrough">>;
32439
+ }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
32440
+ type: z.ZodLiteral<"agent_todos_list_request">;
32441
+ requestId: z.ZodString;
32442
+ agentId: z.ZodString;
32443
+ }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
32444
+ type: z.ZodLiteral<"agent_todos_list_response">;
32445
+ requestId: z.ZodString;
32446
+ snapshot: z.ZodOptional<z.ZodObject<{
32447
+ agentId: z.ZodString;
32448
+ seq: z.ZodNumber;
32449
+ tasks: z.ZodArray<z.ZodObject<{
32450
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32451
+ id: z.ZodNumber;
32452
+ subject: z.ZodString;
32453
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32454
+ activeForm: z.ZodOptional<z.ZodString>;
32455
+ description: z.ZodOptional<z.ZodString>;
32456
+ owner: z.ZodOptional<z.ZodString>;
32457
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32458
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32459
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
32460
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32461
+ id: z.ZodNumber;
32462
+ subject: z.ZodString;
32463
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32464
+ activeForm: z.ZodOptional<z.ZodString>;
32465
+ description: z.ZodOptional<z.ZodString>;
32466
+ owner: z.ZodOptional<z.ZodString>;
32467
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32468
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32469
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
32470
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32471
+ id: z.ZodNumber;
32472
+ subject: z.ZodString;
32473
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32474
+ activeForm: z.ZodOptional<z.ZodString>;
32475
+ description: z.ZodOptional<z.ZodString>;
32476
+ owner: z.ZodOptional<z.ZodString>;
32477
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32478
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32479
+ }, z.ZodTypeAny, "passthrough">>, "many">;
32480
+ /** True when the task cap dropped tasks. */
32481
+ truncated: z.ZodOptional<z.ZodBoolean>;
32482
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
32483
+ agentId: z.ZodString;
32484
+ seq: z.ZodNumber;
32485
+ tasks: z.ZodArray<z.ZodObject<{
32486
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32487
+ id: z.ZodNumber;
32488
+ subject: z.ZodString;
32489
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32490
+ activeForm: z.ZodOptional<z.ZodString>;
32491
+ description: z.ZodOptional<z.ZodString>;
32492
+ owner: z.ZodOptional<z.ZodString>;
32493
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32494
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32495
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
32496
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32497
+ id: z.ZodNumber;
32498
+ subject: z.ZodString;
32499
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32500
+ activeForm: z.ZodOptional<z.ZodString>;
32501
+ description: z.ZodOptional<z.ZodString>;
32502
+ owner: z.ZodOptional<z.ZodString>;
32503
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32504
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32505
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
32506
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32507
+ id: z.ZodNumber;
32508
+ subject: z.ZodString;
32509
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32510
+ activeForm: z.ZodOptional<z.ZodString>;
32511
+ description: z.ZodOptional<z.ZodString>;
32512
+ owner: z.ZodOptional<z.ZodString>;
32513
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32514
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32515
+ }, z.ZodTypeAny, "passthrough">>, "many">;
32516
+ /** True when the task cap dropped tasks. */
32517
+ truncated: z.ZodOptional<z.ZodBoolean>;
32518
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
32519
+ agentId: z.ZodString;
32520
+ seq: z.ZodNumber;
32521
+ tasks: z.ZodArray<z.ZodObject<{
32522
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32523
+ id: z.ZodNumber;
32524
+ subject: z.ZodString;
32525
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32526
+ activeForm: z.ZodOptional<z.ZodString>;
32527
+ description: z.ZodOptional<z.ZodString>;
32528
+ owner: z.ZodOptional<z.ZodString>;
32529
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32530
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32531
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
32532
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32533
+ id: z.ZodNumber;
32534
+ subject: z.ZodString;
32535
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32536
+ activeForm: z.ZodOptional<z.ZodString>;
32537
+ description: z.ZodOptional<z.ZodString>;
32538
+ owner: z.ZodOptional<z.ZodString>;
32539
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32540
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32541
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
32542
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32543
+ id: z.ZodNumber;
32544
+ subject: z.ZodString;
32545
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32546
+ activeForm: z.ZodOptional<z.ZodString>;
32547
+ description: z.ZodOptional<z.ZodString>;
32548
+ owner: z.ZodOptional<z.ZodString>;
32549
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32550
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32551
+ }, z.ZodTypeAny, "passthrough">>, "many">;
32552
+ /** True when the task cap dropped tasks. */
32553
+ truncated: z.ZodOptional<z.ZodBoolean>;
32554
+ }, z.ZodTypeAny, "passthrough">>>;
32555
+ ok: z.ZodOptional<z.ZodBoolean>;
32556
+ error: z.ZodOptional<z.ZodString>;
32557
+ }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
32558
+ type: z.ZodLiteral<"agent_todos_update">;
32559
+ snapshot: z.ZodObject<{
32560
+ agentId: z.ZodString;
32561
+ seq: z.ZodNumber;
32562
+ tasks: z.ZodArray<z.ZodObject<{
32563
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32564
+ id: z.ZodNumber;
32565
+ subject: z.ZodString;
32566
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32567
+ activeForm: z.ZodOptional<z.ZodString>;
32568
+ description: z.ZodOptional<z.ZodString>;
32569
+ owner: z.ZodOptional<z.ZodString>;
32570
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32571
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32572
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
32573
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32574
+ id: z.ZodNumber;
32575
+ subject: z.ZodString;
32576
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32577
+ activeForm: z.ZodOptional<z.ZodString>;
32578
+ description: z.ZodOptional<z.ZodString>;
32579
+ owner: z.ZodOptional<z.ZodString>;
32580
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32581
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32582
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
32583
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32584
+ id: z.ZodNumber;
32585
+ subject: z.ZodString;
32586
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32587
+ activeForm: z.ZodOptional<z.ZodString>;
32588
+ description: z.ZodOptional<z.ZodString>;
32589
+ owner: z.ZodOptional<z.ZodString>;
32590
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32591
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32592
+ }, z.ZodTypeAny, "passthrough">>, "many">;
32593
+ /** True when the task cap dropped tasks. */
32594
+ truncated: z.ZodOptional<z.ZodBoolean>;
32595
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
32596
+ agentId: z.ZodString;
32597
+ seq: z.ZodNumber;
32598
+ tasks: z.ZodArray<z.ZodObject<{
32599
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32600
+ id: z.ZodNumber;
32601
+ subject: z.ZodString;
32602
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32603
+ activeForm: z.ZodOptional<z.ZodString>;
32604
+ description: z.ZodOptional<z.ZodString>;
32605
+ owner: z.ZodOptional<z.ZodString>;
32606
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32607
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32608
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
32609
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32610
+ id: z.ZodNumber;
32611
+ subject: z.ZodString;
32612
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32613
+ activeForm: z.ZodOptional<z.ZodString>;
32614
+ description: z.ZodOptional<z.ZodString>;
32615
+ owner: z.ZodOptional<z.ZodString>;
32616
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32617
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32618
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
32619
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32620
+ id: z.ZodNumber;
32621
+ subject: z.ZodString;
32622
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32623
+ activeForm: z.ZodOptional<z.ZodString>;
32624
+ description: z.ZodOptional<z.ZodString>;
32625
+ owner: z.ZodOptional<z.ZodString>;
32626
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32627
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32628
+ }, z.ZodTypeAny, "passthrough">>, "many">;
32629
+ /** True when the task cap dropped tasks. */
32630
+ truncated: z.ZodOptional<z.ZodBoolean>;
32631
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
32632
+ agentId: z.ZodString;
32633
+ seq: z.ZodNumber;
32634
+ tasks: z.ZodArray<z.ZodObject<{
32635
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32636
+ id: z.ZodNumber;
32637
+ subject: z.ZodString;
32638
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32639
+ activeForm: z.ZodOptional<z.ZodString>;
32640
+ description: z.ZodOptional<z.ZodString>;
32641
+ owner: z.ZodOptional<z.ZodString>;
32642
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32643
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32644
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
32645
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32646
+ id: z.ZodNumber;
32647
+ subject: z.ZodString;
32648
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32649
+ activeForm: z.ZodOptional<z.ZodString>;
32650
+ description: z.ZodOptional<z.ZodString>;
32651
+ owner: z.ZodOptional<z.ZodString>;
32652
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32653
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32654
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
32655
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32656
+ id: z.ZodNumber;
32657
+ subject: z.ZodString;
32658
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32659
+ activeForm: z.ZodOptional<z.ZodString>;
32660
+ description: z.ZodOptional<z.ZodString>;
32661
+ owner: z.ZodOptional<z.ZodString>;
32662
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32663
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32664
+ }, z.ZodTypeAny, "passthrough">>, "many">;
32665
+ /** True when the task cap dropped tasks. */
32666
+ truncated: z.ZodOptional<z.ZodBoolean>;
32667
+ }, z.ZodTypeAny, "passthrough">>;
30156
32668
  }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
30157
32669
  type: z.ZodString;
30158
32670
  }, z.ZodTypeAny, "passthrough">;
@@ -30284,6 +32796,7 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
30284
32796
  output?: string | undefined;
30285
32797
  };
30286
32798
  status?: string | undefined;
32799
+ partial?: boolean | undefined;
30287
32800
  } | {
30288
32801
  kind: "turn_started";
30289
32802
  turnId?: string | undefined;
@@ -32878,6 +35391,235 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
32878
35391
  }, z.ZodTypeAny, "passthrough">>, "many">;
32879
35392
  error: z.ZodOptional<z.ZodString>;
32880
35393
  }, z.ZodTypeAny, "passthrough">>;
35394
+ }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
35395
+ type: z.ZodLiteral<"agent_todos_list_request">;
35396
+ requestId: z.ZodString;
35397
+ agentId: z.ZodString;
35398
+ }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
35399
+ type: z.ZodLiteral<"agent_todos_list_response">;
35400
+ requestId: z.ZodString;
35401
+ snapshot: z.ZodOptional<z.ZodObject<{
35402
+ agentId: z.ZodString;
35403
+ seq: z.ZodNumber;
35404
+ tasks: z.ZodArray<z.ZodObject<{
35405
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35406
+ id: z.ZodNumber;
35407
+ subject: z.ZodString;
35408
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35409
+ activeForm: z.ZodOptional<z.ZodString>;
35410
+ description: z.ZodOptional<z.ZodString>;
35411
+ owner: z.ZodOptional<z.ZodString>;
35412
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35413
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35414
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
35415
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35416
+ id: z.ZodNumber;
35417
+ subject: z.ZodString;
35418
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35419
+ activeForm: z.ZodOptional<z.ZodString>;
35420
+ description: z.ZodOptional<z.ZodString>;
35421
+ owner: z.ZodOptional<z.ZodString>;
35422
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35423
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35424
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
35425
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35426
+ id: z.ZodNumber;
35427
+ subject: z.ZodString;
35428
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35429
+ activeForm: z.ZodOptional<z.ZodString>;
35430
+ description: z.ZodOptional<z.ZodString>;
35431
+ owner: z.ZodOptional<z.ZodString>;
35432
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35433
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35434
+ }, z.ZodTypeAny, "passthrough">>, "many">;
35435
+ /** True when the task cap dropped tasks. */
35436
+ truncated: z.ZodOptional<z.ZodBoolean>;
35437
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
35438
+ agentId: z.ZodString;
35439
+ seq: z.ZodNumber;
35440
+ tasks: z.ZodArray<z.ZodObject<{
35441
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35442
+ id: z.ZodNumber;
35443
+ subject: z.ZodString;
35444
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35445
+ activeForm: z.ZodOptional<z.ZodString>;
35446
+ description: z.ZodOptional<z.ZodString>;
35447
+ owner: z.ZodOptional<z.ZodString>;
35448
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35449
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35450
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
35451
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35452
+ id: z.ZodNumber;
35453
+ subject: z.ZodString;
35454
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35455
+ activeForm: z.ZodOptional<z.ZodString>;
35456
+ description: z.ZodOptional<z.ZodString>;
35457
+ owner: z.ZodOptional<z.ZodString>;
35458
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35459
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35460
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
35461
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35462
+ id: z.ZodNumber;
35463
+ subject: z.ZodString;
35464
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35465
+ activeForm: z.ZodOptional<z.ZodString>;
35466
+ description: z.ZodOptional<z.ZodString>;
35467
+ owner: z.ZodOptional<z.ZodString>;
35468
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35469
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35470
+ }, z.ZodTypeAny, "passthrough">>, "many">;
35471
+ /** True when the task cap dropped tasks. */
35472
+ truncated: z.ZodOptional<z.ZodBoolean>;
35473
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
35474
+ agentId: z.ZodString;
35475
+ seq: z.ZodNumber;
35476
+ tasks: z.ZodArray<z.ZodObject<{
35477
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35478
+ id: z.ZodNumber;
35479
+ subject: z.ZodString;
35480
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35481
+ activeForm: z.ZodOptional<z.ZodString>;
35482
+ description: z.ZodOptional<z.ZodString>;
35483
+ owner: z.ZodOptional<z.ZodString>;
35484
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35485
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35486
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
35487
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35488
+ id: z.ZodNumber;
35489
+ subject: z.ZodString;
35490
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35491
+ activeForm: z.ZodOptional<z.ZodString>;
35492
+ description: z.ZodOptional<z.ZodString>;
35493
+ owner: z.ZodOptional<z.ZodString>;
35494
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35495
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35496
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
35497
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35498
+ id: z.ZodNumber;
35499
+ subject: z.ZodString;
35500
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35501
+ activeForm: z.ZodOptional<z.ZodString>;
35502
+ description: z.ZodOptional<z.ZodString>;
35503
+ owner: z.ZodOptional<z.ZodString>;
35504
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35505
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35506
+ }, z.ZodTypeAny, "passthrough">>, "many">;
35507
+ /** True when the task cap dropped tasks. */
35508
+ truncated: z.ZodOptional<z.ZodBoolean>;
35509
+ }, z.ZodTypeAny, "passthrough">>>;
35510
+ ok: z.ZodOptional<z.ZodBoolean>;
35511
+ error: z.ZodOptional<z.ZodString>;
35512
+ }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
35513
+ type: z.ZodLiteral<"agent_todos_update">;
35514
+ snapshot: z.ZodObject<{
35515
+ agentId: z.ZodString;
35516
+ seq: z.ZodNumber;
35517
+ tasks: z.ZodArray<z.ZodObject<{
35518
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35519
+ id: z.ZodNumber;
35520
+ subject: z.ZodString;
35521
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35522
+ activeForm: z.ZodOptional<z.ZodString>;
35523
+ description: z.ZodOptional<z.ZodString>;
35524
+ owner: z.ZodOptional<z.ZodString>;
35525
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35526
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35527
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
35528
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35529
+ id: z.ZodNumber;
35530
+ subject: z.ZodString;
35531
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35532
+ activeForm: z.ZodOptional<z.ZodString>;
35533
+ description: z.ZodOptional<z.ZodString>;
35534
+ owner: z.ZodOptional<z.ZodString>;
35535
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35536
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35537
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
35538
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35539
+ id: z.ZodNumber;
35540
+ subject: z.ZodString;
35541
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35542
+ activeForm: z.ZodOptional<z.ZodString>;
35543
+ description: z.ZodOptional<z.ZodString>;
35544
+ owner: z.ZodOptional<z.ZodString>;
35545
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35546
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35547
+ }, z.ZodTypeAny, "passthrough">>, "many">;
35548
+ /** True when the task cap dropped tasks. */
35549
+ truncated: z.ZodOptional<z.ZodBoolean>;
35550
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
35551
+ agentId: z.ZodString;
35552
+ seq: z.ZodNumber;
35553
+ tasks: z.ZodArray<z.ZodObject<{
35554
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35555
+ id: z.ZodNumber;
35556
+ subject: z.ZodString;
35557
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35558
+ activeForm: z.ZodOptional<z.ZodString>;
35559
+ description: z.ZodOptional<z.ZodString>;
35560
+ owner: z.ZodOptional<z.ZodString>;
35561
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35562
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35563
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
35564
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35565
+ id: z.ZodNumber;
35566
+ subject: z.ZodString;
35567
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35568
+ activeForm: z.ZodOptional<z.ZodString>;
35569
+ description: z.ZodOptional<z.ZodString>;
35570
+ owner: z.ZodOptional<z.ZodString>;
35571
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35572
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35573
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
35574
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35575
+ id: z.ZodNumber;
35576
+ subject: z.ZodString;
35577
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35578
+ activeForm: z.ZodOptional<z.ZodString>;
35579
+ description: z.ZodOptional<z.ZodString>;
35580
+ owner: z.ZodOptional<z.ZodString>;
35581
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35582
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35583
+ }, z.ZodTypeAny, "passthrough">>, "many">;
35584
+ /** True when the task cap dropped tasks. */
35585
+ truncated: z.ZodOptional<z.ZodBoolean>;
35586
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
35587
+ agentId: z.ZodString;
35588
+ seq: z.ZodNumber;
35589
+ tasks: z.ZodArray<z.ZodObject<{
35590
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35591
+ id: z.ZodNumber;
35592
+ subject: z.ZodString;
35593
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35594
+ activeForm: z.ZodOptional<z.ZodString>;
35595
+ description: z.ZodOptional<z.ZodString>;
35596
+ owner: z.ZodOptional<z.ZodString>;
35597
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35598
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35599
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
35600
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35601
+ id: z.ZodNumber;
35602
+ subject: z.ZodString;
35603
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35604
+ activeForm: z.ZodOptional<z.ZodString>;
35605
+ description: z.ZodOptional<z.ZodString>;
35606
+ owner: z.ZodOptional<z.ZodString>;
35607
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35608
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35609
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
35610
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35611
+ id: z.ZodNumber;
35612
+ subject: z.ZodString;
35613
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35614
+ activeForm: z.ZodOptional<z.ZodString>;
35615
+ description: z.ZodOptional<z.ZodString>;
35616
+ owner: z.ZodOptional<z.ZodString>;
35617
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35618
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35619
+ }, z.ZodTypeAny, "passthrough">>, "many">;
35620
+ /** True when the task cap dropped tasks. */
35621
+ truncated: z.ZodOptional<z.ZodBoolean>;
35622
+ }, z.ZodTypeAny, "passthrough">>;
32881
35623
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
32882
35624
  type: z.ZodString;
32883
35625
  }, z.ZodTypeAny, "passthrough">;
@@ -33421,6 +36163,14 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
33421
36163
  output?: string | undefined;
33422
36164
  }>]>;
33423
36165
  status: z.ZodOptional<z.ZodString>;
36166
+ /**
36167
+ * Ephemeral in-flight output snapshot (Pi `tool_execution_update`). Producer contract: broadcast
36168
+ * with no `seq`, never appended to the timeline, never replayed from history, and never sent
36169
+ * after the call's terminal event. Consumer contract: upsert by `callId` and let the snapshot
36170
+ * supersede earlier output — never accumulate. Describes the delivery, not the tool call, so a
36171
+ * client must not store it on its row model.
36172
+ */
36173
+ partial: z.ZodOptional<z.ZodBoolean>;
33424
36174
  }, "strip", z.ZodTypeAny, {
33425
36175
  kind: "tool_call";
33426
36176
  callId?: string | undefined;
@@ -33455,6 +36205,7 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
33455
36205
  output?: string | undefined;
33456
36206
  };
33457
36207
  status?: string | undefined;
36208
+ partial?: boolean | undefined;
33458
36209
  }, {
33459
36210
  kind: "tool_call";
33460
36211
  callId?: string | undefined;
@@ -33489,6 +36240,7 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
33489
36240
  output?: string | undefined;
33490
36241
  };
33491
36242
  status?: string | undefined;
36243
+ partial?: boolean | undefined;
33492
36244
  }>, z.ZodObject<{
33493
36245
  kind: z.ZodLiteral<"turn_started">;
33494
36246
  turnId: z.ZodOptional<z.ZodString>;
@@ -33636,6 +36388,7 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
33636
36388
  output?: string | undefined;
33637
36389
  };
33638
36390
  status?: string | undefined;
36391
+ partial?: boolean | undefined;
33639
36392
  } | {
33640
36393
  kind: "turn_started";
33641
36394
  turnId?: string | undefined;
@@ -33723,6 +36476,7 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
33723
36476
  output?: string | undefined;
33724
36477
  };
33725
36478
  status?: string | undefined;
36479
+ partial?: boolean | undefined;
33726
36480
  } | {
33727
36481
  kind: "turn_started";
33728
36482
  turnId?: string | undefined;
@@ -41441,55 +44195,742 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
41441
44195
  }, z.ZodTypeAny, "passthrough">>, "many">;
41442
44196
  error: z.ZodOptional<z.ZodString>;
41443
44197
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
41444
- ok: z.ZodBoolean;
41445
- pending: z.ZodArray<z.ZodObject<{
41446
- requestId: z.ZodString;
41447
- agentId: z.ZodString;
41448
- method: z.ZodString;
41449
- expectsResponse: z.ZodBoolean;
41450
- payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
41451
- surfaceKey: z.ZodOptional<z.ZodString>;
41452
- timeoutMs: z.ZodOptional<z.ZodNumber>;
41453
- createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
41454
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
41455
- requestId: z.ZodString;
41456
- agentId: z.ZodString;
41457
- method: z.ZodString;
41458
- expectsResponse: z.ZodBoolean;
41459
- payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
41460
- surfaceKey: z.ZodOptional<z.ZodString>;
41461
- timeoutMs: z.ZodOptional<z.ZodNumber>;
41462
- createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
41463
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
41464
- requestId: z.ZodString;
41465
- agentId: z.ZodString;
41466
- method: z.ZodString;
41467
- expectsResponse: z.ZodBoolean;
41468
- payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
41469
- surfaceKey: z.ZodOptional<z.ZodString>;
41470
- timeoutMs: z.ZodOptional<z.ZodNumber>;
41471
- createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
44198
+ ok: z.ZodBoolean;
44199
+ pending: z.ZodArray<z.ZodObject<{
44200
+ requestId: z.ZodString;
44201
+ agentId: z.ZodString;
44202
+ method: z.ZodString;
44203
+ expectsResponse: z.ZodBoolean;
44204
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
44205
+ surfaceKey: z.ZodOptional<z.ZodString>;
44206
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
44207
+ createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
44208
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44209
+ requestId: z.ZodString;
44210
+ agentId: z.ZodString;
44211
+ method: z.ZodString;
44212
+ expectsResponse: z.ZodBoolean;
44213
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
44214
+ surfaceKey: z.ZodOptional<z.ZodString>;
44215
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
44216
+ createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
44217
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44218
+ requestId: z.ZodString;
44219
+ agentId: z.ZodString;
44220
+ method: z.ZodString;
44221
+ expectsResponse: z.ZodBoolean;
44222
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
44223
+ surfaceKey: z.ZodOptional<z.ZodString>;
44224
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
44225
+ createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
44226
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44227
+ surfaces: z.ZodArray<z.ZodObject<{
44228
+ agentId: z.ZodString;
44229
+ method: z.ZodString;
44230
+ surfaceKey: z.ZodString;
44231
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
44232
+ updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
44233
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44234
+ agentId: z.ZodString;
44235
+ method: z.ZodString;
44236
+ surfaceKey: z.ZodString;
44237
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
44238
+ updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
44239
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44240
+ agentId: z.ZodString;
44241
+ method: z.ZodString;
44242
+ surfaceKey: z.ZodString;
44243
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
44244
+ updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
44245
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44246
+ error: z.ZodOptional<z.ZodString>;
44247
+ }, z.ZodTypeAny, "passthrough">>;
44248
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
44249
+ type: z.ZodLiteral<"agent_todos_list_request">;
44250
+ requestId: z.ZodString;
44251
+ agentId: z.ZodString;
44252
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44253
+ type: z.ZodLiteral<"agent_todos_list_request">;
44254
+ requestId: z.ZodString;
44255
+ agentId: z.ZodString;
44256
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44257
+ type: z.ZodLiteral<"agent_todos_list_request">;
44258
+ requestId: z.ZodString;
44259
+ agentId: z.ZodString;
44260
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
44261
+ type: z.ZodLiteral<"agent_todos_list_response">;
44262
+ requestId: z.ZodString;
44263
+ snapshot: z.ZodOptional<z.ZodObject<{
44264
+ agentId: z.ZodString;
44265
+ seq: z.ZodNumber;
44266
+ tasks: z.ZodArray<z.ZodObject<{
44267
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44268
+ id: z.ZodNumber;
44269
+ subject: z.ZodString;
44270
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44271
+ activeForm: z.ZodOptional<z.ZodString>;
44272
+ description: z.ZodOptional<z.ZodString>;
44273
+ owner: z.ZodOptional<z.ZodString>;
44274
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44275
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44276
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44277
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44278
+ id: z.ZodNumber;
44279
+ subject: z.ZodString;
44280
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44281
+ activeForm: z.ZodOptional<z.ZodString>;
44282
+ description: z.ZodOptional<z.ZodString>;
44283
+ owner: z.ZodOptional<z.ZodString>;
44284
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44285
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44286
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44287
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44288
+ id: z.ZodNumber;
44289
+ subject: z.ZodString;
44290
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44291
+ activeForm: z.ZodOptional<z.ZodString>;
44292
+ description: z.ZodOptional<z.ZodString>;
44293
+ owner: z.ZodOptional<z.ZodString>;
44294
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44295
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44296
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44297
+ /** True when the task cap dropped tasks. */
44298
+ truncated: z.ZodOptional<z.ZodBoolean>;
44299
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44300
+ agentId: z.ZodString;
44301
+ seq: z.ZodNumber;
44302
+ tasks: z.ZodArray<z.ZodObject<{
44303
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44304
+ id: z.ZodNumber;
44305
+ subject: z.ZodString;
44306
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44307
+ activeForm: z.ZodOptional<z.ZodString>;
44308
+ description: z.ZodOptional<z.ZodString>;
44309
+ owner: z.ZodOptional<z.ZodString>;
44310
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44311
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44312
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44313
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44314
+ id: z.ZodNumber;
44315
+ subject: z.ZodString;
44316
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44317
+ activeForm: z.ZodOptional<z.ZodString>;
44318
+ description: z.ZodOptional<z.ZodString>;
44319
+ owner: z.ZodOptional<z.ZodString>;
44320
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44321
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44322
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44323
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44324
+ id: z.ZodNumber;
44325
+ subject: z.ZodString;
44326
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44327
+ activeForm: z.ZodOptional<z.ZodString>;
44328
+ description: z.ZodOptional<z.ZodString>;
44329
+ owner: z.ZodOptional<z.ZodString>;
44330
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44331
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44332
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44333
+ /** True when the task cap dropped tasks. */
44334
+ truncated: z.ZodOptional<z.ZodBoolean>;
44335
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44336
+ agentId: z.ZodString;
44337
+ seq: z.ZodNumber;
44338
+ tasks: z.ZodArray<z.ZodObject<{
44339
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44340
+ id: z.ZodNumber;
44341
+ subject: z.ZodString;
44342
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44343
+ activeForm: z.ZodOptional<z.ZodString>;
44344
+ description: z.ZodOptional<z.ZodString>;
44345
+ owner: z.ZodOptional<z.ZodString>;
44346
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44347
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44348
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44349
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44350
+ id: z.ZodNumber;
44351
+ subject: z.ZodString;
44352
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44353
+ activeForm: z.ZodOptional<z.ZodString>;
44354
+ description: z.ZodOptional<z.ZodString>;
44355
+ owner: z.ZodOptional<z.ZodString>;
44356
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44357
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44358
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44359
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44360
+ id: z.ZodNumber;
44361
+ subject: z.ZodString;
44362
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44363
+ activeForm: z.ZodOptional<z.ZodString>;
44364
+ description: z.ZodOptional<z.ZodString>;
44365
+ owner: z.ZodOptional<z.ZodString>;
44366
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44367
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
41472
44368
  }, z.ZodTypeAny, "passthrough">>, "many">;
41473
- surfaces: z.ZodArray<z.ZodObject<{
41474
- agentId: z.ZodString;
41475
- method: z.ZodString;
41476
- surfaceKey: z.ZodString;
41477
- payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
41478
- updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
41479
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
41480
- agentId: z.ZodString;
41481
- method: z.ZodString;
41482
- surfaceKey: z.ZodString;
41483
- payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
41484
- updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
41485
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
41486
- agentId: z.ZodString;
41487
- method: z.ZodString;
41488
- surfaceKey: z.ZodString;
41489
- payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
41490
- updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
44369
+ /** True when the task cap dropped tasks. */
44370
+ truncated: z.ZodOptional<z.ZodBoolean>;
44371
+ }, z.ZodTypeAny, "passthrough">>>;
44372
+ ok: z.ZodOptional<z.ZodBoolean>;
44373
+ error: z.ZodOptional<z.ZodString>;
44374
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44375
+ type: z.ZodLiteral<"agent_todos_list_response">;
44376
+ requestId: z.ZodString;
44377
+ snapshot: z.ZodOptional<z.ZodObject<{
44378
+ agentId: z.ZodString;
44379
+ seq: z.ZodNumber;
44380
+ tasks: z.ZodArray<z.ZodObject<{
44381
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44382
+ id: z.ZodNumber;
44383
+ subject: z.ZodString;
44384
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44385
+ activeForm: z.ZodOptional<z.ZodString>;
44386
+ description: z.ZodOptional<z.ZodString>;
44387
+ owner: z.ZodOptional<z.ZodString>;
44388
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44389
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44390
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44391
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44392
+ id: z.ZodNumber;
44393
+ subject: z.ZodString;
44394
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44395
+ activeForm: z.ZodOptional<z.ZodString>;
44396
+ description: z.ZodOptional<z.ZodString>;
44397
+ owner: z.ZodOptional<z.ZodString>;
44398
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44399
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44400
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44401
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44402
+ id: z.ZodNumber;
44403
+ subject: z.ZodString;
44404
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44405
+ activeForm: z.ZodOptional<z.ZodString>;
44406
+ description: z.ZodOptional<z.ZodString>;
44407
+ owner: z.ZodOptional<z.ZodString>;
44408
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44409
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
41491
44410
  }, z.ZodTypeAny, "passthrough">>, "many">;
41492
- error: z.ZodOptional<z.ZodString>;
44411
+ /** True when the task cap dropped tasks. */
44412
+ truncated: z.ZodOptional<z.ZodBoolean>;
44413
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44414
+ agentId: z.ZodString;
44415
+ seq: z.ZodNumber;
44416
+ tasks: z.ZodArray<z.ZodObject<{
44417
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44418
+ id: z.ZodNumber;
44419
+ subject: z.ZodString;
44420
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44421
+ activeForm: z.ZodOptional<z.ZodString>;
44422
+ description: z.ZodOptional<z.ZodString>;
44423
+ owner: z.ZodOptional<z.ZodString>;
44424
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44425
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44426
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44427
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44428
+ id: z.ZodNumber;
44429
+ subject: z.ZodString;
44430
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44431
+ activeForm: z.ZodOptional<z.ZodString>;
44432
+ description: z.ZodOptional<z.ZodString>;
44433
+ owner: z.ZodOptional<z.ZodString>;
44434
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44435
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44436
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44437
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44438
+ id: z.ZodNumber;
44439
+ subject: z.ZodString;
44440
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44441
+ activeForm: z.ZodOptional<z.ZodString>;
44442
+ description: z.ZodOptional<z.ZodString>;
44443
+ owner: z.ZodOptional<z.ZodString>;
44444
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44445
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44446
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44447
+ /** True when the task cap dropped tasks. */
44448
+ truncated: z.ZodOptional<z.ZodBoolean>;
44449
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44450
+ agentId: z.ZodString;
44451
+ seq: z.ZodNumber;
44452
+ tasks: z.ZodArray<z.ZodObject<{
44453
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44454
+ id: z.ZodNumber;
44455
+ subject: z.ZodString;
44456
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44457
+ activeForm: z.ZodOptional<z.ZodString>;
44458
+ description: z.ZodOptional<z.ZodString>;
44459
+ owner: z.ZodOptional<z.ZodString>;
44460
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44461
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44462
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44463
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44464
+ id: z.ZodNumber;
44465
+ subject: z.ZodString;
44466
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44467
+ activeForm: z.ZodOptional<z.ZodString>;
44468
+ description: z.ZodOptional<z.ZodString>;
44469
+ owner: z.ZodOptional<z.ZodString>;
44470
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44471
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44472
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44473
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44474
+ id: z.ZodNumber;
44475
+ subject: z.ZodString;
44476
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44477
+ activeForm: z.ZodOptional<z.ZodString>;
44478
+ description: z.ZodOptional<z.ZodString>;
44479
+ owner: z.ZodOptional<z.ZodString>;
44480
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44481
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44482
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44483
+ /** True when the task cap dropped tasks. */
44484
+ truncated: z.ZodOptional<z.ZodBoolean>;
44485
+ }, z.ZodTypeAny, "passthrough">>>;
44486
+ ok: z.ZodOptional<z.ZodBoolean>;
44487
+ error: z.ZodOptional<z.ZodString>;
44488
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44489
+ type: z.ZodLiteral<"agent_todos_list_response">;
44490
+ requestId: z.ZodString;
44491
+ snapshot: z.ZodOptional<z.ZodObject<{
44492
+ agentId: z.ZodString;
44493
+ seq: z.ZodNumber;
44494
+ tasks: z.ZodArray<z.ZodObject<{
44495
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44496
+ id: z.ZodNumber;
44497
+ subject: z.ZodString;
44498
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44499
+ activeForm: z.ZodOptional<z.ZodString>;
44500
+ description: z.ZodOptional<z.ZodString>;
44501
+ owner: z.ZodOptional<z.ZodString>;
44502
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44503
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44504
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44505
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44506
+ id: z.ZodNumber;
44507
+ subject: z.ZodString;
44508
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44509
+ activeForm: z.ZodOptional<z.ZodString>;
44510
+ description: z.ZodOptional<z.ZodString>;
44511
+ owner: z.ZodOptional<z.ZodString>;
44512
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44513
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44514
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44515
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44516
+ id: z.ZodNumber;
44517
+ subject: z.ZodString;
44518
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44519
+ activeForm: z.ZodOptional<z.ZodString>;
44520
+ description: z.ZodOptional<z.ZodString>;
44521
+ owner: z.ZodOptional<z.ZodString>;
44522
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44523
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44524
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44525
+ /** True when the task cap dropped tasks. */
44526
+ truncated: z.ZodOptional<z.ZodBoolean>;
44527
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44528
+ agentId: z.ZodString;
44529
+ seq: z.ZodNumber;
44530
+ tasks: z.ZodArray<z.ZodObject<{
44531
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44532
+ id: z.ZodNumber;
44533
+ subject: z.ZodString;
44534
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44535
+ activeForm: z.ZodOptional<z.ZodString>;
44536
+ description: z.ZodOptional<z.ZodString>;
44537
+ owner: z.ZodOptional<z.ZodString>;
44538
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44539
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44540
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44541
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44542
+ id: z.ZodNumber;
44543
+ subject: z.ZodString;
44544
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44545
+ activeForm: z.ZodOptional<z.ZodString>;
44546
+ description: z.ZodOptional<z.ZodString>;
44547
+ owner: z.ZodOptional<z.ZodString>;
44548
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44549
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44550
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44551
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44552
+ id: z.ZodNumber;
44553
+ subject: z.ZodString;
44554
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44555
+ activeForm: z.ZodOptional<z.ZodString>;
44556
+ description: z.ZodOptional<z.ZodString>;
44557
+ owner: z.ZodOptional<z.ZodString>;
44558
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44559
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44560
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44561
+ /** True when the task cap dropped tasks. */
44562
+ truncated: z.ZodOptional<z.ZodBoolean>;
44563
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44564
+ agentId: z.ZodString;
44565
+ seq: z.ZodNumber;
44566
+ tasks: z.ZodArray<z.ZodObject<{
44567
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44568
+ id: z.ZodNumber;
44569
+ subject: z.ZodString;
44570
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44571
+ activeForm: z.ZodOptional<z.ZodString>;
44572
+ description: z.ZodOptional<z.ZodString>;
44573
+ owner: z.ZodOptional<z.ZodString>;
44574
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44575
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44576
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44577
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44578
+ id: z.ZodNumber;
44579
+ subject: z.ZodString;
44580
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44581
+ activeForm: z.ZodOptional<z.ZodString>;
44582
+ description: z.ZodOptional<z.ZodString>;
44583
+ owner: z.ZodOptional<z.ZodString>;
44584
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44585
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44586
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44587
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44588
+ id: z.ZodNumber;
44589
+ subject: z.ZodString;
44590
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44591
+ activeForm: z.ZodOptional<z.ZodString>;
44592
+ description: z.ZodOptional<z.ZodString>;
44593
+ owner: z.ZodOptional<z.ZodString>;
44594
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44595
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44596
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44597
+ /** True when the task cap dropped tasks. */
44598
+ truncated: z.ZodOptional<z.ZodBoolean>;
44599
+ }, z.ZodTypeAny, "passthrough">>>;
44600
+ ok: z.ZodOptional<z.ZodBoolean>;
44601
+ error: z.ZodOptional<z.ZodString>;
44602
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
44603
+ type: z.ZodLiteral<"agent_todos_update">;
44604
+ snapshot: z.ZodObject<{
44605
+ agentId: z.ZodString;
44606
+ seq: z.ZodNumber;
44607
+ tasks: z.ZodArray<z.ZodObject<{
44608
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44609
+ id: z.ZodNumber;
44610
+ subject: z.ZodString;
44611
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44612
+ activeForm: z.ZodOptional<z.ZodString>;
44613
+ description: z.ZodOptional<z.ZodString>;
44614
+ owner: z.ZodOptional<z.ZodString>;
44615
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44616
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44617
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44618
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44619
+ id: z.ZodNumber;
44620
+ subject: z.ZodString;
44621
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44622
+ activeForm: z.ZodOptional<z.ZodString>;
44623
+ description: z.ZodOptional<z.ZodString>;
44624
+ owner: z.ZodOptional<z.ZodString>;
44625
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44626
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44627
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44628
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44629
+ id: z.ZodNumber;
44630
+ subject: z.ZodString;
44631
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44632
+ activeForm: z.ZodOptional<z.ZodString>;
44633
+ description: z.ZodOptional<z.ZodString>;
44634
+ owner: z.ZodOptional<z.ZodString>;
44635
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44636
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44637
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44638
+ /** True when the task cap dropped tasks. */
44639
+ truncated: z.ZodOptional<z.ZodBoolean>;
44640
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44641
+ agentId: z.ZodString;
44642
+ seq: z.ZodNumber;
44643
+ tasks: z.ZodArray<z.ZodObject<{
44644
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44645
+ id: z.ZodNumber;
44646
+ subject: z.ZodString;
44647
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44648
+ activeForm: z.ZodOptional<z.ZodString>;
44649
+ description: z.ZodOptional<z.ZodString>;
44650
+ owner: z.ZodOptional<z.ZodString>;
44651
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44652
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44653
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44654
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44655
+ id: z.ZodNumber;
44656
+ subject: z.ZodString;
44657
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44658
+ activeForm: z.ZodOptional<z.ZodString>;
44659
+ description: z.ZodOptional<z.ZodString>;
44660
+ owner: z.ZodOptional<z.ZodString>;
44661
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44662
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44663
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44664
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44665
+ id: z.ZodNumber;
44666
+ subject: z.ZodString;
44667
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44668
+ activeForm: z.ZodOptional<z.ZodString>;
44669
+ description: z.ZodOptional<z.ZodString>;
44670
+ owner: z.ZodOptional<z.ZodString>;
44671
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44672
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44673
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44674
+ /** True when the task cap dropped tasks. */
44675
+ truncated: z.ZodOptional<z.ZodBoolean>;
44676
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44677
+ agentId: z.ZodString;
44678
+ seq: z.ZodNumber;
44679
+ tasks: z.ZodArray<z.ZodObject<{
44680
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44681
+ id: z.ZodNumber;
44682
+ subject: z.ZodString;
44683
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44684
+ activeForm: z.ZodOptional<z.ZodString>;
44685
+ description: z.ZodOptional<z.ZodString>;
44686
+ owner: z.ZodOptional<z.ZodString>;
44687
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44688
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44689
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44690
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44691
+ id: z.ZodNumber;
44692
+ subject: z.ZodString;
44693
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44694
+ activeForm: z.ZodOptional<z.ZodString>;
44695
+ description: z.ZodOptional<z.ZodString>;
44696
+ owner: z.ZodOptional<z.ZodString>;
44697
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44698
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44699
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44700
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44701
+ id: z.ZodNumber;
44702
+ subject: z.ZodString;
44703
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44704
+ activeForm: z.ZodOptional<z.ZodString>;
44705
+ description: z.ZodOptional<z.ZodString>;
44706
+ owner: z.ZodOptional<z.ZodString>;
44707
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44708
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44709
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44710
+ /** True when the task cap dropped tasks. */
44711
+ truncated: z.ZodOptional<z.ZodBoolean>;
44712
+ }, z.ZodTypeAny, "passthrough">>;
44713
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44714
+ type: z.ZodLiteral<"agent_todos_update">;
44715
+ snapshot: z.ZodObject<{
44716
+ agentId: z.ZodString;
44717
+ seq: z.ZodNumber;
44718
+ tasks: z.ZodArray<z.ZodObject<{
44719
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44720
+ id: z.ZodNumber;
44721
+ subject: z.ZodString;
44722
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44723
+ activeForm: z.ZodOptional<z.ZodString>;
44724
+ description: z.ZodOptional<z.ZodString>;
44725
+ owner: z.ZodOptional<z.ZodString>;
44726
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44727
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44728
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44729
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44730
+ id: z.ZodNumber;
44731
+ subject: z.ZodString;
44732
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44733
+ activeForm: z.ZodOptional<z.ZodString>;
44734
+ description: z.ZodOptional<z.ZodString>;
44735
+ owner: z.ZodOptional<z.ZodString>;
44736
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44737
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44738
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44739
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44740
+ id: z.ZodNumber;
44741
+ subject: z.ZodString;
44742
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44743
+ activeForm: z.ZodOptional<z.ZodString>;
44744
+ description: z.ZodOptional<z.ZodString>;
44745
+ owner: z.ZodOptional<z.ZodString>;
44746
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44747
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44748
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44749
+ /** True when the task cap dropped tasks. */
44750
+ truncated: z.ZodOptional<z.ZodBoolean>;
44751
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44752
+ agentId: z.ZodString;
44753
+ seq: z.ZodNumber;
44754
+ tasks: z.ZodArray<z.ZodObject<{
44755
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44756
+ id: z.ZodNumber;
44757
+ subject: z.ZodString;
44758
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44759
+ activeForm: z.ZodOptional<z.ZodString>;
44760
+ description: z.ZodOptional<z.ZodString>;
44761
+ owner: z.ZodOptional<z.ZodString>;
44762
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44763
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44764
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44765
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44766
+ id: z.ZodNumber;
44767
+ subject: z.ZodString;
44768
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44769
+ activeForm: z.ZodOptional<z.ZodString>;
44770
+ description: z.ZodOptional<z.ZodString>;
44771
+ owner: z.ZodOptional<z.ZodString>;
44772
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44773
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44774
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44775
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44776
+ id: z.ZodNumber;
44777
+ subject: z.ZodString;
44778
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44779
+ activeForm: z.ZodOptional<z.ZodString>;
44780
+ description: z.ZodOptional<z.ZodString>;
44781
+ owner: z.ZodOptional<z.ZodString>;
44782
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44783
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44784
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44785
+ /** True when the task cap dropped tasks. */
44786
+ truncated: z.ZodOptional<z.ZodBoolean>;
44787
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44788
+ agentId: z.ZodString;
44789
+ seq: z.ZodNumber;
44790
+ tasks: z.ZodArray<z.ZodObject<{
44791
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44792
+ id: z.ZodNumber;
44793
+ subject: z.ZodString;
44794
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44795
+ activeForm: z.ZodOptional<z.ZodString>;
44796
+ description: z.ZodOptional<z.ZodString>;
44797
+ owner: z.ZodOptional<z.ZodString>;
44798
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44799
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44800
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44801
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44802
+ id: z.ZodNumber;
44803
+ subject: z.ZodString;
44804
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44805
+ activeForm: z.ZodOptional<z.ZodString>;
44806
+ description: z.ZodOptional<z.ZodString>;
44807
+ owner: z.ZodOptional<z.ZodString>;
44808
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44809
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44810
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44811
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44812
+ id: z.ZodNumber;
44813
+ subject: z.ZodString;
44814
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44815
+ activeForm: z.ZodOptional<z.ZodString>;
44816
+ description: z.ZodOptional<z.ZodString>;
44817
+ owner: z.ZodOptional<z.ZodString>;
44818
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44819
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44820
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44821
+ /** True when the task cap dropped tasks. */
44822
+ truncated: z.ZodOptional<z.ZodBoolean>;
44823
+ }, z.ZodTypeAny, "passthrough">>;
44824
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44825
+ type: z.ZodLiteral<"agent_todos_update">;
44826
+ snapshot: z.ZodObject<{
44827
+ agentId: z.ZodString;
44828
+ seq: z.ZodNumber;
44829
+ tasks: z.ZodArray<z.ZodObject<{
44830
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44831
+ id: z.ZodNumber;
44832
+ subject: z.ZodString;
44833
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44834
+ activeForm: z.ZodOptional<z.ZodString>;
44835
+ description: z.ZodOptional<z.ZodString>;
44836
+ owner: z.ZodOptional<z.ZodString>;
44837
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44838
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44839
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44840
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44841
+ id: z.ZodNumber;
44842
+ subject: z.ZodString;
44843
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44844
+ activeForm: z.ZodOptional<z.ZodString>;
44845
+ description: z.ZodOptional<z.ZodString>;
44846
+ owner: z.ZodOptional<z.ZodString>;
44847
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44848
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44849
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44850
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44851
+ id: z.ZodNumber;
44852
+ subject: z.ZodString;
44853
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44854
+ activeForm: z.ZodOptional<z.ZodString>;
44855
+ description: z.ZodOptional<z.ZodString>;
44856
+ owner: z.ZodOptional<z.ZodString>;
44857
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44858
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44859
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44860
+ /** True when the task cap dropped tasks. */
44861
+ truncated: z.ZodOptional<z.ZodBoolean>;
44862
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44863
+ agentId: z.ZodString;
44864
+ seq: z.ZodNumber;
44865
+ tasks: z.ZodArray<z.ZodObject<{
44866
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44867
+ id: z.ZodNumber;
44868
+ subject: z.ZodString;
44869
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44870
+ activeForm: z.ZodOptional<z.ZodString>;
44871
+ description: z.ZodOptional<z.ZodString>;
44872
+ owner: z.ZodOptional<z.ZodString>;
44873
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44874
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44875
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44876
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44877
+ id: z.ZodNumber;
44878
+ subject: z.ZodString;
44879
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44880
+ activeForm: z.ZodOptional<z.ZodString>;
44881
+ description: z.ZodOptional<z.ZodString>;
44882
+ owner: z.ZodOptional<z.ZodString>;
44883
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44884
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44885
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44886
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44887
+ id: z.ZodNumber;
44888
+ subject: z.ZodString;
44889
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44890
+ activeForm: z.ZodOptional<z.ZodString>;
44891
+ description: z.ZodOptional<z.ZodString>;
44892
+ owner: z.ZodOptional<z.ZodString>;
44893
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44894
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44895
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44896
+ /** True when the task cap dropped tasks. */
44897
+ truncated: z.ZodOptional<z.ZodBoolean>;
44898
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44899
+ agentId: z.ZodString;
44900
+ seq: z.ZodNumber;
44901
+ tasks: z.ZodArray<z.ZodObject<{
44902
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44903
+ id: z.ZodNumber;
44904
+ subject: z.ZodString;
44905
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44906
+ activeForm: z.ZodOptional<z.ZodString>;
44907
+ description: z.ZodOptional<z.ZodString>;
44908
+ owner: z.ZodOptional<z.ZodString>;
44909
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44910
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44911
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44912
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44913
+ id: z.ZodNumber;
44914
+ subject: z.ZodString;
44915
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44916
+ activeForm: z.ZodOptional<z.ZodString>;
44917
+ description: z.ZodOptional<z.ZodString>;
44918
+ owner: z.ZodOptional<z.ZodString>;
44919
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44920
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44921
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44922
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44923
+ id: z.ZodNumber;
44924
+ subject: z.ZodString;
44925
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44926
+ activeForm: z.ZodOptional<z.ZodString>;
44927
+ description: z.ZodOptional<z.ZodString>;
44928
+ owner: z.ZodOptional<z.ZodString>;
44929
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44930
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44931
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44932
+ /** True when the task cap dropped tasks. */
44933
+ truncated: z.ZodOptional<z.ZodBoolean>;
41493
44934
  }, z.ZodTypeAny, "passthrough">>;
41494
44935
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
41495
44936
  type: z.ZodLiteral<"rpc_error">;
@@ -41644,6 +45085,7 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
41644
45085
  output?: string | undefined;
41645
45086
  };
41646
45087
  status?: string | undefined;
45088
+ partial?: boolean | undefined;
41647
45089
  } | {
41648
45090
  kind: "turn_started";
41649
45091
  turnId?: string | undefined;
@@ -44238,6 +47680,235 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
44238
47680
  }, z.ZodTypeAny, "passthrough">>, "many">;
44239
47681
  error: z.ZodOptional<z.ZodString>;
44240
47682
  }, z.ZodTypeAny, "passthrough">>;
47683
+ }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
47684
+ type: z.ZodLiteral<"agent_todos_list_request">;
47685
+ requestId: z.ZodString;
47686
+ agentId: z.ZodString;
47687
+ }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
47688
+ type: z.ZodLiteral<"agent_todos_list_response">;
47689
+ requestId: z.ZodString;
47690
+ snapshot: z.ZodOptional<z.ZodObject<{
47691
+ agentId: z.ZodString;
47692
+ seq: z.ZodNumber;
47693
+ tasks: z.ZodArray<z.ZodObject<{
47694
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47695
+ id: z.ZodNumber;
47696
+ subject: z.ZodString;
47697
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47698
+ activeForm: z.ZodOptional<z.ZodString>;
47699
+ description: z.ZodOptional<z.ZodString>;
47700
+ owner: z.ZodOptional<z.ZodString>;
47701
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47702
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47703
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
47704
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47705
+ id: z.ZodNumber;
47706
+ subject: z.ZodString;
47707
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47708
+ activeForm: z.ZodOptional<z.ZodString>;
47709
+ description: z.ZodOptional<z.ZodString>;
47710
+ owner: z.ZodOptional<z.ZodString>;
47711
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47712
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47713
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
47714
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47715
+ id: z.ZodNumber;
47716
+ subject: z.ZodString;
47717
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47718
+ activeForm: z.ZodOptional<z.ZodString>;
47719
+ description: z.ZodOptional<z.ZodString>;
47720
+ owner: z.ZodOptional<z.ZodString>;
47721
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47722
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47723
+ }, z.ZodTypeAny, "passthrough">>, "many">;
47724
+ /** True when the task cap dropped tasks. */
47725
+ truncated: z.ZodOptional<z.ZodBoolean>;
47726
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
47727
+ agentId: z.ZodString;
47728
+ seq: z.ZodNumber;
47729
+ tasks: z.ZodArray<z.ZodObject<{
47730
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47731
+ id: z.ZodNumber;
47732
+ subject: z.ZodString;
47733
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47734
+ activeForm: z.ZodOptional<z.ZodString>;
47735
+ description: z.ZodOptional<z.ZodString>;
47736
+ owner: z.ZodOptional<z.ZodString>;
47737
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47738
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47739
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
47740
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47741
+ id: z.ZodNumber;
47742
+ subject: z.ZodString;
47743
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47744
+ activeForm: z.ZodOptional<z.ZodString>;
47745
+ description: z.ZodOptional<z.ZodString>;
47746
+ owner: z.ZodOptional<z.ZodString>;
47747
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47748
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47749
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
47750
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47751
+ id: z.ZodNumber;
47752
+ subject: z.ZodString;
47753
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47754
+ activeForm: z.ZodOptional<z.ZodString>;
47755
+ description: z.ZodOptional<z.ZodString>;
47756
+ owner: z.ZodOptional<z.ZodString>;
47757
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47758
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47759
+ }, z.ZodTypeAny, "passthrough">>, "many">;
47760
+ /** True when the task cap dropped tasks. */
47761
+ truncated: z.ZodOptional<z.ZodBoolean>;
47762
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
47763
+ agentId: z.ZodString;
47764
+ seq: z.ZodNumber;
47765
+ tasks: z.ZodArray<z.ZodObject<{
47766
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47767
+ id: z.ZodNumber;
47768
+ subject: z.ZodString;
47769
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47770
+ activeForm: z.ZodOptional<z.ZodString>;
47771
+ description: z.ZodOptional<z.ZodString>;
47772
+ owner: z.ZodOptional<z.ZodString>;
47773
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47774
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47775
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
47776
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47777
+ id: z.ZodNumber;
47778
+ subject: z.ZodString;
47779
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47780
+ activeForm: z.ZodOptional<z.ZodString>;
47781
+ description: z.ZodOptional<z.ZodString>;
47782
+ owner: z.ZodOptional<z.ZodString>;
47783
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47784
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47785
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
47786
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47787
+ id: z.ZodNumber;
47788
+ subject: z.ZodString;
47789
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47790
+ activeForm: z.ZodOptional<z.ZodString>;
47791
+ description: z.ZodOptional<z.ZodString>;
47792
+ owner: z.ZodOptional<z.ZodString>;
47793
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47794
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47795
+ }, z.ZodTypeAny, "passthrough">>, "many">;
47796
+ /** True when the task cap dropped tasks. */
47797
+ truncated: z.ZodOptional<z.ZodBoolean>;
47798
+ }, z.ZodTypeAny, "passthrough">>>;
47799
+ ok: z.ZodOptional<z.ZodBoolean>;
47800
+ error: z.ZodOptional<z.ZodString>;
47801
+ }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
47802
+ type: z.ZodLiteral<"agent_todos_update">;
47803
+ snapshot: z.ZodObject<{
47804
+ agentId: z.ZodString;
47805
+ seq: z.ZodNumber;
47806
+ tasks: z.ZodArray<z.ZodObject<{
47807
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47808
+ id: z.ZodNumber;
47809
+ subject: z.ZodString;
47810
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47811
+ activeForm: z.ZodOptional<z.ZodString>;
47812
+ description: z.ZodOptional<z.ZodString>;
47813
+ owner: z.ZodOptional<z.ZodString>;
47814
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47815
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47816
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
47817
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47818
+ id: z.ZodNumber;
47819
+ subject: z.ZodString;
47820
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47821
+ activeForm: z.ZodOptional<z.ZodString>;
47822
+ description: z.ZodOptional<z.ZodString>;
47823
+ owner: z.ZodOptional<z.ZodString>;
47824
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47825
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47826
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
47827
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47828
+ id: z.ZodNumber;
47829
+ subject: z.ZodString;
47830
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47831
+ activeForm: z.ZodOptional<z.ZodString>;
47832
+ description: z.ZodOptional<z.ZodString>;
47833
+ owner: z.ZodOptional<z.ZodString>;
47834
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47835
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47836
+ }, z.ZodTypeAny, "passthrough">>, "many">;
47837
+ /** True when the task cap dropped tasks. */
47838
+ truncated: z.ZodOptional<z.ZodBoolean>;
47839
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
47840
+ agentId: z.ZodString;
47841
+ seq: z.ZodNumber;
47842
+ tasks: z.ZodArray<z.ZodObject<{
47843
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47844
+ id: z.ZodNumber;
47845
+ subject: z.ZodString;
47846
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47847
+ activeForm: z.ZodOptional<z.ZodString>;
47848
+ description: z.ZodOptional<z.ZodString>;
47849
+ owner: z.ZodOptional<z.ZodString>;
47850
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47851
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47852
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
47853
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47854
+ id: z.ZodNumber;
47855
+ subject: z.ZodString;
47856
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47857
+ activeForm: z.ZodOptional<z.ZodString>;
47858
+ description: z.ZodOptional<z.ZodString>;
47859
+ owner: z.ZodOptional<z.ZodString>;
47860
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47861
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47862
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
47863
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47864
+ id: z.ZodNumber;
47865
+ subject: z.ZodString;
47866
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47867
+ activeForm: z.ZodOptional<z.ZodString>;
47868
+ description: z.ZodOptional<z.ZodString>;
47869
+ owner: z.ZodOptional<z.ZodString>;
47870
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47871
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47872
+ }, z.ZodTypeAny, "passthrough">>, "many">;
47873
+ /** True when the task cap dropped tasks. */
47874
+ truncated: z.ZodOptional<z.ZodBoolean>;
47875
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
47876
+ agentId: z.ZodString;
47877
+ seq: z.ZodNumber;
47878
+ tasks: z.ZodArray<z.ZodObject<{
47879
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47880
+ id: z.ZodNumber;
47881
+ subject: z.ZodString;
47882
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47883
+ activeForm: z.ZodOptional<z.ZodString>;
47884
+ description: z.ZodOptional<z.ZodString>;
47885
+ owner: z.ZodOptional<z.ZodString>;
47886
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47887
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47888
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
47889
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47890
+ id: z.ZodNumber;
47891
+ subject: z.ZodString;
47892
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47893
+ activeForm: z.ZodOptional<z.ZodString>;
47894
+ description: z.ZodOptional<z.ZodString>;
47895
+ owner: z.ZodOptional<z.ZodString>;
47896
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47897
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47898
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
47899
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47900
+ id: z.ZodNumber;
47901
+ subject: z.ZodString;
47902
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47903
+ activeForm: z.ZodOptional<z.ZodString>;
47904
+ description: z.ZodOptional<z.ZodString>;
47905
+ owner: z.ZodOptional<z.ZodString>;
47906
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47907
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47908
+ }, z.ZodTypeAny, "passthrough">>, "many">;
47909
+ /** True when the task cap dropped tasks. */
47910
+ truncated: z.ZodOptional<z.ZodBoolean>;
47911
+ }, z.ZodTypeAny, "passthrough">>;
44241
47912
  }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
44242
47913
  type: z.ZodString;
44243
47914
  }, z.ZodTypeAny, "passthrough">;
@@ -44369,6 +48040,7 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
44369
48040
  output?: string | undefined;
44370
48041
  };
44371
48042
  status?: string | undefined;
48043
+ partial?: boolean | undefined;
44372
48044
  } | {
44373
48045
  kind: "turn_started";
44374
48046
  turnId?: string | undefined;
@@ -46963,6 +50635,235 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
46963
50635
  }, z.ZodTypeAny, "passthrough">>, "many">;
46964
50636
  error: z.ZodOptional<z.ZodString>;
46965
50637
  }, z.ZodTypeAny, "passthrough">>;
50638
+ }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
50639
+ type: z.ZodLiteral<"agent_todos_list_request">;
50640
+ requestId: z.ZodString;
50641
+ agentId: z.ZodString;
50642
+ }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
50643
+ type: z.ZodLiteral<"agent_todos_list_response">;
50644
+ requestId: z.ZodString;
50645
+ snapshot: z.ZodOptional<z.ZodObject<{
50646
+ agentId: z.ZodString;
50647
+ seq: z.ZodNumber;
50648
+ tasks: z.ZodArray<z.ZodObject<{
50649
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50650
+ id: z.ZodNumber;
50651
+ subject: z.ZodString;
50652
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50653
+ activeForm: z.ZodOptional<z.ZodString>;
50654
+ description: z.ZodOptional<z.ZodString>;
50655
+ owner: z.ZodOptional<z.ZodString>;
50656
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50657
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50658
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
50659
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50660
+ id: z.ZodNumber;
50661
+ subject: z.ZodString;
50662
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50663
+ activeForm: z.ZodOptional<z.ZodString>;
50664
+ description: z.ZodOptional<z.ZodString>;
50665
+ owner: z.ZodOptional<z.ZodString>;
50666
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50667
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50668
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
50669
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50670
+ id: z.ZodNumber;
50671
+ subject: z.ZodString;
50672
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50673
+ activeForm: z.ZodOptional<z.ZodString>;
50674
+ description: z.ZodOptional<z.ZodString>;
50675
+ owner: z.ZodOptional<z.ZodString>;
50676
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50677
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50678
+ }, z.ZodTypeAny, "passthrough">>, "many">;
50679
+ /** True when the task cap dropped tasks. */
50680
+ truncated: z.ZodOptional<z.ZodBoolean>;
50681
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
50682
+ agentId: z.ZodString;
50683
+ seq: z.ZodNumber;
50684
+ tasks: z.ZodArray<z.ZodObject<{
50685
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50686
+ id: z.ZodNumber;
50687
+ subject: z.ZodString;
50688
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50689
+ activeForm: z.ZodOptional<z.ZodString>;
50690
+ description: z.ZodOptional<z.ZodString>;
50691
+ owner: z.ZodOptional<z.ZodString>;
50692
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50693
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50694
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
50695
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50696
+ id: z.ZodNumber;
50697
+ subject: z.ZodString;
50698
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50699
+ activeForm: z.ZodOptional<z.ZodString>;
50700
+ description: z.ZodOptional<z.ZodString>;
50701
+ owner: z.ZodOptional<z.ZodString>;
50702
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50703
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50704
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
50705
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50706
+ id: z.ZodNumber;
50707
+ subject: z.ZodString;
50708
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50709
+ activeForm: z.ZodOptional<z.ZodString>;
50710
+ description: z.ZodOptional<z.ZodString>;
50711
+ owner: z.ZodOptional<z.ZodString>;
50712
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50713
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50714
+ }, z.ZodTypeAny, "passthrough">>, "many">;
50715
+ /** True when the task cap dropped tasks. */
50716
+ truncated: z.ZodOptional<z.ZodBoolean>;
50717
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
50718
+ agentId: z.ZodString;
50719
+ seq: z.ZodNumber;
50720
+ tasks: z.ZodArray<z.ZodObject<{
50721
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50722
+ id: z.ZodNumber;
50723
+ subject: z.ZodString;
50724
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50725
+ activeForm: z.ZodOptional<z.ZodString>;
50726
+ description: z.ZodOptional<z.ZodString>;
50727
+ owner: z.ZodOptional<z.ZodString>;
50728
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50729
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50730
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
50731
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50732
+ id: z.ZodNumber;
50733
+ subject: z.ZodString;
50734
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50735
+ activeForm: z.ZodOptional<z.ZodString>;
50736
+ description: z.ZodOptional<z.ZodString>;
50737
+ owner: z.ZodOptional<z.ZodString>;
50738
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50739
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50740
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
50741
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50742
+ id: z.ZodNumber;
50743
+ subject: z.ZodString;
50744
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50745
+ activeForm: z.ZodOptional<z.ZodString>;
50746
+ description: z.ZodOptional<z.ZodString>;
50747
+ owner: z.ZodOptional<z.ZodString>;
50748
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50749
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50750
+ }, z.ZodTypeAny, "passthrough">>, "many">;
50751
+ /** True when the task cap dropped tasks. */
50752
+ truncated: z.ZodOptional<z.ZodBoolean>;
50753
+ }, z.ZodTypeAny, "passthrough">>>;
50754
+ ok: z.ZodOptional<z.ZodBoolean>;
50755
+ error: z.ZodOptional<z.ZodString>;
50756
+ }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
50757
+ type: z.ZodLiteral<"agent_todos_update">;
50758
+ snapshot: z.ZodObject<{
50759
+ agentId: z.ZodString;
50760
+ seq: z.ZodNumber;
50761
+ tasks: z.ZodArray<z.ZodObject<{
50762
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50763
+ id: z.ZodNumber;
50764
+ subject: z.ZodString;
50765
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50766
+ activeForm: z.ZodOptional<z.ZodString>;
50767
+ description: z.ZodOptional<z.ZodString>;
50768
+ owner: z.ZodOptional<z.ZodString>;
50769
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50770
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50771
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
50772
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50773
+ id: z.ZodNumber;
50774
+ subject: z.ZodString;
50775
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50776
+ activeForm: z.ZodOptional<z.ZodString>;
50777
+ description: z.ZodOptional<z.ZodString>;
50778
+ owner: z.ZodOptional<z.ZodString>;
50779
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50780
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50781
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
50782
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50783
+ id: z.ZodNumber;
50784
+ subject: z.ZodString;
50785
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50786
+ activeForm: z.ZodOptional<z.ZodString>;
50787
+ description: z.ZodOptional<z.ZodString>;
50788
+ owner: z.ZodOptional<z.ZodString>;
50789
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50790
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50791
+ }, z.ZodTypeAny, "passthrough">>, "many">;
50792
+ /** True when the task cap dropped tasks. */
50793
+ truncated: z.ZodOptional<z.ZodBoolean>;
50794
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
50795
+ agentId: z.ZodString;
50796
+ seq: z.ZodNumber;
50797
+ tasks: z.ZodArray<z.ZodObject<{
50798
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50799
+ id: z.ZodNumber;
50800
+ subject: z.ZodString;
50801
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50802
+ activeForm: z.ZodOptional<z.ZodString>;
50803
+ description: z.ZodOptional<z.ZodString>;
50804
+ owner: z.ZodOptional<z.ZodString>;
50805
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50806
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50807
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
50808
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50809
+ id: z.ZodNumber;
50810
+ subject: z.ZodString;
50811
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50812
+ activeForm: z.ZodOptional<z.ZodString>;
50813
+ description: z.ZodOptional<z.ZodString>;
50814
+ owner: z.ZodOptional<z.ZodString>;
50815
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50816
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50817
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
50818
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50819
+ id: z.ZodNumber;
50820
+ subject: z.ZodString;
50821
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50822
+ activeForm: z.ZodOptional<z.ZodString>;
50823
+ description: z.ZodOptional<z.ZodString>;
50824
+ owner: z.ZodOptional<z.ZodString>;
50825
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50826
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50827
+ }, z.ZodTypeAny, "passthrough">>, "many">;
50828
+ /** True when the task cap dropped tasks. */
50829
+ truncated: z.ZodOptional<z.ZodBoolean>;
50830
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
50831
+ agentId: z.ZodString;
50832
+ seq: z.ZodNumber;
50833
+ tasks: z.ZodArray<z.ZodObject<{
50834
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50835
+ id: z.ZodNumber;
50836
+ subject: z.ZodString;
50837
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50838
+ activeForm: z.ZodOptional<z.ZodString>;
50839
+ description: z.ZodOptional<z.ZodString>;
50840
+ owner: z.ZodOptional<z.ZodString>;
50841
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50842
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50843
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
50844
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50845
+ id: z.ZodNumber;
50846
+ subject: z.ZodString;
50847
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50848
+ activeForm: z.ZodOptional<z.ZodString>;
50849
+ description: z.ZodOptional<z.ZodString>;
50850
+ owner: z.ZodOptional<z.ZodString>;
50851
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50852
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50853
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
50854
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50855
+ id: z.ZodNumber;
50856
+ subject: z.ZodString;
50857
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50858
+ activeForm: z.ZodOptional<z.ZodString>;
50859
+ description: z.ZodOptional<z.ZodString>;
50860
+ owner: z.ZodOptional<z.ZodString>;
50861
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50862
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50863
+ }, z.ZodTypeAny, "passthrough">>, "many">;
50864
+ /** True when the task cap dropped tasks. */
50865
+ truncated: z.ZodOptional<z.ZodBoolean>;
50866
+ }, z.ZodTypeAny, "passthrough">>;
46966
50867
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
46967
50868
  type: z.ZodString;
46968
50869
  }, z.ZodTypeAny, "passthrough">;