@opencode/client 0.0.0-dev-19654 → 0.0.0-dev-19657

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.
@@ -316,6 +316,27 @@ export type EventLogSynced = {
316
316
  export type SessionInterruptResponse = {
317
317
  interrupted: boolean;
318
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>;
319
340
  export type ModelReasoningField = "reasoning" | "reasoning_content" | "reasoning_text" | (string & {});
320
341
  export type ModelMaxTokensField = "max_completion_tokens" | "max_tokens";
321
342
  export type ProviderCompaction = {
@@ -348,23 +369,6 @@ export type GenerateTextResponse = {
348
369
  text: string;
349
370
  };
350
371
  };
351
- export type FormWhen = {
352
- key: string;
353
- op: "eq" | "neq";
354
- value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
355
- };
356
- export type FormOption = {
357
- value: string;
358
- label: string;
359
- description?: string;
360
- };
361
- export type FormExternalField = {
362
- key: string;
363
- type: "external";
364
- url: string;
365
- title?: string;
366
- description?: string;
367
- };
368
372
  export type IntegrationCommandMethod = {
369
373
  id: string;
370
374
  type: "command";
@@ -498,10 +502,6 @@ export type ProjectTime = {
498
502
  created: number;
499
503
  updated: number;
500
504
  };
501
- export type FormMetadata = {
502
- [x: string]: JsonValue;
503
- };
504
- export type FormValue = string | number | boolean | Array<string>;
505
505
  export type PermissionSource = {
506
506
  type: "tool";
507
507
  messageID: string;
@@ -512,6 +512,10 @@ export type PermissionSavedInfo = {
512
512
  projectID: string;
513
513
  action: string;
514
514
  resource: string;
515
+ time: {
516
+ created: number;
517
+ updated: number;
518
+ };
515
519
  };
516
520
  export type FileSystemEntry = {
517
521
  path: string;
@@ -571,6 +575,7 @@ export type FormWhen1 = {
571
575
  op: "eq" | "neq";
572
576
  value: string | number | boolean;
573
577
  };
578
+ export type FormValue1 = string | number | boolean | Array<string>;
574
579
  export type SessionStatus = {
575
580
  type: "idle";
576
581
  } | {
@@ -2062,45 +2067,6 @@ export type SessionMessageAssistantReasoning1 = {
2062
2067
  };
2063
2068
  };
2064
2069
  export type ToolContent1 = ToolTextContent | ToolFileContent1;
2065
- export type ModelCompatibility = {
2066
- reasoningField?: ModelReasoningField;
2067
- requireReasoning?: boolean;
2068
- maxTokensField?: ModelMaxTokensField;
2069
- requireFinishReason?: boolean;
2070
- requireAssistantAfterTool?: boolean;
2071
- supportsPromptCacheKey?: boolean;
2072
- };
2073
- export type ProviderInfo = {
2074
- id: string;
2075
- canonical?: string;
2076
- integrationID?: string;
2077
- name: string;
2078
- activation: "auto" | "enabled" | "disabled";
2079
- package: string;
2080
- compaction?: ProviderCompaction;
2081
- transport?: ProviderTransport;
2082
- settings?: {
2083
- [x: string]: any;
2084
- };
2085
- headers?: {
2086
- [x: string]: string;
2087
- };
2088
- body?: {
2089
- [x: string]: any;
2090
- };
2091
- };
2092
- export type ModelCost = {
2093
- tier?: {
2094
- type: "context";
2095
- size: number;
2096
- };
2097
- input: MoneyUSDPerMillionTokens;
2098
- output: MoneyUSDPerMillionTokens;
2099
- cache: {
2100
- read: MoneyUSDPerMillionTokens;
2101
- write: MoneyUSDPerMillionTokens;
2102
- };
2103
- };
2104
2070
  export type FormNumberField = {
2105
2071
  key: string;
2106
2072
  title?: string;
@@ -2161,6 +2127,48 @@ export type FormMultiselectField = {
2161
2127
  custom?: boolean;
2162
2128
  default?: Array<string>;
2163
2129
  };
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
+ };
2164
2172
  export type ConnectionInfo = ConnectionCredentialInfo | ConnectionEnvInfo;
2165
2173
  export type McpServer = {
2166
2174
  name: string;
@@ -2200,9 +2208,6 @@ export type ProjectUpdated = {
2200
2208
  sandboxes: Array<string>;
2201
2209
  };
2202
2210
  };
2203
- export type FormAnswer = {
2204
- [x: string]: FormValue;
2205
- };
2206
2211
  export type PermissionRequest = {
2207
2212
  id: string;
2208
2213
  sessionID: string;
@@ -2356,6 +2361,9 @@ export type FormMultiselectField1 = {
2356
2361
  custom?: boolean;
2357
2362
  default?: Array<string>;
2358
2363
  };
2364
+ export type FormAnswer1 = {
2365
+ [x: string]: FormValue1;
2366
+ };
2359
2367
  export type SessionStatusUpdated = {
2360
2368
  id: string;
2361
2369
  created: number;
@@ -2612,6 +2620,15 @@ export type SessionMessageToolStateError1 = {
2612
2620
  [x: string]: JsonValue;
2613
2621
  };
2614
2622
  };
2623
+ export type FormField = FormStringField | FormNumberField | FormIntegerField | FormBooleanField | FormMultiselectField | FormExternalField;
2624
+ export type FormState = {
2625
+ status: "pending";
2626
+ } | {
2627
+ status: "answered";
2628
+ answer: FormAnswer;
2629
+ } | {
2630
+ status: "cancelled";
2631
+ };
2615
2632
  export type ModelInfo = {
2616
2633
  id: string;
2617
2634
  modelID: string;
@@ -2646,15 +2663,7 @@ export type ModelInfo = {
2646
2663
  output: number;
2647
2664
  };
2648
2665
  };
2649
- export type FormField = FormStringField | FormNumberField | FormIntegerField | FormBooleanField | FormMultiselectField | FormExternalField;
2650
- export type FormState = {
2651
- status: "pending";
2652
- } | {
2653
- status: "answered";
2654
- answer: FormAnswer;
2655
- } | {
2656
- status: "cancelled";
2657
- };
2666
+ export type FormField1 = FormStringField1 | FormNumberField1 | FormIntegerField1 | FormBooleanField1 | FormMultiselectField1 | FormExternalField;
2658
2667
  export type FormReplied = {
2659
2668
  id: string;
2660
2669
  created: number;
@@ -2666,10 +2675,9 @@ export type FormReplied = {
2666
2675
  data: {
2667
2676
  id: string;
2668
2677
  sessionID: string;
2669
- answer: FormAnswer;
2678
+ answer: FormAnswer1;
2670
2679
  };
2671
2680
  };
2672
- export type FormField1 = FormStringField1 | FormNumberField1 | FormIntegerField1 | FormBooleanField1 | FormMultiselectField1 | FormExternalField;
2673
2681
  export type ReferenceInfo = {
2674
2682
  name: string;
2675
2683
  path: string;
@@ -3153,6 +3161,21 @@ export type SessionMessageAssistant = {
3153
3161
  retry?: SessionMessageAssistantRetry;
3154
3162
  };
3155
3163
  export type SessionMessageAssistantContentEncoded = SessionMessageAssistantText1 | SessionMessageAssistantReasoning1 | SessionMessageAssistantTool1;
3164
+ export type FormInfo = {
3165
+ id: string;
3166
+ sessionID: string;
3167
+ title: string;
3168
+ metadata?: FormMetadata;
3169
+ fields: FormFields;
3170
+ };
3171
+ export type FormDetail = {
3172
+ id: string;
3173
+ sessionID: string;
3174
+ title: string;
3175
+ metadata?: FormMetadata;
3176
+ fields: FormFields;
3177
+ state: FormState;
3178
+ };
3156
3179
  export type IntegrationOAuthMethod = {
3157
3180
  id: string;
3158
3181
  type: "oauth";
@@ -3164,13 +3187,6 @@ export type IntegrationKeyMethod = {
3164
3187
  label?: string;
3165
3188
  form?: FormFields;
3166
3189
  };
3167
- export type FormInfo = {
3168
- id: string;
3169
- sessionID: string;
3170
- title: string;
3171
- metadata?: FormMetadata;
3172
- fields: FormFields;
3173
- };
3174
3190
  export type FormInfo1 = {
3175
3191
  id: string;
3176
3192
  sessionID: string;
@@ -3319,6 +3335,24 @@ export type InstructionEntryValueTooLargeError = {
3319
3335
  readonly message: string;
3320
3336
  };
3321
3337
  export declare const isInstructionEntryValueTooLargeError: (value: unknown) => value is InstructionEntryValueTooLargeError;
3338
+ export type FormNotFoundError = {
3339
+ readonly _tag: "FormNotFoundError";
3340
+ readonly id: string;
3341
+ readonly message: string;
3342
+ };
3343
+ export declare const isFormNotFoundError: (value: unknown) => value is FormNotFoundError;
3344
+ export type FormInvalidAnswerError = {
3345
+ readonly _tag: "FormInvalidAnswerError";
3346
+ readonly id: string;
3347
+ readonly message: string;
3348
+ };
3349
+ export declare const isFormInvalidAnswerError: (value: unknown) => value is FormInvalidAnswerError;
3350
+ export type FormAlreadySettledError = {
3351
+ readonly _tag: "FormAlreadySettledError";
3352
+ readonly id: string;
3353
+ readonly message: string;
3354
+ };
3355
+ export declare const isFormAlreadySettledError: (value: unknown) => value is FormAlreadySettledError;
3322
3356
  export type ProviderNotFoundError = {
3323
3357
  readonly _tag: "ProviderNotFoundError";
3324
3358
  readonly providerID: string;
@@ -3357,24 +3391,6 @@ export type ProjectNotFoundError = {
3357
3391
  readonly message: string;
3358
3392
  };
3359
3393
  export declare const isProjectNotFoundError: (value: unknown) => value is ProjectNotFoundError;
3360
- export type FormNotFoundError = {
3361
- readonly _tag: "FormNotFoundError";
3362
- readonly id: string;
3363
- readonly message: string;
3364
- };
3365
- export declare const isFormNotFoundError: (value: unknown) => value is FormNotFoundError;
3366
- export type FormInvalidAnswerError = {
3367
- readonly _tag: "FormInvalidAnswerError";
3368
- readonly id: string;
3369
- readonly message: string;
3370
- };
3371
- export declare const isFormInvalidAnswerError: (value: unknown) => value is FormInvalidAnswerError;
3372
- export type FormAlreadySettledError = {
3373
- readonly _tag: "FormAlreadySettledError";
3374
- readonly id: string;
3375
- readonly message: string;
3376
- };
3377
- export declare const isFormAlreadySettledError: (value: unknown) => value is FormAlreadySettledError;
3378
3394
  export type PermissionNotFoundError = {
3379
3395
  readonly _tag: "PermissionNotFoundError";
3380
3396
  readonly requestID: string;
@@ -5246,15 +5262,28 @@ export type SessionSwitchModelInput = {
5246
5262
  }["model"];
5247
5263
  };
5248
5264
  export type SessionSwitchModelOutput = void;
5249
- export type SessionRenameInput = {
5265
+ export type SessionUpdateInput = {
5250
5266
  readonly sessionID: {
5251
5267
  readonly sessionID: string;
5252
5268
  }["sessionID"];
5253
- readonly title: {
5254
- readonly title: string;
5269
+ readonly title?: {
5270
+ readonly title?: string | undefined;
5271
+ readonly permissions?: ReadonlyArray<{
5272
+ readonly action: string;
5273
+ readonly resource: string;
5274
+ readonly effect: "allow" | "deny" | "ask";
5275
+ }> | undefined;
5255
5276
  }["title"];
5277
+ readonly permissions?: {
5278
+ readonly title?: string | undefined;
5279
+ readonly permissions?: ReadonlyArray<{
5280
+ readonly action: string;
5281
+ readonly resource: string;
5282
+ readonly effect: "allow" | "deny" | "ask";
5283
+ }> | undefined;
5284
+ }["permissions"];
5256
5285
  };
5257
- export type SessionRenameOutput = void;
5286
+ export type SessionUpdateOutput = void;
5258
5287
  export type SessionMoveInput = {
5259
5288
  readonly sessionID: {
5260
5289
  readonly sessionID: string;
@@ -5945,18 +5974,7 @@ export type SessionInboxCancelInput = {
5945
5974
  }["inboxID"];
5946
5975
  };
5947
5976
  export type SessionInboxCancelOutput = void;
5948
- export type SessionInboxSteerInput = {
5949
- readonly sessionID: {
5950
- readonly sessionID: string;
5951
- readonly inboxID: string;
5952
- }["sessionID"];
5953
- readonly inboxID: {
5954
- readonly sessionID: string;
5955
- readonly inboxID: string;
5956
- }["inboxID"];
5957
- };
5958
- export type SessionInboxSteerOutput = void;
5959
- export type SessionInboxQueueInput = {
5977
+ export type SessionInboxUpdateInput = {
5960
5978
  readonly sessionID: {
5961
5979
  readonly sessionID: string;
5962
5980
  readonly inboxID: string;
@@ -5965,8 +5983,11 @@ export type SessionInboxQueueInput = {
5965
5983
  readonly sessionID: string;
5966
5984
  readonly inboxID: string;
5967
5985
  }["inboxID"];
5986
+ readonly delivery: {
5987
+ readonly delivery: "steer" | "queue";
5988
+ }["delivery"];
5968
5989
  };
5969
- export type SessionInboxQueueOutput = void;
5990
+ export type SessionInboxUpdateOutput = void;
5970
5991
  export type SessionInstructionsEntryListInput = {
5971
5992
  readonly sessionID: {
5972
5993
  readonly sessionID: string;
@@ -6051,538 +6072,15 @@ export type SessionMessageGetInput = {
6051
6072
  export type SessionMessageGetOutput = {
6052
6073
  data: SessionMessageInfo;
6053
6074
  }["data"];
6054
- export type SessionEnvironmentInput = {
6055
- readonly sessionID: {
6056
- readonly sessionID: string;
6057
- }["sessionID"];
6058
- readonly variables: {
6059
- readonly variables: {
6060
- readonly [x: string]: string;
6061
- };
6062
- }["variables"];
6063
- };
6064
- export type SessionEnvironmentOutput = void;
6065
- export type SessionViewInput = {
6075
+ export type SessionFormListInput = {
6066
6076
  readonly sessionID: {
6067
6077
  readonly sessionID: string;
6068
6078
  }["sessionID"];
6069
- readonly idle: {
6070
- readonly idle: number;
6071
- }["idle"];
6072
6079
  };
6073
- export type SessionViewOutput = void;
6074
- export type MessageListInput = {
6075
- readonly sessionID: {
6076
- readonly sessionID: string;
6077
- }["sessionID"];
6078
- readonly limit?: {
6079
- readonly limit?: number | undefined;
6080
- readonly order?: "asc" | "desc" | undefined;
6081
- readonly cursor?: string | undefined;
6082
- readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6083
- }["limit"];
6084
- readonly order?: {
6085
- readonly limit?: number | undefined;
6086
- readonly order?: "asc" | "desc" | undefined;
6087
- readonly cursor?: string | undefined;
6088
- readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6089
- }["order"];
6090
- readonly cursor?: {
6091
- readonly limit?: number | undefined;
6092
- readonly order?: "asc" | "desc" | undefined;
6093
- readonly cursor?: string | undefined;
6094
- readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6095
- }["cursor"];
6096
- readonly type?: {
6097
- readonly limit?: number | undefined;
6098
- readonly order?: "asc" | "desc" | undefined;
6099
- readonly cursor?: string | undefined;
6100
- readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6101
- }["type"];
6102
- };
6103
- export type MessageListOutput = SessionMessagesResponse;
6104
- export type ModelListInput = {
6105
- readonly location?: {
6106
- readonly location?: {
6107
- readonly directory?: string | undefined;
6108
- } | undefined;
6109
- }["location"];
6110
- };
6111
- export type ModelListOutput = {
6112
- location: LocationPublicRef;
6113
- data: Array<ModelInfo>;
6114
- };
6115
- export type ModelDefaultInput = {
6116
- readonly location?: {
6117
- readonly location?: {
6118
- readonly directory?: string | undefined;
6119
- } | undefined;
6120
- }["location"];
6121
- };
6122
- export type ModelDefaultOutput = {
6123
- location: LocationPublicRef;
6124
- data: ModelInfo | null;
6125
- };
6126
- export type GenerateTextInput = {
6127
- readonly prompt: {
6128
- readonly prompt: string;
6129
- readonly model?: {
6130
- readonly id: string;
6131
- readonly providerID: string;
6132
- readonly variant?: string;
6133
- } | null;
6134
- }["prompt"];
6135
- readonly model?: {
6136
- readonly prompt: string;
6137
- readonly model?: {
6138
- readonly id: string;
6139
- readonly providerID: string;
6140
- readonly variant?: string;
6141
- } | null;
6142
- }["model"];
6143
- };
6144
- export type GenerateTextOutput = GenerateTextResponse["data"];
6145
- export type ProviderListInput = {
6146
- readonly location?: {
6147
- readonly location?: {
6148
- readonly directory?: string | undefined;
6149
- } | undefined;
6150
- }["location"];
6151
- };
6152
- export type ProviderListOutput = {
6153
- location: LocationPublicRef;
6154
- data: Array<ProviderInfo>;
6155
- };
6156
- export type ProviderGetInput = {
6157
- readonly providerID: {
6158
- readonly providerID: string;
6159
- }["providerID"];
6160
- readonly location?: {
6161
- readonly location?: {
6162
- readonly directory?: string | undefined;
6163
- } | undefined;
6164
- }["location"];
6165
- };
6166
- export type ProviderGetOutput = {
6167
- location: LocationPublicRef;
6168
- data: ProviderInfo;
6169
- };
6170
- export type IntegrationListInput = {
6171
- readonly location?: {
6172
- readonly location?: {
6173
- readonly directory?: string | undefined;
6174
- } | undefined;
6175
- }["location"];
6176
- };
6177
- export type IntegrationListOutput = {
6178
- location: LocationPublicRef;
6179
- data: Array<IntegrationInfo>;
6180
- };
6181
- export type IntegrationGetInput = {
6182
- readonly integrationID: {
6183
- readonly integrationID: string;
6184
- }["integrationID"];
6185
- readonly location?: {
6186
- readonly location?: {
6187
- readonly directory?: string | undefined;
6188
- } | undefined;
6189
- }["location"];
6190
- };
6191
- export type IntegrationGetOutput = {
6192
- location: LocationPublicRef;
6193
- data: IntegrationInfo;
6194
- };
6195
- export type IntegrationWellknownAddInput = {
6196
- readonly location?: {
6197
- readonly location?: {
6198
- readonly directory?: string | undefined;
6199
- } | undefined;
6200
- }["location"];
6201
- readonly url: {
6202
- readonly url: string;
6203
- }["url"];
6204
- };
6205
- export type IntegrationWellknownAddOutput = void;
6206
- export type IntegrationConnectKeyInput = {
6207
- readonly integrationID: {
6208
- readonly integrationID: string;
6209
- }["integrationID"];
6210
- readonly location?: {
6211
- readonly location?: {
6212
- readonly directory?: string | undefined;
6213
- } | undefined;
6214
- }["location"];
6215
- readonly key: {
6216
- readonly key: string;
6217
- readonly answer?: {
6218
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6219
- } | undefined;
6220
- readonly label?: string | undefined;
6221
- }["key"];
6222
- readonly answer?: {
6223
- readonly key: string;
6224
- readonly answer?: {
6225
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6226
- } | undefined;
6227
- readonly label?: string | undefined;
6228
- }["answer"];
6229
- readonly label?: {
6230
- readonly key: string;
6231
- readonly answer?: {
6232
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6233
- } | undefined;
6234
- readonly label?: string | undefined;
6235
- }["label"];
6236
- };
6237
- export type IntegrationConnectKeyOutput = void;
6238
- export type IntegrationOauthConnectInput = {
6239
- readonly integrationID: {
6240
- readonly integrationID: string;
6241
- }["integrationID"];
6242
- readonly location?: {
6243
- readonly location?: {
6244
- readonly directory?: string | undefined;
6245
- } | undefined;
6246
- }["location"];
6247
- readonly methodID: {
6248
- readonly methodID: string;
6249
- readonly answer?: {
6250
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6251
- } | undefined;
6252
- readonly label?: string | undefined;
6253
- }["methodID"];
6254
- readonly answer?: {
6255
- readonly methodID: string;
6256
- readonly answer?: {
6257
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6258
- } | undefined;
6259
- readonly label?: string | undefined;
6260
- }["answer"];
6261
- readonly label?: {
6262
- readonly methodID: string;
6263
- readonly answer?: {
6264
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6265
- } | undefined;
6266
- readonly label?: string | undefined;
6267
- }["label"];
6268
- };
6269
- export type IntegrationOauthConnectOutput = {
6270
- location: LocationPublicRef;
6271
- data: IntegrationAttempt;
6272
- };
6273
- export type IntegrationOauthStatusInput = {
6274
- readonly integrationID: {
6275
- readonly integrationID: string;
6276
- readonly attemptID: string;
6277
- }["integrationID"];
6278
- readonly attemptID: {
6279
- readonly integrationID: string;
6280
- readonly attemptID: string;
6281
- }["attemptID"];
6282
- readonly location?: {
6283
- readonly location?: {
6284
- readonly directory?: string | undefined;
6285
- } | undefined;
6286
- }["location"];
6287
- };
6288
- export type IntegrationOauthStatusOutput = {
6289
- location: LocationPublicRef;
6290
- data: IntegrationAttemptStatus;
6291
- };
6292
- export type IntegrationOauthCompleteInput = {
6293
- readonly integrationID: {
6294
- readonly integrationID: string;
6295
- readonly attemptID: string;
6296
- }["integrationID"];
6297
- readonly attemptID: {
6298
- readonly integrationID: string;
6299
- readonly attemptID: string;
6300
- }["attemptID"];
6301
- readonly location?: {
6302
- readonly location?: {
6303
- readonly directory?: string | undefined;
6304
- } | undefined;
6305
- }["location"];
6306
- readonly code?: {
6307
- readonly code?: string | undefined;
6308
- }["code"];
6309
- };
6310
- export type IntegrationOauthCompleteOutput = void;
6311
- export type IntegrationOauthCancelInput = {
6312
- readonly integrationID: {
6313
- readonly integrationID: string;
6314
- readonly attemptID: string;
6315
- }["integrationID"];
6316
- readonly attemptID: {
6317
- readonly integrationID: string;
6318
- readonly attemptID: string;
6319
- }["attemptID"];
6320
- readonly location?: {
6321
- readonly location?: {
6322
- readonly directory?: string | undefined;
6323
- } | undefined;
6324
- }["location"];
6325
- };
6326
- export type IntegrationOauthCancelOutput = void;
6327
- export type IntegrationCommandConnectInput = {
6328
- readonly integrationID: {
6329
- readonly integrationID: string;
6330
- }["integrationID"];
6331
- readonly location?: {
6332
- readonly location?: {
6333
- readonly directory?: string | undefined;
6334
- } | undefined;
6335
- }["location"];
6336
- readonly methodID: {
6337
- readonly methodID: string;
6338
- readonly label?: string | undefined;
6339
- }["methodID"];
6340
- readonly label?: {
6341
- readonly methodID: string;
6342
- readonly label?: string | undefined;
6343
- }["label"];
6344
- };
6345
- export type IntegrationCommandConnectOutput = {
6346
- location: LocationPublicRef;
6347
- data: IntegrationCommandAttempt;
6348
- };
6349
- export type IntegrationCommandStatusInput = {
6350
- readonly integrationID: {
6351
- readonly integrationID: string;
6352
- readonly attemptID: string;
6353
- }["integrationID"];
6354
- readonly attemptID: {
6355
- readonly integrationID: string;
6356
- readonly attemptID: string;
6357
- }["attemptID"];
6358
- readonly location?: {
6359
- readonly location?: {
6360
- readonly directory?: string | undefined;
6361
- } | undefined;
6362
- }["location"];
6363
- };
6364
- export type IntegrationCommandStatusOutput = {
6365
- location: LocationPublicRef;
6366
- data: IntegrationCommandAttemptStatus;
6367
- };
6368
- export type IntegrationCommandCancelInput = {
6369
- readonly integrationID: {
6370
- readonly integrationID: string;
6371
- readonly attemptID: string;
6372
- }["integrationID"];
6373
- readonly attemptID: {
6374
- readonly integrationID: string;
6375
- readonly attemptID: string;
6376
- }["attemptID"];
6377
- readonly location?: {
6378
- readonly location?: {
6379
- readonly directory?: string | undefined;
6380
- } | undefined;
6381
- }["location"];
6382
- };
6383
- export type IntegrationCommandCancelOutput = void;
6384
- export type McpListInput = {
6385
- readonly location?: {
6386
- readonly location?: {
6387
- readonly directory?: string | undefined;
6388
- } | undefined;
6389
- }["location"];
6390
- };
6391
- export type McpListOutput = {
6392
- location: LocationPublicRef;
6393
- data: Array<McpServer>;
6394
- };
6395
- export type McpAddInput = {
6396
- readonly server: {
6397
- readonly server: string;
6398
- }["server"];
6399
- readonly location?: {
6400
- readonly location?: {
6401
- readonly directory?: string | undefined;
6402
- } | undefined;
6403
- }["location"];
6404
- readonly config: {
6405
- readonly config: {
6406
- readonly type: "local";
6407
- readonly command: ReadonlyArray<string>;
6408
- readonly cwd?: string;
6409
- readonly environment?: {
6410
- readonly [x: string]: string;
6411
- };
6412
- readonly disabled?: boolean;
6413
- readonly codemode?: boolean;
6414
- readonly timeout?: {
6415
- readonly startup?: number;
6416
- readonly catalog?: number;
6417
- readonly execution?: number;
6418
- };
6419
- readonly protocol?: "legacy" | "auto" | "2026-07-28";
6420
- } | {
6421
- readonly type: "remote";
6422
- readonly url: string;
6423
- readonly headers?: {
6424
- readonly [x: string]: string;
6425
- };
6426
- readonly oauth?: {
6427
- readonly client_id?: string;
6428
- readonly client_secret?: string;
6429
- readonly scope?: string;
6430
- readonly callback_port?: number;
6431
- readonly redirect_uri?: string;
6432
- readonly auth_server_metadata_url?: string;
6433
- } | false;
6434
- readonly disabled?: boolean;
6435
- readonly codemode?: boolean;
6436
- readonly timeout?: {
6437
- readonly startup?: number;
6438
- readonly catalog?: number;
6439
- readonly execution?: number;
6440
- };
6441
- readonly protocol?: "legacy" | "auto" | "2026-07-28";
6442
- };
6443
- }["config"];
6444
- };
6445
- export type McpAddOutput = void;
6446
- export type McpRemoveInput = {
6447
- readonly server: {
6448
- readonly server: string;
6449
- }["server"];
6450
- readonly location?: {
6451
- readonly location?: {
6452
- readonly directory?: string | undefined;
6453
- } | undefined;
6454
- }["location"];
6455
- };
6456
- export type McpRemoveOutput = void;
6457
- export type McpConnectInput = {
6458
- readonly server: {
6459
- readonly server: string;
6460
- }["server"];
6461
- readonly location?: {
6462
- readonly location?: {
6463
- readonly directory?: string | undefined;
6464
- } | undefined;
6465
- }["location"];
6466
- };
6467
- export type McpConnectOutput = void;
6468
- export type McpDisconnectInput = {
6469
- readonly server: {
6470
- readonly server: string;
6471
- }["server"];
6472
- readonly location?: {
6473
- readonly location?: {
6474
- readonly directory?: string | undefined;
6475
- } | undefined;
6476
- }["location"];
6477
- };
6478
- export type McpDisconnectOutput = void;
6479
- export type McpResourceCatalogInput = {
6480
- readonly location?: {
6481
- readonly location?: {
6482
- readonly directory?: string | undefined;
6483
- } | undefined;
6484
- }["location"];
6485
- };
6486
- export type McpResourceCatalogOutput = {
6487
- location: LocationPublicRef;
6488
- data: McpResourceCatalog;
6489
- };
6490
- export type CredentialUpdateInput = {
6491
- readonly credentialID: {
6492
- readonly credentialID: string;
6493
- }["credentialID"];
6494
- readonly label: {
6495
- readonly label: string;
6496
- }["label"];
6497
- };
6498
- export type CredentialUpdateOutput = void;
6499
- export type CredentialActivateInput = {
6500
- readonly credentialID: {
6501
- readonly credentialID: string;
6502
- }["credentialID"];
6503
- };
6504
- export type CredentialActivateOutput = void;
6505
- export type CredentialRemoveInput = {
6506
- readonly credentialID: {
6507
- readonly credentialID: string;
6508
- }["credentialID"];
6509
- };
6510
- export type CredentialRemoveOutput = void;
6511
- export type ProjectListOutput = Array<Project>;
6512
- export type ProjectUpdateInput = {
6513
- readonly projectID: {
6514
- readonly projectID: string;
6515
- }["projectID"];
6516
- readonly canonical?: {
6517
- readonly canonical?: string;
6518
- readonly name?: string;
6519
- readonly icon?: {
6520
- readonly url?: string;
6521
- readonly override?: string;
6522
- readonly color?: string;
6523
- };
6524
- readonly commands?: {
6525
- readonly start?: string;
6526
- };
6527
- }["canonical"];
6528
- readonly name?: {
6529
- readonly canonical?: string;
6530
- readonly name?: string;
6531
- readonly icon?: {
6532
- readonly url?: string;
6533
- readonly override?: string;
6534
- readonly color?: string;
6535
- };
6536
- readonly commands?: {
6537
- readonly start?: string;
6538
- };
6539
- }["name"];
6540
- readonly icon?: {
6541
- readonly canonical?: string;
6542
- readonly name?: string;
6543
- readonly icon?: {
6544
- readonly url?: string;
6545
- readonly override?: string;
6546
- readonly color?: string;
6547
- };
6548
- readonly commands?: {
6549
- readonly start?: string;
6550
- };
6551
- }["icon"];
6552
- readonly commands?: {
6553
- readonly canonical?: string;
6554
- readonly name?: string;
6555
- readonly icon?: {
6556
- readonly url?: string;
6557
- readonly override?: string;
6558
- readonly color?: string;
6559
- };
6560
- readonly commands?: {
6561
- readonly start?: string;
6562
- };
6563
- }["commands"];
6564
- };
6565
- export type ProjectUpdateOutput = Project;
6566
- export type FormRequestListInput = {
6567
- readonly location?: {
6568
- readonly location?: {
6569
- readonly directory?: string | undefined;
6570
- } | undefined;
6571
- }["location"];
6572
- };
6573
- export type FormRequestListOutput = {
6574
- location: LocationPublicRef;
6575
- data: Array<FormInfo>;
6576
- };
6577
- export type FormListInput = {
6578
- readonly sessionID: {
6579
- readonly sessionID: string;
6580
- }["sessionID"];
6581
- };
6582
- export type FormListOutput = {
6583
- data: Array<FormInfo>;
6584
- }["data"];
6585
- export type FormCreateInput = {
6080
+ export type SessionFormListOutput = {
6081
+ data: Array<FormInfo>;
6082
+ }["data"];
6083
+ export type SessionFormCreateInput = {
6586
6084
  readonly sessionID: {
6587
6085
  readonly sessionID: string;
6588
6086
  }["sessionID"];
@@ -7343,62 +6841,572 @@ export type FormCreateInput = {
7343
6841
  ];
7344
6842
  }["fields"];
7345
6843
  };
7346
- export type FormCreateOutput = {
7347
- data: FormInfo;
7348
- }["data"];
7349
- export type FormGetInput = {
7350
- readonly sessionID: {
7351
- readonly sessionID: string;
7352
- readonly formID: string;
7353
- }["sessionID"];
7354
- readonly formID: {
7355
- readonly sessionID: string;
7356
- readonly formID: string;
7357
- }["formID"];
6844
+ export type SessionFormCreateOutput = {
6845
+ data: FormInfo;
6846
+ }["data"];
6847
+ export type SessionFormGetInput = {
6848
+ readonly sessionID: {
6849
+ readonly sessionID: string;
6850
+ readonly formID: string;
6851
+ }["sessionID"];
6852
+ readonly formID: {
6853
+ readonly sessionID: string;
6854
+ readonly formID: string;
6855
+ }["formID"];
6856
+ };
6857
+ export type SessionFormGetOutput = {
6858
+ data: FormDetail;
6859
+ }["data"];
6860
+ export type SessionFormReplyInput = {
6861
+ readonly sessionID: {
6862
+ readonly sessionID: string;
6863
+ readonly formID: string;
6864
+ }["sessionID"];
6865
+ readonly formID: {
6866
+ readonly sessionID: string;
6867
+ readonly formID: string;
6868
+ }["formID"];
6869
+ readonly answer: {
6870
+ readonly answer: {
6871
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6872
+ };
6873
+ }["answer"];
6874
+ };
6875
+ export type SessionFormReplyOutput = void;
6876
+ export type SessionFormCancelInput = {
6877
+ readonly sessionID: {
6878
+ readonly sessionID: string;
6879
+ readonly formID: string;
6880
+ }["sessionID"];
6881
+ readonly formID: {
6882
+ readonly sessionID: string;
6883
+ readonly formID: string;
6884
+ }["formID"];
6885
+ };
6886
+ export type SessionFormCancelOutput = void;
6887
+ export type SessionEnvironmentInput = {
6888
+ readonly sessionID: {
6889
+ readonly sessionID: string;
6890
+ }["sessionID"];
6891
+ readonly variables: {
6892
+ readonly variables: {
6893
+ readonly [x: string]: string;
6894
+ };
6895
+ }["variables"];
6896
+ };
6897
+ export type SessionEnvironmentOutput = void;
6898
+ export type SessionViewInput = {
6899
+ readonly sessionID: {
6900
+ readonly sessionID: string;
6901
+ }["sessionID"];
6902
+ readonly idle: {
6903
+ readonly idle: number;
6904
+ }["idle"];
6905
+ };
6906
+ export type SessionViewOutput = void;
6907
+ export type MessageListInput = {
6908
+ readonly sessionID: {
6909
+ readonly sessionID: string;
6910
+ }["sessionID"];
6911
+ readonly limit?: {
6912
+ readonly limit?: number | undefined;
6913
+ readonly order?: "asc" | "desc" | undefined;
6914
+ readonly cursor?: string | undefined;
6915
+ readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6916
+ }["limit"];
6917
+ readonly order?: {
6918
+ readonly limit?: number | undefined;
6919
+ readonly order?: "asc" | "desc" | undefined;
6920
+ readonly cursor?: string | undefined;
6921
+ readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6922
+ }["order"];
6923
+ readonly cursor?: {
6924
+ readonly limit?: number | undefined;
6925
+ readonly order?: "asc" | "desc" | undefined;
6926
+ readonly cursor?: string | undefined;
6927
+ readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6928
+ }["cursor"];
6929
+ readonly type?: {
6930
+ readonly limit?: number | undefined;
6931
+ readonly order?: "asc" | "desc" | undefined;
6932
+ readonly cursor?: string | undefined;
6933
+ readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6934
+ }["type"];
6935
+ };
6936
+ export type MessageListOutput = SessionMessagesResponse;
6937
+ export type ModelListInput = {
6938
+ readonly location?: {
6939
+ readonly location?: {
6940
+ readonly directory?: string | undefined;
6941
+ } | undefined;
6942
+ }["location"];
6943
+ };
6944
+ export type ModelListOutput = {
6945
+ location: LocationPublicRef;
6946
+ data: Array<ModelInfo>;
6947
+ };
6948
+ export type ModelDefaultInput = {
6949
+ readonly location?: {
6950
+ readonly location?: {
6951
+ readonly directory?: string | undefined;
6952
+ } | undefined;
6953
+ }["location"];
6954
+ };
6955
+ export type ModelDefaultOutput = {
6956
+ location: LocationPublicRef;
6957
+ data: ModelInfo | null;
6958
+ };
6959
+ export type GenerateTextInput = {
6960
+ readonly prompt: {
6961
+ readonly prompt: string;
6962
+ readonly model?: {
6963
+ readonly id: string;
6964
+ readonly providerID: string;
6965
+ readonly variant?: string;
6966
+ } | null;
6967
+ }["prompt"];
6968
+ readonly model?: {
6969
+ readonly prompt: string;
6970
+ readonly model?: {
6971
+ readonly id: string;
6972
+ readonly providerID: string;
6973
+ readonly variant?: string;
6974
+ } | null;
6975
+ }["model"];
6976
+ };
6977
+ export type GenerateTextOutput = GenerateTextResponse["data"];
6978
+ export type ProviderListInput = {
6979
+ readonly location?: {
6980
+ readonly location?: {
6981
+ readonly directory?: string | undefined;
6982
+ } | undefined;
6983
+ }["location"];
6984
+ };
6985
+ export type ProviderListOutput = {
6986
+ location: LocationPublicRef;
6987
+ data: Array<ProviderInfo>;
6988
+ };
6989
+ export type ProviderGetInput = {
6990
+ readonly providerID: {
6991
+ readonly providerID: string;
6992
+ }["providerID"];
6993
+ readonly location?: {
6994
+ readonly location?: {
6995
+ readonly directory?: string | undefined;
6996
+ } | undefined;
6997
+ }["location"];
6998
+ };
6999
+ export type ProviderGetOutput = {
7000
+ location: LocationPublicRef;
7001
+ data: ProviderInfo;
7002
+ };
7003
+ export type IntegrationListInput = {
7004
+ readonly location?: {
7005
+ readonly location?: {
7006
+ readonly directory?: string | undefined;
7007
+ } | undefined;
7008
+ }["location"];
7009
+ };
7010
+ export type IntegrationListOutput = {
7011
+ location: LocationPublicRef;
7012
+ data: Array<IntegrationInfo>;
7013
+ };
7014
+ export type IntegrationGetInput = {
7015
+ readonly integrationID: {
7016
+ readonly integrationID: string;
7017
+ }["integrationID"];
7018
+ readonly location?: {
7019
+ readonly location?: {
7020
+ readonly directory?: string | undefined;
7021
+ } | undefined;
7022
+ }["location"];
7023
+ };
7024
+ export type IntegrationGetOutput = {
7025
+ location: LocationPublicRef;
7026
+ data: IntegrationInfo;
7027
+ };
7028
+ export type IntegrationWellknownAddInput = {
7029
+ readonly location?: {
7030
+ readonly location?: {
7031
+ readonly directory?: string | undefined;
7032
+ } | undefined;
7033
+ }["location"];
7034
+ readonly url: {
7035
+ readonly url: string;
7036
+ }["url"];
7037
+ };
7038
+ export type IntegrationWellknownAddOutput = void;
7039
+ export type IntegrationConnectKeyInput = {
7040
+ readonly integrationID: {
7041
+ readonly integrationID: string;
7042
+ }["integrationID"];
7043
+ readonly location?: {
7044
+ readonly location?: {
7045
+ readonly directory?: string | undefined;
7046
+ } | undefined;
7047
+ }["location"];
7048
+ readonly key: {
7049
+ readonly key: string;
7050
+ readonly answer?: {
7051
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
7052
+ } | undefined;
7053
+ readonly label?: string | undefined;
7054
+ }["key"];
7055
+ readonly answer?: {
7056
+ readonly key: string;
7057
+ readonly answer?: {
7058
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
7059
+ } | undefined;
7060
+ readonly label?: string | undefined;
7061
+ }["answer"];
7062
+ readonly label?: {
7063
+ readonly key: string;
7064
+ readonly answer?: {
7065
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
7066
+ } | undefined;
7067
+ readonly label?: string | undefined;
7068
+ }["label"];
7069
+ };
7070
+ export type IntegrationConnectKeyOutput = void;
7071
+ export type IntegrationOauthConnectInput = {
7072
+ readonly integrationID: {
7073
+ readonly integrationID: string;
7074
+ }["integrationID"];
7075
+ readonly location?: {
7076
+ readonly location?: {
7077
+ readonly directory?: string | undefined;
7078
+ } | undefined;
7079
+ }["location"];
7080
+ readonly methodID: {
7081
+ readonly methodID: string;
7082
+ readonly answer?: {
7083
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
7084
+ } | undefined;
7085
+ readonly label?: string | undefined;
7086
+ }["methodID"];
7087
+ readonly answer?: {
7088
+ readonly methodID: string;
7089
+ readonly answer?: {
7090
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
7091
+ } | undefined;
7092
+ readonly label?: string | undefined;
7093
+ }["answer"];
7094
+ readonly label?: {
7095
+ readonly methodID: string;
7096
+ readonly answer?: {
7097
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
7098
+ } | undefined;
7099
+ readonly label?: string | undefined;
7100
+ }["label"];
7101
+ };
7102
+ export type IntegrationOauthConnectOutput = {
7103
+ location: LocationPublicRef;
7104
+ data: IntegrationAttempt;
7105
+ };
7106
+ export type IntegrationOauthStatusInput = {
7107
+ readonly integrationID: {
7108
+ readonly integrationID: string;
7109
+ readonly attemptID: string;
7110
+ }["integrationID"];
7111
+ readonly attemptID: {
7112
+ readonly integrationID: string;
7113
+ readonly attemptID: string;
7114
+ }["attemptID"];
7115
+ readonly location?: {
7116
+ readonly location?: {
7117
+ readonly directory?: string | undefined;
7118
+ } | undefined;
7119
+ }["location"];
7120
+ };
7121
+ export type IntegrationOauthStatusOutput = {
7122
+ location: LocationPublicRef;
7123
+ data: IntegrationAttemptStatus;
7124
+ };
7125
+ export type IntegrationOauthCompleteInput = {
7126
+ readonly integrationID: {
7127
+ readonly integrationID: string;
7128
+ readonly attemptID: string;
7129
+ }["integrationID"];
7130
+ readonly attemptID: {
7131
+ readonly integrationID: string;
7132
+ readonly attemptID: string;
7133
+ }["attemptID"];
7134
+ readonly location?: {
7135
+ readonly location?: {
7136
+ readonly directory?: string | undefined;
7137
+ } | undefined;
7138
+ }["location"];
7139
+ readonly code?: {
7140
+ readonly code?: string | undefined;
7141
+ }["code"];
7142
+ };
7143
+ export type IntegrationOauthCompleteOutput = void;
7144
+ export type IntegrationOauthCancelInput = {
7145
+ readonly integrationID: {
7146
+ readonly integrationID: string;
7147
+ readonly attemptID: string;
7148
+ }["integrationID"];
7149
+ readonly attemptID: {
7150
+ readonly integrationID: string;
7151
+ readonly attemptID: string;
7152
+ }["attemptID"];
7153
+ readonly location?: {
7154
+ readonly location?: {
7155
+ readonly directory?: string | undefined;
7156
+ } | undefined;
7157
+ }["location"];
7158
+ };
7159
+ export type IntegrationOauthCancelOutput = void;
7160
+ export type IntegrationCommandConnectInput = {
7161
+ readonly integrationID: {
7162
+ readonly integrationID: string;
7163
+ }["integrationID"];
7164
+ readonly location?: {
7165
+ readonly location?: {
7166
+ readonly directory?: string | undefined;
7167
+ } | undefined;
7168
+ }["location"];
7169
+ readonly methodID: {
7170
+ readonly methodID: string;
7171
+ readonly label?: string | undefined;
7172
+ }["methodID"];
7173
+ readonly label?: {
7174
+ readonly methodID: string;
7175
+ readonly label?: string | undefined;
7176
+ }["label"];
7177
+ };
7178
+ export type IntegrationCommandConnectOutput = {
7179
+ location: LocationPublicRef;
7180
+ data: IntegrationCommandAttempt;
7181
+ };
7182
+ export type IntegrationCommandStatusInput = {
7183
+ readonly integrationID: {
7184
+ readonly integrationID: string;
7185
+ readonly attemptID: string;
7186
+ }["integrationID"];
7187
+ readonly attemptID: {
7188
+ readonly integrationID: string;
7189
+ readonly attemptID: string;
7190
+ }["attemptID"];
7191
+ readonly location?: {
7192
+ readonly location?: {
7193
+ readonly directory?: string | undefined;
7194
+ } | undefined;
7195
+ }["location"];
7196
+ };
7197
+ export type IntegrationCommandStatusOutput = {
7198
+ location: LocationPublicRef;
7199
+ data: IntegrationCommandAttemptStatus;
7200
+ };
7201
+ export type IntegrationCommandCancelInput = {
7202
+ readonly integrationID: {
7203
+ readonly integrationID: string;
7204
+ readonly attemptID: string;
7205
+ }["integrationID"];
7206
+ readonly attemptID: {
7207
+ readonly integrationID: string;
7208
+ readonly attemptID: string;
7209
+ }["attemptID"];
7210
+ readonly location?: {
7211
+ readonly location?: {
7212
+ readonly directory?: string | undefined;
7213
+ } | undefined;
7214
+ }["location"];
7358
7215
  };
7359
- export type FormGetOutput = {
7360
- data: FormInfo;
7361
- }["data"];
7362
- export type FormStateInput = {
7363
- readonly sessionID: {
7364
- readonly sessionID: string;
7365
- readonly formID: string;
7366
- }["sessionID"];
7367
- readonly formID: {
7368
- readonly sessionID: string;
7369
- readonly formID: string;
7370
- }["formID"];
7216
+ export type IntegrationCommandCancelOutput = void;
7217
+ export type McpListInput = {
7218
+ readonly location?: {
7219
+ readonly location?: {
7220
+ readonly directory?: string | undefined;
7221
+ } | undefined;
7222
+ }["location"];
7371
7223
  };
7372
- export type FormStateOutput = {
7373
- data: FormState;
7374
- }["data"];
7375
- export type FormReplyInput = {
7376
- readonly sessionID: {
7377
- readonly sessionID: string;
7378
- readonly formID: string;
7379
- }["sessionID"];
7380
- readonly formID: {
7381
- readonly sessionID: string;
7382
- readonly formID: string;
7383
- }["formID"];
7384
- readonly answer: {
7385
- readonly answer: {
7386
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
7224
+ export type McpListOutput = {
7225
+ location: LocationPublicRef;
7226
+ data: Array<McpServer>;
7227
+ };
7228
+ export type McpAddInput = {
7229
+ readonly server: {
7230
+ readonly server: string;
7231
+ }["server"];
7232
+ readonly location?: {
7233
+ readonly location?: {
7234
+ readonly directory?: string | undefined;
7235
+ } | undefined;
7236
+ }["location"];
7237
+ readonly config: {
7238
+ readonly config: {
7239
+ readonly type: "local";
7240
+ readonly command: ReadonlyArray<string>;
7241
+ readonly cwd?: string;
7242
+ readonly environment?: {
7243
+ readonly [x: string]: string;
7244
+ };
7245
+ readonly disabled?: boolean;
7246
+ readonly codemode?: boolean;
7247
+ readonly timeout?: {
7248
+ readonly startup?: number;
7249
+ readonly catalog?: number;
7250
+ readonly execution?: number;
7251
+ };
7252
+ readonly protocol?: "legacy" | "auto" | "2026-07-28";
7253
+ } | {
7254
+ readonly type: "remote";
7255
+ readonly url: string;
7256
+ readonly headers?: {
7257
+ readonly [x: string]: string;
7258
+ };
7259
+ readonly oauth?: {
7260
+ readonly client_id?: string;
7261
+ readonly client_secret?: string;
7262
+ readonly scope?: string;
7263
+ readonly callback_port?: number;
7264
+ readonly redirect_uri?: string;
7265
+ readonly auth_server_metadata_url?: string;
7266
+ } | false;
7267
+ readonly disabled?: boolean;
7268
+ readonly codemode?: boolean;
7269
+ readonly timeout?: {
7270
+ readonly startup?: number;
7271
+ readonly catalog?: number;
7272
+ readonly execution?: number;
7273
+ };
7274
+ readonly protocol?: "legacy" | "auto" | "2026-07-28";
7387
7275
  };
7388
- }["answer"];
7276
+ }["config"];
7389
7277
  };
7390
- export type FormReplyOutput = void;
7391
- export type FormCancelInput = {
7392
- readonly sessionID: {
7393
- readonly sessionID: string;
7394
- readonly formID: string;
7395
- }["sessionID"];
7396
- readonly formID: {
7397
- readonly sessionID: string;
7398
- readonly formID: string;
7399
- }["formID"];
7278
+ export type McpAddOutput = void;
7279
+ export type McpRemoveInput = {
7280
+ readonly server: {
7281
+ readonly server: string;
7282
+ }["server"];
7283
+ readonly location?: {
7284
+ readonly location?: {
7285
+ readonly directory?: string | undefined;
7286
+ } | undefined;
7287
+ }["location"];
7288
+ };
7289
+ export type McpRemoveOutput = void;
7290
+ export type McpConnectInput = {
7291
+ readonly server: {
7292
+ readonly server: string;
7293
+ }["server"];
7294
+ readonly location?: {
7295
+ readonly location?: {
7296
+ readonly directory?: string | undefined;
7297
+ } | undefined;
7298
+ }["location"];
7299
+ };
7300
+ export type McpConnectOutput = void;
7301
+ export type McpDisconnectInput = {
7302
+ readonly server: {
7303
+ readonly server: string;
7304
+ }["server"];
7305
+ readonly location?: {
7306
+ readonly location?: {
7307
+ readonly directory?: string | undefined;
7308
+ } | undefined;
7309
+ }["location"];
7310
+ };
7311
+ export type McpDisconnectOutput = void;
7312
+ export type McpResourceCatalogInput = {
7313
+ readonly location?: {
7314
+ readonly location?: {
7315
+ readonly directory?: string | undefined;
7316
+ } | undefined;
7317
+ }["location"];
7318
+ };
7319
+ export type McpResourceCatalogOutput = {
7320
+ location: LocationPublicRef;
7321
+ data: McpResourceCatalog;
7322
+ };
7323
+ export type CredentialUpdateInput = {
7324
+ readonly credentialID: {
7325
+ readonly credentialID: string;
7326
+ }["credentialID"];
7327
+ readonly label: {
7328
+ readonly label: string;
7329
+ }["label"];
7330
+ };
7331
+ export type CredentialUpdateOutput = void;
7332
+ export type CredentialActivateInput = {
7333
+ readonly credentialID: {
7334
+ readonly credentialID: string;
7335
+ }["credentialID"];
7336
+ };
7337
+ export type CredentialActivateOutput = void;
7338
+ export type CredentialRemoveInput = {
7339
+ readonly credentialID: {
7340
+ readonly credentialID: string;
7341
+ }["credentialID"];
7342
+ };
7343
+ export type CredentialRemoveOutput = void;
7344
+ export type ProjectListOutput = Array<Project>;
7345
+ export type ProjectUpdateInput = {
7346
+ readonly projectID: {
7347
+ readonly projectID: string;
7348
+ }["projectID"];
7349
+ readonly canonical?: {
7350
+ readonly canonical?: string;
7351
+ readonly name?: string;
7352
+ readonly icon?: {
7353
+ readonly url?: string;
7354
+ readonly override?: string;
7355
+ readonly color?: string;
7356
+ };
7357
+ readonly commands?: {
7358
+ readonly start?: string;
7359
+ };
7360
+ }["canonical"];
7361
+ readonly name?: {
7362
+ readonly canonical?: string;
7363
+ readonly name?: string;
7364
+ readonly icon?: {
7365
+ readonly url?: string;
7366
+ readonly override?: string;
7367
+ readonly color?: string;
7368
+ };
7369
+ readonly commands?: {
7370
+ readonly start?: string;
7371
+ };
7372
+ }["name"];
7373
+ readonly icon?: {
7374
+ readonly canonical?: string;
7375
+ readonly name?: string;
7376
+ readonly icon?: {
7377
+ readonly url?: string;
7378
+ readonly override?: string;
7379
+ readonly color?: string;
7380
+ };
7381
+ readonly commands?: {
7382
+ readonly start?: string;
7383
+ };
7384
+ }["icon"];
7385
+ readonly commands?: {
7386
+ readonly canonical?: string;
7387
+ readonly name?: string;
7388
+ readonly icon?: {
7389
+ readonly url?: string;
7390
+ readonly override?: string;
7391
+ readonly color?: string;
7392
+ };
7393
+ readonly commands?: {
7394
+ readonly start?: string;
7395
+ };
7396
+ }["commands"];
7397
+ };
7398
+ export type ProjectUpdateOutput = Project;
7399
+ export type FormListInput = {
7400
+ readonly location?: {
7401
+ readonly location?: {
7402
+ readonly directory?: string | undefined;
7403
+ } | undefined;
7404
+ }["location"];
7405
+ };
7406
+ export type FormListOutput = {
7407
+ location: LocationPublicRef;
7408
+ data: Array<FormInfo>;
7400
7409
  };
7401
- export type FormCancelOutput = void;
7402
7410
  export type PermissionRequestListInput = {
7403
7411
  readonly location?: {
7404
7412
  readonly location?: {
@@ -7570,29 +7578,16 @@ export type PermissionReplyInput = {
7570
7578
  readonly sessionID: string;
7571
7579
  readonly requestID: string;
7572
7580
  }["requestID"];
7573
- readonly reply: {
7574
- readonly reply: "once" | "always" | "reject";
7581
+ readonly decision: {
7582
+ readonly decision: "once" | "always" | "reject";
7575
7583
  readonly message?: string | undefined;
7576
- }["reply"];
7584
+ }["decision"];
7577
7585
  readonly message?: {
7578
- readonly reply: "once" | "always" | "reject";
7586
+ readonly decision: "once" | "always" | "reject";
7579
7587
  readonly message?: string | undefined;
7580
7588
  }["message"];
7581
7589
  };
7582
7590
  export type PermissionReplyOutput = void;
7583
- export type PermissionRulesInput = {
7584
- readonly sessionID: {
7585
- readonly sessionID: string;
7586
- }["sessionID"];
7587
- readonly permissions: {
7588
- readonly permissions: ReadonlyArray<{
7589
- readonly action: string;
7590
- readonly resource: string;
7591
- readonly effect: "allow" | "deny" | "ask";
7592
- }>;
7593
- }["permissions"];
7594
- };
7595
- export type PermissionRulesOutput = void;
7596
7591
  export type FileReadInput = {
7597
7592
  readonly location?: {
7598
7593
  readonly location?: {