@maudecode/talaria-web-contracts 1.17.2 → 1.19.0

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.
Files changed (92) hide show
  1. package/dist/gateway-session.d.ts +229 -0
  2. package/dist/gateway-session.js +46 -0
  3. package/dist/gateway-session.js.map +1 -0
  4. package/dist/index.d.ts +4 -0
  5. package/dist/index.js +4 -0
  6. package/dist/index.js.map +1 -1
  7. package/dist/openapi.js +9 -1
  8. package/dist/openapi.js.map +1 -1
  9. package/dist/router.d.ts +8256 -1763
  10. package/dist/routes/automation.d.ts +130 -25
  11. package/dist/routes/automation.js +8 -4
  12. package/dist/routes/automation.js.map +1 -1
  13. package/dist/routes/chat.d.ts +2484 -41
  14. package/dist/routes/chat.js +10 -4
  15. package/dist/routes/chat.js.map +1 -1
  16. package/dist/routes/core.d.ts +28 -6
  17. package/dist/routes/core.js +5 -2
  18. package/dist/routes/core.js.map +1 -1
  19. package/dist/routes/git.d.ts +76 -1
  20. package/dist/routes/git.js +13 -3
  21. package/dist/routes/git.js.map +1 -1
  22. package/dist/routes/raw.d.ts +3 -1
  23. package/dist/routes/raw.js +30 -6
  24. package/dist/routes/raw.js.map +1 -1
  25. package/dist/routes/sessions.d.ts +5181 -744
  26. package/dist/routes/sessions.js +76 -8
  27. package/dist/routes/sessions.js.map +1 -1
  28. package/dist/routes/settings.d.ts +457 -8
  29. package/dist/routes/settings.js +2 -2
  30. package/dist/routes/settings.js.map +1 -1
  31. package/dist/routes/tools.d.ts +1001 -33
  32. package/dist/routes/tools.js +82 -6
  33. package/dist/routes/tools.js.map +1 -1
  34. package/dist/routes/workspaces.d.ts +82 -0
  35. package/dist/routes/workspaces.js +18 -1
  36. package/dist/routes/workspaces.js.map +1 -1
  37. package/dist/run-status.d.ts +39 -0
  38. package/dist/run-status.js +13 -0
  39. package/dist/run-status.js.map +1 -0
  40. package/dist/sidecar/methods.d.ts +1299 -109
  41. package/dist/sidecar/methods.js +10 -2
  42. package/dist/sidecar/methods.js.map +1 -1
  43. package/dist/sidecar/namespaces.d.ts +1736 -123
  44. package/dist/sidecar/namespaces.js +332 -32
  45. package/dist/sidecar/namespaces.js.map +1 -1
  46. package/dist/sidecar/runtime.d.ts +61 -0
  47. package/dist/sidecar/runtime.js +20 -0
  48. package/dist/sidecar/runtime.js.map +1 -1
  49. package/dist/sidecar/version.d.ts +1 -1
  50. package/dist/sidecar/version.js +1 -1
  51. package/dist/speed.d.ts +14 -0
  52. package/dist/speed.js +6 -0
  53. package/dist/speed.js.map +1 -0
  54. package/dist/sse.d.ts +833 -14
  55. package/dist/sse.js +25 -9
  56. package/dist/sse.js.map +1 -1
  57. package/dist/theme.d.ts +10 -0
  58. package/dist/theme.js +10 -0
  59. package/dist/theme.js.map +1 -0
  60. package/dist/transcribe-stream.d.ts +34 -0
  61. package/dist/transcribe-stream.js +23 -0
  62. package/dist/transcribe-stream.js.map +1 -0
  63. package/dist/views.d.ts +2900 -159
  64. package/dist/views.js +380 -55
  65. package/dist/views.js.map +1 -1
  66. package/fixtures/sidecar/aux.json +134 -0
  67. package/fixtures/sidecar/chat.json +14 -0
  68. package/fixtures/sidecar/checkpoints.json +50 -0
  69. package/fixtures/sidecar/commands.json +258 -99
  70. package/fixtures/sidecar/config.json +15 -0
  71. package/fixtures/sidecar/connectors.json +218 -0
  72. package/fixtures/sidecar/cron.json +1008 -55
  73. package/fixtures/sidecar/gateway.json +39 -0
  74. package/fixtures/sidecar/goals.json +10 -8
  75. package/fixtures/sidecar/kanban.json +181 -90
  76. package/fixtures/sidecar/memory.json +50 -0
  77. package/fixtures/sidecar/models.json +122 -0
  78. package/fixtures/sidecar/personalities.json +92 -0
  79. package/fixtures/sidecar/plugins.json +262 -174
  80. package/fixtures/sidecar/process.json +31 -0
  81. package/fixtures/sidecar/profiles.json +12 -2
  82. package/fixtures/sidecar/providers.json +39 -13
  83. package/fixtures/sidecar/rpc.json +50 -1
  84. package/fixtures/sidecar/runtime.json +131 -22
  85. package/fixtures/sidecar/skills.json +256 -13
  86. package/fixtures/sidecar/state_db.json +34 -2
  87. package/fixtures/sidecar/stt.json +62 -1
  88. package/fixtures/sidecar/text.json +20 -2
  89. package/fixtures/sidecar/toolsets.json +468 -0
  90. package/fixtures/sidecar/usage.json +24 -4
  91. package/fixtures/sidecar/write_approval.json +98 -0
  92. package/package.json +1 -1
@@ -27,6 +27,10 @@ export declare const SIDECAR_METHODS: {
27
27
  ephemeral_system_prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  persist_user_message: z.ZodOptional<z.ZodString>;
29
29
  ephemeral: z.ZodOptional<z.ZodBoolean>;
30
+ voice_turn: z.ZodOptional<z.ZodBoolean>;
31
+ connect_card: z.ZodOptional<z.ZodBoolean>;
32
+ skill_secret: z.ZodOptional<z.ZodBoolean>;
33
+ workspace_local: z.ZodOptional<z.ZodBoolean>;
30
34
  }, z.core.$strip>;
