@maudecode/talaria-web-contracts 1.21.0 → 1.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-imports.d.ts +42 -0
- package/dist/agent-imports.js +11 -0
- package/dist/agent-imports.js.map +1 -0
- package/dist/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 +269 -83
- package/dist/routes/groups.d.ts +860 -0
- package/dist/routes/groups.js +13 -0
- package/dist/routes/groups.js.map +1 -0
- package/dist/routes/raw.js +13 -3
- package/dist/routes/raw.js.map +1 -1
- package/dist/routes/sessions.d.ts +714 -204
- package/dist/routes/settings.d.ts +949 -1
- package/dist/routes/settings.js +26 -0
- package/dist/routes/settings.js.map +1 -1
- package/dist/routes/tools.d.ts +109 -24
- package/dist/routes/tools.js +5 -2
- 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 +95 -20
- package/dist/sse.js +4 -3
- package/dist/sse.js.map +1 -1
- package/dist/views.d.ts +872 -161
- package/dist/views.js +43 -20
- 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/routes/chat.d.ts
CHANGED
|
@@ -163,10 +163,6 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
163
163
|
}, z.core.$strip>>>;
|
|
164
164
|
assistant_name: z.ZodOptional<z.ZodString>;
|
|
165
165
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
166
|
-
compression_reference: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
167
|
-
text: z.ZodString;
|
|
168
|
-
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
169
|
-
}, z.core.$strip>>>;
|
|
170
166
|
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
171
167
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
172
168
|
session_id: z.ZodString;
|
|
@@ -176,16 +172,55 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
176
172
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
177
173
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
178
174
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
175
|
+
plan_gauge: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
176
|
+
id: z.ZodString;
|
|
177
|
+
label: z.ZodString;
|
|
178
|
+
used_bp: z.ZodNumber;
|
|
179
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
180
|
+
}, z.core.$strip>>>;
|
|
181
|
+
show_reasoning: z.ZodOptional<z.ZodBoolean>;
|
|
179
182
|
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
180
|
-
running: "running";
|
|
181
|
-
cancelled: "cancelled";
|
|
182
183
|
stale: "stale";
|
|
184
|
+
running: "running";
|
|
183
185
|
failed: "failed";
|
|
186
|
+
cancelled: "cancelled";
|
|
184
187
|
completed: "completed";
|
|
185
188
|
starting: "starting";
|
|
186
189
|
waiting_for_approval: "waiting_for_approval";
|
|
187
190
|
waiting_for_input: "waiting_for_input";
|
|
188
191
|
}>>;
|
|
192
|
+
todo_state: z.ZodOptional<z.ZodObject<{
|
|
193
|
+
display_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
194
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
195
|
+
text: z.ZodString;
|
|
196
|
+
state: z.ZodEnum<{
|
|
197
|
+
pending: "pending";
|
|
198
|
+
cancelled: "cancelled";
|
|
199
|
+
completed: "completed";
|
|
200
|
+
in_progress: "in_progress";
|
|
201
|
+
}>;
|
|
202
|
+
}, z.core.$strip>>>;
|
|
203
|
+
total_count: z.ZodOptional<z.ZodNumber>;
|
|
204
|
+
completed_count: z.ZodOptional<z.ZodNumber>;
|
|
205
|
+
pending_count: z.ZodOptional<z.ZodNumber>;
|
|
206
|
+
in_progress_count: z.ZodOptional<z.ZodNumber>;
|
|
207
|
+
cancelled_count: z.ZodOptional<z.ZodNumber>;
|
|
208
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
209
|
+
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
210
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
211
|
+
text: z.ZodOptional<z.ZodString>;
|
|
212
|
+
content: z.ZodOptional<z.ZodString>;
|
|
213
|
+
title: z.ZodOptional<z.ZodString>;
|
|
214
|
+
status: z.ZodOptional<z.ZodString>;
|
|
215
|
+
done: z.ZodOptional<z.ZodBoolean>;
|
|
216
|
+
completed: z.ZodOptional<z.ZodBoolean>;
|
|
217
|
+
}, z.core.$loose>>>;
|
|
218
|
+
summary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
219
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
220
|
+
ts: z.ZodOptional<z.ZodNumber>;
|
|
221
|
+
source: z.ZodOptional<z.ZodString>;
|
|
222
|
+
description: z.ZodOptional<z.ZodString>;
|
|
223
|
+
}, z.core.$loose>>;
|
|
189
224
|
source_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
190
225
|
session_id: z.ZodString;
|
|
191
226
|
tip_session_id: z.ZodString;
|
|
@@ -268,6 +303,7 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
268
303
|
}, z.core.$strip>>;
|
|
269
304
|
}, z.core.$strip>>;
|
|
270
305
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
306
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
271
307
|
filename: z.ZodOptional<z.ZodString>;
|
|
272
308
|
name: z.ZodOptional<z.ZodString>;
|
|
273
309
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -314,8 +350,8 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
314
350
|
unknown: "unknown";
|
|
315
351
|
memory: "memory";
|
|
316
352
|
shell: "shell";
|
|
317
|
-
read: "read";
|
|
318
353
|
list: "list";
|
|
354
|
+
read: "read";
|
|
319
355
|
search: "search";
|
|
320
356
|
web: "web";
|
|
321
357
|
write: "write";
|
|
@@ -380,9 +416,9 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
380
416
|
kind: z.ZodEnum<{
|
|
381
417
|
file: "file";
|
|
382
418
|
image: "image";
|
|
419
|
+
pdf: "pdf";
|
|
383
420
|
audio: "audio";
|
|
384
421
|
video: "video";
|
|
385
|
-
pdf: "pdf";
|
|
386
422
|
}>;
|
|
387
423
|
}, z.core.$strip>>>;
|
|
388
424
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -409,8 +445,8 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
409
445
|
status: z.ZodEnum<{
|
|
410
446
|
unknown: "unknown";
|
|
411
447
|
running: "running";
|
|
412
|
-
cancelled: "cancelled";
|
|
413
448
|
failed: "failed";
|
|
449
|
+
cancelled: "cancelled";
|
|
414
450
|
completed: "completed";
|
|
415
451
|
attention: "attention";
|
|
416
452
|
}>;
|
|
@@ -431,8 +467,8 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
431
467
|
unknown: "unknown";
|
|
432
468
|
memory: "memory";
|
|
433
469
|
shell: "shell";
|
|
434
|
-
read: "read";
|
|
435
470
|
list: "list";
|
|
471
|
+
read: "read";
|
|
436
472
|
search: "search";
|
|
437
473
|
web: "web";
|
|
438
474
|
write: "write";
|
|
@@ -487,9 +523,9 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
487
523
|
kind: z.ZodEnum<{
|
|
488
524
|
file: "file";
|
|
489
525
|
image: "image";
|
|
526
|
+
pdf: "pdf";
|
|
490
527
|
audio: "audio";
|
|
491
528
|
video: "video";
|
|
492
|
-
pdf: "pdf";
|
|
493
529
|
}>;
|
|
494
530
|
}, z.core.$strip>>>;
|
|
495
531
|
terminal_state: z.ZodOptional<z.ZodString>;
|
|
@@ -535,9 +571,9 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
535
571
|
kind: z.ZodEnum<{
|
|
536
572
|
file: "file";
|
|
537
573
|
image: "image";
|
|
574
|
+
pdf: "pdf";
|
|
538
575
|
audio: "audio";
|
|
539
576
|
video: "video";
|
|
540
|
-
pdf: "pdf";
|
|
541
577
|
}>;
|
|
542
578
|
}, z.core.$strip>>>;
|
|
543
579
|
_background_update: z.ZodOptional<z.ZodObject<{
|
|
@@ -552,9 +588,9 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
552
588
|
summary: z.ZodString;
|
|
553
589
|
lines: z.ZodArray<z.ZodObject<{
|
|
554
590
|
kind: z.ZodEnum<{
|
|
555
|
-
command: "command";
|
|
556
591
|
agent: "agent";
|
|
557
592
|
other: "other";
|
|
593
|
+
command: "command";
|
|
558
594
|
}>;
|
|
559
595
|
status: z.ZodEnum<{
|
|
560
596
|
failed: "failed";
|
|
@@ -642,8 +678,8 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
642
678
|
unknown: "unknown";
|
|
643
679
|
memory: "memory";
|
|
644
680
|
shell: "shell";
|
|
645
|
-
read: "read";
|
|
646
681
|
list: "list";
|
|
682
|
+
read: "read";
|
|
647
683
|
search: "search";
|
|
648
684
|
web: "web";
|
|
649
685
|
write: "write";
|
|
@@ -736,8 +772,8 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
736
772
|
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
737
773
|
key: z.ZodString;
|
|
738
774
|
level: z.ZodEnum<{
|
|
739
|
-
error: "error";
|
|
740
775
|
success: "success";
|
|
776
|
+
error: "error";
|
|
741
777
|
info: "info";
|
|
742
778
|
warn: "warn";
|
|
743
779
|
}>;
|
|
@@ -760,6 +796,7 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
760
796
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
761
797
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
762
798
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
799
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
763
800
|
filename: z.ZodOptional<z.ZodString>;
|
|
764
801
|
name: z.ZodOptional<z.ZodString>;
|
|
765
802
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -979,10 +1016,6 @@ export declare const chatContract: {
|
|
|
979
1016
|
}, z.core.$strip>>>;
|
|
980
1017
|
assistant_name: z.ZodOptional<z.ZodString>;
|
|
981
1018
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
982
|
-
compression_reference: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
983
|
-
text: z.ZodString;
|
|
984
|
-
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
985
|
-
}, z.core.$strip>>>;
|
|
986
1019
|
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
987
1020
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
988
1021
|
session_id: z.ZodString;
|
|
@@ -992,16 +1025,55 @@ export declare const chatContract: {
|
|
|
992
1025
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
993
1026
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
994
1027
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1028
|
+
plan_gauge: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1029
|
+
id: z.ZodString;
|
|
1030
|
+
label: z.ZodString;
|
|
1031
|
+
used_bp: z.ZodNumber;
|
|
1032
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
1033
|
+
}, z.core.$strip>>>;
|
|
1034
|
+
show_reasoning: z.ZodOptional<z.ZodBoolean>;
|
|
995
1035
|
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
996
|
-
running: "running";
|
|
997
|
-
cancelled: "cancelled";
|
|
998
1036
|
stale: "stale";
|
|
1037
|
+
running: "running";
|
|
999
1038
|
failed: "failed";
|
|
1039
|
+
cancelled: "cancelled";
|
|
1000
1040
|
completed: "completed";
|
|
1001
1041
|
starting: "starting";
|
|
1002
1042
|
waiting_for_approval: "waiting_for_approval";
|
|
1003
1043
|
waiting_for_input: "waiting_for_input";
|
|
1004
1044
|
}>>;
|
|
1045
|
+
todo_state: z.ZodOptional<z.ZodObject<{
|
|
1046
|
+
display_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1047
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1048
|
+
text: z.ZodString;
|
|
1049
|
+
state: z.ZodEnum<{
|
|
1050
|
+
pending: "pending";
|
|
1051
|
+
cancelled: "cancelled";
|
|
1052
|
+
completed: "completed";
|
|
1053
|
+
in_progress: "in_progress";
|
|
1054
|
+
}>;
|
|
1055
|
+
}, z.core.$strip>>>;
|
|
1056
|
+
total_count: z.ZodOptional<z.ZodNumber>;
|
|
1057
|
+
completed_count: z.ZodOptional<z.ZodNumber>;
|
|
1058
|
+
pending_count: z.ZodOptional<z.ZodNumber>;
|
|
1059
|
+
in_progress_count: z.ZodOptional<z.ZodNumber>;
|
|
1060
|
+
cancelled_count: z.ZodOptional<z.ZodNumber>;
|
|
1061
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
1062
|
+
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1063
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1064
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1065
|
+
content: z.ZodOptional<z.ZodString>;
|
|
1066
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1067
|
+
status: z.ZodOptional<z.ZodString>;
|
|
1068
|
+
done: z.ZodOptional<z.ZodBoolean>;
|
|
1069
|
+
completed: z.ZodOptional<z.ZodBoolean>;
|
|
1070
|
+
}, z.core.$loose>>>;
|
|
1071
|
+
summary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1072
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
1073
|
+
ts: z.ZodOptional<z.ZodNumber>;
|
|
1074
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1075
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1076
|
+
}, z.core.$loose>>;
|
|
1005
1077
|
source_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1006
1078
|
session_id: z.ZodString;
|
|
1007
1079
|
tip_session_id: z.ZodString;
|
|
@@ -1084,6 +1156,7 @@ export declare const chatContract: {
|
|
|
1084
1156
|
}, z.core.$strip>>;
|
|
1085
1157
|
}, z.core.$strip>>;
|
|
1086
1158
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1159
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
1087
1160
|
filename: z.ZodOptional<z.ZodString>;
|
|
1088
1161
|
name: z.ZodOptional<z.ZodString>;
|
|
1089
1162
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -1130,8 +1203,8 @@ export declare const chatContract: {
|
|
|
1130
1203
|
unknown: "unknown";
|
|
1131
1204
|
memory: "memory";
|
|
1132
1205
|
shell: "shell";
|
|
1133
|
-
read: "read";
|
|
1134
1206
|
list: "list";
|
|
1207
|
+
read: "read";
|
|
1135
1208
|
search: "search";
|
|
1136
1209
|
web: "web";
|
|
1137
1210
|
write: "write";
|
|
@@ -1196,9 +1269,9 @@ export declare const chatContract: {
|
|
|
1196
1269
|
kind: z.ZodEnum<{
|
|
1197
1270
|
file: "file";
|
|
1198
1271
|
image: "image";
|
|
1272
|
+
pdf: "pdf";
|
|
1199
1273
|
audio: "audio";
|
|
1200
1274
|
video: "video";
|
|
1201
|
-
pdf: "pdf";
|
|
1202
1275
|
}>;
|
|
1203
1276
|
}, z.core.$strip>>>;
|
|
1204
1277
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -1225,8 +1298,8 @@ export declare const chatContract: {
|
|
|
1225
1298
|
status: z.ZodEnum<{
|
|
1226
1299
|
unknown: "unknown";
|
|
1227
1300
|
running: "running";
|
|
1228
|
-
cancelled: "cancelled";
|
|
1229
1301
|
failed: "failed";
|
|
1302
|
+
cancelled: "cancelled";
|
|
1230
1303
|
completed: "completed";
|
|
1231
1304
|
attention: "attention";
|
|
1232
1305
|
}>;
|
|
@@ -1247,8 +1320,8 @@ export declare const chatContract: {
|
|
|
1247
1320
|
unknown: "unknown";
|
|
1248
1321
|
memory: "memory";
|
|
1249
1322
|
shell: "shell";
|
|
1250
|
-
read: "read";
|
|
1251
1323
|
list: "list";
|
|
1324
|
+
read: "read";
|
|
1252
1325
|
search: "search";
|
|
1253
1326
|
web: "web";
|
|
1254
1327
|
write: "write";
|
|
@@ -1303,9 +1376,9 @@ export declare const chatContract: {
|
|
|
1303
1376
|
kind: z.ZodEnum<{
|
|
1304
1377
|
file: "file";
|
|
1305
1378
|
image: "image";
|
|
1379
|
+
pdf: "pdf";
|
|
1306
1380
|
audio: "audio";
|
|
1307
1381
|
video: "video";
|
|
1308
|
-
pdf: "pdf";
|
|
1309
1382
|
}>;
|
|
1310
1383
|
}, z.core.$strip>>>;
|
|
1311
1384
|
terminal_state: z.ZodOptional<z.ZodString>;
|
|
@@ -1351,9 +1424,9 @@ export declare const chatContract: {
|
|
|
1351
1424
|
kind: z.ZodEnum<{
|
|
1352
1425
|
file: "file";
|
|
1353
1426
|
image: "image";
|
|
1427
|
+
pdf: "pdf";
|
|
1354
1428
|
audio: "audio";
|
|
1355
1429
|
video: "video";
|
|
1356
|
-
pdf: "pdf";
|
|
1357
1430
|
}>;
|
|
1358
1431
|
}, z.core.$strip>>>;
|
|
1359
1432
|
_background_update: z.ZodOptional<z.ZodObject<{
|
|
@@ -1368,9 +1441,9 @@ export declare const chatContract: {
|
|
|
1368
1441
|
summary: z.ZodString;
|
|
1369
1442
|
lines: z.ZodArray<z.ZodObject<{
|
|
1370
1443
|
kind: z.ZodEnum<{
|
|
1371
|
-
command: "command";
|
|
1372
1444
|
agent: "agent";
|
|
1373
1445
|
other: "other";
|
|
1446
|
+
command: "command";
|
|
1374
1447
|
}>;
|
|
1375
1448
|
status: z.ZodEnum<{
|
|
1376
1449
|
failed: "failed";
|
|
@@ -1458,8 +1531,8 @@ export declare const chatContract: {
|
|
|
1458
1531
|
unknown: "unknown";
|
|
1459
1532
|
memory: "memory";
|
|
1460
1533
|
shell: "shell";
|
|
1461
|
-
read: "read";
|
|
1462
1534
|
list: "list";
|
|
1535
|
+
read: "read";
|
|
1463
1536
|
search: "search";
|
|
1464
1537
|
web: "web";
|
|
1465
1538
|
write: "write";
|
|
@@ -1552,8 +1625,8 @@ export declare const chatContract: {
|
|
|
1552
1625
|
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1553
1626
|
key: z.ZodString;
|
|
1554
1627
|
level: z.ZodEnum<{
|
|
1555
|
-
error: "error";
|
|
1556
1628
|
success: "success";
|
|
1629
|
+
error: "error";
|
|
1557
1630
|
info: "info";
|
|
1558
1631
|
warn: "warn";
|
|
1559
1632
|
}>;
|
|
@@ -1576,6 +1649,7 @@ export declare const chatContract: {
|
|
|
1576
1649
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
1577
1650
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1578
1651
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1652
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
1579
1653
|
filename: z.ZodOptional<z.ZodString>;
|
|
1580
1654
|
name: z.ZodOptional<z.ZodString>;
|
|
1581
1655
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -1750,10 +1824,6 @@ export declare const chatContract: {
|
|
|
1750
1824
|
}, z.core.$strip>>>;
|
|
1751
1825
|
assistant_name: z.ZodOptional<z.ZodString>;
|
|
1752
1826
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1753
|
-
compression_reference: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1754
|
-
text: z.ZodString;
|
|
1755
|
-
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
1756
|
-
}, z.core.$strip>>>;
|
|
1757
1827
|
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1758
1828
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1759
1829
|
session_id: z.ZodString;
|
|
@@ -1763,16 +1833,55 @@ export declare const chatContract: {
|
|
|
1763
1833
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1764
1834
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1765
1835
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1836
|
+
plan_gauge: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1837
|
+
id: z.ZodString;
|
|
1838
|
+
label: z.ZodString;
|
|
1839
|
+
used_bp: z.ZodNumber;
|
|
1840
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
1841
|
+
}, z.core.$strip>>>;
|
|
1842
|
+
show_reasoning: z.ZodOptional<z.ZodBoolean>;
|
|
1766
1843
|
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
1767
|
-
running: "running";
|
|
1768
|
-
cancelled: "cancelled";
|
|
1769
1844
|
stale: "stale";
|
|
1845
|
+
running: "running";
|
|
1770
1846
|
failed: "failed";
|
|
1847
|
+
cancelled: "cancelled";
|
|
1771
1848
|
completed: "completed";
|
|
1772
1849
|
starting: "starting";
|
|
1773
1850
|
waiting_for_approval: "waiting_for_approval";
|
|
1774
1851
|
waiting_for_input: "waiting_for_input";
|
|
1775
1852
|
}>>;
|
|
1853
|
+
todo_state: z.ZodOptional<z.ZodObject<{
|
|
1854
|
+
display_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1855
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1856
|
+
text: z.ZodString;
|
|
1857
|
+
state: z.ZodEnum<{
|
|
1858
|
+
pending: "pending";
|
|
1859
|
+
cancelled: "cancelled";
|
|
1860
|
+
completed: "completed";
|
|
1861
|
+
in_progress: "in_progress";
|
|
1862
|
+
}>;
|
|
1863
|
+
}, z.core.$strip>>>;
|
|
1864
|
+
total_count: z.ZodOptional<z.ZodNumber>;
|
|
1865
|
+
completed_count: z.ZodOptional<z.ZodNumber>;
|
|
1866
|
+
pending_count: z.ZodOptional<z.ZodNumber>;
|
|
1867
|
+
in_progress_count: z.ZodOptional<z.ZodNumber>;
|
|
1868
|
+
cancelled_count: z.ZodOptional<z.ZodNumber>;
|
|
1869
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
1870
|
+
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1871
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1872
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1873
|
+
content: z.ZodOptional<z.ZodString>;
|
|
1874
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1875
|
+
status: z.ZodOptional<z.ZodString>;
|
|
1876
|
+
done: z.ZodOptional<z.ZodBoolean>;
|
|
1877
|
+
completed: z.ZodOptional<z.ZodBoolean>;
|
|
1878
|
+
}, z.core.$loose>>>;
|
|
1879
|
+
summary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1880
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
1881
|
+
ts: z.ZodOptional<z.ZodNumber>;
|
|
1882
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1883
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1884
|
+
}, z.core.$loose>>;
|
|
1776
1885
|
source_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1777
1886
|
session_id: z.ZodString;
|
|
1778
1887
|
tip_session_id: z.ZodString;
|
|
@@ -1855,6 +1964,7 @@ export declare const chatContract: {
|
|
|
1855
1964
|
}, z.core.$strip>>;
|
|
1856
1965
|
}, z.core.$strip>>;
|
|
1857
1966
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1967
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
1858
1968
|
filename: z.ZodOptional<z.ZodString>;
|
|
1859
1969
|
name: z.ZodOptional<z.ZodString>;
|
|
1860
1970
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -1901,8 +2011,8 @@ export declare const chatContract: {
|
|
|
1901
2011
|
unknown: "unknown";
|
|
1902
2012
|
memory: "memory";
|
|
1903
2013
|
shell: "shell";
|
|
1904
|
-
read: "read";
|
|
1905
2014
|
list: "list";
|
|
2015
|
+
read: "read";
|
|
1906
2016
|
search: "search";
|
|
1907
2017
|
web: "web";
|
|
1908
2018
|
write: "write";
|
|
@@ -1967,9 +2077,9 @@ export declare const chatContract: {
|
|
|
1967
2077
|
kind: z.ZodEnum<{
|
|
1968
2078
|
file: "file";
|
|
1969
2079
|
image: "image";
|
|
2080
|
+
pdf: "pdf";
|
|
1970
2081
|
audio: "audio";
|
|
1971
2082
|
video: "video";
|
|
1972
|
-
pdf: "pdf";
|
|
1973
2083
|
}>;
|
|
1974
2084
|
}, z.core.$strip>>>;
|
|
1975
2085
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -1996,8 +2106,8 @@ export declare const chatContract: {
|
|
|
1996
2106
|
status: z.ZodEnum<{
|
|
1997
2107
|
unknown: "unknown";
|
|
1998
2108
|
running: "running";
|
|
1999
|
-
cancelled: "cancelled";
|
|
2000
2109
|
failed: "failed";
|
|
2110
|
+
cancelled: "cancelled";
|
|
2001
2111
|
completed: "completed";
|
|
2002
2112
|
attention: "attention";
|
|
2003
2113
|
}>;
|
|
@@ -2018,8 +2128,8 @@ export declare const chatContract: {
|
|
|
2018
2128
|
unknown: "unknown";
|
|
2019
2129
|
memory: "memory";
|
|
2020
2130
|
shell: "shell";
|
|
2021
|
-
read: "read";
|
|
2022
2131
|
list: "list";
|
|
2132
|
+
read: "read";
|
|
2023
2133
|
search: "search";
|
|
2024
2134
|
web: "web";
|
|
2025
2135
|
write: "write";
|
|
@@ -2074,9 +2184,9 @@ export declare const chatContract: {
|
|
|
2074
2184
|
kind: z.ZodEnum<{
|
|
2075
2185
|
file: "file";
|
|
2076
2186
|
image: "image";
|
|
2187
|
+
pdf: "pdf";
|
|
2077
2188
|
audio: "audio";
|
|
2078
2189
|
video: "video";
|
|
2079
|
-
pdf: "pdf";
|
|
2080
2190
|
}>;
|
|
2081
2191
|
}, z.core.$strip>>>;
|
|
2082
2192
|
terminal_state: z.ZodOptional<z.ZodString>;
|
|
@@ -2122,9 +2232,9 @@ export declare const chatContract: {
|
|
|
2122
2232
|
kind: z.ZodEnum<{
|
|
2123
2233
|
file: "file";
|
|
2124
2234
|
image: "image";
|
|
2235
|
+
pdf: "pdf";
|
|
2125
2236
|
audio: "audio";
|
|
2126
2237
|
video: "video";
|
|
2127
|
-
pdf: "pdf";
|
|
2128
2238
|
}>;
|
|
2129
2239
|
}, z.core.$strip>>>;
|
|
2130
2240
|
_background_update: z.ZodOptional<z.ZodObject<{
|
|
@@ -2139,9 +2249,9 @@ export declare const chatContract: {
|
|
|
2139
2249
|
summary: z.ZodString;
|
|
2140
2250
|
lines: z.ZodArray<z.ZodObject<{
|
|
2141
2251
|
kind: z.ZodEnum<{
|
|
2142
|
-
command: "command";
|
|
2143
2252
|
agent: "agent";
|
|
2144
2253
|
other: "other";
|
|
2254
|
+
command: "command";
|
|
2145
2255
|
}>;
|
|
2146
2256
|
status: z.ZodEnum<{
|
|
2147
2257
|
failed: "failed";
|
|
@@ -2229,8 +2339,8 @@ export declare const chatContract: {
|
|
|
2229
2339
|
unknown: "unknown";
|
|
2230
2340
|
memory: "memory";
|
|
2231
2341
|
shell: "shell";
|
|
2232
|
-
read: "read";
|
|
2233
2342
|
list: "list";
|
|
2343
|
+
read: "read";
|
|
2234
2344
|
search: "search";
|
|
2235
2345
|
web: "web";
|
|
2236
2346
|
write: "write";
|
|
@@ -2323,8 +2433,8 @@ export declare const chatContract: {
|
|
|
2323
2433
|
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2324
2434
|
key: z.ZodString;
|
|
2325
2435
|
level: z.ZodEnum<{
|
|
2326
|
-
error: "error";
|
|
2327
2436
|
success: "success";
|
|
2437
|
+
error: "error";
|
|
2328
2438
|
info: "info";
|
|
2329
2439
|
warn: "warn";
|
|
2330
2440
|
}>;
|
|
@@ -2347,6 +2457,7 @@ export declare const chatContract: {
|
|
|
2347
2457
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
2348
2458
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2349
2459
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2460
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
2350
2461
|
filename: z.ZodOptional<z.ZodString>;
|
|
2351
2462
|
name: z.ZodOptional<z.ZodString>;
|
|
2352
2463
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -2378,6 +2489,7 @@ export declare const chatContract: {
|
|
|
2378
2489
|
profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2379
2490
|
explicit_model_pick: z.ZodOptional<z.ZodBoolean>;
|
|
2380
2491
|
attachments: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
2492
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
2381
2493
|
filename: z.ZodOptional<z.ZodString>;
|
|
2382
2494
|
name: z.ZodOptional<z.ZodString>;
|
|
2383
2495
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -2608,10 +2720,6 @@ export declare const chatContract: {
|
|
|
2608
2720
|
}, z.core.$strip>>>;
|
|
2609
2721
|
assistant_name: z.ZodOptional<z.ZodString>;
|
|
2610
2722
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2611
|
-
compression_reference: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2612
|
-
text: z.ZodString;
|
|
2613
|
-
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
2614
|
-
}, z.core.$strip>>>;
|
|
2615
2723
|
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2616
2724
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2617
2725
|
session_id: z.ZodString;
|
|
@@ -2621,16 +2729,55 @@ export declare const chatContract: {
|
|
|
2621
2729
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2622
2730
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2623
2731
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2732
|
+
plan_gauge: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2733
|
+
id: z.ZodString;
|
|
2734
|
+
label: z.ZodString;
|
|
2735
|
+
used_bp: z.ZodNumber;
|
|
2736
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
2737
|
+
}, z.core.$strip>>>;
|
|
2738
|
+
show_reasoning: z.ZodOptional<z.ZodBoolean>;
|
|
2624
2739
|
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
2625
|
-
running: "running";
|
|
2626
|
-
cancelled: "cancelled";
|
|
2627
2740
|
stale: "stale";
|
|
2741
|
+
running: "running";
|
|
2628
2742
|
failed: "failed";
|
|
2743
|
+
cancelled: "cancelled";
|
|
2629
2744
|
completed: "completed";
|
|
2630
2745
|
starting: "starting";
|
|
2631
2746
|
waiting_for_approval: "waiting_for_approval";
|
|
2632
2747
|
waiting_for_input: "waiting_for_input";
|
|
2633
2748
|
}>>;
|
|
2749
|
+
todo_state: z.ZodOptional<z.ZodObject<{
|
|
2750
|
+
display_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2751
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
2752
|
+
text: z.ZodString;
|
|
2753
|
+
state: z.ZodEnum<{
|
|
2754
|
+
pending: "pending";
|
|
2755
|
+
cancelled: "cancelled";
|
|
2756
|
+
completed: "completed";
|
|
2757
|
+
in_progress: "in_progress";
|
|
2758
|
+
}>;
|
|
2759
|
+
}, z.core.$strip>>>;
|
|
2760
|
+
total_count: z.ZodOptional<z.ZodNumber>;
|
|
2761
|
+
completed_count: z.ZodOptional<z.ZodNumber>;
|
|
2762
|
+
pending_count: z.ZodOptional<z.ZodNumber>;
|
|
2763
|
+
in_progress_count: z.ZodOptional<z.ZodNumber>;
|
|
2764
|
+
cancelled_count: z.ZodOptional<z.ZodNumber>;
|
|
2765
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
2766
|
+
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2767
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
2768
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2769
|
+
content: z.ZodOptional<z.ZodString>;
|
|
2770
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2771
|
+
status: z.ZodOptional<z.ZodString>;
|
|
2772
|
+
done: z.ZodOptional<z.ZodBoolean>;
|
|
2773
|
+
completed: z.ZodOptional<z.ZodBoolean>;
|
|
2774
|
+
}, z.core.$loose>>>;
|
|
2775
|
+
summary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2776
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
2777
|
+
ts: z.ZodOptional<z.ZodNumber>;
|
|
2778
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2779
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2780
|
+
}, z.core.$loose>>;
|
|
2634
2781
|
source_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2635
2782
|
session_id: z.ZodString;
|
|
2636
2783
|
tip_session_id: z.ZodString;
|
|
@@ -2713,6 +2860,7 @@ export declare const chatContract: {
|
|
|
2713
2860
|
}, z.core.$strip>>;
|
|
2714
2861
|
}, z.core.$strip>>;
|
|
2715
2862
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2863
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
2716
2864
|
filename: z.ZodOptional<z.ZodString>;
|
|
2717
2865
|
name: z.ZodOptional<z.ZodString>;
|
|
2718
2866
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -2759,8 +2907,8 @@ export declare const chatContract: {
|
|
|
2759
2907
|
unknown: "unknown";
|
|
2760
2908
|
memory: "memory";
|
|
2761
2909
|
shell: "shell";
|
|
2762
|
-
read: "read";
|
|
2763
2910
|
list: "list";
|
|
2911
|
+
read: "read";
|
|
2764
2912
|
search: "search";
|
|
2765
2913
|
web: "web";
|
|
2766
2914
|
write: "write";
|
|
@@ -2825,9 +2973,9 @@ export declare const chatContract: {
|
|
|
2825
2973
|
kind: z.ZodEnum<{
|
|
2826
2974
|
file: "file";
|
|
2827
2975
|
image: "image";
|
|
2976
|
+
pdf: "pdf";
|
|
2828
2977
|
audio: "audio";
|
|
2829
2978
|
video: "video";
|
|
2830
|
-
pdf: "pdf";
|
|
2831
2979
|
}>;
|
|
2832
2980
|
}, z.core.$strip>>>;
|
|
2833
2981
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -2854,8 +3002,8 @@ export declare const chatContract: {
|
|
|
2854
3002
|
status: z.ZodEnum<{
|
|
2855
3003
|
unknown: "unknown";
|
|
2856
3004
|
running: "running";
|
|
2857
|
-
cancelled: "cancelled";
|
|
2858
3005
|
failed: "failed";
|
|
3006
|
+
cancelled: "cancelled";
|
|
2859
3007
|
completed: "completed";
|
|
2860
3008
|
attention: "attention";
|
|
2861
3009
|
}>;
|
|
@@ -2876,8 +3024,8 @@ export declare const chatContract: {
|
|
|
2876
3024
|
unknown: "unknown";
|
|
2877
3025
|
memory: "memory";
|
|
2878
3026
|
shell: "shell";
|
|
2879
|
-
read: "read";
|
|
2880
3027
|
list: "list";
|
|
3028
|
+
read: "read";
|
|
2881
3029
|
search: "search";
|
|
2882
3030
|
web: "web";
|
|
2883
3031
|
write: "write";
|
|
@@ -2932,9 +3080,9 @@ export declare const chatContract: {
|
|
|
2932
3080
|
kind: z.ZodEnum<{
|
|
2933
3081
|
file: "file";
|
|
2934
3082
|
image: "image";
|
|
3083
|
+
pdf: "pdf";
|
|
2935
3084
|
audio: "audio";
|
|
2936
3085
|
video: "video";
|
|
2937
|
-
pdf: "pdf";
|
|
2938
3086
|
}>;
|
|
2939
3087
|
}, z.core.$strip>>>;
|
|
2940
3088
|
terminal_state: z.ZodOptional<z.ZodString>;
|
|
@@ -2980,9 +3128,9 @@ export declare const chatContract: {
|
|
|
2980
3128
|
kind: z.ZodEnum<{
|
|
2981
3129
|
file: "file";
|
|
2982
3130
|
image: "image";
|
|
3131
|
+
pdf: "pdf";
|
|
2983
3132
|
audio: "audio";
|
|
2984
3133
|
video: "video";
|
|
2985
|
-
pdf: "pdf";
|
|
2986
3134
|
}>;
|
|
2987
3135
|
}, z.core.$strip>>>;
|
|
2988
3136
|
_background_update: z.ZodOptional<z.ZodObject<{
|
|
@@ -2997,9 +3145,9 @@ export declare const chatContract: {
|
|
|
2997
3145
|
summary: z.ZodString;
|
|
2998
3146
|
lines: z.ZodArray<z.ZodObject<{
|
|
2999
3147
|
kind: z.ZodEnum<{
|
|
3000
|
-
command: "command";
|
|
3001
3148
|
agent: "agent";
|
|
3002
3149
|
other: "other";
|
|
3150
|
+
command: "command";
|
|
3003
3151
|
}>;
|
|
3004
3152
|
status: z.ZodEnum<{
|
|
3005
3153
|
failed: "failed";
|
|
@@ -3087,8 +3235,8 @@ export declare const chatContract: {
|
|
|
3087
3235
|
unknown: "unknown";
|
|
3088
3236
|
memory: "memory";
|
|
3089
3237
|
shell: "shell";
|
|
3090
|
-
read: "read";
|
|
3091
3238
|
list: "list";
|
|
3239
|
+
read: "read";
|
|
3092
3240
|
search: "search";
|
|
3093
3241
|
web: "web";
|
|
3094
3242
|
write: "write";
|
|
@@ -3181,8 +3329,8 @@ export declare const chatContract: {
|
|
|
3181
3329
|
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3182
3330
|
key: z.ZodString;
|
|
3183
3331
|
level: z.ZodEnum<{
|
|
3184
|
-
error: "error";
|
|
3185
3332
|
success: "success";
|
|
3333
|
+
error: "error";
|
|
3186
3334
|
info: "info";
|
|
3187
3335
|
warn: "warn";
|
|
3188
3336
|
}>;
|
|
@@ -3205,6 +3353,7 @@ export declare const chatContract: {
|
|
|
3205
3353
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
3206
3354
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3207
3355
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3356
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
3208
3357
|
filename: z.ZodOptional<z.ZodString>;
|
|
3209
3358
|
name: z.ZodOptional<z.ZodString>;
|
|
3210
3359
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -3447,10 +3596,6 @@ export declare const chatContract: {
|
|
|
3447
3596
|
}, z.core.$strip>>>;
|
|
3448
3597
|
assistant_name: z.ZodOptional<z.ZodString>;
|
|
3449
3598
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3450
|
-
compression_reference: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3451
|
-
text: z.ZodString;
|
|
3452
|
-
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
3453
|
-
}, z.core.$strip>>>;
|
|
3454
3599
|
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3455
3600
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3456
3601
|
session_id: z.ZodString;
|
|
@@ -3460,16 +3605,55 @@ export declare const chatContract: {
|
|
|
3460
3605
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3461
3606
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3462
3607
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3608
|
+
plan_gauge: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3609
|
+
id: z.ZodString;
|
|
3610
|
+
label: z.ZodString;
|
|
3611
|
+
used_bp: z.ZodNumber;
|
|
3612
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
3613
|
+
}, z.core.$strip>>>;
|
|
3614
|
+
show_reasoning: z.ZodOptional<z.ZodBoolean>;
|
|
3463
3615
|
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
3464
|
-
running: "running";
|
|
3465
|
-
cancelled: "cancelled";
|
|
3466
3616
|
stale: "stale";
|
|
3617
|
+
running: "running";
|
|
3467
3618
|
failed: "failed";
|
|
3619
|
+
cancelled: "cancelled";
|
|
3468
3620
|
completed: "completed";
|
|
3469
3621
|
starting: "starting";
|
|
3470
3622
|
waiting_for_approval: "waiting_for_approval";
|
|
3471
3623
|
waiting_for_input: "waiting_for_input";
|
|
3472
3624
|
}>>;
|
|
3625
|
+
todo_state: z.ZodOptional<z.ZodObject<{
|
|
3626
|
+
display_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3627
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3628
|
+
text: z.ZodString;
|
|
3629
|
+
state: z.ZodEnum<{
|
|
3630
|
+
pending: "pending";
|
|
3631
|
+
cancelled: "cancelled";
|
|
3632
|
+
completed: "completed";
|
|
3633
|
+
in_progress: "in_progress";
|
|
3634
|
+
}>;
|
|
3635
|
+
}, z.core.$strip>>>;
|
|
3636
|
+
total_count: z.ZodOptional<z.ZodNumber>;
|
|
3637
|
+
completed_count: z.ZodOptional<z.ZodNumber>;
|
|
3638
|
+
pending_count: z.ZodOptional<z.ZodNumber>;
|
|
3639
|
+
in_progress_count: z.ZodOptional<z.ZodNumber>;
|
|
3640
|
+
cancelled_count: z.ZodOptional<z.ZodNumber>;
|
|
3641
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
3642
|
+
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3643
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3644
|
+
text: z.ZodOptional<z.ZodString>;
|
|
3645
|
+
content: z.ZodOptional<z.ZodString>;
|
|
3646
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3647
|
+
status: z.ZodOptional<z.ZodString>;
|
|
3648
|
+
done: z.ZodOptional<z.ZodBoolean>;
|
|
3649
|
+
completed: z.ZodOptional<z.ZodBoolean>;
|
|
3650
|
+
}, z.core.$loose>>>;
|
|
3651
|
+
summary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3652
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
3653
|
+
ts: z.ZodOptional<z.ZodNumber>;
|
|
3654
|
+
source: z.ZodOptional<z.ZodString>;
|
|
3655
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3656
|
+
}, z.core.$loose>>;
|
|
3473
3657
|
source_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3474
3658
|
session_id: z.ZodString;
|
|
3475
3659
|
tip_session_id: z.ZodString;
|
|
@@ -3552,6 +3736,7 @@ export declare const chatContract: {
|
|
|
3552
3736
|
}, z.core.$strip>>;
|
|
3553
3737
|
}, z.core.$strip>>;
|
|
3554
3738
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3739
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
3555
3740
|
filename: z.ZodOptional<z.ZodString>;
|
|
3556
3741
|
name: z.ZodOptional<z.ZodString>;
|
|
3557
3742
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -3598,8 +3783,8 @@ export declare const chatContract: {
|
|
|
3598
3783
|
unknown: "unknown";
|
|
3599
3784
|
memory: "memory";
|
|
3600
3785
|
shell: "shell";
|
|
3601
|
-
read: "read";
|
|
3602
3786
|
list: "list";
|
|
3787
|
+
read: "read";
|
|
3603
3788
|
search: "search";
|
|
3604
3789
|
web: "web";
|
|
3605
3790
|
write: "write";
|
|
@@ -3664,9 +3849,9 @@ export declare const chatContract: {
|
|
|
3664
3849
|
kind: z.ZodEnum<{
|
|
3665
3850
|
file: "file";
|
|
3666
3851
|
image: "image";
|
|
3852
|
+
pdf: "pdf";
|
|
3667
3853
|
audio: "audio";
|
|
3668
3854
|
video: "video";
|
|
3669
|
-
pdf: "pdf";
|
|
3670
3855
|
}>;
|
|
3671
3856
|
}, z.core.$strip>>>;
|
|
3672
3857
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -3693,8 +3878,8 @@ export declare const chatContract: {
|
|
|
3693
3878
|
status: z.ZodEnum<{
|
|
3694
3879
|
unknown: "unknown";
|
|
3695
3880
|
running: "running";
|
|
3696
|
-
cancelled: "cancelled";
|
|
3697
3881
|
failed: "failed";
|
|
3882
|
+
cancelled: "cancelled";
|
|
3698
3883
|
completed: "completed";
|
|
3699
3884
|
attention: "attention";
|
|
3700
3885
|
}>;
|
|
@@ -3715,8 +3900,8 @@ export declare const chatContract: {
|
|
|
3715
3900
|
unknown: "unknown";
|
|
3716
3901
|
memory: "memory";
|
|
3717
3902
|
shell: "shell";
|
|
3718
|
-
read: "read";
|
|
3719
3903
|
list: "list";
|
|
3904
|
+
read: "read";
|
|
3720
3905
|
search: "search";
|
|
3721
3906
|
web: "web";
|
|
3722
3907
|
write: "write";
|
|
@@ -3771,9 +3956,9 @@ export declare const chatContract: {
|
|
|
3771
3956
|
kind: z.ZodEnum<{
|
|
3772
3957
|
file: "file";
|
|
3773
3958
|
image: "image";
|
|
3959
|
+
pdf: "pdf";
|
|
3774
3960
|
audio: "audio";
|
|
3775
3961
|
video: "video";
|
|
3776
|
-
pdf: "pdf";
|
|
3777
3962
|
}>;
|
|
3778
3963
|
}, z.core.$strip>>>;
|
|
3779
3964
|
terminal_state: z.ZodOptional<z.ZodString>;
|
|
@@ -3819,9 +4004,9 @@ export declare const chatContract: {
|
|
|
3819
4004
|
kind: z.ZodEnum<{
|
|
3820
4005
|
file: "file";
|
|
3821
4006
|
image: "image";
|
|
4007
|
+
pdf: "pdf";
|
|
3822
4008
|
audio: "audio";
|
|
3823
4009
|
video: "video";
|
|
3824
|
-
pdf: "pdf";
|
|
3825
4010
|
}>;
|
|
3826
4011
|
}, z.core.$strip>>>;
|
|
3827
4012
|
_background_update: z.ZodOptional<z.ZodObject<{
|
|
@@ -3836,9 +4021,9 @@ export declare const chatContract: {
|
|
|
3836
4021
|
summary: z.ZodString;
|
|
3837
4022
|
lines: z.ZodArray<z.ZodObject<{
|
|
3838
4023
|
kind: z.ZodEnum<{
|
|
3839
|
-
command: "command";
|
|
3840
4024
|
agent: "agent";
|
|
3841
4025
|
other: "other";
|
|
4026
|
+
command: "command";
|
|
3842
4027
|
}>;
|
|
3843
4028
|
status: z.ZodEnum<{
|
|
3844
4029
|
failed: "failed";
|
|
@@ -3926,8 +4111,8 @@ export declare const chatContract: {
|
|
|
3926
4111
|
unknown: "unknown";
|
|
3927
4112
|
memory: "memory";
|
|
3928
4113
|
shell: "shell";
|
|
3929
|
-
read: "read";
|
|
3930
4114
|
list: "list";
|
|
4115
|
+
read: "read";
|
|
3931
4116
|
search: "search";
|
|
3932
4117
|
web: "web";
|
|
3933
4118
|
write: "write";
|
|
@@ -4020,8 +4205,8 @@ export declare const chatContract: {
|
|
|
4020
4205
|
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4021
4206
|
key: z.ZodString;
|
|
4022
4207
|
level: z.ZodEnum<{
|
|
4023
|
-
error: "error";
|
|
4024
4208
|
success: "success";
|
|
4209
|
+
error: "error";
|
|
4025
4210
|
info: "info";
|
|
4026
4211
|
warn: "warn";
|
|
4027
4212
|
}>;
|
|
@@ -4044,6 +4229,7 @@ export declare const chatContract: {
|
|
|
4044
4229
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
4045
4230
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4046
4231
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4232
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
4047
4233
|
filename: z.ZodOptional<z.ZodString>;
|
|
4048
4234
|
name: z.ZodOptional<z.ZodString>;
|
|
4049
4235
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -4089,10 +4275,10 @@ export declare const chatContract: {
|
|
|
4089
4275
|
stream_id: z.ZodOptional<z.ZodString>;
|
|
4090
4276
|
}, z.core.$strip>, z.ZodObject<{
|
|
4091
4277
|
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
4092
|
-
running: "running";
|
|
4093
|
-
cancelled: "cancelled";
|
|
4094
4278
|
stale: "stale";
|
|
4279
|
+
running: "running";
|
|
4095
4280
|
failed: "failed";
|
|
4281
|
+
cancelled: "cancelled";
|
|
4096
4282
|
completed: "completed";
|
|
4097
4283
|
starting: "starting";
|
|
4098
4284
|
waiting_for_approval: "waiting_for_approval";
|
|
@@ -4117,10 +4303,10 @@ export declare const chatContract: {
|
|
|
4117
4303
|
stream_id: z.ZodOptional<z.ZodString>;
|
|
4118
4304
|
}, z.core.$strip>, z.ZodObject<{
|
|
4119
4305
|
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
4120
|
-
running: "running";
|
|
4121
|
-
cancelled: "cancelled";
|
|
4122
4306
|
stale: "stale";
|
|
4307
|
+
running: "running";
|
|
4123
4308
|
failed: "failed";
|
|
4309
|
+
cancelled: "cancelled";
|
|
4124
4310
|
completed: "completed";
|
|
4125
4311
|
starting: "starting";
|
|
4126
4312
|
waiting_for_approval: "waiting_for_approval";
|
|
@@ -4305,10 +4491,10 @@ export declare const chatContract: {
|
|
|
4305
4491
|
}>>;
|
|
4306
4492
|
}, z.core.$strip>, z.ZodObject<{
|
|
4307
4493
|
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
4308
|
-
running: "running";
|
|
4309
|
-
cancelled: "cancelled";
|
|
4310
4494
|
stale: "stale";
|
|
4495
|
+
running: "running";
|
|
4311
4496
|
failed: "failed";
|
|
4497
|
+
cancelled: "cancelled";
|
|
4312
4498
|
completed: "completed";
|
|
4313
4499
|
starting: "starting";
|
|
4314
4500
|
waiting_for_approval: "waiting_for_approval";
|
|
@@ -4325,8 +4511,8 @@ export declare const chatContract: {
|
|
|
4325
4511
|
status: z.ZodEnum<{
|
|
4326
4512
|
unknown: "unknown";
|
|
4327
4513
|
running: "running";
|
|
4328
|
-
cancelled: "cancelled";
|
|
4329
4514
|
failed: "failed";
|
|
4515
|
+
cancelled: "cancelled";
|
|
4330
4516
|
completed: "completed";
|
|
4331
4517
|
attention: "attention";
|
|
4332
4518
|
}>;
|
|
@@ -4386,8 +4572,8 @@ export declare const chatContract: {
|
|
|
4386
4572
|
status: z.ZodEnum<{
|
|
4387
4573
|
unknown: "unknown";
|
|
4388
4574
|
running: "running";
|
|
4389
|
-
cancelled: "cancelled";
|
|
4390
4575
|
failed: "failed";
|
|
4576
|
+
cancelled: "cancelled";
|
|
4391
4577
|
completed: "completed";
|
|
4392
4578
|
attention: "attention";
|
|
4393
4579
|
}>;
|