shuvcode 2.0.0-alpha-16 → 2.0.0-alpha-17
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/client/api.d.ts +3 -0
- package/client/generated/client.d.ts +34 -4
- package/client/generated/client.js +205 -19
- package/client/generated/types.d.ts +1914 -1075
- package/client/generated/types.js +2 -1
- package/client/index.js +3 -3
- package/client/service.js +17 -4
- package/package.json +13 -13
|
@@ -35,10 +35,22 @@ export type SessionForkBoundary = {
|
|
|
35
35
|
messageID: string;
|
|
36
36
|
};
|
|
37
37
|
export type MoneyUSD = number;
|
|
38
|
+
export type TokenUsageInfo = {
|
|
39
|
+
input: number;
|
|
40
|
+
output: number;
|
|
41
|
+
reasoning: number;
|
|
42
|
+
cache: {
|
|
43
|
+
read: number;
|
|
44
|
+
write: number;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
38
47
|
export type LocationRef = {
|
|
39
48
|
directory: string;
|
|
40
49
|
workspaceID?: string;
|
|
41
50
|
};
|
|
51
|
+
export type SessionMetadata = {
|
|
52
|
+
[x: string]: JsonValue;
|
|
53
|
+
};
|
|
42
54
|
export type FileDiffInfo = {
|
|
43
55
|
file: string;
|
|
44
56
|
patch: string;
|
|
@@ -47,6 +59,36 @@ export type FileDiffInfo = {
|
|
|
47
59
|
status: "added" | "deleted" | "modified";
|
|
48
60
|
};
|
|
49
61
|
export type SessionPolicyToolID = string;
|
|
62
|
+
export type SessionStatsToolTotals = {
|
|
63
|
+
calls: number;
|
|
64
|
+
succeeded: number;
|
|
65
|
+
failed: number;
|
|
66
|
+
unfinished: number;
|
|
67
|
+
};
|
|
68
|
+
export type SessionStatsToolUsage = {
|
|
69
|
+
name: string;
|
|
70
|
+
calls: number;
|
|
71
|
+
succeeded: number;
|
|
72
|
+
failed: number;
|
|
73
|
+
unfinished: number;
|
|
74
|
+
durationP50?: number;
|
|
75
|
+
};
|
|
76
|
+
export type SessionStatsActivity = {
|
|
77
|
+
date: string;
|
|
78
|
+
steps: number;
|
|
79
|
+
};
|
|
80
|
+
export type SessionMessageAgentSelected = {
|
|
81
|
+
id: string;
|
|
82
|
+
metadata?: {
|
|
83
|
+
[x: string]: JsonValue;
|
|
84
|
+
};
|
|
85
|
+
time: {
|
|
86
|
+
created: number;
|
|
87
|
+
};
|
|
88
|
+
type: "agent-switched";
|
|
89
|
+
agent: string;
|
|
90
|
+
previous?: string;
|
|
91
|
+
};
|
|
50
92
|
export type PromptBase64 = string;
|
|
51
93
|
export type PromptFileSource = {
|
|
52
94
|
type: "inline";
|
|
@@ -59,25 +101,152 @@ export type PromptMention = {
|
|
|
59
101
|
end: number;
|
|
60
102
|
text: string;
|
|
61
103
|
};
|
|
104
|
+
export type SessionMessageSynthetic = {
|
|
105
|
+
id: string;
|
|
106
|
+
metadata?: {
|
|
107
|
+
[x: string]: JsonValue;
|
|
108
|
+
};
|
|
109
|
+
time: {
|
|
110
|
+
created: number;
|
|
111
|
+
};
|
|
112
|
+
text: string;
|
|
113
|
+
description?: string;
|
|
114
|
+
type: "synthetic";
|
|
115
|
+
};
|
|
116
|
+
export type SessionMessageSystem = {
|
|
117
|
+
id: string;
|
|
118
|
+
metadata?: {
|
|
119
|
+
[x: string]: JsonValue;
|
|
120
|
+
};
|
|
121
|
+
time: {
|
|
122
|
+
created: number;
|
|
123
|
+
};
|
|
124
|
+
type: "system";
|
|
125
|
+
text: string;
|
|
126
|
+
description?: string;
|
|
127
|
+
};
|
|
128
|
+
export type SessionMessageSkill = {
|
|
129
|
+
id: string;
|
|
130
|
+
metadata?: {
|
|
131
|
+
[x: string]: JsonValue;
|
|
132
|
+
};
|
|
133
|
+
time: {
|
|
134
|
+
created: number;
|
|
135
|
+
};
|
|
136
|
+
type: "skill";
|
|
137
|
+
skill: string;
|
|
138
|
+
name: string;
|
|
139
|
+
text: string;
|
|
140
|
+
};
|
|
141
|
+
export type SessionMessageShell = {
|
|
142
|
+
id: string;
|
|
143
|
+
metadata?: {
|
|
144
|
+
[x: string]: JsonValue;
|
|
145
|
+
};
|
|
146
|
+
time: {
|
|
147
|
+
created: number;
|
|
148
|
+
completed?: number;
|
|
149
|
+
};
|
|
150
|
+
type: "shell";
|
|
151
|
+
shellID: string;
|
|
152
|
+
command: string;
|
|
153
|
+
status: "running" | "exited" | "timeout" | "killed";
|
|
154
|
+
exit?: number | "Infinity" | "-Infinity" | "NaN";
|
|
155
|
+
output?: {
|
|
156
|
+
output: string;
|
|
157
|
+
cursor: number;
|
|
158
|
+
size: number;
|
|
159
|
+
truncated: boolean;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
export type SessionMessageProviderState = {
|
|
163
|
+
[x: string]: JsonValue;
|
|
164
|
+
};
|
|
62
165
|
export type SessionMessageToolStateStreaming = {
|
|
63
166
|
status: "streaming";
|
|
64
167
|
input: string;
|
|
65
168
|
};
|
|
169
|
+
export type SessionMessageToolStateRunning = {
|
|
170
|
+
status: "running";
|
|
171
|
+
input: {
|
|
172
|
+
[x: string]: JsonValue;
|
|
173
|
+
};
|
|
174
|
+
metadata: {
|
|
175
|
+
[x: string]: JsonValue;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
66
178
|
export type ToolTextContent = {
|
|
67
179
|
type: "text";
|
|
68
180
|
text: string;
|
|
69
181
|
};
|
|
182
|
+
export type ToolFileContent = {
|
|
183
|
+
type: "file";
|
|
184
|
+
uri: string;
|
|
185
|
+
mime: string;
|
|
186
|
+
name?: string | null;
|
|
187
|
+
};
|
|
70
188
|
export type SessionStructuredError = {
|
|
71
189
|
type: string;
|
|
72
190
|
message: string;
|
|
73
191
|
status?: number;
|
|
74
192
|
};
|
|
193
|
+
export type SessionMessageCompactionRunning = {
|
|
194
|
+
type: "compaction";
|
|
195
|
+
id: string;
|
|
196
|
+
metadata?: {
|
|
197
|
+
[x: string]: JsonValue;
|
|
198
|
+
};
|
|
199
|
+
time: {
|
|
200
|
+
created: number;
|
|
201
|
+
};
|
|
202
|
+
status: "running";
|
|
203
|
+
reason: "auto" | "manual";
|
|
204
|
+
summary: string;
|
|
205
|
+
recent: string;
|
|
206
|
+
};
|
|
207
|
+
export type SessionMessageCompactionCompleted = {
|
|
208
|
+
type: "compaction";
|
|
209
|
+
id: string;
|
|
210
|
+
metadata?: {
|
|
211
|
+
[x: string]: JsonValue;
|
|
212
|
+
};
|
|
213
|
+
time: {
|
|
214
|
+
created: number;
|
|
215
|
+
};
|
|
216
|
+
status: "completed";
|
|
217
|
+
reason: "auto" | "manual";
|
|
218
|
+
summary: string;
|
|
219
|
+
recent: string;
|
|
220
|
+
};
|
|
75
221
|
export type SessionActive = {
|
|
76
222
|
type: "running";
|
|
77
223
|
};
|
|
78
224
|
export type SessionInboxDelivery = "steer" | "queue";
|
|
225
|
+
export type SessionInboxSyntheticPayload = {
|
|
226
|
+
text: string;
|
|
227
|
+
description?: string;
|
|
228
|
+
metadata?: {
|
|
229
|
+
[x: string]: JsonValue;
|
|
230
|
+
};
|
|
231
|
+
};
|
|
79
232
|
export type SessionInboxCompactionPayload = {};
|
|
80
233
|
export type InstructionEntryKey = string;
|
|
234
|
+
export type SessionDynamicToolDefinition = {
|
|
235
|
+
name: string;
|
|
236
|
+
description: string;
|
|
237
|
+
parameters?: {
|
|
238
|
+
[x: string]: JsonValue;
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
export type SessionDynamicToolCall = {
|
|
242
|
+
callID: string;
|
|
243
|
+
sessionID: string;
|
|
244
|
+
tool: string;
|
|
245
|
+
input: JsonValue;
|
|
246
|
+
time: {
|
|
247
|
+
requested: number;
|
|
248
|
+
};
|
|
249
|
+
};
|
|
81
250
|
export type SessionGenerateResponse = {
|
|
82
251
|
data: {
|
|
83
252
|
text: string;
|
|
@@ -90,6 +259,23 @@ export type SessionInboxSyntheticPayload1 = {
|
|
|
90
259
|
[x: string]: any;
|
|
91
260
|
};
|
|
92
261
|
};
|
|
262
|
+
export type ShellInfo = {
|
|
263
|
+
id: string;
|
|
264
|
+
status: "running" | "exited" | "timeout" | "killed";
|
|
265
|
+
command: string;
|
|
266
|
+
cwd: string;
|
|
267
|
+
shell: string;
|
|
268
|
+
file: string;
|
|
269
|
+
pid?: number;
|
|
270
|
+
exit?: number;
|
|
271
|
+
metadata: {
|
|
272
|
+
[x: string]: any;
|
|
273
|
+
};
|
|
274
|
+
time: {
|
|
275
|
+
started: number;
|
|
276
|
+
completed?: number;
|
|
277
|
+
};
|
|
278
|
+
};
|
|
93
279
|
export type SessionMessageProviderState1 = {
|
|
94
280
|
[x: string]: any;
|
|
95
281
|
};
|
|
@@ -99,19 +285,70 @@ export type ToolFileContent1 = {
|
|
|
99
285
|
mime: string;
|
|
100
286
|
name?: string | undefined;
|
|
101
287
|
};
|
|
288
|
+
export type SessionMessageToolStateRunning1 = {
|
|
289
|
+
status: "running";
|
|
290
|
+
input: {
|
|
291
|
+
[x: string]: any;
|
|
292
|
+
};
|
|
293
|
+
metadata: {
|
|
294
|
+
[x: string]: JsonValue;
|
|
295
|
+
};
|
|
296
|
+
};
|
|
102
297
|
export type EventLogSynced = {
|
|
103
298
|
type: "log.synced";
|
|
104
299
|
aggregateID: string;
|
|
105
300
|
seq?: number;
|
|
106
301
|
};
|
|
302
|
+
export type SessionInterruptResponse = {
|
|
303
|
+
interrupted: boolean;
|
|
304
|
+
};
|
|
107
305
|
export type ModelReasoningField = "reasoning" | "reasoning_content" | "reasoning_text" | (string & {});
|
|
108
306
|
export type ModelMaxTokensField = "max_completion_tokens" | "max_tokens";
|
|
307
|
+
export type ModelCapabilities = {
|
|
308
|
+
tools: boolean;
|
|
309
|
+
input: Array<string>;
|
|
310
|
+
output: Array<string>;
|
|
311
|
+
responsesWebsockets?: boolean;
|
|
312
|
+
};
|
|
313
|
+
export type ModelVariant = {
|
|
314
|
+
id: string;
|
|
315
|
+
settings?: {
|
|
316
|
+
[x: string]: any;
|
|
317
|
+
};
|
|
318
|
+
headers?: {
|
|
319
|
+
[x: string]: string;
|
|
320
|
+
};
|
|
321
|
+
body?: {
|
|
322
|
+
[x: string]: any;
|
|
323
|
+
};
|
|
324
|
+
};
|
|
109
325
|
export type MoneyUSDPerMillionTokens = number;
|
|
110
326
|
export type GenerateTextResponse = {
|
|
111
327
|
data: {
|
|
112
328
|
text: string;
|
|
113
329
|
};
|
|
114
330
|
};
|
|
331
|
+
export type ProviderInfo = {
|
|
332
|
+
id: string;
|
|
333
|
+
integrationID?: string;
|
|
334
|
+
name: string;
|
|
335
|
+
activation: "auto" | "enabled" | "disabled";
|
|
336
|
+
package: string;
|
|
337
|
+
settings?: {
|
|
338
|
+
[x: string]: any;
|
|
339
|
+
};
|
|
340
|
+
headers?: {
|
|
341
|
+
[x: string]: string;
|
|
342
|
+
};
|
|
343
|
+
body?: {
|
|
344
|
+
[x: string]: any;
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
export type FormWhen = {
|
|
348
|
+
key: string;
|
|
349
|
+
op: "eq" | "neq";
|
|
350
|
+
value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
351
|
+
};
|
|
115
352
|
export type FormOption = {
|
|
116
353
|
value: string;
|
|
117
354
|
label: string;
|
|
@@ -143,6 +380,66 @@ export type ConnectionEnvInfo = {
|
|
|
143
380
|
type: "env";
|
|
144
381
|
name: string;
|
|
145
382
|
};
|
|
383
|
+
export type IntegrationAttemptStatus = {
|
|
384
|
+
status: "pending";
|
|
385
|
+
time: {
|
|
386
|
+
created: number | "Infinity" | "-Infinity" | "NaN";
|
|
387
|
+
expires: number | "Infinity" | "-Infinity" | "NaN";
|
|
388
|
+
};
|
|
389
|
+
} | {
|
|
390
|
+
status: "complete";
|
|
391
|
+
time: {
|
|
392
|
+
created: number | "Infinity" | "-Infinity" | "NaN";
|
|
393
|
+
expires: number | "Infinity" | "-Infinity" | "NaN";
|
|
394
|
+
};
|
|
395
|
+
} | {
|
|
396
|
+
status: "failed";
|
|
397
|
+
message: string;
|
|
398
|
+
time: {
|
|
399
|
+
created: number | "Infinity" | "-Infinity" | "NaN";
|
|
400
|
+
expires: number | "Infinity" | "-Infinity" | "NaN";
|
|
401
|
+
};
|
|
402
|
+
} | {
|
|
403
|
+
status: "expired";
|
|
404
|
+
time: {
|
|
405
|
+
created: number | "Infinity" | "-Infinity" | "NaN";
|
|
406
|
+
expires: number | "Infinity" | "-Infinity" | "NaN";
|
|
407
|
+
};
|
|
408
|
+
};
|
|
409
|
+
export type IntegrationCommandAttempt = {
|
|
410
|
+
attemptID: string;
|
|
411
|
+
time: {
|
|
412
|
+
created: number | "Infinity" | "-Infinity" | "NaN";
|
|
413
|
+
expires: number | "Infinity" | "-Infinity" | "NaN";
|
|
414
|
+
};
|
|
415
|
+
};
|
|
416
|
+
export type IntegrationCommandAttemptStatus = {
|
|
417
|
+
status: "pending";
|
|
418
|
+
message?: string;
|
|
419
|
+
time: {
|
|
420
|
+
created: number | "Infinity" | "-Infinity" | "NaN";
|
|
421
|
+
expires: number | "Infinity" | "-Infinity" | "NaN";
|
|
422
|
+
};
|
|
423
|
+
} | {
|
|
424
|
+
status: "complete";
|
|
425
|
+
time: {
|
|
426
|
+
created: number | "Infinity" | "-Infinity" | "NaN";
|
|
427
|
+
expires: number | "Infinity" | "-Infinity" | "NaN";
|
|
428
|
+
};
|
|
429
|
+
} | {
|
|
430
|
+
status: "failed";
|
|
431
|
+
message: string;
|
|
432
|
+
time: {
|
|
433
|
+
created: number | "Infinity" | "-Infinity" | "NaN";
|
|
434
|
+
expires: number | "Infinity" | "-Infinity" | "NaN";
|
|
435
|
+
};
|
|
436
|
+
} | {
|
|
437
|
+
status: "expired";
|
|
438
|
+
time: {
|
|
439
|
+
created: number | "Infinity" | "-Infinity" | "NaN";
|
|
440
|
+
expires: number | "Infinity" | "-Infinity" | "NaN";
|
|
441
|
+
};
|
|
442
|
+
};
|
|
146
443
|
export type AuthProfile = {
|
|
147
444
|
providerID: string;
|
|
148
445
|
profileID?: string;
|
|
@@ -181,7 +478,7 @@ export type McpResourceTemplate = {
|
|
|
181
478
|
description?: string;
|
|
182
479
|
mimeType?: string;
|
|
183
480
|
};
|
|
184
|
-
export type ProjectVcs =
|
|
481
|
+
export type ProjectVcs = string;
|
|
185
482
|
export type ProjectIcon = {
|
|
186
483
|
url?: string;
|
|
187
484
|
override?: string;
|
|
@@ -200,6 +497,9 @@ export type ProjectCurrent = {
|
|
|
200
497
|
directory: string;
|
|
201
498
|
canonical: string;
|
|
202
499
|
};
|
|
500
|
+
export type FormMetadata = {
|
|
501
|
+
[x: string]: JsonValue;
|
|
502
|
+
};
|
|
203
503
|
export type FormValue = string | number | boolean | Array<string>;
|
|
204
504
|
export type PermissionSource = {
|
|
205
505
|
type: "tool";
|
|
@@ -216,8 +516,12 @@ export type FileSystemEntry = {
|
|
|
216
516
|
path: string;
|
|
217
517
|
type: "file" | "directory";
|
|
218
518
|
};
|
|
219
|
-
export type
|
|
220
|
-
|
|
519
|
+
export type CommandInfo = {
|
|
520
|
+
name: string;
|
|
521
|
+
description?: string;
|
|
522
|
+
};
|
|
523
|
+
export type SkillInfo = {
|
|
524
|
+
id: string;
|
|
221
525
|
name: string;
|
|
222
526
|
description?: string;
|
|
223
527
|
slash?: boolean;
|
|
@@ -225,6 +529,13 @@ export type SkillInfo = {
|
|
|
225
529
|
location: string;
|
|
226
530
|
content: string;
|
|
227
531
|
};
|
|
532
|
+
export type SessionDynamicToolDefinition1 = {
|
|
533
|
+
name: string;
|
|
534
|
+
description: string;
|
|
535
|
+
parameters?: {
|
|
536
|
+
[x: string]: any;
|
|
537
|
+
};
|
|
538
|
+
};
|
|
228
539
|
export type PermissionReply = "once" | "always" | "reject";
|
|
229
540
|
export type Pty = {
|
|
230
541
|
id: string;
|
|
@@ -236,6 +547,26 @@ export type Pty = {
|
|
|
236
547
|
pid: number;
|
|
237
548
|
exitCode?: number;
|
|
238
549
|
};
|
|
550
|
+
export type PersistentPtyInfo = {
|
|
551
|
+
id: string;
|
|
552
|
+
title: string;
|
|
553
|
+
command: string;
|
|
554
|
+
args: Array<string>;
|
|
555
|
+
cwd: string;
|
|
556
|
+
status: "running" | "exited";
|
|
557
|
+
pid: number;
|
|
558
|
+
exitCode?: number;
|
|
559
|
+
sessionID: string;
|
|
560
|
+
foregroundProcess: string | null;
|
|
561
|
+
size: {
|
|
562
|
+
cols: number;
|
|
563
|
+
rows: number;
|
|
564
|
+
};
|
|
565
|
+
output: {
|
|
566
|
+
head: number;
|
|
567
|
+
tail: number;
|
|
568
|
+
};
|
|
569
|
+
};
|
|
239
570
|
export type FormMetadata1 = {
|
|
240
571
|
[x: string]: any;
|
|
241
572
|
};
|
|
@@ -266,6 +597,44 @@ export type PtyTicketConnectToken = {
|
|
|
266
597
|
ticket: string;
|
|
267
598
|
expires_in: number;
|
|
268
599
|
};
|
|
600
|
+
export type PersistentPtyReadResult = {
|
|
601
|
+
ptyID: string;
|
|
602
|
+
title: string;
|
|
603
|
+
cwd: string;
|
|
604
|
+
foregroundProcess: string | null;
|
|
605
|
+
screen: {
|
|
606
|
+
text: string;
|
|
607
|
+
cols: number;
|
|
608
|
+
rows: number;
|
|
609
|
+
cursor: {
|
|
610
|
+
x: number;
|
|
611
|
+
y: number;
|
|
612
|
+
};
|
|
613
|
+
};
|
|
614
|
+
};
|
|
615
|
+
export type PersistentPtyHandoff = {
|
|
616
|
+
directory: string;
|
|
617
|
+
instanceID: string;
|
|
618
|
+
ticket: string;
|
|
619
|
+
expiresAt: number;
|
|
620
|
+
};
|
|
621
|
+
export type ShellInfo1 = {
|
|
622
|
+
id: string;
|
|
623
|
+
status: "running" | "exited" | "timeout" | "killed";
|
|
624
|
+
command: string;
|
|
625
|
+
cwd: string;
|
|
626
|
+
shell: string;
|
|
627
|
+
file: string;
|
|
628
|
+
pid?: number;
|
|
629
|
+
exit?: number;
|
|
630
|
+
metadata: {
|
|
631
|
+
[x: string]: JsonValue;
|
|
632
|
+
};
|
|
633
|
+
time: {
|
|
634
|
+
started: number;
|
|
635
|
+
completed?: number;
|
|
636
|
+
};
|
|
637
|
+
};
|
|
269
638
|
export type ReferenceLocalSource = {
|
|
270
639
|
type: "local";
|
|
271
640
|
path: string;
|
|
@@ -286,16 +655,25 @@ export type WorktreeDirectory = {
|
|
|
286
655
|
export type WorktreeInfo = {
|
|
287
656
|
directory: string;
|
|
288
657
|
};
|
|
658
|
+
export type WorkspaceDestroyResult = {
|
|
659
|
+
destroyed: boolean;
|
|
660
|
+
};
|
|
289
661
|
export type VcsBranch = {
|
|
290
662
|
current?: string;
|
|
291
663
|
default?: string;
|
|
292
664
|
};
|
|
665
|
+
export type VcsBase = {
|
|
666
|
+
name: string;
|
|
667
|
+
ref: string;
|
|
668
|
+
source: "reflog" | "default";
|
|
669
|
+
};
|
|
293
670
|
export type VcsFileStatus = {
|
|
294
671
|
file: string;
|
|
295
672
|
additions: number;
|
|
296
673
|
deletions: number;
|
|
297
674
|
status: "added" | "deleted" | "modified";
|
|
298
675
|
};
|
|
676
|
+
export type VcsBranchList = Array<string>;
|
|
299
677
|
export type WebSearchProvider = {
|
|
300
678
|
id: string;
|
|
301
679
|
name: string;
|
|
@@ -308,14 +686,6 @@ export type WebSearchResult = {
|
|
|
308
686
|
published?: number;
|
|
309
687
|
};
|
|
310
688
|
};
|
|
311
|
-
export type CommandInfo = {
|
|
312
|
-
name: string;
|
|
313
|
-
template: string;
|
|
314
|
-
description?: string;
|
|
315
|
-
agent?: string;
|
|
316
|
-
model?: ModelRef;
|
|
317
|
-
subtask?: boolean;
|
|
318
|
-
};
|
|
319
689
|
export type ProviderRequest = {
|
|
320
690
|
settings: ProviderSettings;
|
|
321
691
|
headers: {
|
|
@@ -342,13 +712,22 @@ export type PluginInfo = {
|
|
|
342
712
|
error: string;
|
|
343
713
|
tui: boolean;
|
|
344
714
|
};
|
|
345
|
-
export type
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
715
|
+
export type SessionMessageLocationSwitched = {
|
|
716
|
+
id: string;
|
|
717
|
+
metadata?: {
|
|
718
|
+
[x: string]: JsonValue;
|
|
719
|
+
};
|
|
720
|
+
time: {
|
|
721
|
+
created: number;
|
|
722
|
+
};
|
|
723
|
+
type: "location-switched";
|
|
724
|
+
location: LocationRef;
|
|
725
|
+
projectID?: string;
|
|
726
|
+
subpath?: string;
|
|
727
|
+
previous?: {
|
|
728
|
+
location: LocationRef;
|
|
729
|
+
projectID?: string;
|
|
730
|
+
subpath?: string;
|
|
352
731
|
};
|
|
353
732
|
};
|
|
354
733
|
export type SessionInboxMovePayload = {
|
|
@@ -365,30 +744,42 @@ export type V2EventServerConnected = {
|
|
|
365
744
|
type: "server.connected";
|
|
366
745
|
data: {};
|
|
367
746
|
};
|
|
747
|
+
export type SessionRevert = {
|
|
748
|
+
messageID: string;
|
|
749
|
+
partID?: string;
|
|
750
|
+
snapshot?: string;
|
|
751
|
+
files?: Array<FileDiffInfo>;
|
|
752
|
+
};
|
|
368
753
|
export type SessionPolicyTools = {
|
|
369
754
|
allow: Array<SessionPolicyToolID>;
|
|
370
755
|
};
|
|
371
|
-
export type
|
|
372
|
-
|
|
756
|
+
export type SessionStatsTools = {
|
|
757
|
+
mode: "none";
|
|
758
|
+
} | {
|
|
759
|
+
mode: "summary";
|
|
760
|
+
totals: SessionStatsToolTotals;
|
|
761
|
+
} | {
|
|
762
|
+
mode: "detail";
|
|
763
|
+
totals: SessionStatsToolTotals;
|
|
764
|
+
usage: Array<SessionStatsToolUsage>;
|
|
373
765
|
};
|
|
374
|
-
export type
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
metadata: {
|
|
380
|
-
[x: string]: JsonValue;
|
|
381
|
-
};
|
|
766
|
+
export type SessionStatsModelUsage = {
|
|
767
|
+
model: ModelRef;
|
|
768
|
+
steps: number;
|
|
769
|
+
tokens: TokenUsageInfo;
|
|
770
|
+
cost: MoneyUSD;
|
|
382
771
|
};
|
|
383
|
-
export type
|
|
384
|
-
|
|
385
|
-
description?: string;
|
|
772
|
+
export type SessionMessageModelSelected = {
|
|
773
|
+
id: string;
|
|
386
774
|
metadata?: {
|
|
387
775
|
[x: string]: JsonValue;
|
|
388
776
|
};
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
777
|
+
time: {
|
|
778
|
+
created: number;
|
|
779
|
+
};
|
|
780
|
+
type: "model-switched";
|
|
781
|
+
model: ModelRef;
|
|
782
|
+
previous?: ModelRef;
|
|
392
783
|
};
|
|
393
784
|
export type PromptFileAttachment = {
|
|
394
785
|
data: PromptBase64;
|
|
@@ -405,19 +796,50 @@ export type PromptAgentAttachment = {
|
|
|
405
796
|
export type PromptSkillAttachment = {
|
|
406
797
|
id: string;
|
|
407
798
|
name: string;
|
|
799
|
+
text?: string;
|
|
408
800
|
mention?: PromptMention;
|
|
409
801
|
};
|
|
410
|
-
export type
|
|
411
|
-
type: "
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
802
|
+
export type SessionMessageAssistantText = {
|
|
803
|
+
type: "text";
|
|
804
|
+
text: string;
|
|
805
|
+
state?: SessionMessageProviderState;
|
|
806
|
+
};
|
|
807
|
+
export type SessionMessageAssistantReasoning = {
|
|
808
|
+
type: "reasoning";
|
|
809
|
+
text: string;
|
|
810
|
+
state?: SessionMessageProviderState;
|
|
811
|
+
time?: {
|
|
812
|
+
created: number;
|
|
813
|
+
completed?: number;
|
|
814
|
+
};
|
|
415
815
|
};
|
|
816
|
+
export type ToolContent = ToolTextContent | ToolFileContent;
|
|
416
817
|
export type SessionMessageAssistantRetry = {
|
|
417
818
|
attempt: number;
|
|
418
819
|
at: number;
|
|
419
820
|
error: SessionStructuredError;
|
|
420
821
|
};
|
|
822
|
+
export type SessionMessageCompactionFailed = {
|
|
823
|
+
type: "compaction";
|
|
824
|
+
id: string;
|
|
825
|
+
metadata?: {
|
|
826
|
+
[x: string]: JsonValue;
|
|
827
|
+
};
|
|
828
|
+
time: {
|
|
829
|
+
created: number;
|
|
830
|
+
};
|
|
831
|
+
status: "failed";
|
|
832
|
+
reason: "auto" | "manual";
|
|
833
|
+
error: SessionStructuredError;
|
|
834
|
+
};
|
|
835
|
+
export type SessionInboxSynthetic = {
|
|
836
|
+
id: string;
|
|
837
|
+
sessionID: string;
|
|
838
|
+
timeCreated: number;
|
|
839
|
+
type: "synthetic";
|
|
840
|
+
payload: SessionInboxSyntheticPayload;
|
|
841
|
+
delivery: SessionInboxDelivery;
|
|
842
|
+
};
|
|
421
843
|
export type SessionInboxCompaction = {
|
|
422
844
|
id: string;
|
|
423
845
|
sessionID: string;
|
|
@@ -755,6 +1177,24 @@ export type SessionStepStarted = {
|
|
|
755
1177
|
snapshot?: string;
|
|
756
1178
|
};
|
|
757
1179
|
};
|
|
1180
|
+
export type SessionStepStreamed = {
|
|
1181
|
+
id: string;
|
|
1182
|
+
created: number;
|
|
1183
|
+
metadata?: {
|
|
1184
|
+
[x: string]: any;
|
|
1185
|
+
};
|
|
1186
|
+
type: "session.step.streamed";
|
|
1187
|
+
durable: {
|
|
1188
|
+
aggregateID: string;
|
|
1189
|
+
seq: number;
|
|
1190
|
+
version: 1;
|
|
1191
|
+
};
|
|
1192
|
+
location?: LocationRef;
|
|
1193
|
+
data: {
|
|
1194
|
+
sessionID: string;
|
|
1195
|
+
assistantMessageID: string;
|
|
1196
|
+
};
|
|
1197
|
+
};
|
|
758
1198
|
export type SessionTextStarted = {
|
|
759
1199
|
id: string;
|
|
760
1200
|
created: number;
|
|
@@ -835,13 +1275,13 @@ export type SessionRetryScheduled = {
|
|
|
835
1275
|
error: SessionStructuredError;
|
|
836
1276
|
};
|
|
837
1277
|
};
|
|
838
|
-
export type
|
|
1278
|
+
export type SessionCompactionStarted = {
|
|
839
1279
|
id: string;
|
|
840
1280
|
created: number;
|
|
841
1281
|
metadata?: {
|
|
842
1282
|
[x: string]: any;
|
|
843
1283
|
};
|
|
844
|
-
type: "session.
|
|
1284
|
+
type: "session.compaction.started";
|
|
845
1285
|
durable: {
|
|
846
1286
|
aggregateID: string;
|
|
847
1287
|
seq: number;
|
|
@@ -850,15 +1290,18 @@ export type SessionRevertCleared = {
|
|
|
850
1290
|
location?: LocationRef;
|
|
851
1291
|
data: {
|
|
852
1292
|
sessionID: string;
|
|
1293
|
+
reason: "auto" | "manual";
|
|
1294
|
+
recent: string;
|
|
1295
|
+
inputID?: string;
|
|
853
1296
|
};
|
|
854
1297
|
};
|
|
855
|
-
export type
|
|
1298
|
+
export type SessionCompactionEnded = {
|
|
856
1299
|
id: string;
|
|
857
1300
|
created: number;
|
|
858
1301
|
metadata?: {
|
|
859
1302
|
[x: string]: any;
|
|
860
1303
|
};
|
|
861
|
-
type: "session.
|
|
1304
|
+
type: "session.compaction.ended";
|
|
862
1305
|
durable: {
|
|
863
1306
|
aggregateID: string;
|
|
864
1307
|
seq: number;
|
|
@@ -867,83 +1310,185 @@ export type SessionRevertCommitted = {
|
|
|
867
1310
|
location?: LocationRef;
|
|
868
1311
|
data: {
|
|
869
1312
|
sessionID: string;
|
|
870
|
-
|
|
1313
|
+
reason: "auto" | "manual";
|
|
1314
|
+
text: string;
|
|
1315
|
+
recent: string;
|
|
871
1316
|
};
|
|
872
1317
|
};
|
|
873
|
-
export type
|
|
1318
|
+
export type SessionCompactionFailed = {
|
|
874
1319
|
id: string;
|
|
875
1320
|
created: number;
|
|
876
1321
|
metadata?: {
|
|
877
1322
|
[x: string]: any;
|
|
878
1323
|
};
|
|
879
|
-
type: "
|
|
1324
|
+
type: "session.compaction.failed";
|
|
1325
|
+
durable: {
|
|
1326
|
+
aggregateID: string;
|
|
1327
|
+
seq: number;
|
|
1328
|
+
version: 1;
|
|
1329
|
+
};
|
|
880
1330
|
location?: LocationRef;
|
|
881
|
-
data: {
|
|
1331
|
+
data: {
|
|
1332
|
+
sessionID: string;
|
|
1333
|
+
reason: "auto" | "manual";
|
|
1334
|
+
error: SessionStructuredError;
|
|
1335
|
+
inputID?: string;
|
|
1336
|
+
};
|
|
882
1337
|
};
|
|
883
|
-
export type
|
|
1338
|
+
export type SessionRevertCleared = {
|
|
884
1339
|
id: string;
|
|
885
1340
|
created: number;
|
|
886
1341
|
metadata?: {
|
|
887
1342
|
[x: string]: any;
|
|
888
1343
|
};
|
|
889
|
-
type: "
|
|
1344
|
+
type: "session.revert.cleared";
|
|
1345
|
+
durable: {
|
|
1346
|
+
aggregateID: string;
|
|
1347
|
+
seq: number;
|
|
1348
|
+
version: 1;
|
|
1349
|
+
};
|
|
890
1350
|
location?: LocationRef;
|
|
891
|
-
data: {
|
|
1351
|
+
data: {
|
|
1352
|
+
sessionID: string;
|
|
1353
|
+
};
|
|
892
1354
|
};
|
|
893
|
-
export type
|
|
1355
|
+
export type SessionRevertCommitted = {
|
|
894
1356
|
id: string;
|
|
895
1357
|
created: number;
|
|
896
1358
|
metadata?: {
|
|
897
1359
|
[x: string]: any;
|
|
898
1360
|
};
|
|
899
|
-
type: "
|
|
1361
|
+
type: "session.revert.committed";
|
|
1362
|
+
durable: {
|
|
1363
|
+
aggregateID: string;
|
|
1364
|
+
seq: number;
|
|
1365
|
+
version: 1;
|
|
1366
|
+
};
|
|
900
1367
|
location?: LocationRef;
|
|
901
1368
|
data: {
|
|
902
|
-
|
|
1369
|
+
sessionID: string;
|
|
1370
|
+
to: string;
|
|
903
1371
|
};
|
|
904
1372
|
};
|
|
905
|
-
export type
|
|
1373
|
+
export type SessionUsageRecorded = {
|
|
906
1374
|
id: string;
|
|
907
1375
|
created: number;
|
|
908
1376
|
metadata?: {
|
|
909
1377
|
[x: string]: any;
|
|
910
1378
|
};
|
|
911
|
-
type: "
|
|
1379
|
+
type: "session.usage.recorded";
|
|
1380
|
+
durable: {
|
|
1381
|
+
aggregateID: string;
|
|
1382
|
+
seq: number;
|
|
1383
|
+
version: 1;
|
|
1384
|
+
};
|
|
912
1385
|
location?: LocationRef;
|
|
913
|
-
data: {
|
|
1386
|
+
data: {
|
|
1387
|
+
sessionID: string;
|
|
1388
|
+
source: "title" | "compaction";
|
|
1389
|
+
cost: MoneyUSD;
|
|
1390
|
+
tokens: TokenUsageInfo;
|
|
1391
|
+
};
|
|
914
1392
|
};
|
|
915
|
-
export type
|
|
1393
|
+
export type ModelsDevRefreshed = {
|
|
916
1394
|
id: string;
|
|
917
1395
|
created: number;
|
|
918
1396
|
metadata?: {
|
|
919
1397
|
[x: string]: any;
|
|
920
1398
|
};
|
|
921
|
-
type: "
|
|
1399
|
+
type: "models-dev.refreshed";
|
|
922
1400
|
location?: LocationRef;
|
|
923
1401
|
data: {};
|
|
924
1402
|
};
|
|
925
|
-
export type
|
|
1403
|
+
export type CredentialUpdated = {
|
|
926
1404
|
id: string;
|
|
927
1405
|
created: number;
|
|
928
1406
|
metadata?: {
|
|
929
1407
|
[x: string]: any;
|
|
930
1408
|
};
|
|
931
|
-
type: "
|
|
1409
|
+
type: "credential.updated";
|
|
932
1410
|
location?: LocationRef;
|
|
933
|
-
data: {
|
|
934
|
-
sessionID: string;
|
|
935
|
-
assistantMessageID: string;
|
|
936
|
-
ordinal: number;
|
|
937
|
-
delta: string;
|
|
938
|
-
};
|
|
1411
|
+
data: {};
|
|
939
1412
|
};
|
|
940
|
-
export type
|
|
1413
|
+
export type CredentialSwitched = {
|
|
941
1414
|
id: string;
|
|
942
1415
|
created: number;
|
|
943
1416
|
metadata?: {
|
|
944
1417
|
[x: string]: any;
|
|
945
1418
|
};
|
|
946
|
-
type: "
|
|
1419
|
+
type: "credential.switched";
|
|
1420
|
+
location?: LocationRef;
|
|
1421
|
+
data: {
|
|
1422
|
+
integrationID: string;
|
|
1423
|
+
credentialID: string | null;
|
|
1424
|
+
};
|
|
1425
|
+
};
|
|
1426
|
+
export type IntegrationUpdated = {
|
|
1427
|
+
id: string;
|
|
1428
|
+
created: number;
|
|
1429
|
+
metadata?: {
|
|
1430
|
+
[x: string]: any;
|
|
1431
|
+
};
|
|
1432
|
+
type: "integration.updated";
|
|
1433
|
+
location?: LocationRef;
|
|
1434
|
+
data: {};
|
|
1435
|
+
};
|
|
1436
|
+
export type CatalogUpdated = {
|
|
1437
|
+
id: string;
|
|
1438
|
+
created: number;
|
|
1439
|
+
metadata?: {
|
|
1440
|
+
[x: string]: any;
|
|
1441
|
+
};
|
|
1442
|
+
type: "catalog.updated";
|
|
1443
|
+
location?: LocationRef;
|
|
1444
|
+
data: {};
|
|
1445
|
+
};
|
|
1446
|
+
export type AgentUpdated = {
|
|
1447
|
+
id: string;
|
|
1448
|
+
created: number;
|
|
1449
|
+
metadata?: {
|
|
1450
|
+
[x: string]: any;
|
|
1451
|
+
};
|
|
1452
|
+
type: "agent.updated";
|
|
1453
|
+
location?: LocationRef;
|
|
1454
|
+
data: {};
|
|
1455
|
+
};
|
|
1456
|
+
export type SessionUsageUpdated = {
|
|
1457
|
+
id: string;
|
|
1458
|
+
created: number;
|
|
1459
|
+
metadata?: {
|
|
1460
|
+
[x: string]: any;
|
|
1461
|
+
};
|
|
1462
|
+
type: "session.usage.updated";
|
|
1463
|
+
location?: LocationRef;
|
|
1464
|
+
data: {
|
|
1465
|
+
sessionID: string;
|
|
1466
|
+
cost: MoneyUSD;
|
|
1467
|
+
tokens: TokenUsageInfo;
|
|
1468
|
+
};
|
|
1469
|
+
};
|
|
1470
|
+
export type SessionTextDelta = {
|
|
1471
|
+
id: string;
|
|
1472
|
+
created: number;
|
|
1473
|
+
metadata?: {
|
|
1474
|
+
[x: string]: any;
|
|
1475
|
+
};
|
|
1476
|
+
type: "session.text.delta";
|
|
1477
|
+
location?: LocationRef;
|
|
1478
|
+
data: {
|
|
1479
|
+
sessionID: string;
|
|
1480
|
+
assistantMessageID: string;
|
|
1481
|
+
ordinal: number;
|
|
1482
|
+
delta: string;
|
|
1483
|
+
};
|
|
1484
|
+
};
|
|
1485
|
+
export type SessionReasoningDelta = {
|
|
1486
|
+
id: string;
|
|
1487
|
+
created: number;
|
|
1488
|
+
metadata?: {
|
|
1489
|
+
[x: string]: any;
|
|
1490
|
+
};
|
|
1491
|
+
type: "session.reasoning.delta";
|
|
947
1492
|
location?: LocationRef;
|
|
948
1493
|
data: {
|
|
949
1494
|
sessionID: string;
|
|
@@ -997,6 +1542,47 @@ export type SessionCompactionDelta = {
|
|
|
997
1542
|
text: string;
|
|
998
1543
|
};
|
|
999
1544
|
};
|
|
1545
|
+
export type SessionToolDynamicRequested = {
|
|
1546
|
+
id: string;
|
|
1547
|
+
created: number;
|
|
1548
|
+
metadata?: {
|
|
1549
|
+
[x: string]: any;
|
|
1550
|
+
};
|
|
1551
|
+
type: "session.tool.dynamic.requested";
|
|
1552
|
+
location?: LocationRef;
|
|
1553
|
+
data: {
|
|
1554
|
+
sessionID: string;
|
|
1555
|
+
callID: string;
|
|
1556
|
+
tool: string;
|
|
1557
|
+
input: JsonValue;
|
|
1558
|
+
};
|
|
1559
|
+
};
|
|
1560
|
+
export type SessionToolDynamicReplied = {
|
|
1561
|
+
id: string;
|
|
1562
|
+
created: number;
|
|
1563
|
+
metadata?: {
|
|
1564
|
+
[x: string]: any;
|
|
1565
|
+
};
|
|
1566
|
+
type: "session.tool.dynamic.replied";
|
|
1567
|
+
location?: LocationRef;
|
|
1568
|
+
data: {
|
|
1569
|
+
sessionID: string;
|
|
1570
|
+
callID: string;
|
|
1571
|
+
};
|
|
1572
|
+
};
|
|
1573
|
+
export type SessionToolDynamicCancelled = {
|
|
1574
|
+
id: string;
|
|
1575
|
+
created: number;
|
|
1576
|
+
metadata?: {
|
|
1577
|
+
[x: string]: any;
|
|
1578
|
+
};
|
|
1579
|
+
type: "session.tool.dynamic.cancelled";
|
|
1580
|
+
location?: LocationRef;
|
|
1581
|
+
data: {
|
|
1582
|
+
sessionID: string;
|
|
1583
|
+
callID: string;
|
|
1584
|
+
};
|
|
1585
|
+
};
|
|
1000
1586
|
export type FilesystemChanged = {
|
|
1001
1587
|
id: string;
|
|
1002
1588
|
created: number;
|
|
@@ -1071,6 +1657,7 @@ export type WorktreeResolved = {
|
|
|
1071
1657
|
projectID: string;
|
|
1072
1658
|
directory: string;
|
|
1073
1659
|
previous: string;
|
|
1660
|
+
adopted?: Array<string>;
|
|
1074
1661
|
};
|
|
1075
1662
|
};
|
|
1076
1663
|
export type CommandUpdated = {
|
|
@@ -1128,6 +1715,19 @@ export type PtyDeleted = {
|
|
|
1128
1715
|
id: string;
|
|
1129
1716
|
};
|
|
1130
1717
|
};
|
|
1718
|
+
export type PersistentPtyRemoved = {
|
|
1719
|
+
id: string;
|
|
1720
|
+
created: number;
|
|
1721
|
+
metadata?: {
|
|
1722
|
+
[x: string]: any;
|
|
1723
|
+
};
|
|
1724
|
+
type: "persistent-pty.removed";
|
|
1725
|
+
location?: LocationRef;
|
|
1726
|
+
data: {
|
|
1727
|
+
sessionID: string;
|
|
1728
|
+
ptyID: string;
|
|
1729
|
+
};
|
|
1730
|
+
};
|
|
1131
1731
|
export type ShellExited = {
|
|
1132
1732
|
id: string;
|
|
1133
1733
|
created: number;
|
|
@@ -1300,47 +1900,31 @@ export type McpResourcesChanged = {
|
|
|
1300
1900
|
server: string;
|
|
1301
1901
|
};
|
|
1302
1902
|
};
|
|
1303
|
-
export type
|
|
1903
|
+
export type SessionShellStarted = {
|
|
1304
1904
|
id: string;
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
cwd: string;
|
|
1308
|
-
shell: string;
|
|
1309
|
-
file: string;
|
|
1310
|
-
pid?: number;
|
|
1311
|
-
exit?: number;
|
|
1312
|
-
metadata: {
|
|
1905
|
+
created: number;
|
|
1906
|
+
metadata?: {
|
|
1313
1907
|
[x: string]: any;
|
|
1314
1908
|
};
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
export type ShellInfo1 = {
|
|
1321
|
-
id: string;
|
|
1322
|
-
status: "running" | "exited" | "timeout" | "killed";
|
|
1323
|
-
command: string;
|
|
1324
|
-
cwd: string;
|
|
1325
|
-
shell: string;
|
|
1326
|
-
file: string;
|
|
1327
|
-
pid?: number;
|
|
1328
|
-
exit?: number;
|
|
1329
|
-
metadata: {
|
|
1330
|
-
[x: string]: JsonValue;
|
|
1909
|
+
type: "session.shell.started";
|
|
1910
|
+
durable: {
|
|
1911
|
+
aggregateID: string;
|
|
1912
|
+
seq: number;
|
|
1913
|
+
version: 1;
|
|
1331
1914
|
};
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1915
|
+
location?: LocationRef;
|
|
1916
|
+
data: {
|
|
1917
|
+
sessionID: string;
|
|
1918
|
+
shell: ShellInfo;
|
|
1335
1919
|
};
|
|
1336
1920
|
};
|
|
1337
|
-
export type
|
|
1921
|
+
export type SessionShellEnded = {
|
|
1338
1922
|
id: string;
|
|
1339
1923
|
created: number;
|
|
1340
1924
|
metadata?: {
|
|
1341
1925
|
[x: string]: any;
|
|
1342
1926
|
};
|
|
1343
|
-
type: "session.
|
|
1927
|
+
type: "session.shell.ended";
|
|
1344
1928
|
durable: {
|
|
1345
1929
|
aggregateID: string;
|
|
1346
1930
|
seq: number;
|
|
@@ -1349,19 +1933,34 @@ export type SessionTextEnded = {
|
|
|
1349
1933
|
location?: LocationRef;
|
|
1350
1934
|
data: {
|
|
1351
1935
|
sessionID: string;
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1936
|
+
shell: ShellInfo;
|
|
1937
|
+
output: {
|
|
1938
|
+
output: string;
|
|
1939
|
+
cursor: number;
|
|
1940
|
+
size: number;
|
|
1941
|
+
truncated: boolean;
|
|
1942
|
+
};
|
|
1356
1943
|
};
|
|
1357
1944
|
};
|
|
1358
|
-
export type
|
|
1945
|
+
export type ShellCreated = {
|
|
1359
1946
|
id: string;
|
|
1360
1947
|
created: number;
|
|
1361
1948
|
metadata?: {
|
|
1362
1949
|
[x: string]: any;
|
|
1363
1950
|
};
|
|
1364
|
-
type: "
|
|
1951
|
+
type: "shell.created";
|
|
1952
|
+
location?: LocationRef;
|
|
1953
|
+
data: {
|
|
1954
|
+
info: ShellInfo;
|
|
1955
|
+
};
|
|
1956
|
+
};
|
|
1957
|
+
export type SessionStepEnded = {
|
|
1958
|
+
id: string;
|
|
1959
|
+
created: number;
|
|
1960
|
+
metadata?: {
|
|
1961
|
+
[x: string]: any;
|
|
1962
|
+
};
|
|
1963
|
+
type: "session.step.ended";
|
|
1365
1964
|
durable: {
|
|
1366
1965
|
aggregateID: string;
|
|
1367
1966
|
seq: number;
|
|
@@ -1371,17 +1970,22 @@ export type SessionReasoningStarted = {
|
|
|
1371
1970
|
data: {
|
|
1372
1971
|
sessionID: string;
|
|
1373
1972
|
assistantMessageID: string;
|
|
1374
|
-
|
|
1375
|
-
|
|
1973
|
+
finish: "stop" | "length" | "tool-calls" | "content-filter" | "error" | "unknown";
|
|
1974
|
+
rawFinish?: string;
|
|
1975
|
+
providerState?: SessionMessageProviderState1;
|
|
1976
|
+
cost: MoneyUSD;
|
|
1977
|
+
tokens: TokenUsageInfo;
|
|
1978
|
+
snapshot?: string;
|
|
1979
|
+
files?: Array<string>;
|
|
1376
1980
|
};
|
|
1377
1981
|
};
|
|
1378
|
-
export type
|
|
1982
|
+
export type SessionStepFailed = {
|
|
1379
1983
|
id: string;
|
|
1380
1984
|
created: number;
|
|
1381
1985
|
metadata?: {
|
|
1382
1986
|
[x: string]: any;
|
|
1383
1987
|
};
|
|
1384
|
-
type: "session.
|
|
1988
|
+
type: "session.step.failed";
|
|
1385
1989
|
durable: {
|
|
1386
1990
|
aggregateID: string;
|
|
1387
1991
|
seq: number;
|
|
@@ -1391,18 +1995,23 @@ export type SessionReasoningEnded = {
|
|
|
1391
1995
|
data: {
|
|
1392
1996
|
sessionID: string;
|
|
1393
1997
|
assistantMessageID: string;
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1998
|
+
error: SessionStructuredError;
|
|
1999
|
+
finish?: "content-filter";
|
|
2000
|
+
rawFinish?: string;
|
|
2001
|
+
providerState?: SessionMessageProviderState1;
|
|
2002
|
+
cost?: MoneyUSD;
|
|
2003
|
+
tokens?: TokenUsageInfo;
|
|
2004
|
+
snapshot?: string;
|
|
2005
|
+
files?: Array<string>;
|
|
1397
2006
|
};
|
|
1398
2007
|
};
|
|
1399
|
-
export type
|
|
2008
|
+
export type SessionTextEnded = {
|
|
1400
2009
|
id: string;
|
|
1401
2010
|
created: number;
|
|
1402
2011
|
metadata?: {
|
|
1403
2012
|
[x: string]: any;
|
|
1404
2013
|
};
|
|
1405
|
-
type: "session.
|
|
2014
|
+
type: "session.text.ended";
|
|
1406
2015
|
durable: {
|
|
1407
2016
|
aggregateID: string;
|
|
1408
2017
|
seq: number;
|
|
@@ -1412,22 +2021,18 @@ export type SessionToolCalled = {
|
|
|
1412
2021
|
data: {
|
|
1413
2022
|
sessionID: string;
|
|
1414
2023
|
assistantMessageID: string;
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
[x: string]: any;
|
|
1418
|
-
};
|
|
1419
|
-
executed: boolean;
|
|
2024
|
+
ordinal: number;
|
|
2025
|
+
text: string;
|
|
1420
2026
|
state?: SessionMessageProviderState1;
|
|
1421
2027
|
};
|
|
1422
2028
|
};
|
|
1423
|
-
export type
|
|
1424
|
-
export type SessionCompactionStarted = {
|
|
2029
|
+
export type SessionReasoningStarted = {
|
|
1425
2030
|
id: string;
|
|
1426
2031
|
created: number;
|
|
1427
2032
|
metadata?: {
|
|
1428
2033
|
[x: string]: any;
|
|
1429
2034
|
};
|
|
1430
|
-
type: "session.
|
|
2035
|
+
type: "session.reasoning.started";
|
|
1431
2036
|
durable: {
|
|
1432
2037
|
aggregateID: string;
|
|
1433
2038
|
seq: number;
|
|
@@ -1436,18 +2041,18 @@ export type SessionCompactionStarted = {
|
|
|
1436
2041
|
location?: LocationRef;
|
|
1437
2042
|
data: {
|
|
1438
2043
|
sessionID: string;
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
2044
|
+
assistantMessageID: string;
|
|
2045
|
+
ordinal: number;
|
|
2046
|
+
state?: SessionMessageProviderState1;
|
|
1442
2047
|
};
|
|
1443
2048
|
};
|
|
1444
|
-
export type
|
|
2049
|
+
export type SessionReasoningEnded = {
|
|
1445
2050
|
id: string;
|
|
1446
2051
|
created: number;
|
|
1447
2052
|
metadata?: {
|
|
1448
2053
|
[x: string]: any;
|
|
1449
2054
|
};
|
|
1450
|
-
type: "session.
|
|
2055
|
+
type: "session.reasoning.ended";
|
|
1451
2056
|
durable: {
|
|
1452
2057
|
aggregateID: string;
|
|
1453
2058
|
seq: number;
|
|
@@ -1456,18 +2061,19 @@ export type SessionCompactionEnded = {
|
|
|
1456
2061
|
location?: LocationRef;
|
|
1457
2062
|
data: {
|
|
1458
2063
|
sessionID: string;
|
|
1459
|
-
|
|
2064
|
+
assistantMessageID: string;
|
|
2065
|
+
ordinal: number;
|
|
1460
2066
|
text: string;
|
|
1461
|
-
|
|
2067
|
+
state?: SessionMessageProviderState1;
|
|
1462
2068
|
};
|
|
1463
2069
|
};
|
|
1464
|
-
export type
|
|
2070
|
+
export type SessionToolCalled = {
|
|
1465
2071
|
id: string;
|
|
1466
2072
|
created: number;
|
|
1467
2073
|
metadata?: {
|
|
1468
2074
|
[x: string]: any;
|
|
1469
2075
|
};
|
|
1470
|
-
type: "session.
|
|
2076
|
+
type: "session.tool.called";
|
|
1471
2077
|
durable: {
|
|
1472
2078
|
aggregateID: string;
|
|
1473
2079
|
seq: number;
|
|
@@ -1476,49 +2082,36 @@ export type SessionCompactionFailed = {
|
|
|
1476
2082
|
location?: LocationRef;
|
|
1477
2083
|
data: {
|
|
1478
2084
|
sessionID: string;
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
2085
|
+
assistantMessageID: string;
|
|
2086
|
+
id: string;
|
|
2087
|
+
input: {
|
|
2088
|
+
[x: string]: any;
|
|
2089
|
+
};
|
|
2090
|
+
executed: boolean;
|
|
2091
|
+
state?: SessionMessageProviderState1;
|
|
1482
2092
|
};
|
|
1483
2093
|
};
|
|
1484
|
-
export type
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
};
|
|
1489
|
-
export type ModelVariant = {
|
|
1490
|
-
id: string;
|
|
1491
|
-
settings?: {
|
|
1492
|
-
[x: string]: any;
|
|
1493
|
-
};
|
|
1494
|
-
headers?: {
|
|
1495
|
-
[x: string]: string;
|
|
1496
|
-
};
|
|
1497
|
-
body?: {
|
|
1498
|
-
[x: string]: any;
|
|
1499
|
-
};
|
|
2094
|
+
export type SessionMessageAssistantText1 = {
|
|
2095
|
+
type: "text";
|
|
2096
|
+
text: string;
|
|
2097
|
+
state?: SessionMessageProviderState1;
|
|
1500
2098
|
};
|
|
1501
|
-
export type
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
[x: string]: any;
|
|
1509
|
-
};
|
|
1510
|
-
headers?: {
|
|
1511
|
-
[x: string]: string;
|
|
1512
|
-
};
|
|
1513
|
-
body?: {
|
|
1514
|
-
[x: string]: any;
|
|
2099
|
+
export type SessionMessageAssistantReasoning1 = {
|
|
2100
|
+
type: "reasoning";
|
|
2101
|
+
text: string;
|
|
2102
|
+
state?: SessionMessageProviderState1;
|
|
2103
|
+
time?: {
|
|
2104
|
+
created: number;
|
|
2105
|
+
completed?: number;
|
|
1515
2106
|
};
|
|
1516
2107
|
};
|
|
1517
|
-
export type
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
2108
|
+
export type ToolContent1 = ToolTextContent | ToolFileContent1;
|
|
2109
|
+
export type ModelCompatibility = {
|
|
2110
|
+
reasoningField?: ModelReasoningField;
|
|
2111
|
+
requireReasoning?: boolean;
|
|
2112
|
+
maxTokensField?: ModelMaxTokensField;
|
|
2113
|
+
requireFinishReason?: boolean;
|
|
2114
|
+
requireAssistantAfterTool?: boolean;
|
|
1522
2115
|
};
|
|
1523
2116
|
export type ModelCost = {
|
|
1524
2117
|
tier?: {
|
|
@@ -1532,6 +2125,66 @@ export type ModelCost = {
|
|
|
1532
2125
|
write: MoneyUSDPerMillionTokens;
|
|
1533
2126
|
};
|
|
1534
2127
|
};
|
|
2128
|
+
export type FormNumberField = {
|
|
2129
|
+
key: string;
|
|
2130
|
+
title?: string;
|
|
2131
|
+
description?: string;
|
|
2132
|
+
required?: boolean;
|
|
2133
|
+
when?: Array<FormWhen>;
|
|
2134
|
+
type: "number";
|
|
2135
|
+
minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
2136
|
+
maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
2137
|
+
default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
2138
|
+
};
|
|
2139
|
+
export type FormIntegerField = {
|
|
2140
|
+
key: string;
|
|
2141
|
+
title?: string;
|
|
2142
|
+
description?: string;
|
|
2143
|
+
required?: boolean;
|
|
2144
|
+
when?: Array<FormWhen>;
|
|
2145
|
+
type: "integer";
|
|
2146
|
+
minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
2147
|
+
maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
2148
|
+
default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
2149
|
+
};
|
|
2150
|
+
export type FormBooleanField = {
|
|
2151
|
+
key: string;
|
|
2152
|
+
title?: string;
|
|
2153
|
+
description?: string;
|
|
2154
|
+
required?: boolean;
|
|
2155
|
+
when?: Array<FormWhen>;
|
|
2156
|
+
type: "boolean";
|
|
2157
|
+
default?: boolean;
|
|
2158
|
+
};
|
|
2159
|
+
export type FormStringField = {
|
|
2160
|
+
key: string;
|
|
2161
|
+
title?: string;
|
|
2162
|
+
description?: string;
|
|
2163
|
+
required?: boolean;
|
|
2164
|
+
when?: Array<FormWhen>;
|
|
2165
|
+
type: "string";
|
|
2166
|
+
format?: "email" | "uri" | "date" | "date-time";
|
|
2167
|
+
minLength?: number;
|
|
2168
|
+
maxLength?: number;
|
|
2169
|
+
pattern?: string;
|
|
2170
|
+
placeholder?: string;
|
|
2171
|
+
default?: string;
|
|
2172
|
+
options?: Array<FormOption>;
|
|
2173
|
+
custom?: boolean;
|
|
2174
|
+
};
|
|
2175
|
+
export type FormMultiselectField = {
|
|
2176
|
+
key: string;
|
|
2177
|
+
title?: string;
|
|
2178
|
+
description?: string;
|
|
2179
|
+
required?: boolean;
|
|
2180
|
+
when?: Array<FormWhen>;
|
|
2181
|
+
type: "multiselect";
|
|
2182
|
+
options: Array<FormOption>;
|
|
2183
|
+
minItems?: number;
|
|
2184
|
+
maxItems?: number;
|
|
2185
|
+
custom?: boolean;
|
|
2186
|
+
default?: Array<string>;
|
|
2187
|
+
};
|
|
1535
2188
|
export type ConnectionInfo = ConnectionCredentialInfo | ConnectionEnvInfo;
|
|
1536
2189
|
export type AuthStatus = {
|
|
1537
2190
|
ready: boolean;
|
|
@@ -1558,6 +2211,25 @@ export type Project = {
|
|
|
1558
2211
|
time: ProjectTime;
|
|
1559
2212
|
sandboxes: Array<string>;
|
|
1560
2213
|
};
|
|
2214
|
+
export type ProjectUpdated = {
|
|
2215
|
+
id: string;
|
|
2216
|
+
created: number;
|
|
2217
|
+
metadata?: {
|
|
2218
|
+
[x: string]: any;
|
|
2219
|
+
};
|
|
2220
|
+
type: "project.updated";
|
|
2221
|
+
location?: LocationRef;
|
|
2222
|
+
data: {
|
|
2223
|
+
id: string;
|
|
2224
|
+
canonical: string;
|
|
2225
|
+
vcs?: ProjectVcs;
|
|
2226
|
+
name?: string;
|
|
2227
|
+
icon?: ProjectIcon;
|
|
2228
|
+
commands?: ProjectCommands;
|
|
2229
|
+
time: ProjectTime;
|
|
2230
|
+
sandboxes: Array<string>;
|
|
2231
|
+
};
|
|
2232
|
+
};
|
|
1561
2233
|
export type FormAnswer = {
|
|
1562
2234
|
[x: string]: FormValue;
|
|
1563
2235
|
};
|
|
@@ -1571,6 +2243,7 @@ export type PermissionRequest = {
|
|
|
1571
2243
|
[x: string]: JsonValue;
|
|
1572
2244
|
};
|
|
1573
2245
|
source?: PermissionSource;
|
|
2246
|
+
message?: string;
|
|
1574
2247
|
};
|
|
1575
2248
|
export type PermissionAsked = {
|
|
1576
2249
|
id: string;
|
|
@@ -1590,6 +2263,20 @@ export type PermissionAsked = {
|
|
|
1590
2263
|
[x: string]: any;
|
|
1591
2264
|
};
|
|
1592
2265
|
source?: PermissionSource;
|
|
2266
|
+
message?: string;
|
|
2267
|
+
};
|
|
2268
|
+
};
|
|
2269
|
+
export type SessionToolsUpdated = {
|
|
2270
|
+
id: string;
|
|
2271
|
+
created: number;
|
|
2272
|
+
metadata?: {
|
|
2273
|
+
[x: string]: any;
|
|
2274
|
+
};
|
|
2275
|
+
type: "session.tools.updated";
|
|
2276
|
+
location?: LocationRef;
|
|
2277
|
+
data: {
|
|
2278
|
+
sessionID: string;
|
|
2279
|
+
tools: Array<SessionDynamicToolDefinition1>;
|
|
1593
2280
|
};
|
|
1594
2281
|
};
|
|
1595
2282
|
export type PermissionReplied = {
|
|
@@ -1630,91 +2317,122 @@ export type PtyUpdated = {
|
|
|
1630
2317
|
info: Pty;
|
|
1631
2318
|
};
|
|
1632
2319
|
};
|
|
1633
|
-
export type
|
|
2320
|
+
export type PersistentPtyAdded = {
|
|
1634
2321
|
id: string;
|
|
1635
2322
|
created: number;
|
|
1636
2323
|
metadata?: {
|
|
1637
2324
|
[x: string]: any;
|
|
1638
2325
|
};
|
|
1639
|
-
type: "
|
|
2326
|
+
type: "persistent-pty.added";
|
|
1640
2327
|
location?: LocationRef;
|
|
1641
2328
|
data: {
|
|
1642
2329
|
sessionID: string;
|
|
1643
|
-
|
|
2330
|
+
terminal: PersistentPtyInfo;
|
|
1644
2331
|
};
|
|
1645
2332
|
};
|
|
1646
|
-
export type
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
id: string;
|
|
1654
|
-
created: number;
|
|
1655
|
-
metadata?: {
|
|
1656
|
-
[x: string]: any;
|
|
1657
|
-
};
|
|
1658
|
-
type: "session.step.ended";
|
|
1659
|
-
durable: {
|
|
1660
|
-
aggregateID: string;
|
|
1661
|
-
seq: number;
|
|
1662
|
-
version: 1;
|
|
1663
|
-
};
|
|
1664
|
-
location?: LocationRef;
|
|
1665
|
-
data: {
|
|
1666
|
-
sessionID: string;
|
|
1667
|
-
assistantMessageID: string;
|
|
1668
|
-
finish: "stop" | "length" | "tool-calls" | "content-filter" | "error" | "unknown";
|
|
1669
|
-
rawFinish?: string;
|
|
1670
|
-
providerState?: SessionMessageProviderState1;
|
|
1671
|
-
cost: MoneyUSD;
|
|
1672
|
-
tokens: TokenUsageInfo;
|
|
1673
|
-
snapshot?: string;
|
|
1674
|
-
files?: Array<string>;
|
|
2333
|
+
export type PersistentPtySnapshot = {
|
|
2334
|
+
info: PersistentPtyInfo;
|
|
2335
|
+
text: string;
|
|
2336
|
+
checkpoint: string;
|
|
2337
|
+
cursor: {
|
|
2338
|
+
x: number;
|
|
2339
|
+
y: number;
|
|
1675
2340
|
};
|
|
1676
2341
|
};
|
|
1677
|
-
export type
|
|
2342
|
+
export type FormStringField1 = {
|
|
2343
|
+
key: string;
|
|
2344
|
+
title?: string;
|
|
2345
|
+
description?: string;
|
|
2346
|
+
required?: boolean;
|
|
2347
|
+
when?: Array<FormWhen1>;
|
|
2348
|
+
type: "string";
|
|
2349
|
+
format?: "email" | "uri" | "date" | "date-time";
|
|
2350
|
+
minLength?: number;
|
|
2351
|
+
maxLength?: number;
|
|
2352
|
+
pattern?: string;
|
|
2353
|
+
placeholder?: string;
|
|
2354
|
+
default?: string;
|
|
2355
|
+
options?: Array<FormOption>;
|
|
2356
|
+
custom?: boolean;
|
|
2357
|
+
};
|
|
2358
|
+
export type FormNumberField1 = {
|
|
2359
|
+
key: string;
|
|
2360
|
+
title?: string;
|
|
2361
|
+
description?: string;
|
|
2362
|
+
required?: boolean;
|
|
2363
|
+
when?: Array<FormWhen1>;
|
|
2364
|
+
type: "number";
|
|
2365
|
+
minimum?: number;
|
|
2366
|
+
maximum?: number;
|
|
2367
|
+
default?: number;
|
|
2368
|
+
};
|
|
2369
|
+
export type FormIntegerField1 = {
|
|
2370
|
+
key: string;
|
|
2371
|
+
title?: string;
|
|
2372
|
+
description?: string;
|
|
2373
|
+
required?: boolean;
|
|
2374
|
+
when?: Array<FormWhen1>;
|
|
2375
|
+
type: "integer";
|
|
2376
|
+
minimum?: number;
|
|
2377
|
+
maximum?: number;
|
|
2378
|
+
default?: number;
|
|
2379
|
+
};
|
|
2380
|
+
export type FormBooleanField1 = {
|
|
2381
|
+
key: string;
|
|
2382
|
+
title?: string;
|
|
2383
|
+
description?: string;
|
|
2384
|
+
required?: boolean;
|
|
2385
|
+
when?: Array<FormWhen1>;
|
|
2386
|
+
type: "boolean";
|
|
2387
|
+
default?: boolean;
|
|
2388
|
+
};
|
|
2389
|
+
export type FormMultiselectField1 = {
|
|
2390
|
+
key: string;
|
|
2391
|
+
title?: string;
|
|
2392
|
+
description?: string;
|
|
2393
|
+
required?: boolean;
|
|
2394
|
+
when?: Array<FormWhen1>;
|
|
2395
|
+
type: "multiselect";
|
|
2396
|
+
options: Array<FormOption>;
|
|
2397
|
+
minItems?: number;
|
|
2398
|
+
maxItems?: number;
|
|
2399
|
+
custom?: boolean;
|
|
2400
|
+
default?: Array<string>;
|
|
2401
|
+
};
|
|
2402
|
+
export type SessionStatusUpdated = {
|
|
1678
2403
|
id: string;
|
|
1679
2404
|
created: number;
|
|
1680
2405
|
metadata?: {
|
|
1681
2406
|
[x: string]: any;
|
|
1682
2407
|
};
|
|
1683
|
-
type: "session.
|
|
1684
|
-
durable: {
|
|
1685
|
-
aggregateID: string;
|
|
1686
|
-
seq: number;
|
|
1687
|
-
version: 1;
|
|
1688
|
-
};
|
|
2408
|
+
type: "session.status";
|
|
1689
2409
|
location?: LocationRef;
|
|
1690
2410
|
data: {
|
|
1691
2411
|
sessionID: string;
|
|
1692
|
-
|
|
1693
|
-
cost: MoneyUSD;
|
|
1694
|
-
tokens: TokenUsageInfo;
|
|
2412
|
+
status: SessionStatus;
|
|
1695
2413
|
};
|
|
1696
2414
|
};
|
|
1697
|
-
export type
|
|
2415
|
+
export type ReferenceSource = ReferenceLocalSource | ReferenceGitSource;
|
|
2416
|
+
export type WorktreeList = Array<WorktreeDirectory>;
|
|
2417
|
+
export type VcsInfo = {
|
|
2418
|
+
branch: VcsBranch;
|
|
2419
|
+
};
|
|
2420
|
+
export type PermissionRuleset = Array<PermissionRule>;
|
|
2421
|
+
export type SessionInboxMove = {
|
|
1698
2422
|
id: string;
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
location?: LocationRef;
|
|
1705
|
-
data: {
|
|
1706
|
-
sessionID: string;
|
|
1707
|
-
cost: MoneyUSD;
|
|
1708
|
-
tokens: TokenUsageInfo;
|
|
1709
|
-
};
|
|
2423
|
+
sessionID: string;
|
|
2424
|
+
timeCreated: number;
|
|
2425
|
+
type: "move";
|
|
2426
|
+
payload: SessionInboxMovePayload;
|
|
2427
|
+
delivery: SessionInboxDelivery;
|
|
1710
2428
|
};
|
|
1711
|
-
export type
|
|
2429
|
+
export type SessionRevertStaged = {
|
|
1712
2430
|
id: string;
|
|
1713
2431
|
created: number;
|
|
1714
2432
|
metadata?: {
|
|
1715
2433
|
[x: string]: any;
|
|
1716
2434
|
};
|
|
1717
|
-
type: "session.
|
|
2435
|
+
type: "session.revert.staged";
|
|
1718
2436
|
durable: {
|
|
1719
2437
|
aggregateID: string;
|
|
1720
2438
|
seq: number;
|
|
@@ -1723,77 +2441,30 @@ export type SessionStepFailed = {
|
|
|
1723
2441
|
location?: LocationRef;
|
|
1724
2442
|
data: {
|
|
1725
2443
|
sessionID: string;
|
|
1726
|
-
|
|
1727
|
-
error: SessionStructuredError;
|
|
1728
|
-
finish?: "content-filter";
|
|
1729
|
-
rawFinish?: string;
|
|
1730
|
-
providerState?: SessionMessageProviderState1;
|
|
1731
|
-
cost?: MoneyUSD;
|
|
1732
|
-
tokens?: TokenUsageInfo;
|
|
1733
|
-
snapshot?: string;
|
|
1734
|
-
files?: Array<string>;
|
|
2444
|
+
revert: SessionRevert;
|
|
1735
2445
|
};
|
|
1736
2446
|
};
|
|
1737
|
-
export type SessionInboxMove = {
|
|
1738
|
-
id: string;
|
|
1739
|
-
sessionID: string;
|
|
1740
|
-
timeCreated: number;
|
|
1741
|
-
type: "move";
|
|
1742
|
-
payload: SessionInboxMovePayload;
|
|
1743
|
-
delivery: SessionInboxDelivery;
|
|
1744
|
-
};
|
|
1745
|
-
export type SessionRevert = {
|
|
1746
|
-
messageID: string;
|
|
1747
|
-
partID?: string;
|
|
1748
|
-
snapshot?: string;
|
|
1749
|
-
files?: Array<FileDiffInfo>;
|
|
1750
|
-
};
|
|
1751
2447
|
export type SessionPolicy = {
|
|
1752
2448
|
tools: SessionPolicyTools;
|
|
1753
2449
|
};
|
|
1754
|
-
export type
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
};
|
|
1759
|
-
time: {
|
|
1760
|
-
created: number;
|
|
1761
|
-
};
|
|
1762
|
-
type: "agent-switched";
|
|
1763
|
-
agent: string;
|
|
1764
|
-
previous?: string;
|
|
1765
|
-
};
|
|
1766
|
-
export type SessionMessageModelSelected = {
|
|
1767
|
-
id: string;
|
|
1768
|
-
metadata?: {
|
|
1769
|
-
[x: string]: JsonValue;
|
|
1770
|
-
};
|
|
1771
|
-
time: {
|
|
1772
|
-
created: number;
|
|
1773
|
-
};
|
|
1774
|
-
type: "model-switched";
|
|
1775
|
-
model: ModelRef;
|
|
1776
|
-
previous?: ModelRef;
|
|
1777
|
-
};
|
|
1778
|
-
export type SessionMessageLocationSwitched = {
|
|
1779
|
-
id: string;
|
|
1780
|
-
metadata?: {
|
|
1781
|
-
[x: string]: JsonValue;
|
|
1782
|
-
};
|
|
1783
|
-
time: {
|
|
1784
|
-
created: number;
|
|
1785
|
-
};
|
|
1786
|
-
type: "location-switched";
|
|
1787
|
-
location: LocationRef;
|
|
1788
|
-
projectID?: string;
|
|
1789
|
-
subpath?: string;
|
|
1790
|
-
previous?: {
|
|
1791
|
-
location: LocationRef;
|
|
1792
|
-
projectID?: string;
|
|
1793
|
-
subpath?: string;
|
|
2450
|
+
export type SessionStatsInfo = {
|
|
2451
|
+
range: {
|
|
2452
|
+
from: number;
|
|
2453
|
+
to: number;
|
|
1794
2454
|
};
|
|
2455
|
+
sessions: number;
|
|
2456
|
+
subagents: number;
|
|
2457
|
+
prompts: number;
|
|
2458
|
+
steps: number;
|
|
2459
|
+
tokens: TokenUsageInfo;
|
|
2460
|
+
cost: MoneyUSD;
|
|
2461
|
+
tools: SessionStatsTools;
|
|
2462
|
+
activeDays: number;
|
|
2463
|
+
streak: number;
|
|
2464
|
+
activity: Array<SessionStatsActivity>;
|
|
2465
|
+
models: Array<SessionStatsModelUsage>;
|
|
1795
2466
|
};
|
|
1796
|
-
export type
|
|
2467
|
+
export type SessionMessageUser = {
|
|
1797
2468
|
id: string;
|
|
1798
2469
|
metadata?: {
|
|
1799
2470
|
[x: string]: JsonValue;
|
|
@@ -1802,178 +2473,51 @@ export type SessionMessageSynthetic = {
|
|
|
1802
2473
|
created: number;
|
|
1803
2474
|
};
|
|
1804
2475
|
text: string;
|
|
1805
|
-
|
|
1806
|
-
|
|
2476
|
+
files?: Array<PromptFileAttachment>;
|
|
2477
|
+
agents?: Array<PromptAgentAttachment>;
|
|
2478
|
+
skills?: Array<PromptSkillAttachment>;
|
|
2479
|
+
type: "user";
|
|
1807
2480
|
};
|
|
1808
|
-
export type
|
|
1809
|
-
id: string;
|
|
1810
|
-
metadata?: {
|
|
1811
|
-
[x: string]: JsonValue;
|
|
1812
|
-
};
|
|
1813
|
-
time: {
|
|
1814
|
-
created: number;
|
|
1815
|
-
};
|
|
1816
|
-
type: "system";
|
|
2481
|
+
export type SessionInboxUserPayload = {
|
|
1817
2482
|
text: string;
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
id: string;
|
|
2483
|
+
files?: Array<PromptFileAttachment>;
|
|
2484
|
+
agents?: Array<PromptAgentAttachment>;
|
|
2485
|
+
skills?: Array<PromptSkillAttachment>;
|
|
1822
2486
|
metadata?: {
|
|
1823
2487
|
[x: string]: JsonValue;
|
|
1824
2488
|
};
|
|
1825
|
-
time: {
|
|
1826
|
-
created: number;
|
|
1827
|
-
};
|
|
1828
|
-
type: "skill";
|
|
1829
|
-
skill: string;
|
|
1830
|
-
name: string;
|
|
1831
|
-
text: string;
|
|
1832
2489
|
};
|
|
1833
|
-
export type
|
|
1834
|
-
|
|
2490
|
+
export type SessionInboxUserPayload1 = {
|
|
2491
|
+
text: string;
|
|
2492
|
+
files?: Array<PromptFileAttachment>;
|
|
2493
|
+
agents?: Array<PromptAgentAttachment>;
|
|
2494
|
+
skills?: Array<PromptSkillAttachment>;
|
|
1835
2495
|
metadata?: {
|
|
1836
|
-
[x: string]:
|
|
1837
|
-
};
|
|
1838
|
-
time: {
|
|
1839
|
-
created: number;
|
|
1840
|
-
completed?: number;
|
|
1841
|
-
};
|
|
1842
|
-
type: "shell";
|
|
1843
|
-
shellID: string;
|
|
1844
|
-
command: string;
|
|
1845
|
-
status: "running" | "exited" | "timeout" | "killed";
|
|
1846
|
-
exit?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
1847
|
-
output?: {
|
|
1848
|
-
output: string;
|
|
1849
|
-
cursor: number;
|
|
1850
|
-
size: number;
|
|
1851
|
-
truncated: boolean;
|
|
2496
|
+
[x: string]: any;
|
|
1852
2497
|
};
|
|
1853
2498
|
};
|
|
1854
|
-
export type
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
metadata?: {
|
|
2499
|
+
export type SessionMessageToolStateCompleted = {
|
|
2500
|
+
status: "completed";
|
|
2501
|
+
input: {
|
|
1858
2502
|
[x: string]: JsonValue;
|
|
1859
2503
|
};
|
|
1860
|
-
|
|
1861
|
-
created: number;
|
|
1862
|
-
};
|
|
1863
|
-
status: "running";
|
|
1864
|
-
reason: "auto" | "manual";
|
|
1865
|
-
summary: string;
|
|
1866
|
-
recent: string;
|
|
1867
|
-
};
|
|
1868
|
-
export type SessionMessageCompactionCompleted = {
|
|
1869
|
-
type: "compaction";
|
|
1870
|
-
id: string;
|
|
2504
|
+
content: [ToolContent, ...Array<ToolContent>];
|
|
1871
2505
|
metadata?: {
|
|
1872
2506
|
[x: string]: JsonValue;
|
|
1873
2507
|
};
|
|
1874
|
-
time: {
|
|
1875
|
-
created: number;
|
|
1876
|
-
};
|
|
1877
|
-
status: "completed";
|
|
1878
|
-
reason: "auto" | "manual";
|
|
1879
|
-
summary: string;
|
|
1880
|
-
recent: string;
|
|
1881
2508
|
};
|
|
1882
|
-
export type
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
metadata?: {
|
|
2509
|
+
export type SessionMessageToolStateError = {
|
|
2510
|
+
status: "error";
|
|
2511
|
+
input: {
|
|
1886
2512
|
[x: string]: JsonValue;
|
|
1887
2513
|
};
|
|
1888
|
-
time: {
|
|
1889
|
-
created: number;
|
|
1890
|
-
};
|
|
1891
|
-
status: "failed";
|
|
1892
|
-
reason: "auto" | "manual";
|
|
1893
2514
|
error: SessionStructuredError;
|
|
1894
|
-
|
|
1895
|
-
export type SessionMessageAssistantText = {
|
|
1896
|
-
type: "text";
|
|
1897
|
-
text: string;
|
|
1898
|
-
state?: SessionMessageProviderState;
|
|
1899
|
-
};
|
|
1900
|
-
export type SessionMessageAssistantReasoning = {
|
|
1901
|
-
type: "reasoning";
|
|
1902
|
-
text: string;
|
|
1903
|
-
state?: SessionMessageProviderState;
|
|
1904
|
-
time?: {
|
|
1905
|
-
created: number;
|
|
1906
|
-
completed?: number;
|
|
1907
|
-
};
|
|
1908
|
-
};
|
|
1909
|
-
export type SessionInboxSynthetic = {
|
|
1910
|
-
id: string;
|
|
1911
|
-
sessionID: string;
|
|
1912
|
-
timeCreated: number;
|
|
1913
|
-
type: "synthetic";
|
|
1914
|
-
payload: SessionInboxSyntheticPayload;
|
|
1915
|
-
delivery: SessionInboxDelivery;
|
|
1916
|
-
};
|
|
1917
|
-
export type FormWhen = {
|
|
1918
|
-
key: string;
|
|
1919
|
-
op: "eq" | "neq";
|
|
1920
|
-
value: string | (number | ("Infinity" | "-Infinity" | "NaN")) | boolean;
|
|
1921
|
-
};
|
|
1922
|
-
export type ToolContent = ToolTextContent | ToolFileContent;
|
|
1923
|
-
export type SessionShellStarted = {
|
|
1924
|
-
id: string;
|
|
1925
|
-
created: number;
|
|
1926
|
-
metadata?: {
|
|
1927
|
-
[x: string]: any;
|
|
1928
|
-
};
|
|
1929
|
-
type: "session.shell.started";
|
|
1930
|
-
durable: {
|
|
1931
|
-
aggregateID: string;
|
|
1932
|
-
seq: number;
|
|
1933
|
-
version: 1;
|
|
1934
|
-
};
|
|
1935
|
-
location?: LocationRef;
|
|
1936
|
-
data: {
|
|
1937
|
-
sessionID: string;
|
|
1938
|
-
shell: ShellInfo;
|
|
1939
|
-
};
|
|
1940
|
-
};
|
|
1941
|
-
export type SessionShellEnded = {
|
|
1942
|
-
id: string;
|
|
1943
|
-
created: number;
|
|
1944
|
-
metadata?: {
|
|
1945
|
-
[x: string]: any;
|
|
1946
|
-
};
|
|
1947
|
-
type: "session.shell.ended";
|
|
1948
|
-
durable: {
|
|
1949
|
-
aggregateID: string;
|
|
1950
|
-
seq: number;
|
|
1951
|
-
version: 1;
|
|
1952
|
-
};
|
|
1953
|
-
location?: LocationRef;
|
|
1954
|
-
data: {
|
|
1955
|
-
sessionID: string;
|
|
1956
|
-
shell: ShellInfo;
|
|
1957
|
-
output: {
|
|
1958
|
-
output: string;
|
|
1959
|
-
cursor: number;
|
|
1960
|
-
size: number;
|
|
1961
|
-
truncated: boolean;
|
|
1962
|
-
};
|
|
1963
|
-
};
|
|
1964
|
-
};
|
|
1965
|
-
export type ShellCreated = {
|
|
1966
|
-
id: string;
|
|
1967
|
-
created: number;
|
|
2515
|
+
content?: [ToolContent, ...Array<ToolContent>];
|
|
1968
2516
|
metadata?: {
|
|
1969
|
-
[x: string]:
|
|
1970
|
-
};
|
|
1971
|
-
type: "shell.created";
|
|
1972
|
-
location?: LocationRef;
|
|
1973
|
-
data: {
|
|
1974
|
-
info: ShellInfo;
|
|
2517
|
+
[x: string]: JsonValue;
|
|
1975
2518
|
};
|
|
1976
2519
|
};
|
|
2520
|
+
export type SessionMessageCompaction = SessionMessageCompactionRunning | SessionMessageCompactionCompleted | SessionMessageCompactionFailed;
|
|
1977
2521
|
export type SessionToolSuccess = {
|
|
1978
2522
|
id: string;
|
|
1979
2523
|
created: number;
|
|
@@ -2025,6 +2569,27 @@ export type SessionToolFailed = {
|
|
|
2025
2569
|
resultState?: SessionMessageProviderState1;
|
|
2026
2570
|
};
|
|
2027
2571
|
};
|
|
2572
|
+
export type SessionMessageToolStateCompleted1 = {
|
|
2573
|
+
status: "completed";
|
|
2574
|
+
input: {
|
|
2575
|
+
[x: string]: any;
|
|
2576
|
+
};
|
|
2577
|
+
content: [ToolContent1, ...Array<ToolContent1>];
|
|
2578
|
+
metadata?: {
|
|
2579
|
+
[x: string]: JsonValue;
|
|
2580
|
+
};
|
|
2581
|
+
};
|
|
2582
|
+
export type SessionMessageToolStateError1 = {
|
|
2583
|
+
status: "error";
|
|
2584
|
+
input: {
|
|
2585
|
+
[x: string]: any;
|
|
2586
|
+
};
|
|
2587
|
+
error: SessionStructuredError;
|
|
2588
|
+
content?: [ToolContent1, ...Array<ToolContent1>];
|
|
2589
|
+
metadata?: {
|
|
2590
|
+
[x: string]: JsonValue;
|
|
2591
|
+
};
|
|
2592
|
+
};
|
|
2028
2593
|
export type ModelInfo = {
|
|
2029
2594
|
id: string;
|
|
2030
2595
|
modelID: string;
|
|
@@ -2056,6 +2621,7 @@ export type ModelInfo = {
|
|
|
2056
2621
|
output: number;
|
|
2057
2622
|
};
|
|
2058
2623
|
};
|
|
2624
|
+
export type FormField = FormStringField | FormNumberField | FormIntegerField | FormBooleanField | FormMultiselectField | FormExternalField;
|
|
2059
2625
|
export type FormState = {
|
|
2060
2626
|
status: "pending";
|
|
2061
2627
|
} | {
|
|
@@ -2078,66 +2644,7 @@ export type FormReplied = {
|
|
|
2078
2644
|
answer: FormAnswer;
|
|
2079
2645
|
};
|
|
2080
2646
|
};
|
|
2081
|
-
export type
|
|
2082
|
-
key: string;
|
|
2083
|
-
title?: string;
|
|
2084
|
-
description?: string;
|
|
2085
|
-
required?: boolean;
|
|
2086
|
-
when?: Array<FormWhen1>;
|
|
2087
|
-
type: "string";
|
|
2088
|
-
format?: "email" | "uri" | "date" | "date-time";
|
|
2089
|
-
minLength?: number;
|
|
2090
|
-
maxLength?: number;
|
|
2091
|
-
pattern?: string;
|
|
2092
|
-
placeholder?: string;
|
|
2093
|
-
default?: string;
|
|
2094
|
-
options?: Array<FormOption>;
|
|
2095
|
-
custom?: boolean;
|
|
2096
|
-
};
|
|
2097
|
-
export type FormNumberField1 = {
|
|
2098
|
-
key: string;
|
|
2099
|
-
title?: string;
|
|
2100
|
-
description?: string;
|
|
2101
|
-
required?: boolean;
|
|
2102
|
-
when?: Array<FormWhen1>;
|
|
2103
|
-
type: "number";
|
|
2104
|
-
minimum?: number;
|
|
2105
|
-
maximum?: number;
|
|
2106
|
-
default?: number;
|
|
2107
|
-
};
|
|
2108
|
-
export type FormIntegerField1 = {
|
|
2109
|
-
key: string;
|
|
2110
|
-
title?: string;
|
|
2111
|
-
description?: string;
|
|
2112
|
-
required?: boolean;
|
|
2113
|
-
when?: Array<FormWhen1>;
|
|
2114
|
-
type: "integer";
|
|
2115
|
-
minimum?: number;
|
|
2116
|
-
maximum?: number;
|
|
2117
|
-
default?: number;
|
|
2118
|
-
};
|
|
2119
|
-
export type FormBooleanField1 = {
|
|
2120
|
-
key: string;
|
|
2121
|
-
title?: string;
|
|
2122
|
-
description?: string;
|
|
2123
|
-
required?: boolean;
|
|
2124
|
-
when?: Array<FormWhen1>;
|
|
2125
|
-
type: "boolean";
|
|
2126
|
-
default?: boolean;
|
|
2127
|
-
};
|
|
2128
|
-
export type FormMultiselectField1 = {
|
|
2129
|
-
key: string;
|
|
2130
|
-
title?: string;
|
|
2131
|
-
description?: string;
|
|
2132
|
-
required?: boolean;
|
|
2133
|
-
when?: Array<FormWhen1>;
|
|
2134
|
-
type: "multiselect";
|
|
2135
|
-
options: Array<FormOption>;
|
|
2136
|
-
minItems?: number;
|
|
2137
|
-
maxItems?: number;
|
|
2138
|
-
custom?: boolean;
|
|
2139
|
-
default?: Array<string>;
|
|
2140
|
-
};
|
|
2647
|
+
export type FormField1 = FormStringField1 | FormNumberField1 | FormIntegerField1 | FormBooleanField1 | FormMultiselectField1 | FormExternalField;
|
|
2141
2648
|
export type ReferenceInfo = {
|
|
2142
2649
|
name: string;
|
|
2143
2650
|
path: string;
|
|
@@ -2436,24 +2943,6 @@ export type ConfigEntry = {
|
|
|
2436
2943
|
type: "claude";
|
|
2437
2944
|
path: string;
|
|
2438
2945
|
};
|
|
2439
|
-
export type SessionRevertStaged = {
|
|
2440
|
-
id: string;
|
|
2441
|
-
created: number;
|
|
2442
|
-
metadata?: {
|
|
2443
|
-
[x: string]: any;
|
|
2444
|
-
};
|
|
2445
|
-
type: "session.revert.staged";
|
|
2446
|
-
durable: {
|
|
2447
|
-
aggregateID: string;
|
|
2448
|
-
seq: number;
|
|
2449
|
-
version: 1;
|
|
2450
|
-
};
|
|
2451
|
-
location?: LocationRef;
|
|
2452
|
-
data: {
|
|
2453
|
-
sessionID: string;
|
|
2454
|
-
revert: SessionRevert;
|
|
2455
|
-
};
|
|
2456
|
-
};
|
|
2457
2946
|
export type SessionInfo = {
|
|
2458
2947
|
id: string;
|
|
2459
2948
|
parentID?: string;
|
|
@@ -2477,6 +2966,7 @@ export type SessionInfo = {
|
|
|
2477
2966
|
title?: string;
|
|
2478
2967
|
location: LocationRef;
|
|
2479
2968
|
subpath?: string;
|
|
2969
|
+
metadata?: SessionMetadata;
|
|
2480
2970
|
revert?: SessionRevert;
|
|
2481
2971
|
policy?: SessionPolicy;
|
|
2482
2972
|
};
|
|
@@ -2504,6 +2994,7 @@ export type SessionCreated = {
|
|
|
2504
2994
|
agent?: string;
|
|
2505
2995
|
model?: ModelRef;
|
|
2506
2996
|
policy?: SessionPolicy;
|
|
2997
|
+
metadata?: SessionMetadata;
|
|
2507
2998
|
version: string;
|
|
2508
2999
|
};
|
|
2509
3000
|
};
|
|
@@ -2524,219 +3015,37 @@ export type SessionForked = {
|
|
|
2524
3015
|
sessionID: string;
|
|
2525
3016
|
parentID: string;
|
|
2526
3017
|
boundary: SessionForkBoundary;
|
|
2527
|
-
instructions?: {
|
|
2528
|
-
[x: string]: string;
|
|
2529
|
-
};
|
|
2530
|
-
policy?: SessionPolicy;
|
|
2531
|
-
instructionEntries?: InstructionEntrySnapshot;
|
|
2532
|
-
};
|
|
2533
|
-
};
|
|
2534
|
-
export type SessionMessageCompaction = SessionMessageCompactionRunning | SessionMessageCompactionCompleted | SessionMessageCompactionFailed;
|
|
2535
|
-
export type SessionMessageUser = {
|
|
2536
|
-
id: string;
|
|
2537
|
-
metadata?: {
|
|
2538
|
-
[x: string]: JsonValue;
|
|
2539
|
-
};
|
|
2540
|
-
time: {
|
|
2541
|
-
created: number;
|
|
2542
|
-
};
|
|
2543
|
-
text: string;
|
|
2544
|
-
files?: Array<PromptFileAttachment>;
|
|
2545
|
-
agents?: Array<PromptAgentAttachment>;
|
|
2546
|
-
skills?: Array<PromptSkillAttachment>;
|
|
2547
|
-
type: "user";
|
|
2548
|
-
};
|
|
2549
|
-
export type SessionInboxUserPayload = {
|
|
2550
|
-
text: string;
|
|
2551
|
-
files?: Array<PromptFileAttachment>;
|
|
2552
|
-
agents?: Array<PromptAgentAttachment>;
|
|
2553
|
-
skills?: Array<PromptSkillAttachment>;
|
|
2554
|
-
metadata?: {
|
|
2555
|
-
[x: string]: JsonValue;
|
|
2556
|
-
};
|
|
2557
|
-
};
|
|
2558
|
-
export type SessionInboxUserPayload1 = {
|
|
2559
|
-
text: string;
|
|
2560
|
-
files?: Array<PromptFileAttachment>;
|
|
2561
|
-
agents?: Array<PromptAgentAttachment>;
|
|
2562
|
-
skills?: Array<PromptSkillAttachment>;
|
|
2563
|
-
metadata?: {
|
|
2564
|
-
[x: string]: any;
|
|
2565
|
-
};
|
|
2566
|
-
};
|
|
2567
|
-
export type IntegrationAttemptStatus = {
|
|
2568
|
-
status: "pending";
|
|
2569
|
-
time: {
|
|
2570
|
-
created: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2571
|
-
expires: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2572
|
-
};
|
|
2573
|
-
} | {
|
|
2574
|
-
status: "complete";
|
|
2575
|
-
time: {
|
|
2576
|
-
created: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2577
|
-
expires: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2578
|
-
};
|
|
2579
|
-
} | {
|
|
2580
|
-
status: "failed";
|
|
2581
|
-
message: string;
|
|
2582
|
-
time: {
|
|
2583
|
-
created: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2584
|
-
expires: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2585
|
-
};
|
|
2586
|
-
} | {
|
|
2587
|
-
status: "expired";
|
|
2588
|
-
time: {
|
|
2589
|
-
created: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2590
|
-
expires: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2591
|
-
};
|
|
2592
|
-
};
|
|
2593
|
-
export type IntegrationCommandAttempt = {
|
|
2594
|
-
attemptID: string;
|
|
2595
|
-
time: {
|
|
2596
|
-
created: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2597
|
-
expires: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2598
|
-
};
|
|
2599
|
-
};
|
|
2600
|
-
export type IntegrationCommandAttemptStatus = {
|
|
2601
|
-
status: "pending";
|
|
2602
|
-
message?: string;
|
|
2603
|
-
time: {
|
|
2604
|
-
created: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2605
|
-
expires: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2606
|
-
};
|
|
2607
|
-
} | {
|
|
2608
|
-
status: "complete";
|
|
2609
|
-
time: {
|
|
2610
|
-
created: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2611
|
-
expires: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2612
|
-
};
|
|
2613
|
-
} | {
|
|
2614
|
-
status: "failed";
|
|
2615
|
-
message: string;
|
|
2616
|
-
time: {
|
|
2617
|
-
created: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2618
|
-
expires: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2619
|
-
};
|
|
2620
|
-
} | {
|
|
2621
|
-
status: "expired";
|
|
2622
|
-
time: {
|
|
2623
|
-
created: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2624
|
-
expires: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2625
|
-
};
|
|
2626
|
-
};
|
|
2627
|
-
export type SessionMessageToolStateCompleted = {
|
|
2628
|
-
status: "completed";
|
|
2629
|
-
input: {
|
|
2630
|
-
[x: string]: JsonValue;
|
|
2631
|
-
};
|
|
2632
|
-
content: [ToolContent, ...Array<ToolContent>];
|
|
2633
|
-
metadata?: {
|
|
2634
|
-
[x: string]: JsonValue;
|
|
2635
|
-
};
|
|
2636
|
-
};
|
|
2637
|
-
export type SessionMessageToolStateError = {
|
|
2638
|
-
status: "error";
|
|
2639
|
-
input: {
|
|
2640
|
-
[x: string]: JsonValue;
|
|
2641
|
-
};
|
|
2642
|
-
error: SessionStructuredError;
|
|
2643
|
-
content?: [ToolContent, ...Array<ToolContent>];
|
|
2644
|
-
metadata?: {
|
|
2645
|
-
[x: string]: JsonValue;
|
|
2646
|
-
};
|
|
2647
|
-
};
|
|
2648
|
-
export type FormField1 = FormStringField1 | FormNumberField1 | FormIntegerField1 | FormBooleanField1 | FormMultiselectField1 | FormExternalField;
|
|
2649
|
-
export type SessionsResponse = {
|
|
2650
|
-
data: Array<SessionInfo>;
|
|
2651
|
-
cursor: {
|
|
2652
|
-
previous?: string | null;
|
|
2653
|
-
next?: string | null;
|
|
2654
|
-
};
|
|
2655
|
-
};
|
|
2656
|
-
export type SessionInboxUser = {
|
|
2657
|
-
id: string;
|
|
2658
|
-
sessionID: string;
|
|
2659
|
-
timeCreated: number;
|
|
2660
|
-
type: "user";
|
|
2661
|
-
payload: SessionInboxUserPayload;
|
|
2662
|
-
delivery: SessionInboxDelivery;
|
|
2663
|
-
};
|
|
2664
|
-
export type SessionInboxItem = {
|
|
2665
|
-
type: "user";
|
|
2666
|
-
payload: SessionInboxUserPayload1;
|
|
2667
|
-
delivery: SessionInboxDelivery;
|
|
2668
|
-
} | {
|
|
2669
|
-
type: "synthetic";
|
|
2670
|
-
payload: SessionInboxSyntheticPayload1;
|
|
2671
|
-
delivery: SessionInboxDelivery;
|
|
2672
|
-
} | {
|
|
2673
|
-
type: "compaction";
|
|
2674
|
-
payload: SessionInboxCompactionPayload;
|
|
2675
|
-
delivery: SessionInboxDelivery;
|
|
2676
|
-
} | {
|
|
2677
|
-
type: "move";
|
|
2678
|
-
payload: SessionInboxMovePayload;
|
|
2679
|
-
delivery: SessionInboxDelivery;
|
|
2680
|
-
};
|
|
2681
|
-
export type FormStringField = {
|
|
2682
|
-
key: string;
|
|
2683
|
-
title?: string;
|
|
2684
|
-
description?: string;
|
|
2685
|
-
required?: boolean;
|
|
2686
|
-
when?: Array<FormWhen>;
|
|
2687
|
-
type: "string";
|
|
2688
|
-
format?: "email" | "uri" | "date" | "date-time";
|
|
2689
|
-
minLength?: number;
|
|
2690
|
-
maxLength?: number;
|
|
2691
|
-
pattern?: string;
|
|
2692
|
-
placeholder?: string;
|
|
2693
|
-
default?: string;
|
|
2694
|
-
options?: Array<FormOption>;
|
|
2695
|
-
custom?: boolean;
|
|
2696
|
-
};
|
|
2697
|
-
export type FormNumberField = {
|
|
2698
|
-
key: string;
|
|
2699
|
-
title?: string;
|
|
2700
|
-
description?: string;
|
|
2701
|
-
required?: boolean;
|
|
2702
|
-
when?: Array<FormWhen>;
|
|
2703
|
-
type: "number";
|
|
2704
|
-
minimum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2705
|
-
maximum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2706
|
-
default?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2707
|
-
};
|
|
2708
|
-
export type FormIntegerField = {
|
|
2709
|
-
key: string;
|
|
2710
|
-
title?: string;
|
|
2711
|
-
description?: string;
|
|
2712
|
-
required?: boolean;
|
|
2713
|
-
when?: Array<FormWhen>;
|
|
2714
|
-
type: "integer";
|
|
2715
|
-
minimum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2716
|
-
maximum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2717
|
-
default?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
3018
|
+
instructions?: {
|
|
3019
|
+
[x: string]: string;
|
|
3020
|
+
};
|
|
3021
|
+
policy?: SessionPolicy;
|
|
3022
|
+
instructionEntries?: InstructionEntrySnapshot;
|
|
3023
|
+
};
|
|
2718
3024
|
};
|
|
2719
|
-
export type
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
default?: boolean;
|
|
3025
|
+
export type SessionInboxUser = {
|
|
3026
|
+
id: string;
|
|
3027
|
+
sessionID: string;
|
|
3028
|
+
timeCreated: number;
|
|
3029
|
+
type: "user";
|
|
3030
|
+
payload: SessionInboxUserPayload;
|
|
3031
|
+
delivery: SessionInboxDelivery;
|
|
2727
3032
|
};
|
|
2728
|
-
export type
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
3033
|
+
export type SessionInboxItem = {
|
|
3034
|
+
type: "user";
|
|
3035
|
+
payload: SessionInboxUserPayload1;
|
|
3036
|
+
delivery: SessionInboxDelivery;
|
|
3037
|
+
} | {
|
|
3038
|
+
type: "synthetic";
|
|
3039
|
+
payload: SessionInboxSyntheticPayload1;
|
|
3040
|
+
delivery: SessionInboxDelivery;
|
|
3041
|
+
} | {
|
|
3042
|
+
type: "compaction";
|
|
3043
|
+
payload: SessionInboxCompactionPayload;
|
|
3044
|
+
delivery: SessionInboxDelivery;
|
|
3045
|
+
} | {
|
|
3046
|
+
type: "move";
|
|
3047
|
+
payload: SessionInboxMovePayload;
|
|
3048
|
+
delivery: SessionInboxDelivery;
|
|
2740
3049
|
};
|
|
2741
3050
|
export type SessionMessageAssistantTool = {
|
|
2742
3051
|
type: "tool";
|
|
@@ -2752,7 +3061,29 @@ export type SessionMessageAssistantTool = {
|
|
|
2752
3061
|
completed?: number;
|
|
2753
3062
|
};
|
|
2754
3063
|
};
|
|
3064
|
+
export type SessionMessageAssistantTool1 = {
|
|
3065
|
+
type: "tool";
|
|
3066
|
+
id: string;
|
|
3067
|
+
name: string;
|
|
3068
|
+
executed?: boolean;
|
|
3069
|
+
providerState?: SessionMessageProviderState1;
|
|
3070
|
+
providerResultState?: SessionMessageProviderState1;
|
|
3071
|
+
state: SessionMessageToolStateStreaming | SessionMessageToolStateRunning1 | SessionMessageToolStateCompleted1 | SessionMessageToolStateError1;
|
|
3072
|
+
time: {
|
|
3073
|
+
created: number;
|
|
3074
|
+
ran?: number;
|
|
3075
|
+
completed?: number;
|
|
3076
|
+
};
|
|
3077
|
+
};
|
|
3078
|
+
export type FormFields = [FormField, ...Array<FormField>];
|
|
2755
3079
|
export type FormFields2 = [FormField1, ...Array<FormField1>];
|
|
3080
|
+
export type SessionsResponse = {
|
|
3081
|
+
data: Array<SessionInfo>;
|
|
3082
|
+
cursor: {
|
|
3083
|
+
previous?: string | null;
|
|
3084
|
+
next?: string | null;
|
|
3085
|
+
};
|
|
3086
|
+
};
|
|
2756
3087
|
export type SessionInboxInfo = SessionInboxUser | SessionInboxSynthetic | SessionInboxCompaction | SessionInboxMove;
|
|
2757
3088
|
export type SessionInboxEnqueued = {
|
|
2758
3089
|
id: string;
|
|
@@ -2773,7 +3104,6 @@ export type SessionInboxEnqueued = {
|
|
|
2773
3104
|
item: SessionInboxItem;
|
|
2774
3105
|
};
|
|
2775
3106
|
};
|
|
2776
|
-
export type FormField = FormStringField | FormNumberField | FormIntegerField | FormBooleanField | FormMultiselectField | FormExternalField;
|
|
2777
3107
|
export type SessionMessageAssistant = {
|
|
2778
3108
|
id: string;
|
|
2779
3109
|
metadata?: {
|
|
@@ -2781,6 +3111,7 @@ export type SessionMessageAssistant = {
|
|
|
2781
3111
|
};
|
|
2782
3112
|
time: {
|
|
2783
3113
|
created: number;
|
|
3114
|
+
streamed?: number;
|
|
2784
3115
|
completed?: number;
|
|
2785
3116
|
};
|
|
2786
3117
|
type: "assistant";
|
|
@@ -2800,6 +3131,25 @@ export type SessionMessageAssistant = {
|
|
|
2800
3131
|
error?: SessionStructuredError;
|
|
2801
3132
|
retry?: SessionMessageAssistantRetry;
|
|
2802
3133
|
};
|
|
3134
|
+
export type SessionMessageAssistantContentEncoded = SessionMessageAssistantText1 | SessionMessageAssistantReasoning1 | SessionMessageAssistantTool1;
|
|
3135
|
+
export type IntegrationOAuthMethod = {
|
|
3136
|
+
id: string;
|
|
3137
|
+
type: "oauth";
|
|
3138
|
+
label: string;
|
|
3139
|
+
form?: FormFields;
|
|
3140
|
+
};
|
|
3141
|
+
export type IntegrationKeyMethod = {
|
|
3142
|
+
type: "key";
|
|
3143
|
+
label?: string;
|
|
3144
|
+
form?: FormFields;
|
|
3145
|
+
};
|
|
3146
|
+
export type FormInfo = {
|
|
3147
|
+
id: string;
|
|
3148
|
+
sessionID: string;
|
|
3149
|
+
title: string;
|
|
3150
|
+
metadata?: FormMetadata;
|
|
3151
|
+
fields: FormFields;
|
|
3152
|
+
};
|
|
2803
3153
|
export type FormInfo1 = {
|
|
2804
3154
|
id: string;
|
|
2805
3155
|
sessionID: string;
|
|
@@ -2807,9 +3157,27 @@ export type FormInfo1 = {
|
|
|
2807
3157
|
metadata?: FormMetadata1;
|
|
2808
3158
|
fields: FormFields2;
|
|
2809
3159
|
};
|
|
2810
|
-
export type SessionEventDurable = SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionViewed | SessionDeleted | SessionForked | SessionInboxDelivered | SessionInboxEnqueued | SessionInboxCancelled | SessionInboxDeliveryChanged | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextEnded | SessionReasoningStarted | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputEnded | SessionToolCalled | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionStarted | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | SessionUsageRecorded;
|
|
2811
|
-
export type FormFields = [FormField, ...Array<FormField>];
|
|
2812
3160
|
export type SessionMessageInfo = SessionMessageAgentSelected | SessionMessageModelSelected | SessionMessageLocationSwitched | SessionMessageUser | SessionMessageSynthetic | SessionMessageSystem | SessionMessageSkill | SessionMessageShell | SessionMessageAssistant | SessionMessageCompaction;
|
|
3161
|
+
export type SessionMessageContentUpdated = {
|
|
3162
|
+
id: string;
|
|
3163
|
+
created: number;
|
|
3164
|
+
metadata?: {
|
|
3165
|
+
[x: string]: any;
|
|
3166
|
+
};
|
|
3167
|
+
type: "session.message.content.updated";
|
|
3168
|
+
durable: {
|
|
3169
|
+
aggregateID: string;
|
|
3170
|
+
seq: number;
|
|
3171
|
+
version: 1;
|
|
3172
|
+
};
|
|
3173
|
+
location?: LocationRef;
|
|
3174
|
+
data: {
|
|
3175
|
+
sessionID: string;
|
|
3176
|
+
messageID: string;
|
|
3177
|
+
content: Array<SessionMessageAssistantContentEncoded>;
|
|
3178
|
+
};
|
|
3179
|
+
};
|
|
3180
|
+
export type IntegrationMethod = IntegrationOAuthMethod | IntegrationCommandMethod | IntegrationKeyMethod | IntegrationEnvMethod;
|
|
2813
3181
|
export type FormCreated = {
|
|
2814
3182
|
id: string;
|
|
2815
3183
|
created: number;
|
|
@@ -2822,25 +3190,6 @@ export type FormCreated = {
|
|
|
2822
3190
|
form: FormInfo1;
|
|
2823
3191
|
};
|
|
2824
3192
|
};
|
|
2825
|
-
export type SessionLogItem = SessionEventDurable | EventLogSynced;
|
|
2826
|
-
export type IntegrationOAuthMethod = {
|
|
2827
|
-
id: string;
|
|
2828
|
-
type: "oauth";
|
|
2829
|
-
label: string;
|
|
2830
|
-
form?: FormFields;
|
|
2831
|
-
};
|
|
2832
|
-
export type IntegrationKeyMethod = {
|
|
2833
|
-
type: "key";
|
|
2834
|
-
label?: string;
|
|
2835
|
-
form?: FormFields;
|
|
2836
|
-
};
|
|
2837
|
-
export type FormInfo = {
|
|
2838
|
-
id: string;
|
|
2839
|
-
sessionID: string;
|
|
2840
|
-
title: string;
|
|
2841
|
-
metadata?: FormMetadata;
|
|
2842
|
-
fields: FormFields;
|
|
2843
|
-
};
|
|
2844
3193
|
export type SessionTransferData = {
|
|
2845
3194
|
info: SessionInfo;
|
|
2846
3195
|
messages: Array<SessionMessageInfo>;
|
|
@@ -2852,14 +3201,18 @@ export type SessionMessagesResponse = {
|
|
|
2852
3201
|
next?: string | null;
|
|
2853
3202
|
};
|
|
2854
3203
|
};
|
|
2855
|
-
export type
|
|
2856
|
-
export type IntegrationMethod = IntegrationOAuthMethod | IntegrationCommandMethod | IntegrationKeyMethod | IntegrationEnvMethod;
|
|
3204
|
+
export type SessionEventDurable = SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionViewed | SessionDeleted | SessionForked | SessionInboxDelivered | SessionInboxEnqueued | SessionInboxCancelled | SessionInboxDeliveryChanged | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepStreamed | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextEnded | SessionReasoningStarted | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputEnded | SessionToolCalled | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionStarted | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | SessionMessageContentUpdated | SessionUsageRecorded;
|
|
2857
3205
|
export type IntegrationInfo = {
|
|
2858
3206
|
id: string;
|
|
2859
3207
|
name: string;
|
|
3208
|
+
metadata?: {
|
|
3209
|
+
[x: string]: JsonValue;
|
|
3210
|
+
};
|
|
2860
3211
|
methods: Array<IntegrationMethod>;
|
|
2861
3212
|
connections: Array<ConnectionInfo>;
|
|
2862
3213
|
};
|
|
3214
|
+
export type V2Event = ModelsDevRefreshed | CredentialUpdated | CredentialSwitched | IntegrationUpdated | CatalogUpdated | AgentUpdated | SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionViewed | SessionUsageUpdated | SessionDeleted | SessionForked | SessionInboxDelivered | SessionInboxEnqueued | SessionInboxCancelled | SessionInboxDeliveryChanged | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepStreamed | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextDelta | SessionTextEnded | SessionReasoningStarted | SessionReasoningDelta | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputDelta | SessionToolInputEnded | SessionToolCalled | SessionToolProgress | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionStarted | SessionCompactionDelta | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | SessionToolsUpdated | SessionToolDynamicRequested | SessionToolDynamicReplied | SessionToolDynamicCancelled | SessionMessageContentUpdated | FilesystemChanged | ReferenceUpdated | PermissionAsked | PermissionReplied | PluginAdded | PluginUpdated | ProjectUpdated | WorktreeUpdated | WorktreeResolved | CommandUpdated | ConfigUpdated | SkillUpdated | PtyCreated | PtyUpdated | PtyExited | PtyDeleted | PersistentPtyAdded | PersistentPtyRemoved | ShellCreated | ShellExited | ShellDeleted | FormCreated | FormReplied | FormCancelled | WebsearchUpdated | SessionStatusUpdated | SessionIdle | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | InstallationUpdated | InstallationUpdateAvailable | VcsBranchUpdated | McpStatusChanged | McpResourcesChanged | V2EventServerConnected;
|
|
3215
|
+
export type SessionLogItem = SessionEventDurable | EventLogSynced;
|
|
2863
3216
|
export type UnauthorizedError = {
|
|
2864
3217
|
readonly _tag: "UnauthorizedError";
|
|
2865
3218
|
readonly message: string;
|
|
@@ -2914,12 +3267,12 @@ export type CommandNotFoundError = {
|
|
|
2914
3267
|
readonly message: string;
|
|
2915
3268
|
};
|
|
2916
3269
|
export declare const isCommandNotFoundError: (value: unknown) => value is CommandNotFoundError;
|
|
2917
|
-
export type
|
|
2918
|
-
readonly _tag: "
|
|
3270
|
+
export type CommandExecutionError = {
|
|
3271
|
+
readonly _tag: "CommandExecutionError";
|
|
2919
3272
|
readonly command: string;
|
|
2920
3273
|
readonly message: string;
|
|
2921
3274
|
};
|
|
2922
|
-
export declare const
|
|
3275
|
+
export declare const isCommandExecutionError: (value: unknown) => value is CommandExecutionError;
|
|
2923
3276
|
export type SkillNotFoundError = {
|
|
2924
3277
|
readonly _tag: "SkillNotFoundError";
|
|
2925
3278
|
readonly skill: string;
|
|
@@ -2957,6 +3310,12 @@ export type McpServerNotFoundError = {
|
|
|
2957
3310
|
readonly message: string;
|
|
2958
3311
|
};
|
|
2959
3312
|
export declare const isMcpServerNotFoundError: (value: unknown) => value is McpServerNotFoundError;
|
|
3313
|
+
export type ProjectNotFoundError = {
|
|
3314
|
+
readonly _tag: "ProjectNotFoundError";
|
|
3315
|
+
readonly projectID: string;
|
|
3316
|
+
readonly message: string;
|
|
3317
|
+
};
|
|
3318
|
+
export declare const isProjectNotFoundError: (value: unknown) => value is ProjectNotFoundError;
|
|
2960
3319
|
export type FormNotFoundError = {
|
|
2961
3320
|
readonly _tag: "FormNotFoundError";
|
|
2962
3321
|
readonly id: string;
|
|
@@ -3192,6 +3551,46 @@ export type SessionListInput = {
|
|
|
3192
3551
|
}["cursor"];
|
|
3193
3552
|
};
|
|
3194
3553
|
export type SessionListOutput = SessionsResponse;
|
|
3554
|
+
export type SessionStatsInput = {
|
|
3555
|
+
readonly from?: {
|
|
3556
|
+
readonly from?: number | undefined;
|
|
3557
|
+
readonly to?: number | undefined;
|
|
3558
|
+
readonly project?: string | undefined;
|
|
3559
|
+
readonly timezone?: string | undefined;
|
|
3560
|
+
readonly tools?: "none" | "summary" | "detail" | undefined;
|
|
3561
|
+
}["from"];
|
|
3562
|
+
readonly to?: {
|
|
3563
|
+
readonly from?: number | undefined;
|
|
3564
|
+
readonly to?: number | undefined;
|
|
3565
|
+
readonly project?: string | undefined;
|
|
3566
|
+
readonly timezone?: string | undefined;
|
|
3567
|
+
readonly tools?: "none" | "summary" | "detail" | undefined;
|
|
3568
|
+
}["to"];
|
|
3569
|
+
readonly project?: {
|
|
3570
|
+
readonly from?: number | undefined;
|
|
3571
|
+
readonly to?: number | undefined;
|
|
3572
|
+
readonly project?: string | undefined;
|
|
3573
|
+
readonly timezone?: string | undefined;
|
|
3574
|
+
readonly tools?: "none" | "summary" | "detail" | undefined;
|
|
3575
|
+
}["project"];
|
|
3576
|
+
readonly timezone?: {
|
|
3577
|
+
readonly from?: number | undefined;
|
|
3578
|
+
readonly to?: number | undefined;
|
|
3579
|
+
readonly project?: string | undefined;
|
|
3580
|
+
readonly timezone?: string | undefined;
|
|
3581
|
+
readonly tools?: "none" | "summary" | "detail" | undefined;
|
|
3582
|
+
}["timezone"];
|
|
3583
|
+
readonly tools?: {
|
|
3584
|
+
readonly from?: number | undefined;
|
|
3585
|
+
readonly to?: number | undefined;
|
|
3586
|
+
readonly project?: string | undefined;
|
|
3587
|
+
readonly timezone?: string | undefined;
|
|
3588
|
+
readonly tools?: "none" | "summary" | "detail" | undefined;
|
|
3589
|
+
}["tools"];
|
|
3590
|
+
};
|
|
3591
|
+
export type SessionStatsOutput = {
|
|
3592
|
+
data: SessionStatsInfo;
|
|
3593
|
+
}["data"];
|
|
3195
3594
|
export type SessionCreateInput = {
|
|
3196
3595
|
readonly id?: {
|
|
3197
3596
|
readonly id?: string | null;
|
|
@@ -3211,6 +3610,16 @@ export type SessionCreateInput = {
|
|
|
3211
3610
|
readonly allow: ReadonlyArray<string>;
|
|
3212
3611
|
};
|
|
3213
3612
|
} | null;
|
|
3613
|
+
readonly metadata?: {
|
|
3614
|
+
readonly [x: string]: JsonValue;
|
|
3615
|
+
} | null;
|
|
3616
|
+
readonly tools?: ReadonlyArray<{
|
|
3617
|
+
readonly name: string;
|
|
3618
|
+
readonly description: string;
|
|
3619
|
+
readonly parameters?: {
|
|
3620
|
+
readonly [x: string]: JsonValue;
|
|
3621
|
+
};
|
|
3622
|
+
}> | null;
|
|
3214
3623
|
}["id"];
|
|
3215
3624
|
readonly title?: {
|
|
3216
3625
|
readonly id?: string | null;
|
|
@@ -3230,6 +3639,16 @@ export type SessionCreateInput = {
|
|
|
3230
3639
|
readonly allow: ReadonlyArray<string>;
|
|
3231
3640
|
};
|
|
3232
3641
|
} | null;
|
|
3642
|
+
readonly metadata?: {
|
|
3643
|
+
readonly [x: string]: JsonValue;
|
|
3644
|
+
} | null;
|
|
3645
|
+
readonly tools?: ReadonlyArray<{
|
|
3646
|
+
readonly name: string;
|
|
3647
|
+
readonly description: string;
|
|
3648
|
+
readonly parameters?: {
|
|
3649
|
+
readonly [x: string]: JsonValue;
|
|
3650
|
+
};
|
|
3651
|
+
}> | null;
|
|
3233
3652
|
}["title"];
|
|
3234
3653
|
readonly agent?: {
|
|
3235
3654
|
readonly id?: string | null;
|
|
@@ -3249,6 +3668,16 @@ export type SessionCreateInput = {
|
|
|
3249
3668
|
readonly allow: ReadonlyArray<string>;
|
|
3250
3669
|
};
|
|
3251
3670
|
} | null;
|
|
3671
|
+
readonly metadata?: {
|
|
3672
|
+
readonly [x: string]: JsonValue;
|
|
3673
|
+
} | null;
|
|
3674
|
+
readonly tools?: ReadonlyArray<{
|
|
3675
|
+
readonly name: string;
|
|
3676
|
+
readonly description: string;
|
|
3677
|
+
readonly parameters?: {
|
|
3678
|
+
readonly [x: string]: JsonValue;
|
|
3679
|
+
};
|
|
3680
|
+
}> | null;
|
|
3252
3681
|
}["agent"];
|
|
3253
3682
|
readonly model?: {
|
|
3254
3683
|
readonly id?: string | null;
|
|
@@ -3268,6 +3697,16 @@ export type SessionCreateInput = {
|
|
|
3268
3697
|
readonly allow: ReadonlyArray<string>;
|
|
3269
3698
|
};
|
|
3270
3699
|
} | null;
|
|
3700
|
+
readonly metadata?: {
|
|
3701
|
+
readonly [x: string]: JsonValue;
|
|
3702
|
+
} | null;
|
|
3703
|
+
readonly tools?: ReadonlyArray<{
|
|
3704
|
+
readonly name: string;
|
|
3705
|
+
readonly description: string;
|
|
3706
|
+
readonly parameters?: {
|
|
3707
|
+
readonly [x: string]: JsonValue;
|
|
3708
|
+
};
|
|
3709
|
+
}> | null;
|
|
3271
3710
|
}["model"];
|
|
3272
3711
|
readonly location?: {
|
|
3273
3712
|
readonly id?: string | null;
|
|
@@ -3287,6 +3726,16 @@ export type SessionCreateInput = {
|
|
|
3287
3726
|
readonly allow: ReadonlyArray<string>;
|
|
3288
3727
|
};
|
|
3289
3728
|
} | null;
|
|
3729
|
+
readonly metadata?: {
|
|
3730
|
+
readonly [x: string]: JsonValue;
|
|
3731
|
+
} | null;
|
|
3732
|
+
readonly tools?: ReadonlyArray<{
|
|
3733
|
+
readonly name: string;
|
|
3734
|
+
readonly description: string;
|
|
3735
|
+
readonly parameters?: {
|
|
3736
|
+
readonly [x: string]: JsonValue;
|
|
3737
|
+
};
|
|
3738
|
+
}> | null;
|
|
3290
3739
|
}["location"];
|
|
3291
3740
|
readonly policy?: {
|
|
3292
3741
|
readonly id?: string | null;
|
|
@@ -3306,7 +3755,75 @@ export type SessionCreateInput = {
|
|
|
3306
3755
|
readonly allow: ReadonlyArray<string>;
|
|
3307
3756
|
};
|
|
3308
3757
|
} | null;
|
|
3758
|
+
readonly metadata?: {
|
|
3759
|
+
readonly [x: string]: JsonValue;
|
|
3760
|
+
} | null;
|
|
3761
|
+
readonly tools?: ReadonlyArray<{
|
|
3762
|
+
readonly name: string;
|
|
3763
|
+
readonly description: string;
|
|
3764
|
+
readonly parameters?: {
|
|
3765
|
+
readonly [x: string]: JsonValue;
|
|
3766
|
+
};
|
|
3767
|
+
}> | null;
|
|
3309
3768
|
}["policy"];
|
|
3769
|
+
readonly metadata?: {
|
|
3770
|
+
readonly id?: string | null;
|
|
3771
|
+
readonly title?: string | null;
|
|
3772
|
+
readonly agent?: string | null;
|
|
3773
|
+
readonly model?: {
|
|
3774
|
+
readonly id: string;
|
|
3775
|
+
readonly providerID: string;
|
|
3776
|
+
readonly variant?: string;
|
|
3777
|
+
} | null;
|
|
3778
|
+
readonly location?: {
|
|
3779
|
+
readonly directory: string;
|
|
3780
|
+
readonly workspaceID?: string;
|
|
3781
|
+
} | null;
|
|
3782
|
+
readonly policy?: {
|
|
3783
|
+
readonly tools: {
|
|
3784
|
+
readonly allow: ReadonlyArray<string>;
|
|
3785
|
+
};
|
|
3786
|
+
} | null;
|
|
3787
|
+
readonly metadata?: {
|
|
3788
|
+
readonly [x: string]: JsonValue;
|
|
3789
|
+
} | null;
|
|
3790
|
+
readonly tools?: ReadonlyArray<{
|
|
3791
|
+
readonly name: string;
|
|
3792
|
+
readonly description: string;
|
|
3793
|
+
readonly parameters?: {
|
|
3794
|
+
readonly [x: string]: JsonValue;
|
|
3795
|
+
};
|
|
3796
|
+
}> | null;
|
|
3797
|
+
}["metadata"];
|
|
3798
|
+
readonly tools?: {
|
|
3799
|
+
readonly id?: string | null;
|
|
3800
|
+
readonly title?: string | null;
|
|
3801
|
+
readonly agent?: string | null;
|
|
3802
|
+
readonly model?: {
|
|
3803
|
+
readonly id: string;
|
|
3804
|
+
readonly providerID: string;
|
|
3805
|
+
readonly variant?: string;
|
|
3806
|
+
} | null;
|
|
3807
|
+
readonly location?: {
|
|
3808
|
+
readonly directory: string;
|
|
3809
|
+
readonly workspaceID?: string;
|
|
3810
|
+
} | null;
|
|
3811
|
+
readonly policy?: {
|
|
3812
|
+
readonly tools: {
|
|
3813
|
+
readonly allow: ReadonlyArray<string>;
|
|
3814
|
+
};
|
|
3815
|
+
} | null;
|
|
3816
|
+
readonly metadata?: {
|
|
3817
|
+
readonly [x: string]: JsonValue;
|
|
3818
|
+
} | null;
|
|
3819
|
+
readonly tools?: ReadonlyArray<{
|
|
3820
|
+
readonly name: string;
|
|
3821
|
+
readonly description: string;
|
|
3822
|
+
readonly parameters?: {
|
|
3823
|
+
readonly [x: string]: JsonValue;
|
|
3824
|
+
};
|
|
3825
|
+
}> | null;
|
|
3826
|
+
}["tools"];
|
|
3310
3827
|
};
|
|
3311
3828
|
export type SessionCreateOutput = {
|
|
3312
3829
|
data: SessionInfo;
|
|
@@ -3357,6 +3874,9 @@ export type SessionImportInput = {
|
|
|
3357
3874
|
readonly workspaceID?: string;
|
|
3358
3875
|
};
|
|
3359
3876
|
readonly subpath?: string;
|
|
3877
|
+
readonly metadata?: {
|
|
3878
|
+
readonly [x: string]: JsonValue;
|
|
3879
|
+
};
|
|
3360
3880
|
readonly revert?: {
|
|
3361
3881
|
readonly messageID: string;
|
|
3362
3882
|
readonly partID?: string;
|
|
@@ -3465,6 +3985,7 @@ export type SessionImportInput = {
|
|
|
3465
3985
|
readonly skills?: ReadonlyArray<{
|
|
3466
3986
|
readonly id: string;
|
|
3467
3987
|
readonly name: string;
|
|
3988
|
+
readonly text?: string;
|
|
3468
3989
|
readonly mention?: {
|
|
3469
3990
|
readonly start: number;
|
|
3470
3991
|
readonly end: number;
|
|
@@ -3533,6 +4054,7 @@ export type SessionImportInput = {
|
|
|
3533
4054
|
};
|
|
3534
4055
|
readonly time: {
|
|
3535
4056
|
readonly created: number;
|
|
4057
|
+
readonly streamed?: number;
|
|
3536
4058
|
readonly completed?: number;
|
|
3537
4059
|
};
|
|
3538
4060
|
readonly type: "assistant";
|
|
@@ -3775,6 +4297,9 @@ export type SessionImportInput = {
|
|
|
3775
4297
|
readonly workspaceID?: string;
|
|
3776
4298
|
};
|
|
3777
4299
|
readonly subpath?: string;
|
|
4300
|
+
readonly metadata?: {
|
|
4301
|
+
readonly [x: string]: JsonValue;
|
|
4302
|
+
};
|
|
3778
4303
|
readonly revert?: {
|
|
3779
4304
|
readonly messageID: string;
|
|
3780
4305
|
readonly partID?: string;
|
|
@@ -3883,6 +4408,7 @@ export type SessionImportInput = {
|
|
|
3883
4408
|
readonly skills?: ReadonlyArray<{
|
|
3884
4409
|
readonly id: string;
|
|
3885
4410
|
readonly name: string;
|
|
4411
|
+
readonly text?: string;
|
|
3886
4412
|
readonly mention?: {
|
|
3887
4413
|
readonly start: number;
|
|
3888
4414
|
readonly end: number;
|
|
@@ -3951,6 +4477,7 @@ export type SessionImportInput = {
|
|
|
3951
4477
|
};
|
|
3952
4478
|
readonly time: {
|
|
3953
4479
|
readonly created: number;
|
|
4480
|
+
readonly streamed?: number;
|
|
3954
4481
|
readonly completed?: number;
|
|
3955
4482
|
};
|
|
3956
4483
|
readonly type: "assistant";
|
|
@@ -4193,6 +4720,9 @@ export type SessionImportInput = {
|
|
|
4193
4720
|
readonly workspaceID?: string;
|
|
4194
4721
|
};
|
|
4195
4722
|
readonly subpath?: string;
|
|
4723
|
+
readonly metadata?: {
|
|
4724
|
+
readonly [x: string]: JsonValue;
|
|
4725
|
+
};
|
|
4196
4726
|
readonly revert?: {
|
|
4197
4727
|
readonly messageID: string;
|
|
4198
4728
|
readonly partID?: string;
|
|
@@ -4301,6 +4831,7 @@ export type SessionImportInput = {
|
|
|
4301
4831
|
readonly skills?: ReadonlyArray<{
|
|
4302
4832
|
readonly id: string;
|
|
4303
4833
|
readonly name: string;
|
|
4834
|
+
readonly text?: string;
|
|
4304
4835
|
readonly mention?: {
|
|
4305
4836
|
readonly start: number;
|
|
4306
4837
|
readonly end: number;
|
|
@@ -4369,6 +4900,7 @@ export type SessionImportInput = {
|
|
|
4369
4900
|
};
|
|
4370
4901
|
readonly time: {
|
|
4371
4902
|
readonly created: number;
|
|
4903
|
+
readonly streamed?: number;
|
|
4372
4904
|
readonly completed?: number;
|
|
4373
4905
|
};
|
|
4374
4906
|
readonly type: "assistant";
|
|
@@ -4615,7 +5147,14 @@ export type SessionForkInput = {
|
|
|
4615
5147
|
readonly tools: {
|
|
4616
5148
|
readonly allow: ReadonlyArray<string>;
|
|
4617
5149
|
};
|
|
4618
|
-
} |
|
|
5150
|
+
} | null;
|
|
5151
|
+
readonly tools?: ReadonlyArray<{
|
|
5152
|
+
readonly name: string;
|
|
5153
|
+
readonly description: string;
|
|
5154
|
+
readonly parameters?: {
|
|
5155
|
+
readonly [x: string]: JsonValue;
|
|
5156
|
+
};
|
|
5157
|
+
}> | null;
|
|
4619
5158
|
}["boundary"];
|
|
4620
5159
|
readonly policy?: {
|
|
4621
5160
|
readonly boundary: {
|
|
@@ -4628,8 +5167,35 @@ export type SessionForkInput = {
|
|
|
4628
5167
|
readonly tools: {
|
|
4629
5168
|
readonly allow: ReadonlyArray<string>;
|
|
4630
5169
|
};
|
|
4631
|
-
} |
|
|
4632
|
-
|
|
5170
|
+
} | null;
|
|
5171
|
+
readonly tools?: ReadonlyArray<{
|
|
5172
|
+
readonly name: string;
|
|
5173
|
+
readonly description: string;
|
|
5174
|
+
readonly parameters?: {
|
|
5175
|
+
readonly [x: string]: JsonValue;
|
|
5176
|
+
};
|
|
5177
|
+
}> | null;
|
|
5178
|
+
}["policy"];
|
|
5179
|
+
readonly tools?: {
|
|
5180
|
+
readonly boundary: {
|
|
5181
|
+
readonly type: "before";
|
|
5182
|
+
readonly messageID: string;
|
|
5183
|
+
} | {
|
|
5184
|
+
readonly type: "through";
|
|
5185
|
+
};
|
|
5186
|
+
readonly policy?: {
|
|
5187
|
+
readonly tools: {
|
|
5188
|
+
readonly allow: ReadonlyArray<string>;
|
|
5189
|
+
};
|
|
5190
|
+
} | null;
|
|
5191
|
+
readonly tools?: ReadonlyArray<{
|
|
5192
|
+
readonly name: string;
|
|
5193
|
+
readonly description: string;
|
|
5194
|
+
readonly parameters?: {
|
|
5195
|
+
readonly [x: string]: JsonValue;
|
|
5196
|
+
};
|
|
5197
|
+
}> | null;
|
|
5198
|
+
}["tools"];
|
|
4633
5199
|
};
|
|
4634
5200
|
export type SessionForkOutput = {
|
|
4635
5201
|
data: SessionInfo;
|
|
@@ -4978,55 +5544,9 @@ export type SessionCommandInput = {
|
|
|
4978
5544
|
readonly sessionID: {
|
|
4979
5545
|
readonly sessionID: string;
|
|
4980
5546
|
}["sessionID"];
|
|
4981
|
-
readonly id?: {
|
|
4982
|
-
readonly id?: string | null;
|
|
4983
|
-
readonly command: string;
|
|
4984
|
-
readonly arguments?: string | null;
|
|
4985
|
-
readonly agent?: string | null;
|
|
4986
|
-
readonly model?: {
|
|
4987
|
-
readonly id: string;
|
|
4988
|
-
readonly providerID: string;
|
|
4989
|
-
readonly variant?: string;
|
|
4990
|
-
} | null;
|
|
4991
|
-
readonly files?: ReadonlyArray<{
|
|
4992
|
-
readonly uri: string;
|
|
4993
|
-
readonly name?: string;
|
|
4994
|
-
readonly description?: string;
|
|
4995
|
-
readonly mention?: {
|
|
4996
|
-
readonly start: number;
|
|
4997
|
-
readonly end: number;
|
|
4998
|
-
readonly text: string;
|
|
4999
|
-
};
|
|
5000
|
-
}>;
|
|
5001
|
-
readonly agents?: ReadonlyArray<{
|
|
5002
|
-
readonly name: string;
|
|
5003
|
-
readonly mention?: {
|
|
5004
|
-
readonly start: number;
|
|
5005
|
-
readonly end: number;
|
|
5006
|
-
readonly text: string;
|
|
5007
|
-
};
|
|
5008
|
-
}>;
|
|
5009
|
-
readonly skills?: ReadonlyArray<{
|
|
5010
|
-
readonly id: string;
|
|
5011
|
-
readonly mention?: {
|
|
5012
|
-
readonly start: number;
|
|
5013
|
-
readonly end: number;
|
|
5014
|
-
readonly text: string;
|
|
5015
|
-
};
|
|
5016
|
-
}>;
|
|
5017
|
-
readonly delivery?: ("steer" | "queue") | null;
|
|
5018
|
-
readonly resume?: boolean | null;
|
|
5019
|
-
}["id"];
|
|
5020
5547
|
readonly command: {
|
|
5021
|
-
readonly id?: string | null;
|
|
5022
5548
|
readonly command: string;
|
|
5023
|
-
readonly
|
|
5024
|
-
readonly agent?: string | null;
|
|
5025
|
-
readonly model?: {
|
|
5026
|
-
readonly id: string;
|
|
5027
|
-
readonly providerID: string;
|
|
5028
|
-
readonly variant?: string;
|
|
5029
|
-
} | null;
|
|
5549
|
+
readonly text: string;
|
|
5030
5550
|
readonly files?: ReadonlyArray<{
|
|
5031
5551
|
readonly uri: string;
|
|
5032
5552
|
readonly name?: string;
|
|
@@ -5054,96 +5574,10 @@ export type SessionCommandInput = {
|
|
|
5054
5574
|
};
|
|
5055
5575
|
}>;
|
|
5056
5576
|
readonly delivery?: ("steer" | "queue") | null;
|
|
5057
|
-
readonly resume?: boolean | null;
|
|
5058
5577
|
}["command"];
|
|
5059
|
-
readonly
|
|
5060
|
-
readonly id?: string | null;
|
|
5061
|
-
readonly command: string;
|
|
5062
|
-
readonly arguments?: string | null;
|
|
5063
|
-
readonly agent?: string | null;
|
|
5064
|
-
readonly model?: {
|
|
5065
|
-
readonly id: string;
|
|
5066
|
-
readonly providerID: string;
|
|
5067
|
-
readonly variant?: string;
|
|
5068
|
-
} | null;
|
|
5069
|
-
readonly files?: ReadonlyArray<{
|
|
5070
|
-
readonly uri: string;
|
|
5071
|
-
readonly name?: string;
|
|
5072
|
-
readonly description?: string;
|
|
5073
|
-
readonly mention?: {
|
|
5074
|
-
readonly start: number;
|
|
5075
|
-
readonly end: number;
|
|
5076
|
-
readonly text: string;
|
|
5077
|
-
};
|
|
5078
|
-
}>;
|
|
5079
|
-
readonly agents?: ReadonlyArray<{
|
|
5080
|
-
readonly name: string;
|
|
5081
|
-
readonly mention?: {
|
|
5082
|
-
readonly start: number;
|
|
5083
|
-
readonly end: number;
|
|
5084
|
-
readonly text: string;
|
|
5085
|
-
};
|
|
5086
|
-
}>;
|
|
5087
|
-
readonly skills?: ReadonlyArray<{
|
|
5088
|
-
readonly id: string;
|
|
5089
|
-
readonly mention?: {
|
|
5090
|
-
readonly start: number;
|
|
5091
|
-
readonly end: number;
|
|
5092
|
-
readonly text: string;
|
|
5093
|
-
};
|
|
5094
|
-
}>;
|
|
5095
|
-
readonly delivery?: ("steer" | "queue") | null;
|
|
5096
|
-
readonly resume?: boolean | null;
|
|
5097
|
-
}["arguments"];
|
|
5098
|
-
readonly agent?: {
|
|
5099
|
-
readonly id?: string | null;
|
|
5100
|
-
readonly command: string;
|
|
5101
|
-
readonly arguments?: string | null;
|
|
5102
|
-
readonly agent?: string | null;
|
|
5103
|
-
readonly model?: {
|
|
5104
|
-
readonly id: string;
|
|
5105
|
-
readonly providerID: string;
|
|
5106
|
-
readonly variant?: string;
|
|
5107
|
-
} | null;
|
|
5108
|
-
readonly files?: ReadonlyArray<{
|
|
5109
|
-
readonly uri: string;
|
|
5110
|
-
readonly name?: string;
|
|
5111
|
-
readonly description?: string;
|
|
5112
|
-
readonly mention?: {
|
|
5113
|
-
readonly start: number;
|
|
5114
|
-
readonly end: number;
|
|
5115
|
-
readonly text: string;
|
|
5116
|
-
};
|
|
5117
|
-
}>;
|
|
5118
|
-
readonly agents?: ReadonlyArray<{
|
|
5119
|
-
readonly name: string;
|
|
5120
|
-
readonly mention?: {
|
|
5121
|
-
readonly start: number;
|
|
5122
|
-
readonly end: number;
|
|
5123
|
-
readonly text: string;
|
|
5124
|
-
};
|
|
5125
|
-
}>;
|
|
5126
|
-
readonly skills?: ReadonlyArray<{
|
|
5127
|
-
readonly id: string;
|
|
5128
|
-
readonly mention?: {
|
|
5129
|
-
readonly start: number;
|
|
5130
|
-
readonly end: number;
|
|
5131
|
-
readonly text: string;
|
|
5132
|
-
};
|
|
5133
|
-
}>;
|
|
5134
|
-
readonly delivery?: ("steer" | "queue") | null;
|
|
5135
|
-
readonly resume?: boolean | null;
|
|
5136
|
-
}["agent"];
|
|
5137
|
-
readonly model?: {
|
|
5138
|
-
readonly id?: string | null;
|
|
5578
|
+
readonly text: {
|
|
5139
5579
|
readonly command: string;
|
|
5140
|
-
readonly
|
|
5141
|
-
readonly agent?: string | null;
|
|
5142
|
-
readonly model?: {
|
|
5143
|
-
readonly id: string;
|
|
5144
|
-
readonly providerID: string;
|
|
5145
|
-
readonly variant?: string;
|
|
5146
|
-
} | null;
|
|
5580
|
+
readonly text: string;
|
|
5147
5581
|
readonly files?: ReadonlyArray<{
|
|
5148
5582
|
readonly uri: string;
|
|
5149
5583
|
readonly name?: string;
|
|
@@ -5171,18 +5605,10 @@ export type SessionCommandInput = {
|
|
|
5171
5605
|
};
|
|
5172
5606
|
}>;
|
|
5173
5607
|
readonly delivery?: ("steer" | "queue") | null;
|
|
5174
|
-
|
|
5175
|
-
}["model"];
|
|
5608
|
+
}["text"];
|
|
5176
5609
|
readonly files?: {
|
|
5177
|
-
readonly id?: string | null;
|
|
5178
5610
|
readonly command: string;
|
|
5179
|
-
readonly
|
|
5180
|
-
readonly agent?: string | null;
|
|
5181
|
-
readonly model?: {
|
|
5182
|
-
readonly id: string;
|
|
5183
|
-
readonly providerID: string;
|
|
5184
|
-
readonly variant?: string;
|
|
5185
|
-
} | null;
|
|
5611
|
+
readonly text: string;
|
|
5186
5612
|
readonly files?: ReadonlyArray<{
|
|
5187
5613
|
readonly uri: string;
|
|
5188
5614
|
readonly name?: string;
|
|
@@ -5210,18 +5636,10 @@ export type SessionCommandInput = {
|
|
|
5210
5636
|
};
|
|
5211
5637
|
}>;
|
|
5212
5638
|
readonly delivery?: ("steer" | "queue") | null;
|
|
5213
|
-
readonly resume?: boolean | null;
|
|
5214
5639
|
}["files"];
|
|
5215
5640
|
readonly agents?: {
|
|
5216
|
-
readonly id?: string | null;
|
|
5217
5641
|
readonly command: string;
|
|
5218
|
-
readonly
|
|
5219
|
-
readonly agent?: string | null;
|
|
5220
|
-
readonly model?: {
|
|
5221
|
-
readonly id: string;
|
|
5222
|
-
readonly providerID: string;
|
|
5223
|
-
readonly variant?: string;
|
|
5224
|
-
} | null;
|
|
5642
|
+
readonly text: string;
|
|
5225
5643
|
readonly files?: ReadonlyArray<{
|
|
5226
5644
|
readonly uri: string;
|
|
5227
5645
|
readonly name?: string;
|
|
@@ -5249,18 +5667,10 @@ export type SessionCommandInput = {
|
|
|
5249
5667
|
};
|
|
5250
5668
|
}>;
|
|
5251
5669
|
readonly delivery?: ("steer" | "queue") | null;
|
|
5252
|
-
readonly resume?: boolean | null;
|
|
5253
5670
|
}["agents"];
|
|
5254
5671
|
readonly skills?: {
|
|
5255
|
-
readonly id?: string | null;
|
|
5256
5672
|
readonly command: string;
|
|
5257
|
-
readonly
|
|
5258
|
-
readonly agent?: string | null;
|
|
5259
|
-
readonly model?: {
|
|
5260
|
-
readonly id: string;
|
|
5261
|
-
readonly providerID: string;
|
|
5262
|
-
readonly variant?: string;
|
|
5263
|
-
} | null;
|
|
5673
|
+
readonly text: string;
|
|
5264
5674
|
readonly files?: ReadonlyArray<{
|
|
5265
5675
|
readonly uri: string;
|
|
5266
5676
|
readonly name?: string;
|
|
@@ -5288,18 +5698,10 @@ export type SessionCommandInput = {
|
|
|
5288
5698
|
};
|
|
5289
5699
|
}>;
|
|
5290
5700
|
readonly delivery?: ("steer" | "queue") | null;
|
|
5291
|
-
readonly resume?: boolean | null;
|
|
5292
5701
|
}["skills"];
|
|
5293
5702
|
readonly delivery?: {
|
|
5294
|
-
readonly id?: string | null;
|
|
5295
5703
|
readonly command: string;
|
|
5296
|
-
readonly
|
|
5297
|
-
readonly agent?: string | null;
|
|
5298
|
-
readonly model?: {
|
|
5299
|
-
readonly id: string;
|
|
5300
|
-
readonly providerID: string;
|
|
5301
|
-
readonly variant?: string;
|
|
5302
|
-
} | null;
|
|
5704
|
+
readonly text: string;
|
|
5303
5705
|
readonly files?: ReadonlyArray<{
|
|
5304
5706
|
readonly uri: string;
|
|
5305
5707
|
readonly name?: string;
|
|
@@ -5327,51 +5729,9 @@ export type SessionCommandInput = {
|
|
|
5327
5729
|
};
|
|
5328
5730
|
}>;
|
|
5329
5731
|
readonly delivery?: ("steer" | "queue") | null;
|
|
5330
|
-
readonly resume?: boolean | null;
|
|
5331
5732
|
}["delivery"];
|
|
5332
|
-
readonly resume?: {
|
|
5333
|
-
readonly id?: string | null;
|
|
5334
|
-
readonly command: string;
|
|
5335
|
-
readonly arguments?: string | null;
|
|
5336
|
-
readonly agent?: string | null;
|
|
5337
|
-
readonly model?: {
|
|
5338
|
-
readonly id: string;
|
|
5339
|
-
readonly providerID: string;
|
|
5340
|
-
readonly variant?: string;
|
|
5341
|
-
} | null;
|
|
5342
|
-
readonly files?: ReadonlyArray<{
|
|
5343
|
-
readonly uri: string;
|
|
5344
|
-
readonly name?: string;
|
|
5345
|
-
readonly description?: string;
|
|
5346
|
-
readonly mention?: {
|
|
5347
|
-
readonly start: number;
|
|
5348
|
-
readonly end: number;
|
|
5349
|
-
readonly text: string;
|
|
5350
|
-
};
|
|
5351
|
-
}>;
|
|
5352
|
-
readonly agents?: ReadonlyArray<{
|
|
5353
|
-
readonly name: string;
|
|
5354
|
-
readonly mention?: {
|
|
5355
|
-
readonly start: number;
|
|
5356
|
-
readonly end: number;
|
|
5357
|
-
readonly text: string;
|
|
5358
|
-
};
|
|
5359
|
-
}>;
|
|
5360
|
-
readonly skills?: ReadonlyArray<{
|
|
5361
|
-
readonly id: string;
|
|
5362
|
-
readonly mention?: {
|
|
5363
|
-
readonly start: number;
|
|
5364
|
-
readonly end: number;
|
|
5365
|
-
readonly text: string;
|
|
5366
|
-
};
|
|
5367
|
-
}>;
|
|
5368
|
-
readonly delivery?: ("steer" | "queue") | null;
|
|
5369
|
-
readonly resume?: boolean | null;
|
|
5370
|
-
}["resume"];
|
|
5371
5733
|
};
|
|
5372
|
-
export type SessionCommandOutput =
|
|
5373
|
-
data: SessionInboxUser;
|
|
5374
|
-
}["data"];
|
|
5734
|
+
export type SessionCommandOutput = void;
|
|
5375
5735
|
export type SessionSkillInput = {
|
|
5376
5736
|
readonly sessionID: {
|
|
5377
5737
|
readonly sessionID: string;
|
|
@@ -5607,6 +5967,55 @@ export type SessionInstructionsEntryRemoveInput = {
|
|
|
5607
5967
|
}["key"];
|
|
5608
5968
|
};
|
|
5609
5969
|
export type SessionInstructionsEntryRemoveOutput = void;
|
|
5970
|
+
export type SessionToolsPutInput = {
|
|
5971
|
+
readonly sessionID: {
|
|
5972
|
+
readonly sessionID: string;
|
|
5973
|
+
}["sessionID"];
|
|
5974
|
+
readonly tools: {
|
|
5975
|
+
readonly tools: ReadonlyArray<{
|
|
5976
|
+
readonly name: string;
|
|
5977
|
+
readonly description: string;
|
|
5978
|
+
readonly parameters?: {
|
|
5979
|
+
readonly [x: string]: JsonValue;
|
|
5980
|
+
};
|
|
5981
|
+
}>;
|
|
5982
|
+
}["tools"];
|
|
5983
|
+
};
|
|
5984
|
+
export type SessionToolsPutOutput = void;
|
|
5985
|
+
export type SessionToolsListInput = {
|
|
5986
|
+
readonly sessionID: {
|
|
5987
|
+
readonly sessionID: string;
|
|
5988
|
+
}["sessionID"];
|
|
5989
|
+
};
|
|
5990
|
+
export type SessionToolsListOutput = {
|
|
5991
|
+
data: Array<SessionDynamicToolDefinition>;
|
|
5992
|
+
}["data"];
|
|
5993
|
+
export type SessionToolsCallsInput = {
|
|
5994
|
+
readonly sessionID: {
|
|
5995
|
+
readonly sessionID: string;
|
|
5996
|
+
}["sessionID"];
|
|
5997
|
+
};
|
|
5998
|
+
export type SessionToolsCallsOutput = {
|
|
5999
|
+
data: Array<SessionDynamicToolCall>;
|
|
6000
|
+
}["data"];
|
|
6001
|
+
export type SessionToolsReplyInput = {
|
|
6002
|
+
readonly sessionID: {
|
|
6003
|
+
readonly sessionID: string;
|
|
6004
|
+
readonly callID: string;
|
|
6005
|
+
}["sessionID"];
|
|
6006
|
+
readonly callID: {
|
|
6007
|
+
readonly sessionID: string;
|
|
6008
|
+
readonly callID: string;
|
|
6009
|
+
}["callID"];
|
|
6010
|
+
readonly payload: {
|
|
6011
|
+
readonly status: "completed";
|
|
6012
|
+
readonly content: string;
|
|
6013
|
+
} | {
|
|
6014
|
+
readonly status: "failed";
|
|
6015
|
+
readonly message: string;
|
|
6016
|
+
};
|
|
6017
|
+
};
|
|
6018
|
+
export type SessionToolsReplyOutput = void;
|
|
5610
6019
|
export type SessionGenerateInput = {
|
|
5611
6020
|
readonly sessionID: {
|
|
5612
6021
|
readonly sessionID: string;
|
|
@@ -5638,7 +6047,7 @@ export type SessionInterruptInput = {
|
|
|
5638
6047
|
readonly continue?: boolean | undefined;
|
|
5639
6048
|
}["continue"];
|
|
5640
6049
|
};
|
|
5641
|
-
export type SessionInterruptOutput =
|
|
6050
|
+
export type SessionInterruptOutput = SessionInterruptResponse;
|
|
5642
6051
|
export type SessionBackgroundInput = {
|
|
5643
6052
|
readonly sessionID: {
|
|
5644
6053
|
readonly sessionID: string;
|
|
@@ -5655,8 +6064,129 @@ export type SessionMessageInput = {
|
|
|
5655
6064
|
readonly messageID: string;
|
|
5656
6065
|
}["messageID"];
|
|
5657
6066
|
};
|
|
5658
|
-
export type SessionMessageOutput = {
|
|
5659
|
-
data: SessionMessageInfo;
|
|
6067
|
+
export type SessionMessageOutput = {
|
|
6068
|
+
data: SessionMessageInfo;
|
|
6069
|
+
}["data"];
|
|
6070
|
+
export type SessionMessageUpdateInput = {
|
|
6071
|
+
readonly sessionID: {
|
|
6072
|
+
readonly sessionID: string;
|
|
6073
|
+
readonly messageID: string;
|
|
6074
|
+
}["sessionID"];
|
|
6075
|
+
readonly messageID: {
|
|
6076
|
+
readonly sessionID: string;
|
|
6077
|
+
readonly messageID: string;
|
|
6078
|
+
}["messageID"];
|
|
6079
|
+
readonly content: {
|
|
6080
|
+
readonly content: ReadonlyArray<{
|
|
6081
|
+
readonly type: "text";
|
|
6082
|
+
readonly text: string;
|
|
6083
|
+
readonly state?: {
|
|
6084
|
+
readonly [x: string]: JsonValue;
|
|
6085
|
+
};
|
|
6086
|
+
} | {
|
|
6087
|
+
readonly type: "reasoning";
|
|
6088
|
+
readonly text: string;
|
|
6089
|
+
readonly state?: {
|
|
6090
|
+
readonly [x: string]: JsonValue;
|
|
6091
|
+
};
|
|
6092
|
+
readonly time?: {
|
|
6093
|
+
readonly created: number;
|
|
6094
|
+
readonly completed?: number;
|
|
6095
|
+
};
|
|
6096
|
+
} | {
|
|
6097
|
+
readonly type: "tool";
|
|
6098
|
+
readonly id: string;
|
|
6099
|
+
readonly name: string;
|
|
6100
|
+
readonly executed?: boolean;
|
|
6101
|
+
readonly providerState?: {
|
|
6102
|
+
readonly [x: string]: JsonValue;
|
|
6103
|
+
};
|
|
6104
|
+
readonly providerResultState?: {
|
|
6105
|
+
readonly [x: string]: JsonValue;
|
|
6106
|
+
};
|
|
6107
|
+
readonly state: {
|
|
6108
|
+
readonly status: "streaming";
|
|
6109
|
+
readonly input: string;
|
|
6110
|
+
} | {
|
|
6111
|
+
readonly status: "running";
|
|
6112
|
+
readonly input: {
|
|
6113
|
+
readonly [x: string]: JsonValue;
|
|
6114
|
+
};
|
|
6115
|
+
readonly metadata: {
|
|
6116
|
+
readonly [x: string]: JsonValue;
|
|
6117
|
+
};
|
|
6118
|
+
} | {
|
|
6119
|
+
readonly status: "completed";
|
|
6120
|
+
readonly input: {
|
|
6121
|
+
readonly [x: string]: JsonValue;
|
|
6122
|
+
};
|
|
6123
|
+
readonly content: readonly [
|
|
6124
|
+
({
|
|
6125
|
+
readonly type: "text";
|
|
6126
|
+
readonly text: string;
|
|
6127
|
+
} | {
|
|
6128
|
+
readonly type: "file";
|
|
6129
|
+
readonly uri: string;
|
|
6130
|
+
readonly mime: string;
|
|
6131
|
+
readonly name?: string | null;
|
|
6132
|
+
}),
|
|
6133
|
+
...Array<{
|
|
6134
|
+
readonly type: "text";
|
|
6135
|
+
readonly text: string;
|
|
6136
|
+
} | {
|
|
6137
|
+
readonly type: "file";
|
|
6138
|
+
readonly uri: string;
|
|
6139
|
+
readonly mime: string;
|
|
6140
|
+
readonly name?: string | null;
|
|
6141
|
+
}>
|
|
6142
|
+
];
|
|
6143
|
+
readonly metadata?: {
|
|
6144
|
+
readonly [x: string]: JsonValue;
|
|
6145
|
+
};
|
|
6146
|
+
} | {
|
|
6147
|
+
readonly status: "error";
|
|
6148
|
+
readonly input: {
|
|
6149
|
+
readonly [x: string]: JsonValue;
|
|
6150
|
+
};
|
|
6151
|
+
readonly error: {
|
|
6152
|
+
readonly type: string;
|
|
6153
|
+
readonly message: string;
|
|
6154
|
+
readonly status?: number;
|
|
6155
|
+
};
|
|
6156
|
+
readonly content?: readonly [
|
|
6157
|
+
({
|
|
6158
|
+
readonly type: "text";
|
|
6159
|
+
readonly text: string;
|
|
6160
|
+
} | {
|
|
6161
|
+
readonly type: "file";
|
|
6162
|
+
readonly uri: string;
|
|
6163
|
+
readonly mime: string;
|
|
6164
|
+
readonly name?: string | null;
|
|
6165
|
+
}),
|
|
6166
|
+
...Array<{
|
|
6167
|
+
readonly type: "text";
|
|
6168
|
+
readonly text: string;
|
|
6169
|
+
} | {
|
|
6170
|
+
readonly type: "file";
|
|
6171
|
+
readonly uri: string;
|
|
6172
|
+
readonly mime: string;
|
|
6173
|
+
readonly name?: string | null;
|
|
6174
|
+
}>
|
|
6175
|
+
];
|
|
6176
|
+
readonly metadata?: {
|
|
6177
|
+
readonly [x: string]: JsonValue;
|
|
6178
|
+
};
|
|
6179
|
+
};
|
|
6180
|
+
readonly time: {
|
|
6181
|
+
readonly created: number;
|
|
6182
|
+
readonly ran?: number;
|
|
6183
|
+
readonly completed?: number;
|
|
6184
|
+
};
|
|
6185
|
+
}>;
|
|
6186
|
+
}["content"];
|
|
6187
|
+
};
|
|
6188
|
+
export type SessionMessageUpdateOutput = {
|
|
6189
|
+
data: SessionMessageAssistant;
|
|
5660
6190
|
}["data"];
|
|
5661
6191
|
export type SessionEnvironmentInput = {
|
|
5662
6192
|
readonly sessionID: {
|
|
@@ -5740,12 +6270,6 @@ export type ModelDefaultOutput = {
|
|
|
5740
6270
|
data: ModelInfo | null;
|
|
5741
6271
|
};
|
|
5742
6272
|
export type GenerateTextInput = {
|
|
5743
|
-
readonly location?: {
|
|
5744
|
-
readonly location?: {
|
|
5745
|
-
readonly directory?: string | undefined;
|
|
5746
|
-
readonly workspace?: string | undefined;
|
|
5747
|
-
} | undefined;
|
|
5748
|
-
}["location"];
|
|
5749
6273
|
readonly prompt: {
|
|
5750
6274
|
readonly prompt: string;
|
|
5751
6275
|
readonly model?: {
|
|
@@ -5943,8 +6467,8 @@ export type IntegrationOauthConnectOutput = {
|
|
|
5943
6467
|
instructions: string;
|
|
5944
6468
|
mode: "auto" | "code";
|
|
5945
6469
|
time: {
|
|
5946
|
-
created: number |
|
|
5947
|
-
expires: number |
|
|
6470
|
+
created: number | "Infinity" | "-Infinity" | "NaN";
|
|
6471
|
+
expires: number | "Infinity" | "-Infinity" | "NaN";
|
|
5948
6472
|
};
|
|
5949
6473
|
};
|
|
5950
6474
|
};
|
|
@@ -6249,6 +6773,18 @@ export type CredentialUpdateInput = {
|
|
|
6249
6773
|
}["label"];
|
|
6250
6774
|
};
|
|
6251
6775
|
export type CredentialUpdateOutput = void;
|
|
6776
|
+
export type CredentialActivateInput = {
|
|
6777
|
+
readonly credentialID: {
|
|
6778
|
+
readonly credentialID: string;
|
|
6779
|
+
}["credentialID"];
|
|
6780
|
+
readonly location?: {
|
|
6781
|
+
readonly location?: {
|
|
6782
|
+
readonly directory?: string | undefined;
|
|
6783
|
+
readonly workspace?: string | undefined;
|
|
6784
|
+
} | undefined;
|
|
6785
|
+
}["location"];
|
|
6786
|
+
};
|
|
6787
|
+
export type CredentialActivateOutput = void;
|
|
6252
6788
|
export type CredentialRemoveInput = {
|
|
6253
6789
|
readonly credentialID: {
|
|
6254
6790
|
readonly credentialID: string;
|
|
@@ -6262,6 +6798,45 @@ export type CredentialRemoveInput = {
|
|
|
6262
6798
|
};
|
|
6263
6799
|
export type CredentialRemoveOutput = void;
|
|
6264
6800
|
export type ProjectListOutput = Array<Project>;
|
|
6801
|
+
export type ProjectUpdateInput = {
|
|
6802
|
+
readonly projectID: {
|
|
6803
|
+
readonly projectID: string;
|
|
6804
|
+
}["projectID"];
|
|
6805
|
+
readonly name?: {
|
|
6806
|
+
readonly name?: string;
|
|
6807
|
+
readonly icon?: {
|
|
6808
|
+
readonly url?: string;
|
|
6809
|
+
readonly override?: string;
|
|
6810
|
+
readonly color?: string;
|
|
6811
|
+
};
|
|
6812
|
+
readonly commands?: {
|
|
6813
|
+
readonly start?: string;
|
|
6814
|
+
};
|
|
6815
|
+
}["name"];
|
|
6816
|
+
readonly icon?: {
|
|
6817
|
+
readonly name?: string;
|
|
6818
|
+
readonly icon?: {
|
|
6819
|
+
readonly url?: string;
|
|
6820
|
+
readonly override?: string;
|
|
6821
|
+
readonly color?: string;
|
|
6822
|
+
};
|
|
6823
|
+
readonly commands?: {
|
|
6824
|
+
readonly start?: string;
|
|
6825
|
+
};
|
|
6826
|
+
}["icon"];
|
|
6827
|
+
readonly commands?: {
|
|
6828
|
+
readonly name?: string;
|
|
6829
|
+
readonly icon?: {
|
|
6830
|
+
readonly url?: string;
|
|
6831
|
+
readonly override?: string;
|
|
6832
|
+
readonly color?: string;
|
|
6833
|
+
};
|
|
6834
|
+
readonly commands?: {
|
|
6835
|
+
readonly start?: string;
|
|
6836
|
+
};
|
|
6837
|
+
}["commands"];
|
|
6838
|
+
};
|
|
6839
|
+
export type ProjectUpdateOutput = Project;
|
|
6265
6840
|
export type ProjectCurrentInput = {
|
|
6266
6841
|
readonly location?: {
|
|
6267
6842
|
readonly location?: {
|
|
@@ -6318,7 +6893,7 @@ export type FormCreateInput = {
|
|
|
6318
6893
|
readonly when?: ReadonlyArray<{
|
|
6319
6894
|
readonly key: string;
|
|
6320
6895
|
readonly op: "eq" | "neq";
|
|
6321
|
-
readonly value: string | number |
|
|
6896
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6322
6897
|
}>;
|
|
6323
6898
|
readonly type: "string";
|
|
6324
6899
|
readonly format?: "email" | "uri" | "date" | "date-time";
|
|
@@ -6341,12 +6916,12 @@ export type FormCreateInput = {
|
|
|
6341
6916
|
readonly when?: ReadonlyArray<{
|
|
6342
6917
|
readonly key: string;
|
|
6343
6918
|
readonly op: "eq" | "neq";
|
|
6344
|
-
readonly value: string | number |
|
|
6919
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6345
6920
|
}>;
|
|
6346
6921
|
readonly type: "number";
|
|
6347
|
-
readonly minimum?: number |
|
|
6348
|
-
readonly maximum?: number |
|
|
6349
|
-
readonly default?: number |
|
|
6922
|
+
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6923
|
+
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6924
|
+
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6350
6925
|
} | {
|
|
6351
6926
|
readonly key: string;
|
|
6352
6927
|
readonly title?: string;
|
|
@@ -6355,12 +6930,12 @@ export type FormCreateInput = {
|
|
|
6355
6930
|
readonly when?: ReadonlyArray<{
|
|
6356
6931
|
readonly key: string;
|
|
6357
6932
|
readonly op: "eq" | "neq";
|
|
6358
|
-
readonly value: string | number |
|
|
6933
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6359
6934
|
}>;
|
|
6360
6935
|
readonly type: "integer";
|
|
6361
|
-
readonly minimum?: number |
|
|
6362
|
-
readonly maximum?: number |
|
|
6363
|
-
readonly default?: number |
|
|
6936
|
+
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6937
|
+
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6938
|
+
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6364
6939
|
} | {
|
|
6365
6940
|
readonly key: string;
|
|
6366
6941
|
readonly title?: string;
|
|
@@ -6369,7 +6944,7 @@ export type FormCreateInput = {
|
|
|
6369
6944
|
readonly when?: ReadonlyArray<{
|
|
6370
6945
|
readonly key: string;
|
|
6371
6946
|
readonly op: "eq" | "neq";
|
|
6372
|
-
readonly value: string | number |
|
|
6947
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6373
6948
|
}>;
|
|
6374
6949
|
readonly type: "boolean";
|
|
6375
6950
|
readonly default?: boolean;
|
|
@@ -6381,7 +6956,7 @@ export type FormCreateInput = {
|
|
|
6381
6956
|
readonly when?: ReadonlyArray<{
|
|
6382
6957
|
readonly key: string;
|
|
6383
6958
|
readonly op: "eq" | "neq";
|
|
6384
|
-
readonly value: string | number |
|
|
6959
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6385
6960
|
}>;
|
|
6386
6961
|
readonly type: "multiselect";
|
|
6387
6962
|
readonly options: ReadonlyArray<{
|
|
@@ -6408,7 +6983,7 @@ export type FormCreateInput = {
|
|
|
6408
6983
|
readonly when?: ReadonlyArray<{
|
|
6409
6984
|
readonly key: string;
|
|
6410
6985
|
readonly op: "eq" | "neq";
|
|
6411
|
-
readonly value: string | number |
|
|
6986
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6412
6987
|
}>;
|
|
6413
6988
|
readonly type: "string";
|
|
6414
6989
|
readonly format?: "email" | "uri" | "date" | "date-time";
|
|
@@ -6431,12 +7006,12 @@ export type FormCreateInput = {
|
|
|
6431
7006
|
readonly when?: ReadonlyArray<{
|
|
6432
7007
|
readonly key: string;
|
|
6433
7008
|
readonly op: "eq" | "neq";
|
|
6434
|
-
readonly value: string | number |
|
|
7009
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6435
7010
|
}>;
|
|
6436
7011
|
readonly type: "number";
|
|
6437
|
-
readonly minimum?: number |
|
|
6438
|
-
readonly maximum?: number |
|
|
6439
|
-
readonly default?: number |
|
|
7012
|
+
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7013
|
+
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7014
|
+
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6440
7015
|
} | {
|
|
6441
7016
|
readonly key: string;
|
|
6442
7017
|
readonly title?: string;
|
|
@@ -6445,12 +7020,12 @@ export type FormCreateInput = {
|
|
|
6445
7020
|
readonly when?: ReadonlyArray<{
|
|
6446
7021
|
readonly key: string;
|
|
6447
7022
|
readonly op: "eq" | "neq";
|
|
6448
|
-
readonly value: string | number |
|
|
7023
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6449
7024
|
}>;
|
|
6450
7025
|
readonly type: "integer";
|
|
6451
|
-
readonly minimum?: number |
|
|
6452
|
-
readonly maximum?: number |
|
|
6453
|
-
readonly default?: number |
|
|
7026
|
+
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7027
|
+
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7028
|
+
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6454
7029
|
} | {
|
|
6455
7030
|
readonly key: string;
|
|
6456
7031
|
readonly title?: string;
|
|
@@ -6459,7 +7034,7 @@ export type FormCreateInput = {
|
|
|
6459
7034
|
readonly when?: ReadonlyArray<{
|
|
6460
7035
|
readonly key: string;
|
|
6461
7036
|
readonly op: "eq" | "neq";
|
|
6462
|
-
readonly value: string | number |
|
|
7037
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6463
7038
|
}>;
|
|
6464
7039
|
readonly type: "boolean";
|
|
6465
7040
|
readonly default?: boolean;
|
|
@@ -6471,7 +7046,7 @@ export type FormCreateInput = {
|
|
|
6471
7046
|
readonly when?: ReadonlyArray<{
|
|
6472
7047
|
readonly key: string;
|
|
6473
7048
|
readonly op: "eq" | "neq";
|
|
6474
|
-
readonly value: string | number |
|
|
7049
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6475
7050
|
}>;
|
|
6476
7051
|
readonly type: "multiselect";
|
|
6477
7052
|
readonly options: ReadonlyArray<{
|
|
@@ -6507,7 +7082,7 @@ export type FormCreateInput = {
|
|
|
6507
7082
|
readonly when?: ReadonlyArray<{
|
|
6508
7083
|
readonly key: string;
|
|
6509
7084
|
readonly op: "eq" | "neq";
|
|
6510
|
-
readonly value: string | number |
|
|
7085
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6511
7086
|
}>;
|
|
6512
7087
|
readonly type: "string";
|
|
6513
7088
|
readonly format?: "email" | "uri" | "date" | "date-time";
|
|
@@ -6530,12 +7105,12 @@ export type FormCreateInput = {
|
|
|
6530
7105
|
readonly when?: ReadonlyArray<{
|
|
6531
7106
|
readonly key: string;
|
|
6532
7107
|
readonly op: "eq" | "neq";
|
|
6533
|
-
readonly value: string | number |
|
|
7108
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6534
7109
|
}>;
|
|
6535
7110
|
readonly type: "number";
|
|
6536
|
-
readonly minimum?: number |
|
|
6537
|
-
readonly maximum?: number |
|
|
6538
|
-
readonly default?: number |
|
|
7111
|
+
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7112
|
+
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7113
|
+
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6539
7114
|
} | {
|
|
6540
7115
|
readonly key: string;
|
|
6541
7116
|
readonly title?: string;
|
|
@@ -6544,12 +7119,12 @@ export type FormCreateInput = {
|
|
|
6544
7119
|
readonly when?: ReadonlyArray<{
|
|
6545
7120
|
readonly key: string;
|
|
6546
7121
|
readonly op: "eq" | "neq";
|
|
6547
|
-
readonly value: string | number |
|
|
7122
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6548
7123
|
}>;
|
|
6549
7124
|
readonly type: "integer";
|
|
6550
|
-
readonly minimum?: number |
|
|
6551
|
-
readonly maximum?: number |
|
|
6552
|
-
readonly default?: number |
|
|
7125
|
+
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7126
|
+
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7127
|
+
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6553
7128
|
} | {
|
|
6554
7129
|
readonly key: string;
|
|
6555
7130
|
readonly title?: string;
|
|
@@ -6558,7 +7133,7 @@ export type FormCreateInput = {
|
|
|
6558
7133
|
readonly when?: ReadonlyArray<{
|
|
6559
7134
|
readonly key: string;
|
|
6560
7135
|
readonly op: "eq" | "neq";
|
|
6561
|
-
readonly value: string | number |
|
|
7136
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6562
7137
|
}>;
|
|
6563
7138
|
readonly type: "boolean";
|
|
6564
7139
|
readonly default?: boolean;
|
|
@@ -6570,7 +7145,7 @@ export type FormCreateInput = {
|
|
|
6570
7145
|
readonly when?: ReadonlyArray<{
|
|
6571
7146
|
readonly key: string;
|
|
6572
7147
|
readonly op: "eq" | "neq";
|
|
6573
|
-
readonly value: string | number |
|
|
7148
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6574
7149
|
}>;
|
|
6575
7150
|
readonly type: "multiselect";
|
|
6576
7151
|
readonly options: ReadonlyArray<{
|
|
@@ -6597,7 +7172,7 @@ export type FormCreateInput = {
|
|
|
6597
7172
|
readonly when?: ReadonlyArray<{
|
|
6598
7173
|
readonly key: string;
|
|
6599
7174
|
readonly op: "eq" | "neq";
|
|
6600
|
-
readonly value: string | number |
|
|
7175
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6601
7176
|
}>;
|
|
6602
7177
|
readonly type: "string";
|
|
6603
7178
|
readonly format?: "email" | "uri" | "date" | "date-time";
|
|
@@ -6620,12 +7195,12 @@ export type FormCreateInput = {
|
|
|
6620
7195
|
readonly when?: ReadonlyArray<{
|
|
6621
7196
|
readonly key: string;
|
|
6622
7197
|
readonly op: "eq" | "neq";
|
|
6623
|
-
readonly value: string | number |
|
|
7198
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6624
7199
|
}>;
|
|
6625
7200
|
readonly type: "number";
|
|
6626
|
-
readonly minimum?: number |
|
|
6627
|
-
readonly maximum?: number |
|
|
6628
|
-
readonly default?: number |
|
|
7201
|
+
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7202
|
+
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7203
|
+
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6629
7204
|
} | {
|
|
6630
7205
|
readonly key: string;
|
|
6631
7206
|
readonly title?: string;
|
|
@@ -6634,12 +7209,12 @@ export type FormCreateInput = {
|
|
|
6634
7209
|
readonly when?: ReadonlyArray<{
|
|
6635
7210
|
readonly key: string;
|
|
6636
7211
|
readonly op: "eq" | "neq";
|
|
6637
|
-
readonly value: string | number |
|
|
7212
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6638
7213
|
}>;
|
|
6639
7214
|
readonly type: "integer";
|
|
6640
|
-
readonly minimum?: number |
|
|
6641
|
-
readonly maximum?: number |
|
|
6642
|
-
readonly default?: number |
|
|
7215
|
+
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7216
|
+
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7217
|
+
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6643
7218
|
} | {
|
|
6644
7219
|
readonly key: string;
|
|
6645
7220
|
readonly title?: string;
|
|
@@ -6648,7 +7223,7 @@ export type FormCreateInput = {
|
|
|
6648
7223
|
readonly when?: ReadonlyArray<{
|
|
6649
7224
|
readonly key: string;
|
|
6650
7225
|
readonly op: "eq" | "neq";
|
|
6651
|
-
readonly value: string | number |
|
|
7226
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6652
7227
|
}>;
|
|
6653
7228
|
readonly type: "boolean";
|
|
6654
7229
|
readonly default?: boolean;
|
|
@@ -6660,7 +7235,7 @@ export type FormCreateInput = {
|
|
|
6660
7235
|
readonly when?: ReadonlyArray<{
|
|
6661
7236
|
readonly key: string;
|
|
6662
7237
|
readonly op: "eq" | "neq";
|
|
6663
|
-
readonly value: string | number |
|
|
7238
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6664
7239
|
}>;
|
|
6665
7240
|
readonly type: "multiselect";
|
|
6666
7241
|
readonly options: ReadonlyArray<{
|
|
@@ -6696,7 +7271,7 @@ export type FormCreateInput = {
|
|
|
6696
7271
|
readonly when?: ReadonlyArray<{
|
|
6697
7272
|
readonly key: string;
|
|
6698
7273
|
readonly op: "eq" | "neq";
|
|
6699
|
-
readonly value: string | number |
|
|
7274
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6700
7275
|
}>;
|
|
6701
7276
|
readonly type: "string";
|
|
6702
7277
|
readonly format?: "email" | "uri" | "date" | "date-time";
|
|
@@ -6719,12 +7294,12 @@ export type FormCreateInput = {
|
|
|
6719
7294
|
readonly when?: ReadonlyArray<{
|
|
6720
7295
|
readonly key: string;
|
|
6721
7296
|
readonly op: "eq" | "neq";
|
|
6722
|
-
readonly value: string | number |
|
|
7297
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6723
7298
|
}>;
|
|
6724
7299
|
readonly type: "number";
|
|
6725
|
-
readonly minimum?: number |
|
|
6726
|
-
readonly maximum?: number |
|
|
6727
|
-
readonly default?: number |
|
|
7300
|
+
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7301
|
+
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7302
|
+
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6728
7303
|
} | {
|
|
6729
7304
|
readonly key: string;
|
|
6730
7305
|
readonly title?: string;
|
|
@@ -6733,12 +7308,12 @@ export type FormCreateInput = {
|
|
|
6733
7308
|
readonly when?: ReadonlyArray<{
|
|
6734
7309
|
readonly key: string;
|
|
6735
7310
|
readonly op: "eq" | "neq";
|
|
6736
|
-
readonly value: string | number |
|
|
7311
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6737
7312
|
}>;
|
|
6738
7313
|
readonly type: "integer";
|
|
6739
|
-
readonly minimum?: number |
|
|
6740
|
-
readonly maximum?: number |
|
|
6741
|
-
readonly default?: number |
|
|
7314
|
+
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7315
|
+
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7316
|
+
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6742
7317
|
} | {
|
|
6743
7318
|
readonly key: string;
|
|
6744
7319
|
readonly title?: string;
|
|
@@ -6747,7 +7322,7 @@ export type FormCreateInput = {
|
|
|
6747
7322
|
readonly when?: ReadonlyArray<{
|
|
6748
7323
|
readonly key: string;
|
|
6749
7324
|
readonly op: "eq" | "neq";
|
|
6750
|
-
readonly value: string | number |
|
|
7325
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6751
7326
|
}>;
|
|
6752
7327
|
readonly type: "boolean";
|
|
6753
7328
|
readonly default?: boolean;
|
|
@@ -6759,7 +7334,7 @@ export type FormCreateInput = {
|
|
|
6759
7334
|
readonly when?: ReadonlyArray<{
|
|
6760
7335
|
readonly key: string;
|
|
6761
7336
|
readonly op: "eq" | "neq";
|
|
6762
|
-
readonly value: string | number |
|
|
7337
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6763
7338
|
}>;
|
|
6764
7339
|
readonly type: "multiselect";
|
|
6765
7340
|
readonly options: ReadonlyArray<{
|
|
@@ -6786,7 +7361,7 @@ export type FormCreateInput = {
|
|
|
6786
7361
|
readonly when?: ReadonlyArray<{
|
|
6787
7362
|
readonly key: string;
|
|
6788
7363
|
readonly op: "eq" | "neq";
|
|
6789
|
-
readonly value: string | number |
|
|
7364
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6790
7365
|
}>;
|
|
6791
7366
|
readonly type: "string";
|
|
6792
7367
|
readonly format?: "email" | "uri" | "date" | "date-time";
|
|
@@ -6809,12 +7384,12 @@ export type FormCreateInput = {
|
|
|
6809
7384
|
readonly when?: ReadonlyArray<{
|
|
6810
7385
|
readonly key: string;
|
|
6811
7386
|
readonly op: "eq" | "neq";
|
|
6812
|
-
readonly value: string | number |
|
|
7387
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6813
7388
|
}>;
|
|
6814
7389
|
readonly type: "number";
|
|
6815
|
-
readonly minimum?: number |
|
|
6816
|
-
readonly maximum?: number |
|
|
6817
|
-
readonly default?: number |
|
|
7390
|
+
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7391
|
+
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7392
|
+
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6818
7393
|
} | {
|
|
6819
7394
|
readonly key: string;
|
|
6820
7395
|
readonly title?: string;
|
|
@@ -6823,12 +7398,12 @@ export type FormCreateInput = {
|
|
|
6823
7398
|
readonly when?: ReadonlyArray<{
|
|
6824
7399
|
readonly key: string;
|
|
6825
7400
|
readonly op: "eq" | "neq";
|
|
6826
|
-
readonly value: string | number |
|
|
7401
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6827
7402
|
}>;
|
|
6828
7403
|
readonly type: "integer";
|
|
6829
|
-
readonly minimum?: number |
|
|
6830
|
-
readonly maximum?: number |
|
|
6831
|
-
readonly default?: number |
|
|
7404
|
+
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7405
|
+
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7406
|
+
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6832
7407
|
} | {
|
|
6833
7408
|
readonly key: string;
|
|
6834
7409
|
readonly title?: string;
|
|
@@ -6837,7 +7412,7 @@ export type FormCreateInput = {
|
|
|
6837
7412
|
readonly when?: ReadonlyArray<{
|
|
6838
7413
|
readonly key: string;
|
|
6839
7414
|
readonly op: "eq" | "neq";
|
|
6840
|
-
readonly value: string | number |
|
|
7415
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6841
7416
|
}>;
|
|
6842
7417
|
readonly type: "boolean";
|
|
6843
7418
|
readonly default?: boolean;
|
|
@@ -6849,7 +7424,7 @@ export type FormCreateInput = {
|
|
|
6849
7424
|
readonly when?: ReadonlyArray<{
|
|
6850
7425
|
readonly key: string;
|
|
6851
7426
|
readonly op: "eq" | "neq";
|
|
6852
|
-
readonly value: string | number |
|
|
7427
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6853
7428
|
}>;
|
|
6854
7429
|
readonly type: "multiselect";
|
|
6855
7430
|
readonly options: ReadonlyArray<{
|
|
@@ -6885,7 +7460,7 @@ export type FormCreateInput = {
|
|
|
6885
7460
|
readonly when?: ReadonlyArray<{
|
|
6886
7461
|
readonly key: string;
|
|
6887
7462
|
readonly op: "eq" | "neq";
|
|
6888
|
-
readonly value: string | number |
|
|
7463
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6889
7464
|
}>;
|
|
6890
7465
|
readonly type: "string";
|
|
6891
7466
|
readonly format?: "email" | "uri" | "date" | "date-time";
|
|
@@ -6908,12 +7483,12 @@ export type FormCreateInput = {
|
|
|
6908
7483
|
readonly when?: ReadonlyArray<{
|
|
6909
7484
|
readonly key: string;
|
|
6910
7485
|
readonly op: "eq" | "neq";
|
|
6911
|
-
readonly value: string | number |
|
|
7486
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6912
7487
|
}>;
|
|
6913
7488
|
readonly type: "number";
|
|
6914
|
-
readonly minimum?: number |
|
|
6915
|
-
readonly maximum?: number |
|
|
6916
|
-
readonly default?: number |
|
|
7489
|
+
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7490
|
+
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7491
|
+
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6917
7492
|
} | {
|
|
6918
7493
|
readonly key: string;
|
|
6919
7494
|
readonly title?: string;
|
|
@@ -6922,12 +7497,12 @@ export type FormCreateInput = {
|
|
|
6922
7497
|
readonly when?: ReadonlyArray<{
|
|
6923
7498
|
readonly key: string;
|
|
6924
7499
|
readonly op: "eq" | "neq";
|
|
6925
|
-
readonly value: string | number |
|
|
7500
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6926
7501
|
}>;
|
|
6927
7502
|
readonly type: "integer";
|
|
6928
|
-
readonly minimum?: number |
|
|
6929
|
-
readonly maximum?: number |
|
|
6930
|
-
readonly default?: number |
|
|
7503
|
+
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7504
|
+
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7505
|
+
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6931
7506
|
} | {
|
|
6932
7507
|
readonly key: string;
|
|
6933
7508
|
readonly title?: string;
|
|
@@ -6936,7 +7511,7 @@ export type FormCreateInput = {
|
|
|
6936
7511
|
readonly when?: ReadonlyArray<{
|
|
6937
7512
|
readonly key: string;
|
|
6938
7513
|
readonly op: "eq" | "neq";
|
|
6939
|
-
readonly value: string | number |
|
|
7514
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6940
7515
|
}>;
|
|
6941
7516
|
readonly type: "boolean";
|
|
6942
7517
|
readonly default?: boolean;
|
|
@@ -6948,7 +7523,7 @@ export type FormCreateInput = {
|
|
|
6948
7523
|
readonly when?: ReadonlyArray<{
|
|
6949
7524
|
readonly key: string;
|
|
6950
7525
|
readonly op: "eq" | "neq";
|
|
6951
|
-
readonly value: string | number |
|
|
7526
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6952
7527
|
}>;
|
|
6953
7528
|
readonly type: "multiselect";
|
|
6954
7529
|
readonly options: ReadonlyArray<{
|
|
@@ -6975,7 +7550,7 @@ export type FormCreateInput = {
|
|
|
6975
7550
|
readonly when?: ReadonlyArray<{
|
|
6976
7551
|
readonly key: string;
|
|
6977
7552
|
readonly op: "eq" | "neq";
|
|
6978
|
-
readonly value: string | number |
|
|
7553
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6979
7554
|
}>;
|
|
6980
7555
|
readonly type: "string";
|
|
6981
7556
|
readonly format?: "email" | "uri" | "date" | "date-time";
|
|
@@ -6998,12 +7573,12 @@ export type FormCreateInput = {
|
|
|
6998
7573
|
readonly when?: ReadonlyArray<{
|
|
6999
7574
|
readonly key: string;
|
|
7000
7575
|
readonly op: "eq" | "neq";
|
|
7001
|
-
readonly value: string | number |
|
|
7576
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
7002
7577
|
}>;
|
|
7003
7578
|
readonly type: "number";
|
|
7004
|
-
readonly minimum?: number |
|
|
7005
|
-
readonly maximum?: number |
|
|
7006
|
-
readonly default?: number |
|
|
7579
|
+
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7580
|
+
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7581
|
+
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7007
7582
|
} | {
|
|
7008
7583
|
readonly key: string;
|
|
7009
7584
|
readonly title?: string;
|
|
@@ -7012,12 +7587,12 @@ export type FormCreateInput = {
|
|
|
7012
7587
|
readonly when?: ReadonlyArray<{
|
|
7013
7588
|
readonly key: string;
|
|
7014
7589
|
readonly op: "eq" | "neq";
|
|
7015
|
-
readonly value: string | number |
|
|
7590
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
7016
7591
|
}>;
|
|
7017
7592
|
readonly type: "integer";
|
|
7018
|
-
readonly minimum?: number |
|
|
7019
|
-
readonly maximum?: number |
|
|
7020
|
-
readonly default?: number |
|
|
7593
|
+
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7594
|
+
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7595
|
+
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
7021
7596
|
} | {
|
|
7022
7597
|
readonly key: string;
|
|
7023
7598
|
readonly title?: string;
|
|
@@ -7026,7 +7601,7 @@ export type FormCreateInput = {
|
|
|
7026
7601
|
readonly when?: ReadonlyArray<{
|
|
7027
7602
|
readonly key: string;
|
|
7028
7603
|
readonly op: "eq" | "neq";
|
|
7029
|
-
readonly value: string | number |
|
|
7604
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
7030
7605
|
}>;
|
|
7031
7606
|
readonly type: "boolean";
|
|
7032
7607
|
readonly default?: boolean;
|
|
@@ -7038,7 +7613,7 @@ export type FormCreateInput = {
|
|
|
7038
7613
|
readonly when?: ReadonlyArray<{
|
|
7039
7614
|
readonly key: string;
|
|
7040
7615
|
readonly op: "eq" | "neq";
|
|
7041
|
-
readonly value: string | number |
|
|
7616
|
+
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
7042
7617
|
}>;
|
|
7043
7618
|
readonly type: "multiselect";
|
|
7044
7619
|
readonly options: ReadonlyArray<{
|
|
@@ -7618,6 +8193,170 @@ export type PtyConnectTokenOutput = {
|
|
|
7618
8193
|
};
|
|
7619
8194
|
data: PtyTicketConnectToken;
|
|
7620
8195
|
};
|
|
8196
|
+
export type ExperimentalPersistentPtyReadInput = {
|
|
8197
|
+
readonly sessionID: {
|
|
8198
|
+
readonly sessionID: string;
|
|
8199
|
+
}["sessionID"];
|
|
8200
|
+
readonly lines?: {
|
|
8201
|
+
readonly lines?: number | undefined;
|
|
8202
|
+
}["lines"];
|
|
8203
|
+
};
|
|
8204
|
+
export type ExperimentalPersistentPtyReadOutput = {
|
|
8205
|
+
data: PersistentPtyReadResult | null;
|
|
8206
|
+
}["data"];
|
|
8207
|
+
export type ExperimentalPersistentPtyListInput = {
|
|
8208
|
+
readonly sessionID: {
|
|
8209
|
+
readonly sessionID: string;
|
|
8210
|
+
}["sessionID"];
|
|
8211
|
+
};
|
|
8212
|
+
export type ExperimentalPersistentPtyListOutput = {
|
|
8213
|
+
data: Array<PersistentPtyInfo>;
|
|
8214
|
+
}["data"];
|
|
8215
|
+
export type ExperimentalPersistentPtyCreateInput = {
|
|
8216
|
+
readonly sessionID: {
|
|
8217
|
+
readonly sessionID: string;
|
|
8218
|
+
}["sessionID"];
|
|
8219
|
+
readonly command?: {
|
|
8220
|
+
readonly command?: string;
|
|
8221
|
+
readonly args: ReadonlyArray<string>;
|
|
8222
|
+
readonly cwd?: string;
|
|
8223
|
+
readonly title: string;
|
|
8224
|
+
readonly env: {
|
|
8225
|
+
readonly [x: string]: string;
|
|
8226
|
+
};
|
|
8227
|
+
readonly size?: {
|
|
8228
|
+
readonly cols: number;
|
|
8229
|
+
readonly rows: number;
|
|
8230
|
+
};
|
|
8231
|
+
}["command"];
|
|
8232
|
+
readonly args: {
|
|
8233
|
+
readonly command?: string;
|
|
8234
|
+
readonly args: ReadonlyArray<string>;
|
|
8235
|
+
readonly cwd?: string;
|
|
8236
|
+
readonly title: string;
|
|
8237
|
+
readonly env: {
|
|
8238
|
+
readonly [x: string]: string;
|
|
8239
|
+
};
|
|
8240
|
+
readonly size?: {
|
|
8241
|
+
readonly cols: number;
|
|
8242
|
+
readonly rows: number;
|
|
8243
|
+
};
|
|
8244
|
+
}["args"];
|
|
8245
|
+
readonly cwd?: {
|
|
8246
|
+
readonly command?: string;
|
|
8247
|
+
readonly args: ReadonlyArray<string>;
|
|
8248
|
+
readonly cwd?: string;
|
|
8249
|
+
readonly title: string;
|
|
8250
|
+
readonly env: {
|
|
8251
|
+
readonly [x: string]: string;
|
|
8252
|
+
};
|
|
8253
|
+
readonly size?: {
|
|
8254
|
+
readonly cols: number;
|
|
8255
|
+
readonly rows: number;
|
|
8256
|
+
};
|
|
8257
|
+
}["cwd"];
|
|
8258
|
+
readonly title: {
|
|
8259
|
+
readonly command?: string;
|
|
8260
|
+
readonly args: ReadonlyArray<string>;
|
|
8261
|
+
readonly cwd?: string;
|
|
8262
|
+
readonly title: string;
|
|
8263
|
+
readonly env: {
|
|
8264
|
+
readonly [x: string]: string;
|
|
8265
|
+
};
|
|
8266
|
+
readonly size?: {
|
|
8267
|
+
readonly cols: number;
|
|
8268
|
+
readonly rows: number;
|
|
8269
|
+
};
|
|
8270
|
+
}["title"];
|
|
8271
|
+
readonly env: {
|
|
8272
|
+
readonly command?: string;
|
|
8273
|
+
readonly args: ReadonlyArray<string>;
|
|
8274
|
+
readonly cwd?: string;
|
|
8275
|
+
readonly title: string;
|
|
8276
|
+
readonly env: {
|
|
8277
|
+
readonly [x: string]: string;
|
|
8278
|
+
};
|
|
8279
|
+
readonly size?: {
|
|
8280
|
+
readonly cols: number;
|
|
8281
|
+
readonly rows: number;
|
|
8282
|
+
};
|
|
8283
|
+
}["env"];
|
|
8284
|
+
readonly size?: {
|
|
8285
|
+
readonly command?: string;
|
|
8286
|
+
readonly args: ReadonlyArray<string>;
|
|
8287
|
+
readonly cwd?: string;
|
|
8288
|
+
readonly title: string;
|
|
8289
|
+
readonly env: {
|
|
8290
|
+
readonly [x: string]: string;
|
|
8291
|
+
};
|
|
8292
|
+
readonly size?: {
|
|
8293
|
+
readonly cols: number;
|
|
8294
|
+
readonly rows: number;
|
|
8295
|
+
};
|
|
8296
|
+
}["size"];
|
|
8297
|
+
};
|
|
8298
|
+
export type ExperimentalPersistentPtyCreateOutput = {
|
|
8299
|
+
data: PersistentPtyInfo;
|
|
8300
|
+
}["data"];
|
|
8301
|
+
export type ExperimentalPersistentPtyShutdownOutput = void;
|
|
8302
|
+
export type ExperimentalPersistentPtyHandoffOutput = {
|
|
8303
|
+
handoff: PersistentPtyHandoff | null;
|
|
8304
|
+
};
|
|
8305
|
+
export type ExperimentalPersistentPtyGetInput = {
|
|
8306
|
+
readonly ptyID: {
|
|
8307
|
+
readonly ptyID: string;
|
|
8308
|
+
}["ptyID"];
|
|
8309
|
+
};
|
|
8310
|
+
export type ExperimentalPersistentPtyGetOutput = {
|
|
8311
|
+
data: PersistentPtyInfo;
|
|
8312
|
+
}["data"];
|
|
8313
|
+
export type ExperimentalPersistentPtyUpdateInput = {
|
|
8314
|
+
readonly ptyID: {
|
|
8315
|
+
readonly ptyID: string;
|
|
8316
|
+
}["ptyID"];
|
|
8317
|
+
readonly attachmentID?: {
|
|
8318
|
+
readonly attachmentID?: string;
|
|
8319
|
+
readonly size: {
|
|
8320
|
+
readonly cols: number;
|
|
8321
|
+
readonly rows: number;
|
|
8322
|
+
};
|
|
8323
|
+
}["attachmentID"];
|
|
8324
|
+
readonly size: {
|
|
8325
|
+
readonly attachmentID?: string;
|
|
8326
|
+
readonly size: {
|
|
8327
|
+
readonly cols: number;
|
|
8328
|
+
readonly rows: number;
|
|
8329
|
+
};
|
|
8330
|
+
}["size"];
|
|
8331
|
+
};
|
|
8332
|
+
export type ExperimentalPersistentPtyUpdateOutput = {
|
|
8333
|
+
data: PersistentPtyInfo;
|
|
8334
|
+
}["data"];
|
|
8335
|
+
export type ExperimentalPersistentPtySnapshotInput = {
|
|
8336
|
+
readonly ptyID: {
|
|
8337
|
+
readonly ptyID: string;
|
|
8338
|
+
}["ptyID"];
|
|
8339
|
+
};
|
|
8340
|
+
export type ExperimentalPersistentPtySnapshotOutput = {
|
|
8341
|
+
data: PersistentPtySnapshot;
|
|
8342
|
+
}["data"];
|
|
8343
|
+
export type ExperimentalPersistentPtyRemoveInput = {
|
|
8344
|
+
readonly ptyID: {
|
|
8345
|
+
readonly ptyID: string;
|
|
8346
|
+
}["ptyID"];
|
|
8347
|
+
};
|
|
8348
|
+
export type ExperimentalPersistentPtyRemoveOutput = void;
|
|
8349
|
+
export type ExperimentalPersistentPtyConnectTokenInput = {
|
|
8350
|
+
readonly ptyID: {
|
|
8351
|
+
readonly ptyID: string;
|
|
8352
|
+
}["ptyID"];
|
|
8353
|
+
readonly "x-opencode-ticket"?: {
|
|
8354
|
+
readonly "x-opencode-ticket"?: string | undefined;
|
|
8355
|
+
}["x-opencode-ticket"];
|
|
8356
|
+
};
|
|
8357
|
+
export type ExperimentalPersistentPtyConnectTokenOutput = {
|
|
8358
|
+
data: PtyTicketConnectToken;
|
|
8359
|
+
}["data"];
|
|
7621
8360
|
export type ShellListInput = {
|
|
7622
8361
|
readonly location?: {
|
|
7623
8362
|
readonly location?: {
|
|
@@ -7830,24 +8569,35 @@ export type WorktreeCreateInput = {
|
|
|
7830
8569
|
readonly strategy: {
|
|
7831
8570
|
readonly strategy: string;
|
|
7832
8571
|
readonly from?: string;
|
|
8572
|
+
readonly branch?: string;
|
|
7833
8573
|
readonly directory: string;
|
|
7834
8574
|
readonly name?: string;
|
|
7835
8575
|
}["strategy"];
|
|
7836
8576
|
readonly from?: {
|
|
7837
8577
|
readonly strategy: string;
|
|
7838
8578
|
readonly from?: string;
|
|
8579
|
+
readonly branch?: string;
|
|
7839
8580
|
readonly directory: string;
|
|
7840
8581
|
readonly name?: string;
|
|
7841
8582
|
}["from"];
|
|
8583
|
+
readonly branch?: {
|
|
8584
|
+
readonly strategy: string;
|
|
8585
|
+
readonly from?: string;
|
|
8586
|
+
readonly branch?: string;
|
|
8587
|
+
readonly directory: string;
|
|
8588
|
+
readonly name?: string;
|
|
8589
|
+
}["branch"];
|
|
7842
8590
|
readonly directory: {
|
|
7843
8591
|
readonly strategy: string;
|
|
7844
8592
|
readonly from?: string;
|
|
8593
|
+
readonly branch?: string;
|
|
7845
8594
|
readonly directory: string;
|
|
7846
8595
|
readonly name?: string;
|
|
7847
8596
|
}["directory"];
|
|
7848
8597
|
readonly name?: {
|
|
7849
8598
|
readonly strategy: string;
|
|
7850
8599
|
readonly from?: string;
|
|
8600
|
+
readonly branch?: string;
|
|
7851
8601
|
readonly directory: string;
|
|
7852
8602
|
readonly name?: string;
|
|
7853
8603
|
}["name"];
|
|
@@ -7873,6 +8623,25 @@ export type WorktreeRefreshInput = {
|
|
|
7873
8623
|
}["projectID"];
|
|
7874
8624
|
};
|
|
7875
8625
|
export type WorktreeRefreshOutput = void;
|
|
8626
|
+
export type WorkspaceCreateInput = {
|
|
8627
|
+
readonly id?: {
|
|
8628
|
+
readonly id?: string | undefined;
|
|
8629
|
+
readonly provider: string;
|
|
8630
|
+
}["id"];
|
|
8631
|
+
readonly provider: {
|
|
8632
|
+
readonly id?: string | undefined;
|
|
8633
|
+
readonly provider: string;
|
|
8634
|
+
}["provider"];
|
|
8635
|
+
};
|
|
8636
|
+
export type WorkspaceCreateOutput = {
|
|
8637
|
+
data: string;
|
|
8638
|
+
}["data"];
|
|
8639
|
+
export type WorkspaceDestroyInput = {
|
|
8640
|
+
readonly workspaceID: {
|
|
8641
|
+
readonly workspaceID: string;
|
|
8642
|
+
}["workspaceID"];
|
|
8643
|
+
};
|
|
8644
|
+
export type WorkspaceDestroyOutput = WorkspaceDestroyResult;
|
|
7876
8645
|
export type VcsGetInput = {
|
|
7877
8646
|
readonly location?: {
|
|
7878
8647
|
readonly location?: {
|
|
@@ -7893,6 +8662,26 @@ export type VcsGetOutput = {
|
|
|
7893
8662
|
};
|
|
7894
8663
|
data: VcsInfo;
|
|
7895
8664
|
};
|
|
8665
|
+
export type VcsBaseInput = {
|
|
8666
|
+
readonly location?: {
|
|
8667
|
+
readonly location?: {
|
|
8668
|
+
readonly directory?: string | undefined;
|
|
8669
|
+
readonly workspace?: string | undefined;
|
|
8670
|
+
} | undefined;
|
|
8671
|
+
}["location"];
|
|
8672
|
+
};
|
|
8673
|
+
export type VcsBaseOutput = {
|
|
8674
|
+
location: {
|
|
8675
|
+
directory: string;
|
|
8676
|
+
workspaceID?: string;
|
|
8677
|
+
project: {
|
|
8678
|
+
id: string;
|
|
8679
|
+
directory: string;
|
|
8680
|
+
canonical: string;
|
|
8681
|
+
};
|
|
8682
|
+
};
|
|
8683
|
+
data: VcsBase | null;
|
|
8684
|
+
};
|
|
7896
8685
|
export type VcsStatusInput = {
|
|
7897
8686
|
readonly location?: {
|
|
7898
8687
|
readonly location?: {
|
|
@@ -7913,13 +8702,52 @@ export type VcsStatusOutput = {
|
|
|
7913
8702
|
};
|
|
7914
8703
|
data: Array<VcsFileStatus>;
|
|
7915
8704
|
};
|
|
8705
|
+
export type VcsBranchesInput = {
|
|
8706
|
+
readonly location?: {
|
|
8707
|
+
readonly location?: {
|
|
8708
|
+
readonly directory?: string | undefined;
|
|
8709
|
+
readonly workspace?: string | undefined;
|
|
8710
|
+
} | undefined;
|
|
8711
|
+
readonly search?: string | undefined;
|
|
8712
|
+
readonly limit?: number | undefined;
|
|
8713
|
+
}["location"];
|
|
8714
|
+
readonly search?: {
|
|
8715
|
+
readonly location?: {
|
|
8716
|
+
readonly directory?: string | undefined;
|
|
8717
|
+
readonly workspace?: string | undefined;
|
|
8718
|
+
} | undefined;
|
|
8719
|
+
readonly search?: string | undefined;
|
|
8720
|
+
readonly limit?: number | undefined;
|
|
8721
|
+
}["search"];
|
|
8722
|
+
readonly limit?: {
|
|
8723
|
+
readonly location?: {
|
|
8724
|
+
readonly directory?: string | undefined;
|
|
8725
|
+
readonly workspace?: string | undefined;
|
|
8726
|
+
} | undefined;
|
|
8727
|
+
readonly search?: string | undefined;
|
|
8728
|
+
readonly limit?: number | undefined;
|
|
8729
|
+
}["limit"];
|
|
8730
|
+
};
|
|
8731
|
+
export type VcsBranchesOutput = {
|
|
8732
|
+
location: {
|
|
8733
|
+
directory: string;
|
|
8734
|
+
workspaceID?: string;
|
|
8735
|
+
project: {
|
|
8736
|
+
id: string;
|
|
8737
|
+
directory: string;
|
|
8738
|
+
canonical: string;
|
|
8739
|
+
};
|
|
8740
|
+
};
|
|
8741
|
+
data: VcsBranchList;
|
|
8742
|
+
};
|
|
7916
8743
|
export type VcsDiffInput = {
|
|
7917
8744
|
readonly location?: {
|
|
7918
8745
|
readonly location?: {
|
|
7919
8746
|
readonly directory?: string | undefined;
|
|
7920
8747
|
readonly workspace?: string | undefined;
|
|
7921
8748
|
} | undefined;
|
|
7922
|
-
readonly mode: "working" | "branch";
|
|
8749
|
+
readonly mode: "working" | "branch" | "committed";
|
|
8750
|
+
readonly base?: string | undefined;
|
|
7923
8751
|
readonly context?: number | undefined;
|
|
7924
8752
|
}["location"];
|
|
7925
8753
|
readonly mode: {
|
|
@@ -7927,15 +8755,26 @@ export type VcsDiffInput = {
|
|
|
7927
8755
|
readonly directory?: string | undefined;
|
|
7928
8756
|
readonly workspace?: string | undefined;
|
|
7929
8757
|
} | undefined;
|
|
7930
|
-
readonly mode: "working" | "branch";
|
|
8758
|
+
readonly mode: "working" | "branch" | "committed";
|
|
8759
|
+
readonly base?: string | undefined;
|
|
7931
8760
|
readonly context?: number | undefined;
|
|
7932
8761
|
}["mode"];
|
|
8762
|
+
readonly base?: {
|
|
8763
|
+
readonly location?: {
|
|
8764
|
+
readonly directory?: string | undefined;
|
|
8765
|
+
readonly workspace?: string | undefined;
|
|
8766
|
+
} | undefined;
|
|
8767
|
+
readonly mode: "working" | "branch" | "committed";
|
|
8768
|
+
readonly base?: string | undefined;
|
|
8769
|
+
readonly context?: number | undefined;
|
|
8770
|
+
}["base"];
|
|
7933
8771
|
readonly context?: {
|
|
7934
8772
|
readonly location?: {
|
|
7935
8773
|
readonly directory?: string | undefined;
|
|
7936
8774
|
readonly workspace?: string | undefined;
|
|
7937
8775
|
} | undefined;
|
|
7938
|
-
readonly mode: "working" | "branch";
|
|
8776
|
+
readonly mode: "working" | "branch" | "committed";
|
|
8777
|
+
readonly base?: string | undefined;
|
|
7939
8778
|
readonly context?: number | undefined;
|
|
7940
8779
|
}["context"];
|
|
7941
8780
|
};
|