31
35
  readonly result: z.ZodObject<{
32
36
  status: z.ZodEnum<{
@@ -51,7 +55,9 @@ export declare const SIDECAR_METHODS: {
51
55
  cache_write_tokens: z.ZodNumber;
52
56
  estimated_cost_usd: z.ZodNullable<z.ZodNumber>;
53
57
  }, z.core.$strip>;
54
- context: z.ZodRecord<z.ZodString, z.ZodUnknown>;
58
+ context: z.ZodObject<{
59
+ next_turn_threshold_tokens: z.ZodOptional<z.ZodNumber>;
60
+ }, z.core.$loose>;
55
61
  model: z.ZodString;
56
62
  provider: z.ZodString;
57
63
  compressed: z.ZodBoolean;
@@ -118,6 +124,38 @@ export declare const SIDECAR_METHODS: {
118
124
  }, z.core.$strip>, z.ZodObject<{
119
125
  event: z.ZodLiteral<"clarify_resolved">;
120
126
  data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
127
+ }, z.core.$strip>, z.ZodObject<{
128
+ event: z.ZodLiteral<"connection">;
129
+ data: z.ZodObject<{
130
+ op_id: z.ZodString;
131
+ settled: z.ZodBoolean;
132
+ owner: z.ZodEnum<{
133
+ session: "session";
134
+ account: "account";
135
+ }>;
136
+ tool_call_id: z.ZodNullable<z.ZodString>;
137
+ targets: z.ZodArray<z.ZodObject<{
138
+ name: z.ZodString;
139
+ kind: z.ZodString;
140
+ state: z.ZodEnum<{
141
+ pending: "pending";
142
+ skipped: "skipped";
143
+ initiated: "initiated";
144
+ connected: "connected";
145
+ failed: "failed";
146
+ expired: "expired";
147
+ not_connected: "not_connected";
148
+ }>;
149
+ detail: z.ZodString;
150
+ connect_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
151
+ required_env: z.ZodArray<z.ZodObject<{
152
+ name: z.ZodString;
153
+ prompt: z.ZodString;
154
+ required: z.ZodBoolean;
155
+ secret: z.ZodBoolean;
156
+ }, z.core.$strip>>;
157
+ }, z.core.$strip>>;
158
+ }, z.core.$strip>;
121
159
  }, z.core.$strip>, z.ZodObject<{
122
160
  event: z.ZodLiteral<"approval_resolved">;
123
161
  data: z.ZodObject<{
@@ -128,12 +166,52 @@ export declare const SIDECAR_METHODS: {
128
166
  }, z.core.$strip>, z.ZodObject<{
129
167
  event: z.ZodLiteral<"compressing">;
130
168
  data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
169
+ }, z.core.$strip>, z.ZodObject<{
170
+ event: z.ZodLiteral<"compression_finished">;
171
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
131
172
  }, z.core.$strip>, z.ZodObject<{
132
173
  event: z.ZodLiteral<"warning">;
133
174
  data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
134
175
  }, z.core.$strip>, z.ZodObject<{
135
176
  event: z.ZodLiteral<"status">;
136
177
  data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
178
+ }, z.core.$strip>, z.ZodObject<{
179
+ event: z.ZodLiteral<"notice">;
180
+ data: z.ZodObject<{
181
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
182
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
183
+ level: z.ZodString;
184
+ kind: z.ZodString;
185
+ ttl_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
186
+ text: z.ZodString;
187
+ lapses_with_agent: z.ZodOptional<z.ZodBoolean>;
188
+ }, z.core.$loose>;
189
+ }, z.core.$strip>, z.ZodObject<{
190
+ event: z.ZodLiteral<"notice_clear">;
191
+ data: z.ZodObject<{
192
+ key: z.ZodString;
193
+ }, z.core.$loose>;
194
+ }, z.core.$strip>, z.ZodObject<{
195
+ event: z.ZodLiteral<"notices_reset">;
196
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
197
+ }, z.core.$strip>, z.ZodObject<{
198
+ event: z.ZodLiteral<"provider_phase">;
199
+ data: z.ZodObject<{
200
+ phase: z.ZodNullable<z.ZodObject<{
201
+ phase: z.ZodLiteral<"prompt_reading">;
202
+ progress_percent: z.ZodNullable<z.ZodNumber>;
203
+ }, z.core.$strip>>;
204
+ }, z.core.$strip>;
205
+ }, z.core.$strip>, z.ZodObject<{
206
+ event: z.ZodLiteral<"rate_limit_wait">;
207
+ data: z.ZodObject<{
208
+ provider: z.ZodNullable<z.ZodString>;
209
+ until: z.ZodNullable<z.ZodNumber>;
210
+ until_kind: z.ZodOptional<z.ZodEnum<{
211
+ reset: "reset";
212
+ retry: "retry";
213
+ }>>;
214
+ }, z.core.$loose>;
137
215
  }, z.core.$strip>], "event">;
138
216
  };
139
217
  readonly 'chat.interrupt': {
@@ -189,6 +267,9 @@ export declare const SIDECAR_METHODS: {
189
267
  kept: "kept";
190
268
  last: "last";
191
269
  }>>;
270
+ reason: z.ZodOptional<z.ZodEnum<{
271
+ not_running: "not_running";
272
+ }>>;
192
273
  }, z.core.$strip>;
193
274
  };
194
275
  readonly 'chat.compress': {
@@ -229,6 +310,19 @@ export declare const SIDECAR_METHODS: {
229
310
  finalized: z.ZodBoolean;
230
311
  }, z.core.$strip>;
231
312
  };
313
+ readonly 'chat.finalize_session': {
314
+ readonly params: z.ZodObject<{
315
+ profile_home: z.ZodString;
316
+ session_id: z.ZodString;
317
+ reason: z.ZodEnum<{
318
+ delete: "delete";
319
+ clear: "clear";
320
+ }>;
321
+ }, z.core.$strip>;
322
+ readonly result: z.ZodObject<{
323
+ messages: z.ZodArray<z.ZodString>;
324
+ }, z.core.$strip>;
325
+ };
232
326
  readonly 'chat.evict_agent': {
233
327
  readonly params: z.ZodObject<{
234
328
  session_id: z.ZodString;
@@ -247,6 +341,28 @@ export declare const SIDECAR_METHODS: {
247
341
  committed: z.ZodBoolean;
248
342
  }, z.core.$strip>;
249
343
  };
344
+ readonly 'chat.refine': {
345
+ readonly params: z.ZodObject<{
346
+ profile_home: z.ZodString;
347
+ session_id: z.ZodString;
348
+ messages: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
349
+ focus: z.ZodString;
350
+ model: z.ZodString;
351
+ model_provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
352
+ enabled_toolsets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
353
+ max_iterations: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
354
+ max_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
355
+ reasoning_config: z.ZodOptional<z.ZodNullable<z.ZodObject<{
356
+ enabled: z.ZodBoolean;
357
+ effort: z.ZodOptional<z.ZodString>;
358
+ }, z.core.$strip>>>;
359
+ workspace: z.ZodOptional<z.ZodString>;
360
+ workspace_local: z.ZodOptional<z.ZodBoolean>;
361
+ }, z.core.$strip>;
362
+ readonly result: z.ZodObject<{
363
+ output: z.ZodString;
364
+ }, z.core.$strip>;
365
+ };
250
366
  readonly 'approval.respond': {
251
367
  readonly params: z.ZodObject<{
252
368
  profile_home: z.ZodString;
@@ -317,6 +433,16 @@ export declare const SIDECAR_METHODS: {
317
433
  path: z.ZodString;
318
434
  }, z.core.$strip>;
319
435
  };
436
+ readonly 'config.env_write': {
437
+ readonly params: z.ZodObject<{
438
+ profile_home: z.ZodString;
439
+ updates: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
440
+ }, z.core.$strip>;
441
+ readonly result: z.ZodObject<{
442
+ ok: z.ZodLiteral<true>;
443
+ path: z.ZodString;
444
+ }, z.core.$strip>;
445
+ };
320
446
  readonly 'models.reasoning_efforts': {
321
447
  readonly params: z.ZodObject<{
322
448
  profile_home: z.ZodString;
@@ -328,6 +454,155 @@ export declare const SIDECAR_METHODS: {
328
454
  supports_reasoning: z.ZodNullable<z.ZodBoolean>;
329
455
  }, z.core.$strip>;
330
456
  };
457
+ readonly 'personalities.list': {
458
+ readonly params: z.ZodObject<{
459
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
460
+ }, z.core.$strip>;
461
+ readonly result: z.ZodObject<{
462
+ personalities: z.ZodArray<z.ZodObject<{
463
+ name: z.ZodString;
464
+ description: z.ZodString;
465
+ prompt: z.ZodString;
466
+ }, z.core.$strip>>;
467
+ }, z.core.$strip>;
468
+ };
469
+ readonly 'checkpoints.list': {
470
+ readonly params: z.ZodObject<{
471
+ profile_home: z.ZodString;
472
+ workspace: z.ZodString;
473
+ }, z.core.$strip>;
474
+ readonly result: z.ZodObject<{
475
+ checkpoints: z.ZodArray<z.ZodObject<{
476
+ hash: z.ZodString;
477
+ short_hash: z.ZodString;
478
+ timestamp: z.ZodString;
479
+ reason: z.ZodString;
480
+ files_changed: z.ZodNumber;
481
+ insertions: z.ZodNumber;
482
+ deletions: z.ZodNumber;
483
+ }, z.core.$strip>>;
484
+ store: z.ZodString;
485
+ }, z.core.$strip>;
486
+ };
487
+ readonly 'checkpoints.diff': {
488
+ readonly params: z.ZodObject<{
489
+ profile_home: z.ZodString;
490
+ workspace: z.ZodString;
491
+ checkpoint: z.ZodString;
492
+ }, z.core.$strip>;
493
+ readonly result: z.ZodObject<{
494
+ stat: z.ZodString;
495
+ diff: z.ZodString;
496
+ }, z.core.$strip>;
497
+ };
498
+ readonly 'checkpoints.restore': {
499
+ readonly params: z.ZodObject<{
500
+ profile_home: z.ZodString;
501
+ workspace: z.ZodString;
502
+ checkpoint: z.ZodString;
503
+ }, z.core.$strip>;
504
+ readonly result: z.ZodObject<{
505
+ restored_to: z.ZodString;
506
+ reason: z.ZodString;
507
+ }, z.core.$strip>;
508
+ };
509
+ readonly 'write_approval.pending': {
510
+ readonly params: z.ZodObject<{
511
+ profile_home: z.ZodString;
512
+ kind: z.ZodEnum<{
513
+ skills: "skills";
514
+ memory: "memory";
515
+ }>;
516
+ }, z.core.$strip>;
517
+ readonly result: z.ZodObject<{
518
+ supported: z.ZodBoolean;
519
+ enabled: z.ZodBoolean;
520
+ items: z.ZodArray<z.ZodObject<{
521
+ id: z.ZodString;
522
+ kind: z.ZodEnum<{
523
+ skills: "skills";
524
+ memory: "memory";
525
+ }>;
526
+ target: z.ZodString;
527
+ op: z.ZodString;
528
+ summary: z.ZodString;
529
+ origin: z.ZodString;
530
+ created_at: z.ZodNumber;
531
+ diff: z.ZodString;
532
+ approvable: z.ZodBoolean;
533
+ revision: z.ZodString;
534
+ }, z.core.$strip>>;
535
+ }, z.core.$strip>;
536
+ };
537
+ readonly 'write_approval.approve': {
538
+ readonly params: z.ZodObject<{
539
+ profile_home: z.ZodString;
540
+ kind: z.ZodEnum<{
541
+ skills: "skills";
542
+ memory: "memory";
543
+ }>;
544
+ writes: z.ZodArray<z.ZodObject<{
545
+ id: z.ZodString;
546
+ revision: z.ZodString;
547
+ }, z.core.$strip>>;
548
+ }, z.core.$strip>;
549
+ readonly result: z.ZodObject<{
550
+ results: z.ZodArray<z.ZodObject<{
551
+ id: z.ZodString;
552
+ done: z.ZodBoolean;
553
+ message: z.ZodString;
554
+ }, z.core.$strip>>;
555
+ }, z.core.$strip>;
556
+ };
557
+ readonly 'write_approval.reject': {
558
+ readonly params: z.ZodObject<{
559
+ profile_home: z.ZodString;
560
+ kind: z.ZodEnum<{
561
+ skills: "skills";
562
+ memory: "memory";
563
+ }>;
564
+ writes: z.ZodArray<z.ZodObject<{
565
+ id: z.ZodString;
566
+ revision: z.ZodString;
567
+ }, z.core.$strip>>;
568
+ }, z.core.$strip>;
569
+ readonly result: z.ZodObject<{
570
+ results: z.ZodArray<z.ZodObject<{
571
+ id: z.ZodString;
572
+ done: z.ZodBoolean;
573
+ message: z.ZodString;
574
+ }, z.core.$strip>>;
575
+ }, z.core.$strip>;
576
+ };
577
+ readonly 'memory.check': {
578
+ readonly params: z.ZodObject<{
579
+ profile_home: z.ZodString;
580
+ target: z.ZodEnum<{
581
+ memory: "memory";
582
+ user: "user";
583
+ }>;
584
+ content: z.ZodString;
585
+ }, z.core.$strip>;
586
+ readonly result: z.ZodObject<{
587
+ count: z.ZodNumber;
588
+ limit: z.ZodNumber;
589
+ }, z.core.$strip>;
590
+ };
591
+ readonly 'memory.write': {
592
+ readonly params: z.ZodObject<{
593
+ profile_home: z.ZodString;
594
+ section: z.ZodEnum<{
595
+ memory: "memory";
596
+ user: "user";
597
+ soul: "soul";
598
+ }>;
599
+ base: z.ZodString;
600
+ content: z.ZodString;
601
+ }, z.core.$strip>;
602
+ readonly result: z.ZodObject<{
603
+ written: z.ZodBoolean;
604
+ }, z.core.$strip>;
605
+ };
331
606
  readonly 'worktree.create': {
332
607
  readonly params: z.ZodObject<{
333
608
  profile_home: z.ZodString;
@@ -340,22 +615,164 @@ export declare const SIDECAR_METHODS: {
340
615
  base: z.ZodNullable<z.ZodString>;
341
616
  }, z.core.$strip>;
342
617
  };
343
- readonly 'gateway.restart': {
618
+ readonly 'gateway.session': {
619
+ readonly params: z.ZodObject<{
620
+ profile_home: z.ZodString;
621
+ session_id: z.ZodString;
622
+ action: z.ZodEnum<{
623
+ snapshot: "snapshot";
624
+ receipt: "receipt";
625
+ watch: "watch";
626
+ submit: "submit";
627
+ cancel: "cancel";
628
+ interrupt: "interrupt";
629
+ approval: "approval";
630
+ clarify: "clarify";
631
+ discard: "discard";
632
+ mutate: "mutate";
633
+ }>;
634
+ request_id: z.ZodOptional<z.ZodString>;
635
+ text: z.ZodOptional<z.ZodString>;
636
+ admission_id: z.ZodOptional<z.ZodString>;
637
+ execution_generation: z.ZodOptional<z.ZodNumber>;
638
+ prompt_id: z.ZodOptional<z.ZodString>;
639
+ choice: z.ZodOptional<z.ZodEnum<{
640
+ once: "once";
641
+ session: "session";
642
+ always: "always";
643
+ deny: "deny";
644
+ }>>;
645
+ expected_revision: z.ZodOptional<z.ZodNumber>;
646
+ operation: z.ZodOptional<z.ZodEnum<{
647
+ rename: "rename";
648
+ archive: "archive";
649
+ sidebar: "sidebar";
650
+ branch: "branch";
651
+ delete: "delete";
652
+ rewind: "rewind";
653
+ reset: "reset";
654
+ model: "model";
655
+ workspace: "workspace";
656
+ compress: "compress";
657
+ }>>;
658
+ payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
659
+ }, z.core.$strip>;
660
+ readonly result: z.ZodObject<{
661
+ state: z.ZodEnum<{
662
+ attached: "attached";
663
+ stopped: "stopped";
664
+ unavailable: "unavailable";
665
+ incompatible: "incompatible";
666
+ refused: "refused";
667
+ }>;
668
+ reason: z.ZodNullable<z.ZodString>;
669
+ replay_gap: z.ZodOptional<z.ZodBoolean>;
670
+ snapshot: z.ZodNullable<z.ZodObject<{
671
+ session_id: z.ZodString;
672
+ stored_session_id: z.ZodString;
673
+ messages: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
674
+ message_count: z.ZodNumber;
675
+ running: z.ZodBoolean;
676
+ authority_epoch: z.ZodNumber;
677
+ replay_epoch: z.ZodString;
678
+ last_sequence: z.ZodNumber;
679
+ subscription_id: z.ZodString;
680
+ revision: z.ZodNumber;
681
+ execution_generation: z.ZodNumber;
682
+ pending: z.ZodArray<z.ZodObject<{
683
+ admission_id: z.ZodString;
684
+ sequence: z.ZodNumber;
685
+ status: z.ZodEnum<{
686
+ unknown: "unknown";
687
+ queued: "queued";
688
+ started: "started";
689
+ terminal: "terminal";
690
+ }>;
691
+ outcome: z.ZodNullable<z.ZodString>;
692
+ authority_epoch: z.ZodNumber;
693
+ execution_generation: z.ZodNullable<z.ZodNumber>;
694
+ text: z.ZodOptional<z.ZodString>;
695
+ input_id: z.ZodOptional<z.ZodString>;
696
+ }, z.core.$strip>>;
697
+ prompts: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
698
+ info: z.ZodRecord<z.ZodString, z.ZodUnknown>;
699
+ }, z.core.$strip>>;
700
+ receipt: z.ZodNullable<z.ZodObject<{
701
+ admission_id: z.ZodString;
702
+ sequence: z.ZodNumber;
703
+ status: z.ZodEnum<{
704
+ unknown: "unknown";
705
+ queued: "queued";
706
+ started: "started";
707
+ terminal: "terminal";
708
+ }>;
709
+ outcome: z.ZodNullable<z.ZodString>;
710
+ authority_epoch: z.ZodNumber;
711
+ execution_generation: z.ZodNullable<z.ZodNumber>;
712
+ text: z.ZodOptional<z.ZodString>;
713
+ input_id: z.ZodOptional<z.ZodString>;
714
+ }, z.core.$strip>>;
715
+ }, z.core.$strip>;
716
+ readonly stream: z.ZodObject<{
717
+ event: z.ZodEnum<{
718
+ snapshot: "snapshot";
719
+ event: "event";
720
+ }>;
721
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
722
+ }, z.core.$strip>;
723
+ };
724
+ readonly 'gateway.control': {
344
725
  readonly params: z.ZodObject<{
345
726
  profile_home: z.ZodString;
346
727
  cli_profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
347
728
  quick_timeout_seconds: z.ZodOptional<z.ZodNumber>;
348
729
  background_wait_seconds: z.ZodOptional<z.ZodNumber>;
730
+ action: z.ZodEnum<{
731
+ start: "start";
732
+ stop: "stop";
733
+ restart: "restart";
734
+ }>;
349
735
  }, z.core.$strip>;
350
736
  readonly result: z.ZodObject<{
351
737
  status: z.ZodEnum<{
738
+ failed: "failed";
352
739
  completed: "completed";
740
+ busy: "busy";
741
+ }>;
742
+ message: z.ZodString;
743
+ detail: z.ZodOptional<z.ZodString>;
744
+ returncode: z.ZodOptional<z.ZodNumber>;
745
+ reason: z.ZodOptional<z.ZodString>;
746
+ timed_out: z.ZodOptional<z.ZodBoolean>;
747
+ }, z.core.$strip>;
748
+ readonly stream: z.ZodDiscriminatedUnion<[z.ZodObject<{
749
+ event: z.ZodLiteral<"progress">;
750
+ data: z.ZodObject<{
751
+ phase: z.ZodEnum<{
752
+ started: "started";
753
+ draining: "draining";
754
+ }>;
755
+ }, z.core.$strip>;
756
+ }, z.core.$strip>], "event">;
757
+ };
758
+ readonly 'gateway.restart': {
759
+ readonly params: z.ZodObject<{
760
+ profile_home: z.ZodString;
761
+ cli_profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
762
+ quick_timeout_seconds: z.ZodOptional<z.ZodNumber>;
763
+ background_wait_seconds: z.ZodOptional<z.ZodNumber>;
764
+ }, z.core.$strip>;
765
+ readonly result: z.ZodObject<{
766
+ status: z.ZodEnum<{
353
767
  failed: "failed";
768
+ completed: "completed";
354
769
  busy: "busy";
355
770
  }>;
356
771
  message: z.ZodString;
357
772
  detail: z.ZodOptional<z.ZodString>;
358
773
  returncode: z.ZodOptional<z.ZodNumber>;
774
+ reason: z.ZodOptional<z.ZodString>;
775
+ timed_out: z.ZodOptional<z.ZodBoolean>;
359
776
  }, z.core.$strip>;
360
777
  readonly stream: z.ZodDiscriminatedUnion<[z.ZodObject<{
361
778
  event: z.ZodLiteral<"progress">;
@@ -367,6 +784,22 @@ export declare const SIDECAR_METHODS: {
367
784
  }, z.core.$strip>;
368
785
  }, z.core.$strip>], "event">;
369
786
  };
787
+ readonly 'gateway.mode': {
788
+ readonly params: z.ZodObject<{
789
+ profile_home: z.ZodString;
790
+ name: z.ZodString;
791
+ is_default: z.ZodBoolean;
792
+ }, z.core.$strip>;
793
+ readonly result: z.ZodObject<{
794
+ gateway_mode: z.ZodEnum<{
795
+ stopped: "stopped";
796
+ parked: "parked";
797
+ own: "own";
798
+ served: "served";
799
+ standalone: "standalone";
800
+ }>;
801
+ }, z.core.$strip>;
802
+ };
370
803
  readonly 'usage.account': {
371
804
  readonly params: z.ZodObject<{
372
805
  profile_home: z.ZodString;
@@ -390,6 +823,7 @@ export declare const SIDECAR_METHODS: {
390
823
  profile_home: z.ZodString;
391
824
  provider: z.ZodString;
392
825
  api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
826
+ env_vars: z.ZodOptional<z.ZodArray<z.ZodString>>;
393
827
  }, z.core.$strip>;
394
828
  readonly result: z.ZodObject<{
395
829
  entries: z.ZodArray<z.ZodObject<{
@@ -404,14 +838,38 @@ export declare const SIDECAR_METHODS: {
404
838
  retry_after: z.ZodNullable<z.ZodString>;
405
839
  matches_api_key: z.ZodBoolean;
406
840
  }, z.core.$strip>>;
841
+ has_api_key: z.ZodOptional<z.ZodBoolean>;
407
842
  }, z.core.$strip>;
408
843
  };
409
844
  readonly 'usage.pool_providers': {
410
845
  readonly params: z.ZodObject<{
411
846
  profile_home: z.ZodString;
847
+ key_envs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
412
848
  }, z.core.$strip>;
413
849
  readonly result: z.ZodObject<{
414
850
  providers: z.ZodArray<z.ZodString>;
851
+ keys: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
852
+ present: z.ZodBoolean;
853
+ revision: z.ZodNullable<z.ZodString>;
854
+ }, z.core.$strip>>>;
855
+ }, z.core.$strip>;
856
+ };
857
+ readonly 'usage.limits': {
858
+ readonly params: z.ZodObject<{
859
+ profile_home: z.ZodString;
860
+ providers: z.ZodArray<z.ZodObject<{
861
+ slug: z.ZodString;
862
+ models: z.ZodArray<z.ZodString>;
863
+ }, z.core.$strip>>;
864
+ }, z.core.$strip>;
865
+ readonly result: z.ZodObject<{
866
+ limits: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
867
+ scope: z.ZodLiteral<"account">;
868
+ resets_at: z.ZodString;
869
+ }, z.core.$strip>, z.ZodObject<{
870
+ scope: z.ZodLiteral<"models">;
871
+ models: z.ZodRecord<z.ZodString, z.ZodString>;
872
+ }, z.core.$strip>], "scope">>;
415
873
  }, z.core.$strip>;
416
874
  };
417
875
  readonly 'usage.balance': {
@@ -424,11 +882,12 @@ export declare const SIDECAR_METHODS: {
424
882
  }>;
425
883
  credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
426
884
  api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
885
+ env_vars: z.ZodOptional<z.ZodArray<z.ZodString>>;
427
886
  }, z.core.$strip>;
428
887
  readonly result: z.ZodObject<{
429
888
  status: z.ZodEnum<{
430
- ok: "ok";
431
889
  unavailable: "unavailable";
890
+ ok: "ok";
432
891
  no_key: "no_key";
433
892
  http_error: "http_error";
434
893
  }>;
@@ -473,6 +932,8 @@ export declare const SIDECAR_METHODS: {
473
932
  type: z.ZodOptional<z.ZodString>;
474
933
  session_key: z.ZodOptional<z.ZodString>;
475
934
  origin_ui_session_id: z.ZodOptional<z.ZodString>;
935
+ child_process: z.ZodOptional<z.ZodBoolean>;
936
+ reconciliation_profile_home: z.ZodOptional<z.ZodString>;
476
937
  }, z.core.$catchall<z.ZodUnknown>>>;
477
938
  }, z.core.$strip>;
478
939
  };
@@ -516,6 +977,7 @@ export declare const SIDECAR_METHODS: {
516
977
  }, z.core.$strip>;
517
978
  readonly result: z.ZodObject<{
518
979
  claim_id: z.ZodNullable<z.ZodString>;
980
+ retryable: z.ZodOptional<z.ZodBoolean>;
519
981
  }, z.core.$strip>;
520
982
  };
521
983
  readonly 'process.complete_delivery': {
@@ -636,6 +1098,14 @@ export declare const SIDECAR_METHODS: {
636
1098
  tags: z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
637
1099
  }, z.core.$strip>;
638
1100
  };
1101
+ readonly 'text.spoken': {
1102
+ readonly params: z.ZodObject<{
1103
+ text: z.ZodString;
1104
+ }, z.core.$strip>;
1105
+ readonly result: z.ZodObject<{
1106
+ spoken_text: z.ZodString;
1107
+ }, z.core.$strip>;
1108
+ };
639
1109
  readonly 'aux.complete': {
640
1110
  readonly params: z.ZodObject<{
641
1111
  profile_home: z.ZodString;
@@ -645,6 +1115,8 @@ export declare const SIDECAR_METHODS: {
645
1115
  main_fallback: z.ZodOptional<z.ZodBoolean>;
646
1116
  max_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
647
1117
  temperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1118
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1119
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
648
1120
  }, z.core.$strip>;
649
1121
  readonly result: z.ZodObject<{
650
1122
  model: z.ZodString;
@@ -654,6 +1126,7 @@ export declare const SIDECAR_METHODS: {
654
1126
  completion_tokens: z.ZodOptional<z.ZodNumber>;
655
1127
  total_tokens: z.ZodOptional<z.ZodNumber>;
656
1128
  }, z.core.$strip>>;
1129
+ finish_reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
657
1130
  }, z.core.$strip>;
658
1131
  readonly stream: z.ZodDiscriminatedUnion<[z.ZodObject<{
659
1132
  event: z.ZodLiteral<"token">;
@@ -662,6 +1135,26 @@ export declare const SIDECAR_METHODS: {
662
1135
  }, z.core.$strip>;
663
1136
  }, z.core.$strip>], "event">;
664
1137
  };
1138
+ readonly 'aux.tasks': {
1139
+ readonly params: z.ZodObject<{
1140
+ profile_home: z.ZodString;
1141
+ }, z.core.$strip>;
1142
+ readonly result: z.ZodObject<{
1143
+ tasks: z.ZodArray<z.ZodObject<{
1144
+ key: z.ZodString;
1145
+ label: z.ZodString;
1146
+ description: z.ZodString;
1147
+ inherit_from: z.ZodNullable<z.ZodString>;
1148
+ reasoning_effort: z.ZodString;
1149
+ effective: z.ZodNullable<z.ZodObject<{
1150
+ provider: z.ZodString;
1151
+ model: z.ZodString;
1152
+ base_url: z.ZodString;
1153
+ }, z.core.$strip>>;
1154
+ }, z.core.$strip>>;
1155
+ reserved: z.ZodArray<z.ZodString>;
1156
+ }, z.core.$strip>;
1157
+ };
665
1158
  readonly 'aux.resolve': {
666
1159
  readonly params: z.ZodObject<{
667
1160
  profile_home: z.ZodString;
@@ -699,11 +1192,11 @@ export declare const SIDECAR_METHODS: {
699
1192
  provider: z.ZodString;
700
1193
  status: z.ZodEnum<{
701
1194
  error: "error";
702
- cancelled: "cancelled";
703
1195
  pending: "pending";
1196
+ cancelled: "cancelled";
1197
+ expired: "expired";
704
1198
  approved: "approved";
705
1199
  denied: "denied";
706
- expired: "expired";
707
1200
  }>;
708
1201
  error: z.ZodNullable<z.ZodString>;
709
1202
  }, z.core.$strip>;
@@ -718,11 +1211,11 @@ export declare const SIDECAR_METHODS: {
718
1211
  provider: z.ZodString;
719
1212
  status: z.ZodEnum<{
720
1213
  error: "error";
721
- cancelled: "cancelled";
722
1214
  pending: "pending";
1215
+ cancelled: "cancelled";
1216
+ expired: "expired";
723
1217
  approved: "approved";
724
1218
  denied: "denied";
725
- expired: "expired";
726
1219
  }>;
727
1220
  error: z.ZodNullable<z.ZodString>;
728
1221
  }, z.core.$strip>;
@@ -759,6 +1252,17 @@ export declare const SIDECAR_METHODS: {
759
1252
  readonly result: z.ZodObject<{
760
1253
  provider: z.ZodString;
761
1254
  model_ids: z.ZodArray<z.ZodString>;
1255
+ fallback: z.ZodDefault<z.ZodBoolean>;
1256
+ }, z.core.$strip>;
1257
+ };
1258
+ readonly 'providers.local_models': {
1259
+ readonly params: z.ZodObject<{
1260
+ profile_home: z.ZodString;
1261
+ }, z.core.$strip>;
1262
+ readonly result: z.ZodObject<{
1263
+ provider_id: z.ZodString;
1264
+ models: z.ZodArray<z.ZodString>;
1265
+ current_endpoint: z.ZodNullable<z.ZodString>;
762
1266
  }, z.core.$strip>;
763
1267
  };
764
1268
  readonly 'providers.resolve_runtime': {
@@ -784,6 +1288,55 @@ export declare const SIDECAR_METHODS: {
784
1288
  entries: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
785
1289
  }, z.core.$strip>;
786
1290
  };
1291
+ readonly 'models.selection_warnings': {
1292
+ readonly params: z.ZodObject<{
1293
+ profile_home: z.ZodString;
1294
+ session_id: z.ZodString;
1295
+ model: z.ZodString;
1296
+ provider: z.ZodNullable<z.ZodString>;
1297
+ current_model: z.ZodNullable<z.ZodString>;
1298
+ current_provider: z.ZodNullable<z.ZodString>;
1299
+ context_tokens: z.ZodNullable<z.ZodNumber>;
1300
+ messages: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1301
+ }, z.core.$strip>;
1302
+ readonly result: z.ZodObject<{
1303
+ warnings: z.ZodArray<z.ZodObject<{
1304
+ kind: z.ZodString;
1305
+ title: z.ZodString;
1306
+ model: z.ZodString;
1307
+ provider: z.ZodString;
1308
+ message: z.ZodString;
1309
+ }, z.core.$strip>>;
1310
+ context_tokens: z.ZodNullable<z.ZodNumber>;
1311
+ provider: z.ZodString;
1312
+ base_url: z.ZodString;
1313
+ }, z.core.$strip>;
1314
+ };
1315
+ readonly 'models.speed_tiers': {
1316
+ readonly params: z.ZodObject<{
1317
+ profile_home: z.ZodString;
1318
+ routes: z.ZodArray<z.ZodObject<{
1319
+ model: z.ZodString;
1320
+ provider: z.ZodString;
1321
+ base_url: z.ZodOptional<z.ZodString>;
1322
+ }, z.core.$strip>>;
1323
+ }, z.core.$strip>;
1324
+ readonly result: z.ZodObject<{
1325
+ tiers: z.ZodArray<z.ZodArray<z.ZodObject<{
1326
+ id: z.ZodEnum<{
1327
+ standard: "standard";
1328
+ priority: "priority";
1329
+ ultrafast: "ultrafast";
1330
+ fast: "fast";
1331
+ }>;
1332
+ service_tier: z.ZodEnum<{
1333
+ default: "default";
1334
+ priority: "priority";
1335
+ ultrafast: "ultrafast";
1336
+ }>;
1337
+ }, z.core.$strip>>>;
1338
+ }, z.core.$strip>;
1339
+ };
787
1340
  readonly 'models.context_length': {
788
1341
  readonly params: z.ZodObject<{
789
1342
  profile_home: z.ZodString;
@@ -816,9 +1369,55 @@ export declare const SIDECAR_METHODS: {
816
1369
  capabilities: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
817
1370
  }, z.core.$strip>;
818
1371
  };
1372
+ readonly 'cron.blueprints': {
1373
+ readonly params: z.ZodObject<{
1374
+ profile_home: z.ZodString;
1375
+ }, z.core.$strip>;
1376
+ readonly result: z.ZodObject<{
1377
+ blueprints: z.ZodArray<z.ZodObject<{
1378
+ key: z.ZodString;
1379
+ title: z.ZodString;
1380
+ description: z.ZodString;
1381
+ category: z.ZodString;
1382
+ source: z.ZodEnum<{
1383
+ plugin: "plugin";
1384
+ builtin: "builtin";
1385
+ }>;
1386
+ plugin: z.ZodNullable<z.ZodString>;
1387
+ schedule_label: z.ZodString;
1388
+ slots: z.ZodArray<z.ZodObject<{
1389
+ name: z.ZodString;
1390
+ type: z.ZodString;
1391
+ label: z.ZodString;
1392
+ default: z.ZodNullable<z.ZodString>;
1393
+ options: z.ZodArray<z.ZodString>;
1394
+ optional: z.ZodBoolean;
1395
+ strict: z.ZodBoolean;
1396
+ help: z.ZodString;
1397
+ }, z.core.$strip>>;
1398
+ }, z.core.$strip>>;
1399
+ }, z.core.$strip>;
1400
+ };
1401
+ readonly 'cron.blueprint_fill': {
1402
+ readonly params: z.ZodObject<{
1403
+ key: z.ZodString;
1404
+ values: z.ZodRecord<z.ZodString, z.ZodString>;
1405
+ profile_home: z.ZodOptional<z.ZodString>;
1406
+ }, z.core.$strip>;
1407
+ readonly result: z.ZodObject<{
1408
+ draft: z.ZodObject<{
1409
+ name: z.ZodString;
1410
+ prompt: z.ZodString;
1411
+ schedule: z.ZodString;
1412
+ deliver: z.ZodString;
1413
+ skills: z.ZodArray<z.ZodString>;
1414
+ }, z.core.$strip>;
1415
+ }, z.core.$strip>;
1416
+ };
819
1417
  readonly 'cron.list': {
820
1418
  readonly params: z.ZodObject<{
821
1419
  profile_home: z.ZodString;
1420
+ probe_store: z.ZodOptional<z.ZodBoolean>;
822
1421
  }, z.core.$strip>;
823
1422
  readonly result: z.ZodObject<{
824
1423
  jobs: z.ZodArray<z.ZodObject<{
@@ -828,7 +1427,15 @@ export declare const SIDECAR_METHODS: {
828
1427
  toast_notifications: z.ZodBoolean;
829
1428
  monitor: z.ZodString;
830
1429
  continuity: z.ZodBoolean;
1430
+ running_elsewhere: z.ZodOptional<z.ZodBoolean>;
1431
+ recovery_only: z.ZodOptional<z.ZodBoolean>;
831
1432
  }, z.core.$catchall<z.ZodUnknown>>>;
1433
+ store_health: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1434
+ store: z.ZodString;
1435
+ error: z.ZodString;
1436
+ since: z.ZodString;
1437
+ fix: z.ZodString;
1438
+ }, z.core.$strip>>>;
832
1439
  }, z.core.$strip>;
833
1440
  };
834
1441
  readonly 'cron.get': {
@@ -844,6 +1451,8 @@ export declare const SIDECAR_METHODS: {
844
1451
  toast_notifications: z.ZodBoolean;
845
1452
  monitor: z.ZodString;
846
1453
  continuity: z.ZodBoolean;
1454
+ running_elsewhere: z.ZodOptional<z.ZodBoolean>;
1455
+ recovery_only: z.ZodOptional<z.ZodBoolean>;
847
1456
  }, z.core.$catchall<z.ZodUnknown>>>;
848
1457
  }, z.core.$strip>;
849
1458
  };
@@ -861,6 +1470,8 @@ export declare const SIDECAR_METHODS: {
861
1470
  toast_notifications: z.ZodBoolean;
862
1471
  monitor: z.ZodString;
863
1472
  continuity: z.ZodBoolean;
1473
+ running_elsewhere: z.ZodOptional<z.ZodBoolean>;
1474
+ recovery_only: z.ZodOptional<z.ZodBoolean>;
864
1475
  }, z.core.$catchall<z.ZodUnknown>>;
865
1476
  }, z.core.$strip>;
866
1477
  };
@@ -878,6 +1489,8 @@ export declare const SIDECAR_METHODS: {
878
1489
  toast_notifications: z.ZodBoolean;
879
1490
  monitor: z.ZodString;
880
1491
  continuity: z.ZodBoolean;
1492
+ running_elsewhere: z.ZodOptional<z.ZodBoolean>;
1493
+ recovery_only: z.ZodOptional<z.ZodBoolean>;
881
1494
  }, z.core.$catchall<z.ZodUnknown>>;
882
1495
  }, z.core.$strip>;
883
1496
  };
@@ -903,145 +1516,440 @@ export declare const SIDECAR_METHODS: {
903
1516
  }, z.core.$catchall<z.ZodUnknown>>;
904
1517
  }, z.core.$strip>;
905
1518
  };
