@opencode/client 2.0.3 → 2.0.4

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.
@@ -1,10 +1,21 @@
1
1
  export type JsonValue = null | boolean | number | string | Array<JsonValue> | {
2
2
  [key: string]: JsonValue;
3
3
  };
4
- export type ServiceHealth = {
5
- healthy: true;
4
+ export type ServerStatus = {
6
5
  version: string;
7
6
  pid: number;
7
+ urls: Array<string>;
8
+ };
9
+ export type LocationPublicInfo = {
10
+ directory: string;
11
+ project: {
12
+ id: string;
13
+ directory: string;
14
+ canonical: string;
15
+ };
16
+ };
17
+ export type LocationPublicRef = {
18
+ directory: string;
8
19
  };
9
20
  export type ModelRef = {
10
21
  id: string;
@@ -59,10 +70,6 @@ export type TokenUsageInfo = {
59
70
  write: number;
60
71
  };
61
72
  };
62
- export type LocationRef = {
63
- directory: string;
64
- workspaceID?: string;
65
- };
66
73
  export type SessionMetadata = {
67
74
  [x: string]: JsonValue;
68
75
  };
@@ -255,6 +262,10 @@ export type SessionGenerateResponse = {
255
262
  text: string;
256
263
  };
257
264
  };
265
+ export type LocationRef = {
266
+ directory: string;
267
+ workspaceID?: string;
268
+ };
258
269
  export type SessionInboxSyntheticPayload1 = {
259
270
  text: string;
260
271
  description?: string;
@@ -305,6 +316,27 @@ export type EventLogSynced = {
305
316
  export type SessionInterruptResponse = {
306
317
  interrupted: boolean;
307
318
  };
319
+ export type FormMetadata = {
320
+ [x: string]: JsonValue;
321
+ };
322
+ export type FormWhen = {
323
+ key: string;
324
+ op: "eq" | "neq";
325
+ value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
326
+ };
327
+ export type FormOption = {
328
+ value: string;
329
+ label: string;
330
+ description?: string;
331
+ };
332
+ export type FormExternalField = {
333
+ key: string;
334
+ type: "external";
335
+ url: string;
336
+ title?: string;
337
+ description?: string;
338
+ };
339
+ export type FormValue = string | number | "Infinity" | "-Infinity" | "NaN" | boolean | Array<string>;
308
340
  export type ModelReasoningField = "reasoning" | "reasoning_content" | "reasoning_text" | (string & {});
309
341
  export type ModelMaxTokensField = "max_completion_tokens" | "max_tokens";
310
342
  export type ProviderCompaction = {
@@ -313,11 +345,11 @@ export type ProviderCompaction = {
313
345
  mode: "provider";
314
346
  threshold?: number;
315
347
  };
348
+ export type ProviderTransport = "http" | "websocket";
316
349
  export type ModelCapabilities = {
317
350
  tools: boolean;
318
351
  input: Array<string>;
319
352
  output: Array<string>;
320
- responsesWebsockets?: boolean;
321
353
  };
322
354
  export type ModelVariant = {
323
355
  id: string;
@@ -337,23 +369,6 @@ export type GenerateTextResponse = {
337
369
  text: string;
338
370
  };
339
371
  };
340
- export type FormWhen = {
341
- key: string;
342
- op: "eq" | "neq";
343
- value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
344
- };
345
- export type FormOption = {
346
- value: string;
347
- label: string;
348
- description?: string;
349
- };
350
- export type FormExternalField = {
351
- key: string;
352
- type: "external";
353
- url: string;
354
- title?: string;
355
- description?: string;
356
- };
357
372
  export type IntegrationCommandMethod = {
358
373
  id: string;
359
374
  type: "command";
@@ -373,37 +388,47 @@ export type ConnectionEnvInfo = {
373
388
  type: "env";
374
389
  name: string;
375
390
  };
391
+ export type IntegrationAttempt = {
392
+ attemptID: string;
393
+ url: string;
394
+ instructions: string;
395
+ mode: "auto" | "code";
396
+ time: {
397
+ created: number;
398
+ expires: number;
399
+ };
400
+ };
376
401
  export type IntegrationAttemptStatus = {
377
402
  status: "pending";
378
403
  time: {
379
- created: number | "Infinity" | "-Infinity" | "NaN";
380
- expires: number | "Infinity" | "-Infinity" | "NaN";
404
+ created: number;
405
+ expires: number;
381
406
  };
382
407
  } | {
383
408
  status: "complete";
384
409
  time: {
385
- created: number | "Infinity" | "-Infinity" | "NaN";
386
- expires: number | "Infinity" | "-Infinity" | "NaN";
410
+ created: number;
411
+ expires: number;
387
412
  };
388
413
  } | {
389
414
  status: "failed";
390
415
  message: string;
391
416
  time: {
392
- created: number | "Infinity" | "-Infinity" | "NaN";
393
- expires: number | "Infinity" | "-Infinity" | "NaN";
417
+ created: number;
418
+ expires: number;
394
419
  };
395
420
  } | {
396
421
  status: "expired";
397
422
  time: {
398
- created: number | "Infinity" | "-Infinity" | "NaN";
399
- expires: number | "Infinity" | "-Infinity" | "NaN";
423
+ created: number;
424
+ expires: number;
400
425
  };
401
426
  };
402
427
  export type IntegrationCommandAttempt = {
403
428
  attemptID: string;
404
429
  time: {
405
- created: number | "Infinity" | "-Infinity" | "NaN";
406
- expires: number | "Infinity" | "-Infinity" | "NaN";
430
+ created: number;
431
+ expires: number;
407
432
  };
408
433
  };
409
434
  export type IntegrationCommandAttemptStatus = {
@@ -448,6 +473,7 @@ export type McpStatusFailed = {
448
473
  };
449
474
  export type McpStatusNeedsAuth = {
450
475
  status: "needs_auth";
476
+ error: string;
451
477
  };
452
478
  export type McpResource = {
453
479
  server: string;
@@ -475,17 +501,7 @@ export type ProjectCommands = {
475
501
  export type ProjectTime = {
476
502
  created: number;
477
503
  updated: number;
478
- initialized?: number;
479
- };
480
- export type ProjectCurrent = {
481
- id: string;
482
- directory: string;
483
- canonical: string;
484
- };
485
- export type FormMetadata = {
486
- [x: string]: JsonValue;
487
504
  };
488
- export type FormValue = string | number | boolean | Array<string>;
489
505
  export type PermissionSource = {
490
506
  type: "tool";
491
507
  messageID: string;
@@ -496,6 +512,10 @@ export type PermissionSavedInfo = {
496
512
  projectID: string;
497
513
  action: string;
498
514
  resource: string;
515
+ time: {
516
+ created: number;
517
+ updated: number;
518
+ };
499
519
  };
500
520
  export type FileSystemEntry = {
501
521
  path: string;
@@ -509,9 +529,8 @@ export type SkillInfo = {
509
529
  id: string;
510
530
  name: string;
511
531
  description?: string;
512
- slash?: boolean;
513
532
  autoinvoke?: boolean;
514
- location: string;
533
+ path: string;
515
534
  content: string;
516
535
  };
517
536
  export type RpcOutput = {
@@ -556,6 +575,7 @@ export type FormWhen1 = {
556
575
  op: "eq" | "neq";
557
576
  value: string | number | boolean;
558
577
  };
578
+ export type FormValue1 = string | number | boolean | Array<string>;
559
579
  export type SessionStatus = {
560
580
  type: "idle";
561
581
  } | {
@@ -619,15 +639,11 @@ export type ShellInfo1 = {
619
639
  export type ReferenceLocalSource = {
620
640
  type: "local";
621
641
  path: string;
622
- description?: string;
623
- hidden?: boolean;
624
642
  };
625
643
  export type ReferenceGitSource = {
626
644
  type: "git";
627
645
  repository: string;
628
646
  branch?: string;
629
- description?: string;
630
- hidden?: boolean;
631
647
  };
632
648
  export type WorktreeDirectory = {
633
649
  directory: string;
@@ -636,9 +652,6 @@ export type WorktreeDirectory = {
636
652
  export type WorktreeInfo = {
637
653
  directory: string;
638
654
  };
639
- export type WorkspaceDestroyResult = {
640
- destroyed: boolean;
641
- };
642
655
  export type VcsBranch = {
643
656
  current?: string;
644
657
  default?: string;
@@ -667,40 +680,15 @@ export type WebSearchResult = {
667
680
  published?: number;
668
681
  };
669
682
  };
683
+ export type McpProtocol = "legacy" | "auto" | "2026-07-28";
670
684
  export type ConfigWorktree = {
671
685
  directory: string;
672
686
  };
673
- export type ConfigPreferences = {
674
- shell?: string;
675
- websearch?: false | {
676
- provider: "random" | (string & {});
677
- };
678
- };
679
687
  export type ConfigShellOption = {
680
688
  path: string;
681
689
  name: string;
682
690
  acceptable: boolean;
683
691
  };
684
- export type ProviderRequest = {
685
- settings: ProviderSettings;
686
- headers: {
687
- [x: string]: string;
688
- };
689
- body: {
690
- [x: string]: any;
691
- };
692
- };
693
- export type PermissionRule = {
694
- action: string;
695
- resource: string;
696
- effect: PermissionEffect;
697
- };
698
- export type PluginInfo = {
699
- id?: string;
700
- source: PluginSource;
701
- features: PluginFeatures;
702
- state: PluginState;
703
- };
704
692
  export type SessionMessageLocationSwitched = {
705
693
  id: string;
706
694
  metadata?: {
@@ -710,19 +698,19 @@ export type SessionMessageLocationSwitched = {
710
698
  created: number;
711
699
  };
712
700
  type: "location-switched";
713
- location: LocationRef;
714
701
  projectID?: string;
715
702
  subpath?: string;
703
+ location: LocationPublicRef;
716
704
  previous?: {
717
- location: LocationRef;
705
+ location: LocationPublicRef;
718
706
  projectID?: string;
719
707
  subpath?: string;
720
- };
708
+ } | null;
721
709
  };
722
710
  export type SessionInboxMovePayload = {
723
- location: LocationRef;
724
711
  projectID: string;
725
712
  subpath?: string;
713
+ location: LocationPublicRef;
726
714
  };
727
715
  export type V2EventRpc = {
728
716
  id: string;
@@ -731,7 +719,7 @@ export type V2EventRpc = {
731
719
  [x: string]: any;
732
720
  } | undefined;
733
721
  type: `${"rpc."}${string}`;
734
- location: LocationRef;
722
+ location: LocationPublicRef;
735
723
  data: {
736
724
  [x: string]: any;
737
725
  };
@@ -741,10 +729,30 @@ export type V2EventServerConnected = {
741
729
  metadata?: {
742
730
  [x: string]: any;
743
731
  } | undefined;
744
- location?: LocationRef | undefined;
732
+ location?: LocationPublicRef | undefined;
745
733
  type: "server.connected";
746
734
  data: {};
747
735
  };
736
+ export type ProviderRequest = {
737
+ settings: ProviderSettings;
738
+ headers: {
739
+ [x: string]: string;
740
+ };
741
+ body: {
742
+ [x: string]: any;
743
+ };
744
+ };
745
+ export type PermissionRule = {
746
+ action: string;
747
+ resource: string;
748
+ effect: PermissionEffect;
749
+ };
750
+ export type PluginInfo = {
751
+ id?: string;
752
+ source: PluginSource;
753
+ features: PluginFeatures;
754
+ state: PluginState;
755
+ };
748
756
  export type SessionRevert = {
749
757
  messageID: string;
750
758
  partID?: string;
@@ -840,7 +848,9 @@ export type SessionProviderContext = {
840
848
  export type SessionInboxSynthetic = {
841
849
  id: string;
842
850
  sessionID: string;
843
- timeCreated: number;
851
+ time: {
852
+ created: number;
853
+ };
844
854
  type: "synthetic";
845
855
  payload: SessionInboxSyntheticPayload;
846
856
  delivery: SessionInboxDelivery;
@@ -848,7 +858,9 @@ export type SessionInboxSynthetic = {
848
858
  export type SessionInboxCompaction = {
849
859
  id: string;
850
860
  sessionID: string;
851
- timeCreated: number;
861
+ time: {
862
+ created: number;
863
+ };
852
864
  type: "compaction";
853
865
  payload: SessionInboxCompactionPayload;
854
866
  delivery: SessionInboxDelivery;
@@ -900,26 +912,6 @@ export type SessionModelSelected = {
900
912
  previous?: ModelRef;
901
913
  };
902
914
  };
903
- export type SessionMoved = {
904
- id: string;
905
- created: number;
906
- metadata?: {
907
- [x: string]: any;
908
- };
909
- type: "session.moved";
910
- durable: {
911
- aggregateID: string;
912
- seq: number;
913
- version: 1;
914
- };
915
- location?: LocationRef;
916
- data: {
917
- sessionID: string;
918
- location: LocationRef;
919
- projectID: string;
920
- subpath?: string;
921
- };
922
- };
923
915
  export type SessionRenamed = {
924
916
  id: string;
925
917
  created: number;
@@ -1420,13 +1412,23 @@ export type IntegrationUpdated = {
1420
1412
  location?: LocationRef;
1421
1413
  data: {};
1422
1414
  };
1423
- export type CatalogUpdated = {
1415
+ export type ProviderUpdated = {
1416
+ id: string;
1417
+ created: number;
1418
+ metadata?: {
1419
+ [x: string]: any;
1420
+ };
1421
+ type: "provider.updated";
1422
+ location?: LocationRef;
1423
+ data: {};
1424
+ };
1425
+ export type ModelUpdated = {
1424
1426
  id: string;
1425
1427
  created: number;
1426
1428
  metadata?: {
1427
1429
  [x: string]: any;
1428
1430
  };
1429
- type: "catalog.updated";
1431
+ type: "model.updated";
1430
1432
  location?: LocationRef;
1431
1433
  data: {};
1432
1434
  };
@@ -1834,6 +1836,31 @@ export type McpResourcesChanged = {
1834
1836
  server: string;
1835
1837
  };
1836
1838
  };
1839
+ export type SessionMoved = {
1840
+ id: string;
1841
+ created: number;
1842
+ metadata?: {
1843
+ [x: string]: any;
1844
+ };
1845
+ type: "session.moved";
1846
+ durable: {
1847
+ aggregateID: string;
1848
+ seq: number;
1849
+ version: 1;
1850
+ };
1851
+ location?: LocationRef;
1852
+ data: {
1853
+ sessionID: string;
1854
+ location: LocationRef;
1855
+ projectID: string;
1856
+ subpath?: string;
1857
+ };
1858
+ };
1859
+ export type SessionInboxMovePayload1 = {
1860
+ location: LocationRef;
1861
+ projectID: string;
1862
+ subpath?: string;
1863
+ };
1837
1864
  export type SessionShellStarted = {
1838
1865
  id: string;
1839
1866
  created: number;
@@ -2040,44 +2067,6 @@ export type SessionMessageAssistantReasoning1 = {
2040
2067
  };
2041
2068
  };
2042
2069
  export type ToolContent1 = ToolTextContent | ToolFileContent1;
2043
- export type ModelCompatibility = {
2044
- reasoningField?: ModelReasoningField;
2045
- requireReasoning?: boolean;
2046
- maxTokensField?: ModelMaxTokensField;
2047
- requireFinishReason?: boolean;
2048
- requireAssistantAfterTool?: boolean;
2049
- };
2050
- export type ProviderInfo = {
2051
- id: string;
2052
- canonical?: string;
2053
- integrationID?: string;
2054
- name: string;
2055
- activation: "auto" | "enabled" | "disabled";
2056
- package: string;
2057
- compaction?: ProviderCompaction;
2058
- websocket?: boolean;
2059
- settings?: {
2060
- [x: string]: any;
2061
- };
2062
- headers?: {
2063
- [x: string]: string;
2064
- };
2065
- body?: {
2066
- [x: string]: any;
2067
- };
2068
- };
2069
- export type ModelCost = {
2070
- tier?: {
2071
- type: "context";
2072
- size: number;
2073
- };
2074
- input: MoneyUSDPerMillionTokens;
2075
- output: MoneyUSDPerMillionTokens;
2076
- cache: {
2077
- read: MoneyUSDPerMillionTokens;
2078
- write: MoneyUSDPerMillionTokens;
2079
- };
2080
- };
2081
2070
  export type FormNumberField = {
2082
2071
  key: string;
2083
2072
  title?: string;
@@ -2138,20 +2127,62 @@ export type FormMultiselectField = {
2138
2127
  custom?: boolean;
2139
2128
  default?: Array<string>;
2140
2129
  };
2141
- export type ConnectionInfo = ConnectionCredentialInfo | ConnectionEnvInfo;
2142
- export type McpServer = {
2143
- name: string;
2144
- status: McpStatusConnected | McpStatusPending | McpStatusDisabled | McpStatusFailed | McpStatusNeedsAuth;
2145
- integrationID?: string;
2130
+ export type FormAnswer = {
2131
+ [x: string]: FormValue;
2146
2132
  };
2147
- export type McpResourceCatalog = {
2148
- resources: Array<McpResource>;
2149
- templates: Array<McpResourceTemplate>;
2133
+ export type ModelCompatibility = {
2134
+ reasoningField?: ModelReasoningField;
2135
+ requireReasoning?: boolean;
2136
+ maxTokensField?: ModelMaxTokensField;
2137
+ requireFinishReason?: boolean;
2138
+ requireAssistantAfterTool?: boolean;
2139
+ supportsPromptCacheKey?: boolean;
2150
2140
  };
2151
- export type Project = {
2141
+ export type ProviderInfo = {
2152
2142
  id: string;
2153
- canonical: string;
2154
- vcs?: ProjectVcs;
2143
+ canonical?: string;
2144
+ integrationID?: string;
2145
+ name: string;
2146
+ activation: "auto" | "enabled" | "disabled";
2147
+ package: string;
2148
+ compaction?: ProviderCompaction;
2149
+ transport?: ProviderTransport;
2150
+ settings?: {
2151
+ [x: string]: any;
2152
+ };
2153
+ headers?: {
2154
+ [x: string]: string;
2155
+ };
2156
+ body?: {
2157
+ [x: string]: any;
2158
+ };
2159
+ };
2160
+ export type ModelCost = {
2161
+ tier?: {
2162
+ type: "context";
2163
+ size: number;
2164
+ };
2165
+ input: MoneyUSDPerMillionTokens;
2166
+ output: MoneyUSDPerMillionTokens;
2167
+ cache: {
2168
+ read: MoneyUSDPerMillionTokens;
2169
+ write: MoneyUSDPerMillionTokens;
2170
+ };
2171
+ };
2172
+ export type ConnectionInfo = ConnectionCredentialInfo | ConnectionEnvInfo;
2173
+ export type McpServer = {
2174
+ name: string;
2175
+ status: McpStatusConnected | McpStatusPending | McpStatusDisabled | McpStatusFailed | McpStatusNeedsAuth;
2176
+ integrationID?: string;
2177
+ };
2178
+ export type McpResourceCatalog = {
2179
+ resources: Array<McpResource>;
2180
+ templates: Array<McpResourceTemplate>;
2181
+ };
2182
+ export type Project = {
2183
+ id: string;
2184
+ canonical: string;
2185
+ vcs?: ProjectVcs;
2155
2186
  name?: string;
2156
2187
  icon?: ProjectIcon;
2157
2188
  commands?: ProjectCommands;
@@ -2177,9 +2208,6 @@ export type ProjectUpdated = {
2177
2208
  sandboxes: Array<string>;
2178
2209
  };
2179
2210
  };
2180
- export type FormAnswer = {
2181
- [x: string]: FormValue;
2182
- };
2183
2211
  export type PermissionRequest = {
2184
2212
  id: string;
2185
2213
  sessionID: string;
@@ -2333,6 +2361,9 @@ export type FormMultiselectField1 = {
2333
2361
  custom?: boolean;
2334
2362
  default?: Array<string>;
2335
2363
  };
2364
+ export type FormAnswer1 = {
2365
+ [x: string]: FormValue1;
2366
+ };
2336
2367
  export type SessionStatusUpdated = {
2337
2368
  id: string;
2338
2369
  created: number;
@@ -2349,17 +2380,20 @@ export type SessionStatusUpdated = {
2349
2380
  export type ReferenceSource = ReferenceLocalSource | ReferenceGitSource;
2350
2381
  export type WorktreeList = Array<WorktreeDirectory>;
2351
2382
  export type VcsInfo = {
2383
+ provider?: string;
2352
2384
  branch: VcsBranch;
2353
2385
  };
2354
- export type PermissionRuleset = Array<PermissionRule>;
2355
2386
  export type SessionInboxMove = {
2356
2387
  id: string;
2357
2388
  sessionID: string;
2358
- timeCreated: number;
2389
+ time: {
2390
+ created: number;
2391
+ };
2359
2392
  type: "move";
2360
- payload: SessionInboxMovePayload;
2361
2393
  delivery: SessionInboxDelivery;
2394
+ payload: SessionInboxMovePayload;
2362
2395
  };
2396
+ export type PermissionRuleset = Array<PermissionRule>;
2363
2397
  export type SessionRevertStaged = {
2364
2398
  id: string;
2365
2399
  created: number;
@@ -2587,6 +2621,15 @@ export type SessionMessageToolStateError1 = {
2587
2621
  [x: string]: JsonValue;
2588
2622
  };
2589
2623
  };
2624
+ export type FormField = FormStringField | FormNumberField | FormIntegerField | FormBooleanField | FormMultiselectField | FormExternalField;
2625
+ export type FormState = {
2626
+ status: "pending";
2627
+ } | {
2628
+ status: "answered";
2629
+ answer: FormAnswer;
2630
+ } | {
2631
+ status: "cancelled";
2632
+ };
2590
2633
  export type ModelInfo = {
2591
2634
  id: string;
2592
2635
  modelID: string;
@@ -2597,7 +2640,7 @@ export type ModelInfo = {
2597
2640
  compatibility?: ModelCompatibility;
2598
2641
  package?: string;
2599
2642
  compaction?: ProviderCompaction;
2600
- websocket?: boolean;
2643
+ transport?: ProviderTransport;
2601
2644
  settings?: {
2602
2645
  [x: string]: any;
2603
2646
  };
@@ -2621,15 +2664,7 @@ export type ModelInfo = {
2621
2664
  output: number;
2622
2665
  };
2623
2666
  };
2624
- export type FormField = FormStringField | FormNumberField | FormIntegerField | FormBooleanField | FormMultiselectField | FormExternalField;
2625
- export type FormState = {
2626
- status: "pending";
2627
- } | {
2628
- status: "answered";
2629
- answer: FormAnswer;
2630
- } | {
2631
- status: "cancelled";
2632
- };
2667
+ export type FormField1 = FormStringField1 | FormNumberField1 | FormIntegerField1 | FormBooleanField1 | FormMultiselectField1 | FormExternalField;
2633
2668
  export type FormReplied = {
2634
2669
  id: string;
2635
2670
  created: number;
@@ -2641,10 +2676,9 @@ export type FormReplied = {
2641
2676
  data: {
2642
2677
  id: string;
2643
2678
  sessionID: string;
2644
- answer: FormAnswer;
2679
+ answer: FormAnswer1;
2645
2680
  };
2646
2681
  };
2647
- export type FormField1 = FormStringField1 | FormNumberField1 | FormIntegerField1 | FormBooleanField1 | FormMultiselectField1 | FormExternalField;
2648
2682
  export type ReferenceInfo = {
2649
2683
  name: string;
2650
2684
  path: string;
@@ -2665,13 +2699,13 @@ export type AgentInfo = {
2665
2699
  steps?: number;
2666
2700
  permissions: PermissionRuleset;
2667
2701
  };
2668
- export type SessionPermissionsUpdated = {
2702
+ export type SessionPermissions = {
2669
2703
  id: string;
2670
2704
  created: number;
2671
2705
  metadata?: {
2672
2706
  [x: string]: any;
2673
2707
  };
2674
- type: "session.permissions.updated";
2708
+ type: "session.permissions";
2675
2709
  durable: {
2676
2710
  aggregateID: string;
2677
2711
  seq: number;
@@ -2704,11 +2738,11 @@ export type SessionInfo = {
2704
2738
  archived?: number;
2705
2739
  };
2706
2740
  title?: string;
2707
- location: LocationRef;
2708
2741
  subpath?: string;
2709
2742
  metadata?: SessionMetadata;
2710
2743
  permissions?: PermissionRuleset;
2711
2744
  revert?: SessionRevert;
2745
+ location: LocationPublicRef;
2712
2746
  };
2713
2747
  export type SessionCreated = {
2714
2748
  id: string;
@@ -2844,6 +2878,7 @@ export type ConfigEntry = {
2844
2878
  catalog?: number;
2845
2879
  execution?: number;
2846
2880
  };
2881
+ protocol?: McpProtocol;
2847
2882
  } | {
2848
2883
  type: "remote";
2849
2884
  url: string;
@@ -2856,6 +2891,7 @@ export type ConfigEntry = {
2856
2891
  scope?: string;
2857
2892
  callback_port?: number;
2858
2893
  redirect_uri?: string;
2894
+ auth_server_metadata_url?: string;
2859
2895
  } | false;
2860
2896
  disabled?: boolean;
2861
2897
  codemode?: boolean;
@@ -2864,6 +2900,7 @@ export type ConfigEntry = {
2864
2900
  catalog?: number;
2865
2901
  execution?: number;
2866
2902
  };
2903
+ protocol?: McpProtocol;
2867
2904
  };
2868
2905
  };
2869
2906
  };
@@ -2920,7 +2957,7 @@ export type ConfigEntry = {
2920
2957
  providers?: {
2921
2958
  [x: string]: {
2922
2959
  compaction?: ProviderCompaction;
2923
- websocket?: boolean;
2960
+ transport?: ProviderTransport;
2924
2961
  canonical?: string;
2925
2962
  name?: string;
2926
2963
  env?: Array<string>;
@@ -2937,7 +2974,7 @@ export type ConfigEntry = {
2937
2974
  models?: {
2938
2975
  [x: string]: {
2939
2976
  compaction?: ProviderCompaction;
2940
- websocket?: boolean;
2977
+ transport?: ProviderTransport;
2941
2978
  modelID?: string;
2942
2979
  family?: string;
2943
2980
  name?: string;
@@ -3011,17 +3048,13 @@ export type ConfigEntry = {
3011
3048
  } | {
3012
3049
  type: "directory";
3013
3050
  path: string;
3014
- } | {
3015
- type: "agents";
3016
- path: string;
3017
- } | {
3018
- type: "claude";
3019
- path: string;
3020
3051
  };
3021
3052
  export type SessionInboxUser = {
3022
3053
  id: string;
3023
3054
  sessionID: string;
3024
- timeCreated: number;
3055
+ time: {
3056
+ created: number;
3057
+ };
3025
3058
  type: "user";
3026
3059
  payload: SessionInboxUserPayload;
3027
3060
  delivery: SessionInboxDelivery;
@@ -3040,7 +3073,7 @@ export type SessionInboxItem = {
3040
3073
  delivery: SessionInboxDelivery;
3041
3074
  } | {
3042
3075
  type: "move";
3043
- payload: SessionInboxMovePayload;
3076
+ payload: SessionInboxMovePayload1;
3044
3077
  delivery: SessionInboxDelivery;
3045
3078
  };
3046
3079
  export type SessionMessageAssistantTool = {
@@ -3129,6 +3162,21 @@ export type SessionMessageAssistant = {
3129
3162
  retry?: SessionMessageAssistantRetry;
3130
3163
  };
3131
3164
  export type SessionMessageAssistantContentEncoded = SessionMessageAssistantText1 | SessionMessageAssistantReasoning1 | SessionMessageAssistantTool1;
3165
+ export type FormInfo = {
3166
+ id: string;
3167
+ sessionID: string;
3168
+ title: string;
3169
+ metadata?: FormMetadata;
3170
+ fields: FormFields;
3171
+ };
3172
+ export type FormDetail = {
3173
+ id: string;
3174
+ sessionID: string;
3175
+ title: string;
3176
+ metadata?: FormMetadata;
3177
+ fields: FormFields;
3178
+ state: FormState;
3179
+ };
3132
3180
  export type IntegrationOAuthMethod = {
3133
3181
  id: string;
3134
3182
  type: "oauth";
@@ -3140,13 +3188,6 @@ export type IntegrationKeyMethod = {
3140
3188
  label?: string;
3141
3189
  form?: FormFields;
3142
3190
  };
3143
- export type FormInfo = {
3144
- id: string;
3145
- sessionID: string;
3146
- title: string;
3147
- metadata?: FormMetadata;
3148
- fields: FormFields;
3149
- };
3150
3191
  export type FormInfo1 = {
3151
3192
  id: string;
3152
3193
  sessionID: string;
@@ -3198,7 +3239,7 @@ export type SessionMessagesResponse = {
3198
3239
  next?: string | null;
3199
3240
  };
3200
3241
  };
3201
- export type SessionEventDurable = SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionPermissionsUpdated | SessionViewed | SessionDeleted | SessionForked | SessionInboxDelivered | SessionInboxEnqueued | SessionInboxCancelled | SessionInboxDeliveryChanged | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepStreamed | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextEnded | SessionReasoningStarted | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputEnded | SessionToolCalled | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionStarted | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | SessionUsageRecorded | SessionMessageContentUpdated;
3242
+ export type SessionEventDurable = SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionPermissions | SessionViewed | SessionDeleted | SessionForked | SessionInboxDelivered | SessionInboxEnqueued | SessionInboxCancelled | SessionInboxDeliveryChanged | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepStreamed | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextEnded | SessionReasoningStarted | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputEnded | SessionToolCalled | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionStarted | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | SessionUsageRecorded | SessionMessageContentUpdated;
3202
3243
  export type IntegrationInfo = {
3203
3244
  id: string;
3204
3245
  name: string;
@@ -3208,7 +3249,7 @@ export type IntegrationInfo = {
3208
3249
  methods: Array<IntegrationMethod>;
3209
3250
  connections: Array<ConnectionInfo>;
3210
3251
  };
3211
- export type V2Event = ModelsDevRefreshed | CredentialUpdated | CredentialSwitched | IntegrationUpdated | CatalogUpdated | AgentUpdated | SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionPermissionsUpdated | SessionViewed | SessionUsageUpdated | SessionDeleted | SessionForked | SessionInboxDelivered | SessionInboxEnqueued | SessionInboxCancelled | SessionInboxDeliveryChanged | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepStreamed | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextDelta | SessionTextEnded | SessionReasoningStarted | SessionReasoningDelta | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputDelta | SessionToolInputEnded | SessionToolCalled | SessionToolProgress | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionStarted | SessionCompactionDelta | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | FilesystemChanged | ReferenceUpdated | PermissionAsked | PermissionReplied | PluginUpdated | ProjectUpdated | WorktreeUpdated | WorktreeResolved | CommandUpdated | ConfigUpdated | SkillUpdated | PtyCreated | PtyUpdated | PtyExited | PtyDeleted | PersistentPtyAdded | PersistentPtyRemoved | ShellCreated | ShellExited | ShellDeleted | FormCreated | FormReplied | FormCancelled | WebsearchUpdated | SessionStatusUpdated | SessionIdle | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | InstallationUpdated | InstallationUpdateAvailable | VcsBranchUpdated | McpStatusChanged | McpResourcesChanged | V2EventRpc | V2EventServerConnected;
3252
+ export type V2Event = ModelsDevRefreshed | CredentialUpdated | CredentialSwitched | IntegrationUpdated | ProviderUpdated | ModelUpdated | AgentUpdated | SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionPermissions | SessionViewed | SessionUsageUpdated | SessionDeleted | SessionForked | SessionInboxDelivered | SessionInboxEnqueued | SessionInboxCancelled | SessionInboxDeliveryChanged | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepStreamed | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextDelta | SessionTextEnded | SessionReasoningStarted | SessionReasoningDelta | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputDelta | SessionToolInputEnded | SessionToolCalled | SessionToolProgress | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionStarted | SessionCompactionDelta | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | FilesystemChanged | ReferenceUpdated | PermissionAsked | PermissionReplied | PluginUpdated | ProjectUpdated | WorktreeUpdated | WorktreeResolved | CommandUpdated | ConfigUpdated | SkillUpdated | PtyCreated | PtyUpdated | PtyExited | PtyDeleted | PersistentPtyAdded | PersistentPtyRemoved | ShellCreated | ShellExited | ShellDeleted | FormCreated | FormReplied | FormCancelled | WebsearchUpdated | SessionStatusUpdated | SessionIdle | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | InstallationUpdated | InstallationUpdateAvailable | VcsBranchUpdated | McpStatusChanged | McpResourcesChanged | V2EventRpc | V2EventServerConnected;
3212
3253
  export type SessionLogItem = SessionEventDurable | EventLogSynced;
3213
3254
  export type InvalidRequestError = {
3214
3255
  readonly _tag: "InvalidRequestError";
@@ -3295,24 +3336,6 @@ export type InstructionEntryValueTooLargeError = {
3295
3336
  readonly message: string;
3296
3337
  };
3297
3338
  export declare const isInstructionEntryValueTooLargeError: (value: unknown) => value is InstructionEntryValueTooLargeError;
3298
- export type ProviderNotFoundError = {
3299
- readonly _tag: "ProviderNotFoundError";
3300
- readonly providerID: string;
3301
- readonly message: string;
3302
- };
3303
- export declare const isProviderNotFoundError: (value: unknown) => value is ProviderNotFoundError;
3304
- export type McpServerNotFoundError = {
3305
- readonly _tag: "McpServerNotFoundError";
3306
- readonly server: string;
3307
- readonly message: string;
3308
- };
3309
- export declare const isMcpServerNotFoundError: (value: unknown) => value is McpServerNotFoundError;
3310
- export type ProjectNotFoundError = {
3311
- readonly _tag: "ProjectNotFoundError";
3312
- readonly projectID: string;
3313
- readonly message: string;
3314
- };
3315
- export declare const isProjectNotFoundError: (value: unknown) => value is ProjectNotFoundError;
3316
3339
  export type FormNotFoundError = {
3317
3340
  readonly _tag: "FormNotFoundError";
3318
3341
  readonly id: string;
@@ -3331,6 +3354,44 @@ export type FormAlreadySettledError = {
3331
3354
  readonly message: string;
3332
3355
  };
3333
3356
  export declare const isFormAlreadySettledError: (value: unknown) => value is FormAlreadySettledError;
3357
+ export type ProviderNotFoundError = {
3358
+ readonly _tag: "ProviderNotFoundError";
3359
+ readonly providerID: string;
3360
+ readonly message: string;
3361
+ };
3362
+ export declare const isProviderNotFoundError: (value: unknown) => value is ProviderNotFoundError;
3363
+ export type IntegrationNotFoundError = {
3364
+ readonly _tag: "IntegrationNotFoundError";
3365
+ readonly integrationID: string;
3366
+ readonly message: string;
3367
+ };
3368
+ export declare const isIntegrationNotFoundError: (value: unknown) => value is IntegrationNotFoundError;
3369
+ export type IntegrationAttemptNotFoundError = {
3370
+ readonly _tag: "IntegrationAttemptNotFoundError";
3371
+ readonly integrationID: string;
3372
+ readonly attemptID: string;
3373
+ readonly message: string;
3374
+ };
3375
+ export declare const isIntegrationAttemptNotFoundError: (value: unknown) => value is IntegrationAttemptNotFoundError;
3376
+ export type IntegrationMethodNotFoundError = {
3377
+ readonly _tag: "IntegrationMethodNotFoundError";
3378
+ readonly integrationID: string;
3379
+ readonly methodID: string;
3380
+ readonly message: string;
3381
+ };
3382
+ export declare const isIntegrationMethodNotFoundError: (value: unknown) => value is IntegrationMethodNotFoundError;
3383
+ export type McpServerNotFoundError = {
3384
+ readonly _tag: "McpServerNotFoundError";
3385
+ readonly server: string;
3386
+ readonly message: string;
3387
+ };
3388
+ export declare const isMcpServerNotFoundError: (value: unknown) => value is McpServerNotFoundError;
3389
+ export type ProjectNotFoundError = {
3390
+ readonly _tag: "ProjectNotFoundError";
3391
+ readonly projectID: string;
3392
+ readonly message: string;
3393
+ };
3394
+ export declare const isProjectNotFoundError: (value: unknown) => value is ProjectNotFoundError;
3334
3395
  export type PermissionNotFoundError = {
3335
3396
  readonly _tag: "PermissionNotFoundError";
3336
3397
  readonly requestID: string;
@@ -3382,45 +3443,24 @@ export type WorktreeError = {
3382
3443
  };
3383
3444
  };
3384
3445
  export declare const isWorktreeError: (value: unknown) => value is WorktreeError;
3385
- export type HealthGetOutput = ServiceHealth;
3386
- export type ServerGetOutput = {
3387
- urls: Array<string>;
3388
- };
3446
+ export type ServerStatusOutput = ServerStatus;
3389
3447
  export type LocationGetInput = {
3390
3448
  readonly location?: {
3391
3449
  readonly location?: {
3392
3450
  readonly directory?: string | undefined;
3393
- readonly workspace?: string | undefined;
3394
3451
  } | undefined;
3395
3452
  }["location"];
3396
3453
  };
3397
- export type LocationGetOutput = {
3398
- directory: string;
3399
- workspaceID?: string;
3400
- project: {
3401
- id: string;
3402
- directory: string;
3403
- canonical: string;
3404
- };
3405
- };
3454
+ export type LocationGetOutput = LocationPublicInfo;
3406
3455
  export type AgentListInput = {
3407
3456
  readonly location?: {
3408
3457
  readonly location?: {
3409
3458
  readonly directory?: string | undefined;
3410
- readonly workspace?: string | undefined;
3411
3459
  } | undefined;
3412
3460
  }["location"];
3413
3461
  };
3414
3462
  export type AgentListOutput = {
3415
- location: {
3416
- directory: string;
3417
- workspaceID?: string;
3418
- project: {
3419
- id: string;
3420
- directory: string;
3421
- canonical: string;
3422
- };
3423
- };
3463
+ location: LocationPublicRef;
3424
3464
  data: Array<AgentInfo>;
3425
3465
  };
3426
3466
  export type AgentGetInput = {
@@ -3430,56 +3470,28 @@ export type AgentGetInput = {
3430
3470
  readonly location?: {
3431
3471
  readonly location?: {
3432
3472
  readonly directory?: string | undefined;
3433
- readonly workspace?: string | undefined;
3434
3473
  } | undefined;
3435
3474
  }["location"];
3436
3475
  };
3437
3476
  export type AgentGetOutput = {
3438
- location: {
3439
- directory: string;
3440
- workspaceID?: string;
3441
- project: {
3442
- id: string;
3443
- directory: string;
3444
- canonical: string;
3445
- };
3446
- };
3477
+ location: LocationPublicRef;
3447
3478
  data: AgentInfo;
3448
3479
  };
3449
3480
  export type PluginListInput = {
3450
3481
  readonly location?: {
3451
3482
  readonly location?: {
3452
3483
  readonly directory?: string | undefined;
3453
- readonly workspace?: string | undefined;
3454
3484
  } | undefined;
3455
3485
  }["location"];
3456
3486
  };
3457
3487
  export type PluginListOutput = {
3458
- location: {
3459
- directory: string;
3460
- workspaceID?: string;
3461
- project: {
3462
- id: string;
3463
- directory: string;
3464
- canonical: string;
3465
- };
3466
- };
3488
+ location: LocationPublicRef;
3467
3489
  data: Array<PluginInfo>;
3468
3490
  };
3469
- export type PluginAwaitActivationInput = {
3470
- readonly location?: {
3471
- readonly location?: {
3472
- readonly directory?: string | undefined;
3473
- readonly workspace?: string | undefined;
3474
- } | undefined;
3475
- }["location"];
3476
- };
3477
- export type PluginAwaitActivationOutput = void;
3478
3491
  export type PluginCheckInput = {
3479
3492
  readonly location?: {
3480
3493
  readonly location?: {
3481
3494
  readonly directory?: string | undefined;
3482
- readonly workspace?: string | undefined;
3483
3495
  } | undefined;
3484
3496
  }["location"];
3485
3497
  readonly target?: {
@@ -3487,22 +3499,13 @@ export type PluginCheckInput = {
3487
3499
  }["target"];
3488
3500
  };
3489
3501
  export type PluginCheckOutput = {
3490
- location: {
3491
- directory: string;
3492
- workspaceID?: string;
3493
- project: {
3494
- id: string;
3495
- directory: string;
3496
- canonical: string;
3497
- };
3498
- };
3502
+ location: LocationPublicRef;
3499
3503
  data: Array<PluginInfo>;
3500
3504
  };
3501
3505
  export type PluginUpdateInput = {
3502
3506
  readonly location?: {
3503
3507
  readonly location?: {
3504
3508
  readonly directory?: string | undefined;
3505
- readonly workspace?: string | undefined;
3506
3509
  } | undefined;
3507
3510
  }["location"];
3508
3511
  readonly targets: {
@@ -3511,19 +3514,7 @@ export type PluginUpdateInput = {
3511
3514
  };
3512
3515
  export type PluginUpdateOutput = void;
3513
3516
  export type SessionListInput = {
3514
- readonly workspace?: {
3515
- readonly workspace?: string | undefined;
3516
- readonly limit?: number | undefined;
3517
- readonly order?: "asc" | "desc" | undefined;
3518
- readonly search?: string | undefined;
3519
- readonly parentID?: string | null | undefined;
3520
- readonly directory?: string | undefined;
3521
- readonly project?: string | undefined;
3522
- readonly subpath?: string | undefined;
3523
- readonly cursor?: string | undefined;
3524
- }["workspace"];
3525
3517
  readonly limit?: {
3526
- readonly workspace?: string | undefined;
3527
3518
  readonly limit?: number | undefined;
3528
3519
  readonly order?: "asc" | "desc" | undefined;
3529
3520
  readonly search?: string | undefined;
@@ -3534,7 +3525,6 @@ export type SessionListInput = {
3534
3525
  readonly cursor?: string | undefined;
3535
3526
  }["limit"];
3536
3527
  readonly order?: {
3537
- readonly workspace?: string | undefined;
3538
3528
  readonly limit?: number | undefined;
3539
3529
  readonly order?: "asc" | "desc" | undefined;
3540
3530
  readonly search?: string | undefined;
@@ -3545,7 +3535,6 @@ export type SessionListInput = {
3545
3535
  readonly cursor?: string | undefined;
3546
3536
  }["order"];
3547
3537
  readonly search?: {
3548
- readonly workspace?: string | undefined;
3549
3538
  readonly limit?: number | undefined;
3550
3539
  readonly order?: "asc" | "desc" | undefined;
3551
3540
  readonly search?: string | undefined;
@@ -3556,7 +3545,6 @@ export type SessionListInput = {
3556
3545
  readonly cursor?: string | undefined;
3557
3546
  }["search"];
3558
3547
  readonly parentID?: {
3559
- readonly workspace?: string | undefined;
3560
3548
  readonly limit?: number | undefined;
3561
3549
  readonly order?: "asc" | "desc" | undefined;
3562
3550
  readonly search?: string | undefined;
@@ -3567,7 +3555,6 @@ export type SessionListInput = {
3567
3555
  readonly cursor?: string | undefined;
3568
3556
  }["parentID"];
3569
3557
  readonly directory?: {
3570
- readonly workspace?: string | undefined;
3571
3558
  readonly limit?: number | undefined;
3572
3559
  readonly order?: "asc" | "desc" | undefined;
3573
3560
  readonly search?: string | undefined;
@@ -3578,7 +3565,6 @@ export type SessionListInput = {
3578
3565
  readonly cursor?: string | undefined;
3579
3566
  }["directory"];
3580
3567
  readonly project?: {
3581
- readonly workspace?: string | undefined;
3582
3568
  readonly limit?: number | undefined;
3583
3569
  readonly order?: "asc" | "desc" | undefined;
3584
3570
  readonly search?: string | undefined;
@@ -3589,7 +3575,6 @@ export type SessionListInput = {
3589
3575
  readonly cursor?: string | undefined;
3590
3576
  }["project"];
3591
3577
  readonly subpath?: {
3592
- readonly workspace?: string | undefined;
3593
3578
  readonly limit?: number | undefined;
3594
3579
  readonly order?: "asc" | "desc" | undefined;
3595
3580
  readonly search?: string | undefined;
@@ -3600,7 +3585,6 @@ export type SessionListInput = {
3600
3585
  readonly cursor?: string | undefined;
3601
3586
  }["subpath"];
3602
3587
  readonly cursor?: {
3603
- readonly workspace?: string | undefined;
3604
3588
  readonly limit?: number | undefined;
3605
3589
  readonly order?: "asc" | "desc" | undefined;
3606
3590
  readonly search?: string | undefined;
@@ -3664,7 +3648,6 @@ export type SessionCreateInput = {
3664
3648
  } | null;
3665
3649
  readonly location?: {
3666
3650
  readonly directory: string;
3667
- readonly workspaceID?: string;
3668
3651
  } | null;
3669
3652
  readonly metadata?: {
3670
3653
  readonly [x: string]: JsonValue;
@@ -3686,7 +3669,6 @@ export type SessionCreateInput = {
3686
3669
  } | null;
3687
3670
  readonly location?: {
3688
3671
  readonly directory: string;
3689
- readonly workspaceID?: string;
3690
3672
  } | null;
3691
3673
  readonly metadata?: {
3692
3674
  readonly [x: string]: JsonValue;
@@ -3708,7 +3690,6 @@ export type SessionCreateInput = {
3708
3690
  } | null;
3709
3691
  readonly location?: {
3710
3692
  readonly directory: string;
3711
- readonly workspaceID?: string;
3712
3693
  } | null;
3713
3694
  readonly metadata?: {
3714
3695
  readonly [x: string]: JsonValue;
@@ -3730,7 +3711,6 @@ export type SessionCreateInput = {
3730
3711
  } | null;
3731
3712
  readonly location?: {
3732
3713
  readonly directory: string;
3733
- readonly workspaceID?: string;
3734
3714
  } | null;
3735
3715
  readonly metadata?: {
3736
3716
  readonly [x: string]: JsonValue;
@@ -3752,7 +3732,6 @@ export type SessionCreateInput = {
3752
3732
  } | null;
3753
3733
  readonly location?: {
3754
3734
  readonly directory: string;
3755
- readonly workspaceID?: string;
3756
3735
  } | null;
3757
3736
  readonly metadata?: {
3758
3737
  readonly [x: string]: JsonValue;
@@ -3774,7 +3753,6 @@ export type SessionCreateInput = {
3774
3753
  } | null;
3775
3754
  readonly location?: {
3776
3755
  readonly directory: string;
3777
- readonly workspaceID?: string;
3778
3756
  } | null;
3779
3757
  readonly metadata?: {
3780
3758
  readonly [x: string]: JsonValue;
@@ -3796,7 +3774,6 @@ export type SessionCreateInput = {
3796
3774
  } | null;
3797
3775
  readonly location?: {
3798
3776
  readonly directory: string;
3799
- readonly workspaceID?: string;
3800
3777
  } | null;
3801
3778
  readonly metadata?: {
3802
3779
  readonly [x: string]: JsonValue;
@@ -3852,10 +3829,6 @@ export type SessionImportInput = {
3852
3829
  readonly archived?: number;
3853
3830
  };
3854
3831
  readonly title?: string;
3855
- readonly location: {
3856
- readonly directory: string;
3857
- readonly workspaceID?: string;
3858
- };
3859
3832
  readonly subpath?: string;
3860
3833
  readonly metadata?: {
3861
3834
  readonly [x: string]: JsonValue;
@@ -3877,6 +3850,9 @@ export type SessionImportInput = {
3877
3850
  readonly status: "added" | "deleted" | "modified";
3878
3851
  }>;
3879
3852
  };
3853
+ readonly location: {
3854
+ readonly directory: string;
3855
+ };
3880
3856
  };
3881
3857
  readonly messages: ReadonlyArray<{
3882
3858
  readonly id: string;
@@ -3917,20 +3893,18 @@ export type SessionImportInput = {
3917
3893
  readonly created: number;
3918
3894
  };
3919
3895
  readonly type: "location-switched";
3896
+ readonly projectID?: string;
3897
+ readonly subpath?: string;
3920
3898
  readonly location: {
3921
3899
  readonly directory: string;
3922
- readonly workspaceID?: string;
3923
3900
  };
3924
- readonly projectID?: string;
3925
- readonly subpath?: string;
3926
3901
  readonly previous?: {
3927
3902
  readonly location: {
3928
3903
  readonly directory: string;
3929
- readonly workspaceID?: string;
3930
3904
  };
3931
3905
  readonly projectID?: string;
3932
3906
  readonly subpath?: string;
3933
- };
3907
+ } | null;
3934
3908
  } | {
3935
3909
  readonly id: string;
3936
3910
  readonly metadata?: {
@@ -4282,7 +4256,6 @@ export type SessionImportInput = {
4282
4256
  }>;
4283
4257
  readonly location?: {
4284
4258
  readonly directory: string;
4285
- readonly workspaceID?: string;
4286
4259
  } | null;
4287
4260
  }["info"];
4288
4261
  readonly messages: {
@@ -4325,10 +4298,6 @@ export type SessionImportInput = {
4325
4298
  readonly archived?: number;
4326
4299
  };
4327
4300
  readonly title?: string;
4328
- readonly location: {
4329
- readonly directory: string;
4330
- readonly workspaceID?: string;
4331
- };
4332
4301
  readonly subpath?: string;
4333
4302
  readonly metadata?: {
4334
4303
  readonly [x: string]: JsonValue;
@@ -4350,6 +4319,9 @@ export type SessionImportInput = {
4350
4319
  readonly status: "added" | "deleted" | "modified";
4351
4320
  }>;
4352
4321
  };
4322
+ readonly location: {
4323
+ readonly directory: string;
4324
+ };
4353
4325
  };
4354
4326
  readonly messages: ReadonlyArray<{
4355
4327
  readonly id: string;
@@ -4390,20 +4362,18 @@ export type SessionImportInput = {
4390
4362
  readonly created: number;
4391
4363
  };
4392
4364
  readonly type: "location-switched";
4365
+ readonly projectID?: string;
4366
+ readonly subpath?: string;
4393
4367
  readonly location: {
4394
4368
  readonly directory: string;
4395
- readonly workspaceID?: string;
4396
4369
  };
4397
- readonly projectID?: string;
4398
- readonly subpath?: string;
4399
4370
  readonly previous?: {
4400
4371
  readonly location: {
4401
4372
  readonly directory: string;
4402
- readonly workspaceID?: string;
4403
4373
  };
4404
4374
  readonly projectID?: string;
4405
4375
  readonly subpath?: string;
4406
- };
4376
+ } | null;
4407
4377
  } | {
4408
4378
  readonly id: string;
4409
4379
  readonly metadata?: {
@@ -4755,7 +4725,6 @@ export type SessionImportInput = {
4755
4725
  }>;
4756
4726
  readonly location?: {
4757
4727
  readonly directory: string;
4758
- readonly workspaceID?: string;
4759
4728
  } | null;
4760
4729
  }["messages"];
4761
4730
  readonly location?: {
@@ -4798,10 +4767,6 @@ export type SessionImportInput = {
4798
4767
  readonly archived?: number;
4799
4768
  };
4800
4769
  readonly title?: string;
4801
- readonly location: {
4802
- readonly directory: string;
4803
- readonly workspaceID?: string;
4804
- };
4805
4770
  readonly subpath?: string;
4806
4771
  readonly metadata?: {
4807
4772
  readonly [x: string]: JsonValue;
@@ -4823,6 +4788,9 @@ export type SessionImportInput = {
4823
4788
  readonly status: "added" | "deleted" | "modified";
4824
4789
  }>;
4825
4790
  };
4791
+ readonly location: {
4792
+ readonly directory: string;
4793
+ };
4826
4794
  };
4827
4795
  readonly messages: ReadonlyArray<{
4828
4796
  readonly id: string;
@@ -4863,20 +4831,18 @@ export type SessionImportInput = {
4863
4831
  readonly created: number;
4864
4832
  };
4865
4833
  readonly type: "location-switched";
4834
+ readonly projectID?: string;
4835
+ readonly subpath?: string;
4866
4836
  readonly location: {
4867
4837
  readonly directory: string;
4868
- readonly workspaceID?: string;
4869
4838
  };
4870
- readonly projectID?: string;
4871
- readonly subpath?: string;
4872
4839
  readonly previous?: {
4873
4840
  readonly location: {
4874
4841
  readonly directory: string;
4875
- readonly workspaceID?: string;
4876
4842
  };
4877
4843
  readonly projectID?: string;
4878
4844
  readonly subpath?: string;
4879
- };
4845
+ } | null;
4880
4846
  } | {
4881
4847
  readonly id: string;
4882
4848
  readonly metadata?: {
@@ -5228,7 +5194,6 @@ export type SessionImportInput = {
5228
5194
  }>;
5229
5195
  readonly location?: {
5230
5196
  readonly directory: string;
5231
- readonly workspaceID?: string;
5232
5197
  } | null;
5233
5198
  }["location"];
5234
5199
  };
@@ -5269,14 +5234,9 @@ export type SessionForkInput = {
5269
5234
  readonly sessionID: {
5270
5235
  readonly sessionID: string;
5271
5236
  }["sessionID"];
5272
- readonly boundary: {
5273
- readonly boundary: {
5274
- readonly type: "before";
5275
- readonly messageID: string;
5276
- } | {
5277
- readonly type: "through";
5278
- };
5279
- }["boundary"];
5237
+ readonly before?: {
5238
+ readonly before?: string | undefined;
5239
+ }["before"];
5280
5240
  };
5281
5241
  export type SessionForkOutput = {
5282
5242
  data: SessionInfo;
@@ -5303,33 +5263,39 @@ export type SessionSwitchModelInput = {
5303
5263
  }["model"];
5304
5264
  };
5305
5265
  export type SessionSwitchModelOutput = void;
5306
- export type SessionRenameInput = {
5266
+ export type SessionUpdateInput = {
5307
5267
  readonly sessionID: {
5308
5268
  readonly sessionID: string;
5309
5269
  }["sessionID"];
5310
- readonly title: {
5311
- readonly title: string;
5270
+ readonly title?: {
5271
+ readonly title?: string | undefined;
5272
+ readonly permissions?: ReadonlyArray<{
5273
+ readonly action: string;
5274
+ readonly resource: string;
5275
+ readonly effect: "allow" | "deny" | "ask";
5276
+ }> | undefined;
5312
5277
  }["title"];
5278
+ readonly permissions?: {
5279
+ readonly title?: string | undefined;
5280
+ readonly permissions?: ReadonlyArray<{
5281
+ readonly action: string;
5282
+ readonly resource: string;
5283
+ readonly effect: "allow" | "deny" | "ask";
5284
+ }> | undefined;
5285
+ }["permissions"];
5313
5286
  };
5314
- export type SessionRenameOutput = void;
5287
+ export type SessionUpdateOutput = void;
5315
5288
  export type SessionMoveInput = {
5316
5289
  readonly sessionID: {
5317
5290
  readonly sessionID: string;
5318
5291
  }["sessionID"];
5319
5292
  readonly directory: {
5320
5293
  readonly directory: string;
5321
- readonly workspaceID?: string;
5322
- readonly delivery?: ("steer" | "queue") | null;
5294
+ readonly delivery?: ("steer" | "queue") | undefined;
5323
5295
  }["directory"];
5324
- readonly workspaceID?: {
5325
- readonly directory: string;
5326
- readonly workspaceID?: string;
5327
- readonly delivery?: ("steer" | "queue") | null;
5328
- }["workspaceID"];
5329
5296
  readonly delivery?: {
5330
5297
  readonly directory: string;
5331
- readonly workspaceID?: string;
5332
- readonly delivery?: ("steer" | "queue") | null;
5298
+ readonly delivery?: ("steer" | "queue") | undefined;
5333
5299
  }["delivery"];
5334
5300
  };
5335
5301
  export type SessionMoveOutput = void;
@@ -5625,8 +5591,8 @@ export type SessionCommandInput = {
5625
5591
  readonly sessionID: {
5626
5592
  readonly sessionID: string;
5627
5593
  }["sessionID"];
5628
- readonly command: {
5629
- readonly command: string;
5594
+ readonly name: {
5595
+ readonly name: string;
5630
5596
  readonly text: string;
5631
5597
  readonly files?: ReadonlyArray<{
5632
5598
  readonly uri: string;
@@ -5655,9 +5621,9 @@ export type SessionCommandInput = {
5655
5621
  };
5656
5622
  }>;
5657
5623
  readonly delivery?: ("steer" | "queue") | null;
5658
- }["command"];
5624
+ }["name"];
5659
5625
  readonly text: {
5660
- readonly command: string;
5626
+ readonly name: string;
5661
5627
  readonly text: string;
5662
5628
  readonly files?: ReadonlyArray<{
5663
5629
  readonly uri: string;
@@ -5688,7 +5654,7 @@ export type SessionCommandInput = {
5688
5654
  readonly delivery?: ("steer" | "queue") | null;
5689
5655
  }["text"];
5690
5656
  readonly files?: {
5691
- readonly command: string;
5657
+ readonly name: string;
5692
5658
  readonly text: string;
5693
5659
  readonly files?: ReadonlyArray<{
5694
5660
  readonly uri: string;
@@ -5719,7 +5685,7 @@ export type SessionCommandInput = {
5719
5685
  readonly delivery?: ("steer" | "queue") | null;
5720
5686
  }["files"];
5721
5687
  readonly agents?: {
5722
- readonly command: string;
5688
+ readonly name: string;
5723
5689
  readonly text: string;
5724
5690
  readonly files?: ReadonlyArray<{
5725
5691
  readonly uri: string;
@@ -5750,7 +5716,7 @@ export type SessionCommandInput = {
5750
5716
  readonly delivery?: ("steer" | "queue") | null;
5751
5717
  }["agents"];
5752
5718
  readonly skills?: {
5753
- readonly command: string;
5719
+ readonly name: string;
5754
5720
  readonly text: string;
5755
5721
  readonly files?: ReadonlyArray<{
5756
5722
  readonly uri: string;
@@ -5781,7 +5747,7 @@ export type SessionCommandInput = {
5781
5747
  readonly delivery?: ("steer" | "queue") | null;
5782
5748
  }["skills"];
5783
5749
  readonly delivery?: {
5784
- readonly command: string;
5750
+ readonly name: string;
5785
5751
  readonly text: string;
5786
5752
  readonly files?: ReadonlyArray<{
5787
5753
  readonly uri: string;
@@ -5817,19 +5783,12 @@ export type SessionSkillInput = {
5817
5783
  readonly sessionID: {
5818
5784
  readonly sessionID: string;
5819
5785
  }["sessionID"];
5820
- readonly id?: {
5821
- readonly id?: string | undefined;
5822
- readonly skill: string;
5786
+ readonly id: {
5787
+ readonly id: string;
5823
5788
  readonly resume?: boolean | undefined;
5824
5789
  }["id"];
5825
- readonly skill: {
5826
- readonly id?: string | undefined;
5827
- readonly skill: string;
5828
- readonly resume?: boolean | undefined;
5829
- }["skill"];
5830
5790
  readonly resume?: {
5831
- readonly id?: string | undefined;
5832
- readonly skill: string;
5791
+ readonly id: string;
5833
5792
  readonly resume?: boolean | undefined;
5834
5793
  }["resume"];
5835
5794
  };
@@ -6016,7 +5975,7 @@ export type SessionInboxCancelInput = {
6016
5975
  }["inboxID"];
6017
5976
  };
6018
5977
  export type SessionInboxCancelOutput = void;
6019
- export type SessionInboxSteerInput = {
5978
+ export type SessionInboxUpdateInput = {
6020
5979
  readonly sessionID: {
6021
5980
  readonly sessionID: string;
6022
5981
  readonly inboxID: string;
@@ -6025,20 +5984,12 @@ export type SessionInboxSteerInput = {
6025
5984
  readonly sessionID: string;
6026
5985
  readonly inboxID: string;
6027
5986
  }["inboxID"];
5987
+ readonly delivery: {
5988
+ readonly delivery: "steer" | "queue";
5989
+ }["delivery"];
6028
5990
  };
6029
- export type SessionInboxSteerOutput = void;
6030
- export type SessionInboxQueueInput = {
6031
- readonly sessionID: {
6032
- readonly sessionID: string;
6033
- readonly inboxID: string;
6034
- }["sessionID"];
6035
- readonly inboxID: {
6036
- readonly sessionID: string;
6037
- readonly inboxID: string;
6038
- }["inboxID"];
6039
- };
6040
- export type SessionInboxQueueOutput = void;
6041
- export type SessionInstructionsEntryListInput = {
5991
+ export type SessionInboxUpdateOutput = void;
5992
+ export type SessionInstructionsEntryListInput = {
6042
5993
  readonly sessionID: {
6043
5994
  readonly sessionID: string;
6044
5995
  }["sessionID"];
@@ -6098,9 +6049,9 @@ export type SessionInterruptInput = {
6098
6049
  readonly sessionID: {
6099
6050
  readonly sessionID: string;
6100
6051
  }["sessionID"];
6101
- readonly continue?: {
6102
- readonly continue?: boolean | undefined;
6103
- }["continue"];
6052
+ readonly resume?: {
6053
+ readonly resume?: boolean | undefined;
6054
+ }["resume"];
6104
6055
  };
6105
6056
  export type SessionInterruptOutput = SessionInterruptResponse;
6106
6057
  export type SessionBackgroundInput = {
@@ -6109,7 +6060,7 @@ export type SessionBackgroundInput = {
6109
6060
  }["sessionID"];
6110
6061
  };
6111
6062
  export type SessionBackgroundOutput = void;
6112
- export type SessionMessageInput = {
6063
+ export type SessionMessageGetInput = {
6113
6064
  readonly sessionID: {
6114
6065
  readonly sessionID: string;
6115
6066
  readonly messageID: string;
@@ -6119,708 +6070,404 @@ export type SessionMessageInput = {
6119
6070
  readonly messageID: string;
6120
6071
  }["messageID"];
6121
6072
  };
6122
- export type SessionMessageOutput = {
6073
+ export type SessionMessageGetOutput = {
6123
6074
  data: SessionMessageInfo;
6124
6075
  }["data"];
6125
- export type SessionEnvironmentInput = {
6126
- readonly sessionID: {
6127
- readonly sessionID: string;
6128
- }["sessionID"];
6129
- readonly variables: {
6130
- readonly variables: {
6131
- readonly [x: string]: string;
6132
- };
6133
- }["variables"];
6134
- };
6135
- export type SessionEnvironmentOutput = void;
6136
- export type SessionViewInput = {
6076
+ export type SessionFormListInput = {
6137
6077
  readonly sessionID: {
6138
6078
  readonly sessionID: string;
6139
6079
  }["sessionID"];
6140
- readonly idle: {
6141
- readonly idle: number;
6142
- }["idle"];
6143
6080
  };
6144
- export type SessionViewOutput = void;
6145
- export type MessageListInput = {
6081
+ export type SessionFormListOutput = {
6082
+ data: Array<FormInfo>;
6083
+ }["data"];
6084
+ export type SessionFormCreateInput = {
6146
6085
  readonly sessionID: {
6147
6086
  readonly sessionID: string;
6148
6087
  }["sessionID"];
6149
- readonly limit?: {
6150
- readonly limit?: number | undefined;
6151
- readonly order?: "asc" | "desc" | undefined;
6152
- readonly cursor?: string | undefined;
6153
- readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6154
- }["limit"];
6155
- readonly order?: {
6156
- readonly limit?: number | undefined;
6157
- readonly order?: "asc" | "desc" | undefined;
6158
- readonly cursor?: string | undefined;
6159
- readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6160
- }["order"];
6161
- readonly cursor?: {
6162
- readonly limit?: number | undefined;
6163
- readonly order?: "asc" | "desc" | undefined;
6164
- readonly cursor?: string | undefined;
6165
- readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6166
- }["cursor"];
6167
- readonly type?: {
6168
- readonly limit?: number | undefined;
6169
- readonly order?: "asc" | "desc" | undefined;
6170
- readonly cursor?: string | undefined;
6171
- readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6172
- }["type"];
6173
- };
6174
- export type MessageListOutput = SessionMessagesResponse;
6175
- export type ModelListInput = {
6176
- readonly location?: {
6177
- readonly location?: {
6178
- readonly directory?: string | undefined;
6179
- readonly workspace?: string | undefined;
6180
- } | undefined;
6181
- }["location"];
6182
- };
6183
- export type ModelListOutput = {
6184
- location: {
6185
- directory: string;
6186
- workspaceID?: string;
6187
- project: {
6188
- id: string;
6189
- directory: string;
6190
- canonical: string;
6191
- };
6192
- };
6193
- data: Array<ModelInfo>;
6194
- };
6195
- export type ModelDefaultInput = {
6196
- readonly location?: {
6197
- readonly location?: {
6198
- readonly directory?: string | undefined;
6199
- readonly workspace?: string | undefined;
6200
- } | undefined;
6201
- }["location"];
6202
- };
6203
- export type ModelDefaultOutput = {
6204
- location: {
6205
- directory: string;
6206
- workspaceID?: string;
6207
- project: {
6208
- id: string;
6209
- directory: string;
6210
- canonical: string;
6211
- };
6212
- };
6213
- data: ModelInfo | null;
6214
- };
6215
- export type GenerateTextInput = {
6216
- readonly prompt: {
6217
- readonly prompt: string;
6218
- readonly model?: {
6219
- readonly id: string;
6220
- readonly providerID: string;
6221
- readonly variant?: string;
6222
- } | null;
6223
- }["prompt"];
6224
- readonly model?: {
6225
- readonly prompt: string;
6226
- readonly model?: {
6227
- readonly id: string;
6228
- readonly providerID: string;
6229
- readonly variant?: string;
6230
- } | null;
6231
- }["model"];
6232
- };
6233
- export type GenerateTextOutput = GenerateTextResponse["data"];
6234
- export type ProviderListInput = {
6235
- readonly location?: {
6236
- readonly location?: {
6237
- readonly directory?: string | undefined;
6238
- readonly workspace?: string | undefined;
6239
- } | undefined;
6240
- }["location"];
6241
- };
6242
- export type ProviderListOutput = {
6243
- location: {
6244
- directory: string;
6245
- workspaceID?: string;
6246
- project: {
6247
- id: string;
6248
- directory: string;
6249
- canonical: string;
6250
- };
6251
- };
6252
- data: Array<ProviderInfo>;
6253
- };
6254
- export type ProviderGetInput = {
6255
- readonly providerID: {
6256
- readonly providerID: string;
6257
- }["providerID"];
6258
- readonly location?: {
6259
- readonly location?: {
6260
- readonly directory?: string | undefined;
6261
- readonly workspace?: string | undefined;
6262
- } | undefined;
6263
- }["location"];
6264
- };
6265
- export type ProviderGetOutput = {
6266
- location: {
6267
- directory: string;
6268
- workspaceID?: string;
6269
- project: {
6270
- id: string;
6271
- directory: string;
6272
- canonical: string;
6273
- };
6274
- };
6275
- data: ProviderInfo;
6276
- };
6277
- export type IntegrationListInput = {
6278
- readonly location?: {
6279
- readonly location?: {
6280
- readonly directory?: string | undefined;
6281
- readonly workspace?: string | undefined;
6282
- } | undefined;
6283
- }["location"];
6284
- };
6285
- export type IntegrationListOutput = {
6286
- location: {
6287
- directory: string;
6288
- workspaceID?: string;
6289
- project: {
6290
- id: string;
6291
- directory: string;
6292
- canonical: string;
6293
- };
6294
- };
6295
- data: Array<IntegrationInfo>;
6296
- };
6297
- export type IntegrationGetInput = {
6298
- readonly integrationID: {
6299
- readonly integrationID: string;
6300
- }["integrationID"];
6301
- readonly location?: {
6302
- readonly location?: {
6303
- readonly directory?: string | undefined;
6304
- readonly workspace?: string | undefined;
6305
- } | undefined;
6306
- }["location"];
6307
- };
6308
- export type IntegrationGetOutput = {
6309
- location: {
6310
- directory: string;
6311
- workspaceID?: string;
6312
- project: {
6313
- id: string;
6314
- directory: string;
6315
- canonical: string;
6316
- };
6317
- };
6318
- data: IntegrationInfo | null;
6319
- };
6320
- export type IntegrationWellknownAddInput = {
6321
- readonly location?: {
6322
- readonly location?: {
6323
- readonly directory?: string | undefined;
6324
- readonly workspace?: string | undefined;
6325
- } | undefined;
6326
- }["location"];
6327
- readonly url: {
6328
- readonly url: string;
6329
- }["url"];
6330
- };
6331
- export type IntegrationWellknownAddOutput = void;
6332
- export type IntegrationConnectKeyInput = {
6333
- readonly integrationID: {
6334
- readonly integrationID: string;
6335
- }["integrationID"];
6336
- readonly location?: {
6337
- readonly location?: {
6338
- readonly directory?: string | undefined;
6339
- readonly workspace?: string | undefined;
6340
- } | undefined;
6341
- }["location"];
6342
- readonly key: {
6343
- readonly key: string;
6344
- readonly answer?: {
6345
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6346
- } | undefined;
6347
- readonly label?: string | undefined;
6348
- }["key"];
6349
- readonly answer?: {
6350
- readonly key: string;
6351
- readonly answer?: {
6352
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6353
- } | undefined;
6354
- readonly label?: string | undefined;
6355
- }["answer"];
6356
- readonly label?: {
6357
- readonly key: string;
6358
- readonly answer?: {
6359
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6360
- } | undefined;
6361
- readonly label?: string | undefined;
6362
- }["label"];
6363
- };
6364
- export type IntegrationConnectKeyOutput = void;
6365
- export type IntegrationOauthConnectInput = {
6366
- readonly integrationID: {
6367
- readonly integrationID: string;
6368
- }["integrationID"];
6369
- readonly location?: {
6370
- readonly location?: {
6371
- readonly directory?: string | undefined;
6372
- readonly workspace?: string | undefined;
6373
- } | undefined;
6374
- }["location"];
6375
- readonly methodID: {
6376
- readonly methodID: string;
6377
- readonly answer?: {
6378
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6379
- } | undefined;
6380
- readonly label?: string | undefined;
6381
- }["methodID"];
6382
- readonly answer?: {
6383
- readonly methodID: string;
6384
- readonly answer?: {
6385
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6386
- } | undefined;
6387
- readonly label?: string | undefined;
6388
- }["answer"];
6389
- readonly label?: {
6390
- readonly methodID: string;
6391
- readonly answer?: {
6392
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6393
- } | undefined;
6394
- readonly label?: string | undefined;
6395
- }["label"];
6396
- };
6397
- export type IntegrationOauthConnectOutput = {
6398
- location: {
6399
- directory: string;
6400
- workspaceID?: string;
6401
- project: {
6402
- id: string;
6403
- directory: string;
6404
- canonical: string;
6405
- };
6406
- };
6407
- data: {
6408
- attemptID: string;
6409
- url: string;
6410
- instructions: string;
6411
- mode: "auto" | "code";
6412
- time: {
6413
- created: number | "Infinity" | "-Infinity" | "NaN";
6414
- expires: number | "Infinity" | "-Infinity" | "NaN";
6088
+ readonly id?: {
6089
+ readonly id?: string | null;
6090
+ readonly title: string;
6091
+ readonly metadata?: {
6092
+ readonly [x: string]: JsonValue;
6415
6093
  };
6416
- };
6417
- };
6418
- export type IntegrationOauthStatusInput = {
6419
- readonly integrationID: {
6420
- readonly integrationID: string;
6421
- readonly attemptID: string;
6422
- }["integrationID"];
6423
- readonly attemptID: {
6424
- readonly integrationID: string;
6425
- readonly attemptID: string;
6426
- }["attemptID"];
6427
- readonly location?: {
6428
- readonly location?: {
6429
- readonly directory?: string | undefined;
6430
- readonly workspace?: string | undefined;
6431
- } | undefined;
6432
- }["location"];
6433
- };
6434
- export type IntegrationOauthStatusOutput = {
6435
- location: {
6436
- directory: string;
6437
- workspaceID?: string;
6438
- project: {
6439
- id: string;
6440
- directory: string;
6441
- canonical: string;
6442
- };
6443
- };
6444
- data: IntegrationAttemptStatus;
6445
- };
6446
- export type IntegrationOauthCompleteInput = {
6447
- readonly integrationID: {
6448
- readonly integrationID: string;
6449
- readonly attemptID: string;
6450
- }["integrationID"];
6451
- readonly attemptID: {
6452
- readonly integrationID: string;
6453
- readonly attemptID: string;
6454
- }["attemptID"];
6455
- readonly location?: {
6456
- readonly location?: {
6457
- readonly directory?: string | undefined;
6458
- readonly workspace?: string | undefined;
6459
- } | undefined;
6460
- }["location"];
6461
- readonly code?: {
6462
- readonly code?: string | undefined;
6463
- }["code"];
6464
- };
6465
- export type IntegrationOauthCompleteOutput = void;
6466
- export type IntegrationOauthCancelInput = {
6467
- readonly integrationID: {
6468
- readonly integrationID: string;
6469
- readonly attemptID: string;
6470
- }["integrationID"];
6471
- readonly attemptID: {
6472
- readonly integrationID: string;
6473
- readonly attemptID: string;
6474
- }["attemptID"];
6475
- readonly location?: {
6476
- readonly location?: {
6477
- readonly directory?: string | undefined;
6478
- readonly workspace?: string | undefined;
6479
- } | undefined;
6480
- }["location"];
6481
- };
6482
- export type IntegrationOauthCancelOutput = void;
6483
- export type IntegrationCommandConnectInput = {
6484
- readonly integrationID: {
6485
- readonly integrationID: string;
6486
- }["integrationID"];
6487
- readonly location?: {
6488
- readonly location?: {
6489
- readonly directory?: string | undefined;
6490
- readonly workspace?: string | undefined;
6491
- } | undefined;
6492
- }["location"];
6493
- readonly methodID: {
6494
- readonly methodID: string;
6495
- readonly label?: string | undefined;
6496
- }["methodID"];
6497
- readonly label?: {
6498
- readonly methodID: string;
6499
- readonly label?: string | undefined;
6500
- }["label"];
6501
- };
6502
- export type IntegrationCommandConnectOutput = {
6503
- location: {
6504
- directory: string;
6505
- workspaceID?: string;
6506
- project: {
6507
- id: string;
6508
- directory: string;
6509
- canonical: string;
6094
+ readonly fields: readonly [
6095
+ ({
6096
+ readonly key: string;
6097
+ readonly title?: string;
6098
+ readonly description?: string;
6099
+ readonly required?: boolean;
6100
+ readonly when?: ReadonlyArray<{
6101
+ readonly key: string;
6102
+ readonly op: "eq" | "neq";
6103
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6104
+ }>;
6105
+ readonly type: "string";
6106
+ readonly format?: "email" | "uri" | "date" | "date-time";
6107
+ readonly minLength?: number;
6108
+ readonly maxLength?: number;
6109
+ readonly pattern?: string;
6110
+ readonly placeholder?: string;
6111
+ readonly default?: string;
6112
+ readonly options?: ReadonlyArray<{
6113
+ readonly value: string;
6114
+ readonly label: string;
6115
+ readonly description?: string;
6116
+ }>;
6117
+ readonly custom?: boolean;
6118
+ } | {
6119
+ readonly key: string;
6120
+ readonly title?: string;
6121
+ readonly description?: string;
6122
+ readonly required?: boolean;
6123
+ readonly when?: ReadonlyArray<{
6124
+ readonly key: string;
6125
+ readonly op: "eq" | "neq";
6126
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6127
+ }>;
6128
+ readonly type: "number";
6129
+ readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6130
+ readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6131
+ readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6132
+ } | {
6133
+ readonly key: string;
6134
+ readonly title?: string;
6135
+ readonly description?: string;
6136
+ readonly required?: boolean;
6137
+ readonly when?: ReadonlyArray<{
6138
+ readonly key: string;
6139
+ readonly op: "eq" | "neq";
6140
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6141
+ }>;
6142
+ readonly type: "integer";
6143
+ readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6144
+ readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6145
+ readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6146
+ } | {
6147
+ readonly key: string;
6148
+ readonly title?: string;
6149
+ readonly description?: string;
6150
+ readonly required?: boolean;
6151
+ readonly when?: ReadonlyArray<{
6152
+ readonly key: string;
6153
+ readonly op: "eq" | "neq";
6154
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6155
+ }>;
6156
+ readonly type: "boolean";
6157
+ readonly default?: boolean;
6158
+ } | {
6159
+ readonly key: string;
6160
+ readonly title?: string;
6161
+ readonly description?: string;
6162
+ readonly required?: boolean;
6163
+ readonly when?: ReadonlyArray<{
6164
+ readonly key: string;
6165
+ readonly op: "eq" | "neq";
6166
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6167
+ }>;
6168
+ readonly type: "multiselect";
6169
+ readonly options: ReadonlyArray<{
6170
+ readonly value: string;
6171
+ readonly label: string;
6172
+ readonly description?: string;
6173
+ }>;
6174
+ readonly minItems?: number;
6175
+ readonly maxItems?: number;
6176
+ readonly custom?: boolean;
6177
+ readonly default?: ReadonlyArray<string>;
6178
+ } | {
6179
+ readonly key: string;
6180
+ readonly type: "external";
6181
+ readonly url: string;
6182
+ readonly title?: string;
6183
+ readonly description?: string;
6184
+ }),
6185
+ ...Array<{
6186
+ readonly key: string;
6187
+ readonly title?: string;
6188
+ readonly description?: string;
6189
+ readonly required?: boolean;
6190
+ readonly when?: ReadonlyArray<{
6191
+ readonly key: string;
6192
+ readonly op: "eq" | "neq";
6193
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6194
+ }>;
6195
+ readonly type: "string";
6196
+ readonly format?: "email" | "uri" | "date" | "date-time";
6197
+ readonly minLength?: number;
6198
+ readonly maxLength?: number;
6199
+ readonly pattern?: string;
6200
+ readonly placeholder?: string;
6201
+ readonly default?: string;
6202
+ readonly options?: ReadonlyArray<{
6203
+ readonly value: string;
6204
+ readonly label: string;
6205
+ readonly description?: string;
6206
+ }>;
6207
+ readonly custom?: boolean;
6208
+ } | {
6209
+ readonly key: string;
6210
+ readonly title?: string;
6211
+ readonly description?: string;
6212
+ readonly required?: boolean;
6213
+ readonly when?: ReadonlyArray<{
6214
+ readonly key: string;
6215
+ readonly op: "eq" | "neq";
6216
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6217
+ }>;
6218
+ readonly type: "number";
6219
+ readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6220
+ readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6221
+ readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6222
+ } | {
6223
+ readonly key: string;
6224
+ readonly title?: string;
6225
+ readonly description?: string;
6226
+ readonly required?: boolean;
6227
+ readonly when?: ReadonlyArray<{
6228
+ readonly key: string;
6229
+ readonly op: "eq" | "neq";
6230
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6231
+ }>;
6232
+ readonly type: "integer";
6233
+ readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6234
+ readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6235
+ readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6236
+ } | {
6237
+ readonly key: string;
6238
+ readonly title?: string;
6239
+ readonly description?: string;
6240
+ readonly required?: boolean;
6241
+ readonly when?: ReadonlyArray<{
6242
+ readonly key: string;
6243
+ readonly op: "eq" | "neq";
6244
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6245
+ }>;
6246
+ readonly type: "boolean";
6247
+ readonly default?: boolean;
6248
+ } | {
6249
+ readonly key: string;
6250
+ readonly title?: string;
6251
+ readonly description?: string;
6252
+ readonly required?: boolean;
6253
+ readonly when?: ReadonlyArray<{
6254
+ readonly key: string;
6255
+ readonly op: "eq" | "neq";
6256
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6257
+ }>;
6258
+ readonly type: "multiselect";
6259
+ readonly options: ReadonlyArray<{
6260
+ readonly value: string;
6261
+ readonly label: string;
6262
+ readonly description?: string;
6263
+ }>;
6264
+ readonly minItems?: number;
6265
+ readonly maxItems?: number;
6266
+ readonly custom?: boolean;
6267
+ readonly default?: ReadonlyArray<string>;
6268
+ } | {
6269
+ readonly key: string;
6270
+ readonly type: "external";
6271
+ readonly url: string;
6272
+ readonly title?: string;
6273
+ readonly description?: string;
6274
+ }>
6275
+ ];
6276
+ }["id"];
6277
+ readonly title: {
6278
+ readonly id?: string | null;
6279
+ readonly title: string;
6280
+ readonly metadata?: {
6281
+ readonly [x: string]: JsonValue;
6510
6282
  };
6511
- };
6512
- data: IntegrationCommandAttempt;
6513
- };
6514
- export type IntegrationCommandStatusInput = {
6515
- readonly integrationID: {
6516
- readonly integrationID: string;
6517
- readonly attemptID: string;
6518
- }["integrationID"];
6519
- readonly attemptID: {
6520
- readonly integrationID: string;
6521
- readonly attemptID: string;
6522
- }["attemptID"];
6523
- readonly location?: {
6524
- readonly location?: {
6525
- readonly directory?: string | undefined;
6526
- readonly workspace?: string | undefined;
6527
- } | undefined;
6528
- }["location"];
6529
- };
6530
- export type IntegrationCommandStatusOutput = {
6531
- location: {
6532
- directory: string;
6533
- workspaceID?: string;
6534
- project: {
6535
- id: string;
6536
- directory: string;
6537
- canonical: string;
6538
- };
6539
- };
6540
- data: IntegrationCommandAttemptStatus;
6541
- };
6542
- export type IntegrationCommandCancelInput = {
6543
- readonly integrationID: {
6544
- readonly integrationID: string;
6545
- readonly attemptID: string;
6546
- }["integrationID"];
6547
- readonly attemptID: {
6548
- readonly integrationID: string;
6549
- readonly attemptID: string;
6550
- }["attemptID"];
6551
- readonly location?: {
6552
- readonly location?: {
6553
- readonly directory?: string | undefined;
6554
- readonly workspace?: string | undefined;
6555
- } | undefined;
6556
- }["location"];
6557
- };
6558
- export type IntegrationCommandCancelOutput = void;
6559
- export type McpListInput = {
6560
- readonly location?: {
6561
- readonly location?: {
6562
- readonly directory?: string | undefined;
6563
- readonly workspace?: string | undefined;
6564
- } | undefined;
6565
- }["location"];
6566
- };
6567
- export type McpListOutput = {
6568
- location: {
6569
- directory: string;
6570
- workspaceID?: string;
6571
- project: {
6572
- id: string;
6573
- directory: string;
6574
- canonical: string;
6575
- };
6576
- };
6577
- data: Array<McpServer>;
6578
- };
6579
- export type McpAddInput = {
6580
- readonly server: {
6581
- readonly server: string;
6582
- }["server"];
6583
- readonly location?: {
6584
- readonly location?: {
6585
- readonly directory?: string | undefined;
6586
- readonly workspace?: string | undefined;
6587
- } | undefined;
6588
- }["location"];
6589
- readonly config: {
6590
- readonly config: {
6591
- readonly type: "local";
6592
- readonly command: ReadonlyArray<string>;
6593
- readonly cwd?: string;
6594
- readonly environment?: {
6595
- readonly [x: string]: string;
6596
- };
6597
- readonly disabled?: boolean;
6598
- readonly codemode?: boolean;
6599
- readonly timeout?: {
6600
- readonly startup?: number;
6601
- readonly catalog?: number;
6602
- readonly execution?: number;
6603
- };
6604
- } | {
6605
- readonly type: "remote";
6606
- readonly url: string;
6607
- readonly headers?: {
6608
- readonly [x: string]: string;
6609
- };
6610
- readonly oauth?: {
6611
- readonly client_id?: string;
6612
- readonly client_secret?: string;
6613
- readonly scope?: string;
6614
- readonly callback_port?: number;
6615
- readonly redirect_uri?: string;
6616
- } | false;
6617
- readonly disabled?: boolean;
6618
- readonly codemode?: boolean;
6619
- readonly timeout?: {
6620
- readonly startup?: number;
6621
- readonly catalog?: number;
6622
- readonly execution?: number;
6623
- };
6624
- };
6625
- }["config"];
6626
- };
6627
- export type McpAddOutput = void;
6628
- export type McpRemoveInput = {
6629
- readonly server: {
6630
- readonly server: string;
6631
- }["server"];
6632
- readonly location?: {
6633
- readonly location?: {
6634
- readonly directory?: string | undefined;
6635
- readonly workspace?: string | undefined;
6636
- } | undefined;
6637
- }["location"];
6638
- };
6639
- export type McpRemoveOutput = void;
6640
- export type McpConnectInput = {
6641
- readonly server: {
6642
- readonly server: string;
6643
- }["server"];
6644
- readonly location?: {
6645
- readonly location?: {
6646
- readonly directory?: string | undefined;
6647
- readonly workspace?: string | undefined;
6648
- } | undefined;
6649
- }["location"];
6650
- };
6651
- export type McpConnectOutput = void;
6652
- export type McpDisconnectInput = {
6653
- readonly server: {
6654
- readonly server: string;
6655
- }["server"];
6656
- readonly location?: {
6657
- readonly location?: {
6658
- readonly directory?: string | undefined;
6659
- readonly workspace?: string | undefined;
6660
- } | undefined;
6661
- }["location"];
6662
- };
6663
- export type McpDisconnectOutput = void;
6664
- export type McpResourceCatalogInput = {
6665
- readonly location?: {
6666
- readonly location?: {
6667
- readonly directory?: string | undefined;
6668
- readonly workspace?: string | undefined;
6669
- } | undefined;
6670
- }["location"];
6671
- };
6672
- export type McpResourceCatalogOutput = {
6673
- location: {
6674
- directory: string;
6675
- workspaceID?: string;
6676
- project: {
6677
- id: string;
6678
- directory: string;
6679
- canonical: string;
6680
- };
6681
- };
6682
- data: McpResourceCatalog;
6683
- };
6684
- export type CredentialUpdateInput = {
6685
- readonly credentialID: {
6686
- readonly credentialID: string;
6687
- }["credentialID"];
6688
- readonly location?: {
6689
- readonly location?: {
6690
- readonly directory?: string | undefined;
6691
- readonly workspace?: string | undefined;
6692
- } | undefined;
6693
- }["location"];
6694
- readonly label: {
6695
- readonly label: string;
6696
- }["label"];
6697
- };
6698
- export type CredentialUpdateOutput = void;
6699
- export type CredentialActivateInput = {
6700
- readonly credentialID: {
6701
- readonly credentialID: string;
6702
- }["credentialID"];
6703
- readonly location?: {
6704
- readonly location?: {
6705
- readonly directory?: string | undefined;
6706
- readonly workspace?: string | undefined;
6707
- } | undefined;
6708
- }["location"];
6709
- };
6710
- export type CredentialActivateOutput = void;
6711
- export type CredentialRemoveInput = {
6712
- readonly credentialID: {
6713
- readonly credentialID: string;
6714
- }["credentialID"];
6715
- readonly location?: {
6716
- readonly location?: {
6717
- readonly directory?: string | undefined;
6718
- readonly workspace?: string | undefined;
6719
- } | undefined;
6720
- }["location"];
6721
- };
6722
- export type CredentialRemoveOutput = void;
6723
- export type ProjectListOutput = Array<Project>;
6724
- export type ProjectUpdateInput = {
6725
- readonly projectID: {
6726
- readonly projectID: string;
6727
- }["projectID"];
6728
- readonly canonical?: {
6729
- readonly canonical?: string;
6730
- readonly name?: string;
6731
- readonly icon?: {
6732
- readonly url?: string;
6733
- readonly override?: string;
6734
- readonly color?: string;
6735
- };
6736
- readonly commands?: {
6737
- readonly start?: string;
6738
- };
6739
- }["canonical"];
6740
- readonly name?: {
6741
- readonly canonical?: string;
6742
- readonly name?: string;
6743
- readonly icon?: {
6744
- readonly url?: string;
6745
- readonly override?: string;
6746
- readonly color?: string;
6747
- };
6748
- readonly commands?: {
6749
- readonly start?: string;
6750
- };
6751
- }["name"];
6752
- readonly icon?: {
6753
- readonly canonical?: string;
6754
- readonly name?: string;
6755
- readonly icon?: {
6756
- readonly url?: string;
6757
- readonly override?: string;
6758
- readonly color?: string;
6759
- };
6760
- readonly commands?: {
6761
- readonly start?: string;
6762
- };
6763
- }["icon"];
6764
- readonly commands?: {
6765
- readonly canonical?: string;
6766
- readonly name?: string;
6767
- readonly icon?: {
6768
- readonly url?: string;
6769
- readonly override?: string;
6770
- readonly color?: string;
6771
- };
6772
- readonly commands?: {
6773
- readonly start?: string;
6774
- };
6775
- }["commands"];
6776
- };
6777
- export type ProjectUpdateOutput = Project;
6778
- export type ProjectCurrentInput = {
6779
- readonly location?: {
6780
- readonly location?: {
6781
- readonly directory?: string | undefined;
6782
- readonly workspace?: string | undefined;
6783
- } | undefined;
6784
- }["location"];
6785
- };
6786
- export type ProjectCurrentOutput = ProjectCurrent;
6787
- export type FormRequestListInput = {
6788
- readonly location?: {
6789
- readonly location?: {
6790
- readonly directory?: string | undefined;
6791
- readonly workspace?: string | undefined;
6792
- } | undefined;
6793
- }["location"];
6794
- };
6795
- export type FormRequestListOutput = {
6796
- location: {
6797
- directory: string;
6798
- workspaceID?: string;
6799
- project: {
6800
- id: string;
6801
- directory: string;
6802
- canonical: string;
6803
- };
6804
- };
6805
- data: Array<FormInfo>;
6806
- };
6807
- export type FormListInput = {
6808
- readonly sessionID: {
6809
- readonly sessionID: string;
6810
- }["sessionID"];
6811
- };
6812
- export type FormListOutput = {
6813
- data: Array<FormInfo>;
6814
- }["data"];
6815
- export type FormCreateInput = {
6816
- readonly sessionID: {
6817
- readonly sessionID: string;
6818
- }["sessionID"];
6819
- readonly id?: {
6820
- readonly id?: string | null;
6821
- readonly title: string;
6822
- readonly metadata?: {
6823
- readonly [x: string]: JsonValue;
6283
+ readonly fields: readonly [
6284
+ ({
6285
+ readonly key: string;
6286
+ readonly title?: string;
6287
+ readonly description?: string;
6288
+ readonly required?: boolean;
6289
+ readonly when?: ReadonlyArray<{
6290
+ readonly key: string;
6291
+ readonly op: "eq" | "neq";
6292
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6293
+ }>;
6294
+ readonly type: "string";
6295
+ readonly format?: "email" | "uri" | "date" | "date-time";
6296
+ readonly minLength?: number;
6297
+ readonly maxLength?: number;
6298
+ readonly pattern?: string;
6299
+ readonly placeholder?: string;
6300
+ readonly default?: string;
6301
+ readonly options?: ReadonlyArray<{
6302
+ readonly value: string;
6303
+ readonly label: string;
6304
+ readonly description?: string;
6305
+ }>;
6306
+ readonly custom?: boolean;
6307
+ } | {
6308
+ readonly key: string;
6309
+ readonly title?: string;
6310
+ readonly description?: string;
6311
+ readonly required?: boolean;
6312
+ readonly when?: ReadonlyArray<{
6313
+ readonly key: string;
6314
+ readonly op: "eq" | "neq";
6315
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6316
+ }>;
6317
+ readonly type: "number";
6318
+ readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6319
+ readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6320
+ readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6321
+ } | {
6322
+ readonly key: string;
6323
+ readonly title?: string;
6324
+ readonly description?: string;
6325
+ readonly required?: boolean;
6326
+ readonly when?: ReadonlyArray<{
6327
+ readonly key: string;
6328
+ readonly op: "eq" | "neq";
6329
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6330
+ }>;
6331
+ readonly type: "integer";
6332
+ readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6333
+ readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6334
+ readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6335
+ } | {
6336
+ readonly key: string;
6337
+ readonly title?: string;
6338
+ readonly description?: string;
6339
+ readonly required?: boolean;
6340
+ readonly when?: ReadonlyArray<{
6341
+ readonly key: string;
6342
+ readonly op: "eq" | "neq";
6343
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6344
+ }>;
6345
+ readonly type: "boolean";
6346
+ readonly default?: boolean;
6347
+ } | {
6348
+ readonly key: string;
6349
+ readonly title?: string;
6350
+ readonly description?: string;
6351
+ readonly required?: boolean;
6352
+ readonly when?: ReadonlyArray<{
6353
+ readonly key: string;
6354
+ readonly op: "eq" | "neq";
6355
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6356
+ }>;
6357
+ readonly type: "multiselect";
6358
+ readonly options: ReadonlyArray<{
6359
+ readonly value: string;
6360
+ readonly label: string;
6361
+ readonly description?: string;
6362
+ }>;
6363
+ readonly minItems?: number;
6364
+ readonly maxItems?: number;
6365
+ readonly custom?: boolean;
6366
+ readonly default?: ReadonlyArray<string>;
6367
+ } | {
6368
+ readonly key: string;
6369
+ readonly type: "external";
6370
+ readonly url: string;
6371
+ readonly title?: string;
6372
+ readonly description?: string;
6373
+ }),
6374
+ ...Array<{
6375
+ readonly key: string;
6376
+ readonly title?: string;
6377
+ readonly description?: string;
6378
+ readonly required?: boolean;
6379
+ readonly when?: ReadonlyArray<{
6380
+ readonly key: string;
6381
+ readonly op: "eq" | "neq";
6382
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6383
+ }>;
6384
+ readonly type: "string";
6385
+ readonly format?: "email" | "uri" | "date" | "date-time";
6386
+ readonly minLength?: number;
6387
+ readonly maxLength?: number;
6388
+ readonly pattern?: string;
6389
+ readonly placeholder?: string;
6390
+ readonly default?: string;
6391
+ readonly options?: ReadonlyArray<{
6392
+ readonly value: string;
6393
+ readonly label: string;
6394
+ readonly description?: string;
6395
+ }>;
6396
+ readonly custom?: boolean;
6397
+ } | {
6398
+ readonly key: string;
6399
+ readonly title?: string;
6400
+ readonly description?: string;
6401
+ readonly required?: boolean;
6402
+ readonly when?: ReadonlyArray<{
6403
+ readonly key: string;
6404
+ readonly op: "eq" | "neq";
6405
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6406
+ }>;
6407
+ readonly type: "number";
6408
+ readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6409
+ readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6410
+ readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6411
+ } | {
6412
+ readonly key: string;
6413
+ readonly title?: string;
6414
+ readonly description?: string;
6415
+ readonly required?: boolean;
6416
+ readonly when?: ReadonlyArray<{
6417
+ readonly key: string;
6418
+ readonly op: "eq" | "neq";
6419
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6420
+ }>;
6421
+ readonly type: "integer";
6422
+ readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6423
+ readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6424
+ readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6425
+ } | {
6426
+ readonly key: string;
6427
+ readonly title?: string;
6428
+ readonly description?: string;
6429
+ readonly required?: boolean;
6430
+ readonly when?: ReadonlyArray<{
6431
+ readonly key: string;
6432
+ readonly op: "eq" | "neq";
6433
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6434
+ }>;
6435
+ readonly type: "boolean";
6436
+ readonly default?: boolean;
6437
+ } | {
6438
+ readonly key: string;
6439
+ readonly title?: string;
6440
+ readonly description?: string;
6441
+ readonly required?: boolean;
6442
+ readonly when?: ReadonlyArray<{
6443
+ readonly key: string;
6444
+ readonly op: "eq" | "neq";
6445
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6446
+ }>;
6447
+ readonly type: "multiselect";
6448
+ readonly options: ReadonlyArray<{
6449
+ readonly value: string;
6450
+ readonly label: string;
6451
+ readonly description?: string;
6452
+ }>;
6453
+ readonly minItems?: number;
6454
+ readonly maxItems?: number;
6455
+ readonly custom?: boolean;
6456
+ readonly default?: ReadonlyArray<string>;
6457
+ } | {
6458
+ readonly key: string;
6459
+ readonly type: "external";
6460
+ readonly url: string;
6461
+ readonly title?: string;
6462
+ readonly description?: string;
6463
+ }>
6464
+ ];
6465
+ }["title"];
6466
+ readonly metadata?: {
6467
+ readonly id?: string | null;
6468
+ readonly title: string;
6469
+ readonly metadata?: {
6470
+ readonly [x: string]: JsonValue;
6824
6471
  };
6825
6472
  readonly fields: readonly [
6826
6473
  ({
@@ -7004,8 +6651,8 @@ export type FormCreateInput = {
7004
6651
  readonly description?: string;
7005
6652
  }>
7006
6653
  ];
7007
- }["id"];
7008
- readonly title: {
6654
+ }["metadata"];
6655
+ readonly fields: {
7009
6656
  readonly id?: string | null;
7010
6657
  readonly title: string;
7011
6658
  readonly metadata?: {
@@ -7193,460 +6840,583 @@ export type FormCreateInput = {
7193
6840
  readonly description?: string;
7194
6841
  }>
7195
6842
  ];
7196
- }["title"];
7197
- readonly metadata?: {
7198
- readonly id?: string | null;
7199
- readonly title: string;
7200
- readonly metadata?: {
7201
- readonly [x: string]: JsonValue;
6843
+ }["fields"];
6844
+ };
6845
+ export type SessionFormCreateOutput = {
6846
+ data: FormInfo;
6847
+ }["data"];
6848
+ export type SessionFormGetInput = {
6849
+ readonly sessionID: {
6850
+ readonly sessionID: string;
6851
+ readonly formID: string;
6852
+ }["sessionID"];
6853
+ readonly formID: {
6854
+ readonly sessionID: string;
6855
+ readonly formID: string;
6856
+ }["formID"];
6857
+ };
6858
+ export type SessionFormGetOutput = {
6859
+ data: FormDetail;
6860
+ }["data"];
6861
+ export type SessionFormReplyInput = {
6862
+ readonly sessionID: {
6863
+ readonly sessionID: string;
6864
+ readonly formID: string;
6865
+ }["sessionID"];
6866
+ readonly formID: {
6867
+ readonly sessionID: string;
6868
+ readonly formID: string;
6869
+ }["formID"];
6870
+ readonly answer: {
6871
+ readonly answer: {
6872
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
7202
6873
  };
7203
- readonly fields: readonly [
7204
- ({
7205
- readonly key: string;
7206
- readonly title?: string;
7207
- readonly description?: string;
7208
- readonly required?: boolean;
7209
- readonly when?: ReadonlyArray<{
7210
- readonly key: string;
7211
- readonly op: "eq" | "neq";
7212
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7213
- }>;
7214
- readonly type: "string";
7215
- readonly format?: "email" | "uri" | "date" | "date-time";
7216
- readonly minLength?: number;
7217
- readonly maxLength?: number;
7218
- readonly pattern?: string;
7219
- readonly placeholder?: string;
7220
- readonly default?: string;
7221
- readonly options?: ReadonlyArray<{
7222
- readonly value: string;
7223
- readonly label: string;
7224
- readonly description?: string;
7225
- }>;
7226
- readonly custom?: boolean;
7227
- } | {
7228
- readonly key: string;
7229
- readonly title?: string;
7230
- readonly description?: string;
7231
- readonly required?: boolean;
7232
- readonly when?: ReadonlyArray<{
7233
- readonly key: string;
7234
- readonly op: "eq" | "neq";
7235
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7236
- }>;
7237
- readonly type: "number";
7238
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
7239
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
7240
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
7241
- } | {
7242
- readonly key: string;
7243
- readonly title?: string;
7244
- readonly description?: string;
7245
- readonly required?: boolean;
7246
- readonly when?: ReadonlyArray<{
7247
- readonly key: string;
7248
- readonly op: "eq" | "neq";
7249
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7250
- }>;
7251
- readonly type: "integer";
7252
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
7253
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
7254
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
7255
- } | {
7256
- readonly key: string;
7257
- readonly title?: string;
7258
- readonly description?: string;
7259
- readonly required?: boolean;
7260
- readonly when?: ReadonlyArray<{
7261
- readonly key: string;
7262
- readonly op: "eq" | "neq";
7263
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7264
- }>;
7265
- readonly type: "boolean";
7266
- readonly default?: boolean;
7267
- } | {
7268
- readonly key: string;
7269
- readonly title?: string;
7270
- readonly description?: string;
7271
- readonly required?: boolean;
7272
- readonly when?: ReadonlyArray<{
7273
- readonly key: string;
7274
- readonly op: "eq" | "neq";
7275
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7276
- }>;
7277
- readonly type: "multiselect";
7278
- readonly options: ReadonlyArray<{
7279
- readonly value: string;
7280
- readonly label: string;
7281
- readonly description?: string;
7282
- }>;
7283
- readonly minItems?: number;
7284
- readonly maxItems?: number;
7285
- readonly custom?: boolean;
7286
- readonly default?: ReadonlyArray<string>;
7287
- } | {
7288
- readonly key: string;
7289
- readonly type: "external";
7290
- readonly url: string;
7291
- readonly title?: string;
7292
- readonly description?: string;
7293
- }),
7294
- ...Array<{
7295
- readonly key: string;
7296
- readonly title?: string;
7297
- readonly description?: string;
7298
- readonly required?: boolean;
7299
- readonly when?: ReadonlyArray<{
7300
- readonly key: string;
7301
- readonly op: "eq" | "neq";
7302
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7303
- }>;
7304
- readonly type: "string";
7305
- readonly format?: "email" | "uri" | "date" | "date-time";
7306
- readonly minLength?: number;
7307
- readonly maxLength?: number;
7308
- readonly pattern?: string;
7309
- readonly placeholder?: string;
7310
- readonly default?: string;
7311
- readonly options?: ReadonlyArray<{
7312
- readonly value: string;
7313
- readonly label: string;
7314
- readonly description?: string;
7315
- }>;
7316
- readonly custom?: boolean;
7317
- } | {
7318
- readonly key: string;
7319
- readonly title?: string;
7320
- readonly description?: string;
7321
- readonly required?: boolean;
7322
- readonly when?: ReadonlyArray<{
7323
- readonly key: string;
7324
- readonly op: "eq" | "neq";
7325
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7326
- }>;
7327
- readonly type: "number";
7328
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
7329
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
7330
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
7331
- } | {
7332
- readonly key: string;
7333
- readonly title?: string;
7334
- readonly description?: string;
7335
- readonly required?: boolean;
7336
- readonly when?: ReadonlyArray<{
7337
- readonly key: string;
7338
- readonly op: "eq" | "neq";
7339
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7340
- }>;
7341
- readonly type: "integer";
7342
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
7343
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
7344
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
7345
- } | {
7346
- readonly key: string;
7347
- readonly title?: string;
7348
- readonly description?: string;
7349
- readonly required?: boolean;
7350
- readonly when?: ReadonlyArray<{
7351
- readonly key: string;
7352
- readonly op: "eq" | "neq";
7353
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7354
- }>;
7355
- readonly type: "boolean";
7356
- readonly default?: boolean;
7357
- } | {
7358
- readonly key: string;
7359
- readonly title?: string;
7360
- readonly description?: string;
7361
- readonly required?: boolean;
7362
- readonly when?: ReadonlyArray<{
7363
- readonly key: string;
7364
- readonly op: "eq" | "neq";
7365
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7366
- }>;
7367
- readonly type: "multiselect";
7368
- readonly options: ReadonlyArray<{
7369
- readonly value: string;
7370
- readonly label: string;
7371
- readonly description?: string;
7372
- }>;
7373
- readonly minItems?: number;
7374
- readonly maxItems?: number;
7375
- readonly custom?: boolean;
7376
- readonly default?: ReadonlyArray<string>;
7377
- } | {
7378
- readonly key: string;
7379
- readonly type: "external";
7380
- readonly url: string;
7381
- readonly title?: string;
7382
- readonly description?: string;
7383
- }>
7384
- ];
7385
- }["metadata"];
7386
- readonly fields: {
7387
- readonly id?: string | null;
7388
- readonly title: string;
7389
- readonly metadata?: {
7390
- readonly [x: string]: JsonValue;
6874
+ }["answer"];
6875
+ };
6876
+ export type SessionFormReplyOutput = void;
6877
+ export type SessionFormCancelInput = {
6878
+ readonly sessionID: {
6879
+ readonly sessionID: string;
6880
+ readonly formID: string;
6881
+ }["sessionID"];
6882
+ readonly formID: {
6883
+ readonly sessionID: string;
6884
+ readonly formID: string;
6885
+ }["formID"];
6886
+ };
6887
+ export type SessionFormCancelOutput = void;
6888
+ export type SessionEnvironmentInput = {
6889
+ readonly sessionID: {
6890
+ readonly sessionID: string;
6891
+ }["sessionID"];
6892
+ readonly variables: {
6893
+ readonly variables: {
6894
+ readonly [x: string]: string;
6895
+ };
6896
+ }["variables"];
6897
+ };
6898
+ export type SessionEnvironmentOutput = void;
6899
+ export type SessionViewInput = {
6900
+ readonly sessionID: {
6901
+ readonly sessionID: string;
6902
+ }["sessionID"];
6903
+ readonly idle: {
6904
+ readonly idle: number;
6905
+ }["idle"];
6906
+ };
6907
+ export type SessionViewOutput = void;
6908
+ export type MessageListInput = {
6909
+ readonly sessionID: {
6910
+ readonly sessionID: string;
6911
+ }["sessionID"];
6912
+ readonly limit?: {
6913
+ readonly limit?: number | undefined;
6914
+ readonly order?: "asc" | "desc" | undefined;
6915
+ readonly cursor?: string | undefined;
6916
+ readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6917
+ }["limit"];
6918
+ readonly order?: {
6919
+ readonly limit?: number | undefined;
6920
+ readonly order?: "asc" | "desc" | undefined;
6921
+ readonly cursor?: string | undefined;
6922
+ readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6923
+ }["order"];
6924
+ readonly cursor?: {
6925
+ readonly limit?: number | undefined;
6926
+ readonly order?: "asc" | "desc" | undefined;
6927
+ readonly cursor?: string | undefined;
6928
+ readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6929
+ }["cursor"];
6930
+ readonly type?: {
6931
+ readonly limit?: number | undefined;
6932
+ readonly order?: "asc" | "desc" | undefined;
6933
+ readonly cursor?: string | undefined;
6934
+ readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6935
+ }["type"];
6936
+ };
6937
+ export type MessageListOutput = SessionMessagesResponse;
6938
+ export type ModelListInput = {
6939
+ readonly location?: {
6940
+ readonly location?: {
6941
+ readonly directory?: string | undefined;
6942
+ } | undefined;
6943
+ }["location"];
6944
+ };
6945
+ export type ModelListOutput = {
6946
+ location: LocationPublicRef;
6947
+ data: Array<ModelInfo>;
6948
+ };
6949
+ export type ModelDefaultInput = {
6950
+ readonly location?: {
6951
+ readonly location?: {
6952
+ readonly directory?: string | undefined;
6953
+ } | undefined;
6954
+ }["location"];
6955
+ };
6956
+ export type ModelDefaultOutput = {
6957
+ location: LocationPublicRef;
6958
+ data: ModelInfo | null;
6959
+ };
6960
+ export type GenerateTextInput = {
6961
+ readonly prompt: {
6962
+ readonly prompt: string;
6963
+ readonly model?: {
6964
+ readonly id: string;
6965
+ readonly providerID: string;
6966
+ readonly variant?: string;
6967
+ } | null;
6968
+ }["prompt"];
6969
+ readonly model?: {
6970
+ readonly prompt: string;
6971
+ readonly model?: {
6972
+ readonly id: string;
6973
+ readonly providerID: string;
6974
+ readonly variant?: string;
6975
+ } | null;
6976
+ }["model"];
6977
+ };
6978
+ export type GenerateTextOutput = GenerateTextResponse["data"];
6979
+ export type ProviderListInput = {
6980
+ readonly location?: {
6981
+ readonly location?: {
6982
+ readonly directory?: string | undefined;
6983
+ } | undefined;
6984
+ }["location"];
6985
+ };
6986
+ export type ProviderListOutput = {
6987
+ location: LocationPublicRef;
6988
+ data: Array<ProviderInfo>;
6989
+ };
6990
+ export type ProviderGetInput = {
6991
+ readonly providerID: {
6992
+ readonly providerID: string;
6993
+ }["providerID"];
6994
+ readonly location?: {
6995
+ readonly location?: {
6996
+ readonly directory?: string | undefined;
6997
+ } | undefined;
6998
+ }["location"];
6999
+ };
7000
+ export type ProviderGetOutput = {
7001
+ location: LocationPublicRef;
7002
+ data: ProviderInfo;
7003
+ };
7004
+ export type IntegrationListInput = {
7005
+ readonly location?: {
7006
+ readonly location?: {
7007
+ readonly directory?: string | undefined;
7008
+ } | undefined;
7009
+ }["location"];
7010
+ };
7011
+ export type IntegrationListOutput = {
7012
+ location: LocationPublicRef;
7013
+ data: Array<IntegrationInfo>;
7014
+ };
7015
+ export type IntegrationGetInput = {
7016
+ readonly integrationID: {
7017
+ readonly integrationID: string;
7018
+ }["integrationID"];
7019
+ readonly location?: {
7020
+ readonly location?: {
7021
+ readonly directory?: string | undefined;
7022
+ } | undefined;
7023
+ }["location"];
7024
+ };
7025
+ export type IntegrationGetOutput = {
7026
+ location: LocationPublicRef;
7027
+ data: IntegrationInfo;
7028
+ };
7029
+ export type IntegrationWellknownAddInput = {
7030
+ readonly location?: {
7031
+ readonly location?: {
7032
+ readonly directory?: string | undefined;
7033
+ } | undefined;
7034
+ }["location"];
7035
+ readonly url: {
7036
+ readonly url: string;
7037
+ }["url"];
7038
+ };
7039
+ export type IntegrationWellknownAddOutput = void;
7040
+ export type IntegrationConnectKeyInput = {
7041
+ readonly integrationID: {
7042
+ readonly integrationID: string;
7043
+ }["integrationID"];
7044
+ readonly location?: {
7045
+ readonly location?: {
7046
+ readonly directory?: string | undefined;
7047
+ } | undefined;
7048
+ }["location"];
7049
+ readonly key: {
7050
+ readonly key: string;
7051
+ readonly answer?: {
7052
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
7053
+ } | undefined;
7054
+ readonly label?: string | undefined;
7055
+ }["key"];
7056
+ readonly answer?: {
7057
+ readonly key: string;
7058
+ readonly answer?: {
7059
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
7060
+ } | undefined;
7061
+ readonly label?: string | undefined;
7062
+ }["answer"];
7063
+ readonly label?: {
7064
+ readonly key: string;
7065
+ readonly answer?: {
7066
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
7067
+ } | undefined;
7068
+ readonly label?: string | undefined;
7069
+ }["label"];
7070
+ };
7071
+ export type IntegrationConnectKeyOutput = void;
7072
+ export type IntegrationOauthConnectInput = {
7073
+ readonly integrationID: {
7074
+ readonly integrationID: string;
7075
+ }["integrationID"];
7076
+ readonly location?: {
7077
+ readonly location?: {
7078
+ readonly directory?: string | undefined;
7079
+ } | undefined;
7080
+ }["location"];
7081
+ readonly methodID: {
7082
+ readonly methodID: string;
7083
+ readonly answer?: {
7084
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
7085
+ } | undefined;
7086
+ readonly label?: string | undefined;
7087
+ }["methodID"];
7088
+ readonly answer?: {
7089
+ readonly methodID: string;
7090
+ readonly answer?: {
7091
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
7092
+ } | undefined;
7093
+ readonly label?: string | undefined;
7094
+ }["answer"];
7095
+ readonly label?: {
7096
+ readonly methodID: string;
7097
+ readonly answer?: {
7098
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
7099
+ } | undefined;
7100
+ readonly label?: string | undefined;
7101
+ }["label"];
7102
+ };
7103
+ export type IntegrationOauthConnectOutput = {
7104
+ location: LocationPublicRef;
7105
+ data: IntegrationAttempt;
7106
+ };
7107
+ export type IntegrationOauthStatusInput = {
7108
+ readonly integrationID: {
7109
+ readonly integrationID: string;
7110
+ readonly attemptID: string;
7111
+ }["integrationID"];
7112
+ readonly attemptID: {
7113
+ readonly integrationID: string;
7114
+ readonly attemptID: string;
7115
+ }["attemptID"];
7116
+ readonly location?: {
7117
+ readonly location?: {
7118
+ readonly directory?: string | undefined;
7119
+ } | undefined;
7120
+ }["location"];
7121
+ };
7122
+ export type IntegrationOauthStatusOutput = {
7123
+ location: LocationPublicRef;
7124
+ data: IntegrationAttemptStatus;
7125
+ };
7126
+ export type IntegrationOauthCompleteInput = {
7127
+ readonly integrationID: {
7128
+ readonly integrationID: string;
7129
+ readonly attemptID: string;
7130
+ }["integrationID"];
7131
+ readonly attemptID: {
7132
+ readonly integrationID: string;
7133
+ readonly attemptID: string;
7134
+ }["attemptID"];
7135
+ readonly location?: {
7136
+ readonly location?: {
7137
+ readonly directory?: string | undefined;
7138
+ } | undefined;
7139
+ }["location"];
7140
+ readonly code?: {
7141
+ readonly code?: string | undefined;
7142
+ }["code"];
7143
+ };
7144
+ export type IntegrationOauthCompleteOutput = void;
7145
+ export type IntegrationOauthCancelInput = {
7146
+ readonly integrationID: {
7147
+ readonly integrationID: string;
7148
+ readonly attemptID: string;
7149
+ }["integrationID"];
7150
+ readonly attemptID: {
7151
+ readonly integrationID: string;
7152
+ readonly attemptID: string;
7153
+ }["attemptID"];
7154
+ readonly location?: {
7155
+ readonly location?: {
7156
+ readonly directory?: string | undefined;
7157
+ } | undefined;
7158
+ }["location"];
7159
+ };
7160
+ export type IntegrationOauthCancelOutput = void;
7161
+ export type IntegrationCommandConnectInput = {
7162
+ readonly integrationID: {
7163
+ readonly integrationID: string;
7164
+ }["integrationID"];
7165
+ readonly location?: {
7166
+ readonly location?: {
7167
+ readonly directory?: string | undefined;
7168
+ } | undefined;
7169
+ }["location"];
7170
+ readonly methodID: {
7171
+ readonly methodID: string;
7172
+ readonly label?: string | undefined;
7173
+ }["methodID"];
7174
+ readonly label?: {
7175
+ readonly methodID: string;
7176
+ readonly label?: string | undefined;
7177
+ }["label"];
7178
+ };
7179
+ export type IntegrationCommandConnectOutput = {
7180
+ location: LocationPublicRef;
7181
+ data: IntegrationCommandAttempt;
7182
+ };
7183
+ export type IntegrationCommandStatusInput = {
7184
+ readonly integrationID: {
7185
+ readonly integrationID: string;
7186
+ readonly attemptID: string;
7187
+ }["integrationID"];
7188
+ readonly attemptID: {
7189
+ readonly integrationID: string;
7190
+ readonly attemptID: string;
7191
+ }["attemptID"];
7192
+ readonly location?: {
7193
+ readonly location?: {
7194
+ readonly directory?: string | undefined;
7195
+ } | undefined;
7196
+ }["location"];
7197
+ };
7198
+ export type IntegrationCommandStatusOutput = {
7199
+ location: LocationPublicRef;
7200
+ data: IntegrationCommandAttemptStatus;
7201
+ };
7202
+ export type IntegrationCommandCancelInput = {
7203
+ readonly integrationID: {
7204
+ readonly integrationID: string;
7205
+ readonly attemptID: string;
7206
+ }["integrationID"];
7207
+ readonly attemptID: {
7208
+ readonly integrationID: string;
7209
+ readonly attemptID: string;
7210
+ }["attemptID"];
7211
+ readonly location?: {
7212
+ readonly location?: {
7213
+ readonly directory?: string | undefined;
7214
+ } | undefined;
7215
+ }["location"];
7216
+ };
7217
+ export type IntegrationCommandCancelOutput = void;
7218
+ export type McpListInput = {
7219
+ readonly location?: {
7220
+ readonly location?: {
7221
+ readonly directory?: string | undefined;
7222
+ } | undefined;
7223
+ }["location"];
7224
+ };
7225
+ export type McpListOutput = {
7226
+ location: LocationPublicRef;
7227
+ data: Array<McpServer>;
7228
+ };
7229
+ export type McpAddInput = {
7230
+ readonly server: {
7231
+ readonly server: string;
7232
+ }["server"];
7233
+ readonly location?: {
7234
+ readonly location?: {
7235
+ readonly directory?: string | undefined;
7236
+ } | undefined;
7237
+ }["location"];
7238
+ readonly config: {
7239
+ readonly config: {
7240
+ readonly type: "local";
7241
+ readonly command: ReadonlyArray<string>;
7242
+ readonly cwd?: string;
7243
+ readonly environment?: {
7244
+ readonly [x: string]: string;
7245
+ };
7246
+ readonly disabled?: boolean;
7247
+ readonly codemode?: boolean;
7248
+ readonly timeout?: {
7249
+ readonly startup?: number;
7250
+ readonly catalog?: number;
7251
+ readonly execution?: number;
7252
+ };
7253
+ readonly protocol?: "legacy" | "auto" | "2026-07-28";
7254
+ } | {
7255
+ readonly type: "remote";
7256
+ readonly url: string;
7257
+ readonly headers?: {
7258
+ readonly [x: string]: string;
7259
+ };
7260
+ readonly oauth?: {
7261
+ readonly client_id?: string;
7262
+ readonly client_secret?: string;
7263
+ readonly scope?: string;
7264
+ readonly callback_port?: number;
7265
+ readonly redirect_uri?: string;
7266
+ readonly auth_server_metadata_url?: string;
7267
+ } | false;
7268
+ readonly disabled?: boolean;
7269
+ readonly codemode?: boolean;
7270
+ readonly timeout?: {
7271
+ readonly startup?: number;
7272
+ readonly catalog?: number;
7273
+ readonly execution?: number;
7274
+ };
7275
+ readonly protocol?: "legacy" | "auto" | "2026-07-28";
7391
7276
  };
7392
- readonly fields: readonly [
7393
- ({
7394
- readonly key: string;
7395
- readonly title?: string;
7396
- readonly description?: string;
7397
- readonly required?: boolean;
7398
- readonly when?: ReadonlyArray<{
7399
- readonly key: string;
7400
- readonly op: "eq" | "neq";
7401
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7402
- }>;
7403
- readonly type: "string";
7404
- readonly format?: "email" | "uri" | "date" | "date-time";
7405
- readonly minLength?: number;
7406
- readonly maxLength?: number;
7407
- readonly pattern?: string;
7408
- readonly placeholder?: string;
7409
- readonly default?: string;
7410
- readonly options?: ReadonlyArray<{
7411
- readonly value: string;
7412
- readonly label: string;
7413
- readonly description?: string;
7414
- }>;
7415
- readonly custom?: boolean;
7416
- } | {
7417
- readonly key: string;
7418
- readonly title?: string;
7419
- readonly description?: string;
7420
- readonly required?: boolean;
7421
- readonly when?: ReadonlyArray<{
7422
- readonly key: string;
7423
- readonly op: "eq" | "neq";
7424
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7425
- }>;
7426
- readonly type: "number";
7427
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
7428
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
7429
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
7430
- } | {
7431
- readonly key: string;
7432
- readonly title?: string;
7433
- readonly description?: string;
7434
- readonly required?: boolean;
7435
- readonly when?: ReadonlyArray<{
7436
- readonly key: string;
7437
- readonly op: "eq" | "neq";
7438
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7439
- }>;
7440
- readonly type: "integer";
7441
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
7442
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
7443
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
7444
- } | {
7445
- readonly key: string;
7446
- readonly title?: string;
7447
- readonly description?: string;
7448
- readonly required?: boolean;
7449
- readonly when?: ReadonlyArray<{
7450
- readonly key: string;
7451
- readonly op: "eq" | "neq";
7452
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7453
- }>;
7454
- readonly type: "boolean";
7455
- readonly default?: boolean;
7456
- } | {
7457
- readonly key: string;
7458
- readonly title?: string;
7459
- readonly description?: string;
7460
- readonly required?: boolean;
7461
- readonly when?: ReadonlyArray<{
7462
- readonly key: string;
7463
- readonly op: "eq" | "neq";
7464
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7465
- }>;
7466
- readonly type: "multiselect";
7467
- readonly options: ReadonlyArray<{
7468
- readonly value: string;
7469
- readonly label: string;
7470
- readonly description?: string;
7471
- }>;
7472
- readonly minItems?: number;
7473
- readonly maxItems?: number;
7474
- readonly custom?: boolean;
7475
- readonly default?: ReadonlyArray<string>;
7476
- } | {
7477
- readonly key: string;
7478
- readonly type: "external";
7479
- readonly url: string;
7480
- readonly title?: string;
7481
- readonly description?: string;
7482
- }),
7483
- ...Array<{
7484
- readonly key: string;
7485
- readonly title?: string;
7486
- readonly description?: string;
7487
- readonly required?: boolean;
7488
- readonly when?: ReadonlyArray<{
7489
- readonly key: string;
7490
- readonly op: "eq" | "neq";
7491
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7492
- }>;
7493
- readonly type: "string";
7494
- readonly format?: "email" | "uri" | "date" | "date-time";
7495
- readonly minLength?: number;
7496
- readonly maxLength?: number;
7497
- readonly pattern?: string;
7498
- readonly placeholder?: string;
7499
- readonly default?: string;
7500
- readonly options?: ReadonlyArray<{
7501
- readonly value: string;
7502
- readonly label: string;
7503
- readonly description?: string;
7504
- }>;
7505
- readonly custom?: boolean;
7506
- } | {
7507
- readonly key: string;
7508
- readonly title?: string;
7509
- readonly description?: string;
7510
- readonly required?: boolean;
7511
- readonly when?: ReadonlyArray<{
7512
- readonly key: string;
7513
- readonly op: "eq" | "neq";
7514
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7515
- }>;
7516
- readonly type: "number";
7517
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
7518
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
7519
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
7520
- } | {
7521
- readonly key: string;
7522
- readonly title?: string;
7523
- readonly description?: string;
7524
- readonly required?: boolean;
7525
- readonly when?: ReadonlyArray<{
7526
- readonly key: string;
7527
- readonly op: "eq" | "neq";
7528
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7529
- }>;
7530
- readonly type: "integer";
7531
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
7532
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
7533
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
7534
- } | {
7535
- readonly key: string;
7536
- readonly title?: string;
7537
- readonly description?: string;
7538
- readonly required?: boolean;
7539
- readonly when?: ReadonlyArray<{
7540
- readonly key: string;
7541
- readonly op: "eq" | "neq";
7542
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7543
- }>;
7544
- readonly type: "boolean";
7545
- readonly default?: boolean;
7546
- } | {
7547
- readonly key: string;
7548
- readonly title?: string;
7549
- readonly description?: string;
7550
- readonly required?: boolean;
7551
- readonly when?: ReadonlyArray<{
7552
- readonly key: string;
7553
- readonly op: "eq" | "neq";
7554
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7555
- }>;
7556
- readonly type: "multiselect";
7557
- readonly options: ReadonlyArray<{
7558
- readonly value: string;
7559
- readonly label: string;
7560
- readonly description?: string;
7561
- }>;
7562
- readonly minItems?: number;
7563
- readonly maxItems?: number;
7564
- readonly custom?: boolean;
7565
- readonly default?: ReadonlyArray<string>;
7566
- } | {
7567
- readonly key: string;
7568
- readonly type: "external";
7569
- readonly url: string;
7570
- readonly title?: string;
7571
- readonly description?: string;
7572
- }>
7573
- ];
7574
- }["fields"];
7277
+ }["config"];
7278
+ };
7279
+ export type McpAddOutput = void;
7280
+ export type McpRemoveInput = {
7281
+ readonly server: {
7282
+ readonly server: string;
7283
+ }["server"];
7284
+ readonly location?: {
7285
+ readonly location?: {
7286
+ readonly directory?: string | undefined;
7287
+ } | undefined;
7288
+ }["location"];
7289
+ };
7290
+ export type McpRemoveOutput = void;
7291
+ export type McpConnectInput = {
7292
+ readonly server: {
7293
+ readonly server: string;
7294
+ }["server"];
7295
+ readonly location?: {
7296
+ readonly location?: {
7297
+ readonly directory?: string | undefined;
7298
+ } | undefined;
7299
+ }["location"];
7300
+ };
7301
+ export type McpConnectOutput = void;
7302
+ export type McpDisconnectInput = {
7303
+ readonly server: {
7304
+ readonly server: string;
7305
+ }["server"];
7306
+ readonly location?: {
7307
+ readonly location?: {
7308
+ readonly directory?: string | undefined;
7309
+ } | undefined;
7310
+ }["location"];
7311
+ };
7312
+ export type McpDisconnectOutput = void;
7313
+ export type McpResourceCatalogInput = {
7314
+ readonly location?: {
7315
+ readonly location?: {
7316
+ readonly directory?: string | undefined;
7317
+ } | undefined;
7318
+ }["location"];
7319
+ };
7320
+ export type McpResourceCatalogOutput = {
7321
+ location: LocationPublicRef;
7322
+ data: McpResourceCatalog;
7323
+ };
7324
+ export type CredentialUpdateInput = {
7325
+ readonly credentialID: {
7326
+ readonly credentialID: string;
7327
+ }["credentialID"];
7328
+ readonly label: {
7329
+ readonly label: string;
7330
+ }["label"];
7575
7331
  };
7576
- export type FormCreateOutput = {
7577
- data: FormInfo;
7578
- }["data"];
7579
- export type FormGetInput = {
7580
- readonly sessionID: {
7581
- readonly sessionID: string;
7582
- readonly formID: string;
7583
- }["sessionID"];
7584
- readonly formID: {
7585
- readonly sessionID: string;
7586
- readonly formID: string;
7587
- }["formID"];
7332
+ export type CredentialUpdateOutput = void;
7333
+ export type CredentialActivateInput = {
7334
+ readonly credentialID: {
7335
+ readonly credentialID: string;
7336
+ }["credentialID"];
7588
7337
  };
7589
- export type FormGetOutput = {
7590
- data: FormInfo;
7591
- }["data"];
7592
- export type FormStateInput = {
7593
- readonly sessionID: {
7594
- readonly sessionID: string;
7595
- readonly formID: string;
7596
- }["sessionID"];
7597
- readonly formID: {
7598
- readonly sessionID: string;
7599
- readonly formID: string;
7600
- }["formID"];
7338
+ export type CredentialActivateOutput = void;
7339
+ export type CredentialRemoveInput = {
7340
+ readonly credentialID: {
7341
+ readonly credentialID: string;
7342
+ }["credentialID"];
7601
7343
  };
7602
- export type FormStateOutput = {
7603
- data: FormState;
7604
- }["data"];
7605
- export type FormReplyInput = {
7606
- readonly sessionID: {
7607
- readonly sessionID: string;
7608
- readonly formID: string;
7609
- }["sessionID"];
7610
- readonly formID: {
7611
- readonly sessionID: string;
7612
- readonly formID: string;
7613
- }["formID"];
7614
- readonly answer: {
7615
- readonly answer: {
7616
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
7344
+ export type CredentialRemoveOutput = void;
7345
+ export type ProjectListOutput = Array<Project>;
7346
+ export type ProjectUpdateInput = {
7347
+ readonly projectID: {
7348
+ readonly projectID: string;
7349
+ }["projectID"];
7350
+ readonly canonical?: {
7351
+ readonly canonical?: string;
7352
+ readonly name?: string;
7353
+ readonly icon?: {
7354
+ readonly url?: string;
7355
+ readonly override?: string;
7356
+ readonly color?: string;
7617
7357
  };
7618
- }["answer"];
7358
+ readonly commands?: {
7359
+ readonly start?: string;
7360
+ };
7361
+ }["canonical"];
7362
+ readonly name?: {
7363
+ readonly canonical?: string;
7364
+ readonly name?: string;
7365
+ readonly icon?: {
7366
+ readonly url?: string;
7367
+ readonly override?: string;
7368
+ readonly color?: string;
7369
+ };
7370
+ readonly commands?: {
7371
+ readonly start?: string;
7372
+ };
7373
+ }["name"];
7374
+ readonly icon?: {
7375
+ readonly canonical?: string;
7376
+ readonly name?: string;
7377
+ readonly icon?: {
7378
+ readonly url?: string;
7379
+ readonly override?: string;
7380
+ readonly color?: string;
7381
+ };
7382
+ readonly commands?: {
7383
+ readonly start?: string;
7384
+ };
7385
+ }["icon"];
7386
+ readonly commands?: {
7387
+ readonly canonical?: string;
7388
+ readonly name?: string;
7389
+ readonly icon?: {
7390
+ readonly url?: string;
7391
+ readonly override?: string;
7392
+ readonly color?: string;
7393
+ };
7394
+ readonly commands?: {
7395
+ readonly start?: string;
7396
+ };
7397
+ }["commands"];
7619
7398
  };
7620
- export type FormReplyOutput = void;
7621
- export type FormCancelInput = {
7622
- readonly sessionID: {
7623
- readonly sessionID: string;
7624
- readonly formID: string;
7625
- }["sessionID"];
7626
- readonly formID: {
7627
- readonly sessionID: string;
7628
- readonly formID: string;
7629
- }["formID"];
7399
+ export type ProjectUpdateOutput = Project;
7400
+ export type FormListInput = {
7401
+ readonly location?: {
7402
+ readonly location?: {
7403
+ readonly directory?: string | undefined;
7404
+ } | undefined;
7405
+ }["location"];
7406
+ };
7407
+ export type FormListOutput = {
7408
+ location: LocationPublicRef;
7409
+ data: Array<FormInfo>;
7630
7410
  };
7631
- export type FormCancelOutput = void;
7632
7411
  export type PermissionRequestListInput = {
7633
7412
  readonly location?: {
7634
7413
  readonly location?: {
7635
7414
  readonly directory?: string | undefined;
7636
- readonly workspace?: string | undefined;
7637
7415
  } | undefined;
7638
7416
  }["location"];
7639
7417
  };
7640
7418
  export type PermissionRequestListOutput = {
7641
- location: {
7642
- directory: string;
7643
- workspaceID?: string;
7644
- project: {
7645
- id: string;
7646
- directory: string;
7647
- canonical: string;
7648
- };
7649
- };
7419
+ location: LocationPublicRef;
7650
7420
  data: Array<PermissionRequest>;
7651
7421
  };
7652
7422
  export type PermissionSavedListInput = {
@@ -7809,34 +7579,20 @@ export type PermissionReplyInput = {
7809
7579
  readonly sessionID: string;
7810
7580
  readonly requestID: string;
7811
7581
  }["requestID"];
7812
- readonly reply: {
7813
- readonly reply: "once" | "always" | "reject";
7582
+ readonly decision: {
7583
+ readonly decision: "once" | "always" | "reject";
7814
7584
  readonly message?: string | undefined;
7815
- }["reply"];
7585
+ }["decision"];
7816
7586
  readonly message?: {
7817
- readonly reply: "once" | "always" | "reject";
7587
+ readonly decision: "once" | "always" | "reject";
7818
7588
  readonly message?: string | undefined;
7819
7589
  }["message"];
7820
7590
  };
7821
7591
  export type PermissionReplyOutput = void;
7822
- export type PermissionRulesInput = {
7823
- readonly sessionID: {
7824
- readonly sessionID: string;
7825
- }["sessionID"];
7826
- readonly permissions: {
7827
- readonly permissions: ReadonlyArray<{
7828
- readonly action: string;
7829
- readonly resource: string;
7830
- readonly effect: "allow" | "deny" | "ask";
7831
- }>;
7832
- }["permissions"];
7833
- };
7834
- export type PermissionRulesOutput = void;
7835
7592
  export type FileReadInput = {
7836
7593
  readonly location?: {
7837
7594
  readonly location?: {
7838
7595
  readonly directory?: string | undefined;
7839
- readonly workspace?: string | undefined;
7840
7596
  } | undefined;
7841
7597
  }["location"];
7842
7598
  readonly path: string;
@@ -7846,35 +7602,24 @@ export type FileListInput = {
7846
7602
  readonly location?: {
7847
7603
  readonly location?: {
7848
7604
  readonly directory?: string | undefined;
7849
- readonly workspace?: string | undefined;
7850
7605
  } | undefined;
7851
7606
  readonly path?: string | undefined;
7852
7607
  }["location"];
7853
7608
  readonly path?: {
7854
7609
  readonly location?: {
7855
7610
  readonly directory?: string | undefined;
7856
- readonly workspace?: string | undefined;
7857
7611
  } | undefined;
7858
7612
  readonly path?: string | undefined;
7859
7613
  }["path"];
7860
7614
  };
7861
7615
  export type FileListOutput = {
7862
- location: {
7863
- directory: string;
7864
- workspaceID?: string;
7865
- project: {
7866
- id: string;
7867
- directory: string;
7868
- canonical: string;
7869
- };
7870
- };
7616
+ location: LocationPublicRef;
7871
7617
  data: Array<FileSystemEntry>;
7872
7618
  };
7873
7619
  export type FileFindInput = {
7874
7620
  readonly location?: {
7875
7621
  readonly location?: {
7876
7622
  readonly directory?: string | undefined;
7877
- readonly workspace?: string | undefined;
7878
7623
  } | undefined;
7879
7624
  readonly query: string;
7880
7625
  readonly type?: "file" | "directory" | undefined;
@@ -7883,7 +7628,6 @@ export type FileFindInput = {
7883
7628
  readonly query: {
7884
7629
  readonly location?: {
7885
7630
  readonly directory?: string | undefined;
7886
- readonly workspace?: string | undefined;
7887
7631
  } | undefined;
7888
7632
  readonly query: string;
7889
7633
  readonly type?: "file" | "directory" | undefined;
@@ -7892,7 +7636,6 @@ export type FileFindInput = {
7892
7636
  readonly type?: {
7893
7637
  readonly location?: {
7894
7638
  readonly directory?: string | undefined;
7895
- readonly workspace?: string | undefined;
7896
7639
  } | undefined;
7897
7640
  readonly query: string;
7898
7641
  readonly type?: "file" | "directory" | undefined;
@@ -7901,7 +7644,6 @@ export type FileFindInput = {
7901
7644
  readonly limit?: {
7902
7645
  readonly location?: {
7903
7646
  readonly directory?: string | undefined;
7904
- readonly workspace?: string | undefined;
7905
7647
  } | undefined;
7906
7648
  readonly query: string;
7907
7649
  readonly type?: "file" | "directory" | undefined;
@@ -7909,55 +7651,29 @@ export type FileFindInput = {
7909
7651
  }["limit"];
7910
7652
  };
7911
7653
  export type FileFindOutput = {
7912
- location: {
7913
- directory: string;
7914
- workspaceID?: string;
7915
- project: {
7916
- id: string;
7917
- directory: string;
7918
- canonical: string;
7919
- };
7920
- };
7654
+ location: LocationPublicRef;
7921
7655
  data: Array<FileSystemEntry>;
7922
7656
  };
7923
7657
  export type CommandListInput = {
7924
7658
  readonly location?: {
7925
7659
  readonly location?: {
7926
7660
  readonly directory?: string | undefined;
7927
- readonly workspace?: string | undefined;
7928
7661
  } | undefined;
7929
7662
  }["location"];
7930
7663
  };
7931
7664
  export type CommandListOutput = {
7932
- location: {
7933
- directory: string;
7934
- workspaceID?: string;
7935
- project: {
7936
- id: string;
7937
- directory: string;
7938
- canonical: string;
7939
- };
7940
- };
7665
+ location: LocationPublicRef;
7941
7666
  data: Array<CommandInfo>;
7942
7667
  };
7943
7668
  export type SkillListInput = {
7944
7669
  readonly location?: {
7945
7670
  readonly location?: {
7946
7671
  readonly directory?: string | undefined;
7947
- readonly workspace?: string | undefined;
7948
7672
  } | undefined;
7949
7673
  }["location"];
7950
7674
  };
7951
7675
  export type SkillListOutput = {
7952
- location: {
7953
- directory: string;
7954
- workspaceID?: string;
7955
- project: {
7956
- id: string;
7957
- directory: string;
7958
- canonical: string;
7959
- };
7960
- };
7676
+ location: LocationPublicRef;
7961
7677
  data: Array<SkillInfo>;
7962
7678
  };
7963
7679
  export type RpcCallInput = {
@@ -7972,7 +7688,6 @@ export type RpcCallInput = {
7972
7688
  readonly location?: {
7973
7689
  readonly location?: {
7974
7690
  readonly directory?: string | undefined;
7975
- readonly workspace?: string | undefined;
7976
7691
  } | undefined;
7977
7692
  }["location"];
7978
7693
  readonly input?: {
@@ -7985,27 +7700,17 @@ export type PtyListInput = {
7985
7700
  readonly location?: {
7986
7701
  readonly location?: {
7987
7702
  readonly directory?: string | undefined;
7988
- readonly workspace?: string | undefined;
7989
7703
  } | undefined;
7990
7704
  }["location"];
7991
7705
  };
7992
7706
  export type PtyListOutput = {
7993
- location: {
7994
- directory: string;
7995
- workspaceID?: string;
7996
- project: {
7997
- id: string;
7998
- directory: string;
7999
- canonical: string;
8000
- };
8001
- };
7707
+ location: LocationPublicRef;
8002
7708
  data: Array<Pty>;
8003
7709
  };
8004
7710
  export type PtyCreateInput = {
8005
7711
  readonly location?: {
8006
7712
  readonly location?: {
8007
7713
  readonly directory?: string | undefined;
8008
- readonly workspace?: string | undefined;
8009
7714
  } | undefined;
8010
7715
  }["location"];
8011
7716
  readonly command?: {
@@ -8055,15 +7760,7 @@ export type PtyCreateInput = {
8055
7760
  }["env"];
8056
7761
  };
8057
7762
  export type PtyCreateOutput = {
8058
- location: {
8059
- directory: string;
8060
- workspaceID?: string;
8061
- project: {
8062
- id: string;
8063
- directory: string;
8064
- canonical: string;
8065
- };
8066
- };
7763
+ location: LocationPublicRef;
8067
7764
  data: Pty;
8068
7765
  };
8069
7766
  export type PtyGetInput = {
@@ -8073,20 +7770,11 @@ export type PtyGetInput = {
8073
7770
  readonly location?: {
8074
7771
  readonly location?: {
8075
7772
  readonly directory?: string | undefined;
8076
- readonly workspace?: string | undefined;
8077
7773
  } | undefined;
8078
7774
  }["location"];
8079
7775
  };
8080
7776
  export type PtyGetOutput = {
8081
- location: {
8082
- directory: string;
8083
- workspaceID?: string;
8084
- project: {
8085
- id: string;
8086
- directory: string;
8087
- canonical: string;
8088
- };
8089
- };
7777
+ location: LocationPublicRef;
8090
7778
  data: Pty;
8091
7779
  };
8092
7780
  export type PtyUpdateInput = {
@@ -8096,7 +7784,6 @@ export type PtyUpdateInput = {
8096
7784
  readonly location?: {
8097
7785
  readonly location?: {
8098
7786
  readonly directory?: string | undefined;
8099
- readonly workspace?: string | undefined;
8100
7787
  } | undefined;
8101
7788
  }["location"];
8102
7789
  readonly title?: {
@@ -8115,15 +7802,7 @@ export type PtyUpdateInput = {
8115
7802
  }["size"];
8116
7803
  };
8117
7804
  export type PtyUpdateOutput = {
8118
- location: {
8119
- directory: string;
8120
- workspaceID?: string;
8121
- project: {
8122
- id: string;
8123
- directory: string;
8124
- canonical: string;
8125
- };
8126
- };
7805
+ location: LocationPublicRef;
8127
7806
  data: Pty;
8128
7807
  };
8129
7808
  export type PtyRemoveInput = {
@@ -8133,7 +7812,6 @@ export type PtyRemoveInput = {
8133
7812
  readonly location?: {
8134
7813
  readonly location?: {
8135
7814
  readonly directory?: string | undefined;
8136
- readonly workspace?: string | undefined;
8137
7815
  } | undefined;
8138
7816
  }["location"];
8139
7817
  };
@@ -8145,7 +7823,6 @@ export type PtyConnectTokenInput = {
8145
7823
  readonly location?: {
8146
7824
  readonly location?: {
8147
7825
  readonly directory?: string | undefined;
8148
- readonly workspace?: string | undefined;
8149
7826
  } | undefined;
8150
7827
  }["location"];
8151
7828
  readonly "x-opencode-ticket"?: {
@@ -8153,15 +7830,7 @@ export type PtyConnectTokenInput = {
8153
7830
  }["x-opencode-ticket"];
8154
7831
  };
8155
7832
  export type PtyConnectTokenOutput = {
8156
- location: {
8157
- directory: string;
8158
- workspaceID?: string;
8159
- project: {
8160
- id: string;
8161
- directory: string;
8162
- canonical: string;
8163
- };
8164
- };
7833
+ location: LocationPublicRef;
8165
7834
  data: PtyTicketConnectToken;
8166
7835
  };
8167
7836
  export type ExperimentalPersistentPtyReadInput = {
@@ -8332,33 +8001,23 @@ export type ShellListInput = {
8332
8001
  readonly location?: {
8333
8002
  readonly location?: {
8334
8003
  readonly directory?: string | undefined;
8335
- readonly workspace?: string | undefined;
8336
8004
  } | undefined;
8337
8005
  }["location"];
8338
8006
  };
8339
8007
  export type ShellListOutput = {
8340
- location: {
8341
- directory: string;
8342
- workspaceID?: string;
8343
- project: {
8344
- id: string;
8345
- directory: string;
8346
- canonical: string;
8347
- };
8348
- };
8008
+ location: LocationPublicRef;
8349
8009
  data: Array<ShellInfo1>;
8350
8010
  };
8351
8011
  export type ShellCreateInput = {
8352
8012
  readonly location?: {
8353
8013
  readonly location?: {
8354
8014
  readonly directory?: string | undefined;
8355
- readonly workspace?: string | undefined;
8356
8015
  } | undefined;
8357
8016
  }["location"];
8358
8017
  readonly command: {
8359
8018
  readonly command: string;
8360
8019
  readonly cwd?: string;
8361
- readonly timeout: number;
8020
+ readonly timeout?: number;
8362
8021
  readonly metadata?: {
8363
8022
  readonly [x: string]: JsonValue;
8364
8023
  };
@@ -8366,15 +8025,15 @@ export type ShellCreateInput = {
8366
8025
  readonly cwd?: {
8367
8026
  readonly command: string;
8368
8027
  readonly cwd?: string;
8369
- readonly timeout: number;
8028
+ readonly timeout?: number;
8370
8029
  readonly metadata?: {
8371
8030
  readonly [x: string]: JsonValue;
8372
8031
  };
8373
8032
  }["cwd"];
8374
- readonly timeout: {
8033
+ readonly timeout?: {
8375
8034
  readonly command: string;
8376
8035
  readonly cwd?: string;
8377
- readonly timeout: number;
8036
+ readonly timeout?: number;
8378
8037
  readonly metadata?: {
8379
8038
  readonly [x: string]: JsonValue;
8380
8039
  };
@@ -8382,22 +8041,14 @@ export type ShellCreateInput = {
8382
8041
  readonly metadata?: {
8383
8042
  readonly command: string;
8384
8043
  readonly cwd?: string;
8385
- readonly timeout: number;
8044
+ readonly timeout?: number;
8386
8045
  readonly metadata?: {
8387
8046
  readonly [x: string]: JsonValue;
8388
8047
  };
8389
8048
  }["metadata"];
8390
8049
  };
8391
8050
  export type ShellCreateOutput = {
8392
- location: {
8393
- directory: string;
8394
- workspaceID?: string;
8395
- project: {
8396
- id: string;
8397
- directory: string;
8398
- canonical: string;
8399
- };
8400
- };
8051
+ location: LocationPublicRef;
8401
8052
  data: ShellInfo1;
8402
8053
  };
8403
8054
  export type ShellGetInput = {
@@ -8407,46 +8058,11 @@ export type ShellGetInput = {
8407
8058
  readonly location?: {
8408
8059
  readonly location?: {
8409
8060
  readonly directory?: string | undefined;
8410
- readonly workspace?: string | undefined;
8411
8061
  } | undefined;
8412
8062
  }["location"];
8413
8063
  };
8414
8064
  export type ShellGetOutput = {
8415
- location: {
8416
- directory: string;
8417
- workspaceID?: string;
8418
- project: {
8419
- id: string;
8420
- directory: string;
8421
- canonical: string;
8422
- };
8423
- };
8424
- data: ShellInfo1;
8425
- };
8426
- export type ShellTimeoutInput = {
8427
- readonly id: {
8428
- readonly id: string;
8429
- }["id"];
8430
- readonly location?: {
8431
- readonly location?: {
8432
- readonly directory?: string | undefined;
8433
- readonly workspace?: string | undefined;
8434
- } | undefined;
8435
- }["location"];
8436
- readonly timeout: {
8437
- readonly timeout: number;
8438
- }["timeout"];
8439
- };
8440
- export type ShellTimeoutOutput = {
8441
- location: {
8442
- directory: string;
8443
- workspaceID?: string;
8444
- project: {
8445
- id: string;
8446
- directory: string;
8447
- canonical: string;
8448
- };
8449
- };
8065
+ location: LocationPublicRef;
8450
8066
  data: ShellInfo1;
8451
8067
  };
8452
8068
  export type ShellOutputInput = {
@@ -8456,7 +8072,6 @@ export type ShellOutputInput = {
8456
8072
  readonly location?: {
8457
8073
  readonly location?: {
8458
8074
  readonly directory?: string | undefined;
8459
- readonly workspace?: string | undefined;
8460
8075
  } | undefined;
8461
8076
  readonly cursor?: number | undefined;
8462
8077
  readonly limit?: number | undefined;
@@ -8464,7 +8079,6 @@ export type ShellOutputInput = {
8464
8079
  readonly cursor?: {
8465
8080
  readonly location?: {
8466
8081
  readonly directory?: string | undefined;
8467
- readonly workspace?: string | undefined;
8468
8082
  } | undefined;
8469
8083
  readonly cursor?: number | undefined;
8470
8084
  readonly limit?: number | undefined;
@@ -8472,22 +8086,13 @@ export type ShellOutputInput = {
8472
8086
  readonly limit?: {
8473
8087
  readonly location?: {
8474
8088
  readonly directory?: string | undefined;
8475
- readonly workspace?: string | undefined;
8476
8089
  } | undefined;
8477
8090
  readonly cursor?: number | undefined;
8478
8091
  readonly limit?: number | undefined;
8479
8092
  }["limit"];
8480
8093
  };
8481
8094
  export type ShellOutputOutput = {
8482
- location: {
8483
- directory: string;
8484
- workspaceID?: string;
8485
- project: {
8486
- id: string;
8487
- directory: string;
8488
- canonical: string;
8489
- };
8490
- };
8095
+ location: LocationPublicRef;
8491
8096
  data: {
8492
8097
  output: string;
8493
8098
  cursor: number;
@@ -8502,7 +8107,6 @@ export type ShellRemoveInput = {
8502
8107
  readonly location?: {
8503
8108
  readonly location?: {
8504
8109
  readonly directory?: string | undefined;
8505
- readonly workspace?: string | undefined;
8506
8110
  } | undefined;
8507
8111
  }["location"];
8508
8112
  };
@@ -8511,68 +8115,50 @@ export type ReferenceListInput = {
8511
8115
  readonly location?: {
8512
8116
  readonly location?: {
8513
8117
  readonly directory?: string | undefined;
8514
- readonly workspace?: string | undefined;
8515
8118
  } | undefined;
8516
8119
  }["location"];
8517
8120
  };
8518
8121
  export type ReferenceListOutput = {
8519
- location: {
8520
- directory: string;
8521
- workspaceID?: string;
8522
- project: {
8523
- id: string;
8524
- directory: string;
8525
- canonical: string;
8526
- };
8527
- };
8122
+ location: LocationPublicRef;
8528
8123
  data: Array<ReferenceInfo>;
8529
8124
  };
8530
8125
  export type WorktreeListInput = {
8531
- readonly location?: {
8532
- readonly location?: {
8533
- readonly directory?: string | undefined;
8534
- readonly workspace?: string | undefined;
8535
- } | undefined;
8536
- }["location"];
8126
+ readonly projectID: {
8127
+ readonly projectID: string;
8128
+ }["projectID"];
8537
8129
  };
8538
8130
  export type WorktreeListOutput = WorktreeList;
8539
8131
  export type WorktreeCreateInput = {
8540
- readonly location?: {
8541
- readonly location?: {
8542
- readonly directory?: string | undefined;
8543
- readonly workspace?: string | undefined;
8544
- } | undefined;
8545
- }["location"];
8546
- readonly strategy?: {
8547
- readonly strategy?: string;
8132
+ readonly projectID: {
8133
+ readonly projectID: string;
8548
8134
  readonly from?: string;
8549
8135
  readonly branch?: string;
8550
8136
  readonly directory?: string;
8551
8137
  readonly name?: string;
8552
- }["strategy"];
8138
+ }["projectID"];
8553
8139
  readonly from?: {
8554
- readonly strategy?: string;
8140
+ readonly projectID: string;
8555
8141
  readonly from?: string;
8556
8142
  readonly branch?: string;
8557
8143
  readonly directory?: string;
8558
8144
  readonly name?: string;
8559
8145
  }["from"];
8560
8146
  readonly branch?: {
8561
- readonly strategy?: string;
8147
+ readonly projectID: string;
8562
8148
  readonly from?: string;
8563
8149
  readonly branch?: string;
8564
8150
  readonly directory?: string;
8565
8151
  readonly name?: string;
8566
8152
  }["branch"];
8567
8153
  readonly directory?: {
8568
- readonly strategy?: string;
8154
+ readonly projectID: string;
8569
8155
  readonly from?: string;
8570
8156
  readonly branch?: string;
8571
8157
  readonly directory?: string;
8572
8158
  readonly name?: string;
8573
8159
  }["directory"];
8574
8160
  readonly name?: {
8575
- readonly strategy?: string;
8161
+ readonly projectID: string;
8576
8162
  readonly from?: string;
8577
8163
  readonly branch?: string;
8578
8164
  readonly directory?: string;
@@ -8581,115 +8167,66 @@ export type WorktreeCreateInput = {
8581
8167
  };
8582
8168
  export type WorktreeCreateOutput = WorktreeInfo;
8583
8169
  export type WorktreeRemoveInput = {
8584
- readonly location?: {
8585
- readonly location?: {
8586
- readonly directory?: string | undefined;
8587
- readonly workspace?: string | undefined;
8588
- } | undefined;
8589
- }["location"];
8170
+ readonly projectID: {
8171
+ readonly projectID: string;
8172
+ readonly directory: string;
8173
+ readonly force: boolean;
8174
+ }["projectID"];
8590
8175
  readonly directory: {
8176
+ readonly projectID: string;
8591
8177
  readonly directory: string;
8592
8178
  readonly force: boolean;
8593
8179
  }["directory"];
8594
8180
  readonly force: {
8181
+ readonly projectID: string;
8595
8182
  readonly directory: string;
8596
8183
  readonly force: boolean;
8597
8184
  }["force"];
8598
8185
  };
8599
8186
  export type WorktreeRemoveOutput = void;
8600
8187
  export type WorktreeRefreshInput = {
8601
- readonly location?: {
8602
- readonly location?: {
8603
- readonly directory?: string | undefined;
8604
- readonly workspace?: string | undefined;
8605
- } | undefined;
8606
- }["location"];
8188
+ readonly projectID: {
8189
+ readonly projectID: string;
8190
+ }["projectID"];
8607
8191
  };
8608
8192
  export type WorktreeRefreshOutput = void;
8609
- export type WorkspaceCreateInput = {
8610
- readonly id?: {
8611
- readonly id?: string | undefined;
8612
- readonly provider: string;
8613
- }["id"];
8614
- readonly provider: {
8615
- readonly id?: string | undefined;
8616
- readonly provider: string;
8617
- }["provider"];
8618
- };
8619
- export type WorkspaceCreateOutput = {
8620
- data: string;
8621
- }["data"];
8622
- export type WorkspaceDestroyInput = {
8623
- readonly workspaceID: {
8624
- readonly workspaceID: string;
8625
- }["workspaceID"];
8626
- };
8627
- export type WorkspaceDestroyOutput = WorkspaceDestroyResult;
8628
8193
  export type VcsGetInput = {
8629
8194
  readonly location?: {
8630
8195
  readonly location?: {
8631
8196
  readonly directory?: string | undefined;
8632
- readonly workspace?: string | undefined;
8633
8197
  } | undefined;
8634
8198
  }["location"];
8635
8199
  };
8636
8200
  export type VcsGetOutput = {
8637
- location: {
8638
- directory: string;
8639
- workspaceID?: string;
8640
- project: {
8641
- id: string;
8642
- directory: string;
8643
- canonical: string;
8644
- };
8645
- };
8201
+ location: LocationPublicRef;
8646
8202
  data: VcsInfo;
8647
8203
  };
8648
8204
  export type VcsBaseInput = {
8649
8205
  readonly location?: {
8650
8206
  readonly location?: {
8651
8207
  readonly directory?: string | undefined;
8652
- readonly workspace?: string | undefined;
8653
8208
  } | undefined;
8654
8209
  }["location"];
8655
8210
  };
8656
8211
  export type VcsBaseOutput = {
8657
- location: {
8658
- directory: string;
8659
- workspaceID?: string;
8660
- project: {
8661
- id: string;
8662
- directory: string;
8663
- canonical: string;
8664
- };
8665
- };
8212
+ location: LocationPublicRef;
8666
8213
  data: VcsBase | null;
8667
8214
  };
8668
8215
  export type VcsStatusInput = {
8669
8216
  readonly location?: {
8670
8217
  readonly location?: {
8671
8218
  readonly directory?: string | undefined;
8672
- readonly workspace?: string | undefined;
8673
8219
  } | undefined;
8674
8220
  }["location"];
8675
8221
  };
8676
8222
  export type VcsStatusOutput = {
8677
- location: {
8678
- directory: string;
8679
- workspaceID?: string;
8680
- project: {
8681
- id: string;
8682
- directory: string;
8683
- canonical: string;
8684
- };
8685
- };
8223
+ location: LocationPublicRef;
8686
8224
  data: Array<VcsFileStatus>;
8687
8225
  };
8688
- export type VcsBranchesInput = {
8226
+ export type VcsBranchListInput = {
8689
8227
  readonly location?: {
8690
8228
  readonly location?: {
8691
8229
  readonly directory?: string | undefined;
8692
- readonly workspace?: string | undefined;
8693
8230
  } | undefined;
8694
8231
  readonly search?: string | undefined;
8695
8232
  readonly limit?: number | undefined;
@@ -8697,7 +8234,6 @@ export type VcsBranchesInput = {
8697
8234
  readonly search?: {
8698
8235
  readonly location?: {
8699
8236
  readonly directory?: string | undefined;
8700
- readonly workspace?: string | undefined;
8701
8237
  } | undefined;
8702
8238
  readonly search?: string | undefined;
8703
8239
  readonly limit?: number | undefined;
@@ -8705,29 +8241,19 @@ export type VcsBranchesInput = {
8705
8241
  readonly limit?: {
8706
8242
  readonly location?: {
8707
8243
  readonly directory?: string | undefined;
8708
- readonly workspace?: string | undefined;
8709
8244
  } | undefined;
8710
8245
  readonly search?: string | undefined;
8711
8246
  readonly limit?: number | undefined;
8712
8247
  }["limit"];
8713
8248
  };
8714
- export type VcsBranchesOutput = {
8715
- location: {
8716
- directory: string;
8717
- workspaceID?: string;
8718
- project: {
8719
- id: string;
8720
- directory: string;
8721
- canonical: string;
8722
- };
8723
- };
8249
+ export type VcsBranchListOutput = {
8250
+ location: LocationPublicRef;
8724
8251
  data: VcsBranchList;
8725
8252
  };
8726
8253
  export type VcsDiffInput = {
8727
8254
  readonly location?: {
8728
8255
  readonly location?: {
8729
8256
  readonly directory?: string | undefined;
8730
- readonly workspace?: string | undefined;
8731
8257
  } | undefined;
8732
8258
  readonly mode: "working" | "branch" | "committed";
8733
8259
  readonly base?: string | undefined;
@@ -8736,7 +8262,6 @@ export type VcsDiffInput = {
8736
8262
  readonly mode: {
8737
8263
  readonly location?: {
8738
8264
  readonly directory?: string | undefined;
8739
- readonly workspace?: string | undefined;
8740
8265
  } | undefined;
8741
8266
  readonly mode: "working" | "branch" | "committed";
8742
8267
  readonly base?: string | undefined;
@@ -8745,7 +8270,6 @@ export type VcsDiffInput = {
8745
8270
  readonly base?: {
8746
8271
  readonly location?: {
8747
8272
  readonly directory?: string | undefined;
8748
- readonly workspace?: string | undefined;
8749
8273
  } | undefined;
8750
8274
  readonly mode: "working" | "branch" | "committed";
8751
8275
  readonly base?: string | undefined;
@@ -8754,7 +8278,6 @@ export type VcsDiffInput = {
8754
8278
  readonly context?: {
8755
8279
  readonly location?: {
8756
8280
  readonly directory?: string | undefined;
8757
- readonly workspace?: string | undefined;
8758
8281
  } | undefined;
8759
8282
  readonly mode: "working" | "branch" | "committed";
8760
8283
  readonly base?: string | undefined;
@@ -8762,23 +8285,14 @@ export type VcsDiffInput = {
8762
8285
  }["context"];
8763
8286
  };
8764
8287
  export type VcsDiffOutput = {
8765
- location: {
8766
- directory: string;
8767
- workspaceID?: string;
8768
- project: {
8769
- id: string;
8770
- directory: string;
8771
- canonical: string;
8772
- };
8773
- };
8288
+ location: LocationPublicRef;
8774
8289
  data: Array<FileDiffInfo>;
8775
8290
  };
8776
- export type DebugLocationListOutput = Array<LocationRef>;
8291
+ export type DebugLocationListOutput = Array<LocationPublicRef>;
8777
8292
  export type DebugLocationEvictInput = {
8778
8293
  readonly location?: {
8779
8294
  readonly location?: {
8780
8295
  readonly directory?: string | undefined;
8781
- readonly workspace?: string | undefined;
8782
8296
  } | undefined;
8783
8297
  }["location"];
8784
8298
  };
@@ -8800,27 +8314,17 @@ export type WebsearchProvidersInput = {
8800
8314
  readonly location?: {
8801
8315
  readonly location?: {
8802
8316
  readonly directory?: string | undefined;
8803
- readonly workspace?: string | undefined;
8804
8317
  } | undefined;
8805
8318
  }["location"];
8806
8319
  };
8807
8320
  export type WebsearchProvidersOutput = {
8808
- location: {
8809
- directory: string;
8810
- workspaceID?: string;
8811
- project: {
8812
- id: string;
8813
- directory: string;
8814
- canonical: string;
8815
- };
8816
- };
8321
+ location: LocationPublicRef;
8817
8322
  data: Array<WebSearchProvider>;
8818
8323
  };
8819
8324
  export type WebsearchQueryInput = {
8820
8325
  readonly location?: {
8821
8326
  readonly location?: {
8822
8327
  readonly directory?: string | undefined;
8823
- readonly workspace?: string | undefined;
8824
8328
  } | undefined;
8825
8329
  }["location"];
8826
8330
  readonly query: {
@@ -8833,15 +8337,7 @@ export type WebsearchQueryInput = {
8833
8337
  }["providerID"];
8834
8338
  };
8835
8339
  export type WebsearchQueryOutput = {
8836
- location: {
8837
- directory: string;
8838
- workspaceID?: string;
8839
- project: {
8840
- id: string;
8841
- directory: string;
8842
- canonical: string;
8843
- };
8844
- };
8340
+ location: LocationPublicRef;
8845
8341
  data: {
8846
8342
  providerID: string;
8847
8343
  results: Array<WebSearchResult>;
@@ -8851,25 +8347,14 @@ export type ConfigGetInput = {
8851
8347
  readonly location?: {
8852
8348
  readonly location?: {
8853
8349
  readonly directory?: string | undefined;
8854
- readonly workspace?: string | undefined;
8855
8350
  } | undefined;
8856
8351
  }["location"];
8857
8352
  };
8858
8353
  export type ConfigGetOutput = Array<ConfigEntry>;
8859
- export type ConfigPreferencesOutput = ConfigPreferences;
8860
- export type ConfigUpdatePreferencesInput = {
8861
- readonly shell?: {
8862
- readonly shell?: string | null;
8863
- readonly websearch?: false | {
8864
- readonly provider: "random" | (string & {});
8865
- } | null;
8354
+ export type ConfigShellsOutput = Array<ConfigShellOption>;
8355
+ export type ConfigUpdateInput = {
8356
+ readonly shell: {
8357
+ readonly shell: string | null;
8866
8358
  }["shell"];
8867
- readonly websearch?: {
8868
- readonly shell?: string | null;
8869
- readonly websearch?: false | {
8870
- readonly provider: "random" | (string & {});
8871
- } | null;
8872
- }["websearch"];
8873
8359
  };
8874
- export type ConfigUpdatePreferencesOutput = ConfigPreferences;
8875
- export type ConfigShellsOutput = Array<ConfigShellOption>;
8360
+ export type ConfigUpdateOutput = void;