@maudecode/talaria-web-contracts 1.19.0 → 1.21.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.
- package/dist/checkpoint.d.ts +78 -0
- package/dist/checkpoint.js +16 -0
- package/dist/checkpoint.js.map +1 -0
- package/dist/context-detail.d.ts +75 -0
- package/dist/context-detail.js +18 -0
- package/dist/context-detail.js.map +1 -0
- package/dist/gateway-session.d.ts +412 -9
- package/dist/gateway-session.js +85 -3
- package/dist/gateway-session.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-cost-policy.d.ts +110 -0
- package/dist/mcp-cost-policy.js +24 -0
- package/dist/mcp-cost-policy.js.map +1 -0
- package/dist/outbound-drafts.d.ts +114 -0
- package/dist/outbound-drafts.js +20 -0
- package/dist/outbound-drafts.js.map +1 -0
- package/dist/prompt-queue.d.ts +96 -0
- package/dist/prompt-queue.js +19 -0
- package/dist/prompt-queue.js.map +1 -0
- package/dist/router.d.ts +3677 -156
- package/dist/routes/automation.d.ts +323 -2
- package/dist/routes/automation.js +17 -3
- package/dist/routes/automation.js.map +1 -1
- package/dist/routes/chat.d.ts +776 -26
- package/dist/routes/chat.js +4 -3
- package/dist/routes/chat.js.map +1 -1
- package/dist/routes/core.d.ts +6 -6
- package/dist/routes/git.d.ts +59 -0
- package/dist/routes/git.js +9 -3
- package/dist/routes/git.js.map +1 -1
- package/dist/routes/raw.js +9 -5
- package/dist/routes/raw.js.map +1 -1
- package/dist/routes/sessions.d.ts +2215 -87
- package/dist/routes/sessions.js +11 -0
- package/dist/routes/sessions.js.map +1 -1
- package/dist/routes/settings.d.ts +29 -13
- package/dist/routes/settings.js +3 -2
- package/dist/routes/settings.js.map +1 -1
- package/dist/routes/tools.d.ts +825 -37
- package/dist/routes/tools.js +33 -5
- package/dist/routes/tools.js.map +1 -1
- package/dist/routes/workspaces.d.ts +49 -4
- package/dist/routes/workspaces.js +5 -4
- package/dist/routes/workspaces.js.map +1 -1
- package/dist/sidecar/methods.d.ts +1122 -25
- package/dist/sidecar/methods.js +2 -2
- package/dist/sidecar/methods.js.map +1 -1
- package/dist/sidecar/namespaces.d.ts +1292 -39
- package/dist/sidecar/namespaces.js +120 -14
- package/dist/sidecar/namespaces.js.map +1 -1
- package/dist/sidecar/rpc.d.ts +1 -0
- package/dist/sidecar/rpc.js +2 -0
- package/dist/sidecar/rpc.js.map +1 -1
- package/dist/sidecar/runtime.d.ts +56 -0
- package/dist/sidecar/runtime.js +21 -2
- package/dist/sidecar/runtime.js.map +1 -1
- package/dist/sidecar/version.d.ts +1 -1
- package/dist/sidecar/version.js +1 -1
- package/dist/sse.d.ts +199 -10
- package/dist/sse.js +15 -4
- package/dist/sse.js.map +1 -1
- package/dist/views.d.ts +1597 -86
- package/dist/views.js +106 -21
- package/dist/views.js.map +1 -1
- package/fixtures/sidecar/aux.json +8 -0
- package/fixtures/sidecar/chat.json +14 -0
- package/fixtures/sidecar/checkpoints.json +7 -2
- package/fixtures/sidecar/context-detail.json +77 -0
- package/fixtures/sidecar/cron.json +3 -1
- package/fixtures/sidecar/dashboard_plugins.json +59 -0
- package/fixtures/sidecar/gateway.json +208 -0
- package/fixtures/sidecar/kanban.json +197 -0
- package/fixtures/sidecar/managed-buffers.json +16 -0
- package/fixtures/sidecar/mcp.json +12 -0
- package/fixtures/sidecar/outbound-drafts.json +1 -0
- package/fixtures/sidecar/plugin-catalog.json +4 -0
- package/fixtures/sidecar/plugins.json +56 -1
- package/fixtures/sidecar/process.json +32 -0
- package/fixtures/sidecar/rpc.json +4 -0
- package/fixtures/sidecar/runtime.json +3 -3
- package/fixtures/sidecar/state_db.json +10 -0
- package/package.json +1 -1
package/dist/views.d.ts
CHANGED
|
@@ -104,8 +104,18 @@ export declare const ToolEditDiffSchema: z.ZodObject<{
|
|
|
104
104
|
}, z.core.$strip>>;
|
|
105
105
|
}, z.core.$strip>;
|
|
106
106
|
export type ToolEditDiff = z.infer<typeof ToolEditDiffSchema>;
|
|
107
|
-
/**
|
|
107
|
+
/** The latest server-normalized MCP update; never stored with the transcript. */
|
|
108
|
+
export declare const ToolProgressSchema: z.ZodObject<{
|
|
109
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
110
|
+
message: z.ZodNullable<z.ZodString>;
|
|
111
|
+
}, z.core.$strip>;
|
|
112
|
+
export type ToolProgress = z.infer<typeof ToolProgressSchema>;
|
|
113
|
+
/** Shared tool display fields. Progress is ephemeral, absent on older servers and null after completion. */
|
|
108
114
|
export declare const ToolDisplayFields: {
|
|
115
|
+
progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
116
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
117
|
+
message: z.ZodNullable<z.ZodString>;
|
|
118
|
+
}, z.core.$strip>>>;
|
|
109
119
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
110
120
|
unknown: "unknown";
|
|
111
121
|
memory: "memory";
|
|
@@ -143,6 +153,7 @@ export declare const ToolDisplayFields: {
|
|
|
143
153
|
}, z.core.$strip>>;
|
|
144
154
|
}, z.core.$strip>>;
|
|
145
155
|
}, z.core.$strip>>;
|
|
156
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
146
157
|
};
|
|
147
158
|
/**
|
|
148
159
|
* TAL-315: a tool result's display sections, decided by the server's one rule for live, replayed and persisted results
|
|
@@ -151,6 +162,10 @@ export declare const ToolDisplayFields: {
|
|
|
151
162
|
* shows `preview`.
|
|
152
163
|
*/
|
|
153
164
|
export declare const ToolResultViewSchema: z.ZodObject<{
|
|
165
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
166
|
+
draft_id: z.ZodString;
|
|
167
|
+
card: z.ZodNumber;
|
|
168
|
+
}, z.core.$strip>>;
|
|
154
169
|
text: z.ZodOptional<z.ZodString>;
|
|
155
170
|
stdout: z.ZodOptional<z.ZodString>;
|
|
156
171
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -180,6 +195,10 @@ export declare const ToolCallSchema: z.ZodObject<{
|
|
|
180
195
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
181
196
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
182
197
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
198
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
199
|
+
draft_id: z.ZodString;
|
|
200
|
+
card: z.ZodNumber;
|
|
201
|
+
}, z.core.$strip>>;
|
|
183
202
|
text: z.ZodOptional<z.ZodString>;
|
|
184
203
|
stdout: z.ZodOptional<z.ZodString>;
|
|
185
204
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -191,6 +210,10 @@ export declare const ToolCallSchema: z.ZodObject<{
|
|
|
191
210
|
cost_usd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
192
211
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
193
212
|
event_type: z.ZodOptional<z.ZodString>;
|
|
213
|
+
progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
214
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
215
|
+
message: z.ZodNullable<z.ZodString>;
|
|
216
|
+
}, z.core.$strip>>>;
|
|
194
217
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
195
218
|
unknown: "unknown";
|
|
196
219
|
memory: "memory";
|
|
@@ -228,6 +251,7 @@ export declare const ToolCallSchema: z.ZodObject<{
|
|
|
228
251
|
}, z.core.$strip>>;
|
|
229
252
|
}, z.core.$strip>>;
|
|
230
253
|
}, z.core.$strip>>;
|
|
254
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
231
255
|
}, z.core.$loose>;
|
|
232
256
|
export type ToolCall = z.infer<typeof ToolCallSchema>;
|
|
233
257
|
export declare const ContentPartSchema: z.ZodObject<{
|
|
@@ -293,10 +317,10 @@ export declare const ActivitySceneRowSchema: z.ZodObject<{
|
|
|
293
317
|
row_id: z.ZodString;
|
|
294
318
|
order_index: z.ZodNumber;
|
|
295
319
|
role: z.ZodEnum<{
|
|
320
|
+
steering: "steering";
|
|
296
321
|
tool: "tool";
|
|
297
322
|
reasoning: "reasoning";
|
|
298
323
|
prose: "prose";
|
|
299
|
-
steering: "steering";
|
|
300
324
|
}>;
|
|
301
325
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
302
326
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -319,6 +343,10 @@ export declare const ActivitySceneRowSchema: z.ZodObject<{
|
|
|
319
343
|
preview: z.ZodNullable<z.ZodString>;
|
|
320
344
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
321
345
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
346
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
347
|
+
draft_id: z.ZodString;
|
|
348
|
+
card: z.ZodNumber;
|
|
349
|
+
}, z.core.$strip>>;
|
|
322
350
|
text: z.ZodOptional<z.ZodString>;
|
|
323
351
|
stdout: z.ZodOptional<z.ZodString>;
|
|
324
352
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -348,6 +376,10 @@ export declare const ActivitySceneRowSchema: z.ZodObject<{
|
|
|
348
376
|
}, z.core.$strip>>;
|
|
349
377
|
result_truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
350
378
|
result_chars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
379
|
+
progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
380
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
381
|
+
message: z.ZodNullable<z.ZodString>;
|
|
382
|
+
}, z.core.$strip>>>;
|
|
351
383
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
352
384
|
unknown: "unknown";
|
|
353
385
|
memory: "memory";
|
|
@@ -385,6 +417,7 @@ export declare const ActivitySceneRowSchema: z.ZodObject<{
|
|
|
385
417
|
}, z.core.$strip>>;
|
|
386
418
|
}, z.core.$strip>>;
|
|
387
419
|
}, z.core.$strip>>;
|
|
420
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
388
421
|
id: z.ZodString;
|
|
389
422
|
name: z.ZodString;
|
|
390
423
|
}, z.core.$loose>>;
|
|
@@ -426,10 +459,10 @@ export declare const ActivitySceneSchema: z.ZodObject<{
|
|
|
426
459
|
row_id: z.ZodString;
|
|
427
460
|
order_index: z.ZodNumber;
|
|
428
461
|
role: z.ZodEnum<{
|
|
462
|
+
steering: "steering";
|
|
429
463
|
tool: "tool";
|
|
430
464
|
reasoning: "reasoning";
|
|
431
465
|
prose: "prose";
|
|
432
|
-
steering: "steering";
|
|
433
466
|
}>;
|
|
434
467
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
435
468
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -452,6 +485,10 @@ export declare const ActivitySceneSchema: z.ZodObject<{
|
|
|
452
485
|
preview: z.ZodNullable<z.ZodString>;
|
|
453
486
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
454
487
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
488
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
489
|
+
draft_id: z.ZodString;
|
|
490
|
+
card: z.ZodNumber;
|
|
491
|
+
}, z.core.$strip>>;
|
|
455
492
|
text: z.ZodOptional<z.ZodString>;
|
|
456
493
|
stdout: z.ZodOptional<z.ZodString>;
|
|
457
494
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -481,6 +518,10 @@ export declare const ActivitySceneSchema: z.ZodObject<{
|
|
|
481
518
|
}, z.core.$strip>>;
|
|
482
519
|
result_truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
483
520
|
result_chars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
521
|
+
progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
522
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
523
|
+
message: z.ZodNullable<z.ZodString>;
|
|
524
|
+
}, z.core.$strip>>>;
|
|
484
525
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
485
526
|
unknown: "unknown";
|
|
486
527
|
memory: "memory";
|
|
@@ -518,6 +559,7 @@ export declare const ActivitySceneSchema: z.ZodObject<{
|
|
|
518
559
|
}, z.core.$strip>>;
|
|
519
560
|
}, z.core.$strip>>;
|
|
520
561
|
}, z.core.$strip>>;
|
|
562
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
521
563
|
id: z.ZodString;
|
|
522
564
|
name: z.ZodString;
|
|
523
565
|
}, z.core.$loose>>;
|
|
@@ -606,6 +648,63 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
606
648
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
607
649
|
message_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
608
650
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
651
|
+
reaction_view: z.ZodOptional<z.ZodObject<{
|
|
652
|
+
row_id: z.ZodNumber;
|
|
653
|
+
state: z.ZodObject<{
|
|
654
|
+
items: z.ZodArray<z.ZodObject<{
|
|
655
|
+
emoji: z.ZodEnum<{
|
|
656
|
+
"\uD83D\uDC4D": "👍";
|
|
657
|
+
"\uD83D\uDC4E": "👎";
|
|
658
|
+
"\u2764\uFE0F": "❤️";
|
|
659
|
+
"\uD83D\uDE02": "😂";
|
|
660
|
+
"\uD83D\uDE2E": "😮";
|
|
661
|
+
"\uD83C\uDF89": "🎉";
|
|
662
|
+
}>;
|
|
663
|
+
count: z.ZodNumber;
|
|
664
|
+
mine: z.ZodBoolean;
|
|
665
|
+
}, z.core.$strip>>;
|
|
666
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
667
|
+
"\uD83D\uDC4D": "👍";
|
|
668
|
+
"\uD83D\uDC4E": "👎";
|
|
669
|
+
"\u2764\uFE0F": "❤️";
|
|
670
|
+
"\uD83D\uDE02": "😂";
|
|
671
|
+
"\uD83D\uDE2E": "😮";
|
|
672
|
+
"\uD83C\uDF89": "🎉";
|
|
673
|
+
}>>;
|
|
674
|
+
}, z.core.$strip>;
|
|
675
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
676
|
+
emoji: z.ZodNullable<z.ZodEnum<{
|
|
677
|
+
"\uD83D\uDC4D": "👍";
|
|
678
|
+
"\uD83D\uDC4E": "👎";
|
|
679
|
+
"\u2764\uFE0F": "❤️";
|
|
680
|
+
"\uD83D\uDE02": "😂";
|
|
681
|
+
"\uD83D\uDE2E": "😮";
|
|
682
|
+
"\uD83C\uDF89": "🎉";
|
|
683
|
+
}>>;
|
|
684
|
+
result: z.ZodObject<{
|
|
685
|
+
items: z.ZodArray<z.ZodObject<{
|
|
686
|
+
emoji: z.ZodEnum<{
|
|
687
|
+
"\uD83D\uDC4D": "👍";
|
|
688
|
+
"\uD83D\uDC4E": "👎";
|
|
689
|
+
"\u2764\uFE0F": "❤️";
|
|
690
|
+
"\uD83D\uDE02": "😂";
|
|
691
|
+
"\uD83D\uDE2E": "😮";
|
|
692
|
+
"\uD83C\uDF89": "🎉";
|
|
693
|
+
}>;
|
|
694
|
+
count: z.ZodNumber;
|
|
695
|
+
mine: z.ZodBoolean;
|
|
696
|
+
}, z.core.$strip>>;
|
|
697
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
698
|
+
"\uD83D\uDC4D": "👍";
|
|
699
|
+
"\uD83D\uDC4E": "👎";
|
|
700
|
+
"\u2764\uFE0F": "❤️";
|
|
701
|
+
"\uD83D\uDE02": "😂";
|
|
702
|
+
"\uD83D\uDE2E": "😮";
|
|
703
|
+
"\uD83C\uDF89": "🎉";
|
|
704
|
+
}>>;
|
|
705
|
+
}, z.core.$strip>;
|
|
706
|
+
}, z.core.$strip>>;
|
|
707
|
+
}, z.core.$strip>>;
|
|
609
708
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
610
709
|
filename: z.ZodOptional<z.ZodString>;
|
|
611
710
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -630,6 +729,10 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
630
729
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
631
730
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
632
731
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
732
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
733
|
+
draft_id: z.ZodString;
|
|
734
|
+
card: z.ZodNumber;
|
|
735
|
+
}, z.core.$strip>>;
|
|
633
736
|
text: z.ZodOptional<z.ZodString>;
|
|
634
737
|
stdout: z.ZodOptional<z.ZodString>;
|
|
635
738
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -641,6 +744,10 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
641
744
|
cost_usd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
642
745
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
643
746
|
event_type: z.ZodOptional<z.ZodString>;
|
|
747
|
+
progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
748
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
749
|
+
message: z.ZodNullable<z.ZodString>;
|
|
750
|
+
}, z.core.$strip>>>;
|
|
644
751
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
645
752
|
unknown: "unknown";
|
|
646
753
|
memory: "memory";
|
|
@@ -678,6 +785,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
678
785
|
}, z.core.$strip>>;
|
|
679
786
|
}, z.core.$strip>>;
|
|
680
787
|
}, z.core.$strip>>;
|
|
788
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
681
789
|
}, z.core.$loose>>>;
|
|
682
790
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
683
791
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
@@ -694,10 +802,10 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
694
802
|
row_id: z.ZodString;
|
|
695
803
|
order_index: z.ZodNumber;
|
|
696
804
|
role: z.ZodEnum<{
|
|
805
|
+
steering: "steering";
|
|
697
806
|
tool: "tool";
|
|
698
807
|
reasoning: "reasoning";
|
|
699
808
|
prose: "prose";
|
|
700
|
-
steering: "steering";
|
|
701
809
|
}>;
|
|
702
810
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
703
811
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -720,6 +828,10 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
720
828
|
preview: z.ZodNullable<z.ZodString>;
|
|
721
829
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
722
830
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
831
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
832
|
+
draft_id: z.ZodString;
|
|
833
|
+
card: z.ZodNumber;
|
|
834
|
+
}, z.core.$strip>>;
|
|
723
835
|
text: z.ZodOptional<z.ZodString>;
|
|
724
836
|
stdout: z.ZodOptional<z.ZodString>;
|
|
725
837
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -749,6 +861,10 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
749
861
|
}, z.core.$strip>>;
|
|
750
862
|
result_truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
751
863
|
result_chars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
864
|
+
progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
865
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
866
|
+
message: z.ZodNullable<z.ZodString>;
|
|
867
|
+
}, z.core.$strip>>>;
|
|
752
868
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
753
869
|
unknown: "unknown";
|
|
754
870
|
memory: "memory";
|
|
@@ -786,6 +902,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
786
902
|
}, z.core.$strip>>;
|
|
787
903
|
}, z.core.$strip>>;
|
|
788
904
|
}, z.core.$strip>>;
|
|
905
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
789
906
|
id: z.ZodString;
|
|
790
907
|
name: z.ZodString;
|
|
791
908
|
}, z.core.$loose>>;
|
|
@@ -957,8 +1074,8 @@ export type PendingSteer = z.infer<typeof PendingSteerSchema>;
|
|
|
957
1074
|
export declare const SessionNoticeSchema: z.ZodObject<{
|
|
958
1075
|
key: z.ZodString;
|
|
959
1076
|
level: z.ZodEnum<{
|
|
960
|
-
success: "success";
|
|
961
1077
|
error: "error";
|
|
1078
|
+
success: "success";
|
|
962
1079
|
info: "info";
|
|
963
1080
|
warn: "warn";
|
|
964
1081
|
}>;
|
|
@@ -1022,8 +1139,38 @@ export declare const BranchedFromSchema: z.ZodObject<{
|
|
|
1022
1139
|
title: z.ZodString;
|
|
1023
1140
|
}, z.core.$strip>;
|
|
1024
1141
|
export type BranchedFrom = z.infer<typeof BranchedFromSchema>;
|
|
1142
|
+
export declare const MAX_SOURCE_REFERENCES = 5;
|
|
1143
|
+
export declare const SourceReferenceSchema: z.ZodObject<{
|
|
1144
|
+
session_id: z.ZodString;
|
|
1145
|
+
tip_session_id: z.ZodString;
|
|
1146
|
+
profile: z.ZodString;
|
|
1147
|
+
}, z.core.$strip>;
|
|
1148
|
+
export type SourceReference = z.infer<typeof SourceReferenceSchema>;
|
|
1149
|
+
export declare const AcceptedSourceReferenceSchema: z.ZodObject<{
|
|
1150
|
+
session_id: z.ZodString;
|
|
1151
|
+
tip_session_id: z.ZodString;
|
|
1152
|
+
profile: z.ZodString;
|
|
1153
|
+
title: z.ZodString;
|
|
1154
|
+
}, z.core.$strip>;
|
|
1155
|
+
export type AcceptedSourceReference = z.infer<typeof AcceptedSourceReferenceSchema>;
|
|
1025
1156
|
/** Full session record from `GET /api/session` and mutations returning `session`. */
|
|
1157
|
+
export declare const SessionActivityPhaseSchema: z.ZodEnum<{
|
|
1158
|
+
running: "running";
|
|
1159
|
+
cancelled: "cancelled";
|
|
1160
|
+
stale: "stale";
|
|
1161
|
+
failed: "failed";
|
|
1162
|
+
completed: "completed";
|
|
1163
|
+
starting: "starting";
|
|
1164
|
+
waiting_for_approval: "waiting_for_approval";
|
|
1165
|
+
waiting_for_input: "waiting_for_input";
|
|
1166
|
+
}>;
|
|
1167
|
+
export type SessionActivityPhase = z.infer<typeof SessionActivityPhaseSchema>;
|
|
1026
1168
|
export declare const SessionSchema: z.ZodObject<{
|
|
1169
|
+
execution_mode: z.ZodOptional<z.ZodEnum<{
|
|
1170
|
+
normal: "normal";
|
|
1171
|
+
ignore_config: "ignore_config";
|
|
1172
|
+
safe: "safe";
|
|
1173
|
+
}>>;
|
|
1027
1174
|
enabled_toolsets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1028
1175
|
composer_draft: z.ZodOptional<z.ZodObject<{
|
|
1029
1176
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -1048,18 +1195,31 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1048
1195
|
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1049
1196
|
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
1050
1197
|
state: z.ZodEnum<{
|
|
1198
|
+
unavailable: "unavailable";
|
|
1199
|
+
refused: "refused";
|
|
1051
1200
|
attached: "attached";
|
|
1052
1201
|
stopped: "stopped";
|
|
1053
|
-
unavailable: "unavailable";
|
|
1054
1202
|
incompatible: "incompatible";
|
|
1055
|
-
refused: "refused";
|
|
1056
1203
|
}>;
|
|
1057
1204
|
reason: z.ZodNullable<z.ZodString>;
|
|
1058
1205
|
can_submit: z.ZodBoolean;
|
|
1059
1206
|
can_interrupt: z.ZodBoolean;
|
|
1060
1207
|
can_attach: z.ZodBoolean;
|
|
1208
|
+
restarting: z.ZodBoolean;
|
|
1061
1209
|
revision: z.ZodNullable<z.ZodNumber>;
|
|
1062
1210
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
1211
|
+
model_change: z.ZodOptional<z.ZodObject<{
|
|
1212
|
+
state: z.ZodEnum<{
|
|
1213
|
+
applied: "applied";
|
|
1214
|
+
deferred: "deferred";
|
|
1215
|
+
confirmation_required: "confirmation_required";
|
|
1216
|
+
refused: "refused";
|
|
1217
|
+
}>;
|
|
1218
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1219
|
+
confirm: z.ZodOptional<z.ZodString>;
|
|
1220
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1221
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1222
|
+
}, z.core.$strip>>;
|
|
1063
1223
|
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1064
1224
|
admission_id: z.ZodString;
|
|
1065
1225
|
sequence: z.ZodNumber;
|
|
@@ -1072,6 +1232,8 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1072
1232
|
outcome: z.ZodNullable<z.ZodString>;
|
|
1073
1233
|
authority_epoch: z.ZodNumber;
|
|
1074
1234
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
1235
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1236
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
1075
1237
|
text: z.ZodOptional<z.ZodString>;
|
|
1076
1238
|
input_id: z.ZodOptional<z.ZodString>;
|
|
1077
1239
|
}, z.core.$strip>>>;
|
|
@@ -1087,12 +1249,16 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1087
1249
|
outcome: z.ZodNullable<z.ZodString>;
|
|
1088
1250
|
authority_epoch: z.ZodNumber;
|
|
1089
1251
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
1252
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1253
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
1090
1254
|
text: z.ZodOptional<z.ZodString>;
|
|
1091
1255
|
input_id: z.ZodOptional<z.ZodString>;
|
|
1092
1256
|
actions: z.ZodArray<z.ZodEnum<{
|
|
1093
1257
|
cancel: "cancel";
|
|
1094
1258
|
discard: "discard";
|
|
1095
1259
|
retry: "retry";
|
|
1260
|
+
steer: "steer";
|
|
1261
|
+
edit: "edit";
|
|
1096
1262
|
}>>;
|
|
1097
1263
|
}, z.core.$strip>>;
|
|
1098
1264
|
}, z.core.$strip>>;
|
|
@@ -1111,6 +1277,7 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1111
1277
|
worktree_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1112
1278
|
worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1113
1279
|
worktree_repo_root: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1280
|
+
worktree_retained: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1114
1281
|
share_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1115
1282
|
share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1116
1283
|
share_created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1135,6 +1302,7 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1135
1302
|
text: z.ZodString;
|
|
1136
1303
|
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
1137
1304
|
}, z.core.$strip>>>;
|
|
1305
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1138
1306
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1139
1307
|
session_id: z.ZodString;
|
|
1140
1308
|
title: z.ZodString;
|
|
@@ -1143,6 +1311,23 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1143
1311
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1144
1312
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1145
1313
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1314
|
+
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
1315
|
+
running: "running";
|
|
1316
|
+
cancelled: "cancelled";
|
|
1317
|
+
stale: "stale";
|
|
1318
|
+
failed: "failed";
|
|
1319
|
+
completed: "completed";
|
|
1320
|
+
starting: "starting";
|
|
1321
|
+
waiting_for_approval: "waiting_for_approval";
|
|
1322
|
+
waiting_for_input: "waiting_for_input";
|
|
1323
|
+
}>>;
|
|
1324
|
+
source_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1325
|
+
session_id: z.ZodString;
|
|
1326
|
+
tip_session_id: z.ZodString;
|
|
1327
|
+
profile: z.ZodString;
|
|
1328
|
+
title: z.ZodString;
|
|
1329
|
+
}, z.core.$strip>>>;
|
|
1330
|
+
context_detail_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1146
1331
|
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
1147
1332
|
session_id: z.ZodString;
|
|
1148
1333
|
title: z.ZodString;
|
|
@@ -1160,6 +1345,63 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1160
1345
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1161
1346
|
message_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1162
1347
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1348
|
+
reaction_view: z.ZodOptional<z.ZodObject<{
|
|
1349
|
+
row_id: z.ZodNumber;
|
|
1350
|
+
state: z.ZodObject<{
|
|
1351
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1352
|
+
emoji: z.ZodEnum<{
|
|
1353
|
+
"\uD83D\uDC4D": "👍";
|
|
1354
|
+
"\uD83D\uDC4E": "👎";
|
|
1355
|
+
"\u2764\uFE0F": "❤️";
|
|
1356
|
+
"\uD83D\uDE02": "😂";
|
|
1357
|
+
"\uD83D\uDE2E": "😮";
|
|
1358
|
+
"\uD83C\uDF89": "🎉";
|
|
1359
|
+
}>;
|
|
1360
|
+
count: z.ZodNumber;
|
|
1361
|
+
mine: z.ZodBoolean;
|
|
1362
|
+
}, z.core.$strip>>;
|
|
1363
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
1364
|
+
"\uD83D\uDC4D": "👍";
|
|
1365
|
+
"\uD83D\uDC4E": "👎";
|
|
1366
|
+
"\u2764\uFE0F": "❤️";
|
|
1367
|
+
"\uD83D\uDE02": "😂";
|
|
1368
|
+
"\uD83D\uDE2E": "😮";
|
|
1369
|
+
"\uD83C\uDF89": "🎉";
|
|
1370
|
+
}>>;
|
|
1371
|
+
}, z.core.$strip>;
|
|
1372
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
1373
|
+
emoji: z.ZodNullable<z.ZodEnum<{
|
|
1374
|
+
"\uD83D\uDC4D": "👍";
|
|
1375
|
+
"\uD83D\uDC4E": "👎";
|
|
1376
|
+
"\u2764\uFE0F": "❤️";
|
|
1377
|
+
"\uD83D\uDE02": "😂";
|
|
1378
|
+
"\uD83D\uDE2E": "😮";
|
|
1379
|
+
"\uD83C\uDF89": "🎉";
|
|
1380
|
+
}>>;
|
|
1381
|
+
result: z.ZodObject<{
|
|
1382
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1383
|
+
emoji: z.ZodEnum<{
|
|
1384
|
+
"\uD83D\uDC4D": "👍";
|
|
1385
|
+
"\uD83D\uDC4E": "👎";
|
|
1386
|
+
"\u2764\uFE0F": "❤️";
|
|
1387
|
+
"\uD83D\uDE02": "😂";
|
|
1388
|
+
"\uD83D\uDE2E": "😮";
|
|
1389
|
+
"\uD83C\uDF89": "🎉";
|
|
1390
|
+
}>;
|
|
1391
|
+
count: z.ZodNumber;
|
|
1392
|
+
mine: z.ZodBoolean;
|
|
1393
|
+
}, z.core.$strip>>;
|
|
1394
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
1395
|
+
"\uD83D\uDC4D": "👍";
|
|
1396
|
+
"\uD83D\uDC4E": "👎";
|
|
1397
|
+
"\u2764\uFE0F": "❤️";
|
|
1398
|
+
"\uD83D\uDE02": "😂";
|
|
1399
|
+
"\uD83D\uDE2E": "😮";
|
|
1400
|
+
"\uD83C\uDF89": "🎉";
|
|
1401
|
+
}>>;
|
|
1402
|
+
}, z.core.$strip>;
|
|
1403
|
+
}, z.core.$strip>>;
|
|
1404
|
+
}, z.core.$strip>>;
|
|
1163
1405
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1164
1406
|
filename: z.ZodOptional<z.ZodString>;
|
|
1165
1407
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1184,6 +1426,10 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1184
1426
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1185
1427
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
1186
1428
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1429
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
1430
|
+
draft_id: z.ZodString;
|
|
1431
|
+
card: z.ZodNumber;
|
|
1432
|
+
}, z.core.$strip>>;
|
|
1187
1433
|
text: z.ZodOptional<z.ZodString>;
|
|
1188
1434
|
stdout: z.ZodOptional<z.ZodString>;
|
|
1189
1435
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -1195,6 +1441,10 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1195
1441
|
cost_usd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1196
1442
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1197
1443
|
event_type: z.ZodOptional<z.ZodString>;
|
|
1444
|
+
progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1445
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
1446
|
+
message: z.ZodNullable<z.ZodString>;
|
|
1447
|
+
}, z.core.$strip>>>;
|
|
1198
1448
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
1199
1449
|
unknown: "unknown";
|
|
1200
1450
|
memory: "memory";
|
|
@@ -1232,6 +1482,7 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1232
1482
|
}, z.core.$strip>>;
|
|
1233
1483
|
}, z.core.$strip>>;
|
|
1234
1484
|
}, z.core.$strip>>;
|
|
1485
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1235
1486
|
}, z.core.$loose>>>;
|
|
1236
1487
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
1237
1488
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1248,10 +1499,10 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1248
1499
|
row_id: z.ZodString;
|
|
1249
1500
|
order_index: z.ZodNumber;
|
|
1250
1501
|
role: z.ZodEnum<{
|
|
1502
|
+
steering: "steering";
|
|
1251
1503
|
tool: "tool";
|
|
1252
1504
|
reasoning: "reasoning";
|
|
1253
1505
|
prose: "prose";
|
|
1254
|
-
steering: "steering";
|
|
1255
1506
|
}>;
|
|
1256
1507
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
1257
1508
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -1274,6 +1525,10 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1274
1525
|
preview: z.ZodNullable<z.ZodString>;
|
|
1275
1526
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
1276
1527
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1528
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
1529
|
+
draft_id: z.ZodString;
|
|
1530
|
+
card: z.ZodNumber;
|
|
1531
|
+
}, z.core.$strip>>;
|
|
1277
1532
|
text: z.ZodOptional<z.ZodString>;
|
|
1278
1533
|
stdout: z.ZodOptional<z.ZodString>;
|
|
1279
1534
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -1303,6 +1558,10 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1303
1558
|
}, z.core.$strip>>;
|
|
1304
1559
|
result_truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1305
1560
|
result_chars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1561
|
+
progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1562
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
1563
|
+
message: z.ZodNullable<z.ZodString>;
|
|
1564
|
+
}, z.core.$strip>>>;
|
|
1306
1565
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
1307
1566
|
unknown: "unknown";
|
|
1308
1567
|
memory: "memory";
|
|
@@ -1340,6 +1599,7 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1340
1599
|
}, z.core.$strip>>;
|
|
1341
1600
|
}, z.core.$strip>>;
|
|
1342
1601
|
}, z.core.$strip>>;
|
|
1602
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1343
1603
|
id: z.ZodString;
|
|
1344
1604
|
name: z.ZodString;
|
|
1345
1605
|
}, z.core.$loose>>;
|
|
@@ -1494,6 +1754,10 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1494
1754
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1495
1755
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
1496
1756
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1757
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
1758
|
+
draft_id: z.ZodString;
|
|
1759
|
+
card: z.ZodNumber;
|
|
1760
|
+
}, z.core.$strip>>;
|
|
1497
1761
|
text: z.ZodOptional<z.ZodString>;
|
|
1498
1762
|
stdout: z.ZodOptional<z.ZodString>;
|
|
1499
1763
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -1505,6 +1769,10 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1505
1769
|
cost_usd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1506
1770
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1507
1771
|
event_type: z.ZodOptional<z.ZodString>;
|
|
1772
|
+
progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1773
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
1774
|
+
message: z.ZodNullable<z.ZodString>;
|
|
1775
|
+
}, z.core.$strip>>>;
|
|
1508
1776
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
1509
1777
|
unknown: "unknown";
|
|
1510
1778
|
memory: "memory";
|
|
@@ -1542,6 +1810,7 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1542
1810
|
}, z.core.$strip>>;
|
|
1543
1811
|
}, z.core.$strip>>;
|
|
1544
1812
|
}, z.core.$strip>>;
|
|
1813
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1545
1814
|
}, z.core.$loose>>>;
|
|
1546
1815
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
1547
1816
|
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1602,8 +1871,8 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1602
1871
|
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1603
1872
|
key: z.ZodString;
|
|
1604
1873
|
level: z.ZodEnum<{
|
|
1605
|
-
success: "success";
|
|
1606
1874
|
error: "error";
|
|
1875
|
+
success: "success";
|
|
1607
1876
|
info: "info";
|
|
1608
1877
|
warn: "warn";
|
|
1609
1878
|
}>;
|
|
@@ -1644,6 +1913,11 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1644
1913
|
export type Session = z.infer<typeof SessionSchema>;
|
|
1645
1914
|
export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
1646
1915
|
session: z.ZodObject<{
|
|
1916
|
+
execution_mode: z.ZodOptional<z.ZodEnum<{
|
|
1917
|
+
normal: "normal";
|
|
1918
|
+
ignore_config: "ignore_config";
|
|
1919
|
+
safe: "safe";
|
|
1920
|
+
}>>;
|
|
1647
1921
|
enabled_toolsets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1648
1922
|
composer_draft: z.ZodOptional<z.ZodObject<{
|
|
1649
1923
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -1668,18 +1942,31 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1668
1942
|
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1669
1943
|
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
1670
1944
|
state: z.ZodEnum<{
|
|
1945
|
+
unavailable: "unavailable";
|
|
1946
|
+
refused: "refused";
|
|
1671
1947
|
attached: "attached";
|
|
1672
1948
|
stopped: "stopped";
|
|
1673
|
-
unavailable: "unavailable";
|
|
1674
1949
|
incompatible: "incompatible";
|
|
1675
|
-
refused: "refused";
|
|
1676
1950
|
}>;
|
|
1677
1951
|
reason: z.ZodNullable<z.ZodString>;
|
|
1678
1952
|
can_submit: z.ZodBoolean;
|
|
1679
1953
|
can_interrupt: z.ZodBoolean;
|
|
1680
1954
|
can_attach: z.ZodBoolean;
|
|
1955
|
+
restarting: z.ZodBoolean;
|
|
1681
1956
|
revision: z.ZodNullable<z.ZodNumber>;
|
|
1682
1957
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
1958
|
+
model_change: z.ZodOptional<z.ZodObject<{
|
|
1959
|
+
state: z.ZodEnum<{
|
|
1960
|
+
applied: "applied";
|
|
1961
|
+
deferred: "deferred";
|
|
1962
|
+
confirmation_required: "confirmation_required";
|
|
1963
|
+
refused: "refused";
|
|
1964
|
+
}>;
|
|
1965
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1966
|
+
confirm: z.ZodOptional<z.ZodString>;
|
|
1967
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1968
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1969
|
+
}, z.core.$strip>>;
|
|
1683
1970
|
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1684
1971
|
admission_id: z.ZodString;
|
|
1685
1972
|
sequence: z.ZodNumber;
|
|
@@ -1692,6 +1979,8 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1692
1979
|
outcome: z.ZodNullable<z.ZodString>;
|
|
1693
1980
|
authority_epoch: z.ZodNumber;
|
|
1694
1981
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
1982
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1983
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
1695
1984
|
text: z.ZodOptional<z.ZodString>;
|
|
1696
1985
|
input_id: z.ZodOptional<z.ZodString>;
|
|
1697
1986
|
}, z.core.$strip>>>;
|
|
@@ -1707,12 +1996,16 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1707
1996
|
outcome: z.ZodNullable<z.ZodString>;
|
|
1708
1997
|
authority_epoch: z.ZodNumber;
|
|
1709
1998
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
1999
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2000
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
1710
2001
|
text: z.ZodOptional<z.ZodString>;
|
|
1711
2002
|
input_id: z.ZodOptional<z.ZodString>;
|
|
1712
2003
|
actions: z.ZodArray<z.ZodEnum<{
|
|
1713
2004
|
cancel: "cancel";
|
|
1714
2005
|
discard: "discard";
|
|
1715
2006
|
retry: "retry";
|
|
2007
|
+
steer: "steer";
|
|
2008
|
+
edit: "edit";
|
|
1716
2009
|
}>>;
|
|
1717
2010
|
}, z.core.$strip>>;
|
|
1718
2011
|
}, z.core.$strip>>;
|
|
@@ -1731,6 +2024,7 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1731
2024
|
worktree_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1732
2025
|
worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1733
2026
|
worktree_repo_root: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2027
|
+
worktree_retained: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1734
2028
|
share_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1735
2029
|
share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1736
2030
|
share_created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1755,6 +2049,7 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1755
2049
|
text: z.ZodString;
|
|
1756
2050
|
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
1757
2051
|
}, z.core.$strip>>>;
|
|
2052
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1758
2053
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1759
2054
|
session_id: z.ZodString;
|
|
1760
2055
|
title: z.ZodString;
|
|
@@ -1763,6 +2058,23 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1763
2058
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1764
2059
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1765
2060
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2061
|
+
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
2062
|
+
running: "running";
|
|
2063
|
+
cancelled: "cancelled";
|
|
2064
|
+
stale: "stale";
|
|
2065
|
+
failed: "failed";
|
|
2066
|
+
completed: "completed";
|
|
2067
|
+
starting: "starting";
|
|
2068
|
+
waiting_for_approval: "waiting_for_approval";
|
|
2069
|
+
waiting_for_input: "waiting_for_input";
|
|
2070
|
+
}>>;
|
|
2071
|
+
source_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2072
|
+
session_id: z.ZodString;
|
|
2073
|
+
tip_session_id: z.ZodString;
|
|
2074
|
+
profile: z.ZodString;
|
|
2075
|
+
title: z.ZodString;
|
|
2076
|
+
}, z.core.$strip>>>;
|
|
2077
|
+
context_detail_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1766
2078
|
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
1767
2079
|
session_id: z.ZodString;
|
|
1768
2080
|
title: z.ZodString;
|
|
@@ -1780,6 +2092,63 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1780
2092
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1781
2093
|
message_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1782
2094
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2095
|
+
reaction_view: z.ZodOptional<z.ZodObject<{
|
|
2096
|
+
row_id: z.ZodNumber;
|
|
2097
|
+
state: z.ZodObject<{
|
|
2098
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2099
|
+
emoji: z.ZodEnum<{
|
|
2100
|
+
"\uD83D\uDC4D": "👍";
|
|
2101
|
+
"\uD83D\uDC4E": "👎";
|
|
2102
|
+
"\u2764\uFE0F": "❤️";
|
|
2103
|
+
"\uD83D\uDE02": "😂";
|
|
2104
|
+
"\uD83D\uDE2E": "😮";
|
|
2105
|
+
"\uD83C\uDF89": "🎉";
|
|
2106
|
+
}>;
|
|
2107
|
+
count: z.ZodNumber;
|
|
2108
|
+
mine: z.ZodBoolean;
|
|
2109
|
+
}, z.core.$strip>>;
|
|
2110
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
2111
|
+
"\uD83D\uDC4D": "👍";
|
|
2112
|
+
"\uD83D\uDC4E": "👎";
|
|
2113
|
+
"\u2764\uFE0F": "❤️";
|
|
2114
|
+
"\uD83D\uDE02": "😂";
|
|
2115
|
+
"\uD83D\uDE2E": "😮";
|
|
2116
|
+
"\uD83C\uDF89": "🎉";
|
|
2117
|
+
}>>;
|
|
2118
|
+
}, z.core.$strip>;
|
|
2119
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
2120
|
+
emoji: z.ZodNullable<z.ZodEnum<{
|
|
2121
|
+
"\uD83D\uDC4D": "👍";
|
|
2122
|
+
"\uD83D\uDC4E": "👎";
|
|
2123
|
+
"\u2764\uFE0F": "❤️";
|
|
2124
|
+
"\uD83D\uDE02": "😂";
|
|
2125
|
+
"\uD83D\uDE2E": "😮";
|
|
2126
|
+
"\uD83C\uDF89": "🎉";
|
|
2127
|
+
}>>;
|
|
2128
|
+
result: z.ZodObject<{
|
|
2129
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2130
|
+
emoji: z.ZodEnum<{
|
|
2131
|
+
"\uD83D\uDC4D": "👍";
|
|
2132
|
+
"\uD83D\uDC4E": "👎";
|
|
2133
|
+
"\u2764\uFE0F": "❤️";
|
|
2134
|
+
"\uD83D\uDE02": "😂";
|
|
2135
|
+
"\uD83D\uDE2E": "😮";
|
|
2136
|
+
"\uD83C\uDF89": "🎉";
|
|
2137
|
+
}>;
|
|
2138
|
+
count: z.ZodNumber;
|
|
2139
|
+
mine: z.ZodBoolean;
|
|
2140
|
+
}, z.core.$strip>>;
|
|
2141
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
2142
|
+
"\uD83D\uDC4D": "👍";
|
|
2143
|
+
"\uD83D\uDC4E": "👎";
|
|
2144
|
+
"\u2764\uFE0F": "❤️";
|
|
2145
|
+
"\uD83D\uDE02": "😂";
|
|
2146
|
+
"\uD83D\uDE2E": "😮";
|
|
2147
|
+
"\uD83C\uDF89": "🎉";
|
|
2148
|
+
}>>;
|
|
2149
|
+
}, z.core.$strip>;
|
|
2150
|
+
}, z.core.$strip>>;
|
|
2151
|
+
}, z.core.$strip>>;
|
|
1783
2152
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1784
2153
|
filename: z.ZodOptional<z.ZodString>;
|
|
1785
2154
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1804,6 +2173,10 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1804
2173
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1805
2174
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
1806
2175
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2176
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
2177
|
+
draft_id: z.ZodString;
|
|
2178
|
+
card: z.ZodNumber;
|
|
2179
|
+
}, z.core.$strip>>;
|
|
1807
2180
|
text: z.ZodOptional<z.ZodString>;
|
|
1808
2181
|
stdout: z.ZodOptional<z.ZodString>;
|
|
1809
2182
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -1815,6 +2188,10 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1815
2188
|
cost_usd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1816
2189
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1817
2190
|
event_type: z.ZodOptional<z.ZodString>;
|
|
2191
|
+
progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2192
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
2193
|
+
message: z.ZodNullable<z.ZodString>;
|
|
2194
|
+
}, z.core.$strip>>>;
|
|
1818
2195
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
1819
2196
|
unknown: "unknown";
|
|
1820
2197
|
memory: "memory";
|
|
@@ -1852,6 +2229,7 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1852
2229
|
}, z.core.$strip>>;
|
|
1853
2230
|
}, z.core.$strip>>;
|
|
1854
2231
|
}, z.core.$strip>>;
|
|
2232
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1855
2233
|
}, z.core.$loose>>>;
|
|
1856
2234
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
1857
2235
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1868,10 +2246,10 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1868
2246
|
row_id: z.ZodString;
|
|
1869
2247
|
order_index: z.ZodNumber;
|
|
1870
2248
|
role: z.ZodEnum<{
|
|
2249
|
+
steering: "steering";
|
|
1871
2250
|
tool: "tool";
|
|
1872
2251
|
reasoning: "reasoning";
|
|
1873
2252
|
prose: "prose";
|
|
1874
|
-
steering: "steering";
|
|
1875
2253
|
}>;
|
|
1876
2254
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
1877
2255
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -1894,6 +2272,10 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1894
2272
|
preview: z.ZodNullable<z.ZodString>;
|
|
1895
2273
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
1896
2274
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2275
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
2276
|
+
draft_id: z.ZodString;
|
|
2277
|
+
card: z.ZodNumber;
|
|
2278
|
+
}, z.core.$strip>>;
|
|
1897
2279
|
text: z.ZodOptional<z.ZodString>;
|
|
1898
2280
|
stdout: z.ZodOptional<z.ZodString>;
|
|
1899
2281
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -1923,6 +2305,10 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1923
2305
|
}, z.core.$strip>>;
|
|
1924
2306
|
result_truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1925
2307
|
result_chars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2308
|
+
progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2309
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
2310
|
+
message: z.ZodNullable<z.ZodString>;
|
|
2311
|
+
}, z.core.$strip>>>;
|
|
1926
2312
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
1927
2313
|
unknown: "unknown";
|
|
1928
2314
|
memory: "memory";
|
|
@@ -1960,6 +2346,7 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1960
2346
|
}, z.core.$strip>>;
|
|
1961
2347
|
}, z.core.$strip>>;
|
|
1962
2348
|
}, z.core.$strip>>;
|
|
2349
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1963
2350
|
id: z.ZodString;
|
|
1964
2351
|
name: z.ZodString;
|
|
1965
2352
|
}, z.core.$loose>>;
|
|
@@ -2114,6 +2501,10 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2114
2501
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2115
2502
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
2116
2503
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2504
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
2505
|
+
draft_id: z.ZodString;
|
|
2506
|
+
card: z.ZodNumber;
|
|
2507
|
+
}, z.core.$strip>>;
|
|
2117
2508
|
text: z.ZodOptional<z.ZodString>;
|
|
2118
2509
|
stdout: z.ZodOptional<z.ZodString>;
|
|
2119
2510
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -2125,6 +2516,10 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2125
2516
|
cost_usd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2126
2517
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2127
2518
|
event_type: z.ZodOptional<z.ZodString>;
|
|
2519
|
+
progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2520
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
2521
|
+
message: z.ZodNullable<z.ZodString>;
|
|
2522
|
+
}, z.core.$strip>>>;
|
|
2128
2523
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
2129
2524
|
unknown: "unknown";
|
|
2130
2525
|
memory: "memory";
|
|
@@ -2162,6 +2557,7 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2162
2557
|
}, z.core.$strip>>;
|
|
2163
2558
|
}, z.core.$strip>>;
|
|
2164
2559
|
}, z.core.$strip>>;
|
|
2560
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2165
2561
|
}, z.core.$loose>>>;
|
|
2166
2562
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
2167
2563
|
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2222,8 +2618,8 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2222
2618
|
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2223
2619
|
key: z.ZodString;
|
|
2224
2620
|
level: z.ZodEnum<{
|
|
2225
|
-
success: "success";
|
|
2226
2621
|
error: "error";
|
|
2622
|
+
success: "success";
|
|
2227
2623
|
info: "info";
|
|
2228
2624
|
warn: "warn";
|
|
2229
2625
|
}>;
|
|
@@ -2301,18 +2697,31 @@ export declare const SessionRowSchema: z.ZodObject<{
|
|
|
2301
2697
|
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2302
2698
|
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
2303
2699
|
state: z.ZodEnum<{
|
|
2700
|
+
unavailable: "unavailable";
|
|
2701
|
+
refused: "refused";
|
|
2304
2702
|
attached: "attached";
|
|
2305
2703
|
stopped: "stopped";
|
|
2306
|
-
unavailable: "unavailable";
|
|
2307
2704
|
incompatible: "incompatible";
|
|
2308
|
-
refused: "refused";
|
|
2309
2705
|
}>;
|
|
2310
2706
|
reason: z.ZodNullable<z.ZodString>;
|
|
2311
2707
|
can_submit: z.ZodBoolean;
|
|
2312
2708
|
can_interrupt: z.ZodBoolean;
|
|
2313
2709
|
can_attach: z.ZodBoolean;
|
|
2710
|
+
restarting: z.ZodBoolean;
|
|
2314
2711
|
revision: z.ZodNullable<z.ZodNumber>;
|
|
2315
2712
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
2713
|
+
model_change: z.ZodOptional<z.ZodObject<{
|
|
2714
|
+
state: z.ZodEnum<{
|
|
2715
|
+
applied: "applied";
|
|
2716
|
+
deferred: "deferred";
|
|
2717
|
+
confirmation_required: "confirmation_required";
|
|
2718
|
+
refused: "refused";
|
|
2719
|
+
}>;
|
|
2720
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2721
|
+
confirm: z.ZodOptional<z.ZodString>;
|
|
2722
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2723
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2724
|
+
}, z.core.$strip>>;
|
|
2316
2725
|
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2317
2726
|
admission_id: z.ZodString;
|
|
2318
2727
|
sequence: z.ZodNumber;
|
|
@@ -2325,6 +2734,8 @@ export declare const SessionRowSchema: z.ZodObject<{
|
|
|
2325
2734
|
outcome: z.ZodNullable<z.ZodString>;
|
|
2326
2735
|
authority_epoch: z.ZodNumber;
|
|
2327
2736
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
2737
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2738
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
2328
2739
|
text: z.ZodOptional<z.ZodString>;
|
|
2329
2740
|
input_id: z.ZodOptional<z.ZodString>;
|
|
2330
2741
|
}, z.core.$strip>>>;
|
|
@@ -2340,12 +2751,16 @@ export declare const SessionRowSchema: z.ZodObject<{
|
|
|
2340
2751
|
outcome: z.ZodNullable<z.ZodString>;
|
|
2341
2752
|
authority_epoch: z.ZodNumber;
|
|
2342
2753
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
2754
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2755
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
2343
2756
|
text: z.ZodOptional<z.ZodString>;
|
|
2344
2757
|
input_id: z.ZodOptional<z.ZodString>;
|
|
2345
2758
|
actions: z.ZodArray<z.ZodEnum<{
|
|
2346
2759
|
cancel: "cancel";
|
|
2347
2760
|
discard: "discard";
|
|
2348
2761
|
retry: "retry";
|
|
2762
|
+
steer: "steer";
|
|
2763
|
+
edit: "edit";
|
|
2349
2764
|
}>>;
|
|
2350
2765
|
}, z.core.$strip>>;
|
|
2351
2766
|
}, z.core.$strip>>;
|
|
@@ -2368,8 +2783,8 @@ export declare const SessionRowSchema: z.ZodObject<{
|
|
|
2368
2783
|
share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2369
2784
|
worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2370
2785
|
match_type: z.ZodOptional<z.ZodEnum<{
|
|
2371
|
-
title: "title";
|
|
2372
2786
|
content: "content";
|
|
2787
|
+
title: "title";
|
|
2373
2788
|
metadata: "metadata";
|
|
2374
2789
|
}>>;
|
|
2375
2790
|
match_preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2430,18 +2845,31 @@ export declare const SessionsListSchema: z.ZodObject<{
|
|
|
2430
2845
|
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2431
2846
|
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
2432
2847
|
state: z.ZodEnum<{
|
|
2848
|
+
unavailable: "unavailable";
|
|
2849
|
+
refused: "refused";
|
|
2433
2850
|
attached: "attached";
|
|
2434
2851
|
stopped: "stopped";
|
|
2435
|
-
unavailable: "unavailable";
|
|
2436
2852
|
incompatible: "incompatible";
|
|
2437
|
-
refused: "refused";
|
|
2438
2853
|
}>;
|
|
2439
2854
|
reason: z.ZodNullable<z.ZodString>;
|
|
2440
2855
|
can_submit: z.ZodBoolean;
|
|
2441
2856
|
can_interrupt: z.ZodBoolean;
|
|
2442
2857
|
can_attach: z.ZodBoolean;
|
|
2858
|
+
restarting: z.ZodBoolean;
|
|
2443
2859
|
revision: z.ZodNullable<z.ZodNumber>;
|
|
2444
2860
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
2861
|
+
model_change: z.ZodOptional<z.ZodObject<{
|
|
2862
|
+
state: z.ZodEnum<{
|
|
2863
|
+
applied: "applied";
|
|
2864
|
+
deferred: "deferred";
|
|
2865
|
+
confirmation_required: "confirmation_required";
|
|
2866
|
+
refused: "refused";
|
|
2867
|
+
}>;
|
|
2868
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2869
|
+
confirm: z.ZodOptional<z.ZodString>;
|
|
2870
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2871
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2872
|
+
}, z.core.$strip>>;
|
|
2445
2873
|
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2446
2874
|
admission_id: z.ZodString;
|
|
2447
2875
|
sequence: z.ZodNumber;
|
|
@@ -2454,6 +2882,8 @@ export declare const SessionsListSchema: z.ZodObject<{
|
|
|
2454
2882
|
outcome: z.ZodNullable<z.ZodString>;
|
|
2455
2883
|
authority_epoch: z.ZodNumber;
|
|
2456
2884
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
2885
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2886
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
2457
2887
|
text: z.ZodOptional<z.ZodString>;
|
|
2458
2888
|
input_id: z.ZodOptional<z.ZodString>;
|
|
2459
2889
|
}, z.core.$strip>>>;
|
|
@@ -2469,12 +2899,16 @@ export declare const SessionsListSchema: z.ZodObject<{
|
|
|
2469
2899
|
outcome: z.ZodNullable<z.ZodString>;
|
|
2470
2900
|
authority_epoch: z.ZodNumber;
|
|
2471
2901
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
2902
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2903
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
2472
2904
|
text: z.ZodOptional<z.ZodString>;
|
|
2473
2905
|
input_id: z.ZodOptional<z.ZodString>;
|
|
2474
2906
|
actions: z.ZodArray<z.ZodEnum<{
|
|
2475
2907
|
cancel: "cancel";
|
|
2476
2908
|
discard: "discard";
|
|
2477
2909
|
retry: "retry";
|
|
2910
|
+
steer: "steer";
|
|
2911
|
+
edit: "edit";
|
|
2478
2912
|
}>>;
|
|
2479
2913
|
}, z.core.$strip>>;
|
|
2480
2914
|
}, z.core.$strip>>;
|
|
@@ -2497,8 +2931,8 @@ export declare const SessionsListSchema: z.ZodObject<{
|
|
|
2497
2931
|
share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2498
2932
|
worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2499
2933
|
match_type: z.ZodOptional<z.ZodEnum<{
|
|
2500
|
-
title: "title";
|
|
2501
2934
|
content: "content";
|
|
2935
|
+
title: "title";
|
|
2502
2936
|
metadata: "metadata";
|
|
2503
2937
|
}>>;
|
|
2504
2938
|
match_preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2542,18 +2976,31 @@ export declare const SessionsListSchema: z.ZodObject<{
|
|
|
2542
2976
|
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2543
2977
|
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
2544
2978
|
state: z.ZodEnum<{
|
|
2979
|
+
unavailable: "unavailable";
|
|
2980
|
+
refused: "refused";
|
|
2545
2981
|
attached: "attached";
|
|
2546
2982
|
stopped: "stopped";
|
|
2547
|
-
unavailable: "unavailable";
|
|
2548
2983
|
incompatible: "incompatible";
|
|
2549
|
-
refused: "refused";
|
|
2550
2984
|
}>;
|
|
2551
2985
|
reason: z.ZodNullable<z.ZodString>;
|
|
2552
2986
|
can_submit: z.ZodBoolean;
|
|
2553
2987
|
can_interrupt: z.ZodBoolean;
|
|
2554
2988
|
can_attach: z.ZodBoolean;
|
|
2989
|
+
restarting: z.ZodBoolean;
|
|
2555
2990
|
revision: z.ZodNullable<z.ZodNumber>;
|
|
2556
2991
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
2992
|
+
model_change: z.ZodOptional<z.ZodObject<{
|
|
2993
|
+
state: z.ZodEnum<{
|
|
2994
|
+
applied: "applied";
|
|
2995
|
+
deferred: "deferred";
|
|
2996
|
+
confirmation_required: "confirmation_required";
|
|
2997
|
+
refused: "refused";
|
|
2998
|
+
}>;
|
|
2999
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3000
|
+
confirm: z.ZodOptional<z.ZodString>;
|
|
3001
|
+
model: z.ZodOptional<z.ZodString>;
|
|
3002
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3003
|
+
}, z.core.$strip>>;
|
|
2557
3004
|
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2558
3005
|
admission_id: z.ZodString;
|
|
2559
3006
|
sequence: z.ZodNumber;
|
|
@@ -2566,6 +3013,8 @@ export declare const SessionsListSchema: z.ZodObject<{
|
|
|
2566
3013
|
outcome: z.ZodNullable<z.ZodString>;
|
|
2567
3014
|
authority_epoch: z.ZodNumber;
|
|
2568
3015
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
3016
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3017
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
2569
3018
|
text: z.ZodOptional<z.ZodString>;
|
|
2570
3019
|
input_id: z.ZodOptional<z.ZodString>;
|
|
2571
3020
|
}, z.core.$strip>>>;
|
|
@@ -2581,12 +3030,16 @@ export declare const SessionsListSchema: z.ZodObject<{
|
|
|
2581
3030
|
outcome: z.ZodNullable<z.ZodString>;
|
|
2582
3031
|
authority_epoch: z.ZodNumber;
|
|
2583
3032
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
3033
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3034
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
2584
3035
|
text: z.ZodOptional<z.ZodString>;
|
|
2585
3036
|
input_id: z.ZodOptional<z.ZodString>;
|
|
2586
3037
|
actions: z.ZodArray<z.ZodEnum<{
|
|
2587
3038
|
cancel: "cancel";
|
|
2588
3039
|
discard: "discard";
|
|
2589
3040
|
retry: "retry";
|
|
3041
|
+
steer: "steer";
|
|
3042
|
+
edit: "edit";
|
|
2590
3043
|
}>>;
|
|
2591
3044
|
}, z.core.$strip>>;
|
|
2592
3045
|
}, z.core.$strip>>;
|
|
@@ -2609,8 +3062,8 @@ export declare const SessionsListSchema: z.ZodObject<{
|
|
|
2609
3062
|
share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2610
3063
|
worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2611
3064
|
match_type: z.ZodOptional<z.ZodEnum<{
|
|
2612
|
-
title: "title";
|
|
2613
3065
|
content: "content";
|
|
3066
|
+
title: "title";
|
|
2614
3067
|
metadata: "metadata";
|
|
2615
3068
|
}>>;
|
|
2616
3069
|
match_preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2646,6 +3099,16 @@ export declare const SessionsListSchema: z.ZodObject<{
|
|
|
2646
3099
|
}, z.core.$loose>;
|
|
2647
3100
|
export type SessionsList = z.infer<typeof SessionsListSchema>;
|
|
2648
3101
|
export declare const SessionStatusSchema: z.ZodObject<{
|
|
3102
|
+
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
3103
|
+
running: "running";
|
|
3104
|
+
cancelled: "cancelled";
|
|
3105
|
+
stale: "stale";
|
|
3106
|
+
failed: "failed";
|
|
3107
|
+
completed: "completed";
|
|
3108
|
+
starting: "starting";
|
|
3109
|
+
waiting_for_approval: "waiting_for_approval";
|
|
3110
|
+
waiting_for_input: "waiting_for_input";
|
|
3111
|
+
}>>;
|
|
2649
3112
|
session_id: z.ZodString;
|
|
2650
3113
|
title: z.ZodOptional<z.ZodString>;
|
|
2651
3114
|
active_stream_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2659,18 +3122,31 @@ export declare const SessionStatusSchema: z.ZodObject<{
|
|
|
2659
3122
|
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2660
3123
|
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
2661
3124
|
state: z.ZodEnum<{
|
|
3125
|
+
unavailable: "unavailable";
|
|
3126
|
+
refused: "refused";
|
|
2662
3127
|
attached: "attached";
|
|
2663
3128
|
stopped: "stopped";
|
|
2664
|
-
unavailable: "unavailable";
|
|
2665
3129
|
incompatible: "incompatible";
|
|
2666
|
-
refused: "refused";
|
|
2667
3130
|
}>;
|
|
2668
3131
|
reason: z.ZodNullable<z.ZodString>;
|
|
2669
3132
|
can_submit: z.ZodBoolean;
|
|
2670
3133
|
can_interrupt: z.ZodBoolean;
|
|
2671
3134
|
can_attach: z.ZodBoolean;
|
|
3135
|
+
restarting: z.ZodBoolean;
|
|
2672
3136
|
revision: z.ZodNullable<z.ZodNumber>;
|
|
2673
3137
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
3138
|
+
model_change: z.ZodOptional<z.ZodObject<{
|
|
3139
|
+
state: z.ZodEnum<{
|
|
3140
|
+
applied: "applied";
|
|
3141
|
+
deferred: "deferred";
|
|
3142
|
+
confirmation_required: "confirmation_required";
|
|
3143
|
+
refused: "refused";
|
|
3144
|
+
}>;
|
|
3145
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3146
|
+
confirm: z.ZodOptional<z.ZodString>;
|
|
3147
|
+
model: z.ZodOptional<z.ZodString>;
|
|
3148
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3149
|
+
}, z.core.$strip>>;
|
|
2674
3150
|
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2675
3151
|
admission_id: z.ZodString;
|
|
2676
3152
|
sequence: z.ZodNumber;
|
|
@@ -2683,6 +3159,8 @@ export declare const SessionStatusSchema: z.ZodObject<{
|
|
|
2683
3159
|
outcome: z.ZodNullable<z.ZodString>;
|
|
2684
3160
|
authority_epoch: z.ZodNumber;
|
|
2685
3161
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
3162
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3163
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
2686
3164
|
text: z.ZodOptional<z.ZodString>;
|
|
2687
3165
|
input_id: z.ZodOptional<z.ZodString>;
|
|
2688
3166
|
}, z.core.$strip>>>;
|
|
@@ -2698,12 +3176,16 @@ export declare const SessionStatusSchema: z.ZodObject<{
|
|
|
2698
3176
|
outcome: z.ZodNullable<z.ZodString>;
|
|
2699
3177
|
authority_epoch: z.ZodNumber;
|
|
2700
3178
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
3179
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3180
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
2701
3181
|
text: z.ZodOptional<z.ZodString>;
|
|
2702
3182
|
input_id: z.ZodOptional<z.ZodString>;
|
|
2703
3183
|
actions: z.ZodArray<z.ZodEnum<{
|
|
2704
3184
|
cancel: "cancel";
|
|
2705
3185
|
discard: "discard";
|
|
2706
3186
|
retry: "retry";
|
|
3187
|
+
steer: "steer";
|
|
3188
|
+
edit: "edit";
|
|
2707
3189
|
}>>;
|
|
2708
3190
|
}, z.core.$strip>>;
|
|
2709
3191
|
}, z.core.$strip>>;
|
|
@@ -2779,18 +3261,31 @@ export type ChatStartRequest = z.infer<typeof ChatStartRequestSchema>;
|
|
|
2779
3261
|
export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
2780
3262
|
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
2781
3263
|
state: z.ZodEnum<{
|
|
3264
|
+
unavailable: "unavailable";
|
|
3265
|
+
refused: "refused";
|
|
2782
3266
|
attached: "attached";
|
|
2783
3267
|
stopped: "stopped";
|
|
2784
|
-
unavailable: "unavailable";
|
|
2785
3268
|
incompatible: "incompatible";
|
|
2786
|
-
refused: "refused";
|
|
2787
3269
|
}>;
|
|
2788
3270
|
reason: z.ZodNullable<z.ZodString>;
|
|
2789
3271
|
can_submit: z.ZodBoolean;
|
|
2790
3272
|
can_interrupt: z.ZodBoolean;
|
|
2791
3273
|
can_attach: z.ZodBoolean;
|
|
3274
|
+
restarting: z.ZodBoolean;
|
|
2792
3275
|
revision: z.ZodNullable<z.ZodNumber>;
|
|
2793
3276
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
3277
|
+
model_change: z.ZodOptional<z.ZodObject<{
|
|
3278
|
+
state: z.ZodEnum<{
|
|
3279
|
+
applied: "applied";
|
|
3280
|
+
deferred: "deferred";
|
|
3281
|
+
confirmation_required: "confirmation_required";
|
|
3282
|
+
refused: "refused";
|
|
3283
|
+
}>;
|
|
3284
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3285
|
+
confirm: z.ZodOptional<z.ZodString>;
|
|
3286
|
+
model: z.ZodOptional<z.ZodString>;
|
|
3287
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3288
|
+
}, z.core.$strip>>;
|
|
2794
3289
|
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2795
3290
|
admission_id: z.ZodString;
|
|
2796
3291
|
sequence: z.ZodNumber;
|
|
@@ -2803,6 +3298,8 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
2803
3298
|
outcome: z.ZodNullable<z.ZodString>;
|
|
2804
3299
|
authority_epoch: z.ZodNumber;
|
|
2805
3300
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
3301
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3302
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
2806
3303
|
text: z.ZodOptional<z.ZodString>;
|
|
2807
3304
|
input_id: z.ZodOptional<z.ZodString>;
|
|
2808
3305
|
}, z.core.$strip>>>;
|
|
@@ -2818,12 +3315,16 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
2818
3315
|
outcome: z.ZodNullable<z.ZodString>;
|
|
2819
3316
|
authority_epoch: z.ZodNumber;
|
|
2820
3317
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
3318
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3319
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
2821
3320
|
text: z.ZodOptional<z.ZodString>;
|
|
2822
3321
|
input_id: z.ZodOptional<z.ZodString>;
|
|
2823
3322
|
actions: z.ZodArray<z.ZodEnum<{
|
|
2824
3323
|
cancel: "cancel";
|
|
2825
3324
|
discard: "discard";
|
|
2826
3325
|
retry: "retry";
|
|
3326
|
+
steer: "steer";
|
|
3327
|
+
edit: "edit";
|
|
2827
3328
|
}>>;
|
|
2828
3329
|
}, z.core.$strip>>;
|
|
2829
3330
|
}, z.core.$strip>>;
|
|
@@ -2841,6 +3342,11 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
2841
3342
|
status: z.ZodOptional<z.ZodString>;
|
|
2842
3343
|
reason: z.ZodOptional<z.ZodString>;
|
|
2843
3344
|
session: z.ZodOptional<z.ZodObject<{
|
|
3345
|
+
execution_mode: z.ZodOptional<z.ZodEnum<{
|
|
3346
|
+
normal: "normal";
|
|
3347
|
+
ignore_config: "ignore_config";
|
|
3348
|
+
safe: "safe";
|
|
3349
|
+
}>>;
|
|
2844
3350
|
enabled_toolsets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
2845
3351
|
composer_draft: z.ZodOptional<z.ZodObject<{
|
|
2846
3352
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -2865,18 +3371,31 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
2865
3371
|
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2866
3372
|
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
2867
3373
|
state: z.ZodEnum<{
|
|
3374
|
+
unavailable: "unavailable";
|
|
3375
|
+
refused: "refused";
|
|
2868
3376
|
attached: "attached";
|
|
2869
3377
|
stopped: "stopped";
|
|
2870
|
-
unavailable: "unavailable";
|
|
2871
3378
|
incompatible: "incompatible";
|
|
2872
|
-
refused: "refused";
|
|
2873
3379
|
}>;
|
|
2874
3380
|
reason: z.ZodNullable<z.ZodString>;
|
|
2875
3381
|
can_submit: z.ZodBoolean;
|
|
2876
3382
|
can_interrupt: z.ZodBoolean;
|
|
2877
3383
|
can_attach: z.ZodBoolean;
|
|
3384
|
+
restarting: z.ZodBoolean;
|
|
2878
3385
|
revision: z.ZodNullable<z.ZodNumber>;
|
|
2879
3386
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
3387
|
+
model_change: z.ZodOptional<z.ZodObject<{
|
|
3388
|
+
state: z.ZodEnum<{
|
|
3389
|
+
applied: "applied";
|
|
3390
|
+
deferred: "deferred";
|
|
3391
|
+
confirmation_required: "confirmation_required";
|
|
3392
|
+
refused: "refused";
|
|
3393
|
+
}>;
|
|
3394
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3395
|
+
confirm: z.ZodOptional<z.ZodString>;
|
|
3396
|
+
model: z.ZodOptional<z.ZodString>;
|
|
3397
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3398
|
+
}, z.core.$strip>>;
|
|
2880
3399
|
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2881
3400
|
admission_id: z.ZodString;
|
|
2882
3401
|
sequence: z.ZodNumber;
|
|
@@ -2889,6 +3408,8 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
2889
3408
|
outcome: z.ZodNullable<z.ZodString>;
|
|
2890
3409
|
authority_epoch: z.ZodNumber;
|
|
2891
3410
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
3411
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3412
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
2892
3413
|
text: z.ZodOptional<z.ZodString>;
|
|
2893
3414
|
input_id: z.ZodOptional<z.ZodString>;
|
|
2894
3415
|
}, z.core.$strip>>>;
|
|
@@ -2904,12 +3425,16 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
2904
3425
|
outcome: z.ZodNullable<z.ZodString>;
|
|
2905
3426
|
authority_epoch: z.ZodNumber;
|
|
2906
3427
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
3428
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3429
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
2907
3430
|
text: z.ZodOptional<z.ZodString>;
|
|
2908
3431
|
input_id: z.ZodOptional<z.ZodString>;
|
|
2909
3432
|
actions: z.ZodArray<z.ZodEnum<{
|
|
2910
3433
|
cancel: "cancel";
|
|
2911
3434
|
discard: "discard";
|
|
2912
3435
|
retry: "retry";
|
|
3436
|
+
steer: "steer";
|
|
3437
|
+
edit: "edit";
|
|
2913
3438
|
}>>;
|
|
2914
3439
|
}, z.core.$strip>>;
|
|
2915
3440
|
}, z.core.$strip>>;
|
|
@@ -2928,6 +3453,7 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
2928
3453
|
worktree_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2929
3454
|
worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2930
3455
|
worktree_repo_root: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3456
|
+
worktree_retained: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2931
3457
|
share_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2932
3458
|
share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2933
3459
|
share_created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2952,6 +3478,7 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
2952
3478
|
text: z.ZodString;
|
|
2953
3479
|
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
2954
3480
|
}, z.core.$strip>>>;
|
|
3481
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2955
3482
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2956
3483
|
session_id: z.ZodString;
|
|
2957
3484
|
title: z.ZodString;
|
|
@@ -2960,6 +3487,23 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
2960
3487
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2961
3488
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2962
3489
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3490
|
+
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
3491
|
+
running: "running";
|
|
3492
|
+
cancelled: "cancelled";
|
|
3493
|
+
stale: "stale";
|
|
3494
|
+
failed: "failed";
|
|
3495
|
+
completed: "completed";
|
|
3496
|
+
starting: "starting";
|
|
3497
|
+
waiting_for_approval: "waiting_for_approval";
|
|
3498
|
+
waiting_for_input: "waiting_for_input";
|
|
3499
|
+
}>>;
|
|
3500
|
+
source_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3501
|
+
session_id: z.ZodString;
|
|
3502
|
+
tip_session_id: z.ZodString;
|
|
3503
|
+
profile: z.ZodString;
|
|
3504
|
+
title: z.ZodString;
|
|
3505
|
+
}, z.core.$strip>>>;
|
|
3506
|
+
context_detail_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2963
3507
|
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
2964
3508
|
session_id: z.ZodString;
|
|
2965
3509
|
title: z.ZodString;
|
|
@@ -2977,6 +3521,63 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
2977
3521
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
2978
3522
|
message_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
2979
3523
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3524
|
+
reaction_view: z.ZodOptional<z.ZodObject<{
|
|
3525
|
+
row_id: z.ZodNumber;
|
|
3526
|
+
state: z.ZodObject<{
|
|
3527
|
+
items: z.ZodArray<z.ZodObject<{
|
|
3528
|
+
emoji: z.ZodEnum<{
|
|
3529
|
+
"\uD83D\uDC4D": "👍";
|
|
3530
|
+
"\uD83D\uDC4E": "👎";
|
|
3531
|
+
"\u2764\uFE0F": "❤️";
|
|
3532
|
+
"\uD83D\uDE02": "😂";
|
|
3533
|
+
"\uD83D\uDE2E": "😮";
|
|
3534
|
+
"\uD83C\uDF89": "🎉";
|
|
3535
|
+
}>;
|
|
3536
|
+
count: z.ZodNumber;
|
|
3537
|
+
mine: z.ZodBoolean;
|
|
3538
|
+
}, z.core.$strip>>;
|
|
3539
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
3540
|
+
"\uD83D\uDC4D": "👍";
|
|
3541
|
+
"\uD83D\uDC4E": "👎";
|
|
3542
|
+
"\u2764\uFE0F": "❤️";
|
|
3543
|
+
"\uD83D\uDE02": "😂";
|
|
3544
|
+
"\uD83D\uDE2E": "😮";
|
|
3545
|
+
"\uD83C\uDF89": "🎉";
|
|
3546
|
+
}>>;
|
|
3547
|
+
}, z.core.$strip>;
|
|
3548
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
3549
|
+
emoji: z.ZodNullable<z.ZodEnum<{
|
|
3550
|
+
"\uD83D\uDC4D": "👍";
|
|
3551
|
+
"\uD83D\uDC4E": "👎";
|
|
3552
|
+
"\u2764\uFE0F": "❤️";
|
|
3553
|
+
"\uD83D\uDE02": "😂";
|
|
3554
|
+
"\uD83D\uDE2E": "😮";
|
|
3555
|
+
"\uD83C\uDF89": "🎉";
|
|
3556
|
+
}>>;
|
|
3557
|
+
result: z.ZodObject<{
|
|
3558
|
+
items: z.ZodArray<z.ZodObject<{
|
|
3559
|
+
emoji: z.ZodEnum<{
|
|
3560
|
+
"\uD83D\uDC4D": "👍";
|
|
3561
|
+
"\uD83D\uDC4E": "👎";
|
|
3562
|
+
"\u2764\uFE0F": "❤️";
|
|
3563
|
+
"\uD83D\uDE02": "😂";
|
|
3564
|
+
"\uD83D\uDE2E": "😮";
|
|
3565
|
+
"\uD83C\uDF89": "🎉";
|
|
3566
|
+
}>;
|
|
3567
|
+
count: z.ZodNumber;
|
|
3568
|
+
mine: z.ZodBoolean;
|
|
3569
|
+
}, z.core.$strip>>;
|
|
3570
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
3571
|
+
"\uD83D\uDC4D": "👍";
|
|
3572
|
+
"\uD83D\uDC4E": "👎";
|
|
3573
|
+
"\u2764\uFE0F": "❤️";
|
|
3574
|
+
"\uD83D\uDE02": "😂";
|
|
3575
|
+
"\uD83D\uDE2E": "😮";
|
|
3576
|
+
"\uD83C\uDF89": "🎉";
|
|
3577
|
+
}>>;
|
|
3578
|
+
}, z.core.$strip>;
|
|
3579
|
+
}, z.core.$strip>>;
|
|
3580
|
+
}, z.core.$strip>>;
|
|
2980
3581
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2981
3582
|
filename: z.ZodOptional<z.ZodString>;
|
|
2982
3583
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -3001,6 +3602,10 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3001
3602
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3002
3603
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
3003
3604
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3605
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
3606
|
+
draft_id: z.ZodString;
|
|
3607
|
+
card: z.ZodNumber;
|
|
3608
|
+
}, z.core.$strip>>;
|
|
3004
3609
|
text: z.ZodOptional<z.ZodString>;
|
|
3005
3610
|
stdout: z.ZodOptional<z.ZodString>;
|
|
3006
3611
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -3012,6 +3617,10 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3012
3617
|
cost_usd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3013
3618
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3014
3619
|
event_type: z.ZodOptional<z.ZodString>;
|
|
3620
|
+
progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3621
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
3622
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3623
|
+
}, z.core.$strip>>>;
|
|
3015
3624
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
3016
3625
|
unknown: "unknown";
|
|
3017
3626
|
memory: "memory";
|
|
@@ -3049,6 +3658,7 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3049
3658
|
}, z.core.$strip>>;
|
|
3050
3659
|
}, z.core.$strip>>;
|
|
3051
3660
|
}, z.core.$strip>>;
|
|
3661
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3052
3662
|
}, z.core.$loose>>>;
|
|
3053
3663
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
3054
3664
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3065,10 +3675,10 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3065
3675
|
row_id: z.ZodString;
|
|
3066
3676
|
order_index: z.ZodNumber;
|
|
3067
3677
|
role: z.ZodEnum<{
|
|
3678
|
+
steering: "steering";
|
|
3068
3679
|
tool: "tool";
|
|
3069
3680
|
reasoning: "reasoning";
|
|
3070
3681
|
prose: "prose";
|
|
3071
|
-
steering: "steering";
|
|
3072
3682
|
}>;
|
|
3073
3683
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
3074
3684
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -3091,6 +3701,10 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3091
3701
|
preview: z.ZodNullable<z.ZodString>;
|
|
3092
3702
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
3093
3703
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3704
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
3705
|
+
draft_id: z.ZodString;
|
|
3706
|
+
card: z.ZodNumber;
|
|
3707
|
+
}, z.core.$strip>>;
|
|
3094
3708
|
text: z.ZodOptional<z.ZodString>;
|
|
3095
3709
|
stdout: z.ZodOptional<z.ZodString>;
|
|
3096
3710
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -3120,6 +3734,10 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3120
3734
|
}, z.core.$strip>>;
|
|
3121
3735
|
result_truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3122
3736
|
result_chars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3737
|
+
progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3738
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
3739
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3740
|
+
}, z.core.$strip>>>;
|
|
3123
3741
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
3124
3742
|
unknown: "unknown";
|
|
3125
3743
|
memory: "memory";
|
|
@@ -3157,6 +3775,7 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3157
3775
|
}, z.core.$strip>>;
|
|
3158
3776
|
}, z.core.$strip>>;
|
|
3159
3777
|
}, z.core.$strip>>;
|
|
3778
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3160
3779
|
id: z.ZodString;
|
|
3161
3780
|
name: z.ZodString;
|
|
3162
3781
|
}, z.core.$loose>>;
|
|
@@ -3311,6 +3930,10 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3311
3930
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3312
3931
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
3313
3932
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3933
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
3934
|
+
draft_id: z.ZodString;
|
|
3935
|
+
card: z.ZodNumber;
|
|
3936
|
+
}, z.core.$strip>>;
|
|
3314
3937
|
text: z.ZodOptional<z.ZodString>;
|
|
3315
3938
|
stdout: z.ZodOptional<z.ZodString>;
|
|
3316
3939
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -3322,6 +3945,10 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3322
3945
|
cost_usd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3323
3946
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3324
3947
|
event_type: z.ZodOptional<z.ZodString>;
|
|
3948
|
+
progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3949
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
3950
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3951
|
+
}, z.core.$strip>>>;
|
|
3325
3952
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
3326
3953
|
unknown: "unknown";
|
|
3327
3954
|
memory: "memory";
|
|
@@ -3359,6 +3986,7 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3359
3986
|
}, z.core.$strip>>;
|
|
3360
3987
|
}, z.core.$strip>>;
|
|
3361
3988
|
}, z.core.$strip>>;
|
|
3989
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3362
3990
|
}, z.core.$loose>>>;
|
|
3363
3991
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
3364
3992
|
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3419,8 +4047,8 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3419
4047
|
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3420
4048
|
key: z.ZodString;
|
|
3421
4049
|
level: z.ZodEnum<{
|
|
3422
|
-
success: "success";
|
|
3423
4050
|
error: "error";
|
|
4051
|
+
success: "success";
|
|
3424
4052
|
info: "info";
|
|
3425
4053
|
warn: "warn";
|
|
3426
4054
|
}>;
|
|
@@ -3466,6 +4094,16 @@ export type ChatStartResponse = z.infer<typeof ChatStartResponseSchema>;
|
|
|
3466
4094
|
* answers 409 while it is set, so a client draining a session before deleting it waits until it is null.
|
|
3467
4095
|
*/
|
|
3468
4096
|
export declare const StreamStatusSchema: z.ZodObject<{
|
|
4097
|
+
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
4098
|
+
running: "running";
|
|
4099
|
+
cancelled: "cancelled";
|
|
4100
|
+
stale: "stale";
|
|
4101
|
+
failed: "failed";
|
|
4102
|
+
completed: "completed";
|
|
4103
|
+
starting: "starting";
|
|
4104
|
+
waiting_for_approval: "waiting_for_approval";
|
|
4105
|
+
waiting_for_input: "waiting_for_input";
|
|
4106
|
+
}>>;
|
|
3469
4107
|
active: z.ZodBoolean;
|
|
3470
4108
|
stream_id: z.ZodString;
|
|
3471
4109
|
replay_available: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3494,6 +4132,16 @@ export type SteerWithdrawn = z.infer<typeof SteerWithdrawnSchema>;
|
|
|
3494
4132
|
* a client that stops reading the stream once the Stop answers still gives its own text back.
|
|
3495
4133
|
*/
|
|
3496
4134
|
export declare const CancelResponseSchema: z.ZodObject<{
|
|
4135
|
+
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
4136
|
+
running: "running";
|
|
4137
|
+
cancelled: "cancelled";
|
|
4138
|
+
stale: "stale";
|
|
4139
|
+
failed: "failed";
|
|
4140
|
+
completed: "completed";
|
|
4141
|
+
starting: "starting";
|
|
4142
|
+
waiting_for_approval: "waiting_for_approval";
|
|
4143
|
+
waiting_for_input: "waiting_for_input";
|
|
4144
|
+
}>>;
|
|
3497
4145
|
ok: z.ZodBoolean;
|
|
3498
4146
|
cancelled: z.ZodBoolean;
|
|
3499
4147
|
stream_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3556,18 +4204,31 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
3556
4204
|
started_turn: z.ZodOptional<z.ZodObject<{
|
|
3557
4205
|
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
3558
4206
|
state: z.ZodEnum<{
|
|
4207
|
+
unavailable: "unavailable";
|
|
4208
|
+
refused: "refused";
|
|
3559
4209
|
attached: "attached";
|
|
3560
4210
|
stopped: "stopped";
|
|
3561
|
-
unavailable: "unavailable";
|
|
3562
4211
|
incompatible: "incompatible";
|
|
3563
|
-
refused: "refused";
|
|
3564
4212
|
}>;
|
|
3565
4213
|
reason: z.ZodNullable<z.ZodString>;
|
|
3566
4214
|
can_submit: z.ZodBoolean;
|
|
3567
4215
|
can_interrupt: z.ZodBoolean;
|
|
3568
4216
|
can_attach: z.ZodBoolean;
|
|
4217
|
+
restarting: z.ZodBoolean;
|
|
3569
4218
|
revision: z.ZodNullable<z.ZodNumber>;
|
|
3570
4219
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
4220
|
+
model_change: z.ZodOptional<z.ZodObject<{
|
|
4221
|
+
state: z.ZodEnum<{
|
|
4222
|
+
applied: "applied";
|
|
4223
|
+
deferred: "deferred";
|
|
4224
|
+
confirmation_required: "confirmation_required";
|
|
4225
|
+
refused: "refused";
|
|
4226
|
+
}>;
|
|
4227
|
+
message: z.ZodOptional<z.ZodString>;
|
|
4228
|
+
confirm: z.ZodOptional<z.ZodString>;
|
|
4229
|
+
model: z.ZodOptional<z.ZodString>;
|
|
4230
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4231
|
+
}, z.core.$strip>>;
|
|
3571
4232
|
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3572
4233
|
admission_id: z.ZodString;
|
|
3573
4234
|
sequence: z.ZodNumber;
|
|
@@ -3580,6 +4241,8 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
3580
4241
|
outcome: z.ZodNullable<z.ZodString>;
|
|
3581
4242
|
authority_epoch: z.ZodNumber;
|
|
3582
4243
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
4244
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4245
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
3583
4246
|
text: z.ZodOptional<z.ZodString>;
|
|
3584
4247
|
input_id: z.ZodOptional<z.ZodString>;
|
|
3585
4248
|
}, z.core.$strip>>>;
|
|
@@ -3595,12 +4258,16 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
3595
4258
|
outcome: z.ZodNullable<z.ZodString>;
|
|
3596
4259
|
authority_epoch: z.ZodNumber;
|
|
3597
4260
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
4261
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4262
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
3598
4263
|
text: z.ZodOptional<z.ZodString>;
|
|
3599
4264
|
input_id: z.ZodOptional<z.ZodString>;
|
|
3600
4265
|
actions: z.ZodArray<z.ZodEnum<{
|
|
3601
4266
|
cancel: "cancel";
|
|
3602
4267
|
discard: "discard";
|
|
3603
4268
|
retry: "retry";
|
|
4269
|
+
steer: "steer";
|
|
4270
|
+
edit: "edit";
|
|
3604
4271
|
}>>;
|
|
3605
4272
|
}, z.core.$strip>>;
|
|
3606
4273
|
}, z.core.$strip>>;
|
|
@@ -3618,6 +4285,11 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
3618
4285
|
status: z.ZodOptional<z.ZodString>;
|
|
3619
4286
|
reason: z.ZodOptional<z.ZodString>;
|
|
3620
4287
|
session: z.ZodOptional<z.ZodObject<{
|
|
4288
|
+
execution_mode: z.ZodOptional<z.ZodEnum<{
|
|
4289
|
+
normal: "normal";
|
|
4290
|
+
ignore_config: "ignore_config";
|
|
4291
|
+
safe: "safe";
|
|
4292
|
+
}>>;
|
|
3621
4293
|
enabled_toolsets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
3622
4294
|
composer_draft: z.ZodOptional<z.ZodObject<{
|
|
3623
4295
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -3642,18 +4314,31 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
3642
4314
|
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3643
4315
|
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
3644
4316
|
state: z.ZodEnum<{
|
|
4317
|
+
unavailable: "unavailable";
|
|
4318
|
+
refused: "refused";
|
|
3645
4319
|
attached: "attached";
|
|
3646
4320
|
stopped: "stopped";
|
|
3647
|
-
unavailable: "unavailable";
|
|
3648
4321
|
incompatible: "incompatible";
|
|
3649
|
-
refused: "refused";
|
|
3650
4322
|
}>;
|
|
3651
4323
|
reason: z.ZodNullable<z.ZodString>;
|
|
3652
4324
|
can_submit: z.ZodBoolean;
|
|
3653
4325
|
can_interrupt: z.ZodBoolean;
|
|
3654
4326
|
can_attach: z.ZodBoolean;
|
|
4327
|
+
restarting: z.ZodBoolean;
|
|
3655
4328
|
revision: z.ZodNullable<z.ZodNumber>;
|
|
3656
4329
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
4330
|
+
model_change: z.ZodOptional<z.ZodObject<{
|
|
4331
|
+
state: z.ZodEnum<{
|
|
4332
|
+
applied: "applied";
|
|
4333
|
+
deferred: "deferred";
|
|
4334
|
+
confirmation_required: "confirmation_required";
|
|
4335
|
+
refused: "refused";
|
|
4336
|
+
}>;
|
|
4337
|
+
message: z.ZodOptional<z.ZodString>;
|
|
4338
|
+
confirm: z.ZodOptional<z.ZodString>;
|
|
4339
|
+
model: z.ZodOptional<z.ZodString>;
|
|
4340
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4341
|
+
}, z.core.$strip>>;
|
|
3657
4342
|
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3658
4343
|
admission_id: z.ZodString;
|
|
3659
4344
|
sequence: z.ZodNumber;
|
|
@@ -3666,6 +4351,8 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
3666
4351
|
outcome: z.ZodNullable<z.ZodString>;
|
|
3667
4352
|
authority_epoch: z.ZodNumber;
|
|
3668
4353
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
4354
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4355
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
3669
4356
|
text: z.ZodOptional<z.ZodString>;
|
|
3670
4357
|
input_id: z.ZodOptional<z.ZodString>;
|
|
3671
4358
|
}, z.core.$strip>>>;
|
|
@@ -3681,12 +4368,16 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
3681
4368
|
outcome: z.ZodNullable<z.ZodString>;
|
|
3682
4369
|
authority_epoch: z.ZodNumber;
|
|
3683
4370
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
4371
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4372
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
3684
4373
|
text: z.ZodOptional<z.ZodString>;
|
|
3685
4374
|
input_id: z.ZodOptional<z.ZodString>;
|
|
3686
4375
|
actions: z.ZodArray<z.ZodEnum<{
|
|
3687
4376
|
cancel: "cancel";
|
|
3688
4377
|
discard: "discard";
|
|
3689
4378
|
retry: "retry";
|
|
4379
|
+
steer: "steer";
|
|
4380
|
+
edit: "edit";
|
|
3690
4381
|
}>>;
|
|
3691
4382
|
}, z.core.$strip>>;
|
|
3692
4383
|
}, z.core.$strip>>;
|
|
@@ -3705,6 +4396,7 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
3705
4396
|
worktree_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3706
4397
|
worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3707
4398
|
worktree_repo_root: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4399
|
+
worktree_retained: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3708
4400
|
share_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3709
4401
|
share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3710
4402
|
share_created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3729,6 +4421,7 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
3729
4421
|
text: z.ZodString;
|
|
3730
4422
|
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
3731
4423
|
}, z.core.$strip>>>;
|
|
4424
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3732
4425
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3733
4426
|
session_id: z.ZodString;
|
|
3734
4427
|
title: z.ZodString;
|
|
@@ -3737,6 +4430,23 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
3737
4430
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3738
4431
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3739
4432
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4433
|
+
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
4434
|
+
running: "running";
|
|
4435
|
+
cancelled: "cancelled";
|
|
4436
|
+
stale: "stale";
|
|
4437
|
+
failed: "failed";
|
|
4438
|
+
completed: "completed";
|
|
4439
|
+
starting: "starting";
|
|
4440
|
+
waiting_for_approval: "waiting_for_approval";
|
|
4441
|
+
waiting_for_input: "waiting_for_input";
|
|
4442
|
+
}>>;
|
|
4443
|
+
source_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4444
|
+
session_id: z.ZodString;
|
|
4445
|
+
tip_session_id: z.ZodString;
|
|
4446
|
+
profile: z.ZodString;
|
|
4447
|
+
title: z.ZodString;
|
|
4448
|
+
}, z.core.$strip>>>;
|
|
4449
|
+
context_detail_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3740
4450
|
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
3741
4451
|
session_id: z.ZodString;
|
|
3742
4452
|
title: z.ZodString;
|
|
@@ -3754,6 +4464,63 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
3754
4464
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3755
4465
|
message_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3756
4466
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4467
|
+
reaction_view: z.ZodOptional<z.ZodObject<{
|
|
4468
|
+
row_id: z.ZodNumber;
|
|
4469
|
+
state: z.ZodObject<{
|
|
4470
|
+
items: z.ZodArray<z.ZodObject<{
|
|
4471
|
+
emoji: z.ZodEnum<{
|
|
4472
|
+
"\uD83D\uDC4D": "👍";
|
|
4473
|
+
"\uD83D\uDC4E": "👎";
|
|
4474
|
+
"\u2764\uFE0F": "❤️";
|
|
4475
|
+
"\uD83D\uDE02": "😂";
|
|
4476
|
+
"\uD83D\uDE2E": "😮";
|
|
4477
|
+
"\uD83C\uDF89": "🎉";
|
|
4478
|
+
}>;
|
|
4479
|
+
count: z.ZodNumber;
|
|
4480
|
+
mine: z.ZodBoolean;
|
|
4481
|
+
}, z.core.$strip>>;
|
|
4482
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
4483
|
+
"\uD83D\uDC4D": "👍";
|
|
4484
|
+
"\uD83D\uDC4E": "👎";
|
|
4485
|
+
"\u2764\uFE0F": "❤️";
|
|
4486
|
+
"\uD83D\uDE02": "😂";
|
|
4487
|
+
"\uD83D\uDE2E": "😮";
|
|
4488
|
+
"\uD83C\uDF89": "🎉";
|
|
4489
|
+
}>>;
|
|
4490
|
+
}, z.core.$strip>;
|
|
4491
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
4492
|
+
emoji: z.ZodNullable<z.ZodEnum<{
|
|
4493
|
+
"\uD83D\uDC4D": "👍";
|
|
4494
|
+
"\uD83D\uDC4E": "👎";
|
|
4495
|
+
"\u2764\uFE0F": "❤️";
|
|
4496
|
+
"\uD83D\uDE02": "😂";
|
|
4497
|
+
"\uD83D\uDE2E": "😮";
|
|
4498
|
+
"\uD83C\uDF89": "🎉";
|
|
4499
|
+
}>>;
|
|
4500
|
+
result: z.ZodObject<{
|
|
4501
|
+
items: z.ZodArray<z.ZodObject<{
|
|
4502
|
+
emoji: z.ZodEnum<{
|
|
4503
|
+
"\uD83D\uDC4D": "👍";
|
|
4504
|
+
"\uD83D\uDC4E": "👎";
|
|
4505
|
+
"\u2764\uFE0F": "❤️";
|
|
4506
|
+
"\uD83D\uDE02": "😂";
|
|
4507
|
+
"\uD83D\uDE2E": "😮";
|
|
4508
|
+
"\uD83C\uDF89": "🎉";
|
|
4509
|
+
}>;
|
|
4510
|
+
count: z.ZodNumber;
|
|
4511
|
+
mine: z.ZodBoolean;
|
|
4512
|
+
}, z.core.$strip>>;
|
|
4513
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
4514
|
+
"\uD83D\uDC4D": "👍";
|
|
4515
|
+
"\uD83D\uDC4E": "👎";
|
|
4516
|
+
"\u2764\uFE0F": "❤️";
|
|
4517
|
+
"\uD83D\uDE02": "😂";
|
|
4518
|
+
"\uD83D\uDE2E": "😮";
|
|
4519
|
+
"\uD83C\uDF89": "🎉";
|
|
4520
|
+
}>>;
|
|
4521
|
+
}, z.core.$strip>;
|
|
4522
|
+
}, z.core.$strip>>;
|
|
4523
|
+
}, z.core.$strip>>;
|
|
3757
4524
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3758
4525
|
filename: z.ZodOptional<z.ZodString>;
|
|
3759
4526
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -3778,6 +4545,10 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
3778
4545
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3779
4546
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
3780
4547
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4548
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
4549
|
+
draft_id: z.ZodString;
|
|
4550
|
+
card: z.ZodNumber;
|
|
4551
|
+
}, z.core.$strip>>;
|
|
3781
4552
|
text: z.ZodOptional<z.ZodString>;
|
|
3782
4553
|
stdout: z.ZodOptional<z.ZodString>;
|
|
3783
4554
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -3789,6 +4560,10 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
3789
4560
|
cost_usd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3790
4561
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3791
4562
|
event_type: z.ZodOptional<z.ZodString>;
|
|
4563
|
+
progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4564
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
4565
|
+
message: z.ZodNullable<z.ZodString>;
|
|
4566
|
+
}, z.core.$strip>>>;
|
|
3792
4567
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
3793
4568
|
unknown: "unknown";
|
|
3794
4569
|
memory: "memory";
|
|
@@ -3826,6 +4601,7 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
3826
4601
|
}, z.core.$strip>>;
|
|
3827
4602
|
}, z.core.$strip>>;
|
|
3828
4603
|
}, z.core.$strip>>;
|
|
4604
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3829
4605
|
}, z.core.$loose>>>;
|
|
3830
4606
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
3831
4607
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3842,10 +4618,10 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
3842
4618
|
row_id: z.ZodString;
|
|
3843
4619
|
order_index: z.ZodNumber;
|
|
3844
4620
|
role: z.ZodEnum<{
|
|
4621
|
+
steering: "steering";
|
|
3845
4622
|
tool: "tool";
|
|
3846
4623
|
reasoning: "reasoning";
|
|
3847
4624
|
prose: "prose";
|
|
3848
|
-
steering: "steering";
|
|
3849
4625
|
}>;
|
|
3850
4626
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
3851
4627
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -3868,6 +4644,10 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
3868
4644
|
preview: z.ZodNullable<z.ZodString>;
|
|
3869
4645
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
3870
4646
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4647
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
4648
|
+
draft_id: z.ZodString;
|
|
4649
|
+
card: z.ZodNumber;
|
|
4650
|
+
}, z.core.$strip>>;
|
|
3871
4651
|
text: z.ZodOptional<z.ZodString>;
|
|
3872
4652
|
stdout: z.ZodOptional<z.ZodString>;
|
|
3873
4653
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -3897,6 +4677,10 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
3897
4677
|
}, z.core.$strip>>;
|
|
3898
4678
|
result_truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3899
4679
|
result_chars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4680
|
+
progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4681
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
4682
|
+
message: z.ZodNullable<z.ZodString>;
|
|
4683
|
+
}, z.core.$strip>>>;
|
|
3900
4684
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
3901
4685
|
unknown: "unknown";
|
|
3902
4686
|
memory: "memory";
|
|
@@ -3934,6 +4718,7 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
3934
4718
|
}, z.core.$strip>>;
|
|
3935
4719
|
}, z.core.$strip>>;
|
|
3936
4720
|
}, z.core.$strip>>;
|
|
4721
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3937
4722
|
id: z.ZodString;
|
|
3938
4723
|
name: z.ZodString;
|
|
3939
4724
|
}, z.core.$loose>>;
|
|
@@ -4088,6 +4873,10 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4088
4873
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4089
4874
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
4090
4875
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4876
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
4877
|
+
draft_id: z.ZodString;
|
|
4878
|
+
card: z.ZodNumber;
|
|
4879
|
+
}, z.core.$strip>>;
|
|
4091
4880
|
text: z.ZodOptional<z.ZodString>;
|
|
4092
4881
|
stdout: z.ZodOptional<z.ZodString>;
|
|
4093
4882
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -4099,6 +4888,10 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4099
4888
|
cost_usd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4100
4889
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4101
4890
|
event_type: z.ZodOptional<z.ZodString>;
|
|
4891
|
+
progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4892
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
4893
|
+
message: z.ZodNullable<z.ZodString>;
|
|
4894
|
+
}, z.core.$strip>>>;
|
|
4102
4895
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
4103
4896
|
unknown: "unknown";
|
|
4104
4897
|
memory: "memory";
|
|
@@ -4136,6 +4929,7 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4136
4929
|
}, z.core.$strip>>;
|
|
4137
4930
|
}, z.core.$strip>>;
|
|
4138
4931
|
}, z.core.$strip>>;
|
|
4932
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4139
4933
|
}, z.core.$loose>>>;
|
|
4140
4934
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
4141
4935
|
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4196,8 +4990,8 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4196
4990
|
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4197
4991
|
key: z.ZodString;
|
|
4198
4992
|
level: z.ZodEnum<{
|
|
4199
|
-
success: "success";
|
|
4200
4993
|
error: "error";
|
|
4994
|
+
success: "success";
|
|
4201
4995
|
info: "info";
|
|
4202
4996
|
warn: "warn";
|
|
4203
4997
|
}>;
|
|
@@ -4326,6 +5120,7 @@ export declare const ClarifyStepSchema: z.ZodObject<{
|
|
|
4326
5120
|
question: z.ZodString;
|
|
4327
5121
|
choices: z.ZodArray<z.ZodString>;
|
|
4328
5122
|
multi_select: z.ZodBoolean;
|
|
5123
|
+
answered: z.ZodOptional<z.ZodBoolean>;
|
|
4329
5124
|
}, z.core.$loose>;
|
|
4330
5125
|
export type ClarifyStep = z.infer<typeof ClarifyStepSchema>;
|
|
4331
5126
|
/** Keyed step answers; a multi-select step takes a list. The server shapes them into the Agent's reply. */
|
|
@@ -4386,6 +5181,7 @@ export declare const ClarifyPendingSchema: z.ZodObject<{
|
|
|
4386
5181
|
question: z.ZodString;
|
|
4387
5182
|
choices: z.ZodArray<z.ZodString>;
|
|
4388
5183
|
multi_select: z.ZodBoolean;
|
|
5184
|
+
answered: z.ZodOptional<z.ZodBoolean>;
|
|
4389
5185
|
}, z.core.$loose>>>;
|
|
4390
5186
|
vault: z.ZodOptional<z.ZodObject<{
|
|
4391
5187
|
kind: z.ZodEnum<{
|
|
@@ -4447,6 +5243,7 @@ export declare const ClarifyPendingEnvelopeSchema: z.ZodObject<{
|
|
|
4447
5243
|
question: z.ZodString;
|
|
4448
5244
|
choices: z.ZodArray<z.ZodString>;
|
|
4449
5245
|
multi_select: z.ZodBoolean;
|
|
5246
|
+
answered: z.ZodOptional<z.ZodBoolean>;
|
|
4450
5247
|
}, z.core.$loose>>>;
|
|
4451
5248
|
vault: z.ZodOptional<z.ZodObject<{
|
|
4452
5249
|
kind: z.ZodEnum<{
|
|
@@ -4611,6 +5408,7 @@ export declare const BackgroundTaskSchema: z.ZodObject<{
|
|
|
4611
5408
|
}, z.core.$strip>>;
|
|
4612
5409
|
pinned: z.ZodBoolean;
|
|
4613
5410
|
dismissible: z.ZodBoolean;
|
|
5411
|
+
can_stop: z.ZodOptional<z.ZodBoolean>;
|
|
4614
5412
|
active: z.ZodBoolean;
|
|
4615
5413
|
}, z.core.$strip>;
|
|
4616
5414
|
export type BackgroundTask = z.infer<typeof BackgroundTaskSchema>;
|
|
@@ -4620,6 +5418,16 @@ export type BackgroundTask = z.infer<typeof BackgroundTaskSchema>;
|
|
|
4620
5418
|
* the chat's side panel opens on Agents for it. Absent from servers before TAL-373.
|
|
4621
5419
|
*/
|
|
4622
5420
|
export declare const BackgroundTasksResponseSchema: z.ZodObject<{
|
|
5421
|
+
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
5422
|
+
running: "running";
|
|
5423
|
+
cancelled: "cancelled";
|
|
5424
|
+
stale: "stale";
|
|
5425
|
+
failed: "failed";
|
|
5426
|
+
completed: "completed";
|
|
5427
|
+
starting: "starting";
|
|
5428
|
+
waiting_for_approval: "waiting_for_approval";
|
|
5429
|
+
waiting_for_input: "waiting_for_input";
|
|
5430
|
+
}>>;
|
|
4623
5431
|
session_id: z.ZodString;
|
|
4624
5432
|
tasks: z.ZodArray<z.ZodObject<{
|
|
4625
5433
|
task_id: z.ZodString;
|
|
@@ -4654,6 +5462,7 @@ export declare const BackgroundTasksResponseSchema: z.ZodObject<{
|
|
|
4654
5462
|
}, z.core.$strip>>;
|
|
4655
5463
|
pinned: z.ZodBoolean;
|
|
4656
5464
|
dismissible: z.ZodBoolean;
|
|
5465
|
+
can_stop: z.ZodOptional<z.ZodBoolean>;
|
|
4657
5466
|
active: z.ZodBoolean;
|
|
4658
5467
|
}, z.core.$strip>>;
|
|
4659
5468
|
agent_available: z.ZodBoolean;
|
|
@@ -4667,6 +5476,13 @@ export declare const BackgroundDismissRequestSchema: z.ZodObject<{
|
|
|
4667
5476
|
session_id: z.ZodString;
|
|
4668
5477
|
task_id: z.ZodString;
|
|
4669
5478
|
}, z.core.$strip>;
|
|
5479
|
+
export declare const BackgroundStopResponseSchema: z.ZodObject<{
|
|
5480
|
+
outcome: z.ZodEnum<{
|
|
5481
|
+
stopped: "stopped";
|
|
5482
|
+
not_running: "not_running";
|
|
5483
|
+
not_found: "not_found";
|
|
5484
|
+
}>;
|
|
5485
|
+
}, z.core.$strip>;
|
|
4670
5486
|
export declare const BackgroundDismissResponseSchema: z.ZodObject<{
|
|
4671
5487
|
ok: z.ZodLiteral<true>;
|
|
4672
5488
|
task: z.ZodObject<{
|
|
@@ -4702,6 +5518,7 @@ export declare const BackgroundDismissResponseSchema: z.ZodObject<{
|
|
|
4702
5518
|
}, z.core.$strip>>;
|
|
4703
5519
|
pinned: z.ZodBoolean;
|
|
4704
5520
|
dismissible: z.ZodBoolean;
|
|
5521
|
+
can_stop: z.ZodOptional<z.ZodBoolean>;
|
|
4705
5522
|
active: z.ZodBoolean;
|
|
4706
5523
|
}, z.core.$strip>;
|
|
4707
5524
|
}, z.core.$strip>;
|
|
@@ -4753,18 +5570,31 @@ export declare const ShareCreateResponseSchema: z.ZodObject<{
|
|
|
4753
5570
|
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4754
5571
|
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
4755
5572
|
state: z.ZodEnum<{
|
|
5573
|
+
unavailable: "unavailable";
|
|
5574
|
+
refused: "refused";
|
|
4756
5575
|
attached: "attached";
|
|
4757
5576
|
stopped: "stopped";
|
|
4758
|
-
unavailable: "unavailable";
|
|
4759
5577
|
incompatible: "incompatible";
|
|
4760
|
-
refused: "refused";
|
|
4761
5578
|
}>;
|
|
4762
5579
|
reason: z.ZodNullable<z.ZodString>;
|
|
4763
5580
|
can_submit: z.ZodBoolean;
|
|
4764
5581
|
can_interrupt: z.ZodBoolean;
|
|
4765
5582
|
can_attach: z.ZodBoolean;
|
|
5583
|
+
restarting: z.ZodBoolean;
|
|
4766
5584
|
revision: z.ZodNullable<z.ZodNumber>;
|
|
4767
5585
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
5586
|
+
model_change: z.ZodOptional<z.ZodObject<{
|
|
5587
|
+
state: z.ZodEnum<{
|
|
5588
|
+
applied: "applied";
|
|
5589
|
+
deferred: "deferred";
|
|
5590
|
+
confirmation_required: "confirmation_required";
|
|
5591
|
+
refused: "refused";
|
|
5592
|
+
}>;
|
|
5593
|
+
message: z.ZodOptional<z.ZodString>;
|
|
5594
|
+
confirm: z.ZodOptional<z.ZodString>;
|
|
5595
|
+
model: z.ZodOptional<z.ZodString>;
|
|
5596
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5597
|
+
}, z.core.$strip>>;
|
|
4768
5598
|
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4769
5599
|
admission_id: z.ZodString;
|
|
4770
5600
|
sequence: z.ZodNumber;
|
|
@@ -4777,6 +5607,8 @@ export declare const ShareCreateResponseSchema: z.ZodObject<{
|
|
|
4777
5607
|
outcome: z.ZodNullable<z.ZodString>;
|
|
4778
5608
|
authority_epoch: z.ZodNumber;
|
|
4779
5609
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
5610
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5611
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
4780
5612
|
text: z.ZodOptional<z.ZodString>;
|
|
4781
5613
|
input_id: z.ZodOptional<z.ZodString>;
|
|
4782
5614
|
}, z.core.$strip>>>;
|
|
@@ -4792,12 +5624,16 @@ export declare const ShareCreateResponseSchema: z.ZodObject<{
|
|
|
4792
5624
|
outcome: z.ZodNullable<z.ZodString>;
|
|
4793
5625
|
authority_epoch: z.ZodNumber;
|
|
4794
5626
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
5627
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5628
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
4795
5629
|
text: z.ZodOptional<z.ZodString>;
|
|
4796
5630
|
input_id: z.ZodOptional<z.ZodString>;
|
|
4797
5631
|
actions: z.ZodArray<z.ZodEnum<{
|
|
4798
5632
|
cancel: "cancel";
|
|
4799
5633
|
discard: "discard";
|
|
4800
5634
|
retry: "retry";
|
|
5635
|
+
steer: "steer";
|
|
5636
|
+
edit: "edit";
|
|
4801
5637
|
}>>;
|
|
4802
5638
|
}, z.core.$strip>>;
|
|
4803
5639
|
}, z.core.$strip>>;
|
|
@@ -4820,8 +5656,8 @@ export declare const ShareCreateResponseSchema: z.ZodObject<{
|
|
|
4820
5656
|
share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4821
5657
|
worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4822
5658
|
match_type: z.ZodOptional<z.ZodEnum<{
|
|
4823
|
-
title: "title";
|
|
4824
5659
|
content: "content";
|
|
5660
|
+
title: "title";
|
|
4825
5661
|
metadata: "metadata";
|
|
4826
5662
|
}>>;
|
|
4827
5663
|
match_preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4856,6 +5692,146 @@ export declare const ShareReadSchema: z.ZodObject<{
|
|
|
4856
5692
|
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4857
5693
|
}, z.core.$loose>;
|
|
4858
5694
|
}, z.core.$loose>;
|
|
5695
|
+
export declare const SourceReferenceSearchSchema: z.ZodObject<{
|
|
5696
|
+
sessions: z.ZodArray<z.ZodObject<{
|
|
5697
|
+
context_used_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5698
|
+
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5699
|
+
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5700
|
+
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5701
|
+
session_id: z.ZodString;
|
|
5702
|
+
title: z.ZodString;
|
|
5703
|
+
workspace: z.ZodOptional<z.ZodString>;
|
|
5704
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5705
|
+
created_at: z.ZodOptional<z.ZodNumber>;
|
|
5706
|
+
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
5707
|
+
last_message_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5708
|
+
message_count: z.ZodOptional<z.ZodNumber>;
|
|
5709
|
+
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
5710
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
5711
|
+
project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5712
|
+
profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5713
|
+
is_streaming: z.ZodBoolean;
|
|
5714
|
+
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
5715
|
+
source_kind: z.ZodEnum<{
|
|
5716
|
+
other: "other";
|
|
5717
|
+
webhook: "webhook";
|
|
5718
|
+
cron: "cron";
|
|
5719
|
+
webui: "webui";
|
|
5720
|
+
cli: "cli";
|
|
5721
|
+
messaging: "messaging";
|
|
5722
|
+
subagent: "subagent";
|
|
5723
|
+
claude_code: "claude_code";
|
|
5724
|
+
kanban: "kanban";
|
|
5725
|
+
api: "api";
|
|
5726
|
+
}>;
|
|
5727
|
+
is_messaging_session: z.ZodBoolean;
|
|
5728
|
+
sort_ts: z.ZodNumber;
|
|
5729
|
+
cron_running: z.ZodOptional<z.ZodBoolean>;
|
|
5730
|
+
read_only: z.ZodBoolean;
|
|
5731
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5732
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
5733
|
+
state: z.ZodEnum<{
|
|
5734
|
+
unavailable: "unavailable";
|
|
5735
|
+
refused: "refused";
|
|
5736
|
+
attached: "attached";
|
|
5737
|
+
stopped: "stopped";
|
|
5738
|
+
incompatible: "incompatible";
|
|
5739
|
+
}>;
|
|
5740
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
5741
|
+
can_submit: z.ZodBoolean;
|
|
5742
|
+
can_interrupt: z.ZodBoolean;
|
|
5743
|
+
can_attach: z.ZodBoolean;
|
|
5744
|
+
restarting: z.ZodBoolean;
|
|
5745
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
5746
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
5747
|
+
model_change: z.ZodOptional<z.ZodObject<{
|
|
5748
|
+
state: z.ZodEnum<{
|
|
5749
|
+
applied: "applied";
|
|
5750
|
+
deferred: "deferred";
|
|
5751
|
+
confirmation_required: "confirmation_required";
|
|
5752
|
+
refused: "refused";
|
|
5753
|
+
}>;
|
|
5754
|
+
message: z.ZodOptional<z.ZodString>;
|
|
5755
|
+
confirm: z.ZodOptional<z.ZodString>;
|
|
5756
|
+
model: z.ZodOptional<z.ZodString>;
|
|
5757
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5758
|
+
}, z.core.$strip>>;
|
|
5759
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5760
|
+
admission_id: z.ZodString;
|
|
5761
|
+
sequence: z.ZodNumber;
|
|
5762
|
+
status: z.ZodEnum<{
|
|
5763
|
+
unknown: "unknown";
|
|
5764
|
+
queued: "queued";
|
|
5765
|
+
started: "started";
|
|
5766
|
+
terminal: "terminal";
|
|
5767
|
+
}>;
|
|
5768
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
5769
|
+
authority_epoch: z.ZodNumber;
|
|
5770
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
5771
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5772
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
5773
|
+
text: z.ZodOptional<z.ZodString>;
|
|
5774
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
5775
|
+
}, z.core.$strip>>>;
|
|
5776
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
5777
|
+
admission_id: z.ZodString;
|
|
5778
|
+
sequence: z.ZodNumber;
|
|
5779
|
+
status: z.ZodEnum<{
|
|
5780
|
+
unknown: "unknown";
|
|
5781
|
+
queued: "queued";
|
|
5782
|
+
started: "started";
|
|
5783
|
+
terminal: "terminal";
|
|
5784
|
+
}>;
|
|
5785
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
5786
|
+
authority_epoch: z.ZodNumber;
|
|
5787
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
5788
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5789
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
5790
|
+
text: z.ZodOptional<z.ZodString>;
|
|
5791
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
5792
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
5793
|
+
cancel: "cancel";
|
|
5794
|
+
discard: "discard";
|
|
5795
|
+
retry: "retry";
|
|
5796
|
+
steer: "steer";
|
|
5797
|
+
edit: "edit";
|
|
5798
|
+
}>>;
|
|
5799
|
+
}, z.core.$strip>>;
|
|
5800
|
+
}, z.core.$strip>>;
|
|
5801
|
+
can_branch: z.ZodBoolean;
|
|
5802
|
+
can_pin: z.ZodBoolean;
|
|
5803
|
+
can_archive: z.ZodBoolean;
|
|
5804
|
+
can_delete: z.ZodBoolean;
|
|
5805
|
+
can_duplicate: z.ZodBoolean;
|
|
5806
|
+
attention: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5807
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
5808
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
5809
|
+
}, z.core.$loose>>>;
|
|
5810
|
+
source_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5811
|
+
source_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5812
|
+
session_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5813
|
+
raw_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5814
|
+
parent_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5815
|
+
active_stream_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5816
|
+
share_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5817
|
+
share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5818
|
+
worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5819
|
+
match_type: z.ZodOptional<z.ZodEnum<{
|
|
5820
|
+
content: "content";
|
|
5821
|
+
title: "title";
|
|
5822
|
+
metadata: "metadata";
|
|
5823
|
+
}>>;
|
|
5824
|
+
match_preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5825
|
+
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5826
|
+
source_reference: z.ZodObject<{
|
|
5827
|
+
session_id: z.ZodString;
|
|
5828
|
+
tip_session_id: z.ZodString;
|
|
5829
|
+
profile: z.ZodString;
|
|
5830
|
+
}, z.core.$strip>;
|
|
5831
|
+
}, z.core.$loose>>;
|
|
5832
|
+
active_profile: z.ZodString;
|
|
5833
|
+
max_sources: z.ZodNumber;
|
|
5834
|
+
}, z.core.$strip>;
|
|
4859
5835
|
export declare const SessionNewRequestSchema: z.ZodObject<{
|
|
4860
5836
|
title: z.ZodOptional<z.ZodString>;
|
|
4861
5837
|
workspace: z.ZodOptional<z.ZodString>;
|
|
@@ -4868,6 +5844,17 @@ export declare const SessionNewRequestSchema: z.ZodObject<{
|
|
|
4868
5844
|
worktree: z.ZodOptional<z.ZodUnknown>;
|
|
4869
5845
|
enabled_toolsets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
4870
5846
|
parent_session_id: z.ZodOptional<z.ZodString>;
|
|
5847
|
+
execution_mode: z.ZodOptional<z.ZodEnum<{
|
|
5848
|
+
normal: "normal";
|
|
5849
|
+
ignore_config: "ignore_config";
|
|
5850
|
+
safe: "safe";
|
|
5851
|
+
}>>;
|
|
5852
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
5853
|
+
source_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5854
|
+
session_id: z.ZodString;
|
|
5855
|
+
tip_session_id: z.ZodString;
|
|
5856
|
+
profile: z.ZodString;
|
|
5857
|
+
}, z.core.$strip>>>;
|
|
4871
5858
|
}, z.core.$loose>;
|
|
4872
5859
|
/**
|
|
4873
5860
|
* `streaming` (TAL-802): live dictation over `TRANSCRIBE_STREAM_PATH` would open for this profile (`stt.streaming` on, a live provider wire).
|
|
@@ -5078,6 +6065,7 @@ export declare const ReasoningStatusSchema: z.ZodObject<{
|
|
|
5078
6065
|
supported_efforts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5079
6066
|
supports_reasoning_effort: z.ZodOptional<z.ZodBoolean>;
|
|
5080
6067
|
supports_thinking_toggle: z.ZodOptional<z.ZodBoolean>;
|
|
6068
|
+
supports_session_scope: z.ZodOptional<z.ZodBoolean>;
|
|
5081
6069
|
}, z.core.$loose>;
|
|
5082
6070
|
export type ReasoningStatus = z.infer<typeof ReasoningStatusSchema>;
|
|
5083
6071
|
export declare const QuotaLevelSchema: z.ZodEnum<{
|
|
@@ -5132,9 +6120,9 @@ export declare const ModelGroupLimitSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
5132
6120
|
*/
|
|
5133
6121
|
export declare const CatalogAvailabilitySchema: z.ZodObject<{
|
|
5134
6122
|
status: z.ZodEnum<{
|
|
6123
|
+
available: "available";
|
|
5135
6124
|
unavailable: "unavailable";
|
|
5136
6125
|
stale: "stale";
|
|
5137
|
-
available: "available";
|
|
5138
6126
|
}>;
|
|
5139
6127
|
authoritative: z.ZodBoolean;
|
|
5140
6128
|
unavailable_reason: z.ZodNullable<z.ZodString>;
|
|
@@ -5144,9 +6132,9 @@ export type CatalogAvailability = z.infer<typeof CatalogAvailabilitySchema>;
|
|
|
5144
6132
|
export declare const ModelGroupSchema: z.ZodObject<{
|
|
5145
6133
|
availability: z.ZodOptional<z.ZodObject<{
|
|
5146
6134
|
status: z.ZodEnum<{
|
|
6135
|
+
available: "available";
|
|
5147
6136
|
unavailable: "unavailable";
|
|
5148
6137
|
stale: "stale";
|
|
5149
|
-
available: "available";
|
|
5150
6138
|
}>;
|
|
5151
6139
|
authoritative: z.ZodBoolean;
|
|
5152
6140
|
unavailable_reason: z.ZodNullable<z.ZodString>;
|
|
@@ -5222,9 +6210,9 @@ export declare const ModelGroupSchema: z.ZodObject<{
|
|
|
5222
6210
|
export declare const ModelsSchema: z.ZodObject<{
|
|
5223
6211
|
availability: z.ZodOptional<z.ZodObject<{
|
|
5224
6212
|
status: z.ZodEnum<{
|
|
6213
|
+
available: "available";
|
|
5225
6214
|
unavailable: "unavailable";
|
|
5226
6215
|
stale: "stale";
|
|
5227
|
-
available: "available";
|
|
5228
6216
|
}>;
|
|
5229
6217
|
authoritative: z.ZodBoolean;
|
|
5230
6218
|
unavailable_reason: z.ZodNullable<z.ZodString>;
|
|
@@ -5238,9 +6226,9 @@ export declare const ModelsSchema: z.ZodObject<{
|
|
|
5238
6226
|
groups: z.ZodArray<z.ZodObject<{
|
|
5239
6227
|
availability: z.ZodOptional<z.ZodObject<{
|
|
5240
6228
|
status: z.ZodEnum<{
|
|
6229
|
+
available: "available";
|
|
5241
6230
|
unavailable: "unavailable";
|
|
5242
6231
|
stale: "stale";
|
|
5243
|
-
available: "available";
|
|
5244
6232
|
}>;
|
|
5245
6233
|
authoritative: z.ZodBoolean;
|
|
5246
6234
|
unavailable_reason: z.ZodNullable<z.ZodString>;
|
|
@@ -5319,9 +6307,9 @@ export declare const ModelsSchema: z.ZodObject<{
|
|
|
5319
6307
|
export declare const ModelsLiveSchema: z.ZodObject<{
|
|
5320
6308
|
availability: z.ZodOptional<z.ZodObject<{
|
|
5321
6309
|
status: z.ZodEnum<{
|
|
6310
|
+
available: "available";
|
|
5322
6311
|
unavailable: "unavailable";
|
|
5323
6312
|
stale: "stale";
|
|
5324
|
-
available: "available";
|
|
5325
6313
|
}>;
|
|
5326
6314
|
authoritative: z.ZodBoolean;
|
|
5327
6315
|
unavailable_reason: z.ZodNullable<z.ZodString>;
|
|
@@ -5428,9 +6416,9 @@ export declare const ProviderSchema: z.ZodObject<{
|
|
|
5428
6416
|
export declare const ProvidersSchema: z.ZodObject<{
|
|
5429
6417
|
availability: z.ZodOptional<z.ZodObject<{
|
|
5430
6418
|
status: z.ZodEnum<{
|
|
6419
|
+
available: "available";
|
|
5431
6420
|
unavailable: "unavailable";
|
|
5432
6421
|
stale: "stale";
|
|
5433
|
-
available: "available";
|
|
5434
6422
|
}>;
|
|
5435
6423
|
authoritative: z.ZodBoolean;
|
|
5436
6424
|
unavailable_reason: z.ZodNullable<z.ZodString>;
|
|
@@ -5523,8 +6511,8 @@ export declare const QuotaPaceSchema: z.ZodObject<{
|
|
|
5523
6511
|
}, z.core.$loose>;
|
|
5524
6512
|
export declare const QuotaForecastSchema: z.ZodObject<{
|
|
5525
6513
|
outcome: z.ZodEnum<{
|
|
5526
|
-
warning: "warning";
|
|
5527
6514
|
safe: "safe";
|
|
6515
|
+
warning: "warning";
|
|
5528
6516
|
}>;
|
|
5529
6517
|
budget_unit: z.ZodEnum<{
|
|
5530
6518
|
hour: "hour";
|
|
@@ -5556,8 +6544,8 @@ export declare const QuotaWindowSchema: z.ZodObject<{
|
|
|
5556
6544
|
}, z.core.$loose>>;
|
|
5557
6545
|
forecast: z.ZodNullable<z.ZodObject<{
|
|
5558
6546
|
outcome: z.ZodEnum<{
|
|
5559
|
-
warning: "warning";
|
|
5560
6547
|
safe: "safe";
|
|
6548
|
+
warning: "warning";
|
|
5561
6549
|
}>;
|
|
5562
6550
|
budget_unit: z.ZodEnum<{
|
|
5563
6551
|
hour: "hour";
|
|
@@ -5618,8 +6606,8 @@ export declare const QuotaSourceSchema: z.ZodObject<{
|
|
|
5618
6606
|
}, z.core.$loose>>;
|
|
5619
6607
|
forecast: z.ZodNullable<z.ZodObject<{
|
|
5620
6608
|
outcome: z.ZodEnum<{
|
|
5621
|
-
warning: "warning";
|
|
5622
6609
|
safe: "safe";
|
|
6610
|
+
warning: "warning";
|
|
5623
6611
|
}>;
|
|
5624
6612
|
budget_unit: z.ZodEnum<{
|
|
5625
6613
|
hour: "hour";
|
|
@@ -5702,8 +6690,8 @@ export declare const QuotaAccountLimitsSchema: z.ZodObject<{
|
|
|
5702
6690
|
}, z.core.$loose>>;
|
|
5703
6691
|
forecast: z.ZodNullable<z.ZodObject<{
|
|
5704
6692
|
outcome: z.ZodEnum<{
|
|
5705
|
-
warning: "warning";
|
|
5706
6693
|
safe: "safe";
|
|
6694
|
+
warning: "warning";
|
|
5707
6695
|
}>;
|
|
5708
6696
|
budget_unit: z.ZodEnum<{
|
|
5709
6697
|
hour: "hour";
|
|
@@ -5776,8 +6764,8 @@ export declare const ProviderQuotaSchema: z.ZodObject<{
|
|
|
5776
6764
|
}, z.core.$loose>>;
|
|
5777
6765
|
forecast: z.ZodNullable<z.ZodObject<{
|
|
5778
6766
|
outcome: z.ZodEnum<{
|
|
5779
|
-
warning: "warning";
|
|
5780
6767
|
safe: "safe";
|
|
6768
|
+
warning: "warning";
|
|
5781
6769
|
}>;
|
|
5782
6770
|
budget_unit: z.ZodEnum<{
|
|
5783
6771
|
hour: "hour";
|
|
@@ -5815,9 +6803,9 @@ export declare const ProviderQuotaSchema: z.ZodObject<{
|
|
|
5815
6803
|
export declare const ProviderQuotasSchema: z.ZodObject<{
|
|
5816
6804
|
availability: z.ZodOptional<z.ZodObject<{
|
|
5817
6805
|
status: z.ZodEnum<{
|
|
6806
|
+
available: "available";
|
|
5818
6807
|
unavailable: "unavailable";
|
|
5819
6808
|
stale: "stale";
|
|
5820
|
-
available: "available";
|
|
5821
6809
|
}>;
|
|
5822
6810
|
authoritative: z.ZodBoolean;
|
|
5823
6811
|
unavailable_reason: z.ZodNullable<z.ZodString>;
|
|
@@ -5864,8 +6852,8 @@ export declare const ProviderQuotasSchema: z.ZodObject<{
|
|
|
5864
6852
|
}, z.core.$loose>>;
|
|
5865
6853
|
forecast: z.ZodNullable<z.ZodObject<{
|
|
5866
6854
|
outcome: z.ZodEnum<{
|
|
5867
|
-
warning: "warning";
|
|
5868
6855
|
safe: "safe";
|
|
6856
|
+
warning: "warning";
|
|
5869
6857
|
}>;
|
|
5870
6858
|
budget_unit: z.ZodEnum<{
|
|
5871
6859
|
hour: "hour";
|
|
@@ -6041,6 +7029,7 @@ export declare const WorkspacesSchema: z.ZodObject<{
|
|
|
6041
7029
|
}, z.core.$loose>;
|
|
6042
7030
|
export type Workspaces = z.infer<typeof WorkspacesSchema>;
|
|
6043
7031
|
export declare const FileEntrySchema: z.ZodObject<{
|
|
7032
|
+
read_only: z.ZodOptional<z.ZodBoolean>;
|
|
6044
7033
|
name: z.ZodString;
|
|
6045
7034
|
path: z.ZodOptional<z.ZodString>;
|
|
6046
7035
|
is_dir: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6054,9 +7043,15 @@ export declare const FileEntrySchema: z.ZodObject<{
|
|
|
6054
7043
|
target: z.ZodOptional<z.ZodString>;
|
|
6055
7044
|
target_outside_workspace: z.ZodOptional<z.ZodBoolean>;
|
|
6056
7045
|
}, z.core.$loose>;
|
|
7046
|
+
export declare const FileSourceSchema: z.ZodEnum<{
|
|
7047
|
+
workspace: "workspace";
|
|
7048
|
+
managed: "managed";
|
|
7049
|
+
}>;
|
|
6057
7050
|
export declare const DirListingSchema: z.ZodObject<{
|
|
7051
|
+
unavailable: z.ZodOptional<z.ZodBoolean>;
|
|
6058
7052
|
path: z.ZodOptional<z.ZodString>;
|
|
6059
7053
|
entries: z.ZodArray<z.ZodObject<{
|
|
7054
|
+
read_only: z.ZodOptional<z.ZodBoolean>;
|
|
6060
7055
|
name: z.ZodString;
|
|
6061
7056
|
path: z.ZodOptional<z.ZodString>;
|
|
6062
7057
|
is_dir: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6074,23 +7069,30 @@ export declare const DirListingSchema: z.ZodObject<{
|
|
|
6074
7069
|
workspace: z.ZodOptional<z.ZodString>;
|
|
6075
7070
|
workspace_recovered: z.ZodOptional<z.ZodBoolean>;
|
|
6076
7071
|
is_git: z.ZodOptional<z.ZodBoolean>;
|
|
7072
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
7073
|
+
workspace: "workspace";
|
|
7074
|
+
managed: "managed";
|
|
7075
|
+
}>>;
|
|
7076
|
+
read_only: z.ZodOptional<z.ZodBoolean>;
|
|
7077
|
+
write_semantics: z.ZodOptional<z.ZodLiteral<"unconditional">>;
|
|
6077
7078
|
}, z.core.$loose>;
|
|
6078
7079
|
/** How a workspace file renders (TAL-566): media streams from `/api/file/raw`; text kinds carry `content`. */
|
|
6079
7080
|
export declare const FilePreviewKindSchema: z.ZodEnum<{
|
|
7081
|
+
markdown: "markdown";
|
|
7082
|
+
html: "html";
|
|
6080
7083
|
text: "text";
|
|
6081
7084
|
image: "image";
|
|
6082
7085
|
audio: "audio";
|
|
6083
7086
|
video: "video";
|
|
6084
7087
|
pdf: "pdf";
|
|
6085
|
-
markdown: "markdown";
|
|
6086
7088
|
csv: "csv";
|
|
6087
|
-
html: "html";
|
|
6088
7089
|
binary: "binary";
|
|
6089
7090
|
}>;
|
|
6090
7091
|
export type FilePreviewKind = z.infer<typeof FilePreviewKindSchema>;
|
|
6091
7092
|
/** `table` is a `csv` preview's leading rows (header first); `table_truncated` says the file has more. `preview_url` is an
|
|
6092
7093
|
* `html` preview's app-relative frame URL, under which the page's relative assets also resolve. */
|
|
6093
7094
|
export declare const FileContentSchema: z.ZodObject<{
|
|
7095
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6094
7096
|
path: z.ZodOptional<z.ZodString>;
|
|
6095
7097
|
content: z.ZodOptional<z.ZodString>;
|
|
6096
7098
|
lines: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6099,19 +7101,25 @@ export declare const FileContentSchema: z.ZodObject<{
|
|
|
6099
7101
|
binary: z.ZodOptional<z.ZodBoolean>;
|
|
6100
7102
|
mime: z.ZodOptional<z.ZodString>;
|
|
6101
7103
|
preview: z.ZodOptional<z.ZodEnum<{
|
|
7104
|
+
markdown: "markdown";
|
|
7105
|
+
html: "html";
|
|
6102
7106
|
text: "text";
|
|
6103
7107
|
image: "image";
|
|
6104
7108
|
audio: "audio";
|
|
6105
7109
|
video: "video";
|
|
6106
7110
|
pdf: "pdf";
|
|
6107
|
-
markdown: "markdown";
|
|
6108
7111
|
csv: "csv";
|
|
6109
|
-
html: "html";
|
|
6110
7112
|
binary: "binary";
|
|
6111
7113
|
}>>;
|
|
6112
7114
|
table: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
6113
7115
|
table_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
6114
7116
|
preview_url: z.ZodOptional<z.ZodString>;
|
|
7117
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
7118
|
+
workspace: "workspace";
|
|
7119
|
+
managed: "managed";
|
|
7120
|
+
}>>;
|
|
7121
|
+
read_only: z.ZodOptional<z.ZodBoolean>;
|
|
7122
|
+
write_semantics: z.ZodOptional<z.ZodLiteral<"unconditional">>;
|
|
6115
7123
|
}, z.core.$loose>;
|
|
6116
7124
|
export declare const GitInfoSchema: z.ZodObject<{
|
|
6117
7125
|
git: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -6132,9 +7140,9 @@ export declare const SkillSchema: z.ZodObject<{
|
|
|
6132
7140
|
load_name: z.ZodOptional<z.ZodString>;
|
|
6133
7141
|
declared_name: z.ZodOptional<z.ZodString>;
|
|
6134
7142
|
status: z.ZodOptional<z.ZodEnum<{
|
|
7143
|
+
shadowed: "shadowed";
|
|
6135
7144
|
unique: "unique";
|
|
6136
7145
|
ambiguous: "ambiguous";
|
|
6137
|
-
shadowed: "shadowed";
|
|
6138
7146
|
}>>;
|
|
6139
7147
|
tier: z.ZodOptional<z.ZodNumber>;
|
|
6140
7148
|
}, z.core.$loose>;
|
|
@@ -6147,9 +7155,9 @@ export declare const SkillsSchema: z.ZodObject<{
|
|
|
6147
7155
|
load_name: z.ZodOptional<z.ZodString>;
|
|
6148
7156
|
declared_name: z.ZodOptional<z.ZodString>;
|
|
6149
7157
|
status: z.ZodOptional<z.ZodEnum<{
|
|
7158
|
+
shadowed: "shadowed";
|
|
6150
7159
|
unique: "unique";
|
|
6151
7160
|
ambiguous: "ambiguous";
|
|
6152
|
-
shadowed: "shadowed";
|
|
6153
7161
|
}>>;
|
|
6154
7162
|
tier: z.ZodOptional<z.ZodNumber>;
|
|
6155
7163
|
}, z.core.$loose>>;
|
|
@@ -6427,6 +7435,7 @@ export declare const ProjectOsDashboardSchema: z.ZodObject<{
|
|
|
6427
7435
|
}, z.core.$loose>>;
|
|
6428
7436
|
docs: z.ZodObject<{
|
|
6429
7437
|
project: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7438
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6430
7439
|
path: z.ZodOptional<z.ZodString>;
|
|
6431
7440
|
content: z.ZodOptional<z.ZodString>;
|
|
6432
7441
|
lines: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6435,21 +7444,28 @@ export declare const ProjectOsDashboardSchema: z.ZodObject<{
|
|
|
6435
7444
|
binary: z.ZodOptional<z.ZodBoolean>;
|
|
6436
7445
|
mime: z.ZodOptional<z.ZodString>;
|
|
6437
7446
|
preview: z.ZodOptional<z.ZodEnum<{
|
|
7447
|
+
markdown: "markdown";
|
|
7448
|
+
html: "html";
|
|
6438
7449
|
text: "text";
|
|
6439
7450
|
image: "image";
|
|
6440
7451
|
audio: "audio";
|
|
6441
7452
|
video: "video";
|
|
6442
7453
|
pdf: "pdf";
|
|
6443
|
-
markdown: "markdown";
|
|
6444
7454
|
csv: "csv";
|
|
6445
|
-
html: "html";
|
|
6446
7455
|
binary: "binary";
|
|
6447
7456
|
}>>;
|
|
6448
7457
|
table: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
6449
7458
|
table_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
6450
7459
|
preview_url: z.ZodOptional<z.ZodString>;
|
|
7460
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
7461
|
+
workspace: "workspace";
|
|
7462
|
+
managed: "managed";
|
|
7463
|
+
}>>;
|
|
7464
|
+
read_only: z.ZodOptional<z.ZodBoolean>;
|
|
7465
|
+
write_semantics: z.ZodOptional<z.ZodLiteral<"unconditional">>;
|
|
6451
7466
|
}, z.core.$loose>>>;
|
|
6452
7467
|
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7468
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6453
7469
|
path: z.ZodOptional<z.ZodString>;
|
|
6454
7470
|
content: z.ZodOptional<z.ZodString>;
|
|
6455
7471
|
lines: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6458,21 +7474,28 @@ export declare const ProjectOsDashboardSchema: z.ZodObject<{
|
|
|
6458
7474
|
binary: z.ZodOptional<z.ZodBoolean>;
|
|
6459
7475
|
mime: z.ZodOptional<z.ZodString>;
|
|
6460
7476
|
preview: z.ZodOptional<z.ZodEnum<{
|
|
7477
|
+
markdown: "markdown";
|
|
7478
|
+
html: "html";
|
|
6461
7479
|
text: "text";
|
|
6462
7480
|
image: "image";
|
|
6463
7481
|
audio: "audio";
|
|
6464
7482
|
video: "video";
|
|
6465
7483
|
pdf: "pdf";
|
|
6466
|
-
markdown: "markdown";
|
|
6467
7484
|
csv: "csv";
|
|
6468
|
-
html: "html";
|
|
6469
7485
|
binary: "binary";
|
|
6470
7486
|
}>>;
|
|
6471
7487
|
table: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
6472
7488
|
table_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
6473
7489
|
preview_url: z.ZodOptional<z.ZodString>;
|
|
7490
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
7491
|
+
workspace: "workspace";
|
|
7492
|
+
managed: "managed";
|
|
7493
|
+
}>>;
|
|
7494
|
+
read_only: z.ZodOptional<z.ZodBoolean>;
|
|
7495
|
+
write_semantics: z.ZodOptional<z.ZodLiteral<"unconditional">>;
|
|
6474
7496
|
}, z.core.$loose>>>;
|
|
6475
7497
|
status: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7498
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6476
7499
|
path: z.ZodOptional<z.ZodString>;
|
|
6477
7500
|
content: z.ZodOptional<z.ZodString>;
|
|
6478
7501
|
lines: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6481,21 +7504,28 @@ export declare const ProjectOsDashboardSchema: z.ZodObject<{
|
|
|
6481
7504
|
binary: z.ZodOptional<z.ZodBoolean>;
|
|
6482
7505
|
mime: z.ZodOptional<z.ZodString>;
|
|
6483
7506
|
preview: z.ZodOptional<z.ZodEnum<{
|
|
7507
|
+
markdown: "markdown";
|
|
7508
|
+
html: "html";
|
|
6484
7509
|
text: "text";
|
|
6485
7510
|
image: "image";
|
|
6486
7511
|
audio: "audio";
|
|
6487
7512
|
video: "video";
|
|
6488
7513
|
pdf: "pdf";
|
|
6489
|
-
markdown: "markdown";
|
|
6490
7514
|
csv: "csv";
|
|
6491
|
-
html: "html";
|
|
6492
7515
|
binary: "binary";
|
|
6493
7516
|
}>>;
|
|
6494
7517
|
table: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
6495
7518
|
table_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
6496
7519
|
preview_url: z.ZodOptional<z.ZodString>;
|
|
7520
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
7521
|
+
workspace: "workspace";
|
|
7522
|
+
managed: "managed";
|
|
7523
|
+
}>>;
|
|
7524
|
+
read_only: z.ZodOptional<z.ZodBoolean>;
|
|
7525
|
+
write_semantics: z.ZodOptional<z.ZodLiteral<"unconditional">>;
|
|
6497
7526
|
}, z.core.$loose>>>;
|
|
6498
7527
|
blocker_resolver: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7528
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6499
7529
|
path: z.ZodOptional<z.ZodString>;
|
|
6500
7530
|
content: z.ZodOptional<z.ZodString>;
|
|
6501
7531
|
lines: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6504,19 +7534,25 @@ export declare const ProjectOsDashboardSchema: z.ZodObject<{
|
|
|
6504
7534
|
binary: z.ZodOptional<z.ZodBoolean>;
|
|
6505
7535
|
mime: z.ZodOptional<z.ZodString>;
|
|
6506
7536
|
preview: z.ZodOptional<z.ZodEnum<{
|
|
7537
|
+
markdown: "markdown";
|
|
7538
|
+
html: "html";
|
|
6507
7539
|
text: "text";
|
|
6508
7540
|
image: "image";
|
|
6509
7541
|
audio: "audio";
|
|
6510
7542
|
video: "video";
|
|
6511
7543
|
pdf: "pdf";
|
|
6512
|
-
markdown: "markdown";
|
|
6513
7544
|
csv: "csv";
|
|
6514
|
-
html: "html";
|
|
6515
7545
|
binary: "binary";
|
|
6516
7546
|
}>>;
|
|
6517
7547
|
table: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
6518
7548
|
table_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
6519
7549
|
preview_url: z.ZodOptional<z.ZodString>;
|
|
7550
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
7551
|
+
workspace: "workspace";
|
|
7552
|
+
managed: "managed";
|
|
7553
|
+
}>>;
|
|
7554
|
+
read_only: z.ZodOptional<z.ZodBoolean>;
|
|
7555
|
+
write_semantics: z.ZodOptional<z.ZodLiteral<"unconditional">>;
|
|
6520
7556
|
}, z.core.$loose>>>;
|
|
6521
7557
|
}, z.core.$strip>;
|
|
6522
7558
|
handoff: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -6720,29 +7756,73 @@ export declare const UpdateTargetSchema: z.ZodObject<{
|
|
|
6720
7756
|
}, z.core.$loose>;
|
|
6721
7757
|
export declare const AgentRecoveryStateSchema: z.ZodObject<{
|
|
6722
7758
|
phase: z.ZodEnum<{
|
|
7759
|
+
blocked: "blocked";
|
|
6723
7760
|
running: "running";
|
|
6724
7761
|
waiting: "waiting";
|
|
6725
7762
|
idle: "idle";
|
|
6726
7763
|
complete: "complete";
|
|
6727
|
-
blocked: "blocked";
|
|
6728
7764
|
}>;
|
|
6729
7765
|
attempt: z.ZodNumber;
|
|
6730
7766
|
detail: z.ZodString;
|
|
6731
7767
|
retry_at: z.ZodNullable<z.ZodString>;
|
|
7768
|
+
operation_id: z.ZodOptional<z.ZodUUID>;
|
|
7769
|
+
operation: z.ZodOptional<z.ZodObject<{
|
|
7770
|
+
operation_id: z.ZodUUID;
|
|
7771
|
+
baseline_revision: z.ZodString;
|
|
7772
|
+
target_revision: z.ZodString;
|
|
7773
|
+
stage: z.ZodEnum<{
|
|
7774
|
+
install: "install";
|
|
7775
|
+
gateway_restart: "gateway_restart";
|
|
7776
|
+
agent_ready: "agent_ready";
|
|
7777
|
+
}>;
|
|
7778
|
+
recovered_revision: z.ZodOptional<z.ZodString>;
|
|
7779
|
+
source_moved: z.ZodOptional<z.ZodBoolean>;
|
|
7780
|
+
attempt_error: z.ZodOptional<z.ZodString>;
|
|
7781
|
+
failed_stage: z.ZodOptional<z.ZodEnum<{
|
|
7782
|
+
install: "install";
|
|
7783
|
+
gateway_restart: "gateway_restart";
|
|
7784
|
+
agent_ready: "agent_ready";
|
|
7785
|
+
}>>;
|
|
7786
|
+
}, z.core.$strip>>;
|
|
7787
|
+
verified_revision: z.ZodOptional<z.ZodString>;
|
|
7788
|
+
runtime_revision: z.ZodOptional<z.ZodString>;
|
|
7789
|
+
verified_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6732
7790
|
}, z.core.$strip>;
|
|
6733
7791
|
export type AgentRecoveryState = z.infer<typeof AgentRecoveryStateSchema>;
|
|
6734
7792
|
export declare const UpdatesCheckSchema: z.ZodObject<{
|
|
6735
7793
|
agent_recovery: z.ZodOptional<z.ZodObject<{
|
|
6736
7794
|
phase: z.ZodEnum<{
|
|
7795
|
+
blocked: "blocked";
|
|
6737
7796
|
running: "running";
|
|
6738
7797
|
waiting: "waiting";
|
|
6739
7798
|
idle: "idle";
|
|
6740
7799
|
complete: "complete";
|
|
6741
|
-
blocked: "blocked";
|
|
6742
7800
|
}>;
|
|
6743
7801
|
attempt: z.ZodNumber;
|
|
6744
7802
|
detail: z.ZodString;
|
|
6745
7803
|
retry_at: z.ZodNullable<z.ZodString>;
|
|
7804
|
+
operation_id: z.ZodOptional<z.ZodUUID>;
|
|
7805
|
+
operation: z.ZodOptional<z.ZodObject<{
|
|
7806
|
+
operation_id: z.ZodUUID;
|
|
7807
|
+
baseline_revision: z.ZodString;
|
|
7808
|
+
target_revision: z.ZodString;
|
|
7809
|
+
stage: z.ZodEnum<{
|
|
7810
|
+
install: "install";
|
|
7811
|
+
gateway_restart: "gateway_restart";
|
|
7812
|
+
agent_ready: "agent_ready";
|
|
7813
|
+
}>;
|
|
7814
|
+
recovered_revision: z.ZodOptional<z.ZodString>;
|
|
7815
|
+
source_moved: z.ZodOptional<z.ZodBoolean>;
|
|
7816
|
+
attempt_error: z.ZodOptional<z.ZodString>;
|
|
7817
|
+
failed_stage: z.ZodOptional<z.ZodEnum<{
|
|
7818
|
+
install: "install";
|
|
7819
|
+
gateway_restart: "gateway_restart";
|
|
7820
|
+
agent_ready: "agent_ready";
|
|
7821
|
+
}>>;
|
|
7822
|
+
}, z.core.$strip>>;
|
|
7823
|
+
verified_revision: z.ZodOptional<z.ZodString>;
|
|
7824
|
+
runtime_revision: z.ZodOptional<z.ZodString>;
|
|
7825
|
+
verified_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6746
7826
|
}, z.core.$strip>>;
|
|
6747
7827
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
6748
7828
|
cached: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6925,6 +8005,10 @@ export declare const UpdatesSummarySchema: z.ZodObject<{
|
|
|
6925
8005
|
}, z.core.$strip>;
|
|
6926
8006
|
export type UpdatesSummary = z.infer<typeof UpdatesSummarySchema>;
|
|
6927
8007
|
export declare const UpdateApplySchema: z.ZodObject<{
|
|
8008
|
+
recovery_only: z.ZodOptional<z.ZodBoolean>;
|
|
8009
|
+
recovery_pending: z.ZodOptional<z.ZodBoolean>;
|
|
8010
|
+
verified_revision: z.ZodOptional<z.ZodString>;
|
|
8011
|
+
verified_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6928
8012
|
recovery_compatibility: z.ZodOptional<z.ZodObject<{
|
|
6929
8013
|
manual_execution: z.ZodBoolean;
|
|
6930
8014
|
bot_chat_delivery: z.ZodBoolean;
|
|
@@ -6953,14 +8037,17 @@ export declare const UpdateApplySchema: z.ZodObject<{
|
|
|
6953
8037
|
stash_conflict: z.ZodOptional<z.ZodBoolean>;
|
|
6954
8038
|
gateway_restart: z.ZodOptional<z.ZodString>;
|
|
6955
8039
|
}, z.core.$loose>;
|
|
8040
|
+
/** `verifying` (TAL-1138): the gateway restarted, and the server is checking that the new gateway process and the Agent runtime answer. */
|
|
6956
8041
|
export declare const UpdateNotificationPhaseSchema: z.ZodEnum<{
|
|
6957
8042
|
unknown: "unknown";
|
|
6958
|
-
failed: "failed";
|
|
6959
8043
|
blocked: "blocked";
|
|
8044
|
+
restarting: "restarting";
|
|
8045
|
+
failed: "failed";
|
|
6960
8046
|
applying: "applying";
|
|
6961
8047
|
awaiting_confirmation: "awaiting_confirmation";
|
|
6962
8048
|
waiting_for_idle: "waiting_for_idle";
|
|
6963
|
-
|
|
8049
|
+
verifying: "verifying";
|
|
8050
|
+
recovering: "recovering";
|
|
6964
8051
|
succeeded: "succeeded";
|
|
6965
8052
|
}>;
|
|
6966
8053
|
export declare const UpdateNotificationActionSchema: z.ZodObject<{
|
|
@@ -6977,6 +8064,56 @@ export declare const UpdateNotificationDestinationSchema: z.ZodObject<{
|
|
|
6977
8064
|
key: z.ZodString;
|
|
6978
8065
|
label: z.ZodString;
|
|
6979
8066
|
}, z.core.$strip>;
|
|
8067
|
+
/** TAL-1138: one step of an update as its Updating dialog lists it; the server derives every label and state. */
|
|
8068
|
+
export declare const UpdateStepSchema: z.ZodObject<{
|
|
8069
|
+
id: z.ZodEnum<{
|
|
8070
|
+
install: "install";
|
|
8071
|
+
gateway_restart: "gateway_restart";
|
|
8072
|
+
agent_ready: "agent_ready";
|
|
8073
|
+
ready: "ready";
|
|
8074
|
+
web_restart: "web_restart";
|
|
8075
|
+
gateway_wait: "gateway_wait";
|
|
8076
|
+
recovery: "recovery";
|
|
8077
|
+
}>;
|
|
8078
|
+
label: z.ZodString;
|
|
8079
|
+
state: z.ZodEnum<{
|
|
8080
|
+
pending: "pending";
|
|
8081
|
+
active: "active";
|
|
8082
|
+
failed: "failed";
|
|
8083
|
+
done: "done";
|
|
8084
|
+
}>;
|
|
8085
|
+
}, z.core.$strip>;
|
|
8086
|
+
export declare const AgentUpdateRecoverySchema: z.ZodObject<{
|
|
8087
|
+
operation: z.ZodObject<{
|
|
8088
|
+
operation_id: z.ZodUUID;
|
|
8089
|
+
baseline_revision: z.ZodString;
|
|
8090
|
+
target_revision: z.ZodString;
|
|
8091
|
+
stage: z.ZodEnum<{
|
|
8092
|
+
install: "install";
|
|
8093
|
+
gateway_restart: "gateway_restart";
|
|
8094
|
+
agent_ready: "agent_ready";
|
|
8095
|
+
}>;
|
|
8096
|
+
recovered_revision: z.ZodOptional<z.ZodString>;
|
|
8097
|
+
source_moved: z.ZodOptional<z.ZodBoolean>;
|
|
8098
|
+
attempt_error: z.ZodOptional<z.ZodString>;
|
|
8099
|
+
failed_stage: z.ZodOptional<z.ZodEnum<{
|
|
8100
|
+
install: "install";
|
|
8101
|
+
gateway_restart: "gateway_restart";
|
|
8102
|
+
agent_ready: "agent_ready";
|
|
8103
|
+
}>>;
|
|
8104
|
+
}, z.core.$strip>;
|
|
8105
|
+
attempt_error: z.ZodNullable<z.ZodString>;
|
|
8106
|
+
runtime_revision: z.ZodNullable<z.ZodString>;
|
|
8107
|
+
rollback: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8108
|
+
outcome: z.ZodEnum<{
|
|
8109
|
+
unknown: "unknown";
|
|
8110
|
+
blocked: "blocked";
|
|
8111
|
+
recovering: "recovering";
|
|
8112
|
+
target_installed: "target_installed";
|
|
8113
|
+
baseline_restored: "baseline_restored";
|
|
8114
|
+
other_revision: "other_revision";
|
|
8115
|
+
}>;
|
|
8116
|
+
}, z.core.$strip>;
|
|
6980
8117
|
export declare const UpdateNotificationSchema: z.ZodObject<{
|
|
6981
8118
|
id: z.ZodUUID;
|
|
6982
8119
|
kind: z.ZodString;
|
|
@@ -6986,12 +8123,14 @@ export declare const UpdateNotificationSchema: z.ZodObject<{
|
|
|
6986
8123
|
}>>;
|
|
6987
8124
|
phase: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6988
8125
|
unknown: "unknown";
|
|
6989
|
-
failed: "failed";
|
|
6990
8126
|
blocked: "blocked";
|
|
8127
|
+
restarting: "restarting";
|
|
8128
|
+
failed: "failed";
|
|
6991
8129
|
applying: "applying";
|
|
6992
8130
|
awaiting_confirmation: "awaiting_confirmation";
|
|
6993
8131
|
waiting_for_idle: "waiting_for_idle";
|
|
6994
|
-
|
|
8132
|
+
verifying: "verifying";
|
|
8133
|
+
recovering: "recovering";
|
|
6995
8134
|
succeeded: "succeeded";
|
|
6996
8135
|
}>, z.ZodString]>;
|
|
6997
8136
|
severity: z.ZodEnum<{
|
|
@@ -7025,10 +8164,66 @@ export declare const UpdateNotificationSchema: z.ZodObject<{
|
|
|
7025
8164
|
verified_revision: z.ZodNullable<z.ZodString>;
|
|
7026
8165
|
verified_version: z.ZodNullable<z.ZodString>;
|
|
7027
8166
|
detail: z.ZodNullable<z.ZodString>;
|
|
8167
|
+
recovery: z.ZodOptional<z.ZodObject<{
|
|
8168
|
+
operation: z.ZodObject<{
|
|
8169
|
+
operation_id: z.ZodUUID;
|
|
8170
|
+
baseline_revision: z.ZodString;
|
|
8171
|
+
target_revision: z.ZodString;
|
|
8172
|
+
stage: z.ZodEnum<{
|
|
8173
|
+
install: "install";
|
|
8174
|
+
gateway_restart: "gateway_restart";
|
|
8175
|
+
agent_ready: "agent_ready";
|
|
8176
|
+
}>;
|
|
8177
|
+
recovered_revision: z.ZodOptional<z.ZodString>;
|
|
8178
|
+
source_moved: z.ZodOptional<z.ZodBoolean>;
|
|
8179
|
+
attempt_error: z.ZodOptional<z.ZodString>;
|
|
8180
|
+
failed_stage: z.ZodOptional<z.ZodEnum<{
|
|
8181
|
+
install: "install";
|
|
8182
|
+
gateway_restart: "gateway_restart";
|
|
8183
|
+
agent_ready: "agent_ready";
|
|
8184
|
+
}>>;
|
|
8185
|
+
}, z.core.$strip>;
|
|
8186
|
+
attempt_error: z.ZodNullable<z.ZodString>;
|
|
8187
|
+
runtime_revision: z.ZodNullable<z.ZodString>;
|
|
8188
|
+
rollback: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8189
|
+
outcome: z.ZodEnum<{
|
|
8190
|
+
unknown: "unknown";
|
|
8191
|
+
blocked: "blocked";
|
|
8192
|
+
recovering: "recovering";
|
|
8193
|
+
target_installed: "target_installed";
|
|
8194
|
+
baseline_restored: "baseline_restored";
|
|
8195
|
+
other_revision: "other_revision";
|
|
8196
|
+
}>;
|
|
8197
|
+
}, z.core.$strip>>;
|
|
7028
8198
|
unread: z.ZodBoolean;
|
|
7029
8199
|
active: z.ZodBoolean;
|
|
7030
8200
|
requires_interaction: z.ZodBoolean;
|
|
7031
8201
|
can_dismiss: z.ZodBoolean;
|
|
8202
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
8203
|
+
id: z.ZodEnum<{
|
|
8204
|
+
install: "install";
|
|
8205
|
+
gateway_restart: "gateway_restart";
|
|
8206
|
+
agent_ready: "agent_ready";
|
|
8207
|
+
ready: "ready";
|
|
8208
|
+
web_restart: "web_restart";
|
|
8209
|
+
gateway_wait: "gateway_wait";
|
|
8210
|
+
recovery: "recovery";
|
|
8211
|
+
}>;
|
|
8212
|
+
label: z.ZodString;
|
|
8213
|
+
state: z.ZodEnum<{
|
|
8214
|
+
pending: "pending";
|
|
8215
|
+
active: "active";
|
|
8216
|
+
failed: "failed";
|
|
8217
|
+
done: "done";
|
|
8218
|
+
}>;
|
|
8219
|
+
}, z.core.$strip>>;
|
|
8220
|
+
presents_dialog: z.ZodBoolean;
|
|
8221
|
+
dialog_close: z.ZodEnum<{
|
|
8222
|
+
auto: "auto";
|
|
8223
|
+
none: "none";
|
|
8224
|
+
close: "close";
|
|
8225
|
+
restart_later: "restart_later";
|
|
8226
|
+
}>;
|
|
7032
8227
|
}, z.core.$strip>;
|
|
7033
8228
|
export declare const FrontendBuildIdSchema: z.ZodString;
|
|
7034
8229
|
export declare const TabIdSchema: z.ZodString;
|
|
@@ -7056,12 +8251,14 @@ export declare const UpdateNotificationsSchema: z.ZodObject<{
|
|
|
7056
8251
|
}>>;
|
|
7057
8252
|
phase: z.ZodUnion<readonly [z.ZodEnum<{
|
|
7058
8253
|
unknown: "unknown";
|
|
7059
|
-
failed: "failed";
|
|
7060
8254
|
blocked: "blocked";
|
|
8255
|
+
restarting: "restarting";
|
|
8256
|
+
failed: "failed";
|
|
7061
8257
|
applying: "applying";
|
|
7062
8258
|
awaiting_confirmation: "awaiting_confirmation";
|
|
7063
8259
|
waiting_for_idle: "waiting_for_idle";
|
|
7064
|
-
|
|
8260
|
+
verifying: "verifying";
|
|
8261
|
+
recovering: "recovering";
|
|
7065
8262
|
succeeded: "succeeded";
|
|
7066
8263
|
}>, z.ZodString]>;
|
|
7067
8264
|
severity: z.ZodEnum<{
|
|
@@ -7095,10 +8292,66 @@ export declare const UpdateNotificationsSchema: z.ZodObject<{
|
|
|
7095
8292
|
verified_revision: z.ZodNullable<z.ZodString>;
|
|
7096
8293
|
verified_version: z.ZodNullable<z.ZodString>;
|
|
7097
8294
|
detail: z.ZodNullable<z.ZodString>;
|
|
8295
|
+
recovery: z.ZodOptional<z.ZodObject<{
|
|
8296
|
+
operation: z.ZodObject<{
|
|
8297
|
+
operation_id: z.ZodUUID;
|
|
8298
|
+
baseline_revision: z.ZodString;
|
|
8299
|
+
target_revision: z.ZodString;
|
|
8300
|
+
stage: z.ZodEnum<{
|
|
8301
|
+
install: "install";
|
|
8302
|
+
gateway_restart: "gateway_restart";
|
|
8303
|
+
agent_ready: "agent_ready";
|
|
8304
|
+
}>;
|
|
8305
|
+
recovered_revision: z.ZodOptional<z.ZodString>;
|
|
8306
|
+
source_moved: z.ZodOptional<z.ZodBoolean>;
|
|
8307
|
+
attempt_error: z.ZodOptional<z.ZodString>;
|
|
8308
|
+
failed_stage: z.ZodOptional<z.ZodEnum<{
|
|
8309
|
+
install: "install";
|
|
8310
|
+
gateway_restart: "gateway_restart";
|
|
8311
|
+
agent_ready: "agent_ready";
|
|
8312
|
+
}>>;
|
|
8313
|
+
}, z.core.$strip>;
|
|
8314
|
+
attempt_error: z.ZodNullable<z.ZodString>;
|
|
8315
|
+
runtime_revision: z.ZodNullable<z.ZodString>;
|
|
8316
|
+
rollback: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8317
|
+
outcome: z.ZodEnum<{
|
|
8318
|
+
unknown: "unknown";
|
|
8319
|
+
blocked: "blocked";
|
|
8320
|
+
recovering: "recovering";
|
|
8321
|
+
target_installed: "target_installed";
|
|
8322
|
+
baseline_restored: "baseline_restored";
|
|
8323
|
+
other_revision: "other_revision";
|
|
8324
|
+
}>;
|
|
8325
|
+
}, z.core.$strip>>;
|
|
7098
8326
|
unread: z.ZodBoolean;
|
|
7099
8327
|
active: z.ZodBoolean;
|
|
7100
8328
|
requires_interaction: z.ZodBoolean;
|
|
7101
8329
|
can_dismiss: z.ZodBoolean;
|
|
8330
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
8331
|
+
id: z.ZodEnum<{
|
|
8332
|
+
install: "install";
|
|
8333
|
+
gateway_restart: "gateway_restart";
|
|
8334
|
+
agent_ready: "agent_ready";
|
|
8335
|
+
ready: "ready";
|
|
8336
|
+
web_restart: "web_restart";
|
|
8337
|
+
gateway_wait: "gateway_wait";
|
|
8338
|
+
recovery: "recovery";
|
|
8339
|
+
}>;
|
|
8340
|
+
label: z.ZodString;
|
|
8341
|
+
state: z.ZodEnum<{
|
|
8342
|
+
pending: "pending";
|
|
8343
|
+
active: "active";
|
|
8344
|
+
failed: "failed";
|
|
8345
|
+
done: "done";
|
|
8346
|
+
}>;
|
|
8347
|
+
}, z.core.$strip>>;
|
|
8348
|
+
presents_dialog: z.ZodBoolean;
|
|
8349
|
+
dialog_close: z.ZodEnum<{
|
|
8350
|
+
auto: "auto";
|
|
8351
|
+
none: "none";
|
|
8352
|
+
close: "close";
|
|
8353
|
+
restart_later: "restart_later";
|
|
8354
|
+
}>;
|
|
7102
8355
|
}, z.core.$strip>>;
|
|
7103
8356
|
tab_update: z.ZodNullable<z.ZodObject<{
|
|
7104
8357
|
id: z.ZodUUID;
|
|
@@ -7109,12 +8362,14 @@ export declare const UpdateNotificationsSchema: z.ZodObject<{
|
|
|
7109
8362
|
}>>;
|
|
7110
8363
|
phase: z.ZodUnion<readonly [z.ZodEnum<{
|
|
7111
8364
|
unknown: "unknown";
|
|
7112
|
-
failed: "failed";
|
|
7113
8365
|
blocked: "blocked";
|
|
8366
|
+
restarting: "restarting";
|
|
8367
|
+
failed: "failed";
|
|
7114
8368
|
applying: "applying";
|
|
7115
8369
|
awaiting_confirmation: "awaiting_confirmation";
|
|
7116
8370
|
waiting_for_idle: "waiting_for_idle";
|
|
7117
|
-
|
|
8371
|
+
verifying: "verifying";
|
|
8372
|
+
recovering: "recovering";
|
|
7118
8373
|
succeeded: "succeeded";
|
|
7119
8374
|
}>, z.ZodString]>;
|
|
7120
8375
|
severity: z.ZodEnum<{
|
|
@@ -7148,10 +8403,66 @@ export declare const UpdateNotificationsSchema: z.ZodObject<{
|
|
|
7148
8403
|
verified_revision: z.ZodNullable<z.ZodString>;
|
|
7149
8404
|
verified_version: z.ZodNullable<z.ZodString>;
|
|
7150
8405
|
detail: z.ZodNullable<z.ZodString>;
|
|
8406
|
+
recovery: z.ZodOptional<z.ZodObject<{
|
|
8407
|
+
operation: z.ZodObject<{
|
|
8408
|
+
operation_id: z.ZodUUID;
|
|
8409
|
+
baseline_revision: z.ZodString;
|
|
8410
|
+
target_revision: z.ZodString;
|
|
8411
|
+
stage: z.ZodEnum<{
|
|
8412
|
+
install: "install";
|
|
8413
|
+
gateway_restart: "gateway_restart";
|
|
8414
|
+
agent_ready: "agent_ready";
|
|
8415
|
+
}>;
|
|
8416
|
+
recovered_revision: z.ZodOptional<z.ZodString>;
|
|
8417
|
+
source_moved: z.ZodOptional<z.ZodBoolean>;
|
|
8418
|
+
attempt_error: z.ZodOptional<z.ZodString>;
|
|
8419
|
+
failed_stage: z.ZodOptional<z.ZodEnum<{
|
|
8420
|
+
install: "install";
|
|
8421
|
+
gateway_restart: "gateway_restart";
|
|
8422
|
+
agent_ready: "agent_ready";
|
|
8423
|
+
}>>;
|
|
8424
|
+
}, z.core.$strip>;
|
|
8425
|
+
attempt_error: z.ZodNullable<z.ZodString>;
|
|
8426
|
+
runtime_revision: z.ZodNullable<z.ZodString>;
|
|
8427
|
+
rollback: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8428
|
+
outcome: z.ZodEnum<{
|
|
8429
|
+
unknown: "unknown";
|
|
8430
|
+
blocked: "blocked";
|
|
8431
|
+
recovering: "recovering";
|
|
8432
|
+
target_installed: "target_installed";
|
|
8433
|
+
baseline_restored: "baseline_restored";
|
|
8434
|
+
other_revision: "other_revision";
|
|
8435
|
+
}>;
|
|
8436
|
+
}, z.core.$strip>>;
|
|
7151
8437
|
unread: z.ZodBoolean;
|
|
7152
8438
|
active: z.ZodBoolean;
|
|
7153
8439
|
requires_interaction: z.ZodBoolean;
|
|
7154
8440
|
can_dismiss: z.ZodBoolean;
|
|
8441
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
8442
|
+
id: z.ZodEnum<{
|
|
8443
|
+
install: "install";
|
|
8444
|
+
gateway_restart: "gateway_restart";
|
|
8445
|
+
agent_ready: "agent_ready";
|
|
8446
|
+
ready: "ready";
|
|
8447
|
+
web_restart: "web_restart";
|
|
8448
|
+
gateway_wait: "gateway_wait";
|
|
8449
|
+
recovery: "recovery";
|
|
8450
|
+
}>;
|
|
8451
|
+
label: z.ZodString;
|
|
8452
|
+
state: z.ZodEnum<{
|
|
8453
|
+
pending: "pending";
|
|
8454
|
+
active: "active";
|
|
8455
|
+
failed: "failed";
|
|
8456
|
+
done: "done";
|
|
8457
|
+
}>;
|
|
8458
|
+
}, z.core.$strip>>;
|
|
8459
|
+
presents_dialog: z.ZodBoolean;
|
|
8460
|
+
dialog_close: z.ZodEnum<{
|
|
8461
|
+
auto: "auto";
|
|
8462
|
+
none: "none";
|
|
8463
|
+
close: "close";
|
|
8464
|
+
restart_later: "restart_later";
|
|
8465
|
+
}>;
|
|
7155
8466
|
}, z.core.$strip>>;
|
|
7156
8467
|
tab_joined_at: z.ZodNullable<z.ZodISODateTime>;
|
|
7157
8468
|
unread_count: z.ZodNumber;
|
|
@@ -7182,6 +8493,20 @@ export declare const PluginSettingViewSchema: z.ZodObject<{
|
|
|
7182
8493
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
7183
8494
|
}, z.core.$strip>;
|
|
7184
8495
|
export type PluginSettingView = z.infer<typeof PluginSettingViewSchema>;
|
|
8496
|
+
/** TAL-1276: a plugin OAuth client as Settings shows it; `can_sign_out` is true while the profile stores a grant for it (any state but `logged_out`). */
|
|
8497
|
+
export declare const PluginOAuthClientViewSchema: z.ZodObject<{
|
|
8498
|
+
id: z.ZodString;
|
|
8499
|
+
state: z.ZodEnum<{
|
|
8500
|
+
signed_in: "signed_in";
|
|
8501
|
+
sign_in_needed: "sign_in_needed";
|
|
8502
|
+
revoked: "revoked";
|
|
8503
|
+
logged_out: "logged_out";
|
|
8504
|
+
}>;
|
|
8505
|
+
authorize_host: z.ZodString;
|
|
8506
|
+
token_host: z.ZodString;
|
|
8507
|
+
can_sign_out: z.ZodBoolean;
|
|
8508
|
+
}, z.core.$strip>;
|
|
8509
|
+
export type PluginOAuthClientView = z.infer<typeof PluginOAuthClientViewSchema>;
|
|
7185
8510
|
export declare const PluginSchema: z.ZodObject<{
|
|
7186
8511
|
key: z.ZodString;
|
|
7187
8512
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -7192,6 +8517,10 @@ export declare const PluginSchema: z.ZodObject<{
|
|
|
7192
8517
|
activation: z.ZodOptional<z.ZodString>;
|
|
7193
8518
|
is_active_provider: z.ZodOptional<z.ZodBoolean>;
|
|
7194
8519
|
hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
8520
|
+
update: z.ZodOptional<z.ZodObject<{
|
|
8521
|
+
available: z.ZodBoolean;
|
|
8522
|
+
latest_revision: z.ZodOptional<z.ZodString>;
|
|
8523
|
+
}, z.core.$strip>>;
|
|
7195
8524
|
settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7196
8525
|
key: z.ZodString;
|
|
7197
8526
|
type: z.ZodEnum<{
|
|
@@ -7212,6 +8541,18 @@ export declare const PluginSchema: z.ZodObject<{
|
|
|
7212
8541
|
has_value: z.ZodOptional<z.ZodBoolean>;
|
|
7213
8542
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
7214
8543
|
}, z.core.$strip>>>;
|
|
8544
|
+
oauth_clients: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8545
|
+
id: z.ZodString;
|
|
8546
|
+
state: z.ZodEnum<{
|
|
8547
|
+
signed_in: "signed_in";
|
|
8548
|
+
sign_in_needed: "sign_in_needed";
|
|
8549
|
+
revoked: "revoked";
|
|
8550
|
+
logged_out: "logged_out";
|
|
8551
|
+
}>;
|
|
8552
|
+
authorize_host: z.ZodString;
|
|
8553
|
+
token_host: z.ZodString;
|
|
8554
|
+
can_sign_out: z.ZodBoolean;
|
|
8555
|
+
}, z.core.$strip>>>;
|
|
7215
8556
|
}, z.core.$loose>;
|
|
7216
8557
|
/**
|
|
7217
8558
|
* `read_only` (TAL-806): this session may not save plugin `settings` (not the server owner, or no sidecar).
|
|
@@ -7229,6 +8570,10 @@ export declare const PluginsSchema: z.ZodObject<{
|
|
|
7229
8570
|
activation: z.ZodOptional<z.ZodString>;
|
|
7230
8571
|
is_active_provider: z.ZodOptional<z.ZodBoolean>;
|
|
7231
8572
|
hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
8573
|
+
update: z.ZodOptional<z.ZodObject<{
|
|
8574
|
+
available: z.ZodBoolean;
|
|
8575
|
+
latest_revision: z.ZodOptional<z.ZodString>;
|
|
8576
|
+
}, z.core.$strip>>;
|
|
7232
8577
|
settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7233
8578
|
key: z.ZodString;
|
|
7234
8579
|
type: z.ZodEnum<{
|
|
@@ -7249,6 +8594,18 @@ export declare const PluginsSchema: z.ZodObject<{
|
|
|
7249
8594
|
has_value: z.ZodOptional<z.ZodBoolean>;
|
|
7250
8595
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
7251
8596
|
}, z.core.$strip>>>;
|
|
8597
|
+
oauth_clients: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8598
|
+
id: z.ZodString;
|
|
8599
|
+
state: z.ZodEnum<{
|
|
8600
|
+
signed_in: "signed_in";
|
|
8601
|
+
sign_in_needed: "sign_in_needed";
|
|
8602
|
+
revoked: "revoked";
|
|
8603
|
+
logged_out: "logged_out";
|
|
8604
|
+
}>;
|
|
8605
|
+
authorize_host: z.ZodString;
|
|
8606
|
+
token_host: z.ZodString;
|
|
8607
|
+
can_sign_out: z.ZodBoolean;
|
|
8608
|
+
}, z.core.$strip>>>;
|
|
7252
8609
|
}, z.core.$loose>>;
|
|
7253
8610
|
empty: z.ZodOptional<z.ZodBoolean>;
|
|
7254
8611
|
read_only: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -7257,6 +8614,55 @@ export declare const PluginsSchema: z.ZodObject<{
|
|
|
7257
8614
|
plugin_isolation_advisory: z.ZodOptional<z.ZodBoolean>;
|
|
7258
8615
|
}, z.core.$loose>;
|
|
7259
8616
|
export declare const McpServerSchema: z.ZodObject<{
|
|
8617
|
+
cost_policy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8618
|
+
error: z.ZodNullable<z.ZodString>;
|
|
8619
|
+
source: z.ZodEnum<{
|
|
8620
|
+
native: "native";
|
|
8621
|
+
package: "package";
|
|
8622
|
+
native_override: "native_override";
|
|
8623
|
+
}>;
|
|
8624
|
+
can_edit: z.ZodBoolean;
|
|
8625
|
+
tool_costs: z.ZodArray<z.ZodObject<{
|
|
8626
|
+
name: z.ZodString;
|
|
8627
|
+
low: z.ZodNumber;
|
|
8628
|
+
high: z.ZodNumber;
|
|
8629
|
+
note: z.ZodString;
|
|
8630
|
+
}, z.core.$strip>>;
|
|
8631
|
+
spend_limit: z.ZodNumber;
|
|
8632
|
+
cost_unit: z.ZodString;
|
|
8633
|
+
name: z.ZodString;
|
|
8634
|
+
valid: z.ZodBoolean;
|
|
8635
|
+
overrides: z.ZodObject<{
|
|
8636
|
+
tool_costs: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>]>, z.ZodObject<{
|
|
8637
|
+
credits: z.ZodUnion<readonly [z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>]>;
|
|
8638
|
+
note: z.ZodOptional<z.ZodString>;
|
|
8639
|
+
}, z.core.$strict>]>>>;
|
|
8640
|
+
spend_limit: z.ZodNullable<z.ZodNumber>;
|
|
8641
|
+
cost_unit: z.ZodNullable<z.ZodString>;
|
|
8642
|
+
}, z.core.$strip>;
|
|
8643
|
+
budget_enabled: z.ZodBoolean;
|
|
8644
|
+
field_sources: z.ZodObject<{
|
|
8645
|
+
tool_costs: z.ZodEnum<{
|
|
8646
|
+
default: "default";
|
|
8647
|
+
native: "native";
|
|
8648
|
+
package: "package";
|
|
8649
|
+
}>;
|
|
8650
|
+
spend_limit: z.ZodEnum<{
|
|
8651
|
+
default: "default";
|
|
8652
|
+
native: "native";
|
|
8653
|
+
package: "package";
|
|
8654
|
+
}>;
|
|
8655
|
+
cost_unit: z.ZodEnum<{
|
|
8656
|
+
default: "default";
|
|
8657
|
+
native: "native";
|
|
8658
|
+
package: "package";
|
|
8659
|
+
}>;
|
|
8660
|
+
}, z.core.$strip>;
|
|
8661
|
+
revision: z.ZodString;
|
|
8662
|
+
provenance: z.ZodLiteral<"declared_estimate">;
|
|
8663
|
+
reload_required: z.ZodLiteral<true>;
|
|
8664
|
+
runtime_state: z.ZodLiteral<"unknown">;
|
|
8665
|
+
}, z.core.$strip>>>;
|
|
7260
8666
|
name: z.ZodString;
|
|
7261
8667
|
id: z.ZodOptional<z.ZodString>;
|
|
7262
8668
|
transport: z.ZodOptional<z.ZodString>;
|
|
@@ -7273,6 +8679,55 @@ export declare const McpServerSchema: z.ZodObject<{
|
|
|
7273
8679
|
}, z.core.$loose>;
|
|
7274
8680
|
export declare const McpServersSchema: z.ZodObject<{
|
|
7275
8681
|
servers: z.ZodArray<z.ZodObject<{
|
|
8682
|
+
cost_policy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8683
|
+
error: z.ZodNullable<z.ZodString>;
|
|
8684
|
+
source: z.ZodEnum<{
|
|
8685
|
+
native: "native";
|
|
8686
|
+
package: "package";
|
|
8687
|
+
native_override: "native_override";
|
|
8688
|
+
}>;
|
|
8689
|
+
can_edit: z.ZodBoolean;
|
|
8690
|
+
tool_costs: z.ZodArray<z.ZodObject<{
|
|
8691
|
+
name: z.ZodString;
|
|
8692
|
+
low: z.ZodNumber;
|
|
8693
|
+
high: z.ZodNumber;
|
|
8694
|
+
note: z.ZodString;
|
|
8695
|
+
}, z.core.$strip>>;
|
|
8696
|
+
spend_limit: z.ZodNumber;
|
|
8697
|
+
cost_unit: z.ZodString;
|
|
8698
|
+
name: z.ZodString;
|
|
8699
|
+
valid: z.ZodBoolean;
|
|
8700
|
+
overrides: z.ZodObject<{
|
|
8701
|
+
tool_costs: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>]>, z.ZodObject<{
|
|
8702
|
+
credits: z.ZodUnion<readonly [z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>]>;
|
|
8703
|
+
note: z.ZodOptional<z.ZodString>;
|
|
8704
|
+
}, z.core.$strict>]>>>;
|
|
8705
|
+
spend_limit: z.ZodNullable<z.ZodNumber>;
|
|
8706
|
+
cost_unit: z.ZodNullable<z.ZodString>;
|
|
8707
|
+
}, z.core.$strip>;
|
|
8708
|
+
budget_enabled: z.ZodBoolean;
|
|
8709
|
+
field_sources: z.ZodObject<{
|
|
8710
|
+
tool_costs: z.ZodEnum<{
|
|
8711
|
+
default: "default";
|
|
8712
|
+
native: "native";
|
|
8713
|
+
package: "package";
|
|
8714
|
+
}>;
|
|
8715
|
+
spend_limit: z.ZodEnum<{
|
|
8716
|
+
default: "default";
|
|
8717
|
+
native: "native";
|
|
8718
|
+
package: "package";
|
|
8719
|
+
}>;
|
|
8720
|
+
cost_unit: z.ZodEnum<{
|
|
8721
|
+
default: "default";
|
|
8722
|
+
native: "native";
|
|
8723
|
+
package: "package";
|
|
8724
|
+
}>;
|
|
8725
|
+
}, z.core.$strip>;
|
|
8726
|
+
revision: z.ZodString;
|
|
8727
|
+
provenance: z.ZodLiteral<"declared_estimate">;
|
|
8728
|
+
reload_required: z.ZodLiteral<true>;
|
|
8729
|
+
runtime_state: z.ZodLiteral<"unknown">;
|
|
8730
|
+
}, z.core.$strip>>>;
|
|
7276
8731
|
name: z.ZodString;
|
|
7277
8732
|
id: z.ZodOptional<z.ZodString>;
|
|
7278
8733
|
transport: z.ZodOptional<z.ZodString>;
|
|
@@ -7297,8 +8752,8 @@ export declare const ConnectorAccountViewSchema: z.ZodObject<{
|
|
|
7297
8752
|
name: z.ZodString;
|
|
7298
8753
|
problem: z.ZodNullable<z.ZodEnum<{
|
|
7299
8754
|
pending: "pending";
|
|
7300
|
-
failed: "failed";
|
|
7301
8755
|
expired: "expired";
|
|
8756
|
+
failed: "failed";
|
|
7302
8757
|
revoked: "revoked";
|
|
7303
8758
|
inactive: "inactive";
|
|
7304
8759
|
}>>;
|
|
@@ -7323,8 +8778,8 @@ export declare const ConnectorViewSchema: z.ZodObject<{
|
|
|
7323
8778
|
name: z.ZodString;
|
|
7324
8779
|
problem: z.ZodNullable<z.ZodEnum<{
|
|
7325
8780
|
pending: "pending";
|
|
7326
|
-
failed: "failed";
|
|
7327
8781
|
expired: "expired";
|
|
8782
|
+
failed: "failed";
|
|
7328
8783
|
revoked: "revoked";
|
|
7329
8784
|
inactive: "inactive";
|
|
7330
8785
|
}>>;
|
|
@@ -7340,10 +8795,12 @@ export declare const ConnectorViewSchema: z.ZodObject<{
|
|
|
7340
8795
|
/**
|
|
7341
8796
|
* TAL-818: the Connectors page. `available` is the Agent's connectors gate; false hides the page. `policy_revision` is the
|
|
7342
8797
|
* member rules' revision every rule change sends back; null when the rules are read-only (no member layer, or unreadable),
|
|
7343
|
-
* so no switch changes them. `
|
|
8798
|
+
* so no switch changes them. `sign_in_required` offers Nous sign-in without creating a guest on reads.
|
|
8799
|
+
* `rules_error`: why the rules could not be read; every app then reads off (fails closed).
|
|
7344
8800
|
*/
|
|
7345
8801
|
export declare const ConnectorsPageSchema: z.ZodObject<{
|
|
7346
8802
|
available: z.ZodBoolean;
|
|
8803
|
+
sign_in_required: z.ZodDefault<z.ZodBoolean>;
|
|
7347
8804
|
connectors: z.ZodArray<z.ZodObject<{
|
|
7348
8805
|
slug: z.ZodString;
|
|
7349
8806
|
name: z.ZodString;
|
|
@@ -7356,8 +8813,8 @@ export declare const ConnectorsPageSchema: z.ZodObject<{
|
|
|
7356
8813
|
name: z.ZodString;
|
|
7357
8814
|
problem: z.ZodNullable<z.ZodEnum<{
|
|
7358
8815
|
pending: "pending";
|
|
7359
|
-
failed: "failed";
|
|
7360
8816
|
expired: "expired";
|
|
8817
|
+
failed: "failed";
|
|
7361
8818
|
revoked: "revoked";
|
|
7362
8819
|
inactive: "inactive";
|
|
7363
8820
|
}>>;
|
|
@@ -7417,19 +8874,19 @@ export declare const ConnectorOperationViewSchema: z.ZodObject<{
|
|
|
7417
8874
|
kind: z.ZodString;
|
|
7418
8875
|
state: z.ZodEnum<{
|
|
7419
8876
|
pending: "pending";
|
|
8877
|
+
expired: "expired";
|
|
7420
8878
|
skipped: "skipped";
|
|
8879
|
+
failed: "failed";
|
|
7421
8880
|
initiated: "initiated";
|
|
7422
8881
|
connected: "connected";
|
|
7423
|
-
failed: "failed";
|
|
7424
|
-
expired: "expired";
|
|
7425
8882
|
not_connected: "not_connected";
|
|
7426
8883
|
}>;
|
|
7427
8884
|
detail: z.ZodString;
|
|
7428
8885
|
connect_url: z.ZodNullable<z.ZodString>;
|
|
7429
8886
|
actions: z.ZodArray<z.ZodEnum<{
|
|
7430
8887
|
retry: "retry";
|
|
7431
|
-
skip: "skip";
|
|
7432
8888
|
approve: "approve";
|
|
8889
|
+
skip: "skip";
|
|
7433
8890
|
}>>;
|
|
7434
8891
|
env_fields: z.ZodArray<z.ZodObject<{
|
|
7435
8892
|
name: z.ZodString;
|
|
@@ -7503,8 +8960,8 @@ export declare const WikiStatusSchema: z.ZodObject<{
|
|
|
7503
8960
|
enabled: z.ZodBoolean;
|
|
7504
8961
|
status: z.ZodEnum<{
|
|
7505
8962
|
error: "error";
|
|
7506
|
-
ready: "ready";
|
|
7507
8963
|
empty: "empty";
|
|
8964
|
+
ready: "ready";
|
|
7508
8965
|
missing: "missing";
|
|
7509
8966
|
not_directory: "not_directory";
|
|
7510
8967
|
}>;
|
|
@@ -7633,9 +9090,9 @@ export declare const OnboardingStatusSchema: z.ZodObject<{
|
|
|
7633
9090
|
models: z.ZodOptional<z.ZodObject<{
|
|
7634
9091
|
availability: z.ZodOptional<z.ZodObject<{
|
|
7635
9092
|
status: z.ZodEnum<{
|
|
9093
|
+
available: "available";
|
|
7636
9094
|
unavailable: "unavailable";
|
|
7637
9095
|
stale: "stale";
|
|
7638
|
-
available: "available";
|
|
7639
9096
|
}>;
|
|
7640
9097
|
authoritative: z.ZodBoolean;
|
|
7641
9098
|
unavailable_reason: z.ZodNullable<z.ZodString>;
|
|
@@ -7649,9 +9106,9 @@ export declare const OnboardingStatusSchema: z.ZodObject<{
|
|
|
7649
9106
|
groups: z.ZodArray<z.ZodObject<{
|
|
7650
9107
|
availability: z.ZodOptional<z.ZodObject<{
|
|
7651
9108
|
status: z.ZodEnum<{
|
|
9109
|
+
available: "available";
|
|
7652
9110
|
unavailable: "unavailable";
|
|
7653
9111
|
stale: "stale";
|
|
7654
|
-
available: "available";
|
|
7655
9112
|
}>;
|
|
7656
9113
|
authoritative: z.ZodBoolean;
|
|
7657
9114
|
unavailable_reason: z.ZodNullable<z.ZodString>;
|
|
@@ -7753,6 +9210,9 @@ export declare const OnboardingOAuthSchema: z.ZodObject<{
|
|
|
7753
9210
|
provider: z.ZodOptional<z.ZodString>;
|
|
7754
9211
|
expires_in: z.ZodOptional<z.ZodNumber>;
|
|
7755
9212
|
interval: z.ZodOptional<z.ZodNumber>;
|
|
9213
|
+
authorize_host: z.ZodOptional<z.ZodString>;
|
|
9214
|
+
token_host: z.ZodOptional<z.ZodString>;
|
|
9215
|
+
redirect_uri: z.ZodOptional<z.ZodString>;
|
|
7756
9216
|
}, z.core.$loose>;
|
|
7757
9217
|
export declare const CronScheduleSchema: z.ZodObject<{
|
|
7758
9218
|
kind: z.ZodOptional<z.ZodString>;
|
|
@@ -8177,6 +9637,57 @@ export declare const KanbanColumnSchema: z.ZodObject<{
|
|
|
8177
9637
|
updated_at: z.ZodOptional<z.ZodUnknown>;
|
|
8178
9638
|
}, z.core.$loose>>;
|
|
8179
9639
|
}, z.core.$loose>;
|
|
9640
|
+
/** One bounded profile-scoped read shared by timeline and relationship layouts. Null timing means unknown, never planned effort. */
|
|
9641
|
+
export declare const KanbanInspectionSchema: z.ZodObject<{
|
|
9642
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
9643
|
+
source: z.ZodString;
|
|
9644
|
+
target: z.ZodString;
|
|
9645
|
+
}, z.core.$strip>>;
|
|
9646
|
+
generated_at: z.ZodNumber;
|
|
9647
|
+
truncated: z.ZodBoolean;
|
|
9648
|
+
read_only: z.ZodBoolean;
|
|
9649
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
9650
|
+
key: z.ZodString;
|
|
9651
|
+
board: z.ZodString;
|
|
9652
|
+
board_name: z.ZodString;
|
|
9653
|
+
task: z.ZodObject<{
|
|
9654
|
+
available_actions: z.ZodObject<{
|
|
9655
|
+
block: z.ZodBoolean;
|
|
9656
|
+
unblock: z.ZodBoolean;
|
|
9657
|
+
complete: z.ZodBoolean;
|
|
9658
|
+
archive: z.ZodBoolean;
|
|
9659
|
+
move_to: z.ZodArray<z.ZodString>;
|
|
9660
|
+
}, z.core.$strip>;
|
|
9661
|
+
requires_running_exit_confirmation: z.ZodBoolean;
|
|
9662
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
9663
|
+
title: z.ZodOptional<z.ZodString>;
|
|
9664
|
+
status: z.ZodOptional<z.ZodString>;
|
|
9665
|
+
assignee: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9666
|
+
priority: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
9667
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9668
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9669
|
+
session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9670
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
9671
|
+
created_at: z.ZodOptional<z.ZodUnknown>;
|
|
9672
|
+
updated_at: z.ZodOptional<z.ZodUnknown>;
|
|
9673
|
+
}, z.core.$loose>;
|
|
9674
|
+
ancestors: z.ZodArray<z.ZodString>;
|
|
9675
|
+
descendants: z.ZodArray<z.ZodString>;
|
|
9676
|
+
cycle: z.ZodBoolean;
|
|
9677
|
+
running_lineage: z.ZodBoolean;
|
|
9678
|
+
timing: z.ZodObject<{
|
|
9679
|
+
start: z.ZodNullable<z.ZodNumber>;
|
|
9680
|
+
end: z.ZodNullable<z.ZodNumber>;
|
|
9681
|
+
duration_seconds: z.ZodNullable<z.ZodNumber>;
|
|
9682
|
+
offset: z.ZodNullable<z.ZodNumber>;
|
|
9683
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
9684
|
+
}, z.core.$strip>;
|
|
9685
|
+
}, z.core.$strip>>;
|
|
9686
|
+
window: z.ZodObject<{
|
|
9687
|
+
start: z.ZodNullable<z.ZodNumber>;
|
|
9688
|
+
end: z.ZodNullable<z.ZodNumber>;
|
|
9689
|
+
}, z.core.$strip>;
|
|
9690
|
+
}, z.core.$strip>;
|
|
8180
9691
|
/** One profile lane (TAL-567): an assignee's tasks (`null` = unassigned) across every board column, with its task count. */
|
|
8181
9692
|
export declare const KanbanLaneSchema: z.ZodObject<{
|
|
8182
9693
|
assignee: z.ZodNullable<z.ZodString>;
|