@opencode-ai/client 0.0.0-dev-18124 → 0.0.0-dev-18128

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.
@@ -35,6 +35,15 @@ export type SessionForkBoundary = {
35
35
  messageID: string;
36
36
  };
37
37
  export type MoneyUSD = number;
38
+ export type TokenUsageInfo = {
39
+ input: number;
40
+ output: number;
41
+ reasoning: number;
42
+ cache: {
43
+ read: number;
44
+ write: number;
45
+ };
46
+ };
38
47
  export type LocationRef = {
39
48
  directory: string;
40
49
  workspaceID?: string;
@@ -64,6 +73,18 @@ export type SessionStatsActivity = {
64
73
  date: string;
65
74
  steps: number;
66
75
  };
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
+ };
67
88
  export type PromptBase64 = string;
68
89
  export type PromptFileSource = {
69
90
  type: "inline";
@@ -76,23 +97,134 @@ export type PromptMention = {
76
97
  end: number;
77
98
  text: string;
78
99
  };
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
+ };
79
161
  export type SessionMessageToolStateStreaming = {
80
162
  status: "streaming";
81
163
  input: string;
82
164
  };
165
+ export type SessionMessageToolStateRunning = {
166
+ status: "running";
167
+ input: {
168
+ [x: string]: JsonValue;
169
+ };
170
+ metadata: {
171
+ [x: string]: JsonValue;
172
+ };
173
+ };
83
174
  export type ToolTextContent = {
84
175
  type: "text";
85
176
  text: string;
86
177
  };
178
+ export type ToolFileContent = {
179
+ type: "file";
180
+ uri: string;
181
+ mime: string;
182
+ name?: string | null;
183
+ };
87
184
  export type SessionStructuredError = {
88
185
  type: string;
89
186
  message: string;
90
187
  status?: number;
91
188
  };
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
+ };
92
217
  export type SessionActive = {
93
218
  type: "running";
94
219
  };
95
220
  export type SessionInboxDelivery = "steer" | "queue";
221
+ export type SessionInboxSyntheticPayload = {
222
+ text: string;
223
+ description?: string;
224
+ metadata?: {
225
+ [x: string]: JsonValue;
226
+ };
227
+ };
96
228
  export type SessionInboxCompactionPayload = {};
97
229
  export type InstructionEntryKey = string;
98
230
  export type SessionGenerateResponse = {
@@ -107,6 +239,23 @@ export type SessionInboxSyntheticPayload1 = {
107
239
  [x: string]: any;
108
240
  };
109
241
  };
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
+ };
110
259
  export type SessionMessageProviderState1 = {
111
260
  [x: string]: any;
112
261
  };
@@ -126,12 +275,51 @@ export type SessionInterruptResponse = {
126
275
  };
127
276
  export type ModelReasoningField = "reasoning" | "reasoning_content" | "reasoning_text" | (string & {});
128
277
  export type ModelMaxTokensField = "max_completion_tokens" | "max_tokens";
278
+ export type ModelCapabilities = {
279
+ tools: boolean;
280
+ input: Array<string>;
281
+ output: Array<string>;
282
+ responsesWebsockets?: boolean;
283
+ };
284
+ export type ModelVariant = {
285
+ id: string;
286
+ settings?: {
287
+ [x: string]: any;
288
+ };
289
+ headers?: {
290
+ [x: string]: string;
291
+ };
292
+ body?: {
293
+ [x: string]: any;
294
+ };
295
+ };
129
296
  export type MoneyUSDPerMillionTokens = number;
130
297
  export type GenerateTextResponse = {
131
298
  data: {
132
299
  text: string;
133
300
  };
134
301
  };
