@opencode/client 2.0.2 → 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
  };
@@ -226,6 +233,17 @@ export type SessionProviderContextProvenance = {
226
233
  protocol: string;
227
234
  endpoint: string;
228
235
  };
236
+ export type SessionMessageIdle = {
237
+ id: string;
238
+ metadata?: {
239
+ [x: string]: JsonValue;
240
+ };
241
+ time: {
242
+ created: number;
243
+ };
244
+ type: "idle";
245
+ outcome: "succeeded" | "failed" | "interrupted";
246
+ };
229
247
  export type SessionActive = {
230
248
  type: "running";
231
249
  };
@@ -244,6 +262,10 @@ export type SessionGenerateResponse = {
244
262
  text: string;
245
263
  };
246
264
  };
265
+ export type LocationRef = {
266
+ directory: string;
267
+ workspaceID?: string;
268
+ };
247
269
  export type SessionInboxSyntheticPayload1 = {
248
270
  text: string;
249
271
  description?: string;
@@ -294,6 +316,27 @@ export type EventLogSynced = {
294
316
  export type SessionInterruptResponse = {
295
317
  interrupted: boolean;
296
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>;
297
340
  export type ModelReasoningField = "reasoning" | "reasoning_content" | "reasoning_text" | (string & {});
298
341
  export type ModelMaxTokensField = "max_completion_tokens" | "max_tokens";
299
342
  export type ProviderCompaction = {
@@ -302,11 +345,11 @@ export type ProviderCompaction = {
302
345
  mode: "provider";
303
346
  threshold?: number;
304
347
  };
348
+ export type ProviderTransport = "http" | "websocket";
305
349
  export type ModelCapabilities = {
306
350
  tools: boolean;
307
351
  input: Array<string>;
308
352
  output: Array<string>;
309
- responsesWebsockets?: boolean;
310
353
  };
311
354
  export type ModelVariant = {
312
355
  id: string;
@@ -326,23 +369,6 @@ export type GenerateTextResponse = {
326
369
  text: string;
327
370
  };
328
371
  };
329
- export type FormWhen = {
330
- key: string;
331
- op: "eq" | "neq";
332
- value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
333
- };
334
- export type FormOption = {
335
- value: string;
336
- label: string;
337
- description?: string;
338
- };
339
- export type FormExternalField = {
340
- key: string;
341
- type: "external";
342
- url: string;
343
- title?: string;
344
- description?: string;
345
- };
346
372
  export type IntegrationCommandMethod = {
347
373
  id: string;
348
374
  type: "command";
@@ -362,37 +388,47 @@ export type ConnectionEnvInfo = {
362
388
  type: "env";
363
389
  name: string;
364
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
+ };
365
401
  export type IntegrationAttemptStatus = {
366
402
  status: "pending";
367
403
  time: {
368
- created: number | "Infinity" | "-Infinity" | "NaN";
369
- expires: number | "Infinity" | "-Infinity" | "NaN";
404
+ created: number;
405
+ expires: number;
370
406
  };
371
407
  } | {
372
408
  status: "complete";
373
409
  time: {
374
- created: number | "Infinity" | "-Infinity" | "NaN";
375
- expires: number | "Infinity" | "-Infinity" | "NaN";
410
+ created: number;
411
+ expires: number;
376
412
  };
377
413
  } | {
378
414
  status: "failed";
379
415
  message: string;
380
416
  time: {
381
- created: number | "Infinity" | "-Infinity" | "NaN";
382
- expires: number | "Infinity" | "-Infinity" | "NaN";
417
+ created: number;
418
+ expires: number;
383
419
  };
384
420
  } | {
385
421
  status: "expired";
386
422
  time: {
387
- created: number | "Infinity" | "-Infinity" | "NaN";
388
- expires: number | "Infinity" | "-Infinity" | "NaN";
423
+ created: number;
424
+ expires: number;
389
425
  };
390
426
  };
391
427
  export type IntegrationCommandAttempt = {
392
428
  attemptID: string;
393
429
  time: {
394
- created: number | "Infinity" | "-Infinity" | "NaN";
395
- expires: number | "Infinity" | "-Infinity" | "NaN";
430
+ created: number;
431
+ expires: number;
396
432
  };
397
433
  };
398
434
  export type IntegrationCommandAttemptStatus = {
@@ -437,6 +473,7 @@ export type McpStatusFailed = {
437
473
  };
438
474
  export type McpStatusNeedsAuth = {
439
475
  status: "needs_auth";
476
+ error: string;
440
477
  };
441
478
  export type McpResource = {
442
479
  server: string;
@@ -464,17 +501,7 @@ export type ProjectCommands = {
464
501
  export type ProjectTime = {
465
502
  created: number;
466
503
  updated: number;
467
- initialized?: number;
468
- };
469
- export type ProjectCurrent = {
470
- id: string;
471
- directory: string;
472
- canonical: string;
473
- };
474
- export type FormMetadata = {
475
- [x: string]: JsonValue;
476
504
  };
477
- export type FormValue = string | number | boolean | Array<string>;
478
505
  export type PermissionSource = {
479
506
  type: "tool";
480
507
  messageID: string;
@@ -485,6 +512,10 @@ export type PermissionSavedInfo = {
485
512
  projectID: string;
486
513
  action: string;
487
514
  resource: string;
515
+ time: {
516
+ created: number;
517
+ updated: number;
518
+ };
488
519
  };
489
520
  export type FileSystemEntry = {
490
521
  path: string;
@@ -498,9 +529,8 @@ export type SkillInfo = {
498
529
  id: string;
499
530
  name: string;
500
531
  description?: string;
501
- slash?: boolean;
502
532
  autoinvoke?: boolean;
503
- location: string;
533
+ path: string;
504
534
  content: string;
505
535
  };
506
536
  export type RpcOutput = {
@@ -545,6 +575,7 @@ export type FormWhen1 = {
545
575
  op: "eq" | "neq";
546
576
  value: string | number | boolean;
547
577
  };
578
+ export type FormValue1 = string | number | boolean | Array<string>;
548
579
  export type SessionStatus = {
549
580
  type: "idle";
550
581
  } | {
@@ -608,15 +639,11 @@ export type ShellInfo1 = {
608
639
  export type ReferenceLocalSource = {
609
640
  type: "local";
610
641
  path: string;
611
- description?: string;
612
- hidden?: boolean;
613
642
  };
614
643
  export type ReferenceGitSource = {
615
644
  type: "git";
616
645
  repository: string;
617
646
  branch?: string;
618
- description?: string;
619
- hidden?: boolean;
620
647
  };
621
648
  export type WorktreeDirectory = {
622
649
  directory: string;
@@ -625,9 +652,6 @@ export type WorktreeDirectory = {
625
652
  export type WorktreeInfo = {
626
653
  directory: string;
627
654
  };
628
- export type WorkspaceDestroyResult = {
629
- destroyed: boolean;
630
- };
631
655
  export type VcsBranch = {
632
656
  current?: string;
633
657
  default?: string;
@@ -656,40 +680,15 @@ export type WebSearchResult = {
656
680
  published?: number;
657
681
  };
658
682
  };
683
+ export type McpProtocol = "legacy" | "auto" | "2026-07-28";
659
684
  export type ConfigWorktree = {
660
685
  directory: string;
661
686
  };
662
- export type ConfigPreferences = {
663
- shell?: string;
664
- websearch?: false | {
665
- provider: "random" | (string & {});
666
- };
667
- };
668
687
  export type ConfigShellOption = {
669
688
  path: string;
670
689
  name: string;
671
690
  acceptable: boolean;
672
691
  };
673
- export type ProviderRequest = {
674
- settings: ProviderSettings;
675
- headers: {
676
- [x: string]: string;
677
- };
678
- body: {
679
- [x: string]: any;
680
- };
681
- };
682
- export type PermissionRule = {
683
- action: string;
684
- resource: string;
685
- effect: PermissionEffect;
686
- };
687
- export type PluginInfo = {
688
- id?: string;
689
- source: PluginSource;
690
- features: PluginFeatures;
691
- state: PluginState;
692
- };
693
692
  export type SessionMessageLocationSwitched = {
694
693
  id: string;
695
694
  metadata?: {
@@ -699,19 +698,19 @@ export type SessionMessageLocationSwitched = {
699
698
  created: number;
700
699
  };
701
700
  type: "location-switched";
702
- location: LocationRef;
703
701
  projectID?: string;
704
702
  subpath?: string;
703
+ location: LocationPublicRef;
705
704
  previous?: {
706
- location: LocationRef;
705
+ location: LocationPublicRef;
707
706
  projectID?: string;
708
707
  subpath?: string;
709
- };
708
+ } | null;
710
709
  };
711
710
  export type SessionInboxMovePayload = {
712
- location: LocationRef;
713
711
  projectID: string;
714
712
  subpath?: string;
713
+ location: LocationPublicRef;
715
714
  };
716
715
  export type V2EventRpc = {
717
716
  id: string;
@@ -720,7 +719,7 @@ export type V2EventRpc = {
720
719
  [x: string]: any;
721
720
  } | undefined;
722
721
  type: `${"rpc."}${string}`;
723
- location: LocationRef;
722
+ location: LocationPublicRef;
724
723
  data: {
725
724
  [x: string]: any;
726
725
  };
@@ -730,10 +729,30 @@ export type V2EventServerConnected = {
730
729
  metadata?: {
731
730
  [x: string]: any;
732
731
  } | undefined;
733
- location?: LocationRef | undefined;
732
+ location?: LocationPublicRef | undefined;
734
733
  type: "server.connected";
735
734
  data: {};
736
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
+ };
737
756
  export type SessionRevert = {
738
757
  messageID: string;
739
758
  partID?: string;
@@ -829,7 +848,9 @@ export type SessionProviderContext = {
829
848
  export type SessionInboxSynthetic = {
830
849
  id: string;
831
850
  sessionID: string;
832
- timeCreated: number;
851
+ time: {
852
+ created: number;
853
+ };
833
854
  type: "synthetic";
834
855
  payload: SessionInboxSyntheticPayload;
835
856
  delivery: SessionInboxDelivery;
@@ -837,7 +858,9 @@ export type SessionInboxSynthetic = {
837
858
  export type SessionInboxCompaction = {
838
859
  id: string;
839
860
  sessionID: string;
840
- timeCreated: number;
861
+ time: {
862
+ created: number;
863
+ };
841
864
  type: "compaction";
842
865
  payload: SessionInboxCompactionPayload;
843
866
  delivery: SessionInboxDelivery;
@@ -889,26 +912,6 @@ export type SessionModelSelected = {
889
912
  previous?: ModelRef;
890
913
  };
891
914
  };
892
- export type SessionMoved = {
893
- id: string;
894
- created: number;
895
- metadata?: {
896
- [x: string]: any;
897
- };
898
- type: "session.moved";
899
- durable: {
900
- aggregateID: string;
901
- seq: number;
902
- version: 1;
903
- };
904
- location?: LocationRef;
905
- data: {
906
- sessionID: string;
907
- location: LocationRef;
908
- projectID: string;
909
- subpath?: string;
910
- };
911
- };
912
915
  export type SessionRenamed = {
913
916
  id: string;
914
917
  created: number;
@@ -1409,13 +1412,23 @@ export type IntegrationUpdated = {
1409
1412
  location?: LocationRef;
1410
1413
  data: {};
1411
1414
  };
1412
- export type CatalogUpdated = {
1415
+ export type ProviderUpdated = {
1413
1416
  id: string;
1414
1417
  created: number;
1415
1418
  metadata?: {
1416
1419
  [x: string]: any;
1417
1420
  };
1418
- type: "catalog.updated";
1421
+ type: "provider.updated";
1422
+ location?: LocationRef;
1423
+ data: {};
1424
+ };
1425
+ export type ModelUpdated = {
1426
+ id: string;
1427
+ created: number;
1428
+ metadata?: {
1429
+ [x: string]: any;
1430
+ };
1431
+ type: "model.updated";
1419
1432
  location?: LocationRef;
1420
1433
  data: {};
1421
1434
  };
@@ -1823,6 +1836,31 @@ export type McpResourcesChanged = {
1823
1836
  server: string;
1824
1837
  };
1825
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
+ };
1826
1864
  export type SessionShellStarted = {
1827
1865
  id: string;
1828
1866
  created: number;
@@ -2029,44 +2067,6 @@ export type SessionMessageAssistantReasoning1 = {
2029
2067
  };
2030
2068
  };
2031
2069
  export type ToolContent1 = ToolTextContent | ToolFileContent1;
2032
- export type ModelCompatibility = {
2033
- reasoningField?: ModelReasoningField;
2034
- requireReasoning?: boolean;
2035
- maxTokensField?: ModelMaxTokensField;
2036
- requireFinishReason?: boolean;
2037
- requireAssistantAfterTool?: boolean;
2038
- };
2039
- export type ProviderInfo = {
2040
- id: string;
2041
- canonical?: string;
2042
- integrationID?: string;
2043
- name: string;
2044
- activation: "auto" | "enabled" | "disabled";
2045
- package: string;
2046
- compaction?: ProviderCompaction;
2047
- websocket?: boolean;
2048
- settings?: {
2049
- [x: string]: any;
2050
- };
2051
- headers?: {
2052
- [x: string]: string;
2053
- };
2054
- body?: {
2055
- [x: string]: any;
2056
- };
2057
- };
2058
- export type ModelCost = {
2059
- tier?: {
2060
- type: "context";
2061
- size: number;
2062
- };
2063
- input: MoneyUSDPerMillionTokens;
2064
- output: MoneyUSDPerMillionTokens;
2065
- cache: {
2066
- read: MoneyUSDPerMillionTokens;
2067
- write: MoneyUSDPerMillionTokens;
2068
- };
2069
- };
2070
2070
  export type FormNumberField = {
2071
2071
  key: string;
2072
2072
  title?: string;
@@ -2127,15 +2127,57 @@ export type FormMultiselectField = {
2127
2127
  custom?: boolean;
2128
2128
  default?: Array<string>;
2129
2129
  };
2130
- export type ConnectionInfo = ConnectionCredentialInfo | ConnectionEnvInfo;
2131
- export type McpServer = {
2132
- name: string;
2133
- status: McpStatusConnected | McpStatusPending | McpStatusDisabled | McpStatusFailed | McpStatusNeedsAuth;
2134
- integrationID?: string;
2135
- };
2136
- export type McpResourceCatalog = {
2137
- resources: Array<McpResource>;
2138
- templates: Array<McpResourceTemplate>;
2130
+ export type FormAnswer = {
2131
+ [x: string]: FormValue;
2132
+ };
2133
+ export type ModelCompatibility = {
2134
+ reasoningField?: ModelReasoningField;
2135
+ requireReasoning?: boolean;
2136
+ maxTokensField?: ModelMaxTokensField;
2137
+ requireFinishReason?: boolean;
2138
+ requireAssistantAfterTool?: boolean;
2139
+ supportsPromptCacheKey?: boolean;
2140
+ };
2141
+ export type ProviderInfo = {
2142
+ id: string;
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>;
2139
2181
  };
2140
2182
  export type Project = {
2141
2183
  id: string;
@@ -2166,9 +2208,6 @@ export type ProjectUpdated = {
2166
2208
  sandboxes: Array<string>;
2167
2209
  };
2168
2210
  };
2169
- export type FormAnswer = {
2170
- [x: string]: FormValue;
2171
- };
2172
2211
  export type PermissionRequest = {
2173
2212
  id: string;
2174
2213
  sessionID: string;
@@ -2322,6 +2361,9 @@ export type FormMultiselectField1 = {
2322
2361
  custom?: boolean;
2323
2362
  default?: Array<string>;
2324
2363
  };
2364
+ export type FormAnswer1 = {
2365
+ [x: string]: FormValue1;
2366
+ };
2325
2367
  export type SessionStatusUpdated = {
2326
2368
  id: string;
2327
2369
  created: number;
@@ -2338,17 +2380,20 @@ export type SessionStatusUpdated = {
2338
2380
  export type ReferenceSource = ReferenceLocalSource | ReferenceGitSource;
2339
2381
  export type WorktreeList = Array<WorktreeDirectory>;
2340
2382
  export type VcsInfo = {
2383
+ provider?: string;
2341
2384
  branch: VcsBranch;
2342
2385
  };
2343
- export type PermissionRuleset = Array<PermissionRule>;
2344
2386
  export type SessionInboxMove = {
2345
2387
  id: string;
2346
2388
  sessionID: string;
2347
- timeCreated: number;
2389
+ time: {
2390
+ created: number;
2391
+ };
2348
2392
  type: "move";
2349
- payload: SessionInboxMovePayload;
2350
2393
  delivery: SessionInboxDelivery;
2394
+ payload: SessionInboxMovePayload;
2351
2395
  };
2396
+ export type PermissionRuleset = Array<PermissionRule>;
2352
2397
  export type SessionRevertStaged = {
2353
2398
  id: string;
2354
2399
  created: number;
@@ -2576,6 +2621,15 @@ export type SessionMessageToolStateError1 = {
2576
2621
  [x: string]: JsonValue;
2577
2622
  };
2578
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
+ };
2579
2633
  export type ModelInfo = {
2580
2634
  id: string;
2581
2635
  modelID: string;
@@ -2586,7 +2640,7 @@ export type ModelInfo = {
2586
2640
  compatibility?: ModelCompatibility;
2587
2641
  package?: string;
2588
2642
  compaction?: ProviderCompaction;
2589
- websocket?: boolean;
2643
+ transport?: ProviderTransport;
2590
2644
  settings?: {
2591
2645
  [x: string]: any;
2592
2646
  };
@@ -2610,15 +2664,7 @@ export type ModelInfo = {
2610
2664
  output: number;
2611
2665
  };
2612
2666
  };
2613
- export type FormField = FormStringField | FormNumberField | FormIntegerField | FormBooleanField | FormMultiselectField | FormExternalField;
2614
- export type FormState = {
2615
- status: "pending";
2616
- } | {
2617
- status: "answered";
2618
- answer: FormAnswer;
2619
- } | {
2620
- status: "cancelled";
2621
- };
2667
+ export type FormField1 = FormStringField1 | FormNumberField1 | FormIntegerField1 | FormBooleanField1 | FormMultiselectField1 | FormExternalField;
2622
2668
  export type FormReplied = {
2623
2669
  id: string;
2624
2670
  created: number;
@@ -2630,10 +2676,9 @@ export type FormReplied = {
2630
2676
  data: {
2631
2677
  id: string;
2632
2678
  sessionID: string;
2633
- answer: FormAnswer;
2679
+ answer: FormAnswer1;
2634
2680
  };
2635
2681
  };
2636
- export type FormField1 = FormStringField1 | FormNumberField1 | FormIntegerField1 | FormBooleanField1 | FormMultiselectField1 | FormExternalField;
2637
2682
  export type ReferenceInfo = {
2638
2683
  name: string;
2639
2684
  path: string;
@@ -2654,13 +2699,13 @@ export type AgentInfo = {
2654
2699
  steps?: number;
2655
2700
  permissions: PermissionRuleset;
2656
2701
  };
2657
- export type SessionPermissionsUpdated = {
2702
+ export type SessionPermissions = {
2658
2703
  id: string;
2659
2704
  created: number;
2660
2705
  metadata?: {
2661
2706
  [x: string]: any;
2662
2707
  };
2663
- type: "session.permissions.updated";
2708
+ type: "session.permissions";
2664
2709
  durable: {
2665
2710
  aggregateID: string;
2666
2711
  seq: number;
@@ -2693,11 +2738,11 @@ export type SessionInfo = {
2693
2738
  archived?: number;
2694
2739
  };
2695
2740
  title?: string;
2696
- location: LocationRef;
2697
2741
  subpath?: string;
2698
2742
  metadata?: SessionMetadata;
2699
2743
  permissions?: PermissionRuleset;
2700
2744
  revert?: SessionRevert;
2745
+ location: LocationPublicRef;
2701
2746
  };
2702
2747
  export type SessionCreated = {
2703
2748
  id: string;
@@ -2833,6 +2878,7 @@ export type ConfigEntry = {
2833
2878
  catalog?: number;
2834
2879
  execution?: number;
2835
2880
  };
2881
+ protocol?: McpProtocol;
2836
2882
  } | {
2837
2883
  type: "remote";
2838
2884
  url: string;
@@ -2845,6 +2891,7 @@ export type ConfigEntry = {
2845
2891
  scope?: string;
2846
2892
  callback_port?: number;
2847
2893
  redirect_uri?: string;
2894
+ auth_server_metadata_url?: string;
2848
2895
  } | false;
2849
2896
  disabled?: boolean;
2850
2897
  codemode?: boolean;
@@ -2853,6 +2900,7 @@ export type ConfigEntry = {
2853
2900
  catalog?: number;
2854
2901
  execution?: number;
2855
2902
  };
2903
+ protocol?: McpProtocol;
2856
2904
  };
2857
2905
  };
2858
2906
  };
@@ -2909,7 +2957,7 @@ export type ConfigEntry = {
2909
2957
  providers?: {
2910
2958
  [x: string]: {
2911
2959
  compaction?: ProviderCompaction;
2912
- websocket?: boolean;
2960
+ transport?: ProviderTransport;
2913
2961
  canonical?: string;
2914
2962
  name?: string;
2915
2963
  env?: Array<string>;
@@ -2926,7 +2974,7 @@ export type ConfigEntry = {
2926
2974
  models?: {
2927
2975
  [x: string]: {
2928
2976
  compaction?: ProviderCompaction;
2929
- websocket?: boolean;
2977
+ transport?: ProviderTransport;
2930
2978
  modelID?: string;
2931
2979
  family?: string;
2932
2980
  name?: string;
@@ -3000,17 +3048,13 @@ export type ConfigEntry = {
3000
3048
  } | {
3001
3049
  type: "directory";
3002
3050
  path: string;
3003
- } | {
3004
- type: "agents";
3005
- path: string;
3006
- } | {
3007
- type: "claude";
3008
- path: string;
3009
3051
  };
3010
3052
  export type SessionInboxUser = {
3011
3053
  id: string;
3012
3054
  sessionID: string;
3013
- timeCreated: number;
3055
+ time: {
3056
+ created: number;
3057
+ };
3014
3058
  type: "user";
3015
3059
  payload: SessionInboxUserPayload;
3016
3060
  delivery: SessionInboxDelivery;
@@ -3029,7 +3073,7 @@ export type SessionInboxItem = {
3029
3073
  delivery: SessionInboxDelivery;
3030
3074
  } | {
3031
3075
  type: "move";
3032
- payload: SessionInboxMovePayload;
3076
+ payload: SessionInboxMovePayload1;
3033
3077
  delivery: SessionInboxDelivery;
3034
3078
  };
3035
3079
  export type SessionMessageAssistantTool = {
@@ -3118,6 +3162,21 @@ export type SessionMessageAssistant = {
3118
3162
  retry?: SessionMessageAssistantRetry;
3119
3163
  };
3120
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
+ };
3121
3180
  export type IntegrationOAuthMethod = {
3122
3181
  id: string;
3123
3182
  type: "oauth";
@@ -3129,13 +3188,6 @@ export type IntegrationKeyMethod = {
3129
3188
  label?: string;
3130
3189
  form?: FormFields;
3131
3190
  };
3132
- export type FormInfo = {
3133
- id: string;
3134
- sessionID: string;
3135
- title: string;
3136
- metadata?: FormMetadata;
3137
- fields: FormFields;
3138
- };
3139
3191
  export type FormInfo1 = {
3140
3192
  id: string;
3141
3193
  sessionID: string;
@@ -3143,7 +3195,7 @@ export type FormInfo1 = {
3143
3195
  metadata?: FormMetadata1;
3144
3196
  fields: FormFields2;
3145
3197
  };
3146
- export type SessionMessageInfo = SessionMessageAgentSelected | SessionMessageModelSelected | SessionMessageLocationSwitched | SessionMessageUser | SessionMessageSynthetic | SessionMessageSystem | SessionMessageSkill | SessionMessageShell | SessionMessageAssistant | SessionMessageCompaction;
3198
+ export type SessionMessageInfo = SessionMessageAgentSelected | SessionMessageModelSelected | SessionMessageLocationSwitched | SessionMessageUser | SessionMessageSynthetic | SessionMessageSystem | SessionMessageSkill | SessionMessageShell | SessionMessageAssistant | SessionMessageCompaction | SessionMessageIdle;
3147
3199
  export type SessionMessageContentUpdated = {
3148
3200
  id: string;
3149
3201
  created: number;
@@ -3187,7 +3239,7 @@ export type SessionMessagesResponse = {
3187
3239
  next?: string | null;
3188
3240
  };
3189
3241
  };
3190
- 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;
3191
3243
  export type IntegrationInfo = {
3192
3244
  id: string;
3193
3245
  name: string;
@@ -3197,7 +3249,7 @@ export type IntegrationInfo = {
3197
3249
  methods: Array<IntegrationMethod>;
3198
3250
  connections: Array<ConnectionInfo>;
3199
3251
  };
3200
- 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;
3201
3253
  export type SessionLogItem = SessionEventDurable | EventLogSynced;
3202
3254
  export type InvalidRequestError = {
3203
3255
  readonly _tag: "InvalidRequestError";
@@ -3284,24 +3336,6 @@ export type InstructionEntryValueTooLargeError = {
3284
3336
  readonly message: string;
3285
3337
  };
3286
3338
  export declare const isInstructionEntryValueTooLargeError: (value: unknown) => value is InstructionEntryValueTooLargeError;
3287
- export type ProviderNotFoundError = {
3288
- readonly _tag: "ProviderNotFoundError";
3289
- readonly providerID: string;
3290
- readonly message: string;
3291
- };
3292
- export declare const isProviderNotFoundError: (value: unknown) => value is ProviderNotFoundError;
3293
- export type McpServerNotFoundError = {
3294
- readonly _tag: "McpServerNotFoundError";
3295
- readonly server: string;
3296
- readonly message: string;
3297
- };
3298
- export declare const isMcpServerNotFoundError: (value: unknown) => value is McpServerNotFoundError;
3299
- export type ProjectNotFoundError = {
3300
- readonly _tag: "ProjectNotFoundError";
3301
- readonly projectID: string;
3302
- readonly message: string;
3303
- };
3304
- export declare const isProjectNotFoundError: (value: unknown) => value is ProjectNotFoundError;
3305
3339
  export type FormNotFoundError = {
3306
3340
  readonly _tag: "FormNotFoundError";
3307
3341
  readonly id: string;
@@ -3320,6 +3354,44 @@ export type FormAlreadySettledError = {
3320
3354
  readonly message: string;
3321
3355
  };
3322
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;
3323
3395
  export type PermissionNotFoundError = {
3324
3396
  readonly _tag: "PermissionNotFoundError";
3325
3397
  readonly requestID: string;
@@ -3371,45 +3443,24 @@ export type WorktreeError = {
3371
3443
  };
3372
3444
  };
3373
3445
  export declare const isWorktreeError: (value: unknown) => value is WorktreeError;
3374
- export type HealthGetOutput = ServiceHealth;
3375
- export type ServerGetOutput = {
3376
- urls: Array<string>;
3377
- };
3446
+ export type ServerStatusOutput = ServerStatus;
3378
3447
  export type LocationGetInput = {
3379
3448
  readonly location?: {
3380
3449
  readonly location?: {
3381
3450
  readonly directory?: string | undefined;
3382
- readonly workspace?: string | undefined;
3383
3451
  } | undefined;
3384
3452
  }["location"];
3385
3453
  };
3386
- export type LocationGetOutput = {
3387
- directory: string;
3388
- workspaceID?: string;
3389
- project: {
3390
- id: string;
3391
- directory: string;
3392
- canonical: string;
3393
- };
3394
- };
3454
+ export type LocationGetOutput = LocationPublicInfo;
3395
3455
  export type AgentListInput = {
3396
3456
  readonly location?: {
3397
3457
  readonly location?: {
3398
3458
  readonly directory?: string | undefined;
3399
- readonly workspace?: string | undefined;
3400
3459
  } | undefined;
3401
3460
  }["location"];
3402
3461
  };
3403
3462
  export type AgentListOutput = {
3404
- location: {
3405
- directory: string;
3406
- workspaceID?: string;
3407
- project: {
3408
- id: string;
3409
- directory: string;
3410
- canonical: string;
3411
- };
3412
- };
3463
+ location: LocationPublicRef;
3413
3464
  data: Array<AgentInfo>;
3414
3465
  };
3415
3466
  export type AgentGetInput = {
@@ -3419,56 +3470,28 @@ export type AgentGetInput = {
3419
3470
  readonly location?: {
3420
3471
  readonly location?: {
3421
3472
  readonly directory?: string | undefined;
3422
- readonly workspace?: string | undefined;
3423
3473
  } | undefined;
3424
3474
  }["location"];
3425
3475
  };
3426
3476
  export type AgentGetOutput = {
3427
- location: {
3428
- directory: string;
3429
- workspaceID?: string;
3430
- project: {
3431
- id: string;
3432
- directory: string;
3433
- canonical: string;
3434
- };
3435
- };
3477
+ location: LocationPublicRef;
3436
3478
  data: AgentInfo;
3437
3479
  };
3438
3480
  export type PluginListInput = {
3439
3481
  readonly location?: {
3440
3482
  readonly location?: {
3441
3483
  readonly directory?: string | undefined;
3442
- readonly workspace?: string | undefined;
3443
3484
  } | undefined;
3444
3485
  }["location"];
3445
3486
  };
3446
3487
  export type PluginListOutput = {
3447
- location: {
3448
- directory: string;
3449
- workspaceID?: string;
3450
- project: {
3451
- id: string;
3452
- directory: string;
3453
- canonical: string;
3454
- };
3455
- };
3488
+ location: LocationPublicRef;
3456
3489
  data: Array<PluginInfo>;
3457
3490
  };
3458
- export type PluginAwaitActivationInput = {
3459
- readonly location?: {
3460
- readonly location?: {
3461
- readonly directory?: string | undefined;
3462
- readonly workspace?: string | undefined;
3463
- } | undefined;
3464
- }["location"];
3465
- };
3466
- export type PluginAwaitActivationOutput = void;
3467
3491
  export type PluginCheckInput = {
3468
3492
  readonly location?: {
3469
3493
  readonly location?: {
3470
3494
  readonly directory?: string | undefined;
3471
- readonly workspace?: string | undefined;
3472
3495
  } | undefined;
3473
3496
  }["location"];
3474
3497
  readonly target?: {
@@ -3476,22 +3499,13 @@ export type PluginCheckInput = {
3476
3499
  }["target"];
3477
3500
  };
3478
3501
  export type PluginCheckOutput = {
3479
- location: {
3480
- directory: string;
3481
- workspaceID?: string;
3482
- project: {
3483
- id: string;
3484
- directory: string;
3485
- canonical: string;
3486
- };
3487
- };
3502
+ location: LocationPublicRef;
3488
3503
  data: Array<PluginInfo>;
3489
3504
  };
3490
3505
  export type PluginUpdateInput = {
3491
3506
  readonly location?: {
3492
3507
  readonly location?: {
3493
3508
  readonly directory?: string | undefined;
3494
- readonly workspace?: string | undefined;
3495
3509
  } | undefined;
3496
3510
  }["location"];
3497
3511
  readonly targets: {
@@ -3500,19 +3514,7 @@ export type PluginUpdateInput = {
3500
3514
  };
3501
3515
  export type PluginUpdateOutput = void;
3502
3516
  export type SessionListInput = {
3503
- readonly workspace?: {
3504
- readonly workspace?: string | undefined;
3505
- readonly limit?: number | undefined;
3506
- readonly order?: "asc" | "desc" | undefined;
3507
- readonly search?: string | undefined;
3508
- readonly parentID?: string | null | undefined;
3509
- readonly directory?: string | undefined;
3510
- readonly project?: string | undefined;
3511
- readonly subpath?: string | undefined;
3512
- readonly cursor?: string | undefined;
3513
- }["workspace"];
3514
3517
  readonly limit?: {
3515
- readonly workspace?: string | undefined;
3516
3518
  readonly limit?: number | undefined;
3517
3519
  readonly order?: "asc" | "desc" | undefined;
3518
3520
  readonly search?: string | undefined;
@@ -3523,7 +3525,6 @@ export type SessionListInput = {
3523
3525
  readonly cursor?: string | undefined;
3524
3526
  }["limit"];
3525
3527
  readonly order?: {
3526
- readonly workspace?: string | undefined;
3527
3528
  readonly limit?: number | undefined;
3528
3529
  readonly order?: "asc" | "desc" | undefined;
3529
3530
  readonly search?: string | undefined;
@@ -3534,7 +3535,6 @@ export type SessionListInput = {
3534
3535
  readonly cursor?: string | undefined;
3535
3536
  }["order"];
3536
3537
  readonly search?: {
3537
- readonly workspace?: string | undefined;
3538
3538
  readonly limit?: number | undefined;
3539
3539
  readonly order?: "asc" | "desc" | undefined;
3540
3540
  readonly search?: string | undefined;
@@ -3545,7 +3545,6 @@ export type SessionListInput = {
3545
3545
  readonly cursor?: string | undefined;
3546
3546
  }["search"];
3547
3547
  readonly parentID?: {
3548
- readonly workspace?: string | undefined;
3549
3548
  readonly limit?: number | undefined;
3550
3549
  readonly order?: "asc" | "desc" | undefined;
3551
3550
  readonly search?: string | undefined;
@@ -3556,7 +3555,6 @@ export type SessionListInput = {
3556
3555
  readonly cursor?: string | undefined;
3557
3556
  }["parentID"];
3558
3557
  readonly directory?: {
3559
- readonly workspace?: string | undefined;
3560
3558
  readonly limit?: number | undefined;
3561
3559
  readonly order?: "asc" | "desc" | undefined;
3562
3560
  readonly search?: string | undefined;
@@ -3567,7 +3565,6 @@ export type SessionListInput = {
3567
3565
  readonly cursor?: string | undefined;
3568
3566
  }["directory"];
3569
3567
  readonly project?: {
3570
- readonly workspace?: string | undefined;
3571
3568
  readonly limit?: number | undefined;
3572
3569
  readonly order?: "asc" | "desc" | undefined;
3573
3570
  readonly search?: string | undefined;
@@ -3578,7 +3575,6 @@ export type SessionListInput = {
3578
3575
  readonly cursor?: string | undefined;
3579
3576
  }["project"];
3580
3577
  readonly subpath?: {
3581
- readonly workspace?: string | undefined;
3582
3578
  readonly limit?: number | undefined;
3583
3579
  readonly order?: "asc" | "desc" | undefined;
3584
3580
  readonly search?: string | undefined;
@@ -3589,7 +3585,6 @@ export type SessionListInput = {
3589
3585
  readonly cursor?: string | undefined;
3590
3586
  }["subpath"];
3591
3587
  readonly cursor?: {
3592
- readonly workspace?: string | undefined;
3593
3588
  readonly limit?: number | undefined;
3594
3589
  readonly order?: "asc" | "desc" | undefined;
3595
3590
  readonly search?: string | undefined;
@@ -3653,7 +3648,6 @@ export type SessionCreateInput = {
3653
3648
  } | null;
3654
3649
  readonly location?: {
3655
3650
  readonly directory: string;
3656
- readonly workspaceID?: string;
3657
3651
  } | null;
3658
3652
  readonly metadata?: {
3659
3653
  readonly [x: string]: JsonValue;
@@ -3675,7 +3669,6 @@ export type SessionCreateInput = {
3675
3669
  } | null;
3676
3670
  readonly location?: {
3677
3671
  readonly directory: string;
3678
- readonly workspaceID?: string;
3679
3672
  } | null;
3680
3673
  readonly metadata?: {
3681
3674
  readonly [x: string]: JsonValue;
@@ -3697,7 +3690,6 @@ export type SessionCreateInput = {
3697
3690
  } | null;
3698
3691
  readonly location?: {
3699
3692
  readonly directory: string;
3700
- readonly workspaceID?: string;
3701
3693
  } | null;
3702
3694
  readonly metadata?: {
3703
3695
  readonly [x: string]: JsonValue;
@@ -3719,7 +3711,6 @@ export type SessionCreateInput = {
3719
3711
  } | null;
3720
3712
  readonly location?: {
3721
3713
  readonly directory: string;
3722
- readonly workspaceID?: string;
3723
3714
  } | null;
3724
3715
  readonly metadata?: {
3725
3716
  readonly [x: string]: JsonValue;
@@ -3741,7 +3732,6 @@ export type SessionCreateInput = {
3741
3732
  } | null;
3742
3733
  readonly location?: {
3743
3734
  readonly directory: string;
3744
- readonly workspaceID?: string;
3745
3735
  } | null;
3746
3736
  readonly metadata?: {
3747
3737
  readonly [x: string]: JsonValue;
@@ -3763,7 +3753,6 @@ export type SessionCreateInput = {
3763
3753
  } | null;
3764
3754
  readonly location?: {
3765
3755
  readonly directory: string;
3766
- readonly workspaceID?: string;
3767
3756
  } | null;
3768
3757
  readonly metadata?: {
3769
3758
  readonly [x: string]: JsonValue;
@@ -3785,7 +3774,6 @@ export type SessionCreateInput = {
3785
3774
  } | null;
3786
3775
  readonly location?: {
3787
3776
  readonly directory: string;
3788
- readonly workspaceID?: string;
3789
3777
  } | null;
3790
3778
  readonly metadata?: {
3791
3779
  readonly [x: string]: JsonValue;
@@ -3841,10 +3829,6 @@ export type SessionImportInput = {
3841
3829
  readonly archived?: number;
3842
3830
  };
3843
3831
  readonly title?: string;
3844
- readonly location: {
3845
- readonly directory: string;
3846
- readonly workspaceID?: string;
3847
- };
3848
3832
  readonly subpath?: string;
3849
3833
  readonly metadata?: {
3850
3834
  readonly [x: string]: JsonValue;
@@ -3866,6 +3850,9 @@ export type SessionImportInput = {
3866
3850
  readonly status: "added" | "deleted" | "modified";
3867
3851
  }>;
3868
3852
  };
3853
+ readonly location: {
3854
+ readonly directory: string;
3855
+ };
3869
3856
  };
3870
3857
  readonly messages: ReadonlyArray<{
3871
3858
  readonly id: string;
@@ -3906,20 +3893,18 @@ export type SessionImportInput = {
3906
3893
  readonly created: number;
3907
3894
  };
3908
3895
  readonly type: "location-switched";
3896
+ readonly projectID?: string;
3897
+ readonly subpath?: string;
3909
3898
  readonly location: {
3910
3899
  readonly directory: string;
3911
- readonly workspaceID?: string;
3912
3900
  };
3913
- readonly projectID?: string;
3914
- readonly subpath?: string;
3915
3901
  readonly previous?: {
3916
3902
  readonly location: {
3917
3903
  readonly directory: string;
3918
- readonly workspaceID?: string;
3919
3904
  };
3920
3905
  readonly projectID?: string;
3921
3906
  readonly subpath?: string;
3922
- };
3907
+ } | null;
3923
3908
  } | {
3924
3909
  readonly id: string;
3925
3910
  readonly metadata?: {
@@ -4258,10 +4243,19 @@ export type SessionImportInput = {
4258
4243
  readonly write: number;
4259
4244
  };
4260
4245
  };
4261
- })>;
4246
+ }) | {
4247
+ readonly id: string;
4248
+ readonly metadata?: {
4249
+ readonly [x: string]: JsonValue;
4250
+ };
4251
+ readonly time: {
4252
+ readonly created: number;
4253
+ };
4254
+ readonly type: "idle";
4255
+ readonly outcome: "succeeded" | "failed" | "interrupted";
4256
+ }>;
4262
4257
  readonly location?: {
4263
4258
  readonly directory: string;
4264
- readonly workspaceID?: string;
4265
4259
  } | null;
4266
4260
  }["info"];
4267
4261
  readonly messages: {
@@ -4304,10 +4298,6 @@ export type SessionImportInput = {
4304
4298
  readonly archived?: number;
4305
4299
  };
4306
4300
  readonly title?: string;
4307
- readonly location: {
4308
- readonly directory: string;
4309
- readonly workspaceID?: string;
4310
- };
4311
4301
  readonly subpath?: string;
4312
4302
  readonly metadata?: {
4313
4303
  readonly [x: string]: JsonValue;
@@ -4329,6 +4319,9 @@ export type SessionImportInput = {
4329
4319
  readonly status: "added" | "deleted" | "modified";
4330
4320
  }>;
4331
4321
  };
4322
+ readonly location: {
4323
+ readonly directory: string;
4324
+ };
4332
4325
  };
4333
4326
  readonly messages: ReadonlyArray<{
4334
4327
  readonly id: string;
@@ -4369,20 +4362,18 @@ export type SessionImportInput = {
4369
4362
  readonly created: number;
4370
4363
  };
4371
4364
  readonly type: "location-switched";
4365
+ readonly projectID?: string;
4366
+ readonly subpath?: string;
4372
4367
  readonly location: {
4373
4368
  readonly directory: string;
4374
- readonly workspaceID?: string;
4375
4369
  };
4376
- readonly projectID?: string;
4377
- readonly subpath?: string;
4378
4370
  readonly previous?: {
4379
4371
  readonly location: {
4380
4372
  readonly directory: string;
4381
- readonly workspaceID?: string;
4382
4373
  };
4383
4374
  readonly projectID?: string;
4384
4375
  readonly subpath?: string;
4385
- };
4376
+ } | null;
4386
4377
  } | {
4387
4378
  readonly id: string;
4388
4379
  readonly metadata?: {
@@ -4721,10 +4712,19 @@ export type SessionImportInput = {
4721
4712
  readonly write: number;
4722
4713
  };
4723
4714
  };
4724
- })>;
4715
+ }) | {
4716
+ readonly id: string;
4717
+ readonly metadata?: {
4718
+ readonly [x: string]: JsonValue;
4719
+ };
4720
+ readonly time: {
4721
+ readonly created: number;
4722
+ };
4723
+ readonly type: "idle";
4724
+ readonly outcome: "succeeded" | "failed" | "interrupted";
4725
+ }>;
4725
4726
  readonly location?: {
4726
4727
  readonly directory: string;
4727
- readonly workspaceID?: string;
4728
4728
  } | null;
4729
4729
  }["messages"];
4730
4730
  readonly location?: {
@@ -4767,10 +4767,6 @@ export type SessionImportInput = {
4767
4767
  readonly archived?: number;
4768
4768
  };
4769
4769
  readonly title?: string;
4770
- readonly location: {
4771
- readonly directory: string;
4772
- readonly workspaceID?: string;
4773
- };
4774
4770
  readonly subpath?: string;
4775
4771
  readonly metadata?: {
4776
4772
  readonly [x: string]: JsonValue;
@@ -4792,6 +4788,9 @@ export type SessionImportInput = {
4792
4788
  readonly status: "added" | "deleted" | "modified";
4793
4789
  }>;
4794
4790
  };
4791
+ readonly location: {
4792
+ readonly directory: string;
4793
+ };
4795
4794
  };
4796
4795
  readonly messages: ReadonlyArray<{
4797
4796
  readonly id: string;
@@ -4832,20 +4831,18 @@ export type SessionImportInput = {
4832
4831
  readonly created: number;
4833
4832
  };
4834
4833
  readonly type: "location-switched";
4834
+ readonly projectID?: string;
4835
+ readonly subpath?: string;
4835
4836
  readonly location: {
4836
4837
  readonly directory: string;
4837
- readonly workspaceID?: string;
4838
4838
  };
4839
- readonly projectID?: string;
4840
- readonly subpath?: string;
4841
4839
  readonly previous?: {
4842
4840
  readonly location: {
4843
4841
  readonly directory: string;
4844
- readonly workspaceID?: string;
4845
4842
  };
4846
4843
  readonly projectID?: string;
4847
4844
  readonly subpath?: string;
4848
- };
4845
+ } | null;
4849
4846
  } | {
4850
4847
  readonly id: string;
4851
4848
  readonly metadata?: {
@@ -5184,10 +5181,19 @@ export type SessionImportInput = {
5184
5181
  readonly write: number;
5185
5182
  };
5186
5183
  };
5187
- })>;
5184
+ }) | {
5185
+ readonly id: string;
5186
+ readonly metadata?: {
5187
+ readonly [x: string]: JsonValue;
5188
+ };
5189
+ readonly time: {
5190
+ readonly created: number;
5191
+ };
5192
+ readonly type: "idle";
5193
+ readonly outcome: "succeeded" | "failed" | "interrupted";
5194
+ }>;
5188
5195
  readonly location?: {
5189
5196
  readonly directory: string;
5190
- readonly workspaceID?: string;
5191
5197
  } | null;
5192
5198
  }["location"];
5193
5199
  };
@@ -5228,14 +5234,9 @@ export type SessionForkInput = {
5228
5234
  readonly sessionID: {
5229
5235
  readonly sessionID: string;
5230
5236
  }["sessionID"];
5231
- readonly boundary: {
5232
- readonly boundary: {
5233
- readonly type: "before";
5234
- readonly messageID: string;
5235
- } | {
5236
- readonly type: "through";
5237
- };
5238
- }["boundary"];
5237
+ readonly before?: {
5238
+ readonly before?: string | undefined;
5239
+ }["before"];
5239
5240
  };
5240
5241
  export type SessionForkOutput = {
5241
5242
  data: SessionInfo;
@@ -5262,33 +5263,39 @@ export type SessionSwitchModelInput = {
5262
5263
  }["model"];
5263
5264
  };
5264
5265
  export type SessionSwitchModelOutput = void;
5265
- export type SessionRenameInput = {
5266
+ export type SessionUpdateInput = {
5266
5267
  readonly sessionID: {
5267
5268
  readonly sessionID: string;
5268
5269
  }["sessionID"];
5269
- readonly title: {
5270
- 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;
5271
5277
  }["title"];
5272
- };
5273
- export type SessionRenameOutput = void;
5274
- export type SessionMoveInput = {
5275
- readonly sessionID: {
5276
- readonly sessionID: string;
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"];
5286
+ };
5287
+ export type SessionUpdateOutput = void;
5288
+ export type SessionMoveInput = {
5289
+ readonly sessionID: {
5290
+ readonly sessionID: string;
5277
5291
  }["sessionID"];
5278
5292
  readonly directory: {
5279
5293
  readonly directory: string;
5280
- readonly workspaceID?: string;
5281
- readonly delivery?: ("steer" | "queue") | null;
5294
+ readonly delivery?: ("steer" | "queue") | undefined;
5282
5295
  }["directory"];
5283
- readonly workspaceID?: {
5284
- readonly directory: string;
5285
- readonly workspaceID?: string;
5286
- readonly delivery?: ("steer" | "queue") | null;
5287
- }["workspaceID"];
5288
5296
  readonly delivery?: {
5289
5297
  readonly directory: string;
5290
- readonly workspaceID?: string;
5291
- readonly delivery?: ("steer" | "queue") | null;
5298
+ readonly delivery?: ("steer" | "queue") | undefined;
5292
5299
  }["delivery"];
5293
5300
  };
5294
5301
  export type SessionMoveOutput = void;
@@ -5584,8 +5591,8 @@ export type SessionCommandInput = {
5584
5591
  readonly sessionID: {
5585
5592
  readonly sessionID: string;
5586
5593
  }["sessionID"];
5587
- readonly command: {
5588
- readonly command: string;
5594
+ readonly name: {
5595
+ readonly name: string;
5589
5596
  readonly text: string;
5590
5597
  readonly files?: ReadonlyArray<{
5591
5598
  readonly uri: string;
@@ -5614,9 +5621,9 @@ export type SessionCommandInput = {
5614
5621
  };
5615
5622
  }>;
5616
5623
  readonly delivery?: ("steer" | "queue") | null;
5617
- }["command"];
5624
+ }["name"];
5618
5625
  readonly text: {
5619
- readonly command: string;
5626
+ readonly name: string;
5620
5627
  readonly text: string;
5621
5628
  readonly files?: ReadonlyArray<{
5622
5629
  readonly uri: string;
@@ -5647,7 +5654,7 @@ export type SessionCommandInput = {
5647
5654
  readonly delivery?: ("steer" | "queue") | null;
5648
5655
  }["text"];
5649
5656
  readonly files?: {
5650
- readonly command: string;
5657
+ readonly name: string;
5651
5658
  readonly text: string;
5652
5659
  readonly files?: ReadonlyArray<{
5653
5660
  readonly uri: string;
@@ -5678,7 +5685,7 @@ export type SessionCommandInput = {
5678
5685
  readonly delivery?: ("steer" | "queue") | null;
5679
5686
  }["files"];
5680
5687
  readonly agents?: {
5681
- readonly command: string;
5688
+ readonly name: string;
5682
5689
  readonly text: string;
5683
5690
  readonly files?: ReadonlyArray<{
5684
5691
  readonly uri: string;
@@ -5709,7 +5716,7 @@ export type SessionCommandInput = {
5709
5716
  readonly delivery?: ("steer" | "queue") | null;
5710
5717
  }["agents"];
5711
5718
  readonly skills?: {
5712
- readonly command: string;
5719
+ readonly name: string;
5713
5720
  readonly text: string;
5714
5721
  readonly files?: ReadonlyArray<{
5715
5722
  readonly uri: string;
@@ -5740,7 +5747,7 @@ export type SessionCommandInput = {
5740
5747
  readonly delivery?: ("steer" | "queue") | null;
5741
5748
  }["skills"];
5742
5749
  readonly delivery?: {
5743
- readonly command: string;
5750
+ readonly name: string;
5744
5751
  readonly text: string;
5745
5752
  readonly files?: ReadonlyArray<{
5746
5753
  readonly uri: string;
@@ -5776,19 +5783,12 @@ export type SessionSkillInput = {
5776
5783
  readonly sessionID: {
5777
5784
  readonly sessionID: string;
5778
5785
  }["sessionID"];
5779
- readonly id?: {
5780
- readonly id?: string | undefined;
5781
- readonly skill: string;
5786
+ readonly id: {
5787
+ readonly id: string;
5782
5788
  readonly resume?: boolean | undefined;
5783
5789
  }["id"];
5784
- readonly skill: {
5785
- readonly id?: string | undefined;
5786
- readonly skill: string;
5787
- readonly resume?: boolean | undefined;
5788
- }["skill"];
5789
5790
  readonly resume?: {
5790
- readonly id?: string | undefined;
5791
- readonly skill: string;
5791
+ readonly id: string;
5792
5792
  readonly resume?: boolean | undefined;
5793
5793
  }["resume"];
5794
5794
  };
@@ -5933,6 +5933,29 @@ export type SessionContextInput = {
5933
5933
  export type SessionContextOutput = {
5934
5934
  data: Array<SessionMessageInfo>;
5935
5935
  }["data"];
5936
+ export type SessionDiffInput = {
5937
+ readonly sessionID: {
5938
+ readonly sessionID: string;
5939
+ }["sessionID"];
5940
+ readonly from?: {
5941
+ readonly from?: string | undefined;
5942
+ readonly to?: string | undefined;
5943
+ readonly context?: number | undefined;
5944
+ }["from"];
5945
+ readonly to?: {
5946
+ readonly from?: string | undefined;
5947
+ readonly to?: string | undefined;
5948
+ readonly context?: number | undefined;
5949
+ }["to"];
5950
+ readonly context?: {
5951
+ readonly from?: string | undefined;
5952
+ readonly to?: string | undefined;
5953
+ readonly context?: number | undefined;
5954
+ }["context"];
5955
+ };
5956
+ export type SessionDiffOutput = {
5957
+ data: Array<FileDiffInfo>;
5958
+ }["data"];
5936
5959
  export type SessionInboxListInput = {
5937
5960
  readonly sessionID: {
5938
5961
  readonly sessionID: string;
@@ -5952,18 +5975,7 @@ export type SessionInboxCancelInput = {
5952
5975
  }["inboxID"];
5953
5976
  };
5954
5977
  export type SessionInboxCancelOutput = void;
5955
- export type SessionInboxSteerInput = {
5956
- readonly sessionID: {
5957
- readonly sessionID: string;
5958
- readonly inboxID: string;
5959
- }["sessionID"];
5960
- readonly inboxID: {
5961
- readonly sessionID: string;
5962
- readonly inboxID: string;
5963
- }["inboxID"];
5964
- };
5965
- export type SessionInboxSteerOutput = void;
5966
- export type SessionInboxQueueInput = {
5978
+ export type SessionInboxUpdateInput = {
5967
5979
  readonly sessionID: {
5968
5980
  readonly sessionID: string;
5969
5981
  readonly inboxID: string;
@@ -5972,8 +5984,11 @@ export type SessionInboxQueueInput = {
5972
5984
  readonly sessionID: string;
5973
5985
  readonly inboxID: string;
5974
5986
  }["inboxID"];
5987
+ readonly delivery: {
5988
+ readonly delivery: "steer" | "queue";
5989
+ }["delivery"];
5975
5990
  };
5976
- export type SessionInboxQueueOutput = void;
5991
+ export type SessionInboxUpdateOutput = void;
5977
5992
  export type SessionInstructionsEntryListInput = {
5978
5993
  readonly sessionID: {
5979
5994
  readonly sessionID: string;
@@ -6034,9 +6049,9 @@ export type SessionInterruptInput = {
6034
6049
  readonly sessionID: {
6035
6050
  readonly sessionID: string;
6036
6051
  }["sessionID"];
6037
- readonly continue?: {
6038
- readonly continue?: boolean | undefined;
6039
- }["continue"];
6052
+ readonly resume?: {
6053
+ readonly resume?: boolean | undefined;
6054
+ }["resume"];
6040
6055
  };
6041
6056
  export type SessionInterruptOutput = SessionInterruptResponse;
6042
6057
  export type SessionBackgroundInput = {
@@ -6045,7 +6060,7 @@ export type SessionBackgroundInput = {
6045
6060
  }["sessionID"];
6046
6061
  };
6047
6062
  export type SessionBackgroundOutput = void;
6048
- export type SessionMessageInput = {
6063
+ export type SessionMessageGetInput = {
6049
6064
  readonly sessionID: {
6050
6065
  readonly sessionID: string;
6051
6066
  readonly messageID: string;
@@ -6055,708 +6070,404 @@ export type SessionMessageInput = {
6055
6070
  readonly messageID: string;
6056
6071
  }["messageID"];
6057
6072
  };
6058
- export type SessionMessageOutput = {
6073
+ export type SessionMessageGetOutput = {
6059
6074
  data: SessionMessageInfo;
6060
6075
  }["data"];
6061
- export type SessionEnvironmentInput = {
6062
- readonly sessionID: {
6063
- readonly sessionID: string;
6064
- }["sessionID"];
6065
- readonly variables: {
6066
- readonly variables: {
6067
- readonly [x: string]: string;
6068
- };
6069
- }["variables"];
6070
- };
6071
- export type SessionEnvironmentOutput = void;
6072
- export type SessionViewInput = {
6076
+ export type SessionFormListInput = {
6073
6077
  readonly sessionID: {
6074
6078
  readonly sessionID: string;
6075
6079
  }["sessionID"];
6076
- readonly idle: {
6077
- readonly idle: number;
6078
- }["idle"];
6079
6080
  };
6080
- export type SessionViewOutput = void;
6081
- export type MessageListInput = {
6081
+ export type SessionFormListOutput = {
6082
+ data: Array<FormInfo>;
6083
+ }["data"];
6084
+ export type SessionFormCreateInput = {
6082
6085
  readonly sessionID: {
6083
6086
  readonly sessionID: string;
6084
6087
  }["sessionID"];
6085
- readonly limit?: {
6086
- readonly limit?: number | undefined;
6087
- readonly order?: "asc" | "desc" | undefined;
6088
- readonly cursor?: string | undefined;
6089
- readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6090
- }["limit"];
6091
- readonly order?: {
6092
- readonly limit?: number | undefined;
6093
- readonly order?: "asc" | "desc" | undefined;
6094
- readonly cursor?: string | undefined;
6095
- readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6096
- }["order"];
6097
- readonly cursor?: {
6098
- readonly limit?: number | undefined;
6099
- readonly order?: "asc" | "desc" | undefined;
6100
- readonly cursor?: string | undefined;
6101
- readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6102
- }["cursor"];
6103
- readonly type?: {
6104
- readonly limit?: number | undefined;
6105
- readonly order?: "asc" | "desc" | undefined;
6106
- readonly cursor?: string | undefined;
6107
- readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6108
- }["type"];
6109
- };
6110
- export type MessageListOutput = SessionMessagesResponse;
6111
- export type ModelListInput = {
6112
- readonly location?: {
6113
- readonly location?: {
6114
- readonly directory?: string | undefined;
6115
- readonly workspace?: string | undefined;
6116
- } | undefined;
6117
- }["location"];
6118
- };
6119
- export type ModelListOutput = {
6120
- location: {
6121
- directory: string;
6122
- workspaceID?: string;
6123
- project: {
6124
- id: string;
6125
- directory: string;
6126
- canonical: string;
6127
- };
6128
- };
6129
- data: Array<ModelInfo>;
6130
- };
6131
- export type ModelDefaultInput = {
6132
- readonly location?: {
6133
- readonly location?: {
6134
- readonly directory?: string | undefined;
6135
- readonly workspace?: string | undefined;
6136
- } | undefined;
6137
- }["location"];
6138
- };
6139
- export type ModelDefaultOutput = {
6140
- location: {
6141
- directory: string;
6142
- workspaceID?: string;
6143
- project: {
6144
- id: string;
6145
- directory: string;
6146
- canonical: string;
6147
- };
6148
- };
6149
- data: ModelInfo | null;
6150
- };
6151
- export type GenerateTextInput = {
6152
- readonly prompt: {
6153
- readonly prompt: string;
6154
- readonly model?: {
6155
- readonly id: string;
6156
- readonly providerID: string;
6157
- readonly variant?: string;
6158
- } | null;
6159
- }["prompt"];
6160
- readonly model?: {
6161
- readonly prompt: string;
6162
- readonly model?: {
6163
- readonly id: string;
6164
- readonly providerID: string;
6165
- readonly variant?: string;
6166
- } | null;
6167
- }["model"];
6168
- };
6169
- export type GenerateTextOutput = GenerateTextResponse["data"];
6170
- export type ProviderListInput = {
6171
- readonly location?: {
6172
- readonly location?: {
6173
- readonly directory?: string | undefined;
6174
- readonly workspace?: string | undefined;
6175
- } | undefined;
6176
- }["location"];
6177
- };
6178
- export type ProviderListOutput = {
6179
- location: {
6180
- directory: string;
6181
- workspaceID?: string;
6182
- project: {
6183
- id: string;
6184
- directory: string;
6185
- canonical: string;
6186
- };
6187
- };
6188
- data: Array<ProviderInfo>;
6189
- };
6190
- export type ProviderGetInput = {
6191
- readonly providerID: {
6192
- readonly providerID: string;
6193
- }["providerID"];
6194
- readonly location?: {
6195
- readonly location?: {
6196
- readonly directory?: string | undefined;
6197
- readonly workspace?: string | undefined;
6198
- } | undefined;
6199
- }["location"];
6200
- };
6201
- export type ProviderGetOutput = {
6202
- location: {
6203
- directory: string;
6204
- workspaceID?: string;
6205
- project: {
6206
- id: string;
6207
- directory: string;
6208
- canonical: string;
6209
- };
6210
- };
6211
- data: ProviderInfo;
6212
- };
6213
- export type IntegrationListInput = {
6214
- readonly location?: {
6215
- readonly location?: {
6216
- readonly directory?: string | undefined;
6217
- readonly workspace?: string | undefined;
6218
- } | undefined;
6219
- }["location"];
6220
- };
6221
- export type IntegrationListOutput = {
6222
- location: {
6223
- directory: string;
6224
- workspaceID?: string;
6225
- project: {
6226
- id: string;
6227
- directory: string;
6228
- canonical: string;
6229
- };
6230
- };
6231
- data: Array<IntegrationInfo>;
6232
- };
6233
- export type IntegrationGetInput = {
6234
- readonly integrationID: {
6235
- readonly integrationID: string;
6236
- }["integrationID"];
6237
- readonly location?: {
6238
- readonly location?: {
6239
- readonly directory?: string | undefined;
6240
- readonly workspace?: string | undefined;
6241
- } | undefined;
6242
- }["location"];
6243
- };
6244
- export type IntegrationGetOutput = {
6245
- location: {
6246
- directory: string;
6247
- workspaceID?: string;
6248
- project: {
6249
- id: string;
6250
- directory: string;
6251
- canonical: string;
6088
+ readonly id?: {
6089
+ readonly id?: string | null;
6090
+ readonly title: string;
6091
+ readonly metadata?: {
6092
+ readonly [x: string]: JsonValue;
6252
6093
  };
6253
- };
6254
- data: IntegrationInfo | null;
6255
- };
6256
- export type IntegrationWellknownAddInput = {
6257
- readonly location?: {
6258
- readonly location?: {
6259
- readonly directory?: string | undefined;
6260
- readonly workspace?: string | undefined;
6261
- } | undefined;
6262
- }["location"];
6263
- readonly url: {
6264
- readonly url: string;
6265
- }["url"];
6266
- };
6267
- export type IntegrationWellknownAddOutput = void;
6268
- export type IntegrationConnectKeyInput = {
6269
- readonly integrationID: {
6270
- readonly integrationID: string;
6271
- }["integrationID"];
6272
- readonly location?: {
6273
- readonly location?: {
6274
- readonly directory?: string | undefined;
6275
- readonly workspace?: string | undefined;
6276
- } | undefined;
6277
- }["location"];
6278
- readonly key: {
6279
- readonly key: string;
6280
- readonly answer?: {
6281
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6282
- } | undefined;
6283
- readonly label?: string | undefined;
6284
- }["key"];
6285
- readonly answer?: {
6286
- readonly key: string;
6287
- readonly answer?: {
6288
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6289
- } | undefined;
6290
- readonly label?: string | undefined;
6291
- }["answer"];
6292
- readonly label?: {
6293
- readonly key: string;
6294
- readonly answer?: {
6295
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6296
- } | undefined;
6297
- readonly label?: string | undefined;
6298
- }["label"];
6299
- };
6300
- export type IntegrationConnectKeyOutput = void;
6301
- export type IntegrationOauthConnectInput = {
6302
- readonly integrationID: {
6303
- readonly integrationID: string;
6304
- }["integrationID"];
6305
- readonly location?: {
6306
- readonly location?: {
6307
- readonly directory?: string | undefined;
6308
- readonly workspace?: string | undefined;
6309
- } | undefined;
6310
- }["location"];
6311
- readonly methodID: {
6312
- readonly methodID: string;
6313
- readonly answer?: {
6314
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6315
- } | undefined;
6316
- readonly label?: string | undefined;
6317
- }["methodID"];
6318
- readonly answer?: {
6319
- readonly methodID: string;
6320
- readonly answer?: {
6321
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6322
- } | undefined;
6323
- readonly label?: string | undefined;
6324
- }["answer"];
6325
- readonly label?: {
6326
- readonly methodID: string;
6327
- readonly answer?: {
6328
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6329
- } | undefined;
6330
- readonly label?: string | undefined;
6331
- }["label"];
6332
- };
6333
- export type IntegrationOauthConnectOutput = {
6334
- location: {
6335
- directory: string;
6336
- workspaceID?: string;
6337
- project: {
6338
- id: string;
6339
- directory: string;
6340
- canonical: string;
6341
- };
6342
- };
6343
- data: {
6344
- attemptID: string;
6345
- url: string;
6346
- instructions: string;
6347
- mode: "auto" | "code";
6348
- time: {
6349
- created: number | "Infinity" | "-Infinity" | "NaN";
6350
- expires: number | "Infinity" | "-Infinity" | "NaN";
6351
- };
6352
- };
6353
- };
6354
- export type IntegrationOauthStatusInput = {
6355
- readonly integrationID: {
6356
- readonly integrationID: string;
6357
- readonly attemptID: string;
6358
- }["integrationID"];
6359
- readonly attemptID: {
6360
- readonly integrationID: string;
6361
- readonly attemptID: string;
6362
- }["attemptID"];
6363
- readonly location?: {
6364
- readonly location?: {
6365
- readonly directory?: string | undefined;
6366
- readonly workspace?: string | undefined;
6367
- } | undefined;
6368
- }["location"];
6369
- };
6370
- export type IntegrationOauthStatusOutput = {
6371
- location: {
6372
- directory: string;
6373
- workspaceID?: string;
6374
- project: {
6375
- id: string;
6376
- directory: string;
6377
- 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;
6378
6282
  };
6379
- };
6380
- data: IntegrationAttemptStatus;
6381
- };
6382
- export type IntegrationOauthCompleteInput = {
6383
- readonly integrationID: {
6384
- readonly integrationID: string;
6385
- readonly attemptID: string;
6386
- }["integrationID"];
6387
- readonly attemptID: {
6388
- readonly integrationID: string;
6389
- readonly attemptID: string;
6390
- }["attemptID"];
6391
- readonly location?: {
6392
- readonly location?: {
6393
- readonly directory?: string | undefined;
6394
- readonly workspace?: string | undefined;
6395
- } | undefined;
6396
- }["location"];
6397
- readonly code?: {
6398
- readonly code?: string | undefined;
6399
- }["code"];
6400
- };
6401
- export type IntegrationOauthCompleteOutput = void;
6402
- export type IntegrationOauthCancelInput = {
6403
- readonly integrationID: {
6404
- readonly integrationID: string;
6405
- readonly attemptID: string;
6406
- }["integrationID"];
6407
- readonly attemptID: {
6408
- readonly integrationID: string;
6409
- readonly attemptID: string;
6410
- }["attemptID"];
6411
- readonly location?: {
6412
- readonly location?: {
6413
- readonly directory?: string | undefined;
6414
- readonly workspace?: string | undefined;
6415
- } | undefined;
6416
- }["location"];
6417
- };
6418
- export type IntegrationOauthCancelOutput = void;
6419
- export type IntegrationCommandConnectInput = {
6420
- readonly integrationID: {
6421
- readonly integrationID: string;
6422
- }["integrationID"];
6423
- readonly location?: {
6424
- readonly location?: {
6425
- readonly directory?: string | undefined;
6426
- readonly workspace?: string | undefined;
6427
- } | undefined;
6428
- }["location"];
6429
- readonly methodID: {
6430
- readonly methodID: string;
6431
- readonly label?: string | undefined;
6432
- }["methodID"];
6433
- readonly label?: {
6434
- readonly methodID: string;
6435
- readonly label?: string | undefined;
6436
- }["label"];
6437
- };
6438
- export type IntegrationCommandConnectOutput = {
6439
- location: {
6440
- directory: string;
6441
- workspaceID?: string;
6442
- project: {
6443
- id: string;
6444
- directory: string;
6445
- canonical: string;
6446
- };
6447
- };
6448
- data: IntegrationCommandAttempt;
6449
- };
6450
- export type IntegrationCommandStatusInput = {
6451
- readonly integrationID: {
6452
- readonly integrationID: string;
6453
- readonly attemptID: string;
6454
- }["integrationID"];
6455
- readonly attemptID: {
6456
- readonly integrationID: string;
6457
- readonly attemptID: string;
6458
- }["attemptID"];
6459
- readonly location?: {
6460
- readonly location?: {
6461
- readonly directory?: string | undefined;
6462
- readonly workspace?: string | undefined;
6463
- } | undefined;
6464
- }["location"];
6465
- };
6466
- export type IntegrationCommandStatusOutput = {
6467
- location: {
6468
- directory: string;
6469
- workspaceID?: string;
6470
- project: {
6471
- id: string;
6472
- directory: string;
6473
- canonical: string;
6474
- };
6475
- };
6476
- data: IntegrationCommandAttemptStatus;
6477
- };
6478
- export type IntegrationCommandCancelInput = {
6479
- readonly integrationID: {
6480
- readonly integrationID: string;
6481
- readonly attemptID: string;
6482
- }["integrationID"];
6483
- readonly attemptID: {
6484
- readonly integrationID: string;
6485
- readonly attemptID: string;
6486
- }["attemptID"];
6487
- readonly location?: {
6488
- readonly location?: {
6489
- readonly directory?: string | undefined;
6490
- readonly workspace?: string | undefined;
6491
- } | undefined;
6492
- }["location"];
6493
- };
6494
- export type IntegrationCommandCancelOutput = void;
6495
- export type McpListInput = {
6496
- readonly location?: {
6497
- readonly location?: {
6498
- readonly directory?: string | undefined;
6499
- readonly workspace?: string | undefined;
6500
- } | undefined;
6501
- }["location"];
6502
- };
6503
- export type McpListOutput = {
6504
- location: {
6505
- directory: string;
6506
- workspaceID?: string;
6507
- project: {
6508
- id: string;
6509
- directory: string;
6510
- canonical: string;
6511
- };
6512
- };
6513
- data: Array<McpServer>;
6514
- };
6515
- export type McpAddInput = {
6516
- readonly server: {
6517
- readonly server: string;
6518
- }["server"];
6519
- readonly location?: {
6520
- readonly location?: {
6521
- readonly directory?: string | undefined;
6522
- readonly workspace?: string | undefined;
6523
- } | undefined;
6524
- }["location"];
6525
- readonly config: {
6526
- readonly config: {
6527
- readonly type: "local";
6528
- readonly command: ReadonlyArray<string>;
6529
- readonly cwd?: string;
6530
- readonly environment?: {
6531
- readonly [x: string]: string;
6532
- };
6533
- readonly disabled?: boolean;
6534
- readonly codemode?: boolean;
6535
- readonly timeout?: {
6536
- readonly startup?: number;
6537
- readonly catalog?: number;
6538
- readonly execution?: number;
6539
- };
6540
- } | {
6541
- readonly type: "remote";
6542
- readonly url: string;
6543
- readonly headers?: {
6544
- readonly [x: string]: string;
6545
- };
6546
- readonly oauth?: {
6547
- readonly client_id?: string;
6548
- readonly client_secret?: string;
6549
- readonly scope?: string;
6550
- readonly callback_port?: number;
6551
- readonly redirect_uri?: string;
6552
- } | false;
6553
- readonly disabled?: boolean;
6554
- readonly codemode?: boolean;
6555
- readonly timeout?: {
6556
- readonly startup?: number;
6557
- readonly catalog?: number;
6558
- readonly execution?: number;
6559
- };
6560
- };
6561
- }["config"];
6562
- };
6563
- export type McpAddOutput = void;
6564
- export type McpRemoveInput = {
6565
- readonly server: {
6566
- readonly server: string;
6567
- }["server"];
6568
- readonly location?: {
6569
- readonly location?: {
6570
- readonly directory?: string | undefined;
6571
- readonly workspace?: string | undefined;
6572
- } | undefined;
6573
- }["location"];
6574
- };
6575
- export type McpRemoveOutput = void;
6576
- export type McpConnectInput = {
6577
- readonly server: {
6578
- readonly server: string;
6579
- }["server"];
6580
- readonly location?: {
6581
- readonly location?: {
6582
- readonly directory?: string | undefined;
6583
- readonly workspace?: string | undefined;
6584
- } | undefined;
6585
- }["location"];
6586
- };
6587
- export type McpConnectOutput = void;
6588
- export type McpDisconnectInput = {
6589
- readonly server: {
6590
- readonly server: string;
6591
- }["server"];
6592
- readonly location?: {
6593
- readonly location?: {
6594
- readonly directory?: string | undefined;
6595
- readonly workspace?: string | undefined;
6596
- } | undefined;
6597
- }["location"];
6598
- };
6599
- export type McpDisconnectOutput = void;
6600
- export type McpResourceCatalogInput = {
6601
- readonly location?: {
6602
- readonly location?: {
6603
- readonly directory?: string | undefined;
6604
- readonly workspace?: string | undefined;
6605
- } | undefined;
6606
- }["location"];
6607
- };
6608
- export type McpResourceCatalogOutput = {
6609
- location: {
6610
- directory: string;
6611
- workspaceID?: string;
6612
- project: {
6613
- id: string;
6614
- directory: string;
6615
- canonical: string;
6616
- };
6617
- };
6618
- data: McpResourceCatalog;
6619
- };
6620
- export type CredentialUpdateInput = {
6621
- readonly credentialID: {
6622
- readonly credentialID: string;
6623
- }["credentialID"];
6624
- readonly location?: {
6625
- readonly location?: {
6626
- readonly directory?: string | undefined;
6627
- readonly workspace?: string | undefined;
6628
- } | undefined;
6629
- }["location"];
6630
- readonly label: {
6631
- readonly label: string;
6632
- }["label"];
6633
- };
6634
- export type CredentialUpdateOutput = void;
6635
- export type CredentialActivateInput = {
6636
- readonly credentialID: {
6637
- readonly credentialID: string;
6638
- }["credentialID"];
6639
- readonly location?: {
6640
- readonly location?: {
6641
- readonly directory?: string | undefined;
6642
- readonly workspace?: string | undefined;
6643
- } | undefined;
6644
- }["location"];
6645
- };
6646
- export type CredentialActivateOutput = void;
6647
- export type CredentialRemoveInput = {
6648
- readonly credentialID: {
6649
- readonly credentialID: string;
6650
- }["credentialID"];
6651
- readonly location?: {
6652
- readonly location?: {
6653
- readonly directory?: string | undefined;
6654
- readonly workspace?: string | undefined;
6655
- } | undefined;
6656
- }["location"];
6657
- };
6658
- export type CredentialRemoveOutput = void;
6659
- export type ProjectListOutput = Array<Project>;
6660
- export type ProjectUpdateInput = {
6661
- readonly projectID: {
6662
- readonly projectID: string;
6663
- }["projectID"];
6664
- readonly canonical?: {
6665
- readonly canonical?: string;
6666
- readonly name?: string;
6667
- readonly icon?: {
6668
- readonly url?: string;
6669
- readonly override?: string;
6670
- readonly color?: string;
6671
- };
6672
- readonly commands?: {
6673
- readonly start?: string;
6674
- };
6675
- }["canonical"];
6676
- readonly name?: {
6677
- readonly canonical?: string;
6678
- readonly name?: string;
6679
- readonly icon?: {
6680
- readonly url?: string;
6681
- readonly override?: string;
6682
- readonly color?: string;
6683
- };
6684
- readonly commands?: {
6685
- readonly start?: string;
6686
- };
6687
- }["name"];
6688
- readonly icon?: {
6689
- readonly canonical?: string;
6690
- readonly name?: string;
6691
- readonly icon?: {
6692
- readonly url?: string;
6693
- readonly override?: string;
6694
- readonly color?: string;
6695
- };
6696
- readonly commands?: {
6697
- readonly start?: string;
6698
- };
6699
- }["icon"];
6700
- readonly commands?: {
6701
- readonly canonical?: string;
6702
- readonly name?: string;
6703
- readonly icon?: {
6704
- readonly url?: string;
6705
- readonly override?: string;
6706
- readonly color?: string;
6707
- };
6708
- readonly commands?: {
6709
- readonly start?: string;
6710
- };
6711
- }["commands"];
6712
- };
6713
- export type ProjectUpdateOutput = Project;
6714
- export type ProjectCurrentInput = {
6715
- readonly location?: {
6716
- readonly location?: {
6717
- readonly directory?: string | undefined;
6718
- readonly workspace?: string | undefined;
6719
- } | undefined;
6720
- }["location"];
6721
- };
6722
- export type ProjectCurrentOutput = ProjectCurrent;
6723
- export type FormRequestListInput = {
6724
- readonly location?: {
6725
- readonly location?: {
6726
- readonly directory?: string | undefined;
6727
- readonly workspace?: string | undefined;
6728
- } | undefined;
6729
- }["location"];
6730
- };
6731
- export type FormRequestListOutput = {
6732
- location: {
6733
- directory: string;
6734
- workspaceID?: string;
6735
- project: {
6736
- id: string;
6737
- directory: string;
6738
- canonical: string;
6739
- };
6740
- };
6741
- data: Array<FormInfo>;
6742
- };
6743
- export type FormListInput = {
6744
- readonly sessionID: {
6745
- readonly sessionID: string;
6746
- }["sessionID"];
6747
- };
6748
- export type FormListOutput = {
6749
- data: Array<FormInfo>;
6750
- }["data"];
6751
- export type FormCreateInput = {
6752
- readonly sessionID: {
6753
- readonly sessionID: string;
6754
- }["sessionID"];
6755
- readonly id?: {
6756
- readonly id?: string | null;
6757
- readonly title: string;
6758
- readonly metadata?: {
6759
- 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;
6760
6471
  };
6761
6472
  readonly fields: readonly [
6762
6473
  ({
@@ -6940,8 +6651,8 @@ export type FormCreateInput = {
6940
6651
  readonly description?: string;
6941
6652
  }>
6942
6653
  ];
6943
- }["id"];
6944
- readonly title: {
6654
+ }["metadata"];
6655
+ readonly fields: {
6945
6656
  readonly id?: string | null;
6946
6657
  readonly title: string;
6947
6658
  readonly metadata?: {
@@ -7129,460 +6840,583 @@ export type FormCreateInput = {
7129
6840
  readonly description?: string;
7130
6841
  }>
7131
6842
  ];
7132
- }["title"];
7133
- readonly metadata?: {
7134
- readonly id?: string | null;
7135
- readonly title: string;
7136
- readonly metadata?: {
7137
- 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>;
7138
6873
  };
7139
- readonly fields: readonly [
7140
- ({
7141
- readonly key: string;
7142
- readonly title?: string;
7143
- readonly description?: string;
7144
- readonly required?: boolean;
7145
- readonly when?: ReadonlyArray<{
7146
- readonly key: string;
7147
- readonly op: "eq" | "neq";
7148
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7149
- }>;
7150
- readonly type: "string";
7151
- readonly format?: "email" | "uri" | "date" | "date-time";
7152
- readonly minLength?: number;
7153
- readonly maxLength?: number;
7154
- readonly pattern?: string;
7155
- readonly placeholder?: string;
7156
- readonly default?: string;
7157
- readonly options?: ReadonlyArray<{
7158
- readonly value: string;
7159
- readonly label: string;
7160
- readonly description?: string;
7161
- }>;
7162
- readonly custom?: boolean;
7163
- } | {
7164
- readonly key: string;
7165
- readonly title?: string;
7166
- readonly description?: string;
7167
- readonly required?: boolean;
7168
- readonly when?: ReadonlyArray<{
7169
- readonly key: string;
7170
- readonly op: "eq" | "neq";
7171
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7172
- }>;
7173
- readonly type: "number";
7174
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
7175
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
7176
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
7177
- } | {
7178
- readonly key: string;
7179
- readonly title?: string;
7180
- readonly description?: string;
7181
- readonly required?: boolean;
7182
- readonly when?: ReadonlyArray<{
7183
- readonly key: string;
7184
- readonly op: "eq" | "neq";
7185
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7186
- }>;
7187
- readonly type: "integer";
7188
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
7189
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
7190
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
7191
- } | {
7192
- readonly key: string;
7193
- readonly title?: string;
7194
- readonly description?: string;
7195
- readonly required?: boolean;
7196
- readonly when?: ReadonlyArray<{
7197
- readonly key: string;
7198
- readonly op: "eq" | "neq";
7199
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7200
- }>;
7201
- readonly type: "boolean";
7202
- readonly default?: boolean;
7203
- } | {
7204
- readonly key: string;
7205
- readonly title?: string;
7206
- readonly description?: string;
7207
- readonly required?: boolean;
7208
- readonly when?: ReadonlyArray<{
7209
- readonly key: string;
7210
- readonly op: "eq" | "neq";
7211
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7212
- }>;
7213
- readonly type: "multiselect";
7214
- readonly options: ReadonlyArray<{
7215
- readonly value: string;
7216
- readonly label: string;
7217
- readonly description?: string;
7218
- }>;
7219
- readonly minItems?: number;
7220
- readonly maxItems?: number;
7221
- readonly custom?: boolean;
7222
- readonly default?: ReadonlyArray<string>;
7223
- } | {
7224
- readonly key: string;
7225
- readonly type: "external";
7226
- readonly url: string;
7227
- readonly title?: string;
7228
- readonly description?: string;
7229
- }),
7230
- ...Array<{
7231
- readonly key: string;
7232
- readonly title?: string;
7233
- readonly description?: string;
7234
- readonly required?: boolean;
7235
- readonly when?: ReadonlyArray<{
7236
- readonly key: string;
7237
- readonly op: "eq" | "neq";
7238
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7239
- }>;
7240
- readonly type: "string";
7241
- readonly format?: "email" | "uri" | "date" | "date-time";
7242
- readonly minLength?: number;
7243
- readonly maxLength?: number;
7244
- readonly pattern?: string;
7245
- readonly placeholder?: string;
7246
- readonly default?: string;
7247
- readonly options?: ReadonlyArray<{
7248
- readonly value: string;
7249
- readonly label: string;
7250
- readonly description?: string;
7251
- }>;
7252
- readonly custom?: boolean;
7253
- } | {
7254
- readonly key: string;
7255
- readonly title?: string;
7256
- readonly description?: string;
7257
- readonly required?: boolean;
7258
- readonly when?: ReadonlyArray<{
7259
- readonly key: string;
7260
- readonly op: "eq" | "neq";
7261
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7262
- }>;
7263
- readonly type: "number";
7264
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
7265
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
7266
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
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: "integer";
7278
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
7279
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
7280
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
7281
- } | {
7282
- readonly key: string;
7283
- readonly title?: string;
7284
- readonly description?: string;
7285
- readonly required?: boolean;
7286
- readonly when?: ReadonlyArray<{
7287
- readonly key: string;
7288
- readonly op: "eq" | "neq";
7289
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7290
- }>;
7291
- readonly type: "boolean";
7292
- readonly default?: boolean;
7293
- } | {
7294
- readonly key: string;
7295
- readonly title?: string;
7296
- readonly description?: string;
7297
- readonly required?: boolean;
7298
- readonly when?: ReadonlyArray<{
7299
- readonly key: string;
7300
- readonly op: "eq" | "neq";
7301
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7302
- }>;
7303
- readonly type: "multiselect";
7304
- readonly options: ReadonlyArray<{
7305
- readonly value: string;
7306
- readonly label: string;
7307
- readonly description?: string;
7308
- }>;
7309
- readonly minItems?: number;
7310
- readonly maxItems?: number;
7311
- readonly custom?: boolean;
7312
- readonly default?: ReadonlyArray<string>;
7313
- } | {
7314
- readonly key: string;
7315
- readonly type: "external";
7316
- readonly url: string;
7317
- readonly title?: string;
7318
- readonly description?: string;
7319
- }>
7320
- ];
7321
- }["metadata"];
7322
- readonly fields: {
7323
- readonly id?: string | null;
7324
- readonly title: string;
7325
- readonly metadata?: {
7326
- 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";
7327
7276
  };
7328
- readonly fields: readonly [
7329
- ({
7330
- readonly key: string;
7331
- readonly title?: string;
7332
- readonly description?: string;
7333
- readonly required?: boolean;
7334
- readonly when?: ReadonlyArray<{
7335
- readonly key: string;
7336
- readonly op: "eq" | "neq";
7337
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7338
- }>;
7339
- readonly type: "string";
7340
- readonly format?: "email" | "uri" | "date" | "date-time";
7341
- readonly minLength?: number;
7342
- readonly maxLength?: number;
7343
- readonly pattern?: string;
7344
- readonly placeholder?: string;
7345
- readonly default?: string;
7346
- readonly options?: ReadonlyArray<{
7347
- readonly value: string;
7348
- readonly label: string;
7349
- readonly description?: string;
7350
- }>;
7351
- readonly custom?: boolean;
7352
- } | {
7353
- readonly key: string;
7354
- readonly title?: string;
7355
- readonly description?: string;
7356
- readonly required?: boolean;
7357
- readonly when?: ReadonlyArray<{
7358
- readonly key: string;
7359
- readonly op: "eq" | "neq";
7360
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7361
- }>;
7362
- readonly type: "number";
7363
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
7364
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
7365
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
7366
- } | {
7367
- readonly key: string;
7368
- readonly title?: string;
7369
- readonly description?: string;
7370
- readonly required?: boolean;
7371
- readonly when?: ReadonlyArray<{
7372
- readonly key: string;
7373
- readonly op: "eq" | "neq";
7374
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7375
- }>;
7376
- readonly type: "integer";
7377
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
7378
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
7379
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
7380
- } | {
7381
- readonly key: string;
7382
- readonly title?: string;
7383
- readonly description?: string;
7384
- readonly required?: boolean;
7385
- readonly when?: ReadonlyArray<{
7386
- readonly key: string;
7387
- readonly op: "eq" | "neq";
7388
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7389
- }>;
7390
- readonly type: "boolean";
7391
- readonly default?: boolean;
7392
- } | {
7393
- readonly key: string;
7394
- readonly title?: string;
7395
- readonly description?: string;
7396
- readonly required?: boolean;
7397
- readonly when?: ReadonlyArray<{
7398
- readonly key: string;
7399
- readonly op: "eq" | "neq";
7400
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7401
- }>;
7402
- readonly type: "multiselect";
7403
- readonly options: ReadonlyArray<{
7404
- readonly value: string;
7405
- readonly label: string;
7406
- readonly description?: string;
7407
- }>;
7408
- readonly minItems?: number;
7409
- readonly maxItems?: number;
7410
- readonly custom?: boolean;
7411
- readonly default?: ReadonlyArray<string>;
7412
- } | {
7413
- readonly key: string;
7414
- readonly type: "external";
7415
- readonly url: string;
7416
- readonly title?: string;
7417
- readonly description?: string;
7418
- }),
7419
- ...Array<{
7420
- readonly key: string;
7421
- readonly title?: string;
7422
- readonly description?: string;
7423
- readonly required?: boolean;
7424
- readonly when?: ReadonlyArray<{
7425
- readonly key: string;
7426
- readonly op: "eq" | "neq";
7427
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7428
- }>;
7429
- readonly type: "string";
7430
- readonly format?: "email" | "uri" | "date" | "date-time";
7431
- readonly minLength?: number;
7432
- readonly maxLength?: number;
7433
- readonly pattern?: string;
7434
- readonly placeholder?: string;
7435
- readonly default?: string;
7436
- readonly options?: ReadonlyArray<{
7437
- readonly value: string;
7438
- readonly label: string;
7439
- readonly description?: string;
7440
- }>;
7441
- readonly custom?: boolean;
7442
- } | {
7443
- readonly key: string;
7444
- readonly title?: string;
7445
- readonly description?: string;
7446
- readonly required?: boolean;
7447
- readonly when?: ReadonlyArray<{
7448
- readonly key: string;
7449
- readonly op: "eq" | "neq";
7450
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7451
- }>;
7452
- readonly type: "number";
7453
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
7454
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
7455
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
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: "integer";
7467
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
7468
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
7469
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
7470
- } | {
7471
- readonly key: string;
7472
- readonly title?: string;
7473
- readonly description?: string;
7474
- readonly required?: boolean;
7475
- readonly when?: ReadonlyArray<{
7476
- readonly key: string;
7477
- readonly op: "eq" | "neq";
7478
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7479
- }>;
7480
- readonly type: "boolean";
7481
- readonly default?: boolean;
7482
- } | {
7483
- readonly key: string;
7484
- readonly title?: string;
7485
- readonly description?: string;
7486
- readonly required?: boolean;
7487
- readonly when?: ReadonlyArray<{
7488
- readonly key: string;
7489
- readonly op: "eq" | "neq";
7490
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
7491
- }>;
7492
- readonly type: "multiselect";
7493
- readonly options: ReadonlyArray<{
7494
- readonly value: string;
7495
- readonly label: string;
7496
- readonly description?: string;
7497
- }>;
7498
- readonly minItems?: number;
7499
- readonly maxItems?: number;
7500
- readonly custom?: boolean;
7501
- readonly default?: ReadonlyArray<string>;
7502
- } | {
7503
- readonly key: string;
7504
- readonly type: "external";
7505
- readonly url: string;
7506
- readonly title?: string;
7507
- readonly description?: string;
7508
- }>
7509
- ];
7510
- }["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"];
7511
7331
  };
7512
- export type FormCreateOutput = {
7513
- data: FormInfo;
7514
- }["data"];
7515
- export type FormGetInput = {
7516
- readonly sessionID: {
7517
- readonly sessionID: string;
7518
- readonly formID: string;
7519
- }["sessionID"];
7520
- readonly formID: {
7521
- readonly sessionID: string;
7522
- readonly formID: string;
7523
- }["formID"];
7332
+ export type CredentialUpdateOutput = void;
7333
+ export type CredentialActivateInput = {
7334
+ readonly credentialID: {
7335
+ readonly credentialID: string;
7336
+ }["credentialID"];
7524
7337
  };
7525
- export type FormGetOutput = {
7526
- data: FormInfo;
7527
- }["data"];
7528
- export type FormStateInput = {
7529
- readonly sessionID: {
7530
- readonly sessionID: string;
7531
- readonly formID: string;
7532
- }["sessionID"];
7533
- readonly formID: {
7534
- readonly sessionID: string;
7535
- readonly formID: string;
7536
- }["formID"];
7338
+ export type CredentialActivateOutput = void;
7339
+ export type CredentialRemoveInput = {
7340
+ readonly credentialID: {
7341
+ readonly credentialID: string;
7342
+ }["credentialID"];
7537
7343
  };
7538
- export type FormStateOutput = {
7539
- data: FormState;
7540
- }["data"];
7541
- export type FormReplyInput = {
7542
- readonly sessionID: {
7543
- readonly sessionID: string;
7544
- readonly formID: string;
7545
- }["sessionID"];
7546
- readonly formID: {
7547
- readonly sessionID: string;
7548
- readonly formID: string;
7549
- }["formID"];
7550
- readonly answer: {
7551
- readonly answer: {
7552
- 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;
7553
7357
  };
7554
- }["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"];
7555
7398
  };
7556
- export type FormReplyOutput = void;
7557
- export type FormCancelInput = {
7558
- readonly sessionID: {
7559
- readonly sessionID: string;
7560
- readonly formID: string;
7561
- }["sessionID"];
7562
- readonly formID: {
7563
- readonly sessionID: string;
7564
- readonly formID: string;
7565
- }["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>;
7566
7410
  };
7567
- export type FormCancelOutput = void;
7568
7411
  export type PermissionRequestListInput = {
7569
7412
  readonly location?: {
7570
7413
  readonly location?: {
7571
7414
  readonly directory?: string | undefined;
7572
- readonly workspace?: string | undefined;
7573
7415
  } | undefined;
7574
7416
  }["location"];
7575
7417
  };
7576
7418
  export type PermissionRequestListOutput = {
7577
- location: {
7578
- directory: string;
7579
- workspaceID?: string;
7580
- project: {
7581
- id: string;
7582
- directory: string;
7583
- canonical: string;
7584
- };
7585
- };
7419
+ location: LocationPublicRef;
7586
7420
  data: Array<PermissionRequest>;
7587
7421
  };
7588
7422
  export type PermissionSavedListInput = {
@@ -7745,34 +7579,20 @@ export type PermissionReplyInput = {
7745
7579
  readonly sessionID: string;
7746
7580
  readonly requestID: string;
7747
7581
  }["requestID"];
7748
- readonly reply: {
7749
- readonly reply: "once" | "always" | "reject";
7582
+ readonly decision: {
7583
+ readonly decision: "once" | "always" | "reject";
7750
7584
  readonly message?: string | undefined;
7751
- }["reply"];
7585
+ }["decision"];
7752
7586
  readonly message?: {
7753
- readonly reply: "once" | "always" | "reject";
7587
+ readonly decision: "once" | "always" | "reject";
7754
7588
  readonly message?: string | undefined;
7755
7589
  }["message"];
7756
7590
  };
7757
7591
  export type PermissionReplyOutput = void;
7758
- export type PermissionRulesInput = {
7759
- readonly sessionID: {
7760
- readonly sessionID: string;
7761
- }["sessionID"];
7762
- readonly permissions: {
7763
- readonly permissions: ReadonlyArray<{
7764
- readonly action: string;
7765
- readonly resource: string;
7766
- readonly effect: "allow" | "deny" | "ask";
7767
- }>;
7768
- }["permissions"];
7769
- };
7770
- export type PermissionRulesOutput = void;
7771
7592
  export type FileReadInput = {
7772
7593
  readonly location?: {
7773
7594
  readonly location?: {
7774
7595
  readonly directory?: string | undefined;
7775
- readonly workspace?: string | undefined;
7776
7596
  } | undefined;
7777
7597
  }["location"];
7778
7598
  readonly path: string;
@@ -7782,35 +7602,24 @@ export type FileListInput = {
7782
7602
  readonly location?: {
7783
7603
  readonly location?: {
7784
7604
  readonly directory?: string | undefined;
7785
- readonly workspace?: string | undefined;
7786
7605
  } | undefined;
7787
7606
  readonly path?: string | undefined;
7788
7607
  }["location"];
7789
7608
  readonly path?: {
7790
7609
  readonly location?: {
7791
7610
  readonly directory?: string | undefined;
7792
- readonly workspace?: string | undefined;
7793
7611
  } | undefined;
7794
7612
  readonly path?: string | undefined;
7795
7613
  }["path"];
7796
7614
  };
7797
7615
  export type FileListOutput = {
7798
- location: {
7799
- directory: string;
7800
- workspaceID?: string;
7801
- project: {
7802
- id: string;
7803
- directory: string;
7804
- canonical: string;
7805
- };
7806
- };
7616
+ location: LocationPublicRef;
7807
7617
  data: Array<FileSystemEntry>;
7808
7618
  };
7809
7619
  export type FileFindInput = {
7810
7620
  readonly location?: {
7811
7621
  readonly location?: {
7812
7622
  readonly directory?: string | undefined;
7813
- readonly workspace?: string | undefined;
7814
7623
  } | undefined;
7815
7624
  readonly query: string;
7816
7625
  readonly type?: "file" | "directory" | undefined;
@@ -7819,7 +7628,6 @@ export type FileFindInput = {
7819
7628
  readonly query: {
7820
7629
  readonly location?: {
7821
7630
  readonly directory?: string | undefined;
7822
- readonly workspace?: string | undefined;
7823
7631
  } | undefined;
7824
7632
  readonly query: string;
7825
7633
  readonly type?: "file" | "directory" | undefined;
@@ -7828,7 +7636,6 @@ export type FileFindInput = {
7828
7636
  readonly type?: {
7829
7637
  readonly location?: {
7830
7638
  readonly directory?: string | undefined;
7831
- readonly workspace?: string | undefined;
7832
7639
  } | undefined;
7833
7640
  readonly query: string;
7834
7641
  readonly type?: "file" | "directory" | undefined;
@@ -7837,7 +7644,6 @@ export type FileFindInput = {
7837
7644
  readonly limit?: {
7838
7645
  readonly location?: {
7839
7646
  readonly directory?: string | undefined;
7840
- readonly workspace?: string | undefined;
7841
7647
  } | undefined;
7842
7648
  readonly query: string;
7843
7649
  readonly type?: "file" | "directory" | undefined;
@@ -7845,55 +7651,29 @@ export type FileFindInput = {
7845
7651
  }["limit"];
7846
7652
  };
7847
7653
  export type FileFindOutput = {
7848
- location: {
7849
- directory: string;
7850
- workspaceID?: string;
7851
- project: {
7852
- id: string;
7853
- directory: string;
7854
- canonical: string;
7855
- };
7856
- };
7654
+ location: LocationPublicRef;
7857
7655
  data: Array<FileSystemEntry>;
7858
7656
  };
7859
7657
  export type CommandListInput = {
7860
7658
  readonly location?: {
7861
7659
  readonly location?: {
7862
7660
  readonly directory?: string | undefined;
7863
- readonly workspace?: string | undefined;
7864
7661
  } | undefined;
7865
7662
  }["location"];
7866
7663
  };
7867
7664
  export type CommandListOutput = {
7868
- location: {
7869
- directory: string;
7870
- workspaceID?: string;
7871
- project: {
7872
- id: string;
7873
- directory: string;
7874
- canonical: string;
7875
- };
7876
- };
7665
+ location: LocationPublicRef;
7877
7666
  data: Array<CommandInfo>;
7878
7667
  };
7879
7668
  export type SkillListInput = {
7880
7669
  readonly location?: {
7881
7670
  readonly location?: {
7882
7671
  readonly directory?: string | undefined;
7883
- readonly workspace?: string | undefined;
7884
7672
  } | undefined;
7885
7673
  }["location"];
7886
7674
  };
7887
7675
  export type SkillListOutput = {
7888
- location: {
7889
- directory: string;
7890
- workspaceID?: string;
7891
- project: {
7892
- id: string;
7893
- directory: string;
7894
- canonical: string;
7895
- };
7896
- };
7676
+ location: LocationPublicRef;
7897
7677
  data: Array<SkillInfo>;
7898
7678
  };
7899
7679
  export type RpcCallInput = {
@@ -7908,7 +7688,6 @@ export type RpcCallInput = {
7908
7688
  readonly location?: {
7909
7689
  readonly location?: {
7910
7690
  readonly directory?: string | undefined;
7911
- readonly workspace?: string | undefined;
7912
7691
  } | undefined;
7913
7692
  }["location"];
7914
7693
  readonly input?: {
@@ -7921,27 +7700,17 @@ export type PtyListInput = {
7921
7700
  readonly location?: {
7922
7701
  readonly location?: {
7923
7702
  readonly directory?: string | undefined;
7924
- readonly workspace?: string | undefined;
7925
7703
  } | undefined;
7926
7704
  }["location"];
7927
7705
  };
7928
7706
  export type PtyListOutput = {
7929
- location: {
7930
- directory: string;
7931
- workspaceID?: string;
7932
- project: {
7933
- id: string;
7934
- directory: string;
7935
- canonical: string;
7936
- };
7937
- };
7707
+ location: LocationPublicRef;
7938
7708
  data: Array<Pty>;
7939
7709
  };
7940
7710
  export type PtyCreateInput = {
7941
7711
  readonly location?: {
7942
7712
  readonly location?: {
7943
7713
  readonly directory?: string | undefined;
7944
- readonly workspace?: string | undefined;
7945
7714
  } | undefined;
7946
7715
  }["location"];
7947
7716
  readonly command?: {
@@ -7991,15 +7760,7 @@ export type PtyCreateInput = {
7991
7760
  }["env"];
7992
7761
  };
7993
7762
  export type PtyCreateOutput = {
7994
- location: {
7995
- directory: string;
7996
- workspaceID?: string;
7997
- project: {
7998
- id: string;
7999
- directory: string;
8000
- canonical: string;
8001
- };
8002
- };
7763
+ location: LocationPublicRef;
8003
7764
  data: Pty;
8004
7765
  };
8005
7766
  export type PtyGetInput = {
@@ -8009,20 +7770,11 @@ export type PtyGetInput = {
8009
7770
  readonly location?: {
8010
7771
  readonly location?: {
8011
7772
  readonly directory?: string | undefined;
8012
- readonly workspace?: string | undefined;
8013
7773
  } | undefined;
8014
7774
  }["location"];
8015
7775
  };
8016
7776
  export type PtyGetOutput = {
8017
- location: {
8018
- directory: string;
8019
- workspaceID?: string;
8020
- project: {
8021
- id: string;
8022
- directory: string;
8023
- canonical: string;
8024
- };
8025
- };
7777
+ location: LocationPublicRef;
8026
7778
  data: Pty;
8027
7779
  };
8028
7780
  export type PtyUpdateInput = {
@@ -8032,7 +7784,6 @@ export type PtyUpdateInput = {
8032
7784
  readonly location?: {
8033
7785
  readonly location?: {
8034
7786
  readonly directory?: string | undefined;
8035
- readonly workspace?: string | undefined;
8036
7787
  } | undefined;
8037
7788
  }["location"];
8038
7789
  readonly title?: {
@@ -8051,15 +7802,7 @@ export type PtyUpdateInput = {
8051
7802
  }["size"];
8052
7803
  };
8053
7804
  export type PtyUpdateOutput = {
8054
- location: {
8055
- directory: string;
8056
- workspaceID?: string;
8057
- project: {
8058
- id: string;
8059
- directory: string;
8060
- canonical: string;
8061
- };
8062
- };
7805
+ location: LocationPublicRef;
8063
7806
  data: Pty;
8064
7807
  };
8065
7808
  export type PtyRemoveInput = {
@@ -8069,7 +7812,6 @@ export type PtyRemoveInput = {
8069
7812
  readonly location?: {
8070
7813
  readonly location?: {
8071
7814
  readonly directory?: string | undefined;
8072
- readonly workspace?: string | undefined;
8073
7815
  } | undefined;
8074
7816
  }["location"];
8075
7817
  };
@@ -8081,7 +7823,6 @@ export type PtyConnectTokenInput = {
8081
7823
  readonly location?: {
8082
7824
  readonly location?: {
8083
7825
  readonly directory?: string | undefined;
8084
- readonly workspace?: string | undefined;
8085
7826
  } | undefined;
8086
7827
  }["location"];
8087
7828
  readonly "x-opencode-ticket"?: {
@@ -8089,15 +7830,7 @@ export type PtyConnectTokenInput = {
8089
7830
  }["x-opencode-ticket"];
8090
7831
  };
8091
7832
  export type PtyConnectTokenOutput = {
8092
- location: {
8093
- directory: string;
8094
- workspaceID?: string;
8095
- project: {
8096
- id: string;
8097
- directory: string;
8098
- canonical: string;
8099
- };
8100
- };
7833
+ location: LocationPublicRef;
8101
7834
  data: PtyTicketConnectToken;
8102
7835
  };
8103
7836
  export type ExperimentalPersistentPtyReadInput = {
@@ -8268,33 +8001,23 @@ export type ShellListInput = {
8268
8001
  readonly location?: {
8269
8002
  readonly location?: {
8270
8003
  readonly directory?: string | undefined;
8271
- readonly workspace?: string | undefined;
8272
8004
  } | undefined;
8273
8005
  }["location"];
8274
8006
  };
8275
8007
  export type ShellListOutput = {
8276
- location: {
8277
- directory: string;
8278
- workspaceID?: string;
8279
- project: {
8280
- id: string;
8281
- directory: string;
8282
- canonical: string;
8283
- };
8284
- };
8008
+ location: LocationPublicRef;
8285
8009
  data: Array<ShellInfo1>;
8286
8010
  };
8287
8011
  export type ShellCreateInput = {
8288
8012
  readonly location?: {
8289
8013
  readonly location?: {
8290
8014
  readonly directory?: string | undefined;
8291
- readonly workspace?: string | undefined;
8292
8015
  } | undefined;
8293
8016
  }["location"];
8294
8017
  readonly command: {
8295
8018
  readonly command: string;
8296
8019
  readonly cwd?: string;
8297
- readonly timeout: number;
8020
+ readonly timeout?: number;
8298
8021
  readonly metadata?: {
8299
8022
  readonly [x: string]: JsonValue;
8300
8023
  };
@@ -8302,15 +8025,15 @@ export type ShellCreateInput = {
8302
8025
  readonly cwd?: {
8303
8026
  readonly command: string;
8304
8027
  readonly cwd?: string;
8305
- readonly timeout: number;
8028
+ readonly timeout?: number;
8306
8029
  readonly metadata?: {
8307
8030
  readonly [x: string]: JsonValue;
8308
8031
  };
8309
8032
  }["cwd"];
8310
- readonly timeout: {
8033
+ readonly timeout?: {
8311
8034
  readonly command: string;
8312
8035
  readonly cwd?: string;
8313
- readonly timeout: number;
8036
+ readonly timeout?: number;
8314
8037
  readonly metadata?: {
8315
8038
  readonly [x: string]: JsonValue;
8316
8039
  };
@@ -8318,22 +8041,14 @@ export type ShellCreateInput = {
8318
8041
  readonly metadata?: {
8319
8042
  readonly command: string;
8320
8043
  readonly cwd?: string;
8321
- readonly timeout: number;
8044
+ readonly timeout?: number;
8322
8045
  readonly metadata?: {
8323
8046
  readonly [x: string]: JsonValue;
8324
8047
  };
8325
8048
  }["metadata"];
8326
8049
  };
8327
8050
  export type ShellCreateOutput = {
8328
- location: {
8329
- directory: string;
8330
- workspaceID?: string;
8331
- project: {
8332
- id: string;
8333
- directory: string;
8334
- canonical: string;
8335
- };
8336
- };
8051
+ location: LocationPublicRef;
8337
8052
  data: ShellInfo1;
8338
8053
  };
8339
8054
  export type ShellGetInput = {
@@ -8343,46 +8058,11 @@ export type ShellGetInput = {
8343
8058
  readonly location?: {
8344
8059
  readonly location?: {
8345
8060
  readonly directory?: string | undefined;
8346
- readonly workspace?: string | undefined;
8347
8061
  } | undefined;
8348
8062
  }["location"];
8349
8063
  };
8350
8064
  export type ShellGetOutput = {
8351
- location: {
8352
- directory: string;
8353
- workspaceID?: string;
8354
- project: {
8355
- id: string;
8356
- directory: string;
8357
- canonical: string;
8358
- };
8359
- };
8360
- data: ShellInfo1;
8361
- };
8362
- export type ShellTimeoutInput = {
8363
- readonly id: {
8364
- readonly id: string;
8365
- }["id"];
8366
- readonly location?: {
8367
- readonly location?: {
8368
- readonly directory?: string | undefined;
8369
- readonly workspace?: string | undefined;
8370
- } | undefined;
8371
- }["location"];
8372
- readonly timeout: {
8373
- readonly timeout: number;
8374
- }["timeout"];
8375
- };
8376
- export type ShellTimeoutOutput = {
8377
- location: {
8378
- directory: string;
8379
- workspaceID?: string;
8380
- project: {
8381
- id: string;
8382
- directory: string;
8383
- canonical: string;
8384
- };
8385
- };
8065
+ location: LocationPublicRef;
8386
8066
  data: ShellInfo1;
8387
8067
  };
8388
8068
  export type ShellOutputInput = {
@@ -8392,7 +8072,6 @@ export type ShellOutputInput = {
8392
8072
  readonly location?: {
8393
8073
  readonly location?: {
8394
8074
  readonly directory?: string | undefined;
8395
- readonly workspace?: string | undefined;
8396
8075
  } | undefined;
8397
8076
  readonly cursor?: number | undefined;
8398
8077
  readonly limit?: number | undefined;
@@ -8400,7 +8079,6 @@ export type ShellOutputInput = {
8400
8079
  readonly cursor?: {
8401
8080
  readonly location?: {
8402
8081
  readonly directory?: string | undefined;
8403
- readonly workspace?: string | undefined;
8404
8082
  } | undefined;
8405
8083
  readonly cursor?: number | undefined;
8406
8084
  readonly limit?: number | undefined;
@@ -8408,22 +8086,13 @@ export type ShellOutputInput = {
8408
8086
  readonly limit?: {
8409
8087
  readonly location?: {
8410
8088
  readonly directory?: string | undefined;
8411
- readonly workspace?: string | undefined;
8412
8089
  } | undefined;
8413
8090
  readonly cursor?: number | undefined;
8414
8091
  readonly limit?: number | undefined;
8415
8092
  }["limit"];
8416
8093
  };
8417
8094
  export type ShellOutputOutput = {
8418
- location: {
8419
- directory: string;
8420
- workspaceID?: string;
8421
- project: {
8422
- id: string;
8423
- directory: string;
8424
- canonical: string;
8425
- };
8426
- };
8095
+ location: LocationPublicRef;
8427
8096
  data: {
8428
8097
  output: string;
8429
8098
  cursor: number;
@@ -8438,7 +8107,6 @@ export type ShellRemoveInput = {
8438
8107
  readonly location?: {
8439
8108
  readonly location?: {
8440
8109
  readonly directory?: string | undefined;
8441
- readonly workspace?: string | undefined;
8442
8110
  } | undefined;
8443
8111
  }["location"];
8444
8112
  };
@@ -8447,68 +8115,50 @@ export type ReferenceListInput = {
8447
8115
  readonly location?: {
8448
8116
  readonly location?: {
8449
8117
  readonly directory?: string | undefined;
8450
- readonly workspace?: string | undefined;
8451
8118
  } | undefined;
8452
8119
  }["location"];
8453
8120
  };
8454
8121
  export type ReferenceListOutput = {
8455
- location: {
8456
- directory: string;
8457
- workspaceID?: string;
8458
- project: {
8459
- id: string;
8460
- directory: string;
8461
- canonical: string;
8462
- };
8463
- };
8122
+ location: LocationPublicRef;
8464
8123
  data: Array<ReferenceInfo>;
8465
8124
  };
8466
8125
  export type WorktreeListInput = {
8467
- readonly location?: {
8468
- readonly location?: {
8469
- readonly directory?: string | undefined;
8470
- readonly workspace?: string | undefined;
8471
- } | undefined;
8472
- }["location"];
8126
+ readonly projectID: {
8127
+ readonly projectID: string;
8128
+ }["projectID"];
8473
8129
  };
8474
8130
  export type WorktreeListOutput = WorktreeList;
8475
8131
  export type WorktreeCreateInput = {
8476
- readonly location?: {
8477
- readonly location?: {
8478
- readonly directory?: string | undefined;
8479
- readonly workspace?: string | undefined;
8480
- } | undefined;
8481
- }["location"];
8482
- readonly strategy?: {
8483
- readonly strategy?: string;
8132
+ readonly projectID: {
8133
+ readonly projectID: string;
8484
8134
  readonly from?: string;
8485
8135
  readonly branch?: string;
8486
8136
  readonly directory?: string;
8487
8137
  readonly name?: string;
8488
- }["strategy"];
8138
+ }["projectID"];
8489
8139
  readonly from?: {
8490
- readonly strategy?: string;
8140
+ readonly projectID: string;
8491
8141
  readonly from?: string;
8492
8142
  readonly branch?: string;
8493
8143
  readonly directory?: string;
8494
8144
  readonly name?: string;
8495
8145
  }["from"];
8496
8146
  readonly branch?: {
8497
- readonly strategy?: string;
8147
+ readonly projectID: string;
8498
8148
  readonly from?: string;
8499
8149
  readonly branch?: string;
8500
8150
  readonly directory?: string;
8501
8151
  readonly name?: string;
8502
8152
  }["branch"];
8503
8153
  readonly directory?: {
8504
- readonly strategy?: string;
8154
+ readonly projectID: string;
8505
8155
  readonly from?: string;
8506
8156
  readonly branch?: string;
8507
8157
  readonly directory?: string;
8508
8158
  readonly name?: string;
8509
8159
  }["directory"];
8510
8160
  readonly name?: {
8511
- readonly strategy?: string;
8161
+ readonly projectID: string;
8512
8162
  readonly from?: string;
8513
8163
  readonly branch?: string;
8514
8164
  readonly directory?: string;
@@ -8517,115 +8167,66 @@ export type WorktreeCreateInput = {
8517
8167
  };
8518
8168
  export type WorktreeCreateOutput = WorktreeInfo;
8519
8169
  export type WorktreeRemoveInput = {
8520
- readonly location?: {
8521
- readonly location?: {
8522
- readonly directory?: string | undefined;
8523
- readonly workspace?: string | undefined;
8524
- } | undefined;
8525
- }["location"];
8170
+ readonly projectID: {
8171
+ readonly projectID: string;
8172
+ readonly directory: string;
8173
+ readonly force: boolean;
8174
+ }["projectID"];
8526
8175
  readonly directory: {
8176
+ readonly projectID: string;
8527
8177
  readonly directory: string;
8528
8178
  readonly force: boolean;
8529
8179
  }["directory"];
8530
8180
  readonly force: {
8181
+ readonly projectID: string;
8531
8182
  readonly directory: string;
8532
8183
  readonly force: boolean;
8533
8184
  }["force"];
8534
8185
  };
8535
8186
  export type WorktreeRemoveOutput = void;
8536
8187
  export type WorktreeRefreshInput = {
8537
- readonly location?: {
8538
- readonly location?: {
8539
- readonly directory?: string | undefined;
8540
- readonly workspace?: string | undefined;
8541
- } | undefined;
8542
- }["location"];
8188
+ readonly projectID: {
8189
+ readonly projectID: string;
8190
+ }["projectID"];
8543
8191
  };
8544
8192
  export type WorktreeRefreshOutput = void;
8545
- export type WorkspaceCreateInput = {
8546
- readonly id?: {
8547
- readonly id?: string | undefined;
8548
- readonly provider: string;
8549
- }["id"];
8550
- readonly provider: {
8551
- readonly id?: string | undefined;
8552
- readonly provider: string;
8553
- }["provider"];
8554
- };
8555
- export type WorkspaceCreateOutput = {
8556
- data: string;
8557
- }["data"];
8558
- export type WorkspaceDestroyInput = {
8559
- readonly workspaceID: {
8560
- readonly workspaceID: string;
8561
- }["workspaceID"];
8562
- };
8563
- export type WorkspaceDestroyOutput = WorkspaceDestroyResult;
8564
8193
  export type VcsGetInput = {
8565
8194
  readonly location?: {
8566
8195
  readonly location?: {
8567
8196
  readonly directory?: string | undefined;
8568
- readonly workspace?: string | undefined;
8569
8197
  } | undefined;
8570
8198
  }["location"];
8571
8199
  };
8572
8200
  export type VcsGetOutput = {
8573
- location: {
8574
- directory: string;
8575
- workspaceID?: string;
8576
- project: {
8577
- id: string;
8578
- directory: string;
8579
- canonical: string;
8580
- };
8581
- };
8201
+ location: LocationPublicRef;
8582
8202
  data: VcsInfo;
8583
8203
  };
8584
8204
  export type VcsBaseInput = {
8585
8205
  readonly location?: {
8586
8206
  readonly location?: {
8587
8207
  readonly directory?: string | undefined;
8588
- readonly workspace?: string | undefined;
8589
8208
  } | undefined;
8590
8209
  }["location"];
8591
8210
  };
8592
8211
  export type VcsBaseOutput = {
8593
- location: {
8594
- directory: string;
8595
- workspaceID?: string;
8596
- project: {
8597
- id: string;
8598
- directory: string;
8599
- canonical: string;
8600
- };
8601
- };
8212
+ location: LocationPublicRef;
8602
8213
  data: VcsBase | null;
8603
8214
  };
8604
8215
  export type VcsStatusInput = {
8605
8216
  readonly location?: {
8606
8217
  readonly location?: {
8607
8218
  readonly directory?: string | undefined;
8608
- readonly workspace?: string | undefined;
8609
8219
  } | undefined;
8610
8220
  }["location"];
8611
8221
  };
8612
8222
  export type VcsStatusOutput = {
8613
- location: {
8614
- directory: string;
8615
- workspaceID?: string;
8616
- project: {
8617
- id: string;
8618
- directory: string;
8619
- canonical: string;
8620
- };
8621
- };
8223
+ location: LocationPublicRef;
8622
8224
  data: Array<VcsFileStatus>;
8623
8225
  };
8624
- export type VcsBranchesInput = {
8226
+ export type VcsBranchListInput = {
8625
8227
  readonly location?: {
8626
8228
  readonly location?: {
8627
8229
  readonly directory?: string | undefined;
8628
- readonly workspace?: string | undefined;
8629
8230
  } | undefined;
8630
8231
  readonly search?: string | undefined;
8631
8232
  readonly limit?: number | undefined;
@@ -8633,7 +8234,6 @@ export type VcsBranchesInput = {
8633
8234
  readonly search?: {
8634
8235
  readonly location?: {
8635
8236
  readonly directory?: string | undefined;
8636
- readonly workspace?: string | undefined;
8637
8237
  } | undefined;
8638
8238
  readonly search?: string | undefined;
8639
8239
  readonly limit?: number | undefined;
@@ -8641,29 +8241,19 @@ export type VcsBranchesInput = {
8641
8241
  readonly limit?: {
8642
8242
  readonly location?: {
8643
8243
  readonly directory?: string | undefined;
8644
- readonly workspace?: string | undefined;
8645
8244
  } | undefined;
8646
8245
  readonly search?: string | undefined;
8647
8246
  readonly limit?: number | undefined;
8648
8247
  }["limit"];
8649
8248
  };
8650
- export type VcsBranchesOutput = {
8651
- location: {
8652
- directory: string;
8653
- workspaceID?: string;
8654
- project: {
8655
- id: string;
8656
- directory: string;
8657
- canonical: string;
8658
- };
8659
- };
8249
+ export type VcsBranchListOutput = {
8250
+ location: LocationPublicRef;
8660
8251
  data: VcsBranchList;
8661
8252
  };
8662
8253
  export type VcsDiffInput = {
8663
8254
  readonly location?: {
8664
8255
  readonly location?: {
8665
8256
  readonly directory?: string | undefined;
8666
- readonly workspace?: string | undefined;
8667
8257
  } | undefined;
8668
8258
  readonly mode: "working" | "branch" | "committed";
8669
8259
  readonly base?: string | undefined;
@@ -8672,7 +8262,6 @@ export type VcsDiffInput = {
8672
8262
  readonly mode: {
8673
8263
  readonly location?: {
8674
8264
  readonly directory?: string | undefined;
8675
- readonly workspace?: string | undefined;
8676
8265
  } | undefined;
8677
8266
  readonly mode: "working" | "branch" | "committed";
8678
8267
  readonly base?: string | undefined;
@@ -8681,7 +8270,6 @@ export type VcsDiffInput = {
8681
8270
  readonly base?: {
8682
8271
  readonly location?: {
8683
8272
  readonly directory?: string | undefined;
8684
- readonly workspace?: string | undefined;
8685
8273
  } | undefined;
8686
8274
  readonly mode: "working" | "branch" | "committed";
8687
8275
  readonly base?: string | undefined;
@@ -8690,7 +8278,6 @@ export type VcsDiffInput = {
8690
8278
  readonly context?: {
8691
8279
  readonly location?: {
8692
8280
  readonly directory?: string | undefined;
8693
- readonly workspace?: string | undefined;
8694
8281
  } | undefined;
8695
8282
  readonly mode: "working" | "branch" | "committed";
8696
8283
  readonly base?: string | undefined;
@@ -8698,23 +8285,14 @@ export type VcsDiffInput = {
8698
8285
  }["context"];
8699
8286
  };
8700
8287
  export type VcsDiffOutput = {
8701
- location: {
8702
- directory: string;
8703
- workspaceID?: string;
8704
- project: {
8705
- id: string;
8706
- directory: string;
8707
- canonical: string;
8708
- };
8709
- };
8288
+ location: LocationPublicRef;
8710
8289
  data: Array<FileDiffInfo>;
8711
8290
  };
8712
- export type DebugLocationListOutput = Array<LocationRef>;
8291
+ export type DebugLocationListOutput = Array<LocationPublicRef>;
8713
8292
  export type DebugLocationEvictInput = {
8714
8293
  readonly location?: {
8715
8294
  readonly location?: {
8716
8295
  readonly directory?: string | undefined;
8717
- readonly workspace?: string | undefined;
8718
8296
  } | undefined;
8719
8297
  }["location"];
8720
8298
  };
@@ -8736,27 +8314,17 @@ export type WebsearchProvidersInput = {
8736
8314
  readonly location?: {
8737
8315
  readonly location?: {
8738
8316
  readonly directory?: string | undefined;
8739
- readonly workspace?: string | undefined;
8740
8317
  } | undefined;
8741
8318
  }["location"];
8742
8319
  };
8743
8320
  export type WebsearchProvidersOutput = {
8744
- location: {
8745
- directory: string;
8746
- workspaceID?: string;
8747
- project: {
8748
- id: string;
8749
- directory: string;
8750
- canonical: string;
8751
- };
8752
- };
8321
+ location: LocationPublicRef;
8753
8322
  data: Array<WebSearchProvider>;
8754
8323
  };
8755
8324
  export type WebsearchQueryInput = {
8756
8325
  readonly location?: {
8757
8326
  readonly location?: {
8758
8327
  readonly directory?: string | undefined;
8759
- readonly workspace?: string | undefined;
8760
8328
  } | undefined;
8761
8329
  }["location"];
8762
8330
  readonly query: {
@@ -8769,15 +8337,7 @@ export type WebsearchQueryInput = {
8769
8337
  }["providerID"];
8770
8338
  };
8771
8339
  export type WebsearchQueryOutput = {
8772
- location: {
8773
- directory: string;
8774
- workspaceID?: string;
8775
- project: {
8776
- id: string;
8777
- directory: string;
8778
- canonical: string;
8779
- };
8780
- };
8340
+ location: LocationPublicRef;
8781
8341
  data: {
8782
8342
  providerID: string;
8783
8343
  results: Array<WebSearchResult>;
@@ -8787,25 +8347,14 @@ export type ConfigGetInput = {
8787
8347
  readonly location?: {
8788
8348
  readonly location?: {
8789
8349
  readonly directory?: string | undefined;
8790
- readonly workspace?: string | undefined;
8791
8350
  } | undefined;
8792
8351
  }["location"];
8793
8352
  };
8794
8353
  export type ConfigGetOutput = Array<ConfigEntry>;
8795
- export type ConfigPreferencesOutput = ConfigPreferences;
8796
- export type ConfigUpdatePreferencesInput = {
8797
- readonly shell?: {
8798
- readonly shell?: string | null;
8799
- readonly websearch?: false | {
8800
- readonly provider: "random" | (string & {});
8801
- } | null;
8354
+ export type ConfigShellsOutput = Array<ConfigShellOption>;
8355
+ export type ConfigUpdateInput = {
8356
+ readonly shell: {
8357
+ readonly shell: string | null;
8802
8358
  }["shell"];
8803
- readonly websearch?: {
8804
- readonly shell?: string | null;
8805
- readonly websearch?: false | {
8806
- readonly provider: "random" | (string & {});
8807
- } | null;
8808
- }["websearch"];
8809
8359
  };
8810
- export type ConfigUpdatePreferencesOutput = ConfigPreferences;
8811
- export type ConfigShellsOutput = Array<ConfigShellOption>;
8360
+ export type ConfigUpdateOutput = void;