shuvcode 2.0.3-shuv.4 → 2.0.8-shuv.2

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,13 @@
1
1
  export type JsonValue = null | boolean | number | string | Array<JsonValue> | {
2
2
  [key: string]: JsonValue;
3
3
  };
4
- export type ServerStatus = {
4
+ export type ServerInfo = {
5
5
  version: string;
6
6
  pid: number;
7
7
  urls: Array<string>;
8
+ paths: {
9
+ tmp: string;
10
+ };
8
11
  };
9
12
  export type LocationPublicInfo = {
10
13
  directory: string;
@@ -316,6 +319,27 @@ export type EventLogSynced = {
316
319
  export type SessionInterruptResponse = {
317
320
  interrupted: boolean;
318
321
  };
322
+ export type FormMetadata = {
323
+ [x: string]: JsonValue;
324
+ };
325
+ export type FormWhen = {
326
+ key: string;
327
+ op: "eq" | "neq";
328
+ value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
329
+ };
330
+ export type FormOption = {
331
+ value: string;
332
+ label: string;
333
+ description?: string;
334
+ };
335
+ export type FormExternalField = {
336
+ key: string;
337
+ type: "external";
338
+ url: string;
339
+ title?: string;
340
+ description?: string;
341
+ };
342
+ export type FormValue = string | number | "Infinity" | "-Infinity" | "NaN" | boolean | Array<string>;
319
343
  export type ModelReasoningField = "reasoning" | "reasoning_content" | "reasoning_text" | (string & {});
320
344
  export type ModelMaxTokensField = "max_completion_tokens" | "max_tokens";
321
345
  export type ProviderCompaction = {
@@ -348,23 +372,6 @@ export type GenerateTextResponse = {
348
372
  text: string;
349
373
  };
350
374
  };
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
375
  export type IntegrationCommandMethod = {
369
376
  id: string;
370
377
  type: "command";
@@ -498,10 +505,6 @@ export type ProjectTime = {
498
505
  created: number;
499
506
  updated: number;
500
507
  };
501
- export type FormMetadata = {
502
- [x: string]: JsonValue;
503
- };
504
- export type FormValue = string | number | boolean | Array<string>;
505
508
  export type PermissionSource = {
506
509
  type: "tool";
507
510
  messageID: string;
@@ -512,11 +515,18 @@ export type PermissionSavedInfo = {
512
515
  projectID: string;
513
516
  action: string;
514
517
  resource: string;
518
+ time: {
519
+ created: number;
520
+ updated: number;
521
+ };
515
522
  };
516
523
  export type FileSystemEntry = {
517
524
  path: string;
518
525
  type: "file" | "directory";
519
526
  };
527
+ export type FileSystemWrite = {
528
+ path: string;
529
+ };
520
530
  export type CommandInfo = {
521
531
  name: string;
522
532
  description?: string;
@@ -571,6 +581,7 @@ export type FormWhen1 = {
571
581
  op: "eq" | "neq";
572
582
  value: string | number | boolean;
573
583
  };
584
+ export type FormValue1 = string | number | boolean | Array<string>;
574
585
  export type SessionStatus = {
575
586
  type: "idle";
576
587
  } | {
@@ -1167,6 +1178,7 @@ export type SessionStepStarted = {
1167
1178
  agent: string;
1168
1179
  model: ModelRef;
1169
1180
  snapshot?: string;
1181
+ started: number;
1170
1182
  };
1171
1183
  };
1172
1184
  export type SessionStepStreamed = {
@@ -1364,6 +1376,16 @@ export type SessionUsageRecorded = {
1364
1376
  tokens: TokenUsageInfo;
1365
1377
  };
1366
1378
  };
1379
+ export type LocationShutdown = {
1380
+ id: string;
1381
+ created: number;
1382
+ metadata?: {
1383
+ [x: string]: any;
1384
+ };
1385
+ type: "location.shutdown";
1386
+ location?: LocationRef;
1387
+ data: {};
1388
+ };
1367
1389
  export type ModelsDevRefreshed = {
1368
1390
  id: string;
1369
1391
  created: number;
@@ -2062,49 +2084,12 @@ export type SessionMessageAssistantReasoning1 = {
2062
2084
  };
2063
2085
  };
2064
2086
  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
- };
2072
- export type ProviderInfo = {
2073
- id: string;
2074
- canonical?: string;
2075
- integrationID?: string;
2076
- name: string;
2077
- activation: "auto" | "enabled" | "disabled";
2078
- package: string;
2079
- compaction?: ProviderCompaction;
2080
- transport?: ProviderTransport;
2081
- settings?: {
2082
- [x: string]: any;
2083
- };
2084
- headers?: {
2085
- [x: string]: string;
2086
- };
2087
- body?: {
2088
- [x: string]: any;
2089
- };
2090
- };
2091
- export type ModelCost = {
2092
- tier?: {
2093
- type: "context";
2094
- size: number;
2095
- };
2096
- input: MoneyUSDPerMillionTokens;
2097
- output: MoneyUSDPerMillionTokens;
2098
- cache: {
2099
- read: MoneyUSDPerMillionTokens;
2100
- write: MoneyUSDPerMillionTokens;
2101
- };
2102
- };
2103
2087
  export type FormNumberField = {
2104
2088
  key: string;
2105
2089
  title?: string;
2106
2090
  description?: string;
2107
2091
  required?: boolean;
2092
+ hidden?: boolean;
2108
2093
  when?: Array<FormWhen>;
2109
2094
  type: "number";
2110
2095
  minimum?: number | "Infinity" | "-Infinity" | "NaN";
@@ -2116,6 +2101,7 @@ export type FormIntegerField = {
2116
2101
  title?: string;
2117
2102
  description?: string;
2118
2103
  required?: boolean;
2104
+ hidden?: boolean;
2119
2105
  when?: Array<FormWhen>;
2120
2106
  type: "integer";
2121
2107
  minimum?: number | "Infinity" | "-Infinity" | "NaN";
@@ -2127,6 +2113,7 @@ export type FormBooleanField = {
2127
2113
  title?: string;
2128
2114
  description?: string;
2129
2115
  required?: boolean;
2116
+ hidden?: boolean;
2130
2117
  when?: Array<FormWhen>;
2131
2118
  type: "boolean";
2132
2119
  default?: boolean;
@@ -2136,6 +2123,7 @@ export type FormStringField = {
2136
2123
  title?: string;
2137
2124
  description?: string;
2138
2125
  required?: boolean;
2126
+ hidden?: boolean;
2139
2127
  when?: Array<FormWhen>;
2140
2128
  type: "string";
2141
2129
  format?: "email" | "uri" | "date" | "date-time";
@@ -2152,6 +2140,7 @@ export type FormMultiselectField = {
2152
2140
  title?: string;
2153
2141
  description?: string;
2154
2142
  required?: boolean;
2143
+ hidden?: boolean;
2155
2144
  when?: Array<FormWhen>;
2156
2145
  type: "multiselect";
2157
2146
  options: Array<FormOption>;
@@ -2160,6 +2149,48 @@ export type FormMultiselectField = {
2160
2149
  custom?: boolean;
2161
2150
  default?: Array<string>;
2162
2151
  };
2152
+ export type FormAnswer = {
2153
+ [x: string]: FormValue;
2154
+ };
2155
+ export type ModelCompatibility = {
2156
+ reasoningField?: ModelReasoningField;
2157
+ requireReasoning?: boolean;
2158
+ maxTokensField?: ModelMaxTokensField;
2159
+ requireFinishReason?: boolean;
2160
+ requireAssistantAfterTool?: boolean;
2161
+ supportsPromptCacheKey?: boolean;
2162
+ };
2163
+ export type ProviderInfo = {
2164
+ id: string;
2165
+ canonical?: string;
2166
+ integrationID?: string;
2167
+ name: string;
2168
+ activation: "auto" | "enabled" | "disabled";
2169
+ package: string;
2170
+ compaction?: ProviderCompaction;
2171
+ transport?: ProviderTransport;
2172
+ settings?: {
2173
+ [x: string]: any;
2174
+ };
2175
+ headers?: {
2176
+ [x: string]: string;
2177
+ };
2178
+ body?: {
2179
+ [x: string]: any;
2180
+ };
2181
+ };
2182
+ export type ModelCost = {
2183
+ tier?: {
2184
+ type: "context";
2185
+ size: number;
2186
+ };
2187
+ input: MoneyUSDPerMillionTokens;
2188
+ output: MoneyUSDPerMillionTokens;
2189
+ cache: {
2190
+ read: MoneyUSDPerMillionTokens;
2191
+ write: MoneyUSDPerMillionTokens;
2192
+ };
2193
+ };
2163
2194
  export type ConnectionInfo = ConnectionCredentialInfo | ConnectionEnvInfo;
2164
2195
  export type McpServer = {
2165
2196
  name: string;
@@ -2199,9 +2230,6 @@ export type ProjectUpdated = {
2199
2230
  sandboxes: Array<string>;
2200
2231
  };
2201
2232
  };
2202
- export type FormAnswer = {
2203
- [x: string]: FormValue;
2204
- };
2205
2233
  export type PermissionRequest = {
2206
2234
  id: string;
2207
2235
  sessionID: string;
@@ -2300,6 +2328,7 @@ export type FormStringField1 = {
2300
2328
  title?: string;
2301
2329
  description?: string;
2302
2330
  required?: boolean;
2331
+ hidden?: boolean;
2303
2332
  when?: Array<FormWhen1>;
2304
2333
  type: "string";
2305
2334
  format?: "email" | "uri" | "date" | "date-time";
@@ -2316,6 +2345,7 @@ export type FormNumberField1 = {
2316
2345
  title?: string;
2317
2346
  description?: string;
2318
2347
  required?: boolean;
2348
+ hidden?: boolean;
2319
2349
  when?: Array<FormWhen1>;
2320
2350
  type: "number";
2321
2351
  minimum?: number;
@@ -2327,6 +2357,7 @@ export type FormIntegerField1 = {
2327
2357
  title?: string;
2328
2358
  description?: string;
2329
2359
  required?: boolean;
2360
+ hidden?: boolean;
2330
2361
  when?: Array<FormWhen1>;
2331
2362
  type: "integer";
2332
2363
  minimum?: number;
@@ -2338,6 +2369,7 @@ export type FormBooleanField1 = {
2338
2369
  title?: string;
2339
2370
  description?: string;
2340
2371
  required?: boolean;
2372
+ hidden?: boolean;
2341
2373
  when?: Array<FormWhen1>;
2342
2374
  type: "boolean";
2343
2375
  default?: boolean;
@@ -2347,6 +2379,7 @@ export type FormMultiselectField1 = {
2347
2379
  title?: string;
2348
2380
  description?: string;
2349
2381
  required?: boolean;
2382
+ hidden?: boolean;
2350
2383
  when?: Array<FormWhen1>;
2351
2384
  type: "multiselect";
2352
2385
  options: Array<FormOption>;
@@ -2355,6 +2388,9 @@ export type FormMultiselectField1 = {
2355
2388
  custom?: boolean;
2356
2389
  default?: Array<string>;
2357
2390
  };
2391
+ export type FormAnswer1 = {
2392
+ [x: string]: FormValue1;
2393
+ };
2358
2394
  export type SessionStatusUpdated = {
2359
2395
  id: string;
2360
2396
  created: number;
@@ -2371,6 +2407,7 @@ export type SessionStatusUpdated = {
2371
2407
  export type ReferenceSource = ReferenceLocalSource | ReferenceGitSource;
2372
2408
  export type WorktreeList = Array<WorktreeDirectory>;
2373
2409
  export type VcsInfo = {
2410
+ provider?: string;
2374
2411
  branch: VcsBranch;
2375
2412
  };
2376
2413
  export type SessionInboxMove = {
@@ -2611,6 +2648,15 @@ export type SessionMessageToolStateError1 = {
2611
2648
  [x: string]: JsonValue;
2612
2649
  };
2613
2650
  };
2651
+ export type FormField = FormStringField | FormNumberField | FormIntegerField | FormBooleanField | FormMultiselectField | FormExternalField;
2652
+ export type FormState = {
2653
+ status: "pending";
2654
+ } | {
2655
+ status: "answered";
2656
+ answer: FormAnswer;
2657
+ } | {
2658
+ status: "cancelled";
2659
+ };
2614
2660
  export type ModelInfo = {
2615
2661
  id: string;
2616
2662
  modelID: string;
@@ -2645,15 +2691,7 @@ export type ModelInfo = {
2645
2691
  output: number;
2646
2692
  };
2647
2693
  };
2648
- export type FormField = FormStringField | FormNumberField | FormIntegerField | FormBooleanField | FormMultiselectField | FormExternalField;
2649
- export type FormState = {
2650
- status: "pending";
2651
- } | {
2652
- status: "answered";
2653
- answer: FormAnswer;
2654
- } | {
2655
- status: "cancelled";
2656
- };
2694
+ export type FormField1 = FormStringField1 | FormNumberField1 | FormIntegerField1 | FormBooleanField1 | FormMultiselectField1 | FormExternalField;
2657
2695
  export type FormReplied = {
2658
2696
  id: string;
2659
2697
  created: number;
@@ -2665,10 +2703,9 @@ export type FormReplied = {
2665
2703
  data: {
2666
2704
  id: string;
2667
2705
  sessionID: string;
2668
- answer: FormAnswer;
2706
+ answer: FormAnswer1;
2669
2707
  };
2670
2708
  };
2671
- export type FormField1 = FormStringField1 | FormNumberField1 | FormIntegerField1 | FormBooleanField1 | FormMultiselectField1 | FormExternalField;
2672
2709
  export type ReferenceInfo = {
2673
2710
  name: string;
2674
2711
  path: string;
@@ -2689,13 +2726,13 @@ export type AgentInfo = {
2689
2726
  steps?: number;
2690
2727
  permissions: PermissionRuleset;
2691
2728
  };
2692
- export type SessionPermissionsUpdated = {
2729
+ export type SessionPermissions = {
2693
2730
  id: string;
2694
2731
  created: number;
2695
2732
  metadata?: {
2696
2733
  [x: string]: any;
2697
2734
  };
2698
- type: "session.permissions.updated";
2735
+ type: "session.permissions";
2699
2736
  durable: {
2700
2737
  aggregateID: string;
2701
2738
  seq: number;
@@ -2881,6 +2918,7 @@ export type ConfigEntry = {
2881
2918
  scope?: string;
2882
2919
  callback_port?: number;
2883
2920
  redirect_uri?: string;
2921
+ auth_server_metadata_url?: string;
2884
2922
  } | false;
2885
2923
  disabled?: boolean;
2886
2924
  codemode?: boolean;
@@ -3028,7 +3066,7 @@ export type ConfigEntry = {
3028
3066
  portable_shell_scanner?: boolean;
3029
3067
  subagent_depth?: number;
3030
3068
  policies?: Array<{
3031
- action: "provider.use";
3069
+ action: "provider.use" | "permission";
3032
3070
  resource: string;
3033
3071
  effect: "allow" | "deny";
3034
3072
  }>;
@@ -3151,6 +3189,21 @@ export type SessionMessageAssistant = {
3151
3189
  retry?: SessionMessageAssistantRetry;
3152
3190
  };
3153
3191
  export type SessionMessageAssistantContentEncoded = SessionMessageAssistantText1 | SessionMessageAssistantReasoning1 | SessionMessageAssistantTool1;
3192
+ export type FormInfo = {
3193
+ id: string;
3194
+ sessionID: string;
3195
+ title: string;
3196
+ metadata?: FormMetadata;
3197
+ fields: FormFields;
3198
+ };
3199
+ export type FormDetail = {
3200
+ id: string;
3201
+ sessionID: string;
3202
+ title: string;
3203
+ metadata?: FormMetadata;
3204
+ fields: FormFields;
3205
+ state: FormState;
3206
+ };
3154
3207
  export type IntegrationOAuthMethod = {
3155
3208
  id: string;
3156
3209
  type: "oauth";
@@ -3162,13 +3215,6 @@ export type IntegrationKeyMethod = {
3162
3215
  label?: string;
3163
3216
  form?: FormFields;
3164
3217
  };
3165
- export type FormInfo = {
3166
- id: string;
3167
- sessionID: string;
3168
- title: string;
3169
- metadata?: FormMetadata;
3170
- fields: FormFields;
3171
- };
3172
3218
  export type FormInfo1 = {
3173
3219
  id: string;
3174
3220
  sessionID: string;
@@ -3220,7 +3266,7 @@ export type SessionMessagesResponse = {
3220
3266
  next?: string | null;
3221
3267
  };
3222
3268
  };
3223
- 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;
3269
+ 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;
3224
3270
  export type IntegrationInfo = {
3225
3271
  id: string;
3226
3272
  name: string;
@@ -3230,7 +3276,7 @@ export type IntegrationInfo = {
3230
3276
  methods: Array<IntegrationMethod>;
3231
3277
  connections: Array<ConnectionInfo>;
3232
3278
  };
3233
- export type V2Event = ModelsDevRefreshed | CredentialUpdated | CredentialSwitched | IntegrationUpdated | ProviderUpdated | ModelUpdated | 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;
3279
+ export type V2Event = LocationShutdown | 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;
3234
3280
  export type SessionLogItem = SessionEventDurable | EventLogSynced;
3235
3281
  export type InvalidRequestError = {
3236
3282
  readonly _tag: "InvalidRequestError";
@@ -3244,18 +3290,18 @@ export type UnauthorizedError = {
3244
3290
  readonly message: string;
3245
3291
  };
3246
3292
  export declare const isUnauthorizedError: (value: unknown) => value is UnauthorizedError;
3247
- export type AgentNotFoundError = {
3248
- readonly _tag: "AgentNotFoundError";
3249
- readonly agentID: string;
3250
- readonly message: string;
3251
- };
3252
- export declare const isAgentNotFoundError: (value: unknown) => value is AgentNotFoundError;
3253
3293
  export type ServiceUnavailableError = {
3254
3294
  readonly _tag: "ServiceUnavailableError";
3255
3295
  readonly message: string;
3256
3296
  readonly service?: string | undefined;
3257
3297
  };
3258
3298
  export declare const isServiceUnavailableError: (value: unknown) => value is ServiceUnavailableError;
3299
+ export type AgentNotFoundError = {
3300
+ readonly _tag: "AgentNotFoundError";
3301
+ readonly agentID: string;
3302
+ readonly message: string;
3303
+ };
3304
+ export declare const isAgentNotFoundError: (value: unknown) => value is AgentNotFoundError;
3259
3305
  export type InvalidCursorError = {
3260
3306
  readonly _tag: "InvalidCursorError";
3261
3307
  readonly message: string;
@@ -3317,6 +3363,24 @@ export type InstructionEntryValueTooLargeError = {
3317
3363
  readonly message: string;
3318
3364
  };
3319
3365
  export declare const isInstructionEntryValueTooLargeError: (value: unknown) => value is InstructionEntryValueTooLargeError;
3366
+ export type FormNotFoundError = {
3367
+ readonly _tag: "FormNotFoundError";
3368
+ readonly id: string;
3369
+ readonly message: string;
3370
+ };
3371
+ export declare const isFormNotFoundError: (value: unknown) => value is FormNotFoundError;
3372
+ export type FormInvalidAnswerError = {
3373
+ readonly _tag: "FormInvalidAnswerError";
3374
+ readonly id: string;
3375
+ readonly message: string;
3376
+ };
3377
+ export declare const isFormInvalidAnswerError: (value: unknown) => value is FormInvalidAnswerError;
3378
+ export type FormAlreadySettledError = {
3379
+ readonly _tag: "FormAlreadySettledError";
3380
+ readonly id: string;
3381
+ readonly message: string;
3382
+ };
3383
+ export declare const isFormAlreadySettledError: (value: unknown) => value is FormAlreadySettledError;
3320
3384
  export type ProviderNotFoundError = {
3321
3385
  readonly _tag: "ProviderNotFoundError";
3322
3386
  readonly providerID: string;
@@ -3355,24 +3419,6 @@ export type ProjectNotFoundError = {
3355
3419
  readonly message: string;
3356
3420
  };
3357
3421
  export declare const isProjectNotFoundError: (value: unknown) => value is ProjectNotFoundError;
3358
- export type FormNotFoundError = {
3359
- readonly _tag: "FormNotFoundError";
3360
- readonly id: string;
3361
- readonly message: string;
3362
- };
3363
- export declare const isFormNotFoundError: (value: unknown) => value is FormNotFoundError;
3364
- export type FormInvalidAnswerError = {
3365
- readonly _tag: "FormInvalidAnswerError";
3366
- readonly id: string;
3367
- readonly message: string;
3368
- };
3369
- export declare const isFormInvalidAnswerError: (value: unknown) => value is FormInvalidAnswerError;
3370
- export type FormAlreadySettledError = {
3371
- readonly _tag: "FormAlreadySettledError";
3372
- readonly id: string;
3373
- readonly message: string;
3374
- };
3375
- export declare const isFormAlreadySettledError: (value: unknown) => value is FormAlreadySettledError;
3376
3422
  export type PermissionNotFoundError = {
3377
3423
  readonly _tag: "PermissionNotFoundError";
3378
3424
  readonly requestID: string;
@@ -3424,7 +3470,7 @@ export type WorktreeError = {
3424
3470
  };
3425
3471
  };
3426
3472
  export declare const isWorktreeError: (value: unknown) => value is WorktreeError;
3427
- export type ServerStatusOutput = ServerStatus;
3473
+ export type ServerInfoOutput = ServerInfo;
3428
3474
  export type LocationGetInput = {
3429
3475
  readonly location?: {
3430
3476
  readonly location?: {
@@ -3433,6 +3479,7 @@ export type LocationGetInput = {
3433
3479
  }["location"];
3434
3480
  };
3435
3481
  export type LocationGetOutput = LocationPublicInfo;
3482
+ export type LocationReloadOutput = void;
3436
3483
  export type AgentListInput = {
3437
3484
  readonly location?: {
3438
3485
  readonly location?: {
@@ -5244,15 +5291,28 @@ export type SessionSwitchModelInput = {
5244
5291
  }["model"];
5245
5292
  };
5246
5293
  export type SessionSwitchModelOutput = void;
5247
- export type SessionRenameInput = {
5294
+ export type SessionUpdateInput = {
5248
5295
  readonly sessionID: {
5249
5296
  readonly sessionID: string;
5250
5297
  }["sessionID"];
5251
- readonly title: {
5252
- readonly title: string;
5298
+ readonly title?: {
5299
+ readonly title?: string | undefined;
5300
+ readonly permissions?: ReadonlyArray<{
5301
+ readonly action: string;
5302
+ readonly resource: string;
5303
+ readonly effect: "allow" | "deny" | "ask";
5304
+ }> | undefined;
5253
5305
  }["title"];
5306
+ readonly permissions?: {
5307
+ readonly title?: string | undefined;
5308
+ readonly permissions?: ReadonlyArray<{
5309
+ readonly action: string;
5310
+ readonly resource: string;
5311
+ readonly effect: "allow" | "deny" | "ask";
5312
+ }> | undefined;
5313
+ }["permissions"];
5254
5314
  };
5255
- export type SessionRenameOutput = void;
5315
+ export type SessionUpdateOutput = void;
5256
5316
  export type SessionMoveInput = {
5257
5317
  readonly sessionID: {
5258
5318
  readonly sessionID: string;
@@ -5943,7 +6003,7 @@ export type SessionInboxCancelInput = {
5943
6003
  }["inboxID"];
5944
6004
  };
5945
6005
  export type SessionInboxCancelOutput = void;
5946
- export type SessionInboxSteerInput = {
6006
+ export type SessionInboxUpdateInput = {
5947
6007
  readonly sessionID: {
5948
6008
  readonly sessionID: string;
5949
6009
  readonly inboxID: string;
@@ -5952,20 +6012,12 @@ export type SessionInboxSteerInput = {
5952
6012
  readonly sessionID: string;
5953
6013
  readonly inboxID: string;
5954
6014
  }["inboxID"];
6015
+ readonly delivery: {
6016
+ readonly delivery: "steer" | "queue";
6017
+ }["delivery"];
5955
6018
  };
5956
- export type SessionInboxSteerOutput = void;
5957
- export type SessionInboxQueueInput = {
5958
- readonly sessionID: {
5959
- readonly sessionID: string;
5960
- readonly inboxID: string;
5961
- }["sessionID"];
5962
- readonly inboxID: {
5963
- readonly sessionID: string;
5964
- readonly inboxID: string;
5965
- }["inboxID"];
5966
- };
5967
- export type SessionInboxQueueOutput = void;
5968
- export type SessionInstructionsEntryListInput = {
6019
+ export type SessionInboxUpdateOutput = void;
6020
+ export type SessionInstructionsEntryListInput = {
5969
6021
  readonly sessionID: {
5970
6022
  readonly sessionID: string;
5971
6023
  }["sessionID"];
@@ -6049,545 +6101,23 @@ export type SessionMessageGetInput = {
6049
6101
  export type SessionMessageGetOutput = {
6050
6102
  data: SessionMessageInfo;
6051
6103
  }["data"];
6052
- export type SessionEnvironmentInput = {
6053
- readonly sessionID: {
6054
- readonly sessionID: string;
6055
- }["sessionID"];
6056
- readonly variables: {
6057
- readonly variables: {
6058
- readonly [x: string]: string;
6059
- };
6060
- }["variables"];
6061
- };
6062
- export type SessionEnvironmentOutput = void;
6063
- export type SessionViewInput = {
6104
+ export type SessionFormListInput = {
6064
6105
  readonly sessionID: {
6065
6106
  readonly sessionID: string;
6066
6107
  }["sessionID"];
6067
- readonly idle: {
6068
- readonly idle: number;
6069
- }["idle"];
6070
6108
  };
6071
- export type SessionViewOutput = void;
6072
- export type MessageListInput = {
6109
+ export type SessionFormListOutput = {
6110
+ data: Array<FormInfo>;
6111
+ }["data"];
6112
+ export type SessionFormCreateInput = {
6073
6113
  readonly sessionID: {
6074
6114
  readonly sessionID: string;
6075
6115
  }["sessionID"];
6076
- readonly limit?: {
6077
- readonly limit?: number | undefined;
6078
- readonly order?: "asc" | "desc" | undefined;
6079
- readonly cursor?: string | undefined;
6080
- readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6081
- }["limit"];
6082
- readonly order?: {
6083
- readonly limit?: number | undefined;
6084
- readonly order?: "asc" | "desc" | undefined;
6085
- readonly cursor?: string | undefined;
6086
- readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6087
- }["order"];
6088
- readonly cursor?: {
6089
- readonly limit?: number | undefined;
6090
- readonly order?: "asc" | "desc" | undefined;
6091
- readonly cursor?: string | undefined;
6092
- readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6093
- }["cursor"];
6094
- readonly type?: {
6095
- readonly limit?: number | undefined;
6096
- readonly order?: "asc" | "desc" | undefined;
6097
- readonly cursor?: string | undefined;
6098
- readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6099
- }["type"];
6100
- };
6101
- export type MessageListOutput = SessionMessagesResponse;
6102
- export type ModelListInput = {
6103
- readonly location?: {
6104
- readonly location?: {
6105
- readonly directory?: string | undefined;
6106
- } | undefined;
6107
- }["location"];
6108
- };
6109
- export type ModelListOutput = {
6110
- location: LocationPublicRef;
6111
- data: Array<ModelInfo>;
6112
- };
6113
- export type ModelDefaultInput = {
6114
- readonly location?: {
6115
- readonly location?: {
6116
- readonly directory?: string | undefined;
6117
- } | undefined;
6118
- }["location"];
6119
- };
6120
- export type ModelDefaultOutput = {
6121
- location: LocationPublicRef;
6122
- data: ModelInfo | null;
6123
- };
6124
- export type GenerateTextInput = {
6125
- readonly prompt: {
6126
- readonly prompt: string;
6127
- readonly model?: {
6128
- readonly id: string;
6129
- readonly providerID: string;
6130
- readonly variant?: string;
6131
- } | null;
6132
- }["prompt"];
6133
- readonly model?: {
6134
- readonly prompt: string;
6135
- readonly model?: {
6136
- readonly id: string;
6137
- readonly providerID: string;
6138
- readonly variant?: string;
6139
- } | null;
6140
- }["model"];
6141
- };
6142
- export type GenerateTextOutput = GenerateTextResponse["data"];
6143
- export type ProviderListInput = {
6144
- readonly location?: {
6145
- readonly location?: {
6146
- readonly directory?: string | undefined;
6147
- } | undefined;
6148
- }["location"];
6149
- };
6150
- export type ProviderListOutput = {
6151
- location: LocationPublicRef;
6152
- data: Array<ProviderInfo>;
6153
- };
6154
- export type ProviderGetInput = {
6155
- readonly providerID: {
6156
- readonly providerID: string;
6157
- }["providerID"];
6158
- readonly location?: {
6159
- readonly location?: {
6160
- readonly directory?: string | undefined;
6161
- } | undefined;
6162
- }["location"];
6163
- };
6164
- export type ProviderGetOutput = {
6165
- location: LocationPublicRef;
6166
- data: ProviderInfo;
6167
- };
6168
- export type IntegrationListInput = {
6169
- readonly location?: {
6170
- readonly location?: {
6171
- readonly directory?: string | undefined;
6172
- } | undefined;
6173
- }["location"];
6174
- };
6175
- export type IntegrationListOutput = {
6176
- location: LocationPublicRef;
6177
- data: Array<IntegrationInfo>;
6178
- };
6179
- export type IntegrationGetInput = {
6180
- readonly integrationID: {
6181
- readonly integrationID: string;
6182
- }["integrationID"];
6183
- readonly location?: {
6184
- readonly location?: {
6185
- readonly directory?: string | undefined;
6186
- } | undefined;
6187
- }["location"];
6188
- };
6189
- export type IntegrationGetOutput = {
6190
- location: LocationPublicRef;
6191
- data: IntegrationInfo;
6192
- };
6193
- export type IntegrationWellknownAddInput = {
6194
- readonly location?: {
6195
- readonly location?: {
6196
- readonly directory?: string | undefined;
6197
- } | undefined;
6198
- }["location"];
6199
- readonly url: {
6200
- readonly url: string;
6201
- }["url"];
6202
- };
6203
- export type IntegrationWellknownAddOutput = void;
6204
- export type IntegrationConnectKeyInput = {
6205
- readonly integrationID: {
6206
- readonly integrationID: string;
6207
- }["integrationID"];
6208
- readonly location?: {
6209
- readonly location?: {
6210
- readonly directory?: string | undefined;
6211
- } | undefined;
6212
- }["location"];
6213
- readonly key: {
6214
- readonly key: string;
6215
- readonly answer?: {
6216
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6217
- } | undefined;
6218
- readonly label?: string | undefined;
6219
- }["key"];
6220
- readonly answer?: {
6221
- readonly key: string;
6222
- readonly answer?: {
6223
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6224
- } | undefined;
6225
- readonly label?: string | undefined;
6226
- }["answer"];
6227
- readonly label?: {
6228
- readonly key: string;
6229
- readonly answer?: {
6230
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6231
- } | undefined;
6232
- readonly label?: string | undefined;
6233
- }["label"];
6234
- };
6235
- export type IntegrationConnectKeyOutput = void;
6236
- export type IntegrationOauthConnectInput = {
6237
- readonly integrationID: {
6238
- readonly integrationID: string;
6239
- }["integrationID"];
6240
- readonly location?: {
6241
- readonly location?: {
6242
- readonly directory?: string | undefined;
6243
- } | undefined;
6244
- }["location"];
6245
- readonly methodID: {
6246
- readonly methodID: string;
6247
- readonly answer?: {
6248
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6249
- } | undefined;
6250
- readonly label?: string | undefined;
6251
- }["methodID"];
6252
- readonly answer?: {
6253
- readonly methodID: string;
6254
- readonly answer?: {
6255
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6256
- } | undefined;
6257
- readonly label?: string | undefined;
6258
- }["answer"];
6259
- readonly label?: {
6260
- readonly methodID: string;
6261
- readonly answer?: {
6262
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6263
- } | undefined;
6264
- readonly label?: string | undefined;
6265
- }["label"];
6266
- };
6267
- export type IntegrationOauthConnectOutput = {
6268
- location: LocationPublicRef;
6269
- data: IntegrationAttempt;
6270
- };
6271
- export type IntegrationOauthStatusInput = {
6272
- readonly integrationID: {
6273
- readonly integrationID: string;
6274
- readonly attemptID: string;
6275
- }["integrationID"];
6276
- readonly attemptID: {
6277
- readonly integrationID: string;
6278
- readonly attemptID: string;
6279
- }["attemptID"];
6280
- readonly location?: {
6281
- readonly location?: {
6282
- readonly directory?: string | undefined;
6283
- } | undefined;
6284
- }["location"];
6285
- };
6286
- export type IntegrationOauthStatusOutput = {
6287
- location: LocationPublicRef;
6288
- data: IntegrationAttemptStatus;
6289
- };
6290
- export type IntegrationOauthCompleteInput = {
6291
- readonly integrationID: {
6292
- readonly integrationID: string;
6293
- readonly attemptID: string;
6294
- }["integrationID"];
6295
- readonly attemptID: {
6296
- readonly integrationID: string;
6297
- readonly attemptID: string;
6298
- }["attemptID"];
6299
- readonly location?: {
6300
- readonly location?: {
6301
- readonly directory?: string | undefined;
6302
- } | undefined;
6303
- }["location"];
6304
- readonly code?: {
6305
- readonly code?: string | undefined;
6306
- }["code"];
6307
- };
6308
- export type IntegrationOauthCompleteOutput = void;
6309
- export type IntegrationOauthCancelInput = {
6310
- readonly integrationID: {
6311
- readonly integrationID: string;
6312
- readonly attemptID: string;
6313
- }["integrationID"];
6314
- readonly attemptID: {
6315
- readonly integrationID: string;
6316
- readonly attemptID: string;
6317
- }["attemptID"];
6318
- readonly location?: {
6319
- readonly location?: {
6320
- readonly directory?: string | undefined;
6321
- } | undefined;
6322
- }["location"];
6323
- };
6324
- export type IntegrationOauthCancelOutput = void;
6325
- export type IntegrationCommandConnectInput = {
6326
- readonly integrationID: {
6327
- readonly integrationID: string;
6328
- }["integrationID"];
6329
- readonly location?: {
6330
- readonly location?: {
6331
- readonly directory?: string | undefined;
6332
- } | undefined;
6333
- }["location"];
6334
- readonly methodID: {
6335
- readonly methodID: string;
6336
- readonly label?: string | undefined;
6337
- }["methodID"];
6338
- readonly label?: {
6339
- readonly methodID: string;
6340
- readonly label?: string | undefined;
6341
- }["label"];
6342
- };
6343
- export type IntegrationCommandConnectOutput = {
6344
- location: LocationPublicRef;
6345
- data: IntegrationCommandAttempt;
6346
- };
6347
- export type IntegrationCommandStatusInput = {
6348
- readonly integrationID: {
6349
- readonly integrationID: string;
6350
- readonly attemptID: string;
6351
- }["integrationID"];
6352
- readonly attemptID: {
6353
- readonly integrationID: string;
6354
- readonly attemptID: string;
6355
- }["attemptID"];
6356
- readonly location?: {
6357
- readonly location?: {
6358
- readonly directory?: string | undefined;
6359
- } | undefined;
6360
- }["location"];
6361
- };
6362
- export type IntegrationCommandStatusOutput = {
6363
- location: LocationPublicRef;
6364
- data: IntegrationCommandAttemptStatus;
6365
- };
6366
- export type IntegrationCommandCancelInput = {
6367
- readonly integrationID: {
6368
- readonly integrationID: string;
6369
- readonly attemptID: string;
6370
- }["integrationID"];
6371
- readonly attemptID: {
6372
- readonly integrationID: string;
6373
- readonly attemptID: string;
6374
- }["attemptID"];
6375
- readonly location?: {
6376
- readonly location?: {
6377
- readonly directory?: string | undefined;
6378
- } | undefined;
6379
- }["location"];
6380
- };
6381
- export type IntegrationCommandCancelOutput = void;
6382
- export type McpListInput = {
6383
- readonly location?: {
6384
- readonly location?: {
6385
- readonly directory?: string | undefined;
6386
- } | undefined;
6387
- }["location"];
6388
- };
6389
- export type McpListOutput = {
6390
- location: LocationPublicRef;
6391
- data: Array<McpServer>;
6392
- };
6393
- export type McpAddInput = {
6394
- readonly server: {
6395
- readonly server: string;
6396
- }["server"];
6397
- readonly location?: {
6398
- readonly location?: {
6399
- readonly directory?: string | undefined;
6400
- } | undefined;
6401
- }["location"];
6402
- readonly config: {
6403
- readonly config: {
6404
- readonly type: "local";
6405
- readonly command: ReadonlyArray<string>;
6406
- readonly cwd?: string;
6407
- readonly environment?: {
6408
- readonly [x: string]: string;
6409
- };
6410
- readonly disabled?: boolean;
6411
- readonly codemode?: boolean;
6412
- readonly timeout?: {
6413
- readonly startup?: number;
6414
- readonly catalog?: number;
6415
- readonly execution?: number;
6416
- };
6417
- readonly protocol?: "legacy" | "auto" | "2026-07-28";
6418
- } | {
6419
- readonly type: "remote";
6420
- readonly url: string;
6421
- readonly headers?: {
6422
- readonly [x: string]: string;
6423
- };
6424
- readonly oauth?: {
6425
- readonly client_id?: string;
6426
- readonly client_secret?: string;
6427
- readonly scope?: string;
6428
- readonly callback_port?: number;
6429
- readonly redirect_uri?: string;
6430
- } | false;
6431
- readonly disabled?: boolean;
6432
- readonly codemode?: boolean;
6433
- readonly timeout?: {
6434
- readonly startup?: number;
6435
- readonly catalog?: number;
6436
- readonly execution?: number;
6437
- };
6438
- readonly protocol?: "legacy" | "auto" | "2026-07-28";
6439
- };
6440
- }["config"];
6441
- };
6442
- export type McpAddOutput = void;
6443
- export type McpRemoveInput = {
6444
- readonly server: {
6445
- readonly server: string;
6446
- }["server"];
6447
- readonly location?: {
6448
- readonly location?: {
6449
- readonly directory?: string | undefined;
6450
- } | undefined;
6451
- }["location"];
6452
- };
6453
- export type McpRemoveOutput = void;
6454
- export type McpConnectInput = {
6455
- readonly server: {
6456
- readonly server: string;
6457
- }["server"];
6458
- readonly location?: {
6459
- readonly location?: {
6460
- readonly directory?: string | undefined;
6461
- } | undefined;
6462
- }["location"];
6463
- };
6464
- export type McpConnectOutput = void;
6465
- export type McpDisconnectInput = {
6466
- readonly server: {
6467
- readonly server: string;
6468
- }["server"];
6469
- readonly location?: {
6470
- readonly location?: {
6471
- readonly directory?: string | undefined;
6472
- } | undefined;
6473
- }["location"];
6474
- };
6475
- export type McpDisconnectOutput = void;
6476
- export type McpResourceCatalogInput = {
6477
- readonly location?: {
6478
- readonly location?: {
6479
- readonly directory?: string | undefined;
6480
- } | undefined;
6481
- }["location"];
6482
- };
6483
- export type McpResourceCatalogOutput = {
6484
- location: LocationPublicRef;
6485
- data: McpResourceCatalog;
6486
- };
6487
- export type CredentialUpdateInput = {
6488
- readonly credentialID: {
6489
- readonly credentialID: string;
6490
- }["credentialID"];
6491
- readonly label: {
6492
- readonly label: string;
6493
- }["label"];
6494
- };
6495
- export type CredentialUpdateOutput = void;
6496
- export type CredentialActivateInput = {
6497
- readonly credentialID: {
6498
- readonly credentialID: string;
6499
- }["credentialID"];
6500
- };
6501
- export type CredentialActivateOutput = void;
6502
- export type CredentialRemoveInput = {
6503
- readonly credentialID: {
6504
- readonly credentialID: string;
6505
- }["credentialID"];
6506
- };
6507
- export type CredentialRemoveOutput = void;
6508
- export type ProjectListOutput = Array<Project>;
6509
- export type ProjectUpdateInput = {
6510
- readonly projectID: {
6511
- readonly projectID: string;
6512
- }["projectID"];
6513
- readonly canonical?: {
6514
- readonly canonical?: string;
6515
- readonly name?: string;
6516
- readonly icon?: {
6517
- readonly url?: string;
6518
- readonly override?: string;
6519
- readonly color?: string;
6520
- };
6521
- readonly commands?: {
6522
- readonly start?: string;
6523
- };
6524
- }["canonical"];
6525
- readonly name?: {
6526
- readonly canonical?: string;
6527
- readonly name?: string;
6528
- readonly icon?: {
6529
- readonly url?: string;
6530
- readonly override?: string;
6531
- readonly color?: string;
6532
- };
6533
- readonly commands?: {
6534
- readonly start?: string;
6535
- };
6536
- }["name"];
6537
- readonly icon?: {
6538
- readonly canonical?: string;
6539
- readonly name?: string;
6540
- readonly icon?: {
6541
- readonly url?: string;
6542
- readonly override?: string;
6543
- readonly color?: string;
6544
- };
6545
- readonly commands?: {
6546
- readonly start?: string;
6547
- };
6548
- }["icon"];
6549
- readonly commands?: {
6550
- readonly canonical?: string;
6551
- readonly name?: string;
6552
- readonly icon?: {
6553
- readonly url?: string;
6554
- readonly override?: string;
6555
- readonly color?: string;
6556
- };
6557
- readonly commands?: {
6558
- readonly start?: string;
6559
- };
6560
- }["commands"];
6561
- };
6562
- export type ProjectUpdateOutput = Project;
6563
- export type FormRequestListInput = {
6564
- readonly location?: {
6565
- readonly location?: {
6566
- readonly directory?: string | undefined;
6567
- } | undefined;
6568
- }["location"];
6569
- };
6570
- export type FormRequestListOutput = {
6571
- location: LocationPublicRef;
6572
- data: Array<FormInfo>;
6573
- };
6574
- export type FormListInput = {
6575
- readonly sessionID: {
6576
- readonly sessionID: string;
6577
- }["sessionID"];
6578
- };
6579
- export type FormListOutput = {
6580
- data: Array<FormInfo>;
6581
- }["data"];
6582
- export type FormCreateInput = {
6583
- readonly sessionID: {
6584
- readonly sessionID: string;
6585
- }["sessionID"];
6586
- readonly id?: {
6587
- readonly id?: string | null;
6588
- readonly title: string;
6589
- readonly metadata?: {
6590
- readonly [x: string]: JsonValue;
6116
+ readonly id?: {
6117
+ readonly id?: string | null;
6118
+ readonly title: string;
6119
+ readonly metadata?: {
6120
+ readonly [x: string]: JsonValue;
6591
6121
  };
6592
6122
  readonly fields: readonly [
6593
6123
  ({
@@ -6595,6 +6125,7 @@ export type FormCreateInput = {
6595
6125
  readonly title?: string;
6596
6126
  readonly description?: string;
6597
6127
  readonly required?: boolean;
6128
+ readonly hidden?: boolean;
6598
6129
  readonly when?: ReadonlyArray<{
6599
6130
  readonly key: string;
6600
6131
  readonly op: "eq" | "neq";
@@ -6618,6 +6149,7 @@ export type FormCreateInput = {
6618
6149
  readonly title?: string;
6619
6150
  readonly description?: string;
6620
6151
  readonly required?: boolean;
6152
+ readonly hidden?: boolean;
6621
6153
  readonly when?: ReadonlyArray<{
6622
6154
  readonly key: string;
6623
6155
  readonly op: "eq" | "neq";
@@ -6632,6 +6164,7 @@ export type FormCreateInput = {
6632
6164
  readonly title?: string;
6633
6165
  readonly description?: string;
6634
6166
  readonly required?: boolean;
6167
+ readonly hidden?: boolean;
6635
6168
  readonly when?: ReadonlyArray<{
6636
6169
  readonly key: string;
6637
6170
  readonly op: "eq" | "neq";
@@ -6646,6 +6179,7 @@ export type FormCreateInput = {
6646
6179
  readonly title?: string;
6647
6180
  readonly description?: string;
6648
6181
  readonly required?: boolean;
6182
+ readonly hidden?: boolean;
6649
6183
  readonly when?: ReadonlyArray<{
6650
6184
  readonly key: string;
6651
6185
  readonly op: "eq" | "neq";
@@ -6658,6 +6192,7 @@ export type FormCreateInput = {
6658
6192
  readonly title?: string;
6659
6193
  readonly description?: string;
6660
6194
  readonly required?: boolean;
6195
+ readonly hidden?: boolean;
6661
6196
  readonly when?: ReadonlyArray<{
6662
6197
  readonly key: string;
6663
6198
  readonly op: "eq" | "neq";
@@ -6685,6 +6220,7 @@ export type FormCreateInput = {
6685
6220
  readonly title?: string;
6686
6221
  readonly description?: string;
6687
6222
  readonly required?: boolean;
6223
+ readonly hidden?: boolean;
6688
6224
  readonly when?: ReadonlyArray<{
6689
6225
  readonly key: string;
6690
6226
  readonly op: "eq" | "neq";
@@ -6708,6 +6244,7 @@ export type FormCreateInput = {
6708
6244
  readonly title?: string;
6709
6245
  readonly description?: string;
6710
6246
  readonly required?: boolean;
6247
+ readonly hidden?: boolean;
6711
6248
  readonly when?: ReadonlyArray<{
6712
6249
  readonly key: string;
6713
6250
  readonly op: "eq" | "neq";
@@ -6722,6 +6259,7 @@ export type FormCreateInput = {
6722
6259
  readonly title?: string;
6723
6260
  readonly description?: string;
6724
6261
  readonly required?: boolean;
6262
+ readonly hidden?: boolean;
6725
6263
  readonly when?: ReadonlyArray<{
6726
6264
  readonly key: string;
6727
6265
  readonly op: "eq" | "neq";
@@ -6736,6 +6274,7 @@ export type FormCreateInput = {
6736
6274
  readonly title?: string;
6737
6275
  readonly description?: string;
6738
6276
  readonly required?: boolean;
6277
+ readonly hidden?: boolean;
6739
6278
  readonly when?: ReadonlyArray<{
6740
6279
  readonly key: string;
6741
6280
  readonly op: "eq" | "neq";
@@ -6748,6 +6287,7 @@ export type FormCreateInput = {
6748
6287
  readonly title?: string;
6749
6288
  readonly description?: string;
6750
6289
  readonly required?: boolean;
6290
+ readonly hidden?: boolean;
6751
6291
  readonly when?: ReadonlyArray<{
6752
6292
  readonly key: string;
6753
6293
  readonly op: "eq" | "neq";
@@ -6784,6 +6324,7 @@ export type FormCreateInput = {
6784
6324
  readonly title?: string;
6785
6325
  readonly description?: string;
6786
6326
  readonly required?: boolean;
6327
+ readonly hidden?: boolean;
6787
6328
  readonly when?: ReadonlyArray<{
6788
6329
  readonly key: string;
6789
6330
  readonly op: "eq" | "neq";
@@ -6807,6 +6348,7 @@ export type FormCreateInput = {
6807
6348
  readonly title?: string;
6808
6349
  readonly description?: string;
6809
6350
  readonly required?: boolean;
6351
+ readonly hidden?: boolean;
6810
6352
  readonly when?: ReadonlyArray<{
6811
6353
  readonly key: string;
6812
6354
  readonly op: "eq" | "neq";
@@ -6821,6 +6363,7 @@ export type FormCreateInput = {
6821
6363
  readonly title?: string;
6822
6364
  readonly description?: string;
6823
6365
  readonly required?: boolean;
6366
+ readonly hidden?: boolean;
6824
6367
  readonly when?: ReadonlyArray<{
6825
6368
  readonly key: string;
6826
6369
  readonly op: "eq" | "neq";
@@ -6835,6 +6378,7 @@ export type FormCreateInput = {
6835
6378
  readonly title?: string;
6836
6379
  readonly description?: string;
6837
6380
  readonly required?: boolean;
6381
+ readonly hidden?: boolean;
6838
6382
  readonly when?: ReadonlyArray<{
6839
6383
  readonly key: string;
6840
6384
  readonly op: "eq" | "neq";
@@ -6847,6 +6391,7 @@ export type FormCreateInput = {
6847
6391
  readonly title?: string;
6848
6392
  readonly description?: string;
6849
6393
  readonly required?: boolean;
6394
+ readonly hidden?: boolean;
6850
6395
  readonly when?: ReadonlyArray<{
6851
6396
  readonly key: string;
6852
6397
  readonly op: "eq" | "neq";
@@ -6874,6 +6419,7 @@ export type FormCreateInput = {
6874
6419
  readonly title?: string;
6875
6420
  readonly description?: string;
6876
6421
  readonly required?: boolean;
6422
+ readonly hidden?: boolean;
6877
6423
  readonly when?: ReadonlyArray<{
6878
6424
  readonly key: string;
6879
6425
  readonly op: "eq" | "neq";
@@ -6897,6 +6443,7 @@ export type FormCreateInput = {
6897
6443
  readonly title?: string;
6898
6444
  readonly description?: string;
6899
6445
  readonly required?: boolean;
6446
+ readonly hidden?: boolean;
6900
6447
  readonly when?: ReadonlyArray<{
6901
6448
  readonly key: string;
6902
6449
  readonly op: "eq" | "neq";
@@ -6911,6 +6458,7 @@ export type FormCreateInput = {
6911
6458
  readonly title?: string;
6912
6459
  readonly description?: string;
6913
6460
  readonly required?: boolean;
6461
+ readonly hidden?: boolean;
6914
6462
  readonly when?: ReadonlyArray<{
6915
6463
  readonly key: string;
6916
6464
  readonly op: "eq" | "neq";
@@ -6925,6 +6473,7 @@ export type FormCreateInput = {
6925
6473
  readonly title?: string;
6926
6474
  readonly description?: string;
6927
6475
  readonly required?: boolean;
6476
+ readonly hidden?: boolean;
6928
6477
  readonly when?: ReadonlyArray<{
6929
6478
  readonly key: string;
6930
6479
  readonly op: "eq" | "neq";
@@ -6937,6 +6486,7 @@ export type FormCreateInput = {
6937
6486
  readonly title?: string;
6938
6487
  readonly description?: string;
6939
6488
  readonly required?: boolean;
6489
+ readonly hidden?: boolean;
6940
6490
  readonly when?: ReadonlyArray<{
6941
6491
  readonly key: string;
6942
6492
  readonly op: "eq" | "neq";
@@ -6973,6 +6523,7 @@ export type FormCreateInput = {
6973
6523
  readonly title?: string;
6974
6524
  readonly description?: string;
6975
6525
  readonly required?: boolean;
6526
+ readonly hidden?: boolean;
6976
6527
  readonly when?: ReadonlyArray<{
6977
6528
  readonly key: string;
6978
6529
  readonly op: "eq" | "neq";
@@ -6996,6 +6547,7 @@ export type FormCreateInput = {
6996
6547
  readonly title?: string;
6997
6548
  readonly description?: string;
6998
6549
  readonly required?: boolean;
6550
+ readonly hidden?: boolean;
6999
6551
  readonly when?: ReadonlyArray<{
7000
6552
  readonly key: string;
7001
6553
  readonly op: "eq" | "neq";
@@ -7010,6 +6562,7 @@ export type FormCreateInput = {
7010
6562
  readonly title?: string;
7011
6563
  readonly description?: string;
7012
6564
  readonly required?: boolean;
6565
+ readonly hidden?: boolean;
7013
6566
  readonly when?: ReadonlyArray<{
7014
6567
  readonly key: string;
7015
6568
  readonly op: "eq" | "neq";
@@ -7024,6 +6577,7 @@ export type FormCreateInput = {
7024
6577
  readonly title?: string;
7025
6578
  readonly description?: string;
7026
6579
  readonly required?: boolean;
6580
+ readonly hidden?: boolean;
7027
6581
  readonly when?: ReadonlyArray<{
7028
6582
  readonly key: string;
7029
6583
  readonly op: "eq" | "neq";
@@ -7036,6 +6590,7 @@ export type FormCreateInput = {
7036
6590
  readonly title?: string;
7037
6591
  readonly description?: string;
7038
6592
  readonly required?: boolean;
6593
+ readonly hidden?: boolean;
7039
6594
  readonly when?: ReadonlyArray<{
7040
6595
  readonly key: string;
7041
6596
  readonly op: "eq" | "neq";
@@ -7063,6 +6618,7 @@ export type FormCreateInput = {
7063
6618
  readonly title?: string;
7064
6619
  readonly description?: string;
7065
6620
  readonly required?: boolean;
6621
+ readonly hidden?: boolean;
7066
6622
  readonly when?: ReadonlyArray<{
7067
6623
  readonly key: string;
7068
6624
  readonly op: "eq" | "neq";
@@ -7086,6 +6642,7 @@ export type FormCreateInput = {
7086
6642
  readonly title?: string;
7087
6643
  readonly description?: string;
7088
6644
  readonly required?: boolean;
6645
+ readonly hidden?: boolean;
7089
6646
  readonly when?: ReadonlyArray<{
7090
6647
  readonly key: string;
7091
6648
  readonly op: "eq" | "neq";
@@ -7100,6 +6657,7 @@ export type FormCreateInput = {
7100
6657
  readonly title?: string;
7101
6658
  readonly description?: string;
7102
6659
  readonly required?: boolean;
6660
+ readonly hidden?: boolean;
7103
6661
  readonly when?: ReadonlyArray<{
7104
6662
  readonly key: string;
7105
6663
  readonly op: "eq" | "neq";
@@ -7114,6 +6672,7 @@ export type FormCreateInput = {
7114
6672
  readonly title?: string;
7115
6673
  readonly description?: string;
7116
6674
  readonly required?: boolean;
6675
+ readonly hidden?: boolean;
7117
6676
  readonly when?: ReadonlyArray<{
7118
6677
  readonly key: string;
7119
6678
  readonly op: "eq" | "neq";
@@ -7126,6 +6685,7 @@ export type FormCreateInput = {
7126
6685
  readonly title?: string;
7127
6686
  readonly description?: string;
7128
6687
  readonly required?: boolean;
6688
+ readonly hidden?: boolean;
7129
6689
  readonly when?: ReadonlyArray<{
7130
6690
  readonly key: string;
7131
6691
  readonly op: "eq" | "neq";
@@ -7162,6 +6722,7 @@ export type FormCreateInput = {
7162
6722
  readonly title?: string;
7163
6723
  readonly description?: string;
7164
6724
  readonly required?: boolean;
6725
+ readonly hidden?: boolean;
7165
6726
  readonly when?: ReadonlyArray<{
7166
6727
  readonly key: string;
7167
6728
  readonly op: "eq" | "neq";
@@ -7185,6 +6746,7 @@ export type FormCreateInput = {
7185
6746
  readonly title?: string;
7186
6747
  readonly description?: string;
7187
6748
  readonly required?: boolean;
6749
+ readonly hidden?: boolean;
7188
6750
  readonly when?: ReadonlyArray<{
7189
6751
  readonly key: string;
7190
6752
  readonly op: "eq" | "neq";
@@ -7199,6 +6761,7 @@ export type FormCreateInput = {
7199
6761
  readonly title?: string;
7200
6762
  readonly description?: string;
7201
6763
  readonly required?: boolean;
6764
+ readonly hidden?: boolean;
7202
6765
  readonly when?: ReadonlyArray<{
7203
6766
  readonly key: string;
7204
6767
  readonly op: "eq" | "neq";
@@ -7213,6 +6776,7 @@ export type FormCreateInput = {
7213
6776
  readonly title?: string;
7214
6777
  readonly description?: string;
7215
6778
  readonly required?: boolean;
6779
+ readonly hidden?: boolean;
7216
6780
  readonly when?: ReadonlyArray<{
7217
6781
  readonly key: string;
7218
6782
  readonly op: "eq" | "neq";
@@ -7225,6 +6789,7 @@ export type FormCreateInput = {
7225
6789
  readonly title?: string;
7226
6790
  readonly description?: string;
7227
6791
  readonly required?: boolean;
6792
+ readonly hidden?: boolean;
7228
6793
  readonly when?: ReadonlyArray<{
7229
6794
  readonly key: string;
7230
6795
  readonly op: "eq" | "neq";
@@ -7252,6 +6817,7 @@ export type FormCreateInput = {
7252
6817
  readonly title?: string;
7253
6818
  readonly description?: string;
7254
6819
  readonly required?: boolean;
6820
+ readonly hidden?: boolean;
7255
6821
  readonly when?: ReadonlyArray<{
7256
6822
  readonly key: string;
7257
6823
  readonly op: "eq" | "neq";
@@ -7275,6 +6841,7 @@ export type FormCreateInput = {
7275
6841
  readonly title?: string;
7276
6842
  readonly description?: string;
7277
6843
  readonly required?: boolean;
6844
+ readonly hidden?: boolean;
7278
6845
  readonly when?: ReadonlyArray<{
7279
6846
  readonly key: string;
7280
6847
  readonly op: "eq" | "neq";
@@ -7289,6 +6856,7 @@ export type FormCreateInput = {
7289
6856
  readonly title?: string;
7290
6857
  readonly description?: string;
7291
6858
  readonly required?: boolean;
6859
+ readonly hidden?: boolean;
7292
6860
  readonly when?: ReadonlyArray<{
7293
6861
  readonly key: string;
7294
6862
  readonly op: "eq" | "neq";
@@ -7303,6 +6871,7 @@ export type FormCreateInput = {
7303
6871
  readonly title?: string;
7304
6872
  readonly description?: string;
7305
6873
  readonly required?: boolean;
6874
+ readonly hidden?: boolean;
7306
6875
  readonly when?: ReadonlyArray<{
7307
6876
  readonly key: string;
7308
6877
  readonly op: "eq" | "neq";
@@ -7315,6 +6884,7 @@ export type FormCreateInput = {
7315
6884
  readonly title?: string;
7316
6885
  readonly description?: string;
7317
6886
  readonly required?: boolean;
6887
+ readonly hidden?: boolean;
7318
6888
  readonly when?: ReadonlyArray<{
7319
6889
  readonly key: string;
7320
6890
  readonly op: "eq" | "neq";
@@ -7340,62 +6910,572 @@ export type FormCreateInput = {
7340
6910
  ];
7341
6911
  }["fields"];
7342
6912
  };
7343
- export type FormCreateOutput = {
7344
- data: FormInfo;
7345
- }["data"];
7346
- export type FormGetInput = {
7347
- readonly sessionID: {
7348
- readonly sessionID: string;
7349
- readonly formID: string;
7350
- }["sessionID"];
7351
- readonly formID: {
7352
- readonly sessionID: string;
7353
- readonly formID: string;
7354
- }["formID"];
6913
+ export type SessionFormCreateOutput = {
6914
+ data: FormInfo;
6915
+ }["data"];
6916
+ export type SessionFormGetInput = {
6917
+ readonly sessionID: {
6918
+ readonly sessionID: string;
6919
+ readonly formID: string;
6920
+ }["sessionID"];
6921
+ readonly formID: {
6922
+ readonly sessionID: string;
6923
+ readonly formID: string;
6924
+ }["formID"];
6925
+ };
6926
+ export type SessionFormGetOutput = {
6927
+ data: FormDetail;
6928
+ }["data"];
6929
+ export type SessionFormReplyInput = {
6930
+ readonly sessionID: {
6931
+ readonly sessionID: string;
6932
+ readonly formID: string;
6933
+ }["sessionID"];
6934
+ readonly formID: {
6935
+ readonly sessionID: string;
6936
+ readonly formID: string;
6937
+ }["formID"];
6938
+ readonly answer: {
6939
+ readonly answer: {
6940
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6941
+ };
6942
+ }["answer"];
6943
+ };
6944
+ export type SessionFormReplyOutput = void;
6945
+ export type SessionFormCancelInput = {
6946
+ readonly sessionID: {
6947
+ readonly sessionID: string;
6948
+ readonly formID: string;
6949
+ }["sessionID"];
6950
+ readonly formID: {
6951
+ readonly sessionID: string;
6952
+ readonly formID: string;
6953
+ }["formID"];
6954
+ };
6955
+ export type SessionFormCancelOutput = void;
6956
+ export type SessionEnvironmentInput = {
6957
+ readonly sessionID: {
6958
+ readonly sessionID: string;
6959
+ }["sessionID"];
6960
+ readonly variables: {
6961
+ readonly variables: {
6962
+ readonly [x: string]: string;
6963
+ };
6964
+ }["variables"];
6965
+ };
6966
+ export type SessionEnvironmentOutput = void;
6967
+ export type SessionViewInput = {
6968
+ readonly sessionID: {
6969
+ readonly sessionID: string;
6970
+ }["sessionID"];
6971
+ readonly idle: {
6972
+ readonly idle: number;
6973
+ }["idle"];
6974
+ };
6975
+ export type SessionViewOutput = void;
6976
+ export type MessageListInput = {
6977
+ readonly sessionID: {
6978
+ readonly sessionID: string;
6979
+ }["sessionID"];
6980
+ readonly limit?: {
6981
+ readonly limit?: number | undefined;
6982
+ readonly order?: "asc" | "desc" | undefined;
6983
+ readonly cursor?: string | undefined;
6984
+ readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6985
+ }["limit"];
6986
+ readonly order?: {
6987
+ readonly limit?: number | undefined;
6988
+ readonly order?: "asc" | "desc" | undefined;
6989
+ readonly cursor?: string | undefined;
6990
+ readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6991
+ }["order"];
6992
+ readonly cursor?: {
6993
+ readonly limit?: number | undefined;
6994
+ readonly order?: "asc" | "desc" | undefined;
6995
+ readonly cursor?: string | undefined;
6996
+ readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
6997
+ }["cursor"];
6998
+ readonly type?: {
6999
+ readonly limit?: number | undefined;
7000
+ readonly order?: "asc" | "desc" | undefined;
7001
+ readonly cursor?: string | undefined;
7002
+ readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | undefined;
7003
+ }["type"];
7004
+ };
7005
+ export type MessageListOutput = SessionMessagesResponse;
7006
+ export type ModelListInput = {
7007
+ readonly location?: {
7008
+ readonly location?: {
7009
+ readonly directory?: string | undefined;
7010
+ } | undefined;
7011
+ }["location"];
7012
+ };
7013
+ export type ModelListOutput = {
7014
+ location: LocationPublicRef;
7015
+ data: Array<ModelInfo>;
7016
+ };
7017
+ export type ModelDefaultInput = {
7018
+ readonly location?: {
7019
+ readonly location?: {
7020
+ readonly directory?: string | undefined;
7021
+ } | undefined;
7022
+ }["location"];
7023
+ };
7024
+ export type ModelDefaultOutput = {
7025
+ location: LocationPublicRef;
7026
+ data: ModelInfo | null;
7027
+ };
7028
+ export type GenerateTextInput = {
7029
+ readonly prompt: {
7030
+ readonly prompt: string;
7031
+ readonly model?: {
7032
+ readonly id: string;
7033
+ readonly providerID: string;
7034
+ readonly variant?: string;
7035
+ } | null;
7036
+ }["prompt"];
7037
+ readonly model?: {
7038
+ readonly prompt: string;
7039
+ readonly model?: {
7040
+ readonly id: string;
7041
+ readonly providerID: string;
7042
+ readonly variant?: string;
7043
+ } | null;
7044
+ }["model"];
7045
+ };
7046
+ export type GenerateTextOutput = GenerateTextResponse["data"];
7047
+ export type ProviderListInput = {
7048
+ readonly location?: {
7049
+ readonly location?: {
7050
+ readonly directory?: string | undefined;
7051
+ } | undefined;
7052
+ }["location"];
7053
+ };
7054
+ export type ProviderListOutput = {
7055
+ location: LocationPublicRef;
7056
+ data: Array<ProviderInfo>;
7057
+ };
7058
+ export type ProviderGetInput = {
7059
+ readonly providerID: {
7060
+ readonly providerID: string;
7061
+ }["providerID"];
7062
+ readonly location?: {
7063
+ readonly location?: {
7064
+ readonly directory?: string | undefined;
7065
+ } | undefined;
7066
+ }["location"];
7067
+ };
7068
+ export type ProviderGetOutput = {
7069
+ location: LocationPublicRef;
7070
+ data: ProviderInfo;
7071
+ };
7072
+ export type IntegrationListInput = {
7073
+ readonly location?: {
7074
+ readonly location?: {
7075
+ readonly directory?: string | undefined;
7076
+ } | undefined;
7077
+ }["location"];
7078
+ };
7079
+ export type IntegrationListOutput = {
7080
+ location: LocationPublicRef;
7081
+ data: Array<IntegrationInfo>;
7082
+ };
7083
+ export type IntegrationGetInput = {
7084
+ readonly integrationID: {
7085
+ readonly integrationID: string;
7086
+ }["integrationID"];
7087
+ readonly location?: {
7088
+ readonly location?: {
7089
+ readonly directory?: string | undefined;
7090
+ } | undefined;
7091
+ }["location"];
7092
+ };
7093
+ export type IntegrationGetOutput = {
7094
+ location: LocationPublicRef;
7095
+ data: IntegrationInfo;
7096
+ };
7097
+ export type IntegrationWellknownAddInput = {
7098
+ readonly location?: {
7099
+ readonly location?: {
7100
+ readonly directory?: string | undefined;
7101
+ } | undefined;
7102
+ }["location"];
7103
+ readonly url: {
7104
+ readonly url: string;
7105
+ }["url"];
7106
+ };
7107
+ export type IntegrationWellknownAddOutput = void;
7108
+ export type IntegrationConnectKeyInput = {
7109
+ readonly integrationID: {
7110
+ readonly integrationID: string;
7111
+ }["integrationID"];
7112
+ readonly location?: {
7113
+ readonly location?: {
7114
+ readonly directory?: string | undefined;
7115
+ } | undefined;
7116
+ }["location"];
7117
+ readonly key: {
7118
+ readonly key: string;
7119
+ readonly answer?: {
7120
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
7121
+ } | undefined;
7122
+ readonly label?: string | undefined;
7123
+ }["key"];
7124
+ readonly answer?: {
7125
+ readonly key: string;
7126
+ readonly answer?: {
7127
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
7128
+ } | undefined;
7129
+ readonly label?: string | undefined;
7130
+ }["answer"];
7131
+ readonly label?: {
7132
+ readonly key: string;
7133
+ readonly answer?: {
7134
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
7135
+ } | undefined;
7136
+ readonly label?: string | undefined;
7137
+ }["label"];
7138
+ };
7139
+ export type IntegrationConnectKeyOutput = void;
7140
+ export type IntegrationOauthConnectInput = {
7141
+ readonly integrationID: {
7142
+ readonly integrationID: string;
7143
+ }["integrationID"];
7144
+ readonly location?: {
7145
+ readonly location?: {
7146
+ readonly directory?: string | undefined;
7147
+ } | undefined;
7148
+ }["location"];
7149
+ readonly methodID: {
7150
+ readonly methodID: string;
7151
+ readonly answer?: {
7152
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
7153
+ } | undefined;
7154
+ readonly label?: string | undefined;
7155
+ }["methodID"];
7156
+ readonly answer?: {
7157
+ readonly methodID: string;
7158
+ readonly answer?: {
7159
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
7160
+ } | undefined;
7161
+ readonly label?: string | undefined;
7162
+ }["answer"];
7163
+ readonly label?: {
7164
+ readonly methodID: string;
7165
+ readonly answer?: {
7166
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
7167
+ } | undefined;
7168
+ readonly label?: string | undefined;
7169
+ }["label"];
7170
+ };
7171
+ export type IntegrationOauthConnectOutput = {
7172
+ location: LocationPublicRef;
7173
+ data: IntegrationAttempt;
7174
+ };
7175
+ export type IntegrationOauthStatusInput = {
7176
+ readonly integrationID: {
7177
+ readonly integrationID: string;
7178
+ readonly attemptID: string;
7179
+ }["integrationID"];
7180
+ readonly attemptID: {
7181
+ readonly integrationID: string;
7182
+ readonly attemptID: string;
7183
+ }["attemptID"];
7184
+ readonly location?: {
7185
+ readonly location?: {
7186
+ readonly directory?: string | undefined;
7187
+ } | undefined;
7188
+ }["location"];
7189
+ };
7190
+ export type IntegrationOauthStatusOutput = {
7191
+ location: LocationPublicRef;
7192
+ data: IntegrationAttemptStatus;
7193
+ };
7194
+ export type IntegrationOauthCompleteInput = {
7195
+ readonly integrationID: {
7196
+ readonly integrationID: string;
7197
+ readonly attemptID: string;
7198
+ }["integrationID"];
7199
+ readonly attemptID: {
7200
+ readonly integrationID: string;
7201
+ readonly attemptID: string;
7202
+ }["attemptID"];
7203
+ readonly location?: {
7204
+ readonly location?: {
7205
+ readonly directory?: string | undefined;
7206
+ } | undefined;
7207
+ }["location"];
7208
+ readonly code?: {
7209
+ readonly code?: string | undefined;
7210
+ }["code"];
7211
+ };
7212
+ export type IntegrationOauthCompleteOutput = void;
7213
+ export type IntegrationOauthCancelInput = {
7214
+ readonly integrationID: {
7215
+ readonly integrationID: string;
7216
+ readonly attemptID: string;
7217
+ }["integrationID"];
7218
+ readonly attemptID: {
7219
+ readonly integrationID: string;
7220
+ readonly attemptID: string;
7221
+ }["attemptID"];
7222
+ readonly location?: {
7223
+ readonly location?: {
7224
+ readonly directory?: string | undefined;
7225
+ } | undefined;
7226
+ }["location"];
7227
+ };
7228
+ export type IntegrationOauthCancelOutput = void;
7229
+ export type IntegrationCommandConnectInput = {
7230
+ readonly integrationID: {
7231
+ readonly integrationID: string;
7232
+ }["integrationID"];
7233
+ readonly location?: {
7234
+ readonly location?: {
7235
+ readonly directory?: string | undefined;
7236
+ } | undefined;
7237
+ }["location"];
7238
+ readonly methodID: {
7239
+ readonly methodID: string;
7240
+ readonly label?: string | undefined;
7241
+ }["methodID"];
7242
+ readonly label?: {
7243
+ readonly methodID: string;
7244
+ readonly label?: string | undefined;
7245
+ }["label"];
7246
+ };
7247
+ export type IntegrationCommandConnectOutput = {
7248
+ location: LocationPublicRef;
7249
+ data: IntegrationCommandAttempt;
7250
+ };
7251
+ export type IntegrationCommandStatusInput = {
7252
+ readonly integrationID: {
7253
+ readonly integrationID: string;
7254
+ readonly attemptID: string;
7255
+ }["integrationID"];
7256
+ readonly attemptID: {
7257
+ readonly integrationID: string;
7258
+ readonly attemptID: string;
7259
+ }["attemptID"];
7260
+ readonly location?: {
7261
+ readonly location?: {
7262
+ readonly directory?: string | undefined;
7263
+ } | undefined;
7264
+ }["location"];
7265
+ };
7266
+ export type IntegrationCommandStatusOutput = {
7267
+ location: LocationPublicRef;
7268
+ data: IntegrationCommandAttemptStatus;
7269
+ };
7270
+ export type IntegrationCommandCancelInput = {
7271
+ readonly integrationID: {
7272
+ readonly integrationID: string;
7273
+ readonly attemptID: string;
7274
+ }["integrationID"];
7275
+ readonly attemptID: {
7276
+ readonly integrationID: string;
7277
+ readonly attemptID: string;
7278
+ }["attemptID"];
7279
+ readonly location?: {
7280
+ readonly location?: {
7281
+ readonly directory?: string | undefined;
7282
+ } | undefined;
7283
+ }["location"];
7284
+ };
7285
+ export type IntegrationCommandCancelOutput = void;
7286
+ export type McpListInput = {
7287
+ readonly location?: {
7288
+ readonly location?: {
7289
+ readonly directory?: string | undefined;
7290
+ } | undefined;
7291
+ }["location"];
7292
+ };
7293
+ export type McpListOutput = {
7294
+ location: LocationPublicRef;
7295
+ data: Array<McpServer>;
7355
7296
  };
7356
- export type FormGetOutput = {
7357
- data: FormInfo;
7358
- }["data"];
7359
- export type FormStateInput = {
7360
- readonly sessionID: {
7361
- readonly sessionID: string;
7362
- readonly formID: string;
7363
- }["sessionID"];
7364
- readonly formID: {
7365
- readonly sessionID: string;
7366
- readonly formID: string;
7367
- }["formID"];
7297
+ export type McpAddInput = {
7298
+ readonly server: {
7299
+ readonly server: string;
7300
+ }["server"];
7301
+ readonly location?: {
7302
+ readonly location?: {
7303
+ readonly directory?: string | undefined;
7304
+ } | undefined;
7305
+ }["location"];
7306
+ readonly config: {
7307
+ readonly config: {
7308
+ readonly type: "local";
7309
+ readonly command: ReadonlyArray<string>;
7310
+ readonly cwd?: string;
7311
+ readonly environment?: {
7312
+ readonly [x: string]: string;
7313
+ };
7314
+ readonly disabled?: boolean;
7315
+ readonly codemode?: boolean;
7316
+ readonly timeout?: {
7317
+ readonly startup?: number;
7318
+ readonly catalog?: number;
7319
+ readonly execution?: number;
7320
+ };
7321
+ readonly protocol?: "legacy" | "auto" | "2026-07-28";
7322
+ } | {
7323
+ readonly type: "remote";
7324
+ readonly url: string;
7325
+ readonly headers?: {
7326
+ readonly [x: string]: string;
7327
+ };
7328
+ readonly oauth?: {
7329
+ readonly client_id?: string;
7330
+ readonly client_secret?: string;
7331
+ readonly scope?: string;
7332
+ readonly callback_port?: number;
7333
+ readonly redirect_uri?: string;
7334
+ readonly auth_server_metadata_url?: string;
7335
+ } | false;
7336
+ readonly disabled?: boolean;
7337
+ readonly codemode?: boolean;
7338
+ readonly timeout?: {
7339
+ readonly startup?: number;
7340
+ readonly catalog?: number;
7341
+ readonly execution?: number;
7342
+ };
7343
+ readonly protocol?: "legacy" | "auto" | "2026-07-28";
7344
+ };
7345
+ }["config"];
7368
7346
  };
7369
- export type FormStateOutput = {
7370
- data: FormState;
7371
- }["data"];
7372
- export type FormReplyInput = {
7373
- readonly sessionID: {
7374
- readonly sessionID: string;
7375
- readonly formID: string;
7376
- }["sessionID"];
7377
- readonly formID: {
7378
- readonly sessionID: string;
7379
- readonly formID: string;
7380
- }["formID"];
7381
- readonly answer: {
7382
- readonly answer: {
7383
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
7347
+ export type McpAddOutput = void;
7348
+ export type McpRemoveInput = {
7349
+ readonly server: {
7350
+ readonly server: string;
7351
+ }["server"];
7352
+ readonly location?: {
7353
+ readonly location?: {
7354
+ readonly directory?: string | undefined;
7355
+ } | undefined;
7356
+ }["location"];
7357
+ };
7358
+ export type McpRemoveOutput = void;
7359
+ export type McpConnectInput = {
7360
+ readonly server: {
7361
+ readonly server: string;
7362
+ }["server"];
7363
+ readonly location?: {
7364
+ readonly location?: {
7365
+ readonly directory?: string | undefined;
7366
+ } | undefined;
7367
+ }["location"];
7368
+ };
7369
+ export type McpConnectOutput = void;
7370
+ export type McpDisconnectInput = {
7371
+ readonly server: {
7372
+ readonly server: string;
7373
+ }["server"];
7374
+ readonly location?: {
7375
+ readonly location?: {
7376
+ readonly directory?: string | undefined;
7377
+ } | undefined;
7378
+ }["location"];
7379
+ };
7380
+ export type McpDisconnectOutput = void;
7381
+ export type McpResourceCatalogInput = {
7382
+ readonly location?: {
7383
+ readonly location?: {
7384
+ readonly directory?: string | undefined;
7385
+ } | undefined;
7386
+ }["location"];
7387
+ };
7388
+ export type McpResourceCatalogOutput = {
7389
+ location: LocationPublicRef;
7390
+ data: McpResourceCatalog;
7391
+ };
7392
+ export type CredentialUpdateInput = {
7393
+ readonly credentialID: {
7394
+ readonly credentialID: string;
7395
+ }["credentialID"];
7396
+ readonly label: {
7397
+ readonly label: string;
7398
+ }["label"];
7399
+ };
7400
+ export type CredentialUpdateOutput = void;
7401
+ export type CredentialActivateInput = {
7402
+ readonly credentialID: {
7403
+ readonly credentialID: string;
7404
+ }["credentialID"];
7405
+ };
7406
+ export type CredentialActivateOutput = void;
7407
+ export type CredentialRemoveInput = {
7408
+ readonly credentialID: {
7409
+ readonly credentialID: string;
7410
+ }["credentialID"];
7411
+ };
7412
+ export type CredentialRemoveOutput = void;
7413
+ export type ProjectListOutput = Array<Project>;
7414
+ export type ProjectUpdateInput = {
7415
+ readonly projectID: {
7416
+ readonly projectID: string;
7417
+ }["projectID"];
7418
+ readonly canonical?: {
7419
+ readonly canonical?: string;
7420
+ readonly name?: string;
7421
+ readonly icon?: {
7422
+ readonly url?: string;
7423
+ readonly override?: string;
7424
+ readonly color?: string;
7384
7425
  };
7385
- }["answer"];
7426
+ readonly commands?: {
7427
+ readonly start?: string;
7428
+ };
7429
+ }["canonical"];
7430
+ readonly name?: {
7431
+ readonly canonical?: string;
7432
+ readonly name?: string;
7433
+ readonly icon?: {
7434
+ readonly url?: string;
7435
+ readonly override?: string;
7436
+ readonly color?: string;
7437
+ };
7438
+ readonly commands?: {
7439
+ readonly start?: string;
7440
+ };
7441
+ }["name"];
7442
+ readonly icon?: {
7443
+ readonly canonical?: string;
7444
+ readonly name?: string;
7445
+ readonly icon?: {
7446
+ readonly url?: string;
7447
+ readonly override?: string;
7448
+ readonly color?: string;
7449
+ };
7450
+ readonly commands?: {
7451
+ readonly start?: string;
7452
+ };
7453
+ }["icon"];
7454
+ readonly commands?: {
7455
+ readonly canonical?: string;
7456
+ readonly name?: string;
7457
+ readonly icon?: {
7458
+ readonly url?: string;
7459
+ readonly override?: string;
7460
+ readonly color?: string;
7461
+ };
7462
+ readonly commands?: {
7463
+ readonly start?: string;
7464
+ };
7465
+ }["commands"];
7386
7466
  };
7387
- export type FormReplyOutput = void;
7388
- export type FormCancelInput = {
7389
- readonly sessionID: {
7390
- readonly sessionID: string;
7391
- readonly formID: string;
7392
- }["sessionID"];
7393
- readonly formID: {
7394
- readonly sessionID: string;
7395
- readonly formID: string;
7396
- }["formID"];
7467
+ export type ProjectUpdateOutput = Project;
7468
+ export type FormListInput = {
7469
+ readonly location?: {
7470
+ readonly location?: {
7471
+ readonly directory?: string | undefined;
7472
+ } | undefined;
7473
+ }["location"];
7474
+ };
7475
+ export type FormListOutput = {
7476
+ location: LocationPublicRef;
7477
+ data: Array<FormInfo>;
7397
7478
  };
7398
- export type FormCancelOutput = void;
7399
7479
  export type PermissionRequestListInput = {
7400
7480
  readonly location?: {
7401
7481
  readonly location?: {
@@ -7567,29 +7647,16 @@ export type PermissionReplyInput = {
7567
7647
  readonly sessionID: string;
7568
7648
  readonly requestID: string;
7569
7649
  }["requestID"];
7570
- readonly reply: {
7571
- readonly reply: "once" | "always" | "reject";
7650
+ readonly decision: {
7651
+ readonly decision: "once" | "always" | "reject";
7572
7652
  readonly message?: string | undefined;
7573
- }["reply"];
7653
+ }["decision"];
7574
7654
  readonly message?: {
7575
- readonly reply: "once" | "always" | "reject";
7655
+ readonly decision: "once" | "always" | "reject";
7576
7656
  readonly message?: string | undefined;
7577
7657
  }["message"];
7578
7658
  };
7579
7659
  export type PermissionReplyOutput = void;
7580
- export type PermissionRulesInput = {
7581
- readonly sessionID: {
7582
- readonly sessionID: string;
7583
- }["sessionID"];
7584
- readonly permissions: {
7585
- readonly permissions: ReadonlyArray<{
7586
- readonly action: string;
7587
- readonly resource: string;
7588
- readonly effect: "allow" | "deny" | "ask";
7589
- }>;
7590
- }["permissions"];
7591
- };
7592
- export type PermissionRulesOutput = void;
7593
7660
  export type FileReadInput = {
7594
7661
  readonly location?: {
7595
7662
  readonly location?: {
@@ -7655,6 +7722,25 @@ export type FileFindOutput = {
7655
7722
  location: LocationPublicRef;
7656
7723
  data: Array<FileSystemEntry>;
7657
7724
  };
7725
+ export type FileWriteInput = {
7726
+ readonly location?: {
7727
+ readonly location?: {
7728
+ readonly directory?: string | undefined;
7729
+ } | undefined;
7730
+ readonly path: string;
7731
+ }["location"];
7732
+ readonly path: {
7733
+ readonly location?: {
7734
+ readonly directory?: string | undefined;
7735
+ } | undefined;
7736
+ readonly path: string;
7737
+ }["path"];
7738
+ readonly payload: globalThis.Uint8Array;
7739
+ };
7740
+ export type FileWriteOutput = {
7741
+ location: LocationPublicRef;
7742
+ data: FileSystemWrite;
7743
+ };
7658
7744
  export type CommandListInput = {
7659
7745
  readonly location?: {
7660
7746
  readonly location?: {
@@ -8018,7 +8104,7 @@ export type ShellCreateInput = {
8018
8104
  readonly command: {
8019
8105
  readonly command: string;
8020
8106
  readonly cwd?: string;
8021
- readonly timeout: number;
8107
+ readonly timeout?: number;
8022
8108
  readonly metadata?: {
8023
8109
  readonly [x: string]: JsonValue;
8024
8110
  };
@@ -8026,15 +8112,15 @@ export type ShellCreateInput = {
8026
8112
  readonly cwd?: {
8027
8113
  readonly command: string;
8028
8114
  readonly cwd?: string;
8029
- readonly timeout: number;
8115
+ readonly timeout?: number;
8030
8116
  readonly metadata?: {
8031
8117
  readonly [x: string]: JsonValue;
8032
8118
  };
8033
8119
  }["cwd"];
8034
- readonly timeout: {
8120
+ readonly timeout?: {
8035
8121
  readonly command: string;
8036
8122
  readonly cwd?: string;
8037
- readonly timeout: number;
8123
+ readonly timeout?: number;
8038
8124
  readonly metadata?: {
8039
8125
  readonly [x: string]: JsonValue;
8040
8126
  };
@@ -8042,7 +8128,7 @@ export type ShellCreateInput = {
8042
8128
  readonly metadata?: {
8043
8129
  readonly command: string;
8044
8130
  readonly cwd?: string;
8045
- readonly timeout: number;
8131
+ readonly timeout?: number;
8046
8132
  readonly metadata?: {
8047
8133
  readonly [x: string]: JsonValue;
8048
8134
  };
@@ -8066,23 +8152,6 @@ export type ShellGetOutput = {
8066
8152
  location: LocationPublicRef;
8067
8153
  data: ShellInfo1;
8068
8154
  };
8069
- export type ShellTimeoutInput = {
8070
- readonly id: {
8071
- readonly id: string;
8072
- }["id"];
8073
- readonly location?: {
8074
- readonly location?: {
8075
- readonly directory?: string | undefined;
8076
- } | undefined;
8077
- }["location"];
8078
- readonly timeout: {
8079
- readonly timeout: number;
8080
- }["timeout"];
8081
- };
8082
- export type ShellTimeoutOutput = {
8083
- location: LocationPublicRef;
8084
- data: ShellInfo1;
8085
- };
8086
8155
  export type ShellOutputInput = {
8087
8156
  readonly id: {
8088
8157
  readonly id: string;
@@ -8241,7 +8310,7 @@ export type VcsStatusOutput = {
8241
8310
  location: LocationPublicRef;
8242
8311
  data: Array<VcsFileStatus>;
8243
8312
  };
8244
- export type VcsBranchesInput = {
8313
+ export type VcsBranchListInput = {
8245
8314
  readonly location?: {
8246
8315
  readonly location?: {
8247
8316
  readonly directory?: string | undefined;
@@ -8264,7 +8333,7 @@ export type VcsBranchesInput = {
8264
8333
  readonly limit?: number | undefined;
8265
8334
  }["limit"];
8266
8335
  };
8267
- export type VcsBranchesOutput = {
8336
+ export type VcsBranchListOutput = {
8268
8337
  location: LocationPublicRef;
8269
8338
  data: VcsBranchList;
8270
8339
  };