302
+ export type ProviderInfo = {
303
+ id: string;
304
+ integrationID?: string;
305
+ name: string;
306
+ activation: "auto" | "enabled" | "disabled";
307
+ package: string;
308
+ settings?: {
309
+ [x: string]: any;
310
+ };
311
+ headers?: {
312
+ [x: string]: string;
313
+ };
314
+ body?: {
315
+ [x: string]: any;
316
+ };
317
+ };
318
+ export type FormWhen = {
319
+ key: string;
320
+ op: "eq" | "neq";
321
+ value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
322
+ };
135
323
  export type FormOption = {
136
324
  value: string;
137
325
  label: string;
@@ -163,6 +351,66 @@ export type ConnectionEnvInfo = {
163
351
  type: "env";
164
352
  name: string;
165
353
  };
354
+ export type IntegrationAttemptStatus = {
355
+ status: "pending";
356
+ time: {
357
+ created: number | "Infinity" | "-Infinity" | "NaN";
358
+ expires: number | "Infinity" | "-Infinity" | "NaN";
359
+ };
360
+ } | {
361
+ status: "complete";
362
+ time: {
363
+ created: number | "Infinity" | "-Infinity" | "NaN";
364
+ expires: number | "Infinity" | "-Infinity" | "NaN";
365
+ };
366
+ } | {
367
+ status: "failed";
368
+ message: string;
369
+ time: {
370
+ created: number | "Infinity" | "-Infinity" | "NaN";
371
+ expires: number | "Infinity" | "-Infinity" | "NaN";
372
+ };
373
+ } | {
374
+ status: "expired";
375
+ time: {
376
+ created: number | "Infinity" | "-Infinity" | "NaN";
377
+ expires: number | "Infinity" | "-Infinity" | "NaN";
378
+ };
379
+ };
380
+ export type IntegrationCommandAttempt = {
381
+ attemptID: string;
382
+ time: {
383
+ created: number | "Infinity" | "-Infinity" | "NaN";
384
+ expires: number | "Infinity" | "-Infinity" | "NaN";
385
+ };
386
+ };
387
+ export type IntegrationCommandAttemptStatus = {
388
+ status: "pending";
389
+ message?: string;
390
+ time: {
391
+ created: number | "Infinity" | "-Infinity" | "NaN";
392
+ expires: number | "Infinity" | "-Infinity" | "NaN";
393
+ };
394
+ } | {
395
+ status: "complete";
396
+ time: {
397
+ created: number | "Infinity" | "-Infinity" | "NaN";
398
+ expires: number | "Infinity" | "-Infinity" | "NaN";
399
+ };
400
+ } | {
401
+ status: "failed";
402
+ message: string;
403
+ time: {
404
+ created: number | "Infinity" | "-Infinity" | "NaN";
405
+ expires: number | "Infinity" | "-Infinity" | "NaN";
406
+ };
407
+ } | {
408
+ status: "expired";
409
+ time: {
410
+ created: number | "Infinity" | "-Infinity" | "NaN";
411
+ expires: number | "Infinity" | "-Infinity" | "NaN";
412
+ };
413
+ };
166
414
  export type McpStatusConnected = {
167
415
  status: "connected";
168
416
  };
@@ -212,6 +460,9 @@ export type ProjectCurrent = {
212
460
  directory: string;
213
461
  canonical: string;
214
462
  };
463
+ export type FormMetadata = {
464
+ [x: string]: JsonValue;
465
+ };
215
466
  export type FormValue = string | number | boolean | Array<string>;
216
467
  export type PermissionSource = {
217
468
  type: "tool";
@@ -282,6 +533,23 @@ export type PtyTicketConnectToken = {
282
533
  ticket: string;
283
534
  expires_in: number;
284
535
  };
536
+ export type ShellInfo1 = {
537
+ id: string;
538
+ status: "running" | "exited" | "timeout" | "killed";
539
+ command: string;
540
+ cwd: string;
541
+ shell: string;
542
+ file: string;
543
+ pid?: number;
544
+ exit?: number;
545
+ metadata: {
546
+ [x: string]: JsonValue;
547
+ };
548
+ time: {
549
+ started: number;
550
+ completed?: number;
551
+ };
552
+ };
285
553
  export type ReferenceLocalSource = {
286
554
  type: "local";
287
555
  path: string;
@@ -353,14 +621,23 @@ export type PluginInfo = {
353
621
  error: string;
354
622
  tui: boolean;
355
623
  };
356
- export type TokenUsageInfo = {
357
- input: number;
358
- output: number;
359
- reasoning: number;
360
- cache: {
361
- read: number;
362
- write: number;
363
- };
624
+ export type SessionMessageLocationSwitched = {
625
+ id: string;
626
+ metadata?: {
627
+ [x: string]: JsonValue;
628
+ };
629
+ time: {
630
+ created: number;
631
+ };
632
+ type: "location-switched";
633
+ location: LocationRef;
634
+ projectID?: string;
635
+ subpath?: string;
636
+ previous?: {
637
+ location: LocationRef;
638
+ projectID?: string;
639
+ subpath?: string;
640
+ };
364
641
  };
365
642
  export type SessionInboxMovePayload = {
366
643
  location: LocationRef;
@@ -376,6 +653,12 @@ export type V2EventServerConnected = {
376
653
  type: "server.connected";
377
654
  data: {};
378
655
  };
656
+ export type SessionRevert = {
657
+ messageID: string;
658
+ partID?: string;
659
+ snapshot?: string;
660
+ files?: Array<FileDiffInfo>;
661
+ };
379
662
  export type SessionStatsTools = {
380
663
  mode: "none";
381
664
  } | {
@@ -386,27 +669,23 @@ export type SessionStatsTools = {
386
669
  totals: SessionStatsToolTotals;
387
670
  usage: Array<SessionStatsToolUsage>;
388
671
  };
389
- export type SessionMessageProviderState = {
390
- [x: string]: JsonValue;
391
- };
392
- export type SessionMessageToolStateRunning = {
393
- status: "running";
394
- input: {
395
- [x: string]: JsonValue;
396
- };
397
- metadata: {
398
- [x: string]: JsonValue;
399
- };
672
+ export type SessionStatsModelUsage = {
673
+ model: ModelRef;
674
+ steps: number;
675
+ tokens: TokenUsageInfo;
676
+ cost: MoneyUSD;
400
677
  };
401
- export type SessionInboxSyntheticPayload = {
402
- text: string;
403
- description?: string;
678
+ export type SessionMessageModelSelected = {
679
+ id: string;
404
680
  metadata?: {
405
681
  [x: string]: JsonValue;
406
682
  };
407
- };
408
- export type FormMetadata = {
409
- [x: string]: JsonValue;
683
+ time: {
684
+ created: number;
685
+ };
686
+ type: "model-switched";
687
+ model: ModelRef;
688
+ previous?: ModelRef;
410
689
  };
411
690
  export type PromptFileAttachment = {
412
691
  data: PromptBase64;
@@ -425,17 +704,47 @@ export type PromptSkillAttachment = {
425
704
  name: string;
426
705
  mention?: PromptMention;
427
706
  };
428
- export type ToolFileContent = {
429
- type: "file";
430
- uri: string;
431
- mime: string;
432
- name?: string | null;
707
+ export type SessionMessageAssistantText = {
708
+ type: "text";
709
+ text: string;
710
+ state?: SessionMessageProviderState;
711
+ };
712
+ export type SessionMessageAssistantReasoning = {
713
+ type: "reasoning";
714
+ text: string;
715
+ state?: SessionMessageProviderState;
716
+ time?: {
717
+ created: number;
718
+ completed?: number;
719
+ };
433
720
  };
721
+ export type ToolContent = ToolTextContent | ToolFileContent;
434
722
  export type SessionMessageAssistantRetry = {
435
723
  attempt: number;
436
724
  at: number;
437
725
  error: SessionStructuredError;
438
726
  };
727
+ export type SessionMessageCompactionFailed = {
728
+ type: "compaction";
729
+ id: string;
730
+ metadata?: {
731
+ [x: string]: JsonValue;
732
+ };
733
+ time: {
734
+ created: number;
735
+ };
736
+ status: "failed";
737
+ reason: "auto" | "manual";
738
+ error: SessionStructuredError;
739
+ };
740
+ export type SessionInboxSynthetic = {
741
+ id: string;
742
+ sessionID: string;
743
+ timeCreated: number;
744
+ type: "synthetic";
745
+ payload: SessionInboxSyntheticPayload;
746
+ delivery: SessionInboxDelivery;
747
+ };
439
748
  export type SessionInboxCompaction = {
440
749
  id: string;
441
750
  sessionID: string;
@@ -879,6 +1188,66 @@ export type SessionRetryScheduled = {
879
1188
  error: SessionStructuredError;
880
1189
  };
881
1190
  };
1191
+ export type SessionCompactionStarted = {
1192
+ id: string;
1193
+ created: number;
1194
+ metadata?: {
1195
+ [x: string]: any;
1196
+ };
1197
+ type: "session.compaction.started";
1198
+ durable: {
1199
+ aggregateID: string;
1200
+ seq: number;
1201
+ version: 1;
1202
+ };
1203
+ location?: LocationRef;
1204
+ data: {
1205
+ sessionID: string;
1206
+ reason: "auto" | "manual";
1207
+ recent: string;
1208
+ inputID?: string;
1209
+ };
1210
+ };
1211
+ export type SessionCompactionEnded = {
1212
+ id: string;
1213
+ created: number;
1214
+ metadata?: {
1215
+ [x: string]: any;
1216
+ };
1217
+ type: "session.compaction.ended";
1218
+ durable: {
1219
+ aggregateID: string;
1220
+ seq: number;
1221
+ version: 1;
1222
+ };
1223
+ location?: LocationRef;
1224
+ data: {
1225
+ sessionID: string;
1226
+ reason: "auto" | "manual";
1227
+ text: string;
1228
+ recent: string;
1229
+ };
1230
+ };
1231
+ export type SessionCompactionFailed = {
1232
+ id: string;
1233
+ created: number;
1234
+ metadata?: {
1235
+ [x: string]: any;
1236
+ };
1237
+ type: "session.compaction.failed";
1238
+ durable: {
1239
+ aggregateID: string;
1240
+ seq: number;
1241
+ version: 1;
1242
+ };
1243
+ location?: LocationRef;
1244
+ data: {
1245
+ sessionID: string;
1246
+ reason: "auto" | "manual";
1247
+ error: SessionStructuredError;
1248
+ inputID?: string;
1249
+ };
1250
+ };
882
1251
  export type SessionRevertCleared = {
883
1252
  id: string;
884
1253
  created: number;
@@ -914,6 +1283,26 @@ export type SessionRevertCommitted = {
914
1283
  to: string;
915
1284
  };
916
1285
  };
1286
+ export type SessionUsageRecorded = {
1287
+ id: string;
1288
+ created: number;
1289
+ metadata?: {
1290
+ [x: string]: any;
1291
+ };
1292
+ type: "session.usage.recorded";
1293
+ durable: {
1294
+ aggregateID: string;
1295
+ seq: number;
1296
+ version: 1;
1297
+ };
1298
+ location?: LocationRef;
1299
+ data: {
1300
+ sessionID: string;
1301
+ source: "title" | "compaction";
1302
+ cost: MoneyUSD;
1303
+ tokens: TokenUsageInfo;
1304
+ };
1305
+ };
917
1306
  export type ModelsDevRefreshed = {
918
1307
  id: string;
919
1308
  created: number;
@@ -966,6 +1355,20 @@ export type AgentUpdated = {
966
1355
  location?: LocationRef;
967
1356
  data: {};
968
1357
  };
1358
+ export type SessionUsageUpdated = {
1359
+ id: string;
1360
+ created: number;
1361
+ metadata?: {
1362
+ [x: string]: any;
1363
+ };
1364
+ type: "session.usage.updated";
1365
+ location?: LocationRef;
1366
+ data: {
1367
+ sessionID: string;
1368
+ cost: MoneyUSD;
1369
+ tokens: TokenUsageInfo;
1370
+ };
1371
+ };
969
1372
  export type SessionTextDelta = {
970
1373
  id: string;
971
1374
  created: number;
@@ -1344,47 +1747,13 @@ export type McpResourcesChanged = {
1344
1747
  server: string;
1345
1748
  };
1346
1749
  };
1347
- export type ShellInfo = {
1348
- id: string;
1349
- status: "running" | "exited" | "timeout" | "killed";
1350
- command: string;
1351
- cwd: string;
1352
- shell: string;
1353
- file: string;
1354
- pid?: number;
1355
- exit?: number;
1356
- metadata: {
1357
- [x: string]: any;
1358
- };
1359
- time: {
1360
- started: number;
1361
- completed?: number;
1362
- };
1363
- };
1364
- export type ShellInfo1 = {
1365
- id: string;
1366
- status: "running" | "exited" | "timeout" | "killed";
1367
- command: string;
1368
- cwd: string;
1369
- shell: string;
1370
- file: string;
1371
- pid?: number;
1372
- exit?: number;
1373
- metadata: {
1374
- [x: string]: JsonValue;
1375
- };
1376
- time: {
1377
- started: number;
1378
- completed?: number;
1379
- };
1380
- };
1381
- export type SessionTextEnded = {
1750
+ export type SessionShellStarted = {
1382
1751
  id: string;
1383
1752
  created: number;
1384
1753
  metadata?: {
1385
1754
  [x: string]: any;
1386
1755
  };
1387
- type: "session.text.ended";
1756
+ type: "session.shell.started";
1388
1757
  durable: {
1389
1758
  aggregateID: string;
1390
1759
  seq: number;
@@ -1393,19 +1762,16 @@ export type SessionTextEnded = {
1393
1762
  location?: LocationRef;
1394
1763
  data: {
1395
1764
  sessionID: string;
1396
- assistantMessageID: string;
1397
- ordinal: number;
1398
- text: string;
1399
- state?: SessionMessageProviderState1;
1765
+ shell: ShellInfo;
1400
1766
  };
1401
1767
  };
1402
- export type SessionReasoningStarted = {
1768
+ export type SessionShellEnded = {
1403
1769
  id: string;
1404
1770
  created: number;
1405
1771
  metadata?: {
1406
1772
  [x: string]: any;
1407
1773
  };
1408
- type: "session.reasoning.started";
1774
+ type: "session.shell.ended";
1409
1775
  durable: {
1410
1776
  aggregateID: string;
1411
1777
  seq: number;
@@ -1414,39 +1780,34 @@ export type SessionReasoningStarted = {
1414
1780
  location?: LocationRef;
1415
1781
  data: {
1416
1782
  sessionID: string;
1417
- assistantMessageID: string;
1418
- ordinal: number;
1419
- state?: SessionMessageProviderState1;
1783
+ shell: ShellInfo;
1784
+ output: {
1785
+ output: string;
1786
+ cursor: number;
1787
+ size: number;
1788
+ truncated: boolean;
1789
+ };
1420
1790
  };
1421
1791
  };
1422
- export type SessionReasoningEnded = {
1792
+ export type ShellCreated = {
1423
1793
  id: string;
1424
1794
  created: number;
1425
1795
  metadata?: {
1426
1796
  [x: string]: any;
1427
1797
  };
1428
- type: "session.reasoning.ended";
1429
- durable: {
1430
- aggregateID: string;
1431
- seq: number;
1432
- version: 1;
1433
- };
1798
+ type: "shell.created";
1434
1799
  location?: LocationRef;
1435
1800
  data: {
1436
- sessionID: string;
1437
- assistantMessageID: string;
1438
- ordinal: number;
1439
- text: string;
1440
- state?: SessionMessageProviderState1;
1801
+ info: ShellInfo;
1441
1802
  };
1442
1803
  };
1443
- export type SessionToolCalled = {
1804
+ export type SessionStepEnded = {
1444
1805
  id: string;
1445
1806
  created: number;
1446
1807
  metadata?: {
1447
1808
  [x: string]: any;
1448
1809
  };
1449
- type: "session.tool.called";
1810
+ type: "session.step.ended";
1450
1811
  durable: {
1451
1812
  aggregateID: string;
1452
1813
  seq: number;
@@ -1456,22 +1817,22 @@ export type SessionToolCalled = {
1456
1817
  data: {
1457
1818
  sessionID: string;
1458
1819
  assistantMessageID: string;
1459
- id: string;
1460
- input: {
1461
- [x: string]: any;
1462
- };
1463
- executed: boolean;
1464
- state?: SessionMessageProviderState1;
1820
+ finish: "stop" | "length" | "tool-calls" | "content-filter" | "error" | "unknown";
1821
+ rawFinish?: string;
1822
+ providerState?: SessionMessageProviderState1;
1823
+ cost: MoneyUSD;
1824
+ tokens: TokenUsageInfo;
1825
+ snapshot?: string;
1826
+ files?: Array<string>;
1465
1827
  };
1466
1828
  };
1467
- export type ToolContent1 = ToolTextContent | ToolFileContent1;
1468
- export type SessionCompactionStarted = {
1829
+ export type SessionStepFailed = {
1469
1830
  id: string;
1470
1831
  created: number;
1471
1832
  metadata?: {
1472
1833
  [x: string]: any;
1473
1834
  };
1474
- type: "session.compaction.started";
1835
+ type: "session.step.failed";
1475
1836
  durable: {
1476
1837
  aggregateID: string;
1477
1838
  seq: number;
@@ -1480,18 +1841,24 @@ export type SessionCompactionStarted = {
1480
1841
  location?: LocationRef;
1481
1842
  data: {
1482
1843
  sessionID: string;
1483
- reason: "auto" | "manual";
1484
- recent: string;
1485
- inputID?: string;
1844
+ assistantMessageID: string;
1845
+ error: SessionStructuredError;
1846
+ finish?: "content-filter";
1847
+ rawFinish?: string;
1848
+ providerState?: SessionMessageProviderState1;
1849
+ cost?: MoneyUSD;
1850
+ tokens?: TokenUsageInfo;
1851
+ snapshot?: string;
1852
+ files?: Array<string>;
1486
1853
  };
1487
1854
  };
1488
- export type SessionCompactionEnded = {
1855
+ export type SessionTextEnded = {
1489
1856
  id: string;
1490
1857
  created: number;
1491
1858
  metadata?: {
1492
1859
  [x: string]: any;
1493
1860
  };
1494
- type: "session.compaction.ended";
1861
+ type: "session.text.ended";
1495
1862
  durable: {
1496
1863
  aggregateID: string;
1497
1864
  seq: number;
@@ -1500,18 +1867,19 @@ export type SessionCompactionEnded = {
1500
1867
  location?: LocationRef;
1501
1868
  data: {
1502
1869
  sessionID: string;
1503
- reason: "auto" | "manual";
1870
+ assistantMessageID: string;
1871
+ ordinal: number;
1504
1872
  text: string;
1505
- recent: string;
1873
+ state?: SessionMessageProviderState1;
1506
1874
  };
1507
1875
  };
1508
- export type SessionCompactionFailed = {
1876
+ export type SessionReasoningStarted = {
1509
1877
  id: string;
1510
1878
  created: number;
1511
1879
  metadata?: {
1512
1880
  [x: string]: any;
1513
1881
  };
1514
- type: "session.compaction.failed";
1882
+ type: "session.reasoning.started";
1515
1883
  durable: {
1516
1884
  aggregateID: string;
1517
1885
  seq: number;
@@ -1520,49 +1888,61 @@ export type SessionCompactionFailed = {
1520
1888
  location?: LocationRef;
1521
1889
  data: {
1522
1890
  sessionID: string;
1523
- reason: "auto" | "manual";
1524
- error: SessionStructuredError;
1525
- inputID?: string;
1891
+ assistantMessageID: string;
1892
+ ordinal: number;
1893
+ state?: SessionMessageProviderState1;
1526
1894
  };
1527
1895
  };
1528
- export type ModelCompatibility = {
1529
- reasoningField?: ModelReasoningField;
1530
- maxTokensField?: ModelMaxTokensField;
1531
- requireFinishReason?: boolean;
1532
- };
1533
- export type ModelVariant = {
1896
+ export type SessionReasoningEnded = {
1534
1897
  id: string;
1535
- settings?: {
1898
+ created: number;
1899
+ metadata?: {
1536
1900
  [x: string]: any;
1537
1901
  };
1538
- headers?: {
1539
- [x: string]: string;
1902
+ type: "session.reasoning.ended";
1903
+ durable: {
1904
+ aggregateID: string;
1905
+ seq: number;
1906
+ version: 1;
1540
1907
  };
1541
- body?: {
1542
- [x: string]: any;
1908
+ location?: LocationRef;
1909
+ data: {
1910
+ sessionID: string;
1911
+ assistantMessageID: string;
1912
+ ordinal: number;
1913
+ text: string;
1914
+ state?: SessionMessageProviderState1;
1543
1915
  };
1544
1916
  };
1545
- export type ProviderInfo = {
1917
+ export type SessionToolCalled = {
1546
1918
  id: string;
1547
- integrationID?: string;
1548
- name: string;
1549
- activation: "auto" | "enabled" | "disabled";
1550
- package: string;
1551
- settings?: {
1919
+ created: number;
1920
+ metadata?: {
1552
1921
  [x: string]: any;
1553
1922
  };
1554
- headers?: {
1555
- [x: string]: string;
1923
+ type: "session.tool.called";
1924
+ durable: {
1925
+ aggregateID: string;
1926
+ seq: number;
1927
+ version: 1;
1556
1928
  };
1557
- body?: {
1558
- [x: string]: any;
1929
+ location?: LocationRef;
1930
+ data: {
1931
+ sessionID: string;
1932
+ assistantMessageID: string;
1933
+ id: string;
1934
+ input: {
1935
+ [x: string]: any;
1936
+ };
1937
+ executed: boolean;
1938
+ state?: SessionMessageProviderState1;
1559
1939
  };
1560
1940
  };
1561
- export type ModelCapabilities = {
1562
- tools: boolean;
1563
- input: Array<string>;
1564
- output: Array<string>;
1565
- responsesWebsockets?: boolean;
1941
+ export type ToolContent1 = ToolTextContent | ToolFileContent1;
1942
+ export type ModelCompatibility = {
1943
+ reasoningField?: ModelReasoningField;
1944
+ maxTokensField?: ModelMaxTokensField;
1945
+ requireFinishReason?: boolean;
1566
1946
  };
1567
1947
  export type ModelCost = {
1568
1948
  tier?: {
@@ -1576,6 +1956,66 @@ export type ModelCost = {
1576
1956
  write: MoneyUSDPerMillionTokens;
1577
1957
  };
1578
1958
  };
1959
+ export type FormNumberField = {
1960
+ key: string;
1961
+ title?: string;
1962
+ description?: string;
1963
+ required?: boolean;
1964
+ when?: Array<FormWhen>;
1965
+ type: "number";
1966
+ minimum?: number | "Infinity" | "-Infinity" | "NaN";
1967
+ maximum?: number | "Infinity" | "-Infinity" | "NaN";
1968
+ default?: number | "Infinity" | "-Infinity" | "NaN";
1969
+ };
1970
+ export type FormIntegerField = {
1971
+ key: string;
1972
+ title?: string;
1973
+ description?: string;
1974
+ required?: boolean;
1975
+ when?: Array<FormWhen>;
1976
+ type: "integer";
1977
+ minimum?: number | "Infinity" | "-Infinity" | "NaN";
1978
+ maximum?: number | "Infinity" | "-Infinity" | "NaN";
1979
+ default?: number | "Infinity" | "-Infinity" | "NaN";
1980
+ };
1981
+ export type FormBooleanField = {
1982
+ key: string;
1983
+ title?: string;
1984
+ description?: string;
1985
+ required?: boolean;
1986
+ when?: Array<FormWhen>;
1987
+ type: "boolean";
1988
+ default?: boolean;
1989
+ };
1990
+ export type FormStringField = {
1991
+ key: string;
1992
+ title?: string;
1993
+ description?: string;
1994
+ required?: boolean;
1995
+ when?: Array<FormWhen>;
1996
+ type: "string";
1997
+ format?: "email" | "uri" | "date" | "date-time";
1998
+ minLength?: number;
1999
+ maxLength?: number;
2000
+ pattern?: string;
2001
+ placeholder?: string;
2002
+ default?: string;
2003
+ options?: Array<FormOption>;
2004
+ custom?: boolean;
2005
+ };
2006
+ export type FormMultiselectField = {
2007
+ key: string;
2008
+ title?: string;
2009
+ description?: string;
2010
+ required?: boolean;
2011
+ when?: Array<FormWhen>;
2012
+ type: "multiselect";
2013
+ options: Array<FormOption>;
2014
+ minItems?: number;
2015
+ maxItems?: number;
2016
+ custom?: boolean;
2017
+ default?: Array<string>;
2018
+ };
1579
2019
  export type ConnectionInfo = ConnectionCredentialInfo | ConnectionEnvInfo;
1580
2020
  export type McpServer = {
1581
2021
  name: string;
@@ -1668,6 +2108,66 @@ export type PtyUpdated = {
1668
2108
  info: Pty;
1669
2109
  };
1670
2110
  };
2111
+ export type FormStringField1 = {
2112
+ key: string;
2113
+ title?: string;
2114
+ description?: string;
2115
+ required?: boolean;
2116
+ when?: Array<FormWhen1>;
2117
+ type: "string";
2118
+ format?: "email" | "uri" | "date" | "date-time";
2119
+ minLength?: number;
2120
+ maxLength?: number;
2121
+ pattern?: string;
2122
+ placeholder?: string;
2123
+ default?: string;
2124
+ options?: Array<FormOption>;
2125
+ custom?: boolean;
2126
+ };
2127
+ export type FormNumberField1 = {
2128
+ key: string;
2129
+ title?: string;
2130
+ description?: string;
2131
+ required?: boolean;
2132
+ when?: Array<FormWhen1>;
2133
+ type: "number";
2134
+ minimum?: number;
2135
+ maximum?: number;
2136
+ default?: number;
2137
+ };
2138
+ export type FormIntegerField1 = {
2139
+ key: string;
2140
+ title?: string;
2141
+ description?: string;
2142
+ required?: boolean;
2143
+ when?: Array<FormWhen1>;
2144
+ type: "integer";
2145
+ minimum?: number;
2146
+ maximum?: number;
2147
+ default?: number;
2148
+ };
2149
+ export type FormBooleanField1 = {
2150
+ key: string;
2151
+ title?: string;
2152
+ description?: string;
2153
+ required?: boolean;
2154
+ when?: Array<FormWhen1>;
2155
+ type: "boolean";
2156
+ default?: boolean;
2157
+ };
2158
+ export type FormMultiselectField1 = {
2159
+ key: string;
2160
+ title?: string;
2161
+ description?: string;
2162
+ required?: boolean;
2163
+ when?: Array<FormWhen1>;
2164
+ type: "multiselect";
2165
+ options: Array<FormOption>;
2166
+ minItems?: number;
2167
+ maxItems?: number;
2168
+ custom?: boolean;
2169
+ default?: Array<string>;
2170
+ };
1671
2171
  export type SessionStatusUpdated = {
1672
2172
  id: string;
1673
2173
  created: number;
@@ -1687,78 +2187,46 @@ export type VcsInfo = {
1687
2187
  branch: VcsBranch;
1688
2188
  };
1689
2189
  export type PermissionRuleset = Array<PermissionRule>;
1690
- export type SessionStatsModelUsage = {
1691
- model: ModelRef;
1692
- steps: number;
1693
- tokens: TokenUsageInfo;
1694
- cost: MoneyUSD;
2190
+ export type SessionInboxMove = {
2191
+ id: string;
2192
+ sessionID: string;
2193
+ timeCreated: number;
2194
+ type: "move";
2195
+ payload: SessionInboxMovePayload;
2196
+ delivery: SessionInboxDelivery;
1695
2197
  };
1696
- export type SessionStepEnded = {
2198
+ export type SessionInfo = {
1697
2199
  id: string;
1698
- created: number;
1699
- metadata?: {
1700
- [x: string]: any;
2200
+ parentID?: string;
2201
+ fork?: {
2202
+ sessionID: string;
2203
+ boundary: SessionForkBoundary;
1701
2204
  };
1702
- type: "session.step.ended";
1703
- durable: {
1704
- aggregateID: string;
1705
- seq: number;
1706
- version: 1;
1707
- };
1708
- location?: LocationRef;
1709
- data: {
1710
- sessionID: string;
1711
- assistantMessageID: string;
1712
- finish: "stop" | "length" | "tool-calls" | "content-filter" | "error" | "unknown";
1713
- rawFinish?: string;
1714
- providerState?: SessionMessageProviderState1;
1715
- cost: MoneyUSD;
1716
- tokens: TokenUsageInfo;
1717
- snapshot?: string;
1718
- files?: Array<string>;
1719
- };
1720
- };
1721
- export type SessionUsageRecorded = {
1722
- id: string;
1723
- created: number;
1724
- metadata?: {
1725
- [x: string]: any;
1726
- };
1727
- type: "session.usage.recorded";
1728
- durable: {
1729
- aggregateID: string;
1730
- seq: number;
1731
- version: 1;
1732
- };
1733
- location?: LocationRef;
1734
- data: {
1735
- sessionID: string;
1736
- source: "title" | "compaction";
1737
- cost: MoneyUSD;
1738
- tokens: TokenUsageInfo;
1739
- };
1740
- };
1741
- export type SessionUsageUpdated = {
1742
- id: string;
1743
- created: number;
1744
- metadata?: {
1745
- [x: string]: any;
1746
- };
1747
- type: "session.usage.updated";
1748
- location?: LocationRef;
1749
- data: {
1750
- sessionID: string;
1751
- cost: MoneyUSD;
1752
- tokens: TokenUsageInfo;
2205
+ projectID: string;
2206
+ agent?: string;
2207
+ model?: ModelRef;
2208
+ cost: MoneyUSD;
2209
+ tokens: TokenUsageInfo;
2210
+ outcome?: "succeeded" | "failed" | "interrupted";
2211
+ time: {
2212
+ created: number;
2213
+ updated: number;
2214
+ idle?: number;
2215
+ viewed?: number;
2216
+ archived?: number;
1753
2217
  };
2218
+ title?: string;
2219
+ location: LocationRef;
2220
+ subpath?: string;
2221
+ revert?: SessionRevert;
1754
2222
  };
1755
- export type SessionStepFailed = {
2223
+ export type SessionRevertStaged = {
1756
2224
  id: string;
1757
2225
  created: number;
1758
2226
  metadata?: {
1759
2227
  [x: string]: any;
1760
2228
  };
1761
- type: "session.step.failed";
2229
+ type: "session.revert.staged";
1762
2230
  durable: {
1763
2231
  aggregateID: string;
1764
2232
  seq: number;
@@ -1767,74 +2235,27 @@ export type SessionStepFailed = {
1767
2235
  location?: LocationRef;
1768
2236
  data: {
1769
2237
  sessionID: string;
1770
- assistantMessageID: string;
1771
- error: SessionStructuredError;
1772
- finish?: "content-filter";
1773
- rawFinish?: string;
1774
- providerState?: SessionMessageProviderState1;
1775
- cost?: MoneyUSD;
1776
- tokens?: TokenUsageInfo;
1777
- snapshot?: string;
1778
- files?: Array<string>;
1779
- };
1780
- };
1781
- export type SessionInboxMove = {
1782
- id: string;
1783
- sessionID: string;
1784
- timeCreated: number;
1785
- type: "move";
1786
- payload: SessionInboxMovePayload;
1787
- delivery: SessionInboxDelivery;
1788
- };
1789
- export type SessionRevert = {
1790
- messageID: string;
1791
- partID?: string;
1792
- snapshot?: string;
1793
- files?: Array<FileDiffInfo>;
1794
- };
1795
- export type SessionMessageAgentSelected = {
1796
- id: string;
1797
- metadata?: {
1798
- [x: string]: JsonValue;
1799
- };
1800
- time: {
1801
- created: number;
1802
- };
1803
- type: "agent-switched";
1804
- agent: string;
1805
- previous?: string;
1806
- };
1807
- export type SessionMessageModelSelected = {
1808
- id: string;
1809
- metadata?: {
1810
- [x: string]: JsonValue;
1811
- };
1812
- time: {
1813
- created: number;
2238
+ revert: SessionRevert;
1814
2239
  };
1815
- type: "model-switched";
1816
- model: ModelRef;
1817
- previous?: ModelRef;
1818
2240
  };
1819
- export type SessionMessageLocationSwitched = {
1820
- id: string;
1821
- metadata?: {
1822
- [x: string]: JsonValue;
1823
- };
1824
- time: {
1825
- created: number;
1826
- };
1827
- type: "location-switched";
1828
- location: LocationRef;
1829
- projectID?: string;
1830
- subpath?: string;
1831
- previous?: {
1832
- location: LocationRef;
1833
- projectID?: string;
1834
- subpath?: string;
2241
+ export type SessionStatsInfo = {
2242
+ range: {
2243
+ from: number;
2244
+ to: number;
1835
2245
  };
2246
+ sessions: number;
2247
+ subagents: number;
2248
+ prompts: number;
2249
+ steps: number;
2250
+ tokens: TokenUsageInfo;
2251
+ cost: MoneyUSD;
2252
+ tools: SessionStatsTools;
2253
+ activeDays: number;
2254
+ streak: number;
2255
+ activity: Array<SessionStatsActivity>;
2256
+ models: Array<SessionStatsModelUsage>;
1836
2257
  };
1837
- export type SessionMessageSynthetic = {
2258
+ export type SessionMessageUser = {
1838
2259
  id: string;
1839
2260
  metadata?: {
1840
2261
  [x: string]: JsonValue;
@@ -1843,124 +2264,51 @@ export type SessionMessageSynthetic = {
1843
2264
  created: number;
1844
2265
  };
1845
2266
  text: string;
1846
- description?: string;
1847
- type: "synthetic";
2267
+ files?: Array<PromptFileAttachment>;
2268
+ agents?: Array<PromptAgentAttachment>;
2269
+ skills?: Array<PromptSkillAttachment>;
2270
+ type: "user";
1848
2271
  };
1849
- export type SessionMessageSystem = {
1850
- id: string;
1851
- metadata?: {
1852
- [x: string]: JsonValue;
1853
- };
1854
- time: {
1855
- created: number;
1856
- };
1857
- type: "system";
2272
+ export type SessionInboxUserPayload = {
1858
2273
  text: string;
1859
- description?: string;
1860
- };
1861
- export type SessionMessageSkill = {
1862
- id: string;
2274
+ files?: Array<PromptFileAttachment>;
2275
+ agents?: Array<PromptAgentAttachment>;
2276
+ skills?: Array<PromptSkillAttachment>;
1863
2277
  metadata?: {
1864
2278
  [x: string]: JsonValue;
1865
2279
  };
1866
- time: {
1867
- created: number;
1868
- };
1869
- type: "skill";
1870
- skill: string;
1871
- name: string;
1872
- text: string;
1873
2280
  };
1874
- export type SessionMessageShell = {
1875
- id: string;
2281
+ export type SessionInboxUserPayload1 = {
2282
+ text: string;
2283
+ files?: Array<PromptFileAttachment>;
2284
+ agents?: Array<PromptAgentAttachment>;
2285
+ skills?: Array<PromptSkillAttachment>;
1876
2286
  metadata?: {
1877
- [x: string]: JsonValue;
1878
- };
1879
- time: {
1880
- created: number;
1881
- completed?: number;
1882
- };
1883
- type: "shell";
1884
- shellID: string;
1885
- command: string;
1886
- status: "running" | "exited" | "timeout" | "killed";
1887
- exit?: number | ("Infinity" | "-Infinity" | "NaN");
1888
- output?: {
1889
- output: string;
1890
- cursor: number;
1891
- size: number;
1892
- truncated: boolean;
2287
+ [x: string]: any;
1893
2288
  };
1894
2289
  };
1895
- export type SessionMessageCompactionRunning = {
1896
- type: "compaction";
1897
- id: string;
1898
- metadata?: {
2290
+ export type SessionMessageToolStateCompleted = {
2291
+ status: "completed";
2292
+ input: {
1899
2293
  [x: string]: JsonValue;
1900
2294
  };
1901
- time: {
1902
- created: number;
1903
- };
1904
- status: "running";
1905
- reason: "auto" | "manual";
1906
- summary: string;
1907
- recent: string;
1908
- };
1909
- export type SessionMessageCompactionCompleted = {
1910
- type: "compaction";
1911
- id: string;
2295
+ content: [ToolContent, ...Array<ToolContent>];
1912
2296
  metadata?: {
1913
2297
  [x: string]: JsonValue;
1914
2298
  };
1915
- time: {
1916
- created: number;
1917
- };
1918
- status: "completed";
1919
- reason: "auto" | "manual";
1920
- summary: string;
1921
- recent: string;
1922
2299
  };
1923
- export type SessionMessageCompactionFailed = {
1924
- type: "compaction";
1925
- id: string;
1926
- metadata?: {
2300
+ export type SessionMessageToolStateError = {
2301
+ status: "error";
2302
+ input: {
1927
2303
  [x: string]: JsonValue;
1928
2304
  };
1929
- time: {
1930
- created: number;
1931
- };
1932
- status: "failed";
1933
- reason: "auto" | "manual";
1934
2305
  error: SessionStructuredError;
1935
- };
1936
- export type SessionMessageAssistantText = {
1937
- type: "text";
1938
- text: string;
1939
- state?: SessionMessageProviderState;
1940
- };
1941
- export type SessionMessageAssistantReasoning = {
1942
- type: "reasoning";
1943
- text: string;
1944
- state?: SessionMessageProviderState;
1945
- time?: {
1946
- created: number;
1947
- completed?: number;
2306
+ content?: [ToolContent, ...Array<ToolContent>];
2307
+ metadata?: {
2308
+ [x: string]: JsonValue;
1948
2309
  };
1949
2310
  };
1950
- export type SessionInboxSynthetic = {
1951
- id: string;
1952
- sessionID: string;
1953
- timeCreated: number;
1954
- type: "synthetic";
1955
- payload: SessionInboxSyntheticPayload;
1956
- delivery: SessionInboxDelivery;
1957
- };
1958
- export type FormWhen = {
1959
- key: string;
1960
- op: "eq" | "neq";
1961
- value: string | (number | ("Infinity" | "-Infinity" | "NaN")) | boolean;
1962
- };
1963
- export type ToolContent = ToolTextContent | ToolFileContent;
2311
+ export type SessionMessageCompaction = SessionMessageCompactionRunning | SessionMessageCompactionCompleted | SessionMessageCompactionFailed;
1964
2312
  export type SessionForked = {
1965
2313
  id: string;
1966
2314
  created: number;
@@ -1984,60 +2332,6 @@ export type SessionForked = {
1984
2332
  instructionEntries?: InstructionEntrySnapshot;
1985
2333
  };
1986
2334
  };
1987
- export type SessionShellStarted = {
1988
- id: string;
1989
- created: number;
1990
- metadata?: {
1991
- [x: string]: any;
1992
- };
1993
- type: "session.shell.started";
1994
- durable: {
1995
- aggregateID: string;
1996
- seq: number;
1997
- version: 1;
1998
- };
1999
- location?: LocationRef;
2000
- data: {
2001
- sessionID: string;
2002
- shell: ShellInfo;
2003
- };
2004
- };
2005
- export type SessionShellEnded = {
2006
- id: string;
2007
- created: number;
2008
- metadata?: {
2009
- [x: string]: any;
2010
- };
2011
- type: "session.shell.ended";
2012
- durable: {
2013
- aggregateID: string;
2014
- seq: number;
2015
- version: 1;
2016
- };
2017
- location?: LocationRef;
2018
- data: {
2019
- sessionID: string;
2020
- shell: ShellInfo;
2021
- output: {
2022
- output: string;
2023
- cursor: number;
2024
- size: number;
2025
- truncated: boolean;
2026
- };
2027
- };
2028
- };
2029
- export type ShellCreated = {
2030
- id: string;
2031
- created: number;
2032
- metadata?: {
2033
- [x: string]: any;
2034
- };
2035
- type: "shell.created";
2036
- location?: LocationRef;
2037
- data: {
2038
- info: ShellInfo;
2039
- };
2040
- };
2041
2335
  export type SessionToolSuccess = {
2042
2336
  id: string;
2043
2337
  created: number;
@@ -2120,6 +2414,7 @@ export type ModelInfo = {
2120
2414
  output: number;
2121
2415
  };
2122
2416
  };
2417
+ export type FormField = FormStringField | FormNumberField | FormIntegerField | FormBooleanField | FormMultiselectField | FormExternalField;
2123
2418
  export type FormState = {
2124
2419
  status: "pending";
2125
2420
  } | {
@@ -2132,76 +2427,17 @@ export type FormReplied = {
2132
2427
  id: string;
2133
2428
  created: number;
2134
2429
  metadata?: {
2135
- [x: string]: any;
2136
- };
2137
- type: "form.replied";
2138
- location?: LocationRef;
2139
- data: {
2140
- id: string;
2141
- sessionID: string;
2142
- answer: FormAnswer;
2143
- };
2144
- };
2145
- export type FormStringField1 = {
2146
- key: string;
2147
- title?: string;
2148
- description?: string;
2149
- required?: boolean;
2150
- when?: Array<FormWhen1>;
2151
- type: "string";
2152
- format?: "email" | "uri" | "date" | "date-time";
2153
- minLength?: number;
2154
- maxLength?: number;
2155
- pattern?: string;
2156
- placeholder?: string;
2157
- default?: string;
2158
- options?: Array<FormOption>;
2159
- custom?: boolean;
2160
- };
2161
- export type FormNumberField1 = {
2162
- key: string;
2163
- title?: string;
2164
- description?: string;
2165
- required?: boolean;
2166
- when?: Array<FormWhen1>;
2167
- type: "number";
2168
- minimum?: number;
2169
- maximum?: number;
2170
- default?: number;
2171
- };
2172
- export type FormIntegerField1 = {
2173
- key: string;
2174
- title?: string;
2175
- description?: string;
2176
- required?: boolean;
2177
- when?: Array<FormWhen1>;
2178
- type: "integer";
2179
- minimum?: number;
2180
- maximum?: number;
2181
- default?: number;
2182
- };
2183
- export type FormBooleanField1 = {
2184
- key: string;
2185
- title?: string;
2186
- description?: string;
2187
- required?: boolean;
2188
- when?: Array<FormWhen1>;
2189
- type: "boolean";
2190
- default?: boolean;
2191
- };
2192
- export type FormMultiselectField1 = {
2193
- key: string;
2194
- title?: string;
2195
- description?: string;
2196
- required?: boolean;
2197
- when?: Array<FormWhen1>;
2198
- type: "multiselect";
2199
- options: Array<FormOption>;
2200
- minItems?: number;
2201
- maxItems?: number;
2202
- custom?: boolean;
2203
- default?: Array<string>;
2430
+ [x: string]: any;
2431
+ };
2432
+ type: "form.replied";
2433
+ location?: LocationRef;
2434
+ data: {
2435
+ id: string;
2436
+ sessionID: string;
2437
+ answer: FormAnswer;
2438
+ };
2204
2439
  };
2440
+ export type FormField1 = FormStringField1 | FormNumberField1 | FormIntegerField1 | FormBooleanField1 | FormMultiselectField1 | FormExternalField;
2205
2441
  export type ReferenceInfo = {
2206
2442
  name: string;
2207
2443
  path: string;
@@ -2369,307 +2605,132 @@ export type ConfigEntry = {
2369
2605
  model: string;
2370
2606
  variant?: string;
2371
2607
  };
2372
- subtask?: boolean;
2373
- };
2374
- };
2375
- instructions?: Array<string>;
2376
- references?: {
2377
- [x: string]: string | {
2378
- repository: string;
2379
- branch?: string;
2380
- description?: string;
2381
- hidden?: boolean;
2382
- } | {
2383
- path: string;
2384
- description?: string;
2385
- hidden?: boolean;
2386
- };
2387
- };
2388
- websearch?: false | {
2389
- provider: "random" | (string & {});
2390
- };
2391
- plugins?: Array<string | {
2392
- package: string;
2393
- options?: {
2394
- [x: string]: JsonValue;
2395
- };
2396
- }>;
2397
- warming?: boolean | {
2398
- prompt?: string;
2399
- interval?: string;
2400
- duration?: string;
2401
- };
2402
- providers?: {
2403
- [x: string]: {
2404
- name?: string;
2405
- env?: Array<string>;
2406
- package?: string;
2407
- settings?: {
2408
- [x: string]: JsonValue;
2409
- };
2410
- headers?: {
2411
- [x: string]: string;
2412
- };
2413
- body?: {
2414
- [x: string]: JsonValue;
2415
- };
2416
- models?: {
2417
- [x: string]: {
2418
- modelID?: string;
2419
- family?: string;
2420
- name?: string;
2421
- compatibility?: ModelCompatibility;
2422
- package?: string;
2423
- settings?: {
2424
- [x: string]: JsonValue;
2425
- };
2426
- headers?: {
2427
- [x: string]: string;
2428
- };
2429
- body?: {
2430
- [x: string]: JsonValue;
2431
- };
2432
- capabilities?: ModelCapabilities;
2433
- variants?: Array<{
2434
- id: string;
2435
- settings?: {
2436
- [x: string]: JsonValue;
2437
- };
2438
- headers?: {
2439
- [x: string]: string;
2440
- };
2441
- body?: {
2442
- [x: string]: JsonValue;
2443
- };
2444
- }>;
2445
- cost?: {
2446
- tier?: {
2447
- type: "context";
2448
- size: number;
2449
- };
2450
- input: MoneyUSDPerMillionTokens;
2451
- output: MoneyUSDPerMillionTokens;
2452
- cache?: {
2453
- read?: MoneyUSDPerMillionTokens;
2454
- write?: MoneyUSDPerMillionTokens;
2455
- };
2456
- } | Array<{
2457
- tier?: {
2458
- type: "context";
2459
- size: number;
2460
- };
2461
- input: MoneyUSDPerMillionTokens;
2462
- output: MoneyUSDPerMillionTokens;
2463
- cache?: {
2464
- read?: MoneyUSDPerMillionTokens;
2465
- write?: MoneyUSDPerMillionTokens;
2466
- };
2467
- }>;
2468
- disabled?: boolean;
2469
- limit?: {
2470
- context?: number;
2471
- input?: number;
2472
- output?: number;
2473
- };
2474
- };
2475
- };
2476
- };
2477
- };
2478
- experimental?: {
2479
- portable_shell_scanner?: boolean;
2480
- subagent_depth?: number;
2481
- policies?: Array<{
2482
- action: "provider.use";
2483
- resource: string;
2484
- effect: "allow" | "deny";
2485
- }>;
2486
- };
2487
- };
2488
- } | {
2489
- type: "directory";
2490
- path: string;
2491
- } | {
2492
- type: "agents";
2493
- path: string;
2494
- } | {
2495
- type: "claude";
2496
- path: string;
2497
- };
2498
- export type SessionStatsInfo = {
2499
- range: {
2500
- from: number;
2501
- to: number;
2502
- };
2503
- sessions: number;
2504
- subagents: number;
2505
- prompts: number;
2506
- steps: number;
2507
- tokens: TokenUsageInfo;
2508
- cost: MoneyUSD;
2509
- tools: SessionStatsTools;
2510
- activeDays: number;
2511
- streak: number;
2512
- activity: Array<SessionStatsActivity>;
2513
- models: Array<SessionStatsModelUsage>;
2514
- };
2515
- export type SessionInfo = {
2516
- id: string;
2517
- parentID?: string;
2518
- fork?: {
2519
- sessionID: string;
2520
- boundary: SessionForkBoundary;
2521
- };
2522
- projectID: string;
2523
- agent?: string;
2524
- model?: ModelRef;
2525
- cost: MoneyUSD;
2526
- tokens: TokenUsageInfo;
2527
- outcome?: "succeeded" | "failed" | "interrupted";
2528
- time: {
2529
- created: number;
2530
- updated: number;
2531
- idle?: number;
2532
- viewed?: number;
2533
- archived?: number;
2534
- };
2535
- title?: string;
2536
- location: LocationRef;
2537
- subpath?: string;
2538
- revert?: SessionRevert;
2539
- };
2540
- export type SessionRevertStaged = {
2541
- id: string;
2542
- created: number;
2543
- metadata?: {
2544
- [x: string]: any;
2545
- };
2546
- type: "session.revert.staged";
2547
- durable: {
2548
- aggregateID: string;
2549
- seq: number;
2550
- version: 1;
2551
- };
2552
- location?: LocationRef;
2553
- data: {
2554
- sessionID: string;
2555
- revert: SessionRevert;
2556
- };
2557
- };
2558
- export type SessionMessageCompaction = SessionMessageCompactionRunning | SessionMessageCompactionCompleted | SessionMessageCompactionFailed;
2559
- export type SessionMessageUser = {
2560
- id: string;
2561
- metadata?: {
2562
- [x: string]: JsonValue;
2563
- };
2564
- time: {
2565
- created: number;
2566
- };
2567
- text: string;
2568
- files?: Array<PromptFileAttachment>;
2569
- agents?: Array<PromptAgentAttachment>;
2570
- skills?: Array<PromptSkillAttachment>;
2571
- type: "user";
2572
- };
2573
- export type SessionInboxUserPayload = {
2574
- text: string;
2575
- files?: Array<PromptFileAttachment>;
2576
- agents?: Array<PromptAgentAttachment>;
2577
- skills?: Array<PromptSkillAttachment>;
2578
- metadata?: {
2579
- [x: string]: JsonValue;
2580
- };
2581
- };
2582
- export type SessionInboxUserPayload1 = {
2583
- text: string;
2584
- files?: Array<PromptFileAttachment>;
2585
- agents?: Array<PromptAgentAttachment>;
2586
- skills?: Array<PromptSkillAttachment>;
2587
- metadata?: {
2588
- [x: string]: any;
2589
- };
2590
- };
2591
- export type IntegrationAttemptStatus = {
2592
- status: "pending";
2593
- time: {
2594
- created: number | ("Infinity" | "-Infinity" | "NaN");
2595
- expires: number | ("Infinity" | "-Infinity" | "NaN");
2596
- };
2597
- } | {
2598
- status: "complete";
2599
- time: {
2600
- created: number | ("Infinity" | "-Infinity" | "NaN");
2601
- expires: number | ("Infinity" | "-Infinity" | "NaN");
2602
- };
2603
- } | {
2604
- status: "failed";
2605
- message: string;
2606
- time: {
2607
- created: number | ("Infinity" | "-Infinity" | "NaN");
2608
- expires: number | ("Infinity" | "-Infinity" | "NaN");
2609
- };
2610
- } | {
2611
- status: "expired";
2612
- time: {
2613
- created: number | ("Infinity" | "-Infinity" | "NaN");
2614
- expires: number | ("Infinity" | "-Infinity" | "NaN");
2615
- };
2616
- };
2617
- export type IntegrationCommandAttempt = {
2618
- attemptID: string;
2619
- time: {
2620
- created: number | ("Infinity" | "-Infinity" | "NaN");
2621
- expires: number | ("Infinity" | "-Infinity" | "NaN");
2622
- };
2623
- };
2624
- export type IntegrationCommandAttemptStatus = {
2625
- status: "pending";
2626
- message?: string;
2627
- time: {
2628
- created: number | ("Infinity" | "-Infinity" | "NaN");
2629
- expires: number | ("Infinity" | "-Infinity" | "NaN");
2608
+ subtask?: boolean;
2609
+ };
2610
+ };
2611
+ instructions?: Array<string>;
2612
+ references?: {
2613
+ [x: string]: string | {
2614
+ repository: string;
2615
+ branch?: string;
2616
+ description?: string;
2617
+ hidden?: boolean;
2618
+ } | {
2619
+ path: string;
2620
+ description?: string;
2621
+ hidden?: boolean;
2622
+ };
2623
+ };
2624
+ websearch?: false | {
2625
+ provider: "random" | (string & {});
2626
+ };
2627
+ plugins?: Array<string | {
2628
+ package: string;
2629
+ options?: {
2630
+ [x: string]: JsonValue;
2631
+ };
2632
+ }>;
2633
+ warming?: boolean | {
2634
+ prompt?: string;
2635
+ interval?: string;
2636
+ duration?: string;
2637
+ };
2638
+ providers?: {
2639
+ [x: string]: {
2640
+ name?: string;
2641
+ env?: Array<string>;
2642
+ package?: string;
2643
+ settings?: {
2644
+ [x: string]: JsonValue;
2645
+ };
2646
+ headers?: {
2647
+ [x: string]: string;
2648
+ };
2649
+ body?: {
2650
+ [x: string]: JsonValue;
2651
+ };
2652
+ models?: {
2653
+ [x: string]: {
2654
+ modelID?: string;
2655
+ family?: string;
2656
+ name?: string;
2657
+ compatibility?: ModelCompatibility;
2658
+ package?: string;
2659
+ settings?: {
2660
+ [x: string]: JsonValue;
2661
+ };
2662
+ headers?: {
2663
+ [x: string]: string;
2664
+ };
2665
+ body?: {
2666
+ [x: string]: JsonValue;
2667
+ };
2668
+ capabilities?: ModelCapabilities;
2669
+ variants?: Array<{
2670
+ id: string;
2671
+ settings?: {
2672
+ [x: string]: JsonValue;
2673
+ };
2674
+ headers?: {
2675
+ [x: string]: string;
2676
+ };
2677
+ body?: {
2678
+ [x: string]: JsonValue;
2679
+ };
2680
+ }>;
2681
+ cost?: {
2682
+ tier?: {
2683
+ type: "context";
2684
+ size: number;
2685
+ };
2686
+ input: MoneyUSDPerMillionTokens;
2687
+ output: MoneyUSDPerMillionTokens;
2688
+ cache?: {
2689
+ read?: MoneyUSDPerMillionTokens;
2690
+ write?: MoneyUSDPerMillionTokens;
2691
+ };
2692
+ } | Array<{
2693
+ tier?: {
2694
+ type: "context";
2695
+ size: number;
2696
+ };
2697
+ input: MoneyUSDPerMillionTokens;
2698
+ output: MoneyUSDPerMillionTokens;
2699
+ cache?: {
2700
+ read?: MoneyUSDPerMillionTokens;
2701
+ write?: MoneyUSDPerMillionTokens;
2702
+ };
2703
+ }>;
2704
+ disabled?: boolean;
2705
+ limit?: {
2706
+ context?: number;
2707
+ input?: number;
2708
+ output?: number;
2709
+ };
2710
+ };
2711
+ };
2712
+ };
2713
+ };
2714
+ experimental?: {
2715
+ portable_shell_scanner?: boolean;
2716
+ subagent_depth?: number;
2717
+ policies?: Array<{
2718
+ action: "provider.use";
2719
+ resource: string;
2720
+ effect: "allow" | "deny";
2721
+ }>;
2722
+ };
2630
2723
  };
2631
2724
  } | {
2632
- status: "complete";
2633
- time: {
2634
- created: number | ("Infinity" | "-Infinity" | "NaN");
2635
- expires: number | ("Infinity" | "-Infinity" | "NaN");
2636
- };
2725
+ type: "directory";
2726
+ path: string;
2637
2727
  } | {
2638
- status: "failed";
2639
- message: string;
2640
- time: {
2641
- created: number | ("Infinity" | "-Infinity" | "NaN");
2642
- expires: number | ("Infinity" | "-Infinity" | "NaN");
2643
- };
2728
+ type: "agents";
2729
+ path: string;
2644
2730
  } | {
2645
- status: "expired";
2646
- time: {
2647
- created: number | ("Infinity" | "-Infinity" | "NaN");
2648
- expires: number | ("Infinity" | "-Infinity" | "NaN");
2649
- };
2650
- };
2651
- export type SessionMessageToolStateCompleted = {
2652
- status: "completed";
2653
- input: {
2654
- [x: string]: JsonValue;
2655
- };
2656
- content: [ToolContent, ...Array<ToolContent>];
2657
- metadata?: {
2658
- [x: string]: JsonValue;
2659
- };
2660
- };
2661
- export type SessionMessageToolStateError = {
2662
- status: "error";
2663
- input: {
2664
- [x: string]: JsonValue;
2665
- };
2666
- error: SessionStructuredError;
2667
- content?: [ToolContent, ...Array<ToolContent>];
2668
- metadata?: {
2669
- [x: string]: JsonValue;
2670
- };
2731
+ type: "claude";
2732
+ path: string;
2671
2733
  };
2672
- export type FormField1 = FormStringField1 | FormNumberField1 | FormIntegerField1 | FormBooleanField1 | FormMultiselectField1 | FormExternalField;
2673
2734
  export type SessionsResponse = {
2674
2735
  data: Array<SessionInfo>;
2675
2736
  cursor: {
@@ -2702,66 +2763,6 @@ export type SessionInboxItem = {
2702
2763
  payload: SessionInboxMovePayload;
2703
2764
  delivery: SessionInboxDelivery;
2704
2765
  };
2705
- export type FormStringField = {
2706
- key: string;
2707
- title?: string;
2708
- description?: string;
2709
- required?: boolean;
2710
- when?: Array<FormWhen>;
2711
- type: "string";
2712
- format?: "email" | "uri" | "date" | "date-time";
2713
- minLength?: number;
2714
- maxLength?: number;
2715
- pattern?: string;
2716
- placeholder?: string;
2717
- default?: string;
2718
- options?: Array<FormOption>;
2719
- custom?: boolean;
2720
- };
2721
- export type FormNumberField = {
2722
- key: string;
2723
- title?: string;
2724
- description?: string;
2725
- required?: boolean;
2726
- when?: Array<FormWhen>;
2727
- type: "number";
2728
- minimum?: number | ("Infinity" | "-Infinity" | "NaN");
2729
- maximum?: number | ("Infinity" | "-Infinity" | "NaN");
2730
- default?: number | ("Infinity" | "-Infinity" | "NaN");
2731
- };
2732
- export type FormIntegerField = {
2733
- key: string;
2734
- title?: string;
2735
- description?: string;
2736
- required?: boolean;
2737
- when?: Array<FormWhen>;
2738
- type: "integer";
2739
- minimum?: number | ("Infinity" | "-Infinity" | "NaN");
2740
- maximum?: number | ("Infinity" | "-Infinity" | "NaN");
2741
- default?: number | ("Infinity" | "-Infinity" | "NaN");
2742
- };
2743
- export type FormBooleanField = {
2744
- key: string;
2745
- title?: string;
2746
- description?: string;
2747
- required?: boolean;
2748
- when?: Array<FormWhen>;
2749
- type: "boolean";
2750
- default?: boolean;
2751
- };
2752
- export type FormMultiselectField = {
2753
- key: string;
2754
- title?: string;
2755
- description?: string;
2756
- required?: boolean;
2757
- when?: Array<FormWhen>;
2758
- type: "multiselect";
2759
- options: Array<FormOption>;
2760
- minItems?: number;
2761
- maxItems?: number;
2762
- custom?: boolean;
2763
- default?: Array<string>;
2764
- };
2765
2766
  export type SessionMessageAssistantTool = {
2766
2767
  type: "tool";
2767
2768
  id: string;
@@ -2776,6 +2777,7 @@ export type SessionMessageAssistantTool = {
2776
2777
  completed?: number;
2777
2778
  };
2778
2779
  };
2780
+ export type FormFields = [FormField, ...Array<FormField>];
2779
2781
  export type FormFields2 = [FormField1, ...Array<FormField1>];
2780
2782
  export type SessionInboxInfo = SessionInboxUser | SessionInboxSynthetic | SessionInboxCompaction | SessionInboxMove;
2781
2783
  export type SessionInboxEnqueued = {
@@ -2797,7 +2799,6 @@ export type SessionInboxEnqueued = {
2797
2799
  item: SessionInboxItem;
2798
2800
  };
2799
2801
  };
2800
- export type FormField = FormStringField | FormNumberField | FormIntegerField | FormBooleanField | FormMultiselectField | FormExternalField;
2801
2802
  export type SessionMessageAssistant = {
2802
2803
  id: string;
2803
2804
  metadata?: {
@@ -2824,6 +2825,24 @@ export type SessionMessageAssistant = {
2824
2825
  error?: SessionStructuredError;
2825
2826
  retry?: SessionMessageAssistantRetry;
2826
2827
  };
2828
+ export type IntegrationOAuthMethod = {
2829
+ id: string;
2830
+ type: "oauth";
2831
+ label: string;
2832
+ form?: FormFields;
2833
+ };
2834
+ export type IntegrationKeyMethod = {
2835
+ type: "key";
2836
+ label?: string;
2837
+ form?: FormFields;
2838
+ };
2839
+ export type FormInfo = {
2840
+ id: string;
2841
+ sessionID: string;
2842
+ title: string;
2843
+ metadata?: FormMetadata;
2844
+ fields: FormFields;
2845
+ };
2827
2846
  export type FormInfo1 = {
2828
2847
  id: string;
2829
2848
  sessionID: string;
@@ -2832,8 +2851,8 @@ export type FormInfo1 = {
2832
2851
  fields: FormFields2;
2833
2852
  };
2834
2853
  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;
2835
- export type FormFields = [FormField, ...Array<FormField>];
2836
2854
  export type SessionMessageInfo = SessionMessageAgentSelected | SessionMessageModelSelected | SessionMessageLocationSwitched | SessionMessageUser | SessionMessageSynthetic | SessionMessageSystem | SessionMessageSkill | SessionMessageShell | SessionMessageAssistant | SessionMessageCompaction;
2855
+ export type IntegrationMethod = IntegrationOAuthMethod | IntegrationCommandMethod | IntegrationKeyMethod | IntegrationEnvMethod;
2837
2856
  export type FormCreated = {
2838
2857
  id: string;
2839
2858
  created: number;
@@ -2847,24 +2866,6 @@ export type FormCreated = {
2847
2866
  };
2848
2867
  };
2849
2868
  export type SessionLogItem = SessionEventDurable | EventLogSynced;
2850
- export type IntegrationOAuthMethod = {
2851
- id: string;
2852
- type: "oauth";
2853
- label: string;
2854
- form?: FormFields;
2855
- };
2856
- export type IntegrationKeyMethod = {
2857
- type: "key";
2858
- label?: string;
2859
- form?: FormFields;
2860
- };
2861
- export type FormInfo = {
2862
- id: string;
2863
- sessionID: string;
2864
- title: string;
2865
- metadata?: FormMetadata;
2866
- fields: FormFields;
2867
- };
2868
2869
  export type SessionTransferData = {
2869
2870
  info: SessionInfo;
2870
2871
  messages: Array<SessionMessageInfo>;
@@ -2876,14 +2877,13 @@ export type SessionMessagesResponse = {
2876
2877
  next?: string | null;
2877
2878
  };
2878
2879
  };
2879
- 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;
2880
- export type IntegrationMethod = IntegrationOAuthMethod | IntegrationCommandMethod | IntegrationKeyMethod | IntegrationEnvMethod;
2881
2880
  export type IntegrationInfo = {
2882
2881
  id: string;
2883
2882
  name: string;
2884
2883
  methods: Array<IntegrationMethod>;
2885
2884
  connections: Array<ConnectionInfo>;
2886
2885
  };
2886
+ 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;
2887
2887
  export type UnauthorizedError = {
2888
2888
  readonly _tag: "UnauthorizedError";
2889
2889
  readonly message: string;
@@ -5718,8 +5718,8 @@ export type IntegrationOauthConnectOutput = {
5718
5718
  instructions: string;
5719
5719
  mode: "auto" | "code";
5720
5720
  time: {
5721
- created: number | ("Infinity" | "-Infinity" | "NaN");
5722
- expires: number | ("Infinity" | "-Infinity" | "NaN");
5721
+ created: number | "Infinity" | "-Infinity" | "NaN";
5722
+ expires: number | "Infinity" | "-Infinity" | "NaN";
5723
5723
  };
5724
5724
  };
5725
5725
  };
@@ -6073,7 +6073,7 @@ export type FormCreateInput = {
6073
6073
  readonly when?: ReadonlyArray<{
6074
6074
  readonly key: string;
6075
6075
  readonly op: "eq" | "neq";
6076
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6076
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6077
6077
  }>;
6078
6078
  readonly type: "string";
6079
6079
  readonly format?: "email" | "uri" | "date" | "date-time";
@@ -6096,12 +6096,12 @@ export type FormCreateInput = {
6096
6096
  readonly when?: ReadonlyArray<{
6097
6097
  readonly key: string;
6098
6098
  readonly op: "eq" | "neq";
6099
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6099
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6100
6100
  }>;
6101
6101
  readonly type: "number";
6102
- readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6103
- readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6104
- 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";
6105
6105
  } | {
6106
6106
  readonly key: string;
6107
6107
  readonly title?: string;
@@ -6110,12 +6110,12 @@ export type FormCreateInput = {
6110
6110
  readonly when?: ReadonlyArray<{
6111
6111
  readonly key: string;
6112
6112
  readonly op: "eq" | "neq";
6113
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6113
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6114
6114
  }>;
6115
6115
  readonly type: "integer";
6116
- readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6117
- readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6118
- 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";
6119
6119
  } | {
6120
6120
  readonly key: string;
6121
6121
  readonly title?: string;
@@ -6124,7 +6124,7 @@ export type FormCreateInput = {
6124
6124
  readonly when?: ReadonlyArray<{
6125
6125
  readonly key: string;
6126
6126
  readonly op: "eq" | "neq";
6127
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6127
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6128
6128
  }>;
6129
6129
  readonly type: "boolean";
6130
6130
  readonly default?: boolean;
@@ -6136,7 +6136,7 @@ export type FormCreateInput = {
6136
6136
  readonly when?: ReadonlyArray<{
6137
6137
  readonly key: string;
6138
6138
  readonly op: "eq" | "neq";
6139
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6139
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6140
6140
  }>;
6141
6141
  readonly type: "multiselect";
6142
6142
  readonly options: ReadonlyArray<{
@@ -6163,7 +6163,7 @@ export type FormCreateInput = {
6163
6163
  readonly when?: ReadonlyArray<{
6164
6164
  readonly key: string;
6165
6165
  readonly op: "eq" | "neq";
6166
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6166
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6167
6167
  }>;
6168
6168
  readonly type: "string";
6169
6169
  readonly format?: "email" | "uri" | "date" | "date-time";
@@ -6186,12 +6186,12 @@ export type FormCreateInput = {
6186
6186
  readonly when?: ReadonlyArray<{
6187
6187
  readonly key: string;
6188
6188
  readonly op: "eq" | "neq";
6189
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6189
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6190
6190
  }>;
6191
6191
  readonly type: "number";
6192
- readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6193
- readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6194
- 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";
6195
6195
  } | {
6196
6196
  readonly key: string;
6197
6197
  readonly title?: string;
@@ -6200,12 +6200,12 @@ export type FormCreateInput = {
6200
6200
  readonly when?: ReadonlyArray<{
6201
6201
  readonly key: string;
6202
6202
  readonly op: "eq" | "neq";
6203
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6203
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6204
6204
  }>;
6205
6205
  readonly type: "integer";
6206
- readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6207
- readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6208
- 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";
6209
6209
  } | {
6210
6210
  readonly key: string;
6211
6211
  readonly title?: string;
@@ -6214,7 +6214,7 @@ export type FormCreateInput = {
6214
6214
  readonly when?: ReadonlyArray<{
6215
6215
  readonly key: string;
6216
6216
  readonly op: "eq" | "neq";
6217
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6217
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6218
6218
  }>;
6219
6219
  readonly type: "boolean";
6220
6220
  readonly default?: boolean;
@@ -6226,7 +6226,7 @@ export type FormCreateInput = {
6226
6226
  readonly when?: ReadonlyArray<{
6227
6227
  readonly key: string;
6228
6228
  readonly op: "eq" | "neq";
6229
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6229
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6230
6230
  }>;
6231
6231
  readonly type: "multiselect";
6232
6232
  readonly options: ReadonlyArray<{
@@ -6262,7 +6262,7 @@ export type FormCreateInput = {
6262
6262
  readonly when?: ReadonlyArray<{
6263
6263
  readonly key: string;
6264
6264
  readonly op: "eq" | "neq";
6265
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6265
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6266
6266
  }>;
6267
6267
  readonly type: "string";
6268
6268
  readonly format?: "email" | "uri" | "date" | "date-time";
@@ -6285,12 +6285,12 @@ export type FormCreateInput = {
6285
6285
  readonly when?: ReadonlyArray<{
6286
6286
  readonly key: string;
6287
6287
  readonly op: "eq" | "neq";
6288
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6288
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6289
6289
  }>;
6290
6290
  readonly type: "number";
6291
- readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6292
- readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6293
- 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";
6294
6294
  } | {
6295
6295
  readonly key: string;
6296
6296
  readonly title?: string;
@@ -6299,12 +6299,12 @@ export type FormCreateInput = {
6299
6299
  readonly when?: ReadonlyArray<{
6300
6300
  readonly key: string;
6301
6301
  readonly op: "eq" | "neq";
6302
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6302
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6303
6303
  }>;
6304
6304
  readonly type: "integer";
6305
- readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6306
- readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6307
- 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";
6308
6308
  } | {
6309
6309
  readonly key: string;
6310
6310
  readonly title?: string;
@@ -6313,7 +6313,7 @@ export type FormCreateInput = {
6313
6313
  readonly when?: ReadonlyArray<{
6314
6314
  readonly key: string;
6315
6315
  readonly op: "eq" | "neq";
6316
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6316
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6317
6317
  }>;
6318
6318
  readonly type: "boolean";
6319
6319
  readonly default?: boolean;
@@ -6325,7 +6325,7 @@ export type FormCreateInput = {
6325
6325
  readonly when?: ReadonlyArray<{
6326
6326
  readonly key: string;
6327
6327
  readonly op: "eq" | "neq";
6328
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6328
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6329
6329
  }>;
6330
6330
  readonly type: "multiselect";
6331
6331
  readonly options: ReadonlyArray<{
@@ -6352,7 +6352,7 @@ export type FormCreateInput = {
6352
6352
  readonly when?: ReadonlyArray<{
6353
6353
  readonly key: string;
6354
6354
  readonly op: "eq" | "neq";
6355
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6355
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6356
6356
  }>;
6357
6357
  readonly type: "string";
6358
6358
  readonly format?: "email" | "uri" | "date" | "date-time";
@@ -6375,12 +6375,12 @@ export type FormCreateInput = {
6375
6375
  readonly when?: ReadonlyArray<{
6376
6376
  readonly key: string;
6377
6377
  readonly op: "eq" | "neq";
6378
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6378
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6379
6379
  }>;
6380
6380
  readonly type: "number";
6381
- readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6382
- readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6383
- 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";
6384
6384
  } | {
6385
6385
  readonly key: string;
6386
6386
  readonly title?: string;
@@ -6389,12 +6389,12 @@ export type FormCreateInput = {
6389
6389
  readonly when?: ReadonlyArray<{
6390
6390
  readonly key: string;
6391
6391
  readonly op: "eq" | "neq";
6392
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6392
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6393
6393
  }>;
6394
6394
  readonly type: "integer";
6395
- readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6396
- readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6397
- 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";
6398
6398
  } | {
6399
6399
  readonly key: string;
6400
6400
  readonly title?: string;
@@ -6403,7 +6403,7 @@ export type FormCreateInput = {
6403
6403
  readonly when?: ReadonlyArray<{
6404
6404
  readonly key: string;
6405
6405
  readonly op: "eq" | "neq";
6406
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6406
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6407
6407
  }>;
6408
6408
  readonly type: "boolean";
6409
6409
  readonly default?: boolean;
@@ -6415,7 +6415,7 @@ export type FormCreateInput = {
6415
6415
  readonly when?: ReadonlyArray<{
6416
6416
  readonly key: string;
6417
6417
  readonly op: "eq" | "neq";
6418
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6418
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6419
6419
  }>;
6420
6420
  readonly type: "multiselect";
6421
6421
  readonly options: ReadonlyArray<{
@@ -6451,7 +6451,7 @@ export type FormCreateInput = {
6451
6451
  readonly when?: ReadonlyArray<{
6452
6452
  readonly key: string;
6453
6453
  readonly op: "eq" | "neq";
6454
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6454
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6455
6455
  }>;
6456
6456
  readonly type: "string";
6457
6457
  readonly format?: "email" | "uri" | "date" | "date-time";
@@ -6474,12 +6474,12 @@ export type FormCreateInput = {
6474
6474
  readonly when?: ReadonlyArray<{
6475
6475
  readonly key: string;
6476
6476
  readonly op: "eq" | "neq";
6477
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6477
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6478
6478
  }>;
6479
6479
  readonly type: "number";
6480
- readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6481
- readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6482
- 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";
6483
6483
  } | {
6484
6484
  readonly key: string;
6485
6485
  readonly title?: string;
@@ -6488,12 +6488,12 @@ export type FormCreateInput = {
6488
6488
  readonly when?: ReadonlyArray<{
6489
6489
  readonly key: string;
6490
6490
  readonly op: "eq" | "neq";
6491
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6491
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6492
6492
  }>;
6493
6493
  readonly type: "integer";
6494
- readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6495
- readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6496
- 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";
6497
6497
  } | {
6498
6498
  readonly key: string;
6499
6499
  readonly title?: string;
@@ -6502,7 +6502,7 @@ export type FormCreateInput = {
6502
6502
  readonly when?: ReadonlyArray<{
6503
6503
  readonly key: string;
6504
6504
  readonly op: "eq" | "neq";
6505
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6505
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6506
6506
  }>;
6507
6507
  readonly type: "boolean";
6508
6508
  readonly default?: boolean;
@@ -6514,7 +6514,7 @@ export type FormCreateInput = {
6514
6514
  readonly when?: ReadonlyArray<{
6515
6515
  readonly key: string;
6516
6516
  readonly op: "eq" | "neq";
6517
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6517
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6518
6518
  }>;
6519
6519
  readonly type: "multiselect";
6520
6520
  readonly options: ReadonlyArray<{
@@ -6541,7 +6541,7 @@ export type FormCreateInput = {
6541
6541
  readonly when?: ReadonlyArray<{
6542
6542
  readonly key: string;
6543
6543
  readonly op: "eq" | "neq";
6544
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6544
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6545
6545
  }>;
6546
6546
  readonly type: "string";
6547
6547
  readonly format?: "email" | "uri" | "date" | "date-time";
@@ -6564,12 +6564,12 @@ export type FormCreateInput = {
6564
6564
  readonly when?: ReadonlyArray<{
6565
6565
  readonly key: string;
6566
6566
  readonly op: "eq" | "neq";
6567
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6567
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6568
6568
  }>;
6569
6569
  readonly type: "number";
6570
- readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6571
- readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6572
- 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";
6573
6573
  } | {
6574
6574
  readonly key: string;
6575
6575
  readonly title?: string;
@@ -6578,12 +6578,12 @@ export type FormCreateInput = {
6578
6578
  readonly when?: ReadonlyArray<{
6579
6579
  readonly key: string;
6580
6580
  readonly op: "eq" | "neq";
6581
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6581
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6582
6582
  }>;
6583
6583
  readonly type: "integer";
6584
- readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6585
- readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6586
- 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";
6587
6587
  } | {
6588
6588
  readonly key: string;
6589
6589
  readonly title?: string;
@@ -6592,7 +6592,7 @@ export type FormCreateInput = {
6592
6592
  readonly when?: ReadonlyArray<{
6593
6593
  readonly key: string;
6594
6594
  readonly op: "eq" | "neq";
6595
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6595
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6596
6596
  }>;
6597
6597
  readonly type: "boolean";
6598
6598
  readonly default?: boolean;
@@ -6604,7 +6604,7 @@ export type FormCreateInput = {
6604
6604
  readonly when?: ReadonlyArray<{
6605
6605
  readonly key: string;
6606
6606
  readonly op: "eq" | "neq";
6607
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6607
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6608
6608
  }>;
6609
6609
  readonly type: "multiselect";
6610
6610
  readonly options: ReadonlyArray<{
@@ -6640,7 +6640,7 @@ export type FormCreateInput = {
6640
6640
  readonly when?: ReadonlyArray<{
6641
6641
  readonly key: string;
6642
6642
  readonly op: "eq" | "neq";
6643
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6643
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6644
6644
  }>;
6645
6645
  readonly type: "string";
6646
6646
  readonly format?: "email" | "uri" | "date" | "date-time";
@@ -6663,12 +6663,12 @@ export type FormCreateInput = {
6663
6663
  readonly when?: ReadonlyArray<{
6664
6664
  readonly key: string;
6665
6665
  readonly op: "eq" | "neq";
6666
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6666
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6667
6667
  }>;
6668
6668
  readonly type: "number";
6669
- readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6670
- readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6671
- 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";
6672
6672
  } | {
6673
6673
  readonly key: string;
6674
6674
  readonly title?: string;
@@ -6677,12 +6677,12 @@ export type FormCreateInput = {
6677
6677
  readonly when?: ReadonlyArray<{
6678
6678
  readonly key: string;
6679
6679
  readonly op: "eq" | "neq";
6680
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6680
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6681
6681
  }>;
6682
6682
  readonly type: "integer";
6683
- readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6684
- readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6685
- 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";
6686
6686
  } | {
6687
6687
  readonly key: string;
6688
6688
  readonly title?: string;
@@ -6691,7 +6691,7 @@ export type FormCreateInput = {
6691
6691
  readonly when?: ReadonlyArray<{
6692
6692
  readonly key: string;
6693
6693
  readonly op: "eq" | "neq";
6694
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6694
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6695
6695
  }>;
6696
6696
  readonly type: "boolean";
6697
6697
  readonly default?: boolean;
@@ -6703,7 +6703,7 @@ export type FormCreateInput = {
6703
6703
  readonly when?: ReadonlyArray<{
6704
6704
  readonly key: string;
6705
6705
  readonly op: "eq" | "neq";
6706
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6706
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6707
6707
  }>;
6708
6708
  readonly type: "multiselect";
6709
6709
  readonly options: ReadonlyArray<{
@@ -6730,7 +6730,7 @@ export type FormCreateInput = {
6730
6730
  readonly when?: ReadonlyArray<{
6731
6731
  readonly key: string;
6732
6732
  readonly op: "eq" | "neq";
6733
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6733
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6734
6734
  }>;
6735
6735
  readonly type: "string";
6736
6736
  readonly format?: "email" | "uri" | "date" | "date-time";
@@ -6753,12 +6753,12 @@ export type FormCreateInput = {
6753
6753
  readonly when?: ReadonlyArray<{
6754
6754
  readonly key: string;
6755
6755
  readonly op: "eq" | "neq";
6756
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6756
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6757
6757
  }>;
6758
6758
  readonly type: "number";
6759
- readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6760
- readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6761
- 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";
6762
6762
  } | {
6763
6763
  readonly key: string;
6764
6764
  readonly title?: string;
@@ -6767,12 +6767,12 @@ export type FormCreateInput = {
6767
6767
  readonly when?: ReadonlyArray<{
6768
6768
  readonly key: string;
6769
6769
  readonly op: "eq" | "neq";
6770
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6770
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6771
6771
  }>;
6772
6772
  readonly type: "integer";
6773
- readonly minimum?: number | ("Infinity" | "-Infinity" | "NaN");
6774
- readonly maximum?: number | ("Infinity" | "-Infinity" | "NaN");
6775
- 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";
6776
6776
  } | {
6777
6777
  readonly key: string;
6778
6778
  readonly title?: string;
@@ -6781,7 +6781,7 @@ export type FormCreateInput = {
6781
6781
  readonly when?: ReadonlyArray<{
6782
6782
  readonly key: string;
6783
6783
  readonly op: "eq" | "neq";
6784
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6784
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6785
6785
  }>;
6786
6786
  readonly type: "boolean";
6787
6787
  readonly default?: boolean;
@@ -6793,7 +6793,7 @@ export type FormCreateInput = {
6793
6793
  readonly when?: ReadonlyArray<{
6794
6794
  readonly key: string;
6795
6795
  readonly op: "eq" | "neq";
6796
- readonly value: string | number | ("Infinity" | "-Infinity" | "NaN") | boolean;
6796
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6797
6797
  }>;
6798
6798
  readonly type: "multiselect";
6799
6799
  readonly options: ReadonlyArray<{
@@ -7628,6 +7628,19 @@ export type WorktreeRefreshInput = {
7628
7628
  }["projectID"];
7629
7629
  };
7630
7630
  export type WorktreeRefreshOutput = void;
7631
+ export type WorkspaceCreateInput = {
7632
+ readonly id?: {
7633
+ readonly id?: string | undefined;
7634
+ readonly provider: string;
7635
+ }["id"];
7636
+ readonly provider: {
7637
+ readonly id?: string | undefined;
7638
+ readonly provider: string;
7639
+ }["provider"];
7640
+ };
7641
+ export type WorkspaceCreateOutput = {
7642
+ data: string;
7643
+ }["data"];
7631
7644
  export type WorkspaceDestroyInput = {
7632
7645
  readonly workspaceID: {
7633
7646
  readonly workspaceID: string;