@maudecode/talaria-web-contracts 1.21.0 → 1.23.2
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/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 +24 -4
- package/dist/gateway-session.js +5 -1
- 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 +5 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-cost-policy.d.ts +1 -1
- package/dist/openapi.js +4 -0
- package/dist/openapi.js.map +1 -1
- 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 +2 -2
- package/dist/router.d.ts +13 -20005
- package/dist/router.js +4 -1
- package/dist/router.js.map +1 -1
- package/dist/routes/automation.d.ts +15 -15
- package/dist/routes/chat.d.ts +279 -83
- package/dist/routes/core.d.ts +168 -0
- package/dist/routes/core.js +48 -1
- package/dist/routes/core.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 +18 -3
- package/dist/routes/raw.js.map +1 -1
- package/dist/routes/sessions.d.ts +751 -204
- package/dist/routes/settings.d.ts +1100 -1
- package/dist/routes/settings.js +56 -0
- package/dist/routes/settings.js.map +1 -1
- package/dist/routes/tools.d.ts +109 -24
- package/dist/routes/tools.js +6 -3
- package/dist/routes/tools.js.map +1 -1
- package/dist/routes/workspaces.d.ts +2 -2
- package/dist/sidecar/methods.d.ts +522 -24
- package/dist/sidecar/methods.js +3 -1
- package/dist/sidecar/methods.js.map +1 -1
- package/dist/sidecar/namespaces.d.ts +611 -34
- package/dist/sidecar/namespaces.js +46 -5
- package/dist/sidecar/namespaces.js.map +1 -1
- package/dist/sidecar/rpc.d.ts +3 -3
- package/dist/sidecar/version.d.ts +1 -1
- package/dist/sidecar/version.js +1 -1
- package/dist/sse.d.ts +97 -20
- package/dist/sse.js +4 -3
- package/dist/sse.js.map +1 -1
- package/dist/views.d.ts +886 -161
- package/dist/views.js +48 -23
- 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/groups.json +18 -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>;
|
|
@@ -27,8 +28,8 @@ export declare const ToolKindSchema: z.ZodEnum<{
|
|
|
27
28
|
unknown: "unknown";
|
|
28
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";
|
|
@@ -120,8 +121,8 @@ export declare const ToolDisplayFields: {
|
|
|
120
121
|
unknown: "unknown";
|
|
121
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";
|
|
@@ -218,8 +219,8 @@ export declare const ToolCallSchema: z.ZodObject<{
|
|
|
218
219
|
unknown: "unknown";
|
|
219
220
|
memory: "memory";
|
|
220
221
|
shell: "shell";
|
|
221
|
-
read: "read";
|
|
222
222
|
list: "list";
|
|
223
|
+
read: "read";
|
|
223
224
|
search: "search";
|
|
224
225
|
web: "web";
|
|
225
226
|
write: "write";
|
|
@@ -279,8 +280,8 @@ export declare const BackgroundLinkSchema: z.ZodObject<{
|
|
|
279
280
|
status: z.ZodEnum<{
|
|
280
281
|
unknown: "unknown";
|
|
281
282
|
running: "running";
|
|
282
|
-
cancelled: "cancelled";
|
|
283
283
|
failed: "failed";
|
|
284
|
+
cancelled: "cancelled";
|
|
284
285
|
completed: "completed";
|
|
285
286
|
attention: "attention";
|
|
286
287
|
}>;
|
|
@@ -306,9 +307,9 @@ export declare const DisplayMediaSchema: z.ZodObject<{
|
|
|
306
307
|
kind: z.ZodEnum<{
|
|
307
308
|
file: "file";
|
|
308
309
|
image: "image";
|
|
310
|
+
pdf: "pdf";
|
|
309
311
|
audio: "audio";
|
|
310
312
|
video: "video";
|
|
311
|
-
pdf: "pdf";
|
|
312
313
|
}>;
|
|
313
314
|
}, z.core.$strip>;
|
|
314
315
|
export type DisplayMedia = z.infer<typeof DisplayMediaSchema>;
|
|
@@ -333,9 +334,9 @@ export declare const ActivitySceneRowSchema: z.ZodObject<{
|
|
|
333
334
|
kind: z.ZodEnum<{
|
|
334
335
|
file: "file";
|
|
335
336
|
image: "image";
|
|
337
|
+
pdf: "pdf";
|
|
336
338
|
audio: "audio";
|
|
337
339
|
video: "video";
|
|
338
|
-
pdf: "pdf";
|
|
339
340
|
}>;
|
|
340
341
|
}, z.core.$strip>>>;
|
|
341
342
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -362,8 +363,8 @@ export declare const ActivitySceneRowSchema: z.ZodObject<{
|
|
|
362
363
|
status: z.ZodEnum<{
|
|
363
364
|
unknown: "unknown";
|
|
364
365
|
running: "running";
|
|
365
|
-
cancelled: "cancelled";
|
|
366
366
|
failed: "failed";
|
|
367
|
+
cancelled: "cancelled";
|
|
367
368
|
completed: "completed";
|
|
368
369
|
attention: "attention";
|
|
369
370
|
}>;
|
|
@@ -384,8 +385,8 @@ export declare const ActivitySceneRowSchema: z.ZodObject<{
|
|
|
384
385
|
unknown: "unknown";
|
|
385
386
|
memory: "memory";
|
|
386
387
|
shell: "shell";
|
|
387
|
-
read: "read";
|
|
388
388
|
list: "list";
|
|
389
|
+
read: "read";
|
|
389
390
|
search: "search";
|
|
390
391
|
web: "web";
|
|
391
392
|
write: "write";
|
|
@@ -475,9 +476,9 @@ export declare const ActivitySceneSchema: z.ZodObject<{
|
|
|
475
476
|
kind: z.ZodEnum<{
|
|
476
477
|
file: "file";
|
|
477
478
|
image: "image";
|
|
479
|
+
pdf: "pdf";
|
|
478
480
|
audio: "audio";
|
|
479
481
|
video: "video";
|
|
480
|
-
pdf: "pdf";
|
|
481
482
|
}>;
|
|
482
483
|
}, z.core.$strip>>>;
|
|
483
484
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -504,8 +505,8 @@ export declare const ActivitySceneSchema: z.ZodObject<{
|
|
|
504
505
|
status: z.ZodEnum<{
|
|
505
506
|
unknown: "unknown";
|
|
506
507
|
running: "running";
|
|
507
|
-
cancelled: "cancelled";
|
|
508
508
|
failed: "failed";
|
|
509
|
+
cancelled: "cancelled";
|
|
509
510
|
completed: "completed";
|
|
510
511
|
attention: "attention";
|
|
511
512
|
}>;
|
|
@@ -526,8 +527,8 @@ export declare const ActivitySceneSchema: z.ZodObject<{
|
|
|
526
527
|
unknown: "unknown";
|
|
527
528
|
memory: "memory";
|
|
528
529
|
shell: "shell";
|
|
529
|
-
read: "read";
|
|
530
530
|
list: "list";
|
|
531
|
+
read: "read";
|
|
531
532
|
search: "search";
|
|
532
533
|
web: "web";
|
|
533
534
|
write: "write";
|
|
@@ -582,9 +583,9 @@ export declare const ActivitySceneSchema: z.ZodObject<{
|
|
|
582
583
|
kind: z.ZodEnum<{
|
|
583
584
|
file: "file";
|
|
584
585
|
image: "image";
|
|
586
|
+
pdf: "pdf";
|
|
585
587
|
audio: "audio";
|
|
586
588
|
video: "video";
|
|
587
|
-
pdf: "pdf";
|
|
588
589
|
}>;
|
|
589
590
|
}, z.core.$strip>>>;
|
|
590
591
|
terminal_state: z.ZodOptional<z.ZodString>;
|
|
@@ -619,9 +620,9 @@ export type BackgroundReviewState = z.infer<typeof BackgroundReviewStateSchema>;
|
|
|
619
620
|
/** One finished background item (see `_background_update.lines`). */
|
|
620
621
|
export declare const BackgroundLineSchema: z.ZodObject<{
|
|
621
622
|
kind: z.ZodEnum<{
|
|
622
|
-
command: "command";
|
|
623
623
|
agent: "agent";
|
|
624
624
|
other: "other";
|
|
625
|
+
command: "command";
|
|
625
626
|
}>;
|
|
626
627
|
status: z.ZodEnum<{
|
|
627
628
|
failed: "failed";
|
|
@@ -706,6 +707,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
706
707
|
}, z.core.$strip>>;
|
|
707
708
|
}, z.core.$strip>>;
|
|
708
709
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
710
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
709
711
|
filename: z.ZodOptional<z.ZodString>;
|
|
710
712
|
name: z.ZodOptional<z.ZodString>;
|
|
711
713
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -752,8 +754,8 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
752
754
|
unknown: "unknown";
|
|
753
755
|
memory: "memory";
|
|
754
756
|
shell: "shell";
|
|
755
|
-
read: "read";
|
|
756
757
|
list: "list";
|
|
758
|
+
read: "read";
|
|
757
759
|
search: "search";
|
|
758
760
|
web: "web";
|
|
759
761
|
write: "write";
|
|
@@ -818,9 +820,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
818
820
|
kind: z.ZodEnum<{
|
|
819
821
|
file: "file";
|
|
820
822
|
image: "image";
|
|
823
|
+
pdf: "pdf";
|
|
821
824
|
audio: "audio";
|
|
822
825
|
video: "video";
|
|
823
|
-
pdf: "pdf";
|
|
824
826
|
}>;
|
|
825
827
|
}, z.core.$strip>>>;
|
|
826
828
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -847,8 +849,8 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
847
849
|
status: z.ZodEnum<{
|
|
848
850
|
unknown: "unknown";
|
|
849
851
|
running: "running";
|
|
850
|
-
cancelled: "cancelled";
|
|
851
852
|
failed: "failed";
|
|
853
|
+
cancelled: "cancelled";
|
|
852
854
|
completed: "completed";
|
|
853
855
|
attention: "attention";
|
|
854
856
|
}>;
|
|
@@ -869,8 +871,8 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
869
871
|
unknown: "unknown";
|
|
870
872
|
memory: "memory";
|
|
871
873
|
shell: "shell";
|
|
872
|
-
read: "read";
|
|
873
874
|
list: "list";
|
|
875
|
+
read: "read";
|
|
874
876
|
search: "search";
|
|
875
877
|
web: "web";
|
|
876
878
|
write: "write";
|
|
@@ -925,9 +927,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
925
927
|
kind: z.ZodEnum<{
|
|
926
928
|
file: "file";
|
|
927
929
|
image: "image";
|
|
930
|
+
pdf: "pdf";
|
|
928
931
|
audio: "audio";
|
|
929
932
|
video: "video";
|
|
930
|
-
pdf: "pdf";
|
|
931
933
|
}>;
|
|
932
934
|
}, z.core.$strip>>>;
|
|
933
935
|
terminal_state: z.ZodOptional<z.ZodString>;
|
|
@@ -973,9 +975,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
973
975
|
kind: z.ZodEnum<{
|
|
974
976
|
file: "file";
|
|
975
977
|
image: "image";
|
|
978
|
+
pdf: "pdf";
|
|
976
979
|
audio: "audio";
|
|
977
980
|
video: "video";
|
|
978
|
-
pdf: "pdf";
|
|
979
981
|
}>;
|
|
980
982
|
}, z.core.$strip>>>;
|
|
981
983
|
_background_update: z.ZodOptional<z.ZodObject<{
|
|
@@ -990,9 +992,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
990
992
|
summary: z.ZodString;
|
|
991
993
|
lines: z.ZodArray<z.ZodObject<{
|
|
992
994
|
kind: z.ZodEnum<{
|
|
993
|
-
command: "command";
|
|
994
995
|
agent: "agent";
|
|
995
996
|
other: "other";
|
|
997
|
+
command: "command";
|
|
996
998
|
}>;
|
|
997
999
|
status: z.ZodEnum<{
|
|
998
1000
|
failed: "failed";
|
|
@@ -1074,8 +1076,8 @@ export type PendingSteer = z.infer<typeof PendingSteerSchema>;
|
|
|
1074
1076
|
export declare const SessionNoticeSchema: z.ZodObject<{
|
|
1075
1077
|
key: z.ZodString;
|
|
1076
1078
|
level: z.ZodEnum<{
|
|
1077
|
-
error: "error";
|
|
1078
1079
|
success: "success";
|
|
1080
|
+
error: "error";
|
|
1079
1081
|
info: "info";
|
|
1080
1082
|
warn: "warn";
|
|
1081
1083
|
}>;
|
|
@@ -1123,16 +1125,6 @@ export declare const SourceKindSchema: z.ZodEnum<{
|
|
|
1123
1125
|
kanban: "kanban";
|
|
1124
1126
|
api: "api";
|
|
1125
1127
|
}>;
|
|
1126
|
-
/**
|
|
1127
|
-
* TAL-560: the "Context compaction · Reference only" card, on payloads that carry `messages`. Clients render `text` after
|
|
1128
|
-
* the row at full-transcript index `after_message_index` (row `after_message_index - _messages_offset` of `messages`), or
|
|
1129
|
-
* above the loaded rows when it is null or before them. Null: no card.
|
|
1130
|
-
*/
|
|
1131
|
-
export declare const CompressionReferenceSchema: z.ZodObject<{
|
|
1132
|
-
text: z.ZodString;
|
|
1133
|
-
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
1134
|
-
}, z.core.$strip>;
|
|
1135
|
-
export type CompressionReference = z.infer<typeof CompressionReferenceSchema>;
|
|
1136
1128
|
/** TAL-454: the chat a `/branch` copied, with its redacted title. */
|
|
1137
1129
|
export declare const BranchedFromSchema: z.ZodObject<{
|
|
1138
1130
|
session_id: z.ZodString;
|
|
@@ -1155,16 +1147,59 @@ export declare const AcceptedSourceReferenceSchema: z.ZodObject<{
|
|
|
1155
1147
|
export type AcceptedSourceReference = z.infer<typeof AcceptedSourceReferenceSchema>;
|
|
1156
1148
|
/** Full session record from `GET /api/session` and mutations returning `session`. */
|
|
1157
1149
|
export declare const SessionActivityPhaseSchema: z.ZodEnum<{
|
|
1158
|
-
running: "running";
|
|
1159
|
-
cancelled: "cancelled";
|
|
1160
1150
|
stale: "stale";
|
|
1151
|
+
running: "running";
|
|
1161
1152
|
failed: "failed";
|
|
1153
|
+
cancelled: "cancelled";
|
|
1162
1154
|
completed: "completed";
|
|
1163
1155
|
starting: "starting";
|
|
1164
1156
|
waiting_for_approval: "waiting_for_approval";
|
|
1165
1157
|
waiting_for_input: "waiting_for_input";
|
|
1166
1158
|
}>;
|
|
1167
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>;
|
|
1168
1203
|
export declare const SessionSchema: z.ZodObject<{
|
|
1169
1204
|
execution_mode: z.ZodOptional<z.ZodEnum<{
|
|
1170
1205
|
normal: "normal";
|
|
@@ -1267,6 +1302,7 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1267
1302
|
can_archive: z.ZodBoolean;
|
|
1268
1303
|
can_delete: z.ZodBoolean;
|
|
1269
1304
|
can_duplicate: z.ZodBoolean;
|
|
1305
|
+
can_share: z.ZodBoolean;
|
|
1270
1306
|
source_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1271
1307
|
can_compress: z.ZodOptional<z.ZodBoolean>;
|
|
1272
1308
|
confirms_deep_truncate: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1298,10 +1334,6 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1298
1334
|
}, z.core.$strip>>>;
|
|
1299
1335
|
assistant_name: z.ZodOptional<z.ZodString>;
|
|
1300
1336
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1301
|
-
compression_reference: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1302
|
-
text: z.ZodString;
|
|
1303
|
-
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
1304
|
-
}, z.core.$strip>>>;
|
|
1305
1337
|
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1306
1338
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1307
1339
|
session_id: z.ZodString;
|
|
@@ -1311,16 +1343,55 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1311
1343
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1312
1344
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1313
1345
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1346
|
+
plan_gauge: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1347
|
+
id: z.ZodString;
|
|
1348
|
+
label: z.ZodString;
|
|
1349
|
+
used_bp: z.ZodNumber;
|
|
1350
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
1351
|
+
}, z.core.$strip>>>;
|
|
1352
|
+
show_reasoning: z.ZodOptional<z.ZodBoolean>;
|
|
1314
1353
|
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
1315
|
-
running: "running";
|
|
1316
|
-
cancelled: "cancelled";
|
|
1317
1354
|
stale: "stale";
|
|
1355
|
+
running: "running";
|
|
1318
1356
|
failed: "failed";
|
|
1357
|
+
cancelled: "cancelled";
|
|
1319
1358
|
completed: "completed";
|
|
1320
1359
|
starting: "starting";
|
|
1321
1360
|
waiting_for_approval: "waiting_for_approval";
|
|
1322
1361
|
waiting_for_input: "waiting_for_input";
|
|
1323
1362
|
}>>;
|
|
1363
|
+
todo_state: z.ZodOptional<z.ZodObject<{
|
|
1364
|
+
display_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1365
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1366
|
+
text: z.ZodString;
|
|
1367
|
+
state: z.ZodEnum<{
|
|
1368
|
+
pending: "pending";
|
|
1369
|
+
cancelled: "cancelled";
|
|
1370
|
+
completed: "completed";
|
|
1371
|
+
in_progress: "in_progress";
|
|
1372
|
+
}>;
|
|
1373
|
+
}, z.core.$strip>>>;
|
|
1374
|
+
total_count: z.ZodOptional<z.ZodNumber>;
|
|
1375
|
+
completed_count: z.ZodOptional<z.ZodNumber>;
|
|
1376
|
+
pending_count: z.ZodOptional<z.ZodNumber>;
|
|
1377
|
+
in_progress_count: z.ZodOptional<z.ZodNumber>;
|
|
1378
|
+
cancelled_count: z.ZodOptional<z.ZodNumber>;
|
|
1379
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
1380
|
+
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1381
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1382
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1383
|
+
content: z.ZodOptional<z.ZodString>;
|
|
1384
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1385
|
+
status: z.ZodOptional<z.ZodString>;
|
|
1386
|
+
done: z.ZodOptional<z.ZodBoolean>;
|
|
1387
|
+
completed: z.ZodOptional<z.ZodBoolean>;
|
|
1388
|
+
}, z.core.$loose>>>;
|
|
1389
|
+
summary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1390
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
1391
|
+
ts: z.ZodOptional<z.ZodNumber>;
|
|
1392
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1393
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1394
|
+
}, z.core.$loose>>;
|
|
1324
1395
|
source_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1325
1396
|
session_id: z.ZodString;
|
|
1326
1397
|
tip_session_id: z.ZodString;
|
|
@@ -1329,6 +1400,7 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1329
1400
|
}, z.core.$strip>>>;
|
|
1330
1401
|
context_detail_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1331
1402
|
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
1403
|
+
clear_generation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1332
1404
|
session_id: z.ZodString;
|
|
1333
1405
|
title: z.ZodString;
|
|
1334
1406
|
workspace: z.ZodOptional<z.ZodString>;
|
|
@@ -1403,6 +1475,7 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1403
1475
|
}, z.core.$strip>>;
|
|
1404
1476
|
}, z.core.$strip>>;
|
|
1405
1477
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1478
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
1406
1479
|
filename: z.ZodOptional<z.ZodString>;
|
|
1407
1480
|
name: z.ZodOptional<z.ZodString>;
|
|
1408
1481
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -1449,8 +1522,8 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1449
1522
|
unknown: "unknown";
|
|
1450
1523
|
memory: "memory";
|
|
1451
1524
|
shell: "shell";
|
|
1452
|
-
read: "read";
|
|
1453
1525
|
list: "list";
|
|
1526
|
+
read: "read";
|
|
1454
1527
|
search: "search";
|
|
1455
1528
|
web: "web";
|
|
1456
1529
|
write: "write";
|
|
@@ -1515,9 +1588,9 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1515
1588
|
kind: z.ZodEnum<{
|
|
1516
1589
|
file: "file";
|
|
1517
1590
|
image: "image";
|
|
1591
|
+
pdf: "pdf";
|
|
1518
1592
|
audio: "audio";
|
|
1519
1593
|
video: "video";
|
|
1520
|
-
pdf: "pdf";
|
|
1521
1594
|
}>;
|
|
1522
1595
|
}, z.core.$strip>>>;
|
|
1523
1596
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -1544,8 +1617,8 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1544
1617
|
status: z.ZodEnum<{
|
|
1545
1618
|
unknown: "unknown";
|
|
1546
1619
|
running: "running";
|
|
1547
|
-
cancelled: "cancelled";
|
|
1548
1620
|
failed: "failed";
|
|
1621
|
+
cancelled: "cancelled";
|
|
1549
1622
|
completed: "completed";
|
|
1550
1623
|
attention: "attention";
|
|
1551
1624
|
}>;
|
|
@@ -1566,8 +1639,8 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1566
1639
|
unknown: "unknown";
|
|
1567
1640
|
memory: "memory";
|
|
1568
1641
|
shell: "shell";
|
|
1569
|
-
read: "read";
|
|
1570
1642
|
list: "list";
|
|
1643
|
+
read: "read";
|
|
1571
1644
|
search: "search";
|
|
1572
1645
|
web: "web";
|
|
1573
1646
|
write: "write";
|
|
@@ -1622,9 +1695,9 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1622
1695
|
kind: z.ZodEnum<{
|
|
1623
1696
|
file: "file";
|
|
1624
1697
|
image: "image";
|
|
1698
|
+
pdf: "pdf";
|
|
1625
1699
|
audio: "audio";
|
|
1626
1700
|
video: "video";
|
|
1627
|
-
pdf: "pdf";
|
|
1628
1701
|
}>;
|
|
1629
1702
|
}, z.core.$strip>>>;
|
|
1630
1703
|
terminal_state: z.ZodOptional<z.ZodString>;
|
|
@@ -1670,9 +1743,9 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1670
1743
|
kind: z.ZodEnum<{
|
|
1671
1744
|
file: "file";
|
|
1672
1745
|
image: "image";
|
|
1746
|
+
pdf: "pdf";
|
|
1673
1747
|
audio: "audio";
|
|
1674
1748
|
video: "video";
|
|
1675
|
-
pdf: "pdf";
|
|
1676
1749
|
}>;
|
|
1677
1750
|
}, z.core.$strip>>>;
|
|
1678
1751
|
_background_update: z.ZodOptional<z.ZodObject<{
|
|
@@ -1687,9 +1760,9 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1687
1760
|
summary: z.ZodString;
|
|
1688
1761
|
lines: z.ZodArray<z.ZodObject<{
|
|
1689
1762
|
kind: z.ZodEnum<{
|
|
1690
|
-
command: "command";
|
|
1691
1763
|
agent: "agent";
|
|
1692
1764
|
other: "other";
|
|
1765
|
+
command: "command";
|
|
1693
1766
|
}>;
|
|
1694
1767
|
status: z.ZodEnum<{
|
|
1695
1768
|
failed: "failed";
|
|
@@ -1777,8 +1850,8 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1777
1850
|
unknown: "unknown";
|
|
1778
1851
|
memory: "memory";
|
|
1779
1852
|
shell: "shell";
|
|
1780
|
-
read: "read";
|
|
1781
1853
|
list: "list";
|
|
1854
|
+
read: "read";
|
|
1782
1855
|
search: "search";
|
|
1783
1856
|
web: "web";
|
|
1784
1857
|
write: "write";
|
|
@@ -1871,8 +1944,8 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1871
1944
|
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1872
1945
|
key: z.ZodString;
|
|
1873
1946
|
level: z.ZodEnum<{
|
|
1874
|
-
error: "error";
|
|
1875
1947
|
success: "success";
|
|
1948
|
+
error: "error";
|
|
1876
1949
|
info: "info";
|
|
1877
1950
|
warn: "warn";
|
|
1878
1951
|
}>;
|
|
@@ -1895,6 +1968,7 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1895
1968
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
1896
1969
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1897
1970
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1971
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
1898
1972
|
filename: z.ZodOptional<z.ZodString>;
|
|
1899
1973
|
name: z.ZodOptional<z.ZodString>;
|
|
1900
1974
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -2014,6 +2088,7 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2014
2088
|
can_archive: z.ZodBoolean;
|
|
2015
2089
|
can_delete: z.ZodBoolean;
|
|
2016
2090
|
can_duplicate: z.ZodBoolean;
|
|
2091
|
+
can_share: z.ZodBoolean;
|
|
2017
2092
|
source_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2018
2093
|
can_compress: z.ZodOptional<z.ZodBoolean>;
|
|
2019
2094
|
confirms_deep_truncate: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2045,10 +2120,6 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2045
2120
|
}, z.core.$strip>>>;
|
|
2046
2121
|
assistant_name: z.ZodOptional<z.ZodString>;
|
|
2047
2122
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2048
|
-
compression_reference: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2049
|
-
text: z.ZodString;
|
|
2050
|
-
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
2051
|
-
}, z.core.$strip>>>;
|
|
2052
2123
|
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2053
2124
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2054
2125
|
session_id: z.ZodString;
|
|
@@ -2058,16 +2129,55 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2058
2129
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2059
2130
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2060
2131
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2132
|
+
plan_gauge: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2133
|
+
id: z.ZodString;
|
|
2134
|
+
label: z.ZodString;
|
|
2135
|
+
used_bp: z.ZodNumber;
|
|
2136
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
2137
|
+
}, z.core.$strip>>>;
|
|
2138
|
+
show_reasoning: z.ZodOptional<z.ZodBoolean>;
|
|
2061
2139
|
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
2062
|
-
running: "running";
|
|
2063
|
-
cancelled: "cancelled";
|
|
2064
2140
|
stale: "stale";
|
|
2141
|
+
running: "running";
|
|
2065
2142
|
failed: "failed";
|
|
2143
|
+
cancelled: "cancelled";
|
|
2066
2144
|
completed: "completed";
|
|
2067
2145
|
starting: "starting";
|
|
2068
2146
|
waiting_for_approval: "waiting_for_approval";
|
|
2069
2147
|
waiting_for_input: "waiting_for_input";
|
|
2070
2148
|
}>>;
|
|
2149
|
+
todo_state: z.ZodOptional<z.ZodObject<{
|
|
2150
|
+
display_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2151
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
2152
|
+
text: z.ZodString;
|
|
2153
|
+
state: z.ZodEnum<{
|
|
2154
|
+
pending: "pending";
|
|
2155
|
+
cancelled: "cancelled";
|
|
2156
|
+
completed: "completed";
|
|
2157
|
+
in_progress: "in_progress";
|
|
2158
|
+
}>;
|
|
2159
|
+
}, z.core.$strip>>>;
|
|
2160
|
+
total_count: z.ZodOptional<z.ZodNumber>;
|
|
2161
|
+
completed_count: z.ZodOptional<z.ZodNumber>;
|
|
2162
|
+
pending_count: z.ZodOptional<z.ZodNumber>;
|
|
2163
|
+
in_progress_count: z.ZodOptional<z.ZodNumber>;
|
|
2164
|
+
cancelled_count: z.ZodOptional<z.ZodNumber>;
|
|
2165
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
2166
|
+
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2167
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
2168
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2169
|
+
content: z.ZodOptional<z.ZodString>;
|
|
2170
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2171
|
+
status: z.ZodOptional<z.ZodString>;
|
|
2172
|
+
done: z.ZodOptional<z.ZodBoolean>;
|
|
2173
|
+
completed: z.ZodOptional<z.ZodBoolean>;
|
|
2174
|
+
}, z.core.$loose>>>;
|
|
2175
|
+
summary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2176
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
2177
|
+
ts: z.ZodOptional<z.ZodNumber>;
|
|
2178
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2179
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2180
|
+
}, z.core.$loose>>;
|
|
2071
2181
|
source_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2072
2182
|
session_id: z.ZodString;
|
|
2073
2183
|
tip_session_id: z.ZodString;
|
|
@@ -2076,6 +2186,7 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2076
2186
|
}, z.core.$strip>>>;
|
|
2077
2187
|
context_detail_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2078
2188
|
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
2189
|
+
clear_generation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2079
2190
|
session_id: z.ZodString;
|
|
2080
2191
|
title: z.ZodString;
|
|
2081
2192
|
workspace: z.ZodOptional<z.ZodString>;
|
|
@@ -2150,6 +2261,7 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2150
2261
|
}, z.core.$strip>>;
|
|
2151
2262
|
}, z.core.$strip>>;
|
|
2152
2263
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2264
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
2153
2265
|
filename: z.ZodOptional<z.ZodString>;
|
|
2154
2266
|
name: z.ZodOptional<z.ZodString>;
|
|
2155
2267
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -2196,8 +2308,8 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2196
2308
|
unknown: "unknown";
|
|
2197
2309
|
memory: "memory";
|
|
2198
2310
|
shell: "shell";
|
|
2199
|
-
read: "read";
|
|
2200
2311
|
list: "list";
|
|
2312
|
+
read: "read";
|
|
2201
2313
|
search: "search";
|
|
2202
2314
|
web: "web";
|
|
2203
2315
|
write: "write";
|
|
@@ -2262,9 +2374,9 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2262
2374
|
kind: z.ZodEnum<{
|
|
2263
2375
|
file: "file";
|
|
2264
2376
|
image: "image";
|
|
2377
|
+
pdf: "pdf";
|
|
2265
2378
|
audio: "audio";
|
|
2266
2379
|
video: "video";
|
|
2267
|
-
pdf: "pdf";
|
|
2268
2380
|
}>;
|
|
2269
2381
|
}, z.core.$strip>>>;
|
|
2270
2382
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -2291,8 +2403,8 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2291
2403
|
status: z.ZodEnum<{
|
|
2292
2404
|
unknown: "unknown";
|
|
2293
2405
|
running: "running";
|
|
2294
|
-
cancelled: "cancelled";
|
|
2295
2406
|
failed: "failed";
|
|
2407
|
+
cancelled: "cancelled";
|
|
2296
2408
|
completed: "completed";
|
|
2297
2409
|
attention: "attention";
|
|
2298
2410
|
}>;
|
|
@@ -2313,8 +2425,8 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2313
2425
|
unknown: "unknown";
|
|
2314
2426
|
memory: "memory";
|
|
2315
2427
|
shell: "shell";
|
|
2316
|
-
read: "read";
|
|
2317
2428
|
list: "list";
|
|
2429
|
+
read: "read";
|
|
2318
2430
|
search: "search";
|
|
2319
2431
|
web: "web";
|
|
2320
2432
|
write: "write";
|
|
@@ -2369,9 +2481,9 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2369
2481
|
kind: z.ZodEnum<{
|
|
2370
2482
|
file: "file";
|
|
2371
2483
|
image: "image";
|
|
2484
|
+
pdf: "pdf";
|
|
2372
2485
|
audio: "audio";
|
|
2373
2486
|
video: "video";
|
|
2374
|
-
pdf: "pdf";
|
|
2375
2487
|
}>;
|
|
2376
2488
|
}, z.core.$strip>>>;
|
|
2377
2489
|
terminal_state: z.ZodOptional<z.ZodString>;
|
|
@@ -2417,9 +2529,9 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2417
2529
|
kind: z.ZodEnum<{
|
|
2418
2530
|
file: "file";
|
|
2419
2531
|
image: "image";
|
|
2532
|
+
pdf: "pdf";
|
|
2420
2533
|
audio: "audio";
|
|
2421
2534
|
video: "video";
|
|
2422
|
-
pdf: "pdf";
|
|
2423
2535
|
}>;
|
|
2424
2536
|
}, z.core.$strip>>>;
|
|
2425
2537
|
_background_update: z.ZodOptional<z.ZodObject<{
|
|
@@ -2434,9 +2546,9 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2434
2546
|
summary: z.ZodString;
|
|
2435
2547
|
lines: z.ZodArray<z.ZodObject<{
|
|
2436
2548
|
kind: z.ZodEnum<{
|
|
2437
|
-
command: "command";
|
|
2438
2549
|
agent: "agent";
|
|
2439
2550
|
other: "other";
|
|
2551
|
+
command: "command";
|
|
2440
2552
|
}>;
|
|
2441
2553
|
status: z.ZodEnum<{
|
|
2442
2554
|
failed: "failed";
|
|
@@ -2524,8 +2636,8 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2524
2636
|
unknown: "unknown";
|
|
2525
2637
|
memory: "memory";
|
|
2526
2638
|
shell: "shell";
|
|
2527
|
-
read: "read";
|
|
2528
2639
|
list: "list";
|
|
2640
|
+
read: "read";
|
|
2529
2641
|
search: "search";
|
|
2530
2642
|
web: "web";
|
|
2531
2643
|
write: "write";
|
|
@@ -2618,8 +2730,8 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2618
2730
|
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2619
2731
|
key: z.ZodString;
|
|
2620
2732
|
level: z.ZodEnum<{
|
|
2621
|
-
error: "error";
|
|
2622
2733
|
success: "success";
|
|
2734
|
+
error: "error";
|
|
2623
2735
|
info: "info";
|
|
2624
2736
|
warn: "warn";
|
|
2625
2737
|
}>;
|
|
@@ -2642,6 +2754,7 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2642
2754
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
2643
2755
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2644
2756
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2757
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
2645
2758
|
filename: z.ZodOptional<z.ZodString>;
|
|
2646
2759
|
name: z.ZodOptional<z.ZodString>;
|
|
2647
2760
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -2658,6 +2771,21 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
|
|
|
2658
2771
|
post_compression_context_tokens_estimate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2659
2772
|
}, z.core.$loose>;
|
|
2660
2773
|
}, z.core.$loose>;
|
|
2774
|
+
/** TAL-1534: the sidebar group a listed row belongs to; `pinned` rows come first in the canonical order. */
|
|
2775
|
+
export declare const SidebarGroupKindSchema: z.ZodEnum<{
|
|
2776
|
+
pinned: "pinned";
|
|
2777
|
+
recent: "recent";
|
|
2778
|
+
}>;
|
|
2779
|
+
export type SidebarGroupKind = z.infer<typeof SidebarGroupKindSchema>;
|
|
2780
|
+
/** One group present in a session list, with its English caption; clients localize the known kinds. */
|
|
2781
|
+
export declare const SidebarGroupSchema: z.ZodObject<{
|
|
2782
|
+
kind: z.ZodEnum<{
|
|
2783
|
+
pinned: "pinned";
|
|
2784
|
+
recent: "recent";
|
|
2785
|
+
}>;
|
|
2786
|
+
title: z.ZodString;
|
|
2787
|
+
}, z.core.$strip>;
|
|
2788
|
+
export type SidebarGroup = z.infer<typeof SidebarGroupSchema>;
|
|
2661
2789
|
/** Sidebar row from `GET /api/sessions`. */
|
|
2662
2790
|
export declare const SessionRowSchema: z.ZodObject<{
|
|
2663
2791
|
context_used_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2769,6 +2897,7 @@ export declare const SessionRowSchema: z.ZodObject<{
|
|
|
2769
2897
|
can_archive: z.ZodBoolean;
|
|
2770
2898
|
can_delete: z.ZodBoolean;
|
|
2771
2899
|
can_duplicate: z.ZodBoolean;
|
|
2900
|
+
can_share: z.ZodBoolean;
|
|
2772
2901
|
attention: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2773
2902
|
kind: z.ZodOptional<z.ZodString>;
|
|
2774
2903
|
count: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2783,12 +2912,16 @@ export declare const SessionRowSchema: z.ZodObject<{
|
|
|
2783
2912
|
share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2784
2913
|
worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2785
2914
|
match_type: z.ZodOptional<z.ZodEnum<{
|
|
2786
|
-
content: "content";
|
|
2787
2915
|
title: "title";
|
|
2916
|
+
content: "content";
|
|
2788
2917
|
metadata: "metadata";
|
|
2789
2918
|
}>>;
|
|
2790
2919
|
match_preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2791
2920
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2921
|
+
sidebar_group: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2922
|
+
pinned: "pinned";
|
|
2923
|
+
recent: "recent";
|
|
2924
|
+
}>>>;
|
|
2792
2925
|
}, z.core.$loose>;
|
|
2793
2926
|
export type SessionRow = z.infer<typeof SessionRowSchema>;
|
|
2794
2927
|
/**
|
|
@@ -2917,6 +3050,7 @@ export declare const SessionsListSchema: z.ZodObject<{
|
|
|
2917
3050
|
can_archive: z.ZodBoolean;
|
|
2918
3051
|
can_delete: z.ZodBoolean;
|
|
2919
3052
|
can_duplicate: z.ZodBoolean;
|
|
3053
|
+
can_share: z.ZodBoolean;
|
|
2920
3054
|
attention: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2921
3055
|
kind: z.ZodOptional<z.ZodString>;
|
|
2922
3056
|
count: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2931,12 +3065,16 @@ export declare const SessionsListSchema: z.ZodObject<{
|
|
|
2931
3065
|
share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2932
3066
|
worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2933
3067
|
match_type: z.ZodOptional<z.ZodEnum<{
|
|
2934
|
-
content: "content";
|
|
2935
3068
|
title: "title";
|
|
3069
|
+
content: "content";
|
|
2936
3070
|
metadata: "metadata";
|
|
2937
3071
|
}>>;
|
|
2938
3072
|
match_preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2939
3073
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3074
|
+
sidebar_group: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3075
|
+
pinned: "pinned";
|
|
3076
|
+
recent: "recent";
|
|
3077
|
+
}>>>;
|
|
2940
3078
|
}, z.core.$loose>>;
|
|
2941
3079
|
sidebar_reference_sessions: z.ZodArray<z.ZodObject<{
|
|
2942
3080
|
context_used_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3048,6 +3186,7 @@ export declare const SessionsListSchema: z.ZodObject<{
|
|
|
3048
3186
|
can_archive: z.ZodBoolean;
|
|
3049
3187
|
can_delete: z.ZodBoolean;
|
|
3050
3188
|
can_duplicate: z.ZodBoolean;
|
|
3189
|
+
can_share: z.ZodBoolean;
|
|
3051
3190
|
attention: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3052
3191
|
kind: z.ZodOptional<z.ZodString>;
|
|
3053
3192
|
count: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3062,12 +3201,16 @@ export declare const SessionsListSchema: z.ZodObject<{
|
|
|
3062
3201
|
share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3063
3202
|
worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3064
3203
|
match_type: z.ZodOptional<z.ZodEnum<{
|
|
3065
|
-
content: "content";
|
|
3066
3204
|
title: "title";
|
|
3205
|
+
content: "content";
|
|
3067
3206
|
metadata: "metadata";
|
|
3068
3207
|
}>>;
|
|
3069
3208
|
match_preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3070
3209
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3210
|
+
sidebar_group: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3211
|
+
pinned: "pinned";
|
|
3212
|
+
recent: "recent";
|
|
3213
|
+
}>>>;
|
|
3071
3214
|
}, z.core.$loose>>;
|
|
3072
3215
|
server_time: z.ZodNumber;
|
|
3073
3216
|
server_tz: z.ZodString;
|
|
@@ -3085,6 +3228,13 @@ export declare const SessionsListSchema: z.ZodObject<{
|
|
|
3085
3228
|
scheduled_sessions_truncated: z.ZodBoolean;
|
|
3086
3229
|
webhook_session_count: z.ZodNumber;
|
|
3087
3230
|
webhook_sessions_truncated: z.ZodBoolean;
|
|
3231
|
+
sidebar_groups: z.ZodArray<z.ZodObject<{
|
|
3232
|
+
kind: z.ZodEnum<{
|
|
3233
|
+
pinned: "pinned";
|
|
3234
|
+
recent: "recent";
|
|
3235
|
+
}>;
|
|
3236
|
+
title: z.ZodString;
|
|
3237
|
+
}, z.core.$strip>>;
|
|
3088
3238
|
agent_storage: z.ZodObject<{
|
|
3089
3239
|
state: z.ZodEnum<{
|
|
3090
3240
|
unavailable: "unavailable";
|
|
@@ -3100,10 +3250,10 @@ export declare const SessionsListSchema: z.ZodObject<{
|
|
|
3100
3250
|
export type SessionsList = z.infer<typeof SessionsListSchema>;
|
|
3101
3251
|
export declare const SessionStatusSchema: z.ZodObject<{
|
|
3102
3252
|
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
3103
|
-
running: "running";
|
|
3104
|
-
cancelled: "cancelled";
|
|
3105
3253
|
stale: "stale";
|
|
3254
|
+
running: "running";
|
|
3106
3255
|
failed: "failed";
|
|
3256
|
+
cancelled: "cancelled";
|
|
3107
3257
|
completed: "completed";
|
|
3108
3258
|
starting: "starting";
|
|
3109
3259
|
waiting_for_approval: "waiting_for_approval";
|
|
@@ -3201,6 +3351,12 @@ export declare const SessionStatusSchema: z.ZodObject<{
|
|
|
3201
3351
|
}, z.core.$loose>;
|
|
3202
3352
|
export type SessionStatus = z.infer<typeof SessionStatusSchema>;
|
|
3203
3353
|
export declare const SessionUsageSchema: z.ZodObject<{
|
|
3354
|
+
plan_gauge: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3355
|
+
id: z.ZodString;
|
|
3356
|
+
label: z.ZodString;
|
|
3357
|
+
used_bp: z.ZodNumber;
|
|
3358
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
3359
|
+
}, z.core.$strip>>>;
|
|
3204
3360
|
input_tokens: z.ZodOptional<z.ZodNumber>;
|
|
3205
3361
|
output_tokens: z.ZodOptional<z.ZodNumber>;
|
|
3206
3362
|
total_tokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3241,6 +3397,7 @@ export declare const ChatStartRequestSchema: z.ZodObject<{
|
|
|
3241
3397
|
profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3242
3398
|
explicit_model_pick: z.ZodOptional<z.ZodBoolean>;
|
|
3243
3399
|
attachments: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3400
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
3244
3401
|
filename: z.ZodOptional<z.ZodString>;
|
|
3245
3402
|
name: z.ZodOptional<z.ZodString>;
|
|
3246
3403
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -3443,6 +3600,7 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3443
3600
|
can_archive: z.ZodBoolean;
|
|
3444
3601
|
can_delete: z.ZodBoolean;
|
|
3445
3602
|
can_duplicate: z.ZodBoolean;
|
|
3603
|
+
can_share: z.ZodBoolean;
|
|
3446
3604
|
source_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3447
3605
|
can_compress: z.ZodOptional<z.ZodBoolean>;
|
|
3448
3606
|
confirms_deep_truncate: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3474,10 +3632,6 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3474
3632
|
}, z.core.$strip>>>;
|
|
3475
3633
|
assistant_name: z.ZodOptional<z.ZodString>;
|
|
3476
3634
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3477
|
-
compression_reference: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3478
|
-
text: z.ZodString;
|
|
3479
|
-
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
3480
|
-
}, z.core.$strip>>>;
|
|
3481
3635
|
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3482
3636
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3483
3637
|
session_id: z.ZodString;
|
|
@@ -3487,16 +3641,55 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3487
3641
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3488
3642
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3489
3643
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3644
|
+
plan_gauge: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3645
|
+
id: z.ZodString;
|
|
3646
|
+
label: z.ZodString;
|
|
3647
|
+
used_bp: z.ZodNumber;
|
|
3648
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
3649
|
+
}, z.core.$strip>>>;
|
|
3650
|
+
show_reasoning: z.ZodOptional<z.ZodBoolean>;
|
|
3490
3651
|
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
3491
|
-
running: "running";
|
|
3492
|
-
cancelled: "cancelled";
|
|
3493
3652
|
stale: "stale";
|
|
3653
|
+
running: "running";
|
|
3494
3654
|
failed: "failed";
|
|
3655
|
+
cancelled: "cancelled";
|
|
3495
3656
|
completed: "completed";
|
|
3496
3657
|
starting: "starting";
|
|
3497
3658
|
waiting_for_approval: "waiting_for_approval";
|
|
3498
3659
|
waiting_for_input: "waiting_for_input";
|
|
3499
3660
|
}>>;
|
|
3661
|
+
todo_state: z.ZodOptional<z.ZodObject<{
|
|
3662
|
+
display_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3663
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3664
|
+
text: z.ZodString;
|
|
3665
|
+
state: z.ZodEnum<{
|
|
3666
|
+
pending: "pending";
|
|
3667
|
+
cancelled: "cancelled";
|
|
3668
|
+
completed: "completed";
|
|
3669
|
+
in_progress: "in_progress";
|
|
3670
|
+
}>;
|
|
3671
|
+
}, z.core.$strip>>>;
|
|
3672
|
+
total_count: z.ZodOptional<z.ZodNumber>;
|
|
3673
|
+
completed_count: z.ZodOptional<z.ZodNumber>;
|
|
3674
|
+
pending_count: z.ZodOptional<z.ZodNumber>;
|
|
3675
|
+
in_progress_count: z.ZodOptional<z.ZodNumber>;
|
|
3676
|
+
cancelled_count: z.ZodOptional<z.ZodNumber>;
|
|
3677
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
3678
|
+
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3679
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3680
|
+
text: z.ZodOptional<z.ZodString>;
|
|
3681
|
+
content: z.ZodOptional<z.ZodString>;
|
|
3682
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3683
|
+
status: z.ZodOptional<z.ZodString>;
|
|
3684
|
+
done: z.ZodOptional<z.ZodBoolean>;
|
|
3685
|
+
completed: z.ZodOptional<z.ZodBoolean>;
|
|
3686
|
+
}, z.core.$loose>>>;
|
|
3687
|
+
summary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3688
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
3689
|
+
ts: z.ZodOptional<z.ZodNumber>;
|
|
3690
|
+
source: z.ZodOptional<z.ZodString>;
|
|
3691
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3692
|
+
}, z.core.$loose>>;
|
|
3500
3693
|
source_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3501
3694
|
session_id: z.ZodString;
|
|
3502
3695
|
tip_session_id: z.ZodString;
|
|
@@ -3505,6 +3698,7 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3505
3698
|
}, z.core.$strip>>>;
|
|
3506
3699
|
context_detail_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3507
3700
|
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
3701
|
+
clear_generation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3508
3702
|
session_id: z.ZodString;
|
|
3509
3703
|
title: z.ZodString;
|
|
3510
3704
|
workspace: z.ZodOptional<z.ZodString>;
|
|
@@ -3579,6 +3773,7 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3579
3773
|
}, z.core.$strip>>;
|
|
3580
3774
|
}, z.core.$strip>>;
|
|
3581
3775
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3776
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
3582
3777
|
filename: z.ZodOptional<z.ZodString>;
|
|
3583
3778
|
name: z.ZodOptional<z.ZodString>;
|
|
3584
3779
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -3625,8 +3820,8 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3625
3820
|
unknown: "unknown";
|
|
3626
3821
|
memory: "memory";
|
|
3627
3822
|
shell: "shell";
|
|
3628
|
-
read: "read";
|
|
3629
3823
|
list: "list";
|
|
3824
|
+
read: "read";
|
|
3630
3825
|
search: "search";
|
|
3631
3826
|
web: "web";
|
|
3632
3827
|
write: "write";
|
|
@@ -3691,9 +3886,9 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3691
3886
|
kind: z.ZodEnum<{
|
|
3692
3887
|
file: "file";
|
|
3693
3888
|
image: "image";
|
|
3889
|
+
pdf: "pdf";
|
|
3694
3890
|
audio: "audio";
|
|
3695
3891
|
video: "video";
|
|
3696
|
-
pdf: "pdf";
|
|
3697
3892
|
}>;
|
|
3698
3893
|
}, z.core.$strip>>>;
|
|
3699
3894
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -3720,8 +3915,8 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3720
3915
|
status: z.ZodEnum<{
|
|
3721
3916
|
unknown: "unknown";
|
|
3722
3917
|
running: "running";
|
|
3723
|
-
cancelled: "cancelled";
|
|
3724
3918
|
failed: "failed";
|
|
3919
|
+
cancelled: "cancelled";
|
|
3725
3920
|
completed: "completed";
|
|
3726
3921
|
attention: "attention";
|
|
3727
3922
|
}>;
|
|
@@ -3742,8 +3937,8 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3742
3937
|
unknown: "unknown";
|
|
3743
3938
|
memory: "memory";
|
|
3744
3939
|
shell: "shell";
|
|
3745
|
-
read: "read";
|
|
3746
3940
|
list: "list";
|
|
3941
|
+
read: "read";
|
|
3747
3942
|
search: "search";
|
|
3748
3943
|
web: "web";
|
|
3749
3944
|
write: "write";
|
|
@@ -3798,9 +3993,9 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3798
3993
|
kind: z.ZodEnum<{
|
|
3799
3994
|
file: "file";
|
|
3800
3995
|
image: "image";
|
|
3996
|
+
pdf: "pdf";
|
|
3801
3997
|
audio: "audio";
|
|
3802
3998
|
video: "video";
|
|
3803
|
-
pdf: "pdf";
|
|
3804
3999
|
}>;
|
|
3805
4000
|
}, z.core.$strip>>>;
|
|
3806
4001
|
terminal_state: z.ZodOptional<z.ZodString>;
|
|
@@ -3846,9 +4041,9 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3846
4041
|
kind: z.ZodEnum<{
|
|
3847
4042
|
file: "file";
|
|
3848
4043
|
image: "image";
|
|
4044
|
+
pdf: "pdf";
|
|
3849
4045
|
audio: "audio";
|
|
3850
4046
|
video: "video";
|
|
3851
|
-
pdf: "pdf";
|
|
3852
4047
|
}>;
|
|
3853
4048
|
}, z.core.$strip>>>;
|
|
3854
4049
|
_background_update: z.ZodOptional<z.ZodObject<{
|
|
@@ -3863,9 +4058,9 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3863
4058
|
summary: z.ZodString;
|
|
3864
4059
|
lines: z.ZodArray<z.ZodObject<{
|
|
3865
4060
|
kind: z.ZodEnum<{
|
|
3866
|
-
command: "command";
|
|
3867
4061
|
agent: "agent";
|
|
3868
4062
|
other: "other";
|
|
4063
|
+
command: "command";
|
|
3869
4064
|
}>;
|
|
3870
4065
|
status: z.ZodEnum<{
|
|
3871
4066
|
failed: "failed";
|
|
@@ -3953,8 +4148,8 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
3953
4148
|
unknown: "unknown";
|
|
3954
4149
|
memory: "memory";
|
|
3955
4150
|
shell: "shell";
|
|
3956
|
-
read: "read";
|
|
3957
4151
|
list: "list";
|
|
4152
|
+
read: "read";
|
|
3958
4153
|
search: "search";
|
|
3959
4154
|
web: "web";
|
|
3960
4155
|
write: "write";
|
|
@@ -4047,8 +4242,8 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
4047
4242
|
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4048
4243
|
key: z.ZodString;
|
|
4049
4244
|
level: z.ZodEnum<{
|
|
4050
|
-
error: "error";
|
|
4051
4245
|
success: "success";
|
|
4246
|
+
error: "error";
|
|
4052
4247
|
info: "info";
|
|
4053
4248
|
warn: "warn";
|
|
4054
4249
|
}>;
|
|
@@ -4071,6 +4266,7 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
|
|
|
4071
4266
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
4072
4267
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4073
4268
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4269
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
4074
4270
|
filename: z.ZodOptional<z.ZodString>;
|
|
4075
4271
|
name: z.ZodOptional<z.ZodString>;
|
|
4076
4272
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -4095,10 +4291,10 @@ export type ChatStartResponse = z.infer<typeof ChatStartResponseSchema>;
|
|
|
4095
4291
|
*/
|
|
4096
4292
|
export declare const StreamStatusSchema: z.ZodObject<{
|
|
4097
4293
|
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
4098
|
-
running: "running";
|
|
4099
|
-
cancelled: "cancelled";
|
|
4100
4294
|
stale: "stale";
|
|
4295
|
+
running: "running";
|
|
4101
4296
|
failed: "failed";
|
|
4297
|
+
cancelled: "cancelled";
|
|
4102
4298
|
completed: "completed";
|
|
4103
4299
|
starting: "starting";
|
|
4104
4300
|
waiting_for_approval: "waiting_for_approval";
|
|
@@ -4133,10 +4329,10 @@ export type SteerWithdrawn = z.infer<typeof SteerWithdrawnSchema>;
|
|
|
4133
4329
|
*/
|
|
4134
4330
|
export declare const CancelResponseSchema: z.ZodObject<{
|
|
4135
4331
|
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
4136
|
-
running: "running";
|
|
4137
|
-
cancelled: "cancelled";
|
|
4138
4332
|
stale: "stale";
|
|
4333
|
+
running: "running";
|
|
4139
4334
|
failed: "failed";
|
|
4335
|
+
cancelled: "cancelled";
|
|
4140
4336
|
completed: "completed";
|
|
4141
4337
|
starting: "starting";
|
|
4142
4338
|
waiting_for_approval: "waiting_for_approval";
|
|
@@ -4386,6 +4582,7 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4386
4582
|
can_archive: z.ZodBoolean;
|
|
4387
4583
|
can_delete: z.ZodBoolean;
|
|
4388
4584
|
can_duplicate: z.ZodBoolean;
|
|
4585
|
+
can_share: z.ZodBoolean;
|
|
4389
4586
|
source_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4390
4587
|
can_compress: z.ZodOptional<z.ZodBoolean>;
|
|
4391
4588
|
confirms_deep_truncate: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4417,10 +4614,6 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4417
4614
|
}, z.core.$strip>>>;
|
|
4418
4615
|
assistant_name: z.ZodOptional<z.ZodString>;
|
|
4419
4616
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4420
|
-
compression_reference: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4421
|
-
text: z.ZodString;
|
|
4422
|
-
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
4423
|
-
}, z.core.$strip>>>;
|
|
4424
4617
|
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4425
4618
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4426
4619
|
session_id: z.ZodString;
|
|
@@ -4430,16 +4623,55 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4430
4623
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4431
4624
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4432
4625
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4626
|
+
plan_gauge: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4627
|
+
id: z.ZodString;
|
|
4628
|
+
label: z.ZodString;
|
|
4629
|
+
used_bp: z.ZodNumber;
|
|
4630
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
4631
|
+
}, z.core.$strip>>>;
|
|
4632
|
+
show_reasoning: z.ZodOptional<z.ZodBoolean>;
|
|
4633
|
+
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
4436
4634
|
stale: "stale";
|
|
4635
|
+
running: "running";
|
|
4437
4636
|
failed: "failed";
|
|
4637
|
+
cancelled: "cancelled";
|
|
4438
4638
|
completed: "completed";
|
|
4439
4639
|
starting: "starting";
|
|
4440
4640
|
waiting_for_approval: "waiting_for_approval";
|
|
4441
4641
|
waiting_for_input: "waiting_for_input";
|
|
4442
4642
|
}>>;
|
|
4643
|
+
todo_state: z.ZodOptional<z.ZodObject<{
|
|
4644
|
+
display_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4645
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
4646
|
+
text: z.ZodString;
|
|
4647
|
+
state: z.ZodEnum<{
|
|
4648
|
+
pending: "pending";
|
|
4649
|
+
cancelled: "cancelled";
|
|
4650
|
+
completed: "completed";
|
|
4651
|
+
in_progress: "in_progress";
|
|
4652
|
+
}>;
|
|
4653
|
+
}, z.core.$strip>>>;
|
|
4654
|
+
total_count: z.ZodOptional<z.ZodNumber>;
|
|
4655
|
+
completed_count: z.ZodOptional<z.ZodNumber>;
|
|
4656
|
+
pending_count: z.ZodOptional<z.ZodNumber>;
|
|
4657
|
+
in_progress_count: z.ZodOptional<z.ZodNumber>;
|
|
4658
|
+
cancelled_count: z.ZodOptional<z.ZodNumber>;
|
|
4659
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
4660
|
+
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4661
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
4662
|
+
text: z.ZodOptional<z.ZodString>;
|
|
4663
|
+
content: z.ZodOptional<z.ZodString>;
|
|
4664
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4665
|
+
status: z.ZodOptional<z.ZodString>;
|
|
4666
|
+
done: z.ZodOptional<z.ZodBoolean>;
|
|
4667
|
+
completed: z.ZodOptional<z.ZodBoolean>;
|
|
4668
|
+
}, z.core.$loose>>>;
|
|
4669
|
+
summary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4670
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
4671
|
+
ts: z.ZodOptional<z.ZodNumber>;
|
|
4672
|
+
source: z.ZodOptional<z.ZodString>;
|
|
4673
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4674
|
+
}, z.core.$loose>>;
|
|
4443
4675
|
source_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4444
4676
|
session_id: z.ZodString;
|
|
4445
4677
|
tip_session_id: z.ZodString;
|
|
@@ -4448,6 +4680,7 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4448
4680
|
}, z.core.$strip>>>;
|
|
4449
4681
|
context_detail_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4450
4682
|
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
4683
|
+
clear_generation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4451
4684
|
session_id: z.ZodString;
|
|
4452
4685
|
title: z.ZodString;
|
|
4453
4686
|
workspace: z.ZodOptional<z.ZodString>;
|
|
@@ -4522,6 +4755,7 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4522
4755
|
}, z.core.$strip>>;
|
|
4523
4756
|
}, z.core.$strip>>;
|
|
4524
4757
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4758
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
4525
4759
|
filename: z.ZodOptional<z.ZodString>;
|
|
4526
4760
|
name: z.ZodOptional<z.ZodString>;
|
|
4527
4761
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -4568,8 +4802,8 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4568
4802
|
unknown: "unknown";
|
|
4569
4803
|
memory: "memory";
|
|
4570
4804
|
shell: "shell";
|
|
4571
|
-
read: "read";
|
|
4572
4805
|
list: "list";
|
|
4806
|
+
read: "read";
|
|
4573
4807
|
search: "search";
|
|
4574
4808
|
web: "web";
|
|
4575
4809
|
write: "write";
|
|
@@ -4634,9 +4868,9 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4634
4868
|
kind: z.ZodEnum<{
|
|
4635
4869
|
file: "file";
|
|
4636
4870
|
image: "image";
|
|
4871
|
+
pdf: "pdf";
|
|
4637
4872
|
audio: "audio";
|
|
4638
4873
|
video: "video";
|
|
4639
|
-
pdf: "pdf";
|
|
4640
4874
|
}>;
|
|
4641
4875
|
}, z.core.$strip>>>;
|
|
4642
4876
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -4663,8 +4897,8 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4663
4897
|
status: z.ZodEnum<{
|
|
4664
4898
|
unknown: "unknown";
|
|
4665
4899
|
running: "running";
|
|
4666
|
-
cancelled: "cancelled";
|
|
4667
4900
|
failed: "failed";
|
|
4901
|
+
cancelled: "cancelled";
|
|
4668
4902
|
completed: "completed";
|
|
4669
4903
|
attention: "attention";
|
|
4670
4904
|
}>;
|
|
@@ -4685,8 +4919,8 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4685
4919
|
unknown: "unknown";
|
|
4686
4920
|
memory: "memory";
|
|
4687
4921
|
shell: "shell";
|
|
4688
|
-
read: "read";
|
|
4689
4922
|
list: "list";
|
|
4923
|
+
read: "read";
|
|
4690
4924
|
search: "search";
|
|
4691
4925
|
web: "web";
|
|
4692
4926
|
write: "write";
|
|
@@ -4741,9 +4975,9 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4741
4975
|
kind: z.ZodEnum<{
|
|
4742
4976
|
file: "file";
|
|
4743
4977
|
image: "image";
|
|
4978
|
+
pdf: "pdf";
|
|
4744
4979
|
audio: "audio";
|
|
4745
4980
|
video: "video";
|
|
4746
|
-
pdf: "pdf";
|
|
4747
4981
|
}>;
|
|
4748
4982
|
}, z.core.$strip>>>;
|
|
4749
4983
|
terminal_state: z.ZodOptional<z.ZodString>;
|
|
@@ -4789,9 +5023,9 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4789
5023
|
kind: z.ZodEnum<{
|
|
4790
5024
|
file: "file";
|
|
4791
5025
|
image: "image";
|
|
5026
|
+
pdf: "pdf";
|
|
4792
5027
|
audio: "audio";
|
|
4793
5028
|
video: "video";
|
|
4794
|
-
pdf: "pdf";
|
|
4795
5029
|
}>;
|
|
4796
5030
|
}, z.core.$strip>>>;
|
|
4797
5031
|
_background_update: z.ZodOptional<z.ZodObject<{
|
|
@@ -4806,9 +5040,9 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4806
5040
|
summary: z.ZodString;
|
|
4807
5041
|
lines: z.ZodArray<z.ZodObject<{
|
|
4808
5042
|
kind: z.ZodEnum<{
|
|
4809
|
-
command: "command";
|
|
4810
5043
|
agent: "agent";
|
|
4811
5044
|
other: "other";
|
|
5045
|
+
command: "command";
|
|
4812
5046
|
}>;
|
|
4813
5047
|
status: z.ZodEnum<{
|
|
4814
5048
|
failed: "failed";
|
|
@@ -4896,8 +5130,8 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4896
5130
|
unknown: "unknown";
|
|
4897
5131
|
memory: "memory";
|
|
4898
5132
|
shell: "shell";
|
|
4899
|
-
read: "read";
|
|
4900
5133
|
list: "list";
|
|
5134
|
+
read: "read";
|
|
4901
5135
|
search: "search";
|
|
4902
5136
|
web: "web";
|
|
4903
5137
|
write: "write";
|
|
@@ -4990,8 +5224,8 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
4990
5224
|
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4991
5225
|
key: z.ZodString;
|
|
4992
5226
|
level: z.ZodEnum<{
|
|
4993
|
-
error: "error";
|
|
4994
5227
|
success: "success";
|
|
5228
|
+
error: "error";
|
|
4995
5229
|
info: "info";
|
|
4996
5230
|
warn: "warn";
|
|
4997
5231
|
}>;
|
|
@@ -5014,6 +5248,7 @@ export declare const SteerResponseSchema: z.ZodObject<{
|
|
|
5014
5248
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
5015
5249
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5016
5250
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5251
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
5017
5252
|
filename: z.ZodOptional<z.ZodString>;
|
|
5018
5253
|
name: z.ZodOptional<z.ZodString>;
|
|
5019
5254
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -5385,8 +5620,8 @@ export declare const BackgroundTaskSchema: z.ZodObject<{
|
|
|
5385
5620
|
status: z.ZodEnum<{
|
|
5386
5621
|
unknown: "unknown";
|
|
5387
5622
|
running: "running";
|
|
5388
|
-
cancelled: "cancelled";
|
|
5389
5623
|
failed: "failed";
|
|
5624
|
+
cancelled: "cancelled";
|
|
5390
5625
|
completed: "completed";
|
|
5391
5626
|
attention: "attention";
|
|
5392
5627
|
}>;
|
|
@@ -5419,10 +5654,10 @@ export type BackgroundTask = z.infer<typeof BackgroundTaskSchema>;
|
|
|
5419
5654
|
*/
|
|
5420
5655
|
export declare const BackgroundTasksResponseSchema: z.ZodObject<{
|
|
5421
5656
|
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
5422
|
-
running: "running";
|
|
5423
|
-
cancelled: "cancelled";
|
|
5424
5657
|
stale: "stale";
|
|
5658
|
+
running: "running";
|
|
5425
5659
|
failed: "failed";
|
|
5660
|
+
cancelled: "cancelled";
|
|
5426
5661
|
completed: "completed";
|
|
5427
5662
|
starting: "starting";
|
|
5428
5663
|
waiting_for_approval: "waiting_for_approval";
|
|
@@ -5439,8 +5674,8 @@ export declare const BackgroundTasksResponseSchema: z.ZodObject<{
|
|
|
5439
5674
|
status: z.ZodEnum<{
|
|
5440
5675
|
unknown: "unknown";
|
|
5441
5676
|
running: "running";
|
|
5442
|
-
cancelled: "cancelled";
|
|
5443
5677
|
failed: "failed";
|
|
5678
|
+
cancelled: "cancelled";
|
|
5444
5679
|
completed: "completed";
|
|
5445
5680
|
attention: "attention";
|
|
5446
5681
|
}>;
|
|
@@ -5495,8 +5730,8 @@ export declare const BackgroundDismissResponseSchema: z.ZodObject<{
|
|
|
5495
5730
|
status: z.ZodEnum<{
|
|
5496
5731
|
unknown: "unknown";
|
|
5497
5732
|
running: "running";
|
|
5498
|
-
cancelled: "cancelled";
|
|
5499
5733
|
failed: "failed";
|
|
5734
|
+
cancelled: "cancelled";
|
|
5500
5735
|
completed: "completed";
|
|
5501
5736
|
attention: "attention";
|
|
5502
5737
|
}>;
|
|
@@ -5642,6 +5877,7 @@ export declare const ShareCreateResponseSchema: z.ZodObject<{
|
|
|
5642
5877
|
can_archive: z.ZodBoolean;
|
|
5643
5878
|
can_delete: z.ZodBoolean;
|
|
5644
5879
|
can_duplicate: z.ZodBoolean;
|
|
5880
|
+
can_share: z.ZodBoolean;
|
|
5645
5881
|
attention: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5646
5882
|
kind: z.ZodOptional<z.ZodString>;
|
|
5647
5883
|
count: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5656,12 +5892,16 @@ export declare const ShareCreateResponseSchema: z.ZodObject<{
|
|
|
5656
5892
|
share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5657
5893
|
worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5658
5894
|
match_type: z.ZodOptional<z.ZodEnum<{
|
|
5659
|
-
content: "content";
|
|
5660
5895
|
title: "title";
|
|
5896
|
+
content: "content";
|
|
5661
5897
|
metadata: "metadata";
|
|
5662
5898
|
}>>;
|
|
5663
5899
|
match_preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5664
5900
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5901
|
+
sidebar_group: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5902
|
+
pinned: "pinned";
|
|
5903
|
+
recent: "recent";
|
|
5904
|
+
}>>>;
|
|
5665
5905
|
}, z.core.$loose>;
|
|
5666
5906
|
}, z.core.$loose>;
|
|
5667
5907
|
export declare const ShareMessageSchema: z.ZodObject<{
|
|
@@ -5803,6 +6043,7 @@ export declare const SourceReferenceSearchSchema: z.ZodObject<{
|
|
|
5803
6043
|
can_archive: z.ZodBoolean;
|
|
5804
6044
|
can_delete: z.ZodBoolean;
|
|
5805
6045
|
can_duplicate: z.ZodBoolean;
|
|
6046
|
+
can_share: z.ZodBoolean;
|
|
5806
6047
|
attention: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5807
6048
|
kind: z.ZodOptional<z.ZodString>;
|
|
5808
6049
|
count: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5817,12 +6058,16 @@ export declare const SourceReferenceSearchSchema: z.ZodObject<{
|
|
|
5817
6058
|
share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5818
6059
|
worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5819
6060
|
match_type: z.ZodOptional<z.ZodEnum<{
|
|
5820
|
-
content: "content";
|
|
5821
6061
|
title: "title";
|
|
6062
|
+
content: "content";
|
|
5822
6063
|
metadata: "metadata";
|
|
5823
6064
|
}>>;
|
|
5824
6065
|
match_preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5825
6066
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6067
|
+
sidebar_group: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6068
|
+
pinned: "pinned";
|
|
6069
|
+
recent: "recent";
|
|
6070
|
+
}>>>;
|
|
5826
6071
|
source_reference: z.ZodObject<{
|
|
5827
6072
|
session_id: z.ZodString;
|
|
5828
6073
|
tip_session_id: z.ZodString;
|
|
@@ -5891,6 +6136,13 @@ export declare const LoginResponseSchema: z.ZodObject<{
|
|
|
5891
6136
|
ok: z.ZodLiteral<true>;
|
|
5892
6137
|
message: z.ZodOptional<z.ZodString>;
|
|
5893
6138
|
}, z.core.$loose>;
|
|
6139
|
+
/** TAL-1569: Talaria Web update channels, in display order. Nightly is a daily snapshot of the Experimental artifact. */
|
|
6140
|
+
export declare const WebUpdateChannelSchema: z.ZodEnum<{
|
|
6141
|
+
stable: "stable";
|
|
6142
|
+
nightly: "nightly";
|
|
6143
|
+
experimental: "experimental";
|
|
6144
|
+
}>;
|
|
6145
|
+
export type WebUpdateChannel = z.infer<typeof WebUpdateChannelSchema>;
|
|
5894
6146
|
export declare const SettingsSchema: z.ZodObject<{
|
|
5895
6147
|
bot_name: z.ZodOptional<z.ZodString>;
|
|
5896
6148
|
default_model: z.ZodOptional<z.ZodString>;
|
|
@@ -5914,6 +6166,7 @@ export declare const SettingsSchema: z.ZodObject<{
|
|
|
5914
6166
|
show_cli_sessions: z.ZodOptional<z.ZodBoolean>;
|
|
5915
6167
|
show_claude_code_sessions: z.ZodOptional<z.ZodBoolean>;
|
|
5916
6168
|
show_cron_sessions: z.ZodOptional<z.ZodBoolean>;
|
|
6169
|
+
show_sidebar_feedback: z.ZodOptional<z.ZodBoolean>;
|
|
5917
6170
|
show_webhook_sessions: z.ZodOptional<z.ZodBoolean>;
|
|
5918
6171
|
show_kanban_sessions: z.ZodOptional<z.ZodBoolean>;
|
|
5919
6172
|
check_for_updates: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5928,6 +6181,11 @@ export declare const SettingsSchema: z.ZodObject<{
|
|
|
5928
6181
|
webui_version: z.ZodOptional<z.ZodString>;
|
|
5929
6182
|
agent_version: z.ZodOptional<z.ZodString>;
|
|
5930
6183
|
update_channel: z.ZodOptional<z.ZodString>;
|
|
6184
|
+
update_channels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6185
|
+
stable: "stable";
|
|
6186
|
+
nightly: "nightly";
|
|
6187
|
+
experimental: "experimental";
|
|
6188
|
+
}>>>;
|
|
5931
6189
|
agent_update_channel: z.ZodOptional<z.ZodEnum<{
|
|
5932
6190
|
stable: "stable";
|
|
5933
6191
|
experimental: "experimental";
|
|
@@ -6081,6 +6339,22 @@ export type QuotaLevel = z.infer<typeof QuotaLevelSchema>;
|
|
|
6081
6339
|
* TAL-807: `limit` is present while the provider's credential pool cannot serve this model until `resets_at` (ISO-8601 UTC).
|
|
6082
6340
|
*/
|
|
6083
6341
|
export declare const ModelEntrySchema: z.ZodObject<{
|
|
6342
|
+
allowance: z.ZodOptional<z.ZodObject<{
|
|
6343
|
+
state: z.ZodEnum<{
|
|
6344
|
+
unknown: "unknown";
|
|
6345
|
+
blocked: "blocked";
|
|
6346
|
+
included: "included";
|
|
6347
|
+
free: "free";
|
|
6348
|
+
credits: "credits";
|
|
6349
|
+
}>;
|
|
6350
|
+
usage_level: z.ZodNullable<z.ZodEnum<{
|
|
6351
|
+
free: "free";
|
|
6352
|
+
low: "low";
|
|
6353
|
+
medium: "medium";
|
|
6354
|
+
top_tier: "top_tier";
|
|
6355
|
+
}>>;
|
|
6356
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
6357
|
+
}, z.core.$strip>>;
|
|
6084
6358
|
id: z.ZodString;
|
|
6085
6359
|
label: z.ZodOptional<z.ZodString>;
|
|
6086
6360
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -6130,6 +6404,34 @@ export declare const CatalogAvailabilitySchema: z.ZodObject<{
|
|
|
6130
6404
|
}, z.core.$strip>;
|
|
6131
6405
|
export type CatalogAvailability = z.infer<typeof CatalogAvailabilitySchema>;
|
|
6132
6406
|
export declare const ModelGroupSchema: z.ZodObject<{
|
|
6407
|
+
plan_usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6408
|
+
kind: z.ZodLiteral<"usage_window">;
|
|
6409
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
6410
|
+
gauges: z.ZodArray<z.ZodObject<{
|
|
6411
|
+
label: z.ZodString;
|
|
6412
|
+
left_fraction: z.ZodNumber;
|
|
6413
|
+
style: z.ZodEnum<{
|
|
6414
|
+
green: "green";
|
|
6415
|
+
yellow: "yellow";
|
|
6416
|
+
red: "red";
|
|
6417
|
+
}>;
|
|
6418
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
6419
|
+
scope: z.ZodString;
|
|
6420
|
+
title: z.ZodString;
|
|
6421
|
+
}, z.core.$strip>>;
|
|
6422
|
+
top_tier_model_ids: z.ZodArray<z.ZodString>;
|
|
6423
|
+
featured_model_ids: z.ZodArray<z.ZodString>;
|
|
6424
|
+
paused_reason: z.ZodNullable<z.ZodString>;
|
|
6425
|
+
credits_pay: z.ZodNullable<z.ZodBoolean>;
|
|
6426
|
+
}, z.core.$strip>>>;
|
|
6427
|
+
plan_stale: z.ZodOptional<z.ZodBoolean>;
|
|
6428
|
+
sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6429
|
+
kind: z.ZodEnum<{
|
|
6430
|
+
recommended: "recommended";
|
|
6431
|
+
other: "other";
|
|
6432
|
+
}>;
|
|
6433
|
+
model_ids: z.ZodArray<z.ZodString>;
|
|
6434
|
+
}, z.core.$strip>>>;
|
|
6133
6435
|
availability: z.ZodOptional<z.ZodObject<{
|
|
6134
6436
|
status: z.ZodEnum<{
|
|
6135
6437
|
available: "available";
|
|
@@ -6143,6 +6445,22 @@ export declare const ModelGroupSchema: z.ZodObject<{
|
|
|
6143
6445
|
provider: z.ZodString;
|
|
6144
6446
|
provider_id: z.ZodOptional<z.ZodString>;
|
|
6145
6447
|
models: z.ZodArray<z.ZodObject<{
|
|
6448
|
+
allowance: z.ZodOptional<z.ZodObject<{
|
|
6449
|
+
state: z.ZodEnum<{
|
|
6450
|
+
unknown: "unknown";
|
|
6451
|
+
blocked: "blocked";
|
|
6452
|
+
included: "included";
|
|
6453
|
+
free: "free";
|
|
6454
|
+
credits: "credits";
|
|
6455
|
+
}>;
|
|
6456
|
+
usage_level: z.ZodNullable<z.ZodEnum<{
|
|
6457
|
+
free: "free";
|
|
6458
|
+
low: "low";
|
|
6459
|
+
medium: "medium";
|
|
6460
|
+
top_tier: "top_tier";
|
|
6461
|
+
}>>;
|
|
6462
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
6463
|
+
}, z.core.$strip>>;
|
|
6146
6464
|
id: z.ZodString;
|
|
6147
6465
|
label: z.ZodOptional<z.ZodString>;
|
|
6148
6466
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -6168,6 +6486,22 @@ export declare const ModelGroupSchema: z.ZodObject<{
|
|
|
6168
6486
|
}, z.core.$strip>>;
|
|
6169
6487
|
}, z.core.$loose>>;
|
|
6170
6488
|
extra_models: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6489
|
+
allowance: z.ZodOptional<z.ZodObject<{
|
|
6490
|
+
state: z.ZodEnum<{
|
|
6491
|
+
unknown: "unknown";
|
|
6492
|
+
blocked: "blocked";
|
|
6493
|
+
included: "included";
|
|
6494
|
+
free: "free";
|
|
6495
|
+
credits: "credits";
|
|
6496
|
+
}>;
|
|
6497
|
+
usage_level: z.ZodNullable<z.ZodEnum<{
|
|
6498
|
+
free: "free";
|
|
6499
|
+
low: "low";
|
|
6500
|
+
medium: "medium";
|
|
6501
|
+
top_tier: "top_tier";
|
|
6502
|
+
}>>;
|
|
6503
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
6504
|
+
}, z.core.$strip>>;
|
|
6171
6505
|
id: z.ZodString;
|
|
6172
6506
|
label: z.ZodOptional<z.ZodString>;
|
|
6173
6507
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -6224,6 +6558,34 @@ export declare const ModelsSchema: z.ZodObject<{
|
|
|
6224
6558
|
default_bare_id: z.ZodOptional<z.ZodString>;
|
|
6225
6559
|
default_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6226
6560
|
groups: z.ZodArray<z.ZodObject<{
|
|
6561
|
+
plan_usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6562
|
+
kind: z.ZodLiteral<"usage_window">;
|
|
6563
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
6564
|
+
gauges: z.ZodArray<z.ZodObject<{
|
|
6565
|
+
label: z.ZodString;
|
|
6566
|
+
left_fraction: z.ZodNumber;
|
|
6567
|
+
style: z.ZodEnum<{
|
|
6568
|
+
green: "green";
|
|
6569
|
+
yellow: "yellow";
|
|
6570
|
+
red: "red";
|
|
6571
|
+
}>;
|
|
6572
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
6573
|
+
scope: z.ZodString;
|
|
6574
|
+
title: z.ZodString;
|
|
6575
|
+
}, z.core.$strip>>;
|
|
6576
|
+
top_tier_model_ids: z.ZodArray<z.ZodString>;
|
|
6577
|
+
featured_model_ids: z.ZodArray<z.ZodString>;
|
|
6578
|
+
paused_reason: z.ZodNullable<z.ZodString>;
|
|
6579
|
+
credits_pay: z.ZodNullable<z.ZodBoolean>;
|
|
6580
|
+
}, z.core.$strip>>>;
|
|
6581
|
+
plan_stale: z.ZodOptional<z.ZodBoolean>;
|
|
6582
|
+
sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6583
|
+
kind: z.ZodEnum<{
|
|
6584
|
+
recommended: "recommended";
|
|
6585
|
+
other: "other";
|
|
6586
|
+
}>;
|
|
6587
|
+
model_ids: z.ZodArray<z.ZodString>;
|
|
6588
|
+
}, z.core.$strip>>>;
|
|
6227
6589
|
availability: z.ZodOptional<z.ZodObject<{
|
|
6228
6590
|
status: z.ZodEnum<{
|
|
6229
6591
|
available: "available";
|
|
@@ -6237,6 +6599,22 @@ export declare const ModelsSchema: z.ZodObject<{
|
|
|
6237
6599
|
provider: z.ZodString;
|
|
6238
6600
|
provider_id: z.ZodOptional<z.ZodString>;
|
|
6239
6601
|
models: z.ZodArray<z.ZodObject<{
|
|
6602
|
+
allowance: z.ZodOptional<z.ZodObject<{
|
|
6603
|
+
state: z.ZodEnum<{
|
|
6604
|
+
unknown: "unknown";
|
|
6605
|
+
blocked: "blocked";
|
|
6606
|
+
included: "included";
|
|
6607
|
+
free: "free";
|
|
6608
|
+
credits: "credits";
|
|
6609
|
+
}>;
|
|
6610
|
+
usage_level: z.ZodNullable<z.ZodEnum<{
|
|
6611
|
+
free: "free";
|
|
6612
|
+
low: "low";
|
|
6613
|
+
medium: "medium";
|
|
6614
|
+
top_tier: "top_tier";
|
|
6615
|
+
}>>;
|
|
6616
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
6617
|
+
}, z.core.$strip>>;
|
|
6240
6618
|
id: z.ZodString;
|
|
6241
6619
|
label: z.ZodOptional<z.ZodString>;
|
|
6242
6620
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -6262,6 +6640,22 @@ export declare const ModelsSchema: z.ZodObject<{
|
|
|
6262
6640
|
}, z.core.$strip>>;
|
|
6263
6641
|
}, z.core.$loose>>;
|
|
6264
6642
|
extra_models: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6643
|
+
allowance: z.ZodOptional<z.ZodObject<{
|
|
6644
|
+
state: z.ZodEnum<{
|
|
6645
|
+
unknown: "unknown";
|
|
6646
|
+
blocked: "blocked";
|
|
6647
|
+
included: "included";
|
|
6648
|
+
free: "free";
|
|
6649
|
+
credits: "credits";
|
|
6650
|
+
}>;
|
|
6651
|
+
usage_level: z.ZodNullable<z.ZodEnum<{
|
|
6652
|
+
free: "free";
|
|
6653
|
+
low: "low";
|
|
6654
|
+
medium: "medium";
|
|
6655
|
+
top_tier: "top_tier";
|
|
6656
|
+
}>>;
|
|
6657
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
6658
|
+
}, z.core.$strip>>;
|
|
6265
6659
|
id: z.ZodString;
|
|
6266
6660
|
label: z.ZodOptional<z.ZodString>;
|
|
6267
6661
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -6318,6 +6712,22 @@ export declare const ModelsLiveSchema: z.ZodObject<{
|
|
|
6318
6712
|
provider: z.ZodOptional<z.ZodString>;
|
|
6319
6713
|
source: z.ZodOptional<z.ZodString>;
|
|
6320
6714
|
models: z.ZodArray<z.ZodObject<{
|
|
6715
|
+
allowance: z.ZodOptional<z.ZodObject<{
|
|
6716
|
+
state: z.ZodEnum<{
|
|
6717
|
+
unknown: "unknown";
|
|
6718
|
+
blocked: "blocked";
|
|
6719
|
+
included: "included";
|
|
6720
|
+
free: "free";
|
|
6721
|
+
credits: "credits";
|
|
6722
|
+
}>;
|
|
6723
|
+
usage_level: z.ZodNullable<z.ZodEnum<{
|
|
6724
|
+
free: "free";
|
|
6725
|
+
low: "low";
|
|
6726
|
+
medium: "medium";
|
|
6727
|
+
top_tier: "top_tier";
|
|
6728
|
+
}>>;
|
|
6729
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
6730
|
+
}, z.core.$strip>>;
|
|
6321
6731
|
id: z.ZodString;
|
|
6322
6732
|
label: z.ZodOptional<z.ZodString>;
|
|
6323
6733
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -6348,10 +6758,10 @@ export declare const ModelsLiveSchema: z.ZodObject<{
|
|
|
6348
6758
|
export type Models = z.infer<typeof ModelsSchema>;
|
|
6349
6759
|
/** TAL-603: where a card's credential comes from; `other` is a source the server cannot name, shown as its raw `key_source`. */
|
|
6350
6760
|
export declare const KeySourceKindSchema: z.ZodEnum<{
|
|
6761
|
+
other: "other";
|
|
6351
6762
|
env: "env";
|
|
6352
6763
|
plugin: "plugin";
|
|
6353
6764
|
config: "config";
|
|
6354
|
-
other: "other";
|
|
6355
6765
|
oauth: "oauth";
|
|
6356
6766
|
pool: "pool";
|
|
6357
6767
|
}>;
|
|
@@ -6377,6 +6787,22 @@ export declare const ProviderSchema: z.ZodObject<{
|
|
|
6377
6787
|
auth_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6378
6788
|
env_var: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6379
6789
|
models: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6790
|
+
allowance: z.ZodOptional<z.ZodObject<{
|
|
6791
|
+
state: z.ZodEnum<{
|
|
6792
|
+
unknown: "unknown";
|
|
6793
|
+
blocked: "blocked";
|
|
6794
|
+
included: "included";
|
|
6795
|
+
free: "free";
|
|
6796
|
+
credits: "credits";
|
|
6797
|
+
}>;
|
|
6798
|
+
usage_level: z.ZodNullable<z.ZodEnum<{
|
|
6799
|
+
free: "free";
|
|
6800
|
+
low: "low";
|
|
6801
|
+
medium: "medium";
|
|
6802
|
+
top_tier: "top_tier";
|
|
6803
|
+
}>>;
|
|
6804
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
6805
|
+
}, z.core.$strip>>;
|
|
6380
6806
|
id: z.ZodString;
|
|
6381
6807
|
label: z.ZodOptional<z.ZodString>;
|
|
6382
6808
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -6402,12 +6828,33 @@ export declare const ProviderSchema: z.ZodObject<{
|
|
|
6402
6828
|
}, z.core.$strip>>;
|
|
6403
6829
|
}, z.core.$loose>>>;
|
|
6404
6830
|
models_total: z.ZodOptional<z.ZodNumber>;
|
|
6831
|
+
nous_account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6832
|
+
account_id: z.ZodString;
|
|
6833
|
+
email: z.ZodNullable<z.ZodString>;
|
|
6834
|
+
state: z.ZodEnum<{
|
|
6835
|
+
unavailable: "unavailable";
|
|
6836
|
+
unknown: "unknown";
|
|
6837
|
+
pending: "pending";
|
|
6838
|
+
failed: "failed";
|
|
6839
|
+
idle: "idle";
|
|
6840
|
+
retrying: "retrying";
|
|
6841
|
+
claimed: "claimed";
|
|
6842
|
+
gone: "gone";
|
|
6843
|
+
paused: "paused";
|
|
6844
|
+
}>;
|
|
6845
|
+
lines: z.ZodArray<z.ZodString>;
|
|
6846
|
+
moved: z.ZodArray<z.ZodString>;
|
|
6847
|
+
dropped: z.ZodArray<z.ZodString>;
|
|
6848
|
+
reconnect: z.ZodArray<z.ZodString>;
|
|
6849
|
+
poll_after: z.ZodNullable<z.ZodNumber>;
|
|
6850
|
+
}, z.core.$strip>>>;
|
|
6851
|
+
nous_account_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6405
6852
|
is_active: z.ZodOptional<z.ZodBoolean>;
|
|
6406
6853
|
key_source_kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6854
|
+
other: "other";
|
|
6407
6855
|
env: "env";
|
|
6408
6856
|
plugin: "plugin";
|
|
6409
6857
|
config: "config";
|
|
6410
|
-
other: "other";
|
|
6411
6858
|
oauth: "oauth";
|
|
6412
6859
|
pool: "pool";
|
|
6413
6860
|
}>>>;
|
|
@@ -6439,6 +6886,22 @@ export declare const ProvidersSchema: z.ZodObject<{
|
|
|
6439
6886
|
auth_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6440
6887
|
env_var: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6441
6888
|
models: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6889
|
+
allowance: z.ZodOptional<z.ZodObject<{
|
|
6890
|
+
state: z.ZodEnum<{
|
|
6891
|
+
unknown: "unknown";
|
|
6892
|
+
blocked: "blocked";
|
|
6893
|
+
included: "included";
|
|
6894
|
+
free: "free";
|
|
6895
|
+
credits: "credits";
|
|
6896
|
+
}>;
|
|
6897
|
+
usage_level: z.ZodNullable<z.ZodEnum<{
|
|
6898
|
+
free: "free";
|
|
6899
|
+
low: "low";
|
|
6900
|
+
medium: "medium";
|
|
6901
|
+
top_tier: "top_tier";
|
|
6902
|
+
}>>;
|
|
6903
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
6904
|
+
}, z.core.$strip>>;
|
|
6442
6905
|
id: z.ZodString;
|
|
6443
6906
|
label: z.ZodOptional<z.ZodString>;
|
|
6444
6907
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -6464,12 +6927,33 @@ export declare const ProvidersSchema: z.ZodObject<{
|
|
|
6464
6927
|
}, z.core.$strip>>;
|
|
6465
6928
|
}, z.core.$loose>>>;
|
|
6466
6929
|
models_total: z.ZodOptional<z.ZodNumber>;
|
|
6930
|
+
nous_account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6931
|
+
account_id: z.ZodString;
|
|
6932
|
+
email: z.ZodNullable<z.ZodString>;
|
|
6933
|
+
state: z.ZodEnum<{
|
|
6934
|
+
unavailable: "unavailable";
|
|
6935
|
+
unknown: "unknown";
|
|
6936
|
+
pending: "pending";
|
|
6937
|
+
failed: "failed";
|
|
6938
|
+
idle: "idle";
|
|
6939
|
+
retrying: "retrying";
|
|
6940
|
+
claimed: "claimed";
|
|
6941
|
+
gone: "gone";
|
|
6942
|
+
paused: "paused";
|
|
6943
|
+
}>;
|
|
6944
|
+
lines: z.ZodArray<z.ZodString>;
|
|
6945
|
+
moved: z.ZodArray<z.ZodString>;
|
|
6946
|
+
dropped: z.ZodArray<z.ZodString>;
|
|
6947
|
+
reconnect: z.ZodArray<z.ZodString>;
|
|
6948
|
+
poll_after: z.ZodNullable<z.ZodNumber>;
|
|
6949
|
+
}, z.core.$strip>>>;
|
|
6950
|
+
nous_account_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6467
6951
|
is_active: z.ZodOptional<z.ZodBoolean>;
|
|
6468
6952
|
key_source_kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6953
|
+
other: "other";
|
|
6469
6954
|
env: "env";
|
|
6470
6955
|
plugin: "plugin";
|
|
6471
6956
|
config: "config";
|
|
6472
|
-
other: "other";
|
|
6473
6957
|
oauth: "oauth";
|
|
6474
6958
|
pool: "pool";
|
|
6475
6959
|
}>>>;
|
|
@@ -6573,6 +7057,27 @@ export declare const QuotaWindowSchema: z.ZodObject<{
|
|
|
6573
7057
|
}, z.core.$loose>>;
|
|
6574
7058
|
}, z.core.$loose>;
|
|
6575
7059
|
export declare const QuotaSourceSchema: z.ZodObject<{
|
|
7060
|
+
plan_usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7061
|
+
kind: z.ZodLiteral<"usage_window">;
|
|
7062
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
7063
|
+
gauges: z.ZodArray<z.ZodObject<{
|
|
7064
|
+
label: z.ZodString;
|
|
7065
|
+
left_fraction: z.ZodNumber;
|
|
7066
|
+
style: z.ZodEnum<{
|
|
7067
|
+
green: "green";
|
|
7068
|
+
yellow: "yellow";
|
|
7069
|
+
red: "red";
|
|
7070
|
+
}>;
|
|
7071
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
7072
|
+
scope: z.ZodString;
|
|
7073
|
+
title: z.ZodString;
|
|
7074
|
+
}, z.core.$strip>>;
|
|
7075
|
+
top_tier_model_ids: z.ZodArray<z.ZodString>;
|
|
7076
|
+
featured_model_ids: z.ZodArray<z.ZodString>;
|
|
7077
|
+
paused_reason: z.ZodNullable<z.ZodString>;
|
|
7078
|
+
credits_pay: z.ZodNullable<z.ZodBoolean>;
|
|
7079
|
+
}, z.core.$strip>>>;
|
|
7080
|
+
plan_stale: z.ZodOptional<z.ZodBoolean>;
|
|
6576
7081
|
computed_at: z.ZodOptional<z.ZodString>;
|
|
6577
7082
|
source_id: z.ZodString;
|
|
6578
7083
|
provider_id: z.ZodOptional<z.ZodString>;
|
|
@@ -6662,6 +7167,27 @@ export declare const QuotaSourceSchema: z.ZodObject<{
|
|
|
6662
7167
|
}, z.core.$loose>;
|
|
6663
7168
|
/** An account-usage provider's normalised snapshot on `/api/provider/quota` (the same windows and indexes as a quotas source). */
|
|
6664
7169
|
export declare const QuotaAccountLimitsSchema: z.ZodObject<{
|
|
7170
|
+
plan_usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7171
|
+
kind: z.ZodLiteral<"usage_window">;
|
|
7172
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
7173
|
+
gauges: z.ZodArray<z.ZodObject<{
|
|
7174
|
+
label: z.ZodString;
|
|
7175
|
+
left_fraction: z.ZodNumber;
|
|
7176
|
+
style: z.ZodEnum<{
|
|
7177
|
+
green: "green";
|
|
7178
|
+
yellow: "yellow";
|
|
7179
|
+
red: "red";
|
|
7180
|
+
}>;
|
|
7181
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
7182
|
+
scope: z.ZodString;
|
|
7183
|
+
title: z.ZodString;
|
|
7184
|
+
}, z.core.$strip>>;
|
|
7185
|
+
top_tier_model_ids: z.ZodArray<z.ZodString>;
|
|
7186
|
+
featured_model_ids: z.ZodArray<z.ZodString>;
|
|
7187
|
+
paused_reason: z.ZodNullable<z.ZodString>;
|
|
7188
|
+
credits_pay: z.ZodNullable<z.ZodBoolean>;
|
|
7189
|
+
}, z.core.$strip>>>;
|
|
7190
|
+
plan_stale: z.ZodOptional<z.ZodBoolean>;
|
|
6665
7191
|
available: z.ZodOptional<z.ZodBoolean>;
|
|
6666
7192
|
stale: z.ZodOptional<z.ZodBoolean>;
|
|
6667
7193
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -6736,6 +7262,27 @@ export declare const ProviderQuotaSchema: z.ZodObject<{
|
|
|
6736
7262
|
message: z.ZodString;
|
|
6737
7263
|
quota: z.ZodUnknown;
|
|
6738
7264
|
account_limits: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7265
|
+
plan_usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7266
|
+
kind: z.ZodLiteral<"usage_window">;
|
|
7267
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
7268
|
+
gauges: z.ZodArray<z.ZodObject<{
|
|
7269
|
+
label: z.ZodString;
|
|
7270
|
+
left_fraction: z.ZodNumber;
|
|
7271
|
+
style: z.ZodEnum<{
|
|
7272
|
+
green: "green";
|
|
7273
|
+
yellow: "yellow";
|
|
7274
|
+
red: "red";
|
|
7275
|
+
}>;
|
|
7276
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
7277
|
+
scope: z.ZodString;
|
|
7278
|
+
title: z.ZodString;
|
|
7279
|
+
}, z.core.$strip>>;
|
|
7280
|
+
top_tier_model_ids: z.ZodArray<z.ZodString>;
|
|
7281
|
+
featured_model_ids: z.ZodArray<z.ZodString>;
|
|
7282
|
+
paused_reason: z.ZodNullable<z.ZodString>;
|
|
7283
|
+
credits_pay: z.ZodNullable<z.ZodBoolean>;
|
|
7284
|
+
}, z.core.$strip>>>;
|
|
7285
|
+
plan_stale: z.ZodOptional<z.ZodBoolean>;
|
|
6739
7286
|
available: z.ZodOptional<z.ZodBoolean>;
|
|
6740
7287
|
stale: z.ZodOptional<z.ZodBoolean>;
|
|
6741
7288
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -6819,6 +7366,27 @@ export declare const ProviderQuotasSchema: z.ZodObject<{
|
|
|
6819
7366
|
requested_source_id: z.ZodNullable<z.ZodString>;
|
|
6820
7367
|
missing_source: z.ZodBoolean;
|
|
6821
7368
|
sources: z.ZodArray<z.ZodObject<{
|
|
7369
|
+
plan_usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7370
|
+
kind: z.ZodLiteral<"usage_window">;
|
|
7371
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
7372
|
+
gauges: z.ZodArray<z.ZodObject<{
|
|
7373
|
+
label: z.ZodString;
|
|
7374
|
+
left_fraction: z.ZodNumber;
|
|
7375
|
+
style: z.ZodEnum<{
|
|
7376
|
+
green: "green";
|
|
7377
|
+
yellow: "yellow";
|
|
7378
|
+
red: "red";
|
|
7379
|
+
}>;
|
|
7380
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
7381
|
+
scope: z.ZodString;
|
|
7382
|
+
title: z.ZodString;
|
|
7383
|
+
}, z.core.$strip>>;
|
|
7384
|
+
top_tier_model_ids: z.ZodArray<z.ZodString>;
|
|
7385
|
+
featured_model_ids: z.ZodArray<z.ZodString>;
|
|
7386
|
+
paused_reason: z.ZodNullable<z.ZodString>;
|
|
7387
|
+
credits_pay: z.ZodNullable<z.ZodBoolean>;
|
|
7388
|
+
}, z.core.$strip>>>;
|
|
7389
|
+
plan_stale: z.ZodOptional<z.ZodBoolean>;
|
|
6822
7390
|
computed_at: z.ZodOptional<z.ZodString>;
|
|
6823
7391
|
source_id: z.ZodString;
|
|
6824
7392
|
provider_id: z.ZodOptional<z.ZodString>;
|
|
@@ -6966,6 +7534,85 @@ export declare const AuxiliaryTaskSchema: z.ZodObject<{
|
|
|
6966
7534
|
reasoning_effort: z.ZodNullable<z.ZodString>;
|
|
6967
7535
|
}, z.core.$loose>;
|
|
6968
7536
|
export declare const AuxiliaryModelsSchema: z.ZodObject<{
|
|
7537
|
+
delegation: z.ZodOptional<z.ZodObject<{
|
|
7538
|
+
supported: z.ZodBoolean;
|
|
7539
|
+
configured: z.ZodString;
|
|
7540
|
+
effective: z.ZodNullable<z.ZodString>;
|
|
7541
|
+
available: z.ZodBoolean;
|
|
7542
|
+
blocked_reason: z.ZodNullable<z.ZodString>;
|
|
7543
|
+
fixed_model_active: z.ZodBoolean;
|
|
7544
|
+
backends: z.ZodArray<z.ZodObject<{
|
|
7545
|
+
name: z.ZodString;
|
|
7546
|
+
label: z.ZodString;
|
|
7547
|
+
description: z.ZodString;
|
|
7548
|
+
available: z.ZodBoolean;
|
|
7549
|
+
reason: z.ZodString;
|
|
7550
|
+
}, z.core.$strip>>;
|
|
7551
|
+
profiles: z.ZodArray<z.ZodString>;
|
|
7552
|
+
can_edit: z.ZodBoolean;
|
|
7553
|
+
model_map: z.ZodObject<{
|
|
7554
|
+
default: z.ZodNullable<z.ZodString>;
|
|
7555
|
+
options: 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
|
+
profiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7570
|
+
label: z.ZodOptional<z.ZodString>;
|
|
7571
|
+
name: z.ZodString;
|
|
7572
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7573
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
7574
|
+
model: z.ZodOptional<z.ZodString>;
|
|
7575
|
+
base_url: z.ZodOptional<z.ZodString>;
|
|
7576
|
+
api_mode: z.ZodOptional<z.ZodString>;
|
|
7577
|
+
api_key_set: z.ZodOptional<z.ZodBoolean>;
|
|
7578
|
+
reasoning_effort: z.ZodOptional<z.ZodString>;
|
|
7579
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
7580
|
+
fallback_providers: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
7581
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
7582
|
+
}, z.core.$strip>>>;
|
|
7583
|
+
}, z.core.$strip>;
|
|
7584
|
+
profile_routes: z.ZodObject<{
|
|
7585
|
+
default: z.ZodNullable<z.ZodString>;
|
|
7586
|
+
options: 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
|
+
profiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7601
|
+
label: z.ZodOptional<z.ZodString>;
|
|
7602
|
+
name: z.ZodString;
|
|
7603
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7604
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
7605
|
+
model: z.ZodOptional<z.ZodString>;
|
|
7606
|
+
base_url: z.ZodOptional<z.ZodString>;
|
|
7607
|
+
api_mode: z.ZodOptional<z.ZodString>;
|
|
7608
|
+
api_key_set: z.ZodOptional<z.ZodBoolean>;
|
|
7609
|
+
reasoning_effort: z.ZodOptional<z.ZodString>;
|
|
7610
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
7611
|
+
fallback_providers: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
7612
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
7613
|
+
}, z.core.$strip>>>;
|
|
7614
|
+
}, z.core.$strip>;
|
|
7615
|
+
}, z.core.$strip>>;
|
|
6969
7616
|
main: z.ZodObject<{
|
|
6970
7617
|
model: z.ZodOptional<z.ZodString>;
|
|
6971
7618
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -7082,9 +7729,9 @@ export declare const FilePreviewKindSchema: z.ZodEnum<{
|
|
|
7082
7729
|
html: "html";
|
|
7083
7730
|
text: "text";
|
|
7084
7731
|
image: "image";
|
|
7732
|
+
pdf: "pdf";
|
|
7085
7733
|
audio: "audio";
|
|
7086
7734
|
video: "video";
|
|
7087
|
-
pdf: "pdf";
|
|
7088
7735
|
csv: "csv";
|
|
7089
7736
|
binary: "binary";
|
|
7090
7737
|
}>;
|
|
@@ -7105,9 +7752,9 @@ export declare const FileContentSchema: z.ZodObject<{
|
|
|
7105
7752
|
html: "html";
|
|
7106
7753
|
text: "text";
|
|
7107
7754
|
image: "image";
|
|
7755
|
+
pdf: "pdf";
|
|
7108
7756
|
audio: "audio";
|
|
7109
7757
|
video: "video";
|
|
7110
|
-
pdf: "pdf";
|
|
7111
7758
|
csv: "csv";
|
|
7112
7759
|
binary: "binary";
|
|
7113
7760
|
}>>;
|
|
@@ -7253,8 +7900,8 @@ export declare const CommandRowSchema: z.ZodObject<{
|
|
|
7253
7900
|
args_hint: z.ZodOptional<z.ZodString>;
|
|
7254
7901
|
category: z.ZodOptional<z.ZodString>;
|
|
7255
7902
|
handler: z.ZodEnum<{
|
|
7256
|
-
prompt: "prompt";
|
|
7257
7903
|
agent: "agent";
|
|
7904
|
+
prompt: "prompt";
|
|
7258
7905
|
client: "client";
|
|
7259
7906
|
}>;
|
|
7260
7907
|
clients: z.ZodArray<z.ZodEnum<{
|
|
@@ -7275,8 +7922,8 @@ export declare const CommandsSchema: z.ZodObject<{
|
|
|
7275
7922
|
args_hint: z.ZodOptional<z.ZodString>;
|
|
7276
7923
|
category: z.ZodOptional<z.ZodString>;
|
|
7277
7924
|
handler: z.ZodEnum<{
|
|
7278
|
-
prompt: "prompt";
|
|
7279
7925
|
agent: "agent";
|
|
7926
|
+
prompt: "prompt";
|
|
7280
7927
|
client: "client";
|
|
7281
7928
|
}>;
|
|
7282
7929
|
clients: z.ZodArray<z.ZodEnum<{
|
|
@@ -7379,8 +8026,8 @@ export type GatewayStatus = z.infer<typeof GatewayStatusSchema>;
|
|
|
7379
8026
|
export declare const GatewayActionSchema: z.ZodObject<{
|
|
7380
8027
|
ok: z.ZodLiteral<true>;
|
|
7381
8028
|
action: z.ZodEnum<{
|
|
7382
|
-
start: "start";
|
|
7383
8029
|
stop: "stop";
|
|
8030
|
+
start: "start";
|
|
7384
8031
|
restart: "restart";
|
|
7385
8032
|
}>;
|
|
7386
8033
|
message: z.ZodString;
|
|
@@ -7448,9 +8095,9 @@ export declare const ProjectOsDashboardSchema: z.ZodObject<{
|
|
|
7448
8095
|
html: "html";
|
|
7449
8096
|
text: "text";
|
|
7450
8097
|
image: "image";
|
|
8098
|
+
pdf: "pdf";
|
|
7451
8099
|
audio: "audio";
|
|
7452
8100
|
video: "video";
|
|
7453
|
-
pdf: "pdf";
|
|
7454
8101
|
csv: "csv";
|
|
7455
8102
|
binary: "binary";
|
|
7456
8103
|
}>>;
|
|
@@ -7478,9 +8125,9 @@ export declare const ProjectOsDashboardSchema: z.ZodObject<{
|
|
|
7478
8125
|
html: "html";
|
|
7479
8126
|
text: "text";
|
|
7480
8127
|
image: "image";
|
|
8128
|
+
pdf: "pdf";
|
|
7481
8129
|
audio: "audio";
|
|
7482
8130
|
video: "video";
|
|
7483
|
-
pdf: "pdf";
|
|
7484
8131
|
csv: "csv";
|
|
7485
8132
|
binary: "binary";
|
|
7486
8133
|
}>>;
|
|
@@ -7508,9 +8155,9 @@ export declare const ProjectOsDashboardSchema: z.ZodObject<{
|
|
|
7508
8155
|
html: "html";
|
|
7509
8156
|
text: "text";
|
|
7510
8157
|
image: "image";
|
|
8158
|
+
pdf: "pdf";
|
|
7511
8159
|
audio: "audio";
|
|
7512
8160
|
video: "video";
|
|
7513
|
-
pdf: "pdf";
|
|
7514
8161
|
csv: "csv";
|
|
7515
8162
|
binary: "binary";
|
|
7516
8163
|
}>>;
|
|
@@ -7538,9 +8185,9 @@ export declare const ProjectOsDashboardSchema: z.ZodObject<{
|
|
|
7538
8185
|
html: "html";
|
|
7539
8186
|
text: "text";
|
|
7540
8187
|
image: "image";
|
|
8188
|
+
pdf: "pdf";
|
|
7541
8189
|
audio: "audio";
|
|
7542
8190
|
video: "video";
|
|
7543
|
-
pdf: "pdf";
|
|
7544
8191
|
csv: "csv";
|
|
7545
8192
|
binary: "binary";
|
|
7546
8193
|
}>>;
|
|
@@ -7598,8 +8245,8 @@ export declare const ChatReadinessSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7598
8245
|
available: z.ZodLiteral<false>;
|
|
7599
8246
|
condition: z.ZodEnum<{
|
|
7600
8247
|
sidecar_unavailable: "sidecar_unavailable";
|
|
7601
|
-
agent_runtime_stale: "agent_runtime_stale";
|
|
7602
8248
|
agent_incompatible: "agent_incompatible";
|
|
8249
|
+
agent_runtime_stale: "agent_runtime_stale";
|
|
7603
8250
|
}>;
|
|
7604
8251
|
}, z.core.$strip>], "available">;
|
|
7605
8252
|
export type ChatReadiness = z.infer<typeof ChatReadinessSchema>;
|
|
@@ -7621,8 +8268,8 @@ export declare const AgentHealthSchema: z.ZodObject<{
|
|
|
7621
8268
|
available: z.ZodLiteral<false>;
|
|
7622
8269
|
condition: z.ZodEnum<{
|
|
7623
8270
|
sidecar_unavailable: "sidecar_unavailable";
|
|
7624
|
-
agent_runtime_stale: "agent_runtime_stale";
|
|
7625
8271
|
agent_incompatible: "agent_incompatible";
|
|
8272
|
+
agent_runtime_stale: "agent_runtime_stale";
|
|
7626
8273
|
}>;
|
|
7627
8274
|
}, z.core.$strip>], "available">>;
|
|
7628
8275
|
alive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -7690,6 +8337,7 @@ export declare const UpdateTargetSchema: z.ZodObject<{
|
|
|
7690
8337
|
name: z.ZodOptional<z.ZodString>;
|
|
7691
8338
|
channel: z.ZodOptional<z.ZodEnum<{
|
|
7692
8339
|
stable: "stable";
|
|
8340
|
+
nightly: "nightly";
|
|
7693
8341
|
experimental: "experimental";
|
|
7694
8342
|
}>>;
|
|
7695
8343
|
unsupported: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -7758,8 +8406,8 @@ export declare const AgentRecoveryStateSchema: z.ZodObject<{
|
|
|
7758
8406
|
phase: z.ZodEnum<{
|
|
7759
8407
|
blocked: "blocked";
|
|
7760
8408
|
running: "running";
|
|
7761
|
-
waiting: "waiting";
|
|
7762
8409
|
idle: "idle";
|
|
8410
|
+
waiting: "waiting";
|
|
7763
8411
|
complete: "complete";
|
|
7764
8412
|
}>;
|
|
7765
8413
|
attempt: z.ZodNumber;
|
|
@@ -7794,8 +8442,8 @@ export declare const UpdatesCheckSchema: z.ZodObject<{
|
|
|
7794
8442
|
phase: z.ZodEnum<{
|
|
7795
8443
|
blocked: "blocked";
|
|
7796
8444
|
running: "running";
|
|
7797
|
-
waiting: "waiting";
|
|
7798
8445
|
idle: "idle";
|
|
8446
|
+
waiting: "waiting";
|
|
7799
8447
|
complete: "complete";
|
|
7800
8448
|
}>;
|
|
7801
8449
|
attempt: z.ZodNumber;
|
|
@@ -7841,6 +8489,7 @@ export declare const UpdatesCheckSchema: z.ZodObject<{
|
|
|
7841
8489
|
name: z.ZodOptional<z.ZodString>;
|
|
7842
8490
|
channel: z.ZodOptional<z.ZodEnum<{
|
|
7843
8491
|
stable: "stable";
|
|
8492
|
+
nightly: "nightly";
|
|
7844
8493
|
experimental: "experimental";
|
|
7845
8494
|
}>>;
|
|
7846
8495
|
unsupported: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -7913,6 +8562,7 @@ export declare const UpdatesCheckSchema: z.ZodObject<{
|
|
|
7913
8562
|
name: z.ZodOptional<z.ZodString>;
|
|
7914
8563
|
channel: z.ZodOptional<z.ZodEnum<{
|
|
7915
8564
|
stable: "stable";
|
|
8565
|
+
nightly: "nightly";
|
|
7916
8566
|
experimental: "experimental";
|
|
7917
8567
|
}>>;
|
|
7918
8568
|
unsupported: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -8078,8 +8728,8 @@ export declare const UpdateStepSchema: z.ZodObject<{
|
|
|
8078
8728
|
label: z.ZodString;
|
|
8079
8729
|
state: z.ZodEnum<{
|
|
8080
8730
|
pending: "pending";
|
|
8081
|
-
active: "active";
|
|
8082
8731
|
failed: "failed";
|
|
8732
|
+
active: "active";
|
|
8083
8733
|
done: "done";
|
|
8084
8734
|
}>;
|
|
8085
8735
|
}, z.core.$strip>;
|
|
@@ -8212,8 +8862,8 @@ export declare const UpdateNotificationSchema: z.ZodObject<{
|
|
|
8212
8862
|
label: z.ZodString;
|
|
8213
8863
|
state: z.ZodEnum<{
|
|
8214
8864
|
pending: "pending";
|
|
8215
|
-
active: "active";
|
|
8216
8865
|
failed: "failed";
|
|
8866
|
+
active: "active";
|
|
8217
8867
|
done: "done";
|
|
8218
8868
|
}>;
|
|
8219
8869
|
}, z.core.$strip>>;
|
|
@@ -8340,8 +8990,8 @@ export declare const UpdateNotificationsSchema: z.ZodObject<{
|
|
|
8340
8990
|
label: z.ZodString;
|
|
8341
8991
|
state: z.ZodEnum<{
|
|
8342
8992
|
pending: "pending";
|
|
8343
|
-
active: "active";
|
|
8344
8993
|
failed: "failed";
|
|
8994
|
+
active: "active";
|
|
8345
8995
|
done: "done";
|
|
8346
8996
|
}>;
|
|
8347
8997
|
}, z.core.$strip>>;
|
|
@@ -8451,8 +9101,8 @@ export declare const UpdateNotificationsSchema: z.ZodObject<{
|
|
|
8451
9101
|
label: z.ZodString;
|
|
8452
9102
|
state: z.ZodEnum<{
|
|
8453
9103
|
pending: "pending";
|
|
8454
|
-
active: "active";
|
|
8455
9104
|
failed: "failed";
|
|
9105
|
+
active: "active";
|
|
8456
9106
|
done: "done";
|
|
8457
9107
|
}>;
|
|
8458
9108
|
}, z.core.$strip>>;
|
|
@@ -8621,6 +9271,7 @@ export declare const McpServerSchema: z.ZodObject<{
|
|
|
8621
9271
|
package: "package";
|
|
8622
9272
|
native_override: "native_override";
|
|
8623
9273
|
}>;
|
|
9274
|
+
name: z.ZodString;
|
|
8624
9275
|
can_edit: z.ZodBoolean;
|
|
8625
9276
|
tool_costs: z.ZodArray<z.ZodObject<{
|
|
8626
9277
|
name: z.ZodString;
|
|
@@ -8630,7 +9281,6 @@ export declare const McpServerSchema: z.ZodObject<{
|
|
|
8630
9281
|
}, z.core.$strip>>;
|
|
8631
9282
|
spend_limit: z.ZodNumber;
|
|
8632
9283
|
cost_unit: z.ZodString;
|
|
8633
|
-
name: z.ZodString;
|
|
8634
9284
|
valid: z.ZodBoolean;
|
|
8635
9285
|
overrides: z.ZodObject<{
|
|
8636
9286
|
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<{
|
|
@@ -8686,6 +9336,7 @@ export declare const McpServersSchema: z.ZodObject<{
|
|
|
8686
9336
|
package: "package";
|
|
8687
9337
|
native_override: "native_override";
|
|
8688
9338
|
}>;
|
|
9339
|
+
name: z.ZodString;
|
|
8689
9340
|
can_edit: z.ZodBoolean;
|
|
8690
9341
|
tool_costs: z.ZodArray<z.ZodObject<{
|
|
8691
9342
|
name: z.ZodString;
|
|
@@ -8695,7 +9346,6 @@ export declare const McpServersSchema: z.ZodObject<{
|
|
|
8695
9346
|
}, z.core.$strip>>;
|
|
8696
9347
|
spend_limit: z.ZodNumber;
|
|
8697
9348
|
cost_unit: z.ZodString;
|
|
8698
|
-
name: z.ZodString;
|
|
8699
9349
|
valid: z.ZodBoolean;
|
|
8700
9350
|
overrides: z.ZodObject<{
|
|
8701
9351
|
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<{
|
|
@@ -8798,9 +9448,32 @@ export declare const ConnectorViewSchema: z.ZodObject<{
|
|
|
8798
9448
|
* so no switch changes them. `sign_in_required` offers Nous sign-in without creating a guest on reads.
|
|
8799
9449
|
* `rules_error`: why the rules could not be read; every app then reads off (fails closed).
|
|
8800
9450
|
*/
|
|
9451
|
+
export declare const ConnectorSignInOfferSchema: z.ZodObject<{
|
|
9452
|
+
available: z.ZodBoolean;
|
|
9453
|
+
due: z.ZodBoolean;
|
|
9454
|
+
visible: z.ZodBoolean;
|
|
9455
|
+
offer_id: z.ZodNullable<z.ZodString>;
|
|
9456
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
9457
|
+
sign_in: "sign_in";
|
|
9458
|
+
dismiss: "dismiss";
|
|
9459
|
+
}>>;
|
|
9460
|
+
refresh_after: z.ZodNullable<z.ZodNumber>;
|
|
9461
|
+
}, z.core.$strip>;
|
|
9462
|
+
export type ConnectorSignInOffer = z.infer<typeof ConnectorSignInOfferSchema>;
|
|
8801
9463
|
export declare const ConnectorsPageSchema: z.ZodObject<{
|
|
8802
9464
|
available: z.ZodBoolean;
|
|
8803
9465
|
sign_in_required: z.ZodDefault<z.ZodBoolean>;
|
|
9466
|
+
sign_in_offer: z.ZodOptional<z.ZodObject<{
|
|
9467
|
+
available: z.ZodBoolean;
|
|
9468
|
+
due: z.ZodBoolean;
|
|
9469
|
+
visible: z.ZodBoolean;
|
|
9470
|
+
offer_id: z.ZodNullable<z.ZodString>;
|
|
9471
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
9472
|
+
sign_in: "sign_in";
|
|
9473
|
+
dismiss: "dismiss";
|
|
9474
|
+
}>>;
|
|
9475
|
+
refresh_after: z.ZodNullable<z.ZodNumber>;
|
|
9476
|
+
}, z.core.$strip>>;
|
|
8804
9477
|
connectors: z.ZodArray<z.ZodObject<{
|
|
8805
9478
|
slug: z.ZodString;
|
|
8806
9479
|
name: z.ZodString;
|
|
@@ -8873,9 +9546,9 @@ export declare const ConnectorOperationViewSchema: z.ZodObject<{
|
|
|
8873
9546
|
title: z.ZodString;
|
|
8874
9547
|
kind: z.ZodString;
|
|
8875
9548
|
state: z.ZodEnum<{
|
|
9549
|
+
skipped: "skipped";
|
|
8876
9550
|
pending: "pending";
|
|
8877
9551
|
expired: "expired";
|
|
8878
|
-
skipped: "skipped";
|
|
8879
9552
|
failed: "failed";
|
|
8880
9553
|
initiated: "initiated";
|
|
8881
9554
|
connected: "connected";
|
|
@@ -8989,34 +9662,6 @@ export declare const WikiPageSchema: z.ZodObject<{
|
|
|
8989
9662
|
content: z.ZodString;
|
|
8990
9663
|
path: z.ZodString;
|
|
8991
9664
|
}, z.core.$strip>;
|
|
8992
|
-
export declare const TodoItemSchema: z.ZodObject<{
|
|
8993
|
-
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
8994
|
-
text: z.ZodOptional<z.ZodString>;
|
|
8995
|
-
content: z.ZodOptional<z.ZodString>;
|
|
8996
|
-
title: z.ZodOptional<z.ZodString>;
|
|
8997
|
-
status: z.ZodOptional<z.ZodString>;
|
|
8998
|
-
done: z.ZodOptional<z.ZodBoolean>;
|
|
8999
|
-
completed: z.ZodOptional<z.ZodBoolean>;
|
|
9000
|
-
}, z.core.$loose>;
|
|
9001
|
-
export declare const TodoStateSchema: z.ZodObject<{
|
|
9002
|
-
session_id: z.ZodOptional<z.ZodString>;
|
|
9003
|
-
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9004
|
-
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
9005
|
-
text: z.ZodOptional<z.ZodString>;
|
|
9006
|
-
content: z.ZodOptional<z.ZodString>;
|
|
9007
|
-
title: z.ZodOptional<z.ZodString>;
|
|
9008
|
-
status: z.ZodOptional<z.ZodString>;
|
|
9009
|
-
done: z.ZodOptional<z.ZodBoolean>;
|
|
9010
|
-
completed: z.ZodOptional<z.ZodBoolean>;
|
|
9011
|
-
}, z.core.$loose>>>;
|
|
9012
|
-
summary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9013
|
-
version: z.ZodOptional<z.ZodNumber>;
|
|
9014
|
-
ts: z.ZodOptional<z.ZodNumber>;
|
|
9015
|
-
source: z.ZodOptional<z.ZodString>;
|
|
9016
|
-
description: z.ZodOptional<z.ZodString>;
|
|
9017
|
-
pending_count: z.ZodOptional<z.ZodNumber>;
|
|
9018
|
-
}, z.core.$loose>;
|
|
9019
|
-
export type TodoState = z.infer<typeof TodoStateSchema>;
|
|
9020
9665
|
/** `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. */
|
|
9021
9666
|
export declare const OnboardingProviderSchema: z.ZodObject<{
|
|
9022
9667
|
id: z.ZodString;
|
|
@@ -9104,6 +9749,34 @@ export declare const OnboardingStatusSchema: z.ZodObject<{
|
|
|
9104
9749
|
default_bare_id: z.ZodOptional<z.ZodString>;
|
|
9105
9750
|
default_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9106
9751
|
groups: z.ZodArray<z.ZodObject<{
|
|
9752
|
+
plan_usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9753
|
+
kind: z.ZodLiteral<"usage_window">;
|
|
9754
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
9755
|
+
gauges: z.ZodArray<z.ZodObject<{
|
|
9756
|
+
label: z.ZodString;
|
|
9757
|
+
left_fraction: z.ZodNumber;
|
|
9758
|
+
style: z.ZodEnum<{
|
|
9759
|
+
green: "green";
|
|
9760
|
+
yellow: "yellow";
|
|
9761
|
+
red: "red";
|
|
9762
|
+
}>;
|
|
9763
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
9764
|
+
scope: z.ZodString;
|
|
9765
|
+
title: z.ZodString;
|
|
9766
|
+
}, z.core.$strip>>;
|
|
9767
|
+
top_tier_model_ids: z.ZodArray<z.ZodString>;
|
|
9768
|
+
featured_model_ids: z.ZodArray<z.ZodString>;
|
|
9769
|
+
paused_reason: z.ZodNullable<z.ZodString>;
|
|
9770
|
+
credits_pay: z.ZodNullable<z.ZodBoolean>;
|
|
9771
|
+
}, z.core.$strip>>>;
|
|
9772
|
+
plan_stale: z.ZodOptional<z.ZodBoolean>;
|
|
9773
|
+
sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9774
|
+
kind: z.ZodEnum<{
|
|
9775
|
+
recommended: "recommended";
|
|
9776
|
+
other: "other";
|
|
9777
|
+
}>;
|
|
9778
|
+
model_ids: z.ZodArray<z.ZodString>;
|
|
9779
|
+
}, z.core.$strip>>>;
|
|
9107
9780
|
availability: z.ZodOptional<z.ZodObject<{
|
|
9108
9781
|
status: z.ZodEnum<{
|
|
9109
9782
|
available: "available";
|
|
@@ -9117,6 +9790,22 @@ export declare const OnboardingStatusSchema: z.ZodObject<{
|
|
|
9117
9790
|
provider: z.ZodString;
|
|
9118
9791
|
provider_id: z.ZodOptional<z.ZodString>;
|
|
9119
9792
|
models: z.ZodArray<z.ZodObject<{
|
|
9793
|
+
allowance: z.ZodOptional<z.ZodObject<{
|
|
9794
|
+
state: z.ZodEnum<{
|
|
9795
|
+
unknown: "unknown";
|
|
9796
|
+
blocked: "blocked";
|
|
9797
|
+
included: "included";
|
|
9798
|
+
free: "free";
|
|
9799
|
+
credits: "credits";
|
|
9800
|
+
}>;
|
|
9801
|
+
usage_level: z.ZodNullable<z.ZodEnum<{
|
|
9802
|
+
free: "free";
|
|
9803
|
+
low: "low";
|
|
9804
|
+
medium: "medium";
|
|
9805
|
+
top_tier: "top_tier";
|
|
9806
|
+
}>>;
|
|
9807
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
9808
|
+
}, z.core.$strip>>;
|
|
9120
9809
|
id: z.ZodString;
|
|
9121
9810
|
label: z.ZodOptional<z.ZodString>;
|
|
9122
9811
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -9142,6 +9831,22 @@ export declare const OnboardingStatusSchema: z.ZodObject<{
|
|
|
9142
9831
|
}, z.core.$strip>>;
|
|
9143
9832
|
}, z.core.$loose>>;
|
|
9144
9833
|
extra_models: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9834
|
+
allowance: z.ZodOptional<z.ZodObject<{
|
|
9835
|
+
state: z.ZodEnum<{
|
|
9836
|
+
unknown: "unknown";
|
|
9837
|
+
blocked: "blocked";
|
|
9838
|
+
included: "included";
|
|
9839
|
+
free: "free";
|
|
9840
|
+
credits: "credits";
|
|
9841
|
+
}>;
|
|
9842
|
+
usage_level: z.ZodNullable<z.ZodEnum<{
|
|
9843
|
+
free: "free";
|
|
9844
|
+
low: "low";
|
|
9845
|
+
medium: "medium";
|
|
9846
|
+
top_tier: "top_tier";
|
|
9847
|
+
}>>;
|
|
9848
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
9849
|
+
}, z.core.$strip>>;
|
|
9145
9850
|
id: z.ZodString;
|
|
9146
9851
|
label: z.ZodOptional<z.ZodString>;
|
|
9147
9852
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -9199,6 +9904,26 @@ export declare const OnboardingProbeSchema: z.ZodObject<{
|
|
|
9199
9904
|
* `user_code`, `verification_url`, `expires_in` and `interval` (seconds between polls) come with the start.
|
|
9200
9905
|
*/
|
|
9201
9906
|
export declare const OnboardingOAuthSchema: z.ZodObject<{
|
|
9907
|
+
nous_account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9908
|
+
account_id: z.ZodString;
|
|
9909
|
+
email: z.ZodNullable<z.ZodString>;
|
|
9910
|
+
state: z.ZodEnum<{
|
|
9911
|
+
unavailable: "unavailable";
|
|
9912
|
+
unknown: "unknown";
|
|
9913
|
+
pending: "pending";
|
|
9914
|
+
failed: "failed";
|
|
9915
|
+
idle: "idle";
|
|
9916
|
+
retrying: "retrying";
|
|
9917
|
+
claimed: "claimed";
|
|
9918
|
+
gone: "gone";
|
|
9919
|
+
paused: "paused";
|
|
9920
|
+
}>;
|
|
9921
|
+
lines: z.ZodArray<z.ZodString>;
|
|
9922
|
+
moved: z.ZodArray<z.ZodString>;
|
|
9923
|
+
dropped: z.ZodArray<z.ZodString>;
|
|
9924
|
+
reconnect: z.ZodArray<z.ZodString>;
|
|
9925
|
+
poll_after: z.ZodNullable<z.ZodNumber>;
|
|
9926
|
+
}, z.core.$strip>>>;
|
|
9202
9927
|
ok: z.ZodOptional<z.ZodBoolean>;
|
|
9203
9928
|
status: z.ZodOptional<z.ZodString>;
|
|
9204
9929
|
url: z.ZodOptional<z.ZodString>;
|