@ycodium-ai/plugin-api 0.2.5939 → 0.2.5971

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.
@@ -54,7 +54,7 @@ type Union_16 = { readonly "phase": "handling" | "unanswered" | "direct", readon
54
54
  type ThreadContinuationCheck = { readonly "turnId": string, readonly "pluginIds": ReadonlyArray<string>, readonly "startedAt": string };
55
55
  type Union_17 = { readonly "step": string, readonly "completedSteps": number, readonly "totalSteps": number } | null | undefined;
56
56
  type Objects_41 = { readonly "machineId": string, readonly "name": string, readonly "online": boolean, readonly "serverVersion"?: string, readonly "wireProtocolVersion"?: number };
57
- type Objects_42 = { readonly "threadId": string, readonly "latestTurn": { readonly "turnId": string, readonly "state": "running" | "interrupted" | "completed" | "error" } | null, readonly "queue": ReadonlyArray<{ readonly "intentId": string, readonly "status": "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned", readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown", readonly "position": number, readonly "waitingForCapacity"?: true }>, readonly "truncated": boolean, readonly "queuePaused": boolean, readonly "pendingApprovalCount": number, readonly "pendingUserInputCount": number, readonly "continuation": "active" | "queued" | "blocked" | "paused" | "idle" };
57
+ type Objects_42 = { readonly "threadId": string, readonly "latestTurn": { readonly "turnId": string, readonly "state": "running" | "interrupted" | "completed" | "error" } | null, readonly "queue": ReadonlyArray<{ readonly "intentId": string, readonly "status": "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned", readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown", readonly "paused"?: true, readonly "position": number, readonly "waitingForCapacity"?: true }>, readonly "truncated": boolean, readonly "queuePaused": boolean, readonly "pendingApprovalCount": number, readonly "pendingUserInputCount": number, readonly "continuation": "active" | "queued" | "blocked" | "paused" | "idle" };
58
58
  type Union_18 = { readonly "original": string, readonly "steps": ReadonlyArray<{ readonly "pluginId": string, readonly "via": "before-send" | "slash-command", readonly "command"?: string | undefined }> } | undefined;
59
59
  type Objects_44 = { readonly "kind": "native-session", readonly "provider": string, readonly "sessionId": string, readonly "messageId": string, readonly "turnId"?: string | undefined, readonly "order": number };
60
60
  type Objects_45 = { readonly "kind": "user" };
@@ -262,41 +262,46 @@ type ThreadMembersSource = "implicit" | "explicit" | "line";
262
262
  type ThreadMemberInputMemberRef = { readonly "kind": "member", readonly "memberId": string };
263
263
  type ThreadMemberInputAccount = { readonly "kind": "account", readonly "userId": string };
264
264
  type ThreadMemberInputLocalOwner = { readonly "kind": "local-owner", readonly "environmentId": string };
265
+ type Objects_219 = { readonly "projectId": string };
266
+ type Objects_221 = { readonly "spaceId": string, readonly "projectId": string, readonly "name": string, readonly "excludePatterns": ReadonlyArray<string>, readonly "includedLargeFiles": ReadonlyArray<string>, readonly "headOid": string | null, readonly "openConflictCount": number, readonly "openConflicts": ReadonlyArray<{ readonly "conflictId": string, readonly "projectId": string, readonly "spaceId": string, readonly "kind": "both-modified" | "modify-delete" | "delete-modify" | "file-dir-conflict" | "dir-file-conflict", readonly "originalPath": string, readonly "copyPath": string | null, readonly "baseOid": string | null, readonly "homeOid": string | null, readonly "memberOid": string | null, readonly "homeMachineLabel": string, readonly "homeUpdatedAt": string, readonly "memberMachineLabel": string, readonly "memberUpdatedAt": string, readonly "status": "open" | "resolved", readonly "resolvedChoice"?: "keep-home" | "take-member" | "keep-both" | null, readonly "resolvedAt"?: string | null }>, readonly "createdAt": string, readonly "updatedAt": string };
267
+ type Objects_222 = { readonly "relativePath": string, readonly "reason": "busy" | "modified-during-stage" | "baseline-mismatch", readonly "recoveryPath"?: string | null };
268
+ type Objects_223 = { readonly "relativePath": string, readonly "size": number, readonly "previouslyTracked": boolean };
269
+ type Objects_224 = { readonly "projectId": string, readonly "spaceId"?: string };
265
270
  type ProjectMachineRemoval_3 = { readonly "environmentId": string, readonly "removalId": string };
266
- type Objects_220 = { readonly "sourceThreadId": string, readonly "sourceMessageId": string, readonly "sourceTurnNumber"?: number };
267
- type Objects_221 = { readonly "provider"?: unknown | undefined, readonly "instanceId"?: unknown | undefined, readonly "model": unknown, readonly "options"?: unknown | undefined };
271
+ type Objects_227 = { readonly "sourceThreadId": string, readonly "sourceMessageId": string, readonly "sourceTurnNumber"?: number };
272
+ type Objects_228 = { readonly "provider"?: unknown | undefined, readonly "instanceId"?: unknown | undefined, readonly "model": unknown, readonly "options"?: unknown | undefined };
268
273
  type Union_69 = ReadonlyArray<string> | undefined;
269
- type Objects_223 = { readonly "parentThreadId": string, readonly "delegationDepth": number, readonly "requestedBy": "agent" | "continuation" | "person", readonly "notificationPolicy"?: "wake" | "activity-only" | undefined };
274
+ type Objects_230 = { readonly "parentThreadId": string, readonly "delegationDepth": number, readonly "requestedBy": "agent" | "continuation" | "person", readonly "notificationPolicy"?: "wake" | "activity-only" | undefined };
270
275
  type ThreadMemberRef_1 = { readonly "kind": "member", readonly "memberId": string } | { readonly "kind": "person", readonly "person": { readonly "kind": "account", readonly "userId": string } | { readonly "kind": "local-owner", readonly "environmentId": string } } | { readonly "kind": "thread", readonly "environmentId": string, readonly "threadId": string };
271
- type Objects_224 = { readonly "userId": string, readonly "displayName": string };
276
+ type Objects_231 = { readonly "userId": string, readonly "displayName": string };
272
277
  type ThreadCreatorAccount_1 = { readonly "kind": "account", readonly "userId": string };
273
278
  type ThreadCreatorLocalOwner_1 = { readonly "kind": "local-owner", readonly "environmentId": string };
274
- type Objects_225 = { readonly "kind": "approval" | "userInput", readonly "requestId": string, readonly "startedAt": string, readonly "completedAt": string | null, readonly "waitingForYouStartedAt"?: string | null | undefined };
275
- type Objects_226 = { readonly "requestId": string, readonly "startedAt": string };
276
- type Objects_227 = { readonly "source": "manual" | "generated", readonly "version": string, readonly "needsRefinement": boolean };
279
+ type Objects_232 = { readonly "kind": "approval" | "userInput", readonly "requestId": string, readonly "startedAt": string, readonly "completedAt": string | null, readonly "waitingForYouStartedAt"?: string | null | undefined };
280
+ type Objects_233 = { readonly "requestId": string, readonly "startedAt": string };
281
+ type Objects_234 = { readonly "source": "manual" | "generated", readonly "version": string, readonly "needsRefinement": boolean };
277
282
  type Union_78 = { readonly "phase": "handling" | "unanswered" | "direct", readonly "parentThreadId": string } | undefined;
278
283
  type ThreadContinuationCheck_1 = { readonly "turnId": string, readonly "pluginIds": ReadonlyArray<string>, readonly "startedAt": string };
279
284
  type Union_79 = { readonly "step": string, readonly "completedSteps": number, readonly "totalSteps": number } | null | undefined;
280
- type Objects_230 = { readonly "machineId": string, readonly "name": string, readonly "online": boolean, readonly "serverVersion"?: string, readonly "wireProtocolVersion"?: number };
285
+ type Objects_237 = { readonly "machineId": string, readonly "name": string, readonly "online": boolean, readonly "serverVersion"?: string, readonly "wireProtocolVersion"?: number };
281
286
  type Union_80 = { readonly "original": string, readonly "steps": ReadonlyArray<{ readonly "pluginId": string, readonly "via": "before-send" | "slash-command", readonly "command"?: string | undefined }> } | undefined;
282
- type Objects_232 = { readonly "kind": "native-session", readonly "provider": string, readonly "sessionId": string, readonly "messageId": string, readonly "turnId"?: string | undefined, readonly "order": number };
283
- type Objects_233 = { readonly "kind": "schedule", readonly "scheduleId": string, readonly "name": string, readonly "pluginId"?: string };
284
- type Objects_234 = { readonly "kind": "scheduled-wake", readonly "wakeId": string, readonly "dueAt": string, readonly "note": string };
285
- type Objects_235 = { readonly "kind": "record", readonly "recordId": string };
286
- type Objects_236 = { readonly "kind": "session", readonly "threadId": string, readonly "turnId"?: string | undefined };
287
- type Objects_237 = { readonly "kind": "reply", readonly "recordId": string };
288
- type Objects_238 = { readonly "kind": "child-report", readonly "childThreadId": string, readonly "outcome": "settled" | "failed" | null };
287
+ type Objects_239 = { readonly "kind": "native-session", readonly "provider": string, readonly "sessionId": string, readonly "messageId": string, readonly "turnId"?: string | undefined, readonly "order": number };
288
+ type Objects_240 = { readonly "kind": "schedule", readonly "scheduleId": string, readonly "name": string, readonly "pluginId"?: string };
289
+ type Objects_241 = { readonly "kind": "scheduled-wake", readonly "wakeId": string, readonly "dueAt": string, readonly "note": string };
290
+ type Objects_242 = { readonly "kind": "record", readonly "recordId": string };
291
+ type Objects_243 = { readonly "kind": "session", readonly "threadId": string, readonly "turnId"?: string | undefined };
292
+ type Objects_244 = { readonly "kind": "reply", readonly "recordId": string };
293
+ type Objects_245 = { readonly "kind": "child-report", readonly "childThreadId": string, readonly "outcome": "settled" | "failed" | null };
289
294
  type TurnIntentContinuation_1 = { readonly "round": number, readonly "limit": number, readonly "of"?: string };
290
- type Objects_240 = { readonly "kind": "board-dispatch", readonly "workItemId": string };
291
- type Objects_241 = { readonly "kind": "person", readonly "pluginId": string, readonly "displayName": string };
292
- type Objects_242 = { readonly "kind": "plugin-notice", readonly "title": string, readonly "pluginId"?: string | undefined };
293
- type Objects_243 = { readonly "kind": "remote-post", readonly "postId": string, readonly "authorKind": "human" | "agent", readonly "authorName"?: string };
294
- type Objects_245 = { readonly "id": string, readonly "name": string, readonly "command": string, readonly "icon": "play" | "test" | "lint" | "configure" | "build" | "debug", readonly "runOnWorktreeCreate": boolean, readonly "browserUrl"?: string | undefined, readonly "autoOpenBrowser"?: boolean | undefined };
295
+ type Objects_247 = { readonly "kind": "board-dispatch", readonly "workItemId": string };
296
+ type Objects_248 = { readonly "kind": "person", readonly "pluginId": string, readonly "displayName": string };
297
+ type Objects_249 = { readonly "kind": "plugin-notice", readonly "title": string, readonly "pluginId"?: string | undefined };
298
+ type Objects_250 = { readonly "kind": "remote-post", readonly "postId": string, readonly "authorKind": "human" | "agent", readonly "authorName"?: string };
299
+ type Objects_252 = { readonly "id": string, readonly "name": string, readonly "command": string, readonly "icon": "play" | "test" | "lint" | "configure" | "build" | "debug", readonly "runOnWorktreeCreate": boolean, readonly "browserUrl"?: string | undefined, readonly "autoOpenBrowser"?: boolean | undefined };
295
300
  type Union_86 = { readonly "postId": string, readonly "targetKey": string, readonly "authorKind": "human" | "agent", readonly "authorName"?: string | undefined, readonly "authorThreadId"?: string | undefined, readonly "homeName"?: string | undefined } | undefined;
296
301
  type Union_87 = { readonly "kind": "steer" | "interrupt", readonly "turnId": string, readonly "commandId": string, readonly "source"?: "automatic" } | null;
297
302
  type Union_88 = { readonly "sessionId"?: string, readonly "turnId"?: string, readonly "generationId"?: string } | null;
298
- type Objects_248 = { readonly "_tag": "agent-artifact", readonly "sourcePath": string, readonly "linkBase"?: string | undefined, readonly "toolCallId"?: string | undefined, readonly "title"?: string | undefined, readonly "note"?: string | undefined, readonly "delivered"?: true | undefined, readonly "sha256"?: string | undefined, readonly "fileCount"?: number | undefined, readonly "deliveryId"?: string | undefined };
299
- type Objects_249 = { readonly "source": "none" | "custom" | "plugin", readonly "customId": string | null, readonly "pluginId": string | null, readonly "dimLight": number, readonly "dimDark": number, readonly "blur": number };
303
+ type Objects_255 = { readonly "_tag": "agent-artifact", readonly "sourcePath": string, readonly "linkBase"?: string | undefined, readonly "toolCallId"?: string | undefined, readonly "title"?: string | undefined, readonly "note"?: string | undefined, readonly "delivered"?: true | undefined, readonly "sha256"?: string | undefined, readonly "fileCount"?: number | undefined, readonly "deliveryId"?: string | undefined };
304
+ type Objects_256 = { readonly "source": "none" | "custom" | "plugin", readonly "customId": string | null, readonly "pluginId": string | null, readonly "dimLight": number, readonly "dimDark": number, readonly "blur": number };
300
305
  type Union_91 = { readonly "kind": "plugin", readonly "pluginId": string } | undefined;
301
306
  type Union_1 = Objects_2 | Objects_3 | Objects_4;
302
307
  type Objects_13 = { readonly "ok": boolean, readonly "categories": { readonly [x: string]: { readonly "source": number, readonly "applied": number, readonly "mapped": number, readonly "skipped": number, readonly "missing": number } }, readonly "notExported": { readonly [x: string]: number }, readonly "pluginFactsNotExported": { readonly [x: string]: number }, readonly "differences": ReadonlyArray<Objects_14>, readonly "differencesTotal": number, readonly "noted": ReadonlyArray<Objects_14>, readonly "notedTotal": number };
@@ -325,8 +330,8 @@ type Union_11 = ReadonlyArray<Objects_36> | undefined;
325
330
  type Arrays_10 = ReadonlyArray<Objects_36>;
326
331
  type Union_12 = Objects_37 | null | undefined;
327
332
  type Union_13 = Objects_38 | null | undefined;
328
- type Objects_39 = { readonly "threadId": string, readonly "status": "idle" | "starting" | "running" | "ready" | "interrupted" | "stopped" | "error", readonly "providerName": string | null, readonly "providerInstanceId"?: string | undefined, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "nativeModeId"?: string | undefined, readonly "activeTurnId": string | null, readonly "lastError": string | null, readonly "failureCategory"?: "quota" | "rate-limit" | "context-limit" | "auth" | "model-unavailable" | "transport" | "unknown" | "process-exit" | undefined, readonly "retry"?: Union_15, readonly "endReason"?: "server-restart" | undefined, readonly "updatedAt": string };
329
- type Objects_228 = { readonly "threadId": string, readonly "status": "idle" | "starting" | "running" | "ready" | "interrupted" | "stopped" | "error", readonly "providerName": string | null, readonly "providerInstanceId"?: string | undefined, readonly "runtimeMode"?: "approval-required" | "auto-accept-edits" | "auto" | "full-access" | undefined, readonly "nativeModeId"?: string | undefined, readonly "activeTurnId": string | null, readonly "lastError": string | null, readonly "failureCategory"?: string | undefined, readonly "retry"?: Union_15, readonly "endReason"?: "server-restart" | undefined, readonly "updatedAt": string };
333
+ type Objects_39 = { readonly "threadId": string, readonly "status": "idle" | "starting" | "running" | "ready" | "interrupted" | "stopped" | "error", readonly "providerName": string | null, readonly "providerInstanceId"?: string | undefined, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "nativeModeId"?: string | undefined, readonly "activeTurnId": string | null, readonly "activeTurnSharedSpaceIds"?: ReadonlyArray<string> | undefined, readonly "lastError": string | null, readonly "failureCategory"?: "quota" | "rate-limit" | "context-limit" | "auth" | "model-unavailable" | "transport" | "unknown" | "process-exit" | undefined, readonly "retry"?: Union_15, readonly "endReason"?: "server-restart" | undefined, readonly "updatedAt": string };
334
+ type Objects_235 = { readonly "threadId": string, readonly "status": "idle" | "starting" | "running" | "ready" | "interrupted" | "stopped" | "error", readonly "providerName": string | null, readonly "providerInstanceId"?: string | undefined, readonly "runtimeMode"?: "approval-required" | "auto-accept-edits" | "auto" | "full-access" | undefined, readonly "nativeModeId"?: string | undefined, readonly "activeTurnId": string | null, readonly "activeTurnSharedSpaceIds"?: ReadonlyArray<string> | undefined, readonly "lastError": string | null, readonly "failureCategory"?: string | undefined, readonly "retry"?: Union_15, readonly "endReason"?: "server-restart" | undefined, readonly "updatedAt": string };
330
335
  type ThreadContinuationCheckOrNull = ThreadContinuationCheck | null;
331
336
  type Objects_40 = { readonly "backgroundLiveness"?: "working" | "monitoring" | null | undefined, readonly "backgroundMonitorCount"?: number | undefined, readonly "planProgress"?: Union_17 };
332
337
  type Union_21 = Objects_44 | undefined;
@@ -344,7 +349,7 @@ type CommunicationPostRecipientInput = { readonly "kind": "member", readonly "me
344
349
  type Objects_156 = { readonly "kind": "human", readonly "principal": Union_39 };
345
350
  type CommunicationPostResult = { readonly "postId": string, readonly "recipientWarnings"?: ReadonlyArray<Objects_91> };
346
351
  type Objects_116 = { readonly "providers": ReadonlyArray<{ readonly "instanceId": string, readonly "driver": string, readonly "displayName": string, readonly "enabled": boolean, readonly "readiness": "ready" | "unchecked" | "checking" | "disabled" | "not-installed" | "unauthenticated" | "error", readonly "readinessDetail"?: string | undefined, readonly "recovery"?: ProviderProbeRecovery, readonly "defaultModel": string | null, readonly "concurrency"?: { readonly "live": number, readonly "max": number } }> };
347
- type Arrays_13 = ReadonlyArray<{ readonly "instanceId": string, readonly "driver": string, readonly "displayName"?: string | undefined, readonly "accentColor"?: string | undefined, readonly "continuation"?: { readonly "groupKey": string } | undefined, readonly "showInteractionModeToggle"?: boolean | undefined, readonly "requiresNewThreadForModelChange"?: boolean | undefined, readonly "supportsContextCompaction"?: boolean | undefined, readonly "supportsNativeModeSwitch"?: boolean | undefined, readonly "maxProcesses"?: number, readonly "supportsTurnSteering"?: boolean | undefined, readonly "runtimeModeSwitch"?: "in-session" | "next-turn", readonly "reportsSpawnedAgents"?: boolean, readonly "blocksHostMcpWritesInAuto"?: boolean, readonly "modelSlugAliases"?: Objects_93, readonly "enabled": boolean, readonly "installed": boolean, readonly "version": string | null, readonly "readiness": { readonly "state": "ready" | "unchecked" | "checking" | "disabled" | "not-installed" | "unauthenticated" | "error", readonly "detail"?: string | undefined, readonly "tooOld"?: { readonly "minimumVersion": string } | undefined, readonly "recovery"?: ProviderProbeRecovery }, readonly "auth": { readonly "status": "authenticated" | "unauthenticated" | "unknown", readonly "type"?: string | undefined, readonly "label"?: string | undefined, readonly "email"?: string | undefined }, readonly "checkedAt": string, readonly "configDigest"?: string, readonly "models": ReadonlyArray<{ readonly "slug": string, readonly "name": string, readonly "shortName"?: string | undefined, readonly "subProvider"?: string | undefined, readonly "isCustom": boolean, readonly "isDefault"?: boolean | undefined, readonly "hidden"?: boolean | undefined, readonly "origin"?: "probe" | "custom" | "card", readonly "capabilities": { readonly "optionDescriptors"?: ReadonlyArray<{ readonly "id": string, readonly "label": string, readonly "description"?: string | undefined, readonly "type": "select", readonly "options": ReadonlyArray<{ readonly "id": string, readonly "label": string, readonly "description"?: string | undefined, readonly "isDefault"?: boolean | undefined }>, readonly "currentValue"?: string | undefined, readonly "promptInjectedValues"?: ReadonlyArray<string> | undefined } | { readonly "id": string, readonly "label": string, readonly "description"?: string | undefined, readonly "type": "boolean", readonly "currentValue"?: boolean | undefined }> | undefined } | null, readonly "contextWindow"?: number, readonly "contextWindowSource"?: "user" | "agent" }>, readonly "supportsModelCatalogRefresh"?: boolean, readonly "modelCatalog"?: { readonly "state": "unknown" | "confirmed" | "stale" | "failed", readonly "confirmedAt"?: string, readonly "lastFailure"?: { readonly "at": string, readonly "reason": "timeout" | "not-installed" | "unauthenticated" | "error", readonly "detail"?: string } }, readonly "modelCatalogAuthoritative"?: boolean, readonly "slashCommands": ReadonlyArray<Objects_94>, readonly "skills": ReadonlyArray<Objects_95>, readonly "nativeModes"?: ReadonlyArray<{ readonly "id": string, readonly "name": string, readonly "description"?: string | undefined }>, readonly "currentNativeModeId"?: string, readonly "nativeModeByRuntimeMode"?: { readonly [x: string]: string }, readonly "versionAdvisory"?: { readonly "status": "unknown" | "current" | "behind_latest", readonly "currentVersion": string | null, readonly "latestVersion": string | null, readonly "updateCommand": string | null, readonly "canUpdate": boolean, readonly "checkedAt": string | null, readonly "message": string | null }, readonly "probeNotice"?: { readonly "messageKey": string, readonly "params"?: Objects_96 }, readonly "supportsAuthorizationCodeSignIn"?: boolean, readonly "supportsManagedRuntime"?: boolean, readonly "installCommand"?: string, readonly "installUrl"?: string, readonly "signIn"?: ReadonlyArray<{ readonly "kind": "command", readonly "command": string } | { readonly "kind": "environment", readonly "variable": string }>, readonly "signInCommand"?: string, readonly "updateState"?: { readonly "status": "idle" | "queued" | "running" | "succeeded" | "failed" | "unchanged" | "cancelled", readonly "action"?: "update" | "install" | "sign-in", readonly "startedAt": string | null, readonly "finishedAt": string | null, readonly "message": string | null, readonly "output": string | null, readonly "deviceCode"?: { readonly "userCode": string, readonly "verificationUrl": string } } }>;
352
+ type Arrays_13 = ReadonlyArray<{ readonly "instanceId": string, readonly "driver": string, readonly "displayName"?: string | undefined, readonly "accentColor"?: string | undefined, readonly "continuation"?: { readonly "groupKey": string } | undefined, readonly "showInteractionModeToggle"?: boolean | undefined, readonly "requiresNewThreadForModelChange"?: boolean | undefined, readonly "supportsContextCompaction"?: boolean | undefined, readonly "supportsTextGeneration"?: boolean | undefined, readonly "supportsNativeModeSwitch"?: boolean | undefined, readonly "maxProcesses"?: number, readonly "supportsTurnSteering"?: boolean | undefined, readonly "runtimeModeSwitch"?: "in-session" | "next-turn", readonly "reportsSpawnedAgents"?: boolean, readonly "blocksHostMcpWritesInAuto"?: boolean, readonly "modelSlugAliases"?: Objects_93, readonly "enabled": boolean, readonly "installed": boolean, readonly "version": string | null, readonly "readiness": { readonly "state": "ready" | "unchecked" | "checking" | "disabled" | "not-installed" | "unauthenticated" | "error", readonly "detail"?: string | undefined, readonly "tooOld"?: { readonly "minimumVersion": string } | undefined, readonly "recovery"?: ProviderProbeRecovery }, readonly "auth": { readonly "status": "authenticated" | "unauthenticated" | "unknown", readonly "type"?: string | undefined, readonly "label"?: string | undefined, readonly "email"?: string | undefined }, readonly "checkedAt": string, readonly "configDigest"?: string, readonly "models": ReadonlyArray<{ readonly "slug": string, readonly "name": string, readonly "shortName"?: string | undefined, readonly "subProvider"?: string | undefined, readonly "isCustom": boolean, readonly "isDefault"?: boolean | undefined, readonly "hidden"?: boolean | undefined, readonly "origin"?: "probe" | "custom" | "card", readonly "capabilities": { readonly "optionDescriptors"?: ReadonlyArray<{ readonly "id": string, readonly "label": string, readonly "description"?: string | undefined, readonly "type": "select", readonly "options": ReadonlyArray<{ readonly "id": string, readonly "label": string, readonly "description"?: string | undefined, readonly "isDefault"?: boolean | undefined }>, readonly "currentValue"?: string | undefined, readonly "promptInjectedValues"?: ReadonlyArray<string> | undefined } | { readonly "id": string, readonly "label": string, readonly "description"?: string | undefined, readonly "type": "boolean", readonly "currentValue"?: boolean | undefined }> | undefined } | null, readonly "contextWindow"?: number, readonly "contextWindowSource"?: "user" | "agent" }>, readonly "supportsModelCatalogRefresh"?: boolean, readonly "modelCatalog"?: { readonly "state": "unknown" | "confirmed" | "stale" | "failed", readonly "confirmedAt"?: string, readonly "lastFailure"?: { readonly "at": string, readonly "reason": "timeout" | "not-installed" | "unauthenticated" | "error", readonly "detail"?: string } }, readonly "modelCatalogAuthoritative"?: boolean, readonly "slashCommands": ReadonlyArray<Objects_94>, readonly "skills": ReadonlyArray<Objects_95>, readonly "nativeModes"?: ReadonlyArray<{ readonly "id": string, readonly "name": string, readonly "description"?: string | undefined }>, readonly "currentNativeModeId"?: string, readonly "nativeModeByRuntimeMode"?: { readonly [x: string]: string }, readonly "versionAdvisory"?: { readonly "status": "unknown" | "current" | "behind_latest", readonly "currentVersion": string | null, readonly "latestVersion": string | null, readonly "updateCommand": string | null, readonly "canUpdate": boolean, readonly "checkedAt": string | null, readonly "message": string | null }, readonly "probeNotice"?: { readonly "messageKey": string, readonly "params"?: Objects_96 }, readonly "supportsAuthorizationCodeSignIn"?: boolean, readonly "supportsManagedRuntime"?: boolean, readonly "installCommand"?: string, readonly "installUrl"?: string, readonly "signIn"?: ReadonlyArray<{ readonly "kind": "command", readonly "command": string } | { readonly "kind": "environment", readonly "variable": string }>, readonly "signInCommand"?: string, readonly "updateState"?: { readonly "status": "idle" | "queued" | "running" | "succeeded" | "failed" | "unchanged" | "cancelled", readonly "action"?: "update" | "install" | "sign-in", readonly "startedAt": string | null, readonly "finishedAt": string | null, readonly "message": string | null, readonly "output": string | null, readonly "deviceCode"?: { readonly "userCode": string, readonly "verificationUrl": string } } }>;
348
353
  type Arrays_21 = ReadonlyArray<Objects_111>;
349
354
  type Arrays_22 = ReadonlyArray<Objects_111>;
350
355
  type Union_44 = Arrays_23 | Objects_114;
@@ -354,7 +359,7 @@ type Union_90 = Objects_123 | undefined;
354
359
  type Union_92 = Objects_123 | undefined;
355
360
  type Union_46 = Objects_120 | Objects_124 | Objects_125;
356
361
  type Objects_126 = { readonly "path": string, readonly "methods"?: Arrays_30, readonly "websocket"?: boolean };
357
- type Objects_250 = { readonly "path": string, readonly "methods"?: Arrays_30, readonly "websocket"?: boolean };
362
+ type Objects_257 = { readonly "path": string, readonly "methods"?: Arrays_30, readonly "websocket"?: boolean };
358
363
  type Union_54 = Objects_144 | undefined;
359
364
  type Objects_146 = { readonly "instanceId": string, readonly "driver": string, readonly "pluginId": string | null, readonly "displayName": string | null, readonly "support": "supported" | "notProvided" | "disabled" | "unavailable", readonly "lastAttempt": { readonly "at": string, readonly "outcome": "available" | "missingCredentials" | "authRejected" | "customEndpoint" | "unreachable" | "unsupportedLogin" | "rateLimited", readonly "retryAt": string | null } | null, readonly "lastAvailable": { readonly "readAt": string, readonly "plan"?: string, readonly "accountKey"?: string, readonly "windows": ReadonlyArray<{ readonly "id": string, readonly "label": Union_55, readonly "usedPercent": number, readonly "resetsAt": string | null, readonly "windowMs"?: number, readonly "group"?: string }>, readonly "balances": ReadonlyArray<{ readonly "id": string, readonly "label": Union_55, readonly "remaining": number | null, readonly "used": number | null, readonly "limit": number | null, readonly "unit": { readonly "kind": "money", readonly "currency": string } | { readonly "kind": "credits" }, readonly "resetsAt": string | null }>, readonly "resetCredits"?: { readonly "availableCount": number } } | null, readonly "inflight": boolean, readonly "redeemable"?: true, readonly "redeeming"?: true };
360
365
  type Arrays_36 = ReadonlyArray<Objects_172>;
@@ -366,23 +371,25 @@ type CommunicationPostReplyInput = Objects_216 | Objects_217 | Objects_218;
366
371
  type CommunicationPostReplyInput_1 = Objects_216 | Objects_217 | Objects_218;
367
372
  type CommunicationPostNotification = { readonly "kind": "child-report", readonly "sourceThreadId": string, readonly "childReport": CommunicationChildReport_1 } | { readonly "kind": "plugin-notice", readonly "sourceThreadId": string };
368
373
  type ThreadMemberInputPerson = ThreadMemberInputAccount | ThreadMemberInputLocalOwner;
369
- type Union_67 = Objects_220 | null;
370
- type Union_85 = Objects_220 | null | undefined;
371
- type Union_82 = Objects_221 | undefined;
372
- type Union_71 = Objects_223 | null | undefined;
374
+ type Objects_220 = { readonly "items": ReadonlyArray<Objects_221> };
375
+ type Objects_225 = { readonly "items": ReadonlyArray<{ readonly "projectId": string, readonly "spaceId": string, readonly "folderId": string | null, readonly "canonicalRoot": string | null, readonly "attachState": "unattached" | "attaching" | "ready" | "detaching" | "failed", readonly "lastSyncedOid": string | null, readonly "lastSyncedAt": string | null, readonly "hasPendingOutbox": boolean, readonly "pendingOutboxCommitOid": string | null, readonly "blockedFiles": ReadonlyArray<Objects_222>, readonly "oversizedFiles": ReadonlyArray<Objects_223>, readonly "skippedNestedGitPaths": ReadonlyArray<string>, readonly "inFlightPhase": "preflight" | "pulling" | "staging" | "pushing" | "materializing" | null, readonly "bytesTransferred": number, readonly "bytesTotal": number, readonly "lastError": string | null }> };
376
+ type Union_67 = Objects_227 | null;
377
+ type Union_85 = Objects_227 | null | undefined;
378
+ type Union_82 = Objects_228 | undefined;
379
+ type Union_71 = Objects_230 | null | undefined;
373
380
  type ThreadMembers_1 = ReadonlyArray<ThreadMemberRef_1>;
374
- type Union_72 = Objects_224 | null | undefined;
375
- type Union_81 = Objects_224 | null | undefined;
381
+ type Union_72 = Objects_231 | null | undefined;
382
+ type Union_81 = Objects_231 | null | undefined;
376
383
  type ThreadCreatorPrincipal_1 = ThreadCreatorAccount_1 | ThreadCreatorLocalOwner_1;
377
- type Union_74 = ReadonlyArray<Objects_225> | undefined;
378
- type Union_75 = Objects_226 | null | undefined;
379
- type Union_76 = Objects_227 | null | undefined;
384
+ type Union_74 = ReadonlyArray<Objects_232> | undefined;
385
+ type Union_75 = Objects_233 | null | undefined;
386
+ type Union_76 = Objects_234 | null | undefined;
380
387
  type ThreadContinuationCheckOrNull_1 = ThreadContinuationCheck_1 | null;
381
- type Objects_229 = { readonly "backgroundLiveness"?: "working" | "monitoring" | null | undefined, readonly "backgroundMonitorCount"?: number | undefined, readonly "planProgress"?: Union_79 };
382
- type Union_83 = Objects_232 | undefined;
383
- type Objects_239 = { readonly "kind": "plugin-wake", readonly "pluginId": string, readonly "continuation"?: TurnIntentContinuation_1 };
384
- type Objects_244 = { readonly "id": string, readonly "title": string, readonly "workspaceRoot": string, readonly "purpose"?: "conversation" | "project" | undefined, readonly "homeEnvironmentId"?: string | null | undefined, readonly "folders"?: ReadonlyArray<{ readonly "id": string, readonly "path": string, readonly "kind"?: "user" | "managed" | undefined, readonly "attachedAt": string, readonly "detachedAt"?: string | null | undefined, readonly "clone"?: { readonly "state": "cloning" | "failed", readonly "remoteUrl": string, readonly "failureKind"?: "cancelled" | "interrupted" | "git" | undefined, readonly "failureCategory"?: "authentication" | "unreachable" | "repository" | "locked-reference" | "timeout" | "other" | undefined, readonly "failure"?: string | undefined, readonly "createdDirectory"?: boolean | undefined, readonly "startedAt": string } | undefined }> | undefined, readonly "defaultFolderId"?: string | null | undefined, readonly "repositoryIdentity"?: { readonly "canonicalKey": string, readonly "locator": { readonly "source": "git-remote", readonly "remoteName": string, readonly "remoteUrl": string }, readonly "rootPath"?: string, readonly "displayName"?: string, readonly "provider"?: string, readonly "owner"?: string, readonly "name"?: string } | null | undefined, readonly "defaultModelSelection": Objects_221 | null, readonly "faviconPath"?: string | null | undefined, readonly "projectIcon"?: Union_64 | null | undefined, readonly "scripts": ReadonlyArray<Objects_245>, readonly "sortOrderKey"?: string | null | undefined, readonly "createdAt": string, readonly "updatedAt": string, readonly "archivedAt"?: string | null | undefined };
385
- type Union_89 = { readonly "type": "image", readonly "id": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number, readonly "source"?: { readonly "_tag": "snap-shot", readonly "capturedAt": string, readonly "appName": string, readonly "windowTitle": string, readonly "accessibleText"?: string | undefined, readonly "accessibility"?: { readonly "format": "flat-text", readonly "text": string, readonly "truncated": boolean } | { readonly "format": "element-tree", readonly "coordinateSpace": "captured-image", readonly "imageSize": Objects_72, readonly "truncated": boolean, readonly "root": Objects_247 } | undefined, readonly "appIdentifier"?: string | undefined, readonly "appIconDataUrl"?: string | undefined } | Objects_248 | undefined } | { readonly "type": "file", readonly "id": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number, readonly "source"?: Objects_76 | Objects_248 | { readonly "_tag": "thread-reference", readonly "environmentId": string, readonly "threadId": string } | undefined };
388
+ type Objects_236 = { readonly "backgroundLiveness"?: "working" | "monitoring" | null | undefined, readonly "backgroundMonitorCount"?: number | undefined, readonly "planProgress"?: Union_79 };
389
+ type Union_83 = Objects_239 | undefined;
390
+ type Objects_246 = { readonly "kind": "plugin-wake", readonly "pluginId": string, readonly "continuation"?: TurnIntentContinuation_1 };
391
+ type Objects_251 = { readonly "id": string, readonly "title": string, readonly "workspaceRoot": string, readonly "purpose"?: "conversation" | "project" | undefined, readonly "homeEnvironmentId"?: string | null | undefined, readonly "folders"?: ReadonlyArray<{ readonly "id": string, readonly "path": string, readonly "kind"?: "user" | "managed" | undefined, readonly "attachedAt": string, readonly "detachedAt"?: string | null | undefined, readonly "clone"?: { readonly "state": "cloning" | "failed", readonly "remoteUrl": string, readonly "failureKind"?: "cancelled" | "interrupted" | "git" | undefined, readonly "failureCategory"?: "authentication" | "unreachable" | "repository" | "locked-reference" | "timeout" | "other" | undefined, readonly "failure"?: string | undefined, readonly "createdDirectory"?: boolean | undefined, readonly "startedAt": string } | undefined, readonly "sharedSpaceId"?: string | undefined, readonly "sharedSpaceAttachState"?: "attaching" | "ready" | "detaching" | "failed" | undefined }> | undefined, readonly "defaultFolderId"?: string | null | undefined, readonly "repositoryIdentity"?: { readonly "canonicalKey": string, readonly "locator": { readonly "source": "git-remote", readonly "remoteName": string, readonly "remoteUrl": string }, readonly "rootPath"?: string, readonly "displayName"?: string, readonly "provider"?: string, readonly "owner"?: string, readonly "name"?: string } | null | undefined, readonly "defaultModelSelection": Objects_228 | null, readonly "faviconPath"?: string | null | undefined, readonly "projectIcon"?: Union_64 | null | undefined, readonly "scripts": ReadonlyArray<Objects_252>, readonly "sortOrderKey"?: string | null | undefined, readonly "createdAt": string, readonly "updatedAt": string, readonly "archivedAt"?: string | null | undefined };
392
+ type Union_89 = { readonly "type": "image", readonly "id": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number, readonly "source"?: { readonly "_tag": "snap-shot", readonly "capturedAt": string, readonly "appName": string, readonly "windowTitle": string, readonly "accessibleText"?: string | undefined, readonly "accessibility"?: { readonly "format": "flat-text", readonly "text": string, readonly "truncated": boolean } | { readonly "format": "element-tree", readonly "coordinateSpace": "captured-image", readonly "imageSize": Objects_72, readonly "truncated": boolean, readonly "root": Objects_254 } | undefined, readonly "appIdentifier"?: string | undefined, readonly "appIconDataUrl"?: string | undefined } | Objects_255 | undefined } | { readonly "type": "file", readonly "id": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number, readonly "source"?: Objects_76 | Objects_255 | { readonly "_tag": "thread-reference", readonly "environmentId": string, readonly "threadId": string } | undefined };
386
393
  type Objects_7 = { readonly "threadId": string, readonly "tabId": string, readonly "pageEpoch": string, readonly "controlEpoch": number, readonly "viewportEpoch": number, readonly "control": "agent" | "human", readonly "viewport": { readonly "width": number, readonly "height": number }, readonly "colorScheme"?: "system" | "light" | "dark" | undefined, readonly "fillsPanel"?: boolean | undefined, readonly "agentActivity"?: { readonly "active": boolean, readonly "seq": number, readonly "pointer"?: { readonly "x": number, readonly "y": number, readonly "kind": "click" | "scroll" | "type" | "move" } | undefined } | undefined, readonly "recording"?: Objects_5 | undefined, readonly "viewportSetting"?: Union_1 | undefined, readonly "zoomFactor"?: 0.25 | 0.33 | 0.5 | 0.67 | 0.75 | 0.8 | 0.9 | 1 | 1.1 | 1.25 | 1.5 | 1.75 | 2 | 2.5 | 3 | 4 | 5 | undefined, readonly "audible"?: boolean | undefined, readonly "audioMuted"?: boolean | undefined, readonly "downloads"?: ReadonlyArray<{ readonly "id": string, readonly "fileName": string, readonly "state": "inProgress" | "completed" | "canceled", readonly "receivedBytes": number, readonly "totalBytes"?: number | undefined, readonly "fetchable": boolean, readonly "stalled"?: boolean | undefined, readonly "leftover"?: boolean | undefined }> | undefined };
387
394
  type Objects_12 = { readonly "projectId": string, readonly "homeEnvironmentId": string, readonly "importId": string, readonly "bundleDigest": string, readonly "state": "running" | "stopped" | "verified" | "failed", readonly "nextChunk": number, readonly "chunkCount": number, readonly "stopReason"?: { readonly "_tag": "removed-target", readonly "target": { readonly "kind": "state" | "label" | "line", readonly "id": string, readonly "name"?: string } } | { readonly "_tag": "home-unreachable", readonly "code"?: "home-update-required" | "not-permitted" | "unreachable", readonly "detail"?: string } | { readonly "_tag": "refused", readonly "code"?: "different-account", readonly "detail": string } | { readonly "_tag": "interrupted" }, readonly "report"?: Objects_13, readonly "startedAt": string, readonly "updatedAt": string };
388
395
  type ProjectMachineWorking = { readonly "projectId": string, readonly "projectTitle": string, readonly "admittedBy"?: "join-code" | "client-broker" | "account", readonly "seatHealth"?: SeatHealth };
@@ -395,7 +402,7 @@ type ThreadMembers = ReadonlyArray<ThreadMemberRef>;
395
402
  type ThreadDirectoryRefreshMembers = ReadonlyArray<ThreadMemberRef>;
396
403
  type ThreadMembersStateMembers = ReadonlyArray<ThreadMemberRef>;
397
404
  type Union_14 = Objects_39 | null;
398
- type Union_77 = Objects_228 | null;
405
+ type Union_77 = Objects_235 | null;
399
406
  type Union_22 = Objects_45 | Objects_46 | Objects_47 | Objects_48 | Objects_49 | Objects_50 | Objects_51 | Objects_52 | Objects_53 | Objects_54 | Objects_55 | Objects_56 | Objects_57 | Objects_58 | undefined;
400
407
  type Union_28 = { readonly "type": "image", readonly "id": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number, readonly "source"?: Union_29 } | { readonly "type": "file", readonly "id": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number, readonly "source"?: Union_31 };
401
408
  type Union_36 = { readonly "type": "image", readonly "id": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number, readonly "source"?: Union_29, readonly "path"?: string } | { readonly "type": "file", readonly "id": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number, readonly "source"?: Union_31, readonly "path"?: string };
@@ -414,8 +421,8 @@ type Objects_118 = { readonly "providers": Arrays_13 };
414
421
  type Objects_110 = { readonly "revision": string, readonly "status": "healthy" | "stopped" | "conflict" | "unknown", readonly "stateDir": string, readonly "runtimeRoot": string, readonly "currentVersion": string | null, readonly "instances": Arrays_20, readonly "repairSupported": boolean, readonly "operation": { readonly "id": string, readonly "policy": "when-idle" | "now", readonly "phase": "waiting" | "stopping" | "backing-up" | "starting" | "verifying" | "succeeded" | "cancelled" | "failed", readonly "targetVersion": string, readonly "startedAt": string, readonly "updatedAt": string, readonly "reason": "activity-unknown" | "identity-changed" | "environment-identity-changed" | "inspection-unavailable" | "instance-unmanaged" | "maintenance-in-progress" | "operation-interrupted" | "shutdown-failed" | "startup-failed" | "target-unavailable" | "port-unavailable" | "snapshot-changed" | "internal-error" | null, readonly "detail"?: string, readonly "backupPath": string | null } | null, readonly "windowsProcessTreeProtection"?: { readonly "status": "active" } | { readonly "status": "no-helper" } | { readonly "status": "assign-failed", readonly "errorCode": number } | { readonly "status": "helper-failed" } | undefined, readonly "windowsProcessTreeProtectionExemptions"?: Arrays_21, readonly "windowsProcessTreeProtectionExplicitBreakaways"?: Arrays_22 };
415
422
  type Objects_113 = { readonly "instanceId": string, readonly "model": string, readonly "options"?: Union_44 };
416
423
  type ThreadMemberInputPersonRef = { readonly "kind": "person", readonly "person": ThreadMemberInputPerson };
417
- type Union_73 = { readonly "turnId": string, readonly "state": "running" | "interrupted" | "completed" | "error", readonly "requestedAt": string, readonly "startedAt": string | null, readonly "completedAt": string | null, readonly "assistantMessageId": string | null, readonly "userMessageId"?: string | undefined, readonly "modelSelection"?: Objects_221 | undefined, readonly "sourceProposedPlan"?: { readonly "threadId": string, readonly "planId": string } | undefined, readonly "waitSpans"?: Union_74, readonly "runSegments"?: Union_11 } | null;
418
- type Union_84 = Objects_45 | Objects_233 | Objects_234 | Objects_235 | Objects_236 | Objects_237 | Objects_238 | Objects_239 | Objects_240 | Objects_241 | Objects_242 | Objects_56 | Objects_57 | Objects_243 | undefined;
424
+ type Union_73 = { readonly "turnId": string, readonly "state": "running" | "interrupted" | "completed" | "error", readonly "requestedAt": string, readonly "startedAt": string | null, readonly "completedAt": string | null, readonly "assistantMessageId": string | null, readonly "userMessageId"?: string | undefined, readonly "modelSelection"?: Objects_228 | undefined, readonly "sourceProposedPlan"?: { readonly "threadId": string, readonly "planId": string } | undefined, readonly "waitSpans"?: Union_74, readonly "runSegments"?: Union_11 } | null;
425
+ type Union_84 = Objects_45 | Objects_240 | Objects_241 | Objects_242 | Objects_243 | Objects_244 | Objects_245 | Objects_246 | Objects_247 | Objects_248 | Objects_249 | Objects_56 | Objects_57 | Objects_250 | undefined;
419
426
  type Objects_15 = { readonly "status": Objects_12 };
420
427
  type ProjectMachineByMachine = { readonly "environmentId": string, readonly "name": string, readonly "online": boolean, readonly "connection": "stream" | "polling" | "none", readonly "lastSeenAt"?: string, readonly "memberUpdateRequired"?: true, readonly "projects": ReadonlyArray<ProjectMachineWorking> };
421
428
  type Objects_178 = { readonly "environmentId": string, readonly "actionId": string, readonly "input"?: Objects_179, readonly "status": "awaiting-approval" | "queued" | "running" | "succeeded" | "failed" | "declined", readonly "progress"?: Objects_180, readonly "prompt"?: Objects_181, readonly "result"?: Objects_182, readonly "failure"?: Objects_183, readonly "autoApproved"?: true, readonly "localAgent"?: true, readonly "accountOriginEnvironmentId"?: string, readonly "rememberProject"?: boolean, readonly "approval"?: string, readonly "logCommentId"?: string, readonly "logPostId"?: string };
@@ -425,7 +432,7 @@ type Objects_115 = { readonly "instanceId": string, readonly "model": string, re
425
432
  type ThreadMembersState = { readonly "projectId": string, readonly "thread": Objects_33, readonly "source": ThreadMembersSource, readonly "version": number, readonly "members": ThreadMembersStateMembers, readonly "workLineId"?: string };
426
433
  type Union_35 = ReadonlyArray<Union_36> | undefined;
427
434
  type Arrays_42 = ReadonlyArray<Union_36>;
428
- type Objects_251 = { readonly "outcome": "passed" | "failed" | "skipped" | "not-run", readonly "at": string, readonly "by": Union_96, readonly "summary"?: string };
435
+ type Objects_258 = { readonly "outcome": "passed" | "failed" | "skipped" | "not-run", readonly "at": string, readonly "by": Union_96, readonly "summary"?: string };
429
436
  type Objects_164 = { readonly "experienceId": string, readonly "revision": number, readonly "baseRevision": number | null, readonly "author": Union_56, readonly "createdAt": string, readonly "title"?: string, readonly "applicability"?: string, readonly "body": string | null, readonly "bodyState": "present" | "erased" | "unavailable", readonly "bodyWindow"?: Objects_59 };
430
437
  type Objects_169 = { readonly "pageId": string, readonly "revision": number, readonly "baseRevision": number | null, readonly "restoredFromRevision": number | null, readonly "author": Union_56, readonly "createdAt": string, readonly "title": string | null, readonly "changeSummary": string | null, readonly "body": string | null, readonly "bodyState": "present" | "erased" | "unavailable", readonly "bodyWindow"?: Objects_59 };
431
438
  type Objects_171 = { readonly "release": number, readonly "pages": Arrays_36, readonly "itemCount": number, readonly "itemHighWater": number, readonly "requiresAck": boolean, readonly "restoredFromRelease": number | null, readonly "sourceExperience": Union_57, readonly "publishedBy": Union_56, readonly "publishedAt": string };
@@ -435,12 +442,12 @@ type Arrays_37 = ReadonlyArray<Union_59>;
435
442
  type Arrays_40 = ReadonlyArray<Union_60>;
436
443
  type Union_95 = { readonly "environmentId": string, readonly "modelSelection": Objects_113, readonly "threadId"?: string } | null;
437
444
  type ThreadMemberInput = ThreadMemberInputMemberRef | ThreadMemberInputPersonRef | ThreadMemberThreadRefInput;
438
- type Objects_222 = { readonly "executionSelection"?: Union_68, readonly "nativeModeId"?: string | null | undefined, readonly "branch": string | null, readonly "startFolderId"?: string | null | undefined, readonly "folderIds"?: Union_69, readonly "linkedPullRequest"?: Union_70, readonly "origin"?: Union_71, readonly "presetId"?: string | null | undefined, readonly "members"?: ThreadMembers_1, readonly "createdBy"?: Union_72, readonly "creatorPrincipal"?: ThreadCreatorPrincipal_1, readonly "latestTurn": Union_73, readonly "stopRequestedAt"?: string | null, readonly "settledOverride"?: "settled" | "active" | null | undefined, readonly "settledAt"?: string | null | undefined, readonly "unsettledAt"?: string | null | undefined, readonly "snoozedUntil"?: string | null | undefined, readonly "snoozedAt"?: string | null | undefined, readonly "pinnedAt"?: string | null | undefined, readonly "pinOrderKey"?: string | null | undefined, readonly "sortOrderKey"?: string | null | undefined, readonly "titleRegeneration"?: Union_75, readonly "titleState"?: Union_76, readonly "session": Union_77, readonly "latestUserMessageAt": string | null, readonly "userTurnCount"?: number | undefined, readonly "queuedMessageCount"?: number | undefined, readonly "awaitingPersonReplyCount"?: number | undefined, readonly "pendingAsyncQuestionCount"?: number | undefined, readonly "preview"?: string | null | undefined, readonly "previewDeliveryCount"?: number | undefined, readonly "deliveredFileCount"?: number | undefined, readonly "latestDeliveryAt"?: string | null | undefined, readonly "hasPendingApprovals": boolean, readonly "pendingDecisionActivityId"?: string | undefined, readonly "hasPendingUserInput": boolean, readonly "askRoute"?: Union_78, readonly "hasActionableProposedPlan": boolean, readonly "continuationCheck"?: ThreadContinuationCheckOrNull_1 };
439
- type Objects_246 = { readonly "nativeSessionImported"?: true, readonly "id": string, readonly "projectId": string, readonly "title": string, readonly "modelSelection": Objects_221, readonly "executionSelection"?: Union_68, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "nativeModeId"?: string | null | undefined, readonly "interactionMode"?: "default" | "plan" | undefined, readonly "branch": string | null, readonly "worktreePath": string | null, readonly "startFolderId"?: string | null | undefined, readonly "folderIds"?: Union_69, readonly "linkedPullRequest"?: Union_70, readonly "origin"?: Union_71, readonly "forkedFrom"?: Union_85, readonly "presetId"?: string | null | undefined, readonly "memberId"?: string | undefined, readonly "members"?: ThreadMembers_1, readonly "createdBy"?: Union_72, readonly "creatorPrincipal"?: ThreadCreatorPrincipal_1, readonly "latestTurn": Union_73, readonly "stopRequestedAt"?: string | null, readonly "createdAt": string, readonly "updatedAt": string, readonly "archivedAt"?: string | null | undefined, readonly "settledOverride"?: "settled" | "active" | null | undefined, readonly "settledAt"?: string | null | undefined, readonly "unsettledAt"?: string | null | undefined, readonly "snoozedUntil"?: string | null | undefined, readonly "snoozedAt"?: string | null | undefined, readonly "pinnedAt"?: string | null | undefined, readonly "pinOrderKey"?: string | null | undefined, readonly "sortOrderKey"?: string | null | undefined, readonly "titleRegeneration"?: Union_75, readonly "titleState"?: Union_76, readonly "session": Union_77, readonly "latestUserMessageAt": string | null, readonly "userTurnCount"?: number | undefined, readonly "queuedMessageCount"?: number | undefined, readonly "awaitingPersonReplyCount"?: number | undefined, readonly "pendingAsyncQuestionCount"?: number | undefined, readonly "preview"?: string | null | undefined, readonly "previewDeliveryCount"?: number | undefined, readonly "deliveredFileCount"?: number | undefined, readonly "latestDeliveryAt"?: string | null | undefined, readonly "hasPendingApprovals": boolean, readonly "pendingDecisionActivityId"?: string | undefined, readonly "hasPendingUserInput": boolean, readonly "askRoute"?: Union_78, readonly "hasActionableProposedPlan": boolean, readonly "status"?: "needs-approval" | "needs-input" | "plan-ready" | "running" | "failed" | "background" | "stopped" | "idle" | undefined, readonly "backgroundLiveness"?: "working" | "monitoring" | null | undefined, readonly "continuationCheck"?: ThreadContinuationCheckOrNull_1, readonly "backgroundMonitorCount"?: number | undefined, readonly "planProgress"?: Union_79 };
440
- type Objects_231 = { readonly "items": ReadonlyArray<{ readonly "rewrite"?: Union_80, readonly "id": string, readonly "role": "user" | "assistant" | "system", readonly "text": string, readonly "attachments"?: ReadonlyArray<{ readonly "type": "image", readonly "id": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number } | { readonly "type": "file", readonly "id": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number }> | undefined, readonly "turnId": string | null, readonly "streaming": boolean, readonly "author"?: Union_81, readonly "recordId"?: string | undefined, readonly "modelSelection"?: Union_82, readonly "source"?: Union_83, readonly "origin"?: Union_84, readonly "createdAt": string, readonly "updatedAt": string, readonly "attachmentsTotal"?: number, readonly "textWindow"?: Objects_59 }>, readonly "nextCursor": string | null, readonly "snapshotSequence": number, readonly "total"?: number };
445
+ type Objects_229 = { readonly "executionSelection"?: Union_68, readonly "nativeModeId"?: string | null | undefined, readonly "branch": string | null, readonly "startFolderId"?: string | null | undefined, readonly "folderIds"?: Union_69, readonly "linkedPullRequest"?: Union_70, readonly "origin"?: Union_71, readonly "presetId"?: string | null | undefined, readonly "members"?: ThreadMembers_1, readonly "createdBy"?: Union_72, readonly "creatorPrincipal"?: ThreadCreatorPrincipal_1, readonly "latestTurn": Union_73, readonly "stopRequestedAt"?: string | null, readonly "settledOverride"?: "settled" | "active" | null | undefined, readonly "settledAt"?: string | null | undefined, readonly "unsettledAt"?: string | null | undefined, readonly "snoozedUntil"?: string | null | undefined, readonly "snoozedAt"?: string | null | undefined, readonly "pinnedAt"?: string | null | undefined, readonly "pinOrderKey"?: string | null | undefined, readonly "sortOrderKey"?: string | null | undefined, readonly "titleRegeneration"?: Union_75, readonly "titleState"?: Union_76, readonly "session": Union_77, readonly "latestUserMessageAt": string | null, readonly "userTurnCount"?: number | undefined, readonly "queuedMessageCount"?: number | undefined, readonly "awaitingPersonReplyCount"?: number | undefined, readonly "pendingAsyncQuestionCount"?: number | undefined, readonly "preview"?: string | null | undefined, readonly "previewDeliveryCount"?: number | undefined, readonly "deliveredFileCount"?: number | undefined, readonly "latestDeliveryAt"?: string | null | undefined, readonly "hasPendingApprovals": boolean, readonly "pendingDecisionActivityId"?: string | undefined, readonly "hasPendingUserInput": boolean, readonly "askRoute"?: Union_78, readonly "hasActionableProposedPlan": boolean, readonly "continuationCheck"?: ThreadContinuationCheckOrNull_1 };
446
+ type Objects_253 = { readonly "nativeSessionImported"?: true, readonly "id": string, readonly "projectId": string, readonly "title": string, readonly "modelSelection": Objects_228, readonly "executionSelection"?: Union_68, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "nativeModeId"?: string | null | undefined, readonly "interactionMode"?: "default" | "plan" | undefined, readonly "branch": string | null, readonly "worktreePath": string | null, readonly "startFolderId"?: string | null | undefined, readonly "folderIds"?: Union_69, readonly "linkedPullRequest"?: Union_70, readonly "origin"?: Union_71, readonly "forkedFrom"?: Union_85, readonly "presetId"?: string | null | undefined, readonly "memberId"?: string | undefined, readonly "members"?: ThreadMembers_1, readonly "createdBy"?: Union_72, readonly "creatorPrincipal"?: ThreadCreatorPrincipal_1, readonly "latestTurn": Union_73, readonly "stopRequestedAt"?: string | null, readonly "createdAt": string, readonly "updatedAt": string, readonly "archivedAt"?: string | null | undefined, readonly "settledOverride"?: "settled" | "active" | null | undefined, readonly "settledAt"?: string | null | undefined, readonly "unsettledAt"?: string | null | undefined, readonly "snoozedUntil"?: string | null | undefined, readonly "snoozedAt"?: string | null | undefined, readonly "pinnedAt"?: string | null | undefined, readonly "pinOrderKey"?: string | null | undefined, readonly "sortOrderKey"?: string | null | undefined, readonly "titleRegeneration"?: Union_75, readonly "titleState"?: Union_76, readonly "session": Union_77, readonly "latestUserMessageAt": string | null, readonly "userTurnCount"?: number | undefined, readonly "queuedMessageCount"?: number | undefined, readonly "awaitingPersonReplyCount"?: number | undefined, readonly "pendingAsyncQuestionCount"?: number | undefined, readonly "preview"?: string | null | undefined, readonly "previewDeliveryCount"?: number | undefined, readonly "deliveredFileCount"?: number | undefined, readonly "latestDeliveryAt"?: string | null | undefined, readonly "hasPendingApprovals": boolean, readonly "pendingDecisionActivityId"?: string | undefined, readonly "hasPendingUserInput": boolean, readonly "askRoute"?: Union_78, readonly "hasActionableProposedPlan": boolean, readonly "status"?: "needs-approval" | "needs-input" | "plan-ready" | "running" | "failed" | "background" | "stopped" | "idle" | undefined, readonly "backgroundLiveness"?: "working" | "monitoring" | null | undefined, readonly "continuationCheck"?: ThreadContinuationCheckOrNull_1, readonly "backgroundMonitorCount"?: number | undefined, readonly "planProgress"?: Union_79 };
447
+ type Objects_238 = { readonly "items": ReadonlyArray<{ readonly "rewrite"?: Union_80, readonly "id": string, readonly "role": "user" | "assistant" | "system", readonly "text": string, readonly "attachments"?: ReadonlyArray<{ readonly "type": "image", readonly "id": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number } | { readonly "type": "file", readonly "id": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number }> | undefined, readonly "turnId": string | null, readonly "streaming": boolean, readonly "author"?: Union_81, readonly "recordId"?: string | undefined, readonly "modelSelection"?: Union_82, readonly "source"?: Union_83, readonly "origin"?: Union_84, readonly "createdAt": string, readonly "updatedAt": string, readonly "attachmentsTotal"?: number, readonly "textWindow"?: Objects_59 }>, readonly "nextCursor": string | null, readonly "snapshotSequence": number, readonly "total"?: number };
441
448
  type Union_9 = { readonly "turnId": string, readonly "state": "running" | "interrupted" | "completed" | "error", readonly "requestedAt": string, readonly "startedAt": string | null, readonly "completedAt": string | null, readonly "assistantMessageId": string | null, readonly "userMessageId"?: string | undefined, readonly "modelSelection"?: Objects_25 | undefined, readonly "sourceProposedPlan"?: { readonly "threadId": string, readonly "planId": string } | undefined, readonly "waitSpans"?: Union_10, readonly "runSegments"?: Union_11 } | null;
442
449
  type Union_20 = Objects_25 | undefined;
443
- type Objects_64 = { readonly "id": string, readonly "title": string, readonly "workspaceRoot": string, readonly "purpose"?: "conversation" | "project" | undefined, readonly "homeEnvironmentId"?: string | null | undefined, readonly "folders"?: ReadonlyArray<{ readonly "id": string, readonly "path": string, readonly "kind"?: "user" | "managed" | undefined, readonly "attachedAt": string, readonly "detachedAt"?: string | null | undefined, readonly "clone"?: { readonly "state": "cloning" | "failed", readonly "remoteUrl": string, readonly "failureKind"?: "cancelled" | "interrupted" | "git" | undefined, readonly "failureCategory"?: "authentication" | "unreachable" | "repository" | "locked-reference" | "timeout" | "other" | undefined, readonly "failure"?: string | undefined, readonly "createdDirectory"?: boolean | undefined, readonly "startedAt": string } | undefined }> | undefined, readonly "defaultFolderId"?: string | null | undefined, readonly "repositoryIdentity"?: { readonly "canonicalKey": string, readonly "locator": { readonly "source": "git-remote", readonly "remoteName": string, readonly "remoteUrl": string }, readonly "rootPath"?: string, readonly "displayName"?: string, readonly "provider"?: string, readonly "owner"?: string, readonly "name"?: string } | null | undefined, readonly "defaultModelSelection": Objects_25 | null, readonly "faviconPath"?: string | null | undefined, readonly "projectIcon"?: { readonly "kind": "lucide", readonly "name": string, readonly "color": "gray" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" } | { readonly "kind": "emoji", readonly "emoji": string } | null | undefined, readonly "scripts": ReadonlyArray<Objects_65>, readonly "sortOrderKey"?: string | null | undefined, readonly "createdAt": string, readonly "updatedAt": string, readonly "archivedAt"?: string | null | undefined };
450
+ type Objects_64 = { readonly "id": string, readonly "title": string, readonly "workspaceRoot": string, readonly "purpose"?: "conversation" | "project" | undefined, readonly "homeEnvironmentId"?: string | null | undefined, readonly "folders"?: ReadonlyArray<{ readonly "id": string, readonly "path": string, readonly "kind"?: "user" | "managed" | undefined, readonly "attachedAt": string, readonly "detachedAt"?: string | null | undefined, readonly "clone"?: { readonly "state": "cloning" | "failed", readonly "remoteUrl": string, readonly "failureKind"?: "cancelled" | "interrupted" | "git" | undefined, readonly "failureCategory"?: "authentication" | "unreachable" | "repository" | "locked-reference" | "timeout" | "other" | undefined, readonly "failure"?: string | undefined, readonly "createdDirectory"?: boolean | undefined, readonly "startedAt": string } | undefined, readonly "sharedSpaceId"?: string | undefined, readonly "sharedSpaceAttachState"?: "attaching" | "ready" | "detaching" | "failed" | undefined }> | undefined, readonly "defaultFolderId"?: string | null | undefined, readonly "repositoryIdentity"?: { readonly "canonicalKey": string, readonly "locator": { readonly "source": "git-remote", readonly "remoteName": string, readonly "remoteUrl": string }, readonly "rootPath"?: string, readonly "displayName"?: string, readonly "provider"?: string, readonly "owner"?: string, readonly "name"?: string } | null | undefined, readonly "defaultModelSelection": Objects_25 | null, readonly "faviconPath"?: string | null | undefined, readonly "projectIcon"?: { readonly "kind": "lucide", readonly "name": string, readonly "color": "gray" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" } | { readonly "kind": "emoji", readonly "emoji": string } | null | undefined, readonly "scripts": ReadonlyArray<Objects_65>, readonly "sortOrderKey"?: string | null | undefined, readonly "createdAt": string, readonly "updatedAt": string, readonly "archivedAt"?: string | null | undefined };
444
451
  type Objects_100 = { readonly "enableProviderUpdateChecks": boolean, readonly "enableAgentBrowserAccess": boolean, readonly "browserRetentionBudgetEnabled": boolean, readonly "machineBrowserDefaultViewport"?: Union_1, readonly "machineBrowserDefaultZoomFactor"?: 0.25 | 0.33 | 0.5 | 0.67 | 0.75 | 0.8 | 0.9 | 1 | 1.1 | 1.25 | 1.5 | 1.75 | 2 | 2.5 | 3 | 4 | 5, readonly "machineBrowserDefaultAppearance"?: "system" | "light" | "dark", readonly "enableAgentThreadDelegation": boolean, readonly "enableAgentSelfDevelopment": boolean, readonly "machineTaskConfirmation": { readonly "actionIds": Arrays_16, readonly "projectIds": ReadonlyArray<string>, readonly "remoteProjectTrust"?: ReadonlyArray<{ readonly "homeEnvironmentId": string, readonly "projectId": string }> }, readonly "enableHeapSnapshot": boolean, readonly "agentThreadDelegationMaxDepth": number, readonly "pluginUpdateCheck": boolean, readonly "backgroundActivityProfile": "balanced" | "performance" | "battery-saver", readonly "environmentIcon": "server" | "cloud" | "linux" | "desktop" | "laptop" | "mac-mini" | "mac-studio" | null, readonly "defaultRuntimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "addProjectBaseDirectory": string, readonly "textGenerationModelSelection": Objects_25 | null, readonly "sourceControlWritingStyle": { readonly "mode": "repo_conventions" | "conventional_commits" | "custom", readonly "customInstructions": string, readonly "followChangeRequestTemplates": boolean }, readonly "sourceControlWriterModelSelection": Objects_25 | null, readonly "dismissedDiscoveredDrivers": Arrays_17, readonly "defaultProxyId": string | null, readonly "wallpaper": { readonly "base": Objects_101, readonly "sidebar": Objects_101 | null, readonly "workspace": Objects_101 | null, readonly "chat": Objects_101 | null }, readonly "requireManualPairingForNewDevices": boolean, readonly "tunnelForceTcp": boolean, readonly "automaticGitFetchInterval": number, readonly "providerHealthRefreshInterval": number, readonly "backgroundActivity": { readonly "schemaVersion": 1, readonly "profile": "balanced" | "performance" | "battery-saver" | "custom", readonly "baseProfile"?: "balanced" | "performance" | "battery-saver", readonly "overrides": Objects_102 }, readonly "npmRegistry": string, readonly "proxies": { readonly [x: string]: { readonly "displayName"?: string | undefined, readonly "protocol": "http" | "https", readonly "host": string, readonly "port": number, readonly "bypass"?: string } }, readonly "plugins": { readonly "mcpServers": { readonly [x: string]: { readonly "name": string, readonly "transport": Union_41, readonly "enabled": boolean, readonly "providers": Objects_103, readonly "catalogId"?: string | undefined, readonly "oauth"?: Union_42, readonly "addedBy"?: Union_43 } }, readonly "skills": { readonly [x: string]: { readonly "name": string, readonly "source": Objects_104 | Objects_105 | Objects_106, readonly "enabled"?: boolean | undefined, readonly "modelInvocable": boolean, readonly "userInvocable": boolean, readonly "providers": Objects_107 } } }, readonly "observability": Objects_108 };
445
452
  type Objects_148 = { readonly "scheduleId": string, readonly "projectId": string, readonly "name": string, readonly "prompt": string, readonly "repeat": Objects_71, readonly "modelSelection": Objects_25, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "workspace": "project" | "worktree", readonly "presetId"?: string, readonly "enabled": boolean, readonly "nextRunAt": string, readonly "createdBy": Objects_149 | { readonly "kind": "thread", readonly "threadId": string } | { readonly "kind": "plugin", readonly "pluginId": string }, readonly "createdAt": string, readonly "updatedAt": string };
446
453
  type Union_63 = { readonly "environmentId": string, readonly "modelSelection": Objects_115, readonly "threadId"?: string } | null;
@@ -448,7 +455,7 @@ type Objects_87 = { readonly "recordId": string, readonly "from": Union_33, read
448
455
  type Objects_185 = { readonly "commentId": string, readonly "workItemId": string, readonly "projectId": string, readonly "sequence": number, readonly "revision": number, readonly "author": Union_56, readonly "body": string | null, readonly "bodyWindow"?: Objects_59, readonly "bodyState": "present" | "erased" | "unavailable", readonly "mentions": Arrays_40, readonly "parentId": string | null, readonly "createdAt": string, readonly "editedAt": string | null };
449
456
  type ThreadMembersInput = ReadonlyArray<ThreadMemberInput>;
450
457
  type ThreadMembersInput_1 = ReadonlyArray<ThreadMemberInput>;
451
- type Objects_219 = { readonly "threadId": string, readonly "nativeSessionImported"?: true, readonly "projectId": string, readonly "title": string, readonly "createdAt": string, readonly "updatedAt": string, readonly "archivedAt": string | null, readonly "parentThreadId": string | null, readonly "memberId"?: string, readonly "forkedFrom": Union_67, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "interactionMode": "default" | "plan", readonly "modelSelection": Objects_221, readonly "sessionStatus": "idle" | "starting" | "running" | "ready" | "interrupted" | "stopped" | "error" | null, readonly "sessionFailureCategory"?: string, readonly "latestTurnState": "running" | "interrupted" | "completed" | "error" | null, readonly "status": "needs-approval" | "needs-input" | "plan-ready" | "running" | "failed" | "background" | "stopped" | "idle", readonly "worktreePath"?: string | null, readonly "delegationDepth"?: number, readonly "summary"?: Objects_222, readonly "runtime"?: Objects_229, readonly "machineId": string };
458
+ type Objects_226 = { readonly "threadId": string, readonly "nativeSessionImported"?: true, readonly "projectId": string, readonly "title": string, readonly "createdAt": string, readonly "updatedAt": string, readonly "archivedAt": string | null, readonly "parentThreadId": string | null, readonly "memberId"?: string, readonly "forkedFrom": Union_67, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "interactionMode": "default" | "plan", readonly "modelSelection": Objects_228, readonly "sessionStatus": "idle" | "starting" | "running" | "ready" | "interrupted" | "stopped" | "error" | null, readonly "sessionFailureCategory"?: string, readonly "latestTurnState": "running" | "interrupted" | "completed" | "error" | null, readonly "status": "needs-approval" | "needs-input" | "plan-ready" | "running" | "failed" | "background" | "stopped" | "idle", readonly "worktreePath"?: string | null, readonly "delegationDepth"?: number, readonly "summary"?: Objects_229, readonly "runtime"?: Objects_236, readonly "machineId": string };
452
459
  type Objects_27 = { readonly "executionSelection"?: Union_4, readonly "nativeModeId"?: string | null | undefined, readonly "branch": string | null, readonly "startFolderId"?: string | null | undefined, readonly "folderIds"?: Union_5, readonly "linkedPullRequest"?: Union_6, readonly "origin"?: Union_7, readonly "presetId"?: string | null | undefined, readonly "members"?: ThreadMembers, readonly "createdBy"?: Union_8, readonly "creatorPrincipal"?: ThreadCreatorPrincipal, readonly "latestTurn": Union_9, readonly "stopRequestedAt"?: string | null, readonly "settledOverride": "settled" | "active" | null, readonly "settledAt": string | null, readonly "unsettledAt"?: string | null | undefined, readonly "snoozedUntil"?: string | null | undefined, readonly "snoozedAt"?: string | null | undefined, readonly "pinnedAt"?: string | null | undefined, readonly "pinOrderKey"?: string | null | undefined, readonly "sortOrderKey"?: string | null | undefined, readonly "titleRegeneration"?: Union_12, readonly "titleState"?: Union_13, readonly "session": Union_14, readonly "latestUserMessageAt": string | null, readonly "userTurnCount"?: number | undefined, readonly "queuedMessageCount"?: number | undefined, readonly "awaitingPersonReplyCount"?: number | undefined, readonly "pendingAsyncQuestionCount"?: number | undefined, readonly "preview"?: string | null | undefined, readonly "previewDeliveryCount"?: number | undefined, readonly "deliveredFileCount"?: number | undefined, readonly "latestDeliveryAt"?: string | null | undefined, readonly "hasPendingApprovals": boolean, readonly "pendingDecisionActivityId"?: string | undefined, readonly "hasPendingUserInput": boolean, readonly "askRoute"?: Union_16, readonly "hasActionableProposedPlan": boolean, readonly "continuationCheck"?: ThreadContinuationCheckOrNull };
453
460
  type Objects_66 = { readonly "nativeSessionImported"?: true, readonly "id": string, readonly "projectId": string, readonly "title": string, readonly "modelSelection": Objects_25, readonly "executionSelection"?: Union_4, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "nativeModeId"?: string | null | undefined, readonly "interactionMode": "default" | "plan", readonly "branch": string | null, readonly "worktreePath": string | null, readonly "startFolderId"?: string | null | undefined, readonly "folderIds"?: Union_5, readonly "linkedPullRequest"?: Union_6, readonly "origin"?: Union_7, readonly "forkedFrom"?: Union_23, readonly "presetId"?: string | null | undefined, readonly "memberId"?: string | undefined, readonly "members"?: ThreadMembers, readonly "createdBy"?: Union_8, readonly "creatorPrincipal"?: ThreadCreatorPrincipal, readonly "latestTurn": Union_9, readonly "stopRequestedAt"?: string | null, readonly "createdAt": string, readonly "updatedAt": string, readonly "archivedAt": string | null, readonly "settledOverride": "settled" | "active" | null, readonly "settledAt": string | null, readonly "unsettledAt"?: string | null | undefined, readonly "snoozedUntil"?: string | null | undefined, readonly "snoozedAt"?: string | null | undefined, readonly "pinnedAt"?: string | null | undefined, readonly "pinOrderKey"?: string | null | undefined, readonly "sortOrderKey"?: string | null | undefined, readonly "titleRegeneration"?: Union_12, readonly "titleState"?: Union_13, readonly "session": Union_14, readonly "latestUserMessageAt": string | null, readonly "userTurnCount"?: number | undefined, readonly "queuedMessageCount"?: number | undefined, readonly "awaitingPersonReplyCount"?: number | undefined, readonly "pendingAsyncQuestionCount"?: number | undefined, readonly "preview"?: string | null | undefined, readonly "previewDeliveryCount"?: number | undefined, readonly "deliveredFileCount"?: number | undefined, readonly "latestDeliveryAt"?: string | null | undefined, readonly "hasPendingApprovals": boolean, readonly "pendingDecisionActivityId"?: string | undefined, readonly "hasPendingUserInput": boolean, readonly "askRoute"?: Union_16, readonly "hasActionableProposedPlan": boolean, readonly "status"?: "needs-approval" | "needs-input" | "plan-ready" | "running" | "failed" | "background" | "stopped" | "idle" | undefined, readonly "backgroundLiveness"?: "working" | "monitoring" | null | undefined, readonly "continuationCheck"?: ThreadContinuationCheckOrNull, readonly "backgroundMonitorCount"?: number | undefined, readonly "planProgress"?: Union_17 };
454
461
  type Objects_43 = { readonly "items": ReadonlyArray<{ readonly "rewrite"?: Union_18, readonly "id": string, readonly "role": "user" | "assistant" | "system", readonly "text": string, readonly "attachments"?: ReadonlyArray<{ readonly "type": "image", readonly "id": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number } | { readonly "type": "file", readonly "id": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number }> | undefined, readonly "turnId": string | null, readonly "streaming": boolean, readonly "author"?: Union_19, readonly "recordId"?: string | undefined, readonly "modelSelection"?: Union_20, readonly "source"?: Union_21, readonly "origin"?: Union_22, readonly "createdAt": string, readonly "updatedAt": string, readonly "attachmentsTotal"?: number, readonly "textWindow"?: Objects_59 }>, readonly "nextCursor": string | null, readonly "snapshotSequence": number, readonly "total"?: number };
@@ -461,7 +468,7 @@ type Union_40 = { readonly "type": "identifier", readonly "name": string } | { r
461
468
  type Objects_205 = { readonly "role": string, readonly "name"?: string, readonly "value"?: string, readonly "description"?: string, readonly "bounds": { readonly "x": number, readonly "y": number, readonly "width": number, readonly "height": number } | null, readonly "state"?: { readonly "active"?: boolean, readonly "busy"?: boolean, readonly "checked"?: "on" | "off" | "mixed", readonly "editable"?: boolean, readonly "enabled"?: boolean, readonly "expanded"?: boolean, readonly "focused"?: boolean, readonly "selected"?: boolean, readonly "visible"?: boolean }, readonly "actions"?: ReadonlyArray<string>, readonly "children": ReadonlyArray<Objects_205> };
462
469
  type Objects_210 = { readonly "role": string, readonly "name"?: string, readonly "value"?: string, readonly "description"?: string, readonly "bounds": { readonly "x": number, readonly "y": number, readonly "width": number, readonly "height": number } | null, readonly "state"?: { readonly "active"?: boolean, readonly "busy"?: boolean, readonly "checked"?: "on" | "off" | "mixed", readonly "editable"?: boolean, readonly "enabled"?: boolean, readonly "expanded"?: boolean, readonly "focused"?: boolean, readonly "selected"?: boolean, readonly "visible"?: boolean }, readonly "actions"?: ReadonlyArray<string>, readonly "children": ReadonlyArray<Objects_210> };
463
470
  type Objects_212 = { readonly "role": string, readonly "name"?: string, readonly "value"?: string, readonly "description"?: string, readonly "bounds": { readonly "x": number, readonly "y": number, readonly "width": number, readonly "height": number } | null, readonly "state"?: { readonly "active"?: boolean, readonly "busy"?: boolean, readonly "checked"?: "on" | "off" | "mixed", readonly "editable"?: boolean, readonly "enabled"?: boolean, readonly "expanded"?: boolean, readonly "focused"?: boolean, readonly "selected"?: boolean, readonly "visible"?: boolean }, readonly "actions"?: ReadonlyArray<string>, readonly "children": ReadonlyArray<Objects_212> };
464
- type Objects_247 = { readonly "role": string, readonly "name"?: string, readonly "value"?: string, readonly "description"?: string, readonly "bounds": Union_30, readonly "state"?: Objects_74, readonly "actions"?: ReadonlyArray<string>, readonly "children": ReadonlyArray<Objects_247> };
471
+ type Objects_254 = { readonly "role": string, readonly "name"?: string, readonly "value"?: string, readonly "description"?: string, readonly "bounds": Union_30, readonly "state"?: Objects_74, readonly "actions"?: ReadonlyArray<string>, readonly "children": ReadonlyArray<Objects_254> };
465
472
  export type CommunicationWakeLoopsListInput = { readonly "threadId": string };
466
473
  export type CommunicationWakeLoopsListOutput = ReadonlyArray<{ readonly "threadId": string, readonly "peerThreadId"?: string, readonly "peerPluginId"?: string, readonly "peerRemote"?: { readonly "principalId": string, readonly "remoteThreadId": string }, readonly "heldActivityId"?: string, readonly "halfTrips": number, readonly "lastSender": string | null, readonly "updatedAt": string, readonly "waiting"?: number }>;
467
474
  export type CommunicationWakeLoopsResumeInput = { readonly "threadId": string, readonly "peerThreadId"?: string, readonly "peerPluginId"?: string, readonly "peerRemote"?: { readonly "principalId": string, readonly "remoteThreadId": string }, readonly "heldActivityId"?: string, readonly "requestId"?: string };
@@ -569,7 +576,7 @@ export type ThreadsListSubscribeOutput = { readonly "_tag": "snapshot", readonly
569
576
  export type ThreadsArchivedListInput = { };
570
577
  export type ThreadsArchivedListOutput = { readonly "snapshotSequence": number, readonly "projects": ReadonlyArray<Objects_64>, readonly "threads": ReadonlyArray<Objects_66>, readonly "updatedAt": string };
571
578
  export type ThreadsHistoryInput = { readonly "threadId": string, readonly "turnLimit"?: number, readonly "beforeCursor"?: string, readonly "afterCursor"?: string, readonly "aroundTurnId"?: string, readonly "boundedHistory"?: boolean };
572
- export type ThreadsHistoryOutput = { readonly "snapshotSequence": number, readonly "historyEpoch"?: string, readonly "thread": { readonly "id": string, readonly "projectId": string, readonly "title": string, readonly "modelSelection": Objects_25, readonly "actualModel"?: { readonly "selection": Objects_25, readonly "requested": Objects_25, readonly "source": "reported" | "echo", readonly "turnId"?: string | undefined, readonly "recordedAt": string } | undefined, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "interactionMode": "default" | "plan", readonly "nativeModeId"?: string | null | undefined, readonly "branch": string | null, readonly "worktreePath": string | null, readonly "startFolderId"?: string | null | undefined, readonly "folderIds"?: ReadonlyArray<string> | undefined, readonly "linkedPullRequest"?: Union_6, readonly "origin"?: Union_7, readonly "forkedFrom"?: Union_23, readonly "presetId"?: string | null | undefined, readonly "memberId"?: string | undefined, readonly "members"?: ThreadMembers, readonly "createdBy"?: Union_8, readonly "creatorPrincipal"?: ThreadCreatorPrincipal, readonly "latestTurn": Union_9, readonly "stopRequestedAt"?: string | null, readonly "continuationCheck"?: ThreadContinuationCheckOrNull, readonly "createdAt": string, readonly "updatedAt": string, readonly "archivedAt": string | null, readonly "settledOverride": "settled" | "active" | null, readonly "settledAt": string | null, readonly "unsettledAt"?: string | null | undefined, readonly "snoozedUntil"?: string | null | undefined, readonly "snoozedAt"?: string | null | undefined, readonly "pinnedAt"?: string | null | undefined, readonly "pinOrderKey"?: string | null | undefined, readonly "sortOrderKey"?: string | null | undefined, readonly "pendingNotifications"?: ReadonlyArray<{ readonly "dedupeKey": string, readonly "notification": { readonly "kind": "child.settled" | "child.failed" | "child.approval" | "child.question" | "child.stopped" | "child.resolved", readonly "childThreadId": string, readonly "childTitle": string, readonly "remotePost"?: Union_24, readonly "summary": string, readonly "requestId"?: string | undefined, readonly "questionRequest"?: ChildQuestionRequest, readonly "resolution"?: "approved" | "denied" | "handled" | "answered" | "dismissed" | undefined, readonly "pluginId"?: string | undefined, readonly "recordId"?: string | undefined, readonly "postId"?: string } | { readonly "kind": "plugin.notice" | "selfdev.resolved" | "cookie-import.resolved" | "remote.post", readonly "sourceThreadId"?: string | undefined, readonly "sourceTitle"?: string | undefined, readonly "childThreadId"?: string | undefined, readonly "childTitle"?: string | undefined, readonly "remotePost"?: Union_24, readonly "summary": string, readonly "requestId"?: string | undefined, readonly "questionRequest"?: ChildQuestionRequest, readonly "resolution"?: "approved" | "denied" | "handled" | "answered" | "dismissed" | undefined, readonly "pluginId"?: string | undefined, readonly "recordId"?: string | undefined, readonly "postId"?: string }, readonly "queuedAt": string }> | undefined, readonly "executionSelection"?: Objects_28 | undefined, readonly "turnIntents"?: ReadonlyArray<{ readonly "intentId": string, readonly "threadId": string, readonly "sequence": number, readonly "commandId": string, readonly "messageId": string, readonly "revision"?: number, readonly "action"?: Union_25, readonly "executionSelection"?: { readonly "environmentId": string, readonly "runtimeId": string, readonly "sourceId": string, readonly "profileId": string, readonly "endpointId"?: string, readonly "optionOverrides": Arrays_8, readonly "expectedRevisions": Objects_29 }, readonly "legacyModelSelection": { readonly "instanceId": string, readonly "model": string, readonly "options"?: Arrays_6 | Arrays_7 }, readonly "runSettings"?: { readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "interactionMode": "default" | "plan", readonly "nativeModeId"?: string }, readonly "origin"?: Objects_45 | Objects_46 | Objects_47 | Objects_48 | Objects_49 | Objects_50 | Objects_51 | Objects_52 | Objects_53 | Objects_54 | Objects_55 | Objects_56 | Objects_57 | Objects_58, readonly "sourceBlocks"?: ReadonlyArray<{ readonly "origin"?: Objects_45 | Objects_46 | Objects_47 | Objects_48 | Objects_49 | Objects_50 | Objects_51 | Objects_52 | Objects_53 | Objects_54 | Objects_55 | Objects_56 | Objects_57 | Objects_58, readonly "textOffset": number, readonly "textLength": number }>, readonly "noticesFolded"?: true, readonly "binding"?: { readonly "bindingId": string, readonly "generation": number, readonly "selection": Objects_28, readonly "compatibility": { readonly "match": "native" | "via-adapter" | "unsupported" | "unknown", readonly "reasonCode": "native-protocol" | "native-source" | "protocol-conversion" | "wrong-environment" | "resource-missing" | "resource-disabled" | "revision-conflict" | "source-mismatch" | "endpoint-mismatch" | "model-mapping-missing" | "driver-missing" | "driver-unknown" | "driver-identity-mismatch" | "external-endpoint-unsupported" | "protocol-unknown" | "protocol-unsupported" | "auth-unsupported" | "source-ownership-mismatch" | "platform-unsupported" | "version-unknown" | "version-unsupported" | "feature-unsupported" | "feature-unknown" | "capability-validation-failed" | "invalid-options" | "endpoint-invalid", readonly "endpointId": string | null, readonly "requestedModelId": string | null, readonly "effectiveOptions": Arrays_8, readonly "conversion": { readonly "id": string, readonly "version": string, readonly "from": string, readonly "to": string, readonly "enabled": boolean, readonly "capabilities": Objects_67, readonly "limitations": ReadonlyArray<string>, readonly "validationRefs": ReadonlyArray<string> } | null, readonly "limitations": ReadonlyArray<string>, readonly "evidence": ReadonlyArray<{ readonly "recordId": string, readonly "freshness": "current" | "stale" }>, readonly "fingerprint": string | null }, readonly "credentialIdentity": { readonly "id": string, readonly "revision": number } | null, readonly "requestedModelId": string, readonly "executedModelId": string | null } | null, readonly "status": "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned", readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown", readonly "attempt"?: { readonly "attemptId": string, readonly "intentId": string, readonly "workerEpoch": number, readonly "sourceBindingId": string | null, readonly "targetBindingId": string | null, readonly "nativeLocator": Union_26, readonly "stage": "preparing" | "dispatching" | "running" | "reconciling", readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown", readonly "createdAt": string, readonly "updatedAt": string } | null, readonly "deliveredTurnId"?: string | null, readonly "blockedReason"?: string | null, readonly "replacementIntentId"?: string | null, readonly "createdAt": string, readonly "updatedAt": string }> | undefined, readonly "scheduledWakes"?: ReadonlyArray<{ readonly "wakeId": string, readonly "threadId": string, readonly "dueAt": string, readonly "note": string, readonly "createdBy": Objects_68 | Objects_69 | Objects_70, readonly "state": "scheduled" | "fired" | "cancelled", readonly "afterServerUpgrade": boolean, readonly "scheduledOnServerVersion": string | null, readonly "intentId": string | null, readonly "skipped"?: true, readonly "firedAt": string | null, readonly "cancelledAt": string | null, readonly "upgrade"?: { readonly "requestedVersion": string, readonly "updateId": string | null, readonly "expectsVerdict"?: boolean | undefined, readonly "outcome": Union_27 } | undefined, readonly "repeat"?: Objects_71 | undefined, readonly "createdAt": string, readonly "updatedAt": string }> | undefined, readonly "turnQueuePaused"?: boolean | undefined, readonly "turnQueuePauseSource"?: "automatic-failure" | "manual" | "unknown" | undefined, readonly "acceptedInteractionRequestIds"?: ReadonlyArray<string> | undefined, readonly "titleRegeneration"?: Objects_37 | null | undefined, readonly "titleState"?: Objects_38 | null | undefined, readonly "deletedAt": string | null, readonly "messages": ReadonlyArray<{ readonly "rewrite"?: Union_18, readonly "id": string, readonly "role": "user" | "assistant" | "system", readonly "text": string, readonly "attachments"?: ReadonlyArray<Union_28> | undefined, readonly "turnId": string | null, readonly "streaming": boolean, readonly "author"?: Union_19, readonly "recordId"?: string | undefined, readonly "modelSelection"?: Union_20, readonly "source"?: Union_21, readonly "origin"?: Union_22, readonly "createdAt": string, readonly "updatedAt": string }>, readonly "proposedPlans": ReadonlyArray<{ readonly "id": string, readonly "turnId": string | null, readonly "planMarkdown": string, readonly "implementedAt": string | null, readonly "implementationThreadId": string | null, readonly "createdAt": string, readonly "updatedAt": string }>, readonly "activities": ReadonlyArray<{ readonly "id": string, readonly "tone": "info" | "tool" | "approval" | "error", readonly "kind": string, readonly "summary": string, readonly "payload": unknown, readonly "turnId": string | null, readonly "sequence"?: number | undefined, readonly "createdAt": string }>, readonly "checkpoints": ReadonlyArray<{ readonly "turnId": string, readonly "checkpointTurnCount": number, readonly "checkpointRef": string, readonly "status": "ready" | "missing" | "error", readonly "files": ReadonlyArray<{ readonly "path": string, readonly "kind": string, readonly "additions": number, readonly "deletions": number }>, readonly "assistantMessageId": string | null, readonly "completedAt": string }>, readonly "turnSummaries"?: ReadonlyArray<{ readonly "turnId": string, readonly "userMessageId"?: string, readonly "state": "running" | "interrupted" | "completed" | "error", readonly "startedAt": string | null, readonly "completedAt": string | null, readonly "waitSpans"?: Arrays_9, readonly "runSegments"?: Arrays_10 }> | undefined, readonly "session": Objects_39 | null }, readonly "page"?: { readonly "beforeCursor": string | null, readonly "hasMore": boolean, readonly "afterCursor"?: string | null, readonly "hasNewer"?: boolean, readonly "boundedHistory"?: boolean, readonly "history"?: { readonly "turnIds": ReadonlyArray<string>, readonly "messageIds": ReadonlyArray<string>, readonly "activityIds": ReadonlyArray<string>, readonly "proposedPlanIds": ReadonlyArray<string>, readonly "checkpointTurnIds": ReadonlyArray<string>, readonly "turnIntentIds": ReadonlyArray<string> }, readonly "snapshotSequence": number, readonly "threadSequence"?: number } | undefined };
579
+ export type ThreadsHistoryOutput = { readonly "snapshotSequence": number, readonly "historyEpoch"?: string, readonly "thread": { readonly "id": string, readonly "projectId": string, readonly "title": string, readonly "modelSelection": Objects_25, readonly "actualModel"?: { readonly "selection": Objects_25, readonly "requested": Objects_25, readonly "source": "reported" | "echo", readonly "turnId"?: string | undefined, readonly "recordedAt": string } | undefined, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "interactionMode": "default" | "plan", readonly "nativeModeId"?: string | null | undefined, readonly "branch": string | null, readonly "worktreePath": string | null, readonly "startFolderId"?: string | null | undefined, readonly "folderIds"?: ReadonlyArray<string> | undefined, readonly "linkedPullRequest"?: Union_6, readonly "origin"?: Union_7, readonly "forkedFrom"?: Union_23, readonly "presetId"?: string | null | undefined, readonly "memberId"?: string | undefined, readonly "members"?: ThreadMembers, readonly "createdBy"?: Union_8, readonly "creatorPrincipal"?: ThreadCreatorPrincipal, readonly "latestTurn": Union_9, readonly "stopRequestedAt"?: string | null, readonly "continuationCheck"?: ThreadContinuationCheckOrNull, readonly "createdAt": string, readonly "updatedAt": string, readonly "archivedAt": string | null, readonly "settledOverride": "settled" | "active" | null, readonly "settledAt": string | null, readonly "unsettledAt"?: string | null | undefined, readonly "snoozedUntil"?: string | null | undefined, readonly "snoozedAt"?: string | null | undefined, readonly "pinnedAt"?: string | null | undefined, readonly "pinOrderKey"?: string | null | undefined, readonly "sortOrderKey"?: string | null | undefined, readonly "pendingNotifications"?: ReadonlyArray<{ readonly "dedupeKey": string, readonly "notification": { readonly "kind": "child.settled" | "child.failed" | "child.approval" | "child.question" | "child.stopped" | "child.resolved", readonly "childThreadId": string, readonly "childTitle": string, readonly "remotePost"?: Union_24, readonly "summary": string, readonly "requestId"?: string | undefined, readonly "questionRequest"?: ChildQuestionRequest, readonly "resolution"?: "approved" | "denied" | "handled" | "answered" | "dismissed" | undefined, readonly "pluginId"?: string | undefined, readonly "recordId"?: string | undefined, readonly "postId"?: string } | { readonly "kind": "plugin.notice" | "selfdev.resolved" | "cookie-import.resolved" | "remote.post", readonly "sourceThreadId"?: string | undefined, readonly "sourceTitle"?: string | undefined, readonly "childThreadId"?: string | undefined, readonly "childTitle"?: string | undefined, readonly "remotePost"?: Union_24, readonly "summary": string, readonly "requestId"?: string | undefined, readonly "questionRequest"?: ChildQuestionRequest, readonly "resolution"?: "approved" | "denied" | "handled" | "answered" | "dismissed" | undefined, readonly "pluginId"?: string | undefined, readonly "recordId"?: string | undefined, readonly "postId"?: string }, readonly "queuedAt": string }> | undefined, readonly "executionSelection"?: Objects_28 | undefined, readonly "turnIntents"?: ReadonlyArray<{ readonly "intentId": string, readonly "threadId": string, readonly "sequence": number, readonly "commandId": string, readonly "messageId": string, readonly "paused"?: boolean, readonly "revision"?: number, readonly "action"?: Union_25, readonly "executionSelection"?: { readonly "environmentId": string, readonly "runtimeId": string, readonly "sourceId": string, readonly "profileId": string, readonly "endpointId"?: string, readonly "optionOverrides": Arrays_8, readonly "expectedRevisions": Objects_29 }, readonly "legacyModelSelection": { readonly "instanceId": string, readonly "model": string, readonly "options"?: Arrays_6 | Arrays_7 }, readonly "runSettings"?: { readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "interactionMode": "default" | "plan", readonly "nativeModeId"?: string }, readonly "origin"?: Objects_45 | Objects_46 | Objects_47 | Objects_48 | Objects_49 | Objects_50 | Objects_51 | Objects_52 | Objects_53 | Objects_54 | Objects_55 | Objects_56 | Objects_57 | Objects_58, readonly "sourceBlocks"?: ReadonlyArray<{ readonly "origin"?: Objects_45 | Objects_46 | Objects_47 | Objects_48 | Objects_49 | Objects_50 | Objects_51 | Objects_52 | Objects_53 | Objects_54 | Objects_55 | Objects_56 | Objects_57 | Objects_58, readonly "textOffset": number, readonly "textLength": number }>, readonly "noticesFolded"?: true, readonly "binding"?: { readonly "bindingId": string, readonly "generation": number, readonly "selection": Objects_28, readonly "compatibility": { readonly "match": "native" | "via-adapter" | "unsupported" | "unknown", readonly "reasonCode": "native-protocol" | "native-source" | "protocol-conversion" | "wrong-environment" | "resource-missing" | "resource-disabled" | "revision-conflict" | "source-mismatch" | "endpoint-mismatch" | "model-mapping-missing" | "driver-missing" | "driver-unknown" | "driver-identity-mismatch" | "external-endpoint-unsupported" | "protocol-unknown" | "protocol-unsupported" | "auth-unsupported" | "source-ownership-mismatch" | "platform-unsupported" | "version-unknown" | "version-unsupported" | "feature-unsupported" | "feature-unknown" | "capability-validation-failed" | "invalid-options" | "endpoint-invalid", readonly "endpointId": string | null, readonly "requestedModelId": string | null, readonly "effectiveOptions": Arrays_8, readonly "conversion": { readonly "id": string, readonly "version": string, readonly "from": string, readonly "to": string, readonly "enabled": boolean, readonly "capabilities": Objects_67, readonly "limitations": ReadonlyArray<string>, readonly "validationRefs": ReadonlyArray<string> } | null, readonly "limitations": ReadonlyArray<string>, readonly "evidence": ReadonlyArray<{ readonly "recordId": string, readonly "freshness": "current" | "stale" }>, readonly "fingerprint": string | null }, readonly "credentialIdentity": { readonly "id": string, readonly "revision": number } | null, readonly "requestedModelId": string, readonly "executedModelId": string | null } | null, readonly "status": "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned", readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown", readonly "attempt"?: { readonly "attemptId": string, readonly "intentId": string, readonly "workerEpoch": number, readonly "sourceBindingId": string | null, readonly "targetBindingId": string | null, readonly "nativeLocator": Union_26, readonly "stage": "preparing" | "dispatching" | "running" | "reconciling", readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown", readonly "createdAt": string, readonly "updatedAt": string } | null, readonly "deliveredTurnId"?: string | null, readonly "blockedReason"?: string | null, readonly "replacementIntentId"?: string | null, readonly "createdAt": string, readonly "updatedAt": string }> | undefined, readonly "scheduledWakes"?: ReadonlyArray<{ readonly "wakeId": string, readonly "threadId": string, readonly "dueAt": string, readonly "note": string, readonly "createdBy": Objects_68 | Objects_69 | Objects_70, readonly "state": "scheduled" | "fired" | "cancelled", readonly "afterServerUpgrade": boolean, readonly "scheduledOnServerVersion": string | null, readonly "intentId": string | null, readonly "skipped"?: true, readonly "firedAt": string | null, readonly "cancelledAt": string | null, readonly "upgrade"?: { readonly "requestedVersion": string, readonly "updateId": string | null, readonly "expectsVerdict"?: boolean | undefined, readonly "outcome": Union_27 } | undefined, readonly "repeat"?: Objects_71 | undefined, readonly "createdAt": string, readonly "updatedAt": string }> | undefined, readonly "turnQueuePaused"?: boolean | undefined, readonly "turnQueuePauseSource"?: "automatic-failure" | "manual" | "unknown" | undefined, readonly "acceptedInteractionRequestIds"?: ReadonlyArray<string> | undefined, readonly "titleRegeneration"?: Objects_37 | null | undefined, readonly "titleState"?: Objects_38 | null | undefined, readonly "deletedAt": string | null, readonly "messages": ReadonlyArray<{ readonly "rewrite"?: Union_18, readonly "id": string, readonly "role": "user" | "assistant" | "system", readonly "text": string, readonly "attachments"?: ReadonlyArray<Union_28> | undefined, readonly "turnId": string | null, readonly "streaming": boolean, readonly "author"?: Union_19, readonly "recordId"?: string | undefined, readonly "modelSelection"?: Union_20, readonly "source"?: Union_21, readonly "origin"?: Union_22, readonly "createdAt": string, readonly "updatedAt": string }>, readonly "proposedPlans": ReadonlyArray<{ readonly "id": string, readonly "turnId": string | null, readonly "planMarkdown": string, readonly "implementedAt": string | null, readonly "implementationThreadId": string | null, readonly "createdAt": string, readonly "updatedAt": string }>, readonly "activities": ReadonlyArray<{ readonly "id": string, readonly "tone": "info" | "tool" | "approval" | "error", readonly "kind": string, readonly "summary": string, readonly "payload": unknown, readonly "turnId": string | null, readonly "sequence"?: number | undefined, readonly "createdAt": string }>, readonly "checkpoints": ReadonlyArray<{ readonly "turnId": string, readonly "checkpointTurnCount": number, readonly "checkpointRef": string, readonly "status": "ready" | "missing" | "error", readonly "files": ReadonlyArray<{ readonly "path": string, readonly "kind": string, readonly "additions": number, readonly "deletions": number }>, readonly "assistantMessageId": string | null, readonly "completedAt": string }>, readonly "turnSummaries"?: ReadonlyArray<{ readonly "turnId": string, readonly "userMessageId"?: string, readonly "state": "running" | "interrupted" | "completed" | "error", readonly "startedAt": string | null, readonly "completedAt": string | null, readonly "waitSpans"?: Arrays_9, readonly "runSegments"?: Arrays_10 }> | undefined, readonly "session": Objects_39 | null }, readonly "page"?: { readonly "beforeCursor": string | null, readonly "hasMore": boolean, readonly "afterCursor"?: string | null, readonly "hasNewer"?: boolean, readonly "boundedHistory"?: boolean, readonly "history"?: { readonly "turnIds": ReadonlyArray<string>, readonly "messageIds": ReadonlyArray<string>, readonly "activityIds": ReadonlyArray<string>, readonly "proposedPlanIds": ReadonlyArray<string>, readonly "checkpointTurnIds": ReadonlyArray<string>, readonly "turnIntentIds": ReadonlyArray<string> }, readonly "snapshotSequence": number, readonly "threadSequence"?: number } | undefined };
573
580
  export type ThreadsSearchInput = { readonly "query": string, readonly "limit"?: number, readonly "includeArchived"?: boolean, readonly "createdAfter"?: string, readonly "createdBefore"?: string, readonly "cursor"?: number, readonly "projectId"?: string };
574
581
  export type ThreadsSearchOutput = { readonly "matches": ReadonlyArray<{ readonly "threadId": string, readonly "projectId": string, readonly "source": "user" | "assistant", readonly "snippet": string, readonly "messageCreatedAt": string | null, readonly "messageId"?: string, readonly "threadTitle"?: string, readonly "projectName"?: string, readonly "archivedAt"?: string | null }>, readonly "filtersApplied"?: boolean, readonly "nextCursor"?: number | null };
575
582
  export type ThreadsResumeCommandGetInput = { readonly "threadId": string };
@@ -958,6 +965,8 @@ export type ThreadsShellCommandRecordInput = { readonly "requestId"?: string, re
958
965
  export type ThreadsShellCommandRecordOutput = Objects_203;
959
966
  export type ThreadsTurnIntentsEditInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "intentId": string, readonly "expectedRevision": number, readonly "message": { readonly "text": string, readonly "attachments": ReadonlyArray<{ readonly "type": "image", readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number, readonly "dataUrl": string, readonly "source"?: Objects_204 } | { readonly "type": "file", readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number, readonly "dataUrl": string } | { readonly "type": "image", readonly "id": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number, readonly "source"?: Objects_204 | Objects_206 } | { readonly "type": "file", readonly "id": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number, readonly "source"?: { readonly "_tag": "pasted-text" } | Objects_206 | { readonly "_tag": "thread-reference", readonly "environmentId": string, readonly "threadId": string } }> } };
960
967
  export type ThreadsTurnIntentsEditOutput = { readonly "sequence": number, readonly "replayed"?: boolean, readonly "status": "accepted" | "noop" };
968
+ export type ThreadsTurnIntentsSetPausedInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "intentId": string, readonly "paused": boolean };
969
+ export type ThreadsTurnIntentsSetPausedOutput = Objects_203;
961
970
  export type ThreadsTurnIntentsReorderInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "intentId": string, readonly "beforeIntentId": string | null };
962
971
  export type ThreadsTurnIntentsReorderOutput = Objects_203;
963
972
  export type ThreadsTurnQueuePauseInput = { readonly "requestId"?: string, readonly "threadId": string };
@@ -1076,32 +1085,62 @@ export type ThreadsMembersGetInput = { readonly "projectId": string, readonly "t
1076
1085
  export type ThreadsMembersGetOutput = ReadonlyArray<ThreadMembersState>;
1077
1086
  export type ThreadsMembersUpdateInput = { readonly "projectId": string, readonly "thread": ThreadMemberThreadRefInput, readonly "requestId"?: string, readonly "expectedVersion": number, readonly "add"?: ThreadMembersInput, readonly "remove"?: ThreadMembersInput_1 };
1078
1087
  export type ThreadsMembersUpdateOutput = { readonly "sequence": number, readonly "result": ThreadMembersUpdateResult, readonly "replayed"?: boolean };
1088
+ export type ProjectsSharedSpacesListInput = Objects_219;
1089
+ export type ProjectsSharedSpacesListOutput = Objects_220;
1090
+ export type ProjectsSharedSpacesGetInput = { readonly "projectId": string, readonly "spaceId": string };
1091
+ export type ProjectsSharedSpacesGetOutput = Objects_221;
1092
+ export type ProjectsSharedSpacesSubscribeInput = Objects_219;
1093
+ export type ProjectsSharedSpacesSubscribeOutput = { readonly "_tag": "snapshot", readonly "value": Objects_220 } | Objects_63;
1094
+ export type ProjectsSharedSpacesCreateInput = { readonly "projectId": string, readonly "name": string, readonly "requestId"?: string, readonly "excludePatterns"?: ReadonlyArray<string>, readonly "includedLargeFiles"?: ReadonlyArray<string> };
1095
+ export type ProjectsSharedSpacesCreateOutput = Objects_221;
1096
+ export type ProjectsSharedSpacesUpdateInput = { readonly "projectId": string, readonly "spaceId": string, readonly "requestId"?: string, readonly "name"?: string, readonly "excludePatterns"?: ReadonlyArray<string>, readonly "includedLargeFiles"?: ReadonlyArray<string> };
1097
+ export type ProjectsSharedSpacesUpdateOutput = Objects_221;
1098
+ export type ProjectsSharedSpacesTreeListInput = { readonly "projectId": string, readonly "spaceId": string, readonly "revision"?: string, readonly "path"?: string };
1099
+ export type ProjectsSharedSpacesTreeListOutput = { readonly "projectId": string, readonly "spaceId": string, readonly "revision": string | null, readonly "path": string, readonly "entries": ReadonlyArray<{ readonly "path": string, readonly "name": string, readonly "kind": "file" | "directory", readonly "size": number, readonly "oid": string, readonly "executable": boolean }> };
1100
+ export type ProjectsSharedSpacesFilesStatInput = { readonly "projectId": string, readonly "spaceId": string, readonly "revision"?: string, readonly "path": string };
1101
+ export type ProjectsSharedSpacesFilesStatOutput = { readonly "projectId": string, readonly "spaceId": string, readonly "revision": string | null, readonly "path": string, readonly "kind": "file" | "directory", readonly "oid": string, readonly "size": number, readonly "executable": boolean, readonly "previewable": boolean };
1102
+ export type ProjectsSharedSpacesFilesReadInput = { readonly "projectId": string, readonly "spaceId": string, readonly "revision"?: string, readonly "path": string, readonly "offset"?: number, readonly "maxBytes"?: number };
1103
+ export type ProjectsSharedSpacesFilesReadOutput = { readonly "projectId": string, readonly "spaceId": string, readonly "revision": string | null, readonly "path": string, readonly "oid": string, readonly "totalBytes": number, readonly "offset": number, readonly "bytesRead": number, readonly "truncated": boolean, readonly "isBinary": boolean, readonly "content": string };
1104
+ export type ProjectsSharedSpacesFilesIssueAccessInput = { readonly "projectId": string, readonly "spaceId": string, readonly "revision"?: string, readonly "path": string };
1105
+ export type ProjectsSharedSpacesFilesIssueAccessOutput = { readonly "projectId": string, readonly "spaceId": string, readonly "revision": string | null, readonly "path": string, readonly "token": string, readonly "blobPath": string, readonly "previewPath": string, readonly "expiresAt": string, readonly "previewSupported": boolean, readonly "fallbackReason"?: "over-large-limit" | "no-converter" };
1106
+ export type ProjectsSharedSpacesHistoryListInput = { readonly "projectId": string, readonly "spaceId": string, readonly "cursor"?: string, readonly "limit"?: number };
1107
+ export type ProjectsSharedSpacesHistoryListOutput = { readonly "projectId": string, readonly "spaceId": string, readonly "entries": ReadonlyArray<{ readonly "oid": string, readonly "parentOids": ReadonlyArray<string>, readonly "summary": string, readonly "machineLabel": string, readonly "threadId"?: string | null, readonly "source": "create" | "promote" | "turn" | "manual" | "conflict-resolve" | "history-restore", readonly "createdAt": string, readonly "changedPaths": ReadonlyArray<string> }>, readonly "nextCursor": string | null };
1108
+ export type ProjectsSharedSpacesHistoryRestoreInput = { readonly "projectId": string, readonly "spaceId": string, readonly "targetOid": string, readonly "expectedHeadOid": string | null, readonly "requestId": string };
1109
+ export type ProjectsSharedSpacesHistoryRestoreOutput = { readonly "projectId": string, readonly "spaceId": string, readonly "headOid": string, readonly "restoredFromOid": string };
1110
+ export type ProjectsSharedSpacesLocalSyncInput = { readonly "projectId": string, readonly "spaceId": string, readonly "threadId"?: string, readonly "source"?: "manual" | "pre-turn" | "post-turn" | "reconnect", readonly "requestId"?: string };
1111
+ export type ProjectsSharedSpacesLocalSyncOutput = { readonly "projectId": string, readonly "spaceId": string, readonly "spaceName"?: string, readonly "headOid": string | null, readonly "pushed": boolean, readonly "pulled": boolean, readonly "queuedOutbox": boolean, readonly "usedCachedOffline"?: boolean, readonly "conflictIds": ReadonlyArray<string>, readonly "openConflictPaths"?: ReadonlyArray<string>, readonly "blockedFiles": ReadonlyArray<Objects_222>, readonly "oversizedFiles": ReadonlyArray<Objects_223>, readonly "skippedNestedGitPaths": ReadonlyArray<string> };
1112
+ export type ProjectsSharedSpacesLocalDetachInput = { readonly "projectId": string, readonly "spaceId": string, readonly "confirmDiscardPendingOutbox"?: boolean, readonly "requestId"?: string };
1113
+ export type ProjectsSharedSpacesLocalDetachOutput = { readonly "projectId": string, readonly "spaceId": string, readonly "detached": boolean, readonly "discardedOutbox": boolean };
1114
+ export type ProjectsSharedSpacesLocalStatusGetInput = Objects_224;
1115
+ export type ProjectsSharedSpacesLocalStatusGetOutput = Objects_225;
1116
+ export type ProjectsSharedSpacesLocalStatusSubscribeInput = Objects_224;
1117
+ export type ProjectsSharedSpacesLocalStatusSubscribeOutput = { readonly "_tag": "snapshot", readonly "value": Objects_225 } | Objects_63;
1079
1118
  export type ProjectsMachinesListEncodedOutput = { readonly "accountDiscovery"?: AccountMachineDiscoveryStatus, readonly "items": ReadonlyArray<{ readonly "platform"?: { readonly "os": "darwin" | "linux" | "windows" | "unknown", readonly "arch": "arm64" | "x64" | "other", readonly "machine"?: unknown }, readonly "serverVersion"?: string, readonly "wireProtocolVersion"?: number, readonly "threadDirectoryIds"?: boolean, readonly "actions"?: ReadonlyArray<{ readonly "actionId": string, readonly "kind": "install" | "detect" | "sign-in" | "update" | "uninstall" | "health-check" | "restart" | "upgrade" | "command" | "diagnostics" | "project-task", readonly "driver"?: string, readonly "displayName"?: string, readonly "description"?: string, readonly "variants"?: Arrays_, readonly "reversible": boolean }>, readonly "autoApproved"?: "all" | ReadonlyArray<string>, readonly "projectTasks"?: ReadonlyArray<{ readonly "name": string, readonly "description"?: string, readonly "variants"?: Arrays_1 }>, readonly "seatHealth"?: SeatHealth, readonly "projectFolderAttached"?: boolean, readonly "environmentId": string, readonly "name": string, readonly "online": boolean, readonly "connection"?: "stream" | "polling" | "none", readonly "memberUpdateRequired"?: true, readonly "joinedAt": string, readonly "lastSeenAt"?: string, readonly "providers": ReadonlyArray<{ readonly "instanceId": string, readonly "driver": string, readonly "displayName": string, readonly "models": ReadonlyArray<{ readonly "slug": string, readonly "name": string }>, readonly "defaultModel"?: string, readonly "readiness"?: "ready" | "unchecked" | "checking" | "disabled" | "not-installed" | "unauthenticated" | "error", readonly "installed"?: boolean, readonly "auth"?: "authenticated" | "unauthenticated" | "unknown", readonly "modelCatalog"?: Objects_20 }>, readonly "providersReportedAt"?: string, readonly "principalId": string, readonly "admittedBy"?: "join-code" | "client-broker" | "account", readonly "keyChangePending"?: boolean, readonly "replacementName"?: string, readonly "previousLastSeenAt"?: string, readonly "restoredFromRemovalId"?: string }>, readonly "removedEnvironmentIds"?: ReadonlyArray<string>, readonly "removedMachines"?: ReadonlyArray<ProjectMachineRemoval_3>, readonly "excludedEnvironmentIds"?: ReadonlyArray<string>, readonly "accountMachines"?: ReadonlyArray<{ readonly "environmentId": string, readonly "name": string, readonly "online": boolean, readonly "connection"?: "stream" | "polling" | "none", readonly "lastSeenAt"?: string, readonly "excluded": boolean, readonly "seatHealth"?: SeatHealth, readonly "removed"?: boolean, readonly "keyChangePending"?: boolean, readonly "pendingAdmission"?: boolean, readonly "replacementName"?: string }> };
1080
- export type ProjectsMachinesThreadsListEncodedOutput = { readonly "items": ReadonlyArray<Objects_219>, readonly "nextCursor": string | null, readonly "snapshotSequence": number, readonly "historyEpoch"?: string, readonly "machine": Objects_230 };
1081
- export type ProjectsMachinesThreadsGetEncodedOutput = { readonly "thread": Objects_219, readonly "execution": { readonly "threadId": string, readonly "latestTurn": { readonly "turnId": string, readonly "state": "running" | "interrupted" | "completed" | "error" } | null, readonly "queue": ReadonlyArray<{ readonly "intentId": string, readonly "status": "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned", readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown", readonly "position": number, readonly "waitingForCapacity"?: true }>, readonly "truncated": boolean, readonly "queuePaused": boolean, readonly "pendingApprovalCount": number, readonly "pendingUserInputCount": number, readonly "continuation": "active" | "queued" | "blocked" | "paused" | "idle" }, readonly "machine": Objects_230 };
1082
- export type ProjectsMachinesThreadsMessagesListEncodedOutput = Objects_231;
1083
- export type ThreadsListEncodedOutput = { readonly "items": ReadonlyArray<{ readonly "threadId": string, readonly "nativeSessionImported"?: true, readonly "projectId": string, readonly "title": string, readonly "createdAt": string, readonly "updatedAt": string, readonly "archivedAt": string | null, readonly "parentThreadId": string | null, readonly "memberId"?: string, readonly "forkedFrom": Union_67, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "interactionMode": "default" | "plan", readonly "modelSelection": Objects_221, readonly "sessionStatus": "idle" | "starting" | "running" | "ready" | "interrupted" | "stopped" | "error" | null, readonly "sessionFailureCategory"?: string, readonly "latestTurnState": "running" | "interrupted" | "completed" | "error" | null, readonly "status": "needs-approval" | "needs-input" | "plan-ready" | "running" | "failed" | "background" | "stopped" | "idle", readonly "worktreePath"?: string | null, readonly "delegationDepth"?: number, readonly "summary"?: Objects_222, readonly "runtime"?: Objects_229 }>, readonly "nextCursor": string | null, readonly "snapshotSequence": number, readonly "historyEpoch"?: string };
1084
- export type ThreadsArchivedListEncodedOutput = { readonly "snapshotSequence": number, readonly "projects": ReadonlyArray<Objects_244>, readonly "threads": ReadonlyArray<Objects_246>, readonly "updatedAt": string };
1085
- export type ThreadsHistoryEncodedOutput = { readonly "snapshotSequence": number, readonly "historyEpoch"?: string, readonly "thread": { readonly "id": string, readonly "projectId": string, readonly "title": string, readonly "modelSelection": Objects_221, readonly "actualModel"?: { readonly "selection": Objects_221, readonly "requested": Objects_221, readonly "source": "reported" | "echo", readonly "turnId"?: string | undefined, readonly "recordedAt": string } | undefined, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "interactionMode"?: "default" | "plan" | undefined, readonly "nativeModeId"?: string | null | undefined, readonly "branch": string | null, readonly "worktreePath": string | null, readonly "startFolderId"?: string | null | undefined, readonly "folderIds"?: ReadonlyArray<string> | undefined, readonly "linkedPullRequest"?: Union_70, readonly "origin"?: Union_71, readonly "forkedFrom"?: Union_85, readonly "presetId"?: string | null | undefined, readonly "memberId"?: string | undefined, readonly "members"?: ThreadMembers_1, readonly "createdBy"?: Union_72, readonly "creatorPrincipal"?: ThreadCreatorPrincipal_1, readonly "latestTurn": Union_73, readonly "stopRequestedAt"?: string | null, readonly "continuationCheck"?: ThreadContinuationCheckOrNull_1, readonly "createdAt": string, readonly "updatedAt": string, readonly "archivedAt"?: string | null | undefined, readonly "settledOverride"?: "settled" | "active" | null | undefined, readonly "settledAt"?: string | null | undefined, readonly "unsettledAt"?: string | null | undefined, readonly "snoozedUntil"?: string | null | undefined, readonly "snoozedAt"?: string | null | undefined, readonly "pinnedAt"?: string | null | undefined, readonly "pinOrderKey"?: string | null | undefined, readonly "sortOrderKey"?: string | null | undefined, readonly "pendingNotifications"?: ReadonlyArray<{ readonly "dedupeKey": string, readonly "notification": { readonly "kind": "child.settled" | "child.failed" | "child.approval" | "child.question" | "child.stopped" | "child.resolved", readonly "childThreadId": string, readonly "childTitle": string, readonly "remotePost"?: Union_86, readonly "summary": string, readonly "requestId"?: string | undefined, readonly "questionRequest"?: ChildQuestionRequest, readonly "resolution"?: "approved" | "denied" | "handled" | "answered" | "dismissed" | undefined, readonly "pluginId"?: string | undefined, readonly "recordId"?: string | undefined, readonly "postId"?: string } | { readonly "kind": "plugin.notice" | "selfdev.resolved" | "cookie-import.resolved" | "remote.post", readonly "sourceThreadId"?: string | undefined, readonly "sourceTitle"?: string | undefined, readonly "childThreadId"?: string | undefined, readonly "childTitle"?: string | undefined, readonly "remotePost"?: Union_86, readonly "summary": string, readonly "requestId"?: string | undefined, readonly "questionRequest"?: ChildQuestionRequest, readonly "resolution"?: "approved" | "denied" | "handled" | "answered" | "dismissed" | undefined, readonly "pluginId"?: string | undefined, readonly "recordId"?: string | undefined, readonly "postId"?: string }, readonly "queuedAt": string }> | undefined, readonly "executionSelection"?: Objects_207 | undefined, readonly "turnIntents"?: ReadonlyArray<{ readonly "intentId": string, readonly "threadId": string, readonly "sequence": number, readonly "commandId": string, readonly "messageId": string, readonly "revision"?: number, readonly "action"?: Union_87, readonly "executionSelection"?: { readonly "environmentId": string, readonly "runtimeId": string, readonly "sourceId": string, readonly "profileId": string, readonly "endpointId"?: string, readonly "optionOverrides": Arrays_8, readonly "expectedRevisions": Objects_29 }, readonly "legacyModelSelection": { readonly "instanceId": string, readonly "model": string, readonly "options"?: Arrays_23 | Objects_114 }, readonly "runSettings"?: { readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "interactionMode": "default" | "plan", readonly "nativeModeId"?: string }, readonly "origin"?: Objects_45 | Objects_233 | Objects_234 | Objects_235 | Objects_236 | Objects_237 | Objects_238 | Objects_239 | Objects_240 | Objects_241 | Objects_242 | Objects_56 | Objects_57 | Objects_243, readonly "sourceBlocks"?: ReadonlyArray<{ readonly "origin"?: Objects_45 | Objects_233 | Objects_234 | Objects_235 | Objects_236 | Objects_237 | Objects_238 | Objects_239 | Objects_240 | Objects_241 | Objects_242 | Objects_56 | Objects_57 | Objects_243, readonly "textOffset": number, readonly "textLength": number }>, readonly "noticesFolded"?: true, readonly "binding"?: { readonly "bindingId": string, readonly "generation": number, readonly "selection": Objects_207, readonly "compatibility": { readonly "match": "native" | "via-adapter" | "unsupported" | "unknown", readonly "reasonCode": "native-protocol" | "native-source" | "protocol-conversion" | "wrong-environment" | "resource-missing" | "resource-disabled" | "revision-conflict" | "source-mismatch" | "endpoint-mismatch" | "model-mapping-missing" | "driver-missing" | "driver-unknown" | "driver-identity-mismatch" | "external-endpoint-unsupported" | "protocol-unknown" | "protocol-unsupported" | "auth-unsupported" | "source-ownership-mismatch" | "platform-unsupported" | "version-unknown" | "version-unsupported" | "feature-unsupported" | "feature-unknown" | "capability-validation-failed" | "invalid-options" | "endpoint-invalid", readonly "endpointId": string | null, readonly "requestedModelId": string | null, readonly "effectiveOptions": Arrays_8, readonly "conversion": { readonly "id": string, readonly "version": string, readonly "from": string, readonly "to": string, readonly "enabled": boolean, readonly "capabilities": Objects_67, readonly "limitations": ReadonlyArray<string>, readonly "validationRefs": ReadonlyArray<string> } | null, readonly "limitations": ReadonlyArray<string>, readonly "evidence": ReadonlyArray<{ readonly "recordId": string, readonly "freshness": "current" | "stale" }>, readonly "fingerprint": string | null }, readonly "credentialIdentity": { readonly "id": string, readonly "revision": number } | null, readonly "requestedModelId": string, readonly "executedModelId": string | null } | null, readonly "status": "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned", readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown", readonly "attempt"?: { readonly "attemptId": string, readonly "intentId": string, readonly "workerEpoch": number, readonly "sourceBindingId": string | null, readonly "targetBindingId": string | null, readonly "nativeLocator": Union_88, readonly "stage": "preparing" | "dispatching" | "running" | "reconciling", readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown", readonly "createdAt": string, readonly "updatedAt": string } | null, readonly "deliveredTurnId"?: string | null, readonly "blockedReason"?: string | null, readonly "replacementIntentId"?: string | null, readonly "createdAt": string, readonly "updatedAt": string }> | undefined, readonly "scheduledWakes"?: ReadonlyArray<{ readonly "wakeId": string, readonly "threadId": string, readonly "dueAt": string, readonly "note": string, readonly "createdBy": { readonly "kind": "thread", readonly "threadId": string } | Objects_69 | { readonly "kind": "plugin", readonly "pluginId": string }, readonly "state": "scheduled" | "fired" | "cancelled", readonly "afterServerUpgrade": boolean, readonly "scheduledOnServerVersion": string | null, readonly "intentId": string | null, readonly "skipped"?: true, readonly "firedAt": string | null, readonly "cancelledAt": string | null, readonly "upgrade"?: { readonly "requestedVersion": string, readonly "updateId": string | null, readonly "expectsVerdict"?: boolean | undefined, readonly "outcome": { readonly "status": "committed" | "rolled-back" | "failed" | "unknown", readonly "targetVersion"?: string | undefined, readonly "fromVersion": string | null, readonly "reason": string | null } | null } | undefined, readonly "repeat"?: Objects_150 | undefined, readonly "createdAt": string, readonly "updatedAt": string }> | undefined, readonly "turnQueuePaused"?: boolean | undefined, readonly "turnQueuePauseSource"?: "automatic-failure" | "manual" | "unknown" | undefined, readonly "acceptedInteractionRequestIds"?: ReadonlyArray<string> | undefined, readonly "titleRegeneration"?: Objects_226 | null | undefined, readonly "titleState"?: Objects_227 | null | undefined, readonly "deletedAt": string | null, readonly "messages": ReadonlyArray<{ readonly "rewrite"?: Union_80, readonly "id": string, readonly "role": "user" | "assistant" | "system", readonly "text": string, readonly "attachments"?: ReadonlyArray<Union_89> | undefined, readonly "turnId": string | null, readonly "streaming": boolean, readonly "author"?: Union_81, readonly "recordId"?: string | undefined, readonly "modelSelection"?: Union_82, readonly "source"?: Union_83, readonly "origin"?: Union_84, readonly "createdAt": string, readonly "updatedAt": string }>, readonly "proposedPlans"?: ReadonlyArray<{ readonly "id": string, readonly "turnId": string | null, readonly "planMarkdown": string, readonly "implementedAt"?: string | null | undefined, readonly "implementationThreadId"?: string | null | undefined, readonly "createdAt": string, readonly "updatedAt": string }> | undefined, readonly "activities": ReadonlyArray<{ readonly "id": string, readonly "tone": "info" | "tool" | "approval" | "error", readonly "kind": string, readonly "summary": string, readonly "payload": unknown, readonly "turnId": string | null, readonly "sequence"?: number | undefined, readonly "createdAt": string }>, readonly "checkpoints": ReadonlyArray<{ readonly "turnId": string, readonly "checkpointTurnCount": number, readonly "checkpointRef": string, readonly "status": "ready" | "missing" | "error", readonly "files": ReadonlyArray<{ readonly "path": string, readonly "kind": string, readonly "additions": number, readonly "deletions": number }>, readonly "assistantMessageId": string | null, readonly "completedAt": string }>, readonly "turnSummaries"?: ReadonlyArray<{ readonly "turnId": string, readonly "userMessageId"?: string, readonly "state": "running" | "interrupted" | "completed" | "error", readonly "startedAt": string | null, readonly "completedAt": string | null, readonly "waitSpans"?: ReadonlyArray<Objects_225>, readonly "runSegments"?: Arrays_10 }> | undefined, readonly "session": Objects_228 | null }, readonly "page"?: { readonly "beforeCursor": string | null, readonly "hasMore": boolean, readonly "afterCursor"?: string | null, readonly "hasNewer"?: boolean, readonly "boundedHistory"?: boolean, readonly "history"?: { readonly "turnIds": ReadonlyArray<string>, readonly "messageIds": ReadonlyArray<string>, readonly "activityIds": ReadonlyArray<string>, readonly "proposedPlanIds": ReadonlyArray<string>, readonly "checkpointTurnIds": ReadonlyArray<string>, readonly "turnIntentIds": ReadonlyArray<string> }, readonly "snapshotSequence": number, readonly "threadSequence"?: number } | undefined };
1086
- export type ThreadsExecutionGetEncodedOutput = { readonly "threadId": string, readonly "projectId": string, readonly "title": string, readonly "modelSelection": Objects_221, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "interactionMode"?: "default" | "plan" | undefined, readonly "branch": string | null, readonly "worktreePath": string | null, readonly "createdAt": string, readonly "updatedAt": string, readonly "archivedAt"?: string | null | undefined, readonly "origin": Objects_223 | null, readonly "forkedFrom": { readonly "sourceThreadId": string, readonly "sourceMessageId": string } | null, readonly "session": { readonly "activeTurnId": string | null, readonly "lastError": string | null, readonly "updatedAt": string, readonly "endReason"?: "server-restart", readonly "failureCategory"?: string, readonly "status": string, readonly "providerInstanceId": string | null } | null, readonly "latestTurn": { readonly "turnId": string, readonly "state": "running" | "interrupted" | "completed" | "error", readonly "requestedAt": string, readonly "startedAt": string | null, readonly "completedAt": string | null, readonly "assistantMessageId": string | null, readonly "userMessageId"?: string | undefined, readonly "waitSpans"?: Union_74, readonly "runSegments"?: Union_11 } | null, readonly "turnIntents": ReadonlyArray<{ readonly "intentId": string, readonly "threadId": string, readonly "sequence": number, readonly "commandId": string, readonly "messageId": string, readonly "action"?: Union_87, readonly "deliveredTurnId"?: string | null, readonly "createdAt": string, readonly "updatedAt": string, readonly "revision": number, readonly "turn": { readonly "turnId": string | null, readonly "userMessageId": string, readonly "state": "pending" | "running" | "interrupted" | "completed" | "error", readonly "requestedAt": string, readonly "startedAt": string | null, readonly "completedAt": string | null, readonly "waitSpans": ReadonlyArray<Objects_225> } | null, readonly "status": "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned", readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown", readonly "attempt": { readonly "attemptId": string, readonly "workerEpoch": number, readonly "sourceBindingId": string | null, readonly "targetBindingId": string | null, readonly "nativeLocator": Union_88, readonly "stage": "preparing" | "dispatching" | "running" | "reconciling", readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown", readonly "createdAt": string, readonly "updatedAt": string } | null, readonly "blockedReason": string | null, readonly "replacementIntentId": string | null }>, readonly "queuePaused": boolean, readonly "providerProcessLive": boolean, readonly "hasPendingApprovals": boolean, readonly "hasPendingUserInput": boolean, readonly "pendingApprovalCount": number, readonly "pendingUserInputCount": number, readonly "turnStartCount": number } | null;
1087
- export type ThreadsMessagesGetEncodedOutput = { readonly "messageId": string, readonly "role": string, readonly "text": string, readonly "turnId": string | null, readonly "createdAt": string, readonly "modelSelection"?: Objects_221 | undefined, readonly "source"?: Objects_232 | undefined, readonly "attachments": ReadonlyArray<Union_89> } | null;
1088
- export type ThreadsGetEncodedOutput = Objects_246;
1089
- export type ThreadsMessagesListEncodedOutput = Objects_231;
1090
- export type ProjectsListEncodedOutput = ReadonlyArray<Objects_244>;
1091
- export type ProjectsGetEncodedOutput = Objects_244;
1119
+ export type ProjectsMachinesThreadsListEncodedOutput = { readonly "items": ReadonlyArray<Objects_226>, readonly "nextCursor": string | null, readonly "snapshotSequence": number, readonly "historyEpoch"?: string, readonly "machine": Objects_237 };
1120
+ export type ProjectsMachinesThreadsGetEncodedOutput = { readonly "thread": Objects_226, readonly "execution": { readonly "threadId": string, readonly "latestTurn": { readonly "turnId": string, readonly "state": "running" | "interrupted" | "completed" | "error" } | null, readonly "queue": ReadonlyArray<{ readonly "intentId": string, readonly "status": "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned", readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown", readonly "paused"?: true, readonly "position": number, readonly "waitingForCapacity"?: true }>, readonly "truncated": boolean, readonly "queuePaused": boolean, readonly "pendingApprovalCount": number, readonly "pendingUserInputCount": number, readonly "continuation": "active" | "queued" | "blocked" | "paused" | "idle" }, readonly "machine": Objects_237 };
1121
+ export type ProjectsMachinesThreadsMessagesListEncodedOutput = Objects_238;
1122
+ export type ThreadsListEncodedOutput = { readonly "items": ReadonlyArray<{ readonly "threadId": string, readonly "nativeSessionImported"?: true, readonly "projectId": string, readonly "title": string, readonly "createdAt": string, readonly "updatedAt": string, readonly "archivedAt": string | null, readonly "parentThreadId": string | null, readonly "memberId"?: string, readonly "forkedFrom": Union_67, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "interactionMode": "default" | "plan", readonly "modelSelection": Objects_228, readonly "sessionStatus": "idle" | "starting" | "running" | "ready" | "interrupted" | "stopped" | "error" | null, readonly "sessionFailureCategory"?: string, readonly "latestTurnState": "running" | "interrupted" | "completed" | "error" | null, readonly "status": "needs-approval" | "needs-input" | "plan-ready" | "running" | "failed" | "background" | "stopped" | "idle", readonly "worktreePath"?: string | null, readonly "delegationDepth"?: number, readonly "summary"?: Objects_229, readonly "runtime"?: Objects_236 }>, readonly "nextCursor": string | null, readonly "snapshotSequence": number, readonly "historyEpoch"?: string };
1123
+ export type ThreadsArchivedListEncodedOutput = { readonly "snapshotSequence": number, readonly "projects": ReadonlyArray<Objects_251>, readonly "threads": ReadonlyArray<Objects_253>, readonly "updatedAt": string };
1124
+ export type ThreadsHistoryEncodedOutput = { readonly "snapshotSequence": number, readonly "historyEpoch"?: string, readonly "thread": { readonly "id": string, readonly "projectId": string, readonly "title": string, readonly "modelSelection": Objects_228, readonly "actualModel"?: { readonly "selection": Objects_228, readonly "requested": Objects_228, readonly "source": "reported" | "echo", readonly "turnId"?: string | undefined, readonly "recordedAt": string } | undefined, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "interactionMode"?: "default" | "plan" | undefined, readonly "nativeModeId"?: string | null | undefined, readonly "branch": string | null, readonly "worktreePath": string | null, readonly "startFolderId"?: string | null | undefined, readonly "folderIds"?: ReadonlyArray<string> | undefined, readonly "linkedPullRequest"?: Union_70, readonly "origin"?: Union_71, readonly "forkedFrom"?: Union_85, readonly "presetId"?: string | null | undefined, readonly "memberId"?: string | undefined, readonly "members"?: ThreadMembers_1, readonly "createdBy"?: Union_72, readonly "creatorPrincipal"?: ThreadCreatorPrincipal_1, readonly "latestTurn": Union_73, readonly "stopRequestedAt"?: string | null, readonly "continuationCheck"?: ThreadContinuationCheckOrNull_1, readonly "createdAt": string, readonly "updatedAt": string, readonly "archivedAt"?: string | null | undefined, readonly "settledOverride"?: "settled" | "active" | null | undefined, readonly "settledAt"?: string | null | undefined, readonly "unsettledAt"?: string | null | undefined, readonly "snoozedUntil"?: string | null | undefined, readonly "snoozedAt"?: string | null | undefined, readonly "pinnedAt"?: string | null | undefined, readonly "pinOrderKey"?: string | null | undefined, readonly "sortOrderKey"?: string | null | undefined, readonly "pendingNotifications"?: ReadonlyArray<{ readonly "dedupeKey": string, readonly "notification": { readonly "kind": "child.settled" | "child.failed" | "child.approval" | "child.question" | "child.stopped" | "child.resolved", readonly "childThreadId": string, readonly "childTitle": string, readonly "remotePost"?: Union_86, readonly "summary": string, readonly "requestId"?: string | undefined, readonly "questionRequest"?: ChildQuestionRequest, readonly "resolution"?: "approved" | "denied" | "handled" | "answered" | "dismissed" | undefined, readonly "pluginId"?: string | undefined, readonly "recordId"?: string | undefined, readonly "postId"?: string } | { readonly "kind": "plugin.notice" | "selfdev.resolved" | "cookie-import.resolved" | "remote.post", readonly "sourceThreadId"?: string | undefined, readonly "sourceTitle"?: string | undefined, readonly "childThreadId"?: string | undefined, readonly "childTitle"?: string | undefined, readonly "remotePost"?: Union_86, readonly "summary": string, readonly "requestId"?: string | undefined, readonly "questionRequest"?: ChildQuestionRequest, readonly "resolution"?: "approved" | "denied" | "handled" | "answered" | "dismissed" | undefined, readonly "pluginId"?: string | undefined, readonly "recordId"?: string | undefined, readonly "postId"?: string }, readonly "queuedAt": string }> | undefined, readonly "executionSelection"?: Objects_207 | undefined, readonly "turnIntents"?: ReadonlyArray<{ readonly "intentId": string, readonly "threadId": string, readonly "sequence": number, readonly "commandId": string, readonly "messageId": string, readonly "paused"?: boolean, readonly "revision"?: number, readonly "action"?: Union_87, readonly "executionSelection"?: { readonly "environmentId": string, readonly "runtimeId": string, readonly "sourceId": string, readonly "profileId": string, readonly "endpointId"?: string, readonly "optionOverrides": Arrays_8, readonly "expectedRevisions": Objects_29 }, readonly "legacyModelSelection": { readonly "instanceId": string, readonly "model": string, readonly "options"?: Arrays_23 | Objects_114 }, readonly "runSettings"?: { readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "interactionMode": "default" | "plan", readonly "nativeModeId"?: string }, readonly "origin"?: Objects_45 | Objects_240 | Objects_241 | Objects_242 | Objects_243 | Objects_244 | Objects_245 | Objects_246 | Objects_247 | Objects_248 | Objects_249 | Objects_56 | Objects_57 | Objects_250, readonly "sourceBlocks"?: ReadonlyArray<{ readonly "origin"?: Objects_45 | Objects_240 | Objects_241 | Objects_242 | Objects_243 | Objects_244 | Objects_245 | Objects_246 | Objects_247 | Objects_248 | Objects_249 | Objects_56 | Objects_57 | Objects_250, readonly "textOffset": number, readonly "textLength": number }>, readonly "noticesFolded"?: true, readonly "binding"?: { readonly "bindingId": string, readonly "generation": number, readonly "selection": Objects_207, readonly "compatibility": { readonly "match": "native" | "via-adapter" | "unsupported" | "unknown", readonly "reasonCode": "native-protocol" | "native-source" | "protocol-conversion" | "wrong-environment" | "resource-missing" | "resource-disabled" | "revision-conflict" | "source-mismatch" | "endpoint-mismatch" | "model-mapping-missing" | "driver-missing" | "driver-unknown" | "driver-identity-mismatch" | "external-endpoint-unsupported" | "protocol-unknown" | "protocol-unsupported" | "auth-unsupported" | "source-ownership-mismatch" | "platform-unsupported" | "version-unknown" | "version-unsupported" | "feature-unsupported" | "feature-unknown" | "capability-validation-failed" | "invalid-options" | "endpoint-invalid", readonly "endpointId": string | null, readonly "requestedModelId": string | null, readonly "effectiveOptions": Arrays_8, readonly "conversion": { readonly "id": string, readonly "version": string, readonly "from": string, readonly "to": string, readonly "enabled": boolean, readonly "capabilities": Objects_67, readonly "limitations": ReadonlyArray<string>, readonly "validationRefs": ReadonlyArray<string> } | null, readonly "limitations": ReadonlyArray<string>, readonly "evidence": ReadonlyArray<{ readonly "recordId": string, readonly "freshness": "current" | "stale" }>, readonly "fingerprint": string | null }, readonly "credentialIdentity": { readonly "id": string, readonly "revision": number } | null, readonly "requestedModelId": string, readonly "executedModelId": string | null } | null, readonly "status": "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned", readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown", readonly "attempt"?: { readonly "attemptId": string, readonly "intentId": string, readonly "workerEpoch": number, readonly "sourceBindingId": string | null, readonly "targetBindingId": string | null, readonly "nativeLocator": Union_88, readonly "stage": "preparing" | "dispatching" | "running" | "reconciling", readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown", readonly "createdAt": string, readonly "updatedAt": string } | null, readonly "deliveredTurnId"?: string | null, readonly "blockedReason"?: string | null, readonly "replacementIntentId"?: string | null, readonly "createdAt": string, readonly "updatedAt": string }> | undefined, readonly "scheduledWakes"?: ReadonlyArray<{ readonly "wakeId": string, readonly "threadId": string, readonly "dueAt": string, readonly "note": string, readonly "createdBy": { readonly "kind": "thread", readonly "threadId": string } | Objects_69 | { readonly "kind": "plugin", readonly "pluginId": string }, readonly "state": "scheduled" | "fired" | "cancelled", readonly "afterServerUpgrade": boolean, readonly "scheduledOnServerVersion": string | null, readonly "intentId": string | null, readonly "skipped"?: true, readonly "firedAt": string | null, readonly "cancelledAt": string | null, readonly "upgrade"?: { readonly "requestedVersion": string, readonly "updateId": string | null, readonly "expectsVerdict"?: boolean | undefined, readonly "outcome": { readonly "status": "committed" | "rolled-back" | "failed" | "unknown", readonly "targetVersion"?: string | undefined, readonly "fromVersion": string | null, readonly "reason": string | null } | null } | undefined, readonly "repeat"?: Objects_150 | undefined, readonly "createdAt": string, readonly "updatedAt": string }> | undefined, readonly "turnQueuePaused"?: boolean | undefined, readonly "turnQueuePauseSource"?: "automatic-failure" | "manual" | "unknown" | undefined, readonly "acceptedInteractionRequestIds"?: ReadonlyArray<string> | undefined, readonly "titleRegeneration"?: Objects_233 | null | undefined, readonly "titleState"?: Objects_234 | null | undefined, readonly "deletedAt": string | null, readonly "messages": ReadonlyArray<{ readonly "rewrite"?: Union_80, readonly "id": string, readonly "role": "user" | "assistant" | "system", readonly "text": string, readonly "attachments"?: ReadonlyArray<Union_89> | undefined, readonly "turnId": string | null, readonly "streaming": boolean, readonly "author"?: Union_81, readonly "recordId"?: string | undefined, readonly "modelSelection"?: Union_82, readonly "source"?: Union_83, readonly "origin"?: Union_84, readonly "createdAt": string, readonly "updatedAt": string }>, readonly "proposedPlans"?: ReadonlyArray<{ readonly "id": string, readonly "turnId": string | null, readonly "planMarkdown": string, readonly "implementedAt"?: string | null | undefined, readonly "implementationThreadId"?: string | null | undefined, readonly "createdAt": string, readonly "updatedAt": string }> | undefined, readonly "activities": ReadonlyArray<{ readonly "id": string, readonly "tone": "info" | "tool" | "approval" | "error", readonly "kind": string, readonly "summary": string, readonly "payload": unknown, readonly "turnId": string | null, readonly "sequence"?: number | undefined, readonly "createdAt": string }>, readonly "checkpoints": ReadonlyArray<{ readonly "turnId": string, readonly "checkpointTurnCount": number, readonly "checkpointRef": string, readonly "status": "ready" | "missing" | "error", readonly "files": ReadonlyArray<{ readonly "path": string, readonly "kind": string, readonly "additions": number, readonly "deletions": number }>, readonly "assistantMessageId": string | null, readonly "completedAt": string }>, readonly "turnSummaries"?: ReadonlyArray<{ readonly "turnId": string, readonly "userMessageId"?: string, readonly "state": "running" | "interrupted" | "completed" | "error", readonly "startedAt": string | null, readonly "completedAt": string | null, readonly "waitSpans"?: ReadonlyArray<Objects_232>, readonly "runSegments"?: Arrays_10 }> | undefined, readonly "session": Objects_235 | null }, readonly "page"?: { readonly "beforeCursor": string | null, readonly "hasMore": boolean, readonly "afterCursor"?: string | null, readonly "hasNewer"?: boolean, readonly "boundedHistory"?: boolean, readonly "history"?: { readonly "turnIds": ReadonlyArray<string>, readonly "messageIds": ReadonlyArray<string>, readonly "activityIds": ReadonlyArray<string>, readonly "proposedPlanIds": ReadonlyArray<string>, readonly "checkpointTurnIds": ReadonlyArray<string>, readonly "turnIntentIds": ReadonlyArray<string> }, readonly "snapshotSequence": number, readonly "threadSequence"?: number } | undefined };
1125
+ export type ThreadsExecutionGetEncodedOutput = { readonly "threadId": string, readonly "projectId": string, readonly "title": string, readonly "modelSelection": Objects_228, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "interactionMode"?: "default" | "plan" | undefined, readonly "branch": string | null, readonly "worktreePath": string | null, readonly "createdAt": string, readonly "updatedAt": string, readonly "archivedAt"?: string | null | undefined, readonly "origin": Objects_230 | null, readonly "forkedFrom": { readonly "sourceThreadId": string, readonly "sourceMessageId": string } | null, readonly "session": { readonly "activeTurnId": string | null, readonly "lastError": string | null, readonly "updatedAt": string, readonly "endReason"?: "server-restart", readonly "failureCategory"?: string, readonly "status": string, readonly "providerInstanceId": string | null } | null, readonly "latestTurn": { readonly "turnId": string, readonly "state": "running" | "interrupted" | "completed" | "error", readonly "requestedAt": string, readonly "startedAt": string | null, readonly "completedAt": string | null, readonly "assistantMessageId": string | null, readonly "userMessageId"?: string | undefined, readonly "waitSpans"?: Union_74, readonly "runSegments"?: Union_11 } | null, readonly "turnIntents": ReadonlyArray<{ readonly "intentId": string, readonly "threadId": string, readonly "sequence": number, readonly "commandId": string, readonly "messageId": string, readonly "action"?: Union_87, readonly "deliveredTurnId"?: string | null, readonly "createdAt": string, readonly "updatedAt": string, readonly "revision": number, readonly "turn": { readonly "turnId": string | null, readonly "userMessageId": string, readonly "state": "pending" | "running" | "interrupted" | "completed" | "error", readonly "requestedAt": string, readonly "startedAt": string | null, readonly "completedAt": string | null, readonly "waitSpans": ReadonlyArray<Objects_232> } | null, readonly "status": "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned", readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown", readonly "attempt": { readonly "attemptId": string, readonly "workerEpoch": number, readonly "sourceBindingId": string | null, readonly "targetBindingId": string | null, readonly "nativeLocator": Union_88, readonly "stage": "preparing" | "dispatching" | "running" | "reconciling", readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown", readonly "createdAt": string, readonly "updatedAt": string } | null, readonly "blockedReason": string | null, readonly "replacementIntentId": string | null }>, readonly "queuePaused": boolean, readonly "providerProcessLive": boolean, readonly "hasPendingApprovals": boolean, readonly "hasPendingUserInput": boolean, readonly "pendingApprovalCount": number, readonly "pendingUserInputCount": number, readonly "turnStartCount": number } | null;
1126
+ export type ThreadsMessagesGetEncodedOutput = { readonly "messageId": string, readonly "role": string, readonly "text": string, readonly "turnId": string | null, readonly "createdAt": string, readonly "modelSelection"?: Objects_228 | undefined, readonly "source"?: Objects_239 | undefined, readonly "attachments": ReadonlyArray<Union_89> } | null;
1127
+ export type ThreadsGetEncodedOutput = Objects_253;
1128
+ export type ThreadsMessagesListEncodedOutput = Objects_238;
1129
+ export type ProjectsListEncodedOutput = ReadonlyArray<Objects_251>;
1130
+ export type ProjectsGetEncodedOutput = Objects_251;
1092
1131
  export type MachineSettingsEditorsGetEncodedOutput = { readonly "availableEditors": ReadonlyArray<"file-manager">, readonly "editorDiscovery"?: unknown, readonly "shellRevealInFileManager"?: boolean, readonly "shellRevealInFileManagerKind"?: "finder" | "file-explorer" | "files" };
1093
- export type MachineSettingsProvidersGetEncodedOutput = { readonly "providers": ReadonlyArray<{ readonly "instanceId": string, readonly "driver": string, readonly "displayName"?: string | undefined, readonly "accentColor"?: string | undefined, readonly "continuation"?: { readonly "groupKey": string } | undefined, readonly "showInteractionModeToggle"?: boolean | undefined, readonly "requiresNewThreadForModelChange"?: boolean | undefined, readonly "supportsContextCompaction"?: boolean | undefined, readonly "supportsNativeModeSwitch"?: boolean | undefined, readonly "maxProcesses"?: number, readonly "supportsTurnSteering"?: boolean | undefined, readonly "runtimeModeSwitch"?: "in-session" | "next-turn", readonly "reportsSpawnedAgents"?: boolean, readonly "blocksHostMcpWritesInAuto"?: boolean, readonly "modelSlugAliases"?: Objects_93, readonly "enabled": boolean, readonly "installed": boolean, readonly "version": string | null, readonly "readiness": { readonly "state": "ready" | "unchecked" | "checking" | "disabled" | "not-installed" | "unauthenticated" | "error", readonly "detail"?: string | undefined, readonly "tooOld"?: { readonly "minimumVersion": string } | undefined, readonly "recovery"?: ProviderProbeRecovery }, readonly "auth": { readonly "status": "authenticated" | "unauthenticated" | "unknown", readonly "type"?: string | undefined, readonly "label"?: string | undefined, readonly "email"?: string | undefined }, readonly "checkedAt": string, readonly "configDigest"?: string, readonly "models": ReadonlyArray<{ readonly "slug": string, readonly "name": string, readonly "shortName"?: string | undefined, readonly "subProvider"?: string | undefined, readonly "isCustom": boolean, readonly "isDefault"?: boolean | undefined, readonly "hidden"?: boolean | undefined, readonly "origin"?: "probe" | "custom" | "card", readonly "capabilities": { readonly "optionDescriptors"?: ReadonlyArray<{ readonly "id": string, readonly "label": string, readonly "description"?: string | undefined, readonly "type": "select", readonly "options": ReadonlyArray<{ readonly "id": string, readonly "label": string, readonly "description"?: string | undefined, readonly "isDefault"?: boolean | undefined }>, readonly "currentValue"?: string | undefined, readonly "promptInjectedValues"?: ReadonlyArray<string> | undefined } | { readonly "id": string, readonly "label": string, readonly "description"?: string | undefined, readonly "type": "boolean", readonly "currentValue"?: boolean | undefined }> | undefined } | null, readonly "contextWindow"?: number, readonly "contextWindowSource"?: "user" | "agent" }>, readonly "supportsModelCatalogRefresh"?: boolean, readonly "modelCatalog"?: { readonly "state": "unknown" | "confirmed" | "stale" | "failed", readonly "confirmedAt"?: string, readonly "lastFailure"?: { readonly "at": string, readonly "reason": "timeout" | "not-installed" | "unauthenticated" | "error", readonly "detail"?: string } }, readonly "modelCatalogAuthoritative"?: boolean, readonly "slashCommands"?: ReadonlyArray<{ readonly "name": string, readonly "description"?: string | undefined, readonly "input"?: { readonly "hint": string } | undefined }> | undefined, readonly "skills"?: ReadonlyArray<{ readonly "pluginId"?: string | undefined, readonly "name": string, readonly "description"?: string | undefined, readonly "path": string, readonly "scope"?: string | undefined, readonly "enabled": boolean, readonly "displayName"?: string | undefined, readonly "shortDescription"?: string | undefined, readonly "userInvocationOnly"?: boolean | undefined, readonly "userInvocable"?: boolean | undefined }> | undefined, readonly "nativeModes"?: ReadonlyArray<{ readonly "id": string, readonly "name": string, readonly "description"?: string | undefined }>, readonly "currentNativeModeId"?: string, readonly "nativeModeByRuntimeMode"?: { readonly [x: string]: string }, readonly "versionAdvisory"?: { readonly "status": "unknown" | "current" | "behind_latest", readonly "currentVersion": string | null, readonly "latestVersion": string | null, readonly "updateCommand": string | null, readonly "canUpdate"?: boolean | undefined, readonly "checkedAt": string | null, readonly "message": string | null }, readonly "probeNotice"?: { readonly "messageKey": string, readonly "params"?: Objects_96 }, readonly "supportsAuthorizationCodeSignIn"?: boolean, readonly "supportsManagedRuntime"?: boolean, readonly "installCommand"?: string, readonly "installUrl"?: string, readonly "signIn"?: ReadonlyArray<{ readonly "kind": "command", readonly "command": string } | { readonly "kind": "environment", readonly "variable": string }>, readonly "signInCommand"?: string, readonly "updateState"?: { readonly "status": "idle" | "queued" | "running" | "succeeded" | "failed" | "unchanged" | "cancelled", readonly "action"?: "update" | "install" | "sign-in", readonly "startedAt": string | null, readonly "finishedAt": string | null, readonly "message": string | null, readonly "output": string | null, readonly "deviceCode"?: { readonly "userCode": string, readonly "verificationUrl": string } } }> };
1094
- export type MachineSettingsGetEncodedOutput = { readonly "enableProviderUpdateChecks"?: boolean | undefined, readonly "enableAgentBrowserAccess"?: boolean | undefined, readonly "browserRetentionBudgetEnabled"?: boolean | undefined, readonly "machineBrowserDefaultViewport"?: Objects_2 | Objects_3 | Objects_4, readonly "machineBrowserDefaultZoomFactor"?: 0.25 | 0.33 | 0.5 | 0.67 | 0.75 | 0.8 | 0.9 | 1 | 1.1 | 1.25 | 1.5 | 1.75 | 2 | 2.5 | 3 | 4 | 5, readonly "machineBrowserDefaultAppearance"?: "system" | "light" | "dark", readonly "enableAgentThreadDelegation"?: boolean | undefined, readonly "enableAgentSelfDevelopment"?: boolean | undefined, readonly "machineTaskConfirmation"?: { readonly "actionIds": Arrays_16, readonly "projectIds": ReadonlyArray<string>, readonly "remoteProjectTrust"?: ReadonlyArray<{ readonly "homeEnvironmentId": string, readonly "projectId": string }> } | undefined, readonly "enableHeapSnapshot"?: boolean | undefined, readonly "agentThreadDelegationMaxDepth"?: number | undefined, readonly "pluginUpdateCheck"?: boolean | undefined, readonly "backgroundActivityProfile"?: "balanced" | "performance" | "battery-saver" | undefined, readonly "environmentIcon"?: unknown | undefined, readonly "defaultRuntimeMode"?: "approval-required" | "auto-accept-edits" | "auto" | "full-access" | undefined, readonly "addProjectBaseDirectory"?: string | undefined, readonly "textGenerationModelSelection"?: Objects_221 | null | undefined, readonly "sourceControlWritingStyle"?: { readonly "mode"?: "repo_conventions" | "conventional_commits" | "custom" | undefined, readonly "customInstructions"?: string | undefined, readonly "followChangeRequestTemplates"?: boolean | undefined } | undefined, readonly "sourceControlWriterModelSelection"?: Objects_221 | null | undefined, readonly "dismissedDiscoveredDrivers"?: Arrays_17 | undefined, readonly "defaultProxyId"?: string | null | undefined, readonly "wallpaper"?: { readonly "base": Objects_249, readonly "sidebar": Objects_249 | null, readonly "workspace": Objects_249 | null, readonly "chat": Objects_249 | null } | undefined, readonly "requireManualPairingForNewDevices"?: boolean | undefined, readonly "tunnelForceTcp"?: boolean | undefined, readonly "automaticGitFetchInterval": number, readonly "providerHealthRefreshInterval": number, readonly "backgroundActivity": { readonly "schemaVersion"?: 1 | undefined, readonly "profile"?: "balanced" | "performance" | "battery-saver" | "custom" | undefined, readonly "baseProfile"?: "balanced" | "performance" | "battery-saver", readonly "overrides": Objects_102 }, readonly "npmRegistry": string, readonly "proxies": { readonly [x: string]: { readonly "displayName"?: string | undefined, readonly "protocol": "http" | "https", readonly "host": string, readonly "port": number, readonly "bypass"?: string } }, readonly "plugins": { readonly "mcpServers": { readonly [x: string]: { readonly "name": string, readonly "transport": Union_41, readonly "enabled"?: boolean | undefined, readonly "providers"?: Union_90, readonly "catalogId"?: string | undefined, readonly "oauth"?: Union_42, readonly "addedBy"?: Union_91 } }, readonly "skills": { readonly [x: string]: { readonly "name": string, readonly "source": Objects_104 | Objects_124 | Objects_125, readonly "enabled"?: boolean | undefined, readonly "modelInvocable"?: boolean | undefined, readonly "userInvocable"?: boolean | undefined, readonly "providers"?: Union_92 } } }, readonly "observability": Objects_108 };
1132
+ export type MachineSettingsProvidersGetEncodedOutput = { readonly "providers": ReadonlyArray<{ readonly "instanceId": string, readonly "driver": string, readonly "displayName"?: string | undefined, readonly "accentColor"?: string | undefined, readonly "continuation"?: { readonly "groupKey": string } | undefined, readonly "showInteractionModeToggle"?: boolean | undefined, readonly "requiresNewThreadForModelChange"?: boolean | undefined, readonly "supportsContextCompaction"?: boolean | undefined, readonly "supportsTextGeneration"?: boolean | undefined, readonly "supportsNativeModeSwitch"?: boolean | undefined, readonly "maxProcesses"?: number, readonly "supportsTurnSteering"?: boolean | undefined, readonly "runtimeModeSwitch"?: "in-session" | "next-turn", readonly "reportsSpawnedAgents"?: boolean, readonly "blocksHostMcpWritesInAuto"?: boolean, readonly "modelSlugAliases"?: Objects_93, readonly "enabled": boolean, readonly "installed": boolean, readonly "version": string | null, readonly "readiness": { readonly "state": "ready" | "unchecked" | "checking" | "disabled" | "not-installed" | "unauthenticated" | "error", readonly "detail"?: string | undefined, readonly "tooOld"?: { readonly "minimumVersion": string } | undefined, readonly "recovery"?: ProviderProbeRecovery }, readonly "auth": { readonly "status": "authenticated" | "unauthenticated" | "unknown", readonly "type"?: string | undefined, readonly "label"?: string | undefined, readonly "email"?: string | undefined }, readonly "checkedAt": string, readonly "configDigest"?: string, readonly "models": ReadonlyArray<{ readonly "slug": string, readonly "name": string, readonly "shortName"?: string | undefined, readonly "subProvider"?: string | undefined, readonly "isCustom": boolean, readonly "isDefault"?: boolean | undefined, readonly "hidden"?: boolean | undefined, readonly "origin"?: "probe" | "custom" | "card", readonly "capabilities": { readonly "optionDescriptors"?: ReadonlyArray<{ readonly "id": string, readonly "label": string, readonly "description"?: string | undefined, readonly "type": "select", readonly "options": ReadonlyArray<{ readonly "id": string, readonly "label": string, readonly "description"?: string | undefined, readonly "isDefault"?: boolean | undefined }>, readonly "currentValue"?: string | undefined, readonly "promptInjectedValues"?: ReadonlyArray<string> | undefined } | { readonly "id": string, readonly "label": string, readonly "description"?: string | undefined, readonly "type": "boolean", readonly "currentValue"?: boolean | undefined }> | undefined } | null, readonly "contextWindow"?: number, readonly "contextWindowSource"?: "user" | "agent" }>, readonly "supportsModelCatalogRefresh"?: boolean, readonly "modelCatalog"?: { readonly "state": "unknown" | "confirmed" | "stale" | "failed", readonly "confirmedAt"?: string, readonly "lastFailure"?: { readonly "at": string, readonly "reason": "timeout" | "not-installed" | "unauthenticated" | "error", readonly "detail"?: string } }, readonly "modelCatalogAuthoritative"?: boolean, readonly "slashCommands"?: ReadonlyArray<{ readonly "name": string, readonly "description"?: string | undefined, readonly "input"?: { readonly "hint": string } | undefined }> | undefined, readonly "skills"?: ReadonlyArray<{ readonly "pluginId"?: string | undefined, readonly "name": string, readonly "description"?: string | undefined, readonly "path": string, readonly "scope"?: string | undefined, readonly "enabled": boolean, readonly "displayName"?: string | undefined, readonly "shortDescription"?: string | undefined, readonly "userInvocationOnly"?: boolean | undefined, readonly "userInvocable"?: boolean | undefined }> | undefined, readonly "nativeModes"?: ReadonlyArray<{ readonly "id": string, readonly "name": string, readonly "description"?: string | undefined }>, readonly "currentNativeModeId"?: string, readonly "nativeModeByRuntimeMode"?: { readonly [x: string]: string }, readonly "versionAdvisory"?: { readonly "status": "unknown" | "current" | "behind_latest", readonly "currentVersion": string | null, readonly "latestVersion": string | null, readonly "updateCommand": string | null, readonly "canUpdate"?: boolean | undefined, readonly "checkedAt": string | null, readonly "message": string | null }, readonly "probeNotice"?: { readonly "messageKey": string, readonly "params"?: Objects_96 }, readonly "supportsAuthorizationCodeSignIn"?: boolean, readonly "supportsManagedRuntime"?: boolean, readonly "installCommand"?: string, readonly "installUrl"?: string, readonly "signIn"?: ReadonlyArray<{ readonly "kind": "command", readonly "command": string } | { readonly "kind": "environment", readonly "variable": string }>, readonly "signInCommand"?: string, readonly "updateState"?: { readonly "status": "idle" | "queued" | "running" | "succeeded" | "failed" | "unchanged" | "cancelled", readonly "action"?: "update" | "install" | "sign-in", readonly "startedAt": string | null, readonly "finishedAt": string | null, readonly "message": string | null, readonly "output": string | null, readonly "deviceCode"?: { readonly "userCode": string, readonly "verificationUrl": string } } }> };
1133
+ export type MachineSettingsGetEncodedOutput = { readonly "enableProviderUpdateChecks"?: boolean | undefined, readonly "enableAgentBrowserAccess"?: boolean | undefined, readonly "browserRetentionBudgetEnabled"?: boolean | undefined, readonly "machineBrowserDefaultViewport"?: Objects_2 | Objects_3 | Objects_4, readonly "machineBrowserDefaultZoomFactor"?: 0.25 | 0.33 | 0.5 | 0.67 | 0.75 | 0.8 | 0.9 | 1 | 1.1 | 1.25 | 1.5 | 1.75 | 2 | 2.5 | 3 | 4 | 5, readonly "machineBrowserDefaultAppearance"?: "system" | "light" | "dark", readonly "enableAgentThreadDelegation"?: boolean | undefined, readonly "enableAgentSelfDevelopment"?: boolean | undefined, readonly "machineTaskConfirmation"?: { readonly "actionIds": Arrays_16, readonly "projectIds": ReadonlyArray<string>, readonly "remoteProjectTrust"?: ReadonlyArray<{ readonly "homeEnvironmentId": string, readonly "projectId": string }> } | undefined, readonly "enableHeapSnapshot"?: boolean | undefined, readonly "agentThreadDelegationMaxDepth"?: number | undefined, readonly "pluginUpdateCheck"?: boolean | undefined, readonly "backgroundActivityProfile"?: "balanced" | "performance" | "battery-saver" | undefined, readonly "environmentIcon"?: unknown | undefined, readonly "defaultRuntimeMode"?: "approval-required" | "auto-accept-edits" | "auto" | "full-access" | undefined, readonly "addProjectBaseDirectory"?: string | undefined, readonly "textGenerationModelSelection"?: Objects_228 | null | undefined, readonly "sourceControlWritingStyle"?: { readonly "mode"?: "repo_conventions" | "conventional_commits" | "custom" | undefined, readonly "customInstructions"?: string | undefined, readonly "followChangeRequestTemplates"?: boolean | undefined } | undefined, readonly "sourceControlWriterModelSelection"?: Objects_228 | null | undefined, readonly "dismissedDiscoveredDrivers"?: Arrays_17 | undefined, readonly "defaultProxyId"?: string | null | undefined, readonly "wallpaper"?: { readonly "base": Objects_256, readonly "sidebar": Objects_256 | null, readonly "workspace": Objects_256 | null, readonly "chat": Objects_256 | null } | undefined, readonly "requireManualPairingForNewDevices"?: boolean | undefined, readonly "tunnelForceTcp"?: boolean | undefined, readonly "automaticGitFetchInterval": number, readonly "providerHealthRefreshInterval": number, readonly "backgroundActivity": { readonly "schemaVersion"?: 1 | undefined, readonly "profile"?: "balanced" | "performance" | "battery-saver" | "custom" | undefined, readonly "baseProfile"?: "balanced" | "performance" | "battery-saver", readonly "overrides": Objects_102 }, readonly "npmRegistry": string, readonly "proxies": { readonly [x: string]: { readonly "displayName"?: string | undefined, readonly "protocol": "http" | "https", readonly "host": string, readonly "port": number, readonly "bypass"?: string } }, readonly "plugins": { readonly "mcpServers": { readonly [x: string]: { readonly "name": string, readonly "transport": Union_41, readonly "enabled"?: boolean | undefined, readonly "providers"?: Union_90, readonly "catalogId"?: string | undefined, readonly "oauth"?: Union_42, readonly "addedBy"?: Union_91 } }, readonly "skills": { readonly [x: string]: { readonly "name": string, readonly "source": Objects_104 | Objects_124 | Objects_125, readonly "enabled"?: boolean | undefined, readonly "modelInvocable"?: boolean | undefined, readonly "userInvocable"?: boolean | undefined, readonly "providers"?: Union_92 } } }, readonly "observability": Objects_108 };
1095
1134
  export type MachineSettingsConfigGetEncodedOutput = { readonly "pluginApiVersionRange"?: PluginApiVersionRange, readonly "environment": { readonly "environmentId": string, readonly "label": string, readonly "platform": { readonly "os": "darwin" | "linux" | "windows" | "unknown", readonly "arch": "arm64" | "x64" | "other", readonly "machine"?: unknown }, readonly "serverVersion": string, readonly "wireProtocolVersion"?: number, readonly "minClientWireProtocolVersion"?: number, readonly "capabilities": { readonly "threadDirectoryIds"?: boolean, readonly "threadMembers"?: boolean, readonly "providerMaintenanceCancel"?: boolean, readonly "repositoryIdentity"?: boolean | undefined, readonly "connectionProbe"?: boolean, readonly "reviewDiffFiles"?: boolean, readonly "worktreeProbePaths"?: boolean, readonly "attachmentUploads"?: boolean, readonly "questionAttachments"?: boolean, readonly "threadSettlement"?: boolean, readonly "threadSnooze"?: boolean, readonly "scheduledWakeRepeat"?: boolean, readonly "threadPinning"?: boolean, readonly "threadPinReorder"?: boolean, readonly "manualOrdering"?: boolean, readonly "projectCopies"?: boolean, readonly "projectArchive"?: boolean, readonly "projectCloneInBackground"?: boolean, readonly "projectMultiFolder"?: boolean, readonly "workLines"?: boolean, readonly "workBoard"?: boolean, readonly "workParents"?: boolean, readonly "projectConfig"?: boolean, readonly "groupMessages"?: boolean, readonly "machineTasks"?: boolean, readonly "machineLog"?: boolean, readonly "tolerantMachineActions"?: boolean, readonly "machineAdmissionIdentityCheck"?: boolean, readonly "projectMachineExclusion"?: boolean, readonly "threadTitleRegeneration"?: boolean, readonly "threadRestart"?: boolean, readonly "threadPullRequestLinking"?: boolean, readonly "environmentIcon"?: boolean, readonly "serverSelfUpdate"?: "boot-service" | "respawn" | "desktop-managed", readonly "serverSelfUpdateProgress"?: boolean, readonly "downloadBaseUrl"?: string, readonly "agentActivityPublishing"?: boolean, readonly "noiseIk"?: boolean, readonly "browserArtifactDelivery"?: boolean, readonly "browserPageOperations"?: boolean, readonly "browserZoomOperations"?: boolean, readonly "browserSiteDataOperations"?: boolean, readonly "browserDevtoolsOperations"?: boolean, readonly "browserRuntime"?: boolean, readonly "pluginNotifications"?: boolean, readonly "pluginSignIn"?: boolean, readonly "pluginSlashCommands"?: boolean, readonly "pluginPurge"?: boolean, readonly "pluginUpdateAdvisories"?: boolean }, readonly "noiseStaticPublicKey"?: string }, readonly "auth": { readonly "policy": "desktop-managed-local" | "loopback-browser" | "remote-reachable" | "unsafe-no-auth", readonly "bootstrapMethods": Arrays_18, readonly "sessionMethods": Arrays_19, readonly "sessionCookieName": string }, readonly "cwd": string, readonly "observability": { readonly "logsDirectoryPath": string, readonly "localTracingEnabled": boolean, readonly "otlpTracesUrl"?: string, readonly "otlpTracesEnabled": boolean, readonly "otlpMetricsUrl"?: string, readonly "otlpMetricsEnabled": boolean, readonly "otlpLogsUrl"?: string, readonly "otlpLogsEnabled"?: boolean | undefined, readonly "localTraceFullForced"?: boolean }, readonly "runtimeMaintenanceRoot"?: string };
1096
1135
  export type MachineSettingsRuntimeHealthGetEncodedOutput = { readonly "revision": string, readonly "status": "healthy" | "stopped" | "conflict" | "unknown", readonly "stateDir": string, readonly "runtimeRoot": string, readonly "currentVersion": string | null, readonly "instances": Arrays_20, readonly "repairSupported": boolean, readonly "operation": { readonly "id": string, readonly "policy": "when-idle" | "now", readonly "phase": "waiting" | "stopping" | "backing-up" | "starting" | "verifying" | "succeeded" | "cancelled" | "failed", readonly "targetVersion": string, readonly "startedAt": string, readonly "updatedAt": string, readonly "reason": unknown, readonly "detail"?: string, readonly "backupPath": string | null } | null, readonly "windowsProcessTreeProtection"?: unknown, readonly "windowsProcessTreeProtectionExemptions"?: Arrays_21, readonly "windowsProcessTreeProtectionExplicitBreakaways"?: Arrays_22 };
1097
1136
  export type ProvidersSelectionResolveEncodedOutput = { readonly "modelSelection": Objects_113, readonly "hints"?: ReadonlyArray<{ readonly "kind": "option-unsupported", readonly "model": string | null, readonly "optionId": string, readonly "stored": string | boolean, readonly "effective"?: string | boolean } | { readonly "kind": "effort-moved", readonly "model": string | null, readonly "optionId": string, readonly "from": string, readonly "to": string } | { readonly "kind": "model-replaced", readonly "from": string, readonly "to": string | null }> };
1098
1137
  export type ProvidersSessionsListEncodedOutput = { readonly "sessions": ReadonlyArray<{ readonly "threadId": string, readonly "driver": string, readonly "instanceId": string, readonly "resumeCursor": unknown | null, readonly "status": unknown, readonly "lastSeenAt": string }>, readonly "nextCursor": string | null };
1099
- export type ProjectsConfigGetEncodedOutput = { readonly "actions"?: ReadonlyArray<Objects_245>, readonly "tasks"?: Objects_121, readonly "mcpServers"?: { readonly [x: string]: { readonly "name": string, readonly "transport": { readonly "type": "stdio", readonly "command": string, readonly "args"?: Union_45, readonly "envNames": Arrays_26 } | { readonly "type": "http", readonly "url": string, readonly "headerNames": Arrays_27 } | { readonly "type": "sse", readonly "url": string, readonly "headerNames": Arrays_28 }, readonly "enabled"?: boolean | undefined, readonly "providers"?: Union_90, readonly "catalogId"?: string | undefined, readonly "oauth"?: Union_42, readonly "addedBy"?: Union_91, readonly "missingSecrets"?: Arrays_29 } }, readonly "skills"?: { readonly [x: string]: { readonly "name": string, readonly "source": Union_46, readonly "enabled"?: boolean | undefined, readonly "modelInvocable"?: boolean | undefined, readonly "userInvocable"?: boolean | undefined, readonly "providers"?: Union_92 } }, readonly "projectId": string, readonly "revision": number, readonly "source": "home" | "copy", readonly "homeEnvironmentId"?: string, readonly "syncedAt"?: string, readonly "homeOutdated"?: true };
1100
- export type PluginsInstalledListEncodedOutput = { readonly "plugins": ReadonlyArray<{ readonly "signIns"?: ReadonlyArray<{ readonly "name": string, readonly "label"?: string, readonly "labelKey"?: string, readonly "state": string, readonly "account"?: string, readonly "kind": string, readonly "redirectUri"?: string, readonly "attempt"?: { readonly "attemptId": string, readonly "state": string, readonly "error"?: string } }>, readonly "publicServices"?: ReadonlyArray<{ readonly "service": string, readonly "publicPath": string, readonly "routes": ReadonlyArray<Objects_250> }> | undefined, readonly "slashCommands"?: ReadonlyArray<{ readonly "name": string, readonly "kind": "prompt" | "action", readonly "description"?: string | undefined, readonly "argumentHint"?: string | undefined, readonly "translations"?: Union_47 }> | undefined, readonly "entryId": string, readonly "revision"?: string | undefined, readonly "pluginId": string, readonly "presentation"?: { readonly "displayName": string, readonly "description"?: string | undefined, readonly "translations"?: { readonly [x: string]: { readonly "displayName"?: string | undefined, readonly "description"?: string | undefined } } | undefined, readonly "author"?: string | undefined, readonly "homepage"?: string | undefined, readonly "icon"?: string | undefined } | undefined, readonly "origin": "builtin" | "package" | "directory" | "thread", readonly "location": string | null, readonly "version": string | null, readonly "packageName"?: string | null | undefined, readonly "loadedAt"?: string | undefined, readonly "configRevision"?: number | undefined, readonly "uiDebug"?: Union_48, readonly "uiRevision"?: string | undefined, readonly "uiDigest"?: string | undefined, readonly "assetDigests"?: Union_49, readonly "proxyIds"?: Union_50, readonly "state": "loaded" | "failed" | "stopped" | "disabled", readonly "contributions": Arrays_31, readonly "failure": { readonly "phase": string, readonly "message": string, readonly "kind"?: string | undefined } | null, readonly "threadId": string | null, readonly "runtimeStats"?: Union_51, readonly "removable"?: boolean | undefined, readonly "permissions"?: ReadonlyArray<Objects_127 | { readonly "kind": "fs.read", readonly "paths": ReadonlyArray<string> } | Objects_128 | Objects_129 | Objects_130 | Objects_131 | Objects_132 | { readonly "kind": "process.spawn", readonly "programs": ReadonlyArray<string | { readonly "key": string, readonly "program": string, readonly "displayName"?: string | undefined }>, readonly "maxConcurrent"?: number } | Objects_133 | Objects_134 | { readonly "kind": "network.serve", readonly "services": ReadonlyArray<{ readonly "name": string, readonly "routes": ReadonlyArray<Objects_250> }> } | Objects_135 | Objects_136 | Objects_137 | Objects_138 | Objects_139 | Objects_140 | Objects_141 | Objects_142 | { readonly "kind": "ui.seats", readonly "seats": ReadonlyArray<string> } | { readonly "kind": "commands.dispatch", readonly "commands": ReadonlyArray<string> } | { readonly "kind": string }> | undefined, readonly "ui"?: { readonly "assetsPath": string, readonly "entry"?: string | undefined, readonly "pages"?: ReadonlyArray<{ readonly "id": string, readonly "titleKey": string, readonly "icon"?: string | undefined, readonly "chrome"?: "host" | "own" | undefined, readonly "placements"?: Union_52 }> | undefined, readonly "panels"?: ReadonlyArray<{ readonly "id": string, readonly "titleKey": string, readonly "icon"?: string | undefined }> | undefined, readonly "providerSettings"?: ReadonlyArray<{ readonly "id": string, readonly "driverKind": string, readonly "ownedFields"?: { readonly "add"?: ReadonlyArray<string> | undefined, readonly "edit"?: ReadonlyArray<string> | undefined } | undefined, readonly "ownedEnvironment"?: ReadonlyArray<string> | undefined, readonly "genericFields"?: "inline" | "collapsed" | undefined }> | undefined, readonly "threadAnnotations"?: { readonly "command": string } | undefined, readonly "appearance"?: { readonly "name": string, readonly "wallpaper": string, readonly "dimLight"?: number | undefined, readonly "dimDark"?: number | undefined, readonly "blur"?: number | undefined } | undefined, readonly "toolViews"?: ReadonlyArray<{ readonly "tool": string, readonly "view"?: string | undefined, readonly "placement"?: "inline" | "deliverable" | undefined, readonly "titleKey"?: string | undefined, readonly "titleBy"?: { readonly "arg": string, readonly "titleKeys": { readonly [x: string]: string } } | undefined, readonly "summary"?: ReadonlyArray<string> | undefined }> | undefined, readonly "chatWatchers"?: ReadonlyArray<string> | undefined, readonly "teamViews"?: ReadonlyArray<{ readonly "key": string, readonly "scopes": Arrays_32, readonly "titleKey": string, readonly "icon"?: string | undefined, readonly "order"?: number | undefined }> | undefined, readonly "development"?: { readonly "command": string, readonly "args": Arrays_33, readonly "watch": ReadonlyArray<string> } | undefined } | undefined, readonly "executors"?: ReadonlyArray<unknown> | undefined }>, readonly "nextCursor"?: string | null };
1101
- export type SchedulesListEncodedOutput = { readonly "schedules": ReadonlyArray<{ readonly "scheduleId": string, readonly "projectId": string, readonly "name": string, readonly "prompt": string, readonly "repeat": Objects_150, readonly "modelSelection": Objects_221, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "workspace": "project" | "worktree", readonly "presetId"?: string, readonly "enabled": boolean, readonly "nextRunAt": string, readonly "createdBy": Objects_149 | { readonly "kind": "thread", readonly "threadId": string } | { readonly "kind": "plugin", readonly "pluginId": string }, readonly "createdAt": string, readonly "updatedAt": string }> };
1102
- export type ThreadsArtifactsListEncodedOutput = { readonly "items": ReadonlyArray<{ readonly "attachmentId": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number, readonly "title"?: string | undefined, readonly "note"?: string | undefined, readonly "sourcePath": string, readonly "turnId": string | null, readonly "messageId": string, readonly "deliveredAt": string, readonly "modelSelection"?: Objects_221, readonly "homeSync"?: "delivered" | "pending" | "needs-attention" | "refused" }>, readonly "nextCursor": string | null };
1103
- export type MembersListEncodedOutput = { readonly "items": ReadonlyArray<{ readonly "memberId": string, readonly "projectId": string, readonly "kind": "human" | "agent", readonly "name": string, readonly "title": string, readonly "responsibility": string, readonly "avatar": Union_93, readonly "identity": Union_94, readonly "agent": Union_95, readonly "workInstructionsRevision": number | null, readonly "version": number, readonly "createdBy": Union_96, readonly "createdAt": string, readonly "updatedAt": string, readonly "removedAt": string | null, readonly "trial"?: Objects_251 }>, readonly "nextCursor": string | null, readonly "snapshotSequence": number };
1104
- export type MembersGetEncodedOutput = { readonly "member": { readonly "memberId": string, readonly "projectId": string, readonly "kind": "human" | "agent", readonly "name": string, readonly "title": string, readonly "responsibility": string, readonly "avatar": Union_93, readonly "identity": Union_94, readonly "agent": Union_95, readonly "workInstructionsRevision": number | null, readonly "version": number, readonly "createdBy": Union_96, readonly "createdAt": string, readonly "updatedAt": string, readonly "removedAt": string | null, readonly "trial"?: Objects_251, readonly "workInstructions": string | null, readonly "workInstructionsWindow"?: Objects_59 }, readonly "snapshotSequence": number };
1138
+ export type ProjectsConfigGetEncodedOutput = { readonly "actions"?: ReadonlyArray<Objects_252>, readonly "tasks"?: Objects_121, readonly "mcpServers"?: { readonly [x: string]: { readonly "name": string, readonly "transport": { readonly "type": "stdio", readonly "command": string, readonly "args"?: Union_45, readonly "envNames": Arrays_26 } | { readonly "type": "http", readonly "url": string, readonly "headerNames": Arrays_27 } | { readonly "type": "sse", readonly "url": string, readonly "headerNames": Arrays_28 }, readonly "enabled"?: boolean | undefined, readonly "providers"?: Union_90, readonly "catalogId"?: string | undefined, readonly "oauth"?: Union_42, readonly "addedBy"?: Union_91, readonly "missingSecrets"?: Arrays_29 } }, readonly "skills"?: { readonly [x: string]: { readonly "name": string, readonly "source": Union_46, readonly "enabled"?: boolean | undefined, readonly "modelInvocable"?: boolean | undefined, readonly "userInvocable"?: boolean | undefined, readonly "providers"?: Union_92 } }, readonly "projectId": string, readonly "revision": number, readonly "source": "home" | "copy", readonly "homeEnvironmentId"?: string, readonly "syncedAt"?: string, readonly "homeOutdated"?: true };
1139
+ export type PluginsInstalledListEncodedOutput = { readonly "plugins": ReadonlyArray<{ readonly "signIns"?: ReadonlyArray<{ readonly "name": string, readonly "label"?: string, readonly "labelKey"?: string, readonly "state": string, readonly "account"?: string, readonly "kind": string, readonly "redirectUri"?: string, readonly "attempt"?: { readonly "attemptId": string, readonly "state": string, readonly "error"?: string } }>, readonly "publicServices"?: ReadonlyArray<{ readonly "service": string, readonly "publicPath": string, readonly "routes": ReadonlyArray<Objects_257> }> | undefined, readonly "slashCommands"?: ReadonlyArray<{ readonly "name": string, readonly "kind": "prompt" | "action", readonly "description"?: string | undefined, readonly "argumentHint"?: string | undefined, readonly "translations"?: Union_47 }> | undefined, readonly "entryId": string, readonly "revision"?: string | undefined, readonly "pluginId": string, readonly "presentation"?: { readonly "displayName": string, readonly "description"?: string | undefined, readonly "translations"?: { readonly [x: string]: { readonly "displayName"?: string | undefined, readonly "description"?: string | undefined } } | undefined, readonly "author"?: string | undefined, readonly "homepage"?: string | undefined, readonly "icon"?: string | undefined } | undefined, readonly "origin": "builtin" | "package" | "directory" | "thread", readonly "location": string | null, readonly "version": string | null, readonly "packageName"?: string | null | undefined, readonly "loadedAt"?: string | undefined, readonly "configRevision"?: number | undefined, readonly "uiDebug"?: Union_48, readonly "uiRevision"?: string | undefined, readonly "uiDigest"?: string | undefined, readonly "assetDigests"?: Union_49, readonly "proxyIds"?: Union_50, readonly "state": "loaded" | "failed" | "stopped" | "disabled", readonly "contributions": Arrays_31, readonly "failure": { readonly "phase": string, readonly "message": string, readonly "kind"?: string | undefined } | null, readonly "threadId": string | null, readonly "runtimeStats"?: Union_51, readonly "removable"?: boolean | undefined, readonly "permissions"?: ReadonlyArray<Objects_127 | { readonly "kind": "fs.read", readonly "paths": ReadonlyArray<string> } | Objects_128 | Objects_129 | Objects_130 | Objects_131 | Objects_132 | { readonly "kind": "process.spawn", readonly "programs": ReadonlyArray<string | { readonly "key": string, readonly "program": string, readonly "displayName"?: string | undefined }>, readonly "maxConcurrent"?: number } | Objects_133 | Objects_134 | { readonly "kind": "network.serve", readonly "services": ReadonlyArray<{ readonly "name": string, readonly "routes": ReadonlyArray<Objects_257> }> } | Objects_135 | Objects_136 | Objects_137 | Objects_138 | Objects_139 | Objects_140 | Objects_141 | Objects_142 | { readonly "kind": "ui.seats", readonly "seats": ReadonlyArray<string> } | { readonly "kind": "commands.dispatch", readonly "commands": ReadonlyArray<string> } | { readonly "kind": string }> | undefined, readonly "ui"?: { readonly "assetsPath": string, readonly "entry"?: string | undefined, readonly "pages"?: ReadonlyArray<{ readonly "id": string, readonly "titleKey": string, readonly "icon"?: string | undefined, readonly "chrome"?: "host" | "own" | undefined, readonly "placements"?: Union_52 }> | undefined, readonly "panels"?: ReadonlyArray<{ readonly "id": string, readonly "titleKey": string, readonly "icon"?: string | undefined }> | undefined, readonly "providerSettings"?: ReadonlyArray<{ readonly "id": string, readonly "driverKind": string, readonly "ownedFields"?: { readonly "add"?: ReadonlyArray<string> | undefined, readonly "edit"?: ReadonlyArray<string> | undefined } | undefined, readonly "ownedEnvironment"?: ReadonlyArray<string> | undefined, readonly "genericFields"?: "inline" | "collapsed" | undefined }> | undefined, readonly "threadAnnotations"?: { readonly "command": string } | undefined, readonly "appearance"?: { readonly "name": string, readonly "wallpaper": string, readonly "dimLight"?: number | undefined, readonly "dimDark"?: number | undefined, readonly "blur"?: number | undefined } | undefined, readonly "toolViews"?: ReadonlyArray<{ readonly "tool": string, readonly "view"?: string | undefined, readonly "placement"?: "inline" | "deliverable" | undefined, readonly "titleKey"?: string | undefined, readonly "titleBy"?: { readonly "arg": string, readonly "titleKeys": { readonly [x: string]: string } } | undefined, readonly "summary"?: ReadonlyArray<string> | undefined }> | undefined, readonly "chatWatchers"?: ReadonlyArray<string> | undefined, readonly "teamViews"?: ReadonlyArray<{ readonly "key": string, readonly "scopes": Arrays_32, readonly "titleKey": string, readonly "icon"?: string | undefined, readonly "order"?: number | undefined }> | undefined, readonly "development"?: { readonly "command": string, readonly "args": Arrays_33, readonly "watch": ReadonlyArray<string> } | undefined } | undefined, readonly "executors"?: ReadonlyArray<unknown> | undefined }>, readonly "nextCursor"?: string | null };
1140
+ export type SchedulesListEncodedOutput = { readonly "schedules": ReadonlyArray<{ readonly "scheduleId": string, readonly "projectId": string, readonly "name": string, readonly "prompt": string, readonly "repeat": Objects_150, readonly "modelSelection": Objects_228, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "workspace": "project" | "worktree", readonly "presetId"?: string, readonly "enabled": boolean, readonly "nextRunAt": string, readonly "createdBy": Objects_149 | { readonly "kind": "thread", readonly "threadId": string } | { readonly "kind": "plugin", readonly "pluginId": string }, readonly "createdAt": string, readonly "updatedAt": string }> };
1141
+ export type ThreadsArtifactsListEncodedOutput = { readonly "items": ReadonlyArray<{ readonly "attachmentId": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number, readonly "title"?: string | undefined, readonly "note"?: string | undefined, readonly "sourcePath": string, readonly "turnId": string | null, readonly "messageId": string, readonly "deliveredAt": string, readonly "modelSelection"?: Objects_228, readonly "homeSync"?: "delivered" | "pending" | "needs-attention" | "refused" }>, readonly "nextCursor": string | null };
1142
+ export type MembersListEncodedOutput = { readonly "items": ReadonlyArray<{ readonly "memberId": string, readonly "projectId": string, readonly "kind": "human" | "agent", readonly "name": string, readonly "title": string, readonly "responsibility": string, readonly "avatar": Union_93, readonly "identity": Union_94, readonly "agent": Union_95, readonly "workInstructionsRevision": number | null, readonly "version": number, readonly "createdBy": Union_96, readonly "createdAt": string, readonly "updatedAt": string, readonly "removedAt": string | null, readonly "trial"?: Objects_258 }>, readonly "nextCursor": string | null, readonly "snapshotSequence": number };
1143
+ export type MembersGetEncodedOutput = { readonly "member": { readonly "memberId": string, readonly "projectId": string, readonly "kind": "human" | "agent", readonly "name": string, readonly "title": string, readonly "responsibility": string, readonly "avatar": Union_93, readonly "identity": Union_94, readonly "agent": Union_95, readonly "workInstructionsRevision": number | null, readonly "version": number, readonly "createdBy": Union_96, readonly "createdAt": string, readonly "updatedAt": string, readonly "removedAt": string | null, readonly "trial"?: Objects_258, readonly "workInstructions": string | null, readonly "workInstructionsWindow"?: Objects_59 }, readonly "snapshotSequence": number };
1105
1144
 
1106
1145
  export const COMMUNICATION_RECORDS_READ_LIMIT = 100;
1107
1146
  export const MEMBER_INSTRUCTIONS_MAX_BYTES = 32768;
@@ -1445,6 +1484,8 @@ export interface PluginDataPorts {
1445
1484
  readonly turnIntents: {
1446
1485
  /** Data capability: threads.turnIntents.edit. Plugin admission: {"restricted":"not-for-plugins"} */
1447
1486
  readonly edit: (input: ThreadsTurnIntentsEditInput) => Promise<ThreadsTurnIntentsEditOutput>;
1487
+ /** Data capability: threads.turnIntents.setPaused. Plugin admission: {"require":{"kind":"commands.dispatch","commands":["thread.turn-intent.set-paused"]},"policy":"threads-user-scope"} */
1488
+ readonly setPaused: (input: ThreadsTurnIntentsSetPausedInput) => Promise<ThreadsTurnIntentsSetPausedOutput>;
1448
1489
  /** Data capability: threads.turnIntents.reorder. Plugin admission: {"require":{"kind":"commands.dispatch","commands":["thread.turn-intent.reorder"]},"policy":"threads-user-scope"} */
1449
1490
  readonly reorder: (input: ThreadsTurnIntentsReorderInput) => Promise<ThreadsTurnIntentsReorderOutput>;
1450
1491
  /** Data capability: threads.turnIntents.run. Plugin admission: {"require":{"kind":"commands.dispatch","commands":["thread.turn-intent.run"]},"policy":"threads-user-scope"} */
@@ -1642,6 +1683,48 @@ export interface PluginDataPorts {
1642
1683
  /** Data capability: projects.conversation.ensure. Plugin admission: {"require":{"kind":"commands.dispatch","commands":["projects.conversation.ensure"]}} */
1643
1684
  readonly ensure: (input: ProjectsConversationEnsureInput) => Promise<ProjectsConversationEnsureOutput>;
1644
1685
  };
1686
+ readonly sharedSpaces: {
1687
+ /** Data capability: projects.sharedSpaces.list. Plugin admission: {"require":"none"} */
1688
+ readonly list: (input: ProjectsSharedSpacesListInput) => Promise<ProjectsSharedSpacesListOutput>;
1689
+ /** Data capability: projects.sharedSpaces.get. Plugin admission: {"require":"none"} */
1690
+ readonly get: (input: ProjectsSharedSpacesGetInput) => Promise<ProjectsSharedSpacesGetOutput>;
1691
+ /** Data capability: projects.sharedSpaces.subscribe. Plugin admission: {"require":"none"} */
1692
+ readonly subscribe: (input: ProjectsSharedSpacesSubscribeInput, emit: (frame: ProjectsSharedSpacesSubscribeOutput) => void | Promise<void>, signal: AbortSignal) => Promise<void>;
1693
+ /** Data capability: projects.sharedSpaces.create. Plugin admission: {"require":"none"} */
1694
+ readonly create: (input: ProjectsSharedSpacesCreateInput) => Promise<ProjectsSharedSpacesCreateOutput>;
1695
+ /** Data capability: projects.sharedSpaces.update. Plugin admission: {"require":"none"} */
1696
+ readonly update: (input: ProjectsSharedSpacesUpdateInput) => Promise<ProjectsSharedSpacesUpdateOutput>;
1697
+ readonly tree: {
1698
+ /** Data capability: projects.sharedSpaces.tree.list. Plugin admission: {"require":"none"} */
1699
+ readonly list: (input: ProjectsSharedSpacesTreeListInput) => Promise<ProjectsSharedSpacesTreeListOutput>;
1700
+ };
1701
+ readonly files: {
1702
+ /** Data capability: projects.sharedSpaces.files.stat. Plugin admission: {"require":"none"} */
1703
+ readonly stat: (input: ProjectsSharedSpacesFilesStatInput) => Promise<ProjectsSharedSpacesFilesStatOutput>;
1704
+ /** Data capability: projects.sharedSpaces.files.read. Plugin admission: {"require":"none"} */
1705
+ readonly read: (input: ProjectsSharedSpacesFilesReadInput) => Promise<ProjectsSharedSpacesFilesReadOutput>;
1706
+ /** Data capability: projects.sharedSpaces.files.issueAccess. Plugin admission: {"require":"none"} */
1707
+ readonly issueAccess: (input: ProjectsSharedSpacesFilesIssueAccessInput) => Promise<ProjectsSharedSpacesFilesIssueAccessOutput>;
1708
+ };
1709
+ readonly history: {
1710
+ /** Data capability: projects.sharedSpaces.history.list. Plugin admission: {"require":"none"} */
1711
+ readonly list: (input: ProjectsSharedSpacesHistoryListInput) => Promise<ProjectsSharedSpacesHistoryListOutput>;
1712
+ /** Data capability: projects.sharedSpaces.history.restore. Plugin admission: {"require":"none"} */
1713
+ readonly restore: (input: ProjectsSharedSpacesHistoryRestoreInput) => Promise<ProjectsSharedSpacesHistoryRestoreOutput>;
1714
+ };
1715
+ readonly local: {
1716
+ /** Data capability: projects.sharedSpaces.local.sync. Plugin admission: {"require":"none"} */
1717
+ readonly sync: (input: ProjectsSharedSpacesLocalSyncInput) => Promise<ProjectsSharedSpacesLocalSyncOutput>;
1718
+ /** Data capability: projects.sharedSpaces.local.detach. Plugin admission: {"require":"none"} */
1719
+ readonly detach: (input: ProjectsSharedSpacesLocalDetachInput) => Promise<ProjectsSharedSpacesLocalDetachOutput>;
1720
+ readonly status: {
1721
+ /** Data capability: projects.sharedSpaces.local.status.get. Plugin admission: {"require":"none"} */
1722
+ readonly get: (input: ProjectsSharedSpacesLocalStatusGetInput) => Promise<ProjectsSharedSpacesLocalStatusGetOutput>;
1723
+ /** Data capability: projects.sharedSpaces.local.status.subscribe. Plugin admission: {"require":"none"} */
1724
+ readonly subscribe: (input: ProjectsSharedSpacesLocalStatusSubscribeInput, emit: (frame: ProjectsSharedSpacesLocalStatusSubscribeOutput) => void | Promise<void>, signal: AbortSignal) => Promise<void>;
1725
+ };
1726
+ };
1727
+ };
1645
1728
  };
1646
1729
  readonly projections: {
1647
1730
  /** Data capability: threads.execution.get. Plugin admission: {"require":"none"} */
@@ -2207,6 +2290,13 @@ export interface PluginUiDataReads {
2207
2290
  readonly "members.externalWakes.list": { readonly input: MembersExternalWakesListInput; readonly output: MembersExternalWakesListOutput };
2208
2291
  readonly "members.externalWakes.get": { readonly input: MembersExternalWakesGetInput; readonly output: MembersExternalWakesGetOutput };
2209
2292
  readonly "threads.members.get": { readonly input: ThreadsMembersGetInput; readonly output: ThreadsMembersGetOutput };
2293
+ readonly "projects.sharedSpaces.list": { readonly input: ProjectsSharedSpacesListInput; readonly output: ProjectsSharedSpacesListOutput };
2294
+ readonly "projects.sharedSpaces.get": { readonly input: ProjectsSharedSpacesGetInput; readonly output: ProjectsSharedSpacesGetOutput };
2295
+ readonly "projects.sharedSpaces.tree.list": { readonly input: ProjectsSharedSpacesTreeListInput; readonly output: ProjectsSharedSpacesTreeListOutput };
2296
+ readonly "projects.sharedSpaces.files.stat": { readonly input: ProjectsSharedSpacesFilesStatInput; readonly output: ProjectsSharedSpacesFilesStatOutput };
2297
+ readonly "projects.sharedSpaces.files.read": { readonly input: ProjectsSharedSpacesFilesReadInput; readonly output: ProjectsSharedSpacesFilesReadOutput };
2298
+ readonly "projects.sharedSpaces.history.list": { readonly input: ProjectsSharedSpacesHistoryListInput; readonly output: ProjectsSharedSpacesHistoryListOutput };
2299
+ readonly "projects.sharedSpaces.local.status.get": { readonly input: ProjectsSharedSpacesLocalStatusGetInput; readonly output: ProjectsSharedSpacesLocalStatusGetOutput };
2210
2300
  }
2211
2301
 
2212
2302
  export type PluginUiDataReadId = keyof PluginUiDataReads;