@maudecode/talaria-web-contracts 1.20.0 → 1.22.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/agent-imports.d.ts +42 -0
- package/dist/agent-imports.js +11 -0
- package/dist/agent-imports.js.map +1 -0
- 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 +3 -3
- package/dist/delegation.d.ts +206 -0
- package/dist/delegation.js +32 -0
- package/dist/delegation.js.map +1 -0
- package/dist/gateway-session.d.ts +183 -6
- package/dist/gateway-session.js +28 -2
- package/dist/gateway-session.js.map +1 -1
- package/dist/groups-native.d.ts +427 -0
- package/dist/groups-native.js +40 -0
- package/dist/groups-native.js.map +1 -0
- package/dist/groups.d.ts +1545 -0
- package/dist/groups.js +12 -0
- package/dist/groups.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +9 -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/openapi.js +4 -0
- package/dist/openapi.js.map +1 -1
- 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/plan-usage.d.ts +92 -0
- package/dist/plan-usage.js +20 -0
- package/dist/plan-usage.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 +13 -17691
- package/dist/router.js +4 -1
- package/dist/router.js.map +1 -1
- package/dist/routes/automation.d.ts +335 -16
- package/dist/routes/automation.js +16 -2
- package/dist/routes/automation.js.map +1 -1
- package/dist/routes/chat.d.ts +756 -83
- 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/groups.d.ts +860 -0
- package/dist/routes/groups.js +13 -0
- package/dist/routes/groups.js.map +1 -0
- package/dist/routes/raw.js +13 -3
- package/dist/routes/raw.js.map +1 -1
- package/dist/routes/sessions.d.ts +2055 -214
- package/dist/routes/sessions.js +5 -0
- package/dist/routes/sessions.js.map +1 -1
- package/dist/routes/settings.d.ts +949 -1
- package/dist/routes/settings.js +26 -0
- package/dist/routes/settings.js.map +1 -1
- package/dist/routes/tools.d.ts +640 -51
- package/dist/routes/tools.js +24 -3
- package/dist/routes/tools.js.map +1 -1
- package/dist/routes/workspaces.d.ts +47 -2
- package/dist/routes/workspaces.js +5 -4
- package/dist/routes/workspaces.js.map +1 -1
- package/dist/sidecar/methods.d.ts +827 -29
- package/dist/sidecar/methods.js +3 -1
- package/dist/sidecar/methods.js.map +1 -1
- package/dist/sidecar/namespaces.d.ts +941 -42
- package/dist/sidecar/namespaces.js +66 -6
- package/dist/sidecar/namespaces.js.map +1 -1
- package/dist/sidecar/rpc.d.ts +3 -3
- 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 +219 -26
- package/dist/sse.js +11 -5
- package/dist/sse.js.map +1 -1
- package/dist/views.d.ts +1916 -175
- package/dist/views.js +100 -35
- package/dist/views.js.map +1 -1
- package/fixtures/sidecar/agent-imports.json +6 -0
- package/fixtures/sidecar/aux.json +58 -0
- package/fixtures/sidecar/connectors.json +29 -0
- package/fixtures/sidecar/gateway.json +45 -0
- package/fixtures/sidecar/groups.json +18 -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/providers.json +37 -1
- package/fixtures/sidecar/runtime.json +3 -3
- package/fixtures/sidecar/skills.json +19 -2
- package/fixtures/sidecar/tts.json +6 -0
- package/package.json +1 -1
package/dist/views.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export declare const UnixSeconds: z.ZodNumber;
|
|
|
13
13
|
export declare const SessionIdSchema: z.ZodString;
|
|
14
14
|
export type SessionId = z.infer<typeof SessionIdSchema>;
|
|
15
15
|
export declare const AttachmentSchema: z.ZodObject<{
|
|
16
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
16
17
|
filename: z.ZodOptional<z.ZodString>;
|
|
17
18
|
name: z.ZodOptional<z.ZodString>;
|
|
18
19
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -24,11 +25,11 @@ export declare const AttachmentSchema: z.ZodObject<{
|
|
|
24
25
|
export type Attachment = z.infer<typeof AttachmentSchema>;
|
|
25
26
|
/** The server's display class for a tool call: clients map it to an icon and localized verb, and never classify names themselves. */
|
|
26
27
|
export declare const ToolKindSchema: z.ZodEnum<{
|
|
27
|
-
memory: "memory";
|
|
28
28
|
unknown: "unknown";
|
|
29
|
+
memory: "memory";
|
|
29
30
|
shell: "shell";
|
|
30
|
-
read: "read";
|
|
31
31
|
list: "list";
|
|
32
|
+
read: "read";
|
|
32
33
|
search: "search";
|
|
33
34
|
web: "web";
|
|
34
35
|
write: "write";
|
|
@@ -117,11 +118,11 @@ export declare const ToolDisplayFields: {
|
|
|
117
118
|
message: z.ZodNullable<z.ZodString>;
|
|
118
119
|
}, z.core.$strip>>>;
|
|
119
120
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
120
|
-
memory: "memory";
|
|
121
121
|
unknown: "unknown";
|
|
122
|
+
memory: "memory";
|
|
122
123
|
shell: "shell";
|
|
123
|
-
read: "read";
|
|
124
124
|
list: "list";
|
|
125
|
+
read: "read";
|
|
125
126
|
search: "search";
|
|
126
127
|
web: "web";
|
|
127
128
|
write: "write";
|
|
@@ -153,6 +154,7 @@ export declare const ToolDisplayFields: {
|
|
|
153
154
|
}, z.core.$strip>>;
|
|
154
155
|
}, z.core.$strip>>;
|
|
155
156
|
}, z.core.$strip>>;
|
|
157
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
156
158
|
};
|
|
157
159
|
/**
|
|
158
160
|
* TAL-315: a tool result's display sections, decided by the server's one rule for live, replayed and persisted results
|
|
@@ -161,6 +163,10 @@ export declare const ToolDisplayFields: {
|
|
|
161
163
|
* shows `preview`.
|
|
162
164
|
*/
|
|
163
165
|
export declare const ToolResultViewSchema: z.ZodObject<{
|
|
166
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
167
|
+
draft_id: z.ZodString;
|
|
168
|
+
card: z.ZodNumber;
|
|
169
|
+
}, z.core.$strip>>;
|
|
164
170
|
text: z.ZodOptional<z.ZodString>;
|
|
165
171
|
stdout: z.ZodOptional<z.ZodString>;
|
|
166
172
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -190,6 +196,10 @@ export declare const ToolCallSchema: z.ZodObject<{
|
|
|
190
196
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
191
197
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
192
198
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
199
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
200
|
+
draft_id: z.ZodString;
|
|
201
|
+
card: z.ZodNumber;
|
|
202
|
+
}, z.core.$strip>>;
|
|
193
203
|
text: z.ZodOptional<z.ZodString>;
|
|
194
204
|
stdout: z.ZodOptional<z.ZodString>;
|
|
195
205
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -206,11 +216,11 @@ export declare const ToolCallSchema: z.ZodObject<{
|
|
|
206
216
|
message: z.ZodNullable<z.ZodString>;
|
|
207
217
|
}, z.core.$strip>>>;
|
|
208
218
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
209
|
-
memory: "memory";
|
|
210
219
|
unknown: "unknown";
|
|
220
|
+
memory: "memory";
|
|
211
221
|
shell: "shell";
|
|
212
|
-
read: "read";
|
|
213
222
|
list: "list";
|
|
223
|
+
read: "read";
|
|
214
224
|
search: "search";
|
|
215
225
|
web: "web";
|
|
216
226
|
write: "write";
|
|
@@ -242,6 +252,7 @@ export declare const ToolCallSchema: z.ZodObject<{
|
|
|
242
252
|
}, z.core.$strip>>;
|
|
243
253
|
}, z.core.$strip>>;
|
|
244
254
|
}, z.core.$strip>>;
|
|
255
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
245
256
|
}, z.core.$loose>;
|
|
246
257
|
export type ToolCall = z.infer<typeof ToolCallSchema>;
|
|
247
258
|
export declare const ContentPartSchema: z.ZodObject<{
|
|
@@ -269,8 +280,8 @@ export declare const BackgroundLinkSchema: z.ZodObject<{
|
|
|
269
280
|
status: z.ZodEnum<{
|
|
270
281
|
unknown: "unknown";
|
|
271
282
|
running: "running";
|
|
272
|
-
cancelled: "cancelled";
|
|
273
283
|
failed: "failed";
|
|
284
|
+
cancelled: "cancelled";
|
|
274
285
|
completed: "completed";
|
|
275
286
|
attention: "attention";
|
|
276
287
|
}>;
|
|
@@ -296,9 +307,9 @@ export declare const DisplayMediaSchema: z.ZodObject<{
|
|
|
296
307
|
kind: z.ZodEnum<{
|
|
297
308
|
file: "file";
|
|
298
309
|
image: "image";
|
|
310
|
+
pdf: "pdf";
|
|
299
311
|
audio: "audio";
|
|
300
312
|
video: "video";
|
|
301
|
-
pdf: "pdf";
|
|
302
313
|
}>;
|
|
303
314
|
}, z.core.$strip>;
|
|
304
315
|
export type DisplayMedia = z.infer<typeof DisplayMediaSchema>;
|
|
@@ -323,9 +334,9 @@ export declare const ActivitySceneRowSchema: z.ZodObject<{
|
|
|
323
334
|
kind: z.ZodEnum<{
|
|
324
335
|
file: "file";
|
|
325
336
|
image: "image";
|
|
337
|
+
pdf: "pdf";
|
|
326
338
|
audio: "audio";
|
|
327
339
|
video: "video";
|
|
328
|
-
pdf: "pdf";
|
|
329
340
|
}>;
|
|
330
341
|
}, z.core.$strip>>>;
|
|
331
342
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -333,6 +344,10 @@ export declare const ActivitySceneRowSchema: z.ZodObject<{
|
|
|
333
344
|
preview: z.ZodNullable<z.ZodString>;
|
|
334
345
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
335
346
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
347
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
348
|
+
draft_id: z.ZodString;
|
|
349
|
+
card: z.ZodNumber;
|
|
350
|
+
}, z.core.$strip>>;
|
|
336
351
|
text: z.ZodOptional<z.ZodString>;
|
|
337
352
|
stdout: z.ZodOptional<z.ZodString>;
|
|
338
353
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -348,8 +363,8 @@ export declare const ActivitySceneRowSchema: z.ZodObject<{
|
|
|
348
363
|
status: z.ZodEnum<{
|
|
349
364
|
unknown: "unknown";
|
|
350
365
|
running: "running";
|
|
351
|
-
cancelled: "cancelled";
|
|
352
366
|
failed: "failed";
|
|
367
|
+
cancelled: "cancelled";
|
|
353
368
|
completed: "completed";
|
|
354
369
|
attention: "attention";
|
|
355
370
|
}>;
|
|
@@ -367,11 +382,11 @@ export declare const ActivitySceneRowSchema: z.ZodObject<{
|
|
|
367
382
|
message: z.ZodNullable<z.ZodString>;
|
|
368
383
|
}, z.core.$strip>>>;
|
|
369
384
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
370
|
-
memory: "memory";
|
|
371
385
|
unknown: "unknown";
|
|
386
|
+
memory: "memory";
|
|
372
387
|
shell: "shell";
|
|
373
|
-
read: "read";
|
|
374
388
|
list: "list";
|
|
389
|
+
read: "read";
|
|
375
390
|
search: "search";
|
|
376
391
|
web: "web";
|
|
377
392
|
write: "write";
|
|
@@ -403,6 +418,7 @@ export declare const ActivitySceneRowSchema: z.ZodObject<{
|
|
|
403
418
|
}, z.core.$strip>>;
|
|
404
419
|
}, z.core.$strip>>;
|
|
405
420
|
}, z.core.$strip>>;
|
|
421
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
406
422
|
id: z.ZodString;
|
|
407
423
|
name: z.ZodString;
|
|
408
424
|
}, z.core.$loose>>;
|
|
@@ -460,9 +476,9 @@ export declare const ActivitySceneSchema: z.ZodObject<{
|
|
|
460
476
|
kind: z.ZodEnum<{
|
|
461
477
|
file: "file";
|
|
462
478
|
image: "image";
|
|
479
|
+
pdf: "pdf";
|
|
463
480
|
audio: "audio";
|
|
464
481
|
video: "video";
|
|
465
|
-
pdf: "pdf";
|
|
466
482
|
}>;
|
|
467
483
|
}, z.core.$strip>>>;
|
|
468
484
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -470,6 +486,10 @@ export declare const ActivitySceneSchema: z.ZodObject<{
|
|
|
470
486
|
preview: z.ZodNullable<z.ZodString>;
|
|
471
487
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
472
488
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
489
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
490
|
+
draft_id: z.ZodString;
|
|
491
|
+
card: z.ZodNumber;
|
|
492
|
+
}, z.core.$strip>>;
|
|
473
493
|
text: z.ZodOptional<z.ZodString>;
|
|
474
494
|
stdout: z.ZodOptional<z.ZodString>;
|
|
475
495
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -485,8 +505,8 @@ export declare const ActivitySceneSchema: z.ZodObject<{
|
|
|
485
505
|
status: z.ZodEnum<{
|
|
486
506
|
unknown: "unknown";
|
|
487
507
|
running: "running";
|
|
488
|
-
cancelled: "cancelled";
|
|
489
508
|
failed: "failed";
|
|
509
|
+
cancelled: "cancelled";
|
|
490
510
|
completed: "completed";
|
|
491
511
|
attention: "attention";
|
|
492
512
|
}>;
|
|
@@ -504,11 +524,11 @@ export declare const ActivitySceneSchema: z.ZodObject<{
|
|
|
504
524
|
message: z.ZodNullable<z.ZodString>;
|
|
505
525
|
}, z.core.$strip>>>;
|
|
506
526
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
507
|
-
memory: "memory";
|
|
508
527
|
unknown: "unknown";
|
|
528
|
+
memory: "memory";
|
|
509
529
|
shell: "shell";
|
|
510
|
-
read: "read";
|
|
511
530
|
list: "list";
|
|
531
|
+
read: "read";
|
|
512
532
|
search: "search";
|
|
513
533
|
web: "web";
|
|
514
534
|
write: "write";
|
|
@@ -540,6 +560,7 @@ export declare const ActivitySceneSchema: z.ZodObject<{
|
|
|
540
560
|
}, z.core.$strip>>;
|
|
541
561
|
}, z.core.$strip>>;
|
|
542
562
|
}, z.core.$strip>>;
|
|
563
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
543
564
|
id: z.ZodString;
|
|
544
565
|
name: z.ZodString;
|
|
545
566
|
}, z.core.$loose>>;
|
|
@@ -562,9 +583,9 @@ export declare const ActivitySceneSchema: z.ZodObject<{
|
|
|
562
583
|
kind: z.ZodEnum<{
|
|
563
584
|
file: "file";
|
|
564
585
|
image: "image";
|
|
586
|
+
pdf: "pdf";
|
|
565
587
|
audio: "audio";
|
|
566
588
|
video: "video";
|
|
567
|
-
pdf: "pdf";
|
|
568
589
|
}>;
|
|
569
590
|
}, z.core.$strip>>>;
|
|
570
591
|
terminal_state: z.ZodOptional<z.ZodString>;
|
|
@@ -599,9 +620,9 @@ export type BackgroundReviewState = z.infer<typeof BackgroundReviewStateSchema>;
|
|
|
599
620
|
/** One finished background item (see `_background_update.lines`). */
|
|
600
621
|
export declare const BackgroundLineSchema: z.ZodObject<{
|
|
601
622
|
kind: z.ZodEnum<{
|
|
602
|
-
command: "command";
|
|
603
623
|
agent: "agent";
|
|
604
624
|
other: "other";
|
|
625
|
+
command: "command";
|
|
605
626
|
}>;
|
|
606
627
|
status: z.ZodEnum<{
|
|
607
628
|
failed: "failed";
|
|
@@ -628,7 +649,65 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
628
649
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
629
650
|
message_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
630
651
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
652
|
+
reaction_view: z.ZodOptional<z.ZodObject<{
|
|
653
|
+
row_id: z.ZodNumber;
|
|
654
|
+
state: z.ZodObject<{
|
|
655
|
+
items: z.ZodArray<z.ZodObject<{
|
|
656
|
+
emoji: z.ZodEnum<{
|
|
657
|
+
"\uD83D\uDC4D": "👍";
|
|
658
|
+
"\uD83D\uDC4E": "👎";
|
|
659
|
+
"\u2764\uFE0F": "❤️";
|
|
660
|
+
"\uD83D\uDE02": "😂";
|
|
661
|
+
"\uD83D\uDE2E": "😮";
|
|
662
|
+
"\uD83C\uDF89": "🎉";
|
|
663
|
+
}>;
|
|
664
|
+
count: z.ZodNumber;
|
|
665
|
+
mine: z.ZodBoolean;
|
|
666
|
+
}, z.core.$strip>>;
|
|
667
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
668
|
+
"\uD83D\uDC4D": "👍";
|
|
669
|
+
"\uD83D\uDC4E": "👎";
|
|
670
|
+
"\u2764\uFE0F": "❤️";
|
|
671
|
+
"\uD83D\uDE02": "😂";
|
|
672
|
+
"\uD83D\uDE2E": "😮";
|
|
673
|
+
"\uD83C\uDF89": "🎉";
|
|
674
|
+
}>>;
|
|
675
|
+
}, z.core.$strip>;
|
|
676
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
677
|
+
emoji: z.ZodNullable<z.ZodEnum<{
|
|
678
|
+
"\uD83D\uDC4D": "👍";
|
|
679
|
+
"\uD83D\uDC4E": "👎";
|
|
680
|
+
"\u2764\uFE0F": "❤️";
|
|
681
|
+
"\uD83D\uDE02": "😂";
|
|
682
|
+
"\uD83D\uDE2E": "😮";
|
|
683
|
+
"\uD83C\uDF89": "🎉";
|
|
684
|
+
}>>;
|
|
685
|
+
result: z.ZodObject<{
|
|
686
|
+
items: z.ZodArray<z.ZodObject<{
|
|
687
|
+
emoji: z.ZodEnum<{
|
|
688
|
+
"\uD83D\uDC4D": "👍";
|
|
689
|
+
"\uD83D\uDC4E": "👎";
|
|
690
|
+
"\u2764\uFE0F": "❤️";
|
|
691
|
+
"\uD83D\uDE02": "😂";
|
|
692
|
+
"\uD83D\uDE2E": "😮";
|
|
693
|
+
"\uD83C\uDF89": "🎉";
|
|
694
|
+
}>;
|
|
695
|
+
count: z.ZodNumber;
|
|
696
|
+
mine: z.ZodBoolean;
|
|
697
|
+
}, z.core.$strip>>;
|
|
698
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
699
|
+
"\uD83D\uDC4D": "👍";
|
|
700
|
+
"\uD83D\uDC4E": "👎";
|
|
701
|
+
"\u2764\uFE0F": "❤️";
|
|
702
|
+
"\uD83D\uDE02": "😂";
|
|
703
|
+
"\uD83D\uDE2E": "😮";
|
|
704
|
+
"\uD83C\uDF89": "🎉";
|
|
705
|
+
}>>;
|
|
706
|
+
}, z.core.$strip>;
|
|
707
|
+
}, z.core.$strip>>;
|
|
708
|
+
}, z.core.$strip>>;
|
|
631
709
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
710
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
632
711
|
filename: z.ZodOptional<z.ZodString>;
|
|
633
712
|
name: z.ZodOptional<z.ZodString>;
|
|
634
713
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -652,6 +731,10 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
652
731
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
653
732
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
654
733
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
734
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
735
|
+
draft_id: z.ZodString;
|
|
736
|
+
card: z.ZodNumber;
|
|
737
|
+
}, z.core.$strip>>;
|
|
655
738
|
text: z.ZodOptional<z.ZodString>;
|
|
656
739
|
stdout: z.ZodOptional<z.ZodString>;
|
|
657
740
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -668,11 +751,11 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
668
751
|
message: z.ZodNullable<z.ZodString>;
|
|
669
752
|
}, z.core.$strip>>>;
|
|
670
753
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
671
|
-
memory: "memory";
|
|
672
754
|
unknown: "unknown";
|
|
755
|
+
memory: "memory";
|
|
673
756
|
shell: "shell";
|
|
674
|
-
read: "read";
|
|
675
757
|
list: "list";
|
|
758
|
+
read: "read";
|
|
676
759
|
search: "search";
|
|
677
760
|
web: "web";
|
|
678
761
|
write: "write";
|
|
@@ -704,6 +787,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
704
787
|
}, z.core.$strip>>;
|
|
705
788
|
}, z.core.$strip>>;
|
|
706
789
|
}, z.core.$strip>>;
|
|
790
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
707
791
|
}, z.core.$loose>>>;
|
|
708
792
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
709
793
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
@@ -736,9 +820,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
736
820
|
kind: z.ZodEnum<{
|
|
737
821
|
file: "file";
|
|
738
822
|
image: "image";
|
|
823
|
+
pdf: "pdf";
|
|
739
824
|
audio: "audio";
|
|
740
825
|
video: "video";
|
|
741
|
-
pdf: "pdf";
|
|
742
826
|
}>;
|
|
743
827
|
}, z.core.$strip>>>;
|
|
744
828
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -746,6 +830,10 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
746
830
|
preview: z.ZodNullable<z.ZodString>;
|
|
747
831
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
748
832
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
833
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
834
|
+
draft_id: z.ZodString;
|
|
835
|
+
card: z.ZodNumber;
|
|
836
|
+
}, z.core.$strip>>;
|
|
749
837
|
text: z.ZodOptional<z.ZodString>;
|
|
750
838
|
stdout: z.ZodOptional<z.ZodString>;
|
|
751
839
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -761,8 +849,8 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
761
849
|
status: z.ZodEnum<{
|
|
762
850
|
unknown: "unknown";
|
|
763
851
|
running: "running";
|
|
764
|
-
cancelled: "cancelled";
|
|
765
852
|
failed: "failed";
|
|
853
|
+
cancelled: "cancelled";
|
|
766
854
|
completed: "completed";
|
|
767
855
|
attention: "attention";
|
|
768
856
|
}>;
|
|
@@ -780,11 +868,11 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
780
868
|
message: z.ZodNullable<z.ZodString>;
|
|
781
869
|
}, z.core.$strip>>>;
|
|
782
870
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
783
|
-
memory: "memory";
|
|
784
871
|
unknown: "unknown";
|
|
872
|
+
memory: "memory";
|
|
785
873
|
shell: "shell";
|
|
786
|
-
read: "read";
|
|
787
874
|
list: "list";
|
|
875
|
+
read: "read";
|
|
788
876
|
search: "search";
|
|
789
877
|
web: "web";
|
|
790
878
|
write: "write";
|
|
@@ -816,6 +904,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
816
904
|
}, z.core.$strip>>;
|
|
817
905
|
}, z.core.$strip>>;
|
|
818
906
|
}, z.core.$strip>>;
|
|
907
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
819
908
|
id: z.ZodString;
|
|
820
909
|
name: z.ZodString;
|
|
821
910
|
}, z.core.$loose>>;
|
|
@@ -838,9 +927,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
838
927
|
kind: z.ZodEnum<{
|
|
839
928
|
file: "file";
|
|
840
929
|
image: "image";
|
|
930
|
+
pdf: "pdf";
|
|
841
931
|
audio: "audio";
|
|
842
932
|
video: "video";
|
|
843
|
-
pdf: "pdf";
|
|
844
933
|
}>;
|
|
845
934
|
}, z.core.$strip>>>;
|
|
846
935
|
terminal_state: z.ZodOptional<z.ZodString>;
|
|
@@ -886,9 +975,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
886
975
|
kind: z.ZodEnum<{
|
|
887
976
|
file: "file";
|
|
888
977
|
image: "image";
|
|
978
|
+
pdf: "pdf";
|
|
889
979
|
audio: "audio";
|
|
890
980
|
video: "video";
|
|
891
|
-
pdf: "pdf";
|
|
892
981
|
}>;
|
|
893
982
|
}, z.core.$strip>>>;
|
|
894
983
|
_background_update: z.ZodOptional<z.ZodObject<{
|
|
@@ -903,9 +992,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
903
992
|
summary: z.ZodString;
|
|
904
993
|
lines: z.ZodArray<z.ZodObject<{
|
|
905
994
|
kind: z.ZodEnum<{
|
|
906
|
-
command: "command";
|
|
907
995
|
agent: "agent";
|
|
908
996
|
other: "other";
|
|
997
|
+
command: "command";
|
|
909
998
|
}>;
|
|
910
999
|
status: z.ZodEnum<{
|
|
911
1000
|
failed: "failed";
|
|
@@ -987,8 +1076,8 @@ export type PendingSteer = z.infer<typeof PendingSteerSchema>;
|
|
|
987
1076
|
export declare const SessionNoticeSchema: z.ZodObject<{
|
|
988
1077
|
key: z.ZodString;
|
|
989
1078
|
level: z.ZodEnum<{
|
|
990
|
-
error: "error";
|
|
991
1079
|
success: "success";
|
|
1080
|
+
error: "error";
|
|
992
1081
|
info: "info";
|
|
993
1082
|
warn: "warn";
|
|
994
1083
|
}>;
|
|
@@ -1036,23 +1125,81 @@ export declare const SourceKindSchema: z.ZodEnum<{
|
|
|
1036
1125
|
kanban: "kanban";
|
|
1037
1126
|
api: "api";
|
|
1038
1127
|
}>;
|
|
1039
|
-
/**
|
|
1040
|
-
* TAL-560: the "Context compaction · Reference only" card, on payloads that carry `messages`. Clients render `text` after
|
|
1041
|
-
* the row at full-transcript index `after_message_index` (row `after_message_index - _messages_offset` of `messages`), or
|
|
1042
|
-
* above the loaded rows when it is null or before them. Null: no card.
|
|
1043
|
-
*/
|
|
1044
|
-
export declare const CompressionReferenceSchema: z.ZodObject<{
|
|
1045
|
-
text: z.ZodString;
|
|
1046
|
-
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
1047
|
-
}, z.core.$strip>;
|
|
1048
|
-
export type CompressionReference = z.infer<typeof CompressionReferenceSchema>;
|
|
1049
1128
|
/** TAL-454: the chat a `/branch` copied, with its redacted title. */
|
|
1050
1129
|
export declare const BranchedFromSchema: z.ZodObject<{
|
|
1051
1130
|
session_id: z.ZodString;
|
|
1052
1131
|
title: z.ZodString;
|
|
1053
1132
|
}, z.core.$strip>;
|
|
1054
1133
|
export type BranchedFrom = z.infer<typeof BranchedFromSchema>;
|
|
1134
|
+
export declare const MAX_SOURCE_REFERENCES = 5;
|
|
1135
|
+
export declare const SourceReferenceSchema: z.ZodObject<{
|
|
1136
|
+
session_id: z.ZodString;
|
|
1137
|
+
tip_session_id: z.ZodString;
|
|
1138
|
+
profile: z.ZodString;
|
|
1139
|
+
}, z.core.$strip>;
|
|
1140
|
+
export type SourceReference = z.infer<typeof SourceReferenceSchema>;
|
|
1141
|
+
export declare const AcceptedSourceReferenceSchema: z.ZodObject<{
|
|
1142
|
+
session_id: z.ZodString;
|
|
1143
|
+
tip_session_id: z.ZodString;
|
|
1144
|
+
profile: z.ZodString;
|
|
1145
|
+
title: z.ZodString;
|
|
1146
|
+
}, z.core.$strip>;
|
|
1147
|
+
export type AcceptedSourceReference = z.infer<typeof AcceptedSourceReferenceSchema>;
|
|
1055
1148
|
/** Full session record from `GET /api/session` and mutations returning `session`. */
|
|
1149
|
+
export declare const SessionActivityPhaseSchema: z.ZodEnum<{
|
|
1150
|
+
stale: "stale";
|
|
1151
|
+
running: "running";
|
|
1152
|
+
failed: "failed";
|
|
1153
|
+
cancelled: "cancelled";
|
|
1154
|
+
completed: "completed";
|
|
1155
|
+
starting: "starting";
|
|
1156
|
+
waiting_for_approval: "waiting_for_approval";
|
|
1157
|
+
waiting_for_input: "waiting_for_input";
|
|
1158
|
+
}>;
|
|
1159
|
+
export type SessionActivityPhase = z.infer<typeof SessionActivityPhaseSchema>;
|
|
1160
|
+
/** Raw rows remain for older clients; current clients render only the server-normalized display items. */
|
|
1161
|
+
export declare const TodoItemSchema: z.ZodObject<{
|
|
1162
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1163
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1164
|
+
content: z.ZodOptional<z.ZodString>;
|
|
1165
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1166
|
+
status: z.ZodOptional<z.ZodString>;
|
|
1167
|
+
done: z.ZodOptional<z.ZodBoolean>;
|
|
1168
|
+
completed: z.ZodOptional<z.ZodBoolean>;
|
|
1169
|
+
}, z.core.$loose>;
|
|
1170
|
+
export declare const TodoStateSchema: z.ZodObject<{
|
|
1171
|
+
display_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1172
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1173
|
+
text: z.ZodString;
|
|
1174
|
+
state: z.ZodEnum<{
|
|
1175
|
+
pending: "pending";
|
|
1176
|
+
cancelled: "cancelled";
|
|
1177
|
+
completed: "completed";
|
|
1178
|
+
in_progress: "in_progress";
|
|
1179
|
+
}>;
|
|
1180
|
+
}, z.core.$strip>>>;
|
|
1181
|
+
total_count: z.ZodOptional<z.ZodNumber>;
|
|
1182
|
+
completed_count: z.ZodOptional<z.ZodNumber>;
|
|
1183
|
+
pending_count: z.ZodOptional<z.ZodNumber>;
|
|
1184
|
+
in_progress_count: z.ZodOptional<z.ZodNumber>;
|
|
1185
|
+
cancelled_count: z.ZodOptional<z.ZodNumber>;
|
|
1186
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
1187
|
+
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1188
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1189
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1190
|
+
content: z.ZodOptional<z.ZodString>;
|
|
1191
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1192
|
+
status: z.ZodOptional<z.ZodString>;
|
|
1193
|
+
done: z.ZodOptional<z.ZodBoolean>;
|
|
1194
|
+
completed: z.ZodOptional<z.ZodBoolean>;
|
|
1195
|
+
}, z.core.$loose>>>;
|
|
1196
|
+
summary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1197
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
1198
|
+
ts: z.ZodOptional<z.ZodNumber>;
|
|
1199
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1200
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1201
|
+
}, z.core.$loose>;
|
|
1202
|
+
export type TodoState = z.infer<typeof TodoStateSchema>;
|
|
1056
1203
|
export declare const SessionSchema: z.ZodObject<{
|
|
1057
1204
|
execution_mode: z.ZodOptional<z.ZodEnum<{
|
|
1058
1205
|
normal: "normal";
|
|
@@ -1186,10 +1333,7 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1186
1333
|
}, z.core.$strip>>>;
|
|
1187
1334
|
assistant_name: z.ZodOptional<z.ZodString>;
|
|
1188
1335
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1189
|
-
|
|
1190
|
-
text: z.ZodString;
|
|
1191
|
-
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
1192
|
-
}, z.core.$strip>>>;
|
|
1336
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1193
1337
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1194
1338
|
session_id: z.ZodString;
|
|
1195
1339
|
title: z.ZodString;
|
|
@@ -1198,6 +1342,61 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1198
1342
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1199
1343
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1200
1344
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1345
|
+
plan_gauge: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1346
|
+
id: z.ZodString;
|
|
1347
|
+
label: z.ZodString;
|
|
1348
|
+
used_bp: z.ZodNumber;
|
|
1349
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
1350
|
+
}, z.core.$strip>>>;
|
|
1351
|
+
show_reasoning: z.ZodOptional<z.ZodBoolean>;
|
|
1352
|
+
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
1353
|
+
stale: "stale";
|
|
1354
|
+
running: "running";
|
|
1355
|
+
failed: "failed";
|
|
1356
|
+
cancelled: "cancelled";
|
|
1357
|
+
completed: "completed";
|
|
1358
|
+
starting: "starting";
|
|
1359
|
+
waiting_for_approval: "waiting_for_approval";
|
|
1360
|
+
waiting_for_input: "waiting_for_input";
|
|
1361
|
+
}>>;
|
|
1362
|
+
todo_state: z.ZodOptional<z.ZodObject<{
|
|
1363
|
+
display_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1364
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1365
|
+
text: z.ZodString;
|
|
1366
|
+
state: z.ZodEnum<{
|
|
1367
|
+
pending: "pending";
|
|
1368
|
+
cancelled: "cancelled";
|
|
1369
|
+
completed: "completed";
|
|
1370
|
+
in_progress: "in_progress";
|
|
1371
|
+
}>;
|
|
1372
|
+
}, z.core.$strip>>>;
|
|
1373
|
+
total_count: z.ZodOptional<z.ZodNumber>;
|
|
1374
|
+
completed_count: z.ZodOptional<z.ZodNumber>;
|
|
1375
|
+
pending_count: z.ZodOptional<z.ZodNumber>;
|
|
1376
|
+
in_progress_count: z.ZodOptional<z.ZodNumber>;
|
|
1377
|
+
cancelled_count: z.ZodOptional<z.ZodNumber>;
|
|
1378
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
1379
|
+
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1380
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1381
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1382
|
+
content: z.ZodOptional<z.ZodString>;
|
|
1383
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1384
|
+
status: z.ZodOptional<z.ZodString>;
|
|
1385
|
+
done: z.ZodOptional<z.ZodBoolean>;
|
|
1386
|
+
completed: z.ZodOptional<z.ZodBoolean>;
|
|
1387
|
+
}, z.core.$loose>>>;
|
|
1388
|
+
summary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1389
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
1390
|
+
ts: z.ZodOptional<z.ZodNumber>;
|
|
1391
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1392
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1393
|
+
}, z.core.$loose>>;
|
|
1394
|
+
source_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1395
|
+
session_id: z.ZodString;
|
|
1396
|
+
tip_session_id: z.ZodString;
|
|
1397
|
+
profile: z.ZodString;
|
|
1398
|
+
title: z.ZodString;
|
|
1399
|
+
}, z.core.$strip>>>;
|
|
1201
1400
|
context_detail_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1202
1401
|
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
1203
1402
|
session_id: z.ZodString;
|
|
@@ -1216,7 +1415,65 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1216
1415
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1217
1416
|
message_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1218
1417
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1418
|
+
reaction_view: z.ZodOptional<z.ZodObject<{
|
|
1419
|
+
row_id: z.ZodNumber;
|
|
1420
|
+
state: z.ZodObject<{
|
|
1421
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1422
|
+
emoji: z.ZodEnum<{
|
|
1423
|
+
"\uD83D\uDC4D": "👍";
|
|
1424
|
+
"\uD83D\uDC4E": "👎";
|
|
1425
|
+
"\u2764\uFE0F": "❤️";
|
|
1426
|
+
"\uD83D\uDE02": "😂";
|
|
1427
|
+
"\uD83D\uDE2E": "😮";
|
|
1428
|
+
"\uD83C\uDF89": "🎉";
|
|
1429
|
+
}>;
|
|
1430
|
+
count: z.ZodNumber;
|
|
1431
|
+
mine: z.ZodBoolean;
|
|
1432
|
+
}, z.core.$strip>>;
|
|
1433
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
1434
|
+
"\uD83D\uDC4D": "👍";
|
|
1435
|
+
"\uD83D\uDC4E": "👎";
|
|
1436
|
+
"\u2764\uFE0F": "❤️";
|
|
1437
|
+
"\uD83D\uDE02": "😂";
|
|
1438
|
+
"\uD83D\uDE2E": "😮";
|
|
1439
|
+
"\uD83C\uDF89": "🎉";
|
|
1440
|
+
}>>;
|
|
1441
|
+
}, z.core.$strip>;
|
|
1442
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
1443
|
+
emoji: z.ZodNullable<z.ZodEnum<{
|
|
1444
|
+
"\uD83D\uDC4D": "👍";
|
|
1445
|
+
"\uD83D\uDC4E": "👎";
|
|
1446
|
+
"\u2764\uFE0F": "❤️";
|
|
1447
|
+
"\uD83D\uDE02": "😂";
|
|
1448
|
+
"\uD83D\uDE2E": "😮";
|
|
1449
|
+
"\uD83C\uDF89": "🎉";
|
|
1450
|
+
}>>;
|
|
1451
|
+
result: z.ZodObject<{
|
|
1452
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1453
|
+
emoji: z.ZodEnum<{
|
|
1454
|
+
"\uD83D\uDC4D": "👍";
|
|
1455
|
+
"\uD83D\uDC4E": "👎";
|
|
1456
|
+
"\u2764\uFE0F": "❤️";
|
|
1457
|
+
"\uD83D\uDE02": "😂";
|
|
1458
|
+
"\uD83D\uDE2E": "😮";
|
|
1459
|
+
"\uD83C\uDF89": "🎉";
|
|
1460
|
+
}>;
|
|
1461
|
+
count: z.ZodNumber;
|
|
1462
|
+
mine: z.ZodBoolean;
|
|
1463
|
+
}, z.core.$strip>>;
|
|
1464
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
1465
|
+
"\uD83D\uDC4D": "👍";
|
|
1466
|
+
"\uD83D\uDC4E": "👎";
|
|
1467
|
+
"\u2764\uFE0F": "❤️";
|
|
1468
|
+
"\uD83D\uDE02": "😂";
|
|
1469
|
+
"\uD83D\uDE2E": "😮";
|
|
1470
|
+
"\uD83C\uDF89": "🎉";
|
|
1471
|
+
}>>;
|
|
1472
|
+
}, z.core.$strip>;
|
|
1473
|
+
}, z.core.$strip>>;
|
|
1474
|
+
}, z.core.$strip>>;
|
|
1219
1475
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1476
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
1220
1477
|
filename: z.ZodOptional<z.ZodString>;
|
|
1221
1478
|
name: z.ZodOptional<z.ZodString>;
|
|
1222
1479
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -1240,6 +1497,10 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1240
1497
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1241
1498
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
1242
1499
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1500
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
1501
|
+
draft_id: z.ZodString;
|
|
1502
|
+
card: z.ZodNumber;
|
|
1503
|
+
}, z.core.$strip>>;
|
|
1243
1504
|
text: z.ZodOptional<z.ZodString>;
|
|
1244
1505
|
stdout: z.ZodOptional<z.ZodString>;
|
|
1245
1506
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -1256,11 +1517,11 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1256
1517
|
message: z.ZodNullable<z.ZodString>;
|
|
1257
1518
|
}, z.core.$strip>>>;
|
|
1258
1519
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
1259
|
-
memory: "memory";
|
|
1260
1520
|
unknown: "unknown";
|
|
1521
|
+
memory: "memory";
|
|
1261
1522
|
shell: "shell";
|
|
1262
|
-
read: "read";
|
|
1263
1523
|
list: "list";
|
|
1524
|
+
read: "read";
|
|
1264
1525
|
search: "search";
|
|
1265
1526
|
web: "web";
|
|
1266
1527
|
write: "write";
|
|
@@ -1292,6 +1553,7 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1292
1553
|
}, z.core.$strip>>;
|
|
1293
1554
|
}, z.core.$strip>>;
|
|
1294
1555
|
}, z.core.$strip>>;
|
|
1556
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1295
1557
|
}, z.core.$loose>>>;
|
|
1296
1558
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
1297
1559
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1324,9 +1586,9 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1324
1586
|
kind: z.ZodEnum<{
|
|
1325
1587
|
file: "file";
|
|
1326
1588
|
image: "image";
|
|
1589
|
+
pdf: "pdf";
|
|
1327
1590
|
audio: "audio";
|
|
1328
1591
|
video: "video";
|
|
1329
|
-
pdf: "pdf";
|
|
1330
1592
|
}>;
|
|
1331
1593
|
}, z.core.$strip>>>;
|
|
1332
1594
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -1334,6 +1596,10 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1334
1596
|
preview: z.ZodNullable<z.ZodString>;
|
|
1335
1597
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
1336
1598
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1599
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
1600
|
+
draft_id: z.ZodString;
|
|
1601
|
+
card: z.ZodNumber;
|
|
1602
|
+
}, z.core.$strip>>;
|
|
1337
1603
|
text: z.ZodOptional<z.ZodString>;
|
|
1338
1604
|
stdout: z.ZodOptional<z.ZodString>;
|
|
1339
1605
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -1349,8 +1615,8 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1349
1615
|
status: z.ZodEnum<{
|
|
1350
1616
|
unknown: "unknown";
|
|
1351
1617
|
running: "running";
|
|
1352
|
-
cancelled: "cancelled";
|
|
1353
1618
|
failed: "failed";
|
|
1619
|
+
cancelled: "cancelled";
|
|
1354
1620
|
completed: "completed";
|
|
1355
1621
|
attention: "attention";
|
|
1356
1622
|
}>;
|
|
@@ -1368,11 +1634,11 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1368
1634
|
message: z.ZodNullable<z.ZodString>;
|
|
1369
1635
|
}, z.core.$strip>>>;
|
|
1370
1636
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
1371
|
-
memory: "memory";
|
|
1372
1637
|
unknown: "unknown";
|
|
1638
|
+
memory: "memory";
|
|
1373
1639
|
shell: "shell";
|
|
1374
|
-
read: "read";
|
|
1375
1640
|
list: "list";
|
|
1641
|
+
read: "read";
|
|
1376
1642
|
search: "search";
|
|
1377
1643
|
web: "web";
|
|
1378
1644
|
write: "write";
|
|
@@ -1404,6 +1670,7 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1404
1670
|
}, z.core.$strip>>;
|
|
1405
1671
|
}, z.core.$strip>>;
|
|
1406
1672
|
}, z.core.$strip>>;
|
|
1673
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1407
1674
|
id: z.ZodString;
|
|
1408
1675
|
name: z.ZodString;
|
|
1409
1676
|
}, z.core.$loose>>;
|
|
@@ -1426,9 +1693,9 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1426
1693
|
kind: z.ZodEnum<{
|
|
1427
1694
|
file: "file";
|
|
1428
1695
|
image: "image";
|
|
1696
|
+
pdf: "pdf";
|
|
1429
1697
|
audio: "audio";
|
|
1430
1698
|
video: "video";
|
|
1431
|
-
pdf: "pdf";
|
|
1432
1699
|
}>;
|
|
1433
1700
|
}, z.core.$strip>>>;
|
|
1434
1701
|
terminal_state: z.ZodOptional<z.ZodString>;
|
|
@@ -1474,9 +1741,9 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1474
1741
|
kind: z.ZodEnum<{
|
|
1475
1742
|
file: "file";
|
|
1476
1743
|
image: "image";
|
|
1744
|
+
pdf: "pdf";
|
|
1477
1745
|
audio: "audio";
|
|
1478
1746
|
video: "video";
|
|
1479
|
-
pdf: "pdf";
|
|
1480
1747
|
}>;
|
|
1481
1748
|
}, z.core.$strip>>>;
|
|
1482
1749
|
_background_update: z.ZodOptional<z.ZodObject<{
|
|
@@ -1491,9 +1758,9 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1491
1758
|
summary: z.ZodString;
|
|
1492
1759
|
lines: z.ZodArray<z.ZodObject<{
|
|
1493
1760
|
kind: z.ZodEnum<{
|
|
1494
|
-
command: "command";
|
|
1495
1761
|
agent: "agent";
|
|
1496
1762
|
other: "other";
|
|
1763
|
+
command: "command";
|
|
1497
1764
|
}>;
|
|
1498
1765
|
status: z.ZodEnum<{
|
|
1499
1766
|
failed: "failed";
|
|
@@ -1558,6 +1825,10 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1558
1825
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1559
1826
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
1560
1827
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1828
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
1829
|
+
draft_id: z.ZodString;
|
|
1830
|
+
card: z.ZodNumber;
|
|
1831
|
+
}, z.core.$strip>>;
|
|
1561
1832
|
text: z.ZodOptional<z.ZodString>;
|
|
1562
1833
|
stdout: z.ZodOptional<z.ZodString>;
|
|
1563
1834
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -1574,11 +1845,11 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1574
1845
|
message: z.ZodNullable<z.ZodString>;
|
|
1575
1846
|
}, z.core.$strip>>>;
|
|
1576
1847
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
1577
|
-
memory: "memory";
|
|
1578
1848
|
unknown: "unknown";
|
|
1849
|
+
memory: "memory";
|
|
1579
1850
|
shell: "shell";
|
|
1580
|
-
read: "read";
|
|
1581
1851
|
list: "list";
|
|
1852
|
+
read: "read";
|
|
1582
1853
|
search: "search";
|
|
1583
1854
|
web: "web";
|
|
1584
1855
|
write: "write";
|
|
@@ -1610,6 +1881,7 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1610
1881
|
}, z.core.$strip>>;
|
|
1611
1882
|
}, z.core.$strip>>;
|
|
1612
1883
|
}, z.core.$strip>>;
|
|
1884
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1613
1885
|
}, z.core.$loose>>>;
|
|
1614
1886
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
1615
1887
|
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1670,8 +1942,8 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1670
1942
|
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1671
1943
|
key: z.ZodString;
|
|
1672
1944
|
level: z.ZodEnum<{
|
|
1673
|
-
error: "error";
|
|
1674
1945
|
success: "success";
|
|
1946
|
+
error: "error";
|
|
1675
1947
|
info: "info";
|
|
1676
1948
|
warn: "warn";
|
|
1677
1949
|
}>;
|
|
@@ -1694,6 +1966,7 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1694
1966
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
1695
1967
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1696
1968
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1969
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
1697
1970
|
filename: z.ZodOptional<z.ZodString>;
|
|
1698
1971
|
name: z.ZodOptional<z.ZodString>;
|
|
1699
1972
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -1844,10 +2117,7 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1844
2117
|
}, z.core.$strip>>>;
|
|
1845
2118
|
assistant_name: z.ZodOptional<z.ZodString>;
|
|
1846
2119
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1847
|
-
|
|
1848
|
-
text: z.ZodString;
|
|
1849
|
-
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
1850
|
-
}, z.core.$strip>>>;
|
|
2120
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1851
2121
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1852
2122
|
session_id: z.ZodString;
|
|
1853
2123
|
title: z.ZodString;
|
|
@@ -1856,6 +2126,61 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1856
2126
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1857
2127
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1858
2128
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2129
|
+
plan_gauge: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2130
|
+
id: z.ZodString;
|
|
2131
|
+
label: z.ZodString;
|
|
2132
|
+
used_bp: z.ZodNumber;
|
|
2133
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
2134
|
+
}, z.core.$strip>>>;
|
|
2135
|
+
show_reasoning: z.ZodOptional<z.ZodBoolean>;
|
|
2136
|
+
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
2137
|
+
stale: "stale";
|
|
2138
|
+
running: "running";
|
|
2139
|
+
failed: "failed";
|
|
2140
|
+
cancelled: "cancelled";
|
|
2141
|
+
completed: "completed";
|
|
2142
|
+
starting: "starting";
|
|
2143
|
+
waiting_for_approval: "waiting_for_approval";
|
|
2144
|
+
waiting_for_input: "waiting_for_input";
|
|
2145
|
+
}>>;
|
|
2146
|
+
todo_state: z.ZodOptional<z.ZodObject<{
|
|
2147
|
+
display_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2148
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
2149
|
+
text: z.ZodString;
|
|
2150
|
+
state: z.ZodEnum<{
|
|
2151
|
+
pending: "pending";
|
|
2152
|
+
cancelled: "cancelled";
|
|
2153
|
+
completed: "completed";
|
|
2154
|
+
in_progress: "in_progress";
|
|
2155
|
+
}>;
|
|
2156
|
+
}, z.core.$strip>>>;
|
|
2157
|
+
total_count: z.ZodOptional<z.ZodNumber>;
|
|
2158
|
+
completed_count: z.ZodOptional<z.ZodNumber>;
|
|
2159
|
+
pending_count: z.ZodOptional<z.ZodNumber>;
|
|
2160
|
+
in_progress_count: z.ZodOptional<z.ZodNumber>;
|
|
2161
|
+
cancelled_count: z.ZodOptional<z.ZodNumber>;
|
|
2162
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
2163
|
+
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2164
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
2165
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2166
|
+
content: z.ZodOptional<z.ZodString>;
|
|
2167
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2168
|
+
status: z.ZodOptional<z.ZodString>;
|
|
2169
|
+
done: z.ZodOptional<z.ZodBoolean>;
|
|
2170
|
+
completed: z.ZodOptional<z.ZodBoolean>;
|
|
2171
|
+
}, z.core.$loose>>>;
|
|
2172
|
+
summary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2173
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
2174
|
+
ts: z.ZodOptional<z.ZodNumber>;
|
|
2175
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2176
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2177
|
+
}, z.core.$loose>>;
|
|
2178
|
+
source_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2179
|
+
session_id: z.ZodString;
|
|
2180
|
+
tip_session_id: z.ZodString;
|
|
2181
|
+
profile: z.ZodString;
|
|
2182
|
+
title: z.ZodString;
|
|
2183
|
+
}, z.core.$strip>>>;
|
|
1859
2184
|
context_detail_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1860
2185
|
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
1861
2186
|
session_id: z.ZodString;
|
|
@@ -1874,7 +2199,65 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1874
2199
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1875
2200
|
message_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1876
2201
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2202
|
+
reaction_view: z.ZodOptional<z.ZodObject<{
|
|
2203
|
+
row_id: z.ZodNumber;
|
|
2204
|
+
state: z.ZodObject<{
|
|
2205
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2206
|
+
emoji: z.ZodEnum<{
|
|
2207
|
+
"\uD83D\uDC4D": "👍";
|
|
2208
|
+
"\uD83D\uDC4E": "👎";
|
|
2209
|
+
"\u2764\uFE0F": "❤️";
|
|
2210
|
+
"\uD83D\uDE02": "😂";
|
|
2211
|
+
"\uD83D\uDE2E": "😮";
|
|
2212
|
+
"\uD83C\uDF89": "🎉";
|
|
2213
|
+
}>;
|
|
2214
|
+
count: z.ZodNumber;
|
|
2215
|
+
mine: z.ZodBoolean;
|
|
2216
|
+
}, z.core.$strip>>;
|
|
2217
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
2218
|
+
"\uD83D\uDC4D": "👍";
|
|
2219
|
+
"\uD83D\uDC4E": "👎";
|
|
2220
|
+
"\u2764\uFE0F": "❤️";
|
|
2221
|
+
"\uD83D\uDE02": "😂";
|
|
2222
|
+
"\uD83D\uDE2E": "😮";
|
|
2223
|
+
"\uD83C\uDF89": "🎉";
|
|
2224
|
+
}>>;
|
|
2225
|
+
}, z.core.$strip>;
|
|
2226
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
2227
|
+
emoji: z.ZodNullable<z.ZodEnum<{
|
|
2228
|
+
"\uD83D\uDC4D": "👍";
|
|
2229
|
+
"\uD83D\uDC4E": "👎";
|
|
2230
|
+
"\u2764\uFE0F": "❤️";
|
|
2231
|
+
"\uD83D\uDE02": "😂";
|
|
2232
|
+
"\uD83D\uDE2E": "😮";
|
|
2233
|
+
"\uD83C\uDF89": "🎉";
|
|
2234
|
+
}>>;
|
|
2235
|
+
result: z.ZodObject<{
|
|
2236
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2237
|
+
emoji: z.ZodEnum<{
|
|
2238
|
+
"\uD83D\uDC4D": "👍";
|
|
2239
|
+
"\uD83D\uDC4E": "👎";
|
|
2240
|
+
"\u2764\uFE0F": "❤️";
|
|
2241
|
+
"\uD83D\uDE02": "😂";
|
|
2242
|
+
"\uD83D\uDE2E": "😮";
|
|
2243
|
+
"\uD83C\uDF89": "🎉";
|
|
2244
|
+
}>;
|
|
2245
|
+
count: z.ZodNumber;
|
|
2246
|
+
mine: z.ZodBoolean;
|
|
2247
|
+
}, z.core.$strip>>;
|
|
2248
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
2249
|
+
"\uD83D\uDC4D": "👍";
|
|
2250
|
+
"\uD83D\uDC4E": "👎";
|
|
2251
|
+
"\u2764\uFE0F": "❤️";
|
|
2252
|
+
"\uD83D\uDE02": "😂";
|
|
2253
|
+
"\uD83D\uDE2E": "😮";
|
|
2254
|
+
"\uD83C\uDF89": "🎉";
|
|
2255
|
+
}>>;
|
|
2256
|
+
}, z.core.$strip>;
|
|
2257
|
+
}, z.core.$strip>>;
|
|
2258
|
+
}, z.core.$strip>>;
|
|
1877
2259
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2260
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
1878
2261
|
filename: z.ZodOptional<z.ZodString>;
|
|
1879
2262
|
name: z.ZodOptional<z.ZodString>;
|
|
1880
2263
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -1898,6 +2281,10 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1898
2281
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1899
2282
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
1900
2283
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2284
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
2285
|
+
draft_id: z.ZodString;
|
|
2286
|
+
card: z.ZodNumber;
|
|
2287
|
+
}, z.core.$strip>>;
|
|
1901
2288
|
text: z.ZodOptional<z.ZodString>;
|
|
1902
2289
|
stdout: z.ZodOptional<z.ZodString>;
|
|
1903
2290
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -1914,11 +2301,11 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1914
2301
|
message: z.ZodNullable<z.ZodString>;
|
|
1915
2302
|
}, z.core.$strip>>>;
|
|
1916
2303
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
1917
|
-
memory: "memory";
|
|
1918
2304
|
unknown: "unknown";
|
|
2305
|
+
memory: "memory";
|
|
1919
2306
|
shell: "shell";
|
|
1920
|
-
read: "read";
|
|
1921
2307
|
list: "list";
|
|
2308
|
+
read: "read";
|
|
1922
2309
|
search: "search";
|
|
1923
2310
|
web: "web";
|
|
1924
2311
|
write: "write";
|
|
@@ -1950,6 +2337,7 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1950
2337
|
}, z.core.$strip>>;
|
|
1951
2338
|
}, z.core.$strip>>;
|
|
1952
2339
|
}, z.core.$strip>>;
|
|
2340
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1953
2341
|
}, z.core.$loose>>>;
|
|
1954
2342
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
1955
2343
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1982,9 +2370,9 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1982
2370
|
kind: z.ZodEnum<{
|
|
1983
2371
|
file: "file";
|
|
1984
2372
|
image: "image";
|
|
2373
|
+
pdf: "pdf";
|
|
1985
2374
|
audio: "audio";
|
|
1986
2375
|
video: "video";
|
|
1987
|
-
pdf: "pdf";
|
|
1988
2376
|
}>;
|
|
1989
2377
|
}, z.core.$strip>>>;
|
|
1990
2378
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -1992,6 +2380,10 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
1992
2380
|
preview: z.ZodNullable<z.ZodString>;
|
|
1993
2381
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
1994
2382
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2383
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
2384
|
+
draft_id: z.ZodString;
|
|
2385
|
+
card: z.ZodNumber;
|
|
2386
|
+
}, z.core.$strip>>;
|
|
1995
2387
|
text: z.ZodOptional<z.ZodString>;
|
|
1996
2388
|
stdout: z.ZodOptional<z.ZodString>;
|
|
1997
2389
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -2007,8 +2399,8 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2007
2399
|
status: z.ZodEnum<{
|
|
2008
2400
|
unknown: "unknown";
|
|
2009
2401
|
running: "running";
|
|
2010
|
-
cancelled: "cancelled";
|
|
2011
2402
|
failed: "failed";
|
|
2403
|
+
cancelled: "cancelled";
|
|
2012
2404
|
completed: "completed";
|
|
2013
2405
|
attention: "attention";
|
|
2014
2406
|
}>;
|
|
@@ -2026,11 +2418,11 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2026
2418
|
message: z.ZodNullable<z.ZodString>;
|
|
2027
2419
|
}, z.core.$strip>>>;
|
|
2028
2420
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
2029
|
-
memory: "memory";
|
|
2030
2421
|
unknown: "unknown";
|
|
2422
|
+
memory: "memory";
|
|
2031
2423
|
shell: "shell";
|
|
2032
|
-
read: "read";
|
|
2033
2424
|
list: "list";
|
|
2425
|
+
read: "read";
|
|
2034
2426
|
search: "search";
|
|
2035
2427
|
web: "web";
|
|
2036
2428
|
write: "write";
|
|
@@ -2062,6 +2454,7 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2062
2454
|
}, z.core.$strip>>;
|
|
2063
2455
|
}, z.core.$strip>>;
|
|
2064
2456
|
}, z.core.$strip>>;
|
|
2457
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2065
2458
|
id: z.ZodString;
|
|
2066
2459
|
name: z.ZodString;
|
|
2067
2460
|
}, z.core.$loose>>;
|
|
@@ -2084,9 +2477,9 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2084
2477
|
kind: z.ZodEnum<{
|
|
2085
2478
|
file: "file";
|
|
2086
2479
|
image: "image";
|
|
2480
|
+
pdf: "pdf";
|
|
2087
2481
|
audio: "audio";
|
|
2088
2482
|
video: "video";
|
|
2089
|
-
pdf: "pdf";
|
|
2090
2483
|
}>;
|
|
2091
2484
|
}, z.core.$strip>>>;
|
|
2092
2485
|
terminal_state: z.ZodOptional<z.ZodString>;
|
|
@@ -2132,9 +2525,9 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2132
2525
|
kind: z.ZodEnum<{
|
|
2133
2526
|
file: "file";
|
|
2134
2527
|
image: "image";
|
|
2528
|
+
pdf: "pdf";
|
|
2135
2529
|
audio: "audio";
|
|
2136
2530
|
video: "video";
|
|
2137
|
-
pdf: "pdf";
|
|
2138
2531
|
}>;
|
|
2139
2532
|
}, z.core.$strip>>>;
|
|
2140
2533
|
_background_update: z.ZodOptional<z.ZodObject<{
|
|
@@ -2149,9 +2542,9 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2149
2542
|
summary: z.ZodString;
|
|
2150
2543
|
lines: z.ZodArray<z.ZodObject<{
|
|
2151
2544
|
kind: z.ZodEnum<{
|
|
2152
|
-
command: "command";
|
|
2153
2545
|
agent: "agent";
|
|
2154
2546
|
other: "other";
|
|
2547
|
+
command: "command";
|
|
2155
2548
|
}>;
|
|
2156
2549
|
status: z.ZodEnum<{
|
|
2157
2550
|
failed: "failed";
|
|
@@ -2216,6 +2609,10 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2216
2609
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2217
2610
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
2218
2611
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2612
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
2613
|
+
draft_id: z.ZodString;
|
|
2614
|
+
card: z.ZodNumber;
|
|
2615
|
+
}, z.core.$strip>>;
|
|
2219
2616
|
text: z.ZodOptional<z.ZodString>;
|
|
2220
2617
|
stdout: z.ZodOptional<z.ZodString>;
|
|
2221
2618
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -2232,11 +2629,11 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2232
2629
|
message: z.ZodNullable<z.ZodString>;
|
|
2233
2630
|
}, z.core.$strip>>>;
|
|
2234
2631
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
2235
|
-
memory: "memory";
|
|
2236
2632
|
unknown: "unknown";
|
|
2633
|
+
memory: "memory";
|
|
2237
2634
|
shell: "shell";
|
|
2238
|
-
read: "read";
|
|
2239
2635
|
list: "list";
|
|
2636
|
+
read: "read";
|
|
2240
2637
|
search: "search";
|
|
2241
2638
|
web: "web";
|
|
2242
2639
|
write: "write";
|
|
@@ -2268,6 +2665,7 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2268
2665
|
}, z.core.$strip>>;
|
|
2269
2666
|
}, z.core.$strip>>;
|
|
2270
2667
|
}, z.core.$strip>>;
|
|
2668
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2271
2669
|
}, z.core.$loose>>>;
|
|
2272
2670
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
2273
2671
|
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2328,8 +2726,8 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2328
2726
|
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2329
2727
|
key: z.ZodString;
|
|
2330
2728
|
level: z.ZodEnum<{
|
|
2331
|
-
error: "error";
|
|
2332
2729
|
success: "success";
|
|
2730
|
+
error: "error";
|
|
2333
2731
|
info: "info";
|
|
2334
2732
|
warn: "warn";
|
|
2335
2733
|
}>;
|
|
@@ -2352,6 +2750,7 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2352
2750
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
2353
2751
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2354
2752
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2753
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
2355
2754
|
filename: z.ZodOptional<z.ZodString>;
|
|
2356
2755
|
name: z.ZodOptional<z.ZodString>;
|
|
2357
2756
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -2368,6 +2767,21 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2368
2767
|
post_compression_context_tokens_estimate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2369
2768
|
}, z.core.$loose>;
|
|
2370
2769
|
}, z.core.$loose>;
|
|
2770
|
+
/** TAL-1534: the sidebar group a listed row belongs to; `pinned` rows come first in the canonical order. */
|
|
2771
|
+
export declare const SidebarGroupKindSchema: z.ZodEnum<{
|
|
2772
|
+
pinned: "pinned";
|
|
2773
|
+
recent: "recent";
|
|
2774
|
+
}>;
|
|
2775
|
+
export type SidebarGroupKind = z.infer<typeof SidebarGroupKindSchema>;
|
|
2776
|
+
/** One group present in a session list, with its English caption; clients localize the known kinds. */
|
|
2777
|
+
export declare const SidebarGroupSchema: z.ZodObject<{
|
|
2778
|
+
kind: z.ZodEnum<{
|
|
2779
|
+
pinned: "pinned";
|
|
2780
|
+
recent: "recent";
|
|
2781
|
+
}>;
|
|
2782
|
+
title: z.ZodString;
|
|
2783
|
+
}, z.core.$strip>;
|
|
2784
|
+
export type SidebarGroup = z.infer<typeof SidebarGroupSchema>;
|
|
2371
2785
|
/** Sidebar row from `GET /api/sessions`. */
|
|
2372
2786
|
export declare const SessionRowSchema: z.ZodObject<{
|
|
2373
2787
|
context_used_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2493,12 +2907,16 @@ export declare const SessionRowSchema: z.ZodObject<{
|
|
|
2493
2907
|
share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2494
2908
|
worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2495
2909
|
match_type: z.ZodOptional<z.ZodEnum<{
|
|
2496
|
-
content: "content";
|
|
2497
2910
|
title: "title";
|
|
2911
|
+
content: "content";
|
|
2498
2912
|
metadata: "metadata";
|
|
2499
2913
|
}>>;
|
|
2500
2914
|
match_preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2501
2915
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2916
|
+
sidebar_group: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2917
|
+
pinned: "pinned";
|
|
2918
|
+
recent: "recent";
|
|
2919
|
+
}>>>;
|
|
2502
2920
|
}, z.core.$loose>;
|
|
2503
2921
|
export type SessionRow = z.infer<typeof SessionRowSchema>;
|
|
2504
2922
|
/**
|
|
@@ -2641,12 +3059,16 @@ export declare const SessionsListSchema: z.ZodObject<{
|
|
|
2641
3059
|
share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2642
3060
|
worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2643
3061
|
match_type: z.ZodOptional<z.ZodEnum<{
|
|
2644
|
-
content: "content";
|
|
2645
3062
|
title: "title";
|
|
3063
|
+
content: "content";
|
|
2646
3064
|
metadata: "metadata";
|
|
2647
3065
|
}>>;
|
|
2648
3066
|
match_preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2649
3067
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3068
|
+
sidebar_group: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3069
|
+
pinned: "pinned";
|
|
3070
|
+
recent: "recent";
|
|
3071
|
+
}>>>;
|
|
2650
3072
|
}, z.core.$loose>>;
|
|
2651
3073
|
sidebar_reference_sessions: z.ZodArray<z.ZodObject<{
|
|
2652
3074
|
context_used_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2772,12 +3194,16 @@ export declare const SessionsListSchema: z.ZodObject<{
|
|
|
2772
3194
|
share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2773
3195
|
worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2774
3196
|
match_type: z.ZodOptional<z.ZodEnum<{
|
|
2775
|
-
content: "content";
|
|
2776
3197
|
title: "title";
|
|
3198
|
+
content: "content";
|
|
2777
3199
|
metadata: "metadata";
|
|
2778
3200
|
}>>;
|
|
2779
3201
|
match_preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2780
3202
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3203
|
+
sidebar_group: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3204
|
+
pinned: "pinned";
|
|
3205
|
+
recent: "recent";
|
|
3206
|
+
}>>>;
|
|
2781
3207
|
}, z.core.$loose>>;
|
|
2782
3208
|
server_time: z.ZodNumber;
|
|
2783
3209
|
server_tz: z.ZodString;
|
|
@@ -2795,6 +3221,13 @@ export declare const SessionsListSchema: z.ZodObject<{
|
|
|
2795
3221
|
scheduled_sessions_truncated: z.ZodBoolean;
|
|
2796
3222
|
webhook_session_count: z.ZodNumber;
|
|
2797
3223
|
webhook_sessions_truncated: z.ZodBoolean;
|
|
3224
|
+
sidebar_groups: z.ZodArray<z.ZodObject<{
|
|
3225
|
+
kind: z.ZodEnum<{
|
|
3226
|
+
pinned: "pinned";
|
|
3227
|
+
recent: "recent";
|
|
3228
|
+
}>;
|
|
3229
|
+
title: z.ZodString;
|
|
3230
|
+
}, z.core.$strip>>;
|
|
2798
3231
|
agent_storage: z.ZodObject<{
|
|
2799
3232
|
state: z.ZodEnum<{
|
|
2800
3233
|
unavailable: "unavailable";
|
|
@@ -2809,6 +3242,16 @@ export declare const SessionsListSchema: z.ZodObject<{
|
|
|
2809
3242
|
}, z.core.$loose>;
|
|
2810
3243
|
export type SessionsList = z.infer<typeof SessionsListSchema>;
|
|
2811
3244
|
export declare const SessionStatusSchema: z.ZodObject<{
|
|
3245
|
+
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
3246
|
+
stale: "stale";
|
|
3247
|
+
running: "running";
|
|
3248
|
+
failed: "failed";
|
|
3249
|
+
cancelled: "cancelled";
|
|
3250
|
+
completed: "completed";
|
|
3251
|
+
starting: "starting";
|
|
3252
|
+
waiting_for_approval: "waiting_for_approval";
|
|
3253
|
+
waiting_for_input: "waiting_for_input";
|
|
3254
|
+
}>>;
|
|
2812
3255
|
session_id: z.ZodString;
|
|
2813
3256
|
title: z.ZodOptional<z.ZodString>;
|
|
2814
3257
|
active_stream_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2901,6 +3344,12 @@ export declare const SessionStatusSchema: z.ZodObject<{
|
|
|
2901
3344
|
}, z.core.$loose>;
|
|
2902
3345
|
export type SessionStatus = z.infer<typeof SessionStatusSchema>;
|
|
2903
3346
|
export declare const SessionUsageSchema: z.ZodObject<{
|
|
3347
|
+
plan_gauge: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3348
|
+
id: z.ZodString;
|
|
3349
|
+
label: z.ZodString;
|
|
3350
|
+
used_bp: z.ZodNumber;
|
|
3351
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
3352
|
+
}, z.core.$strip>>>;
|
|
2904
3353
|
input_tokens: z.ZodOptional<z.ZodNumber>;
|
|
2905
3354
|
output_tokens: z.ZodOptional<z.ZodNumber>;
|
|
2906
3355
|
total_tokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2941,6 +3390,7 @@ export declare const ChatStartRequestSchema: z.ZodObject<{
|
|
|
2941
3390
|
profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2942
3391
|
explicit_model_pick: z.ZodOptional<z.ZodBoolean>;
|
|
2943
3392
|
attachments: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3393
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
2944
3394
|
filename: z.ZodOptional<z.ZodString>;
|
|
2945
3395
|
name: z.ZodOptional<z.ZodString>;
|
|
2946
3396
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -3174,10 +3624,7 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3174
3624
|
}, z.core.$strip>>>;
|
|
3175
3625
|
assistant_name: z.ZodOptional<z.ZodString>;
|
|
3176
3626
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3177
|
-
|
|
3178
|
-
text: z.ZodString;
|
|
3179
|
-
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
3180
|
-
}, z.core.$strip>>>;
|
|
3627
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3181
3628
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3182
3629
|
session_id: z.ZodString;
|
|
3183
3630
|
title: z.ZodString;
|
|
@@ -3186,6 +3633,61 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3186
3633
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3187
3634
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3188
3635
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3636
|
+
plan_gauge: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3637
|
+
id: z.ZodString;
|
|
3638
|
+
label: z.ZodString;
|
|
3639
|
+
used_bp: z.ZodNumber;
|
|
3640
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
3641
|
+
}, z.core.$strip>>>;
|
|
3642
|
+
show_reasoning: z.ZodOptional<z.ZodBoolean>;
|
|
3643
|
+
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
3644
|
+
stale: "stale";
|
|
3645
|
+
running: "running";
|
|
3646
|
+
failed: "failed";
|
|
3647
|
+
cancelled: "cancelled";
|
|
3648
|
+
completed: "completed";
|
|
3649
|
+
starting: "starting";
|
|
3650
|
+
waiting_for_approval: "waiting_for_approval";
|
|
3651
|
+
waiting_for_input: "waiting_for_input";
|
|
3652
|
+
}>>;
|
|
3653
|
+
todo_state: z.ZodOptional<z.ZodObject<{
|
|
3654
|
+
display_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3655
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3656
|
+
text: z.ZodString;
|
|
3657
|
+
state: z.ZodEnum<{
|
|
3658
|
+
pending: "pending";
|
|
3659
|
+
cancelled: "cancelled";
|
|
3660
|
+
completed: "completed";
|
|
3661
|
+
in_progress: "in_progress";
|
|
3662
|
+
}>;
|
|
3663
|
+
}, z.core.$strip>>>;
|
|
3664
|
+
total_count: z.ZodOptional<z.ZodNumber>;
|
|
3665
|
+
completed_count: z.ZodOptional<z.ZodNumber>;
|
|
3666
|
+
pending_count: z.ZodOptional<z.ZodNumber>;
|
|
3667
|
+
in_progress_count: z.ZodOptional<z.ZodNumber>;
|
|
3668
|
+
cancelled_count: z.ZodOptional<z.ZodNumber>;
|
|
3669
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
3670
|
+
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3671
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3672
|
+
text: z.ZodOptional<z.ZodString>;
|
|
3673
|
+
content: z.ZodOptional<z.ZodString>;
|
|
3674
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3675
|
+
status: z.ZodOptional<z.ZodString>;
|
|
3676
|
+
done: z.ZodOptional<z.ZodBoolean>;
|
|
3677
|
+
completed: z.ZodOptional<z.ZodBoolean>;
|
|
3678
|
+
}, z.core.$loose>>>;
|
|
3679
|
+
summary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3680
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
3681
|
+
ts: z.ZodOptional<z.ZodNumber>;
|
|
3682
|
+
source: z.ZodOptional<z.ZodString>;
|
|
3683
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3684
|
+
}, z.core.$loose>>;
|
|
3685
|
+
source_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3686
|
+
session_id: z.ZodString;
|
|
3687
|
+
tip_session_id: z.ZodString;
|
|
3688
|
+
profile: z.ZodString;
|
|
3689
|
+
title: z.ZodString;
|
|
3690
|
+
}, z.core.$strip>>>;
|
|
3189
3691
|
context_detail_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3190
3692
|
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
3191
3693
|
session_id: z.ZodString;
|
|
@@ -3204,7 +3706,65 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3204
3706
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3205
3707
|
message_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3206
3708
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3709
|
+
reaction_view: z.ZodOptional<z.ZodObject<{
|
|
3710
|
+
row_id: z.ZodNumber;
|
|
3711
|
+
state: z.ZodObject<{
|
|
3712
|
+
items: z.ZodArray<z.ZodObject<{
|
|
3713
|
+
emoji: z.ZodEnum<{
|
|
3714
|
+
"\uD83D\uDC4D": "👍";
|
|
3715
|
+
"\uD83D\uDC4E": "👎";
|
|
3716
|
+
"\u2764\uFE0F": "❤️";
|
|
3717
|
+
"\uD83D\uDE02": "😂";
|
|
3718
|
+
"\uD83D\uDE2E": "😮";
|
|
3719
|
+
"\uD83C\uDF89": "🎉";
|
|
3720
|
+
}>;
|
|
3721
|
+
count: z.ZodNumber;
|
|
3722
|
+
mine: z.ZodBoolean;
|
|
3723
|
+
}, z.core.$strip>>;
|
|
3724
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
3725
|
+
"\uD83D\uDC4D": "👍";
|
|
3726
|
+
"\uD83D\uDC4E": "👎";
|
|
3727
|
+
"\u2764\uFE0F": "❤️";
|
|
3728
|
+
"\uD83D\uDE02": "😂";
|
|
3729
|
+
"\uD83D\uDE2E": "😮";
|
|
3730
|
+
"\uD83C\uDF89": "🎉";
|
|
3731
|
+
}>>;
|
|
3732
|
+
}, z.core.$strip>;
|
|
3733
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
3734
|
+
emoji: z.ZodNullable<z.ZodEnum<{
|
|
3735
|
+
"\uD83D\uDC4D": "👍";
|
|
3736
|
+
"\uD83D\uDC4E": "👎";
|
|
3737
|
+
"\u2764\uFE0F": "❤️";
|
|
3738
|
+
"\uD83D\uDE02": "😂";
|
|
3739
|
+
"\uD83D\uDE2E": "😮";
|
|
3740
|
+
"\uD83C\uDF89": "🎉";
|
|
3741
|
+
}>>;
|
|
3742
|
+
result: z.ZodObject<{
|
|
3743
|
+
items: z.ZodArray<z.ZodObject<{
|
|
3744
|
+
emoji: z.ZodEnum<{
|
|
3745
|
+
"\uD83D\uDC4D": "👍";
|
|
3746
|
+
"\uD83D\uDC4E": "👎";
|
|
3747
|
+
"\u2764\uFE0F": "❤️";
|
|
3748
|
+
"\uD83D\uDE02": "😂";
|
|
3749
|
+
"\uD83D\uDE2E": "😮";
|
|
3750
|
+
"\uD83C\uDF89": "🎉";
|
|
3751
|
+
}>;
|
|
3752
|
+
count: z.ZodNumber;
|
|
3753
|
+
mine: z.ZodBoolean;
|
|
3754
|
+
}, z.core.$strip>>;
|
|
3755
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
3756
|
+
"\uD83D\uDC4D": "👍";
|
|
3757
|
+
"\uD83D\uDC4E": "👎";
|
|
3758
|
+
"\u2764\uFE0F": "❤️";
|
|
3759
|
+
"\uD83D\uDE02": "😂";
|
|
3760
|
+
"\uD83D\uDE2E": "😮";
|
|
3761
|
+
"\uD83C\uDF89": "🎉";
|
|
3762
|
+
}>>;
|
|
3763
|
+
}, z.core.$strip>;
|
|
3764
|
+
}, z.core.$strip>>;
|
|
3765
|
+
}, z.core.$strip>>;
|
|
3207
3766
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3767
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
3208
3768
|
filename: z.ZodOptional<z.ZodString>;
|
|
3209
3769
|
name: z.ZodOptional<z.ZodString>;
|
|
3210
3770
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -3228,6 +3788,10 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3228
3788
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3229
3789
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
3230
3790
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3791
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
3792
|
+
draft_id: z.ZodString;
|
|
3793
|
+
card: z.ZodNumber;
|
|
3794
|
+
}, z.core.$strip>>;
|
|
3231
3795
|
text: z.ZodOptional<z.ZodString>;
|
|
3232
3796
|
stdout: z.ZodOptional<z.ZodString>;
|
|
3233
3797
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -3244,11 +3808,11 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3244
3808
|
message: z.ZodNullable<z.ZodString>;
|
|
3245
3809
|
}, z.core.$strip>>>;
|
|
3246
3810
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
3247
|
-
memory: "memory";
|
|
3248
3811
|
unknown: "unknown";
|
|
3812
|
+
memory: "memory";
|
|
3249
3813
|
shell: "shell";
|
|
3250
|
-
read: "read";
|
|
3251
3814
|
list: "list";
|
|
3815
|
+
read: "read";
|
|
3252
3816
|
search: "search";
|
|
3253
3817
|
web: "web";
|
|
3254
3818
|
write: "write";
|
|
@@ -3280,6 +3844,7 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3280
3844
|
}, z.core.$strip>>;
|
|
3281
3845
|
}, z.core.$strip>>;
|
|
3282
3846
|
}, z.core.$strip>>;
|
|
3847
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3283
3848
|
}, z.core.$loose>>>;
|
|
3284
3849
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
3285
3850
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3312,9 +3877,9 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3312
3877
|
kind: z.ZodEnum<{
|
|
3313
3878
|
file: "file";
|
|
3314
3879
|
image: "image";
|
|
3880
|
+
pdf: "pdf";
|
|
3315
3881
|
audio: "audio";
|
|
3316
3882
|
video: "video";
|
|
3317
|
-
pdf: "pdf";
|
|
3318
3883
|
}>;
|
|
3319
3884
|
}, z.core.$strip>>>;
|
|
3320
3885
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -3322,6 +3887,10 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3322
3887
|
preview: z.ZodNullable<z.ZodString>;
|
|
3323
3888
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
3324
3889
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3890
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
3891
|
+
draft_id: z.ZodString;
|
|
3892
|
+
card: z.ZodNumber;
|
|
3893
|
+
}, z.core.$strip>>;
|
|
3325
3894
|
text: z.ZodOptional<z.ZodString>;
|
|
3326
3895
|
stdout: z.ZodOptional<z.ZodString>;
|
|
3327
3896
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -3337,8 +3906,8 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3337
3906
|
status: z.ZodEnum<{
|
|
3338
3907
|
unknown: "unknown";
|
|
3339
3908
|
running: "running";
|
|
3340
|
-
cancelled: "cancelled";
|
|
3341
3909
|
failed: "failed";
|
|
3910
|
+
cancelled: "cancelled";
|
|
3342
3911
|
completed: "completed";
|
|
3343
3912
|
attention: "attention";
|
|
3344
3913
|
}>;
|
|
@@ -3356,11 +3925,11 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3356
3925
|
message: z.ZodNullable<z.ZodString>;
|
|
3357
3926
|
}, z.core.$strip>>>;
|
|
3358
3927
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
3359
|
-
memory: "memory";
|
|
3360
3928
|
unknown: "unknown";
|
|
3929
|
+
memory: "memory";
|
|
3361
3930
|
shell: "shell";
|
|
3362
|
-
read: "read";
|
|
3363
3931
|
list: "list";
|
|
3932
|
+
read: "read";
|
|
3364
3933
|
search: "search";
|
|
3365
3934
|
web: "web";
|
|
3366
3935
|
write: "write";
|
|
@@ -3392,6 +3961,7 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3392
3961
|
}, z.core.$strip>>;
|
|
3393
3962
|
}, z.core.$strip>>;
|
|
3394
3963
|
}, z.core.$strip>>;
|
|
3964
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3395
3965
|
id: z.ZodString;
|
|
3396
3966
|
name: z.ZodString;
|
|
3397
3967
|
}, z.core.$loose>>;
|
|
@@ -3414,9 +3984,9 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3414
3984
|
kind: z.ZodEnum<{
|
|
3415
3985
|
file: "file";
|
|
3416
3986
|
image: "image";
|
|
3987
|
+
pdf: "pdf";
|
|
3417
3988
|
audio: "audio";
|
|
3418
3989
|
video: "video";
|
|
3419
|
-
pdf: "pdf";
|
|
3420
3990
|
}>;
|
|
3421
3991
|
}, z.core.$strip>>>;
|
|
3422
3992
|
terminal_state: z.ZodOptional<z.ZodString>;
|
|
@@ -3462,9 +4032,9 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3462
4032
|
kind: z.ZodEnum<{
|
|
3463
4033
|
file: "file";
|
|
3464
4034
|
image: "image";
|
|
4035
|
+
pdf: "pdf";
|
|
3465
4036
|
audio: "audio";
|
|
3466
4037
|
video: "video";
|
|
3467
|
-
pdf: "pdf";
|
|
3468
4038
|
}>;
|
|
3469
4039
|
}, z.core.$strip>>>;
|
|
3470
4040
|
_background_update: z.ZodOptional<z.ZodObject<{
|
|
@@ -3479,9 +4049,9 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3479
4049
|
summary: z.ZodString;
|
|
3480
4050
|
lines: z.ZodArray<z.ZodObject<{
|
|
3481
4051
|
kind: z.ZodEnum<{
|
|
3482
|
-
command: "command";
|
|
3483
4052
|
agent: "agent";
|
|
3484
4053
|
other: "other";
|
|
4054
|
+
command: "command";
|
|
3485
4055
|
}>;
|
|
3486
4056
|
status: z.ZodEnum<{
|
|
3487
4057
|
failed: "failed";
|
|
@@ -3546,6 +4116,10 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3546
4116
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3547
4117
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
3548
4118
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4119
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
4120
|
+
draft_id: z.ZodString;
|
|
4121
|
+
card: z.ZodNumber;
|
|
4122
|
+
}, z.core.$strip>>;
|
|
3549
4123
|
text: z.ZodOptional<z.ZodString>;
|
|
3550
4124
|
stdout: z.ZodOptional<z.ZodString>;
|
|
3551
4125
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -3562,11 +4136,11 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3562
4136
|
message: z.ZodNullable<z.ZodString>;
|
|
3563
4137
|
}, z.core.$strip>>>;
|
|
3564
4138
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
3565
|
-
memory: "memory";
|
|
3566
4139
|
unknown: "unknown";
|
|
4140
|
+
memory: "memory";
|
|
3567
4141
|
shell: "shell";
|
|
3568
|
-
read: "read";
|
|
3569
4142
|
list: "list";
|
|
4143
|
+
read: "read";
|
|
3570
4144
|
search: "search";
|
|
3571
4145
|
web: "web";
|
|
3572
4146
|
write: "write";
|
|
@@ -3598,6 +4172,7 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3598
4172
|
}, z.core.$strip>>;
|
|
3599
4173
|
}, z.core.$strip>>;
|
|
3600
4174
|
}, z.core.$strip>>;
|
|
4175
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3601
4176
|
}, z.core.$loose>>>;
|
|
3602
4177
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
3603
4178
|
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3658,8 +4233,8 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3658
4233
|
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3659
4234
|
key: z.ZodString;
|
|
3660
4235
|
level: z.ZodEnum<{
|
|
3661
|
-
error: "error";
|
|
3662
4236
|
success: "success";
|
|
4237
|
+
error: "error";
|
|
3663
4238
|
info: "info";
|
|
3664
4239
|
warn: "warn";
|
|
3665
4240
|
}>;
|
|
@@ -3682,6 +4257,7 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3682
4257
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
3683
4258
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3684
4259
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4260
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
3685
4261
|
filename: z.ZodOptional<z.ZodString>;
|
|
3686
4262
|
name: z.ZodOptional<z.ZodString>;
|
|
3687
4263
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -3705,6 +4281,16 @@ export type ChatStartResponse = z.infer<typeof ChatStartResponseSchema>;
|
|
|
3705
4281
|
* answers 409 while it is set, so a client draining a session before deleting it waits until it is null.
|
|
3706
4282
|
*/
|
|
3707
4283
|
export declare const StreamStatusSchema: z.ZodObject<{
|
|
4284
|
+
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
4285
|
+
stale: "stale";
|
|
4286
|
+
running: "running";
|
|
4287
|
+
failed: "failed";
|
|
4288
|
+
cancelled: "cancelled";
|
|
4289
|
+
completed: "completed";
|
|
4290
|
+
starting: "starting";
|
|
4291
|
+
waiting_for_approval: "waiting_for_approval";
|
|
4292
|
+
waiting_for_input: "waiting_for_input";
|
|
4293
|
+
}>>;
|
|
3708
4294
|
active: z.ZodBoolean;
|
|
3709
4295
|
stream_id: z.ZodString;
|
|
3710
4296
|
replay_available: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3733,6 +4319,16 @@ export type SteerWithdrawn = z.infer<typeof SteerWithdrawnSchema>;
|
|
|
3733
4319
|
* a client that stops reading the stream once the Stop answers still gives its own text back.
|
|
3734
4320
|
*/
|
|
3735
4321
|
export declare const CancelResponseSchema: z.ZodObject<{
|
|
4322
|
+
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
4323
|
+
stale: "stale";
|
|
4324
|
+
running: "running";
|
|
4325
|
+
failed: "failed";
|
|
4326
|
+
cancelled: "cancelled";
|
|
4327
|
+
completed: "completed";
|
|
4328
|
+
starting: "starting";
|
|
4329
|
+
waiting_for_approval: "waiting_for_approval";
|
|
4330
|
+
waiting_for_input: "waiting_for_input";
|
|
4331
|
+
}>>;
|
|
3736
4332
|
ok: z.ZodBoolean;
|
|
3737
4333
|
cancelled: z.ZodBoolean;
|
|
3738
4334
|
stream_id: z.ZodOptional<z.ZodString>;
|
|
@@ -4008,10 +4604,7 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4008
4604
|
}, z.core.$strip>>>;
|
|
4009
4605
|
assistant_name: z.ZodOptional<z.ZodString>;
|
|
4010
4606
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4011
|
-
|
|
4012
|
-
text: z.ZodString;
|
|
4013
|
-
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
4014
|
-
}, z.core.$strip>>>;
|
|
4607
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4015
4608
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4016
4609
|
session_id: z.ZodString;
|
|
4017
4610
|
title: z.ZodString;
|
|
@@ -4020,6 +4613,61 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4020
4613
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4021
4614
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4022
4615
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4616
|
+
plan_gauge: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4617
|
+
id: z.ZodString;
|
|
4618
|
+
label: z.ZodString;
|
|
4619
|
+
used_bp: z.ZodNumber;
|
|
4620
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
4621
|
+
}, z.core.$strip>>>;
|
|
4622
|
+
show_reasoning: z.ZodOptional<z.ZodBoolean>;
|
|
4623
|
+
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
4624
|
+
stale: "stale";
|
|
4625
|
+
running: "running";
|
|
4626
|
+
failed: "failed";
|
|
4627
|
+
cancelled: "cancelled";
|
|
4628
|
+
completed: "completed";
|
|
4629
|
+
starting: "starting";
|
|
4630
|
+
waiting_for_approval: "waiting_for_approval";
|
|
4631
|
+
waiting_for_input: "waiting_for_input";
|
|
4632
|
+
}>>;
|
|
4633
|
+
todo_state: z.ZodOptional<z.ZodObject<{
|
|
4634
|
+
display_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4635
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
4636
|
+
text: z.ZodString;
|
|
4637
|
+
state: z.ZodEnum<{
|
|
4638
|
+
pending: "pending";
|
|
4639
|
+
cancelled: "cancelled";
|
|
4640
|
+
completed: "completed";
|
|
4641
|
+
in_progress: "in_progress";
|
|
4642
|
+
}>;
|
|
4643
|
+
}, z.core.$strip>>>;
|
|
4644
|
+
total_count: z.ZodOptional<z.ZodNumber>;
|
|
4645
|
+
completed_count: z.ZodOptional<z.ZodNumber>;
|
|
4646
|
+
pending_count: z.ZodOptional<z.ZodNumber>;
|
|
4647
|
+
in_progress_count: z.ZodOptional<z.ZodNumber>;
|
|
4648
|
+
cancelled_count: z.ZodOptional<z.ZodNumber>;
|
|
4649
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
4650
|
+
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4651
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
4652
|
+
text: z.ZodOptional<z.ZodString>;
|
|
4653
|
+
content: z.ZodOptional<z.ZodString>;
|
|
4654
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4655
|
+
status: z.ZodOptional<z.ZodString>;
|
|
4656
|
+
done: z.ZodOptional<z.ZodBoolean>;
|
|
4657
|
+
completed: z.ZodOptional<z.ZodBoolean>;
|
|
4658
|
+
}, z.core.$loose>>>;
|
|
4659
|
+
summary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4660
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
4661
|
+
ts: z.ZodOptional<z.ZodNumber>;
|
|
4662
|
+
source: z.ZodOptional<z.ZodString>;
|
|
4663
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4664
|
+
}, z.core.$loose>>;
|
|
4665
|
+
source_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4666
|
+
session_id: z.ZodString;
|
|
4667
|
+
tip_session_id: z.ZodString;
|
|
4668
|
+
profile: z.ZodString;
|
|
4669
|
+
title: z.ZodString;
|
|
4670
|
+
}, z.core.$strip>>>;
|
|
4023
4671
|
context_detail_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4024
4672
|
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
4025
4673
|
session_id: z.ZodString;
|
|
@@ -4038,7 +4686,65 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4038
4686
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
4039
4687
|
message_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
4040
4688
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4689
|
+
reaction_view: z.ZodOptional<z.ZodObject<{
|
|
4690
|
+
row_id: z.ZodNumber;
|
|
4691
|
+
state: z.ZodObject<{
|
|
4692
|
+
items: z.ZodArray<z.ZodObject<{
|
|
4693
|
+
emoji: z.ZodEnum<{
|
|
4694
|
+
"\uD83D\uDC4D": "👍";
|
|
4695
|
+
"\uD83D\uDC4E": "👎";
|
|
4696
|
+
"\u2764\uFE0F": "❤️";
|
|
4697
|
+
"\uD83D\uDE02": "😂";
|
|
4698
|
+
"\uD83D\uDE2E": "😮";
|
|
4699
|
+
"\uD83C\uDF89": "🎉";
|
|
4700
|
+
}>;
|
|
4701
|
+
count: z.ZodNumber;
|
|
4702
|
+
mine: z.ZodBoolean;
|
|
4703
|
+
}, z.core.$strip>>;
|
|
4704
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
4705
|
+
"\uD83D\uDC4D": "👍";
|
|
4706
|
+
"\uD83D\uDC4E": "👎";
|
|
4707
|
+
"\u2764\uFE0F": "❤️";
|
|
4708
|
+
"\uD83D\uDE02": "😂";
|
|
4709
|
+
"\uD83D\uDE2E": "😮";
|
|
4710
|
+
"\uD83C\uDF89": "🎉";
|
|
4711
|
+
}>>;
|
|
4712
|
+
}, z.core.$strip>;
|
|
4713
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
4714
|
+
emoji: z.ZodNullable<z.ZodEnum<{
|
|
4715
|
+
"\uD83D\uDC4D": "👍";
|
|
4716
|
+
"\uD83D\uDC4E": "👎";
|
|
4717
|
+
"\u2764\uFE0F": "❤️";
|
|
4718
|
+
"\uD83D\uDE02": "😂";
|
|
4719
|
+
"\uD83D\uDE2E": "😮";
|
|
4720
|
+
"\uD83C\uDF89": "🎉";
|
|
4721
|
+
}>>;
|
|
4722
|
+
result: z.ZodObject<{
|
|
4723
|
+
items: z.ZodArray<z.ZodObject<{
|
|
4724
|
+
emoji: z.ZodEnum<{
|
|
4725
|
+
"\uD83D\uDC4D": "👍";
|
|
4726
|
+
"\uD83D\uDC4E": "👎";
|
|
4727
|
+
"\u2764\uFE0F": "❤️";
|
|
4728
|
+
"\uD83D\uDE02": "😂";
|
|
4729
|
+
"\uD83D\uDE2E": "😮";
|
|
4730
|
+
"\uD83C\uDF89": "🎉";
|
|
4731
|
+
}>;
|
|
4732
|
+
count: z.ZodNumber;
|
|
4733
|
+
mine: z.ZodBoolean;
|
|
4734
|
+
}, z.core.$strip>>;
|
|
4735
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
4736
|
+
"\uD83D\uDC4D": "👍";
|
|
4737
|
+
"\uD83D\uDC4E": "👎";
|
|
4738
|
+
"\u2764\uFE0F": "❤️";
|
|
4739
|
+
"\uD83D\uDE02": "😂";
|
|
4740
|
+
"\uD83D\uDE2E": "😮";
|
|
4741
|
+
"\uD83C\uDF89": "🎉";
|
|
4742
|
+
}>>;
|
|
4743
|
+
}, z.core.$strip>;
|
|
4744
|
+
}, z.core.$strip>>;
|
|
4745
|
+
}, z.core.$strip>>;
|
|
4041
4746
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4747
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
4042
4748
|
filename: z.ZodOptional<z.ZodString>;
|
|
4043
4749
|
name: z.ZodOptional<z.ZodString>;
|
|
4044
4750
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -4062,6 +4768,10 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4062
4768
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4063
4769
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
4064
4770
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4771
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
4772
|
+
draft_id: z.ZodString;
|
|
4773
|
+
card: z.ZodNumber;
|
|
4774
|
+
}, z.core.$strip>>;
|
|
4065
4775
|
text: z.ZodOptional<z.ZodString>;
|
|
4066
4776
|
stdout: z.ZodOptional<z.ZodString>;
|
|
4067
4777
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -4078,11 +4788,11 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4078
4788
|
message: z.ZodNullable<z.ZodString>;
|
|
4079
4789
|
}, z.core.$strip>>>;
|
|
4080
4790
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
4081
|
-
memory: "memory";
|
|
4082
4791
|
unknown: "unknown";
|
|
4792
|
+
memory: "memory";
|
|
4083
4793
|
shell: "shell";
|
|
4084
|
-
read: "read";
|
|
4085
4794
|
list: "list";
|
|
4795
|
+
read: "read";
|
|
4086
4796
|
search: "search";
|
|
4087
4797
|
web: "web";
|
|
4088
4798
|
write: "write";
|
|
@@ -4114,6 +4824,7 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4114
4824
|
}, z.core.$strip>>;
|
|
4115
4825
|
}, z.core.$strip>>;
|
|
4116
4826
|
}, z.core.$strip>>;
|
|
4827
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4117
4828
|
}, z.core.$loose>>>;
|
|
4118
4829
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
4119
4830
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
@@ -4146,9 +4857,9 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4146
4857
|
kind: z.ZodEnum<{
|
|
4147
4858
|
file: "file";
|
|
4148
4859
|
image: "image";
|
|
4860
|
+
pdf: "pdf";
|
|
4149
4861
|
audio: "audio";
|
|
4150
4862
|
video: "video";
|
|
4151
|
-
pdf: "pdf";
|
|
4152
4863
|
}>;
|
|
4153
4864
|
}, z.core.$strip>>>;
|
|
4154
4865
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -4156,6 +4867,10 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4156
4867
|
preview: z.ZodNullable<z.ZodString>;
|
|
4157
4868
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
4158
4869
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4870
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
4871
|
+
draft_id: z.ZodString;
|
|
4872
|
+
card: z.ZodNumber;
|
|
4873
|
+
}, z.core.$strip>>;
|
|
4159
4874
|
text: z.ZodOptional<z.ZodString>;
|
|
4160
4875
|
stdout: z.ZodOptional<z.ZodString>;
|
|
4161
4876
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -4171,8 +4886,8 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4171
4886
|
status: z.ZodEnum<{
|
|
4172
4887
|
unknown: "unknown";
|
|
4173
4888
|
running: "running";
|
|
4174
|
-
cancelled: "cancelled";
|
|
4175
4889
|
failed: "failed";
|
|
4890
|
+
cancelled: "cancelled";
|
|
4176
4891
|
completed: "completed";
|
|
4177
4892
|
attention: "attention";
|
|
4178
4893
|
}>;
|
|
@@ -4190,11 +4905,11 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4190
4905
|
message: z.ZodNullable<z.ZodString>;
|
|
4191
4906
|
}, z.core.$strip>>>;
|
|
4192
4907
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
4193
|
-
memory: "memory";
|
|
4194
4908
|
unknown: "unknown";
|
|
4909
|
+
memory: "memory";
|
|
4195
4910
|
shell: "shell";
|
|
4196
|
-
read: "read";
|
|
4197
4911
|
list: "list";
|
|
4912
|
+
read: "read";
|
|
4198
4913
|
search: "search";
|
|
4199
4914
|
web: "web";
|
|
4200
4915
|
write: "write";
|
|
@@ -4226,6 +4941,7 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4226
4941
|
}, z.core.$strip>>;
|
|
4227
4942
|
}, z.core.$strip>>;
|
|
4228
4943
|
}, z.core.$strip>>;
|
|
4944
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4229
4945
|
id: z.ZodString;
|
|
4230
4946
|
name: z.ZodString;
|
|
4231
4947
|
}, z.core.$loose>>;
|
|
@@ -4248,9 +4964,9 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4248
4964
|
kind: z.ZodEnum<{
|
|
4249
4965
|
file: "file";
|
|
4250
4966
|
image: "image";
|
|
4967
|
+
pdf: "pdf";
|
|
4251
4968
|
audio: "audio";
|
|
4252
4969
|
video: "video";
|
|
4253
|
-
pdf: "pdf";
|
|
4254
4970
|
}>;
|
|
4255
4971
|
}, z.core.$strip>>>;
|
|
4256
4972
|
terminal_state: z.ZodOptional<z.ZodString>;
|
|
@@ -4296,9 +5012,9 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4296
5012
|
kind: z.ZodEnum<{
|
|
4297
5013
|
file: "file";
|
|
4298
5014
|
image: "image";
|
|
5015
|
+
pdf: "pdf";
|
|
4299
5016
|
audio: "audio";
|
|
4300
5017
|
video: "video";
|
|
4301
|
-
pdf: "pdf";
|
|
4302
5018
|
}>;
|
|
4303
5019
|
}, z.core.$strip>>>;
|
|
4304
5020
|
_background_update: z.ZodOptional<z.ZodObject<{
|
|
@@ -4313,9 +5029,9 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4313
5029
|
summary: z.ZodString;
|
|
4314
5030
|
lines: z.ZodArray<z.ZodObject<{
|
|
4315
5031
|
kind: z.ZodEnum<{
|
|
4316
|
-
command: "command";
|
|
4317
5032
|
agent: "agent";
|
|
4318
5033
|
other: "other";
|
|
5034
|
+
command: "command";
|
|
4319
5035
|
}>;
|
|
4320
5036
|
status: z.ZodEnum<{
|
|
4321
5037
|
failed: "failed";
|
|
@@ -4380,6 +5096,10 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4380
5096
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4381
5097
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
4382
5098
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5099
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
5100
|
+
draft_id: z.ZodString;
|
|
5101
|
+
card: z.ZodNumber;
|
|
5102
|
+
}, z.core.$strip>>;
|
|
4383
5103
|
text: z.ZodOptional<z.ZodString>;
|
|
4384
5104
|
stdout: z.ZodOptional<z.ZodString>;
|
|
4385
5105
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -4396,11 +5116,11 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4396
5116
|
message: z.ZodNullable<z.ZodString>;
|
|
4397
5117
|
}, z.core.$strip>>>;
|
|
4398
5118
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
4399
|
-
memory: "memory";
|
|
4400
5119
|
unknown: "unknown";
|
|
5120
|
+
memory: "memory";
|
|
4401
5121
|
shell: "shell";
|
|
4402
|
-
read: "read";
|
|
4403
5122
|
list: "list";
|
|
5123
|
+
read: "read";
|
|
4404
5124
|
search: "search";
|
|
4405
5125
|
web: "web";
|
|
4406
5126
|
write: "write";
|
|
@@ -4432,6 +5152,7 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4432
5152
|
}, z.core.$strip>>;
|
|
4433
5153
|
}, z.core.$strip>>;
|
|
4434
5154
|
}, z.core.$strip>>;
|
|
5155
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4435
5156
|
}, z.core.$loose>>>;
|
|
4436
5157
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
4437
5158
|
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4492,8 +5213,8 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4492
5213
|
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4493
5214
|
key: z.ZodString;
|
|
4494
5215
|
level: z.ZodEnum<{
|
|
4495
|
-
error: "error";
|
|
4496
5216
|
success: "success";
|
|
5217
|
+
error: "error";
|
|
4497
5218
|
info: "info";
|
|
4498
5219
|
warn: "warn";
|
|
4499
5220
|
}>;
|
|
@@ -4516,6 +5237,7 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4516
5237
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
4517
5238
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4518
5239
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5240
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
4519
5241
|
filename: z.ZodOptional<z.ZodString>;
|
|
4520
5242
|
name: z.ZodOptional<z.ZodString>;
|
|
4521
5243
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -4887,8 +5609,8 @@ export declare const BackgroundTaskSchema: z.ZodObject<{
|
|
|
4887
5609
|
status: z.ZodEnum<{
|
|
4888
5610
|
unknown: "unknown";
|
|
4889
5611
|
running: "running";
|
|
4890
|
-
cancelled: "cancelled";
|
|
4891
5612
|
failed: "failed";
|
|
5613
|
+
cancelled: "cancelled";
|
|
4892
5614
|
completed: "completed";
|
|
4893
5615
|
attention: "attention";
|
|
4894
5616
|
}>;
|
|
@@ -4920,6 +5642,16 @@ export type BackgroundTask = z.infer<typeof BackgroundTaskSchema>;
|
|
|
4920
5642
|
* the chat's side panel opens on Agents for it. Absent from servers before TAL-373.
|
|
4921
5643
|
*/
|
|
4922
5644
|
export declare const BackgroundTasksResponseSchema: z.ZodObject<{
|
|
5645
|
+
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
5646
|
+
stale: "stale";
|
|
5647
|
+
running: "running";
|
|
5648
|
+
failed: "failed";
|
|
5649
|
+
cancelled: "cancelled";
|
|
5650
|
+
completed: "completed";
|
|
5651
|
+
starting: "starting";
|
|
5652
|
+
waiting_for_approval: "waiting_for_approval";
|
|
5653
|
+
waiting_for_input: "waiting_for_input";
|
|
5654
|
+
}>>;
|
|
4923
5655
|
session_id: z.ZodString;
|
|
4924
5656
|
tasks: z.ZodArray<z.ZodObject<{
|
|
4925
5657
|
task_id: z.ZodString;
|
|
@@ -4931,8 +5663,8 @@ export declare const BackgroundTasksResponseSchema: z.ZodObject<{
|
|
|
4931
5663
|
status: z.ZodEnum<{
|
|
4932
5664
|
unknown: "unknown";
|
|
4933
5665
|
running: "running";
|
|
4934
|
-
cancelled: "cancelled";
|
|
4935
5666
|
failed: "failed";
|
|
5667
|
+
cancelled: "cancelled";
|
|
4936
5668
|
completed: "completed";
|
|
4937
5669
|
attention: "attention";
|
|
4938
5670
|
}>;
|
|
@@ -4987,8 +5719,8 @@ export declare const BackgroundDismissResponseSchema: z.ZodObject<{
|
|
|
4987
5719
|
status: z.ZodEnum<{
|
|
4988
5720
|
unknown: "unknown";
|
|
4989
5721
|
running: "running";
|
|
4990
|
-
cancelled: "cancelled";
|
|
4991
5722
|
failed: "failed";
|
|
5723
|
+
cancelled: "cancelled";
|
|
4992
5724
|
completed: "completed";
|
|
4993
5725
|
attention: "attention";
|
|
4994
5726
|
}>;
|
|
@@ -5148,12 +5880,16 @@ export declare const ShareCreateResponseSchema: z.ZodObject<{
|
|
|
5148
5880
|
share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5149
5881
|
worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5150
5882
|
match_type: z.ZodOptional<z.ZodEnum<{
|
|
5151
|
-
content: "content";
|
|
5152
5883
|
title: "title";
|
|
5884
|
+
content: "content";
|
|
5153
5885
|
metadata: "metadata";
|
|
5154
5886
|
}>>;
|
|
5155
5887
|
match_preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5156
5888
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5889
|
+
sidebar_group: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5890
|
+
pinned: "pinned";
|
|
5891
|
+
recent: "recent";
|
|
5892
|
+
}>>>;
|
|
5157
5893
|
}, z.core.$loose>;
|
|
5158
5894
|
}, z.core.$loose>;
|
|
5159
5895
|
export declare const ShareMessageSchema: z.ZodObject<{
|
|
@@ -5184,6 +5920,150 @@ export declare const ShareReadSchema: z.ZodObject<{
|
|
|
5184
5920
|
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5185
5921
|
}, z.core.$loose>;
|
|
5186
5922
|
}, z.core.$loose>;
|
|
5923
|
+
export declare const SourceReferenceSearchSchema: z.ZodObject<{
|
|
5924
|
+
sessions: z.ZodArray<z.ZodObject<{
|
|
5925
|
+
context_used_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5926
|
+
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5927
|
+
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5928
|
+
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5929
|
+
session_id: z.ZodString;
|
|
5930
|
+
title: z.ZodString;
|
|
5931
|
+
workspace: z.ZodOptional<z.ZodString>;
|
|
5932
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5933
|
+
created_at: z.ZodOptional<z.ZodNumber>;
|
|
5934
|
+
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
5935
|
+
last_message_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5936
|
+
message_count: z.ZodOptional<z.ZodNumber>;
|
|
5937
|
+
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
5938
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
5939
|
+
project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5940
|
+
profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5941
|
+
is_streaming: z.ZodBoolean;
|
|
5942
|
+
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
5943
|
+
source_kind: z.ZodEnum<{
|
|
5944
|
+
other: "other";
|
|
5945
|
+
webhook: "webhook";
|
|
5946
|
+
cron: "cron";
|
|
5947
|
+
webui: "webui";
|
|
5948
|
+
cli: "cli";
|
|
5949
|
+
messaging: "messaging";
|
|
5950
|
+
subagent: "subagent";
|
|
5951
|
+
claude_code: "claude_code";
|
|
5952
|
+
kanban: "kanban";
|
|
5953
|
+
api: "api";
|
|
5954
|
+
}>;
|
|
5955
|
+
is_messaging_session: z.ZodBoolean;
|
|
5956
|
+
sort_ts: z.ZodNumber;
|
|
5957
|
+
cron_running: z.ZodOptional<z.ZodBoolean>;
|
|
5958
|
+
read_only: z.ZodBoolean;
|
|
5959
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5960
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
5961
|
+
state: z.ZodEnum<{
|
|
5962
|
+
unavailable: "unavailable";
|
|
5963
|
+
refused: "refused";
|
|
5964
|
+
attached: "attached";
|
|
5965
|
+
stopped: "stopped";
|
|
5966
|
+
incompatible: "incompatible";
|
|
5967
|
+
}>;
|
|
5968
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
5969
|
+
can_submit: z.ZodBoolean;
|
|
5970
|
+
can_interrupt: z.ZodBoolean;
|
|
5971
|
+
can_attach: z.ZodBoolean;
|
|
5972
|
+
restarting: z.ZodBoolean;
|
|
5973
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
5974
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
5975
|
+
model_change: z.ZodOptional<z.ZodObject<{
|
|
5976
|
+
state: z.ZodEnum<{
|
|
5977
|
+
applied: "applied";
|
|
5978
|
+
deferred: "deferred";
|
|
5979
|
+
confirmation_required: "confirmation_required";
|
|
5980
|
+
refused: "refused";
|
|
5981
|
+
}>;
|
|
5982
|
+
message: z.ZodOptional<z.ZodString>;
|
|
5983
|
+
confirm: z.ZodOptional<z.ZodString>;
|
|
5984
|
+
model: z.ZodOptional<z.ZodString>;
|
|
5985
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5986
|
+
}, z.core.$strip>>;
|
|
5987
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5988
|
+
admission_id: z.ZodString;
|
|
5989
|
+
sequence: z.ZodNumber;
|
|
5990
|
+
status: z.ZodEnum<{
|
|
5991
|
+
unknown: "unknown";
|
|
5992
|
+
queued: "queued";
|
|
5993
|
+
started: "started";
|
|
5994
|
+
terminal: "terminal";
|
|
5995
|
+
}>;
|
|
5996
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
5997
|
+
authority_epoch: z.ZodNumber;
|
|
5998
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
5999
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6000
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
6001
|
+
text: z.ZodOptional<z.ZodString>;
|
|
6002
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
6003
|
+
}, z.core.$strip>>>;
|
|
6004
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
6005
|
+
admission_id: z.ZodString;
|
|
6006
|
+
sequence: z.ZodNumber;
|
|
6007
|
+
status: z.ZodEnum<{
|
|
6008
|
+
unknown: "unknown";
|
|
6009
|
+
queued: "queued";
|
|
6010
|
+
started: "started";
|
|
6011
|
+
terminal: "terminal";
|
|
6012
|
+
}>;
|
|
6013
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
6014
|
+
authority_epoch: z.ZodNumber;
|
|
6015
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
6016
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6017
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
6018
|
+
text: z.ZodOptional<z.ZodString>;
|
|
6019
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
6020
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
6021
|
+
cancel: "cancel";
|
|
6022
|
+
discard: "discard";
|
|
6023
|
+
retry: "retry";
|
|
6024
|
+
steer: "steer";
|
|
6025
|
+
edit: "edit";
|
|
6026
|
+
}>>;
|
|
6027
|
+
}, z.core.$strip>>;
|
|
6028
|
+
}, z.core.$strip>>;
|
|
6029
|
+
can_branch: z.ZodBoolean;
|
|
6030
|
+
can_pin: z.ZodBoolean;
|
|
6031
|
+
can_archive: z.ZodBoolean;
|
|
6032
|
+
can_delete: z.ZodBoolean;
|
|
6033
|
+
can_duplicate: z.ZodBoolean;
|
|
6034
|
+
attention: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6035
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
6036
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
6037
|
+
}, z.core.$loose>>>;
|
|
6038
|
+
source_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6039
|
+
source_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6040
|
+
session_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6041
|
+
raw_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6042
|
+
parent_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6043
|
+
active_stream_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6044
|
+
share_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6045
|
+
share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6046
|
+
worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6047
|
+
match_type: z.ZodOptional<z.ZodEnum<{
|
|
6048
|
+
title: "title";
|
|
6049
|
+
content: "content";
|
|
6050
|
+
metadata: "metadata";
|
|
6051
|
+
}>>;
|
|
6052
|
+
match_preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6053
|
+
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6054
|
+
sidebar_group: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6055
|
+
pinned: "pinned";
|
|
6056
|
+
recent: "recent";
|
|
6057
|
+
}>>>;
|
|
6058
|
+
source_reference: z.ZodObject<{
|
|
6059
|
+
session_id: z.ZodString;
|
|
6060
|
+
tip_session_id: z.ZodString;
|
|
6061
|
+
profile: z.ZodString;
|
|
6062
|
+
}, z.core.$strip>;
|
|
6063
|
+
}, z.core.$loose>>;
|
|
6064
|
+
active_profile: z.ZodString;
|
|
6065
|
+
max_sources: z.ZodNumber;
|
|
6066
|
+
}, z.core.$strip>;
|
|
5187
6067
|
export declare const SessionNewRequestSchema: z.ZodObject<{
|
|
5188
6068
|
title: z.ZodOptional<z.ZodString>;
|
|
5189
6069
|
workspace: z.ZodOptional<z.ZodString>;
|
|
@@ -5202,6 +6082,11 @@ export declare const SessionNewRequestSchema: z.ZodObject<{
|
|
|
5202
6082
|
safe: "safe";
|
|
5203
6083
|
}>>;
|
|
5204
6084
|
request_id: z.ZodOptional<z.ZodString>;
|
|
6085
|
+
source_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6086
|
+
session_id: z.ZodString;
|
|
6087
|
+
tip_session_id: z.ZodString;
|
|
6088
|
+
profile: z.ZodString;
|
|
6089
|
+
}, z.core.$strip>>>;
|
|
5205
6090
|
}, z.core.$loose>;
|
|
5206
6091
|
/**
|
|
5207
6092
|
* `streaming` (TAL-802): live dictation over `TRANSCRIBE_STREAM_PATH` would open for this profile (`stt.streaming` on, a live provider wire).
|
|
@@ -5238,6 +6123,13 @@ export declare const LoginResponseSchema: z.ZodObject<{
|
|
|
5238
6123
|
ok: z.ZodLiteral<true>;
|
|
5239
6124
|
message: z.ZodOptional<z.ZodString>;
|
|
5240
6125
|
}, z.core.$loose>;
|
|
6126
|
+
/** TAL-1569: Talaria Web update channels, in display order. Nightly is a daily snapshot of the Experimental artifact. */
|
|
6127
|
+
export declare const WebUpdateChannelSchema: z.ZodEnum<{
|
|
6128
|
+
stable: "stable";
|
|
6129
|
+
nightly: "nightly";
|
|
6130
|
+
experimental: "experimental";
|
|
6131
|
+
}>;
|
|
6132
|
+
export type WebUpdateChannel = z.infer<typeof WebUpdateChannelSchema>;
|
|
5241
6133
|
export declare const SettingsSchema: z.ZodObject<{
|
|
5242
6134
|
bot_name: z.ZodOptional<z.ZodString>;
|
|
5243
6135
|
default_model: z.ZodOptional<z.ZodString>;
|
|
@@ -5275,6 +6167,11 @@ export declare const SettingsSchema: z.ZodObject<{
|
|
|
5275
6167
|
webui_version: z.ZodOptional<z.ZodString>;
|
|
5276
6168
|
agent_version: z.ZodOptional<z.ZodString>;
|
|
5277
6169
|
update_channel: z.ZodOptional<z.ZodString>;
|
|
6170
|
+
update_channels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6171
|
+
stable: "stable";
|
|
6172
|
+
nightly: "nightly";
|
|
6173
|
+
experimental: "experimental";
|
|
6174
|
+
}>>>;
|
|
5278
6175
|
agent_update_channel: z.ZodOptional<z.ZodEnum<{
|
|
5279
6176
|
stable: "stable";
|
|
5280
6177
|
experimental: "experimental";
|
|
@@ -5428,6 +6325,22 @@ export type QuotaLevel = z.infer<typeof QuotaLevelSchema>;
|
|
|
5428
6325
|
* TAL-807: `limit` is present while the provider's credential pool cannot serve this model until `resets_at` (ISO-8601 UTC).
|
|
5429
6326
|
*/
|
|
5430
6327
|
export declare const ModelEntrySchema: z.ZodObject<{
|
|
6328
|
+
allowance: z.ZodOptional<z.ZodObject<{
|
|
6329
|
+
state: z.ZodEnum<{
|
|
6330
|
+
unknown: "unknown";
|
|
6331
|
+
blocked: "blocked";
|
|
6332
|
+
included: "included";
|
|
6333
|
+
free: "free";
|
|
6334
|
+
credits: "credits";
|
|
6335
|
+
}>;
|
|
6336
|
+
usage_level: z.ZodNullable<z.ZodEnum<{
|
|
6337
|
+
free: "free";
|
|
6338
|
+
low: "low";
|
|
6339
|
+
medium: "medium";
|
|
6340
|
+
top_tier: "top_tier";
|
|
6341
|
+
}>>;
|
|
6342
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
6343
|
+
}, z.core.$strip>>;
|
|
5431
6344
|
id: z.ZodString;
|
|
5432
6345
|
label: z.ZodOptional<z.ZodString>;
|
|
5433
6346
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -5477,6 +6390,34 @@ export declare const CatalogAvailabilitySchema: z.ZodObject<{
|
|
|
5477
6390
|
}, z.core.$strip>;
|
|
5478
6391
|
export type CatalogAvailability = z.infer<typeof CatalogAvailabilitySchema>;
|
|
5479
6392
|
export declare const ModelGroupSchema: z.ZodObject<{
|
|
6393
|
+
plan_usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6394
|
+
kind: z.ZodLiteral<"usage_window">;
|
|
6395
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
6396
|
+
gauges: z.ZodArray<z.ZodObject<{
|
|
6397
|
+
label: z.ZodString;
|
|
6398
|
+
left_fraction: z.ZodNumber;
|
|
6399
|
+
style: z.ZodEnum<{
|
|
6400
|
+
green: "green";
|
|
6401
|
+
yellow: "yellow";
|
|
6402
|
+
red: "red";
|
|
6403
|
+
}>;
|
|
6404
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
6405
|
+
scope: z.ZodString;
|
|
6406
|
+
title: z.ZodString;
|
|
6407
|
+
}, z.core.$strip>>;
|
|
6408
|
+
top_tier_model_ids: z.ZodArray<z.ZodString>;
|
|
6409
|
+
featured_model_ids: z.ZodArray<z.ZodString>;
|
|
6410
|
+
paused_reason: z.ZodNullable<z.ZodString>;
|
|
6411
|
+
credits_pay: z.ZodNullable<z.ZodBoolean>;
|
|
6412
|
+
}, z.core.$strip>>>;
|
|
6413
|
+
plan_stale: z.ZodOptional<z.ZodBoolean>;
|
|
6414
|
+
sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6415
|
+
kind: z.ZodEnum<{
|
|
6416
|
+
recommended: "recommended";
|
|
6417
|
+
other: "other";
|
|
6418
|
+
}>;
|
|
6419
|
+
model_ids: z.ZodArray<z.ZodString>;
|
|
6420
|
+
}, z.core.$strip>>>;
|
|
5480
6421
|
availability: z.ZodOptional<z.ZodObject<{
|
|
5481
6422
|
status: z.ZodEnum<{
|
|
5482
6423
|
available: "available";
|
|
@@ -5490,6 +6431,22 @@ export declare const ModelGroupSchema: z.ZodObject<{
|
|
|
5490
6431
|
provider: z.ZodString;
|
|
5491
6432
|
provider_id: z.ZodOptional<z.ZodString>;
|
|
5492
6433
|
models: z.ZodArray<z.ZodObject<{
|
|
6434
|
+
allowance: z.ZodOptional<z.ZodObject<{
|
|
6435
|
+
state: z.ZodEnum<{
|
|
6436
|
+
unknown: "unknown";
|
|
6437
|
+
blocked: "blocked";
|
|
6438
|
+
included: "included";
|
|
6439
|
+
free: "free";
|
|
6440
|
+
credits: "credits";
|
|
6441
|
+
}>;
|
|
6442
|
+
usage_level: z.ZodNullable<z.ZodEnum<{
|
|
6443
|
+
free: "free";
|
|
6444
|
+
low: "low";
|
|
6445
|
+
medium: "medium";
|
|
6446
|
+
top_tier: "top_tier";
|
|
6447
|
+
}>>;
|
|
6448
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
6449
|
+
}, z.core.$strip>>;
|
|
5493
6450
|
id: z.ZodString;
|
|
5494
6451
|
label: z.ZodOptional<z.ZodString>;
|
|
5495
6452
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -5515,6 +6472,22 @@ export declare const ModelGroupSchema: z.ZodObject<{
|
|
|
5515
6472
|
}, z.core.$strip>>;
|
|
5516
6473
|
}, z.core.$loose>>;
|
|
5517
6474
|
extra_models: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6475
|
+
allowance: z.ZodOptional<z.ZodObject<{
|
|
6476
|
+
state: z.ZodEnum<{
|
|
6477
|
+
unknown: "unknown";
|
|
6478
|
+
blocked: "blocked";
|
|
6479
|
+
included: "included";
|
|
6480
|
+
free: "free";
|
|
6481
|
+
credits: "credits";
|
|
6482
|
+
}>;
|
|
6483
|
+
usage_level: z.ZodNullable<z.ZodEnum<{
|
|
6484
|
+
free: "free";
|
|
6485
|
+
low: "low";
|
|
6486
|
+
medium: "medium";
|
|
6487
|
+
top_tier: "top_tier";
|
|
6488
|
+
}>>;
|
|
6489
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
6490
|
+
}, z.core.$strip>>;
|
|
5518
6491
|
id: z.ZodString;
|
|
5519
6492
|
label: z.ZodOptional<z.ZodString>;
|
|
5520
6493
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -5571,6 +6544,34 @@ export declare const ModelsSchema: z.ZodObject<{
|
|
|
5571
6544
|
default_bare_id: z.ZodOptional<z.ZodString>;
|
|
5572
6545
|
default_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5573
6546
|
groups: z.ZodArray<z.ZodObject<{
|
|
6547
|
+
plan_usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6548
|
+
kind: z.ZodLiteral<"usage_window">;
|
|
6549
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
6550
|
+
gauges: z.ZodArray<z.ZodObject<{
|
|
6551
|
+
label: z.ZodString;
|
|
6552
|
+
left_fraction: z.ZodNumber;
|
|
6553
|
+
style: z.ZodEnum<{
|
|
6554
|
+
green: "green";
|
|
6555
|
+
yellow: "yellow";
|
|
6556
|
+
red: "red";
|
|
6557
|
+
}>;
|
|
6558
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
6559
|
+
scope: z.ZodString;
|
|
6560
|
+
title: z.ZodString;
|
|
6561
|
+
}, z.core.$strip>>;
|
|
6562
|
+
top_tier_model_ids: z.ZodArray<z.ZodString>;
|
|
6563
|
+
featured_model_ids: z.ZodArray<z.ZodString>;
|
|
6564
|
+
paused_reason: z.ZodNullable<z.ZodString>;
|
|
6565
|
+
credits_pay: z.ZodNullable<z.ZodBoolean>;
|
|
6566
|
+
}, z.core.$strip>>>;
|
|
6567
|
+
plan_stale: z.ZodOptional<z.ZodBoolean>;
|
|
6568
|
+
sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6569
|
+
kind: z.ZodEnum<{
|
|
6570
|
+
recommended: "recommended";
|
|
6571
|
+
other: "other";
|
|
6572
|
+
}>;
|
|
6573
|
+
model_ids: z.ZodArray<z.ZodString>;
|
|
6574
|
+
}, z.core.$strip>>>;
|
|
5574
6575
|
availability: z.ZodOptional<z.ZodObject<{
|
|
5575
6576
|
status: z.ZodEnum<{
|
|
5576
6577
|
available: "available";
|
|
@@ -5584,6 +6585,22 @@ export declare const ModelsSchema: z.ZodObject<{
|
|
|
5584
6585
|
provider: z.ZodString;
|
|
5585
6586
|
provider_id: z.ZodOptional<z.ZodString>;
|
|
5586
6587
|
models: z.ZodArray<z.ZodObject<{
|
|
6588
|
+
allowance: z.ZodOptional<z.ZodObject<{
|
|
6589
|
+
state: z.ZodEnum<{
|
|
6590
|
+
unknown: "unknown";
|
|
6591
|
+
blocked: "blocked";
|
|
6592
|
+
included: "included";
|
|
6593
|
+
free: "free";
|
|
6594
|
+
credits: "credits";
|
|
6595
|
+
}>;
|
|
6596
|
+
usage_level: z.ZodNullable<z.ZodEnum<{
|
|
6597
|
+
free: "free";
|
|
6598
|
+
low: "low";
|
|
6599
|
+
medium: "medium";
|
|
6600
|
+
top_tier: "top_tier";
|
|
6601
|
+
}>>;
|
|
6602
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
6603
|
+
}, z.core.$strip>>;
|
|
5587
6604
|
id: z.ZodString;
|
|
5588
6605
|
label: z.ZodOptional<z.ZodString>;
|
|
5589
6606
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -5609,6 +6626,22 @@ export declare const ModelsSchema: z.ZodObject<{
|
|
|
5609
6626
|
}, z.core.$strip>>;
|
|
5610
6627
|
}, z.core.$loose>>;
|
|
5611
6628
|
extra_models: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6629
|
+
allowance: z.ZodOptional<z.ZodObject<{
|
|
6630
|
+
state: z.ZodEnum<{
|
|
6631
|
+
unknown: "unknown";
|
|
6632
|
+
blocked: "blocked";
|
|
6633
|
+
included: "included";
|
|
6634
|
+
free: "free";
|
|
6635
|
+
credits: "credits";
|
|
6636
|
+
}>;
|
|
6637
|
+
usage_level: z.ZodNullable<z.ZodEnum<{
|
|
6638
|
+
free: "free";
|
|
6639
|
+
low: "low";
|
|
6640
|
+
medium: "medium";
|
|
6641
|
+
top_tier: "top_tier";
|
|
6642
|
+
}>>;
|
|
6643
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
6644
|
+
}, z.core.$strip>>;
|
|
5612
6645
|
id: z.ZodString;
|
|
5613
6646
|
label: z.ZodOptional<z.ZodString>;
|
|
5614
6647
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -5665,6 +6698,22 @@ export declare const ModelsLiveSchema: z.ZodObject<{
|
|
|
5665
6698
|
provider: z.ZodOptional<z.ZodString>;
|
|
5666
6699
|
source: z.ZodOptional<z.ZodString>;
|
|
5667
6700
|
models: z.ZodArray<z.ZodObject<{
|
|
6701
|
+
allowance: z.ZodOptional<z.ZodObject<{
|
|
6702
|
+
state: z.ZodEnum<{
|
|
6703
|
+
unknown: "unknown";
|
|
6704
|
+
blocked: "blocked";
|
|
6705
|
+
included: "included";
|
|
6706
|
+
free: "free";
|
|
6707
|
+
credits: "credits";
|
|
6708
|
+
}>;
|
|
6709
|
+
usage_level: z.ZodNullable<z.ZodEnum<{
|
|
6710
|
+
free: "free";
|
|
6711
|
+
low: "low";
|
|
6712
|
+
medium: "medium";
|
|
6713
|
+
top_tier: "top_tier";
|
|
6714
|
+
}>>;
|
|
6715
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
6716
|
+
}, z.core.$strip>>;
|
|
5668
6717
|
id: z.ZodString;
|
|
5669
6718
|
label: z.ZodOptional<z.ZodString>;
|
|
5670
6719
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -5695,10 +6744,10 @@ export declare const ModelsLiveSchema: z.ZodObject<{
|
|
|
5695
6744
|
export type Models = z.infer<typeof ModelsSchema>;
|
|
5696
6745
|
/** TAL-603: where a card's credential comes from; `other` is a source the server cannot name, shown as its raw `key_source`. */
|
|
5697
6746
|
export declare const KeySourceKindSchema: z.ZodEnum<{
|
|
6747
|
+
other: "other";
|
|
5698
6748
|
env: "env";
|
|
5699
6749
|
plugin: "plugin";
|
|
5700
6750
|
config: "config";
|
|
5701
|
-
other: "other";
|
|
5702
6751
|
oauth: "oauth";
|
|
5703
6752
|
pool: "pool";
|
|
5704
6753
|
}>;
|
|
@@ -5724,6 +6773,22 @@ export declare const ProviderSchema: z.ZodObject<{
|
|
|
5724
6773
|
auth_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5725
6774
|
env_var: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5726
6775
|
models: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6776
|
+
allowance: z.ZodOptional<z.ZodObject<{
|
|
6777
|
+
state: z.ZodEnum<{
|
|
6778
|
+
unknown: "unknown";
|
|
6779
|
+
blocked: "blocked";
|
|
6780
|
+
included: "included";
|
|
6781
|
+
free: "free";
|
|
6782
|
+
credits: "credits";
|
|
6783
|
+
}>;
|
|
6784
|
+
usage_level: z.ZodNullable<z.ZodEnum<{
|
|
6785
|
+
free: "free";
|
|
6786
|
+
low: "low";
|
|
6787
|
+
medium: "medium";
|
|
6788
|
+
top_tier: "top_tier";
|
|
6789
|
+
}>>;
|
|
6790
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
6791
|
+
}, z.core.$strip>>;
|
|
5727
6792
|
id: z.ZodString;
|
|
5728
6793
|
label: z.ZodOptional<z.ZodString>;
|
|
5729
6794
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -5749,12 +6814,33 @@ export declare const ProviderSchema: z.ZodObject<{
|
|
|
5749
6814
|
}, z.core.$strip>>;
|
|
5750
6815
|
}, z.core.$loose>>>;
|
|
5751
6816
|
models_total: z.ZodOptional<z.ZodNumber>;
|
|
6817
|
+
nous_account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6818
|
+
account_id: z.ZodString;
|
|
6819
|
+
email: z.ZodNullable<z.ZodString>;
|
|
6820
|
+
state: z.ZodEnum<{
|
|
6821
|
+
unavailable: "unavailable";
|
|
6822
|
+
unknown: "unknown";
|
|
6823
|
+
pending: "pending";
|
|
6824
|
+
failed: "failed";
|
|
6825
|
+
idle: "idle";
|
|
6826
|
+
retrying: "retrying";
|
|
6827
|
+
claimed: "claimed";
|
|
6828
|
+
gone: "gone";
|
|
6829
|
+
paused: "paused";
|
|
6830
|
+
}>;
|
|
6831
|
+
lines: z.ZodArray<z.ZodString>;
|
|
6832
|
+
moved: z.ZodArray<z.ZodString>;
|
|
6833
|
+
dropped: z.ZodArray<z.ZodString>;
|
|
6834
|
+
reconnect: z.ZodArray<z.ZodString>;
|
|
6835
|
+
poll_after: z.ZodNullable<z.ZodNumber>;
|
|
6836
|
+
}, z.core.$strip>>>;
|
|
6837
|
+
nous_account_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5752
6838
|
is_active: z.ZodOptional<z.ZodBoolean>;
|
|
5753
6839
|
key_source_kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6840
|
+
other: "other";
|
|
5754
6841
|
env: "env";
|
|
5755
6842
|
plugin: "plugin";
|
|
5756
6843
|
config: "config";
|
|
5757
|
-
other: "other";
|
|
5758
6844
|
oauth: "oauth";
|
|
5759
6845
|
pool: "pool";
|
|
5760
6846
|
}>>>;
|
|
@@ -5786,6 +6872,22 @@ export declare const ProvidersSchema: z.ZodObject<{
|
|
|
5786
6872
|
auth_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5787
6873
|
env_var: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5788
6874
|
models: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6875
|
+
allowance: z.ZodOptional<z.ZodObject<{
|
|
6876
|
+
state: z.ZodEnum<{
|
|
6877
|
+
unknown: "unknown";
|
|
6878
|
+
blocked: "blocked";
|
|
6879
|
+
included: "included";
|
|
6880
|
+
free: "free";
|
|
6881
|
+
credits: "credits";
|
|
6882
|
+
}>;
|
|
6883
|
+
usage_level: z.ZodNullable<z.ZodEnum<{
|
|
6884
|
+
free: "free";
|
|
6885
|
+
low: "low";
|
|
6886
|
+
medium: "medium";
|
|
6887
|
+
top_tier: "top_tier";
|
|
6888
|
+
}>>;
|
|
6889
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
6890
|
+
}, z.core.$strip>>;
|
|
5789
6891
|
id: z.ZodString;
|
|
5790
6892
|
label: z.ZodOptional<z.ZodString>;
|
|
5791
6893
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -5811,12 +6913,33 @@ export declare const ProvidersSchema: z.ZodObject<{
|
|
|
5811
6913
|
}, z.core.$strip>>;
|
|
5812
6914
|
}, z.core.$loose>>>;
|
|
5813
6915
|
models_total: z.ZodOptional<z.ZodNumber>;
|
|
6916
|
+
nous_account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6917
|
+
account_id: z.ZodString;
|
|
6918
|
+
email: z.ZodNullable<z.ZodString>;
|
|
6919
|
+
state: z.ZodEnum<{
|
|
6920
|
+
unavailable: "unavailable";
|
|
6921
|
+
unknown: "unknown";
|
|
6922
|
+
pending: "pending";
|
|
6923
|
+
failed: "failed";
|
|
6924
|
+
idle: "idle";
|
|
6925
|
+
retrying: "retrying";
|
|
6926
|
+
claimed: "claimed";
|
|
6927
|
+
gone: "gone";
|
|
6928
|
+
paused: "paused";
|
|
6929
|
+
}>;
|
|
6930
|
+
lines: z.ZodArray<z.ZodString>;
|
|
6931
|
+
moved: z.ZodArray<z.ZodString>;
|
|
6932
|
+
dropped: z.ZodArray<z.ZodString>;
|
|
6933
|
+
reconnect: z.ZodArray<z.ZodString>;
|
|
6934
|
+
poll_after: z.ZodNullable<z.ZodNumber>;
|
|
6935
|
+
}, z.core.$strip>>>;
|
|
6936
|
+
nous_account_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5814
6937
|
is_active: z.ZodOptional<z.ZodBoolean>;
|
|
5815
6938
|
key_source_kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6939
|
+
other: "other";
|
|
5816
6940
|
env: "env";
|
|
5817
6941
|
plugin: "plugin";
|
|
5818
6942
|
config: "config";
|
|
5819
|
-
other: "other";
|
|
5820
6943
|
oauth: "oauth";
|
|
5821
6944
|
pool: "pool";
|
|
5822
6945
|
}>>>;
|
|
@@ -5920,6 +7043,27 @@ export declare const QuotaWindowSchema: z.ZodObject<{
|
|
|
5920
7043
|
}, z.core.$loose>>;
|
|
5921
7044
|
}, z.core.$loose>;
|
|
5922
7045
|
export declare const QuotaSourceSchema: z.ZodObject<{
|
|
7046
|
+
plan_usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7047
|
+
kind: z.ZodLiteral<"usage_window">;
|
|
7048
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
7049
|
+
gauges: z.ZodArray<z.ZodObject<{
|
|
7050
|
+
label: z.ZodString;
|
|
7051
|
+
left_fraction: z.ZodNumber;
|
|
7052
|
+
style: z.ZodEnum<{
|
|
7053
|
+
green: "green";
|
|
7054
|
+
yellow: "yellow";
|
|
7055
|
+
red: "red";
|
|
7056
|
+
}>;
|
|
7057
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
7058
|
+
scope: z.ZodString;
|
|
7059
|
+
title: z.ZodString;
|
|
7060
|
+
}, z.core.$strip>>;
|
|
7061
|
+
top_tier_model_ids: z.ZodArray<z.ZodString>;
|
|
7062
|
+
featured_model_ids: z.ZodArray<z.ZodString>;
|
|
7063
|
+
paused_reason: z.ZodNullable<z.ZodString>;
|
|
7064
|
+
credits_pay: z.ZodNullable<z.ZodBoolean>;
|
|
7065
|
+
}, z.core.$strip>>>;
|
|
7066
|
+
plan_stale: z.ZodOptional<z.ZodBoolean>;
|
|
5923
7067
|
computed_at: z.ZodOptional<z.ZodString>;
|
|
5924
7068
|
source_id: z.ZodString;
|
|
5925
7069
|
provider_id: z.ZodOptional<z.ZodString>;
|
|
@@ -6009,6 +7153,27 @@ export declare const QuotaSourceSchema: z.ZodObject<{
|
|
|
6009
7153
|
}, z.core.$loose>;
|
|
6010
7154
|
/** An account-usage provider's normalised snapshot on `/api/provider/quota` (the same windows and indexes as a quotas source). */
|
|
6011
7155
|
export declare const QuotaAccountLimitsSchema: z.ZodObject<{
|
|
7156
|
+
plan_usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7157
|
+
kind: z.ZodLiteral<"usage_window">;
|
|
7158
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
7159
|
+
gauges: z.ZodArray<z.ZodObject<{
|
|
7160
|
+
label: z.ZodString;
|
|
7161
|
+
left_fraction: z.ZodNumber;
|
|
7162
|
+
style: z.ZodEnum<{
|
|
7163
|
+
green: "green";
|
|
7164
|
+
yellow: "yellow";
|
|
7165
|
+
red: "red";
|
|
7166
|
+
}>;
|
|
7167
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
7168
|
+
scope: z.ZodString;
|
|
7169
|
+
title: z.ZodString;
|
|
7170
|
+
}, z.core.$strip>>;
|
|
7171
|
+
top_tier_model_ids: z.ZodArray<z.ZodString>;
|
|
7172
|
+
featured_model_ids: z.ZodArray<z.ZodString>;
|
|
7173
|
+
paused_reason: z.ZodNullable<z.ZodString>;
|
|
7174
|
+
credits_pay: z.ZodNullable<z.ZodBoolean>;
|
|
7175
|
+
}, z.core.$strip>>>;
|
|
7176
|
+
plan_stale: z.ZodOptional<z.ZodBoolean>;
|
|
6012
7177
|
available: z.ZodOptional<z.ZodBoolean>;
|
|
6013
7178
|
stale: z.ZodOptional<z.ZodBoolean>;
|
|
6014
7179
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -6083,6 +7248,27 @@ export declare const ProviderQuotaSchema: z.ZodObject<{
|
|
|
6083
7248
|
message: z.ZodString;
|
|
6084
7249
|
quota: z.ZodUnknown;
|
|
6085
7250
|
account_limits: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7251
|
+
plan_usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7252
|
+
kind: z.ZodLiteral<"usage_window">;
|
|
7253
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
7254
|
+
gauges: z.ZodArray<z.ZodObject<{
|
|
7255
|
+
label: z.ZodString;
|
|
7256
|
+
left_fraction: z.ZodNumber;
|
|
7257
|
+
style: z.ZodEnum<{
|
|
7258
|
+
green: "green";
|
|
7259
|
+
yellow: "yellow";
|
|
7260
|
+
red: "red";
|
|
7261
|
+
}>;
|
|
7262
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
7263
|
+
scope: z.ZodString;
|
|
7264
|
+
title: z.ZodString;
|
|
7265
|
+
}, z.core.$strip>>;
|
|
7266
|
+
top_tier_model_ids: z.ZodArray<z.ZodString>;
|
|
7267
|
+
featured_model_ids: z.ZodArray<z.ZodString>;
|
|
7268
|
+
paused_reason: z.ZodNullable<z.ZodString>;
|
|
7269
|
+
credits_pay: z.ZodNullable<z.ZodBoolean>;
|
|
7270
|
+
}, z.core.$strip>>>;
|
|
7271
|
+
plan_stale: z.ZodOptional<z.ZodBoolean>;
|
|
6086
7272
|
available: z.ZodOptional<z.ZodBoolean>;
|
|
6087
7273
|
stale: z.ZodOptional<z.ZodBoolean>;
|
|
6088
7274
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -6166,6 +7352,27 @@ export declare const ProviderQuotasSchema: z.ZodObject<{
|
|
|
6166
7352
|
requested_source_id: z.ZodNullable<z.ZodString>;
|
|
6167
7353
|
missing_source: z.ZodBoolean;
|
|
6168
7354
|
sources: z.ZodArray<z.ZodObject<{
|
|
7355
|
+
plan_usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7356
|
+
kind: z.ZodLiteral<"usage_window">;
|
|
7357
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
7358
|
+
gauges: z.ZodArray<z.ZodObject<{
|
|
7359
|
+
label: z.ZodString;
|
|
7360
|
+
left_fraction: z.ZodNumber;
|
|
7361
|
+
style: z.ZodEnum<{
|
|
7362
|
+
green: "green";
|
|
7363
|
+
yellow: "yellow";
|
|
7364
|
+
red: "red";
|
|
7365
|
+
}>;
|
|
7366
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
7367
|
+
scope: z.ZodString;
|
|
7368
|
+
title: z.ZodString;
|
|
7369
|
+
}, z.core.$strip>>;
|
|
7370
|
+
top_tier_model_ids: z.ZodArray<z.ZodString>;
|
|
7371
|
+
featured_model_ids: z.ZodArray<z.ZodString>;
|
|
7372
|
+
paused_reason: z.ZodNullable<z.ZodString>;
|
|
7373
|
+
credits_pay: z.ZodNullable<z.ZodBoolean>;
|
|
7374
|
+
}, z.core.$strip>>>;
|
|
7375
|
+
plan_stale: z.ZodOptional<z.ZodBoolean>;
|
|
6169
7376
|
computed_at: z.ZodOptional<z.ZodString>;
|
|
6170
7377
|
source_id: z.ZodString;
|
|
6171
7378
|
provider_id: z.ZodOptional<z.ZodString>;
|
|
@@ -6313,6 +7520,85 @@ export declare const AuxiliaryTaskSchema: z.ZodObject<{
|
|
|
6313
7520
|
reasoning_effort: z.ZodNullable<z.ZodString>;
|
|
6314
7521
|
}, z.core.$loose>;
|
|
6315
7522
|
export declare const AuxiliaryModelsSchema: z.ZodObject<{
|
|
7523
|
+
delegation: z.ZodOptional<z.ZodObject<{
|
|
7524
|
+
supported: z.ZodBoolean;
|
|
7525
|
+
configured: z.ZodString;
|
|
7526
|
+
effective: z.ZodNullable<z.ZodString>;
|
|
7527
|
+
available: z.ZodBoolean;
|
|
7528
|
+
blocked_reason: z.ZodNullable<z.ZodString>;
|
|
7529
|
+
fixed_model_active: z.ZodBoolean;
|
|
7530
|
+
backends: z.ZodArray<z.ZodObject<{
|
|
7531
|
+
name: z.ZodString;
|
|
7532
|
+
label: z.ZodString;
|
|
7533
|
+
description: z.ZodString;
|
|
7534
|
+
available: z.ZodBoolean;
|
|
7535
|
+
reason: z.ZodString;
|
|
7536
|
+
}, z.core.$strip>>;
|
|
7537
|
+
profiles: z.ZodArray<z.ZodString>;
|
|
7538
|
+
can_edit: z.ZodBoolean;
|
|
7539
|
+
model_map: z.ZodObject<{
|
|
7540
|
+
default: z.ZodNullable<z.ZodString>;
|
|
7541
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7542
|
+
label: z.ZodOptional<z.ZodString>;
|
|
7543
|
+
name: z.ZodString;
|
|
7544
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7545
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
7546
|
+
model: z.ZodOptional<z.ZodString>;
|
|
7547
|
+
base_url: z.ZodOptional<z.ZodString>;
|
|
7548
|
+
api_mode: z.ZodOptional<z.ZodString>;
|
|
7549
|
+
api_key_set: z.ZodOptional<z.ZodBoolean>;
|
|
7550
|
+
reasoning_effort: z.ZodOptional<z.ZodString>;
|
|
7551
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
7552
|
+
fallback_providers: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
7553
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
7554
|
+
}, z.core.$strip>>>;
|
|
7555
|
+
profiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7556
|
+
label: z.ZodOptional<z.ZodString>;
|
|
7557
|
+
name: z.ZodString;
|
|
7558
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7559
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
7560
|
+
model: z.ZodOptional<z.ZodString>;
|
|
7561
|
+
base_url: z.ZodOptional<z.ZodString>;
|
|
7562
|
+
api_mode: z.ZodOptional<z.ZodString>;
|
|
7563
|
+
api_key_set: z.ZodOptional<z.ZodBoolean>;
|
|
7564
|
+
reasoning_effort: z.ZodOptional<z.ZodString>;
|
|
7565
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
7566
|
+
fallback_providers: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
7567
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
7568
|
+
}, z.core.$strip>>>;
|
|
7569
|
+
}, z.core.$strip>;
|
|
7570
|
+
profile_routes: z.ZodObject<{
|
|
7571
|
+
default: z.ZodNullable<z.ZodString>;
|
|
7572
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7573
|
+
label: z.ZodOptional<z.ZodString>;
|
|
7574
|
+
name: z.ZodString;
|
|
7575
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7576
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
7577
|
+
model: z.ZodOptional<z.ZodString>;
|
|
7578
|
+
base_url: z.ZodOptional<z.ZodString>;
|
|
7579
|
+
api_mode: z.ZodOptional<z.ZodString>;
|
|
7580
|
+
api_key_set: z.ZodOptional<z.ZodBoolean>;
|
|
7581
|
+
reasoning_effort: z.ZodOptional<z.ZodString>;
|
|
7582
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
7583
|
+
fallback_providers: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
7584
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
7585
|
+
}, z.core.$strip>>>;
|
|
7586
|
+
profiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7587
|
+
label: z.ZodOptional<z.ZodString>;
|
|
7588
|
+
name: z.ZodString;
|
|
7589
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7590
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
7591
|
+
model: z.ZodOptional<z.ZodString>;
|
|
7592
|
+
base_url: z.ZodOptional<z.ZodString>;
|
|
7593
|
+
api_mode: z.ZodOptional<z.ZodString>;
|
|
7594
|
+
api_key_set: z.ZodOptional<z.ZodBoolean>;
|
|
7595
|
+
reasoning_effort: z.ZodOptional<z.ZodString>;
|
|
7596
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
7597
|
+
fallback_providers: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
7598
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
7599
|
+
}, z.core.$strip>>>;
|
|
7600
|
+
}, z.core.$strip>;
|
|
7601
|
+
}, z.core.$strip>>;
|
|
6316
7602
|
main: z.ZodObject<{
|
|
6317
7603
|
model: z.ZodOptional<z.ZodString>;
|
|
6318
7604
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -6376,6 +7662,7 @@ export declare const WorkspacesSchema: z.ZodObject<{
|
|
|
6376
7662
|
}, z.core.$loose>;
|
|
6377
7663
|
export type Workspaces = z.infer<typeof WorkspacesSchema>;
|
|
6378
7664
|
export declare const FileEntrySchema: z.ZodObject<{
|
|
7665
|
+
read_only: z.ZodOptional<z.ZodBoolean>;
|
|
6379
7666
|
name: z.ZodString;
|
|
6380
7667
|
path: z.ZodOptional<z.ZodString>;
|
|
6381
7668
|
is_dir: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6389,9 +7676,15 @@ export declare const FileEntrySchema: z.ZodObject<{
|
|
|
6389
7676
|
target: z.ZodOptional<z.ZodString>;
|
|
6390
7677
|
target_outside_workspace: z.ZodOptional<z.ZodBoolean>;
|
|
6391
7678
|
}, z.core.$loose>;
|
|
7679
|
+
export declare const FileSourceSchema: z.ZodEnum<{
|
|
7680
|
+
workspace: "workspace";
|
|
7681
|
+
managed: "managed";
|
|
7682
|
+
}>;
|
|
6392
7683
|
export declare const DirListingSchema: z.ZodObject<{
|
|
7684
|
+
unavailable: z.ZodOptional<z.ZodBoolean>;
|
|
6393
7685
|
path: z.ZodOptional<z.ZodString>;
|
|
6394
7686
|
entries: z.ZodArray<z.ZodObject<{
|
|
7687
|
+
read_only: z.ZodOptional<z.ZodBoolean>;
|
|
6395
7688
|
name: z.ZodString;
|
|
6396
7689
|
path: z.ZodOptional<z.ZodString>;
|
|
6397
7690
|
is_dir: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6409,6 +7702,12 @@ export declare const DirListingSchema: z.ZodObject<{
|
|
|
6409
7702
|
workspace: z.ZodOptional<z.ZodString>;
|
|
6410
7703
|
workspace_recovered: z.ZodOptional<z.ZodBoolean>;
|
|
6411
7704
|
is_git: z.ZodOptional<z.ZodBoolean>;
|
|
7705
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
7706
|
+
workspace: "workspace";
|
|
7707
|
+
managed: "managed";
|
|
7708
|
+
}>>;
|
|
7709
|
+
read_only: z.ZodOptional<z.ZodBoolean>;
|
|
7710
|
+
write_semantics: z.ZodOptional<z.ZodLiteral<"unconditional">>;
|
|
6412
7711
|
}, z.core.$loose>;
|
|
6413
7712
|
/** How a workspace file renders (TAL-566): media streams from `/api/file/raw`; text kinds carry `content`. */
|
|
6414
7713
|
export declare const FilePreviewKindSchema: z.ZodEnum<{
|
|
@@ -6416,9 +7715,9 @@ export declare const FilePreviewKindSchema: z.ZodEnum<{
|
|
|
6416
7715
|
html: "html";
|
|
6417
7716
|
text: "text";
|
|
6418
7717
|
image: "image";
|
|
7718
|
+
pdf: "pdf";
|
|
6419
7719
|
audio: "audio";
|
|
6420
7720
|
video: "video";
|
|
6421
|
-
pdf: "pdf";
|
|
6422
7721
|
csv: "csv";
|
|
6423
7722
|
binary: "binary";
|
|
6424
7723
|
}>;
|
|
@@ -6426,6 +7725,7 @@ export type FilePreviewKind = z.infer<typeof FilePreviewKindSchema>;
|
|
|
6426
7725
|
/** `table` is a `csv` preview's leading rows (header first); `table_truncated` says the file has more. `preview_url` is an
|
|
6427
7726
|
* `html` preview's app-relative frame URL, under which the page's relative assets also resolve. */
|
|
6428
7727
|
export declare const FileContentSchema: z.ZodObject<{
|
|
7728
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6429
7729
|
path: z.ZodOptional<z.ZodString>;
|
|
6430
7730
|
content: z.ZodOptional<z.ZodString>;
|
|
6431
7731
|
lines: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6438,15 +7738,21 @@ export declare const FileContentSchema: z.ZodObject<{
|
|
|
6438
7738
|
html: "html";
|
|
6439
7739
|
text: "text";
|
|
6440
7740
|
image: "image";
|
|
7741
|
+
pdf: "pdf";
|
|
6441
7742
|
audio: "audio";
|
|
6442
7743
|
video: "video";
|
|
6443
|
-
pdf: "pdf";
|
|
6444
7744
|
csv: "csv";
|
|
6445
7745
|
binary: "binary";
|
|
6446
7746
|
}>>;
|
|
6447
7747
|
table: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
6448
7748
|
table_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
6449
7749
|
preview_url: z.ZodOptional<z.ZodString>;
|
|
7750
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
7751
|
+
workspace: "workspace";
|
|
7752
|
+
managed: "managed";
|
|
7753
|
+
}>>;
|
|
7754
|
+
read_only: z.ZodOptional<z.ZodBoolean>;
|
|
7755
|
+
write_semantics: z.ZodOptional<z.ZodLiteral<"unconditional">>;
|
|
6450
7756
|
}, z.core.$loose>;
|
|
6451
7757
|
export declare const GitInfoSchema: z.ZodObject<{
|
|
6452
7758
|
git: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -6580,8 +7886,8 @@ export declare const CommandRowSchema: z.ZodObject<{
|
|
|
6580
7886
|
args_hint: z.ZodOptional<z.ZodString>;
|
|
6581
7887
|
category: z.ZodOptional<z.ZodString>;
|
|
6582
7888
|
handler: z.ZodEnum<{
|
|
6583
|
-
prompt: "prompt";
|
|
6584
7889
|
agent: "agent";
|
|
7890
|
+
prompt: "prompt";
|
|
6585
7891
|
client: "client";
|
|
6586
7892
|
}>;
|
|
6587
7893
|
clients: z.ZodArray<z.ZodEnum<{
|
|
@@ -6602,8 +7908,8 @@ export declare const CommandsSchema: z.ZodObject<{
|
|
|
6602
7908
|
args_hint: z.ZodOptional<z.ZodString>;
|
|
6603
7909
|
category: z.ZodOptional<z.ZodString>;
|
|
6604
7910
|
handler: z.ZodEnum<{
|
|
6605
|
-
prompt: "prompt";
|
|
6606
7911
|
agent: "agent";
|
|
7912
|
+
prompt: "prompt";
|
|
6607
7913
|
client: "client";
|
|
6608
7914
|
}>;
|
|
6609
7915
|
clients: z.ZodArray<z.ZodEnum<{
|
|
@@ -6706,8 +8012,8 @@ export type GatewayStatus = z.infer<typeof GatewayStatusSchema>;
|
|
|
6706
8012
|
export declare const GatewayActionSchema: z.ZodObject<{
|
|
6707
8013
|
ok: z.ZodLiteral<true>;
|
|
6708
8014
|
action: z.ZodEnum<{
|
|
6709
|
-
start: "start";
|
|
6710
8015
|
stop: "stop";
|
|
8016
|
+
start: "start";
|
|
6711
8017
|
restart: "restart";
|
|
6712
8018
|
}>;
|
|
6713
8019
|
message: z.ZodString;
|
|
@@ -6762,6 +8068,7 @@ export declare const ProjectOsDashboardSchema: z.ZodObject<{
|
|
|
6762
8068
|
}, z.core.$loose>>;
|
|
6763
8069
|
docs: z.ZodObject<{
|
|
6764
8070
|
project: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8071
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6765
8072
|
path: z.ZodOptional<z.ZodString>;
|
|
6766
8073
|
content: z.ZodOptional<z.ZodString>;
|
|
6767
8074
|
lines: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6774,17 +8081,24 @@ export declare const ProjectOsDashboardSchema: z.ZodObject<{
|
|
|
6774
8081
|
html: "html";
|
|
6775
8082
|
text: "text";
|
|
6776
8083
|
image: "image";
|
|
8084
|
+
pdf: "pdf";
|
|
6777
8085
|
audio: "audio";
|
|
6778
8086
|
video: "video";
|
|
6779
|
-
pdf: "pdf";
|
|
6780
8087
|
csv: "csv";
|
|
6781
8088
|
binary: "binary";
|
|
6782
8089
|
}>>;
|
|
6783
8090
|
table: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
6784
8091
|
table_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
6785
8092
|
preview_url: z.ZodOptional<z.ZodString>;
|
|
8093
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
8094
|
+
workspace: "workspace";
|
|
8095
|
+
managed: "managed";
|
|
8096
|
+
}>>;
|
|
8097
|
+
read_only: z.ZodOptional<z.ZodBoolean>;
|
|
8098
|
+
write_semantics: z.ZodOptional<z.ZodLiteral<"unconditional">>;
|
|
6786
8099
|
}, z.core.$loose>>>;
|
|
6787
8100
|
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8101
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6788
8102
|
path: z.ZodOptional<z.ZodString>;
|
|
6789
8103
|
content: z.ZodOptional<z.ZodString>;
|
|
6790
8104
|
lines: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6797,17 +8111,24 @@ export declare const ProjectOsDashboardSchema: z.ZodObject<{
|
|
|
6797
8111
|
html: "html";
|
|
6798
8112
|
text: "text";
|
|
6799
8113
|
image: "image";
|
|
8114
|
+
pdf: "pdf";
|
|
6800
8115
|
audio: "audio";
|
|
6801
8116
|
video: "video";
|
|
6802
|
-
pdf: "pdf";
|
|
6803
8117
|
csv: "csv";
|
|
6804
8118
|
binary: "binary";
|
|
6805
8119
|
}>>;
|
|
6806
8120
|
table: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
6807
8121
|
table_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
6808
8122
|
preview_url: z.ZodOptional<z.ZodString>;
|
|
8123
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
8124
|
+
workspace: "workspace";
|
|
8125
|
+
managed: "managed";
|
|
8126
|
+
}>>;
|
|
8127
|
+
read_only: z.ZodOptional<z.ZodBoolean>;
|
|
8128
|
+
write_semantics: z.ZodOptional<z.ZodLiteral<"unconditional">>;
|
|
6809
8129
|
}, z.core.$loose>>>;
|
|
6810
8130
|
status: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8131
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6811
8132
|
path: z.ZodOptional<z.ZodString>;
|
|
6812
8133
|
content: z.ZodOptional<z.ZodString>;
|
|
6813
8134
|
lines: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6820,17 +8141,24 @@ export declare const ProjectOsDashboardSchema: z.ZodObject<{
|
|
|
6820
8141
|
html: "html";
|
|
6821
8142
|
text: "text";
|
|
6822
8143
|
image: "image";
|
|
8144
|
+
pdf: "pdf";
|
|
6823
8145
|
audio: "audio";
|
|
6824
8146
|
video: "video";
|
|
6825
|
-
pdf: "pdf";
|
|
6826
8147
|
csv: "csv";
|
|
6827
8148
|
binary: "binary";
|
|
6828
8149
|
}>>;
|
|
6829
8150
|
table: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
6830
8151
|
table_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
6831
8152
|
preview_url: z.ZodOptional<z.ZodString>;
|
|
8153
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
8154
|
+
workspace: "workspace";
|
|
8155
|
+
managed: "managed";
|
|
8156
|
+
}>>;
|
|
8157
|
+
read_only: z.ZodOptional<z.ZodBoolean>;
|
|
8158
|
+
write_semantics: z.ZodOptional<z.ZodLiteral<"unconditional">>;
|
|
6832
8159
|
}, z.core.$loose>>>;
|
|
6833
8160
|
blocker_resolver: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8161
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6834
8162
|
path: z.ZodOptional<z.ZodString>;
|
|
6835
8163
|
content: z.ZodOptional<z.ZodString>;
|
|
6836
8164
|
lines: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6843,15 +8171,21 @@ export declare const ProjectOsDashboardSchema: z.ZodObject<{
|
|
|
6843
8171
|
html: "html";
|
|
6844
8172
|
text: "text";
|
|
6845
8173
|
image: "image";
|
|
8174
|
+
pdf: "pdf";
|
|
6846
8175
|
audio: "audio";
|
|
6847
8176
|
video: "video";
|
|
6848
|
-
pdf: "pdf";
|
|
6849
8177
|
csv: "csv";
|
|
6850
8178
|
binary: "binary";
|
|
6851
8179
|
}>>;
|
|
6852
8180
|
table: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
6853
8181
|
table_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
6854
8182
|
preview_url: z.ZodOptional<z.ZodString>;
|
|
8183
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
8184
|
+
workspace: "workspace";
|
|
8185
|
+
managed: "managed";
|
|
8186
|
+
}>>;
|
|
8187
|
+
read_only: z.ZodOptional<z.ZodBoolean>;
|
|
8188
|
+
write_semantics: z.ZodOptional<z.ZodLiteral<"unconditional">>;
|
|
6855
8189
|
}, z.core.$loose>>>;
|
|
6856
8190
|
}, z.core.$strip>;
|
|
6857
8191
|
handoff: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -6897,8 +8231,8 @@ export declare const ChatReadinessSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6897
8231
|
available: z.ZodLiteral<false>;
|
|
6898
8232
|
condition: z.ZodEnum<{
|
|
6899
8233
|
sidecar_unavailable: "sidecar_unavailable";
|
|
6900
|
-
agent_runtime_stale: "agent_runtime_stale";
|
|
6901
8234
|
agent_incompatible: "agent_incompatible";
|
|
8235
|
+
agent_runtime_stale: "agent_runtime_stale";
|
|
6902
8236
|
}>;
|
|
6903
8237
|
}, z.core.$strip>], "available">;
|
|
6904
8238
|
export type ChatReadiness = z.infer<typeof ChatReadinessSchema>;
|
|
@@ -6920,8 +8254,8 @@ export declare const AgentHealthSchema: z.ZodObject<{
|
|
|
6920
8254
|
available: z.ZodLiteral<false>;
|
|
6921
8255
|
condition: z.ZodEnum<{
|
|
6922
8256
|
sidecar_unavailable: "sidecar_unavailable";
|
|
6923
|
-
agent_runtime_stale: "agent_runtime_stale";
|
|
6924
8257
|
agent_incompatible: "agent_incompatible";
|
|
8258
|
+
agent_runtime_stale: "agent_runtime_stale";
|
|
6925
8259
|
}>;
|
|
6926
8260
|
}, z.core.$strip>], "available">>;
|
|
6927
8261
|
alive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -6989,6 +8323,7 @@ export declare const UpdateTargetSchema: z.ZodObject<{
|
|
|
6989
8323
|
name: z.ZodOptional<z.ZodString>;
|
|
6990
8324
|
channel: z.ZodOptional<z.ZodEnum<{
|
|
6991
8325
|
stable: "stable";
|
|
8326
|
+
nightly: "nightly";
|
|
6992
8327
|
experimental: "experimental";
|
|
6993
8328
|
}>>;
|
|
6994
8329
|
unsupported: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -7057,13 +8392,35 @@ export declare const AgentRecoveryStateSchema: z.ZodObject<{
|
|
|
7057
8392
|
phase: z.ZodEnum<{
|
|
7058
8393
|
blocked: "blocked";
|
|
7059
8394
|
running: "running";
|
|
7060
|
-
waiting: "waiting";
|
|
7061
8395
|
idle: "idle";
|
|
8396
|
+
waiting: "waiting";
|
|
7062
8397
|
complete: "complete";
|
|
7063
8398
|
}>;
|
|
7064
8399
|
attempt: z.ZodNumber;
|
|
7065
8400
|
detail: z.ZodString;
|
|
7066
8401
|
retry_at: z.ZodNullable<z.ZodString>;
|
|
8402
|
+
operation_id: z.ZodOptional<z.ZodUUID>;
|
|
8403
|
+
operation: z.ZodOptional<z.ZodObject<{
|
|
8404
|
+
operation_id: z.ZodUUID;
|
|
8405
|
+
baseline_revision: z.ZodString;
|
|
8406
|
+
target_revision: z.ZodString;
|
|
8407
|
+
stage: z.ZodEnum<{
|
|
8408
|
+
install: "install";
|
|
8409
|
+
gateway_restart: "gateway_restart";
|
|
8410
|
+
agent_ready: "agent_ready";
|
|
8411
|
+
}>;
|
|
8412
|
+
recovered_revision: z.ZodOptional<z.ZodString>;
|
|
8413
|
+
source_moved: z.ZodOptional<z.ZodBoolean>;
|
|
8414
|
+
attempt_error: z.ZodOptional<z.ZodString>;
|
|
8415
|
+
failed_stage: z.ZodOptional<z.ZodEnum<{
|
|
8416
|
+
install: "install";
|
|
8417
|
+
gateway_restart: "gateway_restart";
|
|
8418
|
+
agent_ready: "agent_ready";
|
|
8419
|
+
}>>;
|
|
8420
|
+
}, z.core.$strip>>;
|
|
8421
|
+
verified_revision: z.ZodOptional<z.ZodString>;
|
|
8422
|
+
runtime_revision: z.ZodOptional<z.ZodString>;
|
|
8423
|
+
verified_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7067
8424
|
}, z.core.$strip>;
|
|
7068
8425
|
export type AgentRecoveryState = z.infer<typeof AgentRecoveryStateSchema>;
|
|
7069
8426
|
export declare const UpdatesCheckSchema: z.ZodObject<{
|
|
@@ -7071,13 +8428,35 @@ export declare const UpdatesCheckSchema: z.ZodObject<{
|
|
|
7071
8428
|
phase: z.ZodEnum<{
|
|
7072
8429
|
blocked: "blocked";
|
|
7073
8430
|
running: "running";
|
|
7074
|
-
waiting: "waiting";
|
|
7075
8431
|
idle: "idle";
|
|
8432
|
+
waiting: "waiting";
|
|
7076
8433
|
complete: "complete";
|
|
7077
8434
|
}>;
|
|
7078
8435
|
attempt: z.ZodNumber;
|
|
7079
8436
|
detail: z.ZodString;
|
|
7080
8437
|
retry_at: z.ZodNullable<z.ZodString>;
|
|
8438
|
+
operation_id: z.ZodOptional<z.ZodUUID>;
|
|
8439
|
+
operation: z.ZodOptional<z.ZodObject<{
|
|
8440
|
+
operation_id: z.ZodUUID;
|
|
8441
|
+
baseline_revision: z.ZodString;
|
|
8442
|
+
target_revision: z.ZodString;
|
|
8443
|
+
stage: z.ZodEnum<{
|
|
8444
|
+
install: "install";
|
|
8445
|
+
gateway_restart: "gateway_restart";
|
|
8446
|
+
agent_ready: "agent_ready";
|
|
8447
|
+
}>;
|
|
8448
|
+
recovered_revision: z.ZodOptional<z.ZodString>;
|
|
8449
|
+
source_moved: z.ZodOptional<z.ZodBoolean>;
|
|
8450
|
+
attempt_error: z.ZodOptional<z.ZodString>;
|
|
8451
|
+
failed_stage: z.ZodOptional<z.ZodEnum<{
|
|
8452
|
+
install: "install";
|
|
8453
|
+
gateway_restart: "gateway_restart";
|
|
8454
|
+
agent_ready: "agent_ready";
|
|
8455
|
+
}>>;
|
|
8456
|
+
}, z.core.$strip>>;
|
|
8457
|
+
verified_revision: z.ZodOptional<z.ZodString>;
|
|
8458
|
+
runtime_revision: z.ZodOptional<z.ZodString>;
|
|
8459
|
+
verified_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7081
8460
|
}, z.core.$strip>>;
|
|
7082
8461
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
7083
8462
|
cached: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -7096,6 +8475,7 @@ export declare const UpdatesCheckSchema: z.ZodObject<{
|
|
|
7096
8475
|
name: z.ZodOptional<z.ZodString>;
|
|
7097
8476
|
channel: z.ZodOptional<z.ZodEnum<{
|
|
7098
8477
|
stable: "stable";
|
|
8478
|
+
nightly: "nightly";
|
|
7099
8479
|
experimental: "experimental";
|
|
7100
8480
|
}>>;
|
|
7101
8481
|
unsupported: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -7168,6 +8548,7 @@ export declare const UpdatesCheckSchema: z.ZodObject<{
|
|
|
7168
8548
|
name: z.ZodOptional<z.ZodString>;
|
|
7169
8549
|
channel: z.ZodOptional<z.ZodEnum<{
|
|
7170
8550
|
stable: "stable";
|
|
8551
|
+
nightly: "nightly";
|
|
7171
8552
|
experimental: "experimental";
|
|
7172
8553
|
}>>;
|
|
7173
8554
|
unsupported: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -7260,6 +8641,10 @@ export declare const UpdatesSummarySchema: z.ZodObject<{
|
|
|
7260
8641
|
}, z.core.$strip>;
|
|
7261
8642
|
export type UpdatesSummary = z.infer<typeof UpdatesSummarySchema>;
|
|
7262
8643
|
export declare const UpdateApplySchema: z.ZodObject<{
|
|
8644
|
+
recovery_only: z.ZodOptional<z.ZodBoolean>;
|
|
8645
|
+
recovery_pending: z.ZodOptional<z.ZodBoolean>;
|
|
8646
|
+
verified_revision: z.ZodOptional<z.ZodString>;
|
|
8647
|
+
verified_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7263
8648
|
recovery_compatibility: z.ZodOptional<z.ZodObject<{
|
|
7264
8649
|
manual_execution: z.ZodBoolean;
|
|
7265
8650
|
bot_chat_delivery: z.ZodBoolean;
|
|
@@ -7298,6 +8683,7 @@ export declare const UpdateNotificationPhaseSchema: z.ZodEnum<{
|
|
|
7298
8683
|
awaiting_confirmation: "awaiting_confirmation";
|
|
7299
8684
|
waiting_for_idle: "waiting_for_idle";
|
|
7300
8685
|
verifying: "verifying";
|
|
8686
|
+
recovering: "recovering";
|
|
7301
8687
|
succeeded: "succeeded";
|
|
7302
8688
|
}>;
|
|
7303
8689
|
export declare const UpdateNotificationActionSchema: z.ZodObject<{
|
|
@@ -7317,21 +8703,53 @@ export declare const UpdateNotificationDestinationSchema: z.ZodObject<{
|
|
|
7317
8703
|
/** TAL-1138: one step of an update as its Updating dialog lists it; the server derives every label and state. */
|
|
7318
8704
|
export declare const UpdateStepSchema: z.ZodObject<{
|
|
7319
8705
|
id: z.ZodEnum<{
|
|
7320
|
-
ready: "ready";
|
|
7321
|
-
gateway_restart: "gateway_restart";
|
|
7322
8706
|
install: "install";
|
|
8707
|
+
gateway_restart: "gateway_restart";
|
|
8708
|
+
agent_ready: "agent_ready";
|
|
8709
|
+
ready: "ready";
|
|
7323
8710
|
web_restart: "web_restart";
|
|
7324
8711
|
gateway_wait: "gateway_wait";
|
|
7325
|
-
|
|
8712
|
+
recovery: "recovery";
|
|
7326
8713
|
}>;
|
|
7327
8714
|
label: z.ZodString;
|
|
7328
8715
|
state: z.ZodEnum<{
|
|
7329
8716
|
pending: "pending";
|
|
7330
|
-
active: "active";
|
|
7331
8717
|
failed: "failed";
|
|
8718
|
+
active: "active";
|
|
7332
8719
|
done: "done";
|
|
7333
8720
|
}>;
|
|
7334
8721
|
}, z.core.$strip>;
|
|
8722
|
+
export declare const AgentUpdateRecoverySchema: z.ZodObject<{
|
|
8723
|
+
operation: z.ZodObject<{
|
|
8724
|
+
operation_id: z.ZodUUID;
|
|
8725
|
+
baseline_revision: z.ZodString;
|
|
8726
|
+
target_revision: z.ZodString;
|
|
8727
|
+
stage: z.ZodEnum<{
|
|
8728
|
+
install: "install";
|
|
8729
|
+
gateway_restart: "gateway_restart";
|
|
8730
|
+
agent_ready: "agent_ready";
|
|
8731
|
+
}>;
|
|
8732
|
+
recovered_revision: z.ZodOptional<z.ZodString>;
|
|
8733
|
+
source_moved: z.ZodOptional<z.ZodBoolean>;
|
|
8734
|
+
attempt_error: z.ZodOptional<z.ZodString>;
|
|
8735
|
+
failed_stage: z.ZodOptional<z.ZodEnum<{
|
|
8736
|
+
install: "install";
|
|
8737
|
+
gateway_restart: "gateway_restart";
|
|
8738
|
+
agent_ready: "agent_ready";
|
|
8739
|
+
}>>;
|
|
8740
|
+
}, z.core.$strip>;
|
|
8741
|
+
attempt_error: z.ZodNullable<z.ZodString>;
|
|
8742
|
+
runtime_revision: z.ZodNullable<z.ZodString>;
|
|
8743
|
+
rollback: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8744
|
+
outcome: z.ZodEnum<{
|
|
8745
|
+
unknown: "unknown";
|
|
8746
|
+
blocked: "blocked";
|
|
8747
|
+
recovering: "recovering";
|
|
8748
|
+
target_installed: "target_installed";
|
|
8749
|
+
baseline_restored: "baseline_restored";
|
|
8750
|
+
other_revision: "other_revision";
|
|
8751
|
+
}>;
|
|
8752
|
+
}, z.core.$strip>;
|
|
7335
8753
|
export declare const UpdateNotificationSchema: z.ZodObject<{
|
|
7336
8754
|
id: z.ZodUUID;
|
|
7337
8755
|
kind: z.ZodString;
|
|
@@ -7348,6 +8766,7 @@ export declare const UpdateNotificationSchema: z.ZodObject<{
|
|
|
7348
8766
|
awaiting_confirmation: "awaiting_confirmation";
|
|
7349
8767
|
waiting_for_idle: "waiting_for_idle";
|
|
7350
8768
|
verifying: "verifying";
|
|
8769
|
+
recovering: "recovering";
|
|
7351
8770
|
succeeded: "succeeded";
|
|
7352
8771
|
}>, z.ZodString]>;
|
|
7353
8772
|
severity: z.ZodEnum<{
|
|
@@ -7381,24 +8800,56 @@ export declare const UpdateNotificationSchema: z.ZodObject<{
|
|
|
7381
8800
|
verified_revision: z.ZodNullable<z.ZodString>;
|
|
7382
8801
|
verified_version: z.ZodNullable<z.ZodString>;
|
|
7383
8802
|
detail: z.ZodNullable<z.ZodString>;
|
|
8803
|
+
recovery: z.ZodOptional<z.ZodObject<{
|
|
8804
|
+
operation: z.ZodObject<{
|
|
8805
|
+
operation_id: z.ZodUUID;
|
|
8806
|
+
baseline_revision: z.ZodString;
|
|
8807
|
+
target_revision: z.ZodString;
|
|
8808
|
+
stage: z.ZodEnum<{
|
|
8809
|
+
install: "install";
|
|
8810
|
+
gateway_restart: "gateway_restart";
|
|
8811
|
+
agent_ready: "agent_ready";
|
|
8812
|
+
}>;
|
|
8813
|
+
recovered_revision: z.ZodOptional<z.ZodString>;
|
|
8814
|
+
source_moved: z.ZodOptional<z.ZodBoolean>;
|
|
8815
|
+
attempt_error: z.ZodOptional<z.ZodString>;
|
|
8816
|
+
failed_stage: z.ZodOptional<z.ZodEnum<{
|
|
8817
|
+
install: "install";
|
|
8818
|
+
gateway_restart: "gateway_restart";
|
|
8819
|
+
agent_ready: "agent_ready";
|
|
8820
|
+
}>>;
|
|
8821
|
+
}, z.core.$strip>;
|
|
8822
|
+
attempt_error: z.ZodNullable<z.ZodString>;
|
|
8823
|
+
runtime_revision: z.ZodNullable<z.ZodString>;
|
|
8824
|
+
rollback: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8825
|
+
outcome: z.ZodEnum<{
|
|
8826
|
+
unknown: "unknown";
|
|
8827
|
+
blocked: "blocked";
|
|
8828
|
+
recovering: "recovering";
|
|
8829
|
+
target_installed: "target_installed";
|
|
8830
|
+
baseline_restored: "baseline_restored";
|
|
8831
|
+
other_revision: "other_revision";
|
|
8832
|
+
}>;
|
|
8833
|
+
}, z.core.$strip>>;
|
|
7384
8834
|
unread: z.ZodBoolean;
|
|
7385
8835
|
active: z.ZodBoolean;
|
|
7386
8836
|
requires_interaction: z.ZodBoolean;
|
|
7387
8837
|
can_dismiss: z.ZodBoolean;
|
|
7388
8838
|
steps: z.ZodArray<z.ZodObject<{
|
|
7389
8839
|
id: z.ZodEnum<{
|
|
7390
|
-
ready: "ready";
|
|
7391
|
-
gateway_restart: "gateway_restart";
|
|
7392
8840
|
install: "install";
|
|
8841
|
+
gateway_restart: "gateway_restart";
|
|
8842
|
+
agent_ready: "agent_ready";
|
|
8843
|
+
ready: "ready";
|
|
7393
8844
|
web_restart: "web_restart";
|
|
7394
8845
|
gateway_wait: "gateway_wait";
|
|
7395
|
-
|
|
8846
|
+
recovery: "recovery";
|
|
7396
8847
|
}>;
|
|
7397
8848
|
label: z.ZodString;
|
|
7398
8849
|
state: z.ZodEnum<{
|
|
7399
8850
|
pending: "pending";
|
|
7400
|
-
active: "active";
|
|
7401
8851
|
failed: "failed";
|
|
8852
|
+
active: "active";
|
|
7402
8853
|
done: "done";
|
|
7403
8854
|
}>;
|
|
7404
8855
|
}, z.core.$strip>>;
|
|
@@ -7443,6 +8894,7 @@ export declare const UpdateNotificationsSchema: z.ZodObject<{
|
|
|
7443
8894
|
awaiting_confirmation: "awaiting_confirmation";
|
|
7444
8895
|
waiting_for_idle: "waiting_for_idle";
|
|
7445
8896
|
verifying: "verifying";
|
|
8897
|
+
recovering: "recovering";
|
|
7446
8898
|
succeeded: "succeeded";
|
|
7447
8899
|
}>, z.ZodString]>;
|
|
7448
8900
|
severity: z.ZodEnum<{
|
|
@@ -7476,24 +8928,56 @@ export declare const UpdateNotificationsSchema: z.ZodObject<{
|
|
|
7476
8928
|
verified_revision: z.ZodNullable<z.ZodString>;
|
|
7477
8929
|
verified_version: z.ZodNullable<z.ZodString>;
|
|
7478
8930
|
detail: z.ZodNullable<z.ZodString>;
|
|
8931
|
+
recovery: z.ZodOptional<z.ZodObject<{
|
|
8932
|
+
operation: z.ZodObject<{
|
|
8933
|
+
operation_id: z.ZodUUID;
|
|
8934
|
+
baseline_revision: z.ZodString;
|
|
8935
|
+
target_revision: z.ZodString;
|
|
8936
|
+
stage: z.ZodEnum<{
|
|
8937
|
+
install: "install";
|
|
8938
|
+
gateway_restart: "gateway_restart";
|
|
8939
|
+
agent_ready: "agent_ready";
|
|
8940
|
+
}>;
|
|
8941
|
+
recovered_revision: z.ZodOptional<z.ZodString>;
|
|
8942
|
+
source_moved: z.ZodOptional<z.ZodBoolean>;
|
|
8943
|
+
attempt_error: z.ZodOptional<z.ZodString>;
|
|
8944
|
+
failed_stage: z.ZodOptional<z.ZodEnum<{
|
|
8945
|
+
install: "install";
|
|
8946
|
+
gateway_restart: "gateway_restart";
|
|
8947
|
+
agent_ready: "agent_ready";
|
|
8948
|
+
}>>;
|
|
8949
|
+
}, z.core.$strip>;
|
|
8950
|
+
attempt_error: z.ZodNullable<z.ZodString>;
|
|
8951
|
+
runtime_revision: z.ZodNullable<z.ZodString>;
|
|
8952
|
+
rollback: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8953
|
+
outcome: z.ZodEnum<{
|
|
8954
|
+
unknown: "unknown";
|
|
8955
|
+
blocked: "blocked";
|
|
8956
|
+
recovering: "recovering";
|
|
8957
|
+
target_installed: "target_installed";
|
|
8958
|
+
baseline_restored: "baseline_restored";
|
|
8959
|
+
other_revision: "other_revision";
|
|
8960
|
+
}>;
|
|
8961
|
+
}, z.core.$strip>>;
|
|
7479
8962
|
unread: z.ZodBoolean;
|
|
7480
8963
|
active: z.ZodBoolean;
|
|
7481
8964
|
requires_interaction: z.ZodBoolean;
|
|
7482
8965
|
can_dismiss: z.ZodBoolean;
|
|
7483
8966
|
steps: z.ZodArray<z.ZodObject<{
|
|
7484
8967
|
id: z.ZodEnum<{
|
|
7485
|
-
ready: "ready";
|
|
7486
|
-
gateway_restart: "gateway_restart";
|
|
7487
8968
|
install: "install";
|
|
8969
|
+
gateway_restart: "gateway_restart";
|
|
8970
|
+
agent_ready: "agent_ready";
|
|
8971
|
+
ready: "ready";
|
|
7488
8972
|
web_restart: "web_restart";
|
|
7489
8973
|
gateway_wait: "gateway_wait";
|
|
7490
|
-
|
|
8974
|
+
recovery: "recovery";
|
|
7491
8975
|
}>;
|
|
7492
8976
|
label: z.ZodString;
|
|
7493
8977
|
state: z.ZodEnum<{
|
|
7494
8978
|
pending: "pending";
|
|
7495
|
-
active: "active";
|
|
7496
8979
|
failed: "failed";
|
|
8980
|
+
active: "active";
|
|
7497
8981
|
done: "done";
|
|
7498
8982
|
}>;
|
|
7499
8983
|
}, z.core.$strip>>;
|
|
@@ -7521,6 +9005,7 @@ export declare const UpdateNotificationsSchema: z.ZodObject<{
|
|
|
7521
9005
|
awaiting_confirmation: "awaiting_confirmation";
|
|
7522
9006
|
waiting_for_idle: "waiting_for_idle";
|
|
7523
9007
|
verifying: "verifying";
|
|
9008
|
+
recovering: "recovering";
|
|
7524
9009
|
succeeded: "succeeded";
|
|
7525
9010
|
}>, z.ZodString]>;
|
|
7526
9011
|
severity: z.ZodEnum<{
|
|
@@ -7554,24 +9039,56 @@ export declare const UpdateNotificationsSchema: z.ZodObject<{
|
|
|
7554
9039
|
verified_revision: z.ZodNullable<z.ZodString>;
|
|
7555
9040
|
verified_version: z.ZodNullable<z.ZodString>;
|
|
7556
9041
|
detail: z.ZodNullable<z.ZodString>;
|
|
9042
|
+
recovery: z.ZodOptional<z.ZodObject<{
|
|
9043
|
+
operation: z.ZodObject<{
|
|
9044
|
+
operation_id: z.ZodUUID;
|
|
9045
|
+
baseline_revision: z.ZodString;
|
|
9046
|
+
target_revision: z.ZodString;
|
|
9047
|
+
stage: z.ZodEnum<{
|
|
9048
|
+
install: "install";
|
|
9049
|
+
gateway_restart: "gateway_restart";
|
|
9050
|
+
agent_ready: "agent_ready";
|
|
9051
|
+
}>;
|
|
9052
|
+
recovered_revision: z.ZodOptional<z.ZodString>;
|
|
9053
|
+
source_moved: z.ZodOptional<z.ZodBoolean>;
|
|
9054
|
+
attempt_error: z.ZodOptional<z.ZodString>;
|
|
9055
|
+
failed_stage: z.ZodOptional<z.ZodEnum<{
|
|
9056
|
+
install: "install";
|
|
9057
|
+
gateway_restart: "gateway_restart";
|
|
9058
|
+
agent_ready: "agent_ready";
|
|
9059
|
+
}>>;
|
|
9060
|
+
}, z.core.$strip>;
|
|
9061
|
+
attempt_error: z.ZodNullable<z.ZodString>;
|
|
9062
|
+
runtime_revision: z.ZodNullable<z.ZodString>;
|
|
9063
|
+
rollback: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9064
|
+
outcome: z.ZodEnum<{
|
|
9065
|
+
unknown: "unknown";
|
|
9066
|
+
blocked: "blocked";
|
|
9067
|
+
recovering: "recovering";
|
|
9068
|
+
target_installed: "target_installed";
|
|
9069
|
+
baseline_restored: "baseline_restored";
|
|
9070
|
+
other_revision: "other_revision";
|
|
9071
|
+
}>;
|
|
9072
|
+
}, z.core.$strip>>;
|
|
7557
9073
|
unread: z.ZodBoolean;
|
|
7558
9074
|
active: z.ZodBoolean;
|
|
7559
9075
|
requires_interaction: z.ZodBoolean;
|
|
7560
9076
|
can_dismiss: z.ZodBoolean;
|
|
7561
9077
|
steps: z.ZodArray<z.ZodObject<{
|
|
7562
9078
|
id: z.ZodEnum<{
|
|
7563
|
-
ready: "ready";
|
|
7564
|
-
gateway_restart: "gateway_restart";
|
|
7565
9079
|
install: "install";
|
|
9080
|
+
gateway_restart: "gateway_restart";
|
|
9081
|
+
agent_ready: "agent_ready";
|
|
9082
|
+
ready: "ready";
|
|
7566
9083
|
web_restart: "web_restart";
|
|
7567
9084
|
gateway_wait: "gateway_wait";
|
|
7568
|
-
|
|
9085
|
+
recovery: "recovery";
|
|
7569
9086
|
}>;
|
|
7570
9087
|
label: z.ZodString;
|
|
7571
9088
|
state: z.ZodEnum<{
|
|
7572
9089
|
pending: "pending";
|
|
7573
|
-
active: "active";
|
|
7574
9090
|
failed: "failed";
|
|
9091
|
+
active: "active";
|
|
7575
9092
|
done: "done";
|
|
7576
9093
|
}>;
|
|
7577
9094
|
}, z.core.$strip>>;
|
|
@@ -7733,6 +9250,55 @@ export declare const PluginsSchema: z.ZodObject<{
|
|
|
7733
9250
|
plugin_isolation_advisory: z.ZodOptional<z.ZodBoolean>;
|
|
7734
9251
|
}, z.core.$loose>;
|
|
7735
9252
|
export declare const McpServerSchema: z.ZodObject<{
|
|
9253
|
+
cost_policy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9254
|
+
error: z.ZodNullable<z.ZodString>;
|
|
9255
|
+
source: z.ZodEnum<{
|
|
9256
|
+
native: "native";
|
|
9257
|
+
package: "package";
|
|
9258
|
+
native_override: "native_override";
|
|
9259
|
+
}>;
|
|
9260
|
+
name: z.ZodString;
|
|
9261
|
+
can_edit: z.ZodBoolean;
|
|
9262
|
+
tool_costs: z.ZodArray<z.ZodObject<{
|
|
9263
|
+
name: z.ZodString;
|
|
9264
|
+
low: z.ZodNumber;
|
|
9265
|
+
high: z.ZodNumber;
|
|
9266
|
+
note: z.ZodString;
|
|
9267
|
+
}, z.core.$strip>>;
|
|
9268
|
+
spend_limit: z.ZodNumber;
|
|
9269
|
+
cost_unit: z.ZodString;
|
|
9270
|
+
valid: z.ZodBoolean;
|
|
9271
|
+
overrides: z.ZodObject<{
|
|
9272
|
+
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<{
|
|
9273
|
+
credits: z.ZodUnion<readonly [z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>]>;
|
|
9274
|
+
note: z.ZodOptional<z.ZodString>;
|
|
9275
|
+
}, z.core.$strict>]>>>;
|
|
9276
|
+
spend_limit: z.ZodNullable<z.ZodNumber>;
|
|
9277
|
+
cost_unit: z.ZodNullable<z.ZodString>;
|
|
9278
|
+
}, z.core.$strip>;
|
|
9279
|
+
budget_enabled: z.ZodBoolean;
|
|
9280
|
+
field_sources: z.ZodObject<{
|
|
9281
|
+
tool_costs: z.ZodEnum<{
|
|
9282
|
+
default: "default";
|
|
9283
|
+
native: "native";
|
|
9284
|
+
package: "package";
|
|
9285
|
+
}>;
|
|
9286
|
+
spend_limit: z.ZodEnum<{
|
|
9287
|
+
default: "default";
|
|
9288
|
+
native: "native";
|
|
9289
|
+
package: "package";
|
|
9290
|
+
}>;
|
|
9291
|
+
cost_unit: z.ZodEnum<{
|
|
9292
|
+
default: "default";
|
|
9293
|
+
native: "native";
|
|
9294
|
+
package: "package";
|
|
9295
|
+
}>;
|
|
9296
|
+
}, z.core.$strip>;
|
|
9297
|
+
revision: z.ZodString;
|
|
9298
|
+
provenance: z.ZodLiteral<"declared_estimate">;
|
|
9299
|
+
reload_required: z.ZodLiteral<true>;
|
|
9300
|
+
runtime_state: z.ZodLiteral<"unknown">;
|
|
9301
|
+
}, z.core.$strip>>>;
|
|
7736
9302
|
name: z.ZodString;
|
|
7737
9303
|
id: z.ZodOptional<z.ZodString>;
|
|
7738
9304
|
transport: z.ZodOptional<z.ZodString>;
|
|
@@ -7749,6 +9315,55 @@ export declare const McpServerSchema: z.ZodObject<{
|
|
|
7749
9315
|
}, z.core.$loose>;
|
|
7750
9316
|
export declare const McpServersSchema: z.ZodObject<{
|
|
7751
9317
|
servers: z.ZodArray<z.ZodObject<{
|
|
9318
|
+
cost_policy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9319
|
+
error: z.ZodNullable<z.ZodString>;
|
|
9320
|
+
source: z.ZodEnum<{
|
|
9321
|
+
native: "native";
|
|
9322
|
+
package: "package";
|
|
9323
|
+
native_override: "native_override";
|
|
9324
|
+
}>;
|
|
9325
|
+
name: z.ZodString;
|
|
9326
|
+
can_edit: z.ZodBoolean;
|
|
9327
|
+
tool_costs: z.ZodArray<z.ZodObject<{
|
|
9328
|
+
name: z.ZodString;
|
|
9329
|
+
low: z.ZodNumber;
|
|
9330
|
+
high: z.ZodNumber;
|
|
9331
|
+
note: z.ZodString;
|
|
9332
|
+
}, z.core.$strip>>;
|
|
9333
|
+
spend_limit: z.ZodNumber;
|
|
9334
|
+
cost_unit: z.ZodString;
|
|
9335
|
+
valid: z.ZodBoolean;
|
|
9336
|
+
overrides: z.ZodObject<{
|
|
9337
|
+
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<{
|
|
9338
|
+
credits: z.ZodUnion<readonly [z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>]>;
|
|
9339
|
+
note: z.ZodOptional<z.ZodString>;
|
|
9340
|
+
}, z.core.$strict>]>>>;
|
|
9341
|
+
spend_limit: z.ZodNullable<z.ZodNumber>;
|
|
9342
|
+
cost_unit: z.ZodNullable<z.ZodString>;
|
|
9343
|
+
}, z.core.$strip>;
|
|
9344
|
+
budget_enabled: z.ZodBoolean;
|
|
9345
|
+
field_sources: z.ZodObject<{
|
|
9346
|
+
tool_costs: z.ZodEnum<{
|
|
9347
|
+
default: "default";
|
|
9348
|
+
native: "native";
|
|
9349
|
+
package: "package";
|
|
9350
|
+
}>;
|
|
9351
|
+
spend_limit: z.ZodEnum<{
|
|
9352
|
+
default: "default";
|
|
9353
|
+
native: "native";
|
|
9354
|
+
package: "package";
|
|
9355
|
+
}>;
|
|
9356
|
+
cost_unit: z.ZodEnum<{
|
|
9357
|
+
default: "default";
|
|
9358
|
+
native: "native";
|
|
9359
|
+
package: "package";
|
|
9360
|
+
}>;
|
|
9361
|
+
}, z.core.$strip>;
|
|
9362
|
+
revision: z.ZodString;
|
|
9363
|
+
provenance: z.ZodLiteral<"declared_estimate">;
|
|
9364
|
+
reload_required: z.ZodLiteral<true>;
|
|
9365
|
+
runtime_state: z.ZodLiteral<"unknown">;
|
|
9366
|
+
}, z.core.$strip>>>;
|
|
7752
9367
|
name: z.ZodString;
|
|
7753
9368
|
id: z.ZodOptional<z.ZodString>;
|
|
7754
9369
|
transport: z.ZodOptional<z.ZodString>;
|
|
@@ -7774,8 +9389,8 @@ export declare const ConnectorAccountViewSchema: z.ZodObject<{
|
|
|
7774
9389
|
problem: z.ZodNullable<z.ZodEnum<{
|
|
7775
9390
|
pending: "pending";
|
|
7776
9391
|
expired: "expired";
|
|
7777
|
-
revoked: "revoked";
|
|
7778
9392
|
failed: "failed";
|
|
9393
|
+
revoked: "revoked";
|
|
7779
9394
|
inactive: "inactive";
|
|
7780
9395
|
}>>;
|
|
7781
9396
|
status_reason: z.ZodNullable<z.ZodString>;
|
|
@@ -7800,8 +9415,8 @@ export declare const ConnectorViewSchema: z.ZodObject<{
|
|
|
7800
9415
|
problem: z.ZodNullable<z.ZodEnum<{
|
|
7801
9416
|
pending: "pending";
|
|
7802
9417
|
expired: "expired";
|
|
7803
|
-
revoked: "revoked";
|
|
7804
9418
|
failed: "failed";
|
|
9419
|
+
revoked: "revoked";
|
|
7805
9420
|
inactive: "inactive";
|
|
7806
9421
|
}>>;
|
|
7807
9422
|
status_reason: z.ZodNullable<z.ZodString>;
|
|
@@ -7819,9 +9434,32 @@ export declare const ConnectorViewSchema: z.ZodObject<{
|
|
|
7819
9434
|
* so no switch changes them. `sign_in_required` offers Nous sign-in without creating a guest on reads.
|
|
7820
9435
|
* `rules_error`: why the rules could not be read; every app then reads off (fails closed).
|
|
7821
9436
|
*/
|
|
9437
|
+
export declare const ConnectorSignInOfferSchema: z.ZodObject<{
|
|
9438
|
+
available: z.ZodBoolean;
|
|
9439
|
+
due: z.ZodBoolean;
|
|
9440
|
+
visible: z.ZodBoolean;
|
|
9441
|
+
offer_id: z.ZodNullable<z.ZodString>;
|
|
9442
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
9443
|
+
sign_in: "sign_in";
|
|
9444
|
+
dismiss: "dismiss";
|
|
9445
|
+
}>>;
|
|
9446
|
+
refresh_after: z.ZodNullable<z.ZodNumber>;
|
|
9447
|
+
}, z.core.$strip>;
|
|
9448
|
+
export type ConnectorSignInOffer = z.infer<typeof ConnectorSignInOfferSchema>;
|
|
7822
9449
|
export declare const ConnectorsPageSchema: z.ZodObject<{
|
|
7823
9450
|
available: z.ZodBoolean;
|
|
7824
9451
|
sign_in_required: z.ZodDefault<z.ZodBoolean>;
|
|
9452
|
+
sign_in_offer: z.ZodOptional<z.ZodObject<{
|
|
9453
|
+
available: z.ZodBoolean;
|
|
9454
|
+
due: z.ZodBoolean;
|
|
9455
|
+
visible: z.ZodBoolean;
|
|
9456
|
+
offer_id: z.ZodNullable<z.ZodString>;
|
|
9457
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
9458
|
+
sign_in: "sign_in";
|
|
9459
|
+
dismiss: "dismiss";
|
|
9460
|
+
}>>;
|
|
9461
|
+
refresh_after: z.ZodNullable<z.ZodNumber>;
|
|
9462
|
+
}, z.core.$strip>>;
|
|
7825
9463
|
connectors: z.ZodArray<z.ZodObject<{
|
|
7826
9464
|
slug: z.ZodString;
|
|
7827
9465
|
name: z.ZodString;
|
|
@@ -7835,8 +9473,8 @@ export declare const ConnectorsPageSchema: z.ZodObject<{
|
|
|
7835
9473
|
problem: z.ZodNullable<z.ZodEnum<{
|
|
7836
9474
|
pending: "pending";
|
|
7837
9475
|
expired: "expired";
|
|
7838
|
-
revoked: "revoked";
|
|
7839
9476
|
failed: "failed";
|
|
9477
|
+
revoked: "revoked";
|
|
7840
9478
|
inactive: "inactive";
|
|
7841
9479
|
}>>;
|
|
7842
9480
|
status_reason: z.ZodNullable<z.ZodString>;
|
|
@@ -7894,20 +9532,20 @@ export declare const ConnectorOperationViewSchema: z.ZodObject<{
|
|
|
7894
9532
|
title: z.ZodString;
|
|
7895
9533
|
kind: z.ZodString;
|
|
7896
9534
|
state: z.ZodEnum<{
|
|
9535
|
+
skipped: "skipped";
|
|
7897
9536
|
pending: "pending";
|
|
7898
9537
|
expired: "expired";
|
|
7899
|
-
|
|
9538
|
+
failed: "failed";
|
|
7900
9539
|
initiated: "initiated";
|
|
7901
9540
|
connected: "connected";
|
|
7902
|
-
failed: "failed";
|
|
7903
9541
|
not_connected: "not_connected";
|
|
7904
9542
|
}>;
|
|
7905
9543
|
detail: z.ZodString;
|
|
7906
9544
|
connect_url: z.ZodNullable<z.ZodString>;
|
|
7907
9545
|
actions: z.ZodArray<z.ZodEnum<{
|
|
7908
9546
|
retry: "retry";
|
|
7909
|
-
skip: "skip";
|
|
7910
9547
|
approve: "approve";
|
|
9548
|
+
skip: "skip";
|
|
7911
9549
|
}>>;
|
|
7912
9550
|
env_fields: z.ZodArray<z.ZodObject<{
|
|
7913
9551
|
name: z.ZodString;
|
|
@@ -8010,34 +9648,6 @@ export declare const WikiPageSchema: z.ZodObject<{
|
|
|
8010
9648
|
content: z.ZodString;
|
|
8011
9649
|
path: z.ZodString;
|
|
8012
9650
|
}, z.core.$strip>;
|
|
8013
|
-
export declare const TodoItemSchema: z.ZodObject<{
|
|
8014
|
-
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
8015
|
-
text: z.ZodOptional<z.ZodString>;
|
|
8016
|
-
content: z.ZodOptional<z.ZodString>;
|
|
8017
|
-
title: z.ZodOptional<z.ZodString>;
|
|
8018
|
-
status: z.ZodOptional<z.ZodString>;
|
|
8019
|
-
done: z.ZodOptional<z.ZodBoolean>;
|
|
8020
|
-
completed: z.ZodOptional<z.ZodBoolean>;
|
|
8021
|
-
}, z.core.$loose>;
|
|
8022
|
-
export declare const TodoStateSchema: z.ZodObject<{
|
|
8023
|
-
session_id: z.ZodOptional<z.ZodString>;
|
|
8024
|
-
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8025
|
-
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
8026
|
-
text: z.ZodOptional<z.ZodString>;
|
|
8027
|
-
content: z.ZodOptional<z.ZodString>;
|
|
8028
|
-
title: z.ZodOptional<z.ZodString>;
|
|
8029
|
-
status: z.ZodOptional<z.ZodString>;
|
|
8030
|
-
done: z.ZodOptional<z.ZodBoolean>;
|
|
8031
|
-
completed: z.ZodOptional<z.ZodBoolean>;
|
|
8032
|
-
}, z.core.$loose>>>;
|
|
8033
|
-
summary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8034
|
-
version: z.ZodOptional<z.ZodNumber>;
|
|
8035
|
-
ts: z.ZodOptional<z.ZodNumber>;
|
|
8036
|
-
source: z.ZodOptional<z.ZodString>;
|
|
8037
|
-
description: z.ZodOptional<z.ZodString>;
|
|
8038
|
-
pending_count: z.ZodOptional<z.ZodNumber>;
|
|
8039
|
-
}, z.core.$loose>;
|
|
8040
|
-
export type TodoState = z.infer<typeof TodoStateSchema>;
|
|
8041
9651
|
/** `oauth_flow` (TAL-398): `device_code` when the provider signs in through `/api/onboarding/oauth/*` instead of taking an API key; `oauth_label` then names the account to sign in with, and `signed_in` says whether the profile already holds its credential. */
|
|
8042
9652
|
export declare const OnboardingProviderSchema: z.ZodObject<{
|
|
8043
9653
|
id: z.ZodString;
|
|
@@ -8125,6 +9735,34 @@ export declare const OnboardingStatusSchema: z.ZodObject<{
|
|
|
8125
9735
|
default_bare_id: z.ZodOptional<z.ZodString>;
|
|
8126
9736
|
default_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8127
9737
|
groups: z.ZodArray<z.ZodObject<{
|
|
9738
|
+
plan_usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9739
|
+
kind: z.ZodLiteral<"usage_window">;
|
|
9740
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
9741
|
+
gauges: z.ZodArray<z.ZodObject<{
|
|
9742
|
+
label: z.ZodString;
|
|
9743
|
+
left_fraction: z.ZodNumber;
|
|
9744
|
+
style: z.ZodEnum<{
|
|
9745
|
+
green: "green";
|
|
9746
|
+
yellow: "yellow";
|
|
9747
|
+
red: "red";
|
|
9748
|
+
}>;
|
|
9749
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
9750
|
+
scope: z.ZodString;
|
|
9751
|
+
title: z.ZodString;
|
|
9752
|
+
}, z.core.$strip>>;
|
|
9753
|
+
top_tier_model_ids: z.ZodArray<z.ZodString>;
|
|
9754
|
+
featured_model_ids: z.ZodArray<z.ZodString>;
|
|
9755
|
+
paused_reason: z.ZodNullable<z.ZodString>;
|
|
9756
|
+
credits_pay: z.ZodNullable<z.ZodBoolean>;
|
|
9757
|
+
}, z.core.$strip>>>;
|
|
9758
|
+
plan_stale: z.ZodOptional<z.ZodBoolean>;
|
|
9759
|
+
sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9760
|
+
kind: z.ZodEnum<{
|
|
9761
|
+
recommended: "recommended";
|
|
9762
|
+
other: "other";
|
|
9763
|
+
}>;
|
|
9764
|
+
model_ids: z.ZodArray<z.ZodString>;
|
|
9765
|
+
}, z.core.$strip>>>;
|
|
8128
9766
|
availability: z.ZodOptional<z.ZodObject<{
|
|
8129
9767
|
status: z.ZodEnum<{
|
|
8130
9768
|
available: "available";
|
|
@@ -8138,6 +9776,22 @@ export declare const OnboardingStatusSchema: z.ZodObject<{
|
|
|
8138
9776
|
provider: z.ZodString;
|
|
8139
9777
|
provider_id: z.ZodOptional<z.ZodString>;
|
|
8140
9778
|
models: z.ZodArray<z.ZodObject<{
|
|
9779
|
+
allowance: z.ZodOptional<z.ZodObject<{
|
|
9780
|
+
state: z.ZodEnum<{
|
|
9781
|
+
unknown: "unknown";
|
|
9782
|
+
blocked: "blocked";
|
|
9783
|
+
included: "included";
|
|
9784
|
+
free: "free";
|
|
9785
|
+
credits: "credits";
|
|
9786
|
+
}>;
|
|
9787
|
+
usage_level: z.ZodNullable<z.ZodEnum<{
|
|
9788
|
+
free: "free";
|
|
9789
|
+
low: "low";
|
|
9790
|
+
medium: "medium";
|
|
9791
|
+
top_tier: "top_tier";
|
|
9792
|
+
}>>;
|
|
9793
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
9794
|
+
}, z.core.$strip>>;
|
|
8141
9795
|
id: z.ZodString;
|
|
8142
9796
|
label: z.ZodOptional<z.ZodString>;
|
|
8143
9797
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -8163,6 +9817,22 @@ export declare const OnboardingStatusSchema: z.ZodObject<{
|
|
|
8163
9817
|
}, z.core.$strip>>;
|
|
8164
9818
|
}, z.core.$loose>>;
|
|
8165
9819
|
extra_models: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9820
|
+
allowance: z.ZodOptional<z.ZodObject<{
|
|
9821
|
+
state: z.ZodEnum<{
|
|
9822
|
+
unknown: "unknown";
|
|
9823
|
+
blocked: "blocked";
|
|
9824
|
+
included: "included";
|
|
9825
|
+
free: "free";
|
|
9826
|
+
credits: "credits";
|
|
9827
|
+
}>;
|
|
9828
|
+
usage_level: z.ZodNullable<z.ZodEnum<{
|
|
9829
|
+
free: "free";
|
|
9830
|
+
low: "low";
|
|
9831
|
+
medium: "medium";
|
|
9832
|
+
top_tier: "top_tier";
|
|
9833
|
+
}>>;
|
|
9834
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
9835
|
+
}, z.core.$strip>>;
|
|
8166
9836
|
id: z.ZodString;
|
|
8167
9837
|
label: z.ZodOptional<z.ZodString>;
|
|
8168
9838
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -8220,6 +9890,26 @@ export declare const OnboardingProbeSchema: z.ZodObject<{
|
|
|
8220
9890
|
* `user_code`, `verification_url`, `expires_in` and `interval` (seconds between polls) come with the start.
|
|
8221
9891
|
*/
|
|
8222
9892
|
export declare const OnboardingOAuthSchema: z.ZodObject<{
|
|
9893
|
+
nous_account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9894
|
+
account_id: z.ZodString;
|
|
9895
|
+
email: z.ZodNullable<z.ZodString>;
|
|
9896
|
+
state: z.ZodEnum<{
|
|
9897
|
+
unavailable: "unavailable";
|
|
9898
|
+
unknown: "unknown";
|
|
9899
|
+
pending: "pending";
|
|
9900
|
+
failed: "failed";
|
|
9901
|
+
idle: "idle";
|
|
9902
|
+
retrying: "retrying";
|
|
9903
|
+
claimed: "claimed";
|
|
9904
|
+
gone: "gone";
|
|
9905
|
+
paused: "paused";
|
|
9906
|
+
}>;
|
|
9907
|
+
lines: z.ZodArray<z.ZodString>;
|
|
9908
|
+
moved: z.ZodArray<z.ZodString>;
|
|
9909
|
+
dropped: z.ZodArray<z.ZodString>;
|
|
9910
|
+
reconnect: z.ZodArray<z.ZodString>;
|
|
9911
|
+
poll_after: z.ZodNullable<z.ZodNumber>;
|
|
9912
|
+
}, z.core.$strip>>>;
|
|
8223
9913
|
ok: z.ZodOptional<z.ZodBoolean>;
|
|
8224
9914
|
status: z.ZodOptional<z.ZodString>;
|
|
8225
9915
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -8658,6 +10348,57 @@ export declare const KanbanColumnSchema: z.ZodObject<{
|
|
|
8658
10348
|
updated_at: z.ZodOptional<z.ZodUnknown>;
|
|
8659
10349
|
}, z.core.$loose>>;
|
|
8660
10350
|
}, z.core.$loose>;
|
|
10351
|
+
/** One bounded profile-scoped read shared by timeline and relationship layouts. Null timing means unknown, never planned effort. */
|
|
10352
|
+
export declare const KanbanInspectionSchema: z.ZodObject<{
|
|
10353
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
10354
|
+
source: z.ZodString;
|
|
10355
|
+
target: z.ZodString;
|
|
10356
|
+
}, z.core.$strip>>;
|
|
10357
|
+
generated_at: z.ZodNumber;
|
|
10358
|
+
truncated: z.ZodBoolean;
|
|
10359
|
+
read_only: z.ZodBoolean;
|
|
10360
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
10361
|
+
key: z.ZodString;
|
|
10362
|
+
board: z.ZodString;
|
|
10363
|
+
board_name: z.ZodString;
|
|
10364
|
+
task: z.ZodObject<{
|
|
10365
|
+
available_actions: z.ZodObject<{
|
|
10366
|
+
block: z.ZodBoolean;
|
|
10367
|
+
unblock: z.ZodBoolean;
|
|
10368
|
+
complete: z.ZodBoolean;
|
|
10369
|
+
archive: z.ZodBoolean;
|
|
10370
|
+
move_to: z.ZodArray<z.ZodString>;
|
|
10371
|
+
}, z.core.$strip>;
|
|
10372
|
+
requires_running_exit_confirmation: z.ZodBoolean;
|
|
10373
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
10374
|
+
title: z.ZodOptional<z.ZodString>;
|
|
10375
|
+
status: z.ZodOptional<z.ZodString>;
|
|
10376
|
+
assignee: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10377
|
+
priority: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
10378
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10379
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10380
|
+
session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10381
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
10382
|
+
created_at: z.ZodOptional<z.ZodUnknown>;
|
|
10383
|
+
updated_at: z.ZodOptional<z.ZodUnknown>;
|
|
10384
|
+
}, z.core.$loose>;
|
|
10385
|
+
ancestors: z.ZodArray<z.ZodString>;
|
|
10386
|
+
descendants: z.ZodArray<z.ZodString>;
|
|
10387
|
+
cycle: z.ZodBoolean;
|
|
10388
|
+
running_lineage: z.ZodBoolean;
|
|
10389
|
+
timing: z.ZodObject<{
|
|
10390
|
+
start: z.ZodNullable<z.ZodNumber>;
|
|
10391
|
+
end: z.ZodNullable<z.ZodNumber>;
|
|
10392
|
+
duration_seconds: z.ZodNullable<z.ZodNumber>;
|
|
10393
|
+
offset: z.ZodNullable<z.ZodNumber>;
|
|
10394
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
10395
|
+
}, z.core.$strip>;
|
|
10396
|
+
}, z.core.$strip>>;
|
|
10397
|
+
window: z.ZodObject<{
|
|
10398
|
+
start: z.ZodNullable<z.ZodNumber>;
|
|
10399
|
+
end: z.ZodNullable<z.ZodNumber>;
|
|
10400
|
+
}, z.core.$strip>;
|
|
10401
|
+
}, z.core.$strip>;
|
|
8661
10402
|
/** One profile lane (TAL-567): an assignee's tasks (`null` = unassigned) across every board column, with its task count. */
|
|
8662
10403
|
export declare const KanbanLaneSchema: z.ZodObject<{
|
|
8663
10404
|
assignee: z.ZodNullable<z.ZodString>;
|