@maudecode/talaria-web-contracts 1.20.0 → 1.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-imports.d.ts +42 -0
- package/dist/agent-imports.js +11 -0
- package/dist/agent-imports.js.map +1 -0
- package/dist/checkpoint.d.ts +78 -0
- package/dist/checkpoint.js +16 -0
- package/dist/checkpoint.js.map +1 -0
- package/dist/context-detail.d.ts +3 -3
- package/dist/delegation.d.ts +206 -0
- package/dist/delegation.js +32 -0
- package/dist/delegation.js.map +1 -0
- package/dist/gateway-session.d.ts +183 -6
- package/dist/gateway-session.js +28 -2
- package/dist/gateway-session.js.map +1 -1
- package/dist/groups-native.d.ts +427 -0
- package/dist/groups-native.js +40 -0
- package/dist/groups-native.js.map +1 -0
- package/dist/groups.d.ts +1545 -0
- package/dist/groups.js +12 -0
- package/dist/groups.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-cost-policy.d.ts +110 -0
- package/dist/mcp-cost-policy.js +24 -0
- package/dist/mcp-cost-policy.js.map +1 -0
- package/dist/openapi.js +4 -0
- package/dist/openapi.js.map +1 -1
- package/dist/outbound-drafts.d.ts +114 -0
- package/dist/outbound-drafts.js +20 -0
- package/dist/outbound-drafts.js.map +1 -0
- package/dist/plan-usage.d.ts +92 -0
- package/dist/plan-usage.js +20 -0
- package/dist/plan-usage.js.map +1 -0
- package/dist/prompt-queue.d.ts +96 -0
- package/dist/prompt-queue.js +19 -0
- package/dist/prompt-queue.js.map +1 -0
- package/dist/router.d.ts +13 -17691
- package/dist/router.js +4 -1
- package/dist/router.js.map +1 -1
- package/dist/routes/automation.d.ts +335 -16
- package/dist/routes/automation.js +16 -2
- package/dist/routes/automation.js.map +1 -1
- package/dist/routes/chat.d.ts +756 -83
- package/dist/routes/core.d.ts +2 -2
- package/dist/routes/git.d.ts +50 -0
- package/dist/routes/git.js +3 -2
- package/dist/routes/git.js.map +1 -1
- package/dist/routes/groups.d.ts +860 -0
- package/dist/routes/groups.js +13 -0
- package/dist/routes/groups.js.map +1 -0
- package/dist/routes/raw.js +13 -3
- package/dist/routes/raw.js.map +1 -1
- package/dist/routes/sessions.d.ts +2055 -214
- package/dist/routes/sessions.js +5 -0
- package/dist/routes/sessions.js.map +1 -1
- package/dist/routes/settings.d.ts +949 -1
- package/dist/routes/settings.js +26 -0
- package/dist/routes/settings.js.map +1 -1
- package/dist/routes/tools.d.ts +640 -51
- package/dist/routes/tools.js +24 -3
- package/dist/routes/tools.js.map +1 -1
- package/dist/routes/workspaces.d.ts +47 -2
- package/dist/routes/workspaces.js +5 -4
- package/dist/routes/workspaces.js.map +1 -1
- package/dist/sidecar/methods.d.ts +827 -29
- package/dist/sidecar/methods.js +3 -1
- package/dist/sidecar/methods.js.map +1 -1
- package/dist/sidecar/namespaces.d.ts +941 -42
- package/dist/sidecar/namespaces.js +66 -6
- package/dist/sidecar/namespaces.js.map +1 -1
- package/dist/sidecar/rpc.d.ts +3 -3
- package/dist/sidecar/runtime.d.ts +43 -0
- package/dist/sidecar/runtime.js +12 -2
- package/dist/sidecar/runtime.js.map +1 -1
- package/dist/sidecar/version.d.ts +1 -1
- package/dist/sidecar/version.js +1 -1
- package/dist/sse.d.ts +219 -26
- package/dist/sse.js +11 -5
- package/dist/sse.js.map +1 -1
- package/dist/views.d.ts +1916 -175
- package/dist/views.js +100 -35
- package/dist/views.js.map +1 -1
- package/fixtures/sidecar/agent-imports.json +6 -0
- package/fixtures/sidecar/aux.json +58 -0
- package/fixtures/sidecar/connectors.json +29 -0
- package/fixtures/sidecar/gateway.json +45 -0
- package/fixtures/sidecar/groups.json +18 -0
- package/fixtures/sidecar/kanban.json +197 -0
- package/fixtures/sidecar/managed-buffers.json +16 -0
- package/fixtures/sidecar/mcp.json +12 -0
- package/fixtures/sidecar/outbound-drafts.json +1 -0
- package/fixtures/sidecar/providers.json +37 -1
- package/fixtures/sidecar/runtime.json +3 -3
- package/fixtures/sidecar/skills.json +19 -2
- package/fixtures/sidecar/tts.json +6 -0
- package/package.json +1 -1
package/dist/routes/chat.d.ts
CHANGED
|
@@ -163,10 +163,7 @@ 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
|
-
|
|
167
|
-
text: z.ZodString;
|
|
168
|
-
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
169
|
-
}, z.core.$strip>>>;
|
|
166
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
170
167
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
171
168
|
session_id: z.ZodString;
|
|
172
169
|
title: z.ZodString;
|
|
@@ -175,6 +172,61 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
175
172
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
176
173
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
177
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>;
|
|
182
|
+
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
183
|
+
stale: "stale";
|
|
184
|
+
running: "running";
|
|
185
|
+
failed: "failed";
|
|
186
|
+
cancelled: "cancelled";
|
|
187
|
+
completed: "completed";
|
|
188
|
+
starting: "starting";
|
|
189
|
+
waiting_for_approval: "waiting_for_approval";
|
|
190
|
+
waiting_for_input: "waiting_for_input";
|
|
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>>;
|
|
224
|
+
source_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
225
|
+
session_id: z.ZodString;
|
|
226
|
+
tip_session_id: z.ZodString;
|
|
227
|
+
profile: z.ZodString;
|
|
228
|
+
title: z.ZodString;
|
|
229
|
+
}, z.core.$strip>>>;
|
|
178
230
|
context_detail_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
179
231
|
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
180
232
|
session_id: z.ZodString;
|
|
@@ -193,7 +245,65 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
193
245
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
194
246
|
message_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
195
247
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
248
|
+
reaction_view: z.ZodOptional<z.ZodObject<{
|
|
249
|
+
row_id: z.ZodNumber;
|
|
250
|
+
state: z.ZodObject<{
|
|
251
|
+
items: z.ZodArray<z.ZodObject<{
|
|
252
|
+
emoji: z.ZodEnum<{
|
|
253
|
+
"\uD83D\uDC4D": "👍";
|
|
254
|
+
"\uD83D\uDC4E": "👎";
|
|
255
|
+
"\u2764\uFE0F": "❤️";
|
|
256
|
+
"\uD83D\uDE02": "😂";
|
|
257
|
+
"\uD83D\uDE2E": "😮";
|
|
258
|
+
"\uD83C\uDF89": "🎉";
|
|
259
|
+
}>;
|
|
260
|
+
count: z.ZodNumber;
|
|
261
|
+
mine: z.ZodBoolean;
|
|
262
|
+
}, z.core.$strip>>;
|
|
263
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
264
|
+
"\uD83D\uDC4D": "👍";
|
|
265
|
+
"\uD83D\uDC4E": "👎";
|
|
266
|
+
"\u2764\uFE0F": "❤️";
|
|
267
|
+
"\uD83D\uDE02": "😂";
|
|
268
|
+
"\uD83D\uDE2E": "😮";
|
|
269
|
+
"\uD83C\uDF89": "🎉";
|
|
270
|
+
}>>;
|
|
271
|
+
}, z.core.$strip>;
|
|
272
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
273
|
+
emoji: z.ZodNullable<z.ZodEnum<{
|
|
274
|
+
"\uD83D\uDC4D": "👍";
|
|
275
|
+
"\uD83D\uDC4E": "👎";
|
|
276
|
+
"\u2764\uFE0F": "❤️";
|
|
277
|
+
"\uD83D\uDE02": "😂";
|
|
278
|
+
"\uD83D\uDE2E": "😮";
|
|
279
|
+
"\uD83C\uDF89": "🎉";
|
|
280
|
+
}>>;
|
|
281
|
+
result: z.ZodObject<{
|
|
282
|
+
items: z.ZodArray<z.ZodObject<{
|
|
283
|
+
emoji: z.ZodEnum<{
|
|
284
|
+
"\uD83D\uDC4D": "👍";
|
|
285
|
+
"\uD83D\uDC4E": "👎";
|
|
286
|
+
"\u2764\uFE0F": "❤️";
|
|
287
|
+
"\uD83D\uDE02": "😂";
|
|
288
|
+
"\uD83D\uDE2E": "😮";
|
|
289
|
+
"\uD83C\uDF89": "🎉";
|
|
290
|
+
}>;
|
|
291
|
+
count: z.ZodNumber;
|
|
292
|
+
mine: z.ZodBoolean;
|
|
293
|
+
}, z.core.$strip>>;
|
|
294
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
295
|
+
"\uD83D\uDC4D": "👍";
|
|
296
|
+
"\uD83D\uDC4E": "👎";
|
|
297
|
+
"\u2764\uFE0F": "❤️";
|
|
298
|
+
"\uD83D\uDE02": "😂";
|
|
299
|
+
"\uD83D\uDE2E": "😮";
|
|
300
|
+
"\uD83C\uDF89": "🎉";
|
|
301
|
+
}>>;
|
|
302
|
+
}, z.core.$strip>;
|
|
303
|
+
}, z.core.$strip>>;
|
|
304
|
+
}, z.core.$strip>>;
|
|
196
305
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
306
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
197
307
|
filename: z.ZodOptional<z.ZodString>;
|
|
198
308
|
name: z.ZodOptional<z.ZodString>;
|
|
199
309
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -217,6 +327,10 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
217
327
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
218
328
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
219
329
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
330
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
331
|
+
draft_id: z.ZodString;
|
|
332
|
+
card: z.ZodNumber;
|
|
333
|
+
}, z.core.$strip>>;
|
|
220
334
|
text: z.ZodOptional<z.ZodString>;
|
|
221
335
|
stdout: z.ZodOptional<z.ZodString>;
|
|
222
336
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -233,11 +347,11 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
233
347
|
message: z.ZodNullable<z.ZodString>;
|
|
234
348
|
}, z.core.$strip>>>;
|
|
235
349
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
236
|
-
memory: "memory";
|
|
237
350
|
unknown: "unknown";
|
|
351
|
+
memory: "memory";
|
|
238
352
|
shell: "shell";
|
|
239
|
-
read: "read";
|
|
240
353
|
list: "list";
|
|
354
|
+
read: "read";
|
|
241
355
|
search: "search";
|
|
242
356
|
web: "web";
|
|
243
357
|
write: "write";
|
|
@@ -269,6 +383,7 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
269
383
|
}, z.core.$strip>>;
|
|
270
384
|
}, z.core.$strip>>;
|
|
271
385
|
}, z.core.$strip>>;
|
|
386
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
272
387
|
}, z.core.$loose>>>;
|
|
273
388
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
274
389
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
@@ -301,9 +416,9 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
301
416
|
kind: z.ZodEnum<{
|
|
302
417
|
file: "file";
|
|
303
418
|
image: "image";
|
|
419
|
+
pdf: "pdf";
|
|
304
420
|
audio: "audio";
|
|
305
421
|
video: "video";
|
|
306
|
-
pdf: "pdf";
|
|
307
422
|
}>;
|
|
308
423
|
}, z.core.$strip>>>;
|
|
309
424
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -311,6 +426,10 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
311
426
|
preview: z.ZodNullable<z.ZodString>;
|
|
312
427
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
313
428
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
429
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
430
|
+
draft_id: z.ZodString;
|
|
431
|
+
card: z.ZodNumber;
|
|
432
|
+
}, z.core.$strip>>;
|
|
314
433
|
text: z.ZodOptional<z.ZodString>;
|
|
315
434
|
stdout: z.ZodOptional<z.ZodString>;
|
|
316
435
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -326,8 +445,8 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
326
445
|
status: z.ZodEnum<{
|
|
327
446
|
unknown: "unknown";
|
|
328
447
|
running: "running";
|
|
329
|
-
cancelled: "cancelled";
|
|
330
448
|
failed: "failed";
|
|
449
|
+
cancelled: "cancelled";
|
|
331
450
|
completed: "completed";
|
|
332
451
|
attention: "attention";
|
|
333
452
|
}>;
|
|
@@ -345,11 +464,11 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
345
464
|
message: z.ZodNullable<z.ZodString>;
|
|
346
465
|
}, z.core.$strip>>>;
|
|
347
466
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
348
|
-
memory: "memory";
|
|
349
467
|
unknown: "unknown";
|
|
468
|
+
memory: "memory";
|
|
350
469
|
shell: "shell";
|
|
351
|
-
read: "read";
|
|
352
470
|
list: "list";
|
|
471
|
+
read: "read";
|
|
353
472
|
search: "search";
|
|
354
473
|
web: "web";
|
|
355
474
|
write: "write";
|
|
@@ -381,6 +500,7 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
381
500
|
}, z.core.$strip>>;
|
|
382
501
|
}, z.core.$strip>>;
|
|
383
502
|
}, z.core.$strip>>;
|
|
503
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
384
504
|
id: z.ZodString;
|
|
385
505
|
name: z.ZodString;
|
|
386
506
|
}, z.core.$loose>>;
|
|
@@ -403,9 +523,9 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
403
523
|
kind: z.ZodEnum<{
|
|
404
524
|
file: "file";
|
|
405
525
|
image: "image";
|
|
526
|
+
pdf: "pdf";
|
|
406
527
|
audio: "audio";
|
|
407
528
|
video: "video";
|
|
408
|
-
pdf: "pdf";
|
|
409
529
|
}>;
|
|
410
530
|
}, z.core.$strip>>>;
|
|
411
531
|
terminal_state: z.ZodOptional<z.ZodString>;
|
|
@@ -451,9 +571,9 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
451
571
|
kind: z.ZodEnum<{
|
|
452
572
|
file: "file";
|
|
453
573
|
image: "image";
|
|
574
|
+
pdf: "pdf";
|
|
454
575
|
audio: "audio";
|
|
455
576
|
video: "video";
|
|
456
|
-
pdf: "pdf";
|
|
457
577
|
}>;
|
|
458
578
|
}, z.core.$strip>>>;
|
|
459
579
|
_background_update: z.ZodOptional<z.ZodObject<{
|
|
@@ -468,9 +588,9 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
468
588
|
summary: z.ZodString;
|
|
469
589
|
lines: z.ZodArray<z.ZodObject<{
|
|
470
590
|
kind: z.ZodEnum<{
|
|
471
|
-
command: "command";
|
|
472
591
|
agent: "agent";
|
|
473
592
|
other: "other";
|
|
593
|
+
command: "command";
|
|
474
594
|
}>;
|
|
475
595
|
status: z.ZodEnum<{
|
|
476
596
|
failed: "failed";
|
|
@@ -535,6 +655,10 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
535
655
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
536
656
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
537
657
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
658
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
659
|
+
draft_id: z.ZodString;
|
|
660
|
+
card: z.ZodNumber;
|
|
661
|
+
}, z.core.$strip>>;
|
|
538
662
|
text: z.ZodOptional<z.ZodString>;
|
|
539
663
|
stdout: z.ZodOptional<z.ZodString>;
|
|
540
664
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -551,11 +675,11 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
551
675
|
message: z.ZodNullable<z.ZodString>;
|
|
552
676
|
}, z.core.$strip>>>;
|
|
553
677
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
554
|
-
memory: "memory";
|
|
555
678
|
unknown: "unknown";
|
|
679
|
+
memory: "memory";
|
|
556
680
|
shell: "shell";
|
|
557
|
-
read: "read";
|
|
558
681
|
list: "list";
|
|
682
|
+
read: "read";
|
|
559
683
|
search: "search";
|
|
560
684
|
web: "web";
|
|
561
685
|
write: "write";
|
|
@@ -587,6 +711,7 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
587
711
|
}, z.core.$strip>>;
|
|
588
712
|
}, z.core.$strip>>;
|
|
589
713
|
}, z.core.$strip>>;
|
|
714
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
590
715
|
}, z.core.$loose>>>;
|
|
591
716
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
592
717
|
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
@@ -647,8 +772,8 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
647
772
|
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
648
773
|
key: z.ZodString;
|
|
649
774
|
level: z.ZodEnum<{
|
|
650
|
-
error: "error";
|
|
651
775
|
success: "success";
|
|
776
|
+
error: "error";
|
|
652
777
|
info: "info";
|
|
653
778
|
warn: "warn";
|
|
654
779
|
}>;
|
|
@@ -671,6 +796,7 @@ export declare const ChatSyncResponseSchema: z.ZodObject<{
|
|
|
671
796
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
672
797
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
673
798
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
799
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
674
800
|
filename: z.ZodOptional<z.ZodString>;
|
|
675
801
|
name: z.ZodOptional<z.ZodString>;
|
|
676
802
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -705,6 +831,18 @@ export declare const GoalRequestSchema: z.ZodObject<{
|
|
|
705
831
|
export declare const chatContract: {
|
|
706
832
|
chat: {
|
|
707
833
|
ownerAction: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
834
|
+
session_id: z.ZodString;
|
|
835
|
+
action: z.ZodLiteral<"react">;
|
|
836
|
+
row_id: z.ZodNumber;
|
|
837
|
+
emoji: z.ZodNullable<z.ZodEnum<{
|
|
838
|
+
"\uD83D\uDC4D": "👍";
|
|
839
|
+
"\uD83D\uDC4E": "👎";
|
|
840
|
+
"\u2764\uFE0F": "❤️";
|
|
841
|
+
"\uD83D\uDE02": "😂";
|
|
842
|
+
"\uD83D\uDE2E": "😮";
|
|
843
|
+
"\uD83C\uDF89": "🎉";
|
|
844
|
+
}>>;
|
|
845
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
708
846
|
session_id: z.ZodString;
|
|
709
847
|
action: z.ZodLiteral<"cancel">;
|
|
710
848
|
admission_id: z.ZodString;
|
|
@@ -735,11 +873,11 @@ export declare const chatContract: {
|
|
|
735
873
|
expected_revision: z.ZodNumber;
|
|
736
874
|
execution_generation: z.ZodNumber;
|
|
737
875
|
operation: z.ZodEnum<{
|
|
876
|
+
workspace: "workspace";
|
|
738
877
|
model: "model";
|
|
739
878
|
rename: "rename";
|
|
740
879
|
rewind: "rewind";
|
|
741
880
|
reset: "reset";
|
|
742
|
-
workspace: "workspace";
|
|
743
881
|
compress: "compress";
|
|
744
882
|
}>;
|
|
745
883
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -878,10 +1016,7 @@ export declare const chatContract: {
|
|
|
878
1016
|
}, z.core.$strip>>>;
|
|
879
1017
|
assistant_name: z.ZodOptional<z.ZodString>;
|
|
880
1018
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
881
|
-
|
|
882
|
-
text: z.ZodString;
|
|
883
|
-
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
884
|
-
}, z.core.$strip>>>;
|
|
1019
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
885
1020
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
886
1021
|
session_id: z.ZodString;
|
|
887
1022
|
title: z.ZodString;
|
|
@@ -890,6 +1025,61 @@ export declare const chatContract: {
|
|
|
890
1025
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
891
1026
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
892
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>;
|
|
1035
|
+
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
1036
|
+
stale: "stale";
|
|
1037
|
+
running: "running";
|
|
1038
|
+
failed: "failed";
|
|
1039
|
+
cancelled: "cancelled";
|
|
1040
|
+
completed: "completed";
|
|
1041
|
+
starting: "starting";
|
|
1042
|
+
waiting_for_approval: "waiting_for_approval";
|
|
1043
|
+
waiting_for_input: "waiting_for_input";
|
|
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>>;
|
|
1077
|
+
source_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1078
|
+
session_id: z.ZodString;
|
|
1079
|
+
tip_session_id: z.ZodString;
|
|
1080
|
+
profile: z.ZodString;
|
|
1081
|
+
title: z.ZodString;
|
|
1082
|
+
}, z.core.$strip>>>;
|
|
893
1083
|
context_detail_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
894
1084
|
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
895
1085
|
session_id: z.ZodString;
|
|
@@ -908,7 +1098,65 @@ export declare const chatContract: {
|
|
|
908
1098
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
909
1099
|
message_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
910
1100
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1101
|
+
reaction_view: z.ZodOptional<z.ZodObject<{
|
|
1102
|
+
row_id: z.ZodNumber;
|
|
1103
|
+
state: z.ZodObject<{
|
|
1104
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1105
|
+
emoji: z.ZodEnum<{
|
|
1106
|
+
"\uD83D\uDC4D": "👍";
|
|
1107
|
+
"\uD83D\uDC4E": "👎";
|
|
1108
|
+
"\u2764\uFE0F": "❤️";
|
|
1109
|
+
"\uD83D\uDE02": "😂";
|
|
1110
|
+
"\uD83D\uDE2E": "😮";
|
|
1111
|
+
"\uD83C\uDF89": "🎉";
|
|
1112
|
+
}>;
|
|
1113
|
+
count: z.ZodNumber;
|
|
1114
|
+
mine: z.ZodBoolean;
|
|
1115
|
+
}, z.core.$strip>>;
|
|
1116
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
1117
|
+
"\uD83D\uDC4D": "👍";
|
|
1118
|
+
"\uD83D\uDC4E": "👎";
|
|
1119
|
+
"\u2764\uFE0F": "❤️";
|
|
1120
|
+
"\uD83D\uDE02": "😂";
|
|
1121
|
+
"\uD83D\uDE2E": "😮";
|
|
1122
|
+
"\uD83C\uDF89": "🎉";
|
|
1123
|
+
}>>;
|
|
1124
|
+
}, z.core.$strip>;
|
|
1125
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
1126
|
+
emoji: z.ZodNullable<z.ZodEnum<{
|
|
1127
|
+
"\uD83D\uDC4D": "👍";
|
|
1128
|
+
"\uD83D\uDC4E": "👎";
|
|
1129
|
+
"\u2764\uFE0F": "❤️";
|
|
1130
|
+
"\uD83D\uDE02": "😂";
|
|
1131
|
+
"\uD83D\uDE2E": "😮";
|
|
1132
|
+
"\uD83C\uDF89": "🎉";
|
|
1133
|
+
}>>;
|
|
1134
|
+
result: z.ZodObject<{
|
|
1135
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1136
|
+
emoji: z.ZodEnum<{
|
|
1137
|
+
"\uD83D\uDC4D": "👍";
|
|
1138
|
+
"\uD83D\uDC4E": "👎";
|
|
1139
|
+
"\u2764\uFE0F": "❤️";
|
|
1140
|
+
"\uD83D\uDE02": "😂";
|
|
1141
|
+
"\uD83D\uDE2E": "😮";
|
|
1142
|
+
"\uD83C\uDF89": "🎉";
|
|
1143
|
+
}>;
|
|
1144
|
+
count: z.ZodNumber;
|
|
1145
|
+
mine: z.ZodBoolean;
|
|
1146
|
+
}, z.core.$strip>>;
|
|
1147
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
1148
|
+
"\uD83D\uDC4D": "👍";
|
|
1149
|
+
"\uD83D\uDC4E": "👎";
|
|
1150
|
+
"\u2764\uFE0F": "❤️";
|
|
1151
|
+
"\uD83D\uDE02": "😂";
|
|
1152
|
+
"\uD83D\uDE2E": "😮";
|
|
1153
|
+
"\uD83C\uDF89": "🎉";
|
|
1154
|
+
}>>;
|
|
1155
|
+
}, z.core.$strip>;
|
|
1156
|
+
}, z.core.$strip>>;
|
|
1157
|
+
}, z.core.$strip>>;
|
|
911
1158
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1159
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
912
1160
|
filename: z.ZodOptional<z.ZodString>;
|
|
913
1161
|
name: z.ZodOptional<z.ZodString>;
|
|
914
1162
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -932,6 +1180,10 @@ export declare const chatContract: {
|
|
|
932
1180
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
933
1181
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
934
1182
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1183
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
1184
|
+
draft_id: z.ZodString;
|
|
1185
|
+
card: z.ZodNumber;
|
|
1186
|
+
}, z.core.$strip>>;
|
|
935
1187
|
text: z.ZodOptional<z.ZodString>;
|
|
936
1188
|
stdout: z.ZodOptional<z.ZodString>;
|
|
937
1189
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -948,11 +1200,11 @@ export declare const chatContract: {
|
|
|
948
1200
|
message: z.ZodNullable<z.ZodString>;
|
|
949
1201
|
}, z.core.$strip>>>;
|
|
950
1202
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
951
|
-
memory: "memory";
|
|
952
1203
|
unknown: "unknown";
|
|
1204
|
+
memory: "memory";
|
|
953
1205
|
shell: "shell";
|
|
954
|
-
read: "read";
|
|
955
1206
|
list: "list";
|
|
1207
|
+
read: "read";
|
|
956
1208
|
search: "search";
|
|
957
1209
|
web: "web";
|
|
958
1210
|
write: "write";
|
|
@@ -984,6 +1236,7 @@ export declare const chatContract: {
|
|
|
984
1236
|
}, z.core.$strip>>;
|
|
985
1237
|
}, z.core.$strip>>;
|
|
986
1238
|
}, z.core.$strip>>;
|
|
1239
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
987
1240
|
}, z.core.$loose>>>;
|
|
988
1241
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
989
1242
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1016,9 +1269,9 @@ export declare const chatContract: {
|
|
|
1016
1269
|
kind: z.ZodEnum<{
|
|
1017
1270
|
file: "file";
|
|
1018
1271
|
image: "image";
|
|
1272
|
+
pdf: "pdf";
|
|
1019
1273
|
audio: "audio";
|
|
1020
1274
|
video: "video";
|
|
1021
|
-
pdf: "pdf";
|
|
1022
1275
|
}>;
|
|
1023
1276
|
}, z.core.$strip>>>;
|
|
1024
1277
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -1026,6 +1279,10 @@ export declare const chatContract: {
|
|
|
1026
1279
|
preview: z.ZodNullable<z.ZodString>;
|
|
1027
1280
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
1028
1281
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1282
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
1283
|
+
draft_id: z.ZodString;
|
|
1284
|
+
card: z.ZodNumber;
|
|
1285
|
+
}, z.core.$strip>>;
|
|
1029
1286
|
text: z.ZodOptional<z.ZodString>;
|
|
1030
1287
|
stdout: z.ZodOptional<z.ZodString>;
|
|
1031
1288
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -1041,8 +1298,8 @@ export declare const chatContract: {
|
|
|
1041
1298
|
status: z.ZodEnum<{
|
|
1042
1299
|
unknown: "unknown";
|
|
1043
1300
|
running: "running";
|
|
1044
|
-
cancelled: "cancelled";
|
|
1045
1301
|
failed: "failed";
|
|
1302
|
+
cancelled: "cancelled";
|
|
1046
1303
|
completed: "completed";
|
|
1047
1304
|
attention: "attention";
|
|
1048
1305
|
}>;
|
|
@@ -1060,11 +1317,11 @@ export declare const chatContract: {
|
|
|
1060
1317
|
message: z.ZodNullable<z.ZodString>;
|
|
1061
1318
|
}, z.core.$strip>>>;
|
|
1062
1319
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
1063
|
-
memory: "memory";
|
|
1064
1320
|
unknown: "unknown";
|
|
1321
|
+
memory: "memory";
|
|
1065
1322
|
shell: "shell";
|
|
1066
|
-
read: "read";
|
|
1067
1323
|
list: "list";
|
|
1324
|
+
read: "read";
|
|
1068
1325
|
search: "search";
|
|
1069
1326
|
web: "web";
|
|
1070
1327
|
write: "write";
|
|
@@ -1096,6 +1353,7 @@ export declare const chatContract: {
|
|
|
1096
1353
|
}, z.core.$strip>>;
|
|
1097
1354
|
}, z.core.$strip>>;
|
|
1098
1355
|
}, z.core.$strip>>;
|
|
1356
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1099
1357
|
id: z.ZodString;
|
|
1100
1358
|
name: z.ZodString;
|
|
1101
1359
|
}, z.core.$loose>>;
|
|
@@ -1118,9 +1376,9 @@ export declare const chatContract: {
|
|
|
1118
1376
|
kind: z.ZodEnum<{
|
|
1119
1377
|
file: "file";
|
|
1120
1378
|
image: "image";
|
|
1379
|
+
pdf: "pdf";
|
|
1121
1380
|
audio: "audio";
|
|
1122
1381
|
video: "video";
|
|
1123
|
-
pdf: "pdf";
|
|
1124
1382
|
}>;
|
|
1125
1383
|
}, z.core.$strip>>>;
|
|
1126
1384
|
terminal_state: z.ZodOptional<z.ZodString>;
|
|
@@ -1166,9 +1424,9 @@ export declare const chatContract: {
|
|
|
1166
1424
|
kind: z.ZodEnum<{
|
|
1167
1425
|
file: "file";
|
|
1168
1426
|
image: "image";
|
|
1427
|
+
pdf: "pdf";
|
|
1169
1428
|
audio: "audio";
|
|
1170
1429
|
video: "video";
|
|
1171
|
-
pdf: "pdf";
|
|
1172
1430
|
}>;
|
|
1173
1431
|
}, z.core.$strip>>>;
|
|
1174
1432
|
_background_update: z.ZodOptional<z.ZodObject<{
|
|
@@ -1183,9 +1441,9 @@ export declare const chatContract: {
|
|
|
1183
1441
|
summary: z.ZodString;
|
|
1184
1442
|
lines: z.ZodArray<z.ZodObject<{
|
|
1185
1443
|
kind: z.ZodEnum<{
|
|
1186
|
-
command: "command";
|
|
1187
1444
|
agent: "agent";
|
|
1188
1445
|
other: "other";
|
|
1446
|
+
command: "command";
|
|
1189
1447
|
}>;
|
|
1190
1448
|
status: z.ZodEnum<{
|
|
1191
1449
|
failed: "failed";
|
|
@@ -1250,6 +1508,10 @@ export declare const chatContract: {
|
|
|
1250
1508
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1251
1509
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
1252
1510
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1511
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
1512
|
+
draft_id: z.ZodString;
|
|
1513
|
+
card: z.ZodNumber;
|
|
1514
|
+
}, z.core.$strip>>;
|
|
1253
1515
|
text: z.ZodOptional<z.ZodString>;
|
|
1254
1516
|
stdout: z.ZodOptional<z.ZodString>;
|
|
1255
1517
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -1266,11 +1528,11 @@ export declare const chatContract: {
|
|
|
1266
1528
|
message: z.ZodNullable<z.ZodString>;
|
|
1267
1529
|
}, z.core.$strip>>>;
|
|
1268
1530
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
1269
|
-
memory: "memory";
|
|
1270
1531
|
unknown: "unknown";
|
|
1532
|
+
memory: "memory";
|
|
1271
1533
|
shell: "shell";
|
|
1272
|
-
read: "read";
|
|
1273
1534
|
list: "list";
|
|
1535
|
+
read: "read";
|
|
1274
1536
|
search: "search";
|
|
1275
1537
|
web: "web";
|
|
1276
1538
|
write: "write";
|
|
@@ -1302,6 +1564,7 @@ export declare const chatContract: {
|
|
|
1302
1564
|
}, z.core.$strip>>;
|
|
1303
1565
|
}, z.core.$strip>>;
|
|
1304
1566
|
}, z.core.$strip>>;
|
|
1567
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1305
1568
|
}, z.core.$loose>>>;
|
|
1306
1569
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
1307
1570
|
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1362,8 +1625,8 @@ export declare const chatContract: {
|
|
|
1362
1625
|
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1363
1626
|
key: z.ZodString;
|
|
1364
1627
|
level: z.ZodEnum<{
|
|
1365
|
-
error: "error";
|
|
1366
1628
|
success: "success";
|
|
1629
|
+
error: "error";
|
|
1367
1630
|
info: "info";
|
|
1368
1631
|
warn: "warn";
|
|
1369
1632
|
}>;
|
|
@@ -1386,6 +1649,7 @@ export declare const chatContract: {
|
|
|
1386
1649
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
1387
1650
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1388
1651
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1652
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
1389
1653
|
filename: z.ZodOptional<z.ZodString>;
|
|
1390
1654
|
name: z.ZodOptional<z.ZodString>;
|
|
1391
1655
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -1560,10 +1824,7 @@ export declare const chatContract: {
|
|
|
1560
1824
|
}, z.core.$strip>>>;
|
|
1561
1825
|
assistant_name: z.ZodOptional<z.ZodString>;
|
|
1562
1826
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1563
|
-
|
|
1564
|
-
text: z.ZodString;
|
|
1565
|
-
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
1566
|
-
}, z.core.$strip>>>;
|
|
1827
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1567
1828
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1568
1829
|
session_id: z.ZodString;
|
|
1569
1830
|
title: z.ZodString;
|
|
@@ -1572,6 +1833,61 @@ export declare const chatContract: {
|
|
|
1572
1833
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1573
1834
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1574
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>;
|
|
1843
|
+
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
1844
|
+
stale: "stale";
|
|
1845
|
+
running: "running";
|
|
1846
|
+
failed: "failed";
|
|
1847
|
+
cancelled: "cancelled";
|
|
1848
|
+
completed: "completed";
|
|
1849
|
+
starting: "starting";
|
|
1850
|
+
waiting_for_approval: "waiting_for_approval";
|
|
1851
|
+
waiting_for_input: "waiting_for_input";
|
|
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>>;
|
|
1885
|
+
source_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1886
|
+
session_id: z.ZodString;
|
|
1887
|
+
tip_session_id: z.ZodString;
|
|
1888
|
+
profile: z.ZodString;
|
|
1889
|
+
title: z.ZodString;
|
|
1890
|
+
}, z.core.$strip>>>;
|
|
1575
1891
|
context_detail_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1576
1892
|
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
1577
1893
|
session_id: z.ZodString;
|
|
@@ -1590,7 +1906,65 @@ export declare const chatContract: {
|
|
|
1590
1906
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1591
1907
|
message_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1592
1908
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1909
|
+
reaction_view: z.ZodOptional<z.ZodObject<{
|
|
1910
|
+
row_id: z.ZodNumber;
|
|
1911
|
+
state: z.ZodObject<{
|
|
1912
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1913
|
+
emoji: z.ZodEnum<{
|
|
1914
|
+
"\uD83D\uDC4D": "👍";
|
|
1915
|
+
"\uD83D\uDC4E": "👎";
|
|
1916
|
+
"\u2764\uFE0F": "❤️";
|
|
1917
|
+
"\uD83D\uDE02": "😂";
|
|
1918
|
+
"\uD83D\uDE2E": "😮";
|
|
1919
|
+
"\uD83C\uDF89": "🎉";
|
|
1920
|
+
}>;
|
|
1921
|
+
count: z.ZodNumber;
|
|
1922
|
+
mine: z.ZodBoolean;
|
|
1923
|
+
}, z.core.$strip>>;
|
|
1924
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
1925
|
+
"\uD83D\uDC4D": "👍";
|
|
1926
|
+
"\uD83D\uDC4E": "👎";
|
|
1927
|
+
"\u2764\uFE0F": "❤️";
|
|
1928
|
+
"\uD83D\uDE02": "😂";
|
|
1929
|
+
"\uD83D\uDE2E": "😮";
|
|
1930
|
+
"\uD83C\uDF89": "🎉";
|
|
1931
|
+
}>>;
|
|
1932
|
+
}, z.core.$strip>;
|
|
1933
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
1934
|
+
emoji: z.ZodNullable<z.ZodEnum<{
|
|
1935
|
+
"\uD83D\uDC4D": "👍";
|
|
1936
|
+
"\uD83D\uDC4E": "👎";
|
|
1937
|
+
"\u2764\uFE0F": "❤️";
|
|
1938
|
+
"\uD83D\uDE02": "😂";
|
|
1939
|
+
"\uD83D\uDE2E": "😮";
|
|
1940
|
+
"\uD83C\uDF89": "🎉";
|
|
1941
|
+
}>>;
|
|
1942
|
+
result: z.ZodObject<{
|
|
1943
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1944
|
+
emoji: z.ZodEnum<{
|
|
1945
|
+
"\uD83D\uDC4D": "👍";
|
|
1946
|
+
"\uD83D\uDC4E": "👎";
|
|
1947
|
+
"\u2764\uFE0F": "❤️";
|
|
1948
|
+
"\uD83D\uDE02": "😂";
|
|
1949
|
+
"\uD83D\uDE2E": "😮";
|
|
1950
|
+
"\uD83C\uDF89": "🎉";
|
|
1951
|
+
}>;
|
|
1952
|
+
count: z.ZodNumber;
|
|
1953
|
+
mine: z.ZodBoolean;
|
|
1954
|
+
}, z.core.$strip>>;
|
|
1955
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
1956
|
+
"\uD83D\uDC4D": "👍";
|
|
1957
|
+
"\uD83D\uDC4E": "👎";
|
|
1958
|
+
"\u2764\uFE0F": "❤️";
|
|
1959
|
+
"\uD83D\uDE02": "😂";
|
|
1960
|
+
"\uD83D\uDE2E": "😮";
|
|
1961
|
+
"\uD83C\uDF89": "🎉";
|
|
1962
|
+
}>>;
|
|
1963
|
+
}, z.core.$strip>;
|
|
1964
|
+
}, z.core.$strip>>;
|
|
1965
|
+
}, z.core.$strip>>;
|
|
1593
1966
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1967
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
1594
1968
|
filename: z.ZodOptional<z.ZodString>;
|
|
1595
1969
|
name: z.ZodOptional<z.ZodString>;
|
|
1596
1970
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -1614,6 +1988,10 @@ export declare const chatContract: {
|
|
|
1614
1988
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1615
1989
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
1616
1990
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1991
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
1992
|
+
draft_id: z.ZodString;
|
|
1993
|
+
card: z.ZodNumber;
|
|
1994
|
+
}, z.core.$strip>>;
|
|
1617
1995
|
text: z.ZodOptional<z.ZodString>;
|
|
1618
1996
|
stdout: z.ZodOptional<z.ZodString>;
|
|
1619
1997
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -1630,11 +2008,11 @@ export declare const chatContract: {
|
|
|
1630
2008
|
message: z.ZodNullable<z.ZodString>;
|
|
1631
2009
|
}, z.core.$strip>>>;
|
|
1632
2010
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
1633
|
-
memory: "memory";
|
|
1634
2011
|
unknown: "unknown";
|
|
2012
|
+
memory: "memory";
|
|
1635
2013
|
shell: "shell";
|
|
1636
|
-
read: "read";
|
|
1637
2014
|
list: "list";
|
|
2015
|
+
read: "read";
|
|
1638
2016
|
search: "search";
|
|
1639
2017
|
web: "web";
|
|
1640
2018
|
write: "write";
|
|
@@ -1666,6 +2044,7 @@ export declare const chatContract: {
|
|
|
1666
2044
|
}, z.core.$strip>>;
|
|
1667
2045
|
}, z.core.$strip>>;
|
|
1668
2046
|
}, z.core.$strip>>;
|
|
2047
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1669
2048
|
}, z.core.$loose>>>;
|
|
1670
2049
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
1671
2050
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1698,9 +2077,9 @@ export declare const chatContract: {
|
|
|
1698
2077
|
kind: z.ZodEnum<{
|
|
1699
2078
|
file: "file";
|
|
1700
2079
|
image: "image";
|
|
2080
|
+
pdf: "pdf";
|
|
1701
2081
|
audio: "audio";
|
|
1702
2082
|
video: "video";
|
|
1703
|
-
pdf: "pdf";
|
|
1704
2083
|
}>;
|
|
1705
2084
|
}, z.core.$strip>>>;
|
|
1706
2085
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -1708,6 +2087,10 @@ export declare const chatContract: {
|
|
|
1708
2087
|
preview: z.ZodNullable<z.ZodString>;
|
|
1709
2088
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
1710
2089
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2090
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
2091
|
+
draft_id: z.ZodString;
|
|
2092
|
+
card: z.ZodNumber;
|
|
2093
|
+
}, z.core.$strip>>;
|
|
1711
2094
|
text: z.ZodOptional<z.ZodString>;
|
|
1712
2095
|
stdout: z.ZodOptional<z.ZodString>;
|
|
1713
2096
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -1723,8 +2106,8 @@ export declare const chatContract: {
|
|
|
1723
2106
|
status: z.ZodEnum<{
|
|
1724
2107
|
unknown: "unknown";
|
|
1725
2108
|
running: "running";
|
|
1726
|
-
cancelled: "cancelled";
|
|
1727
2109
|
failed: "failed";
|
|
2110
|
+
cancelled: "cancelled";
|
|
1728
2111
|
completed: "completed";
|
|
1729
2112
|
attention: "attention";
|
|
1730
2113
|
}>;
|
|
@@ -1742,11 +2125,11 @@ export declare const chatContract: {
|
|
|
1742
2125
|
message: z.ZodNullable<z.ZodString>;
|
|
1743
2126
|
}, z.core.$strip>>>;
|
|
1744
2127
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
1745
|
-
memory: "memory";
|
|
1746
2128
|
unknown: "unknown";
|
|
2129
|
+
memory: "memory";
|
|
1747
2130
|
shell: "shell";
|
|
1748
|
-
read: "read";
|
|
1749
2131
|
list: "list";
|
|
2132
|
+
read: "read";
|
|
1750
2133
|
search: "search";
|
|
1751
2134
|
web: "web";
|
|
1752
2135
|
write: "write";
|
|
@@ -1778,6 +2161,7 @@ export declare const chatContract: {
|
|
|
1778
2161
|
}, z.core.$strip>>;
|
|
1779
2162
|
}, z.core.$strip>>;
|
|
1780
2163
|
}, z.core.$strip>>;
|
|
2164
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1781
2165
|
id: z.ZodString;
|
|
1782
2166
|
name: z.ZodString;
|
|
1783
2167
|
}, z.core.$loose>>;
|
|
@@ -1800,9 +2184,9 @@ export declare const chatContract: {
|
|
|
1800
2184
|
kind: z.ZodEnum<{
|
|
1801
2185
|
file: "file";
|
|
1802
2186
|
image: "image";
|
|
2187
|
+
pdf: "pdf";
|
|
1803
2188
|
audio: "audio";
|
|
1804
2189
|
video: "video";
|
|
1805
|
-
pdf: "pdf";
|
|
1806
2190
|
}>;
|
|
1807
2191
|
}, z.core.$strip>>>;
|
|
1808
2192
|
terminal_state: z.ZodOptional<z.ZodString>;
|
|
@@ -1848,9 +2232,9 @@ export declare const chatContract: {
|
|
|
1848
2232
|
kind: z.ZodEnum<{
|
|
1849
2233
|
file: "file";
|
|
1850
2234
|
image: "image";
|
|
2235
|
+
pdf: "pdf";
|
|
1851
2236
|
audio: "audio";
|
|
1852
2237
|
video: "video";
|
|
1853
|
-
pdf: "pdf";
|
|
1854
2238
|
}>;
|
|
1855
2239
|
}, z.core.$strip>>>;
|
|
1856
2240
|
_background_update: z.ZodOptional<z.ZodObject<{
|
|
@@ -1865,9 +2249,9 @@ export declare const chatContract: {
|
|
|
1865
2249
|
summary: z.ZodString;
|
|
1866
2250
|
lines: z.ZodArray<z.ZodObject<{
|
|
1867
2251
|
kind: z.ZodEnum<{
|
|
1868
|
-
command: "command";
|
|
1869
2252
|
agent: "agent";
|
|
1870
2253
|
other: "other";
|
|
2254
|
+
command: "command";
|
|
1871
2255
|
}>;
|
|
1872
2256
|
status: z.ZodEnum<{
|
|
1873
2257
|
failed: "failed";
|
|
@@ -1932,6 +2316,10 @@ export declare const chatContract: {
|
|
|
1932
2316
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1933
2317
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
1934
2318
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2319
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
2320
|
+
draft_id: z.ZodString;
|
|
2321
|
+
card: z.ZodNumber;
|
|
2322
|
+
}, z.core.$strip>>;
|
|
1935
2323
|
text: z.ZodOptional<z.ZodString>;
|
|
1936
2324
|
stdout: z.ZodOptional<z.ZodString>;
|
|
1937
2325
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -1948,11 +2336,11 @@ export declare const chatContract: {
|
|
|
1948
2336
|
message: z.ZodNullable<z.ZodString>;
|
|
1949
2337
|
}, z.core.$strip>>>;
|
|
1950
2338
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
1951
|
-
memory: "memory";
|
|
1952
2339
|
unknown: "unknown";
|
|
2340
|
+
memory: "memory";
|
|
1953
2341
|
shell: "shell";
|
|
1954
|
-
read: "read";
|
|
1955
2342
|
list: "list";
|
|
2343
|
+
read: "read";
|
|
1956
2344
|
search: "search";
|
|
1957
2345
|
web: "web";
|
|
1958
2346
|
write: "write";
|
|
@@ -1984,6 +2372,7 @@ export declare const chatContract: {
|
|
|
1984
2372
|
}, z.core.$strip>>;
|
|
1985
2373
|
}, z.core.$strip>>;
|
|
1986
2374
|
}, z.core.$strip>>;
|
|
2375
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1987
2376
|
}, z.core.$loose>>>;
|
|
1988
2377
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
1989
2378
|
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2044,8 +2433,8 @@ export declare const chatContract: {
|
|
|
2044
2433
|
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2045
2434
|
key: z.ZodString;
|
|
2046
2435
|
level: z.ZodEnum<{
|
|
2047
|
-
error: "error";
|
|
2048
2436
|
success: "success";
|
|
2437
|
+
error: "error";
|
|
2049
2438
|
info: "info";
|
|
2050
2439
|
warn: "warn";
|
|
2051
2440
|
}>;
|
|
@@ -2068,6 +2457,7 @@ export declare const chatContract: {
|
|
|
2068
2457
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
2069
2458
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2070
2459
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2460
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
2071
2461
|
filename: z.ZodOptional<z.ZodString>;
|
|
2072
2462
|
name: z.ZodOptional<z.ZodString>;
|
|
2073
2463
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -2099,6 +2489,7 @@ export declare const chatContract: {
|
|
|
2099
2489
|
profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2100
2490
|
explicit_model_pick: z.ZodOptional<z.ZodBoolean>;
|
|
2101
2491
|
attachments: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
2492
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
2102
2493
|
filename: z.ZodOptional<z.ZodString>;
|
|
2103
2494
|
name: z.ZodOptional<z.ZodString>;
|
|
2104
2495
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -2329,10 +2720,7 @@ export declare const chatContract: {
|
|
|
2329
2720
|
}, z.core.$strip>>>;
|
|
2330
2721
|
assistant_name: z.ZodOptional<z.ZodString>;
|
|
2331
2722
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2332
|
-
|
|
2333
|
-
text: z.ZodString;
|
|
2334
|
-
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
2335
|
-
}, z.core.$strip>>>;
|
|
2723
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2336
2724
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2337
2725
|
session_id: z.ZodString;
|
|
2338
2726
|
title: z.ZodString;
|
|
@@ -2341,6 +2729,61 @@ export declare const chatContract: {
|
|
|
2341
2729
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2342
2730
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2343
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>;
|
|
2739
|
+
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
2740
|
+
stale: "stale";
|
|
2741
|
+
running: "running";
|
|
2742
|
+
failed: "failed";
|
|
2743
|
+
cancelled: "cancelled";
|
|
2744
|
+
completed: "completed";
|
|
2745
|
+
starting: "starting";
|
|
2746
|
+
waiting_for_approval: "waiting_for_approval";
|
|
2747
|
+
waiting_for_input: "waiting_for_input";
|
|
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>>;
|
|
2781
|
+
source_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2782
|
+
session_id: z.ZodString;
|
|
2783
|
+
tip_session_id: z.ZodString;
|
|
2784
|
+
profile: z.ZodString;
|
|
2785
|
+
title: z.ZodString;
|
|
2786
|
+
}, z.core.$strip>>>;
|
|
2344
2787
|
context_detail_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2345
2788
|
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
2346
2789
|
session_id: z.ZodString;
|
|
@@ -2359,7 +2802,65 @@ export declare const chatContract: {
|
|
|
2359
2802
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
2360
2803
|
message_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
2361
2804
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2805
|
+
reaction_view: z.ZodOptional<z.ZodObject<{
|
|
2806
|
+
row_id: z.ZodNumber;
|
|
2807
|
+
state: z.ZodObject<{
|
|
2808
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2809
|
+
emoji: z.ZodEnum<{
|
|
2810
|
+
"\uD83D\uDC4D": "👍";
|
|
2811
|
+
"\uD83D\uDC4E": "👎";
|
|
2812
|
+
"\u2764\uFE0F": "❤️";
|
|
2813
|
+
"\uD83D\uDE02": "😂";
|
|
2814
|
+
"\uD83D\uDE2E": "😮";
|
|
2815
|
+
"\uD83C\uDF89": "🎉";
|
|
2816
|
+
}>;
|
|
2817
|
+
count: z.ZodNumber;
|
|
2818
|
+
mine: z.ZodBoolean;
|
|
2819
|
+
}, z.core.$strip>>;
|
|
2820
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
2821
|
+
"\uD83D\uDC4D": "👍";
|
|
2822
|
+
"\uD83D\uDC4E": "👎";
|
|
2823
|
+
"\u2764\uFE0F": "❤️";
|
|
2824
|
+
"\uD83D\uDE02": "😂";
|
|
2825
|
+
"\uD83D\uDE2E": "😮";
|
|
2826
|
+
"\uD83C\uDF89": "🎉";
|
|
2827
|
+
}>>;
|
|
2828
|
+
}, z.core.$strip>;
|
|
2829
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
2830
|
+
emoji: z.ZodNullable<z.ZodEnum<{
|
|
2831
|
+
"\uD83D\uDC4D": "👍";
|
|
2832
|
+
"\uD83D\uDC4E": "👎";
|
|
2833
|
+
"\u2764\uFE0F": "❤️";
|
|
2834
|
+
"\uD83D\uDE02": "😂";
|
|
2835
|
+
"\uD83D\uDE2E": "😮";
|
|
2836
|
+
"\uD83C\uDF89": "🎉";
|
|
2837
|
+
}>>;
|
|
2838
|
+
result: z.ZodObject<{
|
|
2839
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2840
|
+
emoji: z.ZodEnum<{
|
|
2841
|
+
"\uD83D\uDC4D": "👍";
|
|
2842
|
+
"\uD83D\uDC4E": "👎";
|
|
2843
|
+
"\u2764\uFE0F": "❤️";
|
|
2844
|
+
"\uD83D\uDE02": "😂";
|
|
2845
|
+
"\uD83D\uDE2E": "😮";
|
|
2846
|
+
"\uD83C\uDF89": "🎉";
|
|
2847
|
+
}>;
|
|
2848
|
+
count: z.ZodNumber;
|
|
2849
|
+
mine: z.ZodBoolean;
|
|
2850
|
+
}, z.core.$strip>>;
|
|
2851
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
2852
|
+
"\uD83D\uDC4D": "👍";
|
|
2853
|
+
"\uD83D\uDC4E": "👎";
|
|
2854
|
+
"\u2764\uFE0F": "❤️";
|
|
2855
|
+
"\uD83D\uDE02": "😂";
|
|
2856
|
+
"\uD83D\uDE2E": "😮";
|
|
2857
|
+
"\uD83C\uDF89": "🎉";
|
|
2858
|
+
}>>;
|
|
2859
|
+
}, z.core.$strip>;
|
|
2860
|
+
}, z.core.$strip>>;
|
|
2861
|
+
}, z.core.$strip>>;
|
|
2362
2862
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2863
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
2363
2864
|
filename: z.ZodOptional<z.ZodString>;
|
|
2364
2865
|
name: z.ZodOptional<z.ZodString>;
|
|
2365
2866
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -2383,6 +2884,10 @@ export declare const chatContract: {
|
|
|
2383
2884
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2384
2885
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
2385
2886
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2887
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
2888
|
+
draft_id: z.ZodString;
|
|
2889
|
+
card: z.ZodNumber;
|
|
2890
|
+
}, z.core.$strip>>;
|
|
2386
2891
|
text: z.ZodOptional<z.ZodString>;
|
|
2387
2892
|
stdout: z.ZodOptional<z.ZodString>;
|
|
2388
2893
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -2399,11 +2904,11 @@ export declare const chatContract: {
|
|
|
2399
2904
|
message: z.ZodNullable<z.ZodString>;
|
|
2400
2905
|
}, z.core.$strip>>>;
|
|
2401
2906
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
2402
|
-
memory: "memory";
|
|
2403
2907
|
unknown: "unknown";
|
|
2908
|
+
memory: "memory";
|
|
2404
2909
|
shell: "shell";
|
|
2405
|
-
read: "read";
|
|
2406
2910
|
list: "list";
|
|
2911
|
+
read: "read";
|
|
2407
2912
|
search: "search";
|
|
2408
2913
|
web: "web";
|
|
2409
2914
|
write: "write";
|
|
@@ -2435,6 +2940,7 @@ export declare const chatContract: {
|
|
|
2435
2940
|
}, z.core.$strip>>;
|
|
2436
2941
|
}, z.core.$strip>>;
|
|
2437
2942
|
}, z.core.$strip>>;
|
|
2943
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2438
2944
|
}, z.core.$loose>>>;
|
|
2439
2945
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
2440
2946
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2467,9 +2973,9 @@ export declare const chatContract: {
|
|
|
2467
2973
|
kind: z.ZodEnum<{
|
|
2468
2974
|
file: "file";
|
|
2469
2975
|
image: "image";
|
|
2976
|
+
pdf: "pdf";
|
|
2470
2977
|
audio: "audio";
|
|
2471
2978
|
video: "video";
|
|
2472
|
-
pdf: "pdf";
|
|
2473
2979
|
}>;
|
|
2474
2980
|
}, z.core.$strip>>>;
|
|
2475
2981
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -2477,6 +2983,10 @@ export declare const chatContract: {
|
|
|
2477
2983
|
preview: z.ZodNullable<z.ZodString>;
|
|
2478
2984
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
2479
2985
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2986
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
2987
|
+
draft_id: z.ZodString;
|
|
2988
|
+
card: z.ZodNumber;
|
|
2989
|
+
}, z.core.$strip>>;
|
|
2480
2990
|
text: z.ZodOptional<z.ZodString>;
|
|
2481
2991
|
stdout: z.ZodOptional<z.ZodString>;
|
|
2482
2992
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -2492,8 +3002,8 @@ export declare const chatContract: {
|
|
|
2492
3002
|
status: z.ZodEnum<{
|
|
2493
3003
|
unknown: "unknown";
|
|
2494
3004
|
running: "running";
|
|
2495
|
-
cancelled: "cancelled";
|
|
2496
3005
|
failed: "failed";
|
|
3006
|
+
cancelled: "cancelled";
|
|
2497
3007
|
completed: "completed";
|
|
2498
3008
|
attention: "attention";
|
|
2499
3009
|
}>;
|
|
@@ -2511,11 +3021,11 @@ export declare const chatContract: {
|
|
|
2511
3021
|
message: z.ZodNullable<z.ZodString>;
|
|
2512
3022
|
}, z.core.$strip>>>;
|
|
2513
3023
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
2514
|
-
memory: "memory";
|
|
2515
3024
|
unknown: "unknown";
|
|
3025
|
+
memory: "memory";
|
|
2516
3026
|
shell: "shell";
|
|
2517
|
-
read: "read";
|
|
2518
3027
|
list: "list";
|
|
3028
|
+
read: "read";
|
|
2519
3029
|
search: "search";
|
|
2520
3030
|
web: "web";
|
|
2521
3031
|
write: "write";
|
|
@@ -2547,6 +3057,7 @@ export declare const chatContract: {
|
|
|
2547
3057
|
}, z.core.$strip>>;
|
|
2548
3058
|
}, z.core.$strip>>;
|
|
2549
3059
|
}, z.core.$strip>>;
|
|
3060
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2550
3061
|
id: z.ZodString;
|
|
2551
3062
|
name: z.ZodString;
|
|
2552
3063
|
}, z.core.$loose>>;
|
|
@@ -2569,9 +3080,9 @@ export declare const chatContract: {
|
|
|
2569
3080
|
kind: z.ZodEnum<{
|
|
2570
3081
|
file: "file";
|
|
2571
3082
|
image: "image";
|
|
3083
|
+
pdf: "pdf";
|
|
2572
3084
|
audio: "audio";
|
|
2573
3085
|
video: "video";
|
|
2574
|
-
pdf: "pdf";
|
|
2575
3086
|
}>;
|
|
2576
3087
|
}, z.core.$strip>>>;
|
|
2577
3088
|
terminal_state: z.ZodOptional<z.ZodString>;
|
|
@@ -2617,9 +3128,9 @@ export declare const chatContract: {
|
|
|
2617
3128
|
kind: z.ZodEnum<{
|
|
2618
3129
|
file: "file";
|
|
2619
3130
|
image: "image";
|
|
3131
|
+
pdf: "pdf";
|
|
2620
3132
|
audio: "audio";
|
|
2621
3133
|
video: "video";
|
|
2622
|
-
pdf: "pdf";
|
|
2623
3134
|
}>;
|
|
2624
3135
|
}, z.core.$strip>>>;
|
|
2625
3136
|
_background_update: z.ZodOptional<z.ZodObject<{
|
|
@@ -2634,9 +3145,9 @@ export declare const chatContract: {
|
|
|
2634
3145
|
summary: z.ZodString;
|
|
2635
3146
|
lines: z.ZodArray<z.ZodObject<{
|
|
2636
3147
|
kind: z.ZodEnum<{
|
|
2637
|
-
command: "command";
|
|
2638
3148
|
agent: "agent";
|
|
2639
3149
|
other: "other";
|
|
3150
|
+
command: "command";
|
|
2640
3151
|
}>;
|
|
2641
3152
|
status: z.ZodEnum<{
|
|
2642
3153
|
failed: "failed";
|
|
@@ -2701,6 +3212,10 @@ export declare const chatContract: {
|
|
|
2701
3212
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2702
3213
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
2703
3214
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3215
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
3216
|
+
draft_id: z.ZodString;
|
|
3217
|
+
card: z.ZodNumber;
|
|
3218
|
+
}, z.core.$strip>>;
|
|
2704
3219
|
text: z.ZodOptional<z.ZodString>;
|
|
2705
3220
|
stdout: z.ZodOptional<z.ZodString>;
|
|
2706
3221
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -2717,11 +3232,11 @@ export declare const chatContract: {
|
|
|
2717
3232
|
message: z.ZodNullable<z.ZodString>;
|
|
2718
3233
|
}, z.core.$strip>>>;
|
|
2719
3234
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
2720
|
-
memory: "memory";
|
|
2721
3235
|
unknown: "unknown";
|
|
3236
|
+
memory: "memory";
|
|
2722
3237
|
shell: "shell";
|
|
2723
|
-
read: "read";
|
|
2724
3238
|
list: "list";
|
|
3239
|
+
read: "read";
|
|
2725
3240
|
search: "search";
|
|
2726
3241
|
web: "web";
|
|
2727
3242
|
write: "write";
|
|
@@ -2753,6 +3268,7 @@ export declare const chatContract: {
|
|
|
2753
3268
|
}, z.core.$strip>>;
|
|
2754
3269
|
}, z.core.$strip>>;
|
|
2755
3270
|
}, z.core.$strip>>;
|
|
3271
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2756
3272
|
}, z.core.$loose>>>;
|
|
2757
3273
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
2758
3274
|
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2813,8 +3329,8 @@ export declare const chatContract: {
|
|
|
2813
3329
|
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2814
3330
|
key: z.ZodString;
|
|
2815
3331
|
level: z.ZodEnum<{
|
|
2816
|
-
error: "error";
|
|
2817
3332
|
success: "success";
|
|
3333
|
+
error: "error";
|
|
2818
3334
|
info: "info";
|
|
2819
3335
|
warn: "warn";
|
|
2820
3336
|
}>;
|
|
@@ -2837,6 +3353,7 @@ export declare const chatContract: {
|
|
|
2837
3353
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
2838
3354
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2839
3355
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3356
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
2840
3357
|
filename: z.ZodOptional<z.ZodString>;
|
|
2841
3358
|
name: z.ZodOptional<z.ZodString>;
|
|
2842
3359
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -3079,10 +3596,7 @@ export declare const chatContract: {
|
|
|
3079
3596
|
}, z.core.$strip>>>;
|
|
3080
3597
|
assistant_name: z.ZodOptional<z.ZodString>;
|
|
3081
3598
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3082
|
-
|
|
3083
|
-
text: z.ZodString;
|
|
3084
|
-
after_message_index: z.ZodNullable<z.ZodNumber>;
|
|
3085
|
-
}, z.core.$strip>>>;
|
|
3599
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3086
3600
|
branched_from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3087
3601
|
session_id: z.ZodString;
|
|
3088
3602
|
title: z.ZodString;
|
|
@@ -3091,6 +3605,61 @@ export declare const chatContract: {
|
|
|
3091
3605
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3092
3606
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3093
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>;
|
|
3615
|
+
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
3616
|
+
stale: "stale";
|
|
3617
|
+
running: "running";
|
|
3618
|
+
failed: "failed";
|
|
3619
|
+
cancelled: "cancelled";
|
|
3620
|
+
completed: "completed";
|
|
3621
|
+
starting: "starting";
|
|
3622
|
+
waiting_for_approval: "waiting_for_approval";
|
|
3623
|
+
waiting_for_input: "waiting_for_input";
|
|
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>>;
|
|
3657
|
+
source_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3658
|
+
session_id: z.ZodString;
|
|
3659
|
+
tip_session_id: z.ZodString;
|
|
3660
|
+
profile: z.ZodString;
|
|
3661
|
+
title: z.ZodString;
|
|
3662
|
+
}, z.core.$strip>>>;
|
|
3094
3663
|
context_detail_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3095
3664
|
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
3096
3665
|
session_id: z.ZodString;
|
|
@@ -3109,7 +3678,65 @@ export declare const chatContract: {
|
|
|
3109
3678
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3110
3679
|
message_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3111
3680
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3681
|
+
reaction_view: z.ZodOptional<z.ZodObject<{
|
|
3682
|
+
row_id: z.ZodNumber;
|
|
3683
|
+
state: z.ZodObject<{
|
|
3684
|
+
items: z.ZodArray<z.ZodObject<{
|
|
3685
|
+
emoji: z.ZodEnum<{
|
|
3686
|
+
"\uD83D\uDC4D": "👍";
|
|
3687
|
+
"\uD83D\uDC4E": "👎";
|
|
3688
|
+
"\u2764\uFE0F": "❤️";
|
|
3689
|
+
"\uD83D\uDE02": "😂";
|
|
3690
|
+
"\uD83D\uDE2E": "😮";
|
|
3691
|
+
"\uD83C\uDF89": "🎉";
|
|
3692
|
+
}>;
|
|
3693
|
+
count: z.ZodNumber;
|
|
3694
|
+
mine: z.ZodBoolean;
|
|
3695
|
+
}, z.core.$strip>>;
|
|
3696
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
3697
|
+
"\uD83D\uDC4D": "👍";
|
|
3698
|
+
"\uD83D\uDC4E": "👎";
|
|
3699
|
+
"\u2764\uFE0F": "❤️";
|
|
3700
|
+
"\uD83D\uDE02": "😂";
|
|
3701
|
+
"\uD83D\uDE2E": "😮";
|
|
3702
|
+
"\uD83C\uDF89": "🎉";
|
|
3703
|
+
}>>;
|
|
3704
|
+
}, z.core.$strip>;
|
|
3705
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
3706
|
+
emoji: z.ZodNullable<z.ZodEnum<{
|
|
3707
|
+
"\uD83D\uDC4D": "👍";
|
|
3708
|
+
"\uD83D\uDC4E": "👎";
|
|
3709
|
+
"\u2764\uFE0F": "❤️";
|
|
3710
|
+
"\uD83D\uDE02": "😂";
|
|
3711
|
+
"\uD83D\uDE2E": "😮";
|
|
3712
|
+
"\uD83C\uDF89": "🎉";
|
|
3713
|
+
}>>;
|
|
3714
|
+
result: z.ZodObject<{
|
|
3715
|
+
items: z.ZodArray<z.ZodObject<{
|
|
3716
|
+
emoji: z.ZodEnum<{
|
|
3717
|
+
"\uD83D\uDC4D": "👍";
|
|
3718
|
+
"\uD83D\uDC4E": "👎";
|
|
3719
|
+
"\u2764\uFE0F": "❤️";
|
|
3720
|
+
"\uD83D\uDE02": "😂";
|
|
3721
|
+
"\uD83D\uDE2E": "😮";
|
|
3722
|
+
"\uD83C\uDF89": "🎉";
|
|
3723
|
+
}>;
|
|
3724
|
+
count: z.ZodNumber;
|
|
3725
|
+
mine: z.ZodBoolean;
|
|
3726
|
+
}, z.core.$strip>>;
|
|
3727
|
+
selected: z.ZodNullable<z.ZodEnum<{
|
|
3728
|
+
"\uD83D\uDC4D": "👍";
|
|
3729
|
+
"\uD83D\uDC4E": "👎";
|
|
3730
|
+
"\u2764\uFE0F": "❤️";
|
|
3731
|
+
"\uD83D\uDE02": "😂";
|
|
3732
|
+
"\uD83D\uDE2E": "😮";
|
|
3733
|
+
"\uD83C\uDF89": "🎉";
|
|
3734
|
+
}>>;
|
|
3735
|
+
}, z.core.$strip>;
|
|
3736
|
+
}, z.core.$strip>>;
|
|
3737
|
+
}, z.core.$strip>>;
|
|
3112
3738
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3739
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
3113
3740
|
filename: z.ZodOptional<z.ZodString>;
|
|
3114
3741
|
name: z.ZodOptional<z.ZodString>;
|
|
3115
3742
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -3133,6 +3760,10 @@ export declare const chatContract: {
|
|
|
3133
3760
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3134
3761
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
3135
3762
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3763
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
3764
|
+
draft_id: z.ZodString;
|
|
3765
|
+
card: z.ZodNumber;
|
|
3766
|
+
}, z.core.$strip>>;
|
|
3136
3767
|
text: z.ZodOptional<z.ZodString>;
|
|
3137
3768
|
stdout: z.ZodOptional<z.ZodString>;
|
|
3138
3769
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -3149,11 +3780,11 @@ export declare const chatContract: {
|
|
|
3149
3780
|
message: z.ZodNullable<z.ZodString>;
|
|
3150
3781
|
}, z.core.$strip>>>;
|
|
3151
3782
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
3152
|
-
memory: "memory";
|
|
3153
3783
|
unknown: "unknown";
|
|
3784
|
+
memory: "memory";
|
|
3154
3785
|
shell: "shell";
|
|
3155
|
-
read: "read";
|
|
3156
3786
|
list: "list";
|
|
3787
|
+
read: "read";
|
|
3157
3788
|
search: "search";
|
|
3158
3789
|
web: "web";
|
|
3159
3790
|
write: "write";
|
|
@@ -3185,6 +3816,7 @@ export declare const chatContract: {
|
|
|
3185
3816
|
}, z.core.$strip>>;
|
|
3186
3817
|
}, z.core.$strip>>;
|
|
3187
3818
|
}, z.core.$strip>>;
|
|
3819
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3188
3820
|
}, z.core.$loose>>>;
|
|
3189
3821
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
3190
3822
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3217,9 +3849,9 @@ export declare const chatContract: {
|
|
|
3217
3849
|
kind: z.ZodEnum<{
|
|
3218
3850
|
file: "file";
|
|
3219
3851
|
image: "image";
|
|
3852
|
+
pdf: "pdf";
|
|
3220
3853
|
audio: "audio";
|
|
3221
3854
|
video: "video";
|
|
3222
|
-
pdf: "pdf";
|
|
3223
3855
|
}>;
|
|
3224
3856
|
}, z.core.$strip>>>;
|
|
3225
3857
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -3227,6 +3859,10 @@ export declare const chatContract: {
|
|
|
3227
3859
|
preview: z.ZodNullable<z.ZodString>;
|
|
3228
3860
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
3229
3861
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3862
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
3863
|
+
draft_id: z.ZodString;
|
|
3864
|
+
card: z.ZodNumber;
|
|
3865
|
+
}, z.core.$strip>>;
|
|
3230
3866
|
text: z.ZodOptional<z.ZodString>;
|
|
3231
3867
|
stdout: z.ZodOptional<z.ZodString>;
|
|
3232
3868
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -3242,8 +3878,8 @@ export declare const chatContract: {
|
|
|
3242
3878
|
status: z.ZodEnum<{
|
|
3243
3879
|
unknown: "unknown";
|
|
3244
3880
|
running: "running";
|
|
3245
|
-
cancelled: "cancelled";
|
|
3246
3881
|
failed: "failed";
|
|
3882
|
+
cancelled: "cancelled";
|
|
3247
3883
|
completed: "completed";
|
|
3248
3884
|
attention: "attention";
|
|
3249
3885
|
}>;
|
|
@@ -3261,11 +3897,11 @@ export declare const chatContract: {
|
|
|
3261
3897
|
message: z.ZodNullable<z.ZodString>;
|
|
3262
3898
|
}, z.core.$strip>>>;
|
|
3263
3899
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
3264
|
-
memory: "memory";
|
|
3265
3900
|
unknown: "unknown";
|
|
3901
|
+
memory: "memory";
|
|
3266
3902
|
shell: "shell";
|
|
3267
|
-
read: "read";
|
|
3268
3903
|
list: "list";
|
|
3904
|
+
read: "read";
|
|
3269
3905
|
search: "search";
|
|
3270
3906
|
web: "web";
|
|
3271
3907
|
write: "write";
|
|
@@ -3297,6 +3933,7 @@ export declare const chatContract: {
|
|
|
3297
3933
|
}, z.core.$strip>>;
|
|
3298
3934
|
}, z.core.$strip>>;
|
|
3299
3935
|
}, z.core.$strip>>;
|
|
3936
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3300
3937
|
id: z.ZodString;
|
|
3301
3938
|
name: z.ZodString;
|
|
3302
3939
|
}, z.core.$loose>>;
|
|
@@ -3319,9 +3956,9 @@ export declare const chatContract: {
|
|
|
3319
3956
|
kind: z.ZodEnum<{
|
|
3320
3957
|
file: "file";
|
|
3321
3958
|
image: "image";
|
|
3959
|
+
pdf: "pdf";
|
|
3322
3960
|
audio: "audio";
|
|
3323
3961
|
video: "video";
|
|
3324
|
-
pdf: "pdf";
|
|
3325
3962
|
}>;
|
|
3326
3963
|
}, z.core.$strip>>>;
|
|
3327
3964
|
terminal_state: z.ZodOptional<z.ZodString>;
|
|
@@ -3367,9 +4004,9 @@ export declare const chatContract: {
|
|
|
3367
4004
|
kind: z.ZodEnum<{
|
|
3368
4005
|
file: "file";
|
|
3369
4006
|
image: "image";
|
|
4007
|
+
pdf: "pdf";
|
|
3370
4008
|
audio: "audio";
|
|
3371
4009
|
video: "video";
|
|
3372
|
-
pdf: "pdf";
|
|
3373
4010
|
}>;
|
|
3374
4011
|
}, z.core.$strip>>>;
|
|
3375
4012
|
_background_update: z.ZodOptional<z.ZodObject<{
|
|
@@ -3384,9 +4021,9 @@ export declare const chatContract: {
|
|
|
3384
4021
|
summary: z.ZodString;
|
|
3385
4022
|
lines: z.ZodArray<z.ZodObject<{
|
|
3386
4023
|
kind: z.ZodEnum<{
|
|
3387
|
-
command: "command";
|
|
3388
4024
|
agent: "agent";
|
|
3389
4025
|
other: "other";
|
|
4026
|
+
command: "command";
|
|
3390
4027
|
}>;
|
|
3391
4028
|
status: z.ZodEnum<{
|
|
3392
4029
|
failed: "failed";
|
|
@@ -3451,6 +4088,10 @@ export declare const chatContract: {
|
|
|
3451
4088
|
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3452
4089
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
3453
4090
|
result_view: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4091
|
+
outbound_draft: z.ZodOptional<z.ZodObject<{
|
|
4092
|
+
draft_id: z.ZodString;
|
|
4093
|
+
card: z.ZodNumber;
|
|
4094
|
+
}, z.core.$strip>>;
|
|
3454
4095
|
text: z.ZodOptional<z.ZodString>;
|
|
3455
4096
|
stdout: z.ZodOptional<z.ZodString>;
|
|
3456
4097
|
stderr: z.ZodOptional<z.ZodString>;
|
|
@@ -3467,11 +4108,11 @@ export declare const chatContract: {
|
|
|
3467
4108
|
message: z.ZodNullable<z.ZodString>;
|
|
3468
4109
|
}, z.core.$strip>>>;
|
|
3469
4110
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
3470
|
-
memory: "memory";
|
|
3471
4111
|
unknown: "unknown";
|
|
4112
|
+
memory: "memory";
|
|
3472
4113
|
shell: "shell";
|
|
3473
|
-
read: "read";
|
|
3474
4114
|
list: "list";
|
|
4115
|
+
read: "read";
|
|
3475
4116
|
search: "search";
|
|
3476
4117
|
web: "web";
|
|
3477
4118
|
write: "write";
|
|
@@ -3503,6 +4144,7 @@ export declare const chatContract: {
|
|
|
3503
4144
|
}, z.core.$strip>>;
|
|
3504
4145
|
}, z.core.$strip>>;
|
|
3505
4146
|
}, z.core.$strip>>;
|
|
4147
|
+
focus_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3506
4148
|
}, z.core.$loose>>>;
|
|
3507
4149
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
3508
4150
|
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3563,8 +4205,8 @@ export declare const chatContract: {
|
|
|
3563
4205
|
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3564
4206
|
key: z.ZodString;
|
|
3565
4207
|
level: z.ZodEnum<{
|
|
3566
|
-
error: "error";
|
|
3567
4208
|
success: "success";
|
|
4209
|
+
error: "error";
|
|
3568
4210
|
info: "info";
|
|
3569
4211
|
warn: "warn";
|
|
3570
4212
|
}>;
|
|
@@ -3587,6 +4229,7 @@ export declare const chatContract: {
|
|
|
3587
4229
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
3588
4230
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3589
4231
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4232
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
3590
4233
|
filename: z.ZodOptional<z.ZodString>;
|
|
3591
4234
|
name: z.ZodOptional<z.ZodString>;
|
|
3592
4235
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -3631,6 +4274,16 @@ export declare const chatContract: {
|
|
|
3631
4274
|
cancel: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3632
4275
|
stream_id: z.ZodOptional<z.ZodString>;
|
|
3633
4276
|
}, z.core.$strip>, z.ZodObject<{
|
|
4277
|
+
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
4278
|
+
stale: "stale";
|
|
4279
|
+
running: "running";
|
|
4280
|
+
failed: "failed";
|
|
4281
|
+
cancelled: "cancelled";
|
|
4282
|
+
completed: "completed";
|
|
4283
|
+
starting: "starting";
|
|
4284
|
+
waiting_for_approval: "waiting_for_approval";
|
|
4285
|
+
waiting_for_input: "waiting_for_input";
|
|
4286
|
+
}>>;
|
|
3634
4287
|
ok: z.ZodBoolean;
|
|
3635
4288
|
cancelled: z.ZodBoolean;
|
|
3636
4289
|
stream_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3649,6 +4302,16 @@ export declare const chatContract: {
|
|
|
3649
4302
|
streamStatus: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3650
4303
|
stream_id: z.ZodOptional<z.ZodString>;
|
|
3651
4304
|
}, z.core.$strip>, z.ZodObject<{
|
|
4305
|
+
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
4306
|
+
stale: "stale";
|
|
4307
|
+
running: "running";
|
|
4308
|
+
failed: "failed";
|
|
4309
|
+
cancelled: "cancelled";
|
|
4310
|
+
completed: "completed";
|
|
4311
|
+
starting: "starting";
|
|
4312
|
+
waiting_for_approval: "waiting_for_approval";
|
|
4313
|
+
waiting_for_input: "waiting_for_input";
|
|
4314
|
+
}>>;
|
|
3652
4315
|
active: z.ZodBoolean;
|
|
3653
4316
|
stream_id: z.ZodString;
|
|
3654
4317
|
replay_available: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3827,6 +4490,16 @@ export declare const chatContract: {
|
|
|
3827
4490
|
background_command: "background_command";
|
|
3828
4491
|
}>>;
|
|
3829
4492
|
}, z.core.$strip>, z.ZodObject<{
|
|
4493
|
+
activity_phase: z.ZodOptional<z.ZodEnum<{
|
|
4494
|
+
stale: "stale";
|
|
4495
|
+
running: "running";
|
|
4496
|
+
failed: "failed";
|
|
4497
|
+
cancelled: "cancelled";
|
|
4498
|
+
completed: "completed";
|
|
4499
|
+
starting: "starting";
|
|
4500
|
+
waiting_for_approval: "waiting_for_approval";
|
|
4501
|
+
waiting_for_input: "waiting_for_input";
|
|
4502
|
+
}>>;
|
|
3830
4503
|
session_id: z.ZodString;
|
|
3831
4504
|
tasks: z.ZodArray<z.ZodObject<{
|
|
3832
4505
|
task_id: z.ZodString;
|
|
@@ -3838,8 +4511,8 @@ export declare const chatContract: {
|
|
|
3838
4511
|
status: z.ZodEnum<{
|
|
3839
4512
|
unknown: "unknown";
|
|
3840
4513
|
running: "running";
|
|
3841
|
-
cancelled: "cancelled";
|
|
3842
4514
|
failed: "failed";
|
|
4515
|
+
cancelled: "cancelled";
|
|
3843
4516
|
completed: "completed";
|
|
3844
4517
|
attention: "attention";
|
|
3845
4518
|
}>;
|
|
@@ -3899,8 +4572,8 @@ export declare const chatContract: {
|
|
|
3899
4572
|
status: z.ZodEnum<{
|
|
3900
4573
|
unknown: "unknown";
|
|
3901
4574
|
running: "running";
|
|
3902
|
-
cancelled: "cancelled";
|
|
3903
4575
|
failed: "failed";
|
|
4576
|
+
cancelled: "cancelled";
|
|
3904
4577
|
completed: "completed";
|
|
3905
4578
|
attention: "attention";
|
|
3906
4579
|
}>;
|