@maudecode/talaria-web-contracts 1.18.0 → 1.19.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/gateway-session.d.ts +229 -0
- package/dist/gateway-session.js +46 -0
- package/dist/gateway-session.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/openapi.js +4 -0
- package/dist/openapi.js.map +1 -1
- package/dist/router.d.ts +4265 -220
- package/dist/routes/automation.d.ts +104 -24
- package/dist/routes/automation.js +6 -3
- package/dist/routes/automation.js.map +1 -1
- package/dist/routes/chat.d.ts +1338 -43
- package/dist/routes/chat.js +5 -1
- package/dist/routes/chat.js.map +1 -1
- package/dist/routes/core.d.ts +17 -6
- package/dist/routes/core.js +2 -2
- package/dist/routes/core.js.map +1 -1
- package/dist/routes/raw.js +1 -1
- package/dist/routes/raw.js.map +1 -1
- package/dist/routes/sessions.d.ts +2367 -156
- package/dist/routes/sessions.js +18 -7
- package/dist/routes/sessions.js.map +1 -1
- package/dist/routes/settings.d.ts +427 -9
- package/dist/routes/settings.js +2 -2
- package/dist/routes/settings.js.map +1 -1
- package/dist/routes/tools.d.ts +645 -18
- package/dist/routes/tools.js +65 -8
- package/dist/routes/tools.js.map +1 -1
- package/dist/run-status.d.ts +39 -0
- package/dist/run-status.js +13 -0
- package/dist/run-status.js.map +1 -0
- package/dist/sidecar/methods.d.ts +1074 -17
- package/dist/sidecar/methods.js +9 -2
- package/dist/sidecar/methods.js.map +1 -1
- package/dist/sidecar/namespaces.d.ts +1469 -33
- package/dist/sidecar/namespaces.js +298 -31
- package/dist/sidecar/namespaces.js.map +1 -1
- package/dist/sidecar/runtime.d.ts +61 -0
- package/dist/sidecar/runtime.js +20 -0
- 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/speed.d.ts +14 -0
- package/dist/speed.js +6 -0
- package/dist/speed.js.map +1 -0
- package/dist/sse.d.ts +797 -5
- package/dist/sse.js +24 -7
- package/dist/sse.js.map +1 -1
- package/dist/transcribe-stream.d.ts +34 -0
- package/dist/transcribe-stream.js +23 -0
- package/dist/transcribe-stream.js.map +1 -0
- package/dist/views.d.ts +2097 -127
- package/dist/views.js +273 -47
- package/dist/views.js.map +1 -1
- package/fixtures/sidecar/aux.json +134 -0
- package/fixtures/sidecar/chat.json +14 -0
- package/fixtures/sidecar/checkpoints.json +6 -6
- package/fixtures/sidecar/commands.json +216 -108
- package/fixtures/sidecar/config.json +15 -0
- package/fixtures/sidecar/connectors.json +218 -0
- package/fixtures/sidecar/cron.json +1001 -31
- package/fixtures/sidecar/gateway.json +39 -0
- package/fixtures/sidecar/goals.json +5 -3
- package/fixtures/sidecar/kanban.json +139 -49
- package/fixtures/sidecar/memory.json +50 -0
- package/fixtures/sidecar/models.json +122 -0
- package/fixtures/sidecar/personalities.json +92 -0
- package/fixtures/sidecar/plugins.json +116 -27
- package/fixtures/sidecar/process.json +31 -0
- package/fixtures/sidecar/profiles.json +2 -0
- package/fixtures/sidecar/providers.json +14 -1
- package/fixtures/sidecar/rpc.json +35 -1
- package/fixtures/sidecar/runtime.json +130 -14
- package/fixtures/sidecar/skills.json +256 -13
- package/fixtures/sidecar/state_db.json +19 -2
- package/fixtures/sidecar/stt.json +62 -1
- package/fixtures/sidecar/text.json +20 -2
- package/fixtures/sidecar/toolsets.json +468 -0
- package/fixtures/sidecar/usage.json +22 -2
- package/fixtures/sidecar/write_approval.json +98 -0
- package/package.json +1 -1
|
@@ -2,6 +2,31 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const OkSchema: z.ZodObject<{
|
|
3
3
|
ok: z.ZodLiteral<true>;
|
|
4
4
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
5
|
+
/** HTTP 409: nothing has changed; resend the same selection with this token only after confirmation. */
|
|
6
|
+
export declare const ModelConfirmationRequiredSchema: z.ZodObject<{
|
|
7
|
+
error: z.ZodString;
|
|
8
|
+
type: z.ZodLiteral<"model_confirmation_required">;
|
|
9
|
+
warnings: z.ZodArray<z.ZodObject<{
|
|
10
|
+
kind: z.ZodString;
|
|
11
|
+
title: z.ZodString;
|
|
12
|
+
model: z.ZodString;
|
|
13
|
+
provider: z.ZodString;
|
|
14
|
+
message: z.ZodString;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
confirm_token: z.ZodString;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
export type ModelConfirmationRequired = z.infer<typeof ModelConfirmationRequiredSchema>;
|
|
19
|
+
/**
|
|
20
|
+
* Counted on the shown (`_display: 'row'`) messages: `discard_user_turns` the user turns the cut removes, `discard_messages` the messages after the row at
|
|
21
|
+
* `keep_count`. `confirm_token` names the rows counted; a confirmation carrying it cuts only while they are unchanged.
|
|
22
|
+
*/
|
|
23
|
+
export declare const TruncateConfirmRequiredSchema: z.ZodObject<{
|
|
24
|
+
ok: z.ZodLiteral<false>;
|
|
25
|
+
confirm_required: z.ZodLiteral<true>;
|
|
26
|
+
discard_user_turns: z.ZodNumber;
|
|
27
|
+
discard_messages: z.ZodNumber;
|
|
28
|
+
confirm_token: z.ZodString;
|
|
29
|
+
}, z.core.$strip>;
|
|
5
30
|
export declare const SessionsListQuerySchema: z.ZodObject<{
|
|
6
31
|
include_archived: z.ZodOptional<z.ZodString>;
|
|
7
32
|
all_profiles: z.ZodOptional<z.ZodString>;
|
|
@@ -47,13 +72,16 @@ export declare const SessionDetailQuerySchema: z.ZodObject<{
|
|
|
47
72
|
/** TAL-627: one bulk action over many sessions; ids are unique and the server answers each in input order. */
|
|
48
73
|
export declare const SessionsBulkRequestSchema: z.ZodObject<{
|
|
49
74
|
action: z.ZodEnum<{
|
|
50
|
-
delete: "delete";
|
|
51
75
|
archive: "archive";
|
|
76
|
+
delete: "delete";
|
|
52
77
|
unarchive: "unarchive";
|
|
53
78
|
}>;
|
|
54
79
|
session_ids: z.ZodArray<z.ZodString>;
|
|
55
80
|
}, z.core.$strip>;
|
|
56
|
-
/**
|
|
81
|
+
/**
|
|
82
|
+
* Each id's outcome: `status`/`error`/`refused` are what the single-session route would have answered; one failure never
|
|
83
|
+
* stops the rest.
|
|
84
|
+
*/
|
|
57
85
|
export declare const SessionsBulkResultSchema: z.ZodObject<{
|
|
58
86
|
results: z.ZodArray<z.ZodObject<{
|
|
59
87
|
session_id: z.ZodString;
|
|
@@ -61,6 +89,10 @@ export declare const SessionsBulkResultSchema: z.ZodObject<{
|
|
|
61
89
|
status: z.ZodOptional<z.ZodNumber>;
|
|
62
90
|
error: z.ZodOptional<z.ZodString>;
|
|
63
91
|
state_db_cleanup_failed: z.ZodOptional<z.ZodBoolean>;
|
|
92
|
+
refused: z.ZodOptional<z.ZodEnum<{
|
|
93
|
+
active_turn: "active_turn";
|
|
94
|
+
runtime_history_unsupported: "runtime_history_unsupported";
|
|
95
|
+
}>>;
|
|
64
96
|
}, z.core.$strip>>;
|
|
65
97
|
}, z.core.$strip>;
|
|
66
98
|
/** A round is a user message (consecutive ones merge) answered by the assistant; the dock is offered from `threshold` rounds. */
|
|
@@ -102,11 +134,11 @@ export declare const CompressResultSchema: z.ZodObject<{
|
|
|
102
134
|
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
103
135
|
source_kind: z.ZodEnum<{
|
|
104
136
|
other: "other";
|
|
137
|
+
webhook: "webhook";
|
|
138
|
+
cron: "cron";
|
|
105
139
|
webui: "webui";
|
|
106
140
|
cli: "cli";
|
|
107
141
|
messaging: "messaging";
|
|
108
|
-
cron: "cron";
|
|
109
|
-
webhook: "webhook";
|
|
110
142
|
subagent: "subagent";
|
|
111
143
|
claude_code: "claude_code";
|
|
112
144
|
kanban: "kanban";
|
|
@@ -115,6 +147,57 @@ export declare const CompressResultSchema: z.ZodObject<{
|
|
|
115
147
|
is_messaging_session: z.ZodBoolean;
|
|
116
148
|
sort_ts: z.ZodNumber;
|
|
117
149
|
read_only: z.ZodBoolean;
|
|
150
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
151
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
152
|
+
state: z.ZodEnum<{
|
|
153
|
+
attached: "attached";
|
|
154
|
+
stopped: "stopped";
|
|
155
|
+
unavailable: "unavailable";
|
|
156
|
+
incompatible: "incompatible";
|
|
157
|
+
refused: "refused";
|
|
158
|
+
}>;
|
|
159
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
160
|
+
can_submit: z.ZodBoolean;
|
|
161
|
+
can_interrupt: z.ZodBoolean;
|
|
162
|
+
can_attach: z.ZodBoolean;
|
|
163
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
164
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
165
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
166
|
+
admission_id: z.ZodString;
|
|
167
|
+
sequence: z.ZodNumber;
|
|
168
|
+
status: z.ZodEnum<{
|
|
169
|
+
unknown: "unknown";
|
|
170
|
+
queued: "queued";
|
|
171
|
+
started: "started";
|
|
172
|
+
terminal: "terminal";
|
|
173
|
+
}>;
|
|
174
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
175
|
+
authority_epoch: z.ZodNumber;
|
|
176
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
177
|
+
text: z.ZodOptional<z.ZodString>;
|
|
178
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
179
|
+
}, z.core.$strip>>>;
|
|
180
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
181
|
+
admission_id: z.ZodString;
|
|
182
|
+
sequence: z.ZodNumber;
|
|
183
|
+
status: z.ZodEnum<{
|
|
184
|
+
unknown: "unknown";
|
|
185
|
+
queued: "queued";
|
|
186
|
+
started: "started";
|
|
187
|
+
terminal: "terminal";
|
|
188
|
+
}>;
|
|
189
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
190
|
+
authority_epoch: z.ZodNumber;
|
|
191
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
192
|
+
text: z.ZodOptional<z.ZodString>;
|
|
193
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
194
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
195
|
+
cancel: "cancel";
|
|
196
|
+
discard: "discard";
|
|
197
|
+
retry: "retry";
|
|
198
|
+
}>>;
|
|
199
|
+
}, z.core.$strip>>;
|
|
200
|
+
}, z.core.$strip>>;
|
|
118
201
|
can_branch: z.ZodBoolean;
|
|
119
202
|
can_pin: z.ZodBoolean;
|
|
120
203
|
can_archive: z.ZodBoolean;
|
|
@@ -122,6 +205,7 @@ export declare const CompressResultSchema: z.ZodObject<{
|
|
|
122
205
|
can_duplicate: z.ZodBoolean;
|
|
123
206
|
source_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
124
207
|
can_compress: z.ZodOptional<z.ZodBoolean>;
|
|
208
|
+
confirms_deep_truncate: z.ZodOptional<z.ZodBoolean>;
|
|
125
209
|
source_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
126
210
|
session_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
127
211
|
raw_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -161,6 +245,7 @@ export declare const CompressResultSchema: z.ZodObject<{
|
|
|
161
245
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
162
246
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
163
247
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
248
|
+
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
164
249
|
session_id: z.ZodString;
|
|
165
250
|
title: z.ZodString;
|
|
166
251
|
workspace: z.ZodOptional<z.ZodString>;
|
|
@@ -214,6 +299,7 @@ export declare const CompressResultSchema: z.ZodObject<{
|
|
|
214
299
|
event_type: z.ZodOptional<z.ZodString>;
|
|
215
300
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
216
301
|
unknown: "unknown";
|
|
302
|
+
memory: "memory";
|
|
217
303
|
shell: "shell";
|
|
218
304
|
read: "read";
|
|
219
305
|
list: "list";
|
|
@@ -221,7 +307,6 @@ export declare const CompressResultSchema: z.ZodObject<{
|
|
|
221
307
|
web: "web";
|
|
222
308
|
write: "write";
|
|
223
309
|
skill: "skill";
|
|
224
|
-
memory: "memory";
|
|
225
310
|
delegate: "delegate";
|
|
226
311
|
}>>;
|
|
227
312
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -265,8 +350,8 @@ export declare const CompressResultSchema: z.ZodObject<{
|
|
|
265
350
|
row_id: z.ZodString;
|
|
266
351
|
order_index: z.ZodNumber;
|
|
267
352
|
role: z.ZodEnum<{
|
|
268
|
-
reasoning: "reasoning";
|
|
269
353
|
tool: "tool";
|
|
354
|
+
reasoning: "reasoning";
|
|
270
355
|
prose: "prose";
|
|
271
356
|
steering: "steering";
|
|
272
357
|
}>;
|
|
@@ -305,10 +390,10 @@ export declare const CompressResultSchema: z.ZodObject<{
|
|
|
305
390
|
task_ids: z.ZodArray<z.ZodString>;
|
|
306
391
|
status: z.ZodEnum<{
|
|
307
392
|
unknown: "unknown";
|
|
393
|
+
running: "running";
|
|
308
394
|
cancelled: "cancelled";
|
|
309
|
-
completed: "completed";
|
|
310
395
|
failed: "failed";
|
|
311
|
-
|
|
396
|
+
completed: "completed";
|
|
312
397
|
attention: "attention";
|
|
313
398
|
}>;
|
|
314
399
|
agents: z.ZodObject<{
|
|
@@ -322,6 +407,7 @@ export declare const CompressResultSchema: z.ZodObject<{
|
|
|
322
407
|
result_chars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
323
408
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
324
409
|
unknown: "unknown";
|
|
410
|
+
memory: "memory";
|
|
325
411
|
shell: "shell";
|
|
326
412
|
read: "read";
|
|
327
413
|
list: "list";
|
|
@@ -329,7 +415,6 @@ export declare const CompressResultSchema: z.ZodObject<{
|
|
|
329
415
|
web: "web";
|
|
330
416
|
write: "write";
|
|
331
417
|
skill: "skill";
|
|
332
|
-
memory: "memory";
|
|
333
418
|
delegate: "delegate";
|
|
334
419
|
}>>;
|
|
335
420
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -449,19 +534,45 @@ export declare const CompressResultSchema: z.ZodObject<{
|
|
|
449
534
|
other: "other";
|
|
450
535
|
}>;
|
|
451
536
|
status: z.ZodEnum<{
|
|
452
|
-
completed: "completed";
|
|
453
537
|
failed: "failed";
|
|
538
|
+
completed: "completed";
|
|
454
539
|
notice: "notice";
|
|
455
540
|
}>;
|
|
456
541
|
label: z.ZodString;
|
|
457
542
|
exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
543
|
+
review_state: z.ZodOptional<z.ZodEnum<{
|
|
544
|
+
unknown: "unknown";
|
|
545
|
+
failed: "failed";
|
|
546
|
+
waiting: "waiting";
|
|
547
|
+
reviewing: "reviewing";
|
|
548
|
+
reviewed: "reviewed";
|
|
549
|
+
}>>;
|
|
458
550
|
}, z.core.$strip>>;
|
|
551
|
+
review_state: z.ZodOptional<z.ZodEnum<{
|
|
552
|
+
unknown: "unknown";
|
|
553
|
+
failed: "failed";
|
|
554
|
+
waiting: "waiting";
|
|
555
|
+
reviewing: "reviewing";
|
|
556
|
+
reviewed: "reviewed";
|
|
557
|
+
}>>;
|
|
459
558
|
}, z.core.$strip>>;
|
|
460
559
|
_marker_kind: z.ZodOptional<z.ZodEnum<{
|
|
461
560
|
context_compaction: "context_compaction";
|
|
462
561
|
preserved_task_list: "preserved_task_list";
|
|
463
562
|
}>>;
|
|
464
563
|
_marker_body: z.ZodOptional<z.ZodString>;
|
|
564
|
+
_notice_kind: z.ZodOptional<z.ZodEnum<{
|
|
565
|
+
failed_turn: "failed_turn";
|
|
566
|
+
session_finalize: "session_finalize";
|
|
567
|
+
}>>;
|
|
568
|
+
_delivery: z.ZodOptional<z.ZodObject<{
|
|
569
|
+
kind: z.ZodEnum<{
|
|
570
|
+
webhook: "webhook";
|
|
571
|
+
cron: "cron";
|
|
572
|
+
}>;
|
|
573
|
+
name: z.ZodString;
|
|
574
|
+
body: z.ZodString;
|
|
575
|
+
}, z.core.$strip>>;
|
|
465
576
|
_background_reply: z.ZodOptional<z.ZodBoolean>;
|
|
466
577
|
_background_silent: z.ZodOptional<z.ZodBoolean>;
|
|
467
578
|
_display: z.ZodOptional<z.ZodEnum<{
|
|
@@ -498,6 +609,7 @@ export declare const CompressResultSchema: z.ZodObject<{
|
|
|
498
609
|
event_type: z.ZodOptional<z.ZodString>;
|
|
499
610
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
500
611
|
unknown: "unknown";
|
|
612
|
+
memory: "memory";
|
|
501
613
|
shell: "shell";
|
|
502
614
|
read: "read";
|
|
503
615
|
list: "list";
|
|
@@ -505,7 +617,6 @@ export declare const CompressResultSchema: z.ZodObject<{
|
|
|
505
617
|
web: "web";
|
|
506
618
|
write: "write";
|
|
507
619
|
skill: "skill";
|
|
508
|
-
memory: "memory";
|
|
509
620
|
delegate: "delegate";
|
|
510
621
|
}>>;
|
|
511
622
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -570,6 +681,50 @@ export declare const CompressResultSchema: z.ZodObject<{
|
|
|
570
681
|
send_now: z.ZodBoolean;
|
|
571
682
|
}, z.core.$strip>;
|
|
572
683
|
}, z.core.$strip>>>;
|
|
684
|
+
run_status: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
685
|
+
phase: z.ZodLiteral<"compressing">;
|
|
686
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
687
|
+
phase: z.ZodLiteral<"rate_limit_wait">;
|
|
688
|
+
wait: z.ZodObject<{
|
|
689
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
690
|
+
provider_label: z.ZodNullable<z.ZodString>;
|
|
691
|
+
until: z.ZodNumber;
|
|
692
|
+
until_kind: z.ZodEnum<{
|
|
693
|
+
reset: "reset";
|
|
694
|
+
retry: "retry";
|
|
695
|
+
}>;
|
|
696
|
+
}, z.core.$strip>;
|
|
697
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
698
|
+
phase: z.ZodLiteral<"prompt_reading">;
|
|
699
|
+
progress_percent: z.ZodNullable<z.ZodNumber>;
|
|
700
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
701
|
+
phase: z.ZodLiteral<"working">;
|
|
702
|
+
}, z.core.$strip>], "phase">>>;
|
|
703
|
+
compression_started_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
704
|
+
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
705
|
+
key: z.ZodString;
|
|
706
|
+
level: z.ZodEnum<{
|
|
707
|
+
success: "success";
|
|
708
|
+
error: "error";
|
|
709
|
+
info: "info";
|
|
710
|
+
warn: "warn";
|
|
711
|
+
}>;
|
|
712
|
+
text: z.ZodString;
|
|
713
|
+
expires_at: z.ZodNullable<z.ZodNumber>;
|
|
714
|
+
}, z.core.$strip>>>;
|
|
715
|
+
goal: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
716
|
+
text: z.ZodString;
|
|
717
|
+
status: z.ZodEnum<{
|
|
718
|
+
active: "active";
|
|
719
|
+
parked: "parked";
|
|
720
|
+
paused: "paused";
|
|
721
|
+
}>;
|
|
722
|
+
turns_used: z.ZodNumber;
|
|
723
|
+
max_turns: z.ZodNumber;
|
|
724
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
725
|
+
parked_until: z.ZodNullable<z.ZodNumber>;
|
|
726
|
+
}, z.core.$strip>>>;
|
|
727
|
+
automatic_turns_held: z.ZodOptional<z.ZodBoolean>;
|
|
573
728
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
574
729
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
575
730
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -602,6 +757,17 @@ export declare const CompressResultSchema: z.ZodObject<{
|
|
|
602
757
|
* or `idle` when no job exists. Finished jobs stay readable for ten minutes so every open tab sees the same result.
|
|
603
758
|
*/
|
|
604
759
|
export declare const CompressionStatusSchema: z.ZodObject<{
|
|
760
|
+
started_at: z.ZodOptional<z.ZodNumber>;
|
|
761
|
+
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
762
|
+
agent_runtime_reason: z.ZodOptional<z.ZodEnum<{
|
|
763
|
+
unknown: "unknown";
|
|
764
|
+
update_active: "update_active";
|
|
765
|
+
recovery_incomplete: "recovery_incomplete";
|
|
766
|
+
source_changed: "source_changed";
|
|
767
|
+
}>>;
|
|
768
|
+
agent_update_state: z.ZodOptional<z.ZodString>;
|
|
769
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
770
|
+
restart_scheduled: z.ZodOptional<z.ZodBoolean>;
|
|
605
771
|
ok: z.ZodOptional<z.ZodBoolean>;
|
|
606
772
|
status: z.ZodEnum<{
|
|
607
773
|
error: "error";
|
|
@@ -620,11 +786,11 @@ export declare const CompressionStatusSchema: z.ZodObject<{
|
|
|
620
786
|
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
621
787
|
source_kind: z.ZodEnum<{
|
|
622
788
|
other: "other";
|
|
789
|
+
webhook: "webhook";
|
|
790
|
+
cron: "cron";
|
|
623
791
|
webui: "webui";
|
|
624
792
|
cli: "cli";
|
|
625
793
|
messaging: "messaging";
|
|
626
|
-
cron: "cron";
|
|
627
|
-
webhook: "webhook";
|
|
628
794
|
subagent: "subagent";
|
|
629
795
|
claude_code: "claude_code";
|
|
630
796
|
kanban: "kanban";
|
|
@@ -633,6 +799,57 @@ export declare const CompressionStatusSchema: z.ZodObject<{
|
|
|
633
799
|
is_messaging_session: z.ZodBoolean;
|
|
634
800
|
sort_ts: z.ZodNumber;
|
|
635
801
|
read_only: z.ZodBoolean;
|
|
802
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
803
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
804
|
+
state: z.ZodEnum<{
|
|
805
|
+
attached: "attached";
|
|
806
|
+
stopped: "stopped";
|
|
807
|
+
unavailable: "unavailable";
|
|
808
|
+
incompatible: "incompatible";
|
|
809
|
+
refused: "refused";
|
|
810
|
+
}>;
|
|
811
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
812
|
+
can_submit: z.ZodBoolean;
|
|
813
|
+
can_interrupt: z.ZodBoolean;
|
|
814
|
+
can_attach: z.ZodBoolean;
|
|
815
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
816
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
817
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
818
|
+
admission_id: z.ZodString;
|
|
819
|
+
sequence: z.ZodNumber;
|
|
820
|
+
status: z.ZodEnum<{
|
|
821
|
+
unknown: "unknown";
|
|
822
|
+
queued: "queued";
|
|
823
|
+
started: "started";
|
|
824
|
+
terminal: "terminal";
|
|
825
|
+
}>;
|
|
826
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
827
|
+
authority_epoch: z.ZodNumber;
|
|
828
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
829
|
+
text: z.ZodOptional<z.ZodString>;
|
|
830
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
831
|
+
}, z.core.$strip>>>;
|
|
832
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
833
|
+
admission_id: z.ZodString;
|
|
834
|
+
sequence: z.ZodNumber;
|
|
835
|
+
status: z.ZodEnum<{
|
|
836
|
+
unknown: "unknown";
|
|
837
|
+
queued: "queued";
|
|
838
|
+
started: "started";
|
|
839
|
+
terminal: "terminal";
|
|
840
|
+
}>;
|
|
841
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
842
|
+
authority_epoch: z.ZodNumber;
|
|
843
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
844
|
+
text: z.ZodOptional<z.ZodString>;
|
|
845
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
846
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
847
|
+
cancel: "cancel";
|
|
848
|
+
discard: "discard";
|
|
849
|
+
retry: "retry";
|
|
850
|
+
}>>;
|
|
851
|
+
}, z.core.$strip>>;
|
|
852
|
+
}, z.core.$strip>>;
|
|
636
853
|
can_branch: z.ZodBoolean;
|
|
637
854
|
can_pin: z.ZodBoolean;
|
|
638
855
|
can_archive: z.ZodBoolean;
|
|
@@ -640,6 +857,7 @@ export declare const CompressionStatusSchema: z.ZodObject<{
|
|
|
640
857
|
can_duplicate: z.ZodBoolean;
|
|
641
858
|
source_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
642
859
|
can_compress: z.ZodOptional<z.ZodBoolean>;
|
|
860
|
+
confirms_deep_truncate: z.ZodOptional<z.ZodBoolean>;
|
|
643
861
|
source_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
644
862
|
session_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
645
863
|
raw_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -679,6 +897,7 @@ export declare const CompressionStatusSchema: z.ZodObject<{
|
|
|
679
897
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
680
898
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
681
899
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
900
|
+
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
682
901
|
session_id: z.ZodString;
|
|
683
902
|
title: z.ZodString;
|
|
684
903
|
workspace: z.ZodOptional<z.ZodString>;
|
|
@@ -732,6 +951,7 @@ export declare const CompressionStatusSchema: z.ZodObject<{
|
|
|
732
951
|
event_type: z.ZodOptional<z.ZodString>;
|
|
733
952
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
734
953
|
unknown: "unknown";
|
|
954
|
+
memory: "memory";
|
|
735
955
|
shell: "shell";
|
|
736
956
|
read: "read";
|
|
737
957
|
list: "list";
|
|
@@ -739,7 +959,6 @@ export declare const CompressionStatusSchema: z.ZodObject<{
|
|
|
739
959
|
web: "web";
|
|
740
960
|
write: "write";
|
|
741
961
|
skill: "skill";
|
|
742
|
-
memory: "memory";
|
|
743
962
|
delegate: "delegate";
|
|
744
963
|
}>>;
|
|
745
964
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -783,8 +1002,8 @@ export declare const CompressionStatusSchema: z.ZodObject<{
|
|
|
783
1002
|
row_id: z.ZodString;
|
|
784
1003
|
order_index: z.ZodNumber;
|
|
785
1004
|
role: z.ZodEnum<{
|
|
786
|
-
reasoning: "reasoning";
|
|
787
1005
|
tool: "tool";
|
|
1006
|
+
reasoning: "reasoning";
|
|
788
1007
|
prose: "prose";
|
|
789
1008
|
steering: "steering";
|
|
790
1009
|
}>;
|
|
@@ -823,10 +1042,10 @@ export declare const CompressionStatusSchema: z.ZodObject<{
|
|
|
823
1042
|
task_ids: z.ZodArray<z.ZodString>;
|
|
824
1043
|
status: z.ZodEnum<{
|
|
825
1044
|
unknown: "unknown";
|
|
1045
|
+
running: "running";
|
|
826
1046
|
cancelled: "cancelled";
|
|
827
|
-
completed: "completed";
|
|
828
1047
|
failed: "failed";
|
|
829
|
-
|
|
1048
|
+
completed: "completed";
|
|
830
1049
|
attention: "attention";
|
|
831
1050
|
}>;
|
|
832
1051
|
agents: z.ZodObject<{
|
|
@@ -840,6 +1059,7 @@ export declare const CompressionStatusSchema: z.ZodObject<{
|
|
|
840
1059
|
result_chars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
841
1060
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
842
1061
|
unknown: "unknown";
|
|
1062
|
+
memory: "memory";
|
|
843
1063
|
shell: "shell";
|
|
844
1064
|
read: "read";
|
|
845
1065
|
list: "list";
|
|
@@ -847,7 +1067,6 @@ export declare const CompressionStatusSchema: z.ZodObject<{
|
|
|
847
1067
|
web: "web";
|
|
848
1068
|
write: "write";
|
|
849
1069
|
skill: "skill";
|
|
850
|
-
memory: "memory";
|
|
851
1070
|
delegate: "delegate";
|
|
852
1071
|
}>>;
|
|
853
1072
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -967,19 +1186,45 @@ export declare const CompressionStatusSchema: z.ZodObject<{
|
|
|
967
1186
|
other: "other";
|
|
968
1187
|
}>;
|
|
969
1188
|
status: z.ZodEnum<{
|
|
970
|
-
completed: "completed";
|
|
971
1189
|
failed: "failed";
|
|
1190
|
+
completed: "completed";
|
|
972
1191
|
notice: "notice";
|
|
973
1192
|
}>;
|
|
974
1193
|
label: z.ZodString;
|
|
975
1194
|
exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1195
|
+
review_state: z.ZodOptional<z.ZodEnum<{
|
|
1196
|
+
unknown: "unknown";
|
|
1197
|
+
failed: "failed";
|
|
1198
|
+
waiting: "waiting";
|
|
1199
|
+
reviewing: "reviewing";
|
|
1200
|
+
reviewed: "reviewed";
|
|
1201
|
+
}>>;
|
|
976
1202
|
}, z.core.$strip>>;
|
|
1203
|
+
review_state: z.ZodOptional<z.ZodEnum<{
|
|
1204
|
+
unknown: "unknown";
|
|
1205
|
+
failed: "failed";
|
|
1206
|
+
waiting: "waiting";
|
|
1207
|
+
reviewing: "reviewing";
|
|
1208
|
+
reviewed: "reviewed";
|
|
1209
|
+
}>>;
|
|
977
1210
|
}, z.core.$strip>>;
|
|
978
1211
|
_marker_kind: z.ZodOptional<z.ZodEnum<{
|
|
979
1212
|
context_compaction: "context_compaction";
|
|
980
1213
|
preserved_task_list: "preserved_task_list";
|
|
981
1214
|
}>>;
|
|
982
1215
|
_marker_body: z.ZodOptional<z.ZodString>;
|
|
1216
|
+
_notice_kind: z.ZodOptional<z.ZodEnum<{
|
|
1217
|
+
failed_turn: "failed_turn";
|
|
1218
|
+
session_finalize: "session_finalize";
|
|
1219
|
+
}>>;
|
|
1220
|
+
_delivery: z.ZodOptional<z.ZodObject<{
|
|
1221
|
+
kind: z.ZodEnum<{
|
|
1222
|
+
webhook: "webhook";
|
|
1223
|
+
cron: "cron";
|
|
1224
|
+
}>;
|
|
1225
|
+
name: z.ZodString;
|
|
1226
|
+
body: z.ZodString;
|
|
1227
|
+
}, z.core.$strip>>;
|
|
983
1228
|
_background_reply: z.ZodOptional<z.ZodBoolean>;
|
|
984
1229
|
_background_silent: z.ZodOptional<z.ZodBoolean>;
|
|
985
1230
|
_display: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1016,6 +1261,7 @@ export declare const CompressionStatusSchema: z.ZodObject<{
|
|
|
1016
1261
|
event_type: z.ZodOptional<z.ZodString>;
|
|
1017
1262
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
1018
1263
|
unknown: "unknown";
|
|
1264
|
+
memory: "memory";
|
|
1019
1265
|
shell: "shell";
|
|
1020
1266
|
read: "read";
|
|
1021
1267
|
list: "list";
|
|
@@ -1023,7 +1269,6 @@ export declare const CompressionStatusSchema: z.ZodObject<{
|
|
|
1023
1269
|
web: "web";
|
|
1024
1270
|
write: "write";
|
|
1025
1271
|
skill: "skill";
|
|
1026
|
-
memory: "memory";
|
|
1027
1272
|
delegate: "delegate";
|
|
1028
1273
|
}>>;
|
|
1029
1274
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -1088,6 +1333,50 @@ export declare const CompressionStatusSchema: z.ZodObject<{
|
|
|
1088
1333
|
send_now: z.ZodBoolean;
|
|
1089
1334
|
}, z.core.$strip>;
|
|
1090
1335
|
}, z.core.$strip>>>;
|
|
1336
|
+
run_status: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1337
|
+
phase: z.ZodLiteral<"compressing">;
|
|
1338
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1339
|
+
phase: z.ZodLiteral<"rate_limit_wait">;
|
|
1340
|
+
wait: z.ZodObject<{
|
|
1341
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
1342
|
+
provider_label: z.ZodNullable<z.ZodString>;
|
|
1343
|
+
until: z.ZodNumber;
|
|
1344
|
+
until_kind: z.ZodEnum<{
|
|
1345
|
+
reset: "reset";
|
|
1346
|
+
retry: "retry";
|
|
1347
|
+
}>;
|
|
1348
|
+
}, z.core.$strip>;
|
|
1349
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1350
|
+
phase: z.ZodLiteral<"prompt_reading">;
|
|
1351
|
+
progress_percent: z.ZodNullable<z.ZodNumber>;
|
|
1352
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1353
|
+
phase: z.ZodLiteral<"working">;
|
|
1354
|
+
}, z.core.$strip>], "phase">>>;
|
|
1355
|
+
compression_started_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1356
|
+
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1357
|
+
key: z.ZodString;
|
|
1358
|
+
level: z.ZodEnum<{
|
|
1359
|
+
success: "success";
|
|
1360
|
+
error: "error";
|
|
1361
|
+
info: "info";
|
|
1362
|
+
warn: "warn";
|
|
1363
|
+
}>;
|
|
1364
|
+
text: z.ZodString;
|
|
1365
|
+
expires_at: z.ZodNullable<z.ZodNumber>;
|
|
1366
|
+
}, z.core.$strip>>>;
|
|
1367
|
+
goal: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1368
|
+
text: z.ZodString;
|
|
1369
|
+
status: z.ZodEnum<{
|
|
1370
|
+
active: "active";
|
|
1371
|
+
parked: "parked";
|
|
1372
|
+
paused: "paused";
|
|
1373
|
+
}>;
|
|
1374
|
+
turns_used: z.ZodNumber;
|
|
1375
|
+
max_turns: z.ZodNumber;
|
|
1376
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
1377
|
+
parked_until: z.ZodNullable<z.ZodNumber>;
|
|
1378
|
+
}, z.core.$strip>>>;
|
|
1379
|
+
automatic_turns_held: z.ZodOptional<z.ZodBoolean>;
|
|
1091
1380
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
1092
1381
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1093
1382
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1115,11 +1404,6 @@ export declare const CompressionStatusSchema: z.ZodObject<{
|
|
|
1115
1404
|
error: z.ZodOptional<z.ZodString>;
|
|
1116
1405
|
error_status: z.ZodOptional<z.ZodNumber>;
|
|
1117
1406
|
type: z.ZodOptional<z.ZodString>;
|
|
1118
|
-
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1119
|
-
restart_scheduled: z.ZodOptional<z.ZodBoolean>;
|
|
1120
|
-
agent_update_state: z.ZodOptional<z.ZodUnknown>;
|
|
1121
|
-
started_at: z.ZodOptional<z.ZodNumber>;
|
|
1122
|
-
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
1123
1407
|
}, z.core.$loose>;
|
|
1124
1408
|
/** One `state.db` session in a lineage report: the walked tip, a hidden compression segment, or a separate child session. */
|
|
1125
1409
|
export declare const LineageReportRowSchema: z.ZodObject<{
|
|
@@ -1193,11 +1477,11 @@ export declare const CompressionRecoveryStartSchema: z.ZodObject<{
|
|
|
1193
1477
|
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
1194
1478
|
source_kind: z.ZodEnum<{
|
|
1195
1479
|
other: "other";
|
|
1480
|
+
webhook: "webhook";
|
|
1481
|
+
cron: "cron";
|
|
1196
1482
|
webui: "webui";
|
|
1197
1483
|
cli: "cli";
|
|
1198
1484
|
messaging: "messaging";
|
|
1199
|
-
cron: "cron";
|
|
1200
|
-
webhook: "webhook";
|
|
1201
1485
|
subagent: "subagent";
|
|
1202
1486
|
claude_code: "claude_code";
|
|
1203
1487
|
kanban: "kanban";
|
|
@@ -1206,6 +1490,57 @@ export declare const CompressionRecoveryStartSchema: z.ZodObject<{
|
|
|
1206
1490
|
is_messaging_session: z.ZodBoolean;
|
|
1207
1491
|
sort_ts: z.ZodNumber;
|
|
1208
1492
|
read_only: z.ZodBoolean;
|
|
1493
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1494
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
1495
|
+
state: z.ZodEnum<{
|
|
1496
|
+
attached: "attached";
|
|
1497
|
+
stopped: "stopped";
|
|
1498
|
+
unavailable: "unavailable";
|
|
1499
|
+
incompatible: "incompatible";
|
|
1500
|
+
refused: "refused";
|
|
1501
|
+
}>;
|
|
1502
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
1503
|
+
can_submit: z.ZodBoolean;
|
|
1504
|
+
can_interrupt: z.ZodBoolean;
|
|
1505
|
+
can_attach: z.ZodBoolean;
|
|
1506
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
1507
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
1508
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1509
|
+
admission_id: z.ZodString;
|
|
1510
|
+
sequence: z.ZodNumber;
|
|
1511
|
+
status: z.ZodEnum<{
|
|
1512
|
+
unknown: "unknown";
|
|
1513
|
+
queued: "queued";
|
|
1514
|
+
started: "started";
|
|
1515
|
+
terminal: "terminal";
|
|
1516
|
+
}>;
|
|
1517
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
1518
|
+
authority_epoch: z.ZodNumber;
|
|
1519
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
1520
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1521
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
1522
|
+
}, z.core.$strip>>>;
|
|
1523
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
1524
|
+
admission_id: z.ZodString;
|
|
1525
|
+
sequence: z.ZodNumber;
|
|
1526
|
+
status: z.ZodEnum<{
|
|
1527
|
+
unknown: "unknown";
|
|
1528
|
+
queued: "queued";
|
|
1529
|
+
started: "started";
|
|
1530
|
+
terminal: "terminal";
|
|
1531
|
+
}>;
|
|
1532
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
1533
|
+
authority_epoch: z.ZodNumber;
|
|
1534
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
1535
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1536
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
1537
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
1538
|
+
cancel: "cancel";
|
|
1539
|
+
discard: "discard";
|
|
1540
|
+
retry: "retry";
|
|
1541
|
+
}>>;
|
|
1542
|
+
}, z.core.$strip>>;
|
|
1543
|
+
}, z.core.$strip>>;
|
|
1209
1544
|
can_branch: z.ZodBoolean;
|
|
1210
1545
|
can_pin: z.ZodBoolean;
|
|
1211
1546
|
can_archive: z.ZodBoolean;
|
|
@@ -1213,6 +1548,7 @@ export declare const CompressionRecoveryStartSchema: z.ZodObject<{
|
|
|
1213
1548
|
can_duplicate: z.ZodBoolean;
|
|
1214
1549
|
source_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1215
1550
|
can_compress: z.ZodOptional<z.ZodBoolean>;
|
|
1551
|
+
confirms_deep_truncate: z.ZodOptional<z.ZodBoolean>;
|
|
1216
1552
|
source_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1217
1553
|
session_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1218
1554
|
raw_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1252,6 +1588,7 @@ export declare const CompressionRecoveryStartSchema: z.ZodObject<{
|
|
|
1252
1588
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1253
1589
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1254
1590
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1591
|
+
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
1255
1592
|
session_id: z.ZodString;
|
|
1256
1593
|
title: z.ZodString;
|
|
1257
1594
|
workspace: z.ZodOptional<z.ZodString>;
|
|
@@ -1305,6 +1642,7 @@ export declare const CompressionRecoveryStartSchema: z.ZodObject<{
|
|
|
1305
1642
|
event_type: z.ZodOptional<z.ZodString>;
|
|
1306
1643
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
1307
1644
|
unknown: "unknown";
|
|
1645
|
+
memory: "memory";
|
|
1308
1646
|
shell: "shell";
|
|
1309
1647
|
read: "read";
|
|
1310
1648
|
list: "list";
|
|
@@ -1312,7 +1650,6 @@ export declare const CompressionRecoveryStartSchema: z.ZodObject<{
|
|
|
1312
1650
|
web: "web";
|
|
1313
1651
|
write: "write";
|
|
1314
1652
|
skill: "skill";
|
|
1315
|
-
memory: "memory";
|
|
1316
1653
|
delegate: "delegate";
|
|
1317
1654
|
}>>;
|
|
1318
1655
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -1356,8 +1693,8 @@ export declare const CompressionRecoveryStartSchema: z.ZodObject<{
|
|
|
1356
1693
|
row_id: z.ZodString;
|
|
1357
1694
|
order_index: z.ZodNumber;
|
|
1358
1695
|
role: z.ZodEnum<{
|
|
1359
|
-
reasoning: "reasoning";
|
|
1360
1696
|
tool: "tool";
|
|
1697
|
+
reasoning: "reasoning";
|
|
1361
1698
|
prose: "prose";
|
|
1362
1699
|
steering: "steering";
|
|
1363
1700
|
}>;
|
|
@@ -1396,10 +1733,10 @@ export declare const CompressionRecoveryStartSchema: z.ZodObject<{
|
|
|
1396
1733
|
task_ids: z.ZodArray<z.ZodString>;
|
|
1397
1734
|
status: z.ZodEnum<{
|
|
1398
1735
|
unknown: "unknown";
|
|
1736
|
+
running: "running";
|
|
1399
1737
|
cancelled: "cancelled";
|
|
1400
|
-
completed: "completed";
|
|
1401
1738
|
failed: "failed";
|
|
1402
|
-
|
|
1739
|
+
completed: "completed";
|
|
1403
1740
|
attention: "attention";
|
|
1404
1741
|
}>;
|
|
1405
1742
|
agents: z.ZodObject<{
|
|
@@ -1413,6 +1750,7 @@ export declare const CompressionRecoveryStartSchema: z.ZodObject<{
|
|
|
1413
1750
|
result_chars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1414
1751
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
1415
1752
|
unknown: "unknown";
|
|
1753
|
+
memory: "memory";
|
|
1416
1754
|
shell: "shell";
|
|
1417
1755
|
read: "read";
|
|
1418
1756
|
list: "list";
|
|
@@ -1420,7 +1758,6 @@ export declare const CompressionRecoveryStartSchema: z.ZodObject<{
|
|
|
1420
1758
|
web: "web";
|
|
1421
1759
|
write: "write";
|
|
1422
1760
|
skill: "skill";
|
|
1423
|
-
memory: "memory";
|
|
1424
1761
|
delegate: "delegate";
|
|
1425
1762
|
}>>;
|
|
1426
1763
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -1540,19 +1877,45 @@ export declare const CompressionRecoveryStartSchema: z.ZodObject<{
|
|
|
1540
1877
|
other: "other";
|
|
1541
1878
|
}>;
|
|
1542
1879
|
status: z.ZodEnum<{
|
|
1543
|
-
completed: "completed";
|
|
1544
1880
|
failed: "failed";
|
|
1881
|
+
completed: "completed";
|
|
1545
1882
|
notice: "notice";
|
|
1546
1883
|
}>;
|
|
1547
1884
|
label: z.ZodString;
|
|
1548
1885
|
exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1886
|
+
review_state: z.ZodOptional<z.ZodEnum<{
|
|
1887
|
+
unknown: "unknown";
|
|
1888
|
+
failed: "failed";
|
|
1889
|
+
waiting: "waiting";
|
|
1890
|
+
reviewing: "reviewing";
|
|
1891
|
+
reviewed: "reviewed";
|
|
1892
|
+
}>>;
|
|
1549
1893
|
}, z.core.$strip>>;
|
|
1894
|
+
review_state: z.ZodOptional<z.ZodEnum<{
|
|
1895
|
+
unknown: "unknown";
|
|
1896
|
+
failed: "failed";
|
|
1897
|
+
waiting: "waiting";
|
|
1898
|
+
reviewing: "reviewing";
|
|
1899
|
+
reviewed: "reviewed";
|
|
1900
|
+
}>>;
|
|
1550
1901
|
}, z.core.$strip>>;
|
|
1551
1902
|
_marker_kind: z.ZodOptional<z.ZodEnum<{
|
|
1552
1903
|
context_compaction: "context_compaction";
|
|
1553
1904
|
preserved_task_list: "preserved_task_list";
|
|
1554
1905
|
}>>;
|
|
1555
1906
|
_marker_body: z.ZodOptional<z.ZodString>;
|
|
1907
|
+
_notice_kind: z.ZodOptional<z.ZodEnum<{
|
|
1908
|
+
failed_turn: "failed_turn";
|
|
1909
|
+
session_finalize: "session_finalize";
|
|
1910
|
+
}>>;
|
|
1911
|
+
_delivery: z.ZodOptional<z.ZodObject<{
|
|
1912
|
+
kind: z.ZodEnum<{
|
|
1913
|
+
webhook: "webhook";
|
|
1914
|
+
cron: "cron";
|
|
1915
|
+
}>;
|
|
1916
|
+
name: z.ZodString;
|
|
1917
|
+
body: z.ZodString;
|
|
1918
|
+
}, z.core.$strip>>;
|
|
1556
1919
|
_background_reply: z.ZodOptional<z.ZodBoolean>;
|
|
1557
1920
|
_background_silent: z.ZodOptional<z.ZodBoolean>;
|
|
1558
1921
|
_display: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1589,6 +1952,7 @@ export declare const CompressionRecoveryStartSchema: z.ZodObject<{
|
|
|
1589
1952
|
event_type: z.ZodOptional<z.ZodString>;
|
|
1590
1953
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
1591
1954
|
unknown: "unknown";
|
|
1955
|
+
memory: "memory";
|
|
1592
1956
|
shell: "shell";
|
|
1593
1957
|
read: "read";
|
|
1594
1958
|
list: "list";
|
|
@@ -1596,7 +1960,6 @@ export declare const CompressionRecoveryStartSchema: z.ZodObject<{
|
|
|
1596
1960
|
web: "web";
|
|
1597
1961
|
write: "write";
|
|
1598
1962
|
skill: "skill";
|
|
1599
|
-
memory: "memory";
|
|
1600
1963
|
delegate: "delegate";
|
|
1601
1964
|
}>>;
|
|
1602
1965
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -1661,6 +2024,50 @@ export declare const CompressionRecoveryStartSchema: z.ZodObject<{
|
|
|
1661
2024
|
send_now: z.ZodBoolean;
|
|
1662
2025
|
}, z.core.$strip>;
|
|
1663
2026
|
}, z.core.$strip>>>;
|
|
2027
|
+
run_status: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2028
|
+
phase: z.ZodLiteral<"compressing">;
|
|
2029
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2030
|
+
phase: z.ZodLiteral<"rate_limit_wait">;
|
|
2031
|
+
wait: z.ZodObject<{
|
|
2032
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
2033
|
+
provider_label: z.ZodNullable<z.ZodString>;
|
|
2034
|
+
until: z.ZodNumber;
|
|
2035
|
+
until_kind: z.ZodEnum<{
|
|
2036
|
+
reset: "reset";
|
|
2037
|
+
retry: "retry";
|
|
2038
|
+
}>;
|
|
2039
|
+
}, z.core.$strip>;
|
|
2040
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2041
|
+
phase: z.ZodLiteral<"prompt_reading">;
|
|
2042
|
+
progress_percent: z.ZodNullable<z.ZodNumber>;
|
|
2043
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2044
|
+
phase: z.ZodLiteral<"working">;
|
|
2045
|
+
}, z.core.$strip>], "phase">>>;
|
|
2046
|
+
compression_started_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2047
|
+
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2048
|
+
key: z.ZodString;
|
|
2049
|
+
level: z.ZodEnum<{
|
|
2050
|
+
success: "success";
|
|
2051
|
+
error: "error";
|
|
2052
|
+
info: "info";
|
|
2053
|
+
warn: "warn";
|
|
2054
|
+
}>;
|
|
2055
|
+
text: z.ZodString;
|
|
2056
|
+
expires_at: z.ZodNullable<z.ZodNumber>;
|
|
2057
|
+
}, z.core.$strip>>>;
|
|
2058
|
+
goal: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2059
|
+
text: z.ZodString;
|
|
2060
|
+
status: z.ZodEnum<{
|
|
2061
|
+
active: "active";
|
|
2062
|
+
parked: "parked";
|
|
2063
|
+
paused: "paused";
|
|
2064
|
+
}>;
|
|
2065
|
+
turns_used: z.ZodNumber;
|
|
2066
|
+
max_turns: z.ZodNumber;
|
|
2067
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2068
|
+
parked_until: z.ZodNullable<z.ZodNumber>;
|
|
2069
|
+
}, z.core.$strip>>>;
|
|
2070
|
+
automatic_turns_held: z.ZodOptional<z.ZodBoolean>;
|
|
1664
2071
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
1665
2072
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1666
2073
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1929,11 +2336,11 @@ export declare const sessionsContract: {
|
|
|
1929
2336
|
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
1930
2337
|
source_kind: z.ZodEnum<{
|
|
1931
2338
|
other: "other";
|
|
2339
|
+
webhook: "webhook";
|
|
2340
|
+
cron: "cron";
|
|
1932
2341
|
webui: "webui";
|
|
1933
2342
|
cli: "cli";
|
|
1934
2343
|
messaging: "messaging";
|
|
1935
|
-
cron: "cron";
|
|
1936
|
-
webhook: "webhook";
|
|
1937
2344
|
subagent: "subagent";
|
|
1938
2345
|
claude_code: "claude_code";
|
|
1939
2346
|
kanban: "kanban";
|
|
@@ -1943,6 +2350,57 @@ export declare const sessionsContract: {
|
|
|
1943
2350
|
sort_ts: z.ZodNumber;
|
|
1944
2351
|
cron_running: z.ZodOptional<z.ZodBoolean>;
|
|
1945
2352
|
read_only: z.ZodBoolean;
|
|
2353
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2354
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
2355
|
+
state: z.ZodEnum<{
|
|
2356
|
+
attached: "attached";
|
|
2357
|
+
stopped: "stopped";
|
|
2358
|
+
unavailable: "unavailable";
|
|
2359
|
+
incompatible: "incompatible";
|
|
2360
|
+
refused: "refused";
|
|
2361
|
+
}>;
|
|
2362
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2363
|
+
can_submit: z.ZodBoolean;
|
|
2364
|
+
can_interrupt: z.ZodBoolean;
|
|
2365
|
+
can_attach: z.ZodBoolean;
|
|
2366
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
2367
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
2368
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2369
|
+
admission_id: z.ZodString;
|
|
2370
|
+
sequence: z.ZodNumber;
|
|
2371
|
+
status: z.ZodEnum<{
|
|
2372
|
+
unknown: "unknown";
|
|
2373
|
+
queued: "queued";
|
|
2374
|
+
started: "started";
|
|
2375
|
+
terminal: "terminal";
|
|
2376
|
+
}>;
|
|
2377
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
2378
|
+
authority_epoch: z.ZodNumber;
|
|
2379
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
2380
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2381
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
2382
|
+
}, z.core.$strip>>>;
|
|
2383
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
2384
|
+
admission_id: z.ZodString;
|
|
2385
|
+
sequence: z.ZodNumber;
|
|
2386
|
+
status: z.ZodEnum<{
|
|
2387
|
+
unknown: "unknown";
|
|
2388
|
+
queued: "queued";
|
|
2389
|
+
started: "started";
|
|
2390
|
+
terminal: "terminal";
|
|
2391
|
+
}>;
|
|
2392
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
2393
|
+
authority_epoch: z.ZodNumber;
|
|
2394
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
2395
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2396
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
2397
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
2398
|
+
cancel: "cancel";
|
|
2399
|
+
discard: "discard";
|
|
2400
|
+
retry: "retry";
|
|
2401
|
+
}>>;
|
|
2402
|
+
}, z.core.$strip>>;
|
|
2403
|
+
}, z.core.$strip>>;
|
|
1946
2404
|
can_branch: z.ZodBoolean;
|
|
1947
2405
|
can_pin: z.ZodBoolean;
|
|
1948
2406
|
can_archive: z.ZodBoolean;
|
|
@@ -1990,11 +2448,11 @@ export declare const sessionsContract: {
|
|
|
1990
2448
|
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
1991
2449
|
source_kind: z.ZodEnum<{
|
|
1992
2450
|
other: "other";
|
|
2451
|
+
webhook: "webhook";
|
|
2452
|
+
cron: "cron";
|
|
1993
2453
|
webui: "webui";
|
|
1994
2454
|
cli: "cli";
|
|
1995
2455
|
messaging: "messaging";
|
|
1996
|
-
cron: "cron";
|
|
1997
|
-
webhook: "webhook";
|
|
1998
2456
|
subagent: "subagent";
|
|
1999
2457
|
claude_code: "claude_code";
|
|
2000
2458
|
kanban: "kanban";
|
|
@@ -2004,6 +2462,57 @@ export declare const sessionsContract: {
|
|
|
2004
2462
|
sort_ts: z.ZodNumber;
|
|
2005
2463
|
cron_running: z.ZodOptional<z.ZodBoolean>;
|
|
2006
2464
|
read_only: z.ZodBoolean;
|
|
2465
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2466
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
2467
|
+
state: z.ZodEnum<{
|
|
2468
|
+
attached: "attached";
|
|
2469
|
+
stopped: "stopped";
|
|
2470
|
+
unavailable: "unavailable";
|
|
2471
|
+
incompatible: "incompatible";
|
|
2472
|
+
refused: "refused";
|
|
2473
|
+
}>;
|
|
2474
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2475
|
+
can_submit: z.ZodBoolean;
|
|
2476
|
+
can_interrupt: z.ZodBoolean;
|
|
2477
|
+
can_attach: z.ZodBoolean;
|
|
2478
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
2479
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
2480
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2481
|
+
admission_id: z.ZodString;
|
|
2482
|
+
sequence: z.ZodNumber;
|
|
2483
|
+
status: z.ZodEnum<{
|
|
2484
|
+
unknown: "unknown";
|
|
2485
|
+
queued: "queued";
|
|
2486
|
+
started: "started";
|
|
2487
|
+
terminal: "terminal";
|
|
2488
|
+
}>;
|
|
2489
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
2490
|
+
authority_epoch: z.ZodNumber;
|
|
2491
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
2492
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2493
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
2494
|
+
}, z.core.$strip>>>;
|
|
2495
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
2496
|
+
admission_id: z.ZodString;
|
|
2497
|
+
sequence: z.ZodNumber;
|
|
2498
|
+
status: z.ZodEnum<{
|
|
2499
|
+
unknown: "unknown";
|
|
2500
|
+
queued: "queued";
|
|
2501
|
+
started: "started";
|
|
2502
|
+
terminal: "terminal";
|
|
2503
|
+
}>;
|
|
2504
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
2505
|
+
authority_epoch: z.ZodNumber;
|
|
2506
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
2507
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2508
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
2509
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
2510
|
+
cancel: "cancel";
|
|
2511
|
+
discard: "discard";
|
|
2512
|
+
retry: "retry";
|
|
2513
|
+
}>>;
|
|
2514
|
+
}, z.core.$strip>>;
|
|
2515
|
+
}, z.core.$strip>>;
|
|
2007
2516
|
can_branch: z.ZodBoolean;
|
|
2008
2517
|
can_pin: z.ZodBoolean;
|
|
2009
2518
|
can_archive: z.ZodBoolean;
|
|
@@ -2046,6 +2555,15 @@ export declare const sessionsContract: {
|
|
|
2046
2555
|
scheduled_sessions_truncated: z.ZodBoolean;
|
|
2047
2556
|
webhook_session_count: z.ZodNumber;
|
|
2048
2557
|
webhook_sessions_truncated: z.ZodBoolean;
|
|
2558
|
+
agent_storage: z.ZodObject<{
|
|
2559
|
+
state: z.ZodEnum<{
|
|
2560
|
+
unavailable: "unavailable";
|
|
2561
|
+
ok: "ok";
|
|
2562
|
+
corrupt: "corrupt";
|
|
2563
|
+
outdated: "outdated";
|
|
2564
|
+
}>;
|
|
2565
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2566
|
+
}, z.core.$strip>;
|
|
2049
2567
|
archived_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2050
2568
|
archived_offset: z.ZodOptional<z.ZodNumber>;
|
|
2051
2569
|
}, z.core.$loose>, Record<never, never>, Record<never, never>>;
|
|
@@ -2085,11 +2603,11 @@ export declare const sessionsContract: {
|
|
|
2085
2603
|
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
2086
2604
|
source_kind: z.ZodEnum<{
|
|
2087
2605
|
other: "other";
|
|
2606
|
+
webhook: "webhook";
|
|
2607
|
+
cron: "cron";
|
|
2088
2608
|
webui: "webui";
|
|
2089
2609
|
cli: "cli";
|
|
2090
2610
|
messaging: "messaging";
|
|
2091
|
-
cron: "cron";
|
|
2092
|
-
webhook: "webhook";
|
|
2093
2611
|
subagent: "subagent";
|
|
2094
2612
|
claude_code: "claude_code";
|
|
2095
2613
|
kanban: "kanban";
|
|
@@ -2099,6 +2617,57 @@ export declare const sessionsContract: {
|
|
|
2099
2617
|
sort_ts: z.ZodNumber;
|
|
2100
2618
|
cron_running: z.ZodOptional<z.ZodBoolean>;
|
|
2101
2619
|
read_only: z.ZodBoolean;
|
|
2620
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2621
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
2622
|
+
state: z.ZodEnum<{
|
|
2623
|
+
attached: "attached";
|
|
2624
|
+
stopped: "stopped";
|
|
2625
|
+
unavailable: "unavailable";
|
|
2626
|
+
incompatible: "incompatible";
|
|
2627
|
+
refused: "refused";
|
|
2628
|
+
}>;
|
|
2629
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2630
|
+
can_submit: z.ZodBoolean;
|
|
2631
|
+
can_interrupt: z.ZodBoolean;
|
|
2632
|
+
can_attach: z.ZodBoolean;
|
|
2633
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
2634
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
2635
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2636
|
+
admission_id: z.ZodString;
|
|
2637
|
+
sequence: z.ZodNumber;
|
|
2638
|
+
status: z.ZodEnum<{
|
|
2639
|
+
unknown: "unknown";
|
|
2640
|
+
queued: "queued";
|
|
2641
|
+
started: "started";
|
|
2642
|
+
terminal: "terminal";
|
|
2643
|
+
}>;
|
|
2644
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
2645
|
+
authority_epoch: z.ZodNumber;
|
|
2646
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
2647
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2648
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
2649
|
+
}, z.core.$strip>>>;
|
|
2650
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
2651
|
+
admission_id: z.ZodString;
|
|
2652
|
+
sequence: z.ZodNumber;
|
|
2653
|
+
status: z.ZodEnum<{
|
|
2654
|
+
unknown: "unknown";
|
|
2655
|
+
queued: "queued";
|
|
2656
|
+
started: "started";
|
|
2657
|
+
terminal: "terminal";
|
|
2658
|
+
}>;
|
|
2659
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
2660
|
+
authority_epoch: z.ZodNumber;
|
|
2661
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
2662
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2663
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
2664
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
2665
|
+
cancel: "cancel";
|
|
2666
|
+
discard: "discard";
|
|
2667
|
+
retry: "retry";
|
|
2668
|
+
}>>;
|
|
2669
|
+
}, z.core.$strip>>;
|
|
2670
|
+
}, z.core.$strip>>;
|
|
2102
2671
|
can_branch: z.ZodBoolean;
|
|
2103
2672
|
can_pin: z.ZodBoolean;
|
|
2104
2673
|
can_archive: z.ZodBoolean;
|
|
@@ -2133,8 +2702,8 @@ export declare const sessionsContract: {
|
|
|
2133
2702
|
}, z.core.$loose>, Record<never, never>, Record<never, never>>;
|
|
2134
2703
|
bulk: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2135
2704
|
action: z.ZodEnum<{
|
|
2136
|
-
delete: "delete";
|
|
2137
2705
|
archive: "archive";
|
|
2706
|
+
delete: "delete";
|
|
2138
2707
|
unarchive: "unarchive";
|
|
2139
2708
|
}>;
|
|
2140
2709
|
session_ids: z.ZodArray<z.ZodString>;
|
|
@@ -2145,6 +2714,10 @@ export declare const sessionsContract: {
|
|
|
2145
2714
|
status: z.ZodOptional<z.ZodNumber>;
|
|
2146
2715
|
error: z.ZodOptional<z.ZodString>;
|
|
2147
2716
|
state_db_cleanup_failed: z.ZodOptional<z.ZodBoolean>;
|
|
2717
|
+
refused: z.ZodOptional<z.ZodEnum<{
|
|
2718
|
+
active_turn: "active_turn";
|
|
2719
|
+
runtime_history_unsupported: "runtime_history_unsupported";
|
|
2720
|
+
}>>;
|
|
2148
2721
|
}, z.core.$strip>>;
|
|
2149
2722
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
2150
2723
|
cleanup: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>, z.ZodObject<{
|
|
@@ -2174,11 +2747,11 @@ export declare const sessionsContract: {
|
|
|
2174
2747
|
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
2175
2748
|
source_kind: z.ZodEnum<{
|
|
2176
2749
|
other: "other";
|
|
2750
|
+
webhook: "webhook";
|
|
2751
|
+
cron: "cron";
|
|
2177
2752
|
webui: "webui";
|
|
2178
2753
|
cli: "cli";
|
|
2179
2754
|
messaging: "messaging";
|
|
2180
|
-
cron: "cron";
|
|
2181
|
-
webhook: "webhook";
|
|
2182
2755
|
subagent: "subagent";
|
|
2183
2756
|
claude_code: "claude_code";
|
|
2184
2757
|
kanban: "kanban";
|
|
@@ -2187,6 +2760,57 @@ export declare const sessionsContract: {
|
|
|
2187
2760
|
is_messaging_session: z.ZodBoolean;
|
|
2188
2761
|
sort_ts: z.ZodNumber;
|
|
2189
2762
|
read_only: z.ZodBoolean;
|
|
2763
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2764
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
2765
|
+
state: z.ZodEnum<{
|
|
2766
|
+
attached: "attached";
|
|
2767
|
+
stopped: "stopped";
|
|
2768
|
+
unavailable: "unavailable";
|
|
2769
|
+
incompatible: "incompatible";
|
|
2770
|
+
refused: "refused";
|
|
2771
|
+
}>;
|
|
2772
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2773
|
+
can_submit: z.ZodBoolean;
|
|
2774
|
+
can_interrupt: z.ZodBoolean;
|
|
2775
|
+
can_attach: z.ZodBoolean;
|
|
2776
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
2777
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
2778
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2779
|
+
admission_id: z.ZodString;
|
|
2780
|
+
sequence: z.ZodNumber;
|
|
2781
|
+
status: z.ZodEnum<{
|
|
2782
|
+
unknown: "unknown";
|
|
2783
|
+
queued: "queued";
|
|
2784
|
+
started: "started";
|
|
2785
|
+
terminal: "terminal";
|
|
2786
|
+
}>;
|
|
2787
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
2788
|
+
authority_epoch: z.ZodNumber;
|
|
2789
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
2790
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2791
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
2792
|
+
}, z.core.$strip>>>;
|
|
2793
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
2794
|
+
admission_id: z.ZodString;
|
|
2795
|
+
sequence: z.ZodNumber;
|
|
2796
|
+
status: z.ZodEnum<{
|
|
2797
|
+
unknown: "unknown";
|
|
2798
|
+
queued: "queued";
|
|
2799
|
+
started: "started";
|
|
2800
|
+
terminal: "terminal";
|
|
2801
|
+
}>;
|
|
2802
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
2803
|
+
authority_epoch: z.ZodNumber;
|
|
2804
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
2805
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2806
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
2807
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
2808
|
+
cancel: "cancel";
|
|
2809
|
+
discard: "discard";
|
|
2810
|
+
retry: "retry";
|
|
2811
|
+
}>>;
|
|
2812
|
+
}, z.core.$strip>>;
|
|
2813
|
+
}, z.core.$strip>>;
|
|
2190
2814
|
can_branch: z.ZodBoolean;
|
|
2191
2815
|
can_pin: z.ZodBoolean;
|
|
2192
2816
|
can_archive: z.ZodBoolean;
|
|
@@ -2194,6 +2818,7 @@ export declare const sessionsContract: {
|
|
|
2194
2818
|
can_duplicate: z.ZodBoolean;
|
|
2195
2819
|
source_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2196
2820
|
can_compress: z.ZodOptional<z.ZodBoolean>;
|
|
2821
|
+
confirms_deep_truncate: z.ZodOptional<z.ZodBoolean>;
|
|
2197
2822
|
source_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2198
2823
|
session_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2199
2824
|
raw_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2233,6 +2858,7 @@ export declare const sessionsContract: {
|
|
|
2233
2858
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2234
2859
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2235
2860
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2861
|
+
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
2236
2862
|
session_id: z.ZodString;
|
|
2237
2863
|
title: z.ZodString;
|
|
2238
2864
|
workspace: z.ZodOptional<z.ZodString>;
|
|
@@ -2286,6 +2912,7 @@ export declare const sessionsContract: {
|
|
|
2286
2912
|
event_type: z.ZodOptional<z.ZodString>;
|
|
2287
2913
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
2288
2914
|
unknown: "unknown";
|
|
2915
|
+
memory: "memory";
|
|
2289
2916
|
shell: "shell";
|
|
2290
2917
|
read: "read";
|
|
2291
2918
|
list: "list";
|
|
@@ -2293,7 +2920,6 @@ export declare const sessionsContract: {
|
|
|
2293
2920
|
web: "web";
|
|
2294
2921
|
write: "write";
|
|
2295
2922
|
skill: "skill";
|
|
2296
|
-
memory: "memory";
|
|
2297
2923
|
delegate: "delegate";
|
|
2298
2924
|
}>>;
|
|
2299
2925
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -2337,8 +2963,8 @@ export declare const sessionsContract: {
|
|
|
2337
2963
|
row_id: z.ZodString;
|
|
2338
2964
|
order_index: z.ZodNumber;
|
|
2339
2965
|
role: z.ZodEnum<{
|
|
2340
|
-
reasoning: "reasoning";
|
|
2341
2966
|
tool: "tool";
|
|
2967
|
+
reasoning: "reasoning";
|
|
2342
2968
|
prose: "prose";
|
|
2343
2969
|
steering: "steering";
|
|
2344
2970
|
}>;
|
|
@@ -2377,10 +3003,10 @@ export declare const sessionsContract: {
|
|
|
2377
3003
|
task_ids: z.ZodArray<z.ZodString>;
|
|
2378
3004
|
status: z.ZodEnum<{
|
|
2379
3005
|
unknown: "unknown";
|
|
3006
|
+
running: "running";
|
|
2380
3007
|
cancelled: "cancelled";
|
|
2381
|
-
completed: "completed";
|
|
2382
3008
|
failed: "failed";
|
|
2383
|
-
|
|
3009
|
+
completed: "completed";
|
|
2384
3010
|
attention: "attention";
|
|
2385
3011
|
}>;
|
|
2386
3012
|
agents: z.ZodObject<{
|
|
@@ -2394,6 +3020,7 @@ export declare const sessionsContract: {
|
|
|
2394
3020
|
result_chars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2395
3021
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
2396
3022
|
unknown: "unknown";
|
|
3023
|
+
memory: "memory";
|
|
2397
3024
|
shell: "shell";
|
|
2398
3025
|
read: "read";
|
|
2399
3026
|
list: "list";
|
|
@@ -2401,7 +3028,6 @@ export declare const sessionsContract: {
|
|
|
2401
3028
|
web: "web";
|
|
2402
3029
|
write: "write";
|
|
2403
3030
|
skill: "skill";
|
|
2404
|
-
memory: "memory";
|
|
2405
3031
|
delegate: "delegate";
|
|
2406
3032
|
}>>;
|
|
2407
3033
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -2521,19 +3147,45 @@ export declare const sessionsContract: {
|
|
|
2521
3147
|
other: "other";
|
|
2522
3148
|
}>;
|
|
2523
3149
|
status: z.ZodEnum<{
|
|
2524
|
-
completed: "completed";
|
|
2525
3150
|
failed: "failed";
|
|
3151
|
+
completed: "completed";
|
|
2526
3152
|
notice: "notice";
|
|
2527
3153
|
}>;
|
|
2528
3154
|
label: z.ZodString;
|
|
2529
3155
|
exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3156
|
+
review_state: z.ZodOptional<z.ZodEnum<{
|
|
3157
|
+
unknown: "unknown";
|
|
3158
|
+
failed: "failed";
|
|
3159
|
+
waiting: "waiting";
|
|
3160
|
+
reviewing: "reviewing";
|
|
3161
|
+
reviewed: "reviewed";
|
|
3162
|
+
}>>;
|
|
2530
3163
|
}, z.core.$strip>>;
|
|
3164
|
+
review_state: z.ZodOptional<z.ZodEnum<{
|
|
3165
|
+
unknown: "unknown";
|
|
3166
|
+
failed: "failed";
|
|
3167
|
+
waiting: "waiting";
|
|
3168
|
+
reviewing: "reviewing";
|
|
3169
|
+
reviewed: "reviewed";
|
|
3170
|
+
}>>;
|
|
2531
3171
|
}, z.core.$strip>>;
|
|
2532
3172
|
_marker_kind: z.ZodOptional<z.ZodEnum<{
|
|
2533
3173
|
context_compaction: "context_compaction";
|
|
2534
3174
|
preserved_task_list: "preserved_task_list";
|
|
2535
3175
|
}>>;
|
|
2536
3176
|
_marker_body: z.ZodOptional<z.ZodString>;
|
|
3177
|
+
_notice_kind: z.ZodOptional<z.ZodEnum<{
|
|
3178
|
+
failed_turn: "failed_turn";
|
|
3179
|
+
session_finalize: "session_finalize";
|
|
3180
|
+
}>>;
|
|
3181
|
+
_delivery: z.ZodOptional<z.ZodObject<{
|
|
3182
|
+
kind: z.ZodEnum<{
|
|
3183
|
+
webhook: "webhook";
|
|
3184
|
+
cron: "cron";
|
|
3185
|
+
}>;
|
|
3186
|
+
name: z.ZodString;
|
|
3187
|
+
body: z.ZodString;
|
|
3188
|
+
}, z.core.$strip>>;
|
|
2537
3189
|
_background_reply: z.ZodOptional<z.ZodBoolean>;
|
|
2538
3190
|
_background_silent: z.ZodOptional<z.ZodBoolean>;
|
|
2539
3191
|
_display: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2570,6 +3222,7 @@ export declare const sessionsContract: {
|
|
|
2570
3222
|
event_type: z.ZodOptional<z.ZodString>;
|
|
2571
3223
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
2572
3224
|
unknown: "unknown";
|
|
3225
|
+
memory: "memory";
|
|
2573
3226
|
shell: "shell";
|
|
2574
3227
|
read: "read";
|
|
2575
3228
|
list: "list";
|
|
@@ -2577,7 +3230,6 @@ export declare const sessionsContract: {
|
|
|
2577
3230
|
web: "web";
|
|
2578
3231
|
write: "write";
|
|
2579
3232
|
skill: "skill";
|
|
2580
|
-
memory: "memory";
|
|
2581
3233
|
delegate: "delegate";
|
|
2582
3234
|
}>>;
|
|
2583
3235
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -2642,6 +3294,50 @@ export declare const sessionsContract: {
|
|
|
2642
3294
|
send_now: z.ZodBoolean;
|
|
2643
3295
|
}, z.core.$strip>;
|
|
2644
3296
|
}, z.core.$strip>>>;
|
|
3297
|
+
run_status: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3298
|
+
phase: z.ZodLiteral<"compressing">;
|
|
3299
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3300
|
+
phase: z.ZodLiteral<"rate_limit_wait">;
|
|
3301
|
+
wait: z.ZodObject<{
|
|
3302
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
3303
|
+
provider_label: z.ZodNullable<z.ZodString>;
|
|
3304
|
+
until: z.ZodNumber;
|
|
3305
|
+
until_kind: z.ZodEnum<{
|
|
3306
|
+
reset: "reset";
|
|
3307
|
+
retry: "retry";
|
|
3308
|
+
}>;
|
|
3309
|
+
}, z.core.$strip>;
|
|
3310
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3311
|
+
phase: z.ZodLiteral<"prompt_reading">;
|
|
3312
|
+
progress_percent: z.ZodNullable<z.ZodNumber>;
|
|
3313
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3314
|
+
phase: z.ZodLiteral<"working">;
|
|
3315
|
+
}, z.core.$strip>], "phase">>>;
|
|
3316
|
+
compression_started_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3317
|
+
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3318
|
+
key: z.ZodString;
|
|
3319
|
+
level: z.ZodEnum<{
|
|
3320
|
+
success: "success";
|
|
3321
|
+
error: "error";
|
|
3322
|
+
info: "info";
|
|
3323
|
+
warn: "warn";
|
|
3324
|
+
}>;
|
|
3325
|
+
text: z.ZodString;
|
|
3326
|
+
expires_at: z.ZodNullable<z.ZodNumber>;
|
|
3327
|
+
}, z.core.$strip>>>;
|
|
3328
|
+
goal: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3329
|
+
text: z.ZodString;
|
|
3330
|
+
status: z.ZodEnum<{
|
|
3331
|
+
active: "active";
|
|
3332
|
+
parked: "parked";
|
|
3333
|
+
paused: "paused";
|
|
3334
|
+
}>;
|
|
3335
|
+
turns_used: z.ZodNumber;
|
|
3336
|
+
max_turns: z.ZodNumber;
|
|
3337
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
3338
|
+
parked_until: z.ZodNullable<z.ZodNumber>;
|
|
3339
|
+
}, z.core.$strip>>>;
|
|
3340
|
+
automatic_turns_held: z.ZodOptional<z.ZodBoolean>;
|
|
2645
3341
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
2646
3342
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2647
3343
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2674,6 +3370,57 @@ export declare const sessionsContract: {
|
|
|
2674
3370
|
agent_running: z.ZodBoolean;
|
|
2675
3371
|
is_streaming: z.ZodBoolean;
|
|
2676
3372
|
read_only: z.ZodBoolean;
|
|
3373
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3374
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
3375
|
+
state: z.ZodEnum<{
|
|
3376
|
+
attached: "attached";
|
|
3377
|
+
stopped: "stopped";
|
|
3378
|
+
unavailable: "unavailable";
|
|
3379
|
+
incompatible: "incompatible";
|
|
3380
|
+
refused: "refused";
|
|
3381
|
+
}>;
|
|
3382
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
3383
|
+
can_submit: z.ZodBoolean;
|
|
3384
|
+
can_interrupt: z.ZodBoolean;
|
|
3385
|
+
can_attach: z.ZodBoolean;
|
|
3386
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
3387
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
3388
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3389
|
+
admission_id: z.ZodString;
|
|
3390
|
+
sequence: z.ZodNumber;
|
|
3391
|
+
status: z.ZodEnum<{
|
|
3392
|
+
unknown: "unknown";
|
|
3393
|
+
queued: "queued";
|
|
3394
|
+
started: "started";
|
|
3395
|
+
terminal: "terminal";
|
|
3396
|
+
}>;
|
|
3397
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
3398
|
+
authority_epoch: z.ZodNumber;
|
|
3399
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
3400
|
+
text: z.ZodOptional<z.ZodString>;
|
|
3401
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
3402
|
+
}, z.core.$strip>>>;
|
|
3403
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
3404
|
+
admission_id: z.ZodString;
|
|
3405
|
+
sequence: z.ZodNumber;
|
|
3406
|
+
status: z.ZodEnum<{
|
|
3407
|
+
unknown: "unknown";
|
|
3408
|
+
queued: "queued";
|
|
3409
|
+
started: "started";
|
|
3410
|
+
terminal: "terminal";
|
|
3411
|
+
}>;
|
|
3412
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
3413
|
+
authority_epoch: z.ZodNumber;
|
|
3414
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
3415
|
+
text: z.ZodOptional<z.ZodString>;
|
|
3416
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
3417
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
3418
|
+
cancel: "cancel";
|
|
3419
|
+
discard: "discard";
|
|
3420
|
+
retry: "retry";
|
|
3421
|
+
}>>;
|
|
3422
|
+
}, z.core.$strip>>;
|
|
3423
|
+
}, z.core.$strip>>;
|
|
2677
3424
|
message_count: z.ZodOptional<z.ZodNumber>;
|
|
2678
3425
|
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2679
3426
|
profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2715,11 +3462,11 @@ export declare const sessionsContract: {
|
|
|
2715
3462
|
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
2716
3463
|
source_kind: z.ZodEnum<{
|
|
2717
3464
|
other: "other";
|
|
3465
|
+
webhook: "webhook";
|
|
3466
|
+
cron: "cron";
|
|
2718
3467
|
webui: "webui";
|
|
2719
3468
|
cli: "cli";
|
|
2720
3469
|
messaging: "messaging";
|
|
2721
|
-
cron: "cron";
|
|
2722
|
-
webhook: "webhook";
|
|
2723
3470
|
subagent: "subagent";
|
|
2724
3471
|
claude_code: "claude_code";
|
|
2725
3472
|
kanban: "kanban";
|
|
@@ -2728,6 +3475,57 @@ export declare const sessionsContract: {
|
|
|
2728
3475
|
is_messaging_session: z.ZodBoolean;
|
|
2729
3476
|
sort_ts: z.ZodNumber;
|
|
2730
3477
|
read_only: z.ZodBoolean;
|
|
3478
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3479
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
3480
|
+
state: z.ZodEnum<{
|
|
3481
|
+
attached: "attached";
|
|
3482
|
+
stopped: "stopped";
|
|
3483
|
+
unavailable: "unavailable";
|
|
3484
|
+
incompatible: "incompatible";
|
|
3485
|
+
refused: "refused";
|
|
3486
|
+
}>;
|
|
3487
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
3488
|
+
can_submit: z.ZodBoolean;
|
|
3489
|
+
can_interrupt: z.ZodBoolean;
|
|
3490
|
+
can_attach: z.ZodBoolean;
|
|
3491
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
3492
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
3493
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3494
|
+
admission_id: z.ZodString;
|
|
3495
|
+
sequence: z.ZodNumber;
|
|
3496
|
+
status: z.ZodEnum<{
|
|
3497
|
+
unknown: "unknown";
|
|
3498
|
+
queued: "queued";
|
|
3499
|
+
started: "started";
|
|
3500
|
+
terminal: "terminal";
|
|
3501
|
+
}>;
|
|
3502
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
3503
|
+
authority_epoch: z.ZodNumber;
|
|
3504
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
3505
|
+
text: z.ZodOptional<z.ZodString>;
|
|
3506
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
3507
|
+
}, z.core.$strip>>>;
|
|
3508
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
3509
|
+
admission_id: z.ZodString;
|
|
3510
|
+
sequence: z.ZodNumber;
|
|
3511
|
+
status: z.ZodEnum<{
|
|
3512
|
+
unknown: "unknown";
|
|
3513
|
+
queued: "queued";
|
|
3514
|
+
started: "started";
|
|
3515
|
+
terminal: "terminal";
|
|
3516
|
+
}>;
|
|
3517
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
3518
|
+
authority_epoch: z.ZodNumber;
|
|
3519
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
3520
|
+
text: z.ZodOptional<z.ZodString>;
|
|
3521
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
3522
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
3523
|
+
cancel: "cancel";
|
|
3524
|
+
discard: "discard";
|
|
3525
|
+
retry: "retry";
|
|
3526
|
+
}>>;
|
|
3527
|
+
}, z.core.$strip>>;
|
|
3528
|
+
}, z.core.$strip>>;
|
|
2731
3529
|
can_branch: z.ZodBoolean;
|
|
2732
3530
|
can_pin: z.ZodBoolean;
|
|
2733
3531
|
can_archive: z.ZodBoolean;
|
|
@@ -2735,6 +3533,7 @@ export declare const sessionsContract: {
|
|
|
2735
3533
|
can_duplicate: z.ZodBoolean;
|
|
2736
3534
|
source_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2737
3535
|
can_compress: z.ZodOptional<z.ZodBoolean>;
|
|
3536
|
+
confirms_deep_truncate: z.ZodOptional<z.ZodBoolean>;
|
|
2738
3537
|
source_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2739
3538
|
session_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2740
3539
|
raw_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2774,6 +3573,7 @@ export declare const sessionsContract: {
|
|
|
2774
3573
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2775
3574
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2776
3575
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3576
|
+
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
2777
3577
|
session_id: z.ZodString;
|
|
2778
3578
|
title: z.ZodString;
|
|
2779
3579
|
workspace: z.ZodOptional<z.ZodString>;
|
|
@@ -2827,6 +3627,7 @@ export declare const sessionsContract: {
|
|
|
2827
3627
|
event_type: z.ZodOptional<z.ZodString>;
|
|
2828
3628
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
2829
3629
|
unknown: "unknown";
|
|
3630
|
+
memory: "memory";
|
|
2830
3631
|
shell: "shell";
|
|
2831
3632
|
read: "read";
|
|
2832
3633
|
list: "list";
|
|
@@ -2834,7 +3635,6 @@ export declare const sessionsContract: {
|
|
|
2834
3635
|
web: "web";
|
|
2835
3636
|
write: "write";
|
|
2836
3637
|
skill: "skill";
|
|
2837
|
-
memory: "memory";
|
|
2838
3638
|
delegate: "delegate";
|
|
2839
3639
|
}>>;
|
|
2840
3640
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -2878,8 +3678,8 @@ export declare const sessionsContract: {
|
|
|
2878
3678
|
row_id: z.ZodString;
|
|
2879
3679
|
order_index: z.ZodNumber;
|
|
2880
3680
|
role: z.ZodEnum<{
|
|
2881
|
-
reasoning: "reasoning";
|
|
2882
3681
|
tool: "tool";
|
|
3682
|
+
reasoning: "reasoning";
|
|
2883
3683
|
prose: "prose";
|
|
2884
3684
|
steering: "steering";
|
|
2885
3685
|
}>;
|
|
@@ -2918,10 +3718,10 @@ export declare const sessionsContract: {
|
|
|
2918
3718
|
task_ids: z.ZodArray<z.ZodString>;
|
|
2919
3719
|
status: z.ZodEnum<{
|
|
2920
3720
|
unknown: "unknown";
|
|
3721
|
+
running: "running";
|
|
2921
3722
|
cancelled: "cancelled";
|
|
2922
|
-
completed: "completed";
|
|
2923
3723
|
failed: "failed";
|
|
2924
|
-
|
|
3724
|
+
completed: "completed";
|
|
2925
3725
|
attention: "attention";
|
|
2926
3726
|
}>;
|
|
2927
3727
|
agents: z.ZodObject<{
|
|
@@ -2935,6 +3735,7 @@ export declare const sessionsContract: {
|
|
|
2935
3735
|
result_chars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2936
3736
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
2937
3737
|
unknown: "unknown";
|
|
3738
|
+
memory: "memory";
|
|
2938
3739
|
shell: "shell";
|
|
2939
3740
|
read: "read";
|
|
2940
3741
|
list: "list";
|
|
@@ -2942,7 +3743,6 @@ export declare const sessionsContract: {
|
|
|
2942
3743
|
web: "web";
|
|
2943
3744
|
write: "write";
|
|
2944
3745
|
skill: "skill";
|
|
2945
|
-
memory: "memory";
|
|
2946
3746
|
delegate: "delegate";
|
|
2947
3747
|
}>>;
|
|
2948
3748
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -3062,19 +3862,45 @@ export declare const sessionsContract: {
|
|
|
3062
3862
|
other: "other";
|
|
3063
3863
|
}>;
|
|
3064
3864
|
status: z.ZodEnum<{
|
|
3065
|
-
completed: "completed";
|
|
3066
3865
|
failed: "failed";
|
|
3866
|
+
completed: "completed";
|
|
3067
3867
|
notice: "notice";
|
|
3068
3868
|
}>;
|
|
3069
3869
|
label: z.ZodString;
|
|
3070
3870
|
exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3871
|
+
review_state: z.ZodOptional<z.ZodEnum<{
|
|
3872
|
+
unknown: "unknown";
|
|
3873
|
+
failed: "failed";
|
|
3874
|
+
waiting: "waiting";
|
|
3875
|
+
reviewing: "reviewing";
|
|
3876
|
+
reviewed: "reviewed";
|
|
3877
|
+
}>>;
|
|
3071
3878
|
}, z.core.$strip>>;
|
|
3879
|
+
review_state: z.ZodOptional<z.ZodEnum<{
|
|
3880
|
+
unknown: "unknown";
|
|
3881
|
+
failed: "failed";
|
|
3882
|
+
waiting: "waiting";
|
|
3883
|
+
reviewing: "reviewing";
|
|
3884
|
+
reviewed: "reviewed";
|
|
3885
|
+
}>>;
|
|
3072
3886
|
}, z.core.$strip>>;
|
|
3073
3887
|
_marker_kind: z.ZodOptional<z.ZodEnum<{
|
|
3074
3888
|
context_compaction: "context_compaction";
|
|
3075
3889
|
preserved_task_list: "preserved_task_list";
|
|
3076
3890
|
}>>;
|
|
3077
3891
|
_marker_body: z.ZodOptional<z.ZodString>;
|
|
3892
|
+
_notice_kind: z.ZodOptional<z.ZodEnum<{
|
|
3893
|
+
failed_turn: "failed_turn";
|
|
3894
|
+
session_finalize: "session_finalize";
|
|
3895
|
+
}>>;
|
|
3896
|
+
_delivery: z.ZodOptional<z.ZodObject<{
|
|
3897
|
+
kind: z.ZodEnum<{
|
|
3898
|
+
webhook: "webhook";
|
|
3899
|
+
cron: "cron";
|
|
3900
|
+
}>;
|
|
3901
|
+
name: z.ZodString;
|
|
3902
|
+
body: z.ZodString;
|
|
3903
|
+
}, z.core.$strip>>;
|
|
3078
3904
|
_background_reply: z.ZodOptional<z.ZodBoolean>;
|
|
3079
3905
|
_background_silent: z.ZodOptional<z.ZodBoolean>;
|
|
3080
3906
|
_display: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3111,6 +3937,7 @@ export declare const sessionsContract: {
|
|
|
3111
3937
|
event_type: z.ZodOptional<z.ZodString>;
|
|
3112
3938
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
3113
3939
|
unknown: "unknown";
|
|
3940
|
+
memory: "memory";
|
|
3114
3941
|
shell: "shell";
|
|
3115
3942
|
read: "read";
|
|
3116
3943
|
list: "list";
|
|
@@ -3118,7 +3945,6 @@ export declare const sessionsContract: {
|
|
|
3118
3945
|
web: "web";
|
|
3119
3946
|
write: "write";
|
|
3120
3947
|
skill: "skill";
|
|
3121
|
-
memory: "memory";
|
|
3122
3948
|
delegate: "delegate";
|
|
3123
3949
|
}>>;
|
|
3124
3950
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -3183,6 +4009,50 @@ export declare const sessionsContract: {
|
|
|
3183
4009
|
send_now: z.ZodBoolean;
|
|
3184
4010
|
}, z.core.$strip>;
|
|
3185
4011
|
}, z.core.$strip>>>;
|
|
4012
|
+
run_status: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4013
|
+
phase: z.ZodLiteral<"compressing">;
|
|
4014
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4015
|
+
phase: z.ZodLiteral<"rate_limit_wait">;
|
|
4016
|
+
wait: z.ZodObject<{
|
|
4017
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
4018
|
+
provider_label: z.ZodNullable<z.ZodString>;
|
|
4019
|
+
until: z.ZodNumber;
|
|
4020
|
+
until_kind: z.ZodEnum<{
|
|
4021
|
+
reset: "reset";
|
|
4022
|
+
retry: "retry";
|
|
4023
|
+
}>;
|
|
4024
|
+
}, z.core.$strip>;
|
|
4025
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4026
|
+
phase: z.ZodLiteral<"prompt_reading">;
|
|
4027
|
+
progress_percent: z.ZodNullable<z.ZodNumber>;
|
|
4028
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4029
|
+
phase: z.ZodLiteral<"working">;
|
|
4030
|
+
}, z.core.$strip>], "phase">>>;
|
|
4031
|
+
compression_started_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4032
|
+
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4033
|
+
key: z.ZodString;
|
|
4034
|
+
level: z.ZodEnum<{
|
|
4035
|
+
success: "success";
|
|
4036
|
+
error: "error";
|
|
4037
|
+
info: "info";
|
|
4038
|
+
warn: "warn";
|
|
4039
|
+
}>;
|
|
4040
|
+
text: z.ZodString;
|
|
4041
|
+
expires_at: z.ZodNullable<z.ZodNumber>;
|
|
4042
|
+
}, z.core.$strip>>>;
|
|
4043
|
+
goal: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4044
|
+
text: z.ZodString;
|
|
4045
|
+
status: z.ZodEnum<{
|
|
4046
|
+
active: "active";
|
|
4047
|
+
parked: "parked";
|
|
4048
|
+
paused: "paused";
|
|
4049
|
+
}>;
|
|
4050
|
+
turns_used: z.ZodNumber;
|
|
4051
|
+
max_turns: z.ZodNumber;
|
|
4052
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
4053
|
+
parked_until: z.ZodNullable<z.ZodNumber>;
|
|
4054
|
+
}, z.core.$strip>>>;
|
|
4055
|
+
automatic_turns_held: z.ZodOptional<z.ZodBoolean>;
|
|
3186
4056
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
3187
4057
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3188
4058
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3216,11 +4086,11 @@ export declare const sessionsContract: {
|
|
|
3216
4086
|
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
3217
4087
|
source_kind: z.ZodEnum<{
|
|
3218
4088
|
other: "other";
|
|
4089
|
+
webhook: "webhook";
|
|
4090
|
+
cron: "cron";
|
|
3219
4091
|
webui: "webui";
|
|
3220
4092
|
cli: "cli";
|
|
3221
4093
|
messaging: "messaging";
|
|
3222
|
-
cron: "cron";
|
|
3223
|
-
webhook: "webhook";
|
|
3224
4094
|
subagent: "subagent";
|
|
3225
4095
|
claude_code: "claude_code";
|
|
3226
4096
|
kanban: "kanban";
|
|
@@ -3229,6 +4099,57 @@ export declare const sessionsContract: {
|
|
|
3229
4099
|
is_messaging_session: z.ZodBoolean;
|
|
3230
4100
|
sort_ts: z.ZodNumber;
|
|
3231
4101
|
read_only: z.ZodBoolean;
|
|
4102
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4103
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
4104
|
+
state: z.ZodEnum<{
|
|
4105
|
+
attached: "attached";
|
|
4106
|
+
stopped: "stopped";
|
|
4107
|
+
unavailable: "unavailable";
|
|
4108
|
+
incompatible: "incompatible";
|
|
4109
|
+
refused: "refused";
|
|
4110
|
+
}>;
|
|
4111
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
4112
|
+
can_submit: z.ZodBoolean;
|
|
4113
|
+
can_interrupt: z.ZodBoolean;
|
|
4114
|
+
can_attach: z.ZodBoolean;
|
|
4115
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
4116
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
4117
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4118
|
+
admission_id: z.ZodString;
|
|
4119
|
+
sequence: z.ZodNumber;
|
|
4120
|
+
status: z.ZodEnum<{
|
|
4121
|
+
unknown: "unknown";
|
|
4122
|
+
queued: "queued";
|
|
4123
|
+
started: "started";
|
|
4124
|
+
terminal: "terminal";
|
|
4125
|
+
}>;
|
|
4126
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
4127
|
+
authority_epoch: z.ZodNumber;
|
|
4128
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
4129
|
+
text: z.ZodOptional<z.ZodString>;
|
|
4130
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
4131
|
+
}, z.core.$strip>>>;
|
|
4132
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
4133
|
+
admission_id: z.ZodString;
|
|
4134
|
+
sequence: z.ZodNumber;
|
|
4135
|
+
status: z.ZodEnum<{
|
|
4136
|
+
unknown: "unknown";
|
|
4137
|
+
queued: "queued";
|
|
4138
|
+
started: "started";
|
|
4139
|
+
terminal: "terminal";
|
|
4140
|
+
}>;
|
|
4141
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
4142
|
+
authority_epoch: z.ZodNumber;
|
|
4143
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
4144
|
+
text: z.ZodOptional<z.ZodString>;
|
|
4145
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
4146
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
4147
|
+
cancel: "cancel";
|
|
4148
|
+
discard: "discard";
|
|
4149
|
+
retry: "retry";
|
|
4150
|
+
}>>;
|
|
4151
|
+
}, z.core.$strip>>;
|
|
4152
|
+
}, z.core.$strip>>;
|
|
3232
4153
|
can_branch: z.ZodBoolean;
|
|
3233
4154
|
can_pin: z.ZodBoolean;
|
|
3234
4155
|
can_archive: z.ZodBoolean;
|
|
@@ -3236,6 +4157,7 @@ export declare const sessionsContract: {
|
|
|
3236
4157
|
can_duplicate: z.ZodBoolean;
|
|
3237
4158
|
source_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3238
4159
|
can_compress: z.ZodOptional<z.ZodBoolean>;
|
|
4160
|
+
confirms_deep_truncate: z.ZodOptional<z.ZodBoolean>;
|
|
3239
4161
|
source_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3240
4162
|
session_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3241
4163
|
raw_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3275,6 +4197,7 @@ export declare const sessionsContract: {
|
|
|
3275
4197
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3276
4198
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3277
4199
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4200
|
+
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
3278
4201
|
session_id: z.ZodString;
|
|
3279
4202
|
title: z.ZodString;
|
|
3280
4203
|
workspace: z.ZodOptional<z.ZodString>;
|
|
@@ -3328,6 +4251,7 @@ export declare const sessionsContract: {
|
|
|
3328
4251
|
event_type: z.ZodOptional<z.ZodString>;
|
|
3329
4252
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
3330
4253
|
unknown: "unknown";
|
|
4254
|
+
memory: "memory";
|
|
3331
4255
|
shell: "shell";
|
|
3332
4256
|
read: "read";
|
|
3333
4257
|
list: "list";
|
|
@@ -3335,7 +4259,6 @@ export declare const sessionsContract: {
|
|
|
3335
4259
|
web: "web";
|
|
3336
4260
|
write: "write";
|
|
3337
4261
|
skill: "skill";
|
|
3338
|
-
memory: "memory";
|
|
3339
4262
|
delegate: "delegate";
|
|
3340
4263
|
}>>;
|
|
3341
4264
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -3379,8 +4302,8 @@ export declare const sessionsContract: {
|
|
|
3379
4302
|
row_id: z.ZodString;
|
|
3380
4303
|
order_index: z.ZodNumber;
|
|
3381
4304
|
role: z.ZodEnum<{
|
|
3382
|
-
reasoning: "reasoning";
|
|
3383
4305
|
tool: "tool";
|
|
4306
|
+
reasoning: "reasoning";
|
|
3384
4307
|
prose: "prose";
|
|
3385
4308
|
steering: "steering";
|
|
3386
4309
|
}>;
|
|
@@ -3419,10 +4342,10 @@ export declare const sessionsContract: {
|
|
|
3419
4342
|
task_ids: z.ZodArray<z.ZodString>;
|
|
3420
4343
|
status: z.ZodEnum<{
|
|
3421
4344
|
unknown: "unknown";
|
|
4345
|
+
running: "running";
|
|
3422
4346
|
cancelled: "cancelled";
|
|
3423
|
-
completed: "completed";
|
|
3424
4347
|
failed: "failed";
|
|
3425
|
-
|
|
4348
|
+
completed: "completed";
|
|
3426
4349
|
attention: "attention";
|
|
3427
4350
|
}>;
|
|
3428
4351
|
agents: z.ZodObject<{
|
|
@@ -3436,6 +4359,7 @@ export declare const sessionsContract: {
|
|
|
3436
4359
|
result_chars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3437
4360
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
3438
4361
|
unknown: "unknown";
|
|
4362
|
+
memory: "memory";
|
|
3439
4363
|
shell: "shell";
|
|
3440
4364
|
read: "read";
|
|
3441
4365
|
list: "list";
|
|
@@ -3443,7 +4367,6 @@ export declare const sessionsContract: {
|
|
|
3443
4367
|
web: "web";
|
|
3444
4368
|
write: "write";
|
|
3445
4369
|
skill: "skill";
|
|
3446
|
-
memory: "memory";
|
|
3447
4370
|
delegate: "delegate";
|
|
3448
4371
|
}>>;
|
|
3449
4372
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -3563,19 +4486,45 @@ export declare const sessionsContract: {
|
|
|
3563
4486
|
other: "other";
|
|
3564
4487
|
}>;
|
|
3565
4488
|
status: z.ZodEnum<{
|
|
3566
|
-
completed: "completed";
|
|
3567
4489
|
failed: "failed";
|
|
4490
|
+
completed: "completed";
|
|
3568
4491
|
notice: "notice";
|
|
3569
4492
|
}>;
|
|
3570
4493
|
label: z.ZodString;
|
|
3571
4494
|
exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4495
|
+
review_state: z.ZodOptional<z.ZodEnum<{
|
|
4496
|
+
unknown: "unknown";
|
|
4497
|
+
failed: "failed";
|
|
4498
|
+
waiting: "waiting";
|
|
4499
|
+
reviewing: "reviewing";
|
|
4500
|
+
reviewed: "reviewed";
|
|
4501
|
+
}>>;
|
|
3572
4502
|
}, z.core.$strip>>;
|
|
4503
|
+
review_state: z.ZodOptional<z.ZodEnum<{
|
|
4504
|
+
unknown: "unknown";
|
|
4505
|
+
failed: "failed";
|
|
4506
|
+
waiting: "waiting";
|
|
4507
|
+
reviewing: "reviewing";
|
|
4508
|
+
reviewed: "reviewed";
|
|
4509
|
+
}>>;
|
|
3573
4510
|
}, z.core.$strip>>;
|
|
3574
4511
|
_marker_kind: z.ZodOptional<z.ZodEnum<{
|
|
3575
4512
|
context_compaction: "context_compaction";
|
|
3576
4513
|
preserved_task_list: "preserved_task_list";
|
|
3577
4514
|
}>>;
|
|
3578
4515
|
_marker_body: z.ZodOptional<z.ZodString>;
|
|
4516
|
+
_notice_kind: z.ZodOptional<z.ZodEnum<{
|
|
4517
|
+
failed_turn: "failed_turn";
|
|
4518
|
+
session_finalize: "session_finalize";
|
|
4519
|
+
}>>;
|
|
4520
|
+
_delivery: z.ZodOptional<z.ZodObject<{
|
|
4521
|
+
kind: z.ZodEnum<{
|
|
4522
|
+
webhook: "webhook";
|
|
4523
|
+
cron: "cron";
|
|
4524
|
+
}>;
|
|
4525
|
+
name: z.ZodString;
|
|
4526
|
+
body: z.ZodString;
|
|
4527
|
+
}, z.core.$strip>>;
|
|
3579
4528
|
_background_reply: z.ZodOptional<z.ZodBoolean>;
|
|
3580
4529
|
_background_silent: z.ZodOptional<z.ZodBoolean>;
|
|
3581
4530
|
_display: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3612,6 +4561,7 @@ export declare const sessionsContract: {
|
|
|
3612
4561
|
event_type: z.ZodOptional<z.ZodString>;
|
|
3613
4562
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
3614
4563
|
unknown: "unknown";
|
|
4564
|
+
memory: "memory";
|
|
3615
4565
|
shell: "shell";
|
|
3616
4566
|
read: "read";
|
|
3617
4567
|
list: "list";
|
|
@@ -3619,7 +4569,6 @@ export declare const sessionsContract: {
|
|
|
3619
4569
|
web: "web";
|
|
3620
4570
|
write: "write";
|
|
3621
4571
|
skill: "skill";
|
|
3622
|
-
memory: "memory";
|
|
3623
4572
|
delegate: "delegate";
|
|
3624
4573
|
}>>;
|
|
3625
4574
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -3684,6 +4633,50 @@ export declare const sessionsContract: {
|
|
|
3684
4633
|
send_now: z.ZodBoolean;
|
|
3685
4634
|
}, z.core.$strip>;
|
|
3686
4635
|
}, z.core.$strip>>>;
|
|
4636
|
+
run_status: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4637
|
+
phase: z.ZodLiteral<"compressing">;
|
|
4638
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4639
|
+
phase: z.ZodLiteral<"rate_limit_wait">;
|
|
4640
|
+
wait: z.ZodObject<{
|
|
4641
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
4642
|
+
provider_label: z.ZodNullable<z.ZodString>;
|
|
4643
|
+
until: z.ZodNumber;
|
|
4644
|
+
until_kind: z.ZodEnum<{
|
|
4645
|
+
reset: "reset";
|
|
4646
|
+
retry: "retry";
|
|
4647
|
+
}>;
|
|
4648
|
+
}, z.core.$strip>;
|
|
4649
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4650
|
+
phase: z.ZodLiteral<"prompt_reading">;
|
|
4651
|
+
progress_percent: z.ZodNullable<z.ZodNumber>;
|
|
4652
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4653
|
+
phase: z.ZodLiteral<"working">;
|
|
4654
|
+
}, z.core.$strip>], "phase">>>;
|
|
4655
|
+
compression_started_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4656
|
+
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4657
|
+
key: z.ZodString;
|
|
4658
|
+
level: z.ZodEnum<{
|
|
4659
|
+
success: "success";
|
|
4660
|
+
error: "error";
|
|
4661
|
+
info: "info";
|
|
4662
|
+
warn: "warn";
|
|
4663
|
+
}>;
|
|
4664
|
+
text: z.ZodString;
|
|
4665
|
+
expires_at: z.ZodNullable<z.ZodNumber>;
|
|
4666
|
+
}, z.core.$strip>>>;
|
|
4667
|
+
goal: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4668
|
+
text: z.ZodString;
|
|
4669
|
+
status: z.ZodEnum<{
|
|
4670
|
+
active: "active";
|
|
4671
|
+
parked: "parked";
|
|
4672
|
+
paused: "paused";
|
|
4673
|
+
}>;
|
|
4674
|
+
turns_used: z.ZodNumber;
|
|
4675
|
+
max_turns: z.ZodNumber;
|
|
4676
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
4677
|
+
parked_until: z.ZodNullable<z.ZodNumber>;
|
|
4678
|
+
}, z.core.$strip>>>;
|
|
4679
|
+
automatic_turns_held: z.ZodOptional<z.ZodBoolean>;
|
|
3687
4680
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
3688
4681
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3689
4682
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3735,11 +4728,11 @@ export declare const sessionsContract: {
|
|
|
3735
4728
|
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
3736
4729
|
source_kind: z.ZodEnum<{
|
|
3737
4730
|
other: "other";
|
|
4731
|
+
webhook: "webhook";
|
|
4732
|
+
cron: "cron";
|
|
3738
4733
|
webui: "webui";
|
|
3739
4734
|
cli: "cli";
|
|
3740
4735
|
messaging: "messaging";
|
|
3741
|
-
cron: "cron";
|
|
3742
|
-
webhook: "webhook";
|
|
3743
4736
|
subagent: "subagent";
|
|
3744
4737
|
claude_code: "claude_code";
|
|
3745
4738
|
kanban: "kanban";
|
|
@@ -3749,6 +4742,57 @@ export declare const sessionsContract: {
|
|
|
3749
4742
|
sort_ts: z.ZodNumber;
|
|
3750
4743
|
cron_running: z.ZodOptional<z.ZodBoolean>;
|
|
3751
4744
|
read_only: z.ZodBoolean;
|
|
4745
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4746
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
4747
|
+
state: z.ZodEnum<{
|
|
4748
|
+
attached: "attached";
|
|
4749
|
+
stopped: "stopped";
|
|
4750
|
+
unavailable: "unavailable";
|
|
4751
|
+
incompatible: "incompatible";
|
|
4752
|
+
refused: "refused";
|
|
4753
|
+
}>;
|
|
4754
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
4755
|
+
can_submit: z.ZodBoolean;
|
|
4756
|
+
can_interrupt: z.ZodBoolean;
|
|
4757
|
+
can_attach: z.ZodBoolean;
|
|
4758
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
4759
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
4760
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4761
|
+
admission_id: z.ZodString;
|
|
4762
|
+
sequence: z.ZodNumber;
|
|
4763
|
+
status: z.ZodEnum<{
|
|
4764
|
+
unknown: "unknown";
|
|
4765
|
+
queued: "queued";
|
|
4766
|
+
started: "started";
|
|
4767
|
+
terminal: "terminal";
|
|
4768
|
+
}>;
|
|
4769
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
4770
|
+
authority_epoch: z.ZodNumber;
|
|
4771
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
4772
|
+
text: z.ZodOptional<z.ZodString>;
|
|
4773
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
4774
|
+
}, z.core.$strip>>>;
|
|
4775
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
4776
|
+
admission_id: z.ZodString;
|
|
4777
|
+
sequence: z.ZodNumber;
|
|
4778
|
+
status: z.ZodEnum<{
|
|
4779
|
+
unknown: "unknown";
|
|
4780
|
+
queued: "queued";
|
|
4781
|
+
started: "started";
|
|
4782
|
+
terminal: "terminal";
|
|
4783
|
+
}>;
|
|
4784
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
4785
|
+
authority_epoch: z.ZodNumber;
|
|
4786
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
4787
|
+
text: z.ZodOptional<z.ZodString>;
|
|
4788
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
4789
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
4790
|
+
cancel: "cancel";
|
|
4791
|
+
discard: "discard";
|
|
4792
|
+
retry: "retry";
|
|
4793
|
+
}>>;
|
|
4794
|
+
}, z.core.$strip>>;
|
|
4795
|
+
}, z.core.$strip>>;
|
|
3752
4796
|
can_branch: z.ZodBoolean;
|
|
3753
4797
|
can_pin: z.ZodBoolean;
|
|
3754
4798
|
can_archive: z.ZodBoolean;
|
|
@@ -3802,11 +4846,11 @@ export declare const sessionsContract: {
|
|
|
3802
4846
|
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
3803
4847
|
source_kind: z.ZodEnum<{
|
|
3804
4848
|
other: "other";
|
|
4849
|
+
webhook: "webhook";
|
|
4850
|
+
cron: "cron";
|
|
3805
4851
|
webui: "webui";
|
|
3806
4852
|
cli: "cli";
|
|
3807
4853
|
messaging: "messaging";
|
|
3808
|
-
cron: "cron";
|
|
3809
|
-
webhook: "webhook";
|
|
3810
4854
|
subagent: "subagent";
|
|
3811
4855
|
claude_code: "claude_code";
|
|
3812
4856
|
kanban: "kanban";
|
|
@@ -3816,6 +4860,57 @@ export declare const sessionsContract: {
|
|
|
3816
4860
|
sort_ts: z.ZodNumber;
|
|
3817
4861
|
cron_running: z.ZodOptional<z.ZodBoolean>;
|
|
3818
4862
|
read_only: z.ZodBoolean;
|
|
4863
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4864
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
4865
|
+
state: z.ZodEnum<{
|
|
4866
|
+
attached: "attached";
|
|
4867
|
+
stopped: "stopped";
|
|
4868
|
+
unavailable: "unavailable";
|
|
4869
|
+
incompatible: "incompatible";
|
|
4870
|
+
refused: "refused";
|
|
4871
|
+
}>;
|
|
4872
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
4873
|
+
can_submit: z.ZodBoolean;
|
|
4874
|
+
can_interrupt: z.ZodBoolean;
|
|
4875
|
+
can_attach: z.ZodBoolean;
|
|
4876
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
4877
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
4878
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4879
|
+
admission_id: z.ZodString;
|
|
4880
|
+
sequence: z.ZodNumber;
|
|
4881
|
+
status: z.ZodEnum<{
|
|
4882
|
+
unknown: "unknown";
|
|
4883
|
+
queued: "queued";
|
|
4884
|
+
started: "started";
|
|
4885
|
+
terminal: "terminal";
|
|
4886
|
+
}>;
|
|
4887
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
4888
|
+
authority_epoch: z.ZodNumber;
|
|
4889
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
4890
|
+
text: z.ZodOptional<z.ZodString>;
|
|
4891
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
4892
|
+
}, z.core.$strip>>>;
|
|
4893
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
4894
|
+
admission_id: z.ZodString;
|
|
4895
|
+
sequence: z.ZodNumber;
|
|
4896
|
+
status: z.ZodEnum<{
|
|
4897
|
+
unknown: "unknown";
|
|
4898
|
+
queued: "queued";
|
|
4899
|
+
started: "started";
|
|
4900
|
+
terminal: "terminal";
|
|
4901
|
+
}>;
|
|
4902
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
4903
|
+
authority_epoch: z.ZodNumber;
|
|
4904
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
4905
|
+
text: z.ZodOptional<z.ZodString>;
|
|
4906
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
4907
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
4908
|
+
cancel: "cancel";
|
|
4909
|
+
discard: "discard";
|
|
4910
|
+
retry: "retry";
|
|
4911
|
+
}>>;
|
|
4912
|
+
}, z.core.$strip>>;
|
|
4913
|
+
}, z.core.$strip>>;
|
|
3819
4914
|
can_branch: z.ZodBoolean;
|
|
3820
4915
|
can_pin: z.ZodBoolean;
|
|
3821
4916
|
can_archive: z.ZodBoolean;
|
|
@@ -3869,11 +4964,11 @@ export declare const sessionsContract: {
|
|
|
3869
4964
|
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
3870
4965
|
source_kind: z.ZodEnum<{
|
|
3871
4966
|
other: "other";
|
|
4967
|
+
webhook: "webhook";
|
|
4968
|
+
cron: "cron";
|
|
3872
4969
|
webui: "webui";
|
|
3873
4970
|
cli: "cli";
|
|
3874
4971
|
messaging: "messaging";
|
|
3875
|
-
cron: "cron";
|
|
3876
|
-
webhook: "webhook";
|
|
3877
4972
|
subagent: "subagent";
|
|
3878
4973
|
claude_code: "claude_code";
|
|
3879
4974
|
kanban: "kanban";
|
|
@@ -3883,6 +4978,57 @@ export declare const sessionsContract: {
|
|
|
3883
4978
|
sort_ts: z.ZodNumber;
|
|
3884
4979
|
cron_running: z.ZodOptional<z.ZodBoolean>;
|
|
3885
4980
|
read_only: z.ZodBoolean;
|
|
4981
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4982
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
4983
|
+
state: z.ZodEnum<{
|
|
4984
|
+
attached: "attached";
|
|
4985
|
+
stopped: "stopped";
|
|
4986
|
+
unavailable: "unavailable";
|
|
4987
|
+
incompatible: "incompatible";
|
|
4988
|
+
refused: "refused";
|
|
4989
|
+
}>;
|
|
4990
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
4991
|
+
can_submit: z.ZodBoolean;
|
|
4992
|
+
can_interrupt: z.ZodBoolean;
|
|
4993
|
+
can_attach: z.ZodBoolean;
|
|
4994
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
4995
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
4996
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4997
|
+
admission_id: z.ZodString;
|
|
4998
|
+
sequence: z.ZodNumber;
|
|
4999
|
+
status: z.ZodEnum<{
|
|
5000
|
+
unknown: "unknown";
|
|
5001
|
+
queued: "queued";
|
|
5002
|
+
started: "started";
|
|
5003
|
+
terminal: "terminal";
|
|
5004
|
+
}>;
|
|
5005
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
5006
|
+
authority_epoch: z.ZodNumber;
|
|
5007
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
5008
|
+
text: z.ZodOptional<z.ZodString>;
|
|
5009
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
5010
|
+
}, z.core.$strip>>>;
|
|
5011
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
5012
|
+
admission_id: z.ZodString;
|
|
5013
|
+
sequence: z.ZodNumber;
|
|
5014
|
+
status: z.ZodEnum<{
|
|
5015
|
+
unknown: "unknown";
|
|
5016
|
+
queued: "queued";
|
|
5017
|
+
started: "started";
|
|
5018
|
+
terminal: "terminal";
|
|
5019
|
+
}>;
|
|
5020
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
5021
|
+
authority_epoch: z.ZodNumber;
|
|
5022
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
5023
|
+
text: z.ZodOptional<z.ZodString>;
|
|
5024
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
5025
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
5026
|
+
cancel: "cancel";
|
|
5027
|
+
discard: "discard";
|
|
5028
|
+
retry: "retry";
|
|
5029
|
+
}>>;
|
|
5030
|
+
}, z.core.$strip>>;
|
|
5031
|
+
}, z.core.$strip>>;
|
|
3886
5032
|
can_branch: z.ZodBoolean;
|
|
3887
5033
|
can_pin: z.ZodBoolean;
|
|
3888
5034
|
can_archive: z.ZodBoolean;
|
|
@@ -3922,11 +5068,11 @@ export declare const sessionsContract: {
|
|
|
3922
5068
|
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
3923
5069
|
source_kind: z.ZodEnum<{
|
|
3924
5070
|
other: "other";
|
|
5071
|
+
webhook: "webhook";
|
|
5072
|
+
cron: "cron";
|
|
3925
5073
|
webui: "webui";
|
|
3926
5074
|
cli: "cli";
|
|
3927
5075
|
messaging: "messaging";
|
|
3928
|
-
cron: "cron";
|
|
3929
|
-
webhook: "webhook";
|
|
3930
5076
|
subagent: "subagent";
|
|
3931
5077
|
claude_code: "claude_code";
|
|
3932
5078
|
kanban: "kanban";
|
|
@@ -3935,6 +5081,57 @@ export declare const sessionsContract: {
|
|
|
3935
5081
|
is_messaging_session: z.ZodBoolean;
|
|
3936
5082
|
sort_ts: z.ZodNumber;
|
|
3937
5083
|
read_only: z.ZodBoolean;
|
|
5084
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5085
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
5086
|
+
state: z.ZodEnum<{
|
|
5087
|
+
attached: "attached";
|
|
5088
|
+
stopped: "stopped";
|
|
5089
|
+
unavailable: "unavailable";
|
|
5090
|
+
incompatible: "incompatible";
|
|
5091
|
+
refused: "refused";
|
|
5092
|
+
}>;
|
|
5093
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
5094
|
+
can_submit: z.ZodBoolean;
|
|
5095
|
+
can_interrupt: z.ZodBoolean;
|
|
5096
|
+
can_attach: z.ZodBoolean;
|
|
5097
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
5098
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
5099
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5100
|
+
admission_id: z.ZodString;
|
|
5101
|
+
sequence: z.ZodNumber;
|
|
5102
|
+
status: z.ZodEnum<{
|
|
5103
|
+
unknown: "unknown";
|
|
5104
|
+
queued: "queued";
|
|
5105
|
+
started: "started";
|
|
5106
|
+
terminal: "terminal";
|
|
5107
|
+
}>;
|
|
5108
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
5109
|
+
authority_epoch: z.ZodNumber;
|
|
5110
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
5111
|
+
text: z.ZodOptional<z.ZodString>;
|
|
5112
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
5113
|
+
}, z.core.$strip>>>;
|
|
5114
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
5115
|
+
admission_id: z.ZodString;
|
|
5116
|
+
sequence: z.ZodNumber;
|
|
5117
|
+
status: z.ZodEnum<{
|
|
5118
|
+
unknown: "unknown";
|
|
5119
|
+
queued: "queued";
|
|
5120
|
+
started: "started";
|
|
5121
|
+
terminal: "terminal";
|
|
5122
|
+
}>;
|
|
5123
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
5124
|
+
authority_epoch: z.ZodNumber;
|
|
5125
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
5126
|
+
text: z.ZodOptional<z.ZodString>;
|
|
5127
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
5128
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
5129
|
+
cancel: "cancel";
|
|
5130
|
+
discard: "discard";
|
|
5131
|
+
retry: "retry";
|
|
5132
|
+
}>>;
|
|
5133
|
+
}, z.core.$strip>>;
|
|
5134
|
+
}, z.core.$strip>>;
|
|
3938
5135
|
can_branch: z.ZodBoolean;
|
|
3939
5136
|
can_pin: z.ZodBoolean;
|
|
3940
5137
|
can_archive: z.ZodBoolean;
|
|
@@ -3942,6 +5139,7 @@ export declare const sessionsContract: {
|
|
|
3942
5139
|
can_duplicate: z.ZodBoolean;
|
|
3943
5140
|
source_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3944
5141
|
can_compress: z.ZodOptional<z.ZodBoolean>;
|
|
5142
|
+
confirms_deep_truncate: z.ZodOptional<z.ZodBoolean>;
|
|
3945
5143
|
source_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3946
5144
|
session_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3947
5145
|
raw_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3981,6 +5179,7 @@ export declare const sessionsContract: {
|
|
|
3981
5179
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3982
5180
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3983
5181
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5182
|
+
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
3984
5183
|
session_id: z.ZodString;
|
|
3985
5184
|
title: z.ZodString;
|
|
3986
5185
|
workspace: z.ZodOptional<z.ZodString>;
|
|
@@ -4034,6 +5233,7 @@ export declare const sessionsContract: {
|
|
|
4034
5233
|
event_type: z.ZodOptional<z.ZodString>;
|
|
4035
5234
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
4036
5235
|
unknown: "unknown";
|
|
5236
|
+
memory: "memory";
|
|
4037
5237
|
shell: "shell";
|
|
4038
5238
|
read: "read";
|
|
4039
5239
|
list: "list";
|
|
@@ -4041,7 +5241,6 @@ export declare const sessionsContract: {
|
|
|
4041
5241
|
web: "web";
|
|
4042
5242
|
write: "write";
|
|
4043
5243
|
skill: "skill";
|
|
4044
|
-
memory: "memory";
|
|
4045
5244
|
delegate: "delegate";
|
|
4046
5245
|
}>>;
|
|
4047
5246
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -4085,8 +5284,8 @@ export declare const sessionsContract: {
|
|
|
4085
5284
|
row_id: z.ZodString;
|
|
4086
5285
|
order_index: z.ZodNumber;
|
|
4087
5286
|
role: z.ZodEnum<{
|
|
4088
|
-
reasoning: "reasoning";
|
|
4089
5287
|
tool: "tool";
|
|
5288
|
+
reasoning: "reasoning";
|
|
4090
5289
|
prose: "prose";
|
|
4091
5290
|
steering: "steering";
|
|
4092
5291
|
}>;
|
|
@@ -4125,10 +5324,10 @@ export declare const sessionsContract: {
|
|
|
4125
5324
|
task_ids: z.ZodArray<z.ZodString>;
|
|
4126
5325
|
status: z.ZodEnum<{
|
|
4127
5326
|
unknown: "unknown";
|
|
5327
|
+
running: "running";
|
|
4128
5328
|
cancelled: "cancelled";
|
|
4129
|
-
completed: "completed";
|
|
4130
5329
|
failed: "failed";
|
|
4131
|
-
|
|
5330
|
+
completed: "completed";
|
|
4132
5331
|
attention: "attention";
|
|
4133
5332
|
}>;
|
|
4134
5333
|
agents: z.ZodObject<{
|
|
@@ -4142,6 +5341,7 @@ export declare const sessionsContract: {
|
|
|
4142
5341
|
result_chars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4143
5342
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
4144
5343
|
unknown: "unknown";
|
|
5344
|
+
memory: "memory";
|
|
4145
5345
|
shell: "shell";
|
|
4146
5346
|
read: "read";
|
|
4147
5347
|
list: "list";
|
|
@@ -4149,7 +5349,6 @@ export declare const sessionsContract: {
|
|
|
4149
5349
|
web: "web";
|
|
4150
5350
|
write: "write";
|
|
4151
5351
|
skill: "skill";
|
|
4152
|
-
memory: "memory";
|
|
4153
5352
|
delegate: "delegate";
|
|
4154
5353
|
}>>;
|
|
4155
5354
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -4269,19 +5468,45 @@ export declare const sessionsContract: {
|
|
|
4269
5468
|
other: "other";
|
|
4270
5469
|
}>;
|
|
4271
5470
|
status: z.ZodEnum<{
|
|
4272
|
-
completed: "completed";
|
|
4273
5471
|
failed: "failed";
|
|
5472
|
+
completed: "completed";
|
|
4274
5473
|
notice: "notice";
|
|
4275
5474
|
}>;
|
|
4276
5475
|
label: z.ZodString;
|
|
4277
5476
|
exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5477
|
+
review_state: z.ZodOptional<z.ZodEnum<{
|
|
5478
|
+
unknown: "unknown";
|
|
5479
|
+
failed: "failed";
|
|
5480
|
+
waiting: "waiting";
|
|
5481
|
+
reviewing: "reviewing";
|
|
5482
|
+
reviewed: "reviewed";
|
|
5483
|
+
}>>;
|
|
4278
5484
|
}, z.core.$strip>>;
|
|
5485
|
+
review_state: z.ZodOptional<z.ZodEnum<{
|
|
5486
|
+
unknown: "unknown";
|
|
5487
|
+
failed: "failed";
|
|
5488
|
+
waiting: "waiting";
|
|
5489
|
+
reviewing: "reviewing";
|
|
5490
|
+
reviewed: "reviewed";
|
|
5491
|
+
}>>;
|
|
4279
5492
|
}, z.core.$strip>>;
|
|
4280
5493
|
_marker_kind: z.ZodOptional<z.ZodEnum<{
|
|
4281
5494
|
context_compaction: "context_compaction";
|
|
4282
5495
|
preserved_task_list: "preserved_task_list";
|
|
4283
5496
|
}>>;
|
|
4284
5497
|
_marker_body: z.ZodOptional<z.ZodString>;
|
|
5498
|
+
_notice_kind: z.ZodOptional<z.ZodEnum<{
|
|
5499
|
+
failed_turn: "failed_turn";
|
|
5500
|
+
session_finalize: "session_finalize";
|
|
5501
|
+
}>>;
|
|
5502
|
+
_delivery: z.ZodOptional<z.ZodObject<{
|
|
5503
|
+
kind: z.ZodEnum<{
|
|
5504
|
+
webhook: "webhook";
|
|
5505
|
+
cron: "cron";
|
|
5506
|
+
}>;
|
|
5507
|
+
name: z.ZodString;
|
|
5508
|
+
body: z.ZodString;
|
|
5509
|
+
}, z.core.$strip>>;
|
|
4285
5510
|
_background_reply: z.ZodOptional<z.ZodBoolean>;
|
|
4286
5511
|
_background_silent: z.ZodOptional<z.ZodBoolean>;
|
|
4287
5512
|
_display: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4318,6 +5543,7 @@ export declare const sessionsContract: {
|
|
|
4318
5543
|
event_type: z.ZodOptional<z.ZodString>;
|
|
4319
5544
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
4320
5545
|
unknown: "unknown";
|
|
5546
|
+
memory: "memory";
|
|
4321
5547
|
shell: "shell";
|
|
4322
5548
|
read: "read";
|
|
4323
5549
|
list: "list";
|
|
@@ -4325,7 +5551,6 @@ export declare const sessionsContract: {
|
|
|
4325
5551
|
web: "web";
|
|
4326
5552
|
write: "write";
|
|
4327
5553
|
skill: "skill";
|
|
4328
|
-
memory: "memory";
|
|
4329
5554
|
delegate: "delegate";
|
|
4330
5555
|
}>>;
|
|
4331
5556
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -4390,6 +5615,50 @@ export declare const sessionsContract: {
|
|
|
4390
5615
|
send_now: z.ZodBoolean;
|
|
4391
5616
|
}, z.core.$strip>;
|
|
4392
5617
|
}, z.core.$strip>>>;
|
|
5618
|
+
run_status: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5619
|
+
phase: z.ZodLiteral<"compressing">;
|
|
5620
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5621
|
+
phase: z.ZodLiteral<"rate_limit_wait">;
|
|
5622
|
+
wait: z.ZodObject<{
|
|
5623
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
5624
|
+
provider_label: z.ZodNullable<z.ZodString>;
|
|
5625
|
+
until: z.ZodNumber;
|
|
5626
|
+
until_kind: z.ZodEnum<{
|
|
5627
|
+
reset: "reset";
|
|
5628
|
+
retry: "retry";
|
|
5629
|
+
}>;
|
|
5630
|
+
}, z.core.$strip>;
|
|
5631
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5632
|
+
phase: z.ZodLiteral<"prompt_reading">;
|
|
5633
|
+
progress_percent: z.ZodNullable<z.ZodNumber>;
|
|
5634
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5635
|
+
phase: z.ZodLiteral<"working">;
|
|
5636
|
+
}, z.core.$strip>], "phase">>>;
|
|
5637
|
+
compression_started_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5638
|
+
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5639
|
+
key: z.ZodString;
|
|
5640
|
+
level: z.ZodEnum<{
|
|
5641
|
+
success: "success";
|
|
5642
|
+
error: "error";
|
|
5643
|
+
info: "info";
|
|
5644
|
+
warn: "warn";
|
|
5645
|
+
}>;
|
|
5646
|
+
text: z.ZodString;
|
|
5647
|
+
expires_at: z.ZodNullable<z.ZodNumber>;
|
|
5648
|
+
}, z.core.$strip>>>;
|
|
5649
|
+
goal: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5650
|
+
text: z.ZodString;
|
|
5651
|
+
status: z.ZodEnum<{
|
|
5652
|
+
active: "active";
|
|
5653
|
+
parked: "parked";
|
|
5654
|
+
paused: "paused";
|
|
5655
|
+
}>;
|
|
5656
|
+
turns_used: z.ZodNumber;
|
|
5657
|
+
max_turns: z.ZodNumber;
|
|
5658
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
5659
|
+
parked_until: z.ZodNullable<z.ZodNumber>;
|
|
5660
|
+
}, z.core.$strip>>>;
|
|
5661
|
+
automatic_turns_held: z.ZodOptional<z.ZodBoolean>;
|
|
4393
5662
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
4394
5663
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4395
5664
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -4421,7 +5690,9 @@ export declare const sessionsContract: {
|
|
|
4421
5690
|
truncate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4422
5691
|
session_id: z.ZodString;
|
|
4423
5692
|
keep_count: z.ZodOptional<z.ZodUnknown>;
|
|
4424
|
-
|
|
5693
|
+
confirm_deep_truncate: z.ZodOptional<z.ZodBoolean>;
|
|
5694
|
+
confirm_token: z.ZodOptional<z.ZodString>;
|
|
5695
|
+
}, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
|
|
4425
5696
|
ok: z.ZodLiteral<true>;
|
|
4426
5697
|
session: z.ZodObject<{
|
|
4427
5698
|
context_used_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -4444,11 +5715,11 @@ export declare const sessionsContract: {
|
|
|
4444
5715
|
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
4445
5716
|
source_kind: z.ZodEnum<{
|
|
4446
5717
|
other: "other";
|
|
5718
|
+
webhook: "webhook";
|
|
5719
|
+
cron: "cron";
|
|
4447
5720
|
webui: "webui";
|
|
4448
5721
|
cli: "cli";
|
|
4449
5722
|
messaging: "messaging";
|
|
4450
|
-
cron: "cron";
|
|
4451
|
-
webhook: "webhook";
|
|
4452
5723
|
subagent: "subagent";
|
|
4453
5724
|
claude_code: "claude_code";
|
|
4454
5725
|
kanban: "kanban";
|
|
@@ -4458,6 +5729,57 @@ export declare const sessionsContract: {
|
|
|
4458
5729
|
sort_ts: z.ZodNumber;
|
|
4459
5730
|
cron_running: z.ZodOptional<z.ZodBoolean>;
|
|
4460
5731
|
read_only: z.ZodBoolean;
|
|
5732
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5733
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
5734
|
+
state: z.ZodEnum<{
|
|
5735
|
+
attached: "attached";
|
|
5736
|
+
stopped: "stopped";
|
|
5737
|
+
unavailable: "unavailable";
|
|
5738
|
+
incompatible: "incompatible";
|
|
5739
|
+
refused: "refused";
|
|
5740
|
+
}>;
|
|
5741
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
5742
|
+
can_submit: z.ZodBoolean;
|
|
5743
|
+
can_interrupt: z.ZodBoolean;
|
|
5744
|
+
can_attach: z.ZodBoolean;
|
|
5745
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
5746
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
5747
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5748
|
+
admission_id: z.ZodString;
|
|
5749
|
+
sequence: z.ZodNumber;
|
|
5750
|
+
status: z.ZodEnum<{
|
|
5751
|
+
unknown: "unknown";
|
|
5752
|
+
queued: "queued";
|
|
5753
|
+
started: "started";
|
|
5754
|
+
terminal: "terminal";
|
|
5755
|
+
}>;
|
|
5756
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
5757
|
+
authority_epoch: z.ZodNumber;
|
|
5758
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
5759
|
+
text: z.ZodOptional<z.ZodString>;
|
|
5760
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
5761
|
+
}, z.core.$strip>>>;
|
|
5762
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
5763
|
+
admission_id: z.ZodString;
|
|
5764
|
+
sequence: z.ZodNumber;
|
|
5765
|
+
status: z.ZodEnum<{
|
|
5766
|
+
unknown: "unknown";
|
|
5767
|
+
queued: "queued";
|
|
5768
|
+
started: "started";
|
|
5769
|
+
terminal: "terminal";
|
|
5770
|
+
}>;
|
|
5771
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
5772
|
+
authority_epoch: z.ZodNumber;
|
|
5773
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
5774
|
+
text: z.ZodOptional<z.ZodString>;
|
|
5775
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
5776
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
5777
|
+
cancel: "cancel";
|
|
5778
|
+
discard: "discard";
|
|
5779
|
+
retry: "retry";
|
|
5780
|
+
}>>;
|
|
5781
|
+
}, z.core.$strip>>;
|
|
5782
|
+
}, z.core.$strip>>;
|
|
4461
5783
|
can_branch: z.ZodBoolean;
|
|
4462
5784
|
can_pin: z.ZodBoolean;
|
|
4463
5785
|
can_archive: z.ZodBoolean;
|
|
@@ -4484,7 +5806,13 @@ export declare const sessionsContract: {
|
|
|
4484
5806
|
match_preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4485
5807
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4486
5808
|
}, z.core.$loose>;
|
|
4487
|
-
}, z.core.$catchall<z.ZodUnknown>>,
|
|
5809
|
+
}, z.core.$catchall<z.ZodUnknown>>, z.ZodObject<{
|
|
5810
|
+
ok: z.ZodLiteral<false>;
|
|
5811
|
+
confirm_required: z.ZodLiteral<true>;
|
|
5812
|
+
discard_user_turns: z.ZodNumber;
|
|
5813
|
+
discard_messages: z.ZodNumber;
|
|
5814
|
+
confirm_token: z.ZodString;
|
|
5815
|
+
}, z.core.$strip>]>, Record<never, never>, Record<never, never>>;
|
|
4488
5816
|
clear: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4489
5817
|
session_id: z.ZodString;
|
|
4490
5818
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4510,11 +5838,11 @@ export declare const sessionsContract: {
|
|
|
4510
5838
|
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
4511
5839
|
source_kind: z.ZodEnum<{
|
|
4512
5840
|
other: "other";
|
|
5841
|
+
webhook: "webhook";
|
|
5842
|
+
cron: "cron";
|
|
4513
5843
|
webui: "webui";
|
|
4514
5844
|
cli: "cli";
|
|
4515
5845
|
messaging: "messaging";
|
|
4516
|
-
cron: "cron";
|
|
4517
|
-
webhook: "webhook";
|
|
4518
5846
|
subagent: "subagent";
|
|
4519
5847
|
claude_code: "claude_code";
|
|
4520
5848
|
kanban: "kanban";
|
|
@@ -4524,6 +5852,57 @@ export declare const sessionsContract: {
|
|
|
4524
5852
|
sort_ts: z.ZodNumber;
|
|
4525
5853
|
cron_running: z.ZodOptional<z.ZodBoolean>;
|
|
4526
5854
|
read_only: z.ZodBoolean;
|
|
5855
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5856
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
5857
|
+
state: z.ZodEnum<{
|
|
5858
|
+
attached: "attached";
|
|
5859
|
+
stopped: "stopped";
|
|
5860
|
+
unavailable: "unavailable";
|
|
5861
|
+
incompatible: "incompatible";
|
|
5862
|
+
refused: "refused";
|
|
5863
|
+
}>;
|
|
5864
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
5865
|
+
can_submit: z.ZodBoolean;
|
|
5866
|
+
can_interrupt: z.ZodBoolean;
|
|
5867
|
+
can_attach: z.ZodBoolean;
|
|
5868
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
5869
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
5870
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5871
|
+
admission_id: z.ZodString;
|
|
5872
|
+
sequence: z.ZodNumber;
|
|
5873
|
+
status: z.ZodEnum<{
|
|
5874
|
+
unknown: "unknown";
|
|
5875
|
+
queued: "queued";
|
|
5876
|
+
started: "started";
|
|
5877
|
+
terminal: "terminal";
|
|
5878
|
+
}>;
|
|
5879
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
5880
|
+
authority_epoch: z.ZodNumber;
|
|
5881
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
5882
|
+
text: z.ZodOptional<z.ZodString>;
|
|
5883
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
5884
|
+
}, z.core.$strip>>>;
|
|
5885
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
5886
|
+
admission_id: z.ZodString;
|
|
5887
|
+
sequence: z.ZodNumber;
|
|
5888
|
+
status: z.ZodEnum<{
|
|
5889
|
+
unknown: "unknown";
|
|
5890
|
+
queued: "queued";
|
|
5891
|
+
started: "started";
|
|
5892
|
+
terminal: "terminal";
|
|
5893
|
+
}>;
|
|
5894
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
5895
|
+
authority_epoch: z.ZodNumber;
|
|
5896
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
5897
|
+
text: z.ZodOptional<z.ZodString>;
|
|
5898
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
5899
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
5900
|
+
cancel: "cancel";
|
|
5901
|
+
discard: "discard";
|
|
5902
|
+
retry: "retry";
|
|
5903
|
+
}>>;
|
|
5904
|
+
}, z.core.$strip>>;
|
|
5905
|
+
}, z.core.$strip>>;
|
|
4527
5906
|
can_branch: z.ZodBoolean;
|
|
4528
5907
|
can_pin: z.ZodBoolean;
|
|
4529
5908
|
can_archive: z.ZodBoolean;
|
|
@@ -4584,6 +5963,7 @@ export declare const sessionsContract: {
|
|
|
4584
5963
|
workspace: z.ZodOptional<z.ZodString>;
|
|
4585
5964
|
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4586
5965
|
model_provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5966
|
+
confirm_token: z.ZodOptional<z.ZodString>;
|
|
4587
5967
|
}, z.core.$strip>, z.ZodObject<{
|
|
4588
5968
|
session: z.ZodObject<{
|
|
4589
5969
|
enabled_toolsets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -4594,11 +5974,11 @@ export declare const sessionsContract: {
|
|
|
4594
5974
|
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
4595
5975
|
source_kind: z.ZodEnum<{
|
|
4596
5976
|
other: "other";
|
|
5977
|
+
webhook: "webhook";
|
|
5978
|
+
cron: "cron";
|
|
4597
5979
|
webui: "webui";
|
|
4598
5980
|
cli: "cli";
|
|
4599
5981
|
messaging: "messaging";
|
|
4600
|
-
cron: "cron";
|
|
4601
|
-
webhook: "webhook";
|
|
4602
5982
|
subagent: "subagent";
|
|
4603
5983
|
claude_code: "claude_code";
|
|
4604
5984
|
kanban: "kanban";
|
|
@@ -4607,6 +5987,57 @@ export declare const sessionsContract: {
|
|
|
4607
5987
|
is_messaging_session: z.ZodBoolean;
|
|
4608
5988
|
sort_ts: z.ZodNumber;
|
|
4609
5989
|
read_only: z.ZodBoolean;
|
|
5990
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5991
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
5992
|
+
state: z.ZodEnum<{
|
|
5993
|
+
attached: "attached";
|
|
5994
|
+
stopped: "stopped";
|
|
5995
|
+
unavailable: "unavailable";
|
|
5996
|
+
incompatible: "incompatible";
|
|
5997
|
+
refused: "refused";
|
|
5998
|
+
}>;
|
|
5999
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
6000
|
+
can_submit: z.ZodBoolean;
|
|
6001
|
+
can_interrupt: z.ZodBoolean;
|
|
6002
|
+
can_attach: z.ZodBoolean;
|
|
6003
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
6004
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
6005
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6006
|
+
admission_id: z.ZodString;
|
|
6007
|
+
sequence: z.ZodNumber;
|
|
6008
|
+
status: z.ZodEnum<{
|
|
6009
|
+
unknown: "unknown";
|
|
6010
|
+
queued: "queued";
|
|
6011
|
+
started: "started";
|
|
6012
|
+
terminal: "terminal";
|
|
6013
|
+
}>;
|
|
6014
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
6015
|
+
authority_epoch: z.ZodNumber;
|
|
6016
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
6017
|
+
text: z.ZodOptional<z.ZodString>;
|
|
6018
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
6019
|
+
}, z.core.$strip>>>;
|
|
6020
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
6021
|
+
admission_id: z.ZodString;
|
|
6022
|
+
sequence: z.ZodNumber;
|
|
6023
|
+
status: z.ZodEnum<{
|
|
6024
|
+
unknown: "unknown";
|
|
6025
|
+
queued: "queued";
|
|
6026
|
+
started: "started";
|
|
6027
|
+
terminal: "terminal";
|
|
6028
|
+
}>;
|
|
6029
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
6030
|
+
authority_epoch: z.ZodNumber;
|
|
6031
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
6032
|
+
text: z.ZodOptional<z.ZodString>;
|
|
6033
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
6034
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
6035
|
+
cancel: "cancel";
|
|
6036
|
+
discard: "discard";
|
|
6037
|
+
retry: "retry";
|
|
6038
|
+
}>>;
|
|
6039
|
+
}, z.core.$strip>>;
|
|
6040
|
+
}, z.core.$strip>>;
|
|
4610
6041
|
can_branch: z.ZodBoolean;
|
|
4611
6042
|
can_pin: z.ZodBoolean;
|
|
4612
6043
|
can_archive: z.ZodBoolean;
|
|
@@ -4614,6 +6045,7 @@ export declare const sessionsContract: {
|
|
|
4614
6045
|
can_duplicate: z.ZodBoolean;
|
|
4615
6046
|
source_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4616
6047
|
can_compress: z.ZodOptional<z.ZodBoolean>;
|
|
6048
|
+
confirms_deep_truncate: z.ZodOptional<z.ZodBoolean>;
|
|
4617
6049
|
source_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4618
6050
|
session_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4619
6051
|
raw_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4653,6 +6085,7 @@ export declare const sessionsContract: {
|
|
|
4653
6085
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4654
6086
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4655
6087
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6088
|
+
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
4656
6089
|
session_id: z.ZodString;
|
|
4657
6090
|
title: z.ZodString;
|
|
4658
6091
|
workspace: z.ZodOptional<z.ZodString>;
|
|
@@ -4706,6 +6139,7 @@ export declare const sessionsContract: {
|
|
|
4706
6139
|
event_type: z.ZodOptional<z.ZodString>;
|
|
4707
6140
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
4708
6141
|
unknown: "unknown";
|
|
6142
|
+
memory: "memory";
|
|
4709
6143
|
shell: "shell";
|
|
4710
6144
|
read: "read";
|
|
4711
6145
|
list: "list";
|
|
@@ -4713,7 +6147,6 @@ export declare const sessionsContract: {
|
|
|
4713
6147
|
web: "web";
|
|
4714
6148
|
write: "write";
|
|
4715
6149
|
skill: "skill";
|
|
4716
|
-
memory: "memory";
|
|
4717
6150
|
delegate: "delegate";
|
|
4718
6151
|
}>>;
|
|
4719
6152
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -4757,8 +6190,8 @@ export declare const sessionsContract: {
|
|
|
4757
6190
|
row_id: z.ZodString;
|
|
4758
6191
|
order_index: z.ZodNumber;
|
|
4759
6192
|
role: z.ZodEnum<{
|
|
4760
|
-
reasoning: "reasoning";
|
|
4761
6193
|
tool: "tool";
|
|
6194
|
+
reasoning: "reasoning";
|
|
4762
6195
|
prose: "prose";
|
|
4763
6196
|
steering: "steering";
|
|
4764
6197
|
}>;
|
|
@@ -4797,10 +6230,10 @@ export declare const sessionsContract: {
|
|
|
4797
6230
|
task_ids: z.ZodArray<z.ZodString>;
|
|
4798
6231
|
status: z.ZodEnum<{
|
|
4799
6232
|
unknown: "unknown";
|
|
6233
|
+
running: "running";
|
|
4800
6234
|
cancelled: "cancelled";
|
|
4801
|
-
completed: "completed";
|
|
4802
6235
|
failed: "failed";
|
|
4803
|
-
|
|
6236
|
+
completed: "completed";
|
|
4804
6237
|
attention: "attention";
|
|
4805
6238
|
}>;
|
|
4806
6239
|
agents: z.ZodObject<{
|
|
@@ -4814,6 +6247,7 @@ export declare const sessionsContract: {
|
|
|
4814
6247
|
result_chars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4815
6248
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
4816
6249
|
unknown: "unknown";
|
|
6250
|
+
memory: "memory";
|
|
4817
6251
|
shell: "shell";
|
|
4818
6252
|
read: "read";
|
|
4819
6253
|
list: "list";
|
|
@@ -4821,7 +6255,6 @@ export declare const sessionsContract: {
|
|
|
4821
6255
|
web: "web";
|
|
4822
6256
|
write: "write";
|
|
4823
6257
|
skill: "skill";
|
|
4824
|
-
memory: "memory";
|
|
4825
6258
|
delegate: "delegate";
|
|
4826
6259
|
}>>;
|
|
4827
6260
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -4941,19 +6374,45 @@ export declare const sessionsContract: {
|
|
|
4941
6374
|
other: "other";
|
|
4942
6375
|
}>;
|
|
4943
6376
|
status: z.ZodEnum<{
|
|
4944
|
-
completed: "completed";
|
|
4945
6377
|
failed: "failed";
|
|
6378
|
+
completed: "completed";
|
|
4946
6379
|
notice: "notice";
|
|
4947
6380
|
}>;
|
|
4948
6381
|
label: z.ZodString;
|
|
4949
6382
|
exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6383
|
+
review_state: z.ZodOptional<z.ZodEnum<{
|
|
6384
|
+
unknown: "unknown";
|
|
6385
|
+
failed: "failed";
|
|
6386
|
+
waiting: "waiting";
|
|
6387
|
+
reviewing: "reviewing";
|
|
6388
|
+
reviewed: "reviewed";
|
|
6389
|
+
}>>;
|
|
4950
6390
|
}, z.core.$strip>>;
|
|
6391
|
+
review_state: z.ZodOptional<z.ZodEnum<{
|
|
6392
|
+
unknown: "unknown";
|
|
6393
|
+
failed: "failed";
|
|
6394
|
+
waiting: "waiting";
|
|
6395
|
+
reviewing: "reviewing";
|
|
6396
|
+
reviewed: "reviewed";
|
|
6397
|
+
}>>;
|
|
4951
6398
|
}, z.core.$strip>>;
|
|
4952
6399
|
_marker_kind: z.ZodOptional<z.ZodEnum<{
|
|
4953
6400
|
context_compaction: "context_compaction";
|
|
4954
6401
|
preserved_task_list: "preserved_task_list";
|
|
4955
6402
|
}>>;
|
|
4956
6403
|
_marker_body: z.ZodOptional<z.ZodString>;
|
|
6404
|
+
_notice_kind: z.ZodOptional<z.ZodEnum<{
|
|
6405
|
+
failed_turn: "failed_turn";
|
|
6406
|
+
session_finalize: "session_finalize";
|
|
6407
|
+
}>>;
|
|
6408
|
+
_delivery: z.ZodOptional<z.ZodObject<{
|
|
6409
|
+
kind: z.ZodEnum<{
|
|
6410
|
+
webhook: "webhook";
|
|
6411
|
+
cron: "cron";
|
|
6412
|
+
}>;
|
|
6413
|
+
name: z.ZodString;
|
|
6414
|
+
body: z.ZodString;
|
|
6415
|
+
}, z.core.$strip>>;
|
|
4957
6416
|
_background_reply: z.ZodOptional<z.ZodBoolean>;
|
|
4958
6417
|
_background_silent: z.ZodOptional<z.ZodBoolean>;
|
|
4959
6418
|
_display: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4990,6 +6449,7 @@ export declare const sessionsContract: {
|
|
|
4990
6449
|
event_type: z.ZodOptional<z.ZodString>;
|
|
4991
6450
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
4992
6451
|
unknown: "unknown";
|
|
6452
|
+
memory: "memory";
|
|
4993
6453
|
shell: "shell";
|
|
4994
6454
|
read: "read";
|
|
4995
6455
|
list: "list";
|
|
@@ -4997,7 +6457,6 @@ export declare const sessionsContract: {
|
|
|
4997
6457
|
web: "web";
|
|
4998
6458
|
write: "write";
|
|
4999
6459
|
skill: "skill";
|
|
5000
|
-
memory: "memory";
|
|
5001
6460
|
delegate: "delegate";
|
|
5002
6461
|
}>>;
|
|
5003
6462
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -5062,6 +6521,50 @@ export declare const sessionsContract: {
|
|
|
5062
6521
|
send_now: z.ZodBoolean;
|
|
5063
6522
|
}, z.core.$strip>;
|
|
5064
6523
|
}, z.core.$strip>>>;
|
|
6524
|
+
run_status: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6525
|
+
phase: z.ZodLiteral<"compressing">;
|
|
6526
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6527
|
+
phase: z.ZodLiteral<"rate_limit_wait">;
|
|
6528
|
+
wait: z.ZodObject<{
|
|
6529
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
6530
|
+
provider_label: z.ZodNullable<z.ZodString>;
|
|
6531
|
+
until: z.ZodNumber;
|
|
6532
|
+
until_kind: z.ZodEnum<{
|
|
6533
|
+
reset: "reset";
|
|
6534
|
+
retry: "retry";
|
|
6535
|
+
}>;
|
|
6536
|
+
}, z.core.$strip>;
|
|
6537
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6538
|
+
phase: z.ZodLiteral<"prompt_reading">;
|
|
6539
|
+
progress_percent: z.ZodNullable<z.ZodNumber>;
|
|
6540
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6541
|
+
phase: z.ZodLiteral<"working">;
|
|
6542
|
+
}, z.core.$strip>], "phase">>>;
|
|
6543
|
+
compression_started_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6544
|
+
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6545
|
+
key: z.ZodString;
|
|
6546
|
+
level: z.ZodEnum<{
|
|
6547
|
+
success: "success";
|
|
6548
|
+
error: "error";
|
|
6549
|
+
info: "info";
|
|
6550
|
+
warn: "warn";
|
|
6551
|
+
}>;
|
|
6552
|
+
text: z.ZodString;
|
|
6553
|
+
expires_at: z.ZodNullable<z.ZodNumber>;
|
|
6554
|
+
}, z.core.$strip>>>;
|
|
6555
|
+
goal: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6556
|
+
text: z.ZodString;
|
|
6557
|
+
status: z.ZodEnum<{
|
|
6558
|
+
active: "active";
|
|
6559
|
+
parked: "parked";
|
|
6560
|
+
paused: "paused";
|
|
6561
|
+
}>;
|
|
6562
|
+
turns_used: z.ZodNumber;
|
|
6563
|
+
max_turns: z.ZodNumber;
|
|
6564
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
6565
|
+
parked_until: z.ZodNullable<z.ZodNumber>;
|
|
6566
|
+
}, z.core.$strip>>>;
|
|
6567
|
+
automatic_turns_held: z.ZodOptional<z.ZodBoolean>;
|
|
5065
6568
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
5066
6569
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5067
6570
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5131,11 +6634,11 @@ export declare const sessionsContract: {
|
|
|
5131
6634
|
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
5132
6635
|
source_kind: z.ZodEnum<{
|
|
5133
6636
|
other: "other";
|
|
6637
|
+
webhook: "webhook";
|
|
6638
|
+
cron: "cron";
|
|
5134
6639
|
webui: "webui";
|
|
5135
6640
|
cli: "cli";
|
|
5136
6641
|
messaging: "messaging";
|
|
5137
|
-
cron: "cron";
|
|
5138
|
-
webhook: "webhook";
|
|
5139
6642
|
subagent: "subagent";
|
|
5140
6643
|
claude_code: "claude_code";
|
|
5141
6644
|
kanban: "kanban";
|
|
@@ -5145,6 +6648,57 @@ export declare const sessionsContract: {
|
|
|
5145
6648
|
sort_ts: z.ZodNumber;
|
|
5146
6649
|
cron_running: z.ZodOptional<z.ZodBoolean>;
|
|
5147
6650
|
read_only: z.ZodBoolean;
|
|
6651
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6652
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
6653
|
+
state: z.ZodEnum<{
|
|
6654
|
+
attached: "attached";
|
|
6655
|
+
stopped: "stopped";
|
|
6656
|
+
unavailable: "unavailable";
|
|
6657
|
+
incompatible: "incompatible";
|
|
6658
|
+
refused: "refused";
|
|
6659
|
+
}>;
|
|
6660
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
6661
|
+
can_submit: z.ZodBoolean;
|
|
6662
|
+
can_interrupt: z.ZodBoolean;
|
|
6663
|
+
can_attach: z.ZodBoolean;
|
|
6664
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
6665
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
6666
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6667
|
+
admission_id: z.ZodString;
|
|
6668
|
+
sequence: z.ZodNumber;
|
|
6669
|
+
status: z.ZodEnum<{
|
|
6670
|
+
unknown: "unknown";
|
|
6671
|
+
queued: "queued";
|
|
6672
|
+
started: "started";
|
|
6673
|
+
terminal: "terminal";
|
|
6674
|
+
}>;
|
|
6675
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
6676
|
+
authority_epoch: z.ZodNumber;
|
|
6677
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
6678
|
+
text: z.ZodOptional<z.ZodString>;
|
|
6679
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
6680
|
+
}, z.core.$strip>>>;
|
|
6681
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
6682
|
+
admission_id: z.ZodString;
|
|
6683
|
+
sequence: z.ZodNumber;
|
|
6684
|
+
status: z.ZodEnum<{
|
|
6685
|
+
unknown: "unknown";
|
|
6686
|
+
queued: "queued";
|
|
6687
|
+
started: "started";
|
|
6688
|
+
terminal: "terminal";
|
|
6689
|
+
}>;
|
|
6690
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
6691
|
+
authority_epoch: z.ZodNumber;
|
|
6692
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
6693
|
+
text: z.ZodOptional<z.ZodString>;
|
|
6694
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
6695
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
6696
|
+
cancel: "cancel";
|
|
6697
|
+
discard: "discard";
|
|
6698
|
+
retry: "retry";
|
|
6699
|
+
}>>;
|
|
6700
|
+
}, z.core.$strip>>;
|
|
6701
|
+
}, z.core.$strip>>;
|
|
5148
6702
|
can_branch: z.ZodBoolean;
|
|
5149
6703
|
can_pin: z.ZodBoolean;
|
|
5150
6704
|
can_archive: z.ZodBoolean;
|
|
@@ -5197,11 +6751,11 @@ export declare const sessionsContract: {
|
|
|
5197
6751
|
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
5198
6752
|
source_kind: z.ZodEnum<{
|
|
5199
6753
|
other: "other";
|
|
6754
|
+
webhook: "webhook";
|
|
6755
|
+
cron: "cron";
|
|
5200
6756
|
webui: "webui";
|
|
5201
6757
|
cli: "cli";
|
|
5202
6758
|
messaging: "messaging";
|
|
5203
|
-
cron: "cron";
|
|
5204
|
-
webhook: "webhook";
|
|
5205
6759
|
subagent: "subagent";
|
|
5206
6760
|
claude_code: "claude_code";
|
|
5207
6761
|
kanban: "kanban";
|
|
@@ -5211,6 +6765,57 @@ export declare const sessionsContract: {
|
|
|
5211
6765
|
sort_ts: z.ZodNumber;
|
|
5212
6766
|
cron_running: z.ZodOptional<z.ZodBoolean>;
|
|
5213
6767
|
read_only: z.ZodBoolean;
|
|
6768
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6769
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
6770
|
+
state: z.ZodEnum<{
|
|
6771
|
+
attached: "attached";
|
|
6772
|
+
stopped: "stopped";
|
|
6773
|
+
unavailable: "unavailable";
|
|
6774
|
+
incompatible: "incompatible";
|
|
6775
|
+
refused: "refused";
|
|
6776
|
+
}>;
|
|
6777
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
6778
|
+
can_submit: z.ZodBoolean;
|
|
6779
|
+
can_interrupt: z.ZodBoolean;
|
|
6780
|
+
can_attach: z.ZodBoolean;
|
|
6781
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
6782
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
6783
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6784
|
+
admission_id: z.ZodString;
|
|
6785
|
+
sequence: z.ZodNumber;
|
|
6786
|
+
status: z.ZodEnum<{
|
|
6787
|
+
unknown: "unknown";
|
|
6788
|
+
queued: "queued";
|
|
6789
|
+
started: "started";
|
|
6790
|
+
terminal: "terminal";
|
|
6791
|
+
}>;
|
|
6792
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
6793
|
+
authority_epoch: z.ZodNumber;
|
|
6794
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
6795
|
+
text: z.ZodOptional<z.ZodString>;
|
|
6796
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
6797
|
+
}, z.core.$strip>>>;
|
|
6798
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
6799
|
+
admission_id: z.ZodString;
|
|
6800
|
+
sequence: z.ZodNumber;
|
|
6801
|
+
status: z.ZodEnum<{
|
|
6802
|
+
unknown: "unknown";
|
|
6803
|
+
queued: "queued";
|
|
6804
|
+
started: "started";
|
|
6805
|
+
terminal: "terminal";
|
|
6806
|
+
}>;
|
|
6807
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
6808
|
+
authority_epoch: z.ZodNumber;
|
|
6809
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
6810
|
+
text: z.ZodOptional<z.ZodString>;
|
|
6811
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
6812
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
6813
|
+
cancel: "cancel";
|
|
6814
|
+
discard: "discard";
|
|
6815
|
+
retry: "retry";
|
|
6816
|
+
}>>;
|
|
6817
|
+
}, z.core.$strip>>;
|
|
6818
|
+
}, z.core.$strip>>;
|
|
5214
6819
|
can_branch: z.ZodBoolean;
|
|
5215
6820
|
can_pin: z.ZodBoolean;
|
|
5216
6821
|
can_archive: z.ZodBoolean;
|
|
@@ -5463,11 +7068,11 @@ export declare const sessionsContract: {
|
|
|
5463
7068
|
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
5464
7069
|
source_kind: z.ZodEnum<{
|
|
5465
7070
|
other: "other";
|
|
7071
|
+
webhook: "webhook";
|
|
7072
|
+
cron: "cron";
|
|
5466
7073
|
webui: "webui";
|
|
5467
7074
|
cli: "cli";
|
|
5468
7075
|
messaging: "messaging";
|
|
5469
|
-
cron: "cron";
|
|
5470
|
-
webhook: "webhook";
|
|
5471
7076
|
subagent: "subagent";
|
|
5472
7077
|
claude_code: "claude_code";
|
|
5473
7078
|
kanban: "kanban";
|
|
@@ -5476,6 +7081,57 @@ export declare const sessionsContract: {
|
|
|
5476
7081
|
is_messaging_session: z.ZodBoolean;
|
|
5477
7082
|
sort_ts: z.ZodNumber;
|
|
5478
7083
|
read_only: z.ZodBoolean;
|
|
7084
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7085
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
7086
|
+
state: z.ZodEnum<{
|
|
7087
|
+
attached: "attached";
|
|
7088
|
+
stopped: "stopped";
|
|
7089
|
+
unavailable: "unavailable";
|
|
7090
|
+
incompatible: "incompatible";
|
|
7091
|
+
refused: "refused";
|
|
7092
|
+
}>;
|
|
7093
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
7094
|
+
can_submit: z.ZodBoolean;
|
|
7095
|
+
can_interrupt: z.ZodBoolean;
|
|
7096
|
+
can_attach: z.ZodBoolean;
|
|
7097
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
7098
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
7099
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7100
|
+
admission_id: z.ZodString;
|
|
7101
|
+
sequence: z.ZodNumber;
|
|
7102
|
+
status: z.ZodEnum<{
|
|
7103
|
+
unknown: "unknown";
|
|
7104
|
+
queued: "queued";
|
|
7105
|
+
started: "started";
|
|
7106
|
+
terminal: "terminal";
|
|
7107
|
+
}>;
|
|
7108
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
7109
|
+
authority_epoch: z.ZodNumber;
|
|
7110
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
7111
|
+
text: z.ZodOptional<z.ZodString>;
|
|
7112
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
7113
|
+
}, z.core.$strip>>>;
|
|
7114
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
7115
|
+
admission_id: z.ZodString;
|
|
7116
|
+
sequence: z.ZodNumber;
|
|
7117
|
+
status: z.ZodEnum<{
|
|
7118
|
+
unknown: "unknown";
|
|
7119
|
+
queued: "queued";
|
|
7120
|
+
started: "started";
|
|
7121
|
+
terminal: "terminal";
|
|
7122
|
+
}>;
|
|
7123
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
7124
|
+
authority_epoch: z.ZodNumber;
|
|
7125
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
7126
|
+
text: z.ZodOptional<z.ZodString>;
|
|
7127
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
7128
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
7129
|
+
cancel: "cancel";
|
|
7130
|
+
discard: "discard";
|
|
7131
|
+
retry: "retry";
|
|
7132
|
+
}>>;
|
|
7133
|
+
}, z.core.$strip>>;
|
|
7134
|
+
}, z.core.$strip>>;
|
|
5479
7135
|
can_branch: z.ZodBoolean;
|
|
5480
7136
|
can_pin: z.ZodBoolean;
|
|
5481
7137
|
can_archive: z.ZodBoolean;
|
|
@@ -5483,6 +7139,7 @@ export declare const sessionsContract: {
|
|
|
5483
7139
|
can_duplicate: z.ZodBoolean;
|
|
5484
7140
|
source_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5485
7141
|
can_compress: z.ZodOptional<z.ZodBoolean>;
|
|
7142
|
+
confirms_deep_truncate: z.ZodOptional<z.ZodBoolean>;
|
|
5486
7143
|
source_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5487
7144
|
session_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5488
7145
|
raw_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5522,6 +7179,7 @@ export declare const sessionsContract: {
|
|
|
5522
7179
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5523
7180
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5524
7181
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7182
|
+
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
5525
7183
|
session_id: z.ZodString;
|
|
5526
7184
|
title: z.ZodString;
|
|
5527
7185
|
workspace: z.ZodOptional<z.ZodString>;
|
|
@@ -5575,6 +7233,7 @@ export declare const sessionsContract: {
|
|
|
5575
7233
|
event_type: z.ZodOptional<z.ZodString>;
|
|
5576
7234
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
5577
7235
|
unknown: "unknown";
|
|
7236
|
+
memory: "memory";
|
|
5578
7237
|
shell: "shell";
|
|
5579
7238
|
read: "read";
|
|
5580
7239
|
list: "list";
|
|
@@ -5582,7 +7241,6 @@ export declare const sessionsContract: {
|
|
|
5582
7241
|
web: "web";
|
|
5583
7242
|
write: "write";
|
|
5584
7243
|
skill: "skill";
|
|
5585
|
-
memory: "memory";
|
|
5586
7244
|
delegate: "delegate";
|
|
5587
7245
|
}>>;
|
|
5588
7246
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -5626,8 +7284,8 @@ export declare const sessionsContract: {
|
|
|
5626
7284
|
row_id: z.ZodString;
|
|
5627
7285
|
order_index: z.ZodNumber;
|
|
5628
7286
|
role: z.ZodEnum<{
|
|
5629
|
-
reasoning: "reasoning";
|
|
5630
7287
|
tool: "tool";
|
|
7288
|
+
reasoning: "reasoning";
|
|
5631
7289
|
prose: "prose";
|
|
5632
7290
|
steering: "steering";
|
|
5633
7291
|
}>;
|
|
@@ -5666,10 +7324,10 @@ export declare const sessionsContract: {
|
|
|
5666
7324
|
task_ids: z.ZodArray<z.ZodString>;
|
|
5667
7325
|
status: z.ZodEnum<{
|
|
5668
7326
|
unknown: "unknown";
|
|
7327
|
+
running: "running";
|
|
5669
7328
|
cancelled: "cancelled";
|
|
5670
|
-
completed: "completed";
|
|
5671
7329
|
failed: "failed";
|
|
5672
|
-
|
|
7330
|
+
completed: "completed";
|
|
5673
7331
|
attention: "attention";
|
|
5674
7332
|
}>;
|
|
5675
7333
|
agents: z.ZodObject<{
|
|
@@ -5683,6 +7341,7 @@ export declare const sessionsContract: {
|
|
|
5683
7341
|
result_chars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5684
7342
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
5685
7343
|
unknown: "unknown";
|
|
7344
|
+
memory: "memory";
|
|
5686
7345
|
shell: "shell";
|
|
5687
7346
|
read: "read";
|
|
5688
7347
|
list: "list";
|
|
@@ -5690,7 +7349,6 @@ export declare const sessionsContract: {
|
|
|
5690
7349
|
web: "web";
|
|
5691
7350
|
write: "write";
|
|
5692
7351
|
skill: "skill";
|
|
5693
|
-
memory: "memory";
|
|
5694
7352
|
delegate: "delegate";
|
|
5695
7353
|
}>>;
|
|
5696
7354
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -5810,19 +7468,45 @@ export declare const sessionsContract: {
|
|
|
5810
7468
|
other: "other";
|
|
5811
7469
|
}>;
|
|
5812
7470
|
status: z.ZodEnum<{
|
|
5813
|
-
completed: "completed";
|
|
5814
7471
|
failed: "failed";
|
|
7472
|
+
completed: "completed";
|
|
5815
7473
|
notice: "notice";
|
|
5816
7474
|
}>;
|
|
5817
7475
|
label: z.ZodString;
|
|
5818
7476
|
exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7477
|
+
review_state: z.ZodOptional<z.ZodEnum<{
|
|
7478
|
+
unknown: "unknown";
|
|
7479
|
+
failed: "failed";
|
|
7480
|
+
waiting: "waiting";
|
|
7481
|
+
reviewing: "reviewing";
|
|
7482
|
+
reviewed: "reviewed";
|
|
7483
|
+
}>>;
|
|
5819
7484
|
}, z.core.$strip>>;
|
|
7485
|
+
review_state: z.ZodOptional<z.ZodEnum<{
|
|
7486
|
+
unknown: "unknown";
|
|
7487
|
+
failed: "failed";
|
|
7488
|
+
waiting: "waiting";
|
|
7489
|
+
reviewing: "reviewing";
|
|
7490
|
+
reviewed: "reviewed";
|
|
7491
|
+
}>>;
|
|
5820
7492
|
}, z.core.$strip>>;
|
|
5821
7493
|
_marker_kind: z.ZodOptional<z.ZodEnum<{
|
|
5822
7494
|
context_compaction: "context_compaction";
|
|
5823
7495
|
preserved_task_list: "preserved_task_list";
|
|
5824
7496
|
}>>;
|
|
5825
7497
|
_marker_body: z.ZodOptional<z.ZodString>;
|
|
7498
|
+
_notice_kind: z.ZodOptional<z.ZodEnum<{
|
|
7499
|
+
failed_turn: "failed_turn";
|
|
7500
|
+
session_finalize: "session_finalize";
|
|
7501
|
+
}>>;
|
|
7502
|
+
_delivery: z.ZodOptional<z.ZodObject<{
|
|
7503
|
+
kind: z.ZodEnum<{
|
|
7504
|
+
webhook: "webhook";
|
|
7505
|
+
cron: "cron";
|
|
7506
|
+
}>;
|
|
7507
|
+
name: z.ZodString;
|
|
7508
|
+
body: z.ZodString;
|
|
7509
|
+
}, z.core.$strip>>;
|
|
5826
7510
|
_background_reply: z.ZodOptional<z.ZodBoolean>;
|
|
5827
7511
|
_background_silent: z.ZodOptional<z.ZodBoolean>;
|
|
5828
7512
|
_display: z.ZodOptional<z.ZodEnum<{
|
|
@@ -5859,6 +7543,7 @@ export declare const sessionsContract: {
|
|
|
5859
7543
|
event_type: z.ZodOptional<z.ZodString>;
|
|
5860
7544
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
5861
7545
|
unknown: "unknown";
|
|
7546
|
+
memory: "memory";
|
|
5862
7547
|
shell: "shell";
|
|
5863
7548
|
read: "read";
|
|
5864
7549
|
list: "list";
|
|
@@ -5866,7 +7551,6 @@ export declare const sessionsContract: {
|
|
|
5866
7551
|
web: "web";
|
|
5867
7552
|
write: "write";
|
|
5868
7553
|
skill: "skill";
|
|
5869
|
-
memory: "memory";
|
|
5870
7554
|
delegate: "delegate";
|
|
5871
7555
|
}>>;
|
|
5872
7556
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -5931,6 +7615,50 @@ export declare const sessionsContract: {
|
|
|
5931
7615
|
send_now: z.ZodBoolean;
|
|
5932
7616
|
}, z.core.$strip>;
|
|
5933
7617
|
}, z.core.$strip>>>;
|
|
7618
|
+
run_status: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7619
|
+
phase: z.ZodLiteral<"compressing">;
|
|
7620
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7621
|
+
phase: z.ZodLiteral<"rate_limit_wait">;
|
|
7622
|
+
wait: z.ZodObject<{
|
|
7623
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
7624
|
+
provider_label: z.ZodNullable<z.ZodString>;
|
|
7625
|
+
until: z.ZodNumber;
|
|
7626
|
+
until_kind: z.ZodEnum<{
|
|
7627
|
+
reset: "reset";
|
|
7628
|
+
retry: "retry";
|
|
7629
|
+
}>;
|
|
7630
|
+
}, z.core.$strip>;
|
|
7631
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7632
|
+
phase: z.ZodLiteral<"prompt_reading">;
|
|
7633
|
+
progress_percent: z.ZodNullable<z.ZodNumber>;
|
|
7634
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7635
|
+
phase: z.ZodLiteral<"working">;
|
|
7636
|
+
}, z.core.$strip>], "phase">>>;
|
|
7637
|
+
compression_started_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7638
|
+
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7639
|
+
key: z.ZodString;
|
|
7640
|
+
level: z.ZodEnum<{
|
|
7641
|
+
success: "success";
|
|
7642
|
+
error: "error";
|
|
7643
|
+
info: "info";
|
|
7644
|
+
warn: "warn";
|
|
7645
|
+
}>;
|
|
7646
|
+
text: z.ZodString;
|
|
7647
|
+
expires_at: z.ZodNullable<z.ZodNumber>;
|
|
7648
|
+
}, z.core.$strip>>>;
|
|
7649
|
+
goal: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7650
|
+
text: z.ZodString;
|
|
7651
|
+
status: z.ZodEnum<{
|
|
7652
|
+
active: "active";
|
|
7653
|
+
parked: "parked";
|
|
7654
|
+
paused: "paused";
|
|
7655
|
+
}>;
|
|
7656
|
+
turns_used: z.ZodNumber;
|
|
7657
|
+
max_turns: z.ZodNumber;
|
|
7658
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
7659
|
+
parked_until: z.ZodNullable<z.ZodNumber>;
|
|
7660
|
+
}, z.core.$strip>>>;
|
|
7661
|
+
automatic_turns_held: z.ZodOptional<z.ZodBoolean>;
|
|
5934
7662
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
5935
7663
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5936
7664
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5968,11 +7696,11 @@ export declare const sessionsContract: {
|
|
|
5968
7696
|
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
5969
7697
|
source_kind: z.ZodEnum<{
|
|
5970
7698
|
other: "other";
|
|
7699
|
+
webhook: "webhook";
|
|
7700
|
+
cron: "cron";
|
|
5971
7701
|
webui: "webui";
|
|
5972
7702
|
cli: "cli";
|
|
5973
7703
|
messaging: "messaging";
|
|
5974
|
-
cron: "cron";
|
|
5975
|
-
webhook: "webhook";
|
|
5976
7704
|
subagent: "subagent";
|
|
5977
7705
|
claude_code: "claude_code";
|
|
5978
7706
|
kanban: "kanban";
|
|
@@ -5981,6 +7709,57 @@ export declare const sessionsContract: {
|
|
|
5981
7709
|
is_messaging_session: z.ZodBoolean;
|
|
5982
7710
|
sort_ts: z.ZodNumber;
|
|
5983
7711
|
read_only: z.ZodBoolean;
|
|
7712
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7713
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
7714
|
+
state: z.ZodEnum<{
|
|
7715
|
+
attached: "attached";
|
|
7716
|
+
stopped: "stopped";
|
|
7717
|
+
unavailable: "unavailable";
|
|
7718
|
+
incompatible: "incompatible";
|
|
7719
|
+
refused: "refused";
|
|
7720
|
+
}>;
|
|
7721
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
7722
|
+
can_submit: z.ZodBoolean;
|
|
7723
|
+
can_interrupt: z.ZodBoolean;
|
|
7724
|
+
can_attach: z.ZodBoolean;
|
|
7725
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
7726
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
7727
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7728
|
+
admission_id: z.ZodString;
|
|
7729
|
+
sequence: z.ZodNumber;
|
|
7730
|
+
status: z.ZodEnum<{
|
|
7731
|
+
unknown: "unknown";
|
|
7732
|
+
queued: "queued";
|
|
7733
|
+
started: "started";
|
|
7734
|
+
terminal: "terminal";
|
|
7735
|
+
}>;
|
|
7736
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
7737
|
+
authority_epoch: z.ZodNumber;
|
|
7738
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
7739
|
+
text: z.ZodOptional<z.ZodString>;
|
|
7740
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
7741
|
+
}, z.core.$strip>>>;
|
|
7742
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
7743
|
+
admission_id: z.ZodString;
|
|
7744
|
+
sequence: z.ZodNumber;
|
|
7745
|
+
status: z.ZodEnum<{
|
|
7746
|
+
unknown: "unknown";
|
|
7747
|
+
queued: "queued";
|
|
7748
|
+
started: "started";
|
|
7749
|
+
terminal: "terminal";
|
|
7750
|
+
}>;
|
|
7751
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
7752
|
+
authority_epoch: z.ZodNumber;
|
|
7753
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
7754
|
+
text: z.ZodOptional<z.ZodString>;
|
|
7755
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
7756
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
7757
|
+
cancel: "cancel";
|
|
7758
|
+
discard: "discard";
|
|
7759
|
+
retry: "retry";
|
|
7760
|
+
}>>;
|
|
7761
|
+
}, z.core.$strip>>;
|
|
7762
|
+
}, z.core.$strip>>;
|
|
5984
7763
|
can_branch: z.ZodBoolean;
|
|
5985
7764
|
can_pin: z.ZodBoolean;
|
|
5986
7765
|
can_archive: z.ZodBoolean;
|
|
@@ -5988,6 +7767,7 @@ export declare const sessionsContract: {
|
|
|
5988
7767
|
can_duplicate: z.ZodBoolean;
|
|
5989
7768
|
source_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5990
7769
|
can_compress: z.ZodOptional<z.ZodBoolean>;
|
|
7770
|
+
confirms_deep_truncate: z.ZodOptional<z.ZodBoolean>;
|
|
5991
7771
|
source_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5992
7772
|
session_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5993
7773
|
raw_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6027,6 +7807,7 @@ export declare const sessionsContract: {
|
|
|
6027
7807
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6028
7808
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6029
7809
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7810
|
+
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
6030
7811
|
session_id: z.ZodString;
|
|
6031
7812
|
title: z.ZodString;
|
|
6032
7813
|
workspace: z.ZodOptional<z.ZodString>;
|
|
@@ -6080,6 +7861,7 @@ export declare const sessionsContract: {
|
|
|
6080
7861
|
event_type: z.ZodOptional<z.ZodString>;
|
|
6081
7862
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
6082
7863
|
unknown: "unknown";
|
|
7864
|
+
memory: "memory";
|
|
6083
7865
|
shell: "shell";
|
|
6084
7866
|
read: "read";
|
|
6085
7867
|
list: "list";
|
|
@@ -6087,7 +7869,6 @@ export declare const sessionsContract: {
|
|
|
6087
7869
|
web: "web";
|
|
6088
7870
|
write: "write";
|
|
6089
7871
|
skill: "skill";
|
|
6090
|
-
memory: "memory";
|
|
6091
7872
|
delegate: "delegate";
|
|
6092
7873
|
}>>;
|
|
6093
7874
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -6131,8 +7912,8 @@ export declare const sessionsContract: {
|
|
|
6131
7912
|
row_id: z.ZodString;
|
|
6132
7913
|
order_index: z.ZodNumber;
|
|
6133
7914
|
role: z.ZodEnum<{
|
|
6134
|
-
reasoning: "reasoning";
|
|
6135
7915
|
tool: "tool";
|
|
7916
|
+
reasoning: "reasoning";
|
|
6136
7917
|
prose: "prose";
|
|
6137
7918
|
steering: "steering";
|
|
6138
7919
|
}>;
|
|
@@ -6171,10 +7952,10 @@ export declare const sessionsContract: {
|
|
|
6171
7952
|
task_ids: z.ZodArray<z.ZodString>;
|
|
6172
7953
|
status: z.ZodEnum<{
|
|
6173
7954
|
unknown: "unknown";
|
|
7955
|
+
running: "running";
|
|
6174
7956
|
cancelled: "cancelled";
|
|
6175
|
-
completed: "completed";
|
|
6176
7957
|
failed: "failed";
|
|
6177
|
-
|
|
7958
|
+
completed: "completed";
|
|
6178
7959
|
attention: "attention";
|
|
6179
7960
|
}>;
|
|
6180
7961
|
agents: z.ZodObject<{
|
|
@@ -6188,6 +7969,7 @@ export declare const sessionsContract: {
|
|
|
6188
7969
|
result_chars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6189
7970
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
6190
7971
|
unknown: "unknown";
|
|
7972
|
+
memory: "memory";
|
|
6191
7973
|
shell: "shell";
|
|
6192
7974
|
read: "read";
|
|
6193
7975
|
list: "list";
|
|
@@ -6195,7 +7977,6 @@ export declare const sessionsContract: {
|
|
|
6195
7977
|
web: "web";
|
|
6196
7978
|
write: "write";
|
|
6197
7979
|
skill: "skill";
|
|
6198
|
-
memory: "memory";
|
|
6199
7980
|
delegate: "delegate";
|
|
6200
7981
|
}>>;
|
|
6201
7982
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -6315,19 +8096,45 @@ export declare const sessionsContract: {
|
|
|
6315
8096
|
other: "other";
|
|
6316
8097
|
}>;
|
|
6317
8098
|
status: z.ZodEnum<{
|
|
6318
|
-
completed: "completed";
|
|
6319
8099
|
failed: "failed";
|
|
8100
|
+
completed: "completed";
|
|
6320
8101
|
notice: "notice";
|
|
6321
8102
|
}>;
|
|
6322
8103
|
label: z.ZodString;
|
|
6323
8104
|
exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8105
|
+
review_state: z.ZodOptional<z.ZodEnum<{
|
|
8106
|
+
unknown: "unknown";
|
|
8107
|
+
failed: "failed";
|
|
8108
|
+
waiting: "waiting";
|
|
8109
|
+
reviewing: "reviewing";
|
|
8110
|
+
reviewed: "reviewed";
|
|
8111
|
+
}>>;
|
|
6324
8112
|
}, z.core.$strip>>;
|
|
8113
|
+
review_state: z.ZodOptional<z.ZodEnum<{
|
|
8114
|
+
unknown: "unknown";
|
|
8115
|
+
failed: "failed";
|
|
8116
|
+
waiting: "waiting";
|
|
8117
|
+
reviewing: "reviewing";
|
|
8118
|
+
reviewed: "reviewed";
|
|
8119
|
+
}>>;
|
|
6325
8120
|
}, z.core.$strip>>;
|
|
6326
8121
|
_marker_kind: z.ZodOptional<z.ZodEnum<{
|
|
6327
8122
|
context_compaction: "context_compaction";
|
|
6328
8123
|
preserved_task_list: "preserved_task_list";
|
|
6329
8124
|
}>>;
|
|
6330
8125
|
_marker_body: z.ZodOptional<z.ZodString>;
|
|
8126
|
+
_notice_kind: z.ZodOptional<z.ZodEnum<{
|
|
8127
|
+
failed_turn: "failed_turn";
|
|
8128
|
+
session_finalize: "session_finalize";
|
|
8129
|
+
}>>;
|
|
8130
|
+
_delivery: z.ZodOptional<z.ZodObject<{
|
|
8131
|
+
kind: z.ZodEnum<{
|
|
8132
|
+
webhook: "webhook";
|
|
8133
|
+
cron: "cron";
|
|
8134
|
+
}>;
|
|
8135
|
+
name: z.ZodString;
|
|
8136
|
+
body: z.ZodString;
|
|
8137
|
+
}, z.core.$strip>>;
|
|
6331
8138
|
_background_reply: z.ZodOptional<z.ZodBoolean>;
|
|
6332
8139
|
_background_silent: z.ZodOptional<z.ZodBoolean>;
|
|
6333
8140
|
_display: z.ZodOptional<z.ZodEnum<{
|
|
@@ -6364,6 +8171,7 @@ export declare const sessionsContract: {
|
|
|
6364
8171
|
event_type: z.ZodOptional<z.ZodString>;
|
|
6365
8172
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
6366
8173
|
unknown: "unknown";
|
|
8174
|
+
memory: "memory";
|
|
6367
8175
|
shell: "shell";
|
|
6368
8176
|
read: "read";
|
|
6369
8177
|
list: "list";
|
|
@@ -6371,7 +8179,6 @@ export declare const sessionsContract: {
|
|
|
6371
8179
|
web: "web";
|
|
6372
8180
|
write: "write";
|
|
6373
8181
|
skill: "skill";
|
|
6374
|
-
memory: "memory";
|
|
6375
8182
|
delegate: "delegate";
|
|
6376
8183
|
}>>;
|
|
6377
8184
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -6436,6 +8243,50 @@ export declare const sessionsContract: {
|
|
|
6436
8243
|
send_now: z.ZodBoolean;
|
|
6437
8244
|
}, z.core.$strip>;
|
|
6438
8245
|
}, z.core.$strip>>>;
|
|
8246
|
+
run_status: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8247
|
+
phase: z.ZodLiteral<"compressing">;
|
|
8248
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8249
|
+
phase: z.ZodLiteral<"rate_limit_wait">;
|
|
8250
|
+
wait: z.ZodObject<{
|
|
8251
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
8252
|
+
provider_label: z.ZodNullable<z.ZodString>;
|
|
8253
|
+
until: z.ZodNumber;
|
|
8254
|
+
until_kind: z.ZodEnum<{
|
|
8255
|
+
reset: "reset";
|
|
8256
|
+
retry: "retry";
|
|
8257
|
+
}>;
|
|
8258
|
+
}, z.core.$strip>;
|
|
8259
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8260
|
+
phase: z.ZodLiteral<"prompt_reading">;
|
|
8261
|
+
progress_percent: z.ZodNullable<z.ZodNumber>;
|
|
8262
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8263
|
+
phase: z.ZodLiteral<"working">;
|
|
8264
|
+
}, z.core.$strip>], "phase">>>;
|
|
8265
|
+
compression_started_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8266
|
+
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8267
|
+
key: z.ZodString;
|
|
8268
|
+
level: z.ZodEnum<{
|
|
8269
|
+
success: "success";
|
|
8270
|
+
error: "error";
|
|
8271
|
+
info: "info";
|
|
8272
|
+
warn: "warn";
|
|
8273
|
+
}>;
|
|
8274
|
+
text: z.ZodString;
|
|
8275
|
+
expires_at: z.ZodNullable<z.ZodNumber>;
|
|
8276
|
+
}, z.core.$strip>>>;
|
|
8277
|
+
goal: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8278
|
+
text: z.ZodString;
|
|
8279
|
+
status: z.ZodEnum<{
|
|
8280
|
+
active: "active";
|
|
8281
|
+
parked: "parked";
|
|
8282
|
+
paused: "paused";
|
|
8283
|
+
}>;
|
|
8284
|
+
turns_used: z.ZodNumber;
|
|
8285
|
+
max_turns: z.ZodNumber;
|
|
8286
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
8287
|
+
parked_until: z.ZodNullable<z.ZodNumber>;
|
|
8288
|
+
}, z.core.$strip>>>;
|
|
8289
|
+
automatic_turns_held: z.ZodOptional<z.ZodBoolean>;
|
|
6439
8290
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
6440
8291
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6441
8292
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -6467,6 +8318,17 @@ export declare const sessionsContract: {
|
|
|
6467
8318
|
focus_topic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6468
8319
|
topic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6469
8320
|
}, z.core.$strip>, z.ZodObject<{
|
|
8321
|
+
started_at: z.ZodOptional<z.ZodNumber>;
|
|
8322
|
+
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
8323
|
+
agent_runtime_reason: z.ZodOptional<z.ZodEnum<{
|
|
8324
|
+
unknown: "unknown";
|
|
8325
|
+
update_active: "update_active";
|
|
8326
|
+
recovery_incomplete: "recovery_incomplete";
|
|
8327
|
+
source_changed: "source_changed";
|
|
8328
|
+
}>>;
|
|
8329
|
+
agent_update_state: z.ZodOptional<z.ZodString>;
|
|
8330
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
8331
|
+
restart_scheduled: z.ZodOptional<z.ZodBoolean>;
|
|
6470
8332
|
ok: z.ZodOptional<z.ZodBoolean>;
|
|
6471
8333
|
status: z.ZodEnum<{
|
|
6472
8334
|
error: "error";
|
|
@@ -6485,11 +8347,11 @@ export declare const sessionsContract: {
|
|
|
6485
8347
|
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
6486
8348
|
source_kind: z.ZodEnum<{
|
|
6487
8349
|
other: "other";
|
|
8350
|
+
webhook: "webhook";
|
|
8351
|
+
cron: "cron";
|
|
6488
8352
|
webui: "webui";
|
|
6489
8353
|
cli: "cli";
|
|
6490
8354
|
messaging: "messaging";
|
|
6491
|
-
cron: "cron";
|
|
6492
|
-
webhook: "webhook";
|
|
6493
8355
|
subagent: "subagent";
|
|
6494
8356
|
claude_code: "claude_code";
|
|
6495
8357
|
kanban: "kanban";
|
|
@@ -6498,6 +8360,57 @@ export declare const sessionsContract: {
|
|
|
6498
8360
|
is_messaging_session: z.ZodBoolean;
|
|
6499
8361
|
sort_ts: z.ZodNumber;
|
|
6500
8362
|
read_only: z.ZodBoolean;
|
|
8363
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8364
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
8365
|
+
state: z.ZodEnum<{
|
|
8366
|
+
attached: "attached";
|
|
8367
|
+
stopped: "stopped";
|
|
8368
|
+
unavailable: "unavailable";
|
|
8369
|
+
incompatible: "incompatible";
|
|
8370
|
+
refused: "refused";
|
|
8371
|
+
}>;
|
|
8372
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
8373
|
+
can_submit: z.ZodBoolean;
|
|
8374
|
+
can_interrupt: z.ZodBoolean;
|
|
8375
|
+
can_attach: z.ZodBoolean;
|
|
8376
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
8377
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
8378
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8379
|
+
admission_id: z.ZodString;
|
|
8380
|
+
sequence: z.ZodNumber;
|
|
8381
|
+
status: z.ZodEnum<{
|
|
8382
|
+
unknown: "unknown";
|
|
8383
|
+
queued: "queued";
|
|
8384
|
+
started: "started";
|
|
8385
|
+
terminal: "terminal";
|
|
8386
|
+
}>;
|
|
8387
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
8388
|
+
authority_epoch: z.ZodNumber;
|
|
8389
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
8390
|
+
text: z.ZodOptional<z.ZodString>;
|
|
8391
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
8392
|
+
}, z.core.$strip>>>;
|
|
8393
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
8394
|
+
admission_id: z.ZodString;
|
|
8395
|
+
sequence: z.ZodNumber;
|
|
8396
|
+
status: z.ZodEnum<{
|
|
8397
|
+
unknown: "unknown";
|
|
8398
|
+
queued: "queued";
|
|
8399
|
+
started: "started";
|
|
8400
|
+
terminal: "terminal";
|
|
8401
|
+
}>;
|
|
8402
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
8403
|
+
authority_epoch: z.ZodNumber;
|
|
8404
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
8405
|
+
text: z.ZodOptional<z.ZodString>;
|
|
8406
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
8407
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
8408
|
+
cancel: "cancel";
|
|
8409
|
+
discard: "discard";
|
|
8410
|
+
retry: "retry";
|
|
8411
|
+
}>>;
|
|
8412
|
+
}, z.core.$strip>>;
|
|
8413
|
+
}, z.core.$strip>>;
|
|
6501
8414
|
can_branch: z.ZodBoolean;
|
|
6502
8415
|
can_pin: z.ZodBoolean;
|
|
6503
8416
|
can_archive: z.ZodBoolean;
|
|
@@ -6505,6 +8418,7 @@ export declare const sessionsContract: {
|
|
|
6505
8418
|
can_duplicate: z.ZodBoolean;
|
|
6506
8419
|
source_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6507
8420
|
can_compress: z.ZodOptional<z.ZodBoolean>;
|
|
8421
|
+
confirms_deep_truncate: z.ZodOptional<z.ZodBoolean>;
|
|
6508
8422
|
source_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6509
8423
|
session_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6510
8424
|
raw_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6544,6 +8458,7 @@ export declare const sessionsContract: {
|
|
|
6544
8458
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6545
8459
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6546
8460
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8461
|
+
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
6547
8462
|
session_id: z.ZodString;
|
|
6548
8463
|
title: z.ZodString;
|
|
6549
8464
|
workspace: z.ZodOptional<z.ZodString>;
|
|
@@ -6597,6 +8512,7 @@ export declare const sessionsContract: {
|
|
|
6597
8512
|
event_type: z.ZodOptional<z.ZodString>;
|
|
6598
8513
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
6599
8514
|
unknown: "unknown";
|
|
8515
|
+
memory: "memory";
|
|
6600
8516
|
shell: "shell";
|
|
6601
8517
|
read: "read";
|
|
6602
8518
|
list: "list";
|
|
@@ -6604,7 +8520,6 @@ export declare const sessionsContract: {
|
|
|
6604
8520
|
web: "web";
|
|
6605
8521
|
write: "write";
|
|
6606
8522
|
skill: "skill";
|
|
6607
|
-
memory: "memory";
|
|
6608
8523
|
delegate: "delegate";
|
|
6609
8524
|
}>>;
|
|
6610
8525
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -6648,8 +8563,8 @@ export declare const sessionsContract: {
|
|
|
6648
8563
|
row_id: z.ZodString;
|
|
6649
8564
|
order_index: z.ZodNumber;
|
|
6650
8565
|
role: z.ZodEnum<{
|
|
6651
|
-
reasoning: "reasoning";
|
|
6652
8566
|
tool: "tool";
|
|
8567
|
+
reasoning: "reasoning";
|
|
6653
8568
|
prose: "prose";
|
|
6654
8569
|
steering: "steering";
|
|
6655
8570
|
}>;
|
|
@@ -6688,10 +8603,10 @@ export declare const sessionsContract: {
|
|
|
6688
8603
|
task_ids: z.ZodArray<z.ZodString>;
|
|
6689
8604
|
status: z.ZodEnum<{
|
|
6690
8605
|
unknown: "unknown";
|
|
8606
|
+
running: "running";
|
|
6691
8607
|
cancelled: "cancelled";
|
|
6692
|
-
completed: "completed";
|
|
6693
8608
|
failed: "failed";
|
|
6694
|
-
|
|
8609
|
+
completed: "completed";
|
|
6695
8610
|
attention: "attention";
|
|
6696
8611
|
}>;
|
|
6697
8612
|
agents: z.ZodObject<{
|
|
@@ -6705,6 +8620,7 @@ export declare const sessionsContract: {
|
|
|
6705
8620
|
result_chars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6706
8621
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
6707
8622
|
unknown: "unknown";
|
|
8623
|
+
memory: "memory";
|
|
6708
8624
|
shell: "shell";
|
|
6709
8625
|
read: "read";
|
|
6710
8626
|
list: "list";
|
|
@@ -6712,7 +8628,6 @@ export declare const sessionsContract: {
|
|
|
6712
8628
|
web: "web";
|
|
6713
8629
|
write: "write";
|
|
6714
8630
|
skill: "skill";
|
|
6715
|
-
memory: "memory";
|
|
6716
8631
|
delegate: "delegate";
|
|
6717
8632
|
}>>;
|
|
6718
8633
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -6832,19 +8747,45 @@ export declare const sessionsContract: {
|
|
|
6832
8747
|
other: "other";
|
|
6833
8748
|
}>;
|
|
6834
8749
|
status: z.ZodEnum<{
|
|
6835
|
-
completed: "completed";
|
|
6836
8750
|
failed: "failed";
|
|
8751
|
+
completed: "completed";
|
|
6837
8752
|
notice: "notice";
|
|
6838
8753
|
}>;
|
|
6839
8754
|
label: z.ZodString;
|
|
6840
8755
|
exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8756
|
+
review_state: z.ZodOptional<z.ZodEnum<{
|
|
8757
|
+
unknown: "unknown";
|
|
8758
|
+
failed: "failed";
|
|
8759
|
+
waiting: "waiting";
|
|
8760
|
+
reviewing: "reviewing";
|
|
8761
|
+
reviewed: "reviewed";
|
|
8762
|
+
}>>;
|
|
6841
8763
|
}, z.core.$strip>>;
|
|
8764
|
+
review_state: z.ZodOptional<z.ZodEnum<{
|
|
8765
|
+
unknown: "unknown";
|
|
8766
|
+
failed: "failed";
|
|
8767
|
+
waiting: "waiting";
|
|
8768
|
+
reviewing: "reviewing";
|
|
8769
|
+
reviewed: "reviewed";
|
|
8770
|
+
}>>;
|
|
6842
8771
|
}, z.core.$strip>>;
|
|
6843
8772
|
_marker_kind: z.ZodOptional<z.ZodEnum<{
|
|
6844
8773
|
context_compaction: "context_compaction";
|
|
6845
8774
|
preserved_task_list: "preserved_task_list";
|
|
6846
8775
|
}>>;
|
|
6847
8776
|
_marker_body: z.ZodOptional<z.ZodString>;
|
|
8777
|
+
_notice_kind: z.ZodOptional<z.ZodEnum<{
|
|
8778
|
+
failed_turn: "failed_turn";
|
|
8779
|
+
session_finalize: "session_finalize";
|
|
8780
|
+
}>>;
|
|
8781
|
+
_delivery: z.ZodOptional<z.ZodObject<{
|
|
8782
|
+
kind: z.ZodEnum<{
|
|
8783
|
+
webhook: "webhook";
|
|
8784
|
+
cron: "cron";
|
|
8785
|
+
}>;
|
|
8786
|
+
name: z.ZodString;
|
|
8787
|
+
body: z.ZodString;
|
|
8788
|
+
}, z.core.$strip>>;
|
|
6848
8789
|
_background_reply: z.ZodOptional<z.ZodBoolean>;
|
|
6849
8790
|
_background_silent: z.ZodOptional<z.ZodBoolean>;
|
|
6850
8791
|
_display: z.ZodOptional<z.ZodEnum<{
|
|
@@ -6881,6 +8822,7 @@ export declare const sessionsContract: {
|
|
|
6881
8822
|
event_type: z.ZodOptional<z.ZodString>;
|
|
6882
8823
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
6883
8824
|
unknown: "unknown";
|
|
8825
|
+
memory: "memory";
|
|
6884
8826
|
shell: "shell";
|
|
6885
8827
|
read: "read";
|
|
6886
8828
|
list: "list";
|
|
@@ -6888,7 +8830,6 @@ export declare const sessionsContract: {
|
|
|
6888
8830
|
web: "web";
|
|
6889
8831
|
write: "write";
|
|
6890
8832
|
skill: "skill";
|
|
6891
|
-
memory: "memory";
|
|
6892
8833
|
delegate: "delegate";
|
|
6893
8834
|
}>>;
|
|
6894
8835
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -6953,6 +8894,50 @@ export declare const sessionsContract: {
|
|
|
6953
8894
|
send_now: z.ZodBoolean;
|
|
6954
8895
|
}, z.core.$strip>;
|
|
6955
8896
|
}, z.core.$strip>>>;
|
|
8897
|
+
run_status: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8898
|
+
phase: z.ZodLiteral<"compressing">;
|
|
8899
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8900
|
+
phase: z.ZodLiteral<"rate_limit_wait">;
|
|
8901
|
+
wait: z.ZodObject<{
|
|
8902
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
8903
|
+
provider_label: z.ZodNullable<z.ZodString>;
|
|
8904
|
+
until: z.ZodNumber;
|
|
8905
|
+
until_kind: z.ZodEnum<{
|
|
8906
|
+
reset: "reset";
|
|
8907
|
+
retry: "retry";
|
|
8908
|
+
}>;
|
|
8909
|
+
}, z.core.$strip>;
|
|
8910
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8911
|
+
phase: z.ZodLiteral<"prompt_reading">;
|
|
8912
|
+
progress_percent: z.ZodNullable<z.ZodNumber>;
|
|
8913
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8914
|
+
phase: z.ZodLiteral<"working">;
|
|
8915
|
+
}, z.core.$strip>], "phase">>>;
|
|
8916
|
+
compression_started_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8917
|
+
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8918
|
+
key: z.ZodString;
|
|
8919
|
+
level: z.ZodEnum<{
|
|
8920
|
+
success: "success";
|
|
8921
|
+
error: "error";
|
|
8922
|
+
info: "info";
|
|
8923
|
+
warn: "warn";
|
|
8924
|
+
}>;
|
|
8925
|
+
text: z.ZodString;
|
|
8926
|
+
expires_at: z.ZodNullable<z.ZodNumber>;
|
|
8927
|
+
}, z.core.$strip>>>;
|
|
8928
|
+
goal: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8929
|
+
text: z.ZodString;
|
|
8930
|
+
status: z.ZodEnum<{
|
|
8931
|
+
active: "active";
|
|
8932
|
+
parked: "parked";
|
|
8933
|
+
paused: "paused";
|
|
8934
|
+
}>;
|
|
8935
|
+
turns_used: z.ZodNumber;
|
|
8936
|
+
max_turns: z.ZodNumber;
|
|
8937
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
8938
|
+
parked_until: z.ZodNullable<z.ZodNumber>;
|
|
8939
|
+
}, z.core.$strip>>>;
|
|
8940
|
+
automatic_turns_held: z.ZodOptional<z.ZodBoolean>;
|
|
6956
8941
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
6957
8942
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6958
8943
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -6980,15 +8965,21 @@ export declare const sessionsContract: {
|
|
|
6980
8965
|
error: z.ZodOptional<z.ZodString>;
|
|
6981
8966
|
error_status: z.ZodOptional<z.ZodNumber>;
|
|
6982
8967
|
type: z.ZodOptional<z.ZodString>;
|
|
6983
|
-
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
6984
|
-
restart_scheduled: z.ZodOptional<z.ZodBoolean>;
|
|
6985
|
-
agent_update_state: z.ZodOptional<z.ZodUnknown>;
|
|
6986
|
-
started_at: z.ZodOptional<z.ZodNumber>;
|
|
6987
|
-
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
6988
8968
|
}, z.core.$loose>, Record<never, never>, Record<never, never>>;
|
|
6989
8969
|
compressStatus: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
6990
8970
|
session_id: z.ZodString;
|
|
6991
8971
|
}, z.core.$strip>, z.ZodObject<{
|
|
8972
|
+
started_at: z.ZodOptional<z.ZodNumber>;
|
|
8973
|
+
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
8974
|
+
agent_runtime_reason: z.ZodOptional<z.ZodEnum<{
|
|
8975
|
+
unknown: "unknown";
|
|
8976
|
+
update_active: "update_active";
|
|
8977
|
+
recovery_incomplete: "recovery_incomplete";
|
|
8978
|
+
source_changed: "source_changed";
|
|
8979
|
+
}>>;
|
|
8980
|
+
agent_update_state: z.ZodOptional<z.ZodString>;
|
|
8981
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
8982
|
+
restart_scheduled: z.ZodOptional<z.ZodBoolean>;
|
|
6992
8983
|
ok: z.ZodOptional<z.ZodBoolean>;
|
|
6993
8984
|
status: z.ZodEnum<{
|
|
6994
8985
|
error: "error";
|
|
@@ -7007,11 +8998,11 @@ export declare const sessionsContract: {
|
|
|
7007
8998
|
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
7008
8999
|
source_kind: z.ZodEnum<{
|
|
7009
9000
|
other: "other";
|
|
9001
|
+
webhook: "webhook";
|
|
9002
|
+
cron: "cron";
|
|
7010
9003
|
webui: "webui";
|
|
7011
9004
|
cli: "cli";
|
|
7012
9005
|
messaging: "messaging";
|
|
7013
|
-
cron: "cron";
|
|
7014
|
-
webhook: "webhook";
|
|
7015
9006
|
subagent: "subagent";
|
|
7016
9007
|
claude_code: "claude_code";
|
|
7017
9008
|
kanban: "kanban";
|
|
@@ -7020,6 +9011,57 @@ export declare const sessionsContract: {
|
|
|
7020
9011
|
is_messaging_session: z.ZodBoolean;
|
|
7021
9012
|
sort_ts: z.ZodNumber;
|
|
7022
9013
|
read_only: z.ZodBoolean;
|
|
9014
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9015
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
9016
|
+
state: z.ZodEnum<{
|
|
9017
|
+
attached: "attached";
|
|
9018
|
+
stopped: "stopped";
|
|
9019
|
+
unavailable: "unavailable";
|
|
9020
|
+
incompatible: "incompatible";
|
|
9021
|
+
refused: "refused";
|
|
9022
|
+
}>;
|
|
9023
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
9024
|
+
can_submit: z.ZodBoolean;
|
|
9025
|
+
can_interrupt: z.ZodBoolean;
|
|
9026
|
+
can_attach: z.ZodBoolean;
|
|
9027
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
9028
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
9029
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9030
|
+
admission_id: z.ZodString;
|
|
9031
|
+
sequence: z.ZodNumber;
|
|
9032
|
+
status: z.ZodEnum<{
|
|
9033
|
+
unknown: "unknown";
|
|
9034
|
+
queued: "queued";
|
|
9035
|
+
started: "started";
|
|
9036
|
+
terminal: "terminal";
|
|
9037
|
+
}>;
|
|
9038
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
9039
|
+
authority_epoch: z.ZodNumber;
|
|
9040
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
9041
|
+
text: z.ZodOptional<z.ZodString>;
|
|
9042
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
9043
|
+
}, z.core.$strip>>>;
|
|
9044
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
9045
|
+
admission_id: z.ZodString;
|
|
9046
|
+
sequence: z.ZodNumber;
|
|
9047
|
+
status: z.ZodEnum<{
|
|
9048
|
+
unknown: "unknown";
|
|
9049
|
+
queued: "queued";
|
|
9050
|
+
started: "started";
|
|
9051
|
+
terminal: "terminal";
|
|
9052
|
+
}>;
|
|
9053
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
9054
|
+
authority_epoch: z.ZodNumber;
|
|
9055
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
9056
|
+
text: z.ZodOptional<z.ZodString>;
|
|
9057
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
9058
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
9059
|
+
cancel: "cancel";
|
|
9060
|
+
discard: "discard";
|
|
9061
|
+
retry: "retry";
|
|
9062
|
+
}>>;
|
|
9063
|
+
}, z.core.$strip>>;
|
|
9064
|
+
}, z.core.$strip>>;
|
|
7023
9065
|
can_branch: z.ZodBoolean;
|
|
7024
9066
|
can_pin: z.ZodBoolean;
|
|
7025
9067
|
can_archive: z.ZodBoolean;
|
|
@@ -7027,6 +9069,7 @@ export declare const sessionsContract: {
|
|
|
7027
9069
|
can_duplicate: z.ZodBoolean;
|
|
7028
9070
|
source_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7029
9071
|
can_compress: z.ZodOptional<z.ZodBoolean>;
|
|
9072
|
+
confirms_deep_truncate: z.ZodOptional<z.ZodBoolean>;
|
|
7030
9073
|
source_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7031
9074
|
session_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7032
9075
|
raw_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7066,6 +9109,7 @@ export declare const sessionsContract: {
|
|
|
7066
9109
|
context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7067
9110
|
context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7068
9111
|
context_threshold_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9112
|
+
composer_state_key: z.ZodOptional<z.ZodString>;
|
|
7069
9113
|
session_id: z.ZodString;
|
|
7070
9114
|
title: z.ZodString;
|
|
7071
9115
|
workspace: z.ZodOptional<z.ZodString>;
|
|
@@ -7119,6 +9163,7 @@ export declare const sessionsContract: {
|
|
|
7119
9163
|
event_type: z.ZodOptional<z.ZodString>;
|
|
7120
9164
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
7121
9165
|
unknown: "unknown";
|
|
9166
|
+
memory: "memory";
|
|
7122
9167
|
shell: "shell";
|
|
7123
9168
|
read: "read";
|
|
7124
9169
|
list: "list";
|
|
@@ -7126,7 +9171,6 @@ export declare const sessionsContract: {
|
|
|
7126
9171
|
web: "web";
|
|
7127
9172
|
write: "write";
|
|
7128
9173
|
skill: "skill";
|
|
7129
|
-
memory: "memory";
|
|
7130
9174
|
delegate: "delegate";
|
|
7131
9175
|
}>>;
|
|
7132
9176
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -7170,8 +9214,8 @@ export declare const sessionsContract: {
|
|
|
7170
9214
|
row_id: z.ZodString;
|
|
7171
9215
|
order_index: z.ZodNumber;
|
|
7172
9216
|
role: z.ZodEnum<{
|
|
7173
|
-
reasoning: "reasoning";
|
|
7174
9217
|
tool: "tool";
|
|
9218
|
+
reasoning: "reasoning";
|
|
7175
9219
|
prose: "prose";
|
|
7176
9220
|
steering: "steering";
|
|
7177
9221
|
}>;
|
|
@@ -7210,10 +9254,10 @@ export declare const sessionsContract: {
|
|
|
7210
9254
|
task_ids: z.ZodArray<z.ZodString>;
|
|
7211
9255
|
status: z.ZodEnum<{
|
|
7212
9256
|
unknown: "unknown";
|
|
9257
|
+
running: "running";
|
|
7213
9258
|
cancelled: "cancelled";
|
|
7214
|
-
completed: "completed";
|
|
7215
9259
|
failed: "failed";
|
|
7216
|
-
|
|
9260
|
+
completed: "completed";
|
|
7217
9261
|
attention: "attention";
|
|
7218
9262
|
}>;
|
|
7219
9263
|
agents: z.ZodObject<{
|
|
@@ -7227,6 +9271,7 @@ export declare const sessionsContract: {
|
|
|
7227
9271
|
result_chars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7228
9272
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
7229
9273
|
unknown: "unknown";
|
|
9274
|
+
memory: "memory";
|
|
7230
9275
|
shell: "shell";
|
|
7231
9276
|
read: "read";
|
|
7232
9277
|
list: "list";
|
|
@@ -7234,7 +9279,6 @@ export declare const sessionsContract: {
|
|
|
7234
9279
|
web: "web";
|
|
7235
9280
|
write: "write";
|
|
7236
9281
|
skill: "skill";
|
|
7237
|
-
memory: "memory";
|
|
7238
9282
|
delegate: "delegate";
|
|
7239
9283
|
}>>;
|
|
7240
9284
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -7354,19 +9398,45 @@ export declare const sessionsContract: {
|
|
|
7354
9398
|
other: "other";
|
|
7355
9399
|
}>;
|
|
7356
9400
|
status: z.ZodEnum<{
|
|
7357
|
-
completed: "completed";
|
|
7358
9401
|
failed: "failed";
|
|
9402
|
+
completed: "completed";
|
|
7359
9403
|
notice: "notice";
|
|
7360
9404
|
}>;
|
|
7361
9405
|
label: z.ZodString;
|
|
7362
9406
|
exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9407
|
+
review_state: z.ZodOptional<z.ZodEnum<{
|
|
9408
|
+
unknown: "unknown";
|
|
9409
|
+
failed: "failed";
|
|
9410
|
+
waiting: "waiting";
|
|
9411
|
+
reviewing: "reviewing";
|
|
9412
|
+
reviewed: "reviewed";
|
|
9413
|
+
}>>;
|
|
7363
9414
|
}, z.core.$strip>>;
|
|
9415
|
+
review_state: z.ZodOptional<z.ZodEnum<{
|
|
9416
|
+
unknown: "unknown";
|
|
9417
|
+
failed: "failed";
|
|
9418
|
+
waiting: "waiting";
|
|
9419
|
+
reviewing: "reviewing";
|
|
9420
|
+
reviewed: "reviewed";
|
|
9421
|
+
}>>;
|
|
7364
9422
|
}, z.core.$strip>>;
|
|
7365
9423
|
_marker_kind: z.ZodOptional<z.ZodEnum<{
|
|
7366
9424
|
context_compaction: "context_compaction";
|
|
7367
9425
|
preserved_task_list: "preserved_task_list";
|
|
7368
9426
|
}>>;
|
|
7369
9427
|
_marker_body: z.ZodOptional<z.ZodString>;
|
|
9428
|
+
_notice_kind: z.ZodOptional<z.ZodEnum<{
|
|
9429
|
+
failed_turn: "failed_turn";
|
|
9430
|
+
session_finalize: "session_finalize";
|
|
9431
|
+
}>>;
|
|
9432
|
+
_delivery: z.ZodOptional<z.ZodObject<{
|
|
9433
|
+
kind: z.ZodEnum<{
|
|
9434
|
+
webhook: "webhook";
|
|
9435
|
+
cron: "cron";
|
|
9436
|
+
}>;
|
|
9437
|
+
name: z.ZodString;
|
|
9438
|
+
body: z.ZodString;
|
|
9439
|
+
}, z.core.$strip>>;
|
|
7370
9440
|
_background_reply: z.ZodOptional<z.ZodBoolean>;
|
|
7371
9441
|
_background_silent: z.ZodOptional<z.ZodBoolean>;
|
|
7372
9442
|
_display: z.ZodOptional<z.ZodEnum<{
|
|
@@ -7403,6 +9473,7 @@ export declare const sessionsContract: {
|
|
|
7403
9473
|
event_type: z.ZodOptional<z.ZodString>;
|
|
7404
9474
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
7405
9475
|
unknown: "unknown";
|
|
9476
|
+
memory: "memory";
|
|
7406
9477
|
shell: "shell";
|
|
7407
9478
|
read: "read";
|
|
7408
9479
|
list: "list";
|
|
@@ -7410,7 +9481,6 @@ export declare const sessionsContract: {
|
|
|
7410
9481
|
web: "web";
|
|
7411
9482
|
write: "write";
|
|
7412
9483
|
skill: "skill";
|
|
7413
|
-
memory: "memory";
|
|
7414
9484
|
delegate: "delegate";
|
|
7415
9485
|
}>>;
|
|
7416
9486
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -7475,6 +9545,50 @@ export declare const sessionsContract: {
|
|
|
7475
9545
|
send_now: z.ZodBoolean;
|
|
7476
9546
|
}, z.core.$strip>;
|
|
7477
9547
|
}, z.core.$strip>>>;
|
|
9548
|
+
run_status: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9549
|
+
phase: z.ZodLiteral<"compressing">;
|
|
9550
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9551
|
+
phase: z.ZodLiteral<"rate_limit_wait">;
|
|
9552
|
+
wait: z.ZodObject<{
|
|
9553
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
9554
|
+
provider_label: z.ZodNullable<z.ZodString>;
|
|
9555
|
+
until: z.ZodNumber;
|
|
9556
|
+
until_kind: z.ZodEnum<{
|
|
9557
|
+
reset: "reset";
|
|
9558
|
+
retry: "retry";
|
|
9559
|
+
}>;
|
|
9560
|
+
}, z.core.$strip>;
|
|
9561
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9562
|
+
phase: z.ZodLiteral<"prompt_reading">;
|
|
9563
|
+
progress_percent: z.ZodNullable<z.ZodNumber>;
|
|
9564
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9565
|
+
phase: z.ZodLiteral<"working">;
|
|
9566
|
+
}, z.core.$strip>], "phase">>>;
|
|
9567
|
+
compression_started_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9568
|
+
notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9569
|
+
key: z.ZodString;
|
|
9570
|
+
level: z.ZodEnum<{
|
|
9571
|
+
success: "success";
|
|
9572
|
+
error: "error";
|
|
9573
|
+
info: "info";
|
|
9574
|
+
warn: "warn";
|
|
9575
|
+
}>;
|
|
9576
|
+
text: z.ZodString;
|
|
9577
|
+
expires_at: z.ZodNullable<z.ZodNumber>;
|
|
9578
|
+
}, z.core.$strip>>>;
|
|
9579
|
+
goal: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9580
|
+
text: z.ZodString;
|
|
9581
|
+
status: z.ZodEnum<{
|
|
9582
|
+
active: "active";
|
|
9583
|
+
parked: "parked";
|
|
9584
|
+
paused: "paused";
|
|
9585
|
+
}>;
|
|
9586
|
+
turns_used: z.ZodNumber;
|
|
9587
|
+
max_turns: z.ZodNumber;
|
|
9588
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
9589
|
+
parked_until: z.ZodNullable<z.ZodNumber>;
|
|
9590
|
+
}, z.core.$strip>>>;
|
|
9591
|
+
automatic_turns_held: z.ZodOptional<z.ZodBoolean>;
|
|
7478
9592
|
has_pending_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
7479
9593
|
pending_user_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7480
9594
|
pending_attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -7502,11 +9616,6 @@ export declare const sessionsContract: {
|
|
|
7502
9616
|
error: z.ZodOptional<z.ZodString>;
|
|
7503
9617
|
error_status: z.ZodOptional<z.ZodNumber>;
|
|
7504
9618
|
type: z.ZodOptional<z.ZodString>;
|
|
7505
|
-
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
7506
|
-
restart_scheduled: z.ZodOptional<z.ZodBoolean>;
|
|
7507
|
-
agent_update_state: z.ZodOptional<z.ZodUnknown>;
|
|
7508
|
-
started_at: z.ZodOptional<z.ZodNumber>;
|
|
7509
|
-
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
7510
9619
|
}, z.core.$loose>, Record<never, never>, Record<never, never>>;
|
|
7511
9620
|
conversationRounds: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
7512
9621
|
session_id: z.ZodOptional<z.ZodString>;
|
|
@@ -7563,8 +9672,8 @@ export declare const sessionsContract: {
|
|
|
7563
9672
|
row_id: z.ZodString;
|
|
7564
9673
|
order_index: z.ZodNumber;
|
|
7565
9674
|
role: z.ZodEnum<{
|
|
7566
|
-
reasoning: "reasoning";
|
|
7567
9675
|
tool: "tool";
|
|
9676
|
+
reasoning: "reasoning";
|
|
7568
9677
|
prose: "prose";
|
|
7569
9678
|
steering: "steering";
|
|
7570
9679
|
}>;
|
|
@@ -7603,10 +9712,10 @@ export declare const sessionsContract: {
|
|
|
7603
9712
|
task_ids: z.ZodArray<z.ZodString>;
|
|
7604
9713
|
status: z.ZodEnum<{
|
|
7605
9714
|
unknown: "unknown";
|
|
9715
|
+
running: "running";
|
|
7606
9716
|
cancelled: "cancelled";
|
|
7607
|
-
completed: "completed";
|
|
7608
9717
|
failed: "failed";
|
|
7609
|
-
|
|
9718
|
+
completed: "completed";
|
|
7610
9719
|
attention: "attention";
|
|
7611
9720
|
}>;
|
|
7612
9721
|
agents: z.ZodObject<{
|
|
@@ -7620,6 +9729,7 @@ export declare const sessionsContract: {
|
|
|
7620
9729
|
result_chars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7621
9730
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
7622
9731
|
unknown: "unknown";
|
|
9732
|
+
memory: "memory";
|
|
7623
9733
|
shell: "shell";
|
|
7624
9734
|
read: "read";
|
|
7625
9735
|
list: "list";
|
|
@@ -7627,7 +9737,6 @@ export declare const sessionsContract: {
|
|
|
7627
9737
|
web: "web";
|
|
7628
9738
|
write: "write";
|
|
7629
9739
|
skill: "skill";
|
|
7630
|
-
memory: "memory";
|
|
7631
9740
|
delegate: "delegate";
|
|
7632
9741
|
}>>;
|
|
7633
9742
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -7782,11 +9891,11 @@ export declare const sessionsContract: {
|
|
|
7782
9891
|
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
7783
9892
|
source_kind: z.ZodEnum<{
|
|
7784
9893
|
other: "other";
|
|
9894
|
+
webhook: "webhook";
|
|
9895
|
+
cron: "cron";
|
|
7785
9896
|
webui: "webui";
|
|
7786
9897
|
cli: "cli";
|
|
7787
9898
|
messaging: "messaging";
|
|
7788
|
-
cron: "cron";
|
|
7789
|
-
webhook: "webhook";
|
|
7790
9899
|
subagent: "subagent";
|
|
7791
9900
|
claude_code: "claude_code";
|
|
7792
9901
|
kanban: "kanban";
|
|
@@ -7796,6 +9905,57 @@ export declare const sessionsContract: {
|
|
|
7796
9905
|
sort_ts: z.ZodNumber;
|
|
7797
9906
|
cron_running: z.ZodOptional<z.ZodBoolean>;
|
|
7798
9907
|
read_only: z.ZodBoolean;
|
|
9908
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9909
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
9910
|
+
state: z.ZodEnum<{
|
|
9911
|
+
attached: "attached";
|
|
9912
|
+
stopped: "stopped";
|
|
9913
|
+
unavailable: "unavailable";
|
|
9914
|
+
incompatible: "incompatible";
|
|
9915
|
+
refused: "refused";
|
|
9916
|
+
}>;
|
|
9917
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
9918
|
+
can_submit: z.ZodBoolean;
|
|
9919
|
+
can_interrupt: z.ZodBoolean;
|
|
9920
|
+
can_attach: z.ZodBoolean;
|
|
9921
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
9922
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
9923
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9924
|
+
admission_id: z.ZodString;
|
|
9925
|
+
sequence: z.ZodNumber;
|
|
9926
|
+
status: z.ZodEnum<{
|
|
9927
|
+
unknown: "unknown";
|
|
9928
|
+
queued: "queued";
|
|
9929
|
+
started: "started";
|
|
9930
|
+
terminal: "terminal";
|
|
9931
|
+
}>;
|
|
9932
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
9933
|
+
authority_epoch: z.ZodNumber;
|
|
9934
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
9935
|
+
text: z.ZodOptional<z.ZodString>;
|
|
9936
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
9937
|
+
}, z.core.$strip>>>;
|
|
9938
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
9939
|
+
admission_id: z.ZodString;
|
|
9940
|
+
sequence: z.ZodNumber;
|
|
9941
|
+
status: z.ZodEnum<{
|
|
9942
|
+
unknown: "unknown";
|
|
9943
|
+
queued: "queued";
|
|
9944
|
+
started: "started";
|
|
9945
|
+
terminal: "terminal";
|
|
9946
|
+
}>;
|
|
9947
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
9948
|
+
authority_epoch: z.ZodNumber;
|
|
9949
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
9950
|
+
text: z.ZodOptional<z.ZodString>;
|
|
9951
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
9952
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
9953
|
+
cancel: "cancel";
|
|
9954
|
+
discard: "discard";
|
|
9955
|
+
retry: "retry";
|
|
9956
|
+
}>>;
|
|
9957
|
+
}, z.core.$strip>>;
|
|
9958
|
+
}, z.core.$strip>>;
|
|
7799
9959
|
can_branch: z.ZodBoolean;
|
|
7800
9960
|
can_pin: z.ZodBoolean;
|
|
7801
9961
|
can_archive: z.ZodBoolean;
|
|
@@ -7848,11 +10008,11 @@ export declare const sessionsContract: {
|
|
|
7848
10008
|
is_cli_session: z.ZodOptional<z.ZodBoolean>;
|
|
7849
10009
|
source_kind: z.ZodEnum<{
|
|
7850
10010
|
other: "other";
|
|
10011
|
+
webhook: "webhook";
|
|
10012
|
+
cron: "cron";
|
|
7851
10013
|
webui: "webui";
|
|
7852
10014
|
cli: "cli";
|
|
7853
10015
|
messaging: "messaging";
|
|
7854
|
-
cron: "cron";
|
|
7855
|
-
webhook: "webhook";
|
|
7856
10016
|
subagent: "subagent";
|
|
7857
10017
|
claude_code: "claude_code";
|
|
7858
10018
|
kanban: "kanban";
|
|
@@ -7862,6 +10022,57 @@ export declare const sessionsContract: {
|
|
|
7862
10022
|
sort_ts: z.ZodNumber;
|
|
7863
10023
|
cron_running: z.ZodOptional<z.ZodBoolean>;
|
|
7864
10024
|
read_only: z.ZodBoolean;
|
|
10025
|
+
read_only_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10026
|
+
owner_attachment: z.ZodOptional<z.ZodObject<{
|
|
10027
|
+
state: z.ZodEnum<{
|
|
10028
|
+
attached: "attached";
|
|
10029
|
+
stopped: "stopped";
|
|
10030
|
+
unavailable: "unavailable";
|
|
10031
|
+
incompatible: "incompatible";
|
|
10032
|
+
refused: "refused";
|
|
10033
|
+
}>;
|
|
10034
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
10035
|
+
can_submit: z.ZodBoolean;
|
|
10036
|
+
can_interrupt: z.ZodBoolean;
|
|
10037
|
+
can_attach: z.ZodBoolean;
|
|
10038
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
10039
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
10040
|
+
active_admission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10041
|
+
admission_id: z.ZodString;
|
|
10042
|
+
sequence: z.ZodNumber;
|
|
10043
|
+
status: z.ZodEnum<{
|
|
10044
|
+
unknown: "unknown";
|
|
10045
|
+
queued: "queued";
|
|
10046
|
+
started: "started";
|
|
10047
|
+
terminal: "terminal";
|
|
10048
|
+
}>;
|
|
10049
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
10050
|
+
authority_epoch: z.ZodNumber;
|
|
10051
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
10052
|
+
text: z.ZodOptional<z.ZodString>;
|
|
10053
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
10054
|
+
}, z.core.$strip>>>;
|
|
10055
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
10056
|
+
admission_id: z.ZodString;
|
|
10057
|
+
sequence: z.ZodNumber;
|
|
10058
|
+
status: z.ZodEnum<{
|
|
10059
|
+
unknown: "unknown";
|
|
10060
|
+
queued: "queued";
|
|
10061
|
+
started: "started";
|
|
10062
|
+
terminal: "terminal";
|
|
10063
|
+
}>;
|
|
10064
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
10065
|
+
authority_epoch: z.ZodNumber;
|
|
10066
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
10067
|
+
text: z.ZodOptional<z.ZodString>;
|
|
10068
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
10069
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
10070
|
+
cancel: "cancel";
|
|
10071
|
+
discard: "discard";
|
|
10072
|
+
retry: "retry";
|
|
10073
|
+
}>>;
|
|
10074
|
+
}, z.core.$strip>>;
|
|
10075
|
+
}, z.core.$strip>>;
|
|
7865
10076
|
can_branch: z.ZodBoolean;
|
|
7866
10077
|
can_pin: z.ZodBoolean;
|
|
7867
10078
|
can_archive: z.ZodBoolean;
|