906
- readonly 'cron.resume': {
1519
+ readonly 'cron.resume': {
1520
+ readonly params: z.ZodObject<{
1521
+ profile_home: z.ZodString;
1522
+ job_id: z.ZodString;
1523
+ }, z.core.$strip>;
1524
+ readonly result: z.ZodObject<{
1525
+ job: z.ZodObject<{
1526
+ id: z.ZodString;
1527
+ }, z.core.$catchall<z.ZodUnknown>>;
1528
+ }, z.core.$strip>;
1529
+ };
1530
+ readonly 'cron.run': {
1531
+ readonly params: z.ZodObject<{
1532
+ profile_home: z.ZodString;
1533
+ job_id: z.ZodString;
1534
+ execution_home: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1535
+ }, z.core.$strip>;
1536
+ readonly result: z.ZodUnion<readonly [z.ZodObject<{
1537
+ job_id: z.ZodString;
1538
+ status: z.ZodLiteral<"already_running">;
1539
+ elapsed: z.ZodNumber;
1540
+ }, z.core.$strip>, z.ZodObject<{
1541
+ job_id: z.ZodString;
1542
+ status: z.ZodEnum<{
1543
+ failed: "failed";
1544
+ completed: "completed";
1545
+ }>;
1546
+ success: z.ZodBoolean;
1547
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1548
+ delivery_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1549
+ }, z.core.$strip>]>;
1550
+ readonly stream: z.ZodDiscriminatedUnion<[z.ZodObject<{
1551
+ event: z.ZodLiteral<"started">;
1552
+ data: z.ZodObject<{
1553
+ job_id: z.ZodString;
1554
+ }, z.core.$strip>;
1555
+ }, z.core.$strip>], "event">;
1556
+ };
1557
+ readonly 'cron.status': {
1558
+ readonly params: z.ZodObject<{
1559
+ job_id: z.ZodOptional<z.ZodString>;
1560
+ }, z.core.$strip>;
1561
+ readonly result: z.ZodUnion<readonly [z.ZodObject<{
1562
+ job_id: z.ZodString;
1563
+ running: z.ZodBoolean;
1564
+ elapsed: z.ZodNumber;
1565
+ }, z.core.$strip>, z.ZodObject<{
1566
+ running: z.ZodRecord<z.ZodString, z.ZodNumber>;
1567
+ }, z.core.$strip>]>;
1568
+ };
1569
+ readonly 'cron.history': {
1570
+ readonly params: z.ZodObject<{
1571
+ profile_home: z.ZodString;
1572
+ job_id: z.ZodString;
1573
+ offset: z.ZodOptional<z.ZodNumber>;
1574
+ limit: z.ZodOptional<z.ZodNumber>;
1575
+ }, z.core.$strip>;
1576
+ readonly result: z.ZodObject<{
1577
+ job_id: z.ZodString;
1578
+ runs: z.ZodArray<z.ZodObject<{
1579
+ filename: z.ZodString;
1580
+ size: z.ZodNumber;
1581
+ modified: z.ZodNumber;
1582
+ usage: z.ZodObject<{
1583
+ model: z.ZodOptional<z.ZodString>;
1584
+ provider: z.ZodOptional<z.ZodString>;
1585
+ estimated_cost_usd: z.ZodOptional<z.ZodNumber>;
1586
+ duration_seconds: z.ZodOptional<z.ZodNumber>;
1587
+ input_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1588
+ output_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1589
+ total_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1590
+ }, z.core.$strip>;
1591
+ }, z.core.$strip>>;
1592
+ total: z.ZodNumber;
1593
+ offset: z.ZodNumber;
1594
+ }, z.core.$strip>;
1595
+ };
1596
+ readonly 'cron.run_detail': {
1597
+ readonly params: z.ZodObject<{
1598
+ profile_home: z.ZodString;
1599
+ job_id: z.ZodString;
1600
+ filename: z.ZodString;
1601
+ }, z.core.$strip>;
1602
+ readonly result: z.ZodObject<{
1603
+ job_id: z.ZodString;
1604
+ filename: z.ZodString;
1605
+ content: z.ZodString;
1606
+ snippet: z.ZodString;
1607
+ usage: z.ZodObject<{
1608
+ model: z.ZodOptional<z.ZodString>;
1609
+ provider: z.ZodOptional<z.ZodString>;
1610
+ estimated_cost_usd: z.ZodOptional<z.ZodNumber>;
1611
+ duration_seconds: z.ZodOptional<z.ZodNumber>;
1612
+ input_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1613
+ output_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1614
+ total_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1615
+ }, z.core.$strip>;
1616
+ }, z.core.$strip>;
1617
+ };
1618
+ readonly 'cron.output': {
1619
+ readonly params: z.ZodObject<{
1620
+ profile_home: z.ZodString;
1621
+ job_id: z.ZodString;
1622
+ limit: z.ZodOptional<z.ZodNumber>;
1623
+ }, z.core.$strip>;
1624
+ readonly result: z.ZodObject<{
1625
+ job_id: z.ZodString;
1626
+ outputs: z.ZodArray<z.ZodObject<{
1627
+ filename: z.ZodString;
1628
+ content: z.ZodString;
1629
+ }, z.core.$strip>>;
1630
+ }, z.core.$strip>;
1631
+ };
1632
+ readonly 'cron.delivery_options': {
1633
+ readonly params: z.ZodObject<{}, z.core.$strip>;
1634
+ readonly result: z.ZodObject<{
1635
+ platforms: z.ZodArray<z.ZodObject<{
1636
+ value: z.ZodString;
1637
+ label: z.ZodString;
1638
+ }, z.core.$strip>>;
1639
+ }, z.core.$strip>;
1640
+ };
1641
+ readonly 'stt.capability': {
1642
+ readonly params: z.ZodObject<{
1643
+ profile_home: z.ZodString;
1644
+ }, z.core.$strip>;
1645
+ readonly result: z.ZodObject<{
1646
+ available: z.ZodBoolean;
1647
+ provider: z.ZodString;
1648
+ streaming: z.ZodBoolean;
1649
+ warm_supported: z.ZodBoolean;
1650
+ }, z.core.$strip>;
1651
+ };
1652
+ readonly 'stt.warm': {
1653
+ readonly params: z.ZodObject<{
1654
+ profile_home: z.ZodString;
1655
+ }, z.core.$strip>;
1656
+ readonly result: z.ZodObject<{
1657
+ provider: z.ZodString;
1658
+ warmed: z.ZodBoolean;
1659
+ action: z.ZodString;
1660
+ error: z.ZodOptional<z.ZodString>;
1661
+ }, z.core.$strip>;
1662
+ };
1663
+ readonly 'stt.transcribe': {
1664
+ readonly params: z.ZodObject<{
1665
+ profile_home: z.ZodString;
1666
+ audio_b64: z.ZodString;
1667
+ suffix: z.ZodOptional<z.ZodString>;
1668
+ }, z.core.$strip>;
1669
+ readonly result: z.ZodObject<{
1670
+ transcript: z.ZodString;
1671
+ filtered: z.ZodBoolean;
1672
+ }, z.core.$strip>;
1673
+ };
1674
+ readonly 'stt.stream': {
1675
+ readonly params: z.ZodObject<{
1676
+ profile_home: z.ZodString;
1677
+ sample_rate: z.ZodNumber;
1678
+ }, z.core.$strip>;
1679
+ readonly result: z.ZodObject<{
1680
+ transcript: z.ZodString;
1681
+ filtered: z.ZodBoolean;
1682
+ provider: z.ZodString;
1683
+ }, z.core.$strip>;
1684
+ readonly stream: z.ZodDiscriminatedUnion<[z.ZodObject<{
1685
+ event: z.ZodLiteral<"ready">;
1686
+ data: z.ZodObject<{
1687
+ stream_id: z.ZodString;
1688
+ }, z.core.$strip>;
1689
+ }, z.core.$strip>, z.ZodObject<{
1690
+ event: z.ZodLiteral<"partial">;
1691
+ data: z.ZodObject<{
1692
+ text: z.ZodString;
1693
+ }, z.core.$strip>;
1694
+ }, z.core.$strip>], "event">;
1695
+ };
1696
+ readonly 'stt.stream_audio': {
1697
+ readonly params: z.ZodObject<{
1698
+ stream_id: z.ZodString;
1699
+ audio_b64: z.ZodOptional<z.ZodString>;
1700
+ end: z.ZodOptional<z.ZodBoolean>;
1701
+ }, z.core.$strip>;
1702
+ readonly result: z.ZodObject<{
1703
+ ok: z.ZodLiteral<true>;
1704
+ }, z.core.$strip>;
1705
+ };
1706
+ readonly 'connectors.available': {
1707
+ readonly params: z.ZodObject<{
1708
+ profile_home: z.ZodString;
1709
+ }, z.core.$strip>;
1710
+ readonly result: z.ZodObject<{
1711
+ available: z.ZodBoolean;
1712
+ }, z.core.$strip>;
1713
+ };
1714
+ readonly 'connectors.catalog': {
1715
+ readonly params: z.ZodObject<{
1716
+ profile_home: z.ZodString;
1717
+ }, z.core.$strip>;
1718
+ readonly result: z.ZodObject<{
1719
+ connectors: z.ZodArray<z.ZodObject<{
1720
+ slug: z.ZodString;
1721
+ name: z.ZodString;
1722
+ description: z.ZodString;
1723
+ category: z.ZodString;
1724
+ logo_url: z.ZodNullable<z.ZodString>;
1725
+ }, z.core.$strip>>;
1726
+ }, z.core.$strip>;
1727
+ };
1728
+ readonly 'connectors.accounts': {
907
1729
  readonly params: z.ZodObject<{
908
1730
  profile_home: z.ZodString;
909
- job_id: z.ZodString;
910
1731
  }, z.core.$strip>;
911
1732
  readonly result: z.ZodObject<{
912
- job: z.ZodObject<{
913
- id: z.ZodString;
914
- }, z.core.$catchall<z.ZodUnknown>>;
1733
+ accounts: z.ZodArray<z.ZodObject<{
1734
+ connection_id: z.ZodString;
1735
+ connector: z.ZodString;
1736
+ status: z.ZodString;
1737
+ status_reason: z.ZodNullable<z.ZodString>;
1738
+ label: z.ZodString;
1739
+ alias: z.ZodNullable<z.ZodString>;
1740
+ active: z.ZodBoolean;
1741
+ disabled: z.ZodBoolean;
1742
+ created_at: z.ZodString;
1743
+ }, z.core.$strip>>;
915
1744
  }, z.core.$strip>;
916
1745
  };
917
- readonly 'cron.run': {
1746
+ readonly 'connectors.remove': {
918
1747
  readonly params: z.ZodObject<{
919
1748
  profile_home: z.ZodString;
920
- job_id: z.ZodString;
921
- execution_home: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1749
+ connection_id: z.ZodString;
922
1750
  }, z.core.$strip>;
923
- readonly result: z.ZodUnion<readonly [z.ZodObject<{
924
- job_id: z.ZodString;
925
- status: z.ZodLiteral<"already_running">;
926
- elapsed: z.ZodNumber;
927
- }, z.core.$strip>, z.ZodObject<{
928
- job_id: z.ZodString;
929
- status: z.ZodEnum<{
930
- completed: "completed";
931
- failed: "failed";
932
- }>;
933
- success: z.ZodBoolean;
934
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
935
- delivery_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
936
- }, z.core.$strip>]>;
937
- readonly stream: z.ZodDiscriminatedUnion<[z.ZodObject<{
938
- event: z.ZodLiteral<"started">;
939
- data: z.ZodObject<{
940
- job_id: z.ZodString;
941
- }, z.core.$strip>;
942
- }, z.core.$strip>], "event">;
943
- };
944
- readonly 'cron.status': {
945
- readonly params: z.ZodObject<{
946
- job_id: z.ZodOptional<z.ZodString>;
1751
+ readonly result: z.ZodObject<{
1752
+ connection_id: z.ZodString;
1753
+ connector: z.ZodString;
1754
+ status: z.ZodLiteral<"removed">;
947
1755
  }, z.core.$strip>;
948
- readonly result: z.ZodUnion<readonly [z.ZodObject<{
949
- job_id: z.ZodString;
950
- running: z.ZodBoolean;
951
- elapsed: z.ZodNumber;
952
- }, z.core.$strip>, z.ZodObject<{
953
- running: z.ZodRecord<z.ZodString, z.ZodNumber>;
954
- }, z.core.$strip>]>;
955
1756
  };
956
- readonly 'cron.history': {
1757
+ readonly 'connectors.tools': {
957
1758
  readonly params: z.ZodObject<{
958
1759
  profile_home: z.ZodString;
959
- job_id: z.ZodString;
960
- offset: z.ZodOptional<z.ZodNumber>;
961
- limit: z.ZodOptional<z.ZodNumber>;
1760
+ connector: z.ZodString;
1761
+ refresh: z.ZodOptional<z.ZodBoolean>;
962
1762
  }, z.core.$strip>;
963
1763
  readonly result: z.ZodObject<{
964
- job_id: z.ZodString;
965
- runs: z.ZodArray<z.ZodObject<{
966
- filename: z.ZodString;
967
- size: z.ZodNumber;
968
- modified: z.ZodNumber;
969
- usage: z.ZodObject<{
970
- model: z.ZodOptional<z.ZodString>;
971
- provider: z.ZodOptional<z.ZodString>;
972
- estimated_cost_usd: z.ZodOptional<z.ZodNumber>;
973
- duration_seconds: z.ZodOptional<z.ZodNumber>;
974
- input_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
975
- output_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
976
- total_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
977
- }, z.core.$strip>;
1764
+ connector: z.ZodString;
1765
+ tools: z.ZodArray<z.ZodObject<{
1766
+ slug: z.ZodString;
1767
+ name: z.ZodString;
1768
+ description: z.ZodString;
1769
+ facet: z.ZodString;
1770
+ hints: z.ZodArray<z.ZodString>;
1771
+ categories: z.ZodArray<z.ZodString>;
1772
+ deprecated: z.ZodBoolean;
978
1773
  }, z.core.$strip>>;
979
- total: z.ZodNumber;
980
- offset: z.ZodNumber;
981
1774
  }, z.core.$strip>;
982
1775
  };
983
- readonly 'cron.run_detail': {
1776
+ readonly 'connectors.policy.get': {
984
1777
  readonly params: z.ZodObject<{
985
1778
  profile_home: z.ZodString;
986
- job_id: z.ZodString;
987
- filename: z.ZodString;
988
1779
  }, z.core.$strip>;
989
1780
  readonly result: z.ZodObject<{
990
- job_id: z.ZodString;
991
- filename: z.ZodString;
992
- content: z.ZodString;
993
- snippet: z.ZodString;
994
- usage: z.ZodObject<{
995
- model: z.ZodOptional<z.ZodString>;
996
- provider: z.ZodOptional<z.ZodString>;
997
- estimated_cost_usd: z.ZodOptional<z.ZodNumber>;
998
- duration_seconds: z.ZodOptional<z.ZodNumber>;
999
- input_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1000
- output_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1001
- total_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1781
+ layers: z.ZodArray<z.ZodObject<{
1782
+ kind: z.ZodEnum<{
1783
+ role: "role";
1784
+ org: "org";
1785
+ member: "member";
1786
+ }>;
1787
+ revision: z.ZodString;
1788
+ body: z.ZodObject<{
1789
+ mode: z.ZodEnum<{
1790
+ deny: "deny";
1791
+ unrestricted: "unrestricted";
1792
+ "deny-all": "deny-all";
1793
+ allow: "allow";
1794
+ }>;
1795
+ connectors: z.ZodOptional<z.ZodArray<z.ZodString>>;
1796
+ disabled_connectors: z.ZodOptional<z.ZodArray<z.ZodString>>;
1797
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1798
+ disable: z.ZodArray<z.ZodString>;
1799
+ }, z.core.$strip>>>;
1800
+ tags: z.ZodOptional<z.ZodObject<{
1801
+ enable: z.ZodOptional<z.ZodArray<z.ZodString>>;
1802
+ disable: z.ZodOptional<z.ZodArray<z.ZodString>>;
1803
+ }, z.core.$strip>>;
1804
+ }, z.core.$strip>;
1805
+ }, z.core.$strip>>;
1806
+ effective: z.ZodObject<{
1807
+ mode: z.ZodEnum<{
1808
+ deny: "deny";
1809
+ unrestricted: "unrestricted";
1810
+ "deny-all": "deny-all";
1811
+ allow: "allow";
1812
+ }>;
1813
+ connectors: z.ZodOptional<z.ZodArray<z.ZodString>>;
1814
+ disabled_connectors: z.ZodOptional<z.ZodArray<z.ZodString>>;
1815
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1816
+ disable: z.ZodArray<z.ZodString>;
1817
+ }, z.core.$strip>>>;
1818
+ tags: z.ZodOptional<z.ZodObject<{
1819
+ enable: z.ZodOptional<z.ZodArray<z.ZodString>>;
1820
+ disable: z.ZodOptional<z.ZodArray<z.ZodString>>;
1821
+ }, z.core.$strip>>;
1822
+ revision: z.ZodString;
1002
1823
  }, z.core.$strip>;
1003
1824
  }, z.core.$strip>;
1004
1825
  };
1005
- readonly 'cron.output': {
1826
+ readonly 'connectors.policy.set': {
1006
1827
  readonly params: z.ZodObject<{
1007
1828
  profile_home: z.ZodString;
1008
- job_id: z.ZodString;
1009
- limit: z.ZodOptional<z.ZodNumber>;
1829
+ connector: z.ZodString;
1830
+ expected_revision: z.ZodString;
1831
+ enabled: z.ZodOptional<z.ZodBoolean>;
1832
+ tool: z.ZodOptional<z.ZodString>;
1833
+ tool_enabled: z.ZodOptional<z.ZodBoolean>;
1010
1834
  }, z.core.$strip>;
1011
1835
  readonly result: z.ZodObject<{
1012
- job_id: z.ZodString;
1013
- outputs: z.ZodArray<z.ZodObject<{
1014
- filename: z.ZodString;
1015
- content: z.ZodString;
1016
- }, z.core.$strip>>;
1836
+ revision: z.ZodString;
1017
1837
  }, z.core.$strip>;
1018
1838
  };
1019
- readonly 'cron.delivery_options': {
1020
- readonly params: z.ZodObject<{}, z.core.$strip>;
1839
+ readonly 'connectors.connect': {
1840
+ readonly params: z.ZodObject<{
1841
+ profile_home: z.ZodString;
1842
+ connector: z.ZodString;
1843
+ }, z.core.$strip>;
1021
1844
  readonly result: z.ZodObject<{
1022
- platforms: z.ZodArray<z.ZodObject<{
1023
- value: z.ZodString;
1024
- label: z.ZodString;
1845
+ op_id: z.ZodString;
1846
+ settled: z.ZodBoolean;
1847
+ owner: z.ZodEnum<{
1848
+ session: "session";
1849
+ account: "account";
1850
+ }>;
1851
+ tool_call_id: z.ZodNullable<z.ZodString>;
1852
+ targets: z.ZodArray<z.ZodObject<{
1853
+ name: z.ZodString;
1854
+ kind: z.ZodString;
1855
+ state: z.ZodEnum<{
1856
+ pending: "pending";
1857
+ skipped: "skipped";
1858
+ initiated: "initiated";
1859
+ connected: "connected";
1860
+ failed: "failed";
1861
+ expired: "expired";
1862
+ not_connected: "not_connected";
1863
+ }>;
1864
+ detail: z.ZodString;
1865
+ connect_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1866
+ required_env: z.ZodArray<z.ZodObject<{
1867
+ name: z.ZodString;
1868
+ prompt: z.ZodString;
1869
+ required: z.ZodBoolean;
1870
+ secret: z.ZodBoolean;
1871
+ }, z.core.$strip>>;
1025
1872
  }, z.core.$strip>>;
1026
1873
  }, z.core.$strip>;
1027
1874
  };
1028
- readonly 'stt.capability': {
1875
+ readonly 'connectors.operation': {
1029
1876
  readonly params: z.ZodObject<{
1030
1877
  profile_home: z.ZodString;
1878
+ op_id: z.ZodString;
1031
1879
  }, z.core.$strip>;
1032
1880
  readonly result: z.ZodObject<{
1033
- available: z.ZodBoolean;
1034
- provider: z.ZodString;
1881
+ op_id: z.ZodString;
1882
+ settled: z.ZodBoolean;
1883
+ owner: z.ZodEnum<{
1884
+ session: "session";
1885
+ account: "account";
1886
+ }>;
1887
+ tool_call_id: z.ZodNullable<z.ZodString>;
1888
+ targets: z.ZodArray<z.ZodObject<{
1889
+ name: z.ZodString;
1890
+ kind: z.ZodString;
1891
+ state: z.ZodEnum<{
1892
+ pending: "pending";
1893
+ skipped: "skipped";
1894
+ initiated: "initiated";
1895
+ connected: "connected";
1896
+ failed: "failed";
1897
+ expired: "expired";
1898
+ not_connected: "not_connected";
1899
+ }>;
1900
+ detail: z.ZodString;
1901
+ connect_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1902
+ required_env: z.ZodArray<z.ZodObject<{
1903
+ name: z.ZodString;
1904
+ prompt: z.ZodString;
1905
+ required: z.ZodBoolean;
1906
+ secret: z.ZodBoolean;
1907
+ }, z.core.$strip>>;
1908
+ }, z.core.$strip>>;
1035
1909
  }, z.core.$strip>;
1036
1910
  };
1037
- readonly 'stt.transcribe': {
1911
+ readonly 'connectors.respond': {
1038
1912
  readonly params: z.ZodObject<{
1039
1913
  profile_home: z.ZodString;
1040
- audio_b64: z.ZodString;
1041
- suffix: z.ZodOptional<z.ZodString>;
1914
+ op_id: z.ZodString;
1915
+ action: z.ZodEnum<{
1916
+ retry: "retry";
1917
+ skip: "skip";
1918
+ approve: "approve";
1919
+ continue: "continue";
1920
+ }>;
1921
+ target: z.ZodOptional<z.ZodString>;
1922
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1042
1923
  }, z.core.$strip>;
1043
1924
  readonly result: z.ZodObject<{
1044
- transcript: z.ZodString;
1925
+ op_id: z.ZodString;
1926
+ settled: z.ZodBoolean;
1927
+ owner: z.ZodEnum<{
1928
+ session: "session";
1929
+ account: "account";
1930
+ }>;
1931
+ tool_call_id: z.ZodNullable<z.ZodString>;
1932
+ targets: z.ZodArray<z.ZodObject<{
1933
+ name: z.ZodString;
1934
+ kind: z.ZodString;
1935
+ state: z.ZodEnum<{
1936
+ pending: "pending";
1937
+ skipped: "skipped";
1938
+ initiated: "initiated";
1939
+ connected: "connected";
1940
+ failed: "failed";
1941
+ expired: "expired";
1942
+ not_connected: "not_connected";
1943
+ }>;
1944
+ detail: z.ZodString;
1945
+ connect_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1946
+ required_env: z.ZodArray<z.ZodObject<{
1947
+ name: z.ZodString;
1948
+ prompt: z.ZodString;
1949
+ required: z.ZodBoolean;
1950
+ secret: z.ZodBoolean;
1951
+ }, z.core.$strip>>;
1952
+ }, z.core.$strip>>;
1045
1953
  }, z.core.$strip>;
1046
1954
  };
1047
1955
  readonly 'mcp.status': {
@@ -1074,6 +1982,26 @@ export declare const SIDECAR_METHODS: {
1074
1982
  output: z.ZodString;
1075
1983
  }, z.core.$strip>;
1076
1984
  };
1985
+ readonly 'toolsets.catalog': {
1986
+ readonly params: z.ZodObject<{
1987
+ profile_home: z.ZodString;
1988
+ enabled_toolsets: z.ZodNullable<z.ZodArray<z.ZodString>>;
1989
+ }, z.core.$strip>;
1990
+ readonly result: z.ZodObject<{
1991
+ toolsets: z.ZodArray<z.ZodObject<{
1992
+ name: z.ZodString;
1993
+ description: z.ZodString;
1994
+ available: z.ZodBoolean;
1995
+ selected: z.ZodBoolean;
1996
+ unavailable_reason: z.ZodNullable<z.ZodEnum<{
1997
+ unavailable: "unavailable";
1998
+ disabled: "disabled";
1999
+ }>>;
2000
+ }, z.core.$strip>>;
2001
+ selected_toolsets: z.ZodArray<z.ZodString>;
2002
+ using_defaults: z.ZodBoolean;
2003
+ }, z.core.$strip>;
2004
+ };
1077
2005
  readonly 'skills.list': {
1078
2006
  readonly params: z.ZodObject<{
1079
2007
  profile_home: z.ZodString;
@@ -1082,6 +2010,14 @@ export declare const SIDECAR_METHODS: {
1082
2010
  readonly result: z.ZodObject<{
1083
2011
  success: z.ZodOptional<z.ZodBoolean>;
1084
2012
  skills: z.ZodArray<z.ZodObject<{
2013
+ load_name: z.ZodOptional<z.ZodString>;
2014
+ declared_name: z.ZodOptional<z.ZodString>;
2015
+ status: z.ZodOptional<z.ZodEnum<{
2016
+ unique: "unique";
2017
+ ambiguous: "ambiguous";
2018
+ shadowed: "shadowed";
2019
+ }>>;
2020
+ tier: z.ZodOptional<z.ZodNumber>;
1085
2021
  name: z.ZodString;
1086
2022
  description: z.ZodString;
1087
2023
  category: z.ZodNullable<z.ZodString>;
@@ -1107,6 +2043,7 @@ export declare const SIDECAR_METHODS: {
1107
2043
  path: z.ZodString;
1108
2044
  skill_dir: z.ZodNullable<z.ZodString>;
1109
2045
  linked_files: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
2046
+ editable: z.ZodOptional<z.ZodBoolean>;
1110
2047
  }, z.core.$strip>, z.ZodObject<{
1111
2048
  success: z.ZodLiteral<false>;
1112
2049
  error: z.ZodString;
@@ -1125,6 +2062,9 @@ export declare const SIDECAR_METHODS: {
1125
2062
  found: z.ZodBoolean;
1126
2063
  skill_dir: z.ZodNullable<z.ZodString>;
1127
2064
  skill_md: z.ZodNullable<z.ZodString>;
2065
+ load_name: z.ZodOptional<z.ZodString>;
2066
+ declared_name: z.ZodOptional<z.ZodString>;
2067
+ sibling_load_names: z.ZodOptional<z.ZodArray<z.ZodString>>;
1128
2068
  }, z.core.$strip>;
1129
2069
  };
1130
2070
  readonly 'profiles.list': {
@@ -1144,6 +2084,20 @@ export declare const SIDECAR_METHODS: {
1144
2084
  skill_count: z.ZodNumber;
1145
2085
  enabled_skills: z.ZodNumber;
1146
2086
  total_skills: z.ZodNumber;
2087
+ gateway_mode: z.ZodDefault<z.ZodEnum<{
2088
+ stopped: "stopped";
2089
+ parked: "parked";
2090
+ own: "own";
2091
+ served: "served";
2092
+ standalone: "standalone";
2093
+ }>>;
2094
+ display_name: z.ZodDefault<z.ZodString>;
2095
+ description: z.ZodDefault<z.ZodString>;
2096
+ has_avatar: z.ZodDefault<z.ZodBoolean>;
2097
+ canonical_session: z.ZodDefault<z.ZodNullable<z.ZodObject<{
2098
+ session_id: z.ZodString;
2099
+ tip_session_id: z.ZodString;
2100
+ }, z.core.$strip>>>;
1147
2101
  }, z.core.$strip>>;
1148
2102
  }, z.core.$strip>;
1149
2103
  };
@@ -1167,6 +2121,20 @@ export declare const SIDECAR_METHODS: {
1167
2121
  skill_count: z.ZodNumber;
1168
2122
  enabled_skills: z.ZodNumber;
1169
2123
  total_skills: z.ZodNumber;
2124
+ gateway_mode: z.ZodDefault<z.ZodEnum<{
2125
+ stopped: "stopped";
2126
+ parked: "parked";
2127
+ own: "own";
2128
+ served: "served";
2129
+ standalone: "standalone";
2130
+ }>>;
2131
+ display_name: z.ZodDefault<z.ZodString>;
2132
+ description: z.ZodDefault<z.ZodString>;
2133
+ has_avatar: z.ZodDefault<z.ZodBoolean>;
2134
+ canonical_session: z.ZodDefault<z.ZodNullable<z.ZodObject<{
2135
+ session_id: z.ZodString;
2136
+ tip_session_id: z.ZodString;
2137
+ }, z.core.$strip>>>;
1170
2138
  }, z.core.$strip>;
1171
2139
  }, z.core.$strip>;
1172
2140
  };
@@ -1230,6 +2198,7 @@ export declare const SIDECAR_METHODS: {
1230
2198
  profile_home: z.ZodString;
1231
2199
  session_id: z.ZodString;
1232
2200
  title: z.ZodString;
2201
+ manual: z.ZodOptional<z.ZodBoolean>;
1233
2202
  }, z.core.$strip>;
1234
2203
  readonly result: z.ZodObject<{
1235
2204
  ok: z.ZodBoolean;
@@ -1239,6 +2208,25 @@ export declare const SIDECAR_METHODS: {
1239
2208
  readonly params: z.ZodObject<{
1240
2209
  profile_home: z.ZodString;
1241
2210
  session_id: z.ZodString;
2211
+ include_compression_lineage: z.ZodOptional<z.ZodBoolean>;
2212
+ }, z.core.$strip>;
2213
+ readonly result: z.ZodObject<{
2214
+ ok: z.ZodBoolean;
2215
+ refused: z.ZodOptional<z.ZodEnum<{
2216
+ active_turn: "active_turn";
2217
+ runtime_history_unsupported: "runtime_history_unsupported";
2218
+ }>>;
2219
+ deleted_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
2220
+ }, z.core.$strip>;
2221
+ };
2222
+ readonly 'state_db.append_message': {
2223
+ readonly params: z.ZodObject<{
2224
+ profile_home: z.ZodString;
2225
+ session_id: z.ZodString;
2226
+ role: z.ZodString;
2227
+ content: z.ZodString;
2228
+ tool_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2229
+ timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1242
2230
  }, z.core.$strip>;
1243
2231
  readonly result: z.ZodObject<{
1244
2232
  ok: z.ZodBoolean;
@@ -1263,6 +2251,7 @@ export declare const SIDECAR_METHODS: {
1263
2251
  changed: z.ZodLiteral<true>;
1264
2252
  columns: z.ZodArray<z.ZodObject<{
1265
2253
  name: z.ZodString;
2254
+ label: z.ZodString;
1266
2255
  tasks: z.ZodArray<z.ZodObject<{
1267
2256
  id: z.ZodString;
1268
2257
  title: z.ZodString;
@@ -1270,6 +2259,7 @@ export declare const SIDECAR_METHODS: {
1270
2259
  priority: z.ZodNumber;
1271
2260
  claim_live: z.ZodBoolean;
1272
2261
  has_completion_evidence: z.ZodBoolean;
2262
+ agent_move_targets: z.ZodNullable<z.ZodArray<z.ZodString>>;
1273
2263
  }, z.core.$catchall<z.ZodUnknown>>>;
1274
2264
  }, z.core.$strip>>;
1275
2265
  tenants: z.ZodArray<z.ZodString>;
@@ -1362,6 +2352,17 @@ export declare const SIDECAR_METHODS: {
1362
2352
  task_id: z.ZodString;
1363
2353
  }, z.core.$strip>;
1364
2354
  readonly result: z.ZodObject<{
2355
+ runs: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2356
+ read_only: z.ZodBoolean;
2357
+ links: z.ZodObject<{
2358
+ parents: z.ZodArray<z.ZodString>;
2359
+ children: z.ZodArray<z.ZodString>;
2360
+ }, z.core.$strip>;
2361
+ link_tasks: z.ZodArray<z.ZodObject<{
2362
+ id: z.ZodString;
2363
+ title: z.ZodString;
2364
+ status: z.ZodString;
2365
+ }, z.core.$strip>>;
1365
2366
  task: z.ZodObject<{
1366
2367
  id: z.ZodString;
1367
2368
  title: z.ZodString;
@@ -1369,15 +2370,11 @@ export declare const SIDECAR_METHODS: {
1369
2370
  priority: z.ZodNumber;
1370
2371
  claim_live: z.ZodBoolean;
1371
2372
  has_completion_evidence: z.ZodBoolean;
2373
+ agent_move_targets: z.ZodNullable<z.ZodArray<z.ZodString>>;
2374
+ current_run_started_at: z.ZodNullable<z.ZodNumber>;
1372
2375
  }, z.core.$catchall<z.ZodUnknown>>;
1373
2376
  comments: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1374
2377
  events: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1375
- links: z.ZodObject<{
1376
- parents: z.ZodArray<z.ZodString>;
1377
- children: z.ZodArray<z.ZodString>;
1378
- }, z.core.$strip>;
1379
- runs: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1380
- read_only: z.ZodBoolean;
1381
2378
  }, z.core.$strip>;
1382
2379
  };
1383
2380
  readonly 'kanban.create_task': {
@@ -1394,6 +2391,7 @@ export declare const SIDECAR_METHODS: {
1394
2391
  priority: z.ZodNumber;
1395
2392
  claim_live: z.ZodBoolean;
1396
2393
  has_completion_evidence: z.ZodBoolean;
2394
+ agent_move_targets: z.ZodNullable<z.ZodArray<z.ZodString>>;
1397
2395
  }, z.core.$catchall<z.ZodUnknown>>;
1398
2396
  read_only: z.ZodBoolean;
1399
2397
  }, z.core.$strip>;
@@ -1413,6 +2411,7 @@ export declare const SIDECAR_METHODS: {
1413
2411
  priority: z.ZodNumber;
1414
2412
  claim_live: z.ZodBoolean;
1415
2413
  has_completion_evidence: z.ZodBoolean;
2414
+ agent_move_targets: z.ZodNullable<z.ZodArray<z.ZodString>>;
1416
2415
  }, z.core.$catchall<z.ZodUnknown>>;
1417
2416
  read_only: z.ZodBoolean;
1418
2417
  }, z.core.$strip>;
@@ -1437,6 +2436,7 @@ export declare const SIDECAR_METHODS: {
1437
2436
  priority: z.ZodNumber;
1438
2437
  claim_live: z.ZodBoolean;
1439
2438
  has_completion_evidence: z.ZodBoolean;
2439
+ agent_move_targets: z.ZodNullable<z.ZodArray<z.ZodString>>;
1440
2440
  }, z.core.$catchall<z.ZodUnknown>>;
1441
2441
  read_only: z.ZodBoolean;
1442
2442
  }, z.core.$strip>;
@@ -1538,7 +2538,9 @@ export declare const SIDECAR_METHODS: {
1538
2538
  profile_home: z.ZodString;
1539
2539
  board: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1540
2540
  }, z.core.$strip>;
1541
- readonly result: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2541
+ readonly result: z.ZodObject<{
2542
+ column_order: z.ZodArray<z.ZodString>;
2543
+ }, z.core.$catchall<z.ZodUnknown>>;
1542
2544
  };
1543
2545
  readonly 'kanban.assignees': {
1544
2546
  readonly params: z.ZodObject<{
@@ -1608,6 +2610,10 @@ export declare const SIDECAR_METHODS: {
1608
2610
  cli_only: z.ZodBoolean;
1609
2611
  gateway_only: z.ZodBoolean;
1610
2612
  exec: z.ZodBoolean;
2613
+ prompt: z.ZodNullable<z.ZodEnum<{
2614
+ expand: "expand";
2615
+ unsupported: "unsupported";
2616
+ }>>;
1611
2617
  }, z.core.$strip>>;
1612
2618
  }, z.core.$strip>;
1613
2619
  };
@@ -1615,6 +2621,8 @@ export declare const SIDECAR_METHODS: {
1615
2621
  readonly params: z.ZodObject<{
1616
2622
  profile_home: z.ZodString;
1617
2623
  command: z.ZodString;
2624
+ session_id: z.ZodOptional<z.ZodString>;
2625
+ workspace: z.ZodOptional<z.ZodString>;
1618
2626
  }, z.core.$strip>;
1619
2627
  readonly result: z.ZodObject<{
1620
2628
  output: z.ZodString;
@@ -1624,6 +2632,44 @@ export declare const SIDECAR_METHODS: {
1624
2632
  }>;
1625
2633
  }, z.core.$strip>;
1626
2634
  };
2635
+ readonly 'commands.expand_prompt': {
2636
+ readonly params: z.ZodObject<{
2637
+ profile_home: z.ZodString;
2638
+ command: z.ZodString;
2639
+ workspace: z.ZodString;
2640
+ enabled_toolsets: z.ZodNullable<z.ZodArray<z.ZodString>>;
2641
+ }, z.core.$strip>;
2642
+ readonly result: z.ZodObject<{
2643
+ name: z.ZodNullable<z.ZodString>;
2644
+ message: z.ZodNullable<z.ZodString>;
2645
+ }, z.core.$strip>;
2646
+ };
2647
+ readonly 'commands.bundles': {
2648
+ readonly params: z.ZodObject<{
2649
+ profile_home: z.ZodString;
2650
+ }, z.core.$strip>;
2651
+ readonly result: z.ZodObject<{
2652
+ bundles: z.ZodArray<z.ZodObject<{
2653
+ name: z.ZodString;
2654
+ description: z.ZodString;
2655
+ skill_count: z.ZodNumber;
2656
+ source: z.ZodLiteral<"bundle">;
2657
+ }, z.core.$strip>>;
2658
+ }, z.core.$strip>;
2659
+ };
2660
+ readonly 'commands.bundle_resolve': {
2661
+ readonly params: z.ZodObject<{
2662
+ profile_home: z.ZodString;
2663
+ command: z.ZodString;
2664
+ }, z.core.$strip>;
2665
+ readonly result: z.ZodObject<{
2666
+ name: z.ZodString;
2667
+ source: z.ZodLiteral<"bundle">;
2668
+ message: z.ZodString;
2669
+ loaded_skills: z.ZodArray<z.ZodString>;
2670
+ missing_skills: z.ZodArray<z.ZodString>;
2671
+ }, z.core.$strip>;
2672
+ };
1627
2673
  readonly 'commands.moa_preset': {
1628
2674
  readonly params: z.ZodObject<{
1629
2675
  profile_home: z.ZodString;
@@ -1643,11 +2689,11 @@ export declare const SIDECAR_METHODS: {
1643
2689
  display_name: z.ZodString;
1644
2690
  auth_type: z.ZodString;
1645
2691
  setup: z.ZodEnum<{
2692
+ unavailable: "unavailable";
1646
2693
  ready: "ready";
1647
2694
  missing_cli: "missing_cli";
1648
2695
  needs_setup: "needs_setup";
1649
2696
  not_loaded: "not_loaded";
1650
- unavailable: "unavailable";
1651
2697
  }>;
1652
2698
  }, z.core.$strip>>;
1653
2699
  }, z.core.$strip>;
@@ -1672,6 +2718,82 @@ export declare const SIDECAR_METHODS: {
1672
2718
  supported_hooks: z.ZodArray<z.ZodString>;
1673
2719
  }, z.core.$strip>;
1674
2720
  };
2721
+ readonly 'plugins.isolation': {
2722
+ readonly params: z.ZodObject<{
2723
+ base_home: z.ZodString;
2724
+ }, z.core.$strip>;
2725
+ readonly result: z.ZodObject<{
2726
+ profiles: z.ZodArray<z.ZodObject<{
2727
+ name: z.ZodString;
2728
+ isolation: z.ZodEnum<{
2729
+ in_process: "in_process";
2730
+ host: "host";
2731
+ }>;
2732
+ third_party_plugins: z.ZodNumber;
2733
+ }, z.core.$strip>>;
2734
+ }, z.core.$strip>;
2735
+ };
2736
+ readonly 'plugins.settings': {
2737
+ readonly params: z.ZodObject<{
2738
+ profile_home: z.ZodString;
2739
+ }, z.core.$strip>;
2740
+ readonly result: z.ZodObject<{
2741
+ supported: z.ZodBoolean;
2742
+ plugins: z.ZodArray<z.ZodObject<{
2743
+ key: z.ZodString;
2744
+ fields: z.ZodArray<z.ZodObject<{
2745
+ key: z.ZodString;
2746
+ type: z.ZodEnum<{
2747
+ string: "string";
2748
+ number: "number";
2749
+ boolean: "boolean";
2750
+ enum: "enum";
2751
+ json: "json";
2752
+ secret: "secret";
2753
+ }>;
2754
+ label: z.ZodString;
2755
+ description: z.ZodString;
2756
+ required: z.ZodBoolean;
2757
+ choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
2758
+ default: z.ZodOptional<z.ZodUnknown>;
2759
+ value: z.ZodOptional<z.ZodUnknown>;
2760
+ env: z.ZodOptional<z.ZodString>;
2761
+ has_value: z.ZodOptional<z.ZodBoolean>;
2762
+ }, z.core.$strip>>;
2763
+ }, z.core.$strip>>;
2764
+ }, z.core.$strip>;
2765
+ };
2766
+ readonly 'plugins.settings_save': {
2767
+ readonly params: z.ZodObject<{
2768
+ profile_home: z.ZodString;
2769
+ key: z.ZodString;
2770
+ values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2771
+ secret_envs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2772
+ }, z.core.$strip>;
2773
+ readonly result: z.ZodObject<{
2774
+ key: z.ZodString;
2775
+ written: z.ZodArray<z.ZodString>;
2776
+ fields: z.ZodArray<z.ZodObject<{
2777
+ key: z.ZodString;
2778
+ type: z.ZodEnum<{
2779
+ string: "string";
2780
+ number: "number";
2781
+ boolean: "boolean";
2782
+ enum: "enum";
2783
+ json: "json";
2784
+ secret: "secret";
2785
+ }>;
2786
+ label: z.ZodString;
2787
+ description: z.ZodString;
2788
+ required: z.ZodBoolean;
2789
+ choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
2790
+ default: z.ZodOptional<z.ZodUnknown>;
2791
+ value: z.ZodOptional<z.ZodUnknown>;
2792
+ env: z.ZodOptional<z.ZodString>;
2793
+ has_value: z.ZodOptional<z.ZodBoolean>;
2794
+ }, z.core.$strip>>;
2795
+ }, z.core.$strip>;
2796
+ };
1675
2797
  readonly 'goals.get': {
1676
2798
  readonly params: z.ZodObject<{
1677
2799
  profile_home: z.ZodString;
@@ -1689,6 +2811,10 @@ export declare const SIDECAR_METHODS: {
1689
2811
  paused_reason: z.ZodNullable<z.ZodString>;
1690
2812
  }, z.core.$strip>>;
1691
2813
  active: z.ZodBoolean;
2814
+ parked: z.ZodNullable<z.ZodObject<{
2815
+ reason: z.ZodNullable<z.ZodString>;
2816
+ until: z.ZodNullable<z.ZodNumber>;
2817
+ }, z.core.$strip>>;
1692
2818
  message: z.ZodString;
1693
2819
  message_key: z.ZodOptional<z.ZodString>;
1694
2820
  message_args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
@@ -1701,6 +2827,7 @@ export declare const SIDECAR_METHODS: {
1701
2827
  default_max_turns: z.ZodOptional<z.ZodNumber>;
1702
2828
  args: z.ZodString;
1703
2829
  stream_running: z.ZodOptional<z.ZodBoolean>;
2830
+ workspace: z.ZodOptional<z.ZodString>;
1704
2831
  }, z.core.$strip>;
1705
2832
  readonly result: z.ZodObject<{
1706
2833
  ok: z.ZodBoolean;
@@ -1766,6 +2893,7 @@ export declare const SIDECAR_METHODS: {
1766
2893
  default_max_turns: z.ZodOptional<z.ZodNumber>;
1767
2894
  last_response: z.ZodString;
1768
2895
  user_initiated: z.ZodOptional<z.ZodBoolean>;
2896
+ workspace: z.ZodOptional<z.ZodString>;
1769
2897
  }, z.core.$strip>;
1770
2898
  readonly result: z.ZodObject<{
1771
2899
  status: z.ZodNullable<z.ZodString>;
@@ -1809,6 +2937,7 @@ export declare const SIDECAR_METHODS: {
1809
2937
  pinned_image: z.ZodString;
1810
2938
  compatible: z.ZodBoolean;
1811
2939
  stale: z.ZodBoolean;
2940
+ agent_source_changed: z.ZodOptional<z.ZodBoolean>;
1812
2941
  update_state: z.ZodEnum<{
1813
2942
  unknown: "unknown";
1814
2943
  stale: "stale";
@@ -1834,6 +2963,7 @@ export declare const SIDECAR_METHODS: {
1834
2963
  pinned_image: z.ZodString;
1835
2964
  compatible: z.ZodBoolean;
1836
2965
  stale: z.ZodBoolean;
2966
+ agent_source_changed: z.ZodOptional<z.ZodBoolean>;
1837
2967
  update_state: z.ZodEnum<{
1838
2968
  unknown: "unknown";
1839
2969
  stale: "stale";
@@ -1869,11 +2999,71 @@ export declare const SIDECAR_METHODS: {
1869
2999
  ok: z.ZodLiteral<true>;
1870
3000
  }, z.core.$strip>;
1871
3001
  };
3002
+ readonly 'runtime.sync_dependencies': {
3003
+ readonly params: z.ZodObject<{
3004
+ agent_dir: z.ZodString;
3005
+ }, z.core.$strip>;
3006
+ readonly result: z.ZodObject<{
3007
+ ok: z.ZodBoolean;
3008
+ skipped: z.ZodBoolean;
3009
+ detail: z.ZodString;
3010
+ }, z.core.$strip>;
3011
+ };
3012
+ readonly 'runtime.agent_mutation': {
3013
+ readonly params: z.ZodDiscriminatedUnion<[z.ZodObject<{
3014
+ action: z.ZodLiteral<"begin">;
3015
+ agent_dir: z.ZodString;
3016
+ revision: z.ZodString;
3017
+ homes: z.ZodArray<z.ZodString>;
3018
+ intent: z.ZodOptional<z.ZodString>;
3019
+ refresh_token: z.ZodOptional<z.ZodString>;
3020
+ }, z.core.$strip>, z.ZodObject<{
3021
+ action: z.ZodLiteral<"git">;
3022
+ agent_dir: z.ZodString;
3023
+ token: z.ZodString;
3024
+ args: z.ZodArray<z.ZodString>;
3025
+ timeout_ms: z.ZodNumber;
3026
+ }, z.core.$strip>, z.ZodObject<{
3027
+ action: z.ZodEnum<{
3028
+ sync: "sync";
3029
+ finish: "finish";
3030
+ }>;
3031
+ agent_dir: z.ZodString;
3032
+ token: z.ZodString;
3033
+ }, z.core.$strip>], "action">;
3034
+ readonly result: z.ZodObject<{
3035
+ ok: z.ZodBoolean;
3036
+ skipped: z.ZodBoolean;
3037
+ detail: z.ZodString;
3038
+ token: z.ZodOptional<z.ZodString>;
3039
+ refresh_confirmation: z.ZodOptional<z.ZodObject<{
3040
+ token: z.ZodString;
3041
+ services: z.ZodArray<z.ZodString>;
3042
+ }, z.core.$strip>>;
3043
+ }, z.core.$strip>;
3044
+ };
3045
+ readonly 'runtime.agent_recovery': {
3046
+ readonly params: z.ZodObject<{
3047
+ probe: z.ZodOptional<z.ZodBoolean>;
3048
+ complete_revision: z.ZodOptional<z.ZodString>;
3049
+ }, z.core.$strip>;
3050
+ readonly result: z.ZodObject<{
3051
+ ok: z.ZodBoolean;
3052
+ owed: z.ZodBoolean;
3053
+ fingerprint: z.ZodString;
3054
+ detail: z.ZodString;
3055
+ local_restore: z.ZodOptional<z.ZodBoolean>;
3056
+ revision: z.ZodOptional<z.ZodString>;
3057
+ runtime_pending: z.ZodOptional<z.ZodBoolean>;
3058
+ }, z.core.$strip>;
3059
+ };
1872
3060
  };
1873
3061
  export type SidecarMethods = typeof SIDECAR_METHODS;
1874
3062
  export type SidecarMethodName = keyof SidecarMethods;
1875
3063
  export type SidecarParams<M extends SidecarMethodName> = z.input<SidecarMethods[M]['params']>;
1876
3064
  export type SidecarResult<M extends SidecarMethodName> = z.output<SidecarMethods[M]['result']>;
3065
+ /** A result before its schema applies defaults (what a fake sidecar may answer; the call parses it). */
3066
+ export type SidecarResultInput<M extends SidecarMethodName> = z.input<SidecarMethods[M]['result']>;
1877
3067
  export type SidecarStreamEvent<M extends SidecarMethodName> = SidecarMethods[M] extends {
1878
3068
  stream: infer S extends z.ZodType;
1879
3069
  } ? z.output<S> : never;