@opencode-ai/client 0.0.0-dev-17534 → 0.0.0-dev-17582

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.
@@ -30,15 +30,6 @@ export type SessionForkBoundary = {
30
30
  messageID: string;
31
31
  };
32
32
  export type MoneyUSD = number;
33
- export type TokenUsageInfo = {
34
- input: number;
35
- output: number;
36
- reasoning: number;
37
- cache: {
38
- read: number;
39
- write: number;
40
- };
41
- };
42
33
  export type LocationRef = {
43
34
  directory: string;
44
35
  workspaceID?: string;
@@ -50,18 +41,6 @@ export type FileDiffInfo = {
50
41
  deletions: number;
51
42
  status: "added" | "deleted" | "modified";
52
43
  };
53
- export type SessionMessageAgentSelected = {
54
- id: string;
55
- metadata?: {
56
- [x: string]: JsonValue;
57
- };
58
- time: {
59
- created: number;
60
- };
61
- type: "agent-switched";
62
- agent: string;
63
- previous?: string;
64
- };
65
44
  export type PromptBase64 = string;
66
45
  export type PromptFileSource = {
67
46
  type: "inline";
@@ -74,134 +53,23 @@ export type PromptMention = {
74
53
  end: number;
75
54
  text: string;
76
55
  };
77
- export type SessionMessageSynthetic = {
78
- id: string;
79
- metadata?: {
80
- [x: string]: JsonValue;
81
- };
82
- time: {
83
- created: number;
84
- };
85
- text: string;
86
- description?: string;
87
- type: "synthetic";
88
- };
89
- export type SessionMessageSystem = {
90
- id: string;
91
- metadata?: {
92
- [x: string]: JsonValue;
93
- };
94
- time: {
95
- created: number;
96
- };
97
- type: "system";
98
- text: string;
99
- description?: string;
100
- };
101
- export type SessionMessageSkill = {
102
- id: string;
103
- metadata?: {
104
- [x: string]: JsonValue;
105
- };
106
- time: {
107
- created: number;
108
- };
109
- type: "skill";
110
- skill: string;
111
- name: string;
112
- text: string;
113
- };
114
- export type SessionMessageShell = {
115
- id: string;
116
- metadata?: {
117
- [x: string]: JsonValue;
118
- };
119
- time: {
120
- created: number;
121
- completed?: number;
122
- };
123
- type: "shell";
124
- shellID: string;
125
- command: string;
126
- status: "running" | "exited" | "timeout" | "killed";
127
- exit?: number | "Infinity" | "-Infinity" | "NaN";
128
- output?: {
129
- output: string;
130
- cursor: number;
131
- size: number;
132
- truncated: boolean;
133
- };
134
- };
135
- export type SessionMessageProviderState = {
136
- [x: string]: JsonValue;
137
- };
138
56
  export type SessionMessageToolStateStreaming = {
139
57
  status: "streaming";
140
58
  input: string;
141
59
  };
142
- export type SessionMessageToolStateRunning = {
143
- status: "running";
144
- input: {
145
- [x: string]: JsonValue;
146
- };
147
- metadata: {
148
- [x: string]: JsonValue;
149
- };
150
- };
151
60
  export type ToolTextContent = {
152
61
  type: "text";
153
62
  text: string;
154
63
  };
155
- export type ToolFileContent = {
156
- type: "file";
157
- uri: string;
158
- mime: string;
159
- name?: string | null;
160
- };
161
64
  export type SessionStructuredError = {
162
65
  type: string;
163
66
  message: string;
164
67
  status?: number;
165
68
  };
166
- export type SessionMessageCompactionRunning = {
167
- type: "compaction";
168
- id: string;
169
- metadata?: {
170
- [x: string]: JsonValue;
171
- };
172
- time: {
173
- created: number;
174
- };
175
- status: "running";
176
- reason: "auto" | "manual";
177
- summary: string;
178
- recent: string;
179
- };
180
- export type SessionMessageCompactionCompleted = {
181
- type: "compaction";
182
- id: string;
183
- metadata?: {
184
- [x: string]: JsonValue;
185
- };
186
- time: {
187
- created: number;
188
- };
189
- status: "completed";
190
- reason: "auto" | "manual";
191
- summary: string;
192
- recent: string;
193
- };
194
69
  export type SessionActive = {
195
70
  type: "running";
196
71
  };
197
72
  export type SessionInboxDelivery = "steer" | "queue";
198
- export type SessionInboxSyntheticPayload = {
199
- text: string;
200
- description?: string;
201
- metadata?: {
202
- [x: string]: JsonValue;
203
- };
204
- };
205
73
  export type SessionInboxCompactionPayload = {};
206
74
  export type InstructionEntryKey = string;
207
75
  export type SessionGenerateResponse = {
@@ -216,33 +84,7 @@ export type SessionInboxSyntheticPayload1 = {
216
84
  [x: string]: any;
217
85
  };
218
86
  };
219
- export type ShellInfo = {
220
- id: string;
221
- status: "running" | "exited" | "timeout" | "killed";
222
- command: string;
223
- cwd: string;
224
- shell: string;
225
- file: string;
226
- pid?: number;
227
- exit?: number;
228
- metadata: {
229
- [x: string]: any;
230
- };
231
- time: {
232
- started: number;
233
- completed?: number;
234
- };
235
- };
236
- export type SessionMessageProviderState4 = {
237
- [x: string]: any;
238
- };
239
- export type SessionMessageProviderState5 = {
240
- [x: string]: any;
241
- };
242
- export type SessionMessageProviderState6 = {
243
- [x: string]: any;
244
- };
245
- export type SessionMessageProviderState7 = {
87
+ export type SessionMessageProviderState1 = {
246
88
  [x: string]: any;
247
89
  };
248
90
  export type ToolFileContent1 = {
@@ -251,12 +93,6 @@ export type ToolFileContent1 = {
251
93
  mime: string;
252
94
  name?: string | undefined;
253
95
  };
254
- export type SessionMessageProviderState8 = {
255
- [x: string]: any;
256
- };
257
- export type SessionMessageProviderState9 = {
258
- [x: string]: any;
259
- };
260
96
  export type EventLogSynced = {
261
97
  type: "log.synced";
262
98
  aggregateID: string;
@@ -264,50 +100,12 @@ export type EventLogSynced = {
264
100
  };
265
101
  export type ModelReasoningField = "reasoning" | "reasoning_content" | "reasoning_text" | (string & {});
266
102
  export type ModelMaxTokensField = "max_completion_tokens" | "max_tokens";
267
- export type ModelCapabilities = {
268
- tools: boolean;
269
- input: Array<string>;
270
- output: Array<string>;
271
- };
272
- export type ModelVariant = {
273
- id: string;
274
- settings?: {
275
- [x: string]: any;
276
- };
277
- headers?: {
278
- [x: string]: string;
279
- };
280
- body?: {
281
- [x: string]: any;
282
- };
283
- };
284
103
  export type MoneyUSDPerMillionTokens = number;
285
104
  export type GenerateTextResponse = {
286
105
  data: {
287
106
  text: string;
288
107
  };
289
108
  };
290
- export type ProviderInfo = {
291
- id: string;
292
- integrationID?: string;
293
- name: string;
294
- activation: "auto" | "enabled" | "disabled";
295
- package: string;
296
- settings?: {
297
- [x: string]: any;
298
- };
299
- headers?: {
300
- [x: string]: string;
301
- };
302
- body?: {
303
- [x: string]: any;
304
- };
305
- };
306
- export type FormWhen = {
307
- key: string;
308
- op: "eq" | "neq";
309
- value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
310
- };
311
109
  export type FormOption = {
312
110
  value: string;
313
111
  label: string;
@@ -339,66 +137,6 @@ export type ConnectionEnvInfo = {
339
137
  type: "env";
340
138
  name: string;
341
139
  };
342
- export type IntegrationAttemptStatus = {
343
- status: "pending";
344
- time: {
345
- created: number | "Infinity" | "-Infinity" | "NaN";
346
- expires: number | "Infinity" | "-Infinity" | "NaN";
347
- };
348
- } | {
349
- status: "complete";
350
- time: {
351
- created: number | "Infinity" | "-Infinity" | "NaN";
352
- expires: number | "Infinity" | "-Infinity" | "NaN";
353
- };
354
- } | {
355
- status: "failed";
356
- message: string;
357
- time: {
358
- created: number | "Infinity" | "-Infinity" | "NaN";
359
- expires: number | "Infinity" | "-Infinity" | "NaN";
360
- };
361
- } | {
362
- status: "expired";
363
- time: {
364
- created: number | "Infinity" | "-Infinity" | "NaN";
365
- expires: number | "Infinity" | "-Infinity" | "NaN";
366
- };
367
- };
368
- export type IntegrationCommandAttempt = {
369
- attemptID: string;
370
- time: {
371
- created: number | "Infinity" | "-Infinity" | "NaN";
372
- expires: number | "Infinity" | "-Infinity" | "NaN";
373
- };
374
- };
375
- export type IntegrationCommandAttemptStatus = {
376
- status: "pending";
377
- message?: string;
378
- time: {
379
- created: number | "Infinity" | "-Infinity" | "NaN";
380
- expires: number | "Infinity" | "-Infinity" | "NaN";
381
- };
382
- } | {
383
- status: "complete";
384
- time: {
385
- created: number | "Infinity" | "-Infinity" | "NaN";
386
- expires: number | "Infinity" | "-Infinity" | "NaN";
387
- };
388
- } | {
389
- status: "failed";
390
- message: string;
391
- time: {
392
- created: number | "Infinity" | "-Infinity" | "NaN";
393
- expires: number | "Infinity" | "-Infinity" | "NaN";
394
- };
395
- } | {
396
- status: "expired";
397
- time: {
398
- created: number | "Infinity" | "-Infinity" | "NaN";
399
- expires: number | "Infinity" | "-Infinity" | "NaN";
400
- };
401
- };
402
140
  export type McpStatusConnected = {
403
141
  status: "connected";
404
142
  };
@@ -448,9 +186,6 @@ export type ProjectCurrent = {
448
186
  directory: string;
449
187
  canonical: string;
450
188
  };
451
- export type FormMetadata = {
452
- [x: string]: JsonValue;
453
- };
454
189
  export type FormValue = string | number | boolean | Array<string>;
455
190
  export type PermissionSource = {
456
191
  type: "tool";
@@ -513,23 +248,6 @@ export type SessionStatus = {
513
248
  } | {
514
249
  type: "busy";
515
250
  };
516
- export type ShellInfo1 = {
517
- id: string;
518
- status: "running" | "exited" | "timeout" | "killed";
519
- command: string;
520
- cwd: string;
521
- shell: string;
522
- file: string;
523
- pid?: number;
524
- exit?: number;
525
- metadata: {
526
- [x: string]: JsonValue;
527
- };
528
- time: {
529
- started: number;
530
- completed?: number;
531
- };
532
- };
533
251
  export type ReferenceLocalSource = {
534
252
  type: "local";
535
253
  path: string;
@@ -572,18 +290,6 @@ export type WebSearchResult = {
572
290
  published?: number;
573
291
  };
574
292
  };
575
- export type SessionMessageModelSelected = {
576
- id: string;
577
- metadata?: {
578
- [x: string]: JsonValue;
579
- };
580
- time: {
581
- created: number;
582
- };
583
- type: "model-switched";
584
- model: ModelRef;
585
- previous?: ModelRef;
586
- };
587
293
  export type CommandInfo = {
588
294
  name: string;
589
295
  template: string;
@@ -606,28 +312,91 @@ export type PermissionRule = {
606
312
  resource: string;
607
313
  effect: PermissionEffect;
608
314
  };
609
- export type SessionMessageLocationSwitched = {
315
+ export type TokenUsageInfo = {
316
+ input: number;
317
+ output: number;
318
+ reasoning: number;
319
+ cache: {
320
+ read: number;
321
+ write: number;
322
+ };
323
+ };
324
+ export type SessionInboxMovePayload = {
325
+ location: LocationRef;
326
+ projectID: string;
327
+ subpath?: string;
328
+ };
329
+ export type V2EventServerConnected = {
610
330
  id: string;
611
331
  metadata?: {
332
+ [x: string]: any;
333
+ } | undefined;
334
+ location?: LocationRef | undefined;
335
+ type: "server.connected";
336
+ data: {};
337
+ };
338
+ export type SessionMessageProviderState = {
339
+ [x: string]: JsonValue;
340
+ };
341
+ export type SessionMessageToolStateRunning = {
342
+ status: "running";
343
+ input: {
612
344
  [x: string]: JsonValue;
613
345
  };
614
- time: {
615
- created: number;
346
+ metadata: {
347
+ [x: string]: JsonValue;
616
348
  };
617
- type: "location-switched";
618
- location: LocationRef;
619
- projectID?: string;
620
- subpath?: string;
621
- previous?: {
622
- location: LocationRef;
623
- projectID?: string;
624
- subpath?: string;
349
+ };
350
+ export type SessionInboxSyntheticPayload = {
351
+ text: string;
352
+ description?: string;
353
+ metadata?: {
354
+ [x: string]: JsonValue;
625
355
  };
626
356
  };
627
- export type SessionInboxMovePayload = {
628
- location: LocationRef;
629
- projectID: string;
630
- subpath?: string;
357
+ export type FormMetadata = {
358
+ [x: string]: JsonValue;
359
+ };
360
+ export type PromptFileAttachment = {
361
+ data: PromptBase64;
362
+ mime: string;
363
+ source: PromptFileSource;
364
+ name?: string;
365
+ description?: string;
366
+ mention?: PromptMention;
367
+ };
368
+ export type PromptAgentAttachment = {
369
+ name: string;
370
+ mention?: PromptMention;
371
+ };
372
+ export type PromptSkillAttachment = {
373
+ id: string;
374
+ name: string;
375
+ text: string;
376
+ mention?: PromptMention;
377
+ };
378
+ export type ToolFileContent = {
379
+ type: "file";
380
+ uri: string;
381
+ mime: string;
382
+ name?: string | null;
383
+ };
384
+ export type SessionMessageAssistantRetry = {
385
+ attempt: number;
386
+ at: number;
387
+ error: SessionStructuredError;
388
+ };
389
+ export type SessionInboxCompaction = {
390
+ id: string;
391
+ sessionID: string;
392
+ timeCreated: number;
393
+ type: "compaction";
394
+ payload: SessionInboxCompactionPayload;
395
+ delivery: SessionInboxDelivery;
396
+ };
397
+ export type InstructionEntryInfo = {
398
+ key: InstructionEntryKey;
399
+ value: JsonValue;
631
400
  };
632
401
  export type SessionCreated = {
633
402
  id: string;
@@ -806,6 +575,25 @@ export type SessionInboxCancelled = {
806
575
  inboxID: string;
807
576
  };
808
577
  };
578
+ export type SessionInboxDeliveryChanged = {
579
+ id: string;
580
+ created: number;
581
+ metadata?: {
582
+ [x: string]: any;
583
+ };
584
+ type: "session.inbox.delivery.changed";
585
+ durable: {
586
+ aggregateID: string;
587
+ seq: number;
588
+ version: 1;
589
+ };
590
+ location?: LocationRef;
591
+ data: {
592
+ sessionID: string;
593
+ inboxID: string;
594
+ delivery: SessionInboxDelivery;
595
+ };
596
+ };
809
597
  export type SessionExecutionStarted = {
810
598
  id: string;
811
599
  created: number;
@@ -840,6 +628,24 @@ export type SessionExecutionSucceeded = {
840
628
  sessionID: string;
841
629
  };
842
630
  };
631
+ export type SessionExecutionFailed = {
632
+ id: string;
633
+ created: number;
634
+ metadata?: {
635
+ [x: string]: any;
636
+ };
637
+ type: "session.execution.failed";
638
+ durable: {
639
+ aggregateID: string;
640
+ seq: number;
641
+ version: 1;
642
+ };
643
+ location?: LocationRef;
644
+ data: {
645
+ sessionID: string;
646
+ error: SessionStructuredError;
647
+ };
648
+ };
843
649
  export type SessionExecutionInterrupted = {
844
650
  id: string;
845
651
  created: number;
@@ -942,29 +748,6 @@ export type SessionStepStarted = {
942
748
  snapshot?: string;
943
749
  };
944
750
  };
945
- export type SessionStepEnded = {
946
- id: string;
947
- created: number;
948
- metadata?: {
949
- [x: string]: any;
950
- };
951
- type: "session.step.ended";
952
- durable: {
953
- aggregateID: string;
954
- seq: number;
955
- version: 1;
956
- };
957
- location?: LocationRef;
958
- data: {
959
- sessionID: string;
960
- assistantMessageID: string;
961
- finish: "stop" | "length" | "tool-calls" | "content-filter" | "error" | "unknown";
962
- cost: MoneyUSD;
963
- tokens: TokenUsageInfo;
964
- snapshot?: string;
965
- files?: Array<string>;
966
- };
967
- };
968
751
  export type SessionTextStarted = {
969
752
  id: string;
970
753
  created: number;
@@ -1024,33 +807,13 @@ export type SessionToolInputEnded = {
1024
807
  text: string;
1025
808
  };
1026
809
  };
1027
- export type SessionCompactionStarted = {
1028
- id: string;
1029
- created: number;
1030
- metadata?: {
1031
- [x: string]: any;
1032
- };
1033
- type: "session.compaction.started";
1034
- durable: {
1035
- aggregateID: string;
1036
- seq: number;
1037
- version: 1;
1038
- };
1039
- location?: LocationRef;
1040
- data: {
1041
- sessionID: string;
1042
- reason: "auto" | "manual";
1043
- recent: string;
1044
- inputID?: string;
1045
- };
1046
- };
1047
- export type SessionCompactionEnded = {
810
+ export type SessionRetryScheduled = {
1048
811
  id: string;
1049
812
  created: number;
1050
813
  metadata?: {
1051
814
  [x: string]: any;
1052
815
  };
1053
- type: "session.compaction.ended";
816
+ type: "session.retry.scheduled";
1054
817
  durable: {
1055
818
  aggregateID: string;
1056
819
  seq: number;
@@ -1059,9 +822,10 @@ export type SessionCompactionEnded = {
1059
822
  location?: LocationRef;
1060
823
  data: {
1061
824
  sessionID: string;
1062
- reason: "auto" | "manual";
1063
- text: string;
1064
- recent: string;
825
+ assistantMessageID: string;
826
+ attempt: number;
827
+ at: number;
828
+ error: SessionStructuredError;
1065
829
  };
1066
830
  };
1067
831
  export type SessionRevertCleared = {
@@ -1099,26 +863,6 @@ export type SessionRevertCommitted = {
1099
863
  to: string;
1100
864
  };
1101
865
  };
1102
- export type SessionUsageRecorded = {
1103
- id: string;
1104
- created: number;
1105
- metadata?: {
1106
- [x: string]: any;
1107
- };
1108
- type: "session.usage.recorded";
1109
- durable: {
1110
- aggregateID: string;
1111
- seq: number;
1112
- version: 1;
1113
- };
1114
- location?: LocationRef;
1115
- data: {
1116
- sessionID: string;
1117
- source: "title" | "compaction";
1118
- cost: MoneyUSD;
1119
- tokens: TokenUsageInfo;
1120
- };
1121
- };
1122
866
  export type ModelsDevRefreshed = {
1123
867
  id: string;
1124
868
  created: number;
@@ -1171,20 +915,6 @@ export type AgentUpdated = {
1171
915
  location?: LocationRef;
1172
916
  data: {};
1173
917
  };
1174
- export type SessionUsageUpdated = {
1175
- id: string;
1176
- created: number;
1177
- metadata?: {
1178
- [x: string]: any;
1179
- };
1180
- type: "session.usage.updated";
1181
- location?: LocationRef;
1182
- data: {
1183
- sessionID: string;
1184
- cost: MoneyUSD;
1185
- tokens: TokenUsageInfo;
1186
- };
1187
- };
1188
918
  export type SessionTextDelta = {
1189
919
  id: string;
1190
920
  created: number;
@@ -1563,79 +1293,47 @@ export type McpResourcesChanged = {
1563
1293
  server: string;
1564
1294
  };
1565
1295
  };
1566
- export type V2EventServerConnected = {
1296
+ export type ShellInfo = {
1567
1297
  id: string;
1568
- metadata?: {
1298
+ status: "running" | "exited" | "timeout" | "killed";
1299
+ command: string;
1300
+ cwd: string;
1301
+ shell: string;
1302
+ file: string;
1303
+ pid?: number;
1304
+ exit?: number;
1305
+ metadata: {
1569
1306
  [x: string]: any;
1570
- } | undefined;
1571
- location?: LocationRef | undefined;
1572
- type: "server.connected";
1573
- data: {};
1307
+ };
1308
+ time: {
1309
+ started: number;
1310
+ completed?: number;
1311
+ };
1574
1312
  };
1575
- export type SessionRevert = {
1576
- messageID: string;
1577
- partID?: string;
1578
- snapshot?: string;
1579
- files?: Array<FileDiffInfo>;
1580
- };
1581
- export type PromptFileAttachment = {
1582
- data: PromptBase64;
1583
- mime: string;
1584
- source: PromptFileSource;
1585
- name?: string;
1586
- description?: string;
1587
- mention?: PromptMention;
1588
- };
1589
- export type PromptAgentAttachment = {
1590
- name: string;
1591
- mention?: PromptMention;
1592
- };
1593
- export type PromptSkillAttachment = {
1594
- id: string;
1595
- name: string;
1596
- text: string;
1597
- mention?: PromptMention;
1598
- };
1599
- export type SessionMessageAssistantText = {
1600
- type: "text";
1601
- text: string;
1602
- state?: SessionMessageProviderState;
1603
- };
1604
- export type SessionMessageAssistantReasoning = {
1605
- type: "reasoning";
1606
- text: string;
1607
- state?: SessionMessageProviderState;
1608
- time?: {
1609
- created: number;
1610
- completed?: number;
1611
- };
1612
- };
1613
- export type ToolContent = ToolTextContent | ToolFileContent;
1614
- export type SessionMessageAssistantRetry = {
1615
- attempt: number;
1616
- at: number;
1617
- error: SessionStructuredError;
1618
- };
1619
- export type SessionMessageCompactionFailed = {
1620
- type: "compaction";
1313
+ export type ShellInfo1 = {
1621
1314
  id: string;
1622
- metadata?: {
1315
+ status: "running" | "exited" | "timeout" | "killed";
1316
+ command: string;
1317
+ cwd: string;
1318
+ shell: string;
1319
+ file: string;
1320
+ pid?: number;
1321
+ exit?: number;
1322
+ metadata: {
1623
1323
  [x: string]: JsonValue;
1624
1324
  };
1625
1325
  time: {
1626
- created: number;
1326
+ started: number;
1327
+ completed?: number;
1627
1328
  };
1628
- status: "failed";
1629
- reason: "auto" | "manual";
1630
- error: SessionStructuredError;
1631
1329
  };
1632
- export type SessionExecutionFailed = {
1330
+ export type SessionTextEnded = {
1633
1331
  id: string;
1634
1332
  created: number;
1635
1333
  metadata?: {
1636
1334
  [x: string]: any;
1637
1335
  };
1638
- type: "session.execution.failed";
1336
+ type: "session.text.ended";
1639
1337
  durable: {
1640
1338
  aggregateID: string;
1641
1339
  seq: number;
@@ -1644,16 +1342,19 @@ export type SessionExecutionFailed = {
1644
1342
  location?: LocationRef;
1645
1343
  data: {
1646
1344
  sessionID: string;
1647
- error: SessionStructuredError;
1345
+ assistantMessageID: string;
1346
+ ordinal: number;
1347
+ text: string;
1348
+ state?: SessionMessageProviderState1;
1648
1349
  };
1649
1350
  };
1650
- export type SessionStepFailed = {
1351
+ export type SessionReasoningStarted = {
1651
1352
  id: string;
1652
1353
  created: number;
1653
1354
  metadata?: {
1654
1355
  [x: string]: any;
1655
1356
  };
1656
- type: "session.step.failed";
1357
+ type: "session.reasoning.started";
1657
1358
  durable: {
1658
1359
  aggregateID: string;
1659
1360
  seq: number;
@@ -1663,20 +1364,17 @@ export type SessionStepFailed = {
1663
1364
  data: {
1664
1365
  sessionID: string;
1665
1366
  assistantMessageID: string;
1666
- error: SessionStructuredError;
1667
- cost?: MoneyUSD;
1668
- tokens?: TokenUsageInfo;
1669
- snapshot?: string;
1670
- files?: Array<string>;
1367
+ ordinal: number;
1368
+ state?: SessionMessageProviderState1;
1671
1369
  };
1672
1370
  };
1673
- export type SessionRetryScheduled = {
1371
+ export type SessionReasoningEnded = {
1674
1372
  id: string;
1675
1373
  created: number;
1676
1374
  metadata?: {
1677
1375
  [x: string]: any;
1678
1376
  };
1679
- type: "session.retry.scheduled";
1377
+ type: "session.reasoning.ended";
1680
1378
  durable: {
1681
1379
  aggregateID: string;
1682
1380
  seq: number;
@@ -1686,18 +1384,18 @@ export type SessionRetryScheduled = {
1686
1384
  data: {
1687
1385
  sessionID: string;
1688
1386
  assistantMessageID: string;
1689
- attempt: number;
1690
- at: number;
1691
- error: SessionStructuredError;
1387
+ ordinal: number;
1388
+ text: string;
1389
+ state?: SessionMessageProviderState1;
1692
1390
  };
1693
1391
  };
1694
- export type SessionCompactionFailed = {
1392
+ export type SessionToolCalled = {
1695
1393
  id: string;
1696
1394
  created: number;
1697
1395
  metadata?: {
1698
1396
  [x: string]: any;
1699
1397
  };
1700
- type: "session.compaction.failed";
1398
+ type: "session.tool.called";
1701
1399
  durable: {
1702
1400
  aggregateID: string;
1703
1401
  seq: number;
@@ -1706,18 +1404,23 @@ export type SessionCompactionFailed = {
1706
1404
  location?: LocationRef;
1707
1405
  data: {
1708
1406
  sessionID: string;
1709
- reason: "auto" | "manual";
1710
- error: SessionStructuredError;
1711
- inputID?: string;
1407
+ assistantMessageID: string;
1408
+ id: string;
1409
+ input: {
1410
+ [x: string]: any;
1411
+ };
1412
+ executed: boolean;
1413
+ state?: SessionMessageProviderState1;
1712
1414
  };
1713
1415
  };
1714
- export type SessionInboxDeliveryChanged = {
1416
+ export type ToolContent1 = ToolTextContent | ToolFileContent1;
1417
+ export type SessionCompactionStarted = {
1715
1418
  id: string;
1716
1419
  created: number;
1717
1420
  metadata?: {
1718
1421
  [x: string]: any;
1719
1422
  };
1720
- type: "session.inbox.delivery.changed";
1423
+ type: "session.compaction.started";
1721
1424
  durable: {
1722
1425
  aggregateID: string;
1723
1426
  seq: number;
@@ -1726,37 +1429,18 @@ export type SessionInboxDeliveryChanged = {
1726
1429
  location?: LocationRef;
1727
1430
  data: {
1728
1431
  sessionID: string;
1729
- inboxID: string;
1730
- delivery: SessionInboxDelivery;
1432
+ reason: "auto" | "manual";
1433
+ recent: string;
1434
+ inputID?: string;
1731
1435
  };
1732
1436
  };
1733
- export type SessionInboxSynthetic = {
1734
- id: string;
1735
- sessionID: string;
1736
- timeCreated: number;
1737
- type: "synthetic";
1738
- payload: SessionInboxSyntheticPayload;
1739
- delivery: SessionInboxDelivery;
1740
- };
1741
- export type SessionInboxCompaction = {
1742
- id: string;
1743
- sessionID: string;
1744
- timeCreated: number;
1745
- type: "compaction";
1746
- payload: SessionInboxCompactionPayload;
1747
- delivery: SessionInboxDelivery;
1748
- };
1749
- export type InstructionEntryInfo = {
1750
- key: InstructionEntryKey;
1751
- value: JsonValue;
1752
- };
1753
- export type SessionShellStarted = {
1437
+ export type SessionCompactionEnded = {
1754
1438
  id: string;
1755
1439
  created: number;
1756
1440
  metadata?: {
1757
1441
  [x: string]: any;
1758
1442
  };
1759
- type: "session.shell.started";
1443
+ type: "session.compaction.ended";
1760
1444
  durable: {
1761
1445
  aggregateID: string;
1762
1446
  seq: number;
@@ -1765,16 +1449,18 @@ export type SessionShellStarted = {
1765
1449
  location?: LocationRef;
1766
1450
  data: {
1767
1451
  sessionID: string;
1768
- shell: ShellInfo;
1452
+ reason: "auto" | "manual";
1453
+ text: string;
1454
+ recent: string;
1769
1455
  };
1770
1456
  };
1771
- export type SessionShellEnded = {
1457
+ export type SessionCompactionFailed = {
1772
1458
  id: string;
1773
1459
  created: number;
1774
1460
  metadata?: {
1775
1461
  [x: string]: any;
1776
1462
  };
1777
- type: "session.shell.ended";
1463
+ type: "session.compaction.failed";
1778
1464
  durable: {
1779
1465
  aggregateID: string;
1780
1466
  seq: number;
@@ -1783,118 +1469,48 @@ export type SessionShellEnded = {
1783
1469
  location?: LocationRef;
1784
1470
  data: {
1785
1471
  sessionID: string;
1786
- shell: ShellInfo;
1787
- output: {
1788
- output: string;
1789
- cursor: number;
1790
- size: number;
1791
- truncated: boolean;
1792
- };
1472
+ reason: "auto" | "manual";
1473
+ error: SessionStructuredError;
1474
+ inputID?: string;
1793
1475
  };
1794
1476
  };
1795
- export type ShellCreated = {
1796
- id: string;
1797
- created: number;
1798
- metadata?: {
1799
- [x: string]: any;
1800
- };
1801
- type: "shell.created";
1802
- location?: LocationRef;
1803
- data: {
1804
- info: ShellInfo;
1805
- };
1477
+ export type ModelCompatibility = {
1478
+ reasoningField?: ModelReasoningField;
1479
+ maxTokensField?: ModelMaxTokensField;
1480
+ requireFinishReason?: boolean;
1806
1481
  };
1807
- export type SessionTextEnded = {
1482
+ export type ModelVariant = {
1808
1483
  id: string;
1809
- created: number;
1810
- metadata?: {
1484
+ settings?: {
1811
1485
  [x: string]: any;
1812
1486
  };
1813
- type: "session.text.ended";
1814
- durable: {
1815
- aggregateID: string;
1816
- seq: number;
1817
- version: 1;
1818
- };
1819
- location?: LocationRef;
1820
- data: {
1821
- sessionID: string;
1822
- assistantMessageID: string;
1823
- ordinal: number;
1824
- text: string;
1825
- state?: SessionMessageProviderState4;
1487
+ headers?: {
1488
+ [x: string]: string;
1826
1489
  };
1827
- };
1828
- export type SessionReasoningStarted = {
1829
- id: string;
1830
- created: number;
1831
- metadata?: {
1490
+ body?: {
1832
1491
  [x: string]: any;
1833
1492
  };
1834
- type: "session.reasoning.started";
1835
- durable: {
1836
- aggregateID: string;
1837
- seq: number;
1838
- version: 1;
1839
- };
1840
- location?: LocationRef;
1841
- data: {
1842
- sessionID: string;
1843
- assistantMessageID: string;
1844
- ordinal: number;
1845
- state?: SessionMessageProviderState5;
1846
- };
1847
1493
  };
1848
- export type SessionReasoningEnded = {
1494
+ export type ProviderInfo = {
1849
1495
  id: string;
1850
- created: number;
1851
- metadata?: {
1496
+ integrationID?: string;
1497
+ name: string;
1498
+ activation: "auto" | "enabled" | "disabled";
1499
+ package: string;
1500
+ settings?: {
1852
1501
  [x: string]: any;
1853
1502
  };
1854
- type: "session.reasoning.ended";
1855
- durable: {
1856
- aggregateID: string;
1857
- seq: number;
1858
- version: 1;
1859
- };
1860
- location?: LocationRef;
1861
- data: {
1862
- sessionID: string;
1863
- assistantMessageID: string;
1864
- ordinal: number;
1865
- text: string;
1866
- state?: SessionMessageProviderState6;
1503
+ headers?: {
1504
+ [x: string]: string;
1867
1505
  };
1868
- };
1869
- export type SessionToolCalled = {
1870
- id: string;
1871
- created: number;
1872
- metadata?: {
1506
+ body?: {
1873
1507
  [x: string]: any;
1874
1508
  };
1875
- type: "session.tool.called";
1876
- durable: {
1877
- aggregateID: string;
1878
- seq: number;
1879
- version: 1;
1880
- };
1881
- location?: LocationRef;
1882
- data: {
1883
- sessionID: string;
1884
- assistantMessageID: string;
1885
- id: string;
1886
- input: {
1887
- [x: string]: any;
1888
- };
1889
- executed: boolean;
1890
- state?: SessionMessageProviderState7;
1891
- };
1892
1509
  };
1893
- export type ToolContent1 = ToolTextContent | ToolFileContent1;
1894
- export type ModelCompatibility = {
1895
- reasoningField?: ModelReasoningField;
1896
- maxTokensField?: ModelMaxTokensField;
1897
- requireFinishReason?: boolean;
1510
+ export type ModelCapabilities = {
1511
+ tools: boolean;
1512
+ input: Array<string>;
1513
+ output: Array<string>;
1898
1514
  };
1899
1515
  export type ModelCost = {
1900
1516
  tier?: {
@@ -1908,66 +1524,6 @@ export type ModelCost = {
1908
1524
  write: MoneyUSDPerMillionTokens;
1909
1525
  };
1910
1526
  };
1911
- export type FormNumberField = {
1912
- key: string;
1913
- title?: string;
1914
- description?: string;
1915
- required?: boolean;
1916
- when?: Array<FormWhen>;
1917
- type: "number";
1918
- minimum?: number | "Infinity" | "-Infinity" | "NaN";
1919
- maximum?: number | "Infinity" | "-Infinity" | "NaN";
1920
- default?: number | "Infinity" | "-Infinity" | "NaN";
1921
- };
1922
- export type FormIntegerField = {
1923
- key: string;
1924
- title?: string;
1925
- description?: string;
1926
- required?: boolean;
1927
- when?: Array<FormWhen>;
1928
- type: "integer";
1929
- minimum?: number | "Infinity" | "-Infinity" | "NaN";
1930
- maximum?: number | "Infinity" | "-Infinity" | "NaN";
1931
- default?: number | "Infinity" | "-Infinity" | "NaN";
1932
- };
1933
- export type FormBooleanField = {
1934
- key: string;
1935
- title?: string;
1936
- description?: string;
1937
- required?: boolean;
1938
- when?: Array<FormWhen>;
1939
- type: "boolean";
1940
- default?: boolean;
1941
- };
1942
- export type FormStringField = {
1943
- key: string;
1944
- title?: string;
1945
- description?: string;
1946
- required?: boolean;
1947
- when?: Array<FormWhen>;
1948
- type: "string";
1949
- format?: "email" | "uri" | "date" | "date-time";
1950
- minLength?: number;
1951
- maxLength?: number;
1952
- pattern?: string;
1953
- placeholder?: string;
1954
- default?: string;
1955
- options?: Array<FormOption>;
1956
- custom?: boolean;
1957
- };
1958
- export type FormMultiselectField = {
1959
- key: string;
1960
- title?: string;
1961
- description?: string;
1962
- required?: boolean;
1963
- when?: Array<FormWhen>;
1964
- type: "multiselect";
1965
- options: Array<FormOption>;
1966
- minItems?: number;
1967
- maxItems?: number;
1968
- custom?: boolean;
1969
- default?: Array<string>;
1970
- };
1971
1527
  export type ConnectionInfo = ConnectionCredentialInfo | ConnectionEnvInfo;
1972
1528
  export type McpServer = {
1973
1529
  name: string;
@@ -2048,134 +1604,325 @@ export type PtyCreated = {
2048
1604
  info: Pty;
2049
1605
  };
2050
1606
  };
2051
- export type PtyUpdated = {
1607
+ export type PtyUpdated = {
1608
+ id: string;
1609
+ created: number;
1610
+ metadata?: {
1611
+ [x: string]: any;
1612
+ };
1613
+ type: "pty.updated";
1614
+ location?: LocationRef;
1615
+ data: {
1616
+ info: Pty;
1617
+ };
1618
+ };
1619
+ export type SessionStatus2 = {
1620
+ id: string;
1621
+ created: number;
1622
+ metadata?: {
1623
+ [x: string]: any;
1624
+ };
1625
+ type: "session.status";
1626
+ location?: LocationRef;
1627
+ data: {
1628
+ sessionID: string;
1629
+ status: SessionStatus;
1630
+ };
1631
+ };
1632
+ export type ReferenceSource = ReferenceLocalSource | ReferenceGitSource;
1633
+ export type WorktreeList = Array<WorktreeDirectory>;
1634
+ export type VcsInfo = {
1635
+ branch: VcsBranch;
1636
+ };
1637
+ export type PermissionRuleset = Array<PermissionRule>;
1638
+ export type SessionStepEnded = {
1639
+ id: string;
1640
+ created: number;
1641
+ metadata?: {
1642
+ [x: string]: any;
1643
+ };
1644
+ type: "session.step.ended";
1645
+ durable: {
1646
+ aggregateID: string;
1647
+ seq: number;
1648
+ version: 1;
1649
+ };
1650
+ location?: LocationRef;
1651
+ data: {
1652
+ sessionID: string;
1653
+ assistantMessageID: string;
1654
+ finish: "stop" | "length" | "tool-calls" | "content-filter" | "error" | "unknown";
1655
+ cost: MoneyUSD;
1656
+ tokens: TokenUsageInfo;
1657
+ snapshot?: string;
1658
+ files?: Array<string>;
1659
+ };
1660
+ };
1661
+ export type SessionUsageRecorded = {
1662
+ id: string;
1663
+ created: number;
1664
+ metadata?: {
1665
+ [x: string]: any;
1666
+ };
1667
+ type: "session.usage.recorded";
1668
+ durable: {
1669
+ aggregateID: string;
1670
+ seq: number;
1671
+ version: 1;
1672
+ };
1673
+ location?: LocationRef;
1674
+ data: {
1675
+ sessionID: string;
1676
+ source: "title" | "compaction";
1677
+ cost: MoneyUSD;
1678
+ tokens: TokenUsageInfo;
1679
+ };
1680
+ };
1681
+ export type SessionUsageUpdated = {
1682
+ id: string;
1683
+ created: number;
1684
+ metadata?: {
1685
+ [x: string]: any;
1686
+ };
1687
+ type: "session.usage.updated";
1688
+ location?: LocationRef;
1689
+ data: {
1690
+ sessionID: string;
1691
+ cost: MoneyUSD;
1692
+ tokens: TokenUsageInfo;
1693
+ };
1694
+ };
1695
+ export type SessionStepFailed = {
1696
+ id: string;
1697
+ created: number;
1698
+ metadata?: {
1699
+ [x: string]: any;
1700
+ };
1701
+ type: "session.step.failed";
1702
+ durable: {
1703
+ aggregateID: string;
1704
+ seq: number;
1705
+ version: 1;
1706
+ };
1707
+ location?: LocationRef;
1708
+ data: {
1709
+ sessionID: string;
1710
+ assistantMessageID: string;
1711
+ error: SessionStructuredError;
1712
+ cost?: MoneyUSD;
1713
+ tokens?: TokenUsageInfo;
1714
+ snapshot?: string;
1715
+ files?: Array<string>;
1716
+ };
1717
+ };
1718
+ export type SessionInboxMove = {
1719
+ id: string;
1720
+ sessionID: string;
1721
+ timeCreated: number;
1722
+ type: "move";
1723
+ payload: SessionInboxMovePayload;
1724
+ delivery: SessionInboxDelivery;
1725
+ };
1726
+ export type SessionRevert = {
1727
+ messageID: string;
1728
+ partID?: string;
1729
+ snapshot?: string;
1730
+ files?: Array<FileDiffInfo>;
1731
+ };
1732
+ export type SessionMessageAgentSelected = {
1733
+ id: string;
1734
+ metadata?: {
1735
+ [x: string]: JsonValue;
1736
+ };
1737
+ time: {
1738
+ created: number;
1739
+ };
1740
+ type: "agent-switched";
1741
+ agent: string;
1742
+ previous?: string;
1743
+ };
1744
+ export type SessionMessageModelSelected = {
1745
+ id: string;
1746
+ metadata?: {
1747
+ [x: string]: JsonValue;
1748
+ };
1749
+ time: {
1750
+ created: number;
1751
+ };
1752
+ type: "model-switched";
1753
+ model: ModelRef;
1754
+ previous?: ModelRef;
1755
+ };
1756
+ export type SessionMessageLocationSwitched = {
1757
+ id: string;
1758
+ metadata?: {
1759
+ [x: string]: JsonValue;
1760
+ };
1761
+ time: {
1762
+ created: number;
1763
+ };
1764
+ type: "location-switched";
1765
+ location: LocationRef;
1766
+ projectID?: string;
1767
+ subpath?: string;
1768
+ previous?: {
1769
+ location: LocationRef;
1770
+ projectID?: string;
1771
+ subpath?: string;
1772
+ };
1773
+ };
1774
+ export type SessionMessageSynthetic = {
1775
+ id: string;
1776
+ metadata?: {
1777
+ [x: string]: JsonValue;
1778
+ };
1779
+ time: {
1780
+ created: number;
1781
+ };
1782
+ text: string;
1783
+ description?: string;
1784
+ type: "synthetic";
1785
+ };
1786
+ export type SessionMessageSystem = {
1787
+ id: string;
1788
+ metadata?: {
1789
+ [x: string]: JsonValue;
1790
+ };
1791
+ time: {
1792
+ created: number;
1793
+ };
1794
+ type: "system";
1795
+ text: string;
1796
+ description?: string;
1797
+ };
1798
+ export type SessionMessageSkill = {
1799
+ id: string;
1800
+ metadata?: {
1801
+ [x: string]: JsonValue;
1802
+ };
1803
+ time: {
1804
+ created: number;
1805
+ };
1806
+ type: "skill";
1807
+ skill: string;
1808
+ name: string;
1809
+ text: string;
1810
+ };
1811
+ export type SessionMessageShell = {
1812
+ id: string;
1813
+ metadata?: {
1814
+ [x: string]: JsonValue;
1815
+ };
1816
+ time: {
1817
+ created: number;
1818
+ completed?: number;
1819
+ };
1820
+ type: "shell";
1821
+ shellID: string;
1822
+ command: string;
1823
+ status: "running" | "exited" | "timeout" | "killed";
1824
+ exit?: number | ("Infinity" | "-Infinity" | "NaN");
1825
+ output?: {
1826
+ output: string;
1827
+ cursor: number;
1828
+ size: number;
1829
+ truncated: boolean;
1830
+ };
1831
+ };
1832
+ export type SessionMessageCompactionRunning = {
1833
+ type: "compaction";
1834
+ id: string;
1835
+ metadata?: {
1836
+ [x: string]: JsonValue;
1837
+ };
1838
+ time: {
1839
+ created: number;
1840
+ };
1841
+ status: "running";
1842
+ reason: "auto" | "manual";
1843
+ summary: string;
1844
+ recent: string;
1845
+ };
1846
+ export type SessionMessageCompactionCompleted = {
1847
+ type: "compaction";
1848
+ id: string;
1849
+ metadata?: {
1850
+ [x: string]: JsonValue;
1851
+ };
1852
+ time: {
1853
+ created: number;
1854
+ };
1855
+ status: "completed";
1856
+ reason: "auto" | "manual";
1857
+ summary: string;
1858
+ recent: string;
1859
+ };
1860
+ export type SessionMessageCompactionFailed = {
1861
+ type: "compaction";
2052
1862
  id: string;
2053
- created: number;
2054
1863
  metadata?: {
2055
- [x: string]: any;
1864
+ [x: string]: JsonValue;
2056
1865
  };
2057
- type: "pty.updated";
2058
- location?: LocationRef;
2059
- data: {
2060
- info: Pty;
1866
+ time: {
1867
+ created: number;
2061
1868
  };
1869
+ status: "failed";
1870
+ reason: "auto" | "manual";
1871
+ error: SessionStructuredError;
2062
1872
  };
2063
- export type FormStringField1 = {
2064
- key: string;
2065
- title?: string;
2066
- description?: string;
2067
- required?: boolean;
2068
- when?: Array<FormWhen1>;
2069
- type: "string";
2070
- format?: "email" | "uri" | "date" | "date-time";
2071
- minLength?: number;
2072
- maxLength?: number;
2073
- pattern?: string;
2074
- placeholder?: string;
2075
- default?: string;
2076
- options?: Array<FormOption>;
2077
- custom?: boolean;
2078
- };
2079
- export type FormNumberField1 = {
2080
- key: string;
2081
- title?: string;
2082
- description?: string;
2083
- required?: boolean;
2084
- when?: Array<FormWhen1>;
2085
- type: "number";
2086
- minimum?: number;
2087
- maximum?: number;
2088
- default?: number;
1873
+ export type SessionMessageAssistantText = {
1874
+ type: "text";
1875
+ text: string;
1876
+ state?: SessionMessageProviderState;
2089
1877
  };
2090
- export type FormIntegerField1 = {
2091
- key: string;
2092
- title?: string;
2093
- description?: string;
2094
- required?: boolean;
2095
- when?: Array<FormWhen1>;
2096
- type: "integer";
2097
- minimum?: number;
2098
- maximum?: number;
2099
- default?: number;
1878
+ export type SessionMessageAssistantReasoning = {
1879
+ type: "reasoning";
1880
+ text: string;
1881
+ state?: SessionMessageProviderState;
1882
+ time?: {
1883
+ created: number;
1884
+ completed?: number;
1885
+ };
2100
1886
  };
2101
- export type FormBooleanField1 = {
2102
- key: string;
2103
- title?: string;
2104
- description?: string;
2105
- required?: boolean;
2106
- when?: Array<FormWhen1>;
2107
- type: "boolean";
2108
- default?: boolean;
1887
+ export type SessionInboxSynthetic = {
1888
+ id: string;
1889
+ sessionID: string;
1890
+ timeCreated: number;
1891
+ type: "synthetic";
1892
+ payload: SessionInboxSyntheticPayload;
1893
+ delivery: SessionInboxDelivery;
2109
1894
  };
2110
- export type FormMultiselectField1 = {
1895
+ export type FormWhen = {
2111
1896
  key: string;
2112
- title?: string;
2113
- description?: string;
2114
- required?: boolean;
2115
- when?: Array<FormWhen1>;
2116
- type: "multiselect";
2117
- options: Array<FormOption>;
2118
- minItems?: number;
2119
- maxItems?: number;
2120
- custom?: boolean;
2121
- default?: Array<string>;
1897
+ op: "eq" | "neq";
1898
+ value: string | (number | ("Infinity" | "-Infinity" | "NaN")) | boolean;
2122
1899
  };
2123
- export type SessionStatus2 = {
1900
+ export type ToolContent = ToolTextContent | ToolFileContent;
1901
+ export type SessionShellStarted = {
2124
1902
  id: string;
2125
1903
  created: number;
2126
1904
  metadata?: {
2127
1905
  [x: string]: any;
2128
1906
  };
2129
- type: "session.status";
1907
+ type: "session.shell.started";
1908
+ durable: {
1909
+ aggregateID: string;
1910
+ seq: number;
1911
+ version: 1;
1912
+ };
2130
1913
  location?: LocationRef;
2131
1914
  data: {
2132
1915
  sessionID: string;
2133
- status: SessionStatus;
2134
- };
2135
- };
2136
- export type ReferenceSource = ReferenceLocalSource | ReferenceGitSource;
2137
- export type WorktreeList = Array<WorktreeDirectory>;
2138
- export type VcsInfo = {
2139
- branch: VcsBranch;
2140
- };
2141
- export type PermissionRuleset = Array<PermissionRule>;
2142
- export type SessionInboxMove = {
2143
- id: string;
2144
- sessionID: string;
2145
- timeCreated: number;
2146
- type: "move";
2147
- payload: SessionInboxMovePayload;
2148
- delivery: SessionInboxDelivery;
2149
- };
2150
- export type SessionInfo = {
2151
- id: string;
2152
- parentID?: string;
2153
- fork?: {
2154
- sessionID: string;
2155
- boundary: SessionForkBoundary;
2156
- };
2157
- projectID: string;
2158
- agent?: string;
2159
- model?: ModelRef;
2160
- cost: MoneyUSD;
2161
- tokens: TokenUsageInfo;
2162
- time: {
2163
- created: number;
2164
- updated: number;
2165
- archived?: number;
1916
+ shell: ShellInfo;
2166
1917
  };
2167
- title?: string;
2168
- location: LocationRef;
2169
- subpath?: string;
2170
- revert?: SessionRevert;
2171
1918
  };
2172
- export type SessionRevertStaged = {
1919
+ export type SessionShellEnded = {
2173
1920
  id: string;
2174
1921
  created: number;
2175
1922
  metadata?: {
2176
1923
  [x: string]: any;
2177
1924
  };
2178
- type: "session.revert.staged";
1925
+ type: "session.shell.ended";
2179
1926
  durable: {
2180
1927
  aggregateID: string;
2181
1928
  seq: number;
@@ -2184,63 +1931,27 @@ export type SessionRevertStaged = {
2184
1931
  location?: LocationRef;
2185
1932
  data: {
2186
1933
  sessionID: string;
2187
- revert: SessionRevert;
1934
+ shell: ShellInfo;
1935
+ output: {
1936
+ output: string;
1937
+ cursor: number;
1938
+ size: number;
1939
+ truncated: boolean;
1940
+ };
2188
1941
  };
2189
1942
  };
2190
- export type SessionMessageUser = {
1943
+ export type ShellCreated = {
2191
1944
  id: string;
2192
- metadata?: {
2193
- [x: string]: JsonValue;
2194
- };
2195
- time: {
2196
- created: number;
2197
- };
2198
- text: string;
2199
- files?: Array<PromptFileAttachment>;
2200
- agents?: Array<PromptAgentAttachment>;
2201
- skills?: Array<PromptSkillAttachment>;
2202
- type: "user";
2203
- };
2204
- export type SessionInboxUserPayload = {
2205
- text: string;
2206
- files?: Array<PromptFileAttachment>;
2207
- agents?: Array<PromptAgentAttachment>;
2208
- skills?: Array<PromptSkillAttachment>;
2209
- metadata?: {
2210
- [x: string]: JsonValue;
2211
- };
2212
- };
2213
- export type SessionInboxUserPayload1 = {
2214
- text: string;
2215
- files?: Array<PromptFileAttachment>;
2216
- agents?: Array<PromptAgentAttachment>;
2217
- skills?: Array<PromptSkillAttachment>;
1945
+ created: number;
2218
1946
  metadata?: {
2219
1947
  [x: string]: any;
2220
1948
  };
2221
- };
2222
- export type SessionMessageToolStateCompleted = {
2223
- status: "completed";
2224
- input: {
2225
- [x: string]: JsonValue;
2226
- };
2227
- content: [ToolContent, ...Array<ToolContent>];
2228
- metadata?: {
2229
- [x: string]: JsonValue;
2230
- };
2231
- };
2232
- export type SessionMessageToolStateError = {
2233
- status: "error";
2234
- input: {
2235
- [x: string]: JsonValue;
2236
- };
2237
- error: SessionStructuredError;
2238
- content?: [ToolContent, ...Array<ToolContent>];
2239
- metadata?: {
2240
- [x: string]: JsonValue;
1949
+ type: "shell.created";
1950
+ location?: LocationRef;
1951
+ data: {
1952
+ info: ShellInfo;
2241
1953
  };
2242
1954
  };
2243
- export type SessionMessageCompaction = SessionMessageCompactionRunning | SessionMessageCompactionCompleted | SessionMessageCompactionFailed;
2244
1955
  export type SessionToolSuccess = {
2245
1956
  id: string;
2246
1957
  created: number;
@@ -2263,7 +1974,7 @@ export type SessionToolSuccess = {
2263
1974
  [x: string]: JsonValue;
2264
1975
  };
2265
1976
  executed: boolean;
2266
- resultState?: SessionMessageProviderState8;
1977
+ resultState?: SessionMessageProviderState1;
2267
1978
  };
2268
1979
  };
2269
1980
  export type SessionToolFailed = {
@@ -2289,7 +2000,7 @@ export type SessionToolFailed = {
2289
2000
  [x: string]: JsonValue;
2290
2001
  };
2291
2002
  executed: boolean;
2292
- resultState?: SessionMessageProviderState9;
2003
+ resultState?: SessionMessageProviderState1;
2293
2004
  };
2294
2005
  };
2295
2006
  export type ModelInfo = {
@@ -2323,7 +2034,6 @@ export type ModelInfo = {
2323
2034
  output: number;
2324
2035
  };
2325
2036
  };
2326
- export type FormField = FormStringField | FormNumberField | FormIntegerField | FormBooleanField | FormMultiselectField | FormExternalField;
2327
2037
  export type FormState = {
2328
2038
  status: "pending";
2329
2039
  } | {
@@ -2346,7 +2056,66 @@ export type FormReplied = {
2346
2056
  answer: FormAnswer;
2347
2057
  };
2348
2058
  };
2349
- export type FormField1 = FormStringField1 | FormNumberField1 | FormIntegerField1 | FormBooleanField1 | FormMultiselectField1 | FormExternalField;
2059
+ export type FormStringField1 = {
2060
+ key: string;
2061
+ title?: string;
2062
+ description?: string;
2063
+ required?: boolean;
2064
+ when?: Array<FormWhen1>;
2065
+ type: "string";
2066
+ format?: "email" | "uri" | "date" | "date-time";
2067
+ minLength?: number;
2068
+ maxLength?: number;
2069
+ pattern?: string;
2070
+ placeholder?: string;
2071
+ default?: string;
2072
+ options?: Array<FormOption>;
2073
+ custom?: boolean;
2074
+ };
2075
+ export type FormNumberField1 = {
2076
+ key: string;
2077
+ title?: string;
2078
+ description?: string;
2079
+ required?: boolean;
2080
+ when?: Array<FormWhen1>;
2081
+ type: "number";
2082
+ minimum?: number;
2083
+ maximum?: number;
2084
+ default?: number;
2085
+ };
2086
+ export type FormIntegerField1 = {
2087
+ key: string;
2088
+ title?: string;
2089
+ description?: string;
2090
+ required?: boolean;
2091
+ when?: Array<FormWhen1>;
2092
+ type: "integer";
2093
+ minimum?: number;
2094
+ maximum?: number;
2095
+ default?: number;
2096
+ };
2097
+ export type FormBooleanField1 = {
2098
+ key: string;
2099
+ title?: string;
2100
+ description?: string;
2101
+ required?: boolean;
2102
+ when?: Array<FormWhen1>;
2103
+ type: "boolean";
2104
+ default?: boolean;
2105
+ };
2106
+ export type FormMultiselectField1 = {
2107
+ key: string;
2108
+ title?: string;
2109
+ description?: string;
2110
+ required?: boolean;
2111
+ when?: Array<FormWhen1>;
2112
+ type: "multiselect";
2113
+ options: Array<FormOption>;
2114
+ minItems?: number;
2115
+ maxItems?: number;
2116
+ custom?: boolean;
2117
+ default?: Array<string>;
2118
+ };
2350
2119
  export type ReferenceInfo = {
2351
2120
  name: string;
2352
2121
  path: string;
@@ -2640,6 +2409,161 @@ export type ConfigEntry = {
2640
2409
  type: "claude";
2641
2410
  path: string;
2642
2411
  };
2412
+ export type SessionInfo = {
2413
+ id: string;
2414
+ parentID?: string;
2415
+ fork?: {
2416
+ sessionID: string;
2417
+ boundary: SessionForkBoundary;
2418
+ };
2419
+ projectID: string;
2420
+ agent?: string;
2421
+ model?: ModelRef;
2422
+ cost: MoneyUSD;
2423
+ tokens: TokenUsageInfo;
2424
+ time: {
2425
+ created: number;
2426
+ updated: number;
2427
+ archived?: number;
2428
+ };
2429
+ title?: string;
2430
+ location: LocationRef;
2431
+ subpath?: string;
2432
+ revert?: SessionRevert;
2433
+ };
2434
+ export type SessionRevertStaged = {
2435
+ id: string;
2436
+ created: number;
2437
+ metadata?: {
2438
+ [x: string]: any;
2439
+ };
2440
+ type: "session.revert.staged";
2441
+ durable: {
2442
+ aggregateID: string;
2443
+ seq: number;
2444
+ version: 1;
2445
+ };
2446
+ location?: LocationRef;
2447
+ data: {
2448
+ sessionID: string;
2449
+ revert: SessionRevert;
2450
+ };
2451
+ };
2452
+ export type SessionMessageCompaction = SessionMessageCompactionRunning | SessionMessageCompactionCompleted | SessionMessageCompactionFailed;
2453
+ export type SessionMessageUser = {
2454
+ id: string;
2455
+ metadata?: {
2456
+ [x: string]: JsonValue;
2457
+ };
2458
+ time: {
2459
+ created: number;
2460
+ };
2461
+ text: string;
2462
+ files?: Array<PromptFileAttachment>;
2463
+ agents?: Array<PromptAgentAttachment>;
2464
+ skills?: Array<PromptSkillAttachment>;
2465
+ type: "user";
2466
+ };
2467
+ export type SessionInboxUserPayload = {
2468
+ text: string;
2469
+ files?: Array<PromptFileAttachment>;
2470
+ agents?: Array<PromptAgentAttachment>;
2471
+ skills?: Array<PromptSkillAttachment>;
2472
+ metadata?: {
2473
+ [x: string]: JsonValue;
2474
+ };
2475
+ };
2476
+ export type SessionInboxUserPayload1 = {
2477
+ text: string;
2478
+ files?: Array<PromptFileAttachment>;
2479
+ agents?: Array<PromptAgentAttachment>;
2480
+ skills?: Array<PromptSkillAttachment>;
2481
+ metadata?: {
2482
+ [x: string]: any;
2483
+ };
2484
+ };
2485
+ export type IntegrationAttemptStatus = {
2486
+ status: "pending";
2487
+ time: {
2488
+ created: number | ("Infinity" | "-Infinity" | "NaN");
2489
+ expires: number | ("Infinity" | "-Infinity" | "NaN");
2490
+ };
2491
+ } | {
2492
+ status: "complete";
2493
+ time: {
2494
+ created: number | ("Infinity" | "-Infinity" | "NaN");
2495
+ expires: number | ("Infinity" | "-Infinity" | "NaN");
2496
+ };
2497
+ } | {
2498
+ status: "failed";
2499
+ message: string;
2500
+ time: {
2501
+ created: number | ("Infinity" | "-Infinity" | "NaN");
2502
+ expires: number | ("Infinity" | "-Infinity" | "NaN");
2503
+ };
2504
+ } | {
2505
+ status: "expired";
2506
+ time: {
2507
+ created: number | ("Infinity" | "-Infinity" | "NaN");
2508
+ expires: number | ("Infinity" | "-Infinity" | "NaN");
2509
+ };
2510
+ };
2511
+ export type IntegrationCommandAttempt = {
2512
+ attemptID: string;
2513
+ time: {
2514
+ created: number | ("Infinity" | "-Infinity" | "NaN");
2515
+ expires: number | ("Infinity" | "-Infinity" | "NaN");
2516
+ };
2517
+ };
2518
+ export type IntegrationCommandAttemptStatus = {
2519
+ status: "pending";
2520
+ message?: string;
2521
+ time: {
2522
+ created: number | ("Infinity" | "-Infinity" | "NaN");
2523
+ expires: number | ("Infinity" | "-Infinity" | "NaN");
2524
+ };
2525
+ } | {
2526
+ status: "complete";
2527
+ time: {
2528
+ created: number | ("Infinity" | "-Infinity" | "NaN");
2529
+ expires: number | ("Infinity" | "-Infinity" | "NaN");
2530
+ };
2531
+ } | {
2532
+ status: "failed";
2533
+ message: string;
2534
+ time: {
2535
+ created: number | ("Infinity" | "-Infinity" | "NaN");
2536
+ expires: number | ("Infinity" | "-Infinity" | "NaN");
2537
+ };
2538
+ } | {
2539
+ status: "expired";
2540
+ time: {
2541
+ created: number | ("Infinity" | "-Infinity" | "NaN");
2542
+ expires: number | ("Infinity" | "-Infinity" | "NaN");
2543
+ };
2544
+ };
2545
+ export type SessionMessageToolStateCompleted = {
2546
+ status: "completed";
2547
+ input: {
2548
+ [x: string]: JsonValue;
2549
+ };
2550
+ content: [ToolContent, ...Array<ToolContent>];
2551
+ metadata?: {
2552
+ [x: string]: JsonValue;
2553
+ };
2554
+ };
2555
+ export type SessionMessageToolStateError = {
2556
+ status: "error";
2557
+ input: {
2558
+ [x: string]: JsonValue;
2559
+ };
2560
+ error: SessionStructuredError;
2561
+ content?: [ToolContent, ...Array<ToolContent>];
2562
+ metadata?: {
2563
+ [x: string]: JsonValue;
2564
+ };
2565
+ };
2566
+ export type FormField1 = FormStringField1 | FormNumberField1 | FormIntegerField1 | FormBooleanField1 | FormMultiselectField1 | FormExternalField;
2643
2567
  export type SessionsResponse = {
2644
2568
  data: Array<SessionInfo>;
2645
2569
  cursor: {
@@ -2672,6 +2596,66 @@ export type SessionInboxItem = {
2672
2596
  payload: SessionInboxMovePayload;
2673
2597
  delivery: SessionInboxDelivery;
2674
2598
  };
2599
+ export type FormStringField = {
2600
+ key: string;
2601
+ title?: string;
2602
+ description?: string;
2603
+ required?: boolean;
2604
+ when?: Array<FormWhen>;
2605
+ type: "string";
2606
+ format?: "email" | "uri" | "date" | "date-time";
2607
+ minLength?: number;
2608
+ maxLength?: number;
2609
+ pattern?: string;
2610
+ placeholder?: string;
2611
+ default?: string;
2612
+ options?: Array<FormOption>;
2613
+ custom?: boolean;
2614
+ };
2615
+ export type FormNumberField = {
2616
+ key: string;
2617
+ title?: string;
2618
+ description?: string;
2619
+ required?: boolean;
2620
+ when?: Array<FormWhen>;
2621
+ type: "number";
2622
+ minimum?: number | ("Infinity" | "-Infinity" | "NaN");
2623
+ maximum?: number | ("Infinity" | "-Infinity" | "NaN");
2624
+ default?: number | ("Infinity" | "-Infinity" | "NaN");
2625
+ };
2626
+ export type FormIntegerField = {
2627
+ key: string;
2628
+ title?: string;
2629
+ description?: string;
2630
+ required?: boolean;
2631
+ when?: Array<FormWhen>;
2632
+ type: "integer";
2633
+ minimum?: number | ("Infinity" | "-Infinity" | "NaN");
2634
+ maximum?: number | ("Infinity" | "-Infinity" | "NaN");
2635
+ default?: number | ("Infinity" | "-Infinity" | "NaN");
2636
+ };
2637
+ export type FormBooleanField = {
2638
+ key: string;
2639
+ title?: string;
2640
+ description?: string;
2641
+ required?: boolean;
2642
+ when?: Array<FormWhen>;
2643
+ type: "boolean";
2644
+ default?: boolean;
2645
+ };
2646
+ export type FormMultiselectField = {
2647
+ key: string;
2648
+ title?: string;
2649
+ description?: string;
2650
+ required?: boolean;
2651
+ when?: Array<FormWhen>;
2652
+ type: "multiselect";
2653
+ options: Array<FormOption>;
2654
+ minItems?: number;
2655
+ maxItems?: number;
2656
+ custom?: boolean;
2657
+ default?: Array<string>;
2658
+ };
2675
2659
  export type SessionMessageAssistantTool = {
2676
2660
  type: "tool";
2677
2661
  id: string;
@@ -2686,8 +2670,7 @@ export type SessionMessageAssistantTool = {
2686
2670
  completed?: number;
2687
2671
  };
2688
2672
  };
2689
- export type FormFields = [FormField, ...Array<FormField>];
2690
- export type FormFields3 = [FormField1, ...Array<FormField1>];
2673
+ export type FormFields2 = [FormField1, ...Array<FormField1>];
2691
2674
  export type SessionInboxInfo = SessionInboxUser | SessionInboxSynthetic | SessionInboxCompaction | SessionInboxMove;
2692
2675
  export type SessionInboxEnqueued = {
2693
2676
  id: string;
@@ -2708,6 +2691,7 @@ export type SessionInboxEnqueued = {
2708
2691
  item: SessionInboxItem;
2709
2692
  };
2710
2693
  };
2694
+ export type FormField = FormStringField | FormNumberField | FormIntegerField | FormBooleanField | FormMultiselectField | FormExternalField;
2711
2695
  export type SessionMessageAssistant = {
2712
2696
  id: string;
2713
2697
  metadata?: {
@@ -2732,34 +2716,16 @@ export type SessionMessageAssistant = {
2732
2716
  error?: SessionStructuredError;
2733
2717
  retry?: SessionMessageAssistantRetry;
2734
2718
  };
2735
- export type IntegrationOAuthMethod = {
2736
- id: string;
2737
- type: "oauth";
2738
- label: string;
2739
- form?: FormFields;
2740
- };
2741
- export type IntegrationKeyMethod = {
2742
- type: "key";
2743
- label?: string;
2744
- form?: FormFields;
2745
- };
2746
- export type FormInfo = {
2747
- id: string;
2748
- sessionID: string;
2749
- title: string;
2750
- metadata?: FormMetadata;
2751
- fields: FormFields;
2752
- };
2753
2719
  export type FormInfo1 = {
2754
2720
  id: string;
2755
2721
  sessionID: string;
2756
2722
  title: string;
2757
2723
  metadata?: FormMetadata1;
2758
- fields: FormFields3;
2724
+ fields: FormFields2;
2759
2725
  };
2760
2726
  export type SessionEventDurable = SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | 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;
2727
+ export type FormFields = [FormField, ...Array<FormField>];
2761
2728
  export type SessionMessageInfo = SessionMessageAgentSelected | SessionMessageModelSelected | SessionMessageLocationSwitched | SessionMessageUser | SessionMessageSynthetic | SessionMessageSystem | SessionMessageSkill | SessionMessageShell | SessionMessageAssistant | SessionMessageCompaction;
2762
- export type IntegrationMethod = IntegrationOAuthMethod | IntegrationCommandMethod | IntegrationKeyMethod | IntegrationEnvMethod;
2763
2729
  export type FormCreated = {
2764
2730
  id: string;
2765
2731
  created: number;
@@ -2773,6 +2739,24 @@ export type FormCreated = {
2773
2739
  };
2774
2740
  };
2775
2741
  export type SessionLogItem = SessionEventDurable | EventLogSynced;
2742
+ export type IntegrationOAuthMethod = {
2743
+ id: string;
2744
+ type: "oauth";
2745
+ label: string;
2746
+ form?: FormFields;
2747
+ };
2748
+ export type IntegrationKeyMethod = {
2749
+ type: "key";
2750
+ label?: string;
2751
+ form?: FormFields;
2752
+ };
2753
+ export type FormInfo = {
2754
+ id: string;
2755
+ sessionID: string;
2756
+ title: string;
2757
+ metadata?: FormMetadata;
2758
+ fields: FormFields;
2759
+ };
2776
2760
  export type SessionTransferData = {
2777
2761
  info: SessionInfo;
2778
2762
  messages: Array<SessionMessageInfo>;
@@ -2784,13 +2768,14 @@ export type SessionMessagesResponse = {
2784
2768
  next?: string | null;
2785
2769
  };
2786
2770
  };
2771
+ export type V2Event = ModelsDevRefreshed | IntegrationUpdated | IntegrationConnectionUpdated | CatalogUpdated | AgentUpdated | SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | 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 | SessionStatus2 | SessionIdle | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | InstallationUpdated | InstallationUpdateAvailable | VcsBranchUpdated | McpStatusChanged | McpResourcesChanged | V2EventServerConnected;
2772
+ export type IntegrationMethod = IntegrationOAuthMethod | IntegrationCommandMethod | IntegrationKeyMethod | IntegrationEnvMethod;
2787
2773
  export type IntegrationInfo = {
2788
2774
  id: string;
2789
2775
  name: string;
2790
2776
  methods: Array<IntegrationMethod>;
2791
2777
  connections: Array<ConnectionInfo>;
2792
2778
  };
2793
- export type V2Event = ModelsDevRefreshed | IntegrationUpdated | IntegrationConnectionUpdated | CatalogUpdated | AgentUpdated | SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | 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 | SessionStatus2 | SessionIdle | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | InstallationUpdated | InstallationUpdateAvailable | VcsBranchUpdated | McpStatusChanged | McpResourcesChanged | V2EventServerConnected;
2794
2779
  export type UnauthorizedError = {
2795
2780
  readonly _tag: "UnauthorizedError";
2796
2781
  readonly message: string;
@@ -5495,6 +5480,17 @@ export type SessionMessageInput = {
5495
5480
  export type SessionMessageOutput = {
5496
5481
  data: SessionMessageInfo;
5497
5482
  }["data"];
5483
+ export type SessionEnvironmentInput = {
5484
+ readonly sessionID: {
5485
+ readonly sessionID: string;
5486
+ }["sessionID"];
5487
+ readonly variables: {
5488
+ readonly variables: {
5489
+ readonly [x: string]: string;
5490
+ };
5491
+ }["variables"];
5492
+ };
5493
+ export type SessionEnvironmentOutput = void;
5498
5494
  export type MessageListInput = {
5499
5495
  readonly sessionID: {
5500
5496
  readonly sessionID: string;
@@ -5760,8 +5756,8 @@ export type IntegrationOauthConnectOutput = {
5760
5756
  instructions: string;
5761
5757
  mode: "auto" | "code";
5762
5758
  time: {
5763
- created: number | "Infinity" | "-Infinity" | "NaN";
5764
- expires: number | "Infinity" | "-Infinity" | "NaN";
5759
+ created: number | ("Infinity" | "-Infinity" | "NaN");
5760
+ expires: number | ("Infinity" | "-Infinity" | "NaN");
5765
5761
  };
5766
5762
  };
5767
5763
  };
@@ -6115,7 +6111,7 @@ export type FormCreateInput = {
6115
6111
  readonly when?: ReadonlyArray<{
6116
6112
  readonly key: string;
6117
6113
  readonly op: "eq" | "neq";
6118
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6114
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6119
6115
  }>;
6120
6116
  readonly type: "string";
6121
6117
  readonly format?: "email" | "uri" | "date" | "date-time";
@@ -6138,12 +6134,12 @@ export type FormCreateInput = {
6138
6134
  readonly when?: ReadonlyArray<{
6139
6135
  readonly key: string;
6140
6136
  readonly op: "eq" | "neq";
6141
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6137
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6142
6138
  }>;
6143
6139
  readonly type: "number";
6144
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6145
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6146
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6140
+ readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6141
+ readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6142
+ readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
6147
6143
  } | {
6148
6144
  readonly key: string;
6149
6145
  readonly title?: string;
@@ -6152,12 +6148,12 @@ export type FormCreateInput = {
6152
6148
  readonly when?: ReadonlyArray<{
6153
6149
  readonly key: string;
6154
6150
  readonly op: "eq" | "neq";
6155
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6151
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6156
6152
  }>;
6157
6153
  readonly type: "integer";
6158
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6159
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6160
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6154
+ readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6155
+ readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6156
+ readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
6161
6157
  } | {
6162
6158
  readonly key: string;
6163
6159
  readonly title?: string;
@@ -6166,7 +6162,7 @@ export type FormCreateInput = {
6166
6162
  readonly when?: ReadonlyArray<{
6167
6163
  readonly key: string;
6168
6164
  readonly op: "eq" | "neq";
6169
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6165
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6170
6166
  }>;
6171
6167
  readonly type: "boolean";
6172
6168
  readonly default?: boolean;
@@ -6178,7 +6174,7 @@ export type FormCreateInput = {
6178
6174
  readonly when?: ReadonlyArray<{
6179
6175
  readonly key: string;
6180
6176
  readonly op: "eq" | "neq";
6181
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6177
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6182
6178
  }>;
6183
6179
  readonly type: "multiselect";
6184
6180
  readonly options: ReadonlyArray<{
@@ -6205,7 +6201,7 @@ export type FormCreateInput = {
6205
6201
  readonly when?: ReadonlyArray<{
6206
6202
  readonly key: string;
6207
6203
  readonly op: "eq" | "neq";
6208
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6204
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6209
6205
  }>;
6210
6206
  readonly type: "string";
6211
6207
  readonly format?: "email" | "uri" | "date" | "date-time";
@@ -6228,12 +6224,12 @@ export type FormCreateInput = {
6228
6224
  readonly when?: ReadonlyArray<{
6229
6225
  readonly key: string;
6230
6226
  readonly op: "eq" | "neq";
6231
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6227
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6232
6228
  }>;
6233
6229
  readonly type: "number";
6234
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6235
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6236
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6230
+ readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6231
+ readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6232
+ readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
6237
6233
  } | {
6238
6234
  readonly key: string;
6239
6235
  readonly title?: string;
@@ -6242,12 +6238,12 @@ export type FormCreateInput = {
6242
6238
  readonly when?: ReadonlyArray<{
6243
6239
  readonly key: string;
6244
6240
  readonly op: "eq" | "neq";
6245
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6241
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6246
6242
  }>;
6247
6243
  readonly type: "integer";
6248
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6249
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6250
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6244
+ readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6245
+ readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6246
+ readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
6251
6247
  } | {
6252
6248
  readonly key: string;
6253
6249
  readonly title?: string;
@@ -6256,7 +6252,7 @@ export type FormCreateInput = {
6256
6252
  readonly when?: ReadonlyArray<{
6257
6253
  readonly key: string;
6258
6254
  readonly op: "eq" | "neq";
6259
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6255
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6260
6256
  }>;
6261
6257
  readonly type: "boolean";
6262
6258
  readonly default?: boolean;
@@ -6268,7 +6264,7 @@ export type FormCreateInput = {
6268
6264
  readonly when?: ReadonlyArray<{
6269
6265
  readonly key: string;
6270
6266
  readonly op: "eq" | "neq";
6271
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6267
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6272
6268
  }>;
6273
6269
  readonly type: "multiselect";
6274
6270
  readonly options: ReadonlyArray<{
@@ -6304,7 +6300,7 @@ export type FormCreateInput = {
6304
6300
  readonly when?: ReadonlyArray<{
6305
6301
  readonly key: string;
6306
6302
  readonly op: "eq" | "neq";
6307
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6303
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6308
6304
  }>;
6309
6305
  readonly type: "string";
6310
6306
  readonly format?: "email" | "uri" | "date" | "date-time";
@@ -6327,12 +6323,12 @@ export type FormCreateInput = {
6327
6323
  readonly when?: ReadonlyArray<{
6328
6324
  readonly key: string;
6329
6325
  readonly op: "eq" | "neq";
6330
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6326
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6331
6327
  }>;
6332
6328
  readonly type: "number";
6333
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6334
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6335
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6329
+ readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6330
+ readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6331
+ readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
6336
6332
  } | {
6337
6333
  readonly key: string;
6338
6334
  readonly title?: string;
@@ -6341,12 +6337,12 @@ export type FormCreateInput = {
6341
6337
  readonly when?: ReadonlyArray<{
6342
6338
  readonly key: string;
6343
6339
  readonly op: "eq" | "neq";
6344
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6340
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6345
6341
  }>;
6346
6342
  readonly type: "integer";
6347
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6348
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6349
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6343
+ readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6344
+ readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6345
+ readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
6350
6346
  } | {
6351
6347
  readonly key: string;
6352
6348
  readonly title?: string;
@@ -6355,7 +6351,7 @@ export type FormCreateInput = {
6355
6351
  readonly when?: ReadonlyArray<{
6356
6352
  readonly key: string;
6357
6353
  readonly op: "eq" | "neq";
6358
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6354
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6359
6355
  }>;
6360
6356
  readonly type: "boolean";
6361
6357
  readonly default?: boolean;
@@ -6367,7 +6363,7 @@ export type FormCreateInput = {
6367
6363
  readonly when?: ReadonlyArray<{
6368
6364
  readonly key: string;
6369
6365
  readonly op: "eq" | "neq";
6370
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6366
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6371
6367
  }>;
6372
6368
  readonly type: "multiselect";
6373
6369
  readonly options: ReadonlyArray<{
@@ -6394,7 +6390,7 @@ export type FormCreateInput = {
6394
6390
  readonly when?: ReadonlyArray<{
6395
6391
  readonly key: string;
6396
6392
  readonly op: "eq" | "neq";
6397
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6393
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6398
6394
  }>;
6399
6395
  readonly type: "string";
6400
6396
  readonly format?: "email" | "uri" | "date" | "date-time";
@@ -6417,12 +6413,12 @@ export type FormCreateInput = {
6417
6413
  readonly when?: ReadonlyArray<{
6418
6414
  readonly key: string;
6419
6415
  readonly op: "eq" | "neq";
6420
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6416
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6421
6417
  }>;
6422
6418
  readonly type: "number";
6423
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6424
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6425
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6419
+ readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6420
+ readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6421
+ readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
6426
6422
  } | {
6427
6423
  readonly key: string;
6428
6424
  readonly title?: string;
@@ -6431,12 +6427,12 @@ export type FormCreateInput = {
6431
6427
  readonly when?: ReadonlyArray<{
6432
6428
  readonly key: string;
6433
6429
  readonly op: "eq" | "neq";
6434
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6430
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6435
6431
  }>;
6436
6432
  readonly type: "integer";
6437
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6438
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6439
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6433
+ readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6434
+ readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6435
+ readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
6440
6436
  } | {
6441
6437
  readonly key: string;
6442
6438
  readonly title?: string;
@@ -6445,7 +6441,7 @@ export type FormCreateInput = {
6445
6441
  readonly when?: ReadonlyArray<{
6446
6442
  readonly key: string;
6447
6443
  readonly op: "eq" | "neq";
6448
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6444
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6449
6445
  }>;
6450
6446
  readonly type: "boolean";
6451
6447
  readonly default?: boolean;
@@ -6457,7 +6453,7 @@ export type FormCreateInput = {
6457
6453
  readonly when?: ReadonlyArray<{
6458
6454
  readonly key: string;
6459
6455
  readonly op: "eq" | "neq";
6460
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6456
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6461
6457
  }>;
6462
6458
  readonly type: "multiselect";
6463
6459
  readonly options: ReadonlyArray<{
@@ -6493,7 +6489,7 @@ export type FormCreateInput = {
6493
6489
  readonly when?: ReadonlyArray<{
6494
6490
  readonly key: string;
6495
6491
  readonly op: "eq" | "neq";
6496
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6492
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6497
6493
  }>;
6498
6494
  readonly type: "string";
6499
6495
  readonly format?: "email" | "uri" | "date" | "date-time";
@@ -6516,12 +6512,12 @@ export type FormCreateInput = {
6516
6512
  readonly when?: ReadonlyArray<{
6517
6513
  readonly key: string;
6518
6514
  readonly op: "eq" | "neq";
6519
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6515
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6520
6516
  }>;
6521
6517
  readonly type: "number";
6522
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6523
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6524
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6518
+ readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6519
+ readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6520
+ readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
6525
6521
  } | {
6526
6522
  readonly key: string;
6527
6523
  readonly title?: string;
@@ -6530,12 +6526,12 @@ export type FormCreateInput = {
6530
6526
  readonly when?: ReadonlyArray<{
6531
6527
  readonly key: string;
6532
6528
  readonly op: "eq" | "neq";
6533
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6529
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6534
6530
  }>;
6535
6531
  readonly type: "integer";
6536
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6537
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6538
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6532
+ readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6533
+ readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6534
+ readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
6539
6535
  } | {
6540
6536
  readonly key: string;
6541
6537
  readonly title?: string;
@@ -6544,7 +6540,7 @@ export type FormCreateInput = {
6544
6540
  readonly when?: ReadonlyArray<{
6545
6541
  readonly key: string;
6546
6542
  readonly op: "eq" | "neq";
6547
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6543
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6548
6544
  }>;
6549
6545
  readonly type: "boolean";
6550
6546
  readonly default?: boolean;
@@ -6556,7 +6552,7 @@ export type FormCreateInput = {
6556
6552
  readonly when?: ReadonlyArray<{
6557
6553
  readonly key: string;
6558
6554
  readonly op: "eq" | "neq";
6559
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6555
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6560
6556
  }>;
6561
6557
  readonly type: "multiselect";
6562
6558
  readonly options: ReadonlyArray<{
@@ -6583,7 +6579,7 @@ export type FormCreateInput = {
6583
6579
  readonly when?: ReadonlyArray<{
6584
6580
  readonly key: string;
6585
6581
  readonly op: "eq" | "neq";
6586
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6582
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6587
6583
  }>;
6588
6584
  readonly type: "string";
6589
6585
  readonly format?: "email" | "uri" | "date" | "date-time";
@@ -6606,12 +6602,12 @@ export type FormCreateInput = {
6606
6602
  readonly when?: ReadonlyArray<{
6607
6603
  readonly key: string;
6608
6604
  readonly op: "eq" | "neq";
6609
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6605
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6610
6606
  }>;
6611
6607
  readonly type: "number";
6612
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6613
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6614
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6608
+ readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6609
+ readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6610
+ readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
6615
6611
  } | {
6616
6612
  readonly key: string;
6617
6613
  readonly title?: string;
@@ -6620,12 +6616,12 @@ export type FormCreateInput = {
6620
6616
  readonly when?: ReadonlyArray<{
6621
6617
  readonly key: string;
6622
6618
  readonly op: "eq" | "neq";
6623
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6619
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6624
6620
  }>;
6625
6621
  readonly type: "integer";
6626
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6627
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6628
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6622
+ readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6623
+ readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6624
+ readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
6629
6625
  } | {
6630
6626
  readonly key: string;
6631
6627
  readonly title?: string;
@@ -6634,7 +6630,7 @@ export type FormCreateInput = {
6634
6630
  readonly when?: ReadonlyArray<{
6635
6631
  readonly key: string;
6636
6632
  readonly op: "eq" | "neq";
6637
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6633
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6638
6634
  }>;
6639
6635
  readonly type: "boolean";
6640
6636
  readonly default?: boolean;
@@ -6646,7 +6642,7 @@ export type FormCreateInput = {
6646
6642
  readonly when?: ReadonlyArray<{
6647
6643
  readonly key: string;
6648
6644
  readonly op: "eq" | "neq";
6649
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6645
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6650
6646
  }>;
6651
6647
  readonly type: "multiselect";
6652
6648
  readonly options: ReadonlyArray<{
@@ -6682,7 +6678,7 @@ export type FormCreateInput = {
6682
6678
  readonly when?: ReadonlyArray<{
6683
6679
  readonly key: string;
6684
6680
  readonly op: "eq" | "neq";
6685
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6681
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6686
6682
  }>;
6687
6683
  readonly type: "string";
6688
6684
  readonly format?: "email" | "uri" | "date" | "date-time";
@@ -6705,12 +6701,12 @@ export type FormCreateInput = {
6705
6701
  readonly when?: ReadonlyArray<{
6706
6702
  readonly key: string;
6707
6703
  readonly op: "eq" | "neq";
6708
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6704
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6709
6705
  }>;
6710
6706
  readonly type: "number";
6711
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6712
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6713
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6707
+ readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6708
+ readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6709
+ readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
6714
6710
  } | {
6715
6711
  readonly key: string;
6716
6712
  readonly title?: string;
@@ -6719,12 +6715,12 @@ export type FormCreateInput = {
6719
6715
  readonly when?: ReadonlyArray<{
6720
6716
  readonly key: string;
6721
6717
  readonly op: "eq" | "neq";
6722
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6718
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6723
6719
  }>;
6724
6720
  readonly type: "integer";
6725
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6726
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6727
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6721
+ readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6722
+ readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6723
+ readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
6728
6724
  } | {
6729
6725
  readonly key: string;
6730
6726
  readonly title?: string;
@@ -6733,7 +6729,7 @@ export type FormCreateInput = {
6733
6729
  readonly when?: ReadonlyArray<{
6734
6730
  readonly key: string;
6735
6731
  readonly op: "eq" | "neq";
6736
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6732
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6737
6733
  }>;
6738
6734
  readonly type: "boolean";
6739
6735
  readonly default?: boolean;
@@ -6745,7 +6741,7 @@ export type FormCreateInput = {
6745
6741
  readonly when?: ReadonlyArray<{
6746
6742
  readonly key: string;
6747
6743
  readonly op: "eq" | "neq";
6748
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6744
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6749
6745
  }>;
6750
6746
  readonly type: "multiselect";
6751
6747
  readonly options: ReadonlyArray<{
@@ -6772,7 +6768,7 @@ export type FormCreateInput = {
6772
6768
  readonly when?: ReadonlyArray<{
6773
6769
  readonly key: string;
6774
6770
  readonly op: "eq" | "neq";
6775
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6771
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6776
6772
  }>;
6777
6773
  readonly type: "string";
6778
6774
  readonly format?: "email" | "uri" | "date" | "date-time";
@@ -6795,12 +6791,12 @@ export type FormCreateInput = {
6795
6791
  readonly when?: ReadonlyArray<{
6796
6792
  readonly key: string;
6797
6793
  readonly op: "eq" | "neq";
6798
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6794
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6799
6795
  }>;
6800
6796
  readonly type: "number";
6801
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6802
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6803
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6797
+ readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6798
+ readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6799
+ readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
6804
6800
  } | {
6805
6801
  readonly key: string;
6806
6802
  readonly title?: string;
@@ -6809,12 +6805,12 @@ export type FormCreateInput = {
6809
6805
  readonly when?: ReadonlyArray<{
6810
6806
  readonly key: string;
6811
6807
  readonly op: "eq" | "neq";
6812
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6808
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6813
6809
  }>;
6814
6810
  readonly type: "integer";
6815
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6816
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6817
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6811
+ readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6812
+ readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6813
+ readonly default?: number | ("Infinity" | "-Infinity" | "NaN");
6818
6814
  } | {
6819
6815
  readonly key: string;
6820
6816
  readonly title?: string;
@@ -6823,7 +6819,7 @@ export type FormCreateInput = {
6823
6819
  readonly when?: ReadonlyArray<{
6824
6820
  readonly key: string;
6825
6821
  readonly op: "eq" | "neq";
6826
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6822
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6827
6823
  }>;
6828
6824
  readonly type: "boolean";
6829
6825
  readonly default?: boolean;
@@ -6835,7 +6831,7 @@ export type FormCreateInput = {
6835
6831
  readonly when?: ReadonlyArray<{
6836
6832
  readonly key: string;
6837
6833
  readonly op: "eq" | "neq";
6838
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6834
+ readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6839
6835
  }>;
6840
6836
  readonly type: "multiselect";
6841
6837
  readonly options: ReadonlyArray<{