@maudecode/talaria-web-contracts 1.20.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 +1 -1
- package/dist/gateway-session.d.ts +160 -3
- package/dist/gateway-session.js +23 -1
- package/dist/gateway-session.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -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 +2394 -80
- package/dist/routes/automation.d.ts +328 -9
- package/dist/routes/automation.js +16 -2
- package/dist/routes/automation.js.map +1 -1
- package/dist/routes/chat.d.ts +503 -16
- package/dist/routes/core.d.ts +2 -2
- package/dist/routes/git.d.ts +50 -0
- package/dist/routes/git.js +3 -2
- package/dist/routes/git.js.map +1 -1
- package/dist/routes/sessions.d.ts +1369 -38
- package/dist/routes/sessions.js +5 -0
- package/dist/routes/sessions.js.map +1 -1
- package/dist/routes/tools.d.ts +533 -29
- package/dist/routes/tools.js +19 -1
- package/dist/routes/tools.js.map +1 -1
- package/dist/routes/workspaces.d.ts +45 -0
- package/dist/routes/workspaces.js +5 -4
- package/dist/routes/workspaces.js.map +1 -1
- package/dist/sidecar/methods.d.ts +310 -10
- package/dist/sidecar/namespaces.d.ts +335 -13
- package/dist/sidecar/namespaces.js +20 -1
- package/dist/sidecar/namespaces.js.map +1 -1
- package/dist/sidecar/runtime.d.ts +43 -0
- package/dist/sidecar/runtime.js +12 -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 +126 -8
- package/dist/sse.js +7 -2
- package/dist/sse.js.map +1 -1
- package/dist/views.d.ts +1066 -36
- package/dist/views.js +58 -16
- package/dist/views.js.map +1 -1
- package/fixtures/sidecar/gateway.json +45 -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/runtime.json +3 -3
- package/package.json +1 -1
package/dist/views.d.ts
CHANGED
|
@@ -24,8 +24,8 @@ export declare const AttachmentSchema: z.ZodObject<{
|
|
|
24
24
|
export type Attachment = z.infer<typeof AttachmentSchema>;
|
|
25
25
|
/** The server's display class for a tool call: clients map it to an icon and localized verb, and never classify names themselves. */
|
|
26
26
|
export declare const ToolKindSchema: z.ZodEnum<{
|
|
27
|
-
memory: "memory";
|
|
28
27
|
unknown: "unknown";
|
|
28
|
+
memory: "memory";
|
|
29
29
|
shell: "shell";
|
|
30
30
|
read: "read";
|
|
31
31
|
list: "list";
|
|
@@ -117,8 +117,8 @@ export declare const ToolDisplayFields: {
|
|
|
117
117
|
message: z.ZodNullable<z.ZodString>;
|
|
118
118
|
}, z.core.$strip>>>;
|
|
119
119
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
120
|
-
memory: "memory";
|
|
121
120
|
unknown: "unknown";
|
|
121
|
+
memory: "memory";
|
|
122
122
|
shell: "shell";
|
|
123
123
|
read: "read";
|
|
124
124
|
list: "list";
|
|
@@ -153,6 +153,7 @@ export declare const ToolDisplayFields: {
|
|
|
153
153
|
}, z.core.$strip>>;
|
|
154
154
|
}, z.core.$strip>>;
|
|
155
155
|
}, z.core.$strip>>;
|
|
156
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
156
157
|
};
|
|
157
158
|
/**
|
|
158
159
|
* TAL-315: a tool result's display sections, decided by the server's one rule for live, replayed and persisted results
|
|
@@ -161,6 +162,10 @@ export declare const ToolDisplayFields: {
|
|
|
161
162
|
* shows `preview`.
|
|
162
163
|
*/
|
|
163
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>>;
|
|
164
169
|
text: z.ZodOptional<z.ZodString>;
|
|
165
170
|
stdout: z.ZodOptional<z.ZodString>;
|
|
166
171
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -190,6 +195,10 @@ export declare const ToolCallSchema: z.ZodObject<{
|
|
|
190
195
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
191
196
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
192
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>>;
|
|
193
202
|
text: z.ZodOptional<z.ZodString>;
|
|
194
203
|
stdout: z.ZodOptional<z.ZodString>;
|
|
195
204
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -206,8 +215,8 @@ export declare const ToolCallSchema: z.ZodObject<{
|
|
|
206
215
|
message: z.ZodNullable<z.ZodString>;
|
|
207
216
|
}, z.core.$strip>>>;
|
|
208
217
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
209
|
-
memory: "memory";
|
|
210
218
|
unknown: "unknown";
|
|
219
|
+
memory: "memory";
|
|
211
220
|
shell: "shell";
|
|
212
221
|
read: "read";
|
|
213
222
|
list: "list";
|
|
@@ -242,6 +251,7 @@ export declare const ToolCallSchema: z.ZodObject<{
|
|
|
242
251
|
}, z.core.$strip>>;
|
|
243
252
|
}, z.core.$strip>>;
|
|
244
253
|
}, z.core.$strip>>;
|
|
254
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
245
255
|
}, z.core.$loose>;
|
|
246
256
|
export type ToolCall = z.infer<typeof ToolCallSchema>;
|
|
247
257
|
export declare const ContentPartSchema: z.ZodObject<{
|
|
@@ -333,6 +343,10 @@ export declare const ActivitySceneRowSchema: z.ZodObject<{
|
|
|
333
343
|
preview: z.ZodNullable<z.ZodString>;
|
|
334
344
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
335
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>>;
|
|
336
350
|
text: z.ZodOptional<z.ZodString>;
|
|
337
351
|
stdout: z.ZodOptional<z.ZodString>;
|
|
338
352
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -367,8 +381,8 @@ export declare const ActivitySceneRowSchema: z.ZodObject<{
|
|
|
367
381
|
message: z.ZodNullable<z.ZodString>;
|
|
368
382
|
}, z.core.$strip>>>;
|
|
369
383
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
370
|
-
memory: "memory";
|
|
371
384
|
unknown: "unknown";
|
|
385
|
+
memory: "memory";
|
|
372
386
|
shell: "shell";
|
|
373
387
|
read: "read";
|
|
374
388
|
list: "list";
|
|
@@ -403,6 +417,7 @@ export declare const ActivitySceneRowSchema: z.ZodObject<{
|
|
|
403
417
|
}, z.core.$strip>>;
|
|
404
418
|
}, z.core.$strip>>;
|
|
405
419
|
}, z.core.$strip>>;
|
|
420
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
406
421
|
id: z.ZodString;
|
|
407
422
|
name: z.ZodString;
|
|
408
423
|
}, z.core.$loose>>;
|
|
@@ -470,6 +485,10 @@ export declare const ActivitySceneSchema: z.ZodObject<{
|
|
|
470
485
|
preview: z.ZodNullable<z.ZodString>;
|
|
471
486
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
472
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>>;
|
|
473
492
|
text: z.ZodOptional<z.ZodString>;
|
|
474
493
|
stdout: z.ZodOptional<z.ZodString>;
|
|
475
494
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -504,8 +523,8 @@ export declare const ActivitySceneSchema: z.ZodObject<{
|
|
|
504
523
|
message: z.ZodNullable<z.ZodString>;
|
|
505
524
|
}, z.core.$strip>>>;
|
|
506
525
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
507
|
-
memory: "memory";
|
|
508
526
|
unknown: "unknown";
|
|
527
|
+
memory: "memory";
|
|
509
528
|
shell: "shell";
|
|
510
529
|
read: "read";
|
|
511
530
|
list: "list";
|
|
@@ -540,6 +559,7 @@ export declare const ActivitySceneSchema: z.ZodObject<{
|
|
|
540
559
|
}, z.core.$strip>>;
|
|
541
560
|
}, z.core.$strip>>;
|
|
542
561
|
}, z.core.$strip>>;
|
|
562
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
543
563
|
id: z.ZodString;
|
|
544
564
|
name: z.ZodString;
|
|
545
565
|
}, z.core.$loose>>;
|
|
@@ -628,6 +648,63 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
628
648
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
629
649
|
message_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
630
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>>;
|
|
631
708
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
632
709
|
filename: z.ZodOptional<z.ZodString>;
|
|
633
710
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -652,6 +729,10 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
652
729
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
653
730
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
654
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>>;
|
|
655
736
|
text: z.ZodOptional<z.ZodString>;
|
|
656
737
|
stdout: z.ZodOptional<z.ZodString>;
|
|
657
738
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -668,8 +749,8 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
668
749
|
message: z.ZodNullable<z.ZodString>;
|
|
669
750
|
}, z.core.$strip>>>;
|
|
670
751
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
671
|
-
memory: "memory";
|
|
672
752
|
unknown: "unknown";
|
|
753
|
+
memory: "memory";
|
|
673
754
|
shell: "shell";
|
|
674
755
|
read: "read";
|
|
675
756
|
list: "list";
|
|
@@ -704,6 +785,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
704
785
|
}, z.core.$strip>>;
|
|
705
786
|
}, z.core.$strip>>;
|
|
706
787
|
}, z.core.$strip>>;
|
|
788
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
707
789
|
}, z.core.$loose>>>;
|
|
708
790
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
709
791
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
@@ -746,6 +828,10 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
746
828
|
preview: z.ZodNullable<z.ZodString>;
|
|
747
829
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
748
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>>;
|
|
749
835
|
text: z.ZodOptional<z.ZodString>;
|
|
750
836
|
stdout: z.ZodOptional<z.ZodString>;
|
|
751
837
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -780,8 +866,8 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
780
866
|
message: z.ZodNullable<z.ZodString>;
|
|
781
867
|
}, z.core.$strip>>>;
|
|
782
868
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
783
|
-
memory: "memory";
|
|
784
869
|
unknown: "unknown";
|
|
870
|
+
memory: "memory";
|
|
785
871
|
shell: "shell";
|
|
786
872
|
read: "read";
|
|
787
873
|
list: "list";
|
|
@@ -816,6 +902,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
816
902
|
}, z.core.$strip>>;
|
|
817
903
|
}, z.core.$strip>>;
|
|
818
904
|
}, z.core.$strip>>;
|
|
905
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
819
906
|
id: z.ZodString;
|
|
820
907
|
name: z.ZodString;
|
|
821
908
|
}, z.core.$loose>>;
|
|
@@ -1052,7 +1139,32 @@ export declare const BranchedFromSchema: z.ZodObject<{
|
|
|
1052
1139
|
title: z.ZodString;
|
|
1053
1140
|
}, z.core.$strip>;
|
|
1054
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>;
|
|
1055
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>;
|
|
1056
1168
|
export declare const SessionSchema: z.ZodObject<{
|
|
1057
1169
|
execution_mode: z.ZodOptional<z.ZodEnum<{
|
|
1058
1170
|
normal: "normal";
|
|
@@ -1190,6 +1302,7 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1190
1302
|
text: z.ZodString;
|
|
1191
1303
|
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
1192
1304
|
}, z.core.$strip>>>;
|
|
1305
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1193
1306
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1194
1307
|
session_id: z.ZodString;
|
|
1195
1308
|
title: z.ZodString;
|
|
@@ -1198,6 +1311,22 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1198
1311
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1199
1312
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1200
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>>>;
|
|
1201
1330
|
context_detail_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1202
1331
|
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
1203
1332
|
session_id: z.ZodString;
|
|
@@ -1216,6 +1345,63 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1216
1345
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1217
1346
|
message_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1218
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>>;
|
|
1219
1405
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1220
1406
|
filename: z.ZodOptional<z.ZodString>;
|
|
1221
1407
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1240,6 +1426,10 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1240
1426
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1241
1427
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
1242
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>>;
|
|
1243
1433
|
text: z.ZodOptional<z.ZodString>;
|
|
1244
1434
|
stdout: z.ZodOptional<z.ZodString>;
|
|
1245
1435
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -1256,8 +1446,8 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1256
1446
|
message: z.ZodNullable<z.ZodString>;
|
|
1257
1447
|
}, z.core.$strip>>>;
|
|
1258
1448
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
1259
|
-
memory: "memory";
|
|
1260
1449
|
unknown: "unknown";
|
|
1450
|
+
memory: "memory";
|
|
1261
1451
|
shell: "shell";
|
|
1262
1452
|
read: "read";
|
|
1263
1453
|
list: "list";
|
|
@@ -1292,6 +1482,7 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1292
1482
|
}, z.core.$strip>>;
|
|
1293
1483
|
}, z.core.$strip>>;
|
|
1294
1484
|
}, z.core.$strip>>;
|
|
1485
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1295
1486
|
}, z.core.$loose>>>;
|
|
1296
1487
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
1297
1488
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1334,6 +1525,10 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1334
1525
|
preview: z.ZodNullable<z.ZodString>;
|
|
1335
1526
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
1336
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>>;
|
|
1337
1532
|
text: z.ZodOptional<z.ZodString>;
|
|
1338
1533
|
stdout: z.ZodOptional<z.ZodString>;
|
|
1339
1534
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -1368,8 +1563,8 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1368
1563
|
message: z.ZodNullable<z.ZodString>;
|
|
1369
1564
|
}, z.core.$strip>>>;
|
|
1370
1565
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
1371
|
-
memory: "memory";
|
|
1372
1566
|
unknown: "unknown";
|
|
1567
|
+
memory: "memory";
|
|
1373
1568
|
shell: "shell";
|
|
1374
1569
|
read: "read";
|
|
1375
1570
|
list: "list";
|
|
@@ -1404,6 +1599,7 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1404
1599
|
}, z.core.$strip>>;
|
|
1405
1600
|
}, z.core.$strip>>;
|
|
1406
1601
|
}, z.core.$strip>>;
|
|
1602
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1407
1603
|
id: z.ZodString;
|
|
1408
1604
|
name: z.ZodString;
|
|
1409
1605
|
}, z.core.$loose>>;
|
|
@@ -1558,6 +1754,10 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1558
1754
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1559
1755
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
1560
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>>;
|
|
1561
1761
|
text: z.ZodOptional<z.ZodString>;
|
|
1562
1762
|
stdout: z.ZodOptional<z.ZodString>;
|
|
1563
1763
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -1574,8 +1774,8 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1574
1774
|
message: z.ZodNullable<z.ZodString>;
|
|
1575
1775
|
}, z.core.$strip>>>;
|
|
1576
1776
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
1577
|
-
memory: "memory";
|
|
1578
1777
|
unknown: "unknown";
|
|
1778
|
+
memory: "memory";
|
|
1579
1779
|
shell: "shell";
|
|
1580
1780
|
read: "read";
|
|
1581
1781
|
list: "list";
|
|
@@ -1610,6 +1810,7 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1610
1810
|
}, z.core.$strip>>;
|
|
1611
1811
|
}, z.core.$strip>>;
|
|
1612
1812
|
}, z.core.$strip>>;
|
|
1813
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1613
1814
|
}, z.core.$loose>>>;
|
|
1614
1815
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
1615
1816
|
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1848,6 +2049,7 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1848
2049
|
text: z.ZodString;
|
|
1849
2050
|
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
1850
2051
|
}, z.core.$strip>>>;
|
|
2052
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1851
2053
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1852
2054
|
session_id: z.ZodString;
|
|
1853
2055
|
title: z.ZodString;
|
|
@@ -1856,6 +2058,22 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1856
2058
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1857
2059
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1858
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>>>;
|
|
1859
2077
|
context_detail_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1860
2078
|
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
1861
2079
|
session_id: z.ZodString;
|
|
@@ -1874,6 +2092,63 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1874
2092
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1875
2093
|
message_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1876
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>>;
|
|
1877
2152
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1878
2153
|
filename: z.ZodOptional<z.ZodString>;
|
|
1879
2154
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1898,6 +2173,10 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1898
2173
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1899
2174
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
1900
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>>;
|
|
1901
2180
|
text: z.ZodOptional<z.ZodString>;
|
|
1902
2181
|
stdout: z.ZodOptional<z.ZodString>;
|
|
1903
2182
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -1914,8 +2193,8 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1914
2193
|
message: z.ZodNullable<z.ZodString>;
|
|
1915
2194
|
}, z.core.$strip>>>;
|
|
1916
2195
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
1917
|
-
memory: "memory";
|
|
1918
2196
|
unknown: "unknown";
|
|
2197
|
+
memory: "memory";
|
|
1919
2198
|
shell: "shell";
|
|
1920
2199
|
read: "read";
|
|
1921
2200
|
list: "list";
|
|
@@ -1950,6 +2229,7 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1950
2229
|
}, z.core.$strip>>;
|
|
1951
2230
|
}, z.core.$strip>>;
|
|
1952
2231
|
}, z.core.$strip>>;
|
|
2232
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1953
2233
|
}, z.core.$loose>>>;
|
|
1954
2234
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
1955
2235
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1992,6 +2272,10 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1992
2272
|
preview: z.ZodNullable<z.ZodString>;
|
|
1993
2273
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
1994
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>>;
|
|
1995
2279
|
text: z.ZodOptional<z.ZodString>;
|
|
1996
2280
|
stdout: z.ZodOptional<z.ZodString>;
|
|
1997
2281
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -2026,8 +2310,8 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2026
2310
|
message: z.ZodNullable<z.ZodString>;
|
|
2027
2311
|
}, z.core.$strip>>>;
|
|
2028
2312
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
2029
|
-
memory: "memory";
|
|
2030
2313
|
unknown: "unknown";
|
|
2314
|
+
memory: "memory";
|
|
2031
2315
|
shell: "shell";
|
|
2032
2316
|
read: "read";
|
|
2033
2317
|
list: "list";
|
|
@@ -2062,6 +2346,7 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2062
2346
|
}, z.core.$strip>>;
|
|
2063
2347
|
}, z.core.$strip>>;
|
|
2064
2348
|
}, z.core.$strip>>;
|
|
2349
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2065
2350
|
id: z.ZodString;
|
|
2066
2351
|
name: z.ZodString;
|
|
2067
2352
|
}, z.core.$loose>>;
|
|
@@ -2216,6 +2501,10 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2216
2501
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2217
2502
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
2218
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>>;
|
|
2219
2508
|
text: z.ZodOptional<z.ZodString>;
|
|
2220
2509
|
stdout: z.ZodOptional<z.ZodString>;
|
|
2221
2510
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -2232,8 +2521,8 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2232
2521
|
message: z.ZodNullable<z.ZodString>;
|
|
2233
2522
|
}, z.core.$strip>>>;
|
|
2234
2523
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
2235
|
-
memory: "memory";
|
|
2236
2524
|
unknown: "unknown";
|
|
2525
|
+
memory: "memory";
|
|
2237
2526
|
shell: "shell";
|
|
2238
2527
|
read: "read";
|
|
2239
2528
|
list: "list";
|
|
@@ -2268,6 +2557,7 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2268
2557
|
}, z.core.$strip>>;
|
|
2269
2558
|
}, z.core.$strip>>;
|
|
2270
2559
|
}, z.core.$strip>>;
|
|
2560
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2271
2561
|
}, z.core.$loose>>>;
|
|
2272
2562
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
2273
2563
|
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2809,6 +3099,16 @@ export declare const SessionsListSchema: z.ZodObject<{
|
|
|
2809
3099
|
}, z.core.$loose>;
|
|
2810
3100
|
export type SessionsList = z.infer<typeof SessionsListSchema>;
|
|
2811
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
|
+
}>>;
|
|
2812
3112
|
session_id: z.ZodString;
|
|
2813
3113
|
title: z.ZodOptional<z.ZodString>;
|
|
2814
3114
|
active_stream_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3178,6 +3478,7 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3178
3478
|
text: z.ZodString;
|
|
3179
3479
|
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
3180
3480
|
}, z.core.$strip>>>;
|
|
3481
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3181
3482
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3182
3483
|
session_id: z.ZodString;
|
|
3183
3484
|
title: z.ZodString;
|
|
@@ -3186,6 +3487,22 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3186
3487
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3187
3488
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3188
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>>>;
|
|
3189
3506
|
context_detail_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3190
3507
|
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
3191
3508
|
session_id: z.ZodString;
|
|
@@ -3204,6 +3521,63 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3204
3521
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3205
3522
|
message_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3206
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>>;
|
|
3207
3581
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3208
3582
|
filename: z.ZodOptional<z.ZodString>;
|
|
3209
3583
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -3228,6 +3602,10 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3228
3602
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3229
3603
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
3230
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>>;
|
|
3231
3609
|
text: z.ZodOptional<z.ZodString>;
|
|
3232
3610
|
stdout: z.ZodOptional<z.ZodString>;
|
|
3233
3611
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -3244,8 +3622,8 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3244
3622
|
message: z.ZodNullable<z.ZodString>;
|
|
3245
3623
|
}, z.core.$strip>>>;
|
|
3246
3624
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
3247
|
-
memory: "memory";
|
|
3248
3625
|
unknown: "unknown";
|
|
3626
|
+
memory: "memory";
|
|
3249
3627
|
shell: "shell";
|
|
3250
3628
|
read: "read";
|
|
3251
3629
|
list: "list";
|
|
@@ -3280,6 +3658,7 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3280
3658
|
}, z.core.$strip>>;
|
|
3281
3659
|
}, z.core.$strip>>;
|
|
3282
3660
|
}, z.core.$strip>>;
|
|
3661
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3283
3662
|
}, z.core.$loose>>>;
|
|
3284
3663
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
3285
3664
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3322,6 +3701,10 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3322
3701
|
preview: z.ZodNullable<z.ZodString>;
|
|
3323
3702
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
3324
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>>;
|
|
3325
3708
|
text: z.ZodOptional<z.ZodString>;
|
|
3326
3709
|
stdout: z.ZodOptional<z.ZodString>;
|
|
3327
3710
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -3356,8 +3739,8 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3356
3739
|
message: z.ZodNullable<z.ZodString>;
|
|
3357
3740
|
}, z.core.$strip>>>;
|
|
3358
3741
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
3359
|
-
memory: "memory";
|
|
3360
3742
|
unknown: "unknown";
|
|
3743
|
+
memory: "memory";
|
|
3361
3744
|
shell: "shell";
|
|
3362
3745
|
read: "read";
|
|
3363
3746
|
list: "list";
|
|
@@ -3392,6 +3775,7 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3392
3775
|
}, z.core.$strip>>;
|
|
3393
3776
|
}, z.core.$strip>>;
|
|
3394
3777
|
}, z.core.$strip>>;
|
|
3778
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3395
3779
|
id: z.ZodString;
|
|
3396
3780
|
name: z.ZodString;
|
|
3397
3781
|
}, z.core.$loose>>;
|
|
@@ -3546,6 +3930,10 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3546
3930
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3547
3931
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
3548
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>>;
|
|
3549
3937
|
text: z.ZodOptional<z.ZodString>;
|
|
3550
3938
|
stdout: z.ZodOptional<z.ZodString>;
|
|
3551
3939
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -3562,8 +3950,8 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3562
3950
|
message: z.ZodNullable<z.ZodString>;
|
|
3563
3951
|
}, z.core.$strip>>>;
|
|
3564
3952
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
3565
|
-
memory: "memory";
|
|
3566
3953
|
unknown: "unknown";
|
|
3954
|
+
memory: "memory";
|
|
3567
3955
|
shell: "shell";
|
|
3568
3956
|
read: "read";
|
|
3569
3957
|
list: "list";
|
|
@@ -3598,6 +3986,7 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3598
3986
|
}, z.core.$strip>>;
|
|
3599
3987
|
}, z.core.$strip>>;
|
|
3600
3988
|
}, z.core.$strip>>;
|
|
3989
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3601
3990
|
}, z.core.$loose>>>;
|
|
3602
3991
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
3603
3992
|
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3705,6 +4094,16 @@ export type ChatStartResponse = z.infer<typeof ChatStartResponseSchema>;
|
|
|
3705
4094
|
* answers 409 while it is set, so a client draining a session before deleting it waits until it is null.
|
|
3706
4095
|
*/
|
|
3707
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
|
+
}>>;
|
|
3708
4107
|
active: z.ZodBoolean;
|
|
3709
4108
|
stream_id: z.ZodString;
|
|
3710
4109
|
replay_available: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3733,6 +4132,16 @@ export type SteerWithdrawn = z.infer<typeof SteerWithdrawnSchema>;
|
|
|
3733
4132
|
* a client that stops reading the stream once the Stop answers still gives its own text back.
|
|
3734
4133
|
*/
|
|
3735
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
|
+
}>>;
|
|
3736
4145
|
ok: z.ZodBoolean;
|
|
3737
4146
|
cancelled: z.ZodBoolean;
|
|
3738
4147
|
stream_id: z.ZodOptional<z.ZodString>;
|
|
@@ -4012,6 +4421,7 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4012
4421
|
text: z.ZodString;
|
|
4013
4422
|
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
4014
4423
|
}, z.core.$strip>>>;
|
|
4424
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4015
4425
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4016
4426
|
session_id: z.ZodString;
|
|
4017
4427
|
title: z.ZodString;
|
|
@@ -4020,6 +4430,22 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4020
4430
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4021
4431
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4022
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>>>;
|
|
4023
4449
|
context_detail_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4024
4450
|
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
4025
4451
|
session_id: z.ZodString;
|
|
@@ -4038,6 +4464,63 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4038
4464
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
4039
4465
|
message_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
4040
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>>;
|
|
4041
4524
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4042
4525
|
filename: z.ZodOptional<z.ZodString>;
|
|
4043
4526
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -4062,6 +4545,10 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4062
4545
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4063
4546
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
4064
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>>;
|
|
4065
4552
|
text: z.ZodOptional<z.ZodString>;
|
|
4066
4553
|
stdout: z.ZodOptional<z.ZodString>;
|
|
4067
4554
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -4078,8 +4565,8 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4078
4565
|
message: z.ZodNullable<z.ZodString>;
|
|
4079
4566
|
}, z.core.$strip>>>;
|
|
4080
4567
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
4081
|
-
memory: "memory";
|
|
4082
4568
|
unknown: "unknown";
|
|
4569
|
+
memory: "memory";
|
|
4083
4570
|
shell: "shell";
|
|
4084
4571
|
read: "read";
|
|
4085
4572
|
list: "list";
|
|
@@ -4114,6 +4601,7 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4114
4601
|
}, z.core.$strip>>;
|
|
4115
4602
|
}, z.core.$strip>>;
|
|
4116
4603
|
}, z.core.$strip>>;
|
|
4604
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4117
4605
|
}, z.core.$loose>>>;
|
|
4118
4606
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
4119
4607
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
@@ -4156,6 +4644,10 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4156
4644
|
preview: z.ZodNullable<z.ZodString>;
|
|
4157
4645
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
4158
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>>;
|
|
4159
4651
|
text: z.ZodOptional<z.ZodString>;
|
|
4160
4652
|
stdout: z.ZodOptional<z.ZodString>;
|
|
4161
4653
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -4190,8 +4682,8 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4190
4682
|
message: z.ZodNullable<z.ZodString>;
|
|
4191
4683
|
}, z.core.$strip>>>;
|
|
4192
4684
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
4193
|
-
memory: "memory";
|
|
4194
4685
|
unknown: "unknown";
|
|
4686
|
+
memory: "memory";
|
|
4195
4687
|
shell: "shell";
|
|
4196
4688
|
read: "read";
|
|
4197
4689
|
list: "list";
|
|
@@ -4226,6 +4718,7 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4226
4718
|
}, z.core.$strip>>;
|
|
4227
4719
|
}, z.core.$strip>>;
|
|
4228
4720
|
}, z.core.$strip>>;
|
|
4721
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4229
4722
|
id: z.ZodString;
|
|
4230
4723
|
name: z.ZodString;
|
|
4231
4724
|
}, z.core.$loose>>;
|
|
@@ -4380,6 +4873,10 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4380
4873
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4381
4874
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
4382
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>>;
|
|
4383
4880
|
text: z.ZodOptional<z.ZodString>;
|
|
4384
4881
|
stdout: z.ZodOptional<z.ZodString>;
|
|
4385
4882
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -4396,8 +4893,8 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4396
4893
|
message: z.ZodNullable<z.ZodString>;
|
|
4397
4894
|
}, z.core.$strip>>>;
|
|
4398
4895
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
4399
|
-
memory: "memory";
|
|
4400
4896
|
unknown: "unknown";
|
|
4897
|
+
memory: "memory";
|
|
4401
4898
|
shell: "shell";
|
|
4402
4899
|
read: "read";
|
|
4403
4900
|
list: "list";
|
|
@@ -4432,6 +4929,7 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4432
4929
|
}, z.core.$strip>>;
|
|
4433
4930
|
}, z.core.$strip>>;
|
|
4434
4931
|
}, z.core.$strip>>;
|
|
4932
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4435
4933
|
}, z.core.$loose>>>;
|
|
4436
4934
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
4437
4935
|
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4920,6 +5418,16 @@ export type BackgroundTask = z.infer<typeof BackgroundTaskSchema>;
|
|
|
4920
5418
|
* the chat's side panel opens on Agents for it. Absent from servers before TAL-373.
|
|
4921
5419
|
*/
|
|
4922
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
|
+
}>>;
|
|
4923
5431
|
session_id: z.ZodString;
|
|
4924
5432
|
tasks: z.ZodArray<z.ZodObject<{
|
|
4925
5433
|
task_id: z.ZodString;
|
|
@@ -5184,6 +5692,146 @@ export declare const ShareReadSchema: z.ZodObject<{
|
|
|
5184
5692
|
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5185
5693
|
}, z.core.$loose>;
|
|
5186
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>;
|
|
5187
5835
|
export declare const SessionNewRequestSchema: z.ZodObject<{
|
|
5188
5836
|
title: z.ZodOptional<z.ZodString>;
|
|
5189
5837
|
workspace: z.ZodOptional<z.ZodString>;
|
|
@@ -5202,6 +5850,11 @@ export declare const SessionNewRequestSchema: z.ZodObject<{
|
|
|
5202
5850
|
safe: "safe";
|
|
5203
5851
|
}>>;
|
|
5204
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>>>;
|
|
5205
5858
|
}, z.core.$loose>;
|
|
5206
5859
|
/**
|
|
5207
5860
|
* `streaming` (TAL-802): live dictation over `TRANSCRIBE_STREAM_PATH` would open for this profile (`stt.streaming` on, a live provider wire).
|
|
@@ -6376,6 +7029,7 @@ export declare const WorkspacesSchema: z.ZodObject<{
|
|
|
6376
7029
|
}, z.core.$loose>;
|
|
6377
7030
|
export type Workspaces = z.infer<typeof WorkspacesSchema>;
|
|
6378
7031
|
export declare const FileEntrySchema: z.ZodObject<{
|
|
7032
|
+
read_only: z.ZodOptional<z.ZodBoolean>;
|
|
6379
7033
|
name: z.ZodString;
|
|
6380
7034
|
path: z.ZodOptional<z.ZodString>;
|
|
6381
7035
|
is_dir: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6389,9 +7043,15 @@ export declare const FileEntrySchema: z.ZodObject<{
|
|
|
6389
7043
|
target: z.ZodOptional<z.ZodString>;
|
|
6390
7044
|
target_outside_workspace: z.ZodOptional<z.ZodBoolean>;
|
|
6391
7045
|
}, z.core.$loose>;
|
|
7046
|
+
export declare const FileSourceSchema: z.ZodEnum<{
|
|
7047
|
+
workspace: "workspace";
|
|
7048
|
+
managed: "managed";
|
|
7049
|
+
}>;
|
|
6392
7050
|
export declare const DirListingSchema: z.ZodObject<{
|
|
7051
|
+
unavailable: z.ZodOptional<z.ZodBoolean>;
|
|
6393
7052
|
path: z.ZodOptional<z.ZodString>;
|
|
6394
7053
|
entries: z.ZodArray<z.ZodObject<{
|
|
7054
|
+
read_only: z.ZodOptional<z.ZodBoolean>;
|
|
6395
7055
|
name: z.ZodString;
|
|
6396
7056
|
path: z.ZodOptional<z.ZodString>;
|
|
6397
7057
|
is_dir: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6409,6 +7069,12 @@ export declare const DirListingSchema: z.ZodObject<{
|
|
|
6409
7069
|
workspace: z.ZodOptional<z.ZodString>;
|
|
6410
7070
|
workspace_recovered: z.ZodOptional<z.ZodBoolean>;
|
|
6411
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">>;
|
|
6412
7078
|
}, z.core.$loose>;
|
|
6413
7079
|
/** How a workspace file renders (TAL-566): media streams from `/api/file/raw`; text kinds carry `content`. */
|
|
6414
7080
|
export declare const FilePreviewKindSchema: z.ZodEnum<{
|
|
@@ -6426,6 +7092,7 @@ export type FilePreviewKind = z.infer<typeof FilePreviewKindSchema>;
|
|
|
6426
7092
|
/** `table` is a `csv` preview's leading rows (header first); `table_truncated` says the file has more. `preview_url` is an
|
|
6427
7093
|
* `html` preview's app-relative frame URL, under which the page's relative assets also resolve. */
|
|
6428
7094
|
export declare const FileContentSchema: z.ZodObject<{
|
|
7095
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6429
7096
|
path: z.ZodOptional<z.ZodString>;
|
|
6430
7097
|
content: z.ZodOptional<z.ZodString>;
|
|
6431
7098
|
lines: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6447,6 +7114,12 @@ export declare const FileContentSchema: z.ZodObject<{
|
|
|
6447
7114
|
table: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
6448
7115
|
table_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
6449
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">>;
|
|
6450
7123
|
}, z.core.$loose>;
|
|
6451
7124
|
export declare const GitInfoSchema: z.ZodObject<{
|
|
6452
7125
|
git: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -6762,6 +7435,7 @@ export declare const ProjectOsDashboardSchema: z.ZodObject<{
|
|
|
6762
7435
|
}, z.core.$loose>>;
|
|
6763
7436
|
docs: z.ZodObject<{
|
|
6764
7437
|
project: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7438
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6765
7439
|
path: z.ZodOptional<z.ZodString>;
|
|
6766
7440
|
content: z.ZodOptional<z.ZodString>;
|
|
6767
7441
|
lines: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6783,8 +7457,15 @@ export declare const ProjectOsDashboardSchema: z.ZodObject<{
|
|
|
6783
7457
|
table: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
6784
7458
|
table_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
6785
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">>;
|
|
6786
7466
|
}, z.core.$loose>>>;
|
|
6787
7467
|
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7468
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6788
7469
|
path: z.ZodOptional<z.ZodString>;
|
|
6789
7470
|
content: z.ZodOptional<z.ZodString>;
|
|
6790
7471
|
lines: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6806,8 +7487,15 @@ export declare const ProjectOsDashboardSchema: z.ZodObject<{
|
|
|
6806
7487
|
table: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
6807
7488
|
table_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
6808
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">>;
|
|
6809
7496
|
}, z.core.$loose>>>;
|
|
6810
7497
|
status: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7498
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6811
7499
|
path: z.ZodOptional<z.ZodString>;
|
|
6812
7500
|
content: z.ZodOptional<z.ZodString>;
|
|
6813
7501
|
lines: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6829,8 +7517,15 @@ export declare const ProjectOsDashboardSchema: z.ZodObject<{
|
|
|
6829
7517
|
table: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
6830
7518
|
table_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
6831
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">>;
|
|
6832
7526
|
}, z.core.$loose>>>;
|
|
6833
7527
|
blocker_resolver: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7528
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6834
7529
|
path: z.ZodOptional<z.ZodString>;
|
|
6835
7530
|
content: z.ZodOptional<z.ZodString>;
|
|
6836
7531
|
lines: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6852,6 +7547,12 @@ export declare const ProjectOsDashboardSchema: z.ZodObject<{
|
|
|
6852
7547
|
table: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
6853
7548
|
table_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
6854
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">>;
|
|
6855
7556
|
}, z.core.$loose>>>;
|
|
6856
7557
|
}, z.core.$strip>;
|
|
6857
7558
|
handoff: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -7064,6 +7765,28 @@ export declare const AgentRecoveryStateSchema: z.ZodObject<{
|
|
|
7064
7765
|
attempt: z.ZodNumber;
|
|
7065
7766
|
detail: z.ZodString;
|
|
7066
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>>;
|
|
7067
7790
|
}, z.core.$strip>;
|
|
7068
7791
|
export type AgentRecoveryState = z.infer<typeof AgentRecoveryStateSchema>;
|
|
7069
7792
|
export declare const UpdatesCheckSchema: z.ZodObject<{
|
|
@@ -7078,6 +7801,28 @@ export declare const UpdatesCheckSchema: z.ZodObject<{
|
|
|
7078
7801
|
attempt: z.ZodNumber;
|
|
7079
7802
|
detail: z.ZodString;
|
|
7080
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>>;
|
|
7081
7826
|
}, z.core.$strip>>;
|
|
7082
7827
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
7083
7828
|
cached: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -7260,6 +8005,10 @@ export declare const UpdatesSummarySchema: z.ZodObject<{
|
|
|
7260
8005
|
}, z.core.$strip>;
|
|
7261
8006
|
export type UpdatesSummary = z.infer<typeof UpdatesSummarySchema>;
|
|
7262
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>>;
|
|
7263
8012
|
recovery_compatibility: z.ZodOptional<z.ZodObject<{
|
|
7264
8013
|
manual_execution: z.ZodBoolean;
|
|
7265
8014
|
bot_chat_delivery: z.ZodBoolean;
|
|
@@ -7298,6 +8047,7 @@ export declare const UpdateNotificationPhaseSchema: z.ZodEnum<{
|
|
|
7298
8047
|
awaiting_confirmation: "awaiting_confirmation";
|
|
7299
8048
|
waiting_for_idle: "waiting_for_idle";
|
|
7300
8049
|
verifying: "verifying";
|
|
8050
|
+
recovering: "recovering";
|
|
7301
8051
|
succeeded: "succeeded";
|
|
7302
8052
|
}>;
|
|
7303
8053
|
export declare const UpdateNotificationActionSchema: z.ZodObject<{
|
|
@@ -7317,12 +8067,13 @@ export declare const UpdateNotificationDestinationSchema: z.ZodObject<{
|
|
|
7317
8067
|
/** TAL-1138: one step of an update as its Updating dialog lists it; the server derives every label and state. */
|
|
7318
8068
|
export declare const UpdateStepSchema: z.ZodObject<{
|
|
7319
8069
|
id: z.ZodEnum<{
|
|
7320
|
-
ready: "ready";
|
|
7321
|
-
gateway_restart: "gateway_restart";
|
|
7322
8070
|
install: "install";
|
|
8071
|
+
gateway_restart: "gateway_restart";
|
|
8072
|
+
agent_ready: "agent_ready";
|
|
8073
|
+
ready: "ready";
|
|
7323
8074
|
web_restart: "web_restart";
|
|
7324
8075
|
gateway_wait: "gateway_wait";
|
|
7325
|
-
|
|
8076
|
+
recovery: "recovery";
|
|
7326
8077
|
}>;
|
|
7327
8078
|
label: z.ZodString;
|
|
7328
8079
|
state: z.ZodEnum<{
|
|
@@ -7332,6 +8083,37 @@ export declare const UpdateStepSchema: z.ZodObject<{
|
|
|
7332
8083
|
done: "done";
|
|
7333
8084
|
}>;
|
|
7334
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>;
|
|
7335
8117
|
export declare const UpdateNotificationSchema: z.ZodObject<{
|
|
7336
8118
|
id: z.ZodUUID;
|
|
7337
8119
|
kind: z.ZodString;
|
|
@@ -7348,6 +8130,7 @@ export declare const UpdateNotificationSchema: z.ZodObject<{
|
|
|
7348
8130
|
awaiting_confirmation: "awaiting_confirmation";
|
|
7349
8131
|
waiting_for_idle: "waiting_for_idle";
|
|
7350
8132
|
verifying: "verifying";
|
|
8133
|
+
recovering: "recovering";
|
|
7351
8134
|
succeeded: "succeeded";
|
|
7352
8135
|
}>, z.ZodString]>;
|
|
7353
8136
|
severity: z.ZodEnum<{
|
|
@@ -7381,18 +8164,50 @@ export declare const UpdateNotificationSchema: z.ZodObject<{
|
|
|
7381
8164
|
verified_revision: z.ZodNullable<z.ZodString>;
|
|
7382
8165
|
verified_version: z.ZodNullable<z.ZodString>;
|
|
7383
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>>;
|
|
7384
8198
|
unread: z.ZodBoolean;
|
|
7385
8199
|
active: z.ZodBoolean;
|
|
7386
8200
|
requires_interaction: z.ZodBoolean;
|
|
7387
8201
|
can_dismiss: z.ZodBoolean;
|
|
7388
8202
|
steps: z.ZodArray<z.ZodObject<{
|
|
7389
8203
|
id: z.ZodEnum<{
|
|
7390
|
-
ready: "ready";
|
|
7391
|
-
gateway_restart: "gateway_restart";
|
|
7392
8204
|
install: "install";
|
|
8205
|
+
gateway_restart: "gateway_restart";
|
|
8206
|
+
agent_ready: "agent_ready";
|
|
8207
|
+
ready: "ready";
|
|
7393
8208
|
web_restart: "web_restart";
|
|
7394
8209
|
gateway_wait: "gateway_wait";
|
|
7395
|
-
|
|
8210
|
+
recovery: "recovery";
|
|
7396
8211
|
}>;
|
|
7397
8212
|
label: z.ZodString;
|
|
7398
8213
|
state: z.ZodEnum<{
|
|
@@ -7443,6 +8258,7 @@ export declare const UpdateNotificationsSchema: z.ZodObject<{
|
|
|
7443
8258
|
awaiting_confirmation: "awaiting_confirmation";
|
|
7444
8259
|
waiting_for_idle: "waiting_for_idle";
|
|
7445
8260
|
verifying: "verifying";
|
|
8261
|
+
recovering: "recovering";
|
|
7446
8262
|
succeeded: "succeeded";
|
|
7447
8263
|
}>, z.ZodString]>;
|
|
7448
8264
|
severity: z.ZodEnum<{
|
|
@@ -7476,18 +8292,50 @@ export declare const UpdateNotificationsSchema: z.ZodObject<{
|
|
|
7476
8292
|
verified_revision: z.ZodNullable<z.ZodString>;
|
|
7477
8293
|
verified_version: z.ZodNullable<z.ZodString>;
|
|
7478
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>>;
|
|
7479
8326
|
unread: z.ZodBoolean;
|
|
7480
8327
|
active: z.ZodBoolean;
|
|
7481
8328
|
requires_interaction: z.ZodBoolean;
|
|
7482
8329
|
can_dismiss: z.ZodBoolean;
|
|
7483
8330
|
steps: z.ZodArray<z.ZodObject<{
|
|
7484
8331
|
id: z.ZodEnum<{
|
|
7485
|
-
ready: "ready";
|
|
7486
|
-
gateway_restart: "gateway_restart";
|
|
7487
8332
|
install: "install";
|
|
8333
|
+
gateway_restart: "gateway_restart";
|
|
8334
|
+
agent_ready: "agent_ready";
|
|
8335
|
+
ready: "ready";
|
|
7488
8336
|
web_restart: "web_restart";
|
|
7489
8337
|
gateway_wait: "gateway_wait";
|
|
7490
|
-
|
|
8338
|
+
recovery: "recovery";
|
|
7491
8339
|
}>;
|
|
7492
8340
|
label: z.ZodString;
|
|
7493
8341
|
state: z.ZodEnum<{
|
|
@@ -7521,6 +8369,7 @@ export declare const UpdateNotificationsSchema: z.ZodObject<{
|
|
|
7521
8369
|
awaiting_confirmation: "awaiting_confirmation";
|
|
7522
8370
|
waiting_for_idle: "waiting_for_idle";
|
|
7523
8371
|
verifying: "verifying";
|
|
8372
|
+
recovering: "recovering";
|
|
7524
8373
|
succeeded: "succeeded";
|
|
7525
8374
|
}>, z.ZodString]>;
|
|
7526
8375
|
severity: z.ZodEnum<{
|
|
@@ -7554,18 +8403,50 @@ export declare const UpdateNotificationsSchema: z.ZodObject<{
|
|
|
7554
8403
|
verified_revision: z.ZodNullable<z.ZodString>;
|
|
7555
8404
|
verified_version: z.ZodNullable<z.ZodString>;
|
|
7556
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>>;
|
|
7557
8437
|
unread: z.ZodBoolean;
|
|
7558
8438
|
active: z.ZodBoolean;
|
|
7559
8439
|
requires_interaction: z.ZodBoolean;
|
|
7560
8440
|
can_dismiss: z.ZodBoolean;
|
|
7561
8441
|
steps: z.ZodArray<z.ZodObject<{
|
|
7562
8442
|
id: z.ZodEnum<{
|
|
7563
|
-
ready: "ready";
|
|
7564
|
-
gateway_restart: "gateway_restart";
|
|
7565
8443
|
install: "install";
|
|
8444
|
+
gateway_restart: "gateway_restart";
|
|
8445
|
+
agent_ready: "agent_ready";
|
|
8446
|
+
ready: "ready";
|
|
7566
8447
|
web_restart: "web_restart";
|
|
7567
8448
|
gateway_wait: "gateway_wait";
|
|
7568
|
-
|
|
8449
|
+
recovery: "recovery";
|
|
7569
8450
|
}>;
|
|
7570
8451
|
label: z.ZodString;
|
|
7571
8452
|
state: z.ZodEnum<{
|
|
@@ -7733,6 +8614,55 @@ export declare const PluginsSchema: z.ZodObject<{
|
|
|
7733
8614
|
plugin_isolation_advisory: z.ZodOptional<z.ZodBoolean>;
|
|
7734
8615
|
}, z.core.$loose>;
|
|
7735
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>>>;
|
|
7736
8666
|
name: z.ZodString;
|
|
7737
8667
|
id: z.ZodOptional<z.ZodString>;
|
|
7738
8668
|
transport: z.ZodOptional<z.ZodString>;
|
|
@@ -7749,6 +8679,55 @@ export declare const McpServerSchema: z.ZodObject<{
|
|
|
7749
8679
|
}, z.core.$loose>;
|
|
7750
8680
|
export declare const McpServersSchema: z.ZodObject<{
|
|
7751
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>>>;
|
|
7752
8731
|
name: z.ZodString;
|
|
7753
8732
|
id: z.ZodOptional<z.ZodString>;
|
|
7754
8733
|
transport: z.ZodOptional<z.ZodString>;
|
|
@@ -7774,8 +8753,8 @@ export declare const ConnectorAccountViewSchema: z.ZodObject<{
|
|
|
7774
8753
|
problem: z.ZodNullable<z.ZodEnum<{
|
|
7775
8754
|
pending: "pending";
|
|
7776
8755
|
expired: "expired";
|
|
7777
|
-
revoked: "revoked";
|
|
7778
8756
|
failed: "failed";
|
|
8757
|
+
revoked: "revoked";
|
|
7779
8758
|
inactive: "inactive";
|
|
7780
8759
|
}>>;
|
|
7781
8760
|
status_reason: z.ZodNullable<z.ZodString>;
|
|
@@ -7800,8 +8779,8 @@ export declare const ConnectorViewSchema: z.ZodObject<{
|
|
|
7800
8779
|
problem: z.ZodNullable<z.ZodEnum<{
|
|
7801
8780
|
pending: "pending";
|
|
7802
8781
|
expired: "expired";
|
|
7803
|
-
revoked: "revoked";
|
|
7804
8782
|
failed: "failed";
|
|
8783
|
+
revoked: "revoked";
|
|
7805
8784
|
inactive: "inactive";
|
|
7806
8785
|
}>>;
|
|
7807
8786
|
status_reason: z.ZodNullable<z.ZodString>;
|
|
@@ -7835,8 +8814,8 @@ export declare const ConnectorsPageSchema: z.ZodObject<{
|
|
|
7835
8814
|
problem: z.ZodNullable<z.ZodEnum<{
|
|
7836
8815
|
pending: "pending";
|
|
7837
8816
|
expired: "expired";
|
|
7838
|
-
revoked: "revoked";
|
|
7839
8817
|
failed: "failed";
|
|
8818
|
+
revoked: "revoked";
|
|
7840
8819
|
inactive: "inactive";
|
|
7841
8820
|
}>>;
|
|
7842
8821
|
status_reason: z.ZodNullable<z.ZodString>;
|
|
@@ -7897,17 +8876,17 @@ export declare const ConnectorOperationViewSchema: z.ZodObject<{
|
|
|
7897
8876
|
pending: "pending";
|
|
7898
8877
|
expired: "expired";
|
|
7899
8878
|
skipped: "skipped";
|
|
8879
|
+
failed: "failed";
|
|
7900
8880
|
initiated: "initiated";
|
|
7901
8881
|
connected: "connected";
|
|
7902
|
-
failed: "failed";
|
|
7903
8882
|
not_connected: "not_connected";
|
|
7904
8883
|
}>;
|
|
7905
8884
|
detail: z.ZodString;
|
|
7906
8885
|
connect_url: z.ZodNullable<z.ZodString>;
|
|
7907
8886
|
actions: z.ZodArray<z.ZodEnum<{
|
|
7908
8887
|
retry: "retry";
|
|
7909
|
-
skip: "skip";
|
|
7910
8888
|
approve: "approve";
|
|
8889
|
+
skip: "skip";
|
|
7911
8890
|
}>>;
|
|
7912
8891
|
env_fields: z.ZodArray<z.ZodObject<{
|
|
7913
8892
|
name: z.ZodString;
|
|
@@ -8658,6 +9637,57 @@ export declare const KanbanColumnSchema: z.ZodObject<{
|
|
|
8658
9637
|
updated_at: z.ZodOptional<z.ZodUnknown>;
|
|
8659
9638
|
}, z.core.$loose>>;
|
|
8660
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>;
|
|
8661
9691
|
/** One profile lane (TAL-567): an assignee's tasks (`null` = unassigned) across every board column, with its task count. */
|
|
8662
9692
|
export declare const KanbanLaneSchema: z.ZodObject<{
|
|
8663
9693
|
assignee: z.ZodNullable<z.ZodString>;
|