@av-pi-studio/protocol 0.0.113 → 0.0.114

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.
@@ -10332,6 +10332,868 @@ export declare const agentUiListResponseSchema: z.ZodObject<{
10332
10332
  }, z.ZodTypeAny, "passthrough">>;
10333
10333
  }, z.ZodTypeAny, "passthrough">>;
10334
10334
  export type AgentUiListResponse = z.infer<typeof agentUiListResponseSchema>;
10335
+ /** `deleted` is never sent: the daemon drops the extension's tombstones. */
10336
+ export declare const agentTodoStatusSchema: z.ZodEnum<["pending", "in_progress", "completed"]>;
10337
+ export type AgentTodoStatus = z.infer<typeof agentTodoStatusSchema>;
10338
+ /**
10339
+ * Hard limits the **daemon** applies before sending (truncating over-long text with `…`, never
10340
+ * rejecting). The schemas below deliberately do not enforce them: a newer daemon may raise a cap
10341
+ * and an older client must still parse the result. Clients read `AGENT_TODOS_MAX_TASKS` for the
10342
+ * "showing the first N" hint.
10343
+ */
10344
+ export declare const AGENT_TODOS_MAX_TASKS = 200;
10345
+ export declare const AGENT_TODO_MAX_SUBJECT_CHARS = 500;
10346
+ export declare const AGENT_TODO_MAX_ACTIVE_FORM_CHARS = 500;
10347
+ export declare const AGENT_TODO_MAX_OWNER_CHARS = 100;
10348
+ export declare const AGENT_TODO_MAX_DESCRIPTION_CHARS = 4000;
10349
+ export declare const AGENT_TODO_MAX_BLOCKED_BY = 50;
10350
+ export declare const agentTodoSchema: z.ZodObject<{
10351
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10352
+ id: z.ZodNumber;
10353
+ subject: z.ZodString;
10354
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10355
+ activeForm: z.ZodOptional<z.ZodString>;
10356
+ description: z.ZodOptional<z.ZodString>;
10357
+ owner: z.ZodOptional<z.ZodString>;
10358
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10359
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10360
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10361
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10362
+ id: z.ZodNumber;
10363
+ subject: z.ZodString;
10364
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10365
+ activeForm: z.ZodOptional<z.ZodString>;
10366
+ description: z.ZodOptional<z.ZodString>;
10367
+ owner: z.ZodOptional<z.ZodString>;
10368
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10369
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10370
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10371
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10372
+ id: z.ZodNumber;
10373
+ subject: z.ZodString;
10374
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10375
+ activeForm: z.ZodOptional<z.ZodString>;
10376
+ description: z.ZodOptional<z.ZodString>;
10377
+ owner: z.ZodOptional<z.ZodString>;
10378
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10379
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10380
+ }, z.ZodTypeAny, "passthrough">>;
10381
+ export type AgentTodo = z.infer<typeof agentTodoSchema>;
10382
+ /**
10383
+ * One agent's whole todo list, last-value-wins. `seq` is strictly increasing per agent within one
10384
+ * daemon process lifetime and restarts at 1 after a daemon restart, so a client resets its
10385
+ * per-agent seq on reconnect and refetches. Empty `tasks` means "no list" (panel hidden).
10386
+ */
10387
+ export declare const agentTodosSnapshotSchema: z.ZodObject<{
10388
+ agentId: z.ZodString;
10389
+ seq: z.ZodNumber;
10390
+ tasks: z.ZodArray<z.ZodObject<{
10391
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10392
+ id: z.ZodNumber;
10393
+ subject: z.ZodString;
10394
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10395
+ activeForm: z.ZodOptional<z.ZodString>;
10396
+ description: z.ZodOptional<z.ZodString>;
10397
+ owner: z.ZodOptional<z.ZodString>;
10398
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10399
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10400
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10401
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10402
+ id: z.ZodNumber;
10403
+ subject: z.ZodString;
10404
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10405
+ activeForm: z.ZodOptional<z.ZodString>;
10406
+ description: z.ZodOptional<z.ZodString>;
10407
+ owner: z.ZodOptional<z.ZodString>;
10408
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10409
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10410
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10411
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10412
+ id: z.ZodNumber;
10413
+ subject: z.ZodString;
10414
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10415
+ activeForm: z.ZodOptional<z.ZodString>;
10416
+ description: z.ZodOptional<z.ZodString>;
10417
+ owner: z.ZodOptional<z.ZodString>;
10418
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10419
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10420
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10421
+ /** True when the task cap dropped tasks. */
10422
+ truncated: z.ZodOptional<z.ZodBoolean>;
10423
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10424
+ agentId: z.ZodString;
10425
+ seq: z.ZodNumber;
10426
+ tasks: z.ZodArray<z.ZodObject<{
10427
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10428
+ id: z.ZodNumber;
10429
+ subject: z.ZodString;
10430
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10431
+ activeForm: z.ZodOptional<z.ZodString>;
10432
+ description: z.ZodOptional<z.ZodString>;
10433
+ owner: z.ZodOptional<z.ZodString>;
10434
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10435
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10436
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10437
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10438
+ id: z.ZodNumber;
10439
+ subject: z.ZodString;
10440
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10441
+ activeForm: z.ZodOptional<z.ZodString>;
10442
+ description: z.ZodOptional<z.ZodString>;
10443
+ owner: z.ZodOptional<z.ZodString>;
10444
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10445
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10446
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10447
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10448
+ id: z.ZodNumber;
10449
+ subject: z.ZodString;
10450
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10451
+ activeForm: z.ZodOptional<z.ZodString>;
10452
+ description: z.ZodOptional<z.ZodString>;
10453
+ owner: z.ZodOptional<z.ZodString>;
10454
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10455
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10456
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10457
+ /** True when the task cap dropped tasks. */
10458
+ truncated: z.ZodOptional<z.ZodBoolean>;
10459
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10460
+ agentId: z.ZodString;
10461
+ seq: z.ZodNumber;
10462
+ tasks: z.ZodArray<z.ZodObject<{
10463
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10464
+ id: z.ZodNumber;
10465
+ subject: z.ZodString;
10466
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10467
+ activeForm: z.ZodOptional<z.ZodString>;
10468
+ description: z.ZodOptional<z.ZodString>;
10469
+ owner: z.ZodOptional<z.ZodString>;
10470
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10471
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10472
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10473
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10474
+ id: z.ZodNumber;
10475
+ subject: z.ZodString;
10476
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10477
+ activeForm: z.ZodOptional<z.ZodString>;
10478
+ description: z.ZodOptional<z.ZodString>;
10479
+ owner: z.ZodOptional<z.ZodString>;
10480
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10481
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10482
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10483
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10484
+ id: z.ZodNumber;
10485
+ subject: z.ZodString;
10486
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10487
+ activeForm: z.ZodOptional<z.ZodString>;
10488
+ description: z.ZodOptional<z.ZodString>;
10489
+ owner: z.ZodOptional<z.ZodString>;
10490
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10491
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10492
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10493
+ /** True when the task cap dropped tasks. */
10494
+ truncated: z.ZodOptional<z.ZodBoolean>;
10495
+ }, z.ZodTypeAny, "passthrough">>;
10496
+ export type AgentTodosSnapshot = z.infer<typeof agentTodosSnapshotSchema>;
10497
+ /** Works for live agents and process-less records. */
10498
+ export declare const agentTodosListRequestSchema: z.ZodObject<{
10499
+ type: z.ZodLiteral<"agent_todos_list_request">;
10500
+ requestId: z.ZodString;
10501
+ agentId: z.ZodString;
10502
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10503
+ type: z.ZodLiteral<"agent_todos_list_request">;
10504
+ requestId: z.ZodString;
10505
+ agentId: z.ZodString;
10506
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10507
+ type: z.ZodLiteral<"agent_todos_list_request">;
10508
+ requestId: z.ZodString;
10509
+ agentId: z.ZodString;
10510
+ }, z.ZodTypeAny, "passthrough">>;
10511
+ export type AgentTodosListRequest = z.infer<typeof agentTodosListRequestSchema>;
10512
+ /**
10513
+ * Success carries `snapshot` (and no `ok`); a refusal carries `ok: false` and an open-string
10514
+ * `error` (`not_found` documented, not enumerated). A failure to read the session never reaches
10515
+ * here as an error: the daemon answers an empty snapshot instead.
10516
+ */
10517
+ export declare const agentTodosListResponseSchema: z.ZodObject<{
10518
+ type: z.ZodLiteral<"agent_todos_list_response">;
10519
+ requestId: z.ZodString;
10520
+ snapshot: z.ZodOptional<z.ZodObject<{
10521
+ agentId: z.ZodString;
10522
+ seq: z.ZodNumber;
10523
+ tasks: z.ZodArray<z.ZodObject<{
10524
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10525
+ id: z.ZodNumber;
10526
+ subject: z.ZodString;
10527
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10528
+ activeForm: z.ZodOptional<z.ZodString>;
10529
+ description: z.ZodOptional<z.ZodString>;
10530
+ owner: z.ZodOptional<z.ZodString>;
10531
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10532
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10533
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10534
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10535
+ id: z.ZodNumber;
10536
+ subject: z.ZodString;
10537
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10538
+ activeForm: z.ZodOptional<z.ZodString>;
10539
+ description: z.ZodOptional<z.ZodString>;
10540
+ owner: z.ZodOptional<z.ZodString>;
10541
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10542
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10543
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10544
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10545
+ id: z.ZodNumber;
10546
+ subject: z.ZodString;
10547
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10548
+ activeForm: z.ZodOptional<z.ZodString>;
10549
+ description: z.ZodOptional<z.ZodString>;
10550
+ owner: z.ZodOptional<z.ZodString>;
10551
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10552
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10553
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10554
+ /** True when the task cap dropped tasks. */
10555
+ truncated: z.ZodOptional<z.ZodBoolean>;
10556
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10557
+ agentId: z.ZodString;
10558
+ seq: z.ZodNumber;
10559
+ tasks: z.ZodArray<z.ZodObject<{
10560
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10561
+ id: z.ZodNumber;
10562
+ subject: z.ZodString;
10563
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10564
+ activeForm: z.ZodOptional<z.ZodString>;
10565
+ description: z.ZodOptional<z.ZodString>;
10566
+ owner: z.ZodOptional<z.ZodString>;
10567
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10568
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10569
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10570
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10571
+ id: z.ZodNumber;
10572
+ subject: z.ZodString;
10573
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10574
+ activeForm: z.ZodOptional<z.ZodString>;
10575
+ description: z.ZodOptional<z.ZodString>;
10576
+ owner: z.ZodOptional<z.ZodString>;
10577
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10578
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10579
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10580
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10581
+ id: z.ZodNumber;
10582
+ subject: z.ZodString;
10583
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10584
+ activeForm: z.ZodOptional<z.ZodString>;
10585
+ description: z.ZodOptional<z.ZodString>;
10586
+ owner: z.ZodOptional<z.ZodString>;
10587
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10588
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10589
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10590
+ /** True when the task cap dropped tasks. */
10591
+ truncated: z.ZodOptional<z.ZodBoolean>;
10592
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10593
+ agentId: z.ZodString;
10594
+ seq: z.ZodNumber;
10595
+ tasks: z.ZodArray<z.ZodObject<{
10596
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10597
+ id: z.ZodNumber;
10598
+ subject: z.ZodString;
10599
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10600
+ activeForm: z.ZodOptional<z.ZodString>;
10601
+ description: z.ZodOptional<z.ZodString>;
10602
+ owner: z.ZodOptional<z.ZodString>;
10603
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10604
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10605
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10606
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10607
+ id: z.ZodNumber;
10608
+ subject: z.ZodString;
10609
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10610
+ activeForm: z.ZodOptional<z.ZodString>;
10611
+ description: z.ZodOptional<z.ZodString>;
10612
+ owner: z.ZodOptional<z.ZodString>;
10613
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10614
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10615
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10616
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10617
+ id: z.ZodNumber;
10618
+ subject: z.ZodString;
10619
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10620
+ activeForm: z.ZodOptional<z.ZodString>;
10621
+ description: z.ZodOptional<z.ZodString>;
10622
+ owner: z.ZodOptional<z.ZodString>;
10623
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10624
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10625
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10626
+ /** True when the task cap dropped tasks. */
10627
+ truncated: z.ZodOptional<z.ZodBoolean>;
10628
+ }, z.ZodTypeAny, "passthrough">>>;
10629
+ ok: z.ZodOptional<z.ZodBoolean>;
10630
+ error: z.ZodOptional<z.ZodString>;
10631
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10632
+ type: z.ZodLiteral<"agent_todos_list_response">;
10633
+ requestId: z.ZodString;
10634
+ snapshot: z.ZodOptional<z.ZodObject<{
10635
+ agentId: z.ZodString;
10636
+ seq: z.ZodNumber;
10637
+ tasks: z.ZodArray<z.ZodObject<{
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
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10648
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10649
+ id: z.ZodNumber;
10650
+ subject: z.ZodString;
10651
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10652
+ activeForm: z.ZodOptional<z.ZodString>;
10653
+ description: z.ZodOptional<z.ZodString>;
10654
+ owner: z.ZodOptional<z.ZodString>;
10655
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10656
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10657
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10658
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10659
+ id: z.ZodNumber;
10660
+ subject: z.ZodString;
10661
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10662
+ activeForm: z.ZodOptional<z.ZodString>;
10663
+ description: z.ZodOptional<z.ZodString>;
10664
+ owner: z.ZodOptional<z.ZodString>;
10665
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10666
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10667
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10668
+ /** True when the task cap dropped tasks. */
10669
+ truncated: z.ZodOptional<z.ZodBoolean>;
10670
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10671
+ agentId: z.ZodString;
10672
+ seq: z.ZodNumber;
10673
+ tasks: z.ZodArray<z.ZodObject<{
10674
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10675
+ id: z.ZodNumber;
10676
+ subject: z.ZodString;
10677
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10678
+ activeForm: z.ZodOptional<z.ZodString>;
10679
+ description: z.ZodOptional<z.ZodString>;
10680
+ owner: z.ZodOptional<z.ZodString>;
10681
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10682
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10683
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10684
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10685
+ id: z.ZodNumber;
10686
+ subject: z.ZodString;
10687
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10688
+ activeForm: z.ZodOptional<z.ZodString>;
10689
+ description: z.ZodOptional<z.ZodString>;
10690
+ owner: z.ZodOptional<z.ZodString>;
10691
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10692
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10693
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10694
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10695
+ id: z.ZodNumber;
10696
+ subject: z.ZodString;
10697
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10698
+ activeForm: z.ZodOptional<z.ZodString>;
10699
+ description: z.ZodOptional<z.ZodString>;
10700
+ owner: z.ZodOptional<z.ZodString>;
10701
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10702
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10703
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10704
+ /** True when the task cap dropped tasks. */
10705
+ truncated: z.ZodOptional<z.ZodBoolean>;
10706
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10707
+ agentId: z.ZodString;
10708
+ seq: z.ZodNumber;
10709
+ tasks: z.ZodArray<z.ZodObject<{
10710
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10711
+ id: z.ZodNumber;
10712
+ subject: z.ZodString;
10713
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10714
+ activeForm: z.ZodOptional<z.ZodString>;
10715
+ description: z.ZodOptional<z.ZodString>;
10716
+ owner: z.ZodOptional<z.ZodString>;
10717
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10718
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10719
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10720
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10721
+ id: z.ZodNumber;
10722
+ subject: z.ZodString;
10723
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10724
+ activeForm: z.ZodOptional<z.ZodString>;
10725
+ description: z.ZodOptional<z.ZodString>;
10726
+ owner: z.ZodOptional<z.ZodString>;
10727
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10728
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10729
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10730
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10731
+ id: z.ZodNumber;
10732
+ subject: z.ZodString;
10733
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10734
+ activeForm: z.ZodOptional<z.ZodString>;
10735
+ description: z.ZodOptional<z.ZodString>;
10736
+ owner: z.ZodOptional<z.ZodString>;
10737
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10738
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10739
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10740
+ /** True when the task cap dropped tasks. */
10741
+ truncated: z.ZodOptional<z.ZodBoolean>;
10742
+ }, z.ZodTypeAny, "passthrough">>>;
10743
+ ok: z.ZodOptional<z.ZodBoolean>;
10744
+ error: z.ZodOptional<z.ZodString>;
10745
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10746
+ type: z.ZodLiteral<"agent_todos_list_response">;
10747
+ requestId: z.ZodString;
10748
+ snapshot: z.ZodOptional<z.ZodObject<{
10749
+ agentId: z.ZodString;
10750
+ seq: z.ZodNumber;
10751
+ tasks: z.ZodArray<z.ZodObject<{
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
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10762
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10763
+ id: z.ZodNumber;
10764
+ subject: z.ZodString;
10765
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10766
+ activeForm: z.ZodOptional<z.ZodString>;
10767
+ description: z.ZodOptional<z.ZodString>;
10768
+ owner: z.ZodOptional<z.ZodString>;
10769
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10770
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10771
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10772
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10773
+ id: z.ZodNumber;
10774
+ subject: z.ZodString;
10775
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10776
+ activeForm: z.ZodOptional<z.ZodString>;
10777
+ description: z.ZodOptional<z.ZodString>;
10778
+ owner: z.ZodOptional<z.ZodString>;
10779
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10780
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10781
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10782
+ /** True when the task cap dropped tasks. */
10783
+ truncated: z.ZodOptional<z.ZodBoolean>;
10784
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10785
+ agentId: z.ZodString;
10786
+ seq: z.ZodNumber;
10787
+ tasks: z.ZodArray<z.ZodObject<{
10788
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10789
+ id: z.ZodNumber;
10790
+ subject: z.ZodString;
10791
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10792
+ activeForm: z.ZodOptional<z.ZodString>;
10793
+ description: z.ZodOptional<z.ZodString>;
10794
+ owner: z.ZodOptional<z.ZodString>;
10795
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10796
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10797
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10798
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10799
+ id: z.ZodNumber;
10800
+ subject: z.ZodString;
10801
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10802
+ activeForm: z.ZodOptional<z.ZodString>;
10803
+ description: z.ZodOptional<z.ZodString>;
10804
+ owner: z.ZodOptional<z.ZodString>;
10805
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10806
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10807
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10808
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10809
+ id: z.ZodNumber;
10810
+ subject: z.ZodString;
10811
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10812
+ activeForm: z.ZodOptional<z.ZodString>;
10813
+ description: z.ZodOptional<z.ZodString>;
10814
+ owner: z.ZodOptional<z.ZodString>;
10815
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10816
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10817
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10818
+ /** True when the task cap dropped tasks. */
10819
+ truncated: z.ZodOptional<z.ZodBoolean>;
10820
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10821
+ agentId: z.ZodString;
10822
+ seq: z.ZodNumber;
10823
+ tasks: z.ZodArray<z.ZodObject<{
10824
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10825
+ id: z.ZodNumber;
10826
+ subject: z.ZodString;
10827
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10828
+ activeForm: z.ZodOptional<z.ZodString>;
10829
+ description: z.ZodOptional<z.ZodString>;
10830
+ owner: z.ZodOptional<z.ZodString>;
10831
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10832
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10833
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10834
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10835
+ id: z.ZodNumber;
10836
+ subject: z.ZodString;
10837
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10838
+ activeForm: z.ZodOptional<z.ZodString>;
10839
+ description: z.ZodOptional<z.ZodString>;
10840
+ owner: z.ZodOptional<z.ZodString>;
10841
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10842
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10843
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10844
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10845
+ id: z.ZodNumber;
10846
+ subject: z.ZodString;
10847
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10848
+ activeForm: z.ZodOptional<z.ZodString>;
10849
+ description: z.ZodOptional<z.ZodString>;
10850
+ owner: z.ZodOptional<z.ZodString>;
10851
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10852
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10853
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10854
+ /** True when the task cap dropped tasks. */
10855
+ truncated: z.ZodOptional<z.ZodBoolean>;
10856
+ }, z.ZodTypeAny, "passthrough">>>;
10857
+ ok: z.ZodOptional<z.ZodBoolean>;
10858
+ error: z.ZodOptional<z.ZodString>;
10859
+ }, z.ZodTypeAny, "passthrough">>;
10860
+ export type AgentTodosListResponse = z.infer<typeof agentTodosListResponseSchema>;
10861
+ /** Broadcast to every active session, no subscribe RPC (same shape as `skills_changed`). */
10862
+ export declare const agentTodosUpdateSchema: z.ZodObject<{
10863
+ type: z.ZodLiteral<"agent_todos_update">;
10864
+ snapshot: z.ZodObject<{
10865
+ agentId: z.ZodString;
10866
+ seq: z.ZodNumber;
10867
+ tasks: z.ZodArray<z.ZodObject<{
10868
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10869
+ id: z.ZodNumber;
10870
+ subject: z.ZodString;
10871
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10872
+ activeForm: z.ZodOptional<z.ZodString>;
10873
+ description: z.ZodOptional<z.ZodString>;
10874
+ owner: z.ZodOptional<z.ZodString>;
10875
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10876
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10877
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10878
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10879
+ id: z.ZodNumber;
10880
+ subject: z.ZodString;
10881
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10882
+ activeForm: z.ZodOptional<z.ZodString>;
10883
+ description: z.ZodOptional<z.ZodString>;
10884
+ owner: z.ZodOptional<z.ZodString>;
10885
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10886
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10887
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10888
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10889
+ id: z.ZodNumber;
10890
+ subject: z.ZodString;
10891
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10892
+ activeForm: z.ZodOptional<z.ZodString>;
10893
+ description: z.ZodOptional<z.ZodString>;
10894
+ owner: z.ZodOptional<z.ZodString>;
10895
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10896
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10897
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10898
+ /** True when the task cap dropped tasks. */
10899
+ truncated: z.ZodOptional<z.ZodBoolean>;
10900
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10901
+ agentId: z.ZodString;
10902
+ seq: z.ZodNumber;
10903
+ tasks: z.ZodArray<z.ZodObject<{
10904
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10905
+ id: z.ZodNumber;
10906
+ subject: z.ZodString;
10907
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10908
+ activeForm: z.ZodOptional<z.ZodString>;
10909
+ description: z.ZodOptional<z.ZodString>;
10910
+ owner: z.ZodOptional<z.ZodString>;
10911
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10912
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10913
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10914
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10915
+ id: z.ZodNumber;
10916
+ subject: z.ZodString;
10917
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10918
+ activeForm: z.ZodOptional<z.ZodString>;
10919
+ description: z.ZodOptional<z.ZodString>;
10920
+ owner: z.ZodOptional<z.ZodString>;
10921
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10922
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10923
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10924
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10925
+ id: z.ZodNumber;
10926
+ subject: z.ZodString;
10927
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10928
+ activeForm: z.ZodOptional<z.ZodString>;
10929
+ description: z.ZodOptional<z.ZodString>;
10930
+ owner: z.ZodOptional<z.ZodString>;
10931
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10932
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10933
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10934
+ /** True when the task cap dropped tasks. */
10935
+ truncated: z.ZodOptional<z.ZodBoolean>;
10936
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10937
+ agentId: z.ZodString;
10938
+ seq: z.ZodNumber;
10939
+ tasks: z.ZodArray<z.ZodObject<{
10940
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10941
+ id: z.ZodNumber;
10942
+ subject: z.ZodString;
10943
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10944
+ activeForm: z.ZodOptional<z.ZodString>;
10945
+ description: z.ZodOptional<z.ZodString>;
10946
+ owner: z.ZodOptional<z.ZodString>;
10947
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10948
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10949
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10950
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10951
+ id: z.ZodNumber;
10952
+ subject: z.ZodString;
10953
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10954
+ activeForm: z.ZodOptional<z.ZodString>;
10955
+ description: z.ZodOptional<z.ZodString>;
10956
+ owner: z.ZodOptional<z.ZodString>;
10957
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10958
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10959
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10960
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10961
+ id: z.ZodNumber;
10962
+ subject: z.ZodString;
10963
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10964
+ activeForm: z.ZodOptional<z.ZodString>;
10965
+ description: z.ZodOptional<z.ZodString>;
10966
+ owner: z.ZodOptional<z.ZodString>;
10967
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10968
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10969
+ }, z.ZodTypeAny, "passthrough">>, "many">;
10970
+ /** True when the task cap dropped tasks. */
10971
+ truncated: z.ZodOptional<z.ZodBoolean>;
10972
+ }, z.ZodTypeAny, "passthrough">>;
10973
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10974
+ type: z.ZodLiteral<"agent_todos_update">;
10975
+ snapshot: z.ZodObject<{
10976
+ agentId: z.ZodString;
10977
+ seq: z.ZodNumber;
10978
+ tasks: z.ZodArray<z.ZodObject<{
10979
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10980
+ id: z.ZodNumber;
10981
+ subject: z.ZodString;
10982
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10983
+ activeForm: z.ZodOptional<z.ZodString>;
10984
+ description: z.ZodOptional<z.ZodString>;
10985
+ owner: z.ZodOptional<z.ZodString>;
10986
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10987
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10988
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10989
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
10990
+ id: z.ZodNumber;
10991
+ subject: z.ZodString;
10992
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
10993
+ activeForm: z.ZodOptional<z.ZodString>;
10994
+ description: z.ZodOptional<z.ZodString>;
10995
+ owner: z.ZodOptional<z.ZodString>;
10996
+ /** Ids this task waits on; may name an id absent from the snapshot. */
10997
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
10998
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10999
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11000
+ id: z.ZodNumber;
11001
+ subject: z.ZodString;
11002
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11003
+ activeForm: z.ZodOptional<z.ZodString>;
11004
+ description: z.ZodOptional<z.ZodString>;
11005
+ owner: z.ZodOptional<z.ZodString>;
11006
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11007
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11008
+ }, z.ZodTypeAny, "passthrough">>, "many">;
11009
+ /** True when the task cap dropped tasks. */
11010
+ truncated: z.ZodOptional<z.ZodBoolean>;
11011
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11012
+ agentId: z.ZodString;
11013
+ seq: z.ZodNumber;
11014
+ tasks: z.ZodArray<z.ZodObject<{
11015
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11016
+ id: z.ZodNumber;
11017
+ subject: z.ZodString;
11018
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11019
+ activeForm: z.ZodOptional<z.ZodString>;
11020
+ description: z.ZodOptional<z.ZodString>;
11021
+ owner: z.ZodOptional<z.ZodString>;
11022
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11023
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11024
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11025
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11026
+ id: z.ZodNumber;
11027
+ subject: z.ZodString;
11028
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11029
+ activeForm: z.ZodOptional<z.ZodString>;
11030
+ description: z.ZodOptional<z.ZodString>;
11031
+ owner: z.ZodOptional<z.ZodString>;
11032
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11033
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11034
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11035
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11036
+ id: z.ZodNumber;
11037
+ subject: z.ZodString;
11038
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11039
+ activeForm: z.ZodOptional<z.ZodString>;
11040
+ description: z.ZodOptional<z.ZodString>;
11041
+ owner: z.ZodOptional<z.ZodString>;
11042
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11043
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11044
+ }, z.ZodTypeAny, "passthrough">>, "many">;
11045
+ /** True when the task cap dropped tasks. */
11046
+ truncated: z.ZodOptional<z.ZodBoolean>;
11047
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11048
+ agentId: z.ZodString;
11049
+ seq: z.ZodNumber;
11050
+ tasks: z.ZodArray<z.ZodObject<{
11051
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11052
+ id: z.ZodNumber;
11053
+ subject: z.ZodString;
11054
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11055
+ activeForm: z.ZodOptional<z.ZodString>;
11056
+ description: z.ZodOptional<z.ZodString>;
11057
+ owner: z.ZodOptional<z.ZodString>;
11058
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11059
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11060
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11061
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11062
+ id: z.ZodNumber;
11063
+ subject: z.ZodString;
11064
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11065
+ activeForm: z.ZodOptional<z.ZodString>;
11066
+ description: z.ZodOptional<z.ZodString>;
11067
+ owner: z.ZodOptional<z.ZodString>;
11068
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11069
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11070
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11071
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11072
+ id: z.ZodNumber;
11073
+ subject: z.ZodString;
11074
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11075
+ activeForm: z.ZodOptional<z.ZodString>;
11076
+ description: z.ZodOptional<z.ZodString>;
11077
+ owner: z.ZodOptional<z.ZodString>;
11078
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11079
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11080
+ }, z.ZodTypeAny, "passthrough">>, "many">;
11081
+ /** True when the task cap dropped tasks. */
11082
+ truncated: z.ZodOptional<z.ZodBoolean>;
11083
+ }, z.ZodTypeAny, "passthrough">>;
11084
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11085
+ type: z.ZodLiteral<"agent_todos_update">;
11086
+ snapshot: z.ZodObject<{
11087
+ agentId: z.ZodString;
11088
+ seq: z.ZodNumber;
11089
+ tasks: z.ZodArray<z.ZodObject<{
11090
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11091
+ id: z.ZodNumber;
11092
+ subject: z.ZodString;
11093
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11094
+ activeForm: z.ZodOptional<z.ZodString>;
11095
+ description: z.ZodOptional<z.ZodString>;
11096
+ owner: z.ZodOptional<z.ZodString>;
11097
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11098
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11099
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11100
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11101
+ id: z.ZodNumber;
11102
+ subject: z.ZodString;
11103
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11104
+ activeForm: z.ZodOptional<z.ZodString>;
11105
+ description: z.ZodOptional<z.ZodString>;
11106
+ owner: z.ZodOptional<z.ZodString>;
11107
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11108
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11109
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11110
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11111
+ id: z.ZodNumber;
11112
+ subject: z.ZodString;
11113
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11114
+ activeForm: z.ZodOptional<z.ZodString>;
11115
+ description: z.ZodOptional<z.ZodString>;
11116
+ owner: z.ZodOptional<z.ZodString>;
11117
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11118
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11119
+ }, z.ZodTypeAny, "passthrough">>, "many">;
11120
+ /** True when the task cap dropped tasks. */
11121
+ truncated: z.ZodOptional<z.ZodBoolean>;
11122
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11123
+ agentId: z.ZodString;
11124
+ seq: z.ZodNumber;
11125
+ tasks: z.ZodArray<z.ZodObject<{
11126
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11127
+ id: z.ZodNumber;
11128
+ subject: z.ZodString;
11129
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11130
+ activeForm: z.ZodOptional<z.ZodString>;
11131
+ description: z.ZodOptional<z.ZodString>;
11132
+ owner: z.ZodOptional<z.ZodString>;
11133
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11134
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11135
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11136
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11137
+ id: z.ZodNumber;
11138
+ subject: z.ZodString;
11139
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11140
+ activeForm: z.ZodOptional<z.ZodString>;
11141
+ description: z.ZodOptional<z.ZodString>;
11142
+ owner: z.ZodOptional<z.ZodString>;
11143
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11144
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11145
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11146
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11147
+ id: z.ZodNumber;
11148
+ subject: z.ZodString;
11149
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11150
+ activeForm: z.ZodOptional<z.ZodString>;
11151
+ description: z.ZodOptional<z.ZodString>;
11152
+ owner: z.ZodOptional<z.ZodString>;
11153
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11154
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11155
+ }, z.ZodTypeAny, "passthrough">>, "many">;
11156
+ /** True when the task cap dropped tasks. */
11157
+ truncated: z.ZodOptional<z.ZodBoolean>;
11158
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11159
+ agentId: z.ZodString;
11160
+ seq: z.ZodNumber;
11161
+ tasks: z.ZodArray<z.ZodObject<{
11162
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11163
+ id: z.ZodNumber;
11164
+ subject: z.ZodString;
11165
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11166
+ activeForm: z.ZodOptional<z.ZodString>;
11167
+ description: z.ZodOptional<z.ZodString>;
11168
+ owner: z.ZodOptional<z.ZodString>;
11169
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11170
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11171
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11172
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11173
+ id: z.ZodNumber;
11174
+ subject: z.ZodString;
11175
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11176
+ activeForm: z.ZodOptional<z.ZodString>;
11177
+ description: z.ZodOptional<z.ZodString>;
11178
+ owner: z.ZodOptional<z.ZodString>;
11179
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11180
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11181
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11182
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
11183
+ id: z.ZodNumber;
11184
+ subject: z.ZodString;
11185
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
11186
+ activeForm: z.ZodOptional<z.ZodString>;
11187
+ description: z.ZodOptional<z.ZodString>;
11188
+ owner: z.ZodOptional<z.ZodString>;
11189
+ /** Ids this task waits on; may name an id absent from the snapshot. */
11190
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11191
+ }, z.ZodTypeAny, "passthrough">>, "many">;
11192
+ /** True when the task cap dropped tasks. */
11193
+ truncated: z.ZodOptional<z.ZodBoolean>;
11194
+ }, z.ZodTypeAny, "passthrough">>;
11195
+ }, z.ZodTypeAny, "passthrough">>;
11196
+ export type AgentTodosUpdate = z.infer<typeof agentTodosUpdateSchema>;
10335
11197
  export declare const rpcErrorSchema: z.ZodObject<{
10336
11198
  type: z.ZodLiteral<"rpc_error">;
10337
11199
  requestId: z.ZodString;
@@ -18861,6 +19723,693 @@ export declare const sessionMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
18861
19723
  }, z.ZodTypeAny, "passthrough">>, "many">;
18862
19724
  error: z.ZodOptional<z.ZodString>;
18863
19725
  }, z.ZodTypeAny, "passthrough">>;
19726
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
19727
+ type: z.ZodLiteral<"agent_todos_list_request">;
19728
+ requestId: z.ZodString;
19729
+ agentId: z.ZodString;
19730
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19731
+ type: z.ZodLiteral<"agent_todos_list_request">;
19732
+ requestId: z.ZodString;
19733
+ agentId: z.ZodString;
19734
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19735
+ type: z.ZodLiteral<"agent_todos_list_request">;
19736
+ requestId: z.ZodString;
19737
+ agentId: z.ZodString;
19738
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
19739
+ type: z.ZodLiteral<"agent_todos_list_response">;
19740
+ requestId: z.ZodString;
19741
+ snapshot: z.ZodOptional<z.ZodObject<{
19742
+ agentId: z.ZodString;
19743
+ seq: z.ZodNumber;
19744
+ tasks: z.ZodArray<z.ZodObject<{
19745
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19746
+ id: z.ZodNumber;
19747
+ subject: z.ZodString;
19748
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19749
+ activeForm: z.ZodOptional<z.ZodString>;
19750
+ description: z.ZodOptional<z.ZodString>;
19751
+ owner: z.ZodOptional<z.ZodString>;
19752
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19753
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19754
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19755
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19756
+ id: z.ZodNumber;
19757
+ subject: z.ZodString;
19758
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19759
+ activeForm: z.ZodOptional<z.ZodString>;
19760
+ description: z.ZodOptional<z.ZodString>;
19761
+ owner: z.ZodOptional<z.ZodString>;
19762
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19763
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19764
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19765
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19766
+ id: z.ZodNumber;
19767
+ subject: z.ZodString;
19768
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19769
+ activeForm: z.ZodOptional<z.ZodString>;
19770
+ description: z.ZodOptional<z.ZodString>;
19771
+ owner: z.ZodOptional<z.ZodString>;
19772
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19773
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19774
+ }, z.ZodTypeAny, "passthrough">>, "many">;
19775
+ /** True when the task cap dropped tasks. */
19776
+ truncated: z.ZodOptional<z.ZodBoolean>;
19777
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19778
+ agentId: z.ZodString;
19779
+ seq: z.ZodNumber;
19780
+ tasks: z.ZodArray<z.ZodObject<{
19781
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19782
+ id: z.ZodNumber;
19783
+ subject: z.ZodString;
19784
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19785
+ activeForm: z.ZodOptional<z.ZodString>;
19786
+ description: z.ZodOptional<z.ZodString>;
19787
+ owner: z.ZodOptional<z.ZodString>;
19788
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19789
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19790
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19791
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19792
+ id: z.ZodNumber;
19793
+ subject: z.ZodString;
19794
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19795
+ activeForm: z.ZodOptional<z.ZodString>;
19796
+ description: z.ZodOptional<z.ZodString>;
19797
+ owner: z.ZodOptional<z.ZodString>;
19798
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19799
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19800
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19801
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19802
+ id: z.ZodNumber;
19803
+ subject: z.ZodString;
19804
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19805
+ activeForm: z.ZodOptional<z.ZodString>;
19806
+ description: z.ZodOptional<z.ZodString>;
19807
+ owner: z.ZodOptional<z.ZodString>;
19808
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19809
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19810
+ }, z.ZodTypeAny, "passthrough">>, "many">;
19811
+ /** True when the task cap dropped tasks. */
19812
+ truncated: z.ZodOptional<z.ZodBoolean>;
19813
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19814
+ agentId: z.ZodString;
19815
+ seq: z.ZodNumber;
19816
+ tasks: z.ZodArray<z.ZodObject<{
19817
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19818
+ id: z.ZodNumber;
19819
+ subject: z.ZodString;
19820
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19821
+ activeForm: z.ZodOptional<z.ZodString>;
19822
+ description: z.ZodOptional<z.ZodString>;
19823
+ owner: z.ZodOptional<z.ZodString>;
19824
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19825
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19826
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19827
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19828
+ id: z.ZodNumber;
19829
+ subject: z.ZodString;
19830
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19831
+ activeForm: z.ZodOptional<z.ZodString>;
19832
+ description: z.ZodOptional<z.ZodString>;
19833
+ owner: z.ZodOptional<z.ZodString>;
19834
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19835
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19836
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19837
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19838
+ id: z.ZodNumber;
19839
+ subject: z.ZodString;
19840
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19841
+ activeForm: z.ZodOptional<z.ZodString>;
19842
+ description: z.ZodOptional<z.ZodString>;
19843
+ owner: z.ZodOptional<z.ZodString>;
19844
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19845
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19846
+ }, z.ZodTypeAny, "passthrough">>, "many">;
19847
+ /** True when the task cap dropped tasks. */
19848
+ truncated: z.ZodOptional<z.ZodBoolean>;
19849
+ }, z.ZodTypeAny, "passthrough">>>;
19850
+ ok: z.ZodOptional<z.ZodBoolean>;
19851
+ error: z.ZodOptional<z.ZodString>;
19852
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19853
+ type: z.ZodLiteral<"agent_todos_list_response">;
19854
+ requestId: z.ZodString;
19855
+ snapshot: z.ZodOptional<z.ZodObject<{
19856
+ agentId: z.ZodString;
19857
+ seq: z.ZodNumber;
19858
+ tasks: z.ZodArray<z.ZodObject<{
19859
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19860
+ id: z.ZodNumber;
19861
+ subject: z.ZodString;
19862
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19863
+ activeForm: z.ZodOptional<z.ZodString>;
19864
+ description: z.ZodOptional<z.ZodString>;
19865
+ owner: z.ZodOptional<z.ZodString>;
19866
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19867
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19868
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19869
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19870
+ id: z.ZodNumber;
19871
+ subject: z.ZodString;
19872
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19873
+ activeForm: z.ZodOptional<z.ZodString>;
19874
+ description: z.ZodOptional<z.ZodString>;
19875
+ owner: z.ZodOptional<z.ZodString>;
19876
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19877
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19878
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19879
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19880
+ id: z.ZodNumber;
19881
+ subject: z.ZodString;
19882
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19883
+ activeForm: z.ZodOptional<z.ZodString>;
19884
+ description: z.ZodOptional<z.ZodString>;
19885
+ owner: z.ZodOptional<z.ZodString>;
19886
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19887
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19888
+ }, z.ZodTypeAny, "passthrough">>, "many">;
19889
+ /** True when the task cap dropped tasks. */
19890
+ truncated: z.ZodOptional<z.ZodBoolean>;
19891
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19892
+ agentId: z.ZodString;
19893
+ seq: z.ZodNumber;
19894
+ tasks: z.ZodArray<z.ZodObject<{
19895
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19896
+ id: z.ZodNumber;
19897
+ subject: z.ZodString;
19898
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19899
+ activeForm: z.ZodOptional<z.ZodString>;
19900
+ description: z.ZodOptional<z.ZodString>;
19901
+ owner: z.ZodOptional<z.ZodString>;
19902
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19903
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19904
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19905
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19906
+ id: z.ZodNumber;
19907
+ subject: z.ZodString;
19908
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19909
+ activeForm: z.ZodOptional<z.ZodString>;
19910
+ description: z.ZodOptional<z.ZodString>;
19911
+ owner: z.ZodOptional<z.ZodString>;
19912
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19913
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19914
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19915
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19916
+ id: z.ZodNumber;
19917
+ subject: z.ZodString;
19918
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19919
+ activeForm: z.ZodOptional<z.ZodString>;
19920
+ description: z.ZodOptional<z.ZodString>;
19921
+ owner: z.ZodOptional<z.ZodString>;
19922
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19923
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19924
+ }, z.ZodTypeAny, "passthrough">>, "many">;
19925
+ /** True when the task cap dropped tasks. */
19926
+ truncated: z.ZodOptional<z.ZodBoolean>;
19927
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19928
+ agentId: z.ZodString;
19929
+ seq: z.ZodNumber;
19930
+ tasks: z.ZodArray<z.ZodObject<{
19931
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19932
+ id: z.ZodNumber;
19933
+ subject: z.ZodString;
19934
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19935
+ activeForm: z.ZodOptional<z.ZodString>;
19936
+ description: z.ZodOptional<z.ZodString>;
19937
+ owner: z.ZodOptional<z.ZodString>;
19938
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19939
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19940
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19941
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19942
+ id: z.ZodNumber;
19943
+ subject: z.ZodString;
19944
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19945
+ activeForm: z.ZodOptional<z.ZodString>;
19946
+ description: z.ZodOptional<z.ZodString>;
19947
+ owner: z.ZodOptional<z.ZodString>;
19948
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19949
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19950
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19951
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19952
+ id: z.ZodNumber;
19953
+ subject: z.ZodString;
19954
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19955
+ activeForm: z.ZodOptional<z.ZodString>;
19956
+ description: z.ZodOptional<z.ZodString>;
19957
+ owner: z.ZodOptional<z.ZodString>;
19958
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19959
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19960
+ }, z.ZodTypeAny, "passthrough">>, "many">;
19961
+ /** True when the task cap dropped tasks. */
19962
+ truncated: z.ZodOptional<z.ZodBoolean>;
19963
+ }, z.ZodTypeAny, "passthrough">>>;
19964
+ ok: z.ZodOptional<z.ZodBoolean>;
19965
+ error: z.ZodOptional<z.ZodString>;
19966
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19967
+ type: z.ZodLiteral<"agent_todos_list_response">;
19968
+ requestId: z.ZodString;
19969
+ snapshot: z.ZodOptional<z.ZodObject<{
19970
+ agentId: z.ZodString;
19971
+ seq: z.ZodNumber;
19972
+ tasks: z.ZodArray<z.ZodObject<{
19973
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19974
+ id: z.ZodNumber;
19975
+ subject: z.ZodString;
19976
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19977
+ activeForm: z.ZodOptional<z.ZodString>;
19978
+ description: z.ZodOptional<z.ZodString>;
19979
+ owner: z.ZodOptional<z.ZodString>;
19980
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19981
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19982
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19983
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19984
+ id: z.ZodNumber;
19985
+ subject: z.ZodString;
19986
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19987
+ activeForm: z.ZodOptional<z.ZodString>;
19988
+ description: z.ZodOptional<z.ZodString>;
19989
+ owner: z.ZodOptional<z.ZodString>;
19990
+ /** Ids this task waits on; may name an id absent from the snapshot. */
19991
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19992
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19993
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
19994
+ id: z.ZodNumber;
19995
+ subject: z.ZodString;
19996
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
19997
+ activeForm: z.ZodOptional<z.ZodString>;
19998
+ description: z.ZodOptional<z.ZodString>;
19999
+ owner: z.ZodOptional<z.ZodString>;
20000
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20001
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20002
+ }, z.ZodTypeAny, "passthrough">>, "many">;
20003
+ /** True when the task cap dropped tasks. */
20004
+ truncated: z.ZodOptional<z.ZodBoolean>;
20005
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20006
+ agentId: z.ZodString;
20007
+ seq: z.ZodNumber;
20008
+ tasks: z.ZodArray<z.ZodObject<{
20009
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20010
+ id: z.ZodNumber;
20011
+ subject: z.ZodString;
20012
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20013
+ activeForm: z.ZodOptional<z.ZodString>;
20014
+ description: z.ZodOptional<z.ZodString>;
20015
+ owner: z.ZodOptional<z.ZodString>;
20016
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20017
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20018
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20019
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20020
+ id: z.ZodNumber;
20021
+ subject: z.ZodString;
20022
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20023
+ activeForm: z.ZodOptional<z.ZodString>;
20024
+ description: z.ZodOptional<z.ZodString>;
20025
+ owner: z.ZodOptional<z.ZodString>;
20026
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20027
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20028
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20029
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20030
+ id: z.ZodNumber;
20031
+ subject: z.ZodString;
20032
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20033
+ activeForm: z.ZodOptional<z.ZodString>;
20034
+ description: z.ZodOptional<z.ZodString>;
20035
+ owner: z.ZodOptional<z.ZodString>;
20036
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20037
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20038
+ }, z.ZodTypeAny, "passthrough">>, "many">;
20039
+ /** True when the task cap dropped tasks. */
20040
+ truncated: z.ZodOptional<z.ZodBoolean>;
20041
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20042
+ agentId: z.ZodString;
20043
+ seq: z.ZodNumber;
20044
+ tasks: z.ZodArray<z.ZodObject<{
20045
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20046
+ id: z.ZodNumber;
20047
+ subject: z.ZodString;
20048
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20049
+ activeForm: z.ZodOptional<z.ZodString>;
20050
+ description: z.ZodOptional<z.ZodString>;
20051
+ owner: z.ZodOptional<z.ZodString>;
20052
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20053
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20054
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20055
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20056
+ id: z.ZodNumber;
20057
+ subject: z.ZodString;
20058
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20059
+ activeForm: z.ZodOptional<z.ZodString>;
20060
+ description: z.ZodOptional<z.ZodString>;
20061
+ owner: z.ZodOptional<z.ZodString>;
20062
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20063
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20064
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20065
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20066
+ id: z.ZodNumber;
20067
+ subject: z.ZodString;
20068
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20069
+ activeForm: z.ZodOptional<z.ZodString>;
20070
+ description: z.ZodOptional<z.ZodString>;
20071
+ owner: z.ZodOptional<z.ZodString>;
20072
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20073
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20074
+ }, z.ZodTypeAny, "passthrough">>, "many">;
20075
+ /** True when the task cap dropped tasks. */
20076
+ truncated: z.ZodOptional<z.ZodBoolean>;
20077
+ }, z.ZodTypeAny, "passthrough">>>;
20078
+ ok: z.ZodOptional<z.ZodBoolean>;
20079
+ error: z.ZodOptional<z.ZodString>;
20080
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
20081
+ type: z.ZodLiteral<"agent_todos_update">;
20082
+ snapshot: z.ZodObject<{
20083
+ agentId: z.ZodString;
20084
+ seq: z.ZodNumber;
20085
+ tasks: z.ZodArray<z.ZodObject<{
20086
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20087
+ id: z.ZodNumber;
20088
+ subject: z.ZodString;
20089
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20090
+ activeForm: z.ZodOptional<z.ZodString>;
20091
+ description: z.ZodOptional<z.ZodString>;
20092
+ owner: z.ZodOptional<z.ZodString>;
20093
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20094
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20095
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20096
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20097
+ id: z.ZodNumber;
20098
+ subject: z.ZodString;
20099
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20100
+ activeForm: z.ZodOptional<z.ZodString>;
20101
+ description: z.ZodOptional<z.ZodString>;
20102
+ owner: z.ZodOptional<z.ZodString>;
20103
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20104
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20105
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20106
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20107
+ id: z.ZodNumber;
20108
+ subject: z.ZodString;
20109
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20110
+ activeForm: z.ZodOptional<z.ZodString>;
20111
+ description: z.ZodOptional<z.ZodString>;
20112
+ owner: z.ZodOptional<z.ZodString>;
20113
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20114
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20115
+ }, z.ZodTypeAny, "passthrough">>, "many">;
20116
+ /** True when the task cap dropped tasks. */
20117
+ truncated: z.ZodOptional<z.ZodBoolean>;
20118
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20119
+ agentId: z.ZodString;
20120
+ seq: z.ZodNumber;
20121
+ tasks: z.ZodArray<z.ZodObject<{
20122
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20123
+ id: z.ZodNumber;
20124
+ subject: z.ZodString;
20125
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20126
+ activeForm: z.ZodOptional<z.ZodString>;
20127
+ description: z.ZodOptional<z.ZodString>;
20128
+ owner: z.ZodOptional<z.ZodString>;
20129
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20130
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20131
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20132
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20133
+ id: z.ZodNumber;
20134
+ subject: z.ZodString;
20135
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20136
+ activeForm: z.ZodOptional<z.ZodString>;
20137
+ description: z.ZodOptional<z.ZodString>;
20138
+ owner: z.ZodOptional<z.ZodString>;
20139
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20140
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20141
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20142
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20143
+ id: z.ZodNumber;
20144
+ subject: z.ZodString;
20145
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20146
+ activeForm: z.ZodOptional<z.ZodString>;
20147
+ description: z.ZodOptional<z.ZodString>;
20148
+ owner: z.ZodOptional<z.ZodString>;
20149
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20150
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20151
+ }, z.ZodTypeAny, "passthrough">>, "many">;
20152
+ /** True when the task cap dropped tasks. */
20153
+ truncated: z.ZodOptional<z.ZodBoolean>;
20154
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20155
+ agentId: z.ZodString;
20156
+ seq: z.ZodNumber;
20157
+ tasks: z.ZodArray<z.ZodObject<{
20158
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20159
+ id: z.ZodNumber;
20160
+ subject: z.ZodString;
20161
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20162
+ activeForm: z.ZodOptional<z.ZodString>;
20163
+ description: z.ZodOptional<z.ZodString>;
20164
+ owner: z.ZodOptional<z.ZodString>;
20165
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20166
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20167
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20168
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20169
+ id: z.ZodNumber;
20170
+ subject: z.ZodString;
20171
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20172
+ activeForm: z.ZodOptional<z.ZodString>;
20173
+ description: z.ZodOptional<z.ZodString>;
20174
+ owner: z.ZodOptional<z.ZodString>;
20175
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20176
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20177
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20178
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20179
+ id: z.ZodNumber;
20180
+ subject: z.ZodString;
20181
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20182
+ activeForm: z.ZodOptional<z.ZodString>;
20183
+ description: z.ZodOptional<z.ZodString>;
20184
+ owner: z.ZodOptional<z.ZodString>;
20185
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20186
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20187
+ }, z.ZodTypeAny, "passthrough">>, "many">;
20188
+ /** True when the task cap dropped tasks. */
20189
+ truncated: z.ZodOptional<z.ZodBoolean>;
20190
+ }, z.ZodTypeAny, "passthrough">>;
20191
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20192
+ type: z.ZodLiteral<"agent_todos_update">;
20193
+ snapshot: z.ZodObject<{
20194
+ agentId: z.ZodString;
20195
+ seq: z.ZodNumber;
20196
+ tasks: z.ZodArray<z.ZodObject<{
20197
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20198
+ id: z.ZodNumber;
20199
+ subject: z.ZodString;
20200
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20201
+ activeForm: z.ZodOptional<z.ZodString>;
20202
+ description: z.ZodOptional<z.ZodString>;
20203
+ owner: z.ZodOptional<z.ZodString>;
20204
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20205
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20206
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20207
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20208
+ id: z.ZodNumber;
20209
+ subject: z.ZodString;
20210
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20211
+ activeForm: z.ZodOptional<z.ZodString>;
20212
+ description: z.ZodOptional<z.ZodString>;
20213
+ owner: z.ZodOptional<z.ZodString>;
20214
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20215
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20216
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20217
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20218
+ id: z.ZodNumber;
20219
+ subject: z.ZodString;
20220
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20221
+ activeForm: z.ZodOptional<z.ZodString>;
20222
+ description: z.ZodOptional<z.ZodString>;
20223
+ owner: z.ZodOptional<z.ZodString>;
20224
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20225
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20226
+ }, z.ZodTypeAny, "passthrough">>, "many">;
20227
+ /** True when the task cap dropped tasks. */
20228
+ truncated: z.ZodOptional<z.ZodBoolean>;
20229
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20230
+ agentId: z.ZodString;
20231
+ seq: z.ZodNumber;
20232
+ tasks: z.ZodArray<z.ZodObject<{
20233
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20234
+ id: z.ZodNumber;
20235
+ subject: z.ZodString;
20236
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20237
+ activeForm: z.ZodOptional<z.ZodString>;
20238
+ description: z.ZodOptional<z.ZodString>;
20239
+ owner: z.ZodOptional<z.ZodString>;
20240
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20241
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20242
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20243
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20244
+ id: z.ZodNumber;
20245
+ subject: z.ZodString;
20246
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20247
+ activeForm: z.ZodOptional<z.ZodString>;
20248
+ description: z.ZodOptional<z.ZodString>;
20249
+ owner: z.ZodOptional<z.ZodString>;
20250
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20251
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20252
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20253
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20254
+ id: z.ZodNumber;
20255
+ subject: z.ZodString;
20256
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20257
+ activeForm: z.ZodOptional<z.ZodString>;
20258
+ description: z.ZodOptional<z.ZodString>;
20259
+ owner: z.ZodOptional<z.ZodString>;
20260
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20261
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20262
+ }, z.ZodTypeAny, "passthrough">>, "many">;
20263
+ /** True when the task cap dropped tasks. */
20264
+ truncated: z.ZodOptional<z.ZodBoolean>;
20265
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20266
+ agentId: z.ZodString;
20267
+ seq: z.ZodNumber;
20268
+ tasks: z.ZodArray<z.ZodObject<{
20269
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20270
+ id: z.ZodNumber;
20271
+ subject: z.ZodString;
20272
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20273
+ activeForm: z.ZodOptional<z.ZodString>;
20274
+ description: z.ZodOptional<z.ZodString>;
20275
+ owner: z.ZodOptional<z.ZodString>;
20276
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20277
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20278
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20279
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20280
+ id: z.ZodNumber;
20281
+ subject: z.ZodString;
20282
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20283
+ activeForm: z.ZodOptional<z.ZodString>;
20284
+ description: z.ZodOptional<z.ZodString>;
20285
+ owner: z.ZodOptional<z.ZodString>;
20286
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20287
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20288
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20289
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20290
+ id: z.ZodNumber;
20291
+ subject: z.ZodString;
20292
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20293
+ activeForm: z.ZodOptional<z.ZodString>;
20294
+ description: z.ZodOptional<z.ZodString>;
20295
+ owner: z.ZodOptional<z.ZodString>;
20296
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20297
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20298
+ }, z.ZodTypeAny, "passthrough">>, "many">;
20299
+ /** True when the task cap dropped tasks. */
20300
+ truncated: z.ZodOptional<z.ZodBoolean>;
20301
+ }, z.ZodTypeAny, "passthrough">>;
20302
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20303
+ type: z.ZodLiteral<"agent_todos_update">;
20304
+ snapshot: z.ZodObject<{
20305
+ agentId: z.ZodString;
20306
+ seq: z.ZodNumber;
20307
+ tasks: z.ZodArray<z.ZodObject<{
20308
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20309
+ id: z.ZodNumber;
20310
+ subject: z.ZodString;
20311
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20312
+ activeForm: z.ZodOptional<z.ZodString>;
20313
+ description: z.ZodOptional<z.ZodString>;
20314
+ owner: z.ZodOptional<z.ZodString>;
20315
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20316
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20317
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20318
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20319
+ id: z.ZodNumber;
20320
+ subject: z.ZodString;
20321
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20322
+ activeForm: z.ZodOptional<z.ZodString>;
20323
+ description: z.ZodOptional<z.ZodString>;
20324
+ owner: z.ZodOptional<z.ZodString>;
20325
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20326
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20327
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20328
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20329
+ id: z.ZodNumber;
20330
+ subject: z.ZodString;
20331
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20332
+ activeForm: z.ZodOptional<z.ZodString>;
20333
+ description: z.ZodOptional<z.ZodString>;
20334
+ owner: z.ZodOptional<z.ZodString>;
20335
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20336
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20337
+ }, z.ZodTypeAny, "passthrough">>, "many">;
20338
+ /** True when the task cap dropped tasks. */
20339
+ truncated: z.ZodOptional<z.ZodBoolean>;
20340
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20341
+ agentId: z.ZodString;
20342
+ seq: z.ZodNumber;
20343
+ tasks: z.ZodArray<z.ZodObject<{
20344
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20345
+ id: z.ZodNumber;
20346
+ subject: z.ZodString;
20347
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20348
+ activeForm: z.ZodOptional<z.ZodString>;
20349
+ description: z.ZodOptional<z.ZodString>;
20350
+ owner: z.ZodOptional<z.ZodString>;
20351
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20352
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20353
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20354
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20355
+ id: z.ZodNumber;
20356
+ subject: z.ZodString;
20357
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20358
+ activeForm: z.ZodOptional<z.ZodString>;
20359
+ description: z.ZodOptional<z.ZodString>;
20360
+ owner: z.ZodOptional<z.ZodString>;
20361
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20362
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20363
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20364
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20365
+ id: z.ZodNumber;
20366
+ subject: z.ZodString;
20367
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20368
+ activeForm: z.ZodOptional<z.ZodString>;
20369
+ description: z.ZodOptional<z.ZodString>;
20370
+ owner: z.ZodOptional<z.ZodString>;
20371
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20372
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20373
+ }, z.ZodTypeAny, "passthrough">>, "many">;
20374
+ /** True when the task cap dropped tasks. */
20375
+ truncated: z.ZodOptional<z.ZodBoolean>;
20376
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20377
+ agentId: z.ZodString;
20378
+ seq: z.ZodNumber;
20379
+ tasks: z.ZodArray<z.ZodObject<{
20380
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20381
+ id: z.ZodNumber;
20382
+ subject: z.ZodString;
20383
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20384
+ activeForm: z.ZodOptional<z.ZodString>;
20385
+ description: z.ZodOptional<z.ZodString>;
20386
+ owner: z.ZodOptional<z.ZodString>;
20387
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20388
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20389
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20390
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20391
+ id: z.ZodNumber;
20392
+ subject: z.ZodString;
20393
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20394
+ activeForm: z.ZodOptional<z.ZodString>;
20395
+ description: z.ZodOptional<z.ZodString>;
20396
+ owner: z.ZodOptional<z.ZodString>;
20397
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20398
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20399
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20400
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
20401
+ id: z.ZodNumber;
20402
+ subject: z.ZodString;
20403
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
20404
+ activeForm: z.ZodOptional<z.ZodString>;
20405
+ description: z.ZodOptional<z.ZodString>;
20406
+ owner: z.ZodOptional<z.ZodString>;
20407
+ /** Ids this task waits on; may name an id absent from the snapshot. */
20408
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
20409
+ }, z.ZodTypeAny, "passthrough">>, "many">;
20410
+ /** True when the task cap dropped tasks. */
20411
+ truncated: z.ZodOptional<z.ZodBoolean>;
20412
+ }, z.ZodTypeAny, "passthrough">>;
18864
20413
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
18865
20414
  type: z.ZodLiteral<"rpc_error">;
18866
20415
  requestId: z.ZodString;
@@ -27406,6 +28955,693 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
27406
28955
  }, z.ZodTypeAny, "passthrough">>, "many">;
27407
28956
  error: z.ZodOptional<z.ZodString>;
27408
28957
  }, z.ZodTypeAny, "passthrough">>;
28958
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
28959
+ type: z.ZodLiteral<"agent_todos_list_request">;
28960
+ requestId: z.ZodString;
28961
+ agentId: z.ZodString;
28962
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
28963
+ type: z.ZodLiteral<"agent_todos_list_request">;
28964
+ requestId: z.ZodString;
28965
+ agentId: z.ZodString;
28966
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
28967
+ type: z.ZodLiteral<"agent_todos_list_request">;
28968
+ requestId: z.ZodString;
28969
+ agentId: z.ZodString;
28970
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
28971
+ type: z.ZodLiteral<"agent_todos_list_response">;
28972
+ requestId: z.ZodString;
28973
+ snapshot: z.ZodOptional<z.ZodObject<{
28974
+ agentId: z.ZodString;
28975
+ seq: z.ZodNumber;
28976
+ tasks: z.ZodArray<z.ZodObject<{
28977
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
28978
+ id: z.ZodNumber;
28979
+ subject: z.ZodString;
28980
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
28981
+ activeForm: z.ZodOptional<z.ZodString>;
28982
+ description: z.ZodOptional<z.ZodString>;
28983
+ owner: z.ZodOptional<z.ZodString>;
28984
+ /** Ids this task waits on; may name an id absent from the snapshot. */
28985
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
28986
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
28987
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
28988
+ id: z.ZodNumber;
28989
+ subject: z.ZodString;
28990
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
28991
+ activeForm: z.ZodOptional<z.ZodString>;
28992
+ description: z.ZodOptional<z.ZodString>;
28993
+ owner: z.ZodOptional<z.ZodString>;
28994
+ /** Ids this task waits on; may name an id absent from the snapshot. */
28995
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
28996
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
28997
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
28998
+ id: z.ZodNumber;
28999
+ subject: z.ZodString;
29000
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29001
+ activeForm: z.ZodOptional<z.ZodString>;
29002
+ description: z.ZodOptional<z.ZodString>;
29003
+ owner: z.ZodOptional<z.ZodString>;
29004
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29005
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29006
+ }, z.ZodTypeAny, "passthrough">>, "many">;
29007
+ /** True when the task cap dropped tasks. */
29008
+ truncated: z.ZodOptional<z.ZodBoolean>;
29009
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29010
+ agentId: z.ZodString;
29011
+ seq: z.ZodNumber;
29012
+ tasks: z.ZodArray<z.ZodObject<{
29013
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29014
+ id: z.ZodNumber;
29015
+ subject: z.ZodString;
29016
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29017
+ activeForm: z.ZodOptional<z.ZodString>;
29018
+ description: z.ZodOptional<z.ZodString>;
29019
+ owner: z.ZodOptional<z.ZodString>;
29020
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29021
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29022
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
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
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
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">>, "many">;
29043
+ /** True when the task cap dropped tasks. */
29044
+ truncated: z.ZodOptional<z.ZodBoolean>;
29045
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29046
+ agentId: z.ZodString;
29047
+ seq: z.ZodNumber;
29048
+ tasks: z.ZodArray<z.ZodObject<{
29049
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29050
+ id: z.ZodNumber;
29051
+ subject: z.ZodString;
29052
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29053
+ activeForm: z.ZodOptional<z.ZodString>;
29054
+ description: z.ZodOptional<z.ZodString>;
29055
+ owner: z.ZodOptional<z.ZodString>;
29056
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29057
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29058
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
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
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
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">>, "many">;
29079
+ /** True when the task cap dropped tasks. */
29080
+ truncated: z.ZodOptional<z.ZodBoolean>;
29081
+ }, z.ZodTypeAny, "passthrough">>>;
29082
+ ok: z.ZodOptional<z.ZodBoolean>;
29083
+ error: z.ZodOptional<z.ZodString>;
29084
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29085
+ type: z.ZodLiteral<"agent_todos_list_response">;
29086
+ requestId: z.ZodString;
29087
+ snapshot: z.ZodOptional<z.ZodObject<{
29088
+ agentId: z.ZodString;
29089
+ seq: z.ZodNumber;
29090
+ tasks: z.ZodArray<z.ZodObject<{
29091
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29092
+ id: z.ZodNumber;
29093
+ subject: z.ZodString;
29094
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29095
+ activeForm: z.ZodOptional<z.ZodString>;
29096
+ description: z.ZodOptional<z.ZodString>;
29097
+ owner: z.ZodOptional<z.ZodString>;
29098
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29099
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29100
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29101
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29102
+ id: z.ZodNumber;
29103
+ subject: z.ZodString;
29104
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29105
+ activeForm: z.ZodOptional<z.ZodString>;
29106
+ description: z.ZodOptional<z.ZodString>;
29107
+ owner: z.ZodOptional<z.ZodString>;
29108
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29109
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29110
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29111
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29112
+ id: z.ZodNumber;
29113
+ subject: z.ZodString;
29114
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29115
+ activeForm: z.ZodOptional<z.ZodString>;
29116
+ description: z.ZodOptional<z.ZodString>;
29117
+ owner: z.ZodOptional<z.ZodString>;
29118
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29119
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29120
+ }, z.ZodTypeAny, "passthrough">>, "many">;
29121
+ /** True when the task cap dropped tasks. */
29122
+ truncated: z.ZodOptional<z.ZodBoolean>;
29123
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29124
+ agentId: z.ZodString;
29125
+ seq: z.ZodNumber;
29126
+ tasks: z.ZodArray<z.ZodObject<{
29127
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29128
+ id: z.ZodNumber;
29129
+ subject: z.ZodString;
29130
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29131
+ activeForm: z.ZodOptional<z.ZodString>;
29132
+ description: z.ZodOptional<z.ZodString>;
29133
+ owner: z.ZodOptional<z.ZodString>;
29134
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29135
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29136
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
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
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
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">>, "many">;
29157
+ /** True when the task cap dropped tasks. */
29158
+ truncated: z.ZodOptional<z.ZodBoolean>;
29159
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29160
+ agentId: z.ZodString;
29161
+ seq: z.ZodNumber;
29162
+ tasks: z.ZodArray<z.ZodObject<{
29163
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29164
+ id: z.ZodNumber;
29165
+ subject: z.ZodString;
29166
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29167
+ activeForm: z.ZodOptional<z.ZodString>;
29168
+ description: z.ZodOptional<z.ZodString>;
29169
+ owner: z.ZodOptional<z.ZodString>;
29170
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29171
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29172
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
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
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
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">>, "many">;
29193
+ /** True when the task cap dropped tasks. */
29194
+ truncated: z.ZodOptional<z.ZodBoolean>;
29195
+ }, z.ZodTypeAny, "passthrough">>>;
29196
+ ok: z.ZodOptional<z.ZodBoolean>;
29197
+ error: z.ZodOptional<z.ZodString>;
29198
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29199
+ type: z.ZodLiteral<"agent_todos_list_response">;
29200
+ requestId: z.ZodString;
29201
+ snapshot: z.ZodOptional<z.ZodObject<{
29202
+ agentId: z.ZodString;
29203
+ seq: z.ZodNumber;
29204
+ tasks: z.ZodArray<z.ZodObject<{
29205
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29206
+ id: z.ZodNumber;
29207
+ subject: z.ZodString;
29208
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29209
+ activeForm: z.ZodOptional<z.ZodString>;
29210
+ description: z.ZodOptional<z.ZodString>;
29211
+ owner: z.ZodOptional<z.ZodString>;
29212
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29213
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29214
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29215
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29216
+ id: z.ZodNumber;
29217
+ subject: z.ZodString;
29218
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29219
+ activeForm: z.ZodOptional<z.ZodString>;
29220
+ description: z.ZodOptional<z.ZodString>;
29221
+ owner: z.ZodOptional<z.ZodString>;
29222
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29223
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29224
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29225
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29226
+ id: z.ZodNumber;
29227
+ subject: z.ZodString;
29228
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29229
+ activeForm: z.ZodOptional<z.ZodString>;
29230
+ description: z.ZodOptional<z.ZodString>;
29231
+ owner: z.ZodOptional<z.ZodString>;
29232
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29233
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29234
+ }, z.ZodTypeAny, "passthrough">>, "many">;
29235
+ /** True when the task cap dropped tasks. */
29236
+ truncated: z.ZodOptional<z.ZodBoolean>;
29237
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29238
+ agentId: z.ZodString;
29239
+ seq: z.ZodNumber;
29240
+ tasks: z.ZodArray<z.ZodObject<{
29241
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29242
+ id: z.ZodNumber;
29243
+ subject: z.ZodString;
29244
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29245
+ activeForm: z.ZodOptional<z.ZodString>;
29246
+ description: z.ZodOptional<z.ZodString>;
29247
+ owner: z.ZodOptional<z.ZodString>;
29248
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29249
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29250
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
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
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
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">>, "many">;
29271
+ /** True when the task cap dropped tasks. */
29272
+ truncated: z.ZodOptional<z.ZodBoolean>;
29273
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29274
+ agentId: z.ZodString;
29275
+ seq: z.ZodNumber;
29276
+ tasks: z.ZodArray<z.ZodObject<{
29277
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29278
+ id: z.ZodNumber;
29279
+ subject: z.ZodString;
29280
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29281
+ activeForm: z.ZodOptional<z.ZodString>;
29282
+ description: z.ZodOptional<z.ZodString>;
29283
+ owner: z.ZodOptional<z.ZodString>;
29284
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29285
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29286
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
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
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
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">>, "many">;
29307
+ /** True when the task cap dropped tasks. */
29308
+ truncated: z.ZodOptional<z.ZodBoolean>;
29309
+ }, z.ZodTypeAny, "passthrough">>>;
29310
+ ok: z.ZodOptional<z.ZodBoolean>;
29311
+ error: z.ZodOptional<z.ZodString>;
29312
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
29313
+ type: z.ZodLiteral<"agent_todos_update">;
29314
+ snapshot: z.ZodObject<{
29315
+ agentId: z.ZodString;
29316
+ seq: z.ZodNumber;
29317
+ tasks: z.ZodArray<z.ZodObject<{
29318
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29319
+ id: z.ZodNumber;
29320
+ subject: z.ZodString;
29321
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29322
+ activeForm: z.ZodOptional<z.ZodString>;
29323
+ description: z.ZodOptional<z.ZodString>;
29324
+ owner: z.ZodOptional<z.ZodString>;
29325
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29326
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29327
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29328
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29329
+ id: z.ZodNumber;
29330
+ subject: z.ZodString;
29331
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29332
+ activeForm: z.ZodOptional<z.ZodString>;
29333
+ description: z.ZodOptional<z.ZodString>;
29334
+ owner: z.ZodOptional<z.ZodString>;
29335
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29336
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29337
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29338
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29339
+ id: z.ZodNumber;
29340
+ subject: z.ZodString;
29341
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29342
+ activeForm: z.ZodOptional<z.ZodString>;
29343
+ description: z.ZodOptional<z.ZodString>;
29344
+ owner: z.ZodOptional<z.ZodString>;
29345
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29346
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29347
+ }, z.ZodTypeAny, "passthrough">>, "many">;
29348
+ /** True when the task cap dropped tasks. */
29349
+ truncated: z.ZodOptional<z.ZodBoolean>;
29350
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29351
+ agentId: z.ZodString;
29352
+ seq: z.ZodNumber;
29353
+ tasks: z.ZodArray<z.ZodObject<{
29354
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29355
+ id: z.ZodNumber;
29356
+ subject: z.ZodString;
29357
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29358
+ activeForm: z.ZodOptional<z.ZodString>;
29359
+ description: z.ZodOptional<z.ZodString>;
29360
+ owner: z.ZodOptional<z.ZodString>;
29361
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29362
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29363
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
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
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
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">>, "many">;
29384
+ /** True when the task cap dropped tasks. */
29385
+ truncated: z.ZodOptional<z.ZodBoolean>;
29386
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29387
+ agentId: z.ZodString;
29388
+ seq: z.ZodNumber;
29389
+ tasks: z.ZodArray<z.ZodObject<{
29390
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29391
+ id: z.ZodNumber;
29392
+ subject: z.ZodString;
29393
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29394
+ activeForm: z.ZodOptional<z.ZodString>;
29395
+ description: z.ZodOptional<z.ZodString>;
29396
+ owner: z.ZodOptional<z.ZodString>;
29397
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29398
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29399
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
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
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
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">>, "many">;
29420
+ /** True when the task cap dropped tasks. */
29421
+ truncated: z.ZodOptional<z.ZodBoolean>;
29422
+ }, z.ZodTypeAny, "passthrough">>;
29423
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29424
+ type: z.ZodLiteral<"agent_todos_update">;
29425
+ snapshot: z.ZodObject<{
29426
+ agentId: z.ZodString;
29427
+ seq: z.ZodNumber;
29428
+ tasks: z.ZodArray<z.ZodObject<{
29429
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29430
+ id: z.ZodNumber;
29431
+ subject: z.ZodString;
29432
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29433
+ activeForm: z.ZodOptional<z.ZodString>;
29434
+ description: z.ZodOptional<z.ZodString>;
29435
+ owner: z.ZodOptional<z.ZodString>;
29436
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29437
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29438
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29439
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29440
+ id: z.ZodNumber;
29441
+ subject: z.ZodString;
29442
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29443
+ activeForm: z.ZodOptional<z.ZodString>;
29444
+ description: z.ZodOptional<z.ZodString>;
29445
+ owner: z.ZodOptional<z.ZodString>;
29446
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29447
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29448
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29449
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29450
+ id: z.ZodNumber;
29451
+ subject: z.ZodString;
29452
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29453
+ activeForm: z.ZodOptional<z.ZodString>;
29454
+ description: z.ZodOptional<z.ZodString>;
29455
+ owner: z.ZodOptional<z.ZodString>;
29456
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29457
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29458
+ }, z.ZodTypeAny, "passthrough">>, "many">;
29459
+ /** True when the task cap dropped tasks. */
29460
+ truncated: z.ZodOptional<z.ZodBoolean>;
29461
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29462
+ agentId: z.ZodString;
29463
+ seq: z.ZodNumber;
29464
+ tasks: z.ZodArray<z.ZodObject<{
29465
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29466
+ id: z.ZodNumber;
29467
+ subject: z.ZodString;
29468
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29469
+ activeForm: z.ZodOptional<z.ZodString>;
29470
+ description: z.ZodOptional<z.ZodString>;
29471
+ owner: z.ZodOptional<z.ZodString>;
29472
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29473
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29474
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
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
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
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">>, "many">;
29495
+ /** True when the task cap dropped tasks. */
29496
+ truncated: z.ZodOptional<z.ZodBoolean>;
29497
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29498
+ agentId: z.ZodString;
29499
+ seq: z.ZodNumber;
29500
+ tasks: z.ZodArray<z.ZodObject<{
29501
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29502
+ id: z.ZodNumber;
29503
+ subject: z.ZodString;
29504
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29505
+ activeForm: z.ZodOptional<z.ZodString>;
29506
+ description: z.ZodOptional<z.ZodString>;
29507
+ owner: z.ZodOptional<z.ZodString>;
29508
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29509
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29510
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
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
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
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">>, "many">;
29531
+ /** True when the task cap dropped tasks. */
29532
+ truncated: z.ZodOptional<z.ZodBoolean>;
29533
+ }, z.ZodTypeAny, "passthrough">>;
29534
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29535
+ type: z.ZodLiteral<"agent_todos_update">;
29536
+ snapshot: z.ZodObject<{
29537
+ agentId: z.ZodString;
29538
+ seq: z.ZodNumber;
29539
+ tasks: z.ZodArray<z.ZodObject<{
29540
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29541
+ id: z.ZodNumber;
29542
+ subject: z.ZodString;
29543
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29544
+ activeForm: z.ZodOptional<z.ZodString>;
29545
+ description: z.ZodOptional<z.ZodString>;
29546
+ owner: z.ZodOptional<z.ZodString>;
29547
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29548
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29549
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29550
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29551
+ id: z.ZodNumber;
29552
+ subject: z.ZodString;
29553
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29554
+ activeForm: z.ZodOptional<z.ZodString>;
29555
+ description: z.ZodOptional<z.ZodString>;
29556
+ owner: z.ZodOptional<z.ZodString>;
29557
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29558
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29559
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29560
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29561
+ id: z.ZodNumber;
29562
+ subject: z.ZodString;
29563
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29564
+ activeForm: z.ZodOptional<z.ZodString>;
29565
+ description: z.ZodOptional<z.ZodString>;
29566
+ owner: z.ZodOptional<z.ZodString>;
29567
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29568
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29569
+ }, z.ZodTypeAny, "passthrough">>, "many">;
29570
+ /** True when the task cap dropped tasks. */
29571
+ truncated: z.ZodOptional<z.ZodBoolean>;
29572
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29573
+ agentId: z.ZodString;
29574
+ seq: z.ZodNumber;
29575
+ tasks: z.ZodArray<z.ZodObject<{
29576
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29577
+ id: z.ZodNumber;
29578
+ subject: z.ZodString;
29579
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29580
+ activeForm: z.ZodOptional<z.ZodString>;
29581
+ description: z.ZodOptional<z.ZodString>;
29582
+ owner: z.ZodOptional<z.ZodString>;
29583
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29584
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29585
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
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
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
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">>, "many">;
29606
+ /** True when the task cap dropped tasks. */
29607
+ truncated: z.ZodOptional<z.ZodBoolean>;
29608
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29609
+ agentId: z.ZodString;
29610
+ seq: z.ZodNumber;
29611
+ tasks: z.ZodArray<z.ZodObject<{
29612
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
29613
+ id: z.ZodNumber;
29614
+ subject: z.ZodString;
29615
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
29616
+ activeForm: z.ZodOptional<z.ZodString>;
29617
+ description: z.ZodOptional<z.ZodString>;
29618
+ owner: z.ZodOptional<z.ZodString>;
29619
+ /** Ids this task waits on; may name an id absent from the snapshot. */
29620
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29621
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
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
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
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">>, "many">;
29642
+ /** True when the task cap dropped tasks. */
29643
+ truncated: z.ZodOptional<z.ZodBoolean>;
29644
+ }, z.ZodTypeAny, "passthrough">>;
27409
29645
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
27410
29646
  type: z.ZodLiteral<"rpc_error">;
27411
29647
  requestId: z.ZodString;
@@ -30153,6 +32389,235 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
30153
32389
  }, z.ZodTypeAny, "passthrough">>, "many">;
30154
32390
  error: z.ZodOptional<z.ZodString>;
30155
32391
  }, z.ZodTypeAny, "passthrough">>;
32392
+ }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
32393
+ type: z.ZodLiteral<"agent_todos_list_request">;
32394
+ requestId: z.ZodString;
32395
+ agentId: z.ZodString;
32396
+ }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
32397
+ type: z.ZodLiteral<"agent_todos_list_response">;
32398
+ requestId: z.ZodString;
32399
+ snapshot: z.ZodOptional<z.ZodObject<{
32400
+ agentId: z.ZodString;
32401
+ seq: z.ZodNumber;
32402
+ tasks: z.ZodArray<z.ZodObject<{
32403
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32404
+ id: z.ZodNumber;
32405
+ subject: z.ZodString;
32406
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32407
+ activeForm: z.ZodOptional<z.ZodString>;
32408
+ description: z.ZodOptional<z.ZodString>;
32409
+ owner: z.ZodOptional<z.ZodString>;
32410
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32411
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32412
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
32413
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32414
+ id: z.ZodNumber;
32415
+ subject: z.ZodString;
32416
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32417
+ activeForm: z.ZodOptional<z.ZodString>;
32418
+ description: z.ZodOptional<z.ZodString>;
32419
+ owner: z.ZodOptional<z.ZodString>;
32420
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32421
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32422
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
32423
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32424
+ id: z.ZodNumber;
32425
+ subject: z.ZodString;
32426
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32427
+ activeForm: z.ZodOptional<z.ZodString>;
32428
+ description: z.ZodOptional<z.ZodString>;
32429
+ owner: z.ZodOptional<z.ZodString>;
32430
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32431
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32432
+ }, z.ZodTypeAny, "passthrough">>, "many">;
32433
+ /** True when the task cap dropped tasks. */
32434
+ truncated: z.ZodOptional<z.ZodBoolean>;
32435
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
32436
+ agentId: z.ZodString;
32437
+ seq: z.ZodNumber;
32438
+ tasks: z.ZodArray<z.ZodObject<{
32439
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32440
+ id: z.ZodNumber;
32441
+ subject: z.ZodString;
32442
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32443
+ activeForm: z.ZodOptional<z.ZodString>;
32444
+ description: z.ZodOptional<z.ZodString>;
32445
+ owner: z.ZodOptional<z.ZodString>;
32446
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32447
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32448
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
32449
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32450
+ id: z.ZodNumber;
32451
+ subject: z.ZodString;
32452
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32453
+ activeForm: z.ZodOptional<z.ZodString>;
32454
+ description: z.ZodOptional<z.ZodString>;
32455
+ owner: z.ZodOptional<z.ZodString>;
32456
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32457
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32458
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
32459
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32460
+ id: z.ZodNumber;
32461
+ subject: z.ZodString;
32462
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32463
+ activeForm: z.ZodOptional<z.ZodString>;
32464
+ description: z.ZodOptional<z.ZodString>;
32465
+ owner: z.ZodOptional<z.ZodString>;
32466
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32467
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32468
+ }, z.ZodTypeAny, "passthrough">>, "many">;
32469
+ /** True when the task cap dropped tasks. */
32470
+ truncated: z.ZodOptional<z.ZodBoolean>;
32471
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
32472
+ agentId: z.ZodString;
32473
+ seq: z.ZodNumber;
32474
+ tasks: z.ZodArray<z.ZodObject<{
32475
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32476
+ id: z.ZodNumber;
32477
+ subject: z.ZodString;
32478
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32479
+ activeForm: z.ZodOptional<z.ZodString>;
32480
+ description: z.ZodOptional<z.ZodString>;
32481
+ owner: z.ZodOptional<z.ZodString>;
32482
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32483
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32484
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
32485
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32486
+ id: z.ZodNumber;
32487
+ subject: z.ZodString;
32488
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32489
+ activeForm: z.ZodOptional<z.ZodString>;
32490
+ description: z.ZodOptional<z.ZodString>;
32491
+ owner: z.ZodOptional<z.ZodString>;
32492
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32493
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32494
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
32495
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32496
+ id: z.ZodNumber;
32497
+ subject: z.ZodString;
32498
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32499
+ activeForm: z.ZodOptional<z.ZodString>;
32500
+ description: z.ZodOptional<z.ZodString>;
32501
+ owner: z.ZodOptional<z.ZodString>;
32502
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32503
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32504
+ }, z.ZodTypeAny, "passthrough">>, "many">;
32505
+ /** True when the task cap dropped tasks. */
32506
+ truncated: z.ZodOptional<z.ZodBoolean>;
32507
+ }, z.ZodTypeAny, "passthrough">>>;
32508
+ ok: z.ZodOptional<z.ZodBoolean>;
32509
+ error: z.ZodOptional<z.ZodString>;
32510
+ }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
32511
+ type: z.ZodLiteral<"agent_todos_update">;
32512
+ snapshot: z.ZodObject<{
32513
+ agentId: z.ZodString;
32514
+ seq: z.ZodNumber;
32515
+ tasks: z.ZodArray<z.ZodObject<{
32516
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32517
+ id: z.ZodNumber;
32518
+ subject: z.ZodString;
32519
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32520
+ activeForm: z.ZodOptional<z.ZodString>;
32521
+ description: z.ZodOptional<z.ZodString>;
32522
+ owner: z.ZodOptional<z.ZodString>;
32523
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32524
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32525
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
32526
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32527
+ id: z.ZodNumber;
32528
+ subject: z.ZodString;
32529
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32530
+ activeForm: z.ZodOptional<z.ZodString>;
32531
+ description: z.ZodOptional<z.ZodString>;
32532
+ owner: z.ZodOptional<z.ZodString>;
32533
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32534
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32535
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
32536
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32537
+ id: z.ZodNumber;
32538
+ subject: z.ZodString;
32539
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32540
+ activeForm: z.ZodOptional<z.ZodString>;
32541
+ description: z.ZodOptional<z.ZodString>;
32542
+ owner: z.ZodOptional<z.ZodString>;
32543
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32544
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32545
+ }, z.ZodTypeAny, "passthrough">>, "many">;
32546
+ /** True when the task cap dropped tasks. */
32547
+ truncated: z.ZodOptional<z.ZodBoolean>;
32548
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
32549
+ agentId: z.ZodString;
32550
+ seq: z.ZodNumber;
32551
+ tasks: z.ZodArray<z.ZodObject<{
32552
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32553
+ id: z.ZodNumber;
32554
+ subject: z.ZodString;
32555
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32556
+ activeForm: z.ZodOptional<z.ZodString>;
32557
+ description: z.ZodOptional<z.ZodString>;
32558
+ owner: z.ZodOptional<z.ZodString>;
32559
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32560
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32561
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
32562
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32563
+ id: z.ZodNumber;
32564
+ subject: z.ZodString;
32565
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32566
+ activeForm: z.ZodOptional<z.ZodString>;
32567
+ description: z.ZodOptional<z.ZodString>;
32568
+ owner: z.ZodOptional<z.ZodString>;
32569
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32570
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32571
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
32572
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32573
+ id: z.ZodNumber;
32574
+ subject: z.ZodString;
32575
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32576
+ activeForm: z.ZodOptional<z.ZodString>;
32577
+ description: z.ZodOptional<z.ZodString>;
32578
+ owner: z.ZodOptional<z.ZodString>;
32579
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32580
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32581
+ }, z.ZodTypeAny, "passthrough">>, "many">;
32582
+ /** True when the task cap dropped tasks. */
32583
+ truncated: z.ZodOptional<z.ZodBoolean>;
32584
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
32585
+ agentId: z.ZodString;
32586
+ seq: z.ZodNumber;
32587
+ tasks: z.ZodArray<z.ZodObject<{
32588
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32589
+ id: z.ZodNumber;
32590
+ subject: z.ZodString;
32591
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32592
+ activeForm: z.ZodOptional<z.ZodString>;
32593
+ description: z.ZodOptional<z.ZodString>;
32594
+ owner: z.ZodOptional<z.ZodString>;
32595
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32596
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32597
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
32598
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32599
+ id: z.ZodNumber;
32600
+ subject: z.ZodString;
32601
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32602
+ activeForm: z.ZodOptional<z.ZodString>;
32603
+ description: z.ZodOptional<z.ZodString>;
32604
+ owner: z.ZodOptional<z.ZodString>;
32605
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32606
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32607
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
32608
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
32609
+ id: z.ZodNumber;
32610
+ subject: z.ZodString;
32611
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
32612
+ activeForm: z.ZodOptional<z.ZodString>;
32613
+ description: z.ZodOptional<z.ZodString>;
32614
+ owner: z.ZodOptional<z.ZodString>;
32615
+ /** Ids this task waits on; may name an id absent from the snapshot. */
32616
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32617
+ }, z.ZodTypeAny, "passthrough">>, "many">;
32618
+ /** True when the task cap dropped tasks. */
32619
+ truncated: z.ZodOptional<z.ZodBoolean>;
32620
+ }, z.ZodTypeAny, "passthrough">>;
30156
32621
  }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
30157
32622
  type: z.ZodString;
30158
32623
  }, z.ZodTypeAny, "passthrough">;
@@ -32878,6 +35343,235 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
32878
35343
  }, z.ZodTypeAny, "passthrough">>, "many">;
32879
35344
  error: z.ZodOptional<z.ZodString>;
32880
35345
  }, z.ZodTypeAny, "passthrough">>;
35346
+ }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
35347
+ type: z.ZodLiteral<"agent_todos_list_request">;
35348
+ requestId: z.ZodString;
35349
+ agentId: z.ZodString;
35350
+ }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
35351
+ type: z.ZodLiteral<"agent_todos_list_response">;
35352
+ requestId: z.ZodString;
35353
+ snapshot: z.ZodOptional<z.ZodObject<{
35354
+ agentId: z.ZodString;
35355
+ seq: z.ZodNumber;
35356
+ tasks: z.ZodArray<z.ZodObject<{
35357
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35358
+ id: z.ZodNumber;
35359
+ subject: z.ZodString;
35360
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35361
+ activeForm: z.ZodOptional<z.ZodString>;
35362
+ description: z.ZodOptional<z.ZodString>;
35363
+ owner: z.ZodOptional<z.ZodString>;
35364
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35365
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35366
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
35367
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35368
+ id: z.ZodNumber;
35369
+ subject: z.ZodString;
35370
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35371
+ activeForm: z.ZodOptional<z.ZodString>;
35372
+ description: z.ZodOptional<z.ZodString>;
35373
+ owner: z.ZodOptional<z.ZodString>;
35374
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35375
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35376
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
35377
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35378
+ id: z.ZodNumber;
35379
+ subject: z.ZodString;
35380
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35381
+ activeForm: z.ZodOptional<z.ZodString>;
35382
+ description: z.ZodOptional<z.ZodString>;
35383
+ owner: z.ZodOptional<z.ZodString>;
35384
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35385
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35386
+ }, z.ZodTypeAny, "passthrough">>, "many">;
35387
+ /** True when the task cap dropped tasks. */
35388
+ truncated: z.ZodOptional<z.ZodBoolean>;
35389
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
35390
+ agentId: z.ZodString;
35391
+ seq: z.ZodNumber;
35392
+ tasks: z.ZodArray<z.ZodObject<{
35393
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35394
+ id: z.ZodNumber;
35395
+ subject: z.ZodString;
35396
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35397
+ activeForm: z.ZodOptional<z.ZodString>;
35398
+ description: z.ZodOptional<z.ZodString>;
35399
+ owner: z.ZodOptional<z.ZodString>;
35400
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35401
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35402
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
35403
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35404
+ id: z.ZodNumber;
35405
+ subject: z.ZodString;
35406
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35407
+ activeForm: z.ZodOptional<z.ZodString>;
35408
+ description: z.ZodOptional<z.ZodString>;
35409
+ owner: z.ZodOptional<z.ZodString>;
35410
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35411
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35412
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
35413
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35414
+ id: z.ZodNumber;
35415
+ subject: z.ZodString;
35416
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35417
+ activeForm: z.ZodOptional<z.ZodString>;
35418
+ description: z.ZodOptional<z.ZodString>;
35419
+ owner: z.ZodOptional<z.ZodString>;
35420
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35421
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35422
+ }, z.ZodTypeAny, "passthrough">>, "many">;
35423
+ /** True when the task cap dropped tasks. */
35424
+ truncated: z.ZodOptional<z.ZodBoolean>;
35425
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
35426
+ agentId: z.ZodString;
35427
+ seq: z.ZodNumber;
35428
+ tasks: z.ZodArray<z.ZodObject<{
35429
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35430
+ id: z.ZodNumber;
35431
+ subject: z.ZodString;
35432
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35433
+ activeForm: z.ZodOptional<z.ZodString>;
35434
+ description: z.ZodOptional<z.ZodString>;
35435
+ owner: z.ZodOptional<z.ZodString>;
35436
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35437
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35438
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
35439
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35440
+ id: z.ZodNumber;
35441
+ subject: z.ZodString;
35442
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35443
+ activeForm: z.ZodOptional<z.ZodString>;
35444
+ description: z.ZodOptional<z.ZodString>;
35445
+ owner: z.ZodOptional<z.ZodString>;
35446
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35447
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35448
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
35449
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35450
+ id: z.ZodNumber;
35451
+ subject: z.ZodString;
35452
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35453
+ activeForm: z.ZodOptional<z.ZodString>;
35454
+ description: z.ZodOptional<z.ZodString>;
35455
+ owner: z.ZodOptional<z.ZodString>;
35456
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35457
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35458
+ }, z.ZodTypeAny, "passthrough">>, "many">;
35459
+ /** True when the task cap dropped tasks. */
35460
+ truncated: z.ZodOptional<z.ZodBoolean>;
35461
+ }, z.ZodTypeAny, "passthrough">>>;
35462
+ ok: z.ZodOptional<z.ZodBoolean>;
35463
+ error: z.ZodOptional<z.ZodString>;
35464
+ }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
35465
+ type: z.ZodLiteral<"agent_todos_update">;
35466
+ snapshot: z.ZodObject<{
35467
+ agentId: z.ZodString;
35468
+ seq: z.ZodNumber;
35469
+ tasks: z.ZodArray<z.ZodObject<{
35470
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35471
+ id: z.ZodNumber;
35472
+ subject: z.ZodString;
35473
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35474
+ activeForm: z.ZodOptional<z.ZodString>;
35475
+ description: z.ZodOptional<z.ZodString>;
35476
+ owner: z.ZodOptional<z.ZodString>;
35477
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35478
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35479
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
35480
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35481
+ id: z.ZodNumber;
35482
+ subject: z.ZodString;
35483
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35484
+ activeForm: z.ZodOptional<z.ZodString>;
35485
+ description: z.ZodOptional<z.ZodString>;
35486
+ owner: z.ZodOptional<z.ZodString>;
35487
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35488
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35489
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
35490
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35491
+ id: z.ZodNumber;
35492
+ subject: z.ZodString;
35493
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35494
+ activeForm: z.ZodOptional<z.ZodString>;
35495
+ description: z.ZodOptional<z.ZodString>;
35496
+ owner: z.ZodOptional<z.ZodString>;
35497
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35498
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35499
+ }, z.ZodTypeAny, "passthrough">>, "many">;
35500
+ /** True when the task cap dropped tasks. */
35501
+ truncated: z.ZodOptional<z.ZodBoolean>;
35502
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
35503
+ agentId: z.ZodString;
35504
+ seq: z.ZodNumber;
35505
+ tasks: z.ZodArray<z.ZodObject<{
35506
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35507
+ id: z.ZodNumber;
35508
+ subject: z.ZodString;
35509
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35510
+ activeForm: z.ZodOptional<z.ZodString>;
35511
+ description: z.ZodOptional<z.ZodString>;
35512
+ owner: z.ZodOptional<z.ZodString>;
35513
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35514
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35515
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
35516
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35517
+ id: z.ZodNumber;
35518
+ subject: z.ZodString;
35519
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35520
+ activeForm: z.ZodOptional<z.ZodString>;
35521
+ description: z.ZodOptional<z.ZodString>;
35522
+ owner: z.ZodOptional<z.ZodString>;
35523
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35524
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35525
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
35526
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35527
+ id: z.ZodNumber;
35528
+ subject: z.ZodString;
35529
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35530
+ activeForm: z.ZodOptional<z.ZodString>;
35531
+ description: z.ZodOptional<z.ZodString>;
35532
+ owner: z.ZodOptional<z.ZodString>;
35533
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35534
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35535
+ }, z.ZodTypeAny, "passthrough">>, "many">;
35536
+ /** True when the task cap dropped tasks. */
35537
+ truncated: z.ZodOptional<z.ZodBoolean>;
35538
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
35539
+ agentId: z.ZodString;
35540
+ seq: z.ZodNumber;
35541
+ tasks: z.ZodArray<z.ZodObject<{
35542
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35543
+ id: z.ZodNumber;
35544
+ subject: z.ZodString;
35545
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35546
+ activeForm: z.ZodOptional<z.ZodString>;
35547
+ description: z.ZodOptional<z.ZodString>;
35548
+ owner: z.ZodOptional<z.ZodString>;
35549
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35550
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35551
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
35552
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35553
+ id: z.ZodNumber;
35554
+ subject: z.ZodString;
35555
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35556
+ activeForm: z.ZodOptional<z.ZodString>;
35557
+ description: z.ZodOptional<z.ZodString>;
35558
+ owner: z.ZodOptional<z.ZodString>;
35559
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35560
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35561
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
35562
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
35563
+ id: z.ZodNumber;
35564
+ subject: z.ZodString;
35565
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
35566
+ activeForm: z.ZodOptional<z.ZodString>;
35567
+ description: z.ZodOptional<z.ZodString>;
35568
+ owner: z.ZodOptional<z.ZodString>;
35569
+ /** Ids this task waits on; may name an id absent from the snapshot. */
35570
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
35571
+ }, z.ZodTypeAny, "passthrough">>, "many">;
35572
+ /** True when the task cap dropped tasks. */
35573
+ truncated: z.ZodOptional<z.ZodBoolean>;
35574
+ }, z.ZodTypeAny, "passthrough">>;
32881
35575
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
32882
35576
  type: z.ZodString;
32883
35577
  }, z.ZodTypeAny, "passthrough">;
@@ -41491,6 +44185,693 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
41491
44185
  }, z.ZodTypeAny, "passthrough">>, "many">;
41492
44186
  error: z.ZodOptional<z.ZodString>;
41493
44187
  }, z.ZodTypeAny, "passthrough">>;
44188
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
44189
+ type: z.ZodLiteral<"agent_todos_list_request">;
44190
+ requestId: z.ZodString;
44191
+ agentId: z.ZodString;
44192
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44193
+ type: z.ZodLiteral<"agent_todos_list_request">;
44194
+ requestId: z.ZodString;
44195
+ agentId: z.ZodString;
44196
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44197
+ type: z.ZodLiteral<"agent_todos_list_request">;
44198
+ requestId: z.ZodString;
44199
+ agentId: z.ZodString;
44200
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
44201
+ type: z.ZodLiteral<"agent_todos_list_response">;
44202
+ requestId: z.ZodString;
44203
+ snapshot: z.ZodOptional<z.ZodObject<{
44204
+ agentId: z.ZodString;
44205
+ seq: z.ZodNumber;
44206
+ tasks: z.ZodArray<z.ZodObject<{
44207
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44208
+ id: z.ZodNumber;
44209
+ subject: z.ZodString;
44210
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44211
+ activeForm: z.ZodOptional<z.ZodString>;
44212
+ description: z.ZodOptional<z.ZodString>;
44213
+ owner: z.ZodOptional<z.ZodString>;
44214
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44215
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44216
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44217
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44218
+ id: z.ZodNumber;
44219
+ subject: z.ZodString;
44220
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44221
+ activeForm: z.ZodOptional<z.ZodString>;
44222
+ description: z.ZodOptional<z.ZodString>;
44223
+ owner: z.ZodOptional<z.ZodString>;
44224
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44225
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44226
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44227
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44228
+ id: z.ZodNumber;
44229
+ subject: z.ZodString;
44230
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44231
+ activeForm: z.ZodOptional<z.ZodString>;
44232
+ description: z.ZodOptional<z.ZodString>;
44233
+ owner: z.ZodOptional<z.ZodString>;
44234
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44235
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44236
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44237
+ /** True when the task cap dropped tasks. */
44238
+ truncated: z.ZodOptional<z.ZodBoolean>;
44239
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44240
+ agentId: z.ZodString;
44241
+ seq: z.ZodNumber;
44242
+ tasks: z.ZodArray<z.ZodObject<{
44243
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44244
+ id: z.ZodNumber;
44245
+ subject: z.ZodString;
44246
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44247
+ activeForm: z.ZodOptional<z.ZodString>;
44248
+ description: z.ZodOptional<z.ZodString>;
44249
+ owner: z.ZodOptional<z.ZodString>;
44250
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44251
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44252
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44253
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44254
+ id: z.ZodNumber;
44255
+ subject: z.ZodString;
44256
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44257
+ activeForm: z.ZodOptional<z.ZodString>;
44258
+ description: z.ZodOptional<z.ZodString>;
44259
+ owner: z.ZodOptional<z.ZodString>;
44260
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44261
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44262
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44263
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44264
+ id: z.ZodNumber;
44265
+ subject: z.ZodString;
44266
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44267
+ activeForm: z.ZodOptional<z.ZodString>;
44268
+ description: z.ZodOptional<z.ZodString>;
44269
+ owner: z.ZodOptional<z.ZodString>;
44270
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44271
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44272
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44273
+ /** True when the task cap dropped tasks. */
44274
+ truncated: z.ZodOptional<z.ZodBoolean>;
44275
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44276
+ agentId: z.ZodString;
44277
+ seq: z.ZodNumber;
44278
+ tasks: z.ZodArray<z.ZodObject<{
44279
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44280
+ id: z.ZodNumber;
44281
+ subject: z.ZodString;
44282
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44283
+ activeForm: z.ZodOptional<z.ZodString>;
44284
+ description: z.ZodOptional<z.ZodString>;
44285
+ owner: z.ZodOptional<z.ZodString>;
44286
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44287
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44288
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44289
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44290
+ id: z.ZodNumber;
44291
+ subject: z.ZodString;
44292
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44293
+ activeForm: z.ZodOptional<z.ZodString>;
44294
+ description: z.ZodOptional<z.ZodString>;
44295
+ owner: z.ZodOptional<z.ZodString>;
44296
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44297
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44298
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44299
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44300
+ id: z.ZodNumber;
44301
+ subject: z.ZodString;
44302
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44303
+ activeForm: z.ZodOptional<z.ZodString>;
44304
+ description: z.ZodOptional<z.ZodString>;
44305
+ owner: z.ZodOptional<z.ZodString>;
44306
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44307
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44308
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44309
+ /** True when the task cap dropped tasks. */
44310
+ truncated: z.ZodOptional<z.ZodBoolean>;
44311
+ }, z.ZodTypeAny, "passthrough">>>;
44312
+ ok: z.ZodOptional<z.ZodBoolean>;
44313
+ error: z.ZodOptional<z.ZodString>;
44314
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44315
+ type: z.ZodLiteral<"agent_todos_list_response">;
44316
+ requestId: z.ZodString;
44317
+ snapshot: z.ZodOptional<z.ZodObject<{
44318
+ agentId: z.ZodString;
44319
+ seq: z.ZodNumber;
44320
+ tasks: z.ZodArray<z.ZodObject<{
44321
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44322
+ id: z.ZodNumber;
44323
+ subject: z.ZodString;
44324
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44325
+ activeForm: z.ZodOptional<z.ZodString>;
44326
+ description: z.ZodOptional<z.ZodString>;
44327
+ owner: z.ZodOptional<z.ZodString>;
44328
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44329
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44330
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44331
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44332
+ id: z.ZodNumber;
44333
+ subject: z.ZodString;
44334
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44335
+ activeForm: z.ZodOptional<z.ZodString>;
44336
+ description: z.ZodOptional<z.ZodString>;
44337
+ owner: z.ZodOptional<z.ZodString>;
44338
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44339
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44340
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44341
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44342
+ id: z.ZodNumber;
44343
+ subject: z.ZodString;
44344
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44345
+ activeForm: z.ZodOptional<z.ZodString>;
44346
+ description: z.ZodOptional<z.ZodString>;
44347
+ owner: z.ZodOptional<z.ZodString>;
44348
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44349
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44350
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44351
+ /** True when the task cap dropped tasks. */
44352
+ truncated: z.ZodOptional<z.ZodBoolean>;
44353
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44354
+ agentId: z.ZodString;
44355
+ seq: z.ZodNumber;
44356
+ tasks: z.ZodArray<z.ZodObject<{
44357
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44358
+ id: z.ZodNumber;
44359
+ subject: z.ZodString;
44360
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44361
+ activeForm: z.ZodOptional<z.ZodString>;
44362
+ description: z.ZodOptional<z.ZodString>;
44363
+ owner: z.ZodOptional<z.ZodString>;
44364
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44365
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44366
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44367
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44368
+ id: z.ZodNumber;
44369
+ subject: z.ZodString;
44370
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44371
+ activeForm: z.ZodOptional<z.ZodString>;
44372
+ description: z.ZodOptional<z.ZodString>;
44373
+ owner: z.ZodOptional<z.ZodString>;
44374
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44375
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44376
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44377
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44378
+ id: z.ZodNumber;
44379
+ subject: z.ZodString;
44380
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44381
+ activeForm: z.ZodOptional<z.ZodString>;
44382
+ description: z.ZodOptional<z.ZodString>;
44383
+ owner: z.ZodOptional<z.ZodString>;
44384
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44385
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44386
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44387
+ /** True when the task cap dropped tasks. */
44388
+ truncated: z.ZodOptional<z.ZodBoolean>;
44389
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44390
+ agentId: z.ZodString;
44391
+ seq: z.ZodNumber;
44392
+ tasks: z.ZodArray<z.ZodObject<{
44393
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44394
+ id: z.ZodNumber;
44395
+ subject: z.ZodString;
44396
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44397
+ activeForm: z.ZodOptional<z.ZodString>;
44398
+ description: z.ZodOptional<z.ZodString>;
44399
+ owner: z.ZodOptional<z.ZodString>;
44400
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44401
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44402
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44403
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44404
+ id: z.ZodNumber;
44405
+ subject: z.ZodString;
44406
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44407
+ activeForm: z.ZodOptional<z.ZodString>;
44408
+ description: z.ZodOptional<z.ZodString>;
44409
+ owner: z.ZodOptional<z.ZodString>;
44410
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44411
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44412
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44413
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44414
+ id: z.ZodNumber;
44415
+ subject: z.ZodString;
44416
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44417
+ activeForm: z.ZodOptional<z.ZodString>;
44418
+ description: z.ZodOptional<z.ZodString>;
44419
+ owner: z.ZodOptional<z.ZodString>;
44420
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44421
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44422
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44423
+ /** True when the task cap dropped tasks. */
44424
+ truncated: z.ZodOptional<z.ZodBoolean>;
44425
+ }, z.ZodTypeAny, "passthrough">>>;
44426
+ ok: z.ZodOptional<z.ZodBoolean>;
44427
+ error: z.ZodOptional<z.ZodString>;
44428
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44429
+ type: z.ZodLiteral<"agent_todos_list_response">;
44430
+ requestId: z.ZodString;
44431
+ snapshot: z.ZodOptional<z.ZodObject<{
44432
+ agentId: z.ZodString;
44433
+ seq: z.ZodNumber;
44434
+ tasks: z.ZodArray<z.ZodObject<{
44435
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44436
+ id: z.ZodNumber;
44437
+ subject: z.ZodString;
44438
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44439
+ activeForm: z.ZodOptional<z.ZodString>;
44440
+ description: z.ZodOptional<z.ZodString>;
44441
+ owner: z.ZodOptional<z.ZodString>;
44442
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44443
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44444
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44445
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44446
+ id: z.ZodNumber;
44447
+ subject: z.ZodString;
44448
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44449
+ activeForm: z.ZodOptional<z.ZodString>;
44450
+ description: z.ZodOptional<z.ZodString>;
44451
+ owner: z.ZodOptional<z.ZodString>;
44452
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44453
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44454
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44455
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44456
+ id: z.ZodNumber;
44457
+ subject: z.ZodString;
44458
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44459
+ activeForm: z.ZodOptional<z.ZodString>;
44460
+ description: z.ZodOptional<z.ZodString>;
44461
+ owner: z.ZodOptional<z.ZodString>;
44462
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44463
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44464
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44465
+ /** True when the task cap dropped tasks. */
44466
+ truncated: z.ZodOptional<z.ZodBoolean>;
44467
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44468
+ agentId: z.ZodString;
44469
+ seq: z.ZodNumber;
44470
+ tasks: z.ZodArray<z.ZodObject<{
44471
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44472
+ id: z.ZodNumber;
44473
+ subject: z.ZodString;
44474
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44475
+ activeForm: z.ZodOptional<z.ZodString>;
44476
+ description: z.ZodOptional<z.ZodString>;
44477
+ owner: z.ZodOptional<z.ZodString>;
44478
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44479
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44480
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44481
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44482
+ id: z.ZodNumber;
44483
+ subject: z.ZodString;
44484
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44485
+ activeForm: z.ZodOptional<z.ZodString>;
44486
+ description: z.ZodOptional<z.ZodString>;
44487
+ owner: z.ZodOptional<z.ZodString>;
44488
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44489
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44490
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44491
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44492
+ id: z.ZodNumber;
44493
+ subject: z.ZodString;
44494
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44495
+ activeForm: z.ZodOptional<z.ZodString>;
44496
+ description: z.ZodOptional<z.ZodString>;
44497
+ owner: z.ZodOptional<z.ZodString>;
44498
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44499
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44500
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44501
+ /** True when the task cap dropped tasks. */
44502
+ truncated: z.ZodOptional<z.ZodBoolean>;
44503
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44504
+ agentId: z.ZodString;
44505
+ seq: z.ZodNumber;
44506
+ tasks: z.ZodArray<z.ZodObject<{
44507
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44508
+ id: z.ZodNumber;
44509
+ subject: z.ZodString;
44510
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44511
+ activeForm: z.ZodOptional<z.ZodString>;
44512
+ description: z.ZodOptional<z.ZodString>;
44513
+ owner: z.ZodOptional<z.ZodString>;
44514
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44515
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44516
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44517
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44518
+ id: z.ZodNumber;
44519
+ subject: z.ZodString;
44520
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44521
+ activeForm: z.ZodOptional<z.ZodString>;
44522
+ description: z.ZodOptional<z.ZodString>;
44523
+ owner: z.ZodOptional<z.ZodString>;
44524
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44525
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44526
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44527
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44528
+ id: z.ZodNumber;
44529
+ subject: z.ZodString;
44530
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44531
+ activeForm: z.ZodOptional<z.ZodString>;
44532
+ description: z.ZodOptional<z.ZodString>;
44533
+ owner: z.ZodOptional<z.ZodString>;
44534
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44535
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44536
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44537
+ /** True when the task cap dropped tasks. */
44538
+ truncated: z.ZodOptional<z.ZodBoolean>;
44539
+ }, z.ZodTypeAny, "passthrough">>>;
44540
+ ok: z.ZodOptional<z.ZodBoolean>;
44541
+ error: z.ZodOptional<z.ZodString>;
44542
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
44543
+ type: z.ZodLiteral<"agent_todos_update">;
44544
+ snapshot: z.ZodObject<{
44545
+ agentId: z.ZodString;
44546
+ seq: z.ZodNumber;
44547
+ tasks: z.ZodArray<z.ZodObject<{
44548
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44549
+ id: z.ZodNumber;
44550
+ subject: z.ZodString;
44551
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44552
+ activeForm: z.ZodOptional<z.ZodString>;
44553
+ description: z.ZodOptional<z.ZodString>;
44554
+ owner: z.ZodOptional<z.ZodString>;
44555
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44556
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44557
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44558
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44559
+ id: z.ZodNumber;
44560
+ subject: z.ZodString;
44561
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44562
+ activeForm: z.ZodOptional<z.ZodString>;
44563
+ description: z.ZodOptional<z.ZodString>;
44564
+ owner: z.ZodOptional<z.ZodString>;
44565
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44566
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44567
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44568
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44569
+ id: z.ZodNumber;
44570
+ subject: z.ZodString;
44571
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44572
+ activeForm: z.ZodOptional<z.ZodString>;
44573
+ description: z.ZodOptional<z.ZodString>;
44574
+ owner: z.ZodOptional<z.ZodString>;
44575
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44576
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44577
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44578
+ /** True when the task cap dropped tasks. */
44579
+ truncated: z.ZodOptional<z.ZodBoolean>;
44580
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44581
+ agentId: z.ZodString;
44582
+ seq: z.ZodNumber;
44583
+ tasks: z.ZodArray<z.ZodObject<{
44584
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44585
+ id: z.ZodNumber;
44586
+ subject: z.ZodString;
44587
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44588
+ activeForm: z.ZodOptional<z.ZodString>;
44589
+ description: z.ZodOptional<z.ZodString>;
44590
+ owner: z.ZodOptional<z.ZodString>;
44591
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44592
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44593
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44594
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44595
+ id: z.ZodNumber;
44596
+ subject: z.ZodString;
44597
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44598
+ activeForm: z.ZodOptional<z.ZodString>;
44599
+ description: z.ZodOptional<z.ZodString>;
44600
+ owner: z.ZodOptional<z.ZodString>;
44601
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44602
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44603
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44604
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44605
+ id: z.ZodNumber;
44606
+ subject: z.ZodString;
44607
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44608
+ activeForm: z.ZodOptional<z.ZodString>;
44609
+ description: z.ZodOptional<z.ZodString>;
44610
+ owner: z.ZodOptional<z.ZodString>;
44611
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44612
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44613
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44614
+ /** True when the task cap dropped tasks. */
44615
+ truncated: z.ZodOptional<z.ZodBoolean>;
44616
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44617
+ agentId: z.ZodString;
44618
+ seq: z.ZodNumber;
44619
+ tasks: z.ZodArray<z.ZodObject<{
44620
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44621
+ id: z.ZodNumber;
44622
+ subject: z.ZodString;
44623
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44624
+ activeForm: z.ZodOptional<z.ZodString>;
44625
+ description: z.ZodOptional<z.ZodString>;
44626
+ owner: z.ZodOptional<z.ZodString>;
44627
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44628
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44629
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44630
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44631
+ id: z.ZodNumber;
44632
+ subject: z.ZodString;
44633
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44634
+ activeForm: z.ZodOptional<z.ZodString>;
44635
+ description: z.ZodOptional<z.ZodString>;
44636
+ owner: z.ZodOptional<z.ZodString>;
44637
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44638
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44639
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44640
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44641
+ id: z.ZodNumber;
44642
+ subject: z.ZodString;
44643
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44644
+ activeForm: z.ZodOptional<z.ZodString>;
44645
+ description: z.ZodOptional<z.ZodString>;
44646
+ owner: z.ZodOptional<z.ZodString>;
44647
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44648
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44649
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44650
+ /** True when the task cap dropped tasks. */
44651
+ truncated: z.ZodOptional<z.ZodBoolean>;
44652
+ }, z.ZodTypeAny, "passthrough">>;
44653
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44654
+ type: z.ZodLiteral<"agent_todos_update">;
44655
+ snapshot: z.ZodObject<{
44656
+ agentId: z.ZodString;
44657
+ seq: z.ZodNumber;
44658
+ tasks: z.ZodArray<z.ZodObject<{
44659
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44660
+ id: z.ZodNumber;
44661
+ subject: z.ZodString;
44662
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44663
+ activeForm: z.ZodOptional<z.ZodString>;
44664
+ description: z.ZodOptional<z.ZodString>;
44665
+ owner: z.ZodOptional<z.ZodString>;
44666
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44667
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44668
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44669
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44670
+ id: z.ZodNumber;
44671
+ subject: z.ZodString;
44672
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44673
+ activeForm: z.ZodOptional<z.ZodString>;
44674
+ description: z.ZodOptional<z.ZodString>;
44675
+ owner: z.ZodOptional<z.ZodString>;
44676
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44677
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44678
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44679
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44680
+ id: z.ZodNumber;
44681
+ subject: z.ZodString;
44682
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44683
+ activeForm: z.ZodOptional<z.ZodString>;
44684
+ description: z.ZodOptional<z.ZodString>;
44685
+ owner: z.ZodOptional<z.ZodString>;
44686
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44687
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44688
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44689
+ /** True when the task cap dropped tasks. */
44690
+ truncated: z.ZodOptional<z.ZodBoolean>;
44691
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44692
+ agentId: z.ZodString;
44693
+ seq: z.ZodNumber;
44694
+ tasks: z.ZodArray<z.ZodObject<{
44695
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44696
+ id: z.ZodNumber;
44697
+ subject: z.ZodString;
44698
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44699
+ activeForm: z.ZodOptional<z.ZodString>;
44700
+ description: z.ZodOptional<z.ZodString>;
44701
+ owner: z.ZodOptional<z.ZodString>;
44702
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44703
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44704
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44705
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44706
+ id: z.ZodNumber;
44707
+ subject: z.ZodString;
44708
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44709
+ activeForm: z.ZodOptional<z.ZodString>;
44710
+ description: z.ZodOptional<z.ZodString>;
44711
+ owner: z.ZodOptional<z.ZodString>;
44712
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44713
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44714
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44715
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44716
+ id: z.ZodNumber;
44717
+ subject: z.ZodString;
44718
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44719
+ activeForm: z.ZodOptional<z.ZodString>;
44720
+ description: z.ZodOptional<z.ZodString>;
44721
+ owner: z.ZodOptional<z.ZodString>;
44722
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44723
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44724
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44725
+ /** True when the task cap dropped tasks. */
44726
+ truncated: z.ZodOptional<z.ZodBoolean>;
44727
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44728
+ agentId: z.ZodString;
44729
+ seq: z.ZodNumber;
44730
+ tasks: z.ZodArray<z.ZodObject<{
44731
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44732
+ id: z.ZodNumber;
44733
+ subject: z.ZodString;
44734
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44735
+ activeForm: z.ZodOptional<z.ZodString>;
44736
+ description: z.ZodOptional<z.ZodString>;
44737
+ owner: z.ZodOptional<z.ZodString>;
44738
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44739
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44740
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44741
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44742
+ id: z.ZodNumber;
44743
+ subject: z.ZodString;
44744
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44745
+ activeForm: z.ZodOptional<z.ZodString>;
44746
+ description: z.ZodOptional<z.ZodString>;
44747
+ owner: z.ZodOptional<z.ZodString>;
44748
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44749
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44750
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44751
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44752
+ id: z.ZodNumber;
44753
+ subject: z.ZodString;
44754
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44755
+ activeForm: z.ZodOptional<z.ZodString>;
44756
+ description: z.ZodOptional<z.ZodString>;
44757
+ owner: z.ZodOptional<z.ZodString>;
44758
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44759
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44760
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44761
+ /** True when the task cap dropped tasks. */
44762
+ truncated: z.ZodOptional<z.ZodBoolean>;
44763
+ }, z.ZodTypeAny, "passthrough">>;
44764
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44765
+ type: z.ZodLiteral<"agent_todos_update">;
44766
+ snapshot: z.ZodObject<{
44767
+ agentId: z.ZodString;
44768
+ seq: z.ZodNumber;
44769
+ tasks: z.ZodArray<z.ZodObject<{
44770
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44771
+ id: z.ZodNumber;
44772
+ subject: z.ZodString;
44773
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44774
+ activeForm: z.ZodOptional<z.ZodString>;
44775
+ description: z.ZodOptional<z.ZodString>;
44776
+ owner: z.ZodOptional<z.ZodString>;
44777
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44778
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44779
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44780
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44781
+ id: z.ZodNumber;
44782
+ subject: z.ZodString;
44783
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44784
+ activeForm: z.ZodOptional<z.ZodString>;
44785
+ description: z.ZodOptional<z.ZodString>;
44786
+ owner: z.ZodOptional<z.ZodString>;
44787
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44788
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44789
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44790
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44791
+ id: z.ZodNumber;
44792
+ subject: z.ZodString;
44793
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44794
+ activeForm: z.ZodOptional<z.ZodString>;
44795
+ description: z.ZodOptional<z.ZodString>;
44796
+ owner: z.ZodOptional<z.ZodString>;
44797
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44798
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44799
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44800
+ /** True when the task cap dropped tasks. */
44801
+ truncated: z.ZodOptional<z.ZodBoolean>;
44802
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44803
+ agentId: z.ZodString;
44804
+ seq: z.ZodNumber;
44805
+ tasks: z.ZodArray<z.ZodObject<{
44806
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44807
+ id: z.ZodNumber;
44808
+ subject: z.ZodString;
44809
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44810
+ activeForm: z.ZodOptional<z.ZodString>;
44811
+ description: z.ZodOptional<z.ZodString>;
44812
+ owner: z.ZodOptional<z.ZodString>;
44813
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44814
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44815
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44816
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44817
+ id: z.ZodNumber;
44818
+ subject: z.ZodString;
44819
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44820
+ activeForm: z.ZodOptional<z.ZodString>;
44821
+ description: z.ZodOptional<z.ZodString>;
44822
+ owner: z.ZodOptional<z.ZodString>;
44823
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44824
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44825
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44826
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44827
+ id: z.ZodNumber;
44828
+ subject: z.ZodString;
44829
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44830
+ activeForm: z.ZodOptional<z.ZodString>;
44831
+ description: z.ZodOptional<z.ZodString>;
44832
+ owner: z.ZodOptional<z.ZodString>;
44833
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44834
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44835
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44836
+ /** True when the task cap dropped tasks. */
44837
+ truncated: z.ZodOptional<z.ZodBoolean>;
44838
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44839
+ agentId: z.ZodString;
44840
+ seq: z.ZodNumber;
44841
+ tasks: z.ZodArray<z.ZodObject<{
44842
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44843
+ id: z.ZodNumber;
44844
+ subject: z.ZodString;
44845
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44846
+ activeForm: z.ZodOptional<z.ZodString>;
44847
+ description: z.ZodOptional<z.ZodString>;
44848
+ owner: z.ZodOptional<z.ZodString>;
44849
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44850
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44851
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44852
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44853
+ id: z.ZodNumber;
44854
+ subject: z.ZodString;
44855
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44856
+ activeForm: z.ZodOptional<z.ZodString>;
44857
+ description: z.ZodOptional<z.ZodString>;
44858
+ owner: z.ZodOptional<z.ZodString>;
44859
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44860
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44861
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44862
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
44863
+ id: z.ZodNumber;
44864
+ subject: z.ZodString;
44865
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
44866
+ activeForm: z.ZodOptional<z.ZodString>;
44867
+ description: z.ZodOptional<z.ZodString>;
44868
+ owner: z.ZodOptional<z.ZodString>;
44869
+ /** Ids this task waits on; may name an id absent from the snapshot. */
44870
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44871
+ }, z.ZodTypeAny, "passthrough">>, "many">;
44872
+ /** True when the task cap dropped tasks. */
44873
+ truncated: z.ZodOptional<z.ZodBoolean>;
44874
+ }, z.ZodTypeAny, "passthrough">>;
41494
44875
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
41495
44876
  type: z.ZodLiteral<"rpc_error">;
41496
44877
  requestId: z.ZodString;
@@ -44238,6 +47619,235 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
44238
47619
  }, z.ZodTypeAny, "passthrough">>, "many">;
44239
47620
  error: z.ZodOptional<z.ZodString>;
44240
47621
  }, z.ZodTypeAny, "passthrough">>;
47622
+ }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
47623
+ type: z.ZodLiteral<"agent_todos_list_request">;
47624
+ requestId: z.ZodString;
47625
+ agentId: z.ZodString;
47626
+ }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
47627
+ type: z.ZodLiteral<"agent_todos_list_response">;
47628
+ requestId: z.ZodString;
47629
+ snapshot: z.ZodOptional<z.ZodObject<{
47630
+ agentId: z.ZodString;
47631
+ seq: z.ZodNumber;
47632
+ tasks: z.ZodArray<z.ZodObject<{
47633
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47634
+ id: z.ZodNumber;
47635
+ subject: z.ZodString;
47636
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47637
+ activeForm: z.ZodOptional<z.ZodString>;
47638
+ description: z.ZodOptional<z.ZodString>;
47639
+ owner: z.ZodOptional<z.ZodString>;
47640
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47641
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47642
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
47643
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47644
+ id: z.ZodNumber;
47645
+ subject: z.ZodString;
47646
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47647
+ activeForm: z.ZodOptional<z.ZodString>;
47648
+ description: z.ZodOptional<z.ZodString>;
47649
+ owner: z.ZodOptional<z.ZodString>;
47650
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47651
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47652
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
47653
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47654
+ id: z.ZodNumber;
47655
+ subject: z.ZodString;
47656
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47657
+ activeForm: z.ZodOptional<z.ZodString>;
47658
+ description: z.ZodOptional<z.ZodString>;
47659
+ owner: z.ZodOptional<z.ZodString>;
47660
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47661
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47662
+ }, z.ZodTypeAny, "passthrough">>, "many">;
47663
+ /** True when the task cap dropped tasks. */
47664
+ truncated: z.ZodOptional<z.ZodBoolean>;
47665
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
47666
+ agentId: z.ZodString;
47667
+ seq: z.ZodNumber;
47668
+ tasks: z.ZodArray<z.ZodObject<{
47669
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47670
+ id: z.ZodNumber;
47671
+ subject: z.ZodString;
47672
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47673
+ activeForm: z.ZodOptional<z.ZodString>;
47674
+ description: z.ZodOptional<z.ZodString>;
47675
+ owner: z.ZodOptional<z.ZodString>;
47676
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47677
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47678
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
47679
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47680
+ id: z.ZodNumber;
47681
+ subject: z.ZodString;
47682
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47683
+ activeForm: z.ZodOptional<z.ZodString>;
47684
+ description: z.ZodOptional<z.ZodString>;
47685
+ owner: z.ZodOptional<z.ZodString>;
47686
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47687
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47688
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
47689
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47690
+ id: z.ZodNumber;
47691
+ subject: z.ZodString;
47692
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47693
+ activeForm: z.ZodOptional<z.ZodString>;
47694
+ description: z.ZodOptional<z.ZodString>;
47695
+ owner: z.ZodOptional<z.ZodString>;
47696
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47697
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47698
+ }, z.ZodTypeAny, "passthrough">>, "many">;
47699
+ /** True when the task cap dropped tasks. */
47700
+ truncated: z.ZodOptional<z.ZodBoolean>;
47701
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
47702
+ agentId: z.ZodString;
47703
+ seq: z.ZodNumber;
47704
+ tasks: z.ZodArray<z.ZodObject<{
47705
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47706
+ id: z.ZodNumber;
47707
+ subject: z.ZodString;
47708
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47709
+ activeForm: z.ZodOptional<z.ZodString>;
47710
+ description: z.ZodOptional<z.ZodString>;
47711
+ owner: z.ZodOptional<z.ZodString>;
47712
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47713
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47714
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
47715
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47716
+ id: z.ZodNumber;
47717
+ subject: z.ZodString;
47718
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47719
+ activeForm: z.ZodOptional<z.ZodString>;
47720
+ description: z.ZodOptional<z.ZodString>;
47721
+ owner: z.ZodOptional<z.ZodString>;
47722
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47723
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47724
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
47725
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47726
+ id: z.ZodNumber;
47727
+ subject: z.ZodString;
47728
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47729
+ activeForm: z.ZodOptional<z.ZodString>;
47730
+ description: z.ZodOptional<z.ZodString>;
47731
+ owner: z.ZodOptional<z.ZodString>;
47732
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47733
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47734
+ }, z.ZodTypeAny, "passthrough">>, "many">;
47735
+ /** True when the task cap dropped tasks. */
47736
+ truncated: z.ZodOptional<z.ZodBoolean>;
47737
+ }, z.ZodTypeAny, "passthrough">>>;
47738
+ ok: z.ZodOptional<z.ZodBoolean>;
47739
+ error: z.ZodOptional<z.ZodString>;
47740
+ }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
47741
+ type: z.ZodLiteral<"agent_todos_update">;
47742
+ snapshot: z.ZodObject<{
47743
+ agentId: z.ZodString;
47744
+ seq: z.ZodNumber;
47745
+ tasks: z.ZodArray<z.ZodObject<{
47746
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47747
+ id: z.ZodNumber;
47748
+ subject: z.ZodString;
47749
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47750
+ activeForm: z.ZodOptional<z.ZodString>;
47751
+ description: z.ZodOptional<z.ZodString>;
47752
+ owner: z.ZodOptional<z.ZodString>;
47753
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47754
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47755
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
47756
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47757
+ id: z.ZodNumber;
47758
+ subject: z.ZodString;
47759
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47760
+ activeForm: z.ZodOptional<z.ZodString>;
47761
+ description: z.ZodOptional<z.ZodString>;
47762
+ owner: z.ZodOptional<z.ZodString>;
47763
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47764
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47765
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
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
+ }, z.ZodTypeAny, "passthrough">>, "many">;
47776
+ /** True when the task cap dropped tasks. */
47777
+ truncated: z.ZodOptional<z.ZodBoolean>;
47778
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
47779
+ agentId: z.ZodString;
47780
+ seq: z.ZodNumber;
47781
+ tasks: z.ZodArray<z.ZodObject<{
47782
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47783
+ id: z.ZodNumber;
47784
+ subject: z.ZodString;
47785
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47786
+ activeForm: z.ZodOptional<z.ZodString>;
47787
+ description: z.ZodOptional<z.ZodString>;
47788
+ owner: z.ZodOptional<z.ZodString>;
47789
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47790
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47791
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
47792
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47793
+ id: z.ZodNumber;
47794
+ subject: z.ZodString;
47795
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47796
+ activeForm: z.ZodOptional<z.ZodString>;
47797
+ description: z.ZodOptional<z.ZodString>;
47798
+ owner: z.ZodOptional<z.ZodString>;
47799
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47800
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47801
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
47802
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47803
+ id: z.ZodNumber;
47804
+ subject: z.ZodString;
47805
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47806
+ activeForm: z.ZodOptional<z.ZodString>;
47807
+ description: z.ZodOptional<z.ZodString>;
47808
+ owner: z.ZodOptional<z.ZodString>;
47809
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47810
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47811
+ }, z.ZodTypeAny, "passthrough">>, "many">;
47812
+ /** True when the task cap dropped tasks. */
47813
+ truncated: z.ZodOptional<z.ZodBoolean>;
47814
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
47815
+ agentId: z.ZodString;
47816
+ seq: z.ZodNumber;
47817
+ tasks: z.ZodArray<z.ZodObject<{
47818
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47819
+ id: z.ZodNumber;
47820
+ subject: z.ZodString;
47821
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47822
+ activeForm: z.ZodOptional<z.ZodString>;
47823
+ description: z.ZodOptional<z.ZodString>;
47824
+ owner: z.ZodOptional<z.ZodString>;
47825
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47826
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47827
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
47828
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47829
+ id: z.ZodNumber;
47830
+ subject: z.ZodString;
47831
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47832
+ activeForm: z.ZodOptional<z.ZodString>;
47833
+ description: z.ZodOptional<z.ZodString>;
47834
+ owner: z.ZodOptional<z.ZodString>;
47835
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47836
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47837
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
47838
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
47839
+ id: z.ZodNumber;
47840
+ subject: z.ZodString;
47841
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
47842
+ activeForm: z.ZodOptional<z.ZodString>;
47843
+ description: z.ZodOptional<z.ZodString>;
47844
+ owner: z.ZodOptional<z.ZodString>;
47845
+ /** Ids this task waits on; may name an id absent from the snapshot. */
47846
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
47847
+ }, z.ZodTypeAny, "passthrough">>, "many">;
47848
+ /** True when the task cap dropped tasks. */
47849
+ truncated: z.ZodOptional<z.ZodBoolean>;
47850
+ }, z.ZodTypeAny, "passthrough">>;
44241
47851
  }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
44242
47852
  type: z.ZodString;
44243
47853
  }, z.ZodTypeAny, "passthrough">;
@@ -46963,6 +50573,235 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
46963
50573
  }, z.ZodTypeAny, "passthrough">>, "many">;
46964
50574
  error: z.ZodOptional<z.ZodString>;
46965
50575
  }, z.ZodTypeAny, "passthrough">>;
50576
+ }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
50577
+ type: z.ZodLiteral<"agent_todos_list_request">;
50578
+ requestId: z.ZodString;
50579
+ agentId: z.ZodString;
50580
+ }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
50581
+ type: z.ZodLiteral<"agent_todos_list_response">;
50582
+ requestId: z.ZodString;
50583
+ snapshot: z.ZodOptional<z.ZodObject<{
50584
+ agentId: z.ZodString;
50585
+ seq: z.ZodNumber;
50586
+ tasks: z.ZodArray<z.ZodObject<{
50587
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50588
+ id: z.ZodNumber;
50589
+ subject: z.ZodString;
50590
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50591
+ activeForm: z.ZodOptional<z.ZodString>;
50592
+ description: z.ZodOptional<z.ZodString>;
50593
+ owner: z.ZodOptional<z.ZodString>;
50594
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50595
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50596
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
50597
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50598
+ id: z.ZodNumber;
50599
+ subject: z.ZodString;
50600
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50601
+ activeForm: z.ZodOptional<z.ZodString>;
50602
+ description: z.ZodOptional<z.ZodString>;
50603
+ owner: z.ZodOptional<z.ZodString>;
50604
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50605
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50606
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
50607
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50608
+ id: z.ZodNumber;
50609
+ subject: z.ZodString;
50610
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50611
+ activeForm: z.ZodOptional<z.ZodString>;
50612
+ description: z.ZodOptional<z.ZodString>;
50613
+ owner: z.ZodOptional<z.ZodString>;
50614
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50615
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50616
+ }, z.ZodTypeAny, "passthrough">>, "many">;
50617
+ /** True when the task cap dropped tasks. */
50618
+ truncated: z.ZodOptional<z.ZodBoolean>;
50619
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
50620
+ agentId: z.ZodString;
50621
+ seq: z.ZodNumber;
50622
+ tasks: z.ZodArray<z.ZodObject<{
50623
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50624
+ id: z.ZodNumber;
50625
+ subject: z.ZodString;
50626
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50627
+ activeForm: z.ZodOptional<z.ZodString>;
50628
+ description: z.ZodOptional<z.ZodString>;
50629
+ owner: z.ZodOptional<z.ZodString>;
50630
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50631
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50632
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
50633
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50634
+ id: z.ZodNumber;
50635
+ subject: z.ZodString;
50636
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50637
+ activeForm: z.ZodOptional<z.ZodString>;
50638
+ description: z.ZodOptional<z.ZodString>;
50639
+ owner: z.ZodOptional<z.ZodString>;
50640
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50641
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50642
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
50643
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50644
+ id: z.ZodNumber;
50645
+ subject: z.ZodString;
50646
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50647
+ activeForm: z.ZodOptional<z.ZodString>;
50648
+ description: z.ZodOptional<z.ZodString>;
50649
+ owner: z.ZodOptional<z.ZodString>;
50650
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50651
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50652
+ }, z.ZodTypeAny, "passthrough">>, "many">;
50653
+ /** True when the task cap dropped tasks. */
50654
+ truncated: z.ZodOptional<z.ZodBoolean>;
50655
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
50656
+ agentId: z.ZodString;
50657
+ seq: z.ZodNumber;
50658
+ tasks: z.ZodArray<z.ZodObject<{
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
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
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">, z.objectInputType<{
50679
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50680
+ id: z.ZodNumber;
50681
+ subject: z.ZodString;
50682
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50683
+ activeForm: z.ZodOptional<z.ZodString>;
50684
+ description: z.ZodOptional<z.ZodString>;
50685
+ owner: z.ZodOptional<z.ZodString>;
50686
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50687
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50688
+ }, z.ZodTypeAny, "passthrough">>, "many">;
50689
+ /** True when the task cap dropped tasks. */
50690
+ truncated: z.ZodOptional<z.ZodBoolean>;
50691
+ }, z.ZodTypeAny, "passthrough">>>;
50692
+ ok: z.ZodOptional<z.ZodBoolean>;
50693
+ error: z.ZodOptional<z.ZodString>;
50694
+ }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
50695
+ type: z.ZodLiteral<"agent_todos_update">;
50696
+ snapshot: z.ZodObject<{
50697
+ agentId: z.ZodString;
50698
+ seq: z.ZodNumber;
50699
+ tasks: z.ZodArray<z.ZodObject<{
50700
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50701
+ id: z.ZodNumber;
50702
+ subject: z.ZodString;
50703
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50704
+ activeForm: z.ZodOptional<z.ZodString>;
50705
+ description: z.ZodOptional<z.ZodString>;
50706
+ owner: z.ZodOptional<z.ZodString>;
50707
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50708
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50709
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
50710
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50711
+ id: z.ZodNumber;
50712
+ subject: z.ZodString;
50713
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50714
+ activeForm: z.ZodOptional<z.ZodString>;
50715
+ description: z.ZodOptional<z.ZodString>;
50716
+ owner: z.ZodOptional<z.ZodString>;
50717
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50718
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50719
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
50720
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50721
+ id: z.ZodNumber;
50722
+ subject: z.ZodString;
50723
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50724
+ activeForm: z.ZodOptional<z.ZodString>;
50725
+ description: z.ZodOptional<z.ZodString>;
50726
+ owner: z.ZodOptional<z.ZodString>;
50727
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50728
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50729
+ }, z.ZodTypeAny, "passthrough">>, "many">;
50730
+ /** True when the task cap dropped tasks. */
50731
+ truncated: z.ZodOptional<z.ZodBoolean>;
50732
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
50733
+ agentId: z.ZodString;
50734
+ seq: z.ZodNumber;
50735
+ tasks: z.ZodArray<z.ZodObject<{
50736
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50737
+ id: z.ZodNumber;
50738
+ subject: z.ZodString;
50739
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50740
+ activeForm: z.ZodOptional<z.ZodString>;
50741
+ description: z.ZodOptional<z.ZodString>;
50742
+ owner: z.ZodOptional<z.ZodString>;
50743
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50744
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50745
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
50746
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50747
+ id: z.ZodNumber;
50748
+ subject: z.ZodString;
50749
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50750
+ activeForm: z.ZodOptional<z.ZodString>;
50751
+ description: z.ZodOptional<z.ZodString>;
50752
+ owner: z.ZodOptional<z.ZodString>;
50753
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50754
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50755
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
50756
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50757
+ id: z.ZodNumber;
50758
+ subject: z.ZodString;
50759
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50760
+ activeForm: z.ZodOptional<z.ZodString>;
50761
+ description: z.ZodOptional<z.ZodString>;
50762
+ owner: z.ZodOptional<z.ZodString>;
50763
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50764
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50765
+ }, z.ZodTypeAny, "passthrough">>, "many">;
50766
+ /** True when the task cap dropped tasks. */
50767
+ truncated: z.ZodOptional<z.ZodBoolean>;
50768
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
50769
+ agentId: z.ZodString;
50770
+ seq: z.ZodNumber;
50771
+ tasks: z.ZodArray<z.ZodObject<{
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
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
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">, z.objectInputType<{
50792
+ /** Safe integer, unique within a snapshot (not enforced: a duplicate renders, never rejects). */
50793
+ id: z.ZodNumber;
50794
+ subject: z.ZodString;
50795
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
50796
+ activeForm: z.ZodOptional<z.ZodString>;
50797
+ description: z.ZodOptional<z.ZodString>;
50798
+ owner: z.ZodOptional<z.ZodString>;
50799
+ /** Ids this task waits on; may name an id absent from the snapshot. */
50800
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
50801
+ }, z.ZodTypeAny, "passthrough">>, "many">;
50802
+ /** True when the task cap dropped tasks. */
50803
+ truncated: z.ZodOptional<z.ZodBoolean>;
50804
+ }, z.ZodTypeAny, "passthrough">>;
46966
50805
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
46967
50806
  type: z.ZodString;
46968
50807
  }, z.ZodTypeAny, "passthrough">;