@opencode-ai/client 0.0.0-dev-18109 → 0.0.0-dev-18111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/effect/api/api.d.ts +2 -6
- package/dist/effect/generated/client.d.ts +1 -1
- package/dist/effect/generated/client.js +2 -6
- package/dist/promise/generated/client.d.ts +2 -2
- package/dist/promise/generated/client.js +5 -9
- package/dist/promise/generated/types.d.ts +855 -1065
- package/dist/promise/generated/types.js +1 -1
- package/package.json +4 -4
|
@@ -35,15 +35,6 @@ 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
|
-
};
|
|
47
38
|
export type LocationRef = {
|
|
48
39
|
directory: string;
|
|
49
40
|
workspaceID?: string;
|
|
@@ -73,18 +64,6 @@ export type SessionStatsActivity = {
|
|
|
73
64
|
date: string;
|
|
74
65
|
steps: number;
|
|
75
66
|
};
|
|
76
|
-
export type SessionMessageAgentSelected = {
|
|
77
|
-
id: string;
|
|
78
|
-
metadata?: {
|
|
79
|
-
[x: string]: JsonValue;
|
|
80
|
-
};
|
|
81
|
-
time: {
|
|
82
|
-
created: number;
|
|
83
|
-
};
|
|
84
|
-
type: "agent-switched";
|
|
85
|
-
agent: string;
|
|
86
|
-
previous?: string;
|
|
87
|
-
};
|
|
88
67
|
export type PromptBase64 = string;
|
|
89
68
|
export type PromptFileSource = {
|
|
90
69
|
type: "inline";
|
|
@@ -97,134 +76,23 @@ export type PromptMention = {
|
|
|
97
76
|
end: number;
|
|
98
77
|
text: string;
|
|
99
78
|
};
|
|
100
|
-
export type SessionMessageSynthetic = {
|
|
101
|
-
id: string;
|
|
102
|
-
metadata?: {
|
|
103
|
-
[x: string]: JsonValue;
|
|
104
|
-
};
|
|
105
|
-
time: {
|
|
106
|
-
created: number;
|
|
107
|
-
};
|
|
108
|
-
text: string;
|
|
109
|
-
description?: string;
|
|
110
|
-
type: "synthetic";
|
|
111
|
-
};
|
|
112
|
-
export type SessionMessageSystem = {
|
|
113
|
-
id: string;
|
|
114
|
-
metadata?: {
|
|
115
|
-
[x: string]: JsonValue;
|
|
116
|
-
};
|
|
117
|
-
time: {
|
|
118
|
-
created: number;
|
|
119
|
-
};
|
|
120
|
-
type: "system";
|
|
121
|
-
text: string;
|
|
122
|
-
description?: string;
|
|
123
|
-
};
|
|
124
|
-
export type SessionMessageSkill = {
|
|
125
|
-
id: string;
|
|
126
|
-
metadata?: {
|
|
127
|
-
[x: string]: JsonValue;
|
|
128
|
-
};
|
|
129
|
-
time: {
|
|
130
|
-
created: number;
|
|
131
|
-
};
|
|
132
|
-
type: "skill";
|
|
133
|
-
skill: string;
|
|
134
|
-
name: string;
|
|
135
|
-
text: string;
|
|
136
|
-
};
|
|
137
|
-
export type SessionMessageShell = {
|
|
138
|
-
id: string;
|
|
139
|
-
metadata?: {
|
|
140
|
-
[x: string]: JsonValue;
|
|
141
|
-
};
|
|
142
|
-
time: {
|
|
143
|
-
created: number;
|
|
144
|
-
completed?: number;
|
|
145
|
-
};
|
|
146
|
-
type: "shell";
|
|
147
|
-
shellID: string;
|
|
148
|
-
command: string;
|
|
149
|
-
status: "running" | "exited" | "timeout" | "killed";
|
|
150
|
-
exit?: number | "Infinity" | "-Infinity" | "NaN";
|
|
151
|
-
output?: {
|
|
152
|
-
output: string;
|
|
153
|
-
cursor: number;
|
|
154
|
-
size: number;
|
|
155
|
-
truncated: boolean;
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
|
-
export type SessionMessageProviderState = {
|
|
159
|
-
[x: string]: JsonValue;
|
|
160
|
-
};
|
|
161
79
|
export type SessionMessageToolStateStreaming = {
|
|
162
80
|
status: "streaming";
|
|
163
81
|
input: string;
|
|
164
82
|
};
|
|
165
|
-
export type SessionMessageToolStateRunning = {
|
|
166
|
-
status: "running";
|
|
167
|
-
input: {
|
|
168
|
-
[x: string]: JsonValue;
|
|
169
|
-
};
|
|
170
|
-
metadata: {
|
|
171
|
-
[x: string]: JsonValue;
|
|
172
|
-
};
|
|
173
|
-
};
|
|
174
83
|
export type ToolTextContent = {
|
|
175
84
|
type: "text";
|
|
176
85
|
text: string;
|
|
177
86
|
};
|
|
178
|
-
export type ToolFileContent = {
|
|
179
|
-
type: "file";
|
|
180
|
-
uri: string;
|
|
181
|
-
mime: string;
|
|
182
|
-
name?: string | null;
|
|
183
|
-
};
|
|
184
87
|
export type SessionStructuredError = {
|
|
185
88
|
type: string;
|
|
186
89
|
message: string;
|
|
187
90
|
status?: number;
|
|
188
91
|
};
|
|
189
|
-
export type SessionMessageCompactionRunning = {
|
|
190
|
-
type: "compaction";
|
|
191
|
-
id: string;
|
|
192
|
-
metadata?: {
|
|
193
|
-
[x: string]: JsonValue;
|
|
194
|
-
};
|
|
195
|
-
time: {
|
|
196
|
-
created: number;
|
|
197
|
-
};
|
|
198
|
-
status: "running";
|
|
199
|
-
reason: "auto" | "manual";
|
|
200
|
-
summary: string;
|
|
201
|
-
recent: string;
|
|
202
|
-
};
|
|
203
|
-
export type SessionMessageCompactionCompleted = {
|
|
204
|
-
type: "compaction";
|
|
205
|
-
id: string;
|
|
206
|
-
metadata?: {
|
|
207
|
-
[x: string]: JsonValue;
|
|
208
|
-
};
|
|
209
|
-
time: {
|
|
210
|
-
created: number;
|
|
211
|
-
};
|
|
212
|
-
status: "completed";
|
|
213
|
-
reason: "auto" | "manual";
|
|
214
|
-
summary: string;
|
|
215
|
-
recent: string;
|
|
216
|
-
};
|
|
217
92
|
export type SessionActive = {
|
|
218
93
|
type: "running";
|
|
219
94
|
};
|
|
220
95
|
export type SessionInboxDelivery = "steer" | "queue";
|
|
221
|
-
export type SessionInboxSyntheticPayload = {
|
|
222
|
-
text: string;
|
|
223
|
-
description?: string;
|
|
224
|
-
metadata?: {
|
|
225
|
-
[x: string]: JsonValue;
|
|
226
|
-
};
|
|
227
|
-
};
|
|
228
96
|
export type SessionInboxCompactionPayload = {};
|
|
229
97
|
export type InstructionEntryKey = string;
|
|
230
98
|
export type SessionGenerateResponse = {
|
|
@@ -239,23 +107,6 @@ export type SessionInboxSyntheticPayload1 = {
|
|
|
239
107
|
[x: string]: any;
|
|
240
108
|
};
|
|
241
109
|
};
|
|
242
|
-
export type ShellInfo = {
|
|
243
|
-
id: string;
|
|
244
|
-
status: "running" | "exited" | "timeout" | "killed";
|
|
245
|
-
command: string;
|
|
246
|
-
cwd: string;
|
|
247
|
-
shell: string;
|
|
248
|
-
file: string;
|
|
249
|
-
pid?: number;
|
|
250
|
-
exit?: number;
|
|
251
|
-
metadata: {
|
|
252
|
-
[x: string]: any;
|
|
253
|
-
};
|
|
254
|
-
time: {
|
|
255
|
-
started: number;
|
|
256
|
-
completed?: number;
|
|
257
|
-
};
|
|
258
|
-
};
|
|
259
110
|
export type SessionMessageProviderState1 = {
|
|
260
111
|
[x: string]: any;
|
|
261
112
|
};
|
|
@@ -272,51 +123,12 @@ export type EventLogSynced = {
|
|
|
272
123
|
};
|
|
273
124
|
export type ModelReasoningField = "reasoning" | "reasoning_content" | "reasoning_text" | (string & {});
|
|
274
125
|
export type ModelMaxTokensField = "max_completion_tokens" | "max_tokens";
|
|
275
|
-
export type ModelCapabilities = {
|
|
276
|
-
tools: boolean;
|
|
277
|
-
input: Array<string>;
|
|
278
|
-
output: Array<string>;
|
|
279
|
-
responsesWebsockets?: boolean;
|
|
280
|
-
};
|
|
281
|
-
export type ModelVariant = {
|
|
282
|
-
id: string;
|
|
283
|
-
settings?: {
|
|
284
|
-
[x: string]: any;
|
|
285
|
-
};
|
|
286
|
-
headers?: {
|
|
287
|
-
[x: string]: string;
|
|
288
|
-
};
|
|
289
|
-
body?: {
|
|
290
|
-
[x: string]: any;
|
|
291
|
-
};
|
|
292
|
-
};
|
|
293
126
|
export type MoneyUSDPerMillionTokens = number;
|
|
294
127
|
export type GenerateTextResponse = {
|
|
295
128
|
data: {
|
|
296
129
|
text: string;
|
|
297
130
|
};
|
|
298
131
|
};
|
|
299
|
-
export type ProviderInfo = {
|
|
300
|
-
id: string;
|
|
301
|
-
integrationID?: string;
|
|
302
|
-
name: string;
|
|
303
|
-
activation: "auto" | "enabled" | "disabled";
|
|
304
|
-
package: string;
|
|
305
|
-
settings?: {
|
|
306
|
-
[x: string]: any;
|
|
307
|
-
};
|
|
308
|
-
headers?: {
|
|
309
|
-
[x: string]: string;
|
|
310
|
-
};
|
|
311
|
-
body?: {
|
|
312
|
-
[x: string]: any;
|
|
313
|
-
};
|
|
314
|
-
};
|
|
315
|
-
export type FormWhen = {
|
|
316
|
-
key: string;
|
|
317
|
-
op: "eq" | "neq";
|
|
318
|
-
value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
319
|
-
};
|
|
320
132
|
export type FormOption = {
|
|
321
133
|
value: string;
|
|
322
134
|
label: string;
|
|
@@ -348,66 +160,6 @@ export type ConnectionEnvInfo = {
|
|
|
348
160
|
type: "env";
|
|
349
161
|
name: string;
|
|
350
162
|
};
|
|
351
|
-
export type IntegrationAttemptStatus = {
|
|
352
|
-
status: "pending";
|
|
353
|
-
time: {
|
|
354
|
-
created: number | "Infinity" | "-Infinity" | "NaN";
|
|
355
|
-
expires: number | "Infinity" | "-Infinity" | "NaN";
|
|
356
|
-
};
|
|
357
|
-
} | {
|
|
358
|
-
status: "complete";
|
|
359
|
-
time: {
|
|
360
|
-
created: number | "Infinity" | "-Infinity" | "NaN";
|
|
361
|
-
expires: number | "Infinity" | "-Infinity" | "NaN";
|
|
362
|
-
};
|
|
363
|
-
} | {
|
|
364
|
-
status: "failed";
|
|
365
|
-
message: string;
|
|
366
|
-
time: {
|
|
367
|
-
created: number | "Infinity" | "-Infinity" | "NaN";
|
|
368
|
-
expires: number | "Infinity" | "-Infinity" | "NaN";
|
|
369
|
-
};
|
|
370
|
-
} | {
|
|
371
|
-
status: "expired";
|
|
372
|
-
time: {
|
|
373
|
-
created: number | "Infinity" | "-Infinity" | "NaN";
|
|
374
|
-
expires: number | "Infinity" | "-Infinity" | "NaN";
|
|
375
|
-
};
|
|
376
|
-
};
|
|
377
|
-
export type IntegrationCommandAttempt = {
|
|
378
|
-
attemptID: string;
|
|
379
|
-
time: {
|
|
380
|
-
created: number | "Infinity" | "-Infinity" | "NaN";
|
|
381
|
-
expires: number | "Infinity" | "-Infinity" | "NaN";
|
|
382
|
-
};
|
|
383
|
-
};
|
|
384
|
-
export type IntegrationCommandAttemptStatus = {
|
|
385
|
-
status: "pending";
|
|
386
|
-
message?: string;
|
|
387
|
-
time: {
|
|
388
|
-
created: number | "Infinity" | "-Infinity" | "NaN";
|
|
389
|
-
expires: number | "Infinity" | "-Infinity" | "NaN";
|
|
390
|
-
};
|
|
391
|
-
} | {
|
|
392
|
-
status: "complete";
|
|
393
|
-
time: {
|
|
394
|
-
created: number | "Infinity" | "-Infinity" | "NaN";
|
|
395
|
-
expires: number | "Infinity" | "-Infinity" | "NaN";
|
|
396
|
-
};
|
|
397
|
-
} | {
|
|
398
|
-
status: "failed";
|
|
399
|
-
message: string;
|
|
400
|
-
time: {
|
|
401
|
-
created: number | "Infinity" | "-Infinity" | "NaN";
|
|
402
|
-
expires: number | "Infinity" | "-Infinity" | "NaN";
|
|
403
|
-
};
|
|
404
|
-
} | {
|
|
405
|
-
status: "expired";
|
|
406
|
-
time: {
|
|
407
|
-
created: number | "Infinity" | "-Infinity" | "NaN";
|
|
408
|
-
expires: number | "Infinity" | "-Infinity" | "NaN";
|
|
409
|
-
};
|
|
410
|
-
};
|
|
411
163
|
export type McpStatusConnected = {
|
|
412
164
|
status: "connected";
|
|
413
165
|
};
|
|
@@ -457,9 +209,6 @@ export type ProjectCurrent = {
|
|
|
457
209
|
directory: string;
|
|
458
210
|
canonical: string;
|
|
459
211
|
};
|
|
460
|
-
export type FormMetadata = {
|
|
461
|
-
[x: string]: JsonValue;
|
|
462
|
-
};
|
|
463
212
|
export type FormValue = string | number | boolean | Array<string>;
|
|
464
213
|
export type PermissionSource = {
|
|
465
214
|
type: "tool";
|
|
@@ -476,6 +225,10 @@ export type FileSystemEntry = {
|
|
|
476
225
|
path: string;
|
|
477
226
|
type: "file" | "directory";
|
|
478
227
|
};
|
|
228
|
+
export type CommandInfo = {
|
|
229
|
+
name: string;
|
|
230
|
+
description?: string;
|
|
231
|
+
};
|
|
479
232
|
export type SkillInfo = {
|
|
480
233
|
id: string;
|
|
481
234
|
name: string;
|
|
@@ -526,23 +279,6 @@ export type PtyTicketConnectToken = {
|
|
|
526
279
|
ticket: string;
|
|
527
280
|
expires_in: number;
|
|
528
281
|
};
|
|
529
|
-
export type ShellInfo1 = {
|
|
530
|
-
id: string;
|
|
531
|
-
status: "running" | "exited" | "timeout" | "killed";
|
|
532
|
-
command: string;
|
|
533
|
-
cwd: string;
|
|
534
|
-
shell: string;
|
|
535
|
-
file: string;
|
|
536
|
-
pid?: number;
|
|
537
|
-
exit?: number;
|
|
538
|
-
metadata: {
|
|
539
|
-
[x: string]: JsonValue;
|
|
540
|
-
};
|
|
541
|
-
time: {
|
|
542
|
-
started: number;
|
|
543
|
-
completed?: number;
|
|
544
|
-
};
|
|
545
|
-
};
|
|
546
282
|
export type ReferenceLocalSource = {
|
|
547
283
|
type: "local";
|
|
548
284
|
path: string;
|
|
@@ -585,14 +321,6 @@ export type WebSearchResult = {
|
|
|
585
321
|
published?: number;
|
|
586
322
|
};
|
|
587
323
|
};
|
|
588
|
-
export type CommandInfo = {
|
|
589
|
-
name: string;
|
|
590
|
-
template: string;
|
|
591
|
-
description?: string;
|
|
592
|
-
agent?: string;
|
|
593
|
-
model?: ModelRef;
|
|
594
|
-
subtask?: boolean;
|
|
595
|
-
};
|
|
596
324
|
export type ProviderRequest = {
|
|
597
325
|
settings: ProviderSettings;
|
|
598
326
|
headers: {
|
|
@@ -619,22 +347,13 @@ export type PluginInfo = {
|
|
|
619
347
|
error: string;
|
|
620
348
|
tui: boolean;
|
|
621
349
|
};
|
|
622
|
-
export type
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
};
|
|
630
|
-
type: "location-switched";
|
|
631
|
-
location: LocationRef;
|
|
632
|
-
projectID?: string;
|
|
633
|
-
subpath?: string;
|
|
634
|
-
previous?: {
|
|
635
|
-
location: LocationRef;
|
|
636
|
-
projectID?: string;
|
|
637
|
-
subpath?: string;
|
|
350
|
+
export type TokenUsageInfo = {
|
|
351
|
+
input: number;
|
|
352
|
+
output: number;
|
|
353
|
+
reasoning: number;
|
|
354
|
+
cache: {
|
|
355
|
+
read: number;
|
|
356
|
+
write: number;
|
|
638
357
|
};
|
|
639
358
|
};
|
|
640
359
|
export type SessionInboxMovePayload = {
|
|
@@ -651,12 +370,6 @@ export type V2EventServerConnected = {
|
|
|
651
370
|
type: "server.connected";
|
|
652
371
|
data: {};
|
|
653
372
|
};
|
|
654
|
-
export type SessionRevert = {
|
|
655
|
-
messageID: string;
|
|
656
|
-
partID?: string;
|
|
657
|
-
snapshot?: string;
|
|
658
|
-
files?: Array<FileDiffInfo>;
|
|
659
|
-
};
|
|
660
373
|
export type SessionStatsTools = {
|
|
661
374
|
mode: "none";
|
|
662
375
|
} | {
|
|
@@ -667,23 +380,27 @@ export type SessionStatsTools = {
|
|
|
667
380
|
totals: SessionStatsToolTotals;
|
|
668
381
|
usage: Array<SessionStatsToolUsage>;
|
|
669
382
|
};
|
|
670
|
-
export type
|
|
671
|
-
|
|
672
|
-
steps: number;
|
|
673
|
-
tokens: TokenUsageInfo;
|
|
674
|
-
cost: MoneyUSD;
|
|
383
|
+
export type SessionMessageProviderState = {
|
|
384
|
+
[x: string]: JsonValue;
|
|
675
385
|
};
|
|
676
|
-
export type
|
|
677
|
-
|
|
678
|
-
|
|
386
|
+
export type SessionMessageToolStateRunning = {
|
|
387
|
+
status: "running";
|
|
388
|
+
input: {
|
|
679
389
|
[x: string]: JsonValue;
|
|
680
390
|
};
|
|
681
|
-
|
|
682
|
-
|
|
391
|
+
metadata: {
|
|
392
|
+
[x: string]: JsonValue;
|
|
683
393
|
};
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
394
|
+
};
|
|
395
|
+
export type SessionInboxSyntheticPayload = {
|
|
396
|
+
text: string;
|
|
397
|
+
description?: string;
|
|
398
|
+
metadata?: {
|
|
399
|
+
[x: string]: JsonValue;
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
export type FormMetadata = {
|
|
403
|
+
[x: string]: JsonValue;
|
|
687
404
|
};
|
|
688
405
|
export type PromptFileAttachment = {
|
|
689
406
|
data: PromptBase64;
|
|
@@ -702,47 +419,17 @@ export type PromptSkillAttachment = {
|
|
|
702
419
|
name: string;
|
|
703
420
|
mention?: PromptMention;
|
|
704
421
|
};
|
|
705
|
-
export type
|
|
706
|
-
type: "
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
export type SessionMessageAssistantReasoning = {
|
|
711
|
-
type: "reasoning";
|
|
712
|
-
text: string;
|
|
713
|
-
state?: SessionMessageProviderState;
|
|
714
|
-
time?: {
|
|
715
|
-
created: number;
|
|
716
|
-
completed?: number;
|
|
717
|
-
};
|
|
422
|
+
export type ToolFileContent = {
|
|
423
|
+
type: "file";
|
|
424
|
+
uri: string;
|
|
425
|
+
mime: string;
|
|
426
|
+
name?: string | null;
|
|
718
427
|
};
|
|
719
|
-
export type ToolContent = ToolTextContent | ToolFileContent;
|
|
720
428
|
export type SessionMessageAssistantRetry = {
|
|
721
429
|
attempt: number;
|
|
722
430
|
at: number;
|
|
723
431
|
error: SessionStructuredError;
|
|
724
432
|
};
|
|
725
|
-
export type SessionMessageCompactionFailed = {
|
|
726
|
-
type: "compaction";
|
|
727
|
-
id: string;
|
|
728
|
-
metadata?: {
|
|
729
|
-
[x: string]: JsonValue;
|
|
730
|
-
};
|
|
731
|
-
time: {
|
|
732
|
-
created: number;
|
|
733
|
-
};
|
|
734
|
-
status: "failed";
|
|
735
|
-
reason: "auto" | "manual";
|
|
736
|
-
error: SessionStructuredError;
|
|
737
|
-
};
|
|
738
|
-
export type SessionInboxSynthetic = {
|
|
739
|
-
id: string;
|
|
740
|
-
sessionID: string;
|
|
741
|
-
timeCreated: number;
|
|
742
|
-
type: "synthetic";
|
|
743
|
-
payload: SessionInboxSyntheticPayload;
|
|
744
|
-
delivery: SessionInboxDelivery;
|
|
745
|
-
};
|
|
746
433
|
export type SessionInboxCompaction = {
|
|
747
434
|
id: string;
|
|
748
435
|
sessionID: string;
|
|
@@ -1186,66 +873,6 @@ export type SessionRetryScheduled = {
|
|
|
1186
873
|
error: SessionStructuredError;
|
|
1187
874
|
};
|
|
1188
875
|
};
|
|
1189
|
-
export type SessionCompactionStarted = {
|
|
1190
|
-
id: string;
|
|
1191
|
-
created: number;
|
|
1192
|
-
metadata?: {
|
|
1193
|
-
[x: string]: any;
|
|
1194
|
-
};
|
|
1195
|
-
type: "session.compaction.started";
|
|
1196
|
-
durable: {
|
|
1197
|
-
aggregateID: string;
|
|
1198
|
-
seq: number;
|
|
1199
|
-
version: 1;
|
|
1200
|
-
};
|
|
1201
|
-
location?: LocationRef;
|
|
1202
|
-
data: {
|
|
1203
|
-
sessionID: string;
|
|
1204
|
-
reason: "auto" | "manual";
|
|
1205
|
-
recent: string;
|
|
1206
|
-
inputID?: string;
|
|
1207
|
-
};
|
|
1208
|
-
};
|
|
1209
|
-
export type SessionCompactionEnded = {
|
|
1210
|
-
id: string;
|
|
1211
|
-
created: number;
|
|
1212
|
-
metadata?: {
|
|
1213
|
-
[x: string]: any;
|
|
1214
|
-
};
|
|
1215
|
-
type: "session.compaction.ended";
|
|
1216
|
-
durable: {
|
|
1217
|
-
aggregateID: string;
|
|
1218
|
-
seq: number;
|
|
1219
|
-
version: 1;
|
|
1220
|
-
};
|
|
1221
|
-
location?: LocationRef;
|
|
1222
|
-
data: {
|
|
1223
|
-
sessionID: string;
|
|
1224
|
-
reason: "auto" | "manual";
|
|
1225
|
-
text: string;
|
|
1226
|
-
recent: string;
|
|
1227
|
-
};
|
|
1228
|
-
};
|
|
1229
|
-
export type SessionCompactionFailed = {
|
|
1230
|
-
id: string;
|
|
1231
|
-
created: number;
|
|
1232
|
-
metadata?: {
|
|
1233
|
-
[x: string]: any;
|
|
1234
|
-
};
|
|
1235
|
-
type: "session.compaction.failed";
|
|
1236
|
-
durable: {
|
|
1237
|
-
aggregateID: string;
|
|
1238
|
-
seq: number;
|
|
1239
|
-
version: 1;
|
|
1240
|
-
};
|
|
1241
|
-
location?: LocationRef;
|
|
1242
|
-
data: {
|
|
1243
|
-
sessionID: string;
|
|
1244
|
-
reason: "auto" | "manual";
|
|
1245
|
-
error: SessionStructuredError;
|
|
1246
|
-
inputID?: string;
|
|
1247
|
-
};
|
|
1248
|
-
};
|
|
1249
876
|
export type SessionRevertCleared = {
|
|
1250
877
|
id: string;
|
|
1251
878
|
created: number;
|
|
@@ -1281,26 +908,6 @@ export type SessionRevertCommitted = {
|
|
|
1281
908
|
to: string;
|
|
1282
909
|
};
|
|
1283
910
|
};
|
|
1284
|
-
export type SessionUsageRecorded = {
|
|
1285
|
-
id: string;
|
|
1286
|
-
created: number;
|
|
1287
|
-
metadata?: {
|
|
1288
|
-
[x: string]: any;
|
|
1289
|
-
};
|
|
1290
|
-
type: "session.usage.recorded";
|
|
1291
|
-
durable: {
|
|
1292
|
-
aggregateID: string;
|
|
1293
|
-
seq: number;
|
|
1294
|
-
version: 1;
|
|
1295
|
-
};
|
|
1296
|
-
location?: LocationRef;
|
|
1297
|
-
data: {
|
|
1298
|
-
sessionID: string;
|
|
1299
|
-
source: "title" | "compaction";
|
|
1300
|
-
cost: MoneyUSD;
|
|
1301
|
-
tokens: TokenUsageInfo;
|
|
1302
|
-
};
|
|
1303
|
-
};
|
|
1304
911
|
export type ModelsDevRefreshed = {
|
|
1305
912
|
id: string;
|
|
1306
913
|
created: number;
|
|
@@ -1353,20 +960,6 @@ export type AgentUpdated = {
|
|
|
1353
960
|
location?: LocationRef;
|
|
1354
961
|
data: {};
|
|
1355
962
|
};
|
|
1356
|
-
export type SessionUsageUpdated = {
|
|
1357
|
-
id: string;
|
|
1358
|
-
created: number;
|
|
1359
|
-
metadata?: {
|
|
1360
|
-
[x: string]: any;
|
|
1361
|
-
};
|
|
1362
|
-
type: "session.usage.updated";
|
|
1363
|
-
location?: LocationRef;
|
|
1364
|
-
data: {
|
|
1365
|
-
sessionID: string;
|
|
1366
|
-
cost: MoneyUSD;
|
|
1367
|
-
tokens: TokenUsageInfo;
|
|
1368
|
-
};
|
|
1369
|
-
};
|
|
1370
963
|
export type SessionTextDelta = {
|
|
1371
964
|
id: string;
|
|
1372
965
|
created: number;
|
|
@@ -1745,13 +1338,47 @@ export type McpResourcesChanged = {
|
|
|
1745
1338
|
server: string;
|
|
1746
1339
|
};
|
|
1747
1340
|
};
|
|
1748
|
-
export type
|
|
1341
|
+
export type ShellInfo = {
|
|
1342
|
+
id: string;
|
|
1343
|
+
status: "running" | "exited" | "timeout" | "killed";
|
|
1344
|
+
command: string;
|
|
1345
|
+
cwd: string;
|
|
1346
|
+
shell: string;
|
|
1347
|
+
file: string;
|
|
1348
|
+
pid?: number;
|
|
1349
|
+
exit?: number;
|
|
1350
|
+
metadata: {
|
|
1351
|
+
[x: string]: any;
|
|
1352
|
+
};
|
|
1353
|
+
time: {
|
|
1354
|
+
started: number;
|
|
1355
|
+
completed?: number;
|
|
1356
|
+
};
|
|
1357
|
+
};
|
|
1358
|
+
export type ShellInfo1 = {
|
|
1359
|
+
id: string;
|
|
1360
|
+
status: "running" | "exited" | "timeout" | "killed";
|
|
1361
|
+
command: string;
|
|
1362
|
+
cwd: string;
|
|
1363
|
+
shell: string;
|
|
1364
|
+
file: string;
|
|
1365
|
+
pid?: number;
|
|
1366
|
+
exit?: number;
|
|
1367
|
+
metadata: {
|
|
1368
|
+
[x: string]: JsonValue;
|
|
1369
|
+
};
|
|
1370
|
+
time: {
|
|
1371
|
+
started: number;
|
|
1372
|
+
completed?: number;
|
|
1373
|
+
};
|
|
1374
|
+
};
|
|
1375
|
+
export type SessionTextEnded = {
|
|
1749
1376
|
id: string;
|
|
1750
1377
|
created: number;
|
|
1751
1378
|
metadata?: {
|
|
1752
1379
|
[x: string]: any;
|
|
1753
1380
|
};
|
|
1754
|
-
type: "session.
|
|
1381
|
+
type: "session.text.ended";
|
|
1755
1382
|
durable: {
|
|
1756
1383
|
aggregateID: string;
|
|
1757
1384
|
seq: number;
|
|
@@ -1760,16 +1387,19 @@ export type SessionShellStarted = {
|
|
|
1760
1387
|
location?: LocationRef;
|
|
1761
1388
|
data: {
|
|
1762
1389
|
sessionID: string;
|
|
1763
|
-
|
|
1390
|
+
assistantMessageID: string;
|
|
1391
|
+
ordinal: number;
|
|
1392
|
+
text: string;
|
|
1393
|
+
state?: SessionMessageProviderState1;
|
|
1764
1394
|
};
|
|
1765
1395
|
};
|
|
1766
|
-
export type
|
|
1396
|
+
export type SessionReasoningStarted = {
|
|
1767
1397
|
id: string;
|
|
1768
1398
|
created: number;
|
|
1769
1399
|
metadata?: {
|
|
1770
1400
|
[x: string]: any;
|
|
1771
1401
|
};
|
|
1772
|
-
type: "session.
|
|
1402
|
+
type: "session.reasoning.started";
|
|
1773
1403
|
durable: {
|
|
1774
1404
|
aggregateID: string;
|
|
1775
1405
|
seq: number;
|
|
@@ -1778,59 +1408,18 @@ export type SessionShellEnded = {
|
|
|
1778
1408
|
location?: LocationRef;
|
|
1779
1409
|
data: {
|
|
1780
1410
|
sessionID: string;
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
cursor: number;
|
|
1785
|
-
size: number;
|
|
1786
|
-
truncated: boolean;
|
|
1787
|
-
};
|
|
1411
|
+
assistantMessageID: string;
|
|
1412
|
+
ordinal: number;
|
|
1413
|
+
state?: SessionMessageProviderState1;
|
|
1788
1414
|
};
|
|
1789
1415
|
};
|
|
1790
|
-
export type
|
|
1416
|
+
export type SessionReasoningEnded = {
|
|
1791
1417
|
id: string;
|
|
1792
1418
|
created: number;
|
|
1793
1419
|
metadata?: {
|
|
1794
1420
|
[x: string]: any;
|
|
1795
1421
|
};
|
|
1796
|
-
type: "
|
|
1797
|
-
location?: LocationRef;
|
|
1798
|
-
data: {
|
|
1799
|
-
info: ShellInfo;
|
|
1800
|
-
};
|
|
1801
|
-
};
|
|
1802
|
-
export type SessionStepEnded = {
|
|
1803
|
-
id: string;
|
|
1804
|
-
created: number;
|
|
1805
|
-
metadata?: {
|
|
1806
|
-
[x: string]: any;
|
|
1807
|
-
};
|
|
1808
|
-
type: "session.step.ended";
|
|
1809
|
-
durable: {
|
|
1810
|
-
aggregateID: string;
|
|
1811
|
-
seq: number;
|
|
1812
|
-
version: 1;
|
|
1813
|
-
};
|
|
1814
|
-
location?: LocationRef;
|
|
1815
|
-
data: {
|
|
1816
|
-
sessionID: string;
|
|
1817
|
-
assistantMessageID: string;
|
|
1818
|
-
finish: "stop" | "length" | "tool-calls" | "content-filter" | "error" | "unknown";
|
|
1819
|
-
rawFinish?: string;
|
|
1820
|
-
providerState?: SessionMessageProviderState1;
|
|
1821
|
-
cost: MoneyUSD;
|
|
1822
|
-
tokens: TokenUsageInfo;
|
|
1823
|
-
snapshot?: string;
|
|
1824
|
-
files?: Array<string>;
|
|
1825
|
-
};
|
|
1826
|
-
};
|
|
1827
|
-
export type SessionStepFailed = {
|
|
1828
|
-
id: string;
|
|
1829
|
-
created: number;
|
|
1830
|
-
metadata?: {
|
|
1831
|
-
[x: string]: any;
|
|
1832
|
-
};
|
|
1833
|
-
type: "session.step.failed";
|
|
1422
|
+
type: "session.reasoning.ended";
|
|
1834
1423
|
durable: {
|
|
1835
1424
|
aggregateID: string;
|
|
1836
1425
|
seq: number;
|
|
@@ -1840,23 +1429,18 @@ export type SessionStepFailed = {
|
|
|
1840
1429
|
data: {
|
|
1841
1430
|
sessionID: string;
|
|
1842
1431
|
assistantMessageID: string;
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
providerState?: SessionMessageProviderState1;
|
|
1847
|
-
cost?: MoneyUSD;
|
|
1848
|
-
tokens?: TokenUsageInfo;
|
|
1849
|
-
snapshot?: string;
|
|
1850
|
-
files?: Array<string>;
|
|
1432
|
+
ordinal: number;
|
|
1433
|
+
text: string;
|
|
1434
|
+
state?: SessionMessageProviderState1;
|
|
1851
1435
|
};
|
|
1852
1436
|
};
|
|
1853
|
-
export type
|
|
1437
|
+
export type SessionToolCalled = {
|
|
1854
1438
|
id: string;
|
|
1855
1439
|
created: number;
|
|
1856
1440
|
metadata?: {
|
|
1857
1441
|
[x: string]: any;
|
|
1858
1442
|
};
|
|
1859
|
-
type: "session.
|
|
1443
|
+
type: "session.tool.called";
|
|
1860
1444
|
durable: {
|
|
1861
1445
|
aggregateID: string;
|
|
1862
1446
|
seq: number;
|
|
@@ -1866,18 +1450,22 @@ export type SessionTextEnded = {
|
|
|
1866
1450
|
data: {
|
|
1867
1451
|
sessionID: string;
|
|
1868
1452
|
assistantMessageID: string;
|
|
1869
|
-
|
|
1870
|
-
|
|
1453
|
+
id: string;
|
|
1454
|
+
input: {
|
|
1455
|
+
[x: string]: any;
|
|
1456
|
+
};
|
|
1457
|
+
executed: boolean;
|
|
1871
1458
|
state?: SessionMessageProviderState1;
|
|
1872
1459
|
};
|
|
1873
1460
|
};
|
|
1874
|
-
export type
|
|
1461
|
+
export type ToolContent1 = ToolTextContent | ToolFileContent1;
|
|
1462
|
+
export type SessionCompactionStarted = {
|
|
1875
1463
|
id: string;
|
|
1876
1464
|
created: number;
|
|
1877
1465
|
metadata?: {
|
|
1878
1466
|
[x: string]: any;
|
|
1879
1467
|
};
|
|
1880
|
-
type: "session.
|
|
1468
|
+
type: "session.compaction.started";
|
|
1881
1469
|
durable: {
|
|
1882
1470
|
aggregateID: string;
|
|
1883
1471
|
seq: number;
|
|
@@ -1886,18 +1474,18 @@ export type SessionReasoningStarted = {
|
|
|
1886
1474
|
location?: LocationRef;
|
|
1887
1475
|
data: {
|
|
1888
1476
|
sessionID: string;
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1477
|
+
reason: "auto" | "manual";
|
|
1478
|
+
recent: string;
|
|
1479
|
+
inputID?: string;
|
|
1892
1480
|
};
|
|
1893
1481
|
};
|
|
1894
|
-
export type
|
|
1482
|
+
export type SessionCompactionEnded = {
|
|
1895
1483
|
id: string;
|
|
1896
1484
|
created: number;
|
|
1897
1485
|
metadata?: {
|
|
1898
1486
|
[x: string]: any;
|
|
1899
1487
|
};
|
|
1900
|
-
type: "session.
|
|
1488
|
+
type: "session.compaction.ended";
|
|
1901
1489
|
durable: {
|
|
1902
1490
|
aggregateID: string;
|
|
1903
1491
|
seq: number;
|
|
@@ -1906,19 +1494,18 @@ export type SessionReasoningEnded = {
|
|
|
1906
1494
|
location?: LocationRef;
|
|
1907
1495
|
data: {
|
|
1908
1496
|
sessionID: string;
|
|
1909
|
-
|
|
1910
|
-
ordinal: number;
|
|
1497
|
+
reason: "auto" | "manual";
|
|
1911
1498
|
text: string;
|
|
1912
|
-
|
|
1499
|
+
recent: string;
|
|
1913
1500
|
};
|
|
1914
1501
|
};
|
|
1915
|
-
export type
|
|
1502
|
+
export type SessionCompactionFailed = {
|
|
1916
1503
|
id: string;
|
|
1917
1504
|
created: number;
|
|
1918
1505
|
metadata?: {
|
|
1919
1506
|
[x: string]: any;
|
|
1920
1507
|
};
|
|
1921
|
-
type: "session.
|
|
1508
|
+
type: "session.compaction.failed";
|
|
1922
1509
|
durable: {
|
|
1923
1510
|
aggregateID: string;
|
|
1924
1511
|
seq: number;
|
|
@@ -1927,21 +1514,50 @@ export type SessionToolCalled = {
|
|
|
1927
1514
|
location?: LocationRef;
|
|
1928
1515
|
data: {
|
|
1929
1516
|
sessionID: string;
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
[x: string]: any;
|
|
1934
|
-
};
|
|
1935
|
-
executed: boolean;
|
|
1936
|
-
state?: SessionMessageProviderState1;
|
|
1517
|
+
reason: "auto" | "manual";
|
|
1518
|
+
error: SessionStructuredError;
|
|
1519
|
+
inputID?: string;
|
|
1937
1520
|
};
|
|
1938
1521
|
};
|
|
1939
|
-
export type ToolContent1 = ToolTextContent | ToolFileContent1;
|
|
1940
1522
|
export type ModelCompatibility = {
|
|
1941
1523
|
reasoningField?: ModelReasoningField;
|
|
1942
1524
|
maxTokensField?: ModelMaxTokensField;
|
|
1943
1525
|
requireFinishReason?: boolean;
|
|
1944
1526
|
};
|
|
1527
|
+
export type ModelVariant = {
|
|
1528
|
+
id: string;
|
|
1529
|
+
settings?: {
|
|
1530
|
+
[x: string]: any;
|
|
1531
|
+
};
|
|
1532
|
+
headers?: {
|
|
1533
|
+
[x: string]: string;
|
|
1534
|
+
};
|
|
1535
|
+
body?: {
|
|
1536
|
+
[x: string]: any;
|
|
1537
|
+
};
|
|
1538
|
+
};
|
|
1539
|
+
export type ProviderInfo = {
|
|
1540
|
+
id: string;
|
|
1541
|
+
integrationID?: string;
|
|
1542
|
+
name: string;
|
|
1543
|
+
activation: "auto" | "enabled" | "disabled";
|
|
1544
|
+
package: string;
|
|
1545
|
+
settings?: {
|
|
1546
|
+
[x: string]: any;
|
|
1547
|
+
};
|
|
1548
|
+
headers?: {
|
|
1549
|
+
[x: string]: string;
|
|
1550
|
+
};
|
|
1551
|
+
body?: {
|
|
1552
|
+
[x: string]: any;
|
|
1553
|
+
};
|
|
1554
|
+
};
|
|
1555
|
+
export type ModelCapabilities = {
|
|
1556
|
+
tools: boolean;
|
|
1557
|
+
input: Array<string>;
|
|
1558
|
+
output: Array<string>;
|
|
1559
|
+
responsesWebsockets?: boolean;
|
|
1560
|
+
};
|
|
1945
1561
|
export type ModelCost = {
|
|
1946
1562
|
tier?: {
|
|
1947
1563
|
type: "context";
|
|
@@ -1954,66 +1570,6 @@ export type ModelCost = {
|
|
|
1954
1570
|
write: MoneyUSDPerMillionTokens;
|
|
1955
1571
|
};
|
|
1956
1572
|
};
|
|
1957
|
-
export type FormNumberField = {
|
|
1958
|
-
key: string;
|
|
1959
|
-
title?: string;
|
|
1960
|
-
description?: string;
|
|
1961
|
-
required?: boolean;
|
|
1962
|
-
when?: Array<FormWhen>;
|
|
1963
|
-
type: "number";
|
|
1964
|
-
minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
1965
|
-
maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
1966
|
-
default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
1967
|
-
};
|
|
1968
|
-
export type FormIntegerField = {
|
|
1969
|
-
key: string;
|
|
1970
|
-
title?: string;
|
|
1971
|
-
description?: string;
|
|
1972
|
-
required?: boolean;
|
|
1973
|
-
when?: Array<FormWhen>;
|
|
1974
|
-
type: "integer";
|
|
1975
|
-
minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
1976
|
-
maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
1977
|
-
default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
1978
|
-
};
|
|
1979
|
-
export type FormBooleanField = {
|
|
1980
|
-
key: string;
|
|
1981
|
-
title?: string;
|
|
1982
|
-
description?: string;
|
|
1983
|
-
required?: boolean;
|
|
1984
|
-
when?: Array<FormWhen>;
|
|
1985
|
-
type: "boolean";
|
|
1986
|
-
default?: boolean;
|
|
1987
|
-
};
|
|
1988
|
-
export type FormStringField = {
|
|
1989
|
-
key: string;
|
|
1990
|
-
title?: string;
|
|
1991
|
-
description?: string;
|
|
1992
|
-
required?: boolean;
|
|
1993
|
-
when?: Array<FormWhen>;
|
|
1994
|
-
type: "string";
|
|
1995
|
-
format?: "email" | "uri" | "date" | "date-time";
|
|
1996
|
-
minLength?: number;
|
|
1997
|
-
maxLength?: number;
|
|
1998
|
-
pattern?: string;
|
|
1999
|
-
placeholder?: string;
|
|
2000
|
-
default?: string;
|
|
2001
|
-
options?: Array<FormOption>;
|
|
2002
|
-
custom?: boolean;
|
|
2003
|
-
};
|
|
2004
|
-
export type FormMultiselectField = {
|
|
2005
|
-
key: string;
|
|
2006
|
-
title?: string;
|
|
2007
|
-
description?: string;
|
|
2008
|
-
required?: boolean;
|
|
2009
|
-
when?: Array<FormWhen>;
|
|
2010
|
-
type: "multiselect";
|
|
2011
|
-
options: Array<FormOption>;
|
|
2012
|
-
minItems?: number;
|
|
2013
|
-
maxItems?: number;
|
|
2014
|
-
custom?: boolean;
|
|
2015
|
-
default?: Array<string>;
|
|
2016
|
-
};
|
|
2017
1573
|
export type ConnectionInfo = ConnectionCredentialInfo | ConnectionEnvInfo;
|
|
2018
1574
|
export type McpServer = {
|
|
2019
1575
|
name: string;
|
|
@@ -2106,66 +1662,6 @@ export type PtyUpdated = {
|
|
|
2106
1662
|
info: Pty;
|
|
2107
1663
|
};
|
|
2108
1664
|
};
|
|
2109
|
-
export type FormStringField1 = {
|
|
2110
|
-
key: string;
|
|
2111
|
-
title?: string;
|
|
2112
|
-
description?: string;
|
|
2113
|
-
required?: boolean;
|
|
2114
|
-
when?: Array<FormWhen1>;
|
|
2115
|
-
type: "string";
|
|
2116
|
-
format?: "email" | "uri" | "date" | "date-time";
|
|
2117
|
-
minLength?: number;
|
|
2118
|
-
maxLength?: number;
|
|
2119
|
-
pattern?: string;
|
|
2120
|
-
placeholder?: string;
|
|
2121
|
-
default?: string;
|
|
2122
|
-
options?: Array<FormOption>;
|
|
2123
|
-
custom?: boolean;
|
|
2124
|
-
};
|
|
2125
|
-
export type FormNumberField1 = {
|
|
2126
|
-
key: string;
|
|
2127
|
-
title?: string;
|
|
2128
|
-
description?: string;
|
|
2129
|
-
required?: boolean;
|
|
2130
|
-
when?: Array<FormWhen1>;
|
|
2131
|
-
type: "number";
|
|
2132
|
-
minimum?: number;
|
|
2133
|
-
maximum?: number;
|
|
2134
|
-
default?: number;
|
|
2135
|
-
};
|
|
2136
|
-
export type FormIntegerField1 = {
|
|
2137
|
-
key: string;
|
|
2138
|
-
title?: string;
|
|
2139
|
-
description?: string;
|
|
2140
|
-
required?: boolean;
|
|
2141
|
-
when?: Array<FormWhen1>;
|
|
2142
|
-
type: "integer";
|
|
2143
|
-
minimum?: number;
|
|
2144
|
-
maximum?: number;
|
|
2145
|
-
default?: number;
|
|
2146
|
-
};
|
|
2147
|
-
export type FormBooleanField1 = {
|
|
2148
|
-
key: string;
|
|
2149
|
-
title?: string;
|
|
2150
|
-
description?: string;
|
|
2151
|
-
required?: boolean;
|
|
2152
|
-
when?: Array<FormWhen1>;
|
|
2153
|
-
type: "boolean";
|
|
2154
|
-
default?: boolean;
|
|
2155
|
-
};
|
|
2156
|
-
export type FormMultiselectField1 = {
|
|
2157
|
-
key: string;
|
|
2158
|
-
title?: string;
|
|
2159
|
-
description?: string;
|
|
2160
|
-
required?: boolean;
|
|
2161
|
-
when?: Array<FormWhen1>;
|
|
2162
|
-
type: "multiselect";
|
|
2163
|
-
options: Array<FormOption>;
|
|
2164
|
-
minItems?: number;
|
|
2165
|
-
maxItems?: number;
|
|
2166
|
-
custom?: boolean;
|
|
2167
|
-
default?: Array<string>;
|
|
2168
|
-
};
|
|
2169
1665
|
export type SessionStatusUpdated = {
|
|
2170
1666
|
id: string;
|
|
2171
1667
|
created: number;
|
|
@@ -2185,46 +1681,78 @@ export type VcsInfo = {
|
|
|
2185
1681
|
branch: VcsBranch;
|
|
2186
1682
|
};
|
|
2187
1683
|
export type PermissionRuleset = Array<PermissionRule>;
|
|
2188
|
-
export type
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
payload: SessionInboxMovePayload;
|
|
2194
|
-
delivery: SessionInboxDelivery;
|
|
1684
|
+
export type SessionStatsModelUsage = {
|
|
1685
|
+
model: ModelRef;
|
|
1686
|
+
steps: number;
|
|
1687
|
+
tokens: TokenUsageInfo;
|
|
1688
|
+
cost: MoneyUSD;
|
|
2195
1689
|
};
|
|
2196
|
-
export type
|
|
1690
|
+
export type SessionStepEnded = {
|
|
2197
1691
|
id: string;
|
|
2198
|
-
|
|
2199
|
-
|
|
1692
|
+
created: number;
|
|
1693
|
+
metadata?: {
|
|
1694
|
+
[x: string]: any;
|
|
1695
|
+
};
|
|
1696
|
+
type: "session.step.ended";
|
|
1697
|
+
durable: {
|
|
1698
|
+
aggregateID: string;
|
|
1699
|
+
seq: number;
|
|
1700
|
+
version: 1;
|
|
1701
|
+
};
|
|
1702
|
+
location?: LocationRef;
|
|
1703
|
+
data: {
|
|
2200
1704
|
sessionID: string;
|
|
2201
|
-
|
|
1705
|
+
assistantMessageID: string;
|
|
1706
|
+
finish: "stop" | "length" | "tool-calls" | "content-filter" | "error" | "unknown";
|
|
1707
|
+
rawFinish?: string;
|
|
1708
|
+
providerState?: SessionMessageProviderState1;
|
|
1709
|
+
cost: MoneyUSD;
|
|
1710
|
+
tokens: TokenUsageInfo;
|
|
1711
|
+
snapshot?: string;
|
|
1712
|
+
files?: Array<string>;
|
|
2202
1713
|
};
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
1714
|
+
};
|
|
1715
|
+
export type SessionUsageRecorded = {
|
|
1716
|
+
id: string;
|
|
1717
|
+
created: number;
|
|
1718
|
+
metadata?: {
|
|
1719
|
+
[x: string]: any;
|
|
1720
|
+
};
|
|
1721
|
+
type: "session.usage.recorded";
|
|
1722
|
+
durable: {
|
|
1723
|
+
aggregateID: string;
|
|
1724
|
+
seq: number;
|
|
1725
|
+
version: 1;
|
|
1726
|
+
};
|
|
1727
|
+
location?: LocationRef;
|
|
1728
|
+
data: {
|
|
1729
|
+
sessionID: string;
|
|
1730
|
+
source: "title" | "compaction";
|
|
1731
|
+
cost: MoneyUSD;
|
|
1732
|
+
tokens: TokenUsageInfo;
|
|
2215
1733
|
};
|
|
2216
|
-
title?: string;
|
|
2217
|
-
location: LocationRef;
|
|
2218
|
-
subpath?: string;
|
|
2219
|
-
revert?: SessionRevert;
|
|
2220
1734
|
};
|
|
2221
|
-
export type
|
|
1735
|
+
export type SessionUsageUpdated = {
|
|
2222
1736
|
id: string;
|
|
2223
1737
|
created: number;
|
|
2224
1738
|
metadata?: {
|
|
2225
1739
|
[x: string]: any;
|
|
2226
1740
|
};
|
|
2227
|
-
type: "session.
|
|
1741
|
+
type: "session.usage.updated";
|
|
1742
|
+
location?: LocationRef;
|
|
1743
|
+
data: {
|
|
1744
|
+
sessionID: string;
|
|
1745
|
+
cost: MoneyUSD;
|
|
1746
|
+
tokens: TokenUsageInfo;
|
|
1747
|
+
};
|
|
1748
|
+
};
|
|
1749
|
+
export type SessionStepFailed = {
|
|
1750
|
+
id: string;
|
|
1751
|
+
created: number;
|
|
1752
|
+
metadata?: {
|
|
1753
|
+
[x: string]: any;
|
|
1754
|
+
};
|
|
1755
|
+
type: "session.step.failed";
|
|
2228
1756
|
durable: {
|
|
2229
1757
|
aggregateID: string;
|
|
2230
1758
|
seq: number;
|
|
@@ -2233,27 +1761,44 @@ export type SessionRevertStaged = {
|
|
|
2233
1761
|
location?: LocationRef;
|
|
2234
1762
|
data: {
|
|
2235
1763
|
sessionID: string;
|
|
2236
|
-
|
|
1764
|
+
assistantMessageID: string;
|
|
1765
|
+
error: SessionStructuredError;
|
|
1766
|
+
finish?: "content-filter";
|
|
1767
|
+
rawFinish?: string;
|
|
1768
|
+
providerState?: SessionMessageProviderState1;
|
|
1769
|
+
cost?: MoneyUSD;
|
|
1770
|
+
tokens?: TokenUsageInfo;
|
|
1771
|
+
snapshot?: string;
|
|
1772
|
+
files?: Array<string>;
|
|
2237
1773
|
};
|
|
2238
1774
|
};
|
|
2239
|
-
export type
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
1775
|
+
export type SessionInboxMove = {
|
|
1776
|
+
id: string;
|
|
1777
|
+
sessionID: string;
|
|
1778
|
+
timeCreated: number;
|
|
1779
|
+
type: "move";
|
|
1780
|
+
payload: SessionInboxMovePayload;
|
|
1781
|
+
delivery: SessionInboxDelivery;
|
|
1782
|
+
};
|
|
1783
|
+
export type SessionRevert = {
|
|
1784
|
+
messageID: string;
|
|
1785
|
+
partID?: string;
|
|
1786
|
+
snapshot?: string;
|
|
1787
|
+
files?: Array<FileDiffInfo>;
|
|
1788
|
+
};
|
|
1789
|
+
export type SessionMessageAgentSelected = {
|
|
1790
|
+
id: string;
|
|
1791
|
+
metadata?: {
|
|
1792
|
+
[x: string]: JsonValue;
|
|
2243
1793
|
};
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
tools: SessionStatsTools;
|
|
2251
|
-
activeDays: number;
|
|
2252
|
-
streak: number;
|
|
2253
|
-
activity: Array<SessionStatsActivity>;
|
|
2254
|
-
models: Array<SessionStatsModelUsage>;
|
|
1794
|
+
time: {
|
|
1795
|
+
created: number;
|
|
1796
|
+
};
|
|
1797
|
+
type: "agent-switched";
|
|
1798
|
+
agent: string;
|
|
1799
|
+
previous?: string;
|
|
2255
1800
|
};
|
|
2256
|
-
export type
|
|
1801
|
+
export type SessionMessageModelSelected = {
|
|
2257
1802
|
id: string;
|
|
2258
1803
|
metadata?: {
|
|
2259
1804
|
[x: string]: JsonValue;
|
|
@@ -2261,52 +1806,155 @@ export type SessionMessageUser = {
|
|
|
2261
1806
|
time: {
|
|
2262
1807
|
created: number;
|
|
2263
1808
|
};
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
skills?: Array<PromptSkillAttachment>;
|
|
2268
|
-
type: "user";
|
|
1809
|
+
type: "model-switched";
|
|
1810
|
+
model: ModelRef;
|
|
1811
|
+
previous?: ModelRef;
|
|
2269
1812
|
};
|
|
2270
|
-
export type
|
|
2271
|
-
|
|
2272
|
-
files?: Array<PromptFileAttachment>;
|
|
2273
|
-
agents?: Array<PromptAgentAttachment>;
|
|
2274
|
-
skills?: Array<PromptSkillAttachment>;
|
|
1813
|
+
export type SessionMessageLocationSwitched = {
|
|
1814
|
+
id: string;
|
|
2275
1815
|
metadata?: {
|
|
2276
1816
|
[x: string]: JsonValue;
|
|
2277
1817
|
};
|
|
1818
|
+
time: {
|
|
1819
|
+
created: number;
|
|
1820
|
+
};
|
|
1821
|
+
type: "location-switched";
|
|
1822
|
+
location: LocationRef;
|
|
1823
|
+
projectID?: string;
|
|
1824
|
+
subpath?: string;
|
|
1825
|
+
previous?: {
|
|
1826
|
+
location: LocationRef;
|
|
1827
|
+
projectID?: string;
|
|
1828
|
+
subpath?: string;
|
|
1829
|
+
};
|
|
2278
1830
|
};
|
|
2279
|
-
export type
|
|
1831
|
+
export type SessionMessageSynthetic = {
|
|
1832
|
+
id: string;
|
|
1833
|
+
metadata?: {
|
|
1834
|
+
[x: string]: JsonValue;
|
|
1835
|
+
};
|
|
1836
|
+
time: {
|
|
1837
|
+
created: number;
|
|
1838
|
+
};
|
|
2280
1839
|
text: string;
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
1840
|
+
description?: string;
|
|
1841
|
+
type: "synthetic";
|
|
1842
|
+
};
|
|
1843
|
+
export type SessionMessageSystem = {
|
|
1844
|
+
id: string;
|
|
2284
1845
|
metadata?: {
|
|
2285
|
-
[x: string]:
|
|
1846
|
+
[x: string]: JsonValue;
|
|
1847
|
+
};
|
|
1848
|
+
time: {
|
|
1849
|
+
created: number;
|
|
2286
1850
|
};
|
|
1851
|
+
type: "system";
|
|
1852
|
+
text: string;
|
|
1853
|
+
description?: string;
|
|
2287
1854
|
};
|
|
2288
|
-
export type
|
|
2289
|
-
|
|
2290
|
-
|
|
1855
|
+
export type SessionMessageSkill = {
|
|
1856
|
+
id: string;
|
|
1857
|
+
metadata?: {
|
|
2291
1858
|
[x: string]: JsonValue;
|
|
2292
1859
|
};
|
|
2293
|
-
|
|
1860
|
+
time: {
|
|
1861
|
+
created: number;
|
|
1862
|
+
};
|
|
1863
|
+
type: "skill";
|
|
1864
|
+
skill: string;
|
|
1865
|
+
name: string;
|
|
1866
|
+
text: string;
|
|
1867
|
+
};
|
|
1868
|
+
export type SessionMessageShell = {
|
|
1869
|
+
id: string;
|
|
2294
1870
|
metadata?: {
|
|
2295
1871
|
[x: string]: JsonValue;
|
|
2296
1872
|
};
|
|
1873
|
+
time: {
|
|
1874
|
+
created: number;
|
|
1875
|
+
completed?: number;
|
|
1876
|
+
};
|
|
1877
|
+
type: "shell";
|
|
1878
|
+
shellID: string;
|
|
1879
|
+
command: string;
|
|
1880
|
+
status: "running" | "exited" | "timeout" | "killed";
|
|
1881
|
+
exit?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
1882
|
+
output?: {
|
|
1883
|
+
output: string;
|
|
1884
|
+
cursor: number;
|
|
1885
|
+
size: number;
|
|
1886
|
+
truncated: boolean;
|
|
1887
|
+
};
|
|
2297
1888
|
};
|
|
2298
|
-
export type
|
|
2299
|
-
|
|
2300
|
-
|
|
1889
|
+
export type SessionMessageCompactionRunning = {
|
|
1890
|
+
type: "compaction";
|
|
1891
|
+
id: string;
|
|
1892
|
+
metadata?: {
|
|
2301
1893
|
[x: string]: JsonValue;
|
|
2302
1894
|
};
|
|
2303
|
-
|
|
2304
|
-
|
|
1895
|
+
time: {
|
|
1896
|
+
created: number;
|
|
1897
|
+
};
|
|
1898
|
+
status: "running";
|
|
1899
|
+
reason: "auto" | "manual";
|
|
1900
|
+
summary: string;
|
|
1901
|
+
recent: string;
|
|
1902
|
+
};
|
|
1903
|
+
export type SessionMessageCompactionCompleted = {
|
|
1904
|
+
type: "compaction";
|
|
1905
|
+
id: string;
|
|
2305
1906
|
metadata?: {
|
|
2306
1907
|
[x: string]: JsonValue;
|
|
2307
1908
|
};
|
|
1909
|
+
time: {
|
|
1910
|
+
created: number;
|
|
1911
|
+
};
|
|
1912
|
+
status: "completed";
|
|
1913
|
+
reason: "auto" | "manual";
|
|
1914
|
+
summary: string;
|
|
1915
|
+
recent: string;
|
|
2308
1916
|
};
|
|
2309
|
-
export type
|
|
1917
|
+
export type SessionMessageCompactionFailed = {
|
|
1918
|
+
type: "compaction";
|
|
1919
|
+
id: string;
|
|
1920
|
+
metadata?: {
|
|
1921
|
+
[x: string]: JsonValue;
|
|
1922
|
+
};
|
|
1923
|
+
time: {
|
|
1924
|
+
created: number;
|
|
1925
|
+
};
|
|
1926
|
+
status: "failed";
|
|
1927
|
+
reason: "auto" | "manual";
|
|
1928
|
+
error: SessionStructuredError;
|
|
1929
|
+
};
|
|
1930
|
+
export type SessionMessageAssistantText = {
|
|
1931
|
+
type: "text";
|
|
1932
|
+
text: string;
|
|
1933
|
+
state?: SessionMessageProviderState;
|
|
1934
|
+
};
|
|
1935
|
+
export type SessionMessageAssistantReasoning = {
|
|
1936
|
+
type: "reasoning";
|
|
1937
|
+
text: string;
|
|
1938
|
+
state?: SessionMessageProviderState;
|
|
1939
|
+
time?: {
|
|
1940
|
+
created: number;
|
|
1941
|
+
completed?: number;
|
|
1942
|
+
};
|
|
1943
|
+
};
|
|
1944
|
+
export type SessionInboxSynthetic = {
|
|
1945
|
+
id: string;
|
|
1946
|
+
sessionID: string;
|
|
1947
|
+
timeCreated: number;
|
|
1948
|
+
type: "synthetic";
|
|
1949
|
+
payload: SessionInboxSyntheticPayload;
|
|
1950
|
+
delivery: SessionInboxDelivery;
|
|
1951
|
+
};
|
|
1952
|
+
export type FormWhen = {
|
|
1953
|
+
key: string;
|
|
1954
|
+
op: "eq" | "neq";
|
|
1955
|
+
value: string | (number | ("Infinity" | "-Infinity" | "NaN")) | boolean;
|
|
1956
|
+
};
|
|
1957
|
+
export type ToolContent = ToolTextContent | ToolFileContent;
|
|
2310
1958
|
export type SessionForked = {
|
|
2311
1959
|
id: string;
|
|
2312
1960
|
created: number;
|
|
@@ -2330,6 +1978,60 @@ export type SessionForked = {
|
|
|
2330
1978
|
instructionEntries?: InstructionEntrySnapshot;
|
|
2331
1979
|
};
|
|
2332
1980
|
};
|
|
1981
|
+
export type SessionShellStarted = {
|
|
1982
|
+
id: string;
|
|
1983
|
+
created: number;
|
|
1984
|
+
metadata?: {
|
|
1985
|
+
[x: string]: any;
|
|
1986
|
+
};
|
|
1987
|
+
type: "session.shell.started";
|
|
1988
|
+
durable: {
|
|
1989
|
+
aggregateID: string;
|
|
1990
|
+
seq: number;
|
|
1991
|
+
version: 1;
|
|
1992
|
+
};
|
|
1993
|
+
location?: LocationRef;
|
|
1994
|
+
data: {
|
|
1995
|
+
sessionID: string;
|
|
1996
|
+
shell: ShellInfo;
|
|
1997
|
+
};
|
|
1998
|
+
};
|
|
1999
|
+
export type SessionShellEnded = {
|
|
2000
|
+
id: string;
|
|
2001
|
+
created: number;
|
|
2002
|
+
metadata?: {
|
|
2003
|
+
[x: string]: any;
|
|
2004
|
+
};
|
|
2005
|
+
type: "session.shell.ended";
|
|
2006
|
+
durable: {
|
|
2007
|
+
aggregateID: string;
|
|
2008
|
+
seq: number;
|
|
2009
|
+
version: 1;
|
|
2010
|
+
};
|
|
2011
|
+
location?: LocationRef;
|
|
2012
|
+
data: {
|
|
2013
|
+
sessionID: string;
|
|
2014
|
+
shell: ShellInfo;
|
|
2015
|
+
output: {
|
|
2016
|
+
output: string;
|
|
2017
|
+
cursor: number;
|
|
2018
|
+
size: number;
|
|
2019
|
+
truncated: boolean;
|
|
2020
|
+
};
|
|
2021
|
+
};
|
|
2022
|
+
};
|
|
2023
|
+
export type ShellCreated = {
|
|
2024
|
+
id: string;
|
|
2025
|
+
created: number;
|
|
2026
|
+
metadata?: {
|
|
2027
|
+
[x: string]: any;
|
|
2028
|
+
};
|
|
2029
|
+
type: "shell.created";
|
|
2030
|
+
location?: LocationRef;
|
|
2031
|
+
data: {
|
|
2032
|
+
info: ShellInfo;
|
|
2033
|
+
};
|
|
2034
|
+
};
|
|
2333
2035
|
export type SessionToolSuccess = {
|
|
2334
2036
|
id: string;
|
|
2335
2037
|
created: number;
|
|
@@ -2412,30 +2114,88 @@ export type ModelInfo = {
|
|
|
2412
2114
|
output: number;
|
|
2413
2115
|
};
|
|
2414
2116
|
};
|
|
2415
|
-
export type
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2117
|
+
export type FormState = {
|
|
2118
|
+
status: "pending";
|
|
2119
|
+
} | {
|
|
2120
|
+
status: "answered";
|
|
2121
|
+
answer: FormAnswer;
|
|
2122
|
+
} | {
|
|
2123
|
+
status: "cancelled";
|
|
2124
|
+
};
|
|
2125
|
+
export type FormReplied = {
|
|
2126
|
+
id: string;
|
|
2127
|
+
created: number;
|
|
2128
|
+
metadata?: {
|
|
2129
|
+
[x: string]: any;
|
|
2130
|
+
};
|
|
2131
|
+
type: "form.replied";
|
|
2132
|
+
location?: LocationRef;
|
|
2133
|
+
data: {
|
|
2134
|
+
id: string;
|
|
2135
|
+
sessionID: string;
|
|
2136
|
+
answer: FormAnswer;
|
|
2137
|
+
};
|
|
2138
|
+
};
|
|
2139
|
+
export type FormStringField1 = {
|
|
2140
|
+
key: string;
|
|
2141
|
+
title?: string;
|
|
2142
|
+
description?: string;
|
|
2143
|
+
required?: boolean;
|
|
2144
|
+
when?: Array<FormWhen1>;
|
|
2145
|
+
type: "string";
|
|
2146
|
+
format?: "email" | "uri" | "date" | "date-time";
|
|
2147
|
+
minLength?: number;
|
|
2148
|
+
maxLength?: number;
|
|
2149
|
+
pattern?: string;
|
|
2150
|
+
placeholder?: string;
|
|
2151
|
+
default?: string;
|
|
2152
|
+
options?: Array<FormOption>;
|
|
2153
|
+
custom?: boolean;
|
|
2154
|
+
};
|
|
2155
|
+
export type FormNumberField1 = {
|
|
2156
|
+
key: string;
|
|
2157
|
+
title?: string;
|
|
2158
|
+
description?: string;
|
|
2159
|
+
required?: boolean;
|
|
2160
|
+
when?: Array<FormWhen1>;
|
|
2161
|
+
type: "number";
|
|
2162
|
+
minimum?: number;
|
|
2163
|
+
maximum?: number;
|
|
2164
|
+
default?: number;
|
|
2165
|
+
};
|
|
2166
|
+
export type FormIntegerField1 = {
|
|
2167
|
+
key: string;
|
|
2168
|
+
title?: string;
|
|
2169
|
+
description?: string;
|
|
2170
|
+
required?: boolean;
|
|
2171
|
+
when?: Array<FormWhen1>;
|
|
2172
|
+
type: "integer";
|
|
2173
|
+
minimum?: number;
|
|
2174
|
+
maximum?: number;
|
|
2175
|
+
default?: number;
|
|
2176
|
+
};
|
|
2177
|
+
export type FormBooleanField1 = {
|
|
2178
|
+
key: string;
|
|
2179
|
+
title?: string;
|
|
2180
|
+
description?: string;
|
|
2181
|
+
required?: boolean;
|
|
2182
|
+
when?: Array<FormWhen1>;
|
|
2183
|
+
type: "boolean";
|
|
2184
|
+
default?: boolean;
|
|
2423
2185
|
};
|
|
2424
|
-
export type
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
type: "
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
};
|
|
2186
|
+
export type FormMultiselectField1 = {
|
|
2187
|
+
key: string;
|
|
2188
|
+
title?: string;
|
|
2189
|
+
description?: string;
|
|
2190
|
+
required?: boolean;
|
|
2191
|
+
when?: Array<FormWhen1>;
|
|
2192
|
+
type: "multiselect";
|
|
2193
|
+
options: Array<FormOption>;
|
|
2194
|
+
minItems?: number;
|
|
2195
|
+
maxItems?: number;
|
|
2196
|
+
custom?: boolean;
|
|
2197
|
+
default?: Array<string>;
|
|
2437
2198
|
};
|
|
2438
|
-
export type FormField1 = FormStringField1 | FormNumberField1 | FormIntegerField1 | FormBooleanField1 | FormMultiselectField1 | FormExternalField;
|
|
2439
2199
|
export type ReferenceInfo = {
|
|
2440
2200
|
name: string;
|
|
2441
2201
|
path: string;
|
|
@@ -2729,6 +2489,181 @@ export type ConfigEntry = {
|
|
|
2729
2489
|
type: "claude";
|
|
2730
2490
|
path: string;
|
|
2731
2491
|
};
|
|
2492
|
+
export type SessionStatsInfo = {
|
|
2493
|
+
range: {
|
|
2494
|
+
from: number;
|
|
2495
|
+
to: number;
|
|
2496
|
+
};
|
|
2497
|
+
sessions: number;
|
|
2498
|
+
subagents: number;
|
|
2499
|
+
prompts: number;
|
|
2500
|
+
steps: number;
|
|
2501
|
+
tokens: TokenUsageInfo;
|
|
2502
|
+
cost: MoneyUSD;
|
|
2503
|
+
tools: SessionStatsTools;
|
|
2504
|
+
activeDays: number;
|
|
2505
|
+
streak: number;
|
|
2506
|
+
activity: Array<SessionStatsActivity>;
|
|
2507
|
+
models: Array<SessionStatsModelUsage>;
|
|
2508
|
+
};
|
|
2509
|
+
export type SessionInfo = {
|
|
2510
|
+
id: string;
|
|
2511
|
+
parentID?: string;
|
|
2512
|
+
fork?: {
|
|
2513
|
+
sessionID: string;
|
|
2514
|
+
boundary: SessionForkBoundary;
|
|
2515
|
+
};
|
|
2516
|
+
projectID: string;
|
|
2517
|
+
agent?: string;
|
|
2518
|
+
model?: ModelRef;
|
|
2519
|
+
cost: MoneyUSD;
|
|
2520
|
+
tokens: TokenUsageInfo;
|
|
2521
|
+
outcome?: "succeeded" | "failed" | "interrupted";
|
|
2522
|
+
time: {
|
|
2523
|
+
created: number;
|
|
2524
|
+
updated: number;
|
|
2525
|
+
idle?: number;
|
|
2526
|
+
viewed?: number;
|
|
2527
|
+
archived?: number;
|
|
2528
|
+
};
|
|
2529
|
+
title?: string;
|
|
2530
|
+
location: LocationRef;
|
|
2531
|
+
subpath?: string;
|
|
2532
|
+
revert?: SessionRevert;
|
|
2533
|
+
};
|
|
2534
|
+
export type SessionRevertStaged = {
|
|
2535
|
+
id: string;
|
|
2536
|
+
created: number;
|
|
2537
|
+
metadata?: {
|
|
2538
|
+
[x: string]: any;
|
|
2539
|
+
};
|
|
2540
|
+
type: "session.revert.staged";
|
|
2541
|
+
durable: {
|
|
2542
|
+
aggregateID: string;
|
|
2543
|
+
seq: number;
|
|
2544
|
+
version: 1;
|
|
2545
|
+
};
|
|
2546
|
+
location?: LocationRef;
|
|
2547
|
+
data: {
|
|
2548
|
+
sessionID: string;
|
|
2549
|
+
revert: SessionRevert;
|
|
2550
|
+
};
|
|
2551
|
+
};
|
|
2552
|
+
export type SessionMessageCompaction = SessionMessageCompactionRunning | SessionMessageCompactionCompleted | SessionMessageCompactionFailed;
|
|
2553
|
+
export type SessionMessageUser = {
|
|
2554
|
+
id: string;
|
|
2555
|
+
metadata?: {
|
|
2556
|
+
[x: string]: JsonValue;
|
|
2557
|
+
};
|
|
2558
|
+
time: {
|
|
2559
|
+
created: number;
|
|
2560
|
+
};
|
|
2561
|
+
text: string;
|
|
2562
|
+
files?: Array<PromptFileAttachment>;
|
|
2563
|
+
agents?: Array<PromptAgentAttachment>;
|
|
2564
|
+
skills?: Array<PromptSkillAttachment>;
|
|
2565
|
+
type: "user";
|
|
2566
|
+
};
|
|
2567
|
+
export type SessionInboxUserPayload = {
|
|
2568
|
+
text: string;
|
|
2569
|
+
files?: Array<PromptFileAttachment>;
|
|
2570
|
+
agents?: Array<PromptAgentAttachment>;
|
|
2571
|
+
skills?: Array<PromptSkillAttachment>;
|
|
2572
|
+
metadata?: {
|
|
2573
|
+
[x: string]: JsonValue;
|
|
2574
|
+
};
|
|
2575
|
+
};
|
|
2576
|
+
export type SessionInboxUserPayload1 = {
|
|
2577
|
+
text: string;
|
|
2578
|
+
files?: Array<PromptFileAttachment>;
|
|
2579
|
+
agents?: Array<PromptAgentAttachment>;
|
|
2580
|
+
skills?: Array<PromptSkillAttachment>;
|
|
2581
|
+
metadata?: {
|
|
2582
|
+
[x: string]: any;
|
|
2583
|
+
};
|
|
2584
|
+
};
|
|
2585
|
+
export type IntegrationAttemptStatus = {
|
|
2586
|
+
status: "pending";
|
|
2587
|
+
time: {
|
|
2588
|
+
created: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2589
|
+
expires: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2590
|
+
};
|
|
2591
|
+
} | {
|
|
2592
|
+
status: "complete";
|
|
2593
|
+
time: {
|
|
2594
|
+
created: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2595
|
+
expires: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2596
|
+
};
|
|
2597
|
+
} | {
|
|
2598
|
+
status: "failed";
|
|
2599
|
+
message: string;
|
|
2600
|
+
time: {
|
|
2601
|
+
created: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2602
|
+
expires: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2603
|
+
};
|
|
2604
|
+
} | {
|
|
2605
|
+
status: "expired";
|
|
2606
|
+
time: {
|
|
2607
|
+
created: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2608
|
+
expires: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2609
|
+
};
|
|
2610
|
+
};
|
|
2611
|
+
export type IntegrationCommandAttempt = {
|
|
2612
|
+
attemptID: string;
|
|
2613
|
+
time: {
|
|
2614
|
+
created: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2615
|
+
expires: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2616
|
+
};
|
|
2617
|
+
};
|
|
2618
|
+
export type IntegrationCommandAttemptStatus = {
|
|
2619
|
+
status: "pending";
|
|
2620
|
+
message?: string;
|
|
2621
|
+
time: {
|
|
2622
|
+
created: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2623
|
+
expires: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2624
|
+
};
|
|
2625
|
+
} | {
|
|
2626
|
+
status: "complete";
|
|
2627
|
+
time: {
|
|
2628
|
+
created: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2629
|
+
expires: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2630
|
+
};
|
|
2631
|
+
} | {
|
|
2632
|
+
status: "failed";
|
|
2633
|
+
message: string;
|
|
2634
|
+
time: {
|
|
2635
|
+
created: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2636
|
+
expires: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2637
|
+
};
|
|
2638
|
+
} | {
|
|
2639
|
+
status: "expired";
|
|
2640
|
+
time: {
|
|
2641
|
+
created: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2642
|
+
expires: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2643
|
+
};
|
|
2644
|
+
};
|
|
2645
|
+
export type SessionMessageToolStateCompleted = {
|
|
2646
|
+
status: "completed";
|
|
2647
|
+
input: {
|
|
2648
|
+
[x: string]: JsonValue;
|
|
2649
|
+
};
|
|
2650
|
+
content: [ToolContent, ...Array<ToolContent>];
|
|
2651
|
+
metadata?: {
|
|
2652
|
+
[x: string]: JsonValue;
|
|
2653
|
+
};
|
|
2654
|
+
};
|
|
2655
|
+
export type SessionMessageToolStateError = {
|
|
2656
|
+
status: "error";
|
|
2657
|
+
input: {
|
|
2658
|
+
[x: string]: JsonValue;
|
|
2659
|
+
};
|
|
2660
|
+
error: SessionStructuredError;
|
|
2661
|
+
content?: [ToolContent, ...Array<ToolContent>];
|
|
2662
|
+
metadata?: {
|
|
2663
|
+
[x: string]: JsonValue;
|
|
2664
|
+
};
|
|
2665
|
+
};
|
|
2666
|
+
export type FormField1 = FormStringField1 | FormNumberField1 | FormIntegerField1 | FormBooleanField1 | FormMultiselectField1 | FormExternalField;
|
|
2732
2667
|
export type SessionsResponse = {
|
|
2733
2668
|
data: Array<SessionInfo>;
|
|
2734
2669
|
cursor: {
|
|
@@ -2761,6 +2696,66 @@ export type SessionInboxItem = {
|
|
|
2761
2696
|
payload: SessionInboxMovePayload;
|
|
2762
2697
|
delivery: SessionInboxDelivery;
|
|
2763
2698
|
};
|
|
2699
|
+
export type FormStringField = {
|
|
2700
|
+
key: string;
|
|
2701
|
+
title?: string;
|
|
2702
|
+
description?: string;
|
|
2703
|
+
required?: boolean;
|
|
2704
|
+
when?: Array<FormWhen>;
|
|
2705
|
+
type: "string";
|
|
2706
|
+
format?: "email" | "uri" | "date" | "date-time";
|
|
2707
|
+
minLength?: number;
|
|
2708
|
+
maxLength?: number;
|
|
2709
|
+
pattern?: string;
|
|
2710
|
+
placeholder?: string;
|
|
2711
|
+
default?: string;
|
|
2712
|
+
options?: Array<FormOption>;
|
|
2713
|
+
custom?: boolean;
|
|
2714
|
+
};
|
|
2715
|
+
export type FormNumberField = {
|
|
2716
|
+
key: string;
|
|
2717
|
+
title?: string;
|
|
2718
|
+
description?: string;
|
|
2719
|
+
required?: boolean;
|
|
2720
|
+
when?: Array<FormWhen>;
|
|
2721
|
+
type: "number";
|
|
2722
|
+
minimum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2723
|
+
maximum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2724
|
+
default?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2725
|
+
};
|
|
2726
|
+
export type FormIntegerField = {
|
|
2727
|
+
key: string;
|
|
2728
|
+
title?: string;
|
|
2729
|
+
description?: string;
|
|
2730
|
+
required?: boolean;
|
|
2731
|
+
when?: Array<FormWhen>;
|
|
2732
|
+
type: "integer";
|
|
2733
|
+
minimum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2734
|
+
maximum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2735
|
+
default?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
2736
|
+
};
|
|
2737
|
+
export type FormBooleanField = {
|
|
2738
|
+
key: string;
|
|
2739
|
+
title?: string;
|
|
2740
|
+
description?: string;
|
|
2741
|
+
required?: boolean;
|
|
2742
|
+
when?: Array<FormWhen>;
|
|
2743
|
+
type: "boolean";
|
|
2744
|
+
default?: boolean;
|
|
2745
|
+
};
|
|
2746
|
+
export type FormMultiselectField = {
|
|
2747
|
+
key: string;
|
|
2748
|
+
title?: string;
|
|
2749
|
+
description?: string;
|
|
2750
|
+
required?: boolean;
|
|
2751
|
+
when?: Array<FormWhen>;
|
|
2752
|
+
type: "multiselect";
|
|
2753
|
+
options: Array<FormOption>;
|
|
2754
|
+
minItems?: number;
|
|
2755
|
+
maxItems?: number;
|
|
2756
|
+
custom?: boolean;
|
|
2757
|
+
default?: Array<string>;
|
|
2758
|
+
};
|
|
2764
2759
|
export type SessionMessageAssistantTool = {
|
|
2765
2760
|
type: "tool";
|
|
2766
2761
|
id: string;
|
|
@@ -2775,7 +2770,6 @@ export type SessionMessageAssistantTool = {
|
|
|
2775
2770
|
completed?: number;
|
|
2776
2771
|
};
|
|
2777
2772
|
};
|
|
2778
|
-
export type FormFields = [FormField, ...Array<FormField>];
|
|
2779
2773
|
export type FormFields2 = [FormField1, ...Array<FormField1>];
|
|
2780
2774
|
export type SessionInboxInfo = SessionInboxUser | SessionInboxSynthetic | SessionInboxCompaction | SessionInboxMove;
|
|
2781
2775
|
export type SessionInboxEnqueued = {
|
|
@@ -2797,6 +2791,7 @@ export type SessionInboxEnqueued = {
|
|
|
2797
2791
|
item: SessionInboxItem;
|
|
2798
2792
|
};
|
|
2799
2793
|
};
|
|
2794
|
+
export type FormField = FormStringField | FormNumberField | FormIntegerField | FormBooleanField | FormMultiselectField | FormExternalField;
|
|
2800
2795
|
export type SessionMessageAssistant = {
|
|
2801
2796
|
id: string;
|
|
2802
2797
|
metadata?: {
|
|
@@ -2823,24 +2818,6 @@ export type SessionMessageAssistant = {
|
|
|
2823
2818
|
error?: SessionStructuredError;
|
|
2824
2819
|
retry?: SessionMessageAssistantRetry;
|
|
2825
2820
|
};
|
|
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
2821
|
export type FormInfo1 = {
|
|
2845
2822
|
id: string;
|
|
2846
2823
|
sessionID: string;
|
|
@@ -2849,8 +2826,8 @@ export type FormInfo1 = {
|
|
|
2849
2826
|
fields: FormFields2;
|
|
2850
2827
|
};
|
|
2851
2828
|
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;
|
|
2829
|
+
export type FormFields = [FormField, ...Array<FormField>];
|
|
2852
2830
|
export type SessionMessageInfo = SessionMessageAgentSelected | SessionMessageModelSelected | SessionMessageLocationSwitched | SessionMessageUser | SessionMessageSynthetic | SessionMessageSystem | SessionMessageSkill | SessionMessageShell | SessionMessageAssistant | SessionMessageCompaction;
|
|
2853
|
-
export type IntegrationMethod = IntegrationOAuthMethod | IntegrationCommandMethod | IntegrationKeyMethod | IntegrationEnvMethod;
|
|
2854
2831
|
export type FormCreated = {
|
|
2855
2832
|
id: string;
|
|
2856
2833
|
created: number;
|
|
@@ -2864,6 +2841,24 @@ export type FormCreated = {
|
|
|
2864
2841
|
};
|
|
2865
2842
|
};
|
|
2866
2843
|
export type SessionLogItem = SessionEventDurable | EventLogSynced;
|
|
2844
|
+
export type IntegrationOAuthMethod = {
|
|
2845
|
+
id: string;
|
|
2846
|
+
type: "oauth";
|
|
2847
|
+
label: string;
|
|
2848
|
+
form?: FormFields;
|
|
2849
|
+
};
|
|
2850
|
+
export type IntegrationKeyMethod = {
|
|
2851
|
+
type: "key";
|
|
2852
|
+
label?: string;
|
|
2853
|
+
form?: FormFields;
|
|
2854
|
+
};
|
|
2855
|
+
export type FormInfo = {
|
|
2856
|
+
id: string;
|
|
2857
|
+
sessionID: string;
|
|
2858
|
+
title: string;
|
|
2859
|
+
metadata?: FormMetadata;
|
|
2860
|
+
fields: FormFields;
|
|
2861
|
+
};
|
|
2867
2862
|
export type SessionTransferData = {
|
|
2868
2863
|
info: SessionInfo;
|
|
2869
2864
|
messages: Array<SessionMessageInfo>;
|
|
@@ -2875,13 +2870,14 @@ export type SessionMessagesResponse = {
|
|
|
2875
2870
|
next?: string | null;
|
|
2876
2871
|
};
|
|
2877
2872
|
};
|
|
2873
|
+
export type V2Event = ModelsDevRefreshed | IntegrationUpdated | IntegrationConnectionUpdated | 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 | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextDelta | SessionTextEnded | SessionReasoningStarted | SessionReasoningDelta | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputDelta | SessionToolInputEnded | SessionToolCalled | SessionToolProgress | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionStarted | SessionCompactionDelta | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | FilesystemChanged | ReferenceUpdated | PermissionAsked | PermissionReplied | PluginAdded | PluginUpdated | WorktreeUpdated | WorktreeResolved | CommandUpdated | ConfigUpdated | SkillUpdated | PtyCreated | PtyUpdated | PtyExited | PtyDeleted | ShellCreated | ShellExited | ShellDeleted | FormCreated | FormReplied | FormCancelled | WebsearchUpdated | SessionStatusUpdated | SessionIdle | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | InstallationUpdated | InstallationUpdateAvailable | VcsBranchUpdated | McpStatusChanged | McpResourcesChanged | V2EventServerConnected;
|
|
2874
|
+
export type IntegrationMethod = IntegrationOAuthMethod | IntegrationCommandMethod | IntegrationKeyMethod | IntegrationEnvMethod;
|
|
2878
2875
|
export type IntegrationInfo = {
|
|
2879
2876
|
id: string;
|
|
2880
2877
|
name: string;
|
|
2881
2878
|
methods: Array<IntegrationMethod>;
|
|
2882
2879
|
connections: Array<ConnectionInfo>;
|
|
2883
2880
|
};
|
|
2884
|
-
export type V2Event = ModelsDevRefreshed | IntegrationUpdated | IntegrationConnectionUpdated | 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 | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextDelta | SessionTextEnded | SessionReasoningStarted | SessionReasoningDelta | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputDelta | SessionToolInputEnded | SessionToolCalled | SessionToolProgress | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionStarted | SessionCompactionDelta | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | FilesystemChanged | ReferenceUpdated | PermissionAsked | PermissionReplied | PluginAdded | PluginUpdated | WorktreeUpdated | WorktreeResolved | CommandUpdated | ConfigUpdated | SkillUpdated | PtyCreated | PtyUpdated | PtyExited | PtyDeleted | ShellCreated | ShellExited | ShellDeleted | FormCreated | FormReplied | FormCancelled | WebsearchUpdated | SessionStatusUpdated | SessionIdle | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | InstallationUpdated | InstallationUpdateAvailable | VcsBranchUpdated | McpStatusChanged | McpResourcesChanged | V2EventServerConnected;
|
|
2885
2881
|
export type UnauthorizedError = {
|
|
2886
2882
|
readonly _tag: "UnauthorizedError";
|
|
2887
2883
|
readonly message: string;
|
|
@@ -2936,12 +2932,12 @@ export type CommandNotFoundError = {
|
|
|
2936
2932
|
readonly message: string;
|
|
2937
2933
|
};
|
|
2938
2934
|
export declare const isCommandNotFoundError: (value: unknown) => value is CommandNotFoundError;
|
|
2939
|
-
export type
|
|
2940
|
-
readonly _tag: "
|
|
2935
|
+
export type CommandExecutionError = {
|
|
2936
|
+
readonly _tag: "CommandExecutionError";
|
|
2941
2937
|
readonly command: string;
|
|
2942
2938
|
readonly message: string;
|
|
2943
2939
|
};
|
|
2944
|
-
export declare const
|
|
2940
|
+
export declare const isCommandExecutionError: (value: unknown) => value is CommandExecutionError;
|
|
2945
2941
|
export type SkillNotFoundError = {
|
|
2946
2942
|
readonly _tag: "SkillNotFoundError";
|
|
2947
2943
|
readonly skill: string;
|
|
@@ -4963,55 +4959,9 @@ export type SessionCommandInput = {
|
|
|
4963
4959
|
readonly sessionID: {
|
|
4964
4960
|
readonly sessionID: string;
|
|
4965
4961
|
}["sessionID"];
|
|
4966
|
-
readonly id?: {
|
|
4967
|
-
readonly id?: string | null;
|
|
4968
|
-
readonly command: string;
|
|
4969
|
-
readonly arguments?: string | null;
|
|
4970
|
-
readonly agent?: string | null;
|
|
4971
|
-
readonly model?: {
|
|
4972
|
-
readonly id: string;
|
|
4973
|
-
readonly providerID: string;
|
|
4974
|
-
readonly variant?: string;
|
|
4975
|
-
} | null;
|
|
4976
|
-
readonly files?: ReadonlyArray<{
|
|
4977
|
-
readonly uri: string;
|
|
4978
|
-
readonly name?: string;
|
|
4979
|
-
readonly description?: string;
|
|
4980
|
-
readonly mention?: {
|
|
4981
|
-
readonly start: number;
|
|
4982
|
-
readonly end: number;
|
|
4983
|
-
readonly text: string;
|
|
4984
|
-
};
|
|
4985
|
-
}>;
|
|
4986
|
-
readonly agents?: ReadonlyArray<{
|
|
4987
|
-
readonly name: string;
|
|
4988
|
-
readonly mention?: {
|
|
4989
|
-
readonly start: number;
|
|
4990
|
-
readonly end: number;
|
|
4991
|
-
readonly text: string;
|
|
4992
|
-
};
|
|
4993
|
-
}>;
|
|
4994
|
-
readonly skills?: ReadonlyArray<{
|
|
4995
|
-
readonly id: string;
|
|
4996
|
-
readonly mention?: {
|
|
4997
|
-
readonly start: number;
|
|
4998
|
-
readonly end: number;
|
|
4999
|
-
readonly text: string;
|
|
5000
|
-
};
|
|
5001
|
-
}>;
|
|
5002
|
-
readonly delivery?: ("steer" | "queue") | null;
|
|
5003
|
-
readonly resume?: boolean | null;
|
|
5004
|
-
}["id"];
|
|
5005
4962
|
readonly command: {
|
|
5006
|
-
readonly id?: string | null;
|
|
5007
4963
|
readonly command: string;
|
|
5008
|
-
readonly
|
|
5009
|
-
readonly agent?: string | null;
|
|
5010
|
-
readonly model?: {
|
|
5011
|
-
readonly id: string;
|
|
5012
|
-
readonly providerID: string;
|
|
5013
|
-
readonly variant?: string;
|
|
5014
|
-
} | null;
|
|
4964
|
+
readonly text: string;
|
|
5015
4965
|
readonly files?: ReadonlyArray<{
|
|
5016
4966
|
readonly uri: string;
|
|
5017
4967
|
readonly name?: string;
|
|
@@ -5039,96 +4989,10 @@ export type SessionCommandInput = {
|
|
|
5039
4989
|
};
|
|
5040
4990
|
}>;
|
|
5041
4991
|
readonly delivery?: ("steer" | "queue") | null;
|
|
5042
|
-
readonly resume?: boolean | null;
|
|
5043
4992
|
}["command"];
|
|
5044
|
-
readonly
|
|
5045
|
-
readonly id?: string | null;
|
|
5046
|
-
readonly command: string;
|
|
5047
|
-
readonly arguments?: string | null;
|
|
5048
|
-
readonly agent?: string | null;
|
|
5049
|
-
readonly model?: {
|
|
5050
|
-
readonly id: string;
|
|
5051
|
-
readonly providerID: string;
|
|
5052
|
-
readonly variant?: string;
|
|
5053
|
-
} | null;
|
|
5054
|
-
readonly files?: ReadonlyArray<{
|
|
5055
|
-
readonly uri: string;
|
|
5056
|
-
readonly name?: string;
|
|
5057
|
-
readonly description?: string;
|
|
5058
|
-
readonly mention?: {
|
|
5059
|
-
readonly start: number;
|
|
5060
|
-
readonly end: number;
|
|
5061
|
-
readonly text: string;
|
|
5062
|
-
};
|
|
5063
|
-
}>;
|
|
5064
|
-
readonly agents?: ReadonlyArray<{
|
|
5065
|
-
readonly name: string;
|
|
5066
|
-
readonly mention?: {
|
|
5067
|
-
readonly start: number;
|
|
5068
|
-
readonly end: number;
|
|
5069
|
-
readonly text: string;
|
|
5070
|
-
};
|
|
5071
|
-
}>;
|
|
5072
|
-
readonly skills?: ReadonlyArray<{
|
|
5073
|
-
readonly id: string;
|
|
5074
|
-
readonly mention?: {
|
|
5075
|
-
readonly start: number;
|
|
5076
|
-
readonly end: number;
|
|
5077
|
-
readonly text: string;
|
|
5078
|
-
};
|
|
5079
|
-
}>;
|
|
5080
|
-
readonly delivery?: ("steer" | "queue") | null;
|
|
5081
|
-
readonly resume?: boolean | null;
|
|
5082
|
-
}["arguments"];
|
|
5083
|
-
readonly agent?: {
|
|
5084
|
-
readonly id?: string | null;
|
|
5085
|
-
readonly command: string;
|
|
5086
|
-
readonly arguments?: string | null;
|
|
5087
|
-
readonly agent?: string | null;
|
|
5088
|
-
readonly model?: {
|
|
5089
|
-
readonly id: string;
|
|
5090
|
-
readonly providerID: string;
|
|
5091
|
-
readonly variant?: string;
|
|
5092
|
-
} | null;
|
|
5093
|
-
readonly files?: ReadonlyArray<{
|
|
5094
|
-
readonly uri: string;
|
|
5095
|
-
readonly name?: string;
|
|
5096
|
-
readonly description?: string;
|
|
5097
|
-
readonly mention?: {
|
|
5098
|
-
readonly start: number;
|
|
5099
|
-
readonly end: number;
|
|
5100
|
-
readonly text: string;
|
|
5101
|
-
};
|
|
5102
|
-
}>;
|
|
5103
|
-
readonly agents?: ReadonlyArray<{
|
|
5104
|
-
readonly name: string;
|
|
5105
|
-
readonly mention?: {
|
|
5106
|
-
readonly start: number;
|
|
5107
|
-
readonly end: number;
|
|
5108
|
-
readonly text: string;
|
|
5109
|
-
};
|
|
5110
|
-
}>;
|
|
5111
|
-
readonly skills?: ReadonlyArray<{
|
|
5112
|
-
readonly id: string;
|
|
5113
|
-
readonly mention?: {
|
|
5114
|
-
readonly start: number;
|
|
5115
|
-
readonly end: number;
|
|
5116
|
-
readonly text: string;
|
|
5117
|
-
};
|
|
5118
|
-
}>;
|
|
5119
|
-
readonly delivery?: ("steer" | "queue") | null;
|
|
5120
|
-
readonly resume?: boolean | null;
|
|
5121
|
-
}["agent"];
|
|
5122
|
-
readonly model?: {
|
|
5123
|
-
readonly id?: string | null;
|
|
4993
|
+
readonly text: {
|
|
5124
4994
|
readonly command: string;
|
|
5125
|
-
readonly
|
|
5126
|
-
readonly agent?: string | null;
|
|
5127
|
-
readonly model?: {
|
|
5128
|
-
readonly id: string;
|
|
5129
|
-
readonly providerID: string;
|
|
5130
|
-
readonly variant?: string;
|
|
5131
|
-
} | null;
|
|
4995
|
+
readonly text: string;
|
|
5132
4996
|
readonly files?: ReadonlyArray<{
|
|
5133
4997
|
readonly uri: string;
|
|
5134
4998
|
readonly name?: string;
|
|
@@ -5156,18 +5020,10 @@ export type SessionCommandInput = {
|
|
|
5156
5020
|
};
|
|
5157
5021
|
}>;
|
|
5158
5022
|
readonly delivery?: ("steer" | "queue") | null;
|
|
5159
|
-
|
|
5160
|
-
}["model"];
|
|
5023
|
+
}["text"];
|
|
5161
5024
|
readonly files?: {
|
|
5162
|
-
readonly id?: string | null;
|
|
5163
5025
|
readonly command: string;
|
|
5164
|
-
readonly
|
|
5165
|
-
readonly agent?: string | null;
|
|
5166
|
-
readonly model?: {
|
|
5167
|
-
readonly id: string;
|
|
5168
|
-
readonly providerID: string;
|
|
5169
|
-
readonly variant?: string;
|
|
5170
|
-
} | null;
|
|
5026
|
+
readonly text: string;
|
|
5171
5027
|
readonly files?: ReadonlyArray<{
|
|
5172
5028
|
readonly uri: string;
|
|
5173
5029
|
readonly name?: string;
|
|
@@ -5195,18 +5051,10 @@ export type SessionCommandInput = {
|
|
|
5195
5051
|
};
|
|
5196
5052
|
}>;
|
|
5197
5053
|
readonly delivery?: ("steer" | "queue") | null;
|
|
5198
|
-
readonly resume?: boolean | null;
|
|
5199
5054
|
}["files"];
|
|
5200
5055
|
readonly agents?: {
|
|
5201
|
-
readonly id?: string | null;
|
|
5202
5056
|
readonly command: string;
|
|
5203
|
-
readonly
|
|
5204
|
-
readonly agent?: string | null;
|
|
5205
|
-
readonly model?: {
|
|
5206
|
-
readonly id: string;
|
|
5207
|
-
readonly providerID: string;
|
|
5208
|
-
readonly variant?: string;
|
|
5209
|
-
} | null;
|
|
5057
|
+
readonly text: string;
|
|
5210
5058
|
readonly files?: ReadonlyArray<{
|
|
5211
5059
|
readonly uri: string;
|
|
5212
5060
|
readonly name?: string;
|
|
@@ -5234,18 +5082,10 @@ export type SessionCommandInput = {
|
|
|
5234
5082
|
};
|
|
5235
5083
|
}>;
|
|
5236
5084
|
readonly delivery?: ("steer" | "queue") | null;
|
|
5237
|
-
readonly resume?: boolean | null;
|
|
5238
5085
|
}["agents"];
|
|
5239
5086
|
readonly skills?: {
|
|
5240
|
-
readonly id?: string | null;
|
|
5241
5087
|
readonly command: string;
|
|
5242
|
-
readonly
|
|
5243
|
-
readonly agent?: string | null;
|
|
5244
|
-
readonly model?: {
|
|
5245
|
-
readonly id: string;
|
|
5246
|
-
readonly providerID: string;
|
|
5247
|
-
readonly variant?: string;
|
|
5248
|
-
} | null;
|
|
5088
|
+
readonly text: string;
|
|
5249
5089
|
readonly files?: ReadonlyArray<{
|
|
5250
5090
|
readonly uri: string;
|
|
5251
5091
|
readonly name?: string;
|
|
@@ -5273,18 +5113,10 @@ export type SessionCommandInput = {
|
|
|
5273
5113
|
};
|
|
5274
5114
|
}>;
|
|
5275
5115
|
readonly delivery?: ("steer" | "queue") | null;
|
|
5276
|
-
readonly resume?: boolean | null;
|
|
5277
5116
|
}["skills"];
|
|
5278
5117
|
readonly delivery?: {
|
|
5279
|
-
readonly id?: string | null;
|
|
5280
5118
|
readonly command: string;
|
|
5281
|
-
readonly
|
|
5282
|
-
readonly agent?: string | null;
|
|
5283
|
-
readonly model?: {
|
|
5284
|
-
readonly id: string;
|
|
5285
|
-
readonly providerID: string;
|
|
5286
|
-
readonly variant?: string;
|
|
5287
|
-
} | null;
|
|
5119
|
+
readonly text: string;
|
|
5288
5120
|
readonly files?: ReadonlyArray<{
|
|
5289
5121
|
readonly uri: string;
|
|
5290
5122
|
readonly name?: string;
|
|
@@ -5312,51 +5144,9 @@ export type SessionCommandInput = {
|
|
|
5312
5144
|
};
|
|
5313
5145
|
}>;
|
|
5314
5146
|
readonly delivery?: ("steer" | "queue") | null;
|
|
5315
|
-
readonly resume?: boolean | null;
|
|
5316
5147
|
}["delivery"];
|
|
5317
|
-
readonly resume?: {
|
|
5318
|
-
readonly id?: string | null;
|
|
5319
|
-
readonly command: string;
|
|
5320
|
-
readonly arguments?: string | null;
|
|
5321
|
-
readonly agent?: string | null;
|
|
5322
|
-
readonly model?: {
|
|
5323
|
-
readonly id: string;
|
|
5324
|
-
readonly providerID: string;
|
|
5325
|
-
readonly variant?: string;
|
|
5326
|
-
} | null;
|
|
5327
|
-
readonly files?: ReadonlyArray<{
|
|
5328
|
-
readonly uri: string;
|
|
5329
|
-
readonly name?: string;
|
|
5330
|
-
readonly description?: string;
|
|
5331
|
-
readonly mention?: {
|
|
5332
|
-
readonly start: number;
|
|
5333
|
-
readonly end: number;
|
|
5334
|
-
readonly text: string;
|
|
5335
|
-
};
|
|
5336
|
-
}>;
|
|
5337
|
-
readonly agents?: ReadonlyArray<{
|
|
5338
|
-
readonly name: string;
|
|
5339
|
-
readonly mention?: {
|
|
5340
|
-
readonly start: number;
|
|
5341
|
-
readonly end: number;
|
|
5342
|
-
readonly text: string;
|
|
5343
|
-
};
|
|
5344
|
-
}>;
|
|
5345
|
-
readonly skills?: ReadonlyArray<{
|
|
5346
|
-
readonly id: string;
|
|
5347
|
-
readonly mention?: {
|
|
5348
|
-
readonly start: number;
|
|
5349
|
-
readonly end: number;
|
|
5350
|
-
readonly text: string;
|
|
5351
|
-
};
|
|
5352
|
-
}>;
|
|
5353
|
-
readonly delivery?: ("steer" | "queue") | null;
|
|
5354
|
-
readonly resume?: boolean | null;
|
|
5355
|
-
}["resume"];
|
|
5356
5148
|
};
|
|
5357
|
-
export type SessionCommandOutput =
|
|
5358
|
-
data: SessionInboxUser;
|
|
5359
|
-
}["data"];
|
|
5149
|
+
export type SessionCommandOutput = void;
|
|
5360
5150
|
export type SessionSkillInput = {
|
|
5361
5151
|
readonly sessionID: {
|
|
5362
5152
|
readonly sessionID: string;
|
|
@@ -5928,8 +5718,8 @@ export type IntegrationOauthConnectOutput = {
|
|
|
5928
5718
|
instructions: string;
|
|
5929
5719
|
mode: "auto" | "code";
|
|
5930
5720
|
time: {
|
|
5931
|
-
created: number | "Infinity" | "-Infinity" | "NaN";
|
|
5932
|
-
expires: number | "Infinity" | "-Infinity" | "NaN";
|
|
5721
|
+
created: number | ("Infinity" | "-Infinity" | "NaN");
|
|
5722
|
+
expires: number | ("Infinity" | "-Infinity" | "NaN");
|
|
5933
5723
|
};
|
|
5934
5724
|
};
|
|
5935
5725
|
};
|
|
@@ -6283,7 +6073,7 @@ export type FormCreateInput = {
|
|
|
6283
6073
|
readonly when?: ReadonlyArray<{
|
|
6284
6074
|
readonly key: string;
|
|
6285
6075
|
readonly op: "eq" | "neq";
|
|
6286
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6076
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6287
6077
|
}>;
|
|
6288
6078
|
readonly type: "string";
|
|
6289
6079
|
readonly format?: "email" | "uri" | "date" | "date-time";
|
|
@@ -6306,12 +6096,12 @@ export type FormCreateInput = {
|
|
|
6306
6096
|
readonly when?: ReadonlyArray<{
|
|
6307
6097
|
readonly key: string;
|
|
6308
6098
|
readonly op: "eq" | "neq";
|
|
6309
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6099
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6310
6100
|
}>;
|
|
6311
6101
|
readonly type: "number";
|
|
6312
|
-
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6313
|
-
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6314
|
-
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6102
|
+
readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6103
|
+
readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6104
|
+
readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6315
6105
|
} | {
|
|
6316
6106
|
readonly key: string;
|
|
6317
6107
|
readonly title?: string;
|
|
@@ -6320,12 +6110,12 @@ export type FormCreateInput = {
|
|
|
6320
6110
|
readonly when?: ReadonlyArray<{
|
|
6321
6111
|
readonly key: string;
|
|
6322
6112
|
readonly op: "eq" | "neq";
|
|
6323
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6113
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6324
6114
|
}>;
|
|
6325
6115
|
readonly type: "integer";
|
|
6326
|
-
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6327
|
-
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6328
|
-
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6116
|
+
readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6117
|
+
readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6118
|
+
readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6329
6119
|
} | {
|
|
6330
6120
|
readonly key: string;
|
|
6331
6121
|
readonly title?: string;
|
|
@@ -6334,7 +6124,7 @@ export type FormCreateInput = {
|
|
|
6334
6124
|
readonly when?: ReadonlyArray<{
|
|
6335
6125
|
readonly key: string;
|
|
6336
6126
|
readonly op: "eq" | "neq";
|
|
6337
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6127
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6338
6128
|
}>;
|
|
6339
6129
|
readonly type: "boolean";
|
|
6340
6130
|
readonly default?: boolean;
|
|
@@ -6346,7 +6136,7 @@ export type FormCreateInput = {
|
|
|
6346
6136
|
readonly when?: ReadonlyArray<{
|
|
6347
6137
|
readonly key: string;
|
|
6348
6138
|
readonly op: "eq" | "neq";
|
|
6349
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6139
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6350
6140
|
}>;
|
|
6351
6141
|
readonly type: "multiselect";
|
|
6352
6142
|
readonly options: ReadonlyArray<{
|
|
@@ -6373,7 +6163,7 @@ export type FormCreateInput = {
|
|
|
6373
6163
|
readonly when?: ReadonlyArray<{
|
|
6374
6164
|
readonly key: string;
|
|
6375
6165
|
readonly op: "eq" | "neq";
|
|
6376
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6166
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6377
6167
|
}>;
|
|
6378
6168
|
readonly type: "string";
|
|
6379
6169
|
readonly format?: "email" | "uri" | "date" | "date-time";
|
|
@@ -6396,12 +6186,12 @@ export type FormCreateInput = {
|
|
|
6396
6186
|
readonly when?: ReadonlyArray<{
|
|
6397
6187
|
readonly key: string;
|
|
6398
6188
|
readonly op: "eq" | "neq";
|
|
6399
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6189
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6400
6190
|
}>;
|
|
6401
6191
|
readonly type: "number";
|
|
6402
|
-
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6403
|
-
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6404
|
-
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6192
|
+
readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6193
|
+
readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6194
|
+
readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6405
6195
|
} | {
|
|
6406
6196
|
readonly key: string;
|
|
6407
6197
|
readonly title?: string;
|
|
@@ -6410,12 +6200,12 @@ export type FormCreateInput = {
|
|
|
6410
6200
|
readonly when?: ReadonlyArray<{
|
|
6411
6201
|
readonly key: string;
|
|
6412
6202
|
readonly op: "eq" | "neq";
|
|
6413
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6203
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6414
6204
|
}>;
|
|
6415
6205
|
readonly type: "integer";
|
|
6416
|
-
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6417
|
-
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6418
|
-
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6206
|
+
readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6207
|
+
readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6208
|
+
readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6419
6209
|
} | {
|
|
6420
6210
|
readonly key: string;
|
|
6421
6211
|
readonly title?: string;
|
|
@@ -6424,7 +6214,7 @@ export type FormCreateInput = {
|
|
|
6424
6214
|
readonly when?: ReadonlyArray<{
|
|
6425
6215
|
readonly key: string;
|
|
6426
6216
|
readonly op: "eq" | "neq";
|
|
6427
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6217
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6428
6218
|
}>;
|
|
6429
6219
|
readonly type: "boolean";
|
|
6430
6220
|
readonly default?: boolean;
|
|
@@ -6436,7 +6226,7 @@ export type FormCreateInput = {
|
|
|
6436
6226
|
readonly when?: ReadonlyArray<{
|
|
6437
6227
|
readonly key: string;
|
|
6438
6228
|
readonly op: "eq" | "neq";
|
|
6439
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6229
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6440
6230
|
}>;
|
|
6441
6231
|
readonly type: "multiselect";
|
|
6442
6232
|
readonly options: ReadonlyArray<{
|
|
@@ -6472,7 +6262,7 @@ export type FormCreateInput = {
|
|
|
6472
6262
|
readonly when?: ReadonlyArray<{
|
|
6473
6263
|
readonly key: string;
|
|
6474
6264
|
readonly op: "eq" | "neq";
|
|
6475
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6265
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6476
6266
|
}>;
|
|
6477
6267
|
readonly type: "string";
|
|
6478
6268
|
readonly format?: "email" | "uri" | "date" | "date-time";
|
|
@@ -6495,12 +6285,12 @@ export type FormCreateInput = {
|
|
|
6495
6285
|
readonly when?: ReadonlyArray<{
|
|
6496
6286
|
readonly key: string;
|
|
6497
6287
|
readonly op: "eq" | "neq";
|
|
6498
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6288
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6499
6289
|
}>;
|
|
6500
6290
|
readonly type: "number";
|
|
6501
|
-
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6502
|
-
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6503
|
-
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6291
|
+
readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6292
|
+
readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6293
|
+
readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6504
6294
|
} | {
|
|
6505
6295
|
readonly key: string;
|
|
6506
6296
|
readonly title?: string;
|
|
@@ -6509,12 +6299,12 @@ export type FormCreateInput = {
|
|
|
6509
6299
|
readonly when?: ReadonlyArray<{
|
|
6510
6300
|
readonly key: string;
|
|
6511
6301
|
readonly op: "eq" | "neq";
|
|
6512
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6302
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6513
6303
|
}>;
|
|
6514
6304
|
readonly type: "integer";
|
|
6515
|
-
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6516
|
-
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6517
|
-
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6305
|
+
readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6306
|
+
readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6307
|
+
readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6518
6308
|
} | {
|
|
6519
6309
|
readonly key: string;
|
|
6520
6310
|
readonly title?: string;
|
|
@@ -6523,7 +6313,7 @@ export type FormCreateInput = {
|
|
|
6523
6313
|
readonly when?: ReadonlyArray<{
|
|
6524
6314
|
readonly key: string;
|
|
6525
6315
|
readonly op: "eq" | "neq";
|
|
6526
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6316
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6527
6317
|
}>;
|
|
6528
6318
|
readonly type: "boolean";
|
|
6529
6319
|
readonly default?: boolean;
|
|
@@ -6535,7 +6325,7 @@ export type FormCreateInput = {
|
|
|
6535
6325
|
readonly when?: ReadonlyArray<{
|
|
6536
6326
|
readonly key: string;
|
|
6537
6327
|
readonly op: "eq" | "neq";
|
|
6538
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6328
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6539
6329
|
}>;
|
|
6540
6330
|
readonly type: "multiselect";
|
|
6541
6331
|
readonly options: ReadonlyArray<{
|
|
@@ -6562,7 +6352,7 @@ export type FormCreateInput = {
|
|
|
6562
6352
|
readonly when?: ReadonlyArray<{
|
|
6563
6353
|
readonly key: string;
|
|
6564
6354
|
readonly op: "eq" | "neq";
|
|
6565
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6355
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6566
6356
|
}>;
|
|
6567
6357
|
readonly type: "string";
|
|
6568
6358
|
readonly format?: "email" | "uri" | "date" | "date-time";
|
|
@@ -6585,12 +6375,12 @@ export type FormCreateInput = {
|
|
|
6585
6375
|
readonly when?: ReadonlyArray<{
|
|
6586
6376
|
readonly key: string;
|
|
6587
6377
|
readonly op: "eq" | "neq";
|
|
6588
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6378
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6589
6379
|
}>;
|
|
6590
6380
|
readonly type: "number";
|
|
6591
|
-
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6592
|
-
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6593
|
-
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6381
|
+
readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6382
|
+
readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6383
|
+
readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6594
6384
|
} | {
|
|
6595
6385
|
readonly key: string;
|
|
6596
6386
|
readonly title?: string;
|
|
@@ -6599,12 +6389,12 @@ export type FormCreateInput = {
|
|
|
6599
6389
|
readonly when?: ReadonlyArray<{
|
|
6600
6390
|
readonly key: string;
|
|
6601
6391
|
readonly op: "eq" | "neq";
|
|
6602
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6392
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6603
6393
|
}>;
|
|
6604
6394
|
readonly type: "integer";
|
|
6605
|
-
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6606
|
-
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6607
|
-
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6395
|
+
readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6396
|
+
readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6397
|
+
readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6608
6398
|
} | {
|
|
6609
6399
|
readonly key: string;
|
|
6610
6400
|
readonly title?: string;
|
|
@@ -6613,7 +6403,7 @@ export type FormCreateInput = {
|
|
|
6613
6403
|
readonly when?: ReadonlyArray<{
|
|
6614
6404
|
readonly key: string;
|
|
6615
6405
|
readonly op: "eq" | "neq";
|
|
6616
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6406
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6617
6407
|
}>;
|
|
6618
6408
|
readonly type: "boolean";
|
|
6619
6409
|
readonly default?: boolean;
|
|
@@ -6625,7 +6415,7 @@ export type FormCreateInput = {
|
|
|
6625
6415
|
readonly when?: ReadonlyArray<{
|
|
6626
6416
|
readonly key: string;
|
|
6627
6417
|
readonly op: "eq" | "neq";
|
|
6628
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6418
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6629
6419
|
}>;
|
|
6630
6420
|
readonly type: "multiselect";
|
|
6631
6421
|
readonly options: ReadonlyArray<{
|
|
@@ -6661,7 +6451,7 @@ export type FormCreateInput = {
|
|
|
6661
6451
|
readonly when?: ReadonlyArray<{
|
|
6662
6452
|
readonly key: string;
|
|
6663
6453
|
readonly op: "eq" | "neq";
|
|
6664
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6454
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6665
6455
|
}>;
|
|
6666
6456
|
readonly type: "string";
|
|
6667
6457
|
readonly format?: "email" | "uri" | "date" | "date-time";
|
|
@@ -6684,12 +6474,12 @@ export type FormCreateInput = {
|
|
|
6684
6474
|
readonly when?: ReadonlyArray<{
|
|
6685
6475
|
readonly key: string;
|
|
6686
6476
|
readonly op: "eq" | "neq";
|
|
6687
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6477
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6688
6478
|
}>;
|
|
6689
6479
|
readonly type: "number";
|
|
6690
|
-
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6691
|
-
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6692
|
-
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6480
|
+
readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6481
|
+
readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6482
|
+
readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6693
6483
|
} | {
|
|
6694
6484
|
readonly key: string;
|
|
6695
6485
|
readonly title?: string;
|
|
@@ -6698,12 +6488,12 @@ export type FormCreateInput = {
|
|
|
6698
6488
|
readonly when?: ReadonlyArray<{
|
|
6699
6489
|
readonly key: string;
|
|
6700
6490
|
readonly op: "eq" | "neq";
|
|
6701
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6491
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6702
6492
|
}>;
|
|
6703
6493
|
readonly type: "integer";
|
|
6704
|
-
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6705
|
-
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6706
|
-
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6494
|
+
readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6495
|
+
readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6496
|
+
readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6707
6497
|
} | {
|
|
6708
6498
|
readonly key: string;
|
|
6709
6499
|
readonly title?: string;
|
|
@@ -6712,7 +6502,7 @@ export type FormCreateInput = {
|
|
|
6712
6502
|
readonly when?: ReadonlyArray<{
|
|
6713
6503
|
readonly key: string;
|
|
6714
6504
|
readonly op: "eq" | "neq";
|
|
6715
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6505
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6716
6506
|
}>;
|
|
6717
6507
|
readonly type: "boolean";
|
|
6718
6508
|
readonly default?: boolean;
|
|
@@ -6724,7 +6514,7 @@ export type FormCreateInput = {
|
|
|
6724
6514
|
readonly when?: ReadonlyArray<{
|
|
6725
6515
|
readonly key: string;
|
|
6726
6516
|
readonly op: "eq" | "neq";
|
|
6727
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6517
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6728
6518
|
}>;
|
|
6729
6519
|
readonly type: "multiselect";
|
|
6730
6520
|
readonly options: ReadonlyArray<{
|
|
@@ -6751,7 +6541,7 @@ export type FormCreateInput = {
|
|
|
6751
6541
|
readonly when?: ReadonlyArray<{
|
|
6752
6542
|
readonly key: string;
|
|
6753
6543
|
readonly op: "eq" | "neq";
|
|
6754
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6544
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6755
6545
|
}>;
|
|
6756
6546
|
readonly type: "string";
|
|
6757
6547
|
readonly format?: "email" | "uri" | "date" | "date-time";
|
|
@@ -6774,12 +6564,12 @@ export type FormCreateInput = {
|
|
|
6774
6564
|
readonly when?: ReadonlyArray<{
|
|
6775
6565
|
readonly key: string;
|
|
6776
6566
|
readonly op: "eq" | "neq";
|
|
6777
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6567
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6778
6568
|
}>;
|
|
6779
6569
|
readonly type: "number";
|
|
6780
|
-
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6781
|
-
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6782
|
-
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6570
|
+
readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6571
|
+
readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6572
|
+
readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6783
6573
|
} | {
|
|
6784
6574
|
readonly key: string;
|
|
6785
6575
|
readonly title?: string;
|
|
@@ -6788,12 +6578,12 @@ export type FormCreateInput = {
|
|
|
6788
6578
|
readonly when?: ReadonlyArray<{
|
|
6789
6579
|
readonly key: string;
|
|
6790
6580
|
readonly op: "eq" | "neq";
|
|
6791
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6581
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6792
6582
|
}>;
|
|
6793
6583
|
readonly type: "integer";
|
|
6794
|
-
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6795
|
-
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6796
|
-
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6584
|
+
readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6585
|
+
readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6586
|
+
readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6797
6587
|
} | {
|
|
6798
6588
|
readonly key: string;
|
|
6799
6589
|
readonly title?: string;
|
|
@@ -6802,7 +6592,7 @@ export type FormCreateInput = {
|
|
|
6802
6592
|
readonly when?: ReadonlyArray<{
|
|
6803
6593
|
readonly key: string;
|
|
6804
6594
|
readonly op: "eq" | "neq";
|
|
6805
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6595
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6806
6596
|
}>;
|
|
6807
6597
|
readonly type: "boolean";
|
|
6808
6598
|
readonly default?: boolean;
|
|
@@ -6814,7 +6604,7 @@ export type FormCreateInput = {
|
|
|
6814
6604
|
readonly when?: ReadonlyArray<{
|
|
6815
6605
|
readonly key: string;
|
|
6816
6606
|
readonly op: "eq" | "neq";
|
|
6817
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6607
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6818
6608
|
}>;
|
|
6819
6609
|
readonly type: "multiselect";
|
|
6820
6610
|
readonly options: ReadonlyArray<{
|
|
@@ -6850,7 +6640,7 @@ export type FormCreateInput = {
|
|
|
6850
6640
|
readonly when?: ReadonlyArray<{
|
|
6851
6641
|
readonly key: string;
|
|
6852
6642
|
readonly op: "eq" | "neq";
|
|
6853
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6643
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6854
6644
|
}>;
|
|
6855
6645
|
readonly type: "string";
|
|
6856
6646
|
readonly format?: "email" | "uri" | "date" | "date-time";
|
|
@@ -6873,12 +6663,12 @@ export type FormCreateInput = {
|
|
|
6873
6663
|
readonly when?: ReadonlyArray<{
|
|
6874
6664
|
readonly key: string;
|
|
6875
6665
|
readonly op: "eq" | "neq";
|
|
6876
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6666
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6877
6667
|
}>;
|
|
6878
6668
|
readonly type: "number";
|
|
6879
|
-
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6880
|
-
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6881
|
-
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6669
|
+
readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6670
|
+
readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6671
|
+
readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6882
6672
|
} | {
|
|
6883
6673
|
readonly key: string;
|
|
6884
6674
|
readonly title?: string;
|
|
@@ -6887,12 +6677,12 @@ export type FormCreateInput = {
|
|
|
6887
6677
|
readonly when?: ReadonlyArray<{
|
|
6888
6678
|
readonly key: string;
|
|
6889
6679
|
readonly op: "eq" | "neq";
|
|
6890
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6680
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6891
6681
|
}>;
|
|
6892
6682
|
readonly type: "integer";
|
|
6893
|
-
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6894
|
-
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6895
|
-
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6683
|
+
readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6684
|
+
readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6685
|
+
readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6896
6686
|
} | {
|
|
6897
6687
|
readonly key: string;
|
|
6898
6688
|
readonly title?: string;
|
|
@@ -6901,7 +6691,7 @@ export type FormCreateInput = {
|
|
|
6901
6691
|
readonly when?: ReadonlyArray<{
|
|
6902
6692
|
readonly key: string;
|
|
6903
6693
|
readonly op: "eq" | "neq";
|
|
6904
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6694
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6905
6695
|
}>;
|
|
6906
6696
|
readonly type: "boolean";
|
|
6907
6697
|
readonly default?: boolean;
|
|
@@ -6913,7 +6703,7 @@ export type FormCreateInput = {
|
|
|
6913
6703
|
readonly when?: ReadonlyArray<{
|
|
6914
6704
|
readonly key: string;
|
|
6915
6705
|
readonly op: "eq" | "neq";
|
|
6916
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6706
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6917
6707
|
}>;
|
|
6918
6708
|
readonly type: "multiselect";
|
|
6919
6709
|
readonly options: ReadonlyArray<{
|
|
@@ -6940,7 +6730,7 @@ export type FormCreateInput = {
|
|
|
6940
6730
|
readonly when?: ReadonlyArray<{
|
|
6941
6731
|
readonly key: string;
|
|
6942
6732
|
readonly op: "eq" | "neq";
|
|
6943
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6733
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6944
6734
|
}>;
|
|
6945
6735
|
readonly type: "string";
|
|
6946
6736
|
readonly format?: "email" | "uri" | "date" | "date-time";
|
|
@@ -6963,12 +6753,12 @@ export type FormCreateInput = {
|
|
|
6963
6753
|
readonly when?: ReadonlyArray<{
|
|
6964
6754
|
readonly key: string;
|
|
6965
6755
|
readonly op: "eq" | "neq";
|
|
6966
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6756
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6967
6757
|
}>;
|
|
6968
6758
|
readonly type: "number";
|
|
6969
|
-
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6970
|
-
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6971
|
-
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6759
|
+
readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6760
|
+
readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6761
|
+
readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6972
6762
|
} | {
|
|
6973
6763
|
readonly key: string;
|
|
6974
6764
|
readonly title?: string;
|
|
@@ -6977,12 +6767,12 @@ export type FormCreateInput = {
|
|
|
6977
6767
|
readonly when?: ReadonlyArray<{
|
|
6978
6768
|
readonly key: string;
|
|
6979
6769
|
readonly op: "eq" | "neq";
|
|
6980
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6770
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6981
6771
|
}>;
|
|
6982
6772
|
readonly type: "integer";
|
|
6983
|
-
readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6984
|
-
readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6985
|
-
readonly default?: number | "Infinity" | "-Infinity" | "NaN";
|
|
6773
|
+
readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6774
|
+
readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6775
|
+
readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
|
|
6986
6776
|
} | {
|
|
6987
6777
|
readonly key: string;
|
|
6988
6778
|
readonly title?: string;
|
|
@@ -6991,7 +6781,7 @@ export type FormCreateInput = {
|
|
|
6991
6781
|
readonly when?: ReadonlyArray<{
|
|
6992
6782
|
readonly key: string;
|
|
6993
6783
|
readonly op: "eq" | "neq";
|
|
6994
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6784
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
6995
6785
|
}>;
|
|
6996
6786
|
readonly type: "boolean";
|
|
6997
6787
|
readonly default?: boolean;
|
|
@@ -7003,7 +6793,7 @@ export type FormCreateInput = {
|
|
|
7003
6793
|
readonly when?: ReadonlyArray<{
|
|
7004
6794
|
readonly key: string;
|
|
7005
6795
|
readonly op: "eq" | "neq";
|
|
7006
|
-
readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
6796
|
+
readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
|
|
7007
6797
|
}>;
|
|
7008
6798
|
readonly type: "multiselect";
|
|
7009
6799
|
readonly options: ReadonlyArray<{
|