@ycodium-ai/plugin-api 0.2.5891 → 0.2.5921

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.
@@ -132,127 +132,128 @@ type Objects_108 = { readonly "otlpTracesUrl": string, readonly "otlpMetricsUrl"
132
132
  type PluginApiVersionRange = { readonly "min": number, readonly "max": number };
133
133
  type Arrays_17 = ReadonlyArray<"desktop-bootstrap" | "one-time-token">;
134
134
  type Arrays_18 = ReadonlyArray<"browser-session-cookie" | "bearer-access-token" | "dpop-access-token">;
135
- type Objects_110 = { readonly "accountId"?: string, readonly "revision": number, readonly "peers": ReadonlyArray<{ readonly "environmentId": string, readonly "name": string, readonly "state": "synced" | "syncing" | "unreachable" | "update-required", readonly "syncedAt"?: string, readonly "reason"?: string }>, readonly "conflicts": ReadonlyArray<string>, readonly "excluded": ReadonlyArray<string>, readonly "needsSetup": ReadonlyArray<string> };
135
+ type Objects_109 = { readonly "accountId"?: string, readonly "revision": number, readonly "peers": ReadonlyArray<{ readonly "environmentId": string, readonly "name": string, readonly "state": "synced" | "syncing" | "unreachable" | "update-required", readonly "syncedAt"?: string, readonly "reason"?: string }>, readonly "conflicts": ReadonlyArray<string>, readonly "excluded": ReadonlyArray<string>, readonly "needsSetup": ReadonlyArray<string> };
136
136
  type Arrays_19 = ReadonlyArray<{ readonly "pid": number, readonly "startToken": string, readonly "launcher": { readonly "pid": number, readonly "startToken": string } | null, readonly "version": string | null, readonly "port": number | null, readonly "stateDir": string, readonly "managed": boolean, readonly "ready": boolean, readonly "supportsDrain": boolean, readonly "activity": "idle" | "busy" | "unknown", readonly "tasks": ReadonlyArray<{ readonly "threadId": string, readonly "turnId": string | null }> }>;
137
- type Objects_112 = { readonly "pluginId"?: string, readonly "program": string };
138
- type Objects_113 = { readonly "currentVersion": string | null, readonly "runtimeRoot": string, readonly "versions": ReadonlyArray<{ readonly "name": string, readonly "bytes": number, readonly "isCurrent": boolean, readonly "isLegacyLayout": boolean, readonly "inUse": boolean, readonly "holders"?: ReadonlyArray<{ readonly "pid": number, readonly "executable"?: string }> }>, readonly "running": { readonly "pid": number, readonly "port": number, readonly "version": string | null } | null, readonly "backups"?: ReadonlyArray<{ readonly "id": string, readonly "bytes": number, readonly "createdAt": string | null, readonly "targetVersion": string | null, readonly "previousVersion": string | null, readonly "isEmpty": boolean, readonly "inUse": boolean }> };
137
+ type Objects_111 = { readonly "pluginId"?: string, readonly "program": string };
138
+ type Objects_112 = { readonly "currentVersion": string | null, readonly "runtimeRoot": string, readonly "versions": ReadonlyArray<{ readonly "name": string, readonly "bytes": number, readonly "isCurrent": boolean, readonly "isLegacyLayout": boolean, readonly "inUse": boolean, readonly "holders"?: ReadonlyArray<{ readonly "pid": number, readonly "executable"?: string }> }>, readonly "running": { readonly "pid": number, readonly "port": number, readonly "version": string | null } | null, readonly "backups"?: ReadonlyArray<{ readonly "id": string, readonly "bytes": number, readonly "createdAt": string | null, readonly "targetVersion": string | null, readonly "previousVersion": string | null, readonly "isEmpty": boolean, readonly "inUse": boolean }> };
139
139
  type MachineLogRecord = { readonly "time": string, readonly "level"?: string, readonly "message"?: unknown, readonly "cause"?: string, readonly "annotations"?: { readonly [x: string]: unknown }, readonly "clipped"?: boolean };
140
140
  type Arrays_22 = ReadonlyArray<{ readonly "id": string, readonly "value": string | boolean }>;
141
- type Objects_115 = { readonly [x: string]: unknown };
142
- type Objects_118 = { readonly "provider": string, readonly "instanceId"?: string };
143
- type Objects_120 = { readonly "entryId": string, readonly "name": string };
141
+ type Objects_114 = { readonly [x: string]: unknown };
142
+ type Objects_117 = { readonly "provider": string, readonly "instanceId"?: string };
143
+ type Objects_119 = { readonly "entryId": string, readonly "name": string };
144
144
  type Arrays_23 = ReadonlyArray<string>;
145
145
  type Arrays_24 = ReadonlyArray<string>;
146
146
  type Arrays_25 = ReadonlyArray<string>;
147
147
  type Arrays_26 = ReadonlyArray<string>;
148
148
  type Arrays_27 = ReadonlyArray<string>;
149
149
  type Arrays_28 = ReadonlyArray<string>;
150
- type Objects_121 = { readonly "kind": "inline", readonly "skillMd": string };
151
- type Objects_123 = { readonly [x: string]: string | null };
152
- type Objects_124 = { readonly [x: string]: boolean };
153
- type Objects_125 = { readonly "kind": "builtin", readonly "id": string };
154
- type Objects_126 = { readonly "kind": "catalog", readonly "catalogId": string, readonly "version": string };
150
+ type Objects_120 = { readonly "kind": "inline", readonly "skillMd": string };
151
+ type Objects_122 = { readonly [x: string]: string | null };
152
+ type Objects_123 = { readonly [x: string]: boolean };
153
+ type Objects_124 = { readonly "kind": "builtin", readonly "id": string };
154
+ type Objects_125 = { readonly "kind": "catalog", readonly "catalogId": string, readonly "version": string };
155
155
  type Arrays_29 = ReadonlyArray<"GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS">;
156
156
  type Union_47 = { readonly [x: string]: { readonly "description"?: string | undefined, readonly "argumentHint"?: string | undefined } } | undefined;
157
157
  type Union_48 = { readonly "enabled": boolean, readonly "phase": "idle" | "building" | "error", readonly "error": string | null } | undefined;
158
- type Union_49 = ReadonlyArray<string> | undefined;
158
+ type Union_49 = { readonly [x: string]: string } | undefined;
159
+ type Union_50 = ReadonlyArray<string> | undefined;
159
160
  type Arrays_30 = ReadonlyArray<{ readonly "kind": "signIn" | "toolkit" | "reactor" | "settingsCard" | "modelPreset" | "command" | "cli" | "interval" | "executor" | "protocolConversion" | "skill" | "filePreviewConverter" | "systemPrompt.section" | "systemPrompt.context" | "messages.beforeSend" | "slashCommand" | "tools.guard" | "ui.seats" | "agentPresets" | "sessionProjections" | "continuation", readonly "name": string, readonly "role"?: string }>;
160
- type Union_50 = { readonly "eventsHandled": number, readonly "toolCalls": number, readonly "processesSpawned"?: number | undefined, readonly "lastEventAt": string | null } | undefined;
161
- type Objects_128 = { readonly "kind": "executor" };
162
- type Objects_129 = { readonly "kind": "providers.homes" };
163
- type Objects_130 = { readonly "kind": "workspace.read" };
164
- type Objects_131 = { readonly "kind": "work.read" };
165
- type Objects_132 = { readonly "kind": "work.writeAsPerson" };
166
- type Objects_133 = { readonly "kind": "members.read" };
167
- type Objects_134 = { readonly "kind": "process.workspace" };
168
- type Objects_135 = { readonly "kind": "ports.register" };
169
- type Objects_136 = { readonly "kind": "systemPrompt" };
170
- type Objects_137 = { readonly "kind": "tools.guard" };
171
- type Objects_138 = { readonly "kind": "workspace.write" };
172
- type Objects_139 = { readonly "kind": "sessionProjection" };
173
- type Objects_140 = { readonly "kind": "memory.read" };
174
- type Objects_141 = { readonly "kind": "communication.read" };
175
- type Objects_142 = { readonly "kind": "agentPresets" };
176
- type Objects_143 = { readonly "kind": "threads.user" };
177
- type Union_51 = ReadonlyArray<"web-pages" | "mobile-home" | "mobile-pages"> | undefined;
161
+ type Union_51 = { readonly "eventsHandled": number, readonly "toolCalls": number, readonly "processesSpawned"?: number | undefined, readonly "lastEventAt": string | null } | undefined;
162
+ type Objects_127 = { readonly "kind": "executor" };
163
+ type Objects_128 = { readonly "kind": "providers.homes" };
164
+ type Objects_129 = { readonly "kind": "workspace.read" };
165
+ type Objects_130 = { readonly "kind": "work.read" };
166
+ type Objects_131 = { readonly "kind": "work.writeAsPerson" };
167
+ type Objects_132 = { readonly "kind": "members.read" };
168
+ type Objects_133 = { readonly "kind": "process.workspace" };
169
+ type Objects_134 = { readonly "kind": "ports.register" };
170
+ type Objects_135 = { readonly "kind": "systemPrompt" };
171
+ type Objects_136 = { readonly "kind": "tools.guard" };
172
+ type Objects_137 = { readonly "kind": "workspace.write" };
173
+ type Objects_138 = { readonly "kind": "sessionProjection" };
174
+ type Objects_139 = { readonly "kind": "memory.read" };
175
+ type Objects_140 = { readonly "kind": "communication.read" };
176
+ type Objects_141 = { readonly "kind": "agentPresets" };
177
+ type Objects_142 = { readonly "kind": "threads.user" };
178
+ type Union_52 = ReadonlyArray<"web-pages" | "mobile-home" | "mobile-pages"> | undefined;
178
179
  type Arrays_31 = ReadonlyArray<"team" | "project">;
179
180
  type Arrays_32 = ReadonlyArray<string>;
180
- type Objects_144 = { readonly "ids": readonly [string, ...Array<string>] };
181
- type Union_52 = ReadonlyArray<{ readonly "value": string, readonly "label"?: string | undefined, readonly "labelKey"?: string | undefined, readonly "icon"?: string | undefined }> | undefined;
182
- type Objects_145 = { readonly "key": string, readonly "equals": ReadonlyArray<string> };
183
- type Objects_146 = { readonly [x: string]: unknown };
184
- type Union_54 = { readonly "key": string, readonly "values"?: { readonly [x: string]: string | number } } | { readonly "text": string };
185
- type Objects_150 = { readonly "kind": "person" };
186
- type Objects_151 = { readonly "cron": string, readonly "timeZone": string };
187
- type Objects_152 = { readonly "layer": "wiki", readonly "pageId": string, readonly "revision": number };
188
- type Objects_153 = { readonly "layer": "repo", readonly "rootIndex": number, readonly "rootName": string };
189
- type Objects_154 = { readonly "layer": "settings" };
190
- type Objects_155 = { readonly "layer": "builtin" };
191
- type Objects_156 = { readonly "layer": "plugin", readonly "entryId": string };
192
- type Objects_158 = { readonly "kind": "local-cli", readonly "environmentId": string };
193
- type Objects_159 = { readonly "kind": "seat", readonly "seatId": string };
194
- type Objects_160 = { readonly "kind": "agent", readonly "threadId": string };
195
- type Objects_161 = { readonly "kind": "remote-agent", readonly "principalId": string };
196
- type Objects_162 = { readonly "kind": "plugin", readonly "pluginId": string };
197
- type Objects_163 = { readonly "kind": "system" };
181
+ type Objects_143 = { readonly "ids": readonly [string, ...Array<string>] };
182
+ type Union_53 = ReadonlyArray<{ readonly "value": string, readonly "label"?: string | undefined, readonly "labelKey"?: string | undefined, readonly "icon"?: string | undefined }> | undefined;
183
+ type Objects_144 = { readonly "key": string, readonly "equals": ReadonlyArray<string> };
184
+ type Objects_145 = { readonly [x: string]: unknown };
185
+ type Union_55 = { readonly "key": string, readonly "values"?: { readonly [x: string]: string | number } } | { readonly "text": string };
186
+ type Objects_149 = { readonly "kind": "person" };
187
+ type Objects_150 = { readonly "cron": string, readonly "timeZone": string };
188
+ type Objects_151 = { readonly "layer": "wiki", readonly "pageId": string, readonly "revision": number };
189
+ type Objects_152 = { readonly "layer": "repo", readonly "rootIndex": number, readonly "rootName": string };
190
+ type Objects_153 = { readonly "layer": "settings" };
191
+ type Objects_154 = { readonly "layer": "builtin" };
192
+ type Objects_155 = { readonly "layer": "plugin", readonly "entryId": string };
193
+ type Objects_157 = { readonly "kind": "local-cli", readonly "environmentId": string };
194
+ type Objects_158 = { readonly "kind": "seat", readonly "seatId": string };
195
+ type Objects_159 = { readonly "kind": "agent", readonly "threadId": string };
196
+ type Objects_160 = { readonly "kind": "remote-agent", readonly "principalId": string };
197
+ type Objects_161 = { readonly "kind": "plugin", readonly "pluginId": string };
198
+ type Objects_162 = { readonly "kind": "system" };
198
199
  type Arrays_33 = ReadonlyArray<string>;
199
200
  type Arrays_34 = ReadonlyArray<string>;
200
- type Objects_164 = { readonly "searched": number, readonly "read": number, readonly "delivered": number, readonly "lastUsedAt": string | null, readonly "approximate": true };
201
- type Objects_166 = { readonly "experienceId": string, readonly "revision": number };
202
- type Objects_167 = { readonly "_tag": "queued", readonly "outboxId": string, readonly "homeEnvironmentId": string };
203
- type Objects_168 = { readonly "projectId": string, readonly "requestId"?: string, readonly "experienceId": string };
204
- type Objects_169 = { readonly "sequence": number, readonly "result": { readonly "experienceId": string, readonly "status": "active" | "forgotten" }, readonly "replayed"?: boolean };
205
- type Objects_171 = { readonly "pageId": string, readonly "revision": number };
206
- type Objects_173 = { readonly "kind": "handbook_decisions" | "handbook_rules" | "handbook_progress", readonly "pageId": string, readonly "revision": number };
207
- type Union_56 = { readonly "experienceId": string, readonly "revision": number } | null;
208
- type Objects_177 = { readonly "kind": "remote-agent", readonly "principalId": string };
209
- type Objects_178 = { readonly "stateId": string, readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled", readonly "name": string };
201
+ type Objects_163 = { readonly "searched": number, readonly "read": number, readonly "delivered": number, readonly "lastUsedAt": string | null, readonly "approximate": true };
202
+ type Objects_165 = { readonly "experienceId": string, readonly "revision": number };
203
+ type Objects_166 = { readonly "_tag": "queued", readonly "outboxId": string, readonly "homeEnvironmentId": string };
204
+ type Objects_167 = { readonly "projectId": string, readonly "requestId"?: string, readonly "experienceId": string };
205
+ type Objects_168 = { readonly "sequence": number, readonly "result": { readonly "experienceId": string, readonly "status": "active" | "forgotten" }, readonly "replayed"?: boolean };
206
+ type Objects_170 = { readonly "pageId": string, readonly "revision": number };
207
+ type Objects_172 = { readonly "kind": "handbook_decisions" | "handbook_rules" | "handbook_progress", readonly "pageId": string, readonly "revision": number };
208
+ type Union_57 = { readonly "experienceId": string, readonly "revision": number } | null;
209
+ type Objects_176 = { readonly "kind": "remote-agent", readonly "principalId": string };
210
+ type Objects_177 = { readonly "stateId": string, readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled", readonly "name": string };
210
211
  type Arrays_37 = ReadonlyArray<string>;
211
- type Objects_181 = { readonly "message": string, readonly "at": string };
212
- type Objects_182 = { readonly "userCode"?: string, readonly "verificationUrl"?: string, readonly "command"?: string };
213
- type Objects_183 = { readonly "summary": string, readonly "version"?: string, readonly "installed"?: boolean, readonly "auth"?: "authenticated" | "unauthenticated" | "unknown", readonly "exitCode"?: number };
214
- type Objects_184 = { readonly "reason": string, readonly "reasonCode"?: "git-missing" | "project-folder-missing" | "git-probe-failed", readonly "recovery": "run-again" | "fix-on-machine" | "not-available" };
212
+ type Objects_180 = { readonly "message": string, readonly "at": string };
213
+ type Objects_181 = { readonly "userCode"?: string, readonly "verificationUrl"?: string, readonly "command"?: string };
214
+ type Objects_182 = { readonly "summary": string, readonly "version"?: string, readonly "installed"?: boolean, readonly "auth"?: "authenticated" | "unauthenticated" | "unknown", readonly "exitCode"?: number };
215
+ type Objects_183 = { readonly "reason": string, readonly "reasonCode"?: "git-missing" | "project-folder-missing" | "git-probe-failed", readonly "recovery": "run-again" | "fix-on-machine" | "not-available" };
215
216
  type Arrays_38 = ReadonlyArray<string>;
216
- type Objects_185 = { readonly "total": number, readonly "completed": number, readonly "cancelled": number };
217
- type Objects_187 = { readonly "stateId": string, readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled" };
218
- type Objects_188 = { readonly "projectId": string, readonly "requestId"?: string, readonly "workItemId": string, readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements", readonly "relatedWorkItemId": string };
219
- type Objects_189 = { readonly "workItemId": string, readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements", readonly "relatedWorkItemId": string };
220
- type Objects_191 = { readonly "projectId": string, readonly "requestId"?: string, readonly "workLineId": string };
221
- type Objects_192 = { readonly "projectId": string, readonly "requestId"?: string, readonly "workItemId": string };
222
- type Objects_193 = { readonly "sequence": number, readonly "result": { readonly "workItemId": string, readonly "version": number }, readonly "replayed"?: boolean };
223
- type Objects_194 = { readonly "labelId": string };
224
- type Objects_195 = { readonly "projectId": string, readonly "requestId"?: string, readonly "labelId": string };
225
- type Objects_197 = { readonly "stateId": string };
226
- type Union_60 = { readonly "pattern": string, readonly "color": string } | null;
227
- type Objects_199 = { readonly "pattern": string, readonly "color": string };
228
- type Objects_200 = { readonly "projectId": string, readonly "requestId"?: string, readonly "memberId": string };
229
- type Objects_201 = { readonly "projectId": string };
230
- type Objects_202 = { readonly "items": ReadonlyArray<{ readonly "memberId": string, readonly "status": "needs-approval" | "needs-input" | "plan-ready" | "running" | "failed" | "background" | "stopped" | "idle", readonly "lastAction"?: string, readonly "lastActionLabel"?: { readonly "name": string, readonly "path"?: string, readonly "detail"?: string }, readonly "requestSummary"?: string, readonly "waitId"?: string, readonly "workItemId"?: string, readonly "threadId": string, readonly "environmentId": string, readonly "online": boolean, readonly "stale"?: boolean, readonly "since": string, readonly "seenAt": string, readonly "state"?: "waiting" | "error" | "stuck" | "offline" | "paused" | "working" | "idle", readonly "openWorkItemCount"?: number, readonly "openWorkItemIds"?: ReadonlyArray<string> }> };
231
- type Objects_204 = { readonly "sequence": number, readonly "replayed"?: boolean, readonly "status": "accepted" | "noop" };
232
- type Objects_205 = { readonly "_tag": "snap-shot", readonly "capturedAt": string, readonly "appName": string, readonly "windowTitle": string, readonly "accessibleText"?: string, readonly "accessibility"?: { readonly "format": "flat-text", readonly "text": string, readonly "truncated": boolean } | { readonly "format": "element-tree", readonly "coordinateSpace": "captured-image", readonly "imageSize": { readonly "width": number, readonly "height": number }, readonly "truncated": boolean, readonly "root": Objects_206 }, readonly "appIdentifier"?: string, readonly "appIconDataUrl"?: string };
233
- type Objects_207 = { readonly "_tag": "agent-artifact", readonly "sourcePath": string, readonly "linkBase"?: string, readonly "toolCallId"?: string, readonly "title"?: string, readonly "note"?: string, readonly "delivered"?: true, readonly "sha256"?: string, readonly "fileCount"?: number, readonly "deliveryId"?: string };
234
- type Objects_209 = { readonly "projectId": string, readonly "repository": string, readonly "number": number, readonly "url": string };
235
- type Objects_210 = { readonly "_tag": "snap-shot", readonly "capturedAt": string, readonly "appName": string, readonly "windowTitle": string, readonly "accessibleText"?: string, readonly "accessibility"?: { readonly "format": "flat-text", readonly "text": string, readonly "truncated": boolean } | { readonly "format": "element-tree", readonly "coordinateSpace": "captured-image", readonly "imageSize": { readonly "width": number, readonly "height": number }, readonly "truncated": boolean, readonly "root": Objects_211 }, readonly "appIdentifier"?: string, readonly "appIconDataUrl"?: string };
236
- type Objects_212 = { readonly "_tag": "agent-artifact", readonly "sourcePath": string, readonly "linkBase"?: string, readonly "toolCallId"?: string, readonly "title"?: string, readonly "note"?: string, readonly "delivered"?: true, readonly "sha256"?: string, readonly "fileCount"?: number, readonly "deliveryId"?: string };
237
- type Objects_214 = { readonly "_tag": "agent-artifact", readonly "sourcePath": string, readonly "linkBase"?: string, readonly "toolCallId"?: string, readonly "title"?: string, readonly "note"?: string, readonly "delivered"?: true, readonly "sha256"?: string, readonly "fileCount"?: number, readonly "deliveryId"?: string };
217
+ type Objects_184 = { readonly "total": number, readonly "completed": number, readonly "cancelled": number };
218
+ type Objects_186 = { readonly "stateId": string, readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled" };
219
+ type Objects_187 = { readonly "projectId": string, readonly "requestId"?: string, readonly "workItemId": string, readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements", readonly "relatedWorkItemId": string };
220
+ type Objects_188 = { readonly "workItemId": string, readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements", readonly "relatedWorkItemId": string };
221
+ type Objects_190 = { readonly "projectId": string, readonly "requestId"?: string, readonly "workLineId": string };
222
+ type Objects_191 = { readonly "projectId": string, readonly "requestId"?: string, readonly "workItemId": string };
223
+ type Objects_192 = { readonly "sequence": number, readonly "result": { readonly "workItemId": string, readonly "version": number }, readonly "replayed"?: boolean };
224
+ type Objects_193 = { readonly "labelId": string };
225
+ type Objects_194 = { readonly "projectId": string, readonly "requestId"?: string, readonly "labelId": string };
226
+ type Objects_196 = { readonly "stateId": string };
227
+ type Union_61 = { readonly "pattern": string, readonly "color": string } | null;
228
+ type Objects_198 = { readonly "pattern": string, readonly "color": string };
229
+ type Objects_199 = { readonly "projectId": string, readonly "requestId"?: string, readonly "memberId": string };
230
+ type Objects_200 = { readonly "projectId": string };
231
+ type Objects_201 = { readonly "items": ReadonlyArray<{ readonly "memberId": string, readonly "status": "needs-approval" | "needs-input" | "plan-ready" | "running" | "failed" | "background" | "stopped" | "idle", readonly "lastAction"?: string, readonly "lastActionLabel"?: { readonly "name": string, readonly "path"?: string, readonly "detail"?: string }, readonly "requestSummary"?: string, readonly "waitId"?: string, readonly "workItemId"?: string, readonly "threadId": string, readonly "environmentId": string, readonly "online": boolean, readonly "stale"?: boolean, readonly "since": string, readonly "seenAt": string, readonly "state"?: "waiting" | "error" | "stuck" | "offline" | "paused" | "working" | "idle", readonly "openWorkItemCount"?: number, readonly "openWorkItemIds"?: ReadonlyArray<string> }> };
232
+ type Objects_203 = { readonly "sequence": number, readonly "replayed"?: boolean, readonly "status": "accepted" | "noop" };
233
+ type Objects_204 = { readonly "_tag": "snap-shot", readonly "capturedAt": string, readonly "appName": string, readonly "windowTitle": string, readonly "accessibleText"?: string, readonly "accessibility"?: { readonly "format": "flat-text", readonly "text": string, readonly "truncated": boolean } | { readonly "format": "element-tree", readonly "coordinateSpace": "captured-image", readonly "imageSize": { readonly "width": number, readonly "height": number }, readonly "truncated": boolean, readonly "root": Objects_205 }, readonly "appIdentifier"?: string, readonly "appIconDataUrl"?: string };
234
+ type Objects_206 = { readonly "_tag": "agent-artifact", readonly "sourcePath": string, readonly "linkBase"?: string, readonly "toolCallId"?: string, readonly "title"?: string, readonly "note"?: string, readonly "delivered"?: true, readonly "sha256"?: string, readonly "fileCount"?: number, readonly "deliveryId"?: string };
235
+ type Objects_208 = { readonly "projectId": string, readonly "repository": string, readonly "number": number, readonly "url": string };
236
+ type Objects_209 = { readonly "_tag": "snap-shot", readonly "capturedAt": string, readonly "appName": string, readonly "windowTitle": string, readonly "accessibleText"?: string, readonly "accessibility"?: { readonly "format": "flat-text", readonly "text": string, readonly "truncated": boolean } | { readonly "format": "element-tree", readonly "coordinateSpace": "captured-image", readonly "imageSize": { readonly "width": number, readonly "height": number }, readonly "truncated": boolean, readonly "root": Objects_210 }, readonly "appIdentifier"?: string, readonly "appIconDataUrl"?: string };
237
+ type Objects_211 = { readonly "_tag": "agent-artifact", readonly "sourcePath": string, readonly "linkBase"?: string, readonly "toolCallId"?: string, readonly "title"?: string, readonly "note"?: string, readonly "delivered"?: true, readonly "sha256"?: string, readonly "fileCount"?: number, readonly "deliveryId"?: string };
238
+ type Objects_213 = { readonly "_tag": "agent-artifact", readonly "sourcePath": string, readonly "linkBase"?: string, readonly "toolCallId"?: string, readonly "title"?: string, readonly "note"?: string, readonly "delivered"?: true, readonly "sha256"?: string, readonly "fileCount"?: number, readonly "deliveryId"?: string };
238
239
  type SessionCleanupRetryInput = { readonly "threadId": string };
239
240
  type SessionCleanupRecovered = { readonly "status": "recovered" | "already-recovered" };
240
241
  type SessionCleanupBlocked = { readonly "status": "blocked", readonly "code": "cleanup-exit-unconfirmed" | "cleanup-exit-processing" | "cleanup-stop-commit" | "cleanup-credentials" | "cleanup-session-record" | "cleanup-execution-lease" };
241
- type Union_63 = { 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 };
242
- type Objects_215 = { readonly "projectId": string, readonly "folderId": string };
243
- type Objects_216 = { readonly "applied": boolean };
242
+ type Union_64 = { 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 };
243
+ type Objects_214 = { readonly "projectId": string, readonly "folderId": string };
244
+ type Objects_215 = { readonly "applied": boolean };
244
245
  type DatabaseSpaceInput = { };
245
246
  type DatabaseSpaceStatus = { readonly "databaseBytes": number, readonly "walBytes": number, readonly "reusableBytes": number, readonly "mode": "none" | "full" | "incremental", readonly "conversion": "ready" | "disk-space" | "disk-check-failed" | "failed" | "next-startup", readonly "availableBytes": number | null, readonly "requiredBytes": number, readonly "state": "idle" | "running" | "stopped" | "completed" | "blocked" | "failed", readonly "reclaimedBytes": number, readonly "targetBytes": number, readonly "unavailableReason": "not-converted" | "reader" | "no-free-pages" | null };
246
- type Objects_217 = { readonly "kind": "post", readonly "id": string };
247
- type Objects_218 = { readonly "kind": "record", readonly "id": string };
248
- type Objects_219 = { readonly "kind": "comment", readonly "id": string };
247
+ type Objects_216 = { readonly "kind": "post", readonly "id": string };
248
+ type Objects_217 = { readonly "kind": "record", readonly "id": string };
249
+ type Objects_218 = { readonly "kind": "comment", readonly "id": string };
249
250
  type CommunicationPostAttachmentPath = { readonly "path": string, readonly "name"?: string, readonly "mimeType"?: string };
250
251
  type CommunicationPostAttachmentRef = { readonly "attachmentId": string, readonly "name": string, readonly "mimeType"?: string, readonly "sourcePath"?: string };
251
252
  type CommunicationPostChange = { readonly "projectId": string, readonly "requestId"?: string, readonly "postId": string };
252
253
  type CommunicationPostBindResult = { readonly "postId": string, readonly "targetKey": string };
253
254
  type CommunicationChildReport_1 = { readonly "kind": "child.settled" | "child.failed" | "child.stopped" | "child.approval" | "child.question", readonly "requestId"?: string };
254
255
  type CommunicationPostNotificationResolution = { readonly "resolution": "approved" | "denied" | "handled" | "answered" | "dismissed" | "expired" | "cancelled", readonly "at": string };
255
- type Union_65 = { readonly "kind": "post", readonly "id": string } | { readonly "kind": "record", readonly "id": string } | { readonly "kind": "comment", readonly "id": string };
256
+ type Union_66 = { readonly "kind": "post", readonly "id": string } | { readonly "kind": "record", readonly "id": string } | { readonly "kind": "comment", readonly "id": string };
256
257
  type CommunicationPostMarkReadItem = { readonly "postId": string, readonly "targetKey": string };
257
258
  type CommunicationPostMarkReadResult = { readonly "marked": number };
258
259
  type ThreadMemberThreadRefInput = { readonly "kind": "thread", readonly "environmentId": string, readonly "threadId": string };
@@ -261,57 +262,57 @@ type ThreadMemberInputMemberRef = { readonly "kind": "member", readonly "memberI
261
262
  type ThreadMemberInputAccount = { readonly "kind": "account", readonly "userId": string };
262
263
  type ThreadMemberInputLocalOwner = { readonly "kind": "local-owner", readonly "environmentId": string };
263
264
  type ProjectMachineRemoval_3 = { readonly "environmentId": string, readonly "removalId": string };
264
- type Objects_221 = { readonly "sourceThreadId": string, readonly "sourceMessageId": string, readonly "sourceTurnNumber"?: number };
265
- type Objects_222 = { readonly "provider"?: unknown | undefined, readonly "instanceId"?: unknown | undefined, readonly "model": unknown, readonly "options"?: unknown | undefined };
266
- type Union_68 = ReadonlyArray<string> | undefined;
267
- type Objects_224 = { readonly "parentThreadId": string, readonly "delegationDepth": number, readonly "requestedBy": "agent" | "continuation" | "person", readonly "notificationPolicy"?: "wake" | "activity-only" | undefined };
265
+ type Objects_220 = { readonly "sourceThreadId": string, readonly "sourceMessageId": string, readonly "sourceTurnNumber"?: number };
266
+ type Objects_221 = { readonly "provider"?: unknown | undefined, readonly "instanceId"?: unknown | undefined, readonly "model": unknown, readonly "options"?: unknown | undefined };
267
+ type Union_69 = ReadonlyArray<string> | undefined;
268
+ type Objects_223 = { readonly "parentThreadId": string, readonly "delegationDepth": number, readonly "requestedBy": "agent" | "continuation" | "person", readonly "notificationPolicy"?: "wake" | "activity-only" | undefined };
268
269
  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 };
269
- type Objects_225 = { readonly "userId": string, readonly "displayName": string };
270
+ type Objects_224 = { readonly "userId": string, readonly "displayName": string };
270
271
  type ThreadCreatorAccount_1 = { readonly "kind": "account", readonly "userId": string };
271
272
  type ThreadCreatorLocalOwner_1 = { readonly "kind": "local-owner", readonly "environmentId": string };
272
- type Objects_226 = { readonly "kind": "approval" | "userInput", readonly "requestId": string, readonly "startedAt": string, readonly "completedAt": string | null, readonly "waitingForYouStartedAt"?: string | null | undefined };
273
- type Objects_227 = { readonly "requestId": string, readonly "startedAt": string };
274
- type Objects_228 = { readonly "source": "manual" | "generated", readonly "version": string, readonly "needsRefinement": boolean };
275
- type Union_77 = { readonly "phase": "handling" | "unanswered" | "direct", readonly "parentThreadId": string } | undefined;
273
+ type Objects_225 = { readonly "kind": "approval" | "userInput", readonly "requestId": string, readonly "startedAt": string, readonly "completedAt": string | null, readonly "waitingForYouStartedAt"?: string | null | undefined };
274
+ type Objects_226 = { readonly "requestId": string, readonly "startedAt": string };
275
+ type Objects_227 = { readonly "source": "manual" | "generated", readonly "version": string, readonly "needsRefinement": boolean };
276
+ type Union_78 = { readonly "phase": "handling" | "unanswered" | "direct", readonly "parentThreadId": string } | undefined;
276
277
  type ThreadContinuationCheck_1 = { readonly "turnId": string, readonly "pluginIds": ReadonlyArray<string>, readonly "startedAt": string };
277
- type Union_78 = { readonly "step": string, readonly "completedSteps": number, readonly "totalSteps": number } | null | undefined;
278
- type Objects_231 = { readonly "machineId": string, readonly "name": string, readonly "online": boolean, readonly "serverVersion"?: string, readonly "wireProtocolVersion"?: number };
279
- type Union_79 = { readonly "original": string, readonly "steps": ReadonlyArray<{ readonly "pluginId": string, readonly "via": "before-send" | "slash-command", readonly "command"?: string | undefined }> } | undefined;
280
- type Objects_233 = { readonly "kind": "native-session", readonly "provider": string, readonly "sessionId": string, readonly "messageId": string, readonly "turnId"?: string | undefined, readonly "order": number };
281
- type Objects_234 = { readonly "kind": "schedule", readonly "scheduleId": string, readonly "name": string, readonly "pluginId"?: string };
282
- type Objects_235 = { readonly "kind": "scheduled-wake", readonly "wakeId": string, readonly "dueAt": string, readonly "note": string };
283
- type Objects_236 = { readonly "kind": "record", readonly "recordId": string };
284
- type Objects_237 = { readonly "kind": "session", readonly "threadId": string, readonly "turnId"?: string | undefined };
285
- type Objects_238 = { readonly "kind": "reply", readonly "recordId": string };
286
- type Objects_239 = { readonly "kind": "child-report", readonly "childThreadId": string, readonly "outcome": "settled" | "failed" | null };
278
+ type Union_79 = { readonly "step": string, readonly "completedSteps": number, readonly "totalSteps": number } | null | undefined;
279
+ type Objects_230 = { readonly "machineId": string, readonly "name": string, readonly "online": boolean, readonly "serverVersion"?: string, readonly "wireProtocolVersion"?: number };
280
+ type Union_80 = { readonly "original": string, readonly "steps": ReadonlyArray<{ readonly "pluginId": string, readonly "via": "before-send" | "slash-command", readonly "command"?: string | undefined }> } | undefined;
281
+ type Objects_232 = { readonly "kind": "native-session", readonly "provider": string, readonly "sessionId": string, readonly "messageId": string, readonly "turnId"?: string | undefined, readonly "order": number };
282
+ type Objects_233 = { readonly "kind": "schedule", readonly "scheduleId": string, readonly "name": string, readonly "pluginId"?: string };
283
+ type Objects_234 = { readonly "kind": "scheduled-wake", readonly "wakeId": string, readonly "dueAt": string, readonly "note": string };
284
+ type Objects_235 = { readonly "kind": "record", readonly "recordId": string };
285
+ type Objects_236 = { readonly "kind": "session", readonly "threadId": string, readonly "turnId"?: string | undefined };
286
+ type Objects_237 = { readonly "kind": "reply", readonly "recordId": string };
287
+ type Objects_238 = { readonly "kind": "child-report", readonly "childThreadId": string, readonly "outcome": "settled" | "failed" | null };
287
288
  type TurnIntentContinuation_1 = { readonly "round": number, readonly "limit": number, readonly "of"?: string };
288
- type Objects_241 = { readonly "kind": "board-dispatch", readonly "workItemId": string };
289
- type Objects_242 = { readonly "kind": "person", readonly "pluginId": string, readonly "displayName": string };
290
- type Objects_243 = { readonly "kind": "plugin-notice", readonly "title": string, readonly "pluginId"?: string | undefined };
291
- type Objects_244 = { readonly "kind": "remote-post", readonly "postId": string, readonly "authorKind": "human" | "agent", readonly "authorName"?: string };
292
- type Objects_246 = { 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 };
293
- type Union_85 = { readonly "postId": string, readonly "targetKey": string, readonly "authorKind": "human" | "agent", readonly "authorName"?: string | undefined, readonly "authorThreadId"?: string | undefined, readonly "homeName"?: string | undefined } | undefined;
294
- type Union_86 = { readonly "kind": "steer" | "interrupt", readonly "turnId": string, readonly "commandId": string, readonly "source"?: "automatic" } | null;
295
- type Union_87 = { readonly "sessionId"?: string, readonly "turnId"?: string, readonly "generationId"?: string } | null;
296
- type Objects_249 = { 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 };
297
- type Objects_250 = { readonly "source": "none" | "custom" | "plugin", readonly "customId": string | null, readonly "pluginId": string | null, readonly "dimLight": number, readonly "dimDark": number, readonly "blur": number };
298
- type Union_90 = { readonly "kind": "plugin", readonly "pluginId": string } | undefined;
289
+ type Objects_240 = { readonly "kind": "board-dispatch", readonly "workItemId": string };
290
+ type Objects_241 = { readonly "kind": "person", readonly "pluginId": string, readonly "displayName": string };
291
+ type Objects_242 = { readonly "kind": "plugin-notice", readonly "title": string, readonly "pluginId"?: string | undefined };
292
+ type Objects_243 = { readonly "kind": "remote-post", readonly "postId": string, readonly "authorKind": "human" | "agent", readonly "authorName"?: string };
293
+ 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 };
294
+ 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;
295
+ type Union_87 = { readonly "kind": "steer" | "interrupt", readonly "turnId": string, readonly "commandId": string, readonly "source"?: "automatic" } | null;
296
+ type Union_88 = { readonly "sessionId"?: string, readonly "turnId"?: string, readonly "generationId"?: string } | null;
297
+ 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 };
298
+ 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 };
299
+ type Union_91 = { readonly "kind": "plugin", readonly "pluginId": string } | undefined;
299
300
  type Union_1 = Objects_2 | Objects_3 | Objects_4;
300
301
  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 };
301
302
  type AccountMachineDiscoveryStatus = { readonly "publish"?: AccountMachineDiscoveryFailure, readonly "discover"?: AccountMachineDiscoveryFailure, readonly "recovery"?: { readonly "state": "reconnecting" | "login_required" | "exhausted" | "unavailable", readonly "attempts"?: number, readonly "nextAttemptAt"?: string } };
302
303
  type Objects_19 = { 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 };
303
304
  type SeatHealth = { readonly "lastSuccessAt"?: string, readonly "lastFailure"?: SeatHealthFailure, readonly "state"?: "active" | "rejected" | "checking" | "home-update-required", readonly "nextAttemptAt"?: string, readonly "consecutiveFailures"?: number };
304
305
  type Objects_21 = { readonly "command": string, readonly "args"?: Arrays_2, readonly "cwd"?: string, readonly "timeoutSeconds"?: number };
305
- type Objects_175 = { readonly "command": string, readonly "args"?: Arrays_2, readonly "cwd"?: string, readonly "timeoutSeconds"?: number };
306
+ type Objects_174 = { readonly "command": string, readonly "args"?: Arrays_2, readonly "cwd"?: string, readonly "timeoutSeconds"?: number };
306
307
  type Union_2 = Objects_24 | null;
307
308
  type Union_23 = Objects_24 | null | undefined;
308
309
  type Arrays_6 = ReadonlyArray<Objects_26>;
309
310
  type Arrays_7 = ReadonlyArray<Objects_26>;
310
311
  type Objects_28 = { readonly "environmentId": string, readonly "runtimeId": string, readonly "sourceId": string, readonly "profileId": string, readonly "endpointId"?: string, readonly "optionOverrides": Arrays_8, readonly "expectedRevisions": Objects_29 };
311
- type Objects_208 = { readonly "environmentId": string, readonly "runtimeId": string, readonly "sourceId": string, readonly "profileId": string, readonly "endpointId"?: string, readonly "optionOverrides": Arrays_8, readonly "expectedRevisions": Objects_29 };
312
+ type Objects_207 = { readonly "environmentId": string, readonly "runtimeId": string, readonly "sourceId": string, readonly "profileId": string, readonly "endpointId"?: string, readonly "optionOverrides": Arrays_8, readonly "expectedRevisions": Objects_29 };
312
313
  type Union_7 = Objects_30 | null | undefined;
313
314
  type ThreadMemberRef = Objects_31 | Objects_32 | Objects_33;
314
- type Union_64 = { readonly "kind": "work-item", readonly "workItemId": string } | Objects_33 | Objects_32 | { readonly "kind": "principal", readonly "principalId": string, readonly "memberId"?: string };
315
+ type Union_65 = { readonly "kind": "work-item", readonly "workItemId": string } | Objects_33 | Objects_32 | { readonly "kind": "principal", readonly "principalId": string, readonly "memberId"?: string };
315
316
  type Arrays_40 = ReadonlyArray<Objects_31 | Objects_32 | Objects_33 | { readonly "kind": "principal", readonly "principalId": string, readonly "memberId"?: string }>;
316
317
  type ThreadMembersUpdateResult = { readonly "thread": Objects_33, readonly "version": number };
317
318
  type Union_8 = Objects_34 | null | undefined;
@@ -324,12 +325,12 @@ type Arrays_10 = ReadonlyArray<Objects_36>;
324
325
  type Union_12 = Objects_37 | null | undefined;
325
326
  type Union_13 = Objects_38 | null | undefined;
326
327
  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 };
327
- type Objects_229 = { 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 };
328
+ 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 };
328
329
  type ThreadContinuationCheckOrNull = ThreadContinuationCheck | null;
329
330
  type Objects_40 = { readonly "backgroundLiveness"?: "working" | "monitoring" | null | undefined, readonly "backgroundMonitorCount"?: number | undefined, readonly "planProgress"?: Union_17 };
330
331
  type Union_21 = Objects_44 | undefined;
331
332
  type Objects_52 = { readonly "kind": "plugin-wake", readonly "pluginId": string, readonly "continuation"?: TurnIntentContinuation };
332
- type Objects_148 = { readonly "createdBy"?: Objects_68 | Objects_69 | Objects_70, readonly "wakeId": string, readonly "threadId": string, readonly "dueAt": string, readonly "note": string, readonly "state": "scheduled" | "fired" | "cancelled", readonly "afterServerUpgrade": boolean, 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 }, readonly "repeat"?: { readonly "cron": string, readonly "timeZone": string } };
333
+ type Objects_147 = { readonly "createdBy"?: Objects_68 | Objects_69 | Objects_70, readonly "wakeId": string, readonly "threadId": string, readonly "dueAt": string, readonly "note": string, readonly "state": "scheduled" | "fired" | "cancelled", readonly "afterServerUpgrade": boolean, 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 }, readonly "repeat"?: { readonly "cron": string, readonly "timeZone": string } };
333
334
  type Union_29 = { 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_73 } | undefined, readonly "appIdentifier"?: string | undefined, readonly "appIconDataUrl"?: string | undefined } | Objects_75 | undefined;
334
335
  type Union_31 = Objects_76 | Objects_75 | { readonly "_tag": "thread-reference", readonly "environmentId": string, readonly "threadId": string } | undefined;
335
336
  type Union_34 = Union_33 | null;
@@ -337,64 +338,63 @@ type Objects_78 = { readonly "claimId": string, readonly "claimedBy": Union_33,
337
338
  type Arrays_42 = ReadonlyArray<{ readonly "key": string, readonly "role": "addressee" | "mention" | "reply" | "coordinator" | "copy", readonly "participant": Union_33 | null, readonly "delivery": "quiet" | "wake" | "steer", readonly "scope"?: { readonly "workLineId": string }, readonly "readAt": string | null, readonly "readTurnId"?: string, readonly "deliveryState"?: "claimed" | "accepted" | "failed" | "withdrawn" | "held", readonly "deliveryFailure"?: { readonly "reason": string, readonly "recovery"?: string } }>;
338
339
  type Objects_84 = { readonly "projectId": string, readonly "since"?: string | null, readonly "until"?: string | null, readonly "cursor"?: string | null, readonly "limit"?: number, readonly "person": Union_38 };
339
340
  type Objects_88 = { readonly "person": Union_38 };
340
- type Objects_176 = { readonly "kind": "human", readonly "principal": Union_38 };
341
+ type Objects_175 = { readonly "kind": "human", readonly "principal": Union_38 };
341
342
  type CommunicationPostRecipientInput = { readonly "kind": "member", readonly "memberId": string } | { readonly "kind": "person", readonly "person": Union_38 } | { readonly "kind": "thread", readonly "environmentId": string, readonly "threadId": string } | { readonly "kind": "principal", readonly "principalId": string, readonly "memberId"?: string };
342
- type Objects_157 = { readonly "kind": "human", readonly "principal": Union_39 };
343
+ type Objects_156 = { readonly "kind": "human", readonly "principal": Union_39 };
343
344
  type CommunicationPostResult = { readonly "postId": string, readonly "recipientWarnings"?: ReadonlyArray<Objects_91> };
344
- type Objects_117 = { 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 } }> };
345
+ 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 } }> };
345
346
  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 } } }>;
346
- type Objects_109 = { readonly "keybindings": Arrays_14, readonly "issues": Arrays_15 };
347
- type Arrays_20 = ReadonlyArray<Objects_112>;
348
- type Arrays_21 = ReadonlyArray<Objects_112>;
349
- type Union_44 = Arrays_22 | Objects_115;
350
- type Objects_122 = { readonly [x: string]: { readonly "command": string, readonly "args"?: Arrays_3, readonly "cwd"?: string, readonly "description"?: string, readonly "timeoutSeconds"?: number, readonly "variants"?: { readonly [x: string]: Arrays_23 } } };
347
+ type Arrays_20 = ReadonlyArray<Objects_111>;
348
+ type Arrays_21 = ReadonlyArray<Objects_111>;
349
+ type Union_44 = Arrays_22 | Objects_114;
350
+ type Objects_121 = { readonly [x: string]: { readonly "command": string, readonly "args"?: Arrays_3, readonly "cwd"?: string, readonly "description"?: string, readonly "timeoutSeconds"?: number, readonly "variants"?: { readonly [x: string]: Arrays_23 } } };
351
351
  type Union_45 = Arrays_24 | undefined;
352
- type Union_89 = Objects_124 | undefined;
353
- type Union_91 = Objects_124 | undefined;
354
- type Union_46 = Objects_121 | Objects_125 | Objects_126;
355
- type Objects_127 = { readonly "path": string, readonly "methods"?: Arrays_29, readonly "websocket"?: boolean };
356
- type Objects_251 = { readonly "path": string, readonly "methods"?: Arrays_29, readonly "websocket"?: boolean };
357
- type Union_53 = Objects_145 | undefined;
358
- type Objects_147 = { 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_54, readonly "usedPercent": number, readonly "resetsAt": string | null, readonly "windowMs"?: number, readonly "group"?: string }>, readonly "balances": ReadonlyArray<{ readonly "id": string, readonly "label": Union_54, 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 };
359
- type Arrays_35 = ReadonlyArray<Objects_173>;
360
- type Objects_174 = { readonly "changed": boolean, readonly "release": number, readonly "pages": ReadonlyArray<Objects_173> };
361
- type Objects_196 = { readonly "sequence": number, readonly "result": Objects_194, readonly "replayed"?: boolean };
362
- type Union_92 = Objects_199 | null;
363
- type Union_69 = Objects_209 | null | undefined;
364
- type CommunicationPostReplyInput = Objects_217 | Objects_218 | Objects_219;
365
- type CommunicationPostReplyInput_1 = Objects_217 | Objects_218 | Objects_219;
352
+ type Union_90 = Objects_123 | undefined;
353
+ type Union_92 = Objects_123 | undefined;
354
+ type Union_46 = Objects_120 | Objects_124 | Objects_125;
355
+ type Objects_126 = { readonly "path": string, readonly "methods"?: Arrays_29, readonly "websocket"?: boolean };
356
+ type Objects_250 = { readonly "path": string, readonly "methods"?: Arrays_29, readonly "websocket"?: boolean };
357
+ type Union_54 = Objects_144 | undefined;
358
+ 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 };
359
+ type Arrays_35 = ReadonlyArray<Objects_172>;
360
+ type Objects_173 = { readonly "changed": boolean, readonly "release": number, readonly "pages": ReadonlyArray<Objects_172> };
361
+ type Objects_195 = { readonly "sequence": number, readonly "result": Objects_193, readonly "replayed"?: boolean };
362
+ type Union_93 = Objects_198 | null;
363
+ type Union_70 = Objects_208 | null | undefined;
364
+ type CommunicationPostReplyInput = Objects_216 | Objects_217 | Objects_218;
365
+ type CommunicationPostReplyInput_1 = Objects_216 | Objects_217 | Objects_218;
366
366
  type CommunicationPostNotification = { readonly "kind": "child-report", readonly "sourceThreadId": string, readonly "childReport": CommunicationChildReport_1 } | { readonly "kind": "plugin-notice", readonly "sourceThreadId": string };
367
367
  type ThreadMemberInputPerson = ThreadMemberInputAccount | ThreadMemberInputLocalOwner;
368
- type Union_66 = Objects_221 | null;
369
- type Union_84 = Objects_221 | null | undefined;
370
- type Union_81 = Objects_222 | undefined;
371
- type Union_70 = Objects_224 | null | undefined;
368
+ type Union_67 = Objects_220 | null;
369
+ type Union_85 = Objects_220 | null | undefined;
370
+ type Union_82 = Objects_221 | undefined;
371
+ type Union_71 = Objects_223 | null | undefined;
372
372
  type ThreadMembers_1 = ReadonlyArray<ThreadMemberRef_1>;
373
- type Union_71 = Objects_225 | null | undefined;
374
- type Union_80 = Objects_225 | null | undefined;
373
+ type Union_72 = Objects_224 | null | undefined;
374
+ type Union_81 = Objects_224 | null | undefined;
375
375
  type ThreadCreatorPrincipal_1 = ThreadCreatorAccount_1 | ThreadCreatorLocalOwner_1;
376
- type Union_73 = ReadonlyArray<Objects_226> | undefined;
377
- type Union_74 = Objects_227 | null | undefined;
378
- type Union_75 = Objects_228 | null | undefined;
376
+ type Union_74 = ReadonlyArray<Objects_225> | undefined;
377
+ type Union_75 = Objects_226 | null | undefined;
378
+ type Union_76 = Objects_227 | null | undefined;
379
379
  type ThreadContinuationCheckOrNull_1 = ThreadContinuationCheck_1 | null;
380
- type Objects_230 = { readonly "backgroundLiveness"?: "working" | "monitoring" | null | undefined, readonly "backgroundMonitorCount"?: number | undefined, readonly "planProgress"?: Union_78 };
381
- type Union_82 = Objects_233 | undefined;
382
- type Objects_240 = { readonly "kind": "plugin-wake", readonly "pluginId": string, readonly "continuation"?: TurnIntentContinuation_1 };
383
- type Objects_245 = { 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_222 | null, readonly "faviconPath"?: string | null | undefined, readonly "projectIcon"?: Union_63 | null | undefined, readonly "scripts": ReadonlyArray<Objects_246>, readonly "sortOrderKey"?: string | null | undefined, readonly "createdAt": string, readonly "updatedAt": string, readonly "archivedAt"?: string | null | undefined };
384
- type Union_88 = { 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_248 } | undefined, readonly "appIdentifier"?: string | undefined, readonly "appIconDataUrl"?: string | undefined } | Objects_249 | undefined } | { readonly "type": "file", readonly "id": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number, readonly "source"?: Objects_76 | Objects_249 | { readonly "_tag": "thread-reference", readonly "environmentId": string, readonly "threadId": string } | undefined };
380
+ type Objects_229 = { readonly "backgroundLiveness"?: "working" | "monitoring" | null | undefined, readonly "backgroundMonitorCount"?: number | undefined, readonly "planProgress"?: Union_79 };
381
+ type Union_83 = Objects_232 | undefined;
382
+ type Objects_239 = { readonly "kind": "plugin-wake", readonly "pluginId": string, readonly "continuation"?: TurnIntentContinuation_1 };
383
+ 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 };
384
+ 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 };
385
385
  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 };
386
386
  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 };
387
387
  type ProjectMachineWorking = { readonly "projectId": string, readonly "projectTitle": string, readonly "admittedBy"?: "join-code" | "client-broker" | "account", readonly "seatHealth"?: SeatHealth };
388
388
  type ProjectMachineJoinedHealth = { readonly "admittedBy"?: "join-code" | "client-broker" | "account", readonly "homeEnvironmentId": string, readonly "homeName"?: string, readonly "projectTitle"?: string, readonly "projectId": string, readonly "state": "active" | "rejected" | "checking" | "home-update-required", readonly "health"?: SeatHealth };
389
- type Objects_180 = { readonly "projectTask"?: Objects_175, readonly "instanceId"?: string, readonly "variant"?: string, readonly "targetVersion"?: string, readonly "command"?: string, readonly "args"?: Arrays_3, readonly "cwd"?: string, readonly "timeoutSeconds"?: number, readonly "minutes"?: number };
389
+ type Objects_179 = { readonly "projectTask"?: Objects_174, readonly "instanceId"?: string, readonly "variant"?: string, readonly "targetVersion"?: string, readonly "command"?: string, readonly "args"?: Arrays_3, readonly "cwd"?: string, readonly "timeoutSeconds"?: number, readonly "minutes"?: number };
390
390
  type Union_3 = Arrays_6 | Arrays_7;
391
391
  type Union_4 = Objects_28 | undefined;
392
- type Union_67 = Objects_208 | undefined;
392
+ type Union_68 = Objects_207 | undefined;
393
393
  type ThreadMembers = ReadonlyArray<ThreadMemberRef>;
394
394
  type ThreadDirectoryRefreshMembers = ReadonlyArray<ThreadMemberRef>;
395
395
  type ThreadMembersStateMembers = ReadonlyArray<ThreadMemberRef>;
396
396
  type Union_14 = Objects_39 | null;
397
- type Union_76 = Objects_229 | null;
397
+ type Union_77 = Objects_228 | null;
398
398
  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;
399
399
  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 };
400
400
  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 };
@@ -402,52 +402,52 @@ type Union_37 = Objects_78 | null;
402
402
  type Arrays_12 = ReadonlyArray<{ readonly "key": string, readonly "role": "process" | "background", readonly "member"?: string, readonly "participant": Union_33 | null, readonly "scope": Objects_80 | null, readonly "delivery": "quiet" | "wake" | "steer", readonly "stages": { readonly "handedOff": Objects_78 | null, readonly "replied": { readonly "recordId": string, readonly "at": string } | null } }>;
403
403
  type CommunicationPostAddressInput = { readonly "workItemId": string } | { readonly "threadId": string } | Objects_88 | { readonly "principalId": string, readonly "memberId"?: string } | { readonly "remoteThread": Objects_90 } | { readonly "group": { readonly "threadId": string } };
404
404
  type CommunicationPostBindParticipantInput = { readonly "threadId": string } | Objects_88 | Objects_89;
405
- type Union_57 = Objects_176 | { readonly "kind": "agent", readonly "threadId": string } | Objects_177 | { readonly "kind": "member", readonly "memberId": string };
406
- type Union_93 = Objects_176 | null;
407
- type Union_95 = Objects_176 | { readonly "kind": "local-cli", readonly "environmentId": string } | { readonly "kind": "seat", readonly "seatId": string } | { readonly "kind": "agent", readonly "threadId": string } | Objects_177 | { readonly "kind": "plugin", readonly "pluginId": string } | Objects_163;
408
- type Union_55 = Objects_157 | Objects_158 | Objects_159 | Objects_160 | Objects_161 | Objects_162 | Objects_163;
409
- type Union_58 = Objects_157 | Objects_160 | Objects_161 | { readonly "kind": "member", readonly "memberId": string };
410
- type Union_59 = Objects_157 | Objects_160 | Objects_161;
411
- type Union_61 = Objects_157 | null;
412
- type Objects_119 = { readonly "providers": Arrays_13 };
413
- type Objects_111 = { readonly "revision": string, readonly "status": "healthy" | "stopped" | "conflict" | "unknown", readonly "stateDir": string, readonly "runtimeRoot": string, readonly "currentVersion": string | null, readonly "instances": Arrays_19, 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_20, readonly "windowsProcessTreeProtectionExplicitBreakaways"?: Arrays_21 };
414
- type Objects_114 = { readonly "instanceId": string, readonly "model": string, readonly "options"?: Union_44 };
405
+ type Union_58 = Objects_175 | { readonly "kind": "agent", readonly "threadId": string } | Objects_176 | { readonly "kind": "member", readonly "memberId": string };
406
+ type Union_94 = Objects_175 | null;
407
+ type Union_96 = Objects_175 | { readonly "kind": "local-cli", readonly "environmentId": string } | { readonly "kind": "seat", readonly "seatId": string } | { readonly "kind": "agent", readonly "threadId": string } | Objects_176 | { readonly "kind": "plugin", readonly "pluginId": string } | Objects_162;
408
+ type Union_56 = Objects_156 | Objects_157 | Objects_158 | Objects_159 | Objects_160 | Objects_161 | Objects_162;
409
+ type Union_59 = Objects_156 | Objects_159 | Objects_160 | { readonly "kind": "member", readonly "memberId": string };
410
+ type Union_60 = Objects_156 | Objects_159 | Objects_160;
411
+ type Union_62 = Objects_156 | null;
412
+ type Objects_118 = { readonly "providers": Arrays_13 };
413
+ 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_19, 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_20, readonly "windowsProcessTreeProtectionExplicitBreakaways"?: Arrays_21 };
414
+ type Objects_113 = { readonly "instanceId": string, readonly "model": string, readonly "options"?: Union_44 };
415
415
  type ThreadMemberInputPersonRef = { readonly "kind": "person", readonly "person": ThreadMemberInputPerson };
416
- type Union_72 = { 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_222 | undefined, readonly "sourceProposedPlan"?: { readonly "threadId": string, readonly "planId": string } | undefined, readonly "waitSpans"?: Union_73, readonly "runSegments"?: Union_11 } | null;
417
- type Union_83 = Objects_45 | Objects_234 | Objects_235 | Objects_236 | Objects_237 | Objects_238 | Objects_239 | Objects_240 | Objects_241 | Objects_242 | Objects_243 | Objects_56 | Objects_57 | Objects_244 | undefined;
416
+ 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;
417
+ 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;
418
418
  type Objects_15 = { readonly "status": Objects_12 };
419
419
  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> };
420
- type Objects_179 = { readonly "environmentId": string, readonly "actionId": string, readonly "input"?: Objects_180, readonly "status": "awaiting-approval" | "queued" | "running" | "succeeded" | "failed" | "declined", readonly "progress"?: Objects_181, readonly "prompt"?: Objects_182, readonly "result"?: Objects_183, readonly "failure"?: Objects_184, readonly "autoApproved"?: true, readonly "localAgent"?: true, readonly "accountOriginEnvironmentId"?: string, readonly "rememberProject"?: boolean, readonly "approval"?: string, readonly "logCommentId"?: string, readonly "logPostId"?: string };
421
- type Objects_203 = { readonly "environmentId": string, readonly "actionId": string, readonly "input"?: Objects_180, readonly "status": "awaiting-approval" | "queued" | "running" | "succeeded" | "failed" | "declined", readonly "progress"?: Objects_181, readonly "prompt"?: Objects_182, readonly "result"?: Objects_183, readonly "failure"?: Objects_184, readonly "autoApproved"?: true, readonly "localAgent"?: true, readonly "accountOriginEnvironmentId"?: string, readonly "rememberProject"?: boolean, readonly "approval"?: string, readonly "logCommentId"?: string, readonly "logPostId"?: string };
420
+ 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 };
421
+ type Objects_202 = { 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 };
422
422
  type Objects_25 = { readonly "instanceId": string, readonly "model": string, readonly "options"?: Union_3 };
423
- type Objects_116 = { readonly "instanceId": string, readonly "model": string, readonly "options"?: Union_3 };
423
+ type Objects_115 = { readonly "instanceId": string, readonly "model": string, readonly "options"?: Union_3 };
424
424
  type ThreadMembersState = { readonly "projectId": string, readonly "thread": Objects_33, readonly "source": ThreadMembersSource, readonly "version": number, readonly "members": ThreadMembersStateMembers, readonly "workLineId"?: string };
425
425
  type Union_35 = ReadonlyArray<Union_36> | undefined;
426
426
  type Arrays_41 = ReadonlyArray<Union_36>;
427
- type Objects_252 = { readonly "outcome": "passed" | "failed" | "skipped" | "not-run", readonly "at": string, readonly "by": Union_95, readonly "summary"?: string };
428
- type Objects_165 = { readonly "experienceId": string, readonly "revision": number, readonly "baseRevision": number | null, readonly "author": Union_55, readonly "createdAt": string, readonly "title"?: string, readonly "applicability"?: string, readonly "body": string | null, readonly "bodyState": "present" | "erased" | "unavailable", readonly "bodyWindow"?: Objects_59 };
429
- type Objects_170 = { readonly "pageId": string, readonly "revision": number, readonly "baseRevision": number | null, readonly "restoredFromRevision": number | null, readonly "author": Union_55, readonly "createdAt": string, readonly "title": string | null, readonly "changeSummary": string | null, readonly "body": string | null, readonly "bodyState": "present" | "erased" | "unavailable", readonly "bodyWindow"?: Objects_59 };
430
- type Objects_172 = { readonly "release": number, readonly "pages": Arrays_35, readonly "itemCount": number, readonly "itemHighWater": number, readonly "requiresAck": boolean, readonly "restoredFromRelease": number | null, readonly "sourceExperience": Union_56, readonly "publishedBy": Union_55, readonly "publishedAt": string };
431
- type Objects_190 = { readonly "workLineId": string, readonly "projectId": string, readonly "name": string, readonly "leadMemberId": string | null, readonly "memberIds": ReadonlyArray<string>, readonly "threadId": string | null, readonly "roomMemberId"?: string, readonly "version": number, readonly "createdBy": Union_55, readonly "createdAt": string, readonly "updatedAt": string, readonly "archivedAt": string | null, readonly "pause"?: { readonly "at": string, readonly "by": Union_55, readonly "reason"?: string }, readonly "memberPauses"?: ReadonlyArray<{ readonly "memberId": string, readonly "at": string, readonly "by": Union_55, readonly "reason"?: string }> };
432
- type Objects_198 = { readonly "outcome": "passed" | "failed" | "skipped" | "not-run", readonly "at": string, readonly "by": Union_55, readonly "summary"?: string };
433
- type Arrays_36 = ReadonlyArray<Union_58>;
434
- type Arrays_39 = ReadonlyArray<Union_59>;
435
- type Union_94 = { readonly "environmentId": string, readonly "modelSelection": Objects_114, readonly "threadId"?: string } | null;
427
+ type Objects_251 = { readonly "outcome": "passed" | "failed" | "skipped" | "not-run", readonly "at": string, readonly "by": Union_96, readonly "summary"?: string };
428
+ 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 };
429
+ 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 };
430
+ type Objects_171 = { readonly "release": number, readonly "pages": Arrays_35, readonly "itemCount": number, readonly "itemHighWater": number, readonly "requiresAck": boolean, readonly "restoredFromRelease": number | null, readonly "sourceExperience": Union_57, readonly "publishedBy": Union_56, readonly "publishedAt": string };
431
+ type Objects_189 = { readonly "workLineId": string, readonly "projectId": string, readonly "name": string, readonly "leadMemberId": string | null, readonly "memberIds": ReadonlyArray<string>, readonly "threadId": string | null, readonly "roomMemberId"?: string, readonly "version": number, readonly "createdBy": Union_56, readonly "createdAt": string, readonly "updatedAt": string, readonly "archivedAt": string | null, readonly "pause"?: { readonly "at": string, readonly "by": Union_56, readonly "reason"?: string }, readonly "memberPauses"?: ReadonlyArray<{ readonly "memberId": string, readonly "at": string, readonly "by": Union_56, readonly "reason"?: string }> };
432
+ type Objects_197 = { readonly "outcome": "passed" | "failed" | "skipped" | "not-run", readonly "at": string, readonly "by": Union_56, readonly "summary"?: string };
433
+ type Arrays_36 = ReadonlyArray<Union_59>;
434
+ type Arrays_39 = ReadonlyArray<Union_60>;
435
+ type Union_95 = { readonly "environmentId": string, readonly "modelSelection": Objects_113, readonly "threadId"?: string } | null;
436
436
  type ThreadMemberInput = ThreadMemberInputMemberRef | ThreadMemberInputPersonRef | ThreadMemberThreadRefInput;
437
- type Objects_223 = { readonly "executionSelection"?: Union_67, readonly "nativeModeId"?: string | null | undefined, readonly "branch": string | null, readonly "startFolderId"?: string | null | undefined, readonly "folderIds"?: Union_68, readonly "linkedPullRequest"?: Union_69, readonly "origin"?: Union_70, readonly "presetId"?: string | null | undefined, readonly "members"?: ThreadMembers_1, readonly "createdBy"?: Union_71, readonly "creatorPrincipal"?: ThreadCreatorPrincipal_1, readonly "latestTurn": Union_72, 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_74, readonly "titleState"?: Union_75, readonly "session": Union_76, 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_77, readonly "hasActionableProposedPlan": boolean, readonly "continuationCheck"?: ThreadContinuationCheckOrNull_1 };
438
- type Objects_247 = { readonly "nativeSessionImported"?: true, readonly "id": string, readonly "projectId": string, readonly "title": string, readonly "modelSelection": Objects_222, readonly "executionSelection"?: Union_67, 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_68, readonly "linkedPullRequest"?: Union_69, readonly "origin"?: Union_70, readonly "forkedFrom"?: Union_84, readonly "presetId"?: string | null | undefined, readonly "memberId"?: string | undefined, readonly "members"?: ThreadMembers_1, readonly "createdBy"?: Union_71, readonly "creatorPrincipal"?: ThreadCreatorPrincipal_1, readonly "latestTurn": Union_72, 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_74, readonly "titleState"?: Union_75, readonly "session": Union_76, 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_77, 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_78 };
439
- type Objects_232 = { readonly "items": ReadonlyArray<{ readonly "rewrite"?: Union_79, 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_80, readonly "recordId"?: string | undefined, readonly "modelSelection"?: Union_81, readonly "source"?: Union_82, readonly "origin"?: Union_83, readonly "createdAt": string, readonly "updatedAt": string, readonly "attachmentsTotal"?: number, readonly "textWindow"?: Objects_59 }>, readonly "nextCursor": string | null, readonly "snapshotSequence": number, readonly "total"?: number };
437
+ 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 };
438
+ 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 };
439
+ 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 };
440
440
  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;
441
441
  type Union_20 = Objects_25 | undefined;
442
442
  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 };
443
443
  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 "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 };
444
- type Objects_149 = { 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_150 | { readonly "kind": "thread", readonly "threadId": string } | { readonly "kind": "plugin", readonly "pluginId": string }, readonly "createdAt": string, readonly "updatedAt": string };
445
- type Union_62 = { readonly "environmentId": string, readonly "modelSelection": Objects_116, readonly "threadId"?: string } | null;
444
+ 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 };
445
+ type Union_63 = { readonly "environmentId": string, readonly "modelSelection": Objects_115, readonly "threadId"?: string } | null;
446
446
  type Objects_87 = { readonly "recordId": string, readonly "from": Union_33, readonly "to": Union_34, readonly "replyTo": string | null, readonly "delivery": "quiet" | "wake" | "steer", readonly "createdAt": string, readonly "stages": Objects_77, readonly "idempotencyKey"?: string | undefined, readonly "runId"?: string | undefined, readonly "toRole"?: string | undefined, readonly "attachments"?: Union_35, readonly "bodyState": "present" | "withdrawn" | "deleted" | "unavailable", readonly "projectId": string | null, readonly "sequence": number, readonly "claim": Union_37, readonly "group"?: Objects_79, readonly "mentions"?: Arrays_11, readonly "targets"?: Arrays_12, readonly "workItem"?: Objects_81, readonly "childReport"?: CommunicationChildReport, readonly "textPreview": string | null, readonly "textTruncated": boolean };
447
- type Objects_186 = { readonly "commentId": string, readonly "workItemId": string, readonly "projectId": string, readonly "sequence": number, readonly "revision": number, readonly "author": Union_55, readonly "body": string | null, readonly "bodyWindow"?: Objects_59, readonly "bodyState": "present" | "erased" | "unavailable", readonly "mentions": Arrays_39, readonly "parentId": string | null, readonly "createdAt": string, readonly "editedAt": string | null };
447
+ 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_39, readonly "parentId": string | null, readonly "createdAt": string, readonly "editedAt": string | null };
448
448
  type ThreadMembersInput = ReadonlyArray<ThreadMemberInput>;
449
449
  type ThreadMembersInput_1 = ReadonlyArray<ThreadMemberInput>;
450
- type Objects_220 = { 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_66, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "interactionMode": "default" | "plan", readonly "modelSelection": Objects_222, 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_223, readonly "runtime"?: Objects_230, readonly "machineId": string };
450
+ 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 };
451
451
  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 };
452
452
  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 };
453
453
  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 };
@@ -457,10 +457,10 @@ type Objects_61 = { readonly "threadId": string, readonly "nativeSessionImported
457
457
  type Objects_60 = { readonly "items": ReadonlyArray<Objects_61>, readonly "nextCursor": string | null, readonly "snapshotSequence": number, readonly "historyEpoch"?: string };
458
458
  type Objects_73 = { 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_73> };
459
459
  type Union_40 = { readonly "type": "identifier", readonly "name": string } | { readonly "type": "not", readonly "node": Union_40 } | { readonly "type": "and", readonly "left": Union_40, readonly "right": Union_40 } | { readonly "type": "or", readonly "left": Union_40, readonly "right": Union_40 };
460
- type Objects_206 = { 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_206> };
461
- type Objects_211 = { 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_211> };
462
- type Objects_213 = { 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_213> };
463
- type Objects_248 = { 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_248> };
460
+ 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> };
461
+ 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> };
462
+ 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> };
463
+ 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> };
464
464
  export type CommunicationWakeLoopsListInput = { readonly "threadId": string };
465
465
  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 }>;
466
466
  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 };
@@ -656,9 +656,9 @@ export type MachineSettingsKeybindingsGetOutput = { readonly "keybindings": Arra
656
656
  export type MachineSettingsUpdateInput = { readonly "patch": { readonly "settingsRevision"?: number, readonly "enableProviderUpdateChecks"?: boolean, readonly "enableAgentBrowserAccess"?: boolean, readonly "browserRetentionBudgetEnabled"?: boolean, readonly "machineBrowserDefaultViewport"?: { readonly "_tag": "fill" } | { readonly "_tag": "freeform", readonly "width": number, readonly "height": number } | { readonly "_tag": "preset", readonly "width": number, readonly "height": number, readonly "presetId": "iphone-se" | "iphone-xr" | "iphone-12-pro" | "iphone-14-pro-max" | "pixel-7" | "samsung-galaxy-s8-plus" | "samsung-galaxy-s20-ultra" | "ipad-mini" | "ipad-air" | "ipad-pro" | "surface-pro-7" | "surface-duo" | "galaxy-z-fold-5" | "asus-zenbook-fold" | "samsung-galaxy-a51-71" | "nest-hub" | "nest-hub-max" | "desktop-1920x1080" | "desktop-1440x900" | "laptop-1366x768" | "laptop-1280x800" | "ipad-pro-11" | "iphone-15-pro" | "pixel-8" | "galaxy-s24" }, 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 "agentThreadDelegationMaxDepth"?: number, readonly "enableAgentSelfDevelopment"?: boolean, readonly "machineTaskConfirmation"?: { readonly "actionIds": ReadonlyArray<string>, readonly "projectIds": ReadonlyArray<string>, readonly "remoteProjectTrust"?: ReadonlyArray<{ readonly "homeEnvironmentId": string, readonly "projectId": string }> }, readonly "backgroundActivity"?: { readonly "schemaVersion"?: 1, readonly "profile"?: "balanced" | "performance" | "battery-saver" | "custom", readonly "baseProfile"?: "balanced" | "performance" | "battery-saver", readonly "overrides"?: { readonly "automaticGitFetchInterval"?: number, readonly "providerHealthRefreshInterval"?: number, readonly "hostPowerMonitorActiveInterval"?: number, readonly "hostPowerMonitorIdleInterval"?: number, readonly "idleClientTtl"?: number, readonly "pauseWhenHostLocked"?: boolean, readonly "pauseWhenHostLowPower"?: boolean, readonly "pauseWhenClientLowPower"?: boolean, readonly "pauseWhenOnBattery"?: boolean } }, readonly "automaticGitFetchInterval"?: number, readonly "providerHealthRefreshInterval"?: number, readonly "npmRegistry"?: string, 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"?: { readonly "instanceId"?: string, readonly "model"?: string, readonly "options"?: ReadonlyArray<{ readonly "id": string, readonly "value": string | boolean }> | { readonly [x: string]: unknown } } | null, readonly "sourceControlWritingStyle"?: { readonly "mode"?: "repo_conventions" | "conventional_commits" | "custom", readonly "customInstructions"?: string, readonly "followChangeRequestTemplates"?: boolean }, readonly "sourceControlWriterModelSelection"?: { readonly "provider"?: unknown, readonly "instanceId"?: unknown, readonly "model": unknown, readonly "options"?: unknown } | null, readonly "observability"?: { readonly "otlpTracesUrl"?: string, readonly "otlpMetricsUrl"?: string, readonly "otlpLogsUrl"?: string, readonly "fullTraceUntil"?: number, readonly "fullTraceForMs"?: number }, readonly "providerInstances"?: { readonly [x: string]: { readonly "driver": string, readonly "displayName"?: string, readonly "accentColor"?: string, readonly "environment"?: ReadonlyArray<Objects_97>, readonly "proxyId"?: null | string | { readonly "required": string }, readonly "keepBackgroundServices"?: boolean, readonly "enabled"?: boolean, readonly "syncSetupRequired"?: boolean, readonly "hiddenModels"?: ReadonlyArray<string>, readonly "modelOrder"?: ReadonlyArray<string>, readonly "defaultModel"?: string, readonly "config"?: unknown, readonly "configSecretRefs"?: { readonly [x: string]: string }, readonly "configRedacted"?: boolean, readonly "configSecretFields"?: ReadonlyArray<string> } }, readonly "proxies"?: { readonly [x: string]: { readonly "displayName"?: string, readonly "protocol": "http" | "https", readonly "host": string, readonly "port": number, readonly "username"?: string, readonly "bypass"?: string, readonly "credentials"?: ReadonlyArray<Objects_97> } }, readonly "defaultProxyId"?: string | null, readonly "plugins"?: { readonly "mcpServers"?: { readonly [x: string]: { readonly "name": string, readonly "transport": { readonly "type": "stdio", readonly "command": string, readonly "args"?: ReadonlyArray<string>, readonly "env"?: { readonly [x: string]: string } } | { readonly "type": "http", readonly "url": string, readonly "headers"?: { readonly [x: string]: string } } | { readonly "type": "sse", readonly "url": string, readonly "headers"?: { readonly [x: string]: string } }, readonly "enabled"?: boolean, readonly "providers"?: Objects_98, readonly "catalogId"?: string, readonly "oauth"?: { readonly "status": "none" | "required" | "authorized" } } }, readonly "skills"?: { readonly [x: string]: { readonly "name": string, readonly "source": { readonly "kind": "inline", readonly "skillMd": string } | { readonly "kind": "builtin", readonly "id": string } | { readonly "kind": "catalog", readonly "catalogId": string, readonly "version": string }, readonly "enabled"?: boolean, readonly "modelInvocable"?: boolean, readonly "userInvocable"?: boolean, readonly "providers"?: Objects_98 } } }, readonly "requireManualPairingForNewDevices"?: boolean, readonly "tunnelForceTcp"?: boolean, readonly "wallpaper"?: { readonly "base": Objects_99, readonly "sidebar": Objects_99 | null, readonly "workspace": Objects_99 | null, readonly "chat": Objects_99 | null } } };
657
657
  export type MachineSettingsUpdateOutput = Objects_100;
658
658
  export type MachineSettingsKeybindingsUpsertInput = { readonly "key": string, readonly "command": "sidebar.toggle" | "navigation.back" | "navigation.forward" | "terminal.toggle" | "terminal.split" | "terminal.splitVertical" | "terminal.new" | "terminal.close" | "rightPanel.toggle" | "rightPanel.toggleMaximized" | "rightPanel.close" | "diff.toggle" | "browser.toggle" | "browser.refresh" | "browser.focusUrl" | "browser.zoomIn" | "browser.zoomOut" | "browser.resetZoom" | "commandPalette.toggle" | "filePicker.toggle" | "projectSearch.toggle" | "theme.select" | "appearance.cycle" | "threadSearch.focus" | "themeEditor.toggle" | "composer.stash" | "chat.new" | "chat.newLocal" | "chat.toggleTrajectory" | "team.view.previous" | "team.view.next" | "approval.approve" | "approval.decline" | "approval.cancel" | "modelPicker.toggle" | "modelPicker.jump.1" | "modelPicker.jump.2" | "modelPicker.jump.3" | "modelPicker.jump.4" | "modelPicker.jump.5" | "modelPicker.jump.6" | "modelPicker.jump.7" | "modelPicker.jump.8" | "modelPicker.jump.9" | "runtimeMode.cycle" | "runtimeMode.cycleBack" | "thread.previous" | "thread.next" | "thread.group.previous" | "thread.group.next" | "thread.copyReference" | "thread.settle" | "thread.pin" | "thread.undo" | "thread.interrupt" | "thread.jump.1" | "thread.jump.2" | "thread.jump.3" | "thread.jump.4" | "thread.jump.5" | "thread.jump.6" | "thread.jump.7" | "thread.jump.8" | "thread.jump.9" | `${"script."}${string}${".run"}`, readonly "when"?: string, readonly "replace"?: { readonly "key": string, readonly "command": "sidebar.toggle" | "navigation.back" | "navigation.forward" | "terminal.toggle" | "terminal.split" | "terminal.splitVertical" | "terminal.new" | "terminal.close" | "rightPanel.toggle" | "rightPanel.toggleMaximized" | "rightPanel.close" | "diff.toggle" | "browser.toggle" | "browser.refresh" | "browser.focusUrl" | "browser.zoomIn" | "browser.zoomOut" | "browser.resetZoom" | "commandPalette.toggle" | "filePicker.toggle" | "projectSearch.toggle" | "theme.select" | "appearance.cycle" | "threadSearch.focus" | "themeEditor.toggle" | "composer.stash" | "chat.new" | "chat.newLocal" | "chat.toggleTrajectory" | "team.view.previous" | "team.view.next" | "approval.approve" | "approval.decline" | "approval.cancel" | "modelPicker.toggle" | "modelPicker.jump.1" | "modelPicker.jump.2" | "modelPicker.jump.3" | "modelPicker.jump.4" | "modelPicker.jump.5" | "modelPicker.jump.6" | "modelPicker.jump.7" | "modelPicker.jump.8" | "modelPicker.jump.9" | "runtimeMode.cycle" | "runtimeMode.cycleBack" | "thread.previous" | "thread.next" | "thread.group.previous" | "thread.group.next" | "thread.copyReference" | "thread.settle" | "thread.pin" | "thread.undo" | "thread.interrupt" | "thread.jump.1" | "thread.jump.2" | "thread.jump.3" | "thread.jump.4" | "thread.jump.5" | "thread.jump.6" | "thread.jump.7" | "thread.jump.8" | "thread.jump.9" | `${"script."}${string}${".run"}`, readonly "when"?: string } };
659
- export type MachineSettingsKeybindingsUpsertOutput = Objects_109;
659
+ export type MachineSettingsKeybindingsUpsertOutput = { readonly "keybindings": Arrays_14, readonly "issues": Arrays_15 };
660
660
  export type MachineSettingsKeybindingsRemoveInput = { readonly "key": string, readonly "command": "sidebar.toggle" | "navigation.back" | "navigation.forward" | "terminal.toggle" | "terminal.split" | "terminal.splitVertical" | "terminal.new" | "terminal.close" | "rightPanel.toggle" | "rightPanel.toggleMaximized" | "rightPanel.close" | "diff.toggle" | "browser.toggle" | "browser.refresh" | "browser.focusUrl" | "browser.zoomIn" | "browser.zoomOut" | "browser.resetZoom" | "commandPalette.toggle" | "filePicker.toggle" | "projectSearch.toggle" | "theme.select" | "appearance.cycle" | "threadSearch.focus" | "themeEditor.toggle" | "composer.stash" | "chat.new" | "chat.newLocal" | "chat.toggleTrajectory" | "team.view.previous" | "team.view.next" | "approval.approve" | "approval.decline" | "approval.cancel" | "modelPicker.toggle" | "modelPicker.jump.1" | "modelPicker.jump.2" | "modelPicker.jump.3" | "modelPicker.jump.4" | "modelPicker.jump.5" | "modelPicker.jump.6" | "modelPicker.jump.7" | "modelPicker.jump.8" | "modelPicker.jump.9" | "runtimeMode.cycle" | "runtimeMode.cycleBack" | "thread.previous" | "thread.next" | "thread.group.previous" | "thread.group.next" | "thread.copyReference" | "thread.settle" | "thread.pin" | "thread.undo" | "thread.interrupt" | "thread.jump.1" | "thread.jump.2" | "thread.jump.3" | "thread.jump.4" | "thread.jump.5" | "thread.jump.6" | "thread.jump.7" | "thread.jump.8" | "thread.jump.9" | `${"script."}${string}${".run"}`, readonly "when"?: string };
661
- export type MachineSettingsKeybindingsRemoveOutput = Objects_109;
661
+ export type MachineSettingsKeybindingsRemoveOutput = { readonly "keybindings": Arrays_14, readonly "issues": Arrays_15 };
662
662
  export type MachineSettingsWallpaperAdoptInput = { readonly "attachmentId": string };
663
663
  export type MachineSettingsWallpaperAdoptOutput = { readonly "wallpaperId": string };
664
664
  export type MachineSettingsConnectPreferencesUpdateInput = { readonly "publishAgentActivity": boolean };
@@ -676,25 +676,25 @@ export type MachineSettingsEndpointsListOutput = { readonly "items": ReadonlyArr
676
676
  export type MachineSettingsProxiesListInput = { };
677
677
  export type MachineSettingsProxiesListOutput = ReadonlyArray<{ readonly "id": string, readonly "displayName"?: string | undefined, readonly "protocol": "http" | "https", readonly "host": string, readonly "port": number, readonly "bypass"?: string, readonly "isDefault": boolean }>;
678
678
  export type MachineSettingsSyncGetInput = { };
679
- export type MachineSettingsSyncGetOutput = Objects_110;
679
+ export type MachineSettingsSyncGetOutput = Objects_109;
680
680
  export type MachineSettingsSyncSubscribeInput = { };
681
- export type MachineSettingsSyncSubscribeOutput = { readonly "_tag": "snapshot", readonly "value": Objects_110 };
681
+ export type MachineSettingsSyncSubscribeOutput = { readonly "_tag": "snapshot", readonly "value": Objects_109 };
682
682
  export type MachineSettingsSyncExcludeInput = { readonly "instanceId": string, readonly "excluded": boolean };
683
- export type MachineSettingsSyncExcludeOutput = Objects_110;
683
+ export type MachineSettingsSyncExcludeOutput = Objects_109;
684
684
  export type MachineSettingsRuntimeHealthGetInput = { };
685
- export type MachineSettingsRuntimeHealthGetOutput = Objects_111;
685
+ export type MachineSettingsRuntimeHealthGetOutput = Objects_110;
686
686
  export type MachineSettingsRuntimeInventoryGetInput = { };
687
- export type MachineSettingsRuntimeInventoryGetOutput = Objects_113;
687
+ export type MachineSettingsRuntimeInventoryGetOutput = Objects_112;
688
688
  export type MachineSettingsLogRecentInput = { readonly "minutes"?: number, readonly "levels"?: ReadonlyArray<"WARN" | "ERROR" | "FATAL">, readonly "homeEnvironmentId"?: string, readonly "limit"?: number };
689
689
  export type MachineSettingsLogRecentOutput = { readonly "enabled": boolean, readonly "records": ReadonlyArray<MachineLogRecord>, readonly "matched": number, readonly "olderRecordsNotScanned"?: boolean, readonly "rotatedDuringScan"?: boolean, readonly "unreadableFiles"?: number };
690
690
  export type MachineSettingsProxiesTestInput = { readonly "config": { readonly "displayName"?: string, readonly "protocol": "http" | "https", readonly "host": string, readonly "port": number, readonly "username"?: string, readonly "bypass"?: string, readonly "credentials"?: ReadonlyArray<{ readonly "name": string, readonly "value": string, readonly "sensitive": boolean, readonly "valueRedacted"?: boolean }> }, readonly "proxyId"?: string };
691
691
  export type MachineSettingsProxiesTestOutput = { readonly "latencyMs": number, readonly "statusCode": number | null };
692
692
  export type MachineSettingsRuntimeControlInput = { readonly "type": "inspect" } | { readonly "type": "repair", readonly "revision": string, readonly "policy": "when-idle" | "now" } | { readonly "type": "cancel", readonly "operationId": string };
693
- export type MachineSettingsRuntimeControlOutput = { readonly "health": Objects_111, readonly "refusal": "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 };
693
+ export type MachineSettingsRuntimeControlOutput = { readonly "health": Objects_110, readonly "refusal": "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 };
694
694
  export type MachineSettingsRuntimeVersionsRemoveInput = { readonly "version": string };
695
- export type MachineSettingsRuntimeVersionsRemoveOutput = { readonly "outcome": "removed" | "refused-current" | "refused-in-use" | "not-found" | "invalid-name" | "failed", readonly "message"?: string, readonly "refusal"?: "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" | undefined, readonly "inspection": Objects_113 };
695
+ export type MachineSettingsRuntimeVersionsRemoveOutput = { readonly "outcome": "removed" | "refused-current" | "refused-in-use" | "not-found" | "invalid-name" | "failed", readonly "message"?: string, readonly "refusal"?: "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" | undefined, readonly "inspection": Objects_112 };
696
696
  export type MachineSettingsRuntimeBackupsRemoveInput = { readonly "id": string };
697
- export type MachineSettingsRuntimeBackupsRemoveOutput = { readonly "outcome": "removed" | "refused-in-use" | "not-found" | "invalid-name" | "failed", readonly "message"?: string, readonly "refusal"?: "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" | undefined, readonly "inspection": Objects_113 };
697
+ export type MachineSettingsRuntimeBackupsRemoveOutput = { readonly "outcome": "removed" | "refused-in-use" | "not-found" | "invalid-name" | "failed", readonly "message"?: string, readonly "refusal"?: "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" | undefined, readonly "inspection": Objects_112 };
698
698
  export type MachineSettingsRuntimeUpgradeInput = { readonly "targetVersion": string };
699
699
  export type MachineSettingsRuntimeUpgradeOutput = { readonly "targetVersion": string, readonly "method": "boot-service" | "respawn", readonly "updateId"?: string };
700
700
  export type ProvidersNativeSessionsScanInput = { readonly "projectId": string, readonly "directory"?: string };
@@ -705,8 +705,8 @@ export type ProvidersNativeSessionsSyncInput = { readonly "threadId": string };
705
705
  export type ProvidersNativeSessionsSyncOutput = { readonly "status": "not-imported" | "unchanged" | "synced" | "skipped-active" | "failed", readonly "appended": number };
706
706
  export type ProvidersInstancesListInput = { };
707
707
  export type ProvidersInstancesListOutput = ReadonlyArray<{ readonly "instanceId": string, readonly "driver": string, readonly "displayName": string | null, readonly "enabled": boolean, readonly "homePath": string | null, readonly "transcriptDir": string | null, readonly "configDirPath": string | null, readonly "environmentKeys": ReadonlyArray<string>, readonly "driverConfig": { readonly [x: string]: unknown }, readonly "launchArgs": string, readonly "keepBackgroundServices"?: boolean, readonly "apiEndpoint": string | null, readonly "models"?: ReadonlyArray<{ readonly "slug": string, readonly "name": string, readonly "isDefault": boolean }> }>;
708
- export type ProvidersSelectionResolveInput = { readonly "base": Objects_114 | null, readonly "instanceId"?: string, readonly "model"?: string, readonly "options"?: Arrays_22 | Objects_115, readonly "purpose"?: "create" | "dispatch-existing" };
709
- export type ProvidersSelectionResolveOutput = { readonly "modelSelection": Objects_116, 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 }> };
708
+ export type ProvidersSelectionResolveInput = { readonly "base": Objects_113 | null, readonly "instanceId"?: string, readonly "model"?: string, readonly "options"?: Arrays_22 | Objects_114, readonly "purpose"?: "create" | "dispatch-existing" };
709
+ export type ProvidersSelectionResolveOutput = { readonly "modelSelection": Objects_115, 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 }> };
710
710
  export type ProvidersSessionsListInput = { readonly "threadId"?: string, readonly "limit"?: number, readonly "cursor"?: string };
711
711
  export type ProvidersSessionsListOutput = { readonly "sessions": ReadonlyArray<{ readonly "threadId": string, readonly "driver": string, readonly "instanceId": string, readonly "resumeCursor": unknown | null, readonly "status": "starting" | "running" | "stopped" | "error" | null, readonly "lastSeenAt": string }>, readonly "nextCursor": string | null };
712
712
  export type ProvidersSessionsSetResumeCursorInput = { readonly "instanceId": string, readonly "threadId": string, readonly "cursor": unknown };
@@ -716,7 +716,7 @@ export type ProvidersExecutorsListOutput = { readonly "entries": ReadonlyArray<{
716
716
  export type ProvidersWorkspaceInventoryGetInput = { readonly "instanceId": string, readonly "cwd": string, readonly "threadId"?: string, readonly "refresh"?: boolean };
717
717
  export type ProvidersWorkspaceInventoryGetOutput = { readonly "instanceId": string, readonly "cwd": string, readonly "slashCommands": ReadonlyArray<Objects_94>, readonly "skills": ReadonlyArray<Objects_95>, readonly "source": "workspace" | "machine", readonly "sessionReported"?: boolean, readonly "checkedAt": string };
718
718
  export type ProvidersListInput = { };
719
- export type ProvidersListOutput = Objects_117;
719
+ export type ProvidersListOutput = Objects_116;
720
720
  export type ProvidersModelsListInput = { readonly "instanceId": string, readonly "includeHidden"?: boolean };
721
721
  export type ProvidersModelsListOutput = { readonly "models": ReadonlyArray<{ readonly "slug": string, readonly "name": string, readonly "hidden"?: boolean, readonly "options": ReadonlyArray<{ readonly "id": string, readonly "values": ReadonlyArray<string> }> }> };
722
722
  export type ProvidersInstancesDiagnoseInput = { readonly "instanceId": string };
@@ -726,29 +726,29 @@ export type ProvidersBinariesDetectOutput = { readonly "path": string | null };
726
726
  export type ProvidersAccountsProbeInput = { readonly "driver": string, readonly "accountPaths": ReadonlyArray<string> };
727
727
  export type ProvidersAccountsProbeOutput = { readonly "probes": ReadonlyArray<{ readonly "accountPath": string, readonly "directoryExists": boolean, readonly "state": "signed-in" | "expired" | "signed-out" | "unreadable" | "unsupported", readonly "email"?: string | undefined, readonly "name"?: string | undefined, readonly "expiresAt"?: string | undefined, readonly "authType"?: "chatgpt" | "apiKey" | undefined }> };
728
728
  export type ProvidersInstancesRefreshInput = { readonly "instanceId"?: string, readonly "refreshModelCatalog"?: boolean };
729
- export type ProvidersInstancesRefreshOutput = Objects_117;
730
- export type ProvidersInstancesInstallInput = Objects_118;
731
- export type ProvidersInstancesInstallOutput = Objects_119;
732
- export type ProvidersInstancesUpdateInput = Objects_118;
733
- export type ProvidersInstancesUpdateOutput = Objects_119;
734
- export type ProvidersInstancesSignInInput = Objects_118;
735
- export type ProvidersInstancesSignInOutput = Objects_119;
736
- export type ProvidersInstancesCancelMaintenanceInput = Objects_118;
737
- export type ProvidersInstancesCancelMaintenanceOutput = Objects_119;
738
- export type PluginsSignInStartInput = Objects_120;
729
+ export type ProvidersInstancesRefreshOutput = Objects_116;
730
+ export type ProvidersInstancesInstallInput = Objects_117;
731
+ export type ProvidersInstancesInstallOutput = Objects_118;
732
+ export type ProvidersInstancesUpdateInput = Objects_117;
733
+ export type ProvidersInstancesUpdateOutput = Objects_118;
734
+ export type ProvidersInstancesSignInInput = Objects_117;
735
+ export type ProvidersInstancesSignInOutput = Objects_118;
736
+ export type ProvidersInstancesCancelMaintenanceInput = Objects_117;
737
+ export type ProvidersInstancesCancelMaintenanceOutput = Objects_118;
738
+ export type PluginsSignInStartInput = Objects_119;
739
739
  export type PluginsSignInStartOutput = { readonly "attemptId": string, readonly "expiresAt": string, readonly "kind": "device", readonly "userCode": string, readonly "verificationUrl": string } | { readonly "attemptId": string, readonly "expiresAt": string, readonly "kind": "browser", readonly "authorizationUrl": string };
740
740
  export type PluginsSignInCompleteInput = { readonly "attemptId": string, readonly "url": string };
741
741
  export type PluginsSignInCompleteOutput = void;
742
742
  export type PluginsSignInCancelInput = { readonly "attemptId": string };
743
743
  export type PluginsSignInCancelOutput = void;
744
- export type PluginsSignInSignOutInput = Objects_120;
744
+ export type PluginsSignInSignOutInput = Objects_119;
745
745
  export type PluginsSignInSignOutOutput = void;
746
746
  export type ProjectsConfigGetInput = { readonly "projectId": string, readonly "refresh"?: boolean };
747
- export type ProjectsConfigGetOutput = { readonly "actions"?: ReadonlyArray<Objects_65>, readonly "tasks"?: { readonly [x: string]: { readonly "command": string, readonly "args"?: Arrays_3, readonly "cwd"?: string, readonly "description"?: string, readonly "timeoutSeconds"?: number, readonly "variants"?: { readonly [x: string]: Arrays_23 } } }, readonly "mcpServers"?: { readonly [x: string]: { readonly "name": string, readonly "transport": { readonly "type": "stdio", readonly "command": string, readonly "args"?: Union_45, readonly "envNames": Arrays_25 } | { readonly "type": "http", readonly "url": string, readonly "headerNames": Arrays_26 } | { readonly "type": "sse", readonly "url": string, readonly "headerNames": Arrays_27 }, readonly "enabled": boolean, readonly "providers": Objects_103, readonly "catalogId"?: string | undefined, readonly "oauth"?: Union_42, readonly "addedBy"?: Union_43, readonly "missingSecrets"?: Arrays_28 } }, readonly "skills"?: { readonly [x: string]: { readonly "name": string, readonly "source": Objects_121 | Objects_105 | Objects_106, readonly "enabled"?: boolean | undefined, readonly "modelInvocable": boolean, readonly "userInvocable": boolean, readonly "providers": Objects_107 } }, readonly "projectId": string, readonly "revision": number, readonly "source": "home" | "copy", readonly "homeEnvironmentId"?: string, readonly "syncedAt"?: string, readonly "homeOutdated"?: true };
748
- export type ProjectsConfigUpdateInput = { readonly "actions"?: ReadonlyArray<{ readonly "id": string, readonly "name": string, readonly "command": string, readonly "icon": "play" | "test" | "lint" | "configure" | "build" | "debug", readonly "runOnWorktreeCreate": boolean, readonly "browserUrl"?: string, readonly "autoOpenBrowser"?: boolean }>, readonly "tasks"?: Objects_122, readonly "mcpServers"?: { readonly [x: string]: { readonly "name": string, readonly "transport": { readonly "type": "stdio", readonly "command": string, readonly "args"?: Arrays_24, readonly "env"?: Objects_123 } | { readonly "type": "http", readonly "url": string, readonly "headers"?: Objects_123 } | { readonly "type": "sse", readonly "url": string, readonly "headers"?: Objects_123 }, readonly "enabled"?: boolean, readonly "providers"?: Objects_124, readonly "catalogId"?: string } }, readonly "skills"?: { readonly [x: string]: { readonly "name": string, readonly "source": Union_46, readonly "enabled"?: boolean, readonly "modelInvocable"?: boolean, readonly "userInvocable"?: boolean, readonly "providers"?: Objects_124 } }, readonly "projectId": string, readonly "revision": number };
747
+ export type ProjectsConfigGetOutput = { readonly "actions"?: ReadonlyArray<Objects_65>, readonly "tasks"?: { readonly [x: string]: { readonly "command": string, readonly "args"?: Arrays_3, readonly "cwd"?: string, readonly "description"?: string, readonly "timeoutSeconds"?: number, readonly "variants"?: { readonly [x: string]: Arrays_23 } } }, readonly "mcpServers"?: { readonly [x: string]: { readonly "name": string, readonly "transport": { readonly "type": "stdio", readonly "command": string, readonly "args"?: Union_45, readonly "envNames": Arrays_25 } | { readonly "type": "http", readonly "url": string, readonly "headerNames": Arrays_26 } | { readonly "type": "sse", readonly "url": string, readonly "headerNames": Arrays_27 }, readonly "enabled": boolean, readonly "providers": Objects_103, readonly "catalogId"?: string | undefined, readonly "oauth"?: Union_42, readonly "addedBy"?: Union_43, readonly "missingSecrets"?: Arrays_28 } }, readonly "skills"?: { readonly [x: string]: { readonly "name": string, readonly "source": Objects_120 | Objects_105 | Objects_106, readonly "enabled"?: boolean | undefined, readonly "modelInvocable": boolean, readonly "userInvocable": boolean, readonly "providers": Objects_107 } }, readonly "projectId": string, readonly "revision": number, readonly "source": "home" | "copy", readonly "homeEnvironmentId"?: string, readonly "syncedAt"?: string, readonly "homeOutdated"?: true };
748
+ export type ProjectsConfigUpdateInput = { readonly "actions"?: ReadonlyArray<{ readonly "id": string, readonly "name": string, readonly "command": string, readonly "icon": "play" | "test" | "lint" | "configure" | "build" | "debug", readonly "runOnWorktreeCreate": boolean, readonly "browserUrl"?: string, readonly "autoOpenBrowser"?: boolean }>, readonly "tasks"?: Objects_121, readonly "mcpServers"?: { readonly [x: string]: { readonly "name": string, readonly "transport": { readonly "type": "stdio", readonly "command": string, readonly "args"?: Arrays_24, readonly "env"?: Objects_122 } | { readonly "type": "http", readonly "url": string, readonly "headers"?: Objects_122 } | { readonly "type": "sse", readonly "url": string, readonly "headers"?: Objects_122 }, readonly "enabled"?: boolean, readonly "providers"?: Objects_123, readonly "catalogId"?: string } }, readonly "skills"?: { readonly [x: string]: { readonly "name": string, readonly "source": Union_46, readonly "enabled"?: boolean, readonly "modelInvocable"?: boolean, readonly "userInvocable"?: boolean, readonly "providers"?: Objects_123 } }, readonly "projectId": string, readonly "revision": number };
749
749
  export type ProjectsConfigUpdateOutput = { readonly "revision": number };
750
750
  export type PluginsInstalledListInput = { readonly "includeRuntimeStats"?: boolean, readonly "entryId"?: string, readonly "limit"?: number, readonly "cursor"?: string };
751
- export type PluginsInstalledListOutput = { 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_127> }> | 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 "proxyIds"?: Union_49, readonly "state": "loaded" | "failed" | "stopped" | "disabled", readonly "contributions": Arrays_30, readonly "failure": { readonly "phase": string, readonly "message": string, readonly "kind"?: string | undefined } | null, readonly "threadId": string | null, readonly "runtimeStats"?: Union_50, readonly "removable"?: boolean | undefined, readonly "permissions"?: ReadonlyArray<Objects_128 | { readonly "kind": "fs.read", readonly "paths": ReadonlyArray<string> } | Objects_129 | Objects_130 | Objects_131 | Objects_132 | Objects_133 | { readonly "kind": "process.spawn", readonly "programs": ReadonlyArray<string | { readonly "key": string, readonly "program": string, readonly "displayName"?: string | undefined }>, readonly "maxConcurrent"?: number } | Objects_134 | Objects_135 | { readonly "kind": "network.serve", readonly "services": ReadonlyArray<{ readonly "name": string, readonly "routes": ReadonlyArray<Objects_127> }> } | Objects_136 | Objects_137 | Objects_138 | Objects_139 | Objects_140 | Objects_141 | Objects_142 | Objects_143 | { readonly "kind": "ui.seats", readonly "seats": ReadonlyArray<"conversation.view" | "conversation.chat.turnTail" | "conversation.session.header.actions" | "settings.section" | "machine.overview.section" | "sidebar.machine.actions" | "conversation.hero.agentPreset" | "conversation.input.dock" | "project.workbench.tab" | "sidebar.project.actions" | "team.view"> } | { readonly "kind": "commands.dispatch", readonly "commands": ReadonlyArray<string> } | { readonly "kind": "unknown", readonly "reportedKind": 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_51 }> | 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_31, readonly "titleKey": string, readonly "icon"?: string | undefined, readonly "order"?: number | undefined }> | undefined, readonly "development"?: { readonly "command": string, readonly "args": Arrays_32, readonly "watch": ReadonlyArray<string> } | undefined } | undefined, readonly "executors"?: ReadonlyArray<unknown> | undefined }>, readonly "nextCursor"?: string | null };
751
+ export type PluginsInstalledListOutput = { 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_126> }> | 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_30, 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_126> }> } | Objects_135 | Objects_136 | Objects_137 | Objects_138 | Objects_139 | Objects_140 | Objects_141 | Objects_142 | { readonly "kind": "ui.seats", readonly "seats": ReadonlyArray<"conversation.view" | "conversation.chat.turnTail" | "conversation.session.header.actions" | "settings.section" | "machine.overview.section" | "sidebar.machine.actions" | "conversation.hero.agentPreset" | "conversation.input.dock" | "project.workbench.tab" | "sidebar.project.actions" | "team.view"> } | { readonly "kind": "commands.dispatch", readonly "commands": ReadonlyArray<string> } | { readonly "kind": "unknown", readonly "reportedKind": 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_31, readonly "titleKey": string, readonly "icon"?: string | undefined, readonly "order"?: number | undefined }> | undefined, readonly "development"?: { readonly "command": string, readonly "args": Arrays_32, readonly "watch": ReadonlyArray<string> } | undefined } | undefined, readonly "executors"?: ReadonlyArray<unknown> | undefined }>, readonly "nextCursor"?: string | null };
752
752
  export type PluginsInstalledSetEnabledInput = { readonly "entryId": string, readonly "enabled": boolean, readonly "revision": string, readonly "force"?: boolean };
753
753
  export type PluginsInstalledSetEnabledOutput = { readonly "revision": string };
754
754
  export type PluginsSessionProjectionsGetInput = { readonly "pluginId": string, readonly "name": string, readonly "threadId": string };
@@ -757,12 +757,12 @@ export type PluginsSessionProjectionsSetInput = { readonly "name": string, reado
757
757
  export type PluginsSessionProjectionsSetOutput = { };
758
758
  export type PluginsNotificationsListInput = { };
759
759
  export type PluginsNotificationsListOutput = { readonly "notifications": ReadonlyArray<{ readonly "id": string, readonly "createdAt": string, readonly "read": boolean, readonly "kind": "task-succeeded", readonly "taskKind": "install" | "update" | "uninstall", readonly "subject": string, readonly "pluginId"?: string | undefined, readonly "fallbackName"?: string | undefined, readonly "dataKeptFor"?: string, readonly "purged"?: boolean } | { readonly "id": string, readonly "createdAt": string, readonly "read": boolean, readonly "kind": "task-failed", readonly "taskKind": "install" | "update" | "uninstall", readonly "subject": string, readonly "pluginId"?: string | undefined, readonly "fallbackName"?: string | undefined, readonly "failure": { readonly "kind": "npmTooOld" | "npmMissing" | "gitMissing" | "fileLocked" | "accessDenied" | "fsUnavailable" | "network" | "registryAuth" | "packageNotFound" | "buildScript" | "activation" | "missingDisplayName" | "unsupportedProcessProgram" | "plugin", readonly "summary": string } } | { readonly "id": string, readonly "createdAt": string, readonly "read": boolean, readonly "kind": "sign-in-expired", readonly "entryId": string, readonly "pluginId": string, readonly "name": string, readonly "label"?: string, readonly "labelKey"?: string }> };
760
- export type PluginsNotificationsMarkReadInput = Objects_144;
760
+ export type PluginsNotificationsMarkReadInput = Objects_143;
761
761
  export type PluginsNotificationsMarkReadOutput = { };
762
- export type PluginsNotificationsClearInput = Objects_144;
762
+ export type PluginsNotificationsClearInput = Objects_143;
763
763
  export type PluginsNotificationsClearOutput = { };
764
764
  export type PluginsSettingsCardsListInput = { };
765
- export type PluginsSettingsCardsListOutput = { readonly "cards": ReadonlyArray<{ readonly "entryId": string, readonly "revision"?: string | undefined, readonly "title"?: string | undefined, readonly "titleKey"?: string | undefined, readonly "description"?: string | undefined, readonly "descriptionKey"?: string | undefined, readonly "presentation"?: "hidden" | undefined, readonly "fields": ReadonlyArray<{ readonly "key": string, readonly "label"?: string | undefined, readonly "labelKey"?: string | undefined, readonly "description"?: string | undefined, readonly "descriptionKey"?: string | undefined, readonly "placeholder"?: string | undefined, readonly "placeholderKey"?: string | undefined, readonly "required"?: boolean | undefined, readonly "options"?: Union_52, readonly "showWhen"?: Union_53, readonly "kind": "text" | "password" | "number" | "boolean" | "select" | "proxy" | "table", readonly "columns"?: ReadonlyArray<{ readonly "key": string, readonly "label"?: string | undefined, readonly "labelKey"?: string | undefined, readonly "description"?: string | undefined, readonly "descriptionKey"?: string | undefined, readonly "placeholder"?: string | undefined, readonly "placeholderKey"?: string | undefined, readonly "required"?: boolean | undefined, readonly "options"?: Union_52, readonly "showWhen"?: Union_53, readonly "kind": "text" | "password" | "number" | "boolean" | "select" | "proxy" }> | undefined, readonly "rowIds"?: "client" | "plugin" | undefined, readonly "rowActions"?: ReadonlyArray<{ readonly "id": string, readonly "labelKey": string, readonly "descriptionKey"?: string | undefined, readonly "badgeKey"?: string | undefined, readonly "warningKey"?: string | undefined, readonly "command": string, readonly "showWhen"?: Objects_145 | undefined, readonly "fills": ReadonlyArray<string> }> | undefined }>, readonly "actions"?: ReadonlyArray<{ readonly "id": string, readonly "labelKey": string, readonly "descriptionKey"?: string | undefined, readonly "badgeKey"?: string | undefined, readonly "warningKey"?: string | undefined, readonly "command": string }> | undefined, readonly "effectiveCommand"?: string | undefined, readonly "values": Objects_146, readonly "secretFields"?: ReadonlyArray<string> | undefined, readonly "secretCells"?: ReadonlyArray<{ readonly "field": string, readonly "row": string, readonly "column": string }> | undefined }> };
765
+ export type PluginsSettingsCardsListOutput = { readonly "cards": ReadonlyArray<{ readonly "entryId": string, readonly "revision"?: string | undefined, readonly "title"?: string | undefined, readonly "titleKey"?: string | undefined, readonly "description"?: string | undefined, readonly "descriptionKey"?: string | undefined, readonly "presentation"?: "hidden" | undefined, readonly "fields": ReadonlyArray<{ readonly "key": string, readonly "label"?: string | undefined, readonly "labelKey"?: string | undefined, readonly "description"?: string | undefined, readonly "descriptionKey"?: string | undefined, readonly "placeholder"?: string | undefined, readonly "placeholderKey"?: string | undefined, readonly "required"?: boolean | undefined, readonly "options"?: Union_53, readonly "showWhen"?: Union_54, readonly "kind": "text" | "password" | "number" | "boolean" | "select" | "proxy" | "table", readonly "columns"?: ReadonlyArray<{ readonly "key": string, readonly "label"?: string | undefined, readonly "labelKey"?: string | undefined, readonly "description"?: string | undefined, readonly "descriptionKey"?: string | undefined, readonly "placeholder"?: string | undefined, readonly "placeholderKey"?: string | undefined, readonly "required"?: boolean | undefined, readonly "options"?: Union_53, readonly "showWhen"?: Union_54, readonly "kind": "text" | "password" | "number" | "boolean" | "select" | "proxy" }> | undefined, readonly "rowIds"?: "client" | "plugin" | undefined, readonly "rowActions"?: ReadonlyArray<{ readonly "id": string, readonly "labelKey": string, readonly "descriptionKey"?: string | undefined, readonly "badgeKey"?: string | undefined, readonly "warningKey"?: string | undefined, readonly "command": string, readonly "showWhen"?: Objects_144 | undefined, readonly "fills": ReadonlyArray<string> }> | undefined }>, readonly "actions"?: ReadonlyArray<{ readonly "id": string, readonly "labelKey": string, readonly "descriptionKey"?: string | undefined, readonly "badgeKey"?: string | undefined, readonly "warningKey"?: string | undefined, readonly "command": string }> | undefined, readonly "effectiveCommand"?: string | undefined, readonly "values": Objects_145, readonly "secretFields"?: ReadonlyArray<string> | undefined, readonly "secretCells"?: ReadonlyArray<{ readonly "field": string, readonly "row": string, readonly "column": string }> | undefined }> };
766
766
  export type PluginsSkillsListInput = { };
767
767
  export type PluginsSkillsListOutput = { readonly "skills": ReadonlyArray<{ readonly "name": string, readonly "source": { readonly "kind": "builtin" } | { readonly "kind": "plugin", readonly "entryId": string }, readonly "description"?: string, readonly "summary"?: { readonly [x: string]: string } }> };
768
768
  export type PluginsSkillDirectorySearchInput = { readonly "query": string, readonly "limit"?: number };
@@ -771,274 +771,274 @@ export type PluginsSkillDirectoryGetInput = { readonly "repository": string, rea
771
771
  export type PluginsSkillDirectoryGetOutput = { readonly "repository": string, readonly "path": string, readonly "skillMd": string, readonly "skillMdWindow"?: Objects_59, readonly "extraFiles": number, readonly "name": string };
772
772
  export type PluginsSkillDirectoryInstallInput = { readonly "repository": string, readonly "skillId": string, readonly "name"?: string };
773
773
  export type PluginsSkillDirectoryInstallOutput = { readonly "name": string, readonly "path": string, readonly "extraFiles": number };
774
- export type PluginsSettingsCardsUpdateValuesInput = { readonly "entryId": string, readonly "values": Objects_146, readonly "revision": string };
774
+ export type PluginsSettingsCardsUpdateValuesInput = { readonly "entryId": string, readonly "values": Objects_145, readonly "revision": string };
775
775
  export type PluginsSettingsCardsUpdateValuesOutput = { readonly "revision": string };
776
776
  export type UsageQuotaGetInput = { readonly "instanceIds"?: ReadonlyArray<string>, readonly "refresh": boolean };
777
- export type UsageQuotaGetOutput = { readonly "contractVersion": number, readonly "hostId": string, readonly "instances": ReadonlyArray<Objects_147> };
777
+ export type UsageQuotaGetOutput = { readonly "contractVersion": number, readonly "hostId": string, readonly "instances": ReadonlyArray<Objects_146> };
778
778
  export type UsageTokensGetInput = { readonly "sinceDay": string, readonly "untilDay": string, readonly "timeZone": string, readonly "resolution"?: "day" | "hour", readonly "sinceTime"?: string, readonly "untilTime"?: string };
779
779
  export type UsageTokensGetOutput = { readonly "contractVersion": number, readonly "readAt": string, readonly "timeZone": string, readonly "sinceDay": string, readonly "untilDay": string, readonly "buckets": ReadonlyArray<{ readonly "day": string, readonly "hourStart"?: string | undefined, readonly "provider": "claude" | "codex" | "grok" | "opencode" | "dsh" | "kimi" | "pi" | "antigravity" | "zcode" | "acp", readonly "model": string, readonly "totals": { readonly "uncachedInputTokens": number, readonly "cachedInputTokens": number, readonly "cacheCreationTokens": number, readonly "outputTokens": number, readonly "reasoningTokens": number }, readonly "costUsd": number, readonly "cacheSavingsUsd": number, readonly "costSource": "providerReported" | "modelPriced" | "unpriced", readonly "records": number, readonly "unpricedRecords": number, readonly "sessions": number }>, readonly "sources": ReadonlyArray<{ readonly "fingerprint": { readonly "hostId": string, readonly "provider": "claude" | "codex" | "grok" | "opencode" | "dsh" | "kimi" | "pi" | "antigravity" | "zcode" | "acp", readonly "resolvedHomePath": string, readonly "volumeId": string }, readonly "instanceId"?: string, readonly "kind"?: "transcript" | "orchestration", readonly "status": "ok" | "missing" | "partial" | "failed", readonly "scannedFiles": number, readonly "skippedFiles": number, readonly "malformedRecords": number, readonly "distinctSessions": number, readonly "message": string | null }>, readonly "pricing": { readonly "status": "fresh" | "cached" | "unavailable", readonly "source": string, readonly "fetchedAt": string | null, readonly "knownModels": number }, readonly "scanDurationMs": number };
780
780
  export type UsageTimeGetInput = { readonly "since": string, readonly "until": string };
781
781
  export type UsageTimeGetOutput = { readonly "readAt": string, readonly "agentRunningMs": number, readonly "waitingForYouMs": number, readonly "approvalWaitMs": number, readonly "userInputWaitMs": number, readonly "projects": ReadonlyArray<{ readonly "projectId": string, readonly "title": string, readonly "agentRunningMs": number, readonly "waitingForYouMs": number, readonly "approvalWaitMs": number, readonly "userInputWaitMs": number }> };
782
782
  export type UsageQuotaRedeemResetInput = { readonly "instanceId": string, readonly "requestId"?: string };
783
- export type UsageQuotaRedeemResetOutput = { readonly "outcome": "reset" | "nothingToReset" | "noCredit" | "alreadyRedeemed", readonly "instance": Objects_147 };
783
+ export type UsageQuotaRedeemResetOutput = { readonly "outcome": "reset" | "nothingToReset" | "noCredit" | "alreadyRedeemed", readonly "instance": Objects_146 };
784
784
  export type WakesScheduleInput = { readonly "threadId"?: string, readonly "delaySeconds"?: number, readonly "dueAt"?: string, readonly "note": string, readonly "afterServerUpgrade"?: boolean, readonly "repeat"?: { readonly "cron": string, readonly "timeZone": string }, readonly "requestId"?: string };
785
- export type WakesScheduleOutput = { readonly "wake": Objects_148 };
785
+ export type WakesScheduleOutput = { readonly "wake": Objects_147 };
786
786
  export type WakesCancelInput = { readonly "wakeId": string, readonly "requestId"?: string };
787
- export type WakesCancelOutput = { readonly "wake": Objects_148 };
787
+ export type WakesCancelOutput = { readonly "wake": Objects_147 };
788
788
  export type WakesListInput = { readonly "threadId"?: string, readonly "state"?: "scheduled" | "fired" | "cancelled" };
789
- export type WakesListOutput = { readonly "wakes": ReadonlyArray<Objects_148> };
789
+ export type WakesListOutput = { readonly "wakes": ReadonlyArray<Objects_147> };
790
790
  export type SchedulesListInput = { readonly "projectId": string };
791
- export type SchedulesListOutput = { readonly "schedules": ReadonlyArray<Objects_149> };
791
+ export type SchedulesListOutput = { readonly "schedules": ReadonlyArray<Objects_148> };
792
792
  export type SchedulesRunsListInput = { readonly "scheduleId": string, readonly "limit"?: number };
793
793
  export type SchedulesRunsListOutput = { readonly "runs": ReadonlyArray<{ readonly "runId": string, readonly "scheduleId": string, readonly "projectId": string, readonly "scheduledFor": string, readonly "outcome": "started" | "skipped" | "failed", readonly "threadId": string | null, readonly "detail": string | null, readonly "at": string, readonly "threadStatus": "needs-approval" | "needs-input" | "plan-ready" | "running" | "failed" | "background" | "stopped" | "idle" | null }> };
794
- export type SchedulesSaveInput = { readonly "scheduleId"?: string, readonly "projectId": string, readonly "name": string, readonly "prompt": string, readonly "repeat": Objects_151, readonly "modelSelection"?: { readonly "instanceId": string, readonly "model": string, readonly "options"?: Union_44 }, readonly "runtimeMode"?: "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "workspace"?: "project" | "worktree", readonly "presetId"?: string, readonly "enabled"?: boolean, readonly "requestId"?: string };
795
- export type SchedulesSaveOutput = { readonly "schedule": Objects_149 };
794
+ export type SchedulesSaveInput = { readonly "scheduleId"?: string, readonly "projectId": string, readonly "name": string, readonly "prompt": string, readonly "repeat": Objects_150, readonly "modelSelection"?: { readonly "instanceId": string, readonly "model": string, readonly "options"?: Union_44 }, readonly "runtimeMode"?: "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "workspace"?: "project" | "worktree", readonly "presetId"?: string, readonly "enabled"?: boolean, readonly "requestId"?: string };
795
+ export type SchedulesSaveOutput = { readonly "schedule": Objects_148 };
796
796
  export type SchedulesDeleteInput = { readonly "scheduleId": string, readonly "requestId"?: string };
797
797
  export type SchedulesDeleteOutput = { readonly "scheduleId": string };
798
798
  export type SkillsListInput = { readonly "threadId"?: string };
799
- export type SkillsListOutput = { readonly "skills": ReadonlyArray<{ readonly "name": string, readonly "description"?: string, readonly "origin"?: Objects_152 | Objects_153 | Objects_154 | Objects_155 | Objects_156 }>, readonly "shadowed"?: ReadonlyArray<{ readonly "name": string, readonly "origin": Objects_152 | Objects_153 | Objects_154 | Objects_155 | Objects_156, readonly "by": "wiki" | "repo" | "settings" | "builtin" | "plugin" }>, readonly "repoReadByCli"?: true };
799
+ export type SkillsListOutput = { readonly "skills": ReadonlyArray<{ readonly "name": string, readonly "description"?: string, readonly "origin"?: Objects_151 | Objects_152 | Objects_153 | Objects_154 | Objects_155 }>, readonly "shadowed"?: ReadonlyArray<{ readonly "name": string, readonly "origin": Objects_151 | Objects_152 | Objects_153 | Objects_154 | Objects_155, readonly "by": "wiki" | "repo" | "settings" | "builtin" | "plugin" }>, readonly "repoReadByCli"?: true };
800
800
  export type SkillsReadInput = { readonly "threadId"?: string, readonly "name": string, readonly "textOffset"?: number, readonly "textLimit"?: number };
801
801
  export type SkillsReadOutput = { readonly "name": string, readonly "directory": string, readonly "content": string, readonly "contentWindow"?: Objects_59 };
802
802
  export type MemoryExperiencesListInput = { readonly "projectId": string, readonly "status"?: "active" | "forgotten" | "erased", readonly "order"?: "created" | "leastRecentlyUsed", readonly "cursor"?: string, readonly "limit"?: number };
803
- export type MemoryExperiencesListOutput = { readonly "items": ReadonlyArray<{ readonly "experienceId": string, readonly "status": "active" | "forgotten" | "erased", readonly "author": Union_55, readonly "sourceThreadId": string | null, readonly "sourceTurnId": string | null, readonly "currentRevision": number, readonly "createdAt": string, readonly "updatedAt": string, readonly "supersedes": Arrays_33, readonly "supersededBy"?: Arrays_34, readonly "bodyState": "present" | "erased" | "unavailable", readonly "usage"?: Objects_164, readonly "title"?: string, readonly "applicability"?: string, readonly "excerpt": string | null }>, readonly "nextCursor": string | null };
803
+ export type MemoryExperiencesListOutput = { readonly "items": ReadonlyArray<{ readonly "experienceId": string, readonly "status": "active" | "forgotten" | "erased", readonly "author": Union_56, readonly "sourceThreadId": string | null, readonly "sourceTurnId": string | null, readonly "currentRevision": number, readonly "createdAt": string, readonly "updatedAt": string, readonly "supersedes": Arrays_33, readonly "supersededBy"?: Arrays_34, readonly "bodyState": "present" | "erased" | "unavailable", readonly "usage"?: Objects_163, readonly "title"?: string, readonly "applicability"?: string, readonly "excerpt": string | null }>, readonly "nextCursor": string | null };
804
804
  export type MemoryExperiencesGetInput = { readonly "projectId": string, readonly "experienceId": string, readonly "textOffset"?: number, readonly "textLimit"?: number };
805
- export type MemoryExperiencesGetOutput = { readonly "experienceId": string, readonly "status": "active" | "forgotten" | "erased", readonly "author": Union_55, readonly "sourceThreadId": string | null, readonly "sourceTurnId": string | null, readonly "currentRevision": number, readonly "createdAt": string, readonly "updatedAt": string, readonly "supersedes": Arrays_33, readonly "supersededBy"?: Arrays_34, readonly "bodyState": "present" | "erased" | "unavailable", readonly "usage"?: Objects_164, readonly "title"?: string, readonly "applicability"?: string, readonly "body": string | null, readonly "bodyWindow"?: Objects_59, readonly "forgottenAt": string | null, readonly "forgottenBy": Union_55 | null, readonly "erasedAt": string | null, readonly "erasedBy": Union_55 | null };
805
+ export type MemoryExperiencesGetOutput = { readonly "experienceId": string, readonly "status": "active" | "forgotten" | "erased", readonly "author": Union_56, readonly "sourceThreadId": string | null, readonly "sourceTurnId": string | null, readonly "currentRevision": number, readonly "createdAt": string, readonly "updatedAt": string, readonly "supersedes": Arrays_33, readonly "supersededBy"?: Arrays_34, readonly "bodyState": "present" | "erased" | "unavailable", readonly "usage"?: Objects_163, readonly "title"?: string, readonly "applicability"?: string, readonly "body": string | null, readonly "bodyWindow"?: Objects_59, readonly "forgottenAt": string | null, readonly "forgottenBy": Union_56 | null, readonly "erasedAt": string | null, readonly "erasedBy": Union_56 | null };
806
806
  export type MemoryExperiencesHistoryInput = { readonly "projectId": string, readonly "experienceId": string, readonly "cursor"?: string, readonly "limit"?: number, readonly "textOffset"?: number, readonly "textLimit"?: number };
807
- export type MemoryExperiencesHistoryOutput = { readonly "items": ReadonlyArray<Objects_165>, readonly "nextCursor": string | null };
807
+ export type MemoryExperiencesHistoryOutput = { readonly "items": ReadonlyArray<Objects_164>, readonly "nextCursor": string | null };
808
808
  export type MemoryRevisionsGetInput = { readonly "projectId": string, readonly "experienceId": string, readonly "revision": number, readonly "textOffset"?: number, readonly "textLimit"?: number };
809
- export type MemoryRevisionsGetOutput = Objects_165;
809
+ export type MemoryRevisionsGetOutput = Objects_164;
810
810
  export type MemorySearchInput = { readonly "projectId": string, readonly "text": string, readonly "mode"?: "recall" | "keyword", readonly "limit"?: number };
811
811
  export type MemorySearchOutput = { readonly "status": "ok" | "unavailable", readonly "hits": ReadonlyArray<{ readonly "subject": { readonly "kind": "experience", readonly "id": string } | { readonly "kind": "page", readonly "id": string }, readonly "revision": number, readonly "title"?: string, readonly "headingPath": string, readonly "snippet": string, readonly "score": number, readonly "unmatched"?: true }>, readonly "code"?: "fts_unavailable" | "index_damaged" | "not_initialized" };
812
812
  export type MemoryExperiencesRecordInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "experienceId"?: string, readonly "body": string, readonly "title"?: string, readonly "applicability"?: string, readonly "sourceThreadId"?: string, readonly "sourceTurnId"?: string, readonly "supersedes"?: ReadonlyArray<string> };
813
- export type MemoryExperiencesRecordOutput = { readonly "sequence": number, readonly "result": Objects_166, readonly "replayed"?: boolean } | Objects_167;
813
+ export type MemoryExperiencesRecordOutput = { readonly "sequence": number, readonly "result": Objects_165, readonly "replayed"?: boolean } | Objects_166;
814
814
  export type MemoryExperiencesReviseInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "experienceId": string, readonly "baseRevision": number, readonly "body": string, readonly "title"?: string, readonly "applicability"?: string };
815
- export type MemoryExperiencesReviseOutput = { readonly "sequence": number, readonly "result": Objects_166, readonly "replayed"?: boolean };
816
- export type MemoryExperiencesForgetInput = Objects_168;
817
- export type MemoryExperiencesForgetOutput = Objects_169;
818
- export type MemoryExperiencesRestoreInput = Objects_168;
819
- export type MemoryExperiencesRestoreOutput = Objects_169;
820
- export type MemoryExperiencesEraseInput = Objects_168;
815
+ export type MemoryExperiencesReviseOutput = { readonly "sequence": number, readonly "result": Objects_165, readonly "replayed"?: boolean };
816
+ export type MemoryExperiencesForgetInput = Objects_167;
817
+ export type MemoryExperiencesForgetOutput = Objects_168;
818
+ export type MemoryExperiencesRestoreInput = Objects_167;
819
+ export type MemoryExperiencesRestoreOutput = Objects_168;
820
+ export type MemoryExperiencesEraseInput = Objects_167;
821
821
  export type MemoryExperiencesEraseOutput = { readonly "sequence": number, readonly "result": { readonly "experienceId": string }, readonly "replayed"?: boolean };
822
822
  export type MemoryPagesListInput = { readonly "projectId": string, readonly "status"?: "active" | "erased", readonly "cursor"?: string, readonly "limit"?: number };
823
823
  export type MemoryPagesListOutput = { readonly "items": ReadonlyArray<{ readonly "pageId": string, readonly "kind": "handbook_decisions" | "handbook_rules" | "handbook_progress" | "doc" | "skill", readonly "parentPageId": string | null, readonly "currentRevision": number, readonly "locked": boolean, readonly "archivedAt": string | null, readonly "erasedAt": string | null, readonly "createdAt": string, readonly "revisedAt": string, readonly "updatedAt": string, readonly "title": string | null, readonly "bodyState": "present" | "erased" | "unavailable", readonly "excerpt": string | null }>, readonly "nextCursor": string | null };
824
824
  export type MemoryPagesGetInput = { readonly "projectId": string, readonly "pageId": string, readonly "textOffset"?: number, readonly "textLimit"?: number };
825
- export type MemoryPagesGetOutput = { readonly "pageId": string, readonly "kind": "handbook_decisions" | "handbook_rules" | "handbook_progress" | "doc" | "skill", readonly "parentPageId": string | null, readonly "currentRevision": number, readonly "locked": boolean, readonly "archivedAt": string | null, readonly "erasedAt": string | null, readonly "createdAt": string, readonly "revisedAt": string, readonly "updatedAt": string, readonly "title": string | null, readonly "bodyState": "present" | "erased" | "unavailable", readonly "createdBy": Union_55, readonly "body": string | null, readonly "bodyWindow"?: Objects_59, readonly "erasedBy": Union_55 | null };
825
+ export type MemoryPagesGetOutput = { readonly "pageId": string, readonly "kind": "handbook_decisions" | "handbook_rules" | "handbook_progress" | "doc" | "skill", readonly "parentPageId": string | null, readonly "currentRevision": number, readonly "locked": boolean, readonly "archivedAt": string | null, readonly "erasedAt": string | null, readonly "createdAt": string, readonly "revisedAt": string, readonly "updatedAt": string, readonly "title": string | null, readonly "bodyState": "present" | "erased" | "unavailable", readonly "createdBy": Union_56, readonly "body": string | null, readonly "bodyWindow"?: Objects_59, readonly "erasedBy": Union_56 | null };
826
826
  export type MemoryPagesHistoryInput = { readonly "projectId": string, readonly "pageId": string, readonly "cursor"?: string, readonly "limit"?: number, readonly "textOffset"?: number, readonly "textLimit"?: number };
827
- export type MemoryPagesHistoryOutput = { readonly "items": ReadonlyArray<Objects_170>, readonly "nextCursor": string | null };
827
+ export type MemoryPagesHistoryOutput = { readonly "items": ReadonlyArray<Objects_169>, readonly "nextCursor": string | null };
828
828
  export type MemoryPageRevisionsGetInput = { readonly "projectId": string, readonly "pageId": string, readonly "revision": number, readonly "textOffset"?: number, readonly "textLimit"?: number };
829
- export type MemoryPageRevisionsGetOutput = Objects_170;
829
+ export type MemoryPageRevisionsGetOutput = Objects_169;
830
830
  export type MemoryPagesCreateInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "pageId"?: string, readonly "kind": "doc" | "skill", readonly "parentPageId"?: string, readonly "title": string, readonly "body": string, readonly "changeSummary"?: string };
831
- export type MemoryPagesCreateOutput = { readonly "sequence": number, readonly "result": Objects_171, readonly "replayed"?: boolean };
831
+ export type MemoryPagesCreateOutput = { readonly "sequence": number, readonly "result": Objects_170, readonly "replayed"?: boolean };
832
832
  export type MemoryPagesEditInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "pageId": string, readonly "baseRevision": number, readonly "title"?: string, readonly "body": string, readonly "changeSummary"?: string };
833
- export type MemoryPagesEditOutput = { readonly "sequence": number, readonly "result": Objects_171, readonly "replayed"?: boolean };
833
+ export type MemoryPagesEditOutput = { readonly "sequence": number, readonly "result": Objects_170, readonly "replayed"?: boolean };
834
834
  export type MemoryPagesRestoreInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "pageId": string, readonly "baseRevision": number, readonly "fromRevision": number };
835
- export type MemoryPagesRestoreOutput = { readonly "sequence": number, readonly "result": Objects_171, readonly "replayed"?: boolean };
835
+ export type MemoryPagesRestoreOutput = { readonly "sequence": number, readonly "result": Objects_170, readonly "replayed"?: boolean };
836
836
  export type MemoryPagesEraseInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "pageId": string };
837
837
  export type MemoryPagesEraseOutput = { readonly "sequence": number, readonly "result": { readonly "pageId": string }, readonly "replayed"?: boolean };
838
838
  export type ThreadsArtifactsListInput = { readonly "threadId": string, readonly "cursor"?: string | null, readonly "limit"?: number };
839
839
  export type ThreadsArtifactsListOutput = { 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"?: { readonly "instanceId": string, readonly "model": string, readonly "options"?: Union_3 }, readonly "homeSync"?: "delivered" | "pending" | "needs-attention" | "refused" }>, readonly "nextCursor": string | null };
840
840
  export type ProjectsArtifactsListInput = { readonly "projectId": string, readonly "workItemId"?: string, readonly "cursor"?: string | null, readonly "limit"?: number };
841
- export type ProjectsArtifactsListOutput = { readonly "items": ReadonlyArray<{ readonly "attachmentId": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number, readonly "title"?: string | undefined, readonly "note"?: string | undefined, readonly "fileCount"?: number | undefined, readonly "deliveredAt": string, readonly "postId"?: string, readonly "deliverer"?: Objects_157 | Objects_158 | Objects_159 | Objects_160 | Objects_161 | Objects_162 | Objects_163, readonly "environmentId"?: string, readonly "threadId"?: string, readonly "remoteThreadId"?: string, readonly "threadTitle"?: string, readonly "threadDeleted": boolean, readonly "workItemId"?: string, readonly "workItemSequenceId"?: number, readonly "homeSync"?: "delivered" | "pending" | "needs-attention" | "refused", readonly "missing": boolean }>, readonly "nextCursor": string | null };
841
+ export type ProjectsArtifactsListOutput = { readonly "items": ReadonlyArray<{ readonly "attachmentId": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number, readonly "title"?: string | undefined, readonly "note"?: string | undefined, readonly "fileCount"?: number | undefined, readonly "deliveredAt": string, readonly "postId"?: string, readonly "deliverer"?: Objects_156 | Objects_157 | Objects_158 | Objects_159 | Objects_160 | Objects_161 | Objects_162, readonly "environmentId"?: string, readonly "threadId"?: string, readonly "remoteThreadId"?: string, readonly "threadTitle"?: string, readonly "threadDeleted": boolean, readonly "workItemId"?: string, readonly "workItemSequenceId"?: number, readonly "homeSync"?: "delivered" | "pending" | "needs-attention" | "refused", readonly "missing": boolean }>, readonly "nextCursor": string | null };
842
842
  export type ThreadsArtifactsDeliverInput = { readonly "threadId": string, readonly "requestId": string, readonly "workItemId"?: string, readonly "path"?: string, readonly "files"?: ReadonlyArray<{ readonly "path": string, readonly "title"?: string, readonly "note"?: string }>, readonly "title"?: string, readonly "note"?: string };
843
843
  export type ThreadsArtifactsDeliverOutput = { readonly "sequence": number, readonly "result": { readonly "deliveryId"?: string, readonly "files": ReadonlyArray<{ readonly "attachmentId": string, readonly "name": string, readonly "sizeBytes": number, readonly "alreadyDelivered": boolean, readonly "homeSync"?: "delivered" | "pending" | "needs-attention" | "refused" }> }, readonly "replayed"?: boolean };
844
844
  export type MemoryHandbookGetInput = { readonly "projectId": string, readonly "textOffset"?: number, readonly "textLimit"?: number };
845
- export type MemoryHandbookGetOutput = { readonly "head": { readonly "current": Objects_172, readonly "pages": ReadonlyArray<Objects_170> } | null };
845
+ export type MemoryHandbookGetOutput = { readonly "head": { readonly "current": Objects_171, readonly "pages": ReadonlyArray<Objects_169> } | null };
846
846
  export type MemoryHandbookReleasesListInput = { readonly "projectId": string, readonly "cursor"?: string, readonly "limit"?: number };
847
- export type MemoryHandbookReleasesListOutput = { readonly "items": ReadonlyArray<Objects_172>, readonly "nextCursor": string | null };
847
+ export type MemoryHandbookReleasesListOutput = { readonly "items": ReadonlyArray<Objects_171>, readonly "nextCursor": string | null };
848
848
  export type MemoryHandbookReleasesGetInput = { readonly "projectId": string, readonly "release": number };
849
- export type MemoryHandbookReleasesGetOutput = { readonly "release": number, readonly "pages": Arrays_35, readonly "itemCount": number, readonly "itemHighWater": number, readonly "requiresAck": boolean, readonly "restoredFromRelease": number | null, readonly "sourceExperience": Union_56, readonly "publishedBy": Union_55, readonly "publishedAt": string, readonly "items": ReadonlyArray<{ readonly "itemNumber": number, readonly "pageKind": "handbook_decisions" | "handbook_rules" | "handbook_progress" }> };
849
+ export type MemoryHandbookReleasesGetOutput = { readonly "release": number, readonly "pages": Arrays_35, readonly "itemCount": number, readonly "itemHighWater": number, readonly "requiresAck": boolean, readonly "restoredFromRelease": number | null, readonly "sourceExperience": Union_57, readonly "publishedBy": Union_56, readonly "publishedAt": string, readonly "items": ReadonlyArray<{ readonly "itemNumber": number, readonly "pageKind": "handbook_decisions" | "handbook_rules" | "handbook_progress" }> };
850
850
  export type MemoryHandbookPublishInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "expectedRelease": number, readonly "pages": ReadonlyArray<{ readonly "kind": "handbook_decisions" | "handbook_rules" | "handbook_progress", readonly "baseRevision": number | null, readonly "title"?: string, readonly "body": string, readonly "changeSummary"?: string }>, readonly "requireAck"?: boolean, readonly "sourceExperience"?: { readonly "experienceId": string, readonly "revision": number } };
851
- export type MemoryHandbookPublishOutput = { readonly "sequence": number, readonly "result": Objects_174, readonly "replayed"?: boolean };
851
+ export type MemoryHandbookPublishOutput = { readonly "sequence": number, readonly "result": Objects_173, readonly "replayed"?: boolean };
852
852
  export type MemoryHandbookRevertInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "expectedRelease": number, readonly "toRelease": number, readonly "requireAck"?: boolean };
853
- export type MemoryHandbookRevertOutput = { readonly "sequence": number, readonly "result": Objects_174, readonly "replayed"?: boolean };
853
+ export type MemoryHandbookRevertOutput = { readonly "sequence": number, readonly "result": Objects_173, readonly "replayed"?: boolean };
854
854
  export type WorkRemoteAgentPendingGetInput = { readonly "projectId": string, readonly "principalId"?: string, readonly "memberId"?: string };
855
- export type WorkRemoteAgentPendingGetOutput = { readonly "batchId": string, readonly "threadWakesUnavailable"?: true, readonly "threadBatchId"?: string, readonly "snapshotSequence": number, readonly "work": { readonly "count": number, readonly "truncated": boolean, readonly "items": ReadonlyArray<{ readonly "workItemId": string, readonly "blocked": boolean, readonly "groupId"?: string, readonly "round"?: number, readonly "memberId"?: string }> }, readonly "wakes": { readonly "count": number, readonly "truncated": boolean, readonly "items": ReadonlyArray<{ readonly "wakeId": string, readonly "reason": string, readonly "memberId"?: string, readonly "pausedThreads"?: ReadonlyArray<string>, readonly "targetThreadId"?: string, readonly "targetKey"?: string, readonly "groupId"?: string, readonly "groupWorkLineId"?: string }> }, readonly "machineTasks"?: { readonly "count": number, readonly "truncated": boolean, readonly "items": ReadonlyArray<{ readonly "workItemId": string, readonly "actionId": string, readonly "input"?: { readonly "projectTask"?: Objects_175, readonly "instanceId"?: string, readonly "variant"?: string, readonly "targetVersion"?: string, readonly "command"?: string, readonly "args"?: Arrays_3, readonly "cwd"?: string, readonly "timeoutSeconds"?: number, readonly "minutes"?: number }, readonly "status": "queued" | "running", readonly "autoApproved"?: true, readonly "accountOriginEnvironmentId"?: string, readonly "rememberProject"?: boolean, readonly "approval"?: string }> } };
855
+ export type WorkRemoteAgentPendingGetOutput = { readonly "batchId": string, readonly "threadWakesUnavailable"?: true, readonly "threadBatchId"?: string, readonly "snapshotSequence": number, readonly "work": { readonly "count": number, readonly "truncated": boolean, readonly "items": ReadonlyArray<{ readonly "workItemId": string, readonly "blocked": boolean, readonly "groupId"?: string, readonly "round"?: number, readonly "memberId"?: string }> }, readonly "wakes": { readonly "count": number, readonly "truncated": boolean, readonly "items": ReadonlyArray<{ readonly "wakeId": string, readonly "reason": string, readonly "memberId"?: string, readonly "pausedThreads"?: ReadonlyArray<string>, readonly "targetThreadId"?: string, readonly "targetKey"?: string, readonly "groupId"?: string, readonly "groupWorkLineId"?: string }> }, readonly "machineTasks"?: { readonly "count": number, readonly "truncated": boolean, readonly "items": ReadonlyArray<{ readonly "workItemId": string, readonly "actionId": string, readonly "input"?: { readonly "projectTask"?: Objects_174, readonly "instanceId"?: string, readonly "variant"?: string, readonly "targetVersion"?: string, readonly "command"?: string, readonly "args"?: Arrays_3, readonly "cwd"?: string, readonly "timeoutSeconds"?: number, readonly "minutes"?: number }, readonly "status": "queued" | "running", readonly "autoApproved"?: true, readonly "accountOriginEnvironmentId"?: string, readonly "rememberProject"?: boolean, readonly "approval"?: string }> } };
856
856
  export type WorkStatesListInput = { readonly "projectId": string, readonly "includeRemoved"?: boolean };
857
857
  export type WorkStatesListOutput = { readonly "states": ReadonlyArray<{ readonly "stateId": string, readonly "name": string, readonly "description": string, readonly "color": string, readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled", readonly "sequence": number, readonly "isDefault": boolean, readonly "defaultKey"?: "backlog" | "todo" | "in-progress" | "done" | "cancelled" | undefined, readonly "removedAt"?: string }>, readonly "snapshotSequence": number };
858
- export type WorkItemsListInput = { readonly "projectId": string, readonly "stateIds"?: ReadonlyArray<string>, readonly "stateGroups"?: ReadonlyArray<"backlog" | "unstarted" | "started" | "completed" | "cancelled">, readonly "assignees"?: ReadonlyArray<Union_57 | "me" | "none">, readonly "workLineIds"?: ReadonlyArray<"none" | string>, readonly "parentIds"?: ReadonlyArray<string | "none">, readonly "priorities"?: ReadonlyArray<"urgent" | "high" | "medium" | "low" | "none">, readonly "labelIds"?: ReadonlyArray<string>, readonly "archived"?: "exclude" | "include" | "only", readonly "orderBy"?: "created" | "updated" | "priority", readonly "cursor"?: string | null, readonly "limit"?: number };
859
- export type WorkItemsListOutput = { readonly "items": ReadonlyArray<{ readonly "workItemId": string, readonly "projectId": string, readonly "sequenceId": number, readonly "title": string | null, readonly "bodyState": "present" | "erased" | "unavailable", readonly "state": Objects_178, readonly "priority": "urgent" | "high" | "medium" | "low" | "none", readonly "assignees": Arrays_36, readonly "labelIds": Arrays_37, readonly "parentId": string | null, readonly "startDate": string | null, readonly "targetDate": string | null, readonly "sortOrder": number, readonly "workLineId"?: string, readonly "machineTask"?: Objects_179, readonly "completedAt": string | null, readonly "archivedAt": string | null, readonly "version": number, readonly "revision": number, readonly "blockedBy": Arrays_38, readonly "blockedByTotal": number, readonly "childCounts": Objects_185, readonly "createdBy": Union_55, readonly "createdAt": string, readonly "updatedAt": string }>, readonly "nextCursor": string | null, readonly "snapshotSequence": number };
858
+ export type WorkItemsListInput = { readonly "projectId": string, readonly "stateIds"?: ReadonlyArray<string>, readonly "stateGroups"?: ReadonlyArray<"backlog" | "unstarted" | "started" | "completed" | "cancelled">, readonly "assignees"?: ReadonlyArray<Union_58 | "me" | "none">, readonly "workLineIds"?: ReadonlyArray<"none" | string>, readonly "parentIds"?: ReadonlyArray<string | "none">, readonly "priorities"?: ReadonlyArray<"urgent" | "high" | "medium" | "low" | "none">, readonly "labelIds"?: ReadonlyArray<string>, readonly "archived"?: "exclude" | "include" | "only", readonly "orderBy"?: "created" | "updated" | "priority", readonly "cursor"?: string | null, readonly "limit"?: number };
859
+ export type WorkItemsListOutput = { readonly "items": ReadonlyArray<{ readonly "workItemId": string, readonly "projectId": string, readonly "sequenceId": number, readonly "title": string | null, readonly "bodyState": "present" | "erased" | "unavailable", readonly "state": Objects_177, readonly "priority": "urgent" | "high" | "medium" | "low" | "none", readonly "assignees": Arrays_36, readonly "labelIds": Arrays_37, readonly "parentId": string | null, readonly "startDate": string | null, readonly "targetDate": string | null, readonly "sortOrder": number, readonly "workLineId"?: string, readonly "machineTask"?: Objects_178, readonly "completedAt": string | null, readonly "archivedAt": string | null, readonly "version": number, readonly "revision": number, readonly "blockedBy": Arrays_38, readonly "blockedByTotal": number, readonly "childCounts": Objects_184, readonly "createdBy": Union_56, readonly "createdAt": string, readonly "updatedAt": string }>, readonly "nextCursor": string | null, readonly "snapshotSequence": number };
860
860
  export type WorkItemsGetInput = { readonly "projectId": string, readonly "textOffset"?: number, readonly "textLimit"?: number, readonly "expectedRevision"?: number, readonly "workItemIds": ReadonlyArray<string> } | { readonly "projectId": string, readonly "textOffset"?: number, readonly "textLimit"?: number, readonly "expectedRevision"?: number, readonly "sequenceIds": ReadonlyArray<number> };
861
- export type WorkItemsGetOutput = { readonly "items": ReadonlyArray<{ readonly "workItemId": string, readonly "projectId": string, readonly "sequenceId": number, readonly "title": string | null, readonly "bodyState": "present" | "erased" | "unavailable", readonly "state": Objects_178, readonly "priority": "urgent" | "high" | "medium" | "low" | "none", readonly "assignees": Arrays_36, readonly "labelIds": Arrays_37, readonly "parentId": string | null, readonly "startDate": string | null, readonly "targetDate": string | null, readonly "sortOrder": number, readonly "workLineId"?: string, readonly "machineTask"?: Objects_179, readonly "completedAt": string | null, readonly "archivedAt": string | null, readonly "version": number, readonly "revision": number, readonly "blockedBy": Arrays_38, readonly "blockedByTotal": number, readonly "childCounts": Objects_185, readonly "createdBy": Union_55, readonly "createdAt": string, readonly "updatedAt": string, readonly "description": string | null, readonly "descriptionWindow"?: Objects_59 }>, readonly "missingWorkItemIds": ReadonlyArray<string>, readonly "missingSequenceIds": ReadonlyArray<number>, readonly "snapshotSequence": number };
861
+ export type WorkItemsGetOutput = { readonly "items": ReadonlyArray<{ readonly "workItemId": string, readonly "projectId": string, readonly "sequenceId": number, readonly "title": string | null, readonly "bodyState": "present" | "erased" | "unavailable", readonly "state": Objects_177, readonly "priority": "urgent" | "high" | "medium" | "low" | "none", readonly "assignees": Arrays_36, readonly "labelIds": Arrays_37, readonly "parentId": string | null, readonly "startDate": string | null, readonly "targetDate": string | null, readonly "sortOrder": number, readonly "workLineId"?: string, readonly "machineTask"?: Objects_178, readonly "completedAt": string | null, readonly "archivedAt": string | null, readonly "version": number, readonly "revision": number, readonly "blockedBy": Arrays_38, readonly "blockedByTotal": number, readonly "childCounts": Objects_184, readonly "createdBy": Union_56, readonly "createdAt": string, readonly "updatedAt": string, readonly "description": string | null, readonly "descriptionWindow"?: Objects_59 }>, readonly "missingWorkItemIds": ReadonlyArray<string>, readonly "missingSequenceIds": ReadonlyArray<number>, readonly "snapshotSequence": number };
862
862
  export type WorkRelationsListInput = { readonly "projectId": string, readonly "workItemId": string, readonly "types"?: ReadonlyArray<"blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements">, readonly "otherEnd"?: "open", readonly "cursor"?: string | null, readonly "limit"?: number };
863
863
  export type WorkRelationsListOutput = { readonly "items": ReadonlyArray<{ readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements", readonly "workItemId": string }>, readonly "nextCursor": string | null, readonly "snapshotSequence": number };
864
864
  export type WorkCommentsListInput = { readonly "projectId": string, readonly "workItemId": string, readonly "parentId"?: string, readonly "order"?: "oldest" | "newest", readonly "cursor"?: string | null, readonly "limit"?: number, readonly "textOffset"?: number, readonly "textLimit"?: number } | { readonly "projectId": string, readonly "mentions": "me", readonly "cursor"?: string | null, readonly "limit"?: number, readonly "textOffset"?: number, readonly "textLimit"?: number };
865
- export type WorkCommentsListOutput = { readonly "items": ReadonlyArray<Objects_186>, readonly "nextCursor": string | null, readonly "snapshotSequence": number };
865
+ export type WorkCommentsListOutput = { readonly "items": ReadonlyArray<Objects_185>, readonly "nextCursor": string | null, readonly "snapshotSequence": number };
866
866
  export type WorkCommentsGetInput = { readonly "projectId": string, readonly "commentId": string, readonly "textOffset"?: number, readonly "textLimit"?: number };
867
- export type WorkCommentsGetOutput = { readonly "comment": Objects_186, readonly "snapshotSequence": number };
867
+ export type WorkCommentsGetOutput = { readonly "comment": Objects_185, readonly "snapshotSequence": number };
868
868
  export type WorkHistoryListInput = { readonly "projectId": string, readonly "workItemId"?: string, readonly "workLineId"?: string, readonly "afterSequence"?: number, readonly "order"?: "oldest" | "newest", readonly "cursor"?: string | null, readonly "limit"?: number };
869
- export type WorkHistoryListOutput = { readonly "items": ReadonlyArray<{ readonly "sequence": number, readonly "workItemId": string | null, readonly "actor": Union_55, readonly "viaPlugin"?: string, readonly "at": string, readonly "target": { readonly "kind": "item" | "comment" | "state" | "label" | "relation" | "work-line" | "member", readonly "id": string }, readonly "verb": "created" | "updated" | "claimed" | "commented" | "relation-added" | "relation-removed" | "archived" | "restored" | "paused" | "resumed" | "trial-passed" | "trial-failed" | "trial-skipped" | "dispatch-decided" | "offline-rejected" | "imported" | "import-diverged" | "delivered", readonly "changes": ReadonlyArray<{ readonly "field": "title" | "description" | "body", readonly "oldRevision": number | null, readonly "newRevision": number | null } | { readonly "field": "state", readonly "old": Objects_187 | null, readonly "new": Objects_187 | null } | { readonly "field": "assignees", readonly "old": ReadonlyArray<Union_58>, readonly "new": ReadonlyArray<Union_58> } | { readonly "field": "mentions", readonly "old": ReadonlyArray<Union_59>, readonly "new": ReadonlyArray<Union_59> } | { readonly "field": "completedAt", readonly "old": string | null, readonly "new": string | null } | { readonly "field": "workLine", readonly "old": string | null, readonly "new": string | null } | { readonly "field": "parent", readonly "old": string | null, readonly "new": string | null } | { readonly "field": "parent-start", readonly "byChild": string } | { readonly "field": "name", readonly "old": string | null, readonly "new": string } | { readonly "field": "lead", readonly "old": string | null, readonly "new": string | null } | { readonly "field": "members", readonly "added": ReadonlyArray<string>, readonly "removed": ReadonlyArray<string> } | { readonly "field": "priority", readonly "old": "urgent" | "high" | "medium" | "low" | "none", readonly "new": "urgent" | "high" | "medium" | "low" | "none" } | { readonly "field": "labels", readonly "added": ReadonlyArray<string>, readonly "removed": ReadonlyArray<string> } | { readonly "field": "member", readonly "memberId": string } | { readonly "field": "note", readonly "text": string } | { readonly "field": "dispatch", readonly "environmentId": string, readonly "outcome": "thread-opened" | "woken" | "skipped", readonly "reason"?: "busy" | "project-not-ready" | "thread-unavailable" | "member-not-ready" | "binding-changed", readonly "detail"?: "no-model" | "no-workspace", readonly "threadId"?: string, readonly "memberId"?: string } | { readonly "field": "offline-rejection", readonly "capabilityId": string, readonly "operationId": string, readonly "sourceEnvironmentId": string, readonly "reason": string, readonly "input": string } | { readonly "field": "import", readonly "importId": string, readonly "sourceEnvironmentId": string, readonly "sourceSequenceId": number } | { readonly "field": "delivery", readonly "postId": string, readonly "files": ReadonlyArray<string> }> }>, readonly "nextCursor": string | null, readonly "snapshotSequence": number };
870
- export type WorkItemsCreateInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "workItemId"?: string, readonly "title": string, readonly "description"?: string, readonly "stateId"?: string, readonly "assignees"?: ReadonlyArray<Union_57>, readonly "workLineId"?: string, readonly "parentId"?: string, readonly "priority"?: "urgent" | "high" | "medium" | "low" | "none", readonly "labelIds"?: ReadonlyArray<string> };
869
+ export type WorkHistoryListOutput = { readonly "items": ReadonlyArray<{ readonly "sequence": number, readonly "workItemId": string | null, readonly "actor": Union_56, readonly "viaPlugin"?: string, readonly "at": string, readonly "target": { readonly "kind": "item" | "comment" | "state" | "label" | "relation" | "work-line" | "member", readonly "id": string }, readonly "verb": "created" | "updated" | "claimed" | "commented" | "relation-added" | "relation-removed" | "archived" | "restored" | "paused" | "resumed" | "trial-passed" | "trial-failed" | "trial-skipped" | "dispatch-decided" | "offline-rejected" | "imported" | "import-diverged" | "delivered", readonly "changes": ReadonlyArray<{ readonly "field": "title" | "description" | "body", readonly "oldRevision": number | null, readonly "newRevision": number | null } | { readonly "field": "state", readonly "old": Objects_186 | null, readonly "new": Objects_186 | null } | { readonly "field": "assignees", readonly "old": ReadonlyArray<Union_59>, readonly "new": ReadonlyArray<Union_59> } | { readonly "field": "mentions", readonly "old": ReadonlyArray<Union_60>, readonly "new": ReadonlyArray<Union_60> } | { readonly "field": "completedAt", readonly "old": string | null, readonly "new": string | null } | { readonly "field": "workLine", readonly "old": string | null, readonly "new": string | null } | { readonly "field": "parent", readonly "old": string | null, readonly "new": string | null } | { readonly "field": "parent-start", readonly "byChild": string } | { readonly "field": "name", readonly "old": string | null, readonly "new": string } | { readonly "field": "lead", readonly "old": string | null, readonly "new": string | null } | { readonly "field": "members", readonly "added": ReadonlyArray<string>, readonly "removed": ReadonlyArray<string> } | { readonly "field": "priority", readonly "old": "urgent" | "high" | "medium" | "low" | "none", readonly "new": "urgent" | "high" | "medium" | "low" | "none" } | { readonly "field": "labels", readonly "added": ReadonlyArray<string>, readonly "removed": ReadonlyArray<string> } | { readonly "field": "member", readonly "memberId": string } | { readonly "field": "note", readonly "text": string } | { readonly "field": "dispatch", readonly "environmentId": string, readonly "outcome": "thread-opened" | "woken" | "skipped", readonly "reason"?: "busy" | "project-not-ready" | "thread-unavailable" | "member-not-ready" | "binding-changed", readonly "detail"?: "no-model" | "no-workspace", readonly "threadId"?: string, readonly "memberId"?: string } | { readonly "field": "offline-rejection", readonly "capabilityId": string, readonly "operationId": string, readonly "sourceEnvironmentId": string, readonly "reason": string, readonly "input": string } | { readonly "field": "import", readonly "importId": string, readonly "sourceEnvironmentId": string, readonly "sourceSequenceId": number } | { readonly "field": "delivery", readonly "postId": string, readonly "files": ReadonlyArray<string> }> }>, readonly "nextCursor": string | null, readonly "snapshotSequence": number };
870
+ export type WorkItemsCreateInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "workItemId"?: string, readonly "title": string, readonly "description"?: string, readonly "stateId"?: string, readonly "assignees"?: ReadonlyArray<Union_58>, readonly "workLineId"?: string, readonly "parentId"?: string, readonly "priority"?: "urgent" | "high" | "medium" | "low" | "none", readonly "labelIds"?: ReadonlyArray<string> };
871
871
  export type WorkItemsCreateOutput = { readonly "sequence": number, readonly "result": { readonly "workItemId": string, readonly "sequenceId": number, readonly "version": number, readonly "revision": number }, readonly "replayed"?: boolean };
872
- export type WorkItemsUpdateInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "workItemId": string, readonly "expectedVersion": number, readonly "title"?: string, readonly "description"?: string, readonly "stateId"?: string, readonly "assignees"?: ReadonlyArray<Union_57>, readonly "workLineId"?: string | null, readonly "parentId"?: string | null, readonly "priority"?: "urgent" | "high" | "medium" | "low" | "none", readonly "labelIds"?: ReadonlyArray<string> };
873
- export type WorkItemsUpdateOutput = { readonly "sequence": number, readonly "result": { readonly "workItemId": string, readonly "version": number, readonly "revision": number }, readonly "replayed"?: boolean } | Objects_167;
872
+ export type WorkItemsUpdateInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "workItemId": string, readonly "expectedVersion": number, readonly "title"?: string, readonly "description"?: string, readonly "stateId"?: string, readonly "assignees"?: ReadonlyArray<Union_58>, readonly "workLineId"?: string | null, readonly "parentId"?: string | null, readonly "priority"?: "urgent" | "high" | "medium" | "low" | "none", readonly "labelIds"?: ReadonlyArray<string> };
873
+ export type WorkItemsUpdateOutput = { readonly "sequence": number, readonly "result": { readonly "workItemId": string, readonly "version": number, readonly "revision": number }, readonly "replayed"?: boolean } | Objects_166;
874
874
  export type WorkItemsClaimInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "workItemId": string, readonly "expectedVersion": number, readonly "startStateId"?: string };
875
875
  export type WorkItemsClaimOutput = { readonly "sequence": number, readonly "result": { readonly "workItemId": string, readonly "version": number }, readonly "replayed"?: boolean };
876
- export type WorkRelationsAddInput = Objects_188;
877
- export type WorkRelationsAddOutput = { readonly "sequence": number, readonly "result": Objects_189, readonly "replayed"?: boolean };
878
- export type WorkRelationsRemoveInput = Objects_188;
879
- export type WorkRelationsRemoveOutput = { readonly "sequence": number, readonly "result": Objects_189, readonly "replayed"?: boolean };
876
+ export type WorkRelationsAddInput = Objects_187;
877
+ export type WorkRelationsAddOutput = { readonly "sequence": number, readonly "result": Objects_188, readonly "replayed"?: boolean };
878
+ export type WorkRelationsRemoveInput = Objects_187;
879
+ export type WorkRelationsRemoveOutput = { readonly "sequence": number, readonly "result": Objects_188, readonly "replayed"?: boolean };
880
880
  export type WorkLinesListInput = { readonly "projectId": string, readonly "includeArchived"?: boolean, readonly "memberId"?: string, readonly "threadId"?: string, readonly "cursor"?: string | null, readonly "limit"?: number };
881
- export type WorkLinesListOutput = { readonly "items": ReadonlyArray<Objects_190>, readonly "nextCursor": string | null, readonly "snapshotSequence": number };
881
+ export type WorkLinesListOutput = { readonly "items": ReadonlyArray<Objects_189>, readonly "nextCursor": string | null, readonly "snapshotSequence": number };
882
882
  export type WorkLinesGetInput = { readonly "projectId": string, readonly "workLineId": string };
883
- export type WorkLinesGetOutput = { readonly "line": Objects_190, readonly "snapshotSequence": number };
883
+ export type WorkLinesGetOutput = { readonly "line": Objects_189, readonly "snapshotSequence": number };
884
884
  export type WorkLinesCreateInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "workLineId"?: string, readonly "name": string, readonly "leadMemberId"?: string, readonly "members"?: ReadonlyArray<string>, readonly "threadId"?: string };
885
885
  export type WorkLinesCreateOutput = { readonly "sequence": number, readonly "result": { readonly "workLineId": string, readonly "version": number }, readonly "replayed"?: boolean };
886
886
  export type WorkLinesUpdateInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "workLineId": string, readonly "expectedVersion": number, readonly "name"?: string, readonly "leadMemberId"?: string | null, readonly "addMemberIds"?: ReadonlyArray<string>, readonly "removeMemberIds"?: ReadonlyArray<string> };
887
887
  export type WorkLinesUpdateOutput = { readonly "sequence": number, readonly "result": { readonly "workLineId": string, readonly "version": number }, readonly "replayed"?: boolean };
888
- export type WorkLinesArchiveInput = Objects_191;
888
+ export type WorkLinesArchiveInput = Objects_190;
889
889
  export type WorkLinesArchiveOutput = { readonly "sequence": number, readonly "result": { readonly "workLineId": string, readonly "version": number }, readonly "replayed"?: boolean };
890
- export type WorkLinesRestoreInput = Objects_191;
890
+ export type WorkLinesRestoreInput = Objects_190;
891
891
  export type WorkLinesRestoreOutput = { readonly "sequence": number, readonly "result": { readonly "workLineId": string, readonly "version": number }, readonly "replayed"?: boolean };
892
892
  export type WorkLinesPauseInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "workLineId": string, readonly "memberId"?: string, readonly "reason"?: string };
893
893
  export type WorkLinesPauseOutput = { readonly "sequence": number, readonly "result": { readonly "workLineId": string, readonly "memberId"?: string }, readonly "replayed"?: boolean };
894
894
  export type WorkLinesResumeInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "workLineId": string, readonly "memberId"?: string };
895
895
  export type WorkLinesResumeOutput = { readonly "sequence": number, readonly "result": { readonly "workLineId": string, readonly "memberId"?: string }, readonly "replayed"?: boolean };
896
- export type WorkItemsArchiveInput = Objects_192;
897
- export type WorkItemsArchiveOutput = Objects_193;
898
- export type WorkItemsUnarchiveInput = Objects_192;
899
- export type WorkItemsUnarchiveOutput = Objects_193;
896
+ export type WorkItemsArchiveInput = Objects_191;
897
+ export type WorkItemsArchiveOutput = Objects_192;
898
+ export type WorkItemsUnarchiveInput = Objects_191;
899
+ export type WorkItemsUnarchiveOutput = Objects_192;
900
900
  export type WorkLabelsListInput = { readonly "projectId": string, readonly "includeRemoved"?: boolean, readonly "cursor"?: string | null, readonly "limit"?: number };
901
- export type WorkLabelsListOutput = { readonly "items": ReadonlyArray<{ readonly "labelId": string, readonly "projectId": string, readonly "name": string, readonly "color": string, readonly "removedAt": string | null, readonly "createdBy": Union_55, readonly "createdAt": string, readonly "updatedAt": string }>, readonly "nextCursor": string | null, readonly "snapshotSequence": number };
901
+ export type WorkLabelsListOutput = { readonly "items": ReadonlyArray<{ readonly "labelId": string, readonly "projectId": string, readonly "name": string, readonly "color": string, readonly "removedAt": string | null, readonly "createdBy": Union_56, readonly "createdAt": string, readonly "updatedAt": string }>, readonly "nextCursor": string | null, readonly "snapshotSequence": number };
902
902
  export type WorkLabelsCreateInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "labelId"?: string, readonly "name": string, readonly "color": string };
903
- export type WorkLabelsCreateOutput = { readonly "sequence": number, readonly "result": Objects_194, readonly "replayed"?: boolean };
903
+ export type WorkLabelsCreateOutput = { readonly "sequence": number, readonly "result": Objects_193, readonly "replayed"?: boolean };
904
904
  export type WorkLabelsUpdateInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "labelId": string, readonly "name"?: string, readonly "color"?: string };
905
- export type WorkLabelsUpdateOutput = { readonly "sequence": number, readonly "result": Objects_194, readonly "replayed"?: boolean };
906
- export type WorkLabelsRemoveInput = Objects_195;
907
- export type WorkLabelsRemoveOutput = Objects_196;
908
- export type WorkLabelsRestoreInput = Objects_195;
909
- export type WorkLabelsRestoreOutput = Objects_196;
905
+ export type WorkLabelsUpdateOutput = { readonly "sequence": number, readonly "result": Objects_193, readonly "replayed"?: boolean };
906
+ export type WorkLabelsRemoveInput = Objects_194;
907
+ export type WorkLabelsRemoveOutput = Objects_195;
908
+ export type WorkLabelsRestoreInput = Objects_194;
909
+ export type WorkLabelsRestoreOutput = Objects_195;
910
910
  export type WorkStatesCreateInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "stateId"?: string, readonly "name": string, readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled", readonly "color": string, readonly "description"?: string, readonly "sequence"?: number };
911
- export type WorkStatesCreateOutput = { readonly "sequence": number, readonly "result": Objects_197, readonly "replayed"?: boolean };
911
+ export type WorkStatesCreateOutput = { readonly "sequence": number, readonly "result": Objects_196, readonly "replayed"?: boolean };
912
912
  export type WorkStatesUpdateInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "stateId": string, readonly "name"?: string, readonly "color"?: string, readonly "description"?: string, readonly "sequence"?: number };
913
- export type WorkStatesUpdateOutput = { readonly "sequence": number, readonly "result": Objects_197, readonly "replayed"?: boolean };
913
+ export type WorkStatesUpdateOutput = { readonly "sequence": number, readonly "result": Objects_196, readonly "replayed"?: boolean };
914
914
  export type WorkStatesRemoveInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "stateId": string, readonly "replacementStateId"?: string };
915
- export type WorkStatesRemoveOutput = { readonly "sequence": number, readonly "result": Objects_197, readonly "replayed"?: boolean };
915
+ export type WorkStatesRemoveOutput = { readonly "sequence": number, readonly "result": Objects_196, readonly "replayed"?: boolean };
916
916
  export type WorkStatesRestoreInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "stateId": string };
917
- export type WorkStatesRestoreOutput = { readonly "sequence": number, readonly "result": Objects_197, readonly "replayed"?: boolean };
917
+ export type WorkStatesRestoreOutput = { readonly "sequence": number, readonly "result": Objects_196, readonly "replayed"?: boolean };
918
918
  export type MembersListInput = { readonly "projectId": string, readonly "includeRemoved"?: boolean, readonly "cursor"?: string | null, readonly "limit"?: number };
919
- export type MembersListOutput = { 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_60, readonly "identity": Union_61, readonly "agent": Union_62, readonly "workInstructionsRevision": number | null, readonly "version": number, readonly "createdBy": Union_55, readonly "createdAt": string, readonly "updatedAt": string, readonly "removedAt": string | null, readonly "trial"?: Objects_198 }>, readonly "nextCursor": string | null, readonly "snapshotSequence": number };
919
+ export type MembersListOutput = { 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_61, readonly "identity": Union_62, readonly "agent": Union_63, readonly "workInstructionsRevision": number | null, readonly "version": number, readonly "createdBy": Union_56, readonly "createdAt": string, readonly "updatedAt": string, readonly "removedAt": string | null, readonly "trial"?: Objects_197 }>, readonly "nextCursor": string | null, readonly "snapshotSequence": number };
920
920
  export type MembersGetInput = { readonly "projectId": string, readonly "memberId": string, readonly "textOffset"?: number, readonly "textLimit"?: number, readonly "expectedRevision"?: number };
921
- export type MembersGetOutput = { readonly "member": { readonly "memberId": string, readonly "projectId": string, readonly "kind": "human" | "agent", readonly "name": string, readonly "title": string, readonly "responsibility": string, readonly "avatar": Union_60, readonly "identity": Union_61, readonly "agent": Union_62, readonly "workInstructionsRevision": number | null, readonly "version": number, readonly "createdBy": Union_55, readonly "createdAt": string, readonly "updatedAt": string, readonly "removedAt": string | null, readonly "trial"?: Objects_198, readonly "workInstructions": string | null, readonly "workInstructionsWindow"?: Objects_59 }, readonly "snapshotSequence": number };
922
- export type MembersCreateInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "memberId"?: string, readonly "kind": "human" | "agent", readonly "name": string, readonly "title"?: string, readonly "responsibility"?: string, readonly "avatar"?: { readonly "pattern": string, readonly "color": string }, readonly "workInstructions"?: string, readonly "identity"?: { readonly "kind": "human", readonly "principal": Union_38 }, readonly "agent"?: { readonly "environmentId": string, readonly "modelSelection": Objects_114, readonly "threadId"?: string } };
921
+ export type MembersGetOutput = { readonly "member": { readonly "memberId": string, readonly "projectId": string, readonly "kind": "human" | "agent", readonly "name": string, readonly "title": string, readonly "responsibility": string, readonly "avatar": Union_61, readonly "identity": Union_62, readonly "agent": Union_63, readonly "workInstructionsRevision": number | null, readonly "version": number, readonly "createdBy": Union_56, readonly "createdAt": string, readonly "updatedAt": string, readonly "removedAt": string | null, readonly "trial"?: Objects_197, readonly "workInstructions": string | null, readonly "workInstructionsWindow"?: Objects_59 }, readonly "snapshotSequence": number };
922
+ export type MembersCreateInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "memberId"?: string, readonly "kind": "human" | "agent", readonly "name": string, readonly "title"?: string, readonly "responsibility"?: string, readonly "avatar"?: { readonly "pattern": string, readonly "color": string }, readonly "workInstructions"?: string, readonly "identity"?: { readonly "kind": "human", readonly "principal": Union_38 }, readonly "agent"?: { readonly "environmentId": string, readonly "modelSelection": Objects_113, readonly "threadId"?: string } };
923
923
  export type MembersCreateOutput = { readonly "sequence": number, readonly "result": { readonly "memberId": string, readonly "version": number, readonly "workInstructionsRevision"?: number }, readonly "replayed"?: boolean };
924
- export type MembersUpdateInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "memberId": string, readonly "expectedVersion": number, readonly "name"?: string, readonly "title"?: string, readonly "responsibility"?: string, readonly "avatar"?: Objects_199 | null, readonly "workInstructions"?: string, readonly "identity"?: Objects_176 | null, readonly "agent"?: { readonly "environmentId": string, readonly "modelSelection": Objects_114, readonly "threadId"?: string } };
924
+ export type MembersUpdateInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "memberId": string, readonly "expectedVersion": number, readonly "name"?: string, readonly "title"?: string, readonly "responsibility"?: string, readonly "avatar"?: Objects_198 | null, readonly "workInstructions"?: string, readonly "identity"?: Objects_175 | null, readonly "agent"?: { readonly "environmentId": string, readonly "modelSelection": Objects_113, readonly "threadId"?: string } };
925
925
  export type MembersUpdateOutput = { readonly "sequence": number, readonly "result": { readonly "memberId": string, readonly "version": number, readonly "workInstructionsRevision"?: number }, readonly "replayed"?: boolean };
926
- export type MembersRemoveInput = Objects_200;
926
+ export type MembersRemoveInput = Objects_199;
927
927
  export type MembersRemoveOutput = { readonly "sequence": number, readonly "result": { readonly "memberId": string, readonly "version": number }, readonly "replayed"?: boolean };
928
- export type MembersRestoreInput = Objects_200;
928
+ export type MembersRestoreInput = Objects_199;
929
929
  export type MembersRestoreOutput = { readonly "sequence": number, readonly "result": { readonly "memberId": string, readonly "version": number }, readonly "replayed"?: boolean };
930
930
  export type MembersTrialRecordInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "memberId": string, readonly "outcome": "passed" | "failed" | "skipped" | "not-run", readonly "summary"?: string };
931
931
  export type MembersTrialRecordOutput = { readonly "sequence": number, readonly "result": { readonly "memberId": string }, readonly "replayed"?: boolean };
932
- export type MembersRuntimeListInput = Objects_201;
933
- export type MembersRuntimeListOutput = Objects_202;
934
- export type MembersRuntimeSubscribeInput = Objects_201;
935
- export type MembersRuntimeSubscribeOutput = { readonly "_tag": "snapshot", readonly "value": Objects_202 } | Objects_63;
932
+ export type MembersRuntimeListInput = Objects_200;
933
+ export type MembersRuntimeListOutput = Objects_201;
934
+ export type MembersRuntimeSubscribeInput = Objects_200;
935
+ export type MembersRuntimeSubscribeOutput = { readonly "_tag": "snapshot", readonly "value": Objects_201 } | Objects_63;
936
936
  export type WorkMachineTasksCreateInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "workItemId"?: string, readonly "environmentId": string, readonly "actionId": string, readonly "input"?: { readonly "projectTask"?: Objects_21, readonly "instanceId"?: string, readonly "variant"?: string, readonly "targetVersion"?: string, readonly "command"?: string, readonly "args"?: Arrays_3, readonly "cwd"?: string, readonly "timeoutSeconds"?: number, readonly "minutes"?: number }, readonly "title"?: string, readonly "approval"?: string };
937
937
  export type WorkMachineTasksCreateOutput = { readonly "sequence": number, readonly "result": { readonly "workItemId": string, readonly "sequenceId": number, readonly "status": "awaiting-approval" | "queued", readonly "approvalReason"?: "remote-caller" | "account-connection-inactive" | "other-account" }, readonly "replayed"?: boolean };
938
938
  export type WorkMachineTasksRunInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "workItemId"?: string, readonly "machine": string, readonly "task"?: string, readonly "variant"?: string, readonly "command"?: string, readonly "args"?: Arrays_3, readonly "cwd"?: string, readonly "timeoutSeconds"?: number, readonly "waitSeconds"?: number };
939
- export type WorkMachineTasksRunOutput = { readonly "workItemId": string, readonly "sequenceId": number, readonly "finished": boolean, readonly "machineTask": Objects_203 };
939
+ export type WorkMachineTasksRunOutput = { readonly "workItemId": string, readonly "sequenceId": number, readonly "finished": boolean, readonly "machineTask": Objects_202 };
940
940
  export type WorkMachineTasksGetInput = { readonly "projectId": string, readonly "workItemId": string };
941
- export type WorkMachineTasksGetOutput = { readonly "workItemId": string, readonly "sequenceId": number, readonly "state": { readonly "stateId": string, readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled" }, readonly "version": number, readonly "machineTask": Objects_203, readonly "updatedAt": string };
941
+ export type WorkMachineTasksGetOutput = { readonly "workItemId": string, readonly "sequenceId": number, readonly "state": { readonly "stateId": string, readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled" }, readonly "version": number, readonly "machineTask": Objects_202, readonly "updatedAt": string };
942
942
  export type WorkMachineTasksRespondInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "workItemId": string, readonly "decision": "approve" | "decline", readonly "rememberProject"?: boolean, readonly "approval"?: string };
943
943
  export type WorkMachineTasksRespondOutput = { readonly "sequence": number, readonly "result": { readonly "workItemId": string, readonly "version": number, readonly "logCommentId"?: string, readonly "logPostId"?: string }, readonly "replayed"?: boolean };
944
944
  export type ThreadsInteractionModeSetInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "interactionMode": "default" | "plan" };
945
- export type ThreadsInteractionModeSetOutput = Objects_204;
945
+ export type ThreadsInteractionModeSetOutput = Objects_203;
946
946
  export type ThreadsNativeModeSetInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "nativeModeId": string };
947
- export type ThreadsNativeModeSetOutput = Objects_204;
947
+ export type ThreadsNativeModeSetOutput = Objects_203;
948
948
  export type ThreadsRuntimeModeSetInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access" };
949
- export type ThreadsRuntimeModeSetOutput = Objects_204;
949
+ export type ThreadsRuntimeModeSetOutput = Objects_203;
950
950
  export type ThreadsContextCompactInput = { readonly "requestId"?: string, readonly "threadId": string };
951
- export type ThreadsContextCompactOutput = Objects_204;
951
+ export type ThreadsContextCompactOutput = Objects_203;
952
952
  export type PluginsSelfdevPromoteInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "pluginId": string };
953
- export type PluginsSelfdevPromoteOutput = Objects_204;
953
+ export type PluginsSelfdevPromoteOutput = Objects_203;
954
954
  export type PluginsSelfdevStopInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "pluginId": string };
955
- export type PluginsSelfdevStopOutput = Objects_204;
955
+ export type PluginsSelfdevStopOutput = Objects_203;
956
956
  export type ThreadsShellCommandRecordInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "command": string, readonly "terminalId": string, readonly "cwd": string };
957
- export type ThreadsShellCommandRecordOutput = Objects_204;
958
- 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_205 } | { 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_205 | Objects_207 } | { readonly "type": "file", readonly "id": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number, readonly "source"?: { readonly "_tag": "pasted-text" } | Objects_207 | { readonly "_tag": "thread-reference", readonly "environmentId": string, readonly "threadId": string } }> } };
957
+ export type ThreadsShellCommandRecordOutput = Objects_203;
958
+ 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 } }> } };
959
959
  export type ThreadsTurnIntentsEditOutput = { readonly "sequence": number, readonly "replayed"?: boolean, readonly "status": "accepted" | "noop" };
960
960
  export type ThreadsTurnIntentsReorderInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "intentId": string, readonly "beforeIntentId": string | null };
961
- export type ThreadsTurnIntentsReorderOutput = Objects_204;
961
+ export type ThreadsTurnIntentsReorderOutput = Objects_203;
962
962
  export type ThreadsTurnQueuePauseInput = { readonly "requestId"?: string, readonly "threadId": string };
963
- export type ThreadsTurnQueuePauseOutput = Objects_204;
963
+ export type ThreadsTurnQueuePauseOutput = Objects_203;
964
964
  export type ThreadsUserInputDismissInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "userInputRequestId": string };
965
- export type ThreadsUserInputDismissOutput = Objects_204;
965
+ export type ThreadsUserInputDismissOutput = Objects_203;
966
966
  export type ThreadsDecisionsRespondInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "decisionRequestId": string, readonly "machineTaskApproval"?: string, readonly "optionId": string, readonly "reason"?: string };
967
- export type ThreadsDecisionsRespondOutput = Objects_204;
967
+ export type ThreadsDecisionsRespondOutput = Objects_203;
968
968
  export type ThreadsSnoozeInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "snoozedUntil": string };
969
- export type ThreadsSnoozeOutput = Objects_204;
969
+ export type ThreadsSnoozeOutput = Objects_203;
970
970
  export type ThreadsUnsnoozeInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "reason": "user" };
971
- export type ThreadsUnsnoozeOutput = Objects_204;
971
+ export type ThreadsUnsnoozeOutput = Objects_203;
972
972
  export type ThreadsReorderInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "orderKey": string };
973
- export type ThreadsReorderOutput = Objects_204;
973
+ export type ThreadsReorderOutput = Objects_203;
974
974
  export type ThreadsDeleteInput = { readonly "requestId"?: string, readonly "threadId": string };
975
- export type ThreadsDeleteOutput = Objects_204;
975
+ export type ThreadsDeleteOutput = Objects_203;
976
976
  export type ThreadsArchiveInput = { readonly "requestId"?: string, readonly "threadId": string };
977
- export type ThreadsArchiveOutput = Objects_204;
977
+ export type ThreadsArchiveOutput = Objects_203;
978
978
  export type ThreadsUnarchiveInput = { readonly "requestId"?: string, readonly "threadId": string };
979
- export type ThreadsUnarchiveOutput = Objects_204;
979
+ export type ThreadsUnarchiveOutput = Objects_203;
980
980
  export type ThreadsSettleInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "discardQueued"?: boolean };
981
- export type ThreadsSettleOutput = Objects_204;
981
+ export type ThreadsSettleOutput = Objects_203;
982
982
  export type ThreadsUnsettleInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "reason": "user" };
983
- export type ThreadsUnsettleOutput = Objects_204;
984
- export type ThreadsCreateInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "projectId": string, readonly "title": string, readonly "modelSelection": Objects_114, 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 "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "interactionMode": "default" | "plan", readonly "branch": string | null, readonly "worktreePath": string | null, readonly "startFolderId"?: string, readonly "folderIds"?: ReadonlyArray<string>, readonly "memberId"?: string, readonly "origin"?: { readonly "parentThreadId": string, readonly "delegationDepth": number, readonly "requestedBy": "agent" | "continuation" | "person", readonly "notificationPolicy"?: "wake" | "activity-only" }, readonly "presetId"?: string };
985
- export type ThreadsCreateOutput = Objects_204;
983
+ export type ThreadsUnsettleOutput = Objects_203;
984
+ export type ThreadsCreateInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "projectId": string, readonly "title": string, readonly "modelSelection": Objects_113, 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 "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "interactionMode": "default" | "plan", readonly "branch": string | null, readonly "worktreePath": string | null, readonly "startFolderId"?: string, readonly "folderIds"?: ReadonlyArray<string>, readonly "memberId"?: string, readonly "origin"?: { readonly "parentThreadId": string, readonly "delegationDepth": number, readonly "requestedBy": "agent" | "continuation" | "person", readonly "notificationPolicy"?: "wake" | "activity-only" }, readonly "presetId"?: string };
985
+ export type ThreadsCreateOutput = Objects_203;
986
986
  export type ThreadsForkInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "sourceThreadId": string, readonly "sourceMessageId": string, readonly "startFolderId"?: string, readonly "folderIds"?: ReadonlyArray<string> };
987
- export type ThreadsForkOutput = Objects_204;
988
- export type ThreadsImportInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "projectId": string, readonly "title": string, readonly "modelSelection": Objects_114, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "branch": string | null, readonly "worktreePath": string | null, readonly "startFolderId"?: string, readonly "folderIds"?: ReadonlyArray<string>, readonly "messages": ReadonlyArray<{ readonly "rewrite"?: { readonly "original": string, readonly "steps": ReadonlyArray<{ readonly "pluginId": string, readonly "via": "before-send" | "slash-command", readonly "command"?: string }> }, readonly "messageId": string, readonly "role": "user" | "assistant" | "system", readonly "text": string, readonly "createdAt": string, readonly "updatedAt": string, readonly "modelSelection"?: { readonly "provider"?: unknown, readonly "instanceId"?: unknown, readonly "model": unknown, readonly "options"?: unknown }, readonly "source"?: { readonly "kind": "native-session", readonly "provider": string, readonly "sessionId": string, readonly "messageId": string, readonly "turnId"?: string, readonly "order": number } }>, 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, readonly "createdAt": string }> };
989
- export type ThreadsImportOutput = Objects_204;
987
+ export type ThreadsForkOutput = Objects_203;
988
+ export type ThreadsImportInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "projectId": string, readonly "title": string, readonly "modelSelection": Objects_113, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "branch": string | null, readonly "worktreePath": string | null, readonly "startFolderId"?: string, readonly "folderIds"?: ReadonlyArray<string>, readonly "messages": ReadonlyArray<{ readonly "rewrite"?: { readonly "original": string, readonly "steps": ReadonlyArray<{ readonly "pluginId": string, readonly "via": "before-send" | "slash-command", readonly "command"?: string }> }, readonly "messageId": string, readonly "role": "user" | "assistant" | "system", readonly "text": string, readonly "createdAt": string, readonly "updatedAt": string, readonly "modelSelection"?: { readonly "provider"?: unknown, readonly "instanceId"?: unknown, readonly "model": unknown, readonly "options"?: unknown }, readonly "source"?: { readonly "kind": "native-session", readonly "provider": string, readonly "sessionId": string, readonly "messageId": string, readonly "turnId"?: string, readonly "order": number } }>, 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, readonly "createdAt": string }> };
989
+ export type ThreadsImportOutput = Objects_203;
990
990
  export type ThreadsExternalMessagesAppendInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "messages": ReadonlyArray<{ readonly "rewrite"?: { readonly "original": string, readonly "steps": ReadonlyArray<{ readonly "pluginId": string, readonly "via": "before-send" | "slash-command", readonly "command"?: string }> }, readonly "messageId": string, readonly "role": "user" | "assistant" | "system", readonly "text": string, readonly "createdAt": string, readonly "updatedAt": string, readonly "modelSelection"?: { readonly "provider"?: unknown, readonly "instanceId"?: unknown, readonly "model": unknown, readonly "options"?: unknown }, readonly "source"?: { readonly "kind": "native-session", readonly "provider": string, readonly "sessionId": string, readonly "messageId": string, readonly "turnId"?: string, readonly "order": number } }>, 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, readonly "createdAt": string }> };
991
- export type ThreadsExternalMessagesAppendOutput = Objects_204;
992
- export type ThreadsUpdateInput = { readonly "threadId": string, readonly "requestId"?: string, readonly "title"?: string, readonly "regenerateTitle"?: true, readonly "modelSelection"?: { readonly "instanceId": string, readonly "model": string, readonly "options"?: Union_44 }, readonly "executionSelection"?: Objects_208 | null, readonly "branch"?: string | null, readonly "expectedBranch"?: string | null, readonly "worktreePath"?: string | null, readonly "linkedPullRequest"?: Objects_209 | null, readonly "presetId"?: string | null, readonly "folderIds"?: ReadonlyArray<string> };
993
- export type ThreadsUpdateOutput = Objects_204;
994
- export type ThreadsTurnsStartInput = { readonly "slashCommand"?: { readonly "pluginId": string, readonly "name": string }, readonly "requestId"?: string, readonly "threadId": string, readonly "message": { readonly "messageId": string, readonly "role": "user", readonly "text": string, readonly "attachments": ReadonlyArray<{ readonly "type": "image", readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number, readonly "dataUrl": string, readonly "source"?: Objects_210 } | { 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_210 | Objects_212 } | { readonly "type": "file", readonly "id": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number, readonly "source"?: { readonly "_tag": "pasted-text" } | Objects_212 | { readonly "_tag": "thread-reference", readonly "environmentId": string, readonly "threadId": string } }> }, readonly "modelSelection"?: { readonly "instanceId": string, readonly "model": string, readonly "options"?: Union_44 }, readonly "titleSeed"?: string, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "interactionMode": "default" | "plan", readonly "bootstrap"?: { readonly "createThread"?: { readonly "projectId": string, readonly "title": string, readonly "modelSelection": { readonly "provider"?: unknown, readonly "instanceId"?: unknown, readonly "model": unknown, readonly "options"?: unknown }, readonly "executionSelection"?: { readonly "environmentId": string, readonly "runtimeId": string, readonly "sourceId": string, readonly "profileId": string, readonly "endpointId"?: string, readonly "optionOverrides": ReadonlyArray<{ readonly "id": string, readonly "value": string | boolean }>, readonly "expectedRevisions": { readonly "runtime": number, readonly "source": number, readonly "profile": number, readonly "endpoint"?: number } }, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "interactionMode": "default" | "plan", readonly "nativeModeId"?: string, readonly "branch": string | null, readonly "worktreePath": string | null, readonly "startFolderId"?: string, readonly "folderIds"?: ReadonlyArray<string>, readonly "origin"?: { readonly "parentThreadId": string, readonly "delegationDepth": number, readonly "requestedBy": "agent" | "continuation" | "person", readonly "notificationPolicy"?: "wake" | "activity-only" }, readonly "presetId"?: string, readonly "createdBy"?: { readonly "userId": string, readonly "displayName": string }, readonly "createdAt": string }, readonly "prepareWorktree"?: { readonly "baseBranch": string, readonly "branch"?: string, readonly "startFromOrigin"?: boolean }, readonly "runSetupScript"?: boolean }, readonly "sourceProposedPlan"?: { readonly "threadId": string, readonly "planId": string }, readonly "forwardedFrom"?: { readonly "displayName": string }, readonly "intentAction"?: { readonly "kind": "steer", readonly "turnId": string, readonly "commandId": string, readonly "source": "automatic" } };
991
+ export type ThreadsExternalMessagesAppendOutput = Objects_203;
992
+ export type ThreadsUpdateInput = { readonly "threadId": string, readonly "requestId"?: string, readonly "title"?: string, readonly "regenerateTitle"?: true, readonly "modelSelection"?: { readonly "instanceId": string, readonly "model": string, readonly "options"?: Union_44 }, readonly "executionSelection"?: Objects_207 | null, readonly "branch"?: string | null, readonly "expectedBranch"?: string | null, readonly "worktreePath"?: string | null, readonly "linkedPullRequest"?: Objects_208 | null, readonly "presetId"?: string | null, readonly "folderIds"?: ReadonlyArray<string> };
993
+ export type ThreadsUpdateOutput = Objects_203;
994
+ export type ThreadsTurnsStartInput = { readonly "slashCommand"?: { readonly "pluginId": string, readonly "name": string }, readonly "requestId"?: string, readonly "threadId": string, readonly "message": { readonly "messageId": string, readonly "role": "user", readonly "text": string, readonly "attachments": ReadonlyArray<{ readonly "type": "image", readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number, readonly "dataUrl": string, readonly "source"?: Objects_209 } | { 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_209 | Objects_211 } | { readonly "type": "file", readonly "id": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number, readonly "source"?: { readonly "_tag": "pasted-text" } | Objects_211 | { readonly "_tag": "thread-reference", readonly "environmentId": string, readonly "threadId": string } }> }, readonly "modelSelection"?: { readonly "instanceId": string, readonly "model": string, readonly "options"?: Union_44 }, readonly "titleSeed"?: string, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "interactionMode": "default" | "plan", readonly "bootstrap"?: { readonly "createThread"?: { readonly "projectId": string, readonly "title": string, readonly "modelSelection": { readonly "provider"?: unknown, readonly "instanceId"?: unknown, readonly "model": unknown, readonly "options"?: unknown }, readonly "executionSelection"?: { readonly "environmentId": string, readonly "runtimeId": string, readonly "sourceId": string, readonly "profileId": string, readonly "endpointId"?: string, readonly "optionOverrides": ReadonlyArray<{ readonly "id": string, readonly "value": string | boolean }>, readonly "expectedRevisions": { readonly "runtime": number, readonly "source": number, readonly "profile": number, readonly "endpoint"?: number } }, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "interactionMode": "default" | "plan", readonly "nativeModeId"?: string, readonly "branch": string | null, readonly "worktreePath": string | null, readonly "startFolderId"?: string, readonly "folderIds"?: ReadonlyArray<string>, readonly "origin"?: { readonly "parentThreadId": string, readonly "delegationDepth": number, readonly "requestedBy": "agent" | "continuation" | "person", readonly "notificationPolicy"?: "wake" | "activity-only" }, readonly "presetId"?: string, readonly "createdBy"?: { readonly "userId": string, readonly "displayName": string }, readonly "createdAt": string }, readonly "prepareWorktree"?: { readonly "baseBranch": string, readonly "branch"?: string, readonly "startFromOrigin"?: boolean }, readonly "runSetupScript"?: boolean }, readonly "sourceProposedPlan"?: { readonly "threadId": string, readonly "planId": string }, readonly "forwardedFrom"?: { readonly "displayName": string }, readonly "intentAction"?: { readonly "kind": "steer", readonly "turnId": string, readonly "commandId": string, readonly "source": "automatic" } };
995
995
  export type ThreadsTurnsStartOutput = { readonly "sequence": number, readonly "replayed"?: boolean, readonly "status": "accepted", readonly "result"?: unknown };
996
- export type ThreadsUserInputRespondInput = { readonly "threadId": string, readonly "requestId"?: string, readonly "userInputRequestId": string, readonly "answers": { readonly [x: string]: unknown }, readonly "attachmentsByQuestionId"?: { readonly [x: string]: ReadonlyArray<{ 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, readonly "accessibility"?: { readonly "format": "flat-text", readonly "text": string, readonly "truncated": boolean } | { readonly "format": "element-tree", readonly "coordinateSpace": "captured-image", readonly "imageSize": { readonly "width": number, readonly "height": number }, readonly "truncated": boolean, readonly "root": Objects_213 }, readonly "appIdentifier"?: string, readonly "appIconDataUrl"?: string } | Objects_214 } | { readonly "type": "file", readonly "id": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number, readonly "source"?: { readonly "_tag": "pasted-text" } | Objects_214 | { readonly "_tag": "thread-reference", readonly "environmentId": string, readonly "threadId": string } }> } };
997
- export type ThreadsUserInputRespondOutput = Objects_204;
996
+ export type ThreadsUserInputRespondInput = { readonly "threadId": string, readonly "requestId"?: string, readonly "userInputRequestId": string, readonly "answers": { readonly [x: string]: unknown }, readonly "attachmentsByQuestionId"?: { readonly [x: string]: ReadonlyArray<{ 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, readonly "accessibility"?: { readonly "format": "flat-text", readonly "text": string, readonly "truncated": boolean } | { readonly "format": "element-tree", readonly "coordinateSpace": "captured-image", readonly "imageSize": { readonly "width": number, readonly "height": number }, readonly "truncated": boolean, readonly "root": Objects_212 }, readonly "appIdentifier"?: string, readonly "appIconDataUrl"?: string } | Objects_213 } | { readonly "type": "file", readonly "id": string, readonly "name": string, readonly "mimeType": string, readonly "sizeBytes": number, readonly "source"?: { readonly "_tag": "pasted-text" } | Objects_213 | { readonly "_tag": "thread-reference", readonly "environmentId": string, readonly "threadId": string } }> } };
997
+ export type ThreadsUserInputRespondOutput = Objects_203;
998
998
  export type ThreadsTurnsInterruptInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "turnId"?: string };
999
- export type ThreadsTurnsInterruptOutput = Objects_204;
999
+ export type ThreadsTurnsInterruptOutput = Objects_203;
1000
1000
  export type ThreadsSessionStopInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "onlyIfSettled"?: boolean, readonly "onlyIfNoTurnInFlight"?: boolean, readonly "reason"?: "context-change" };
1001
- export type ThreadsSessionStopOutput = Objects_204;
1001
+ export type ThreadsSessionStopOutput = Objects_203;
1002
1002
  export type ThreadsSessionRestartInput = { readonly "requestId"?: string, readonly "threadId": string };
1003
1003
  export type ThreadsSessionRestartOutput = { readonly "sequence": number, readonly "replayed"?: boolean, readonly "status": "accepted" | "noop", readonly "outcome"?: "completed" | "failed" | "cancelled" | "unconfirmed", readonly "detail"?: string };
1004
1004
  export type ThreadsSessionRetryCleanupInput = SessionCleanupRetryInput;
1005
1005
  export type ThreadsSessionRetryCleanupOutput = SessionCleanupRecovered | SessionCleanupBlocked;
1006
1006
  export type ApprovalsRespondInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "approvalRequestId": string, readonly "decision": "accept" | "acceptForSession" | "acceptAlways" | "decline" | "cancel", readonly "reason"?: string };
1007
- export type ApprovalsRespondOutput = Objects_204;
1007
+ export type ApprovalsRespondOutput = Objects_203;
1008
1008
  export type ThreadsTurnIntentsRunInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "intentId": string, readonly "mode": "steer" | "interrupt", readonly "expectedTurnId"?: string | null };
1009
- export type ThreadsTurnIntentsRunOutput = Objects_204;
1009
+ export type ThreadsTurnIntentsRunOutput = Objects_203;
1010
1010
  export type ThreadsTurnIntentsCancelInput = { readonly "requestId"?: string, readonly "threadId": string, readonly "intentId": string, readonly "expectedStatus"?: "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned", readonly "expectedDeliveryCertainty"?: "not-dispatched" | "confirmed" | "unknown" };
1011
- export type ThreadsTurnIntentsCancelOutput = Objects_204;
1011
+ export type ThreadsTurnIntentsCancelOutput = Objects_203;
1012
1012
  export type ThreadsTurnQueueResumeInput = { readonly "requestId"?: string, readonly "threadId": string };
1013
- export type ThreadsTurnQueueResumeOutput = Objects_204;
1014
- export type ProjectsUpdateInput = { readonly "requestId"?: string, readonly "projectId": string, readonly "title"?: string, readonly "workspaceRoot"?: string, readonly "defaultModelSelection"?: Objects_114 | null, readonly "projectIcon"?: Union_63 | null, readonly "faviconPath"?: string | null, readonly "defaultFolderId"?: string | null };
1015
- export type ProjectsUpdateOutput = Objects_204;
1013
+ export type ThreadsTurnQueueResumeOutput = Objects_203;
1014
+ export type ProjectsUpdateInput = { readonly "requestId"?: string, readonly "projectId": string, readonly "title"?: string, readonly "workspaceRoot"?: string, readonly "defaultModelSelection"?: Objects_113 | null, readonly "projectIcon"?: Union_64 | null, readonly "faviconPath"?: string | null, readonly "defaultFolderId"?: string | null };
1015
+ export type ProjectsUpdateOutput = Objects_203;
1016
1016
  export type ProjectsArchiveInput = { readonly "requestId"?: string, readonly "projectId": string };
1017
- export type ProjectsArchiveOutput = Objects_204;
1017
+ export type ProjectsArchiveOutput = Objects_203;
1018
1018
  export type ProjectsUnarchiveInput = { readonly "requestId"?: string, readonly "projectId": string };
1019
- export type ProjectsUnarchiveOutput = Objects_204;
1019
+ export type ProjectsUnarchiveOutput = Objects_203;
1020
1020
  export type ProjectsDeleteInput = { readonly "requestId"?: string, readonly "projectId": string, readonly "force"?: boolean };
1021
- export type ProjectsDeleteOutput = Objects_204;
1021
+ export type ProjectsDeleteOutput = Objects_203;
1022
1022
  export type ProjectsReorderInput = { readonly "requestId"?: string, readonly "projectId": string, readonly "orderKey": string };
1023
- export type ProjectsReorderOutput = Objects_204;
1023
+ export type ProjectsReorderOutput = Objects_203;
1024
1024
  export type ProjectsFoldersDetachInput = { readonly "requestId"?: string, readonly "projectId": string, readonly "folderId": string };
1025
- export type ProjectsFoldersDetachOutput = Objects_204;
1025
+ export type ProjectsFoldersDetachOutput = Objects_203;
1026
1026
  export type ProjectsFoldersRelocateInput = { readonly "requestId"?: string, readonly "projectId": string, readonly "folderId": string, readonly "path": string };
1027
- export type ProjectsFoldersRelocateOutput = Objects_204;
1027
+ export type ProjectsFoldersRelocateOutput = Objects_203;
1028
1028
  export type ProjectsToolkitsSetInput = { readonly "projectId": string, readonly "toolkit": "board" | "memory" | "messages", readonly "enabled": boolean, readonly "requestId"?: string };
1029
1029
  export type ProjectsToolkitsSetOutput = { readonly "sequence": number, readonly "result": { readonly "enabled": boolean, readonly "changed": boolean }, readonly "replayed"?: boolean };
1030
1030
  export type ProjectsMemoryInjectionSetInput = { readonly "projectId": string, readonly "enabled": boolean, readonly "requestId"?: string };
1031
1031
  export type ProjectsMemoryInjectionSetOutput = { readonly "sequence": number, readonly "result": { readonly "enabled": boolean, readonly "changed": boolean }, readonly "replayed"?: boolean };
1032
- export type ProjectsCloneStartInput = { readonly "destinationPath": string, readonly "remoteUrl": string, readonly "target": { readonly "kind": "create-project", readonly "projectId": string, readonly "title": string, readonly "defaultModelSelection"?: Objects_114 | null, readonly "homeEnvironmentId"?: string } | { readonly "kind": "attach-folder", readonly "projectId": string } };
1032
+ export type ProjectsCloneStartInput = { readonly "destinationPath": string, readonly "remoteUrl": string, readonly "target": { readonly "kind": "create-project", readonly "projectId": string, readonly "title": string, readonly "defaultModelSelection"?: Objects_113 | null, readonly "homeEnvironmentId"?: string } | { readonly "kind": "attach-folder", readonly "projectId": string } };
1033
1033
  export type ProjectsCloneStartOutput = { readonly "projectId": string, readonly "folderId": string };
1034
- export type ProjectsCloneRetryInput = Objects_215;
1035
- export type ProjectsCloneRetryOutput = Objects_216;
1036
- export type ProjectsCloneCancelInput = Objects_215;
1037
- export type ProjectsCloneCancelOutput = Objects_216;
1038
- export type ProjectsCreateInput = { readonly "requestId"?: string, readonly "projectId": string, readonly "title": string, readonly "workspaceRoot": string, readonly "createWorkspaceRootIfMissing"?: boolean, readonly "defaultModelSelection"?: Objects_114 | null, readonly "homeEnvironmentId"?: string };
1039
- export type ProjectsCreateOutput = Objects_204;
1034
+ export type ProjectsCloneRetryInput = Objects_214;
1035
+ export type ProjectsCloneRetryOutput = Objects_215;
1036
+ export type ProjectsCloneCancelInput = Objects_214;
1037
+ export type ProjectsCloneCancelOutput = Objects_215;
1038
+ export type ProjectsCreateInput = { readonly "requestId"?: string, readonly "projectId": string, readonly "title": string, readonly "workspaceRoot": string, readonly "createWorkspaceRootIfMissing"?: boolean, readonly "defaultModelSelection"?: Objects_113 | null, readonly "homeEnvironmentId"?: string };
1039
+ export type ProjectsCreateOutput = Objects_203;
1040
1040
  export type ProjectsFoldersAttachInput = { readonly "requestId"?: string, readonly "projectId": string, readonly "path": string, readonly "threadId"?: string };
1041
- export type ProjectsFoldersAttachOutput = Objects_204;
1041
+ export type ProjectsFoldersAttachOutput = Objects_203;
1042
1042
  export type ProjectsConversationEnsureInput = { };
1043
1043
  export type ProjectsConversationEnsureOutput = { readonly "projectId": string, readonly "workspaceRoot": string, readonly "created": boolean };
1044
1044
  export type CommunicationPeopleCurrentInput = { };
@@ -1058,9 +1058,9 @@ export type CommunicationPostsDeleteOutput = { readonly "sequence": number, read
1058
1058
  export type CommunicationPostsBindInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "postId": string, readonly "targetKey": string, readonly "to": CommunicationPostBindParticipantInput };
1059
1059
  export type CommunicationPostsBindOutput = { readonly "sequence": number, readonly "result": CommunicationPostBindResult, readonly "replayed"?: boolean };
1060
1060
  export type CommunicationPostsGetInput = { readonly "refs"?: ReadonlyArray<CommunicationPostReplyInput_1>, readonly "recordIds"?: ReadonlyArray<string>, readonly "projectId"?: string, readonly "textOffset"?: number, readonly "textLimit"?: number };
1061
- export type CommunicationPostsGetOutput = ReadonlyArray<{ readonly "kind": "post", readonly "postId": string, readonly "projectId": string, readonly "sequence": number, readonly "anchor": Union_64, readonly "inGroup"?: true, readonly "author": Union_55, readonly "notification"?: CommunicationPostNotification, readonly "notificationResolution"?: CommunicationPostNotificationResolution, readonly "authorName"?: string, readonly "authorMemberId"?: string, readonly "authorRemoteThreadId"?: string, readonly "replyTo"?: Union_65, readonly "delivery"?: "quiet" | "wake" | "steer", readonly "mentions"?: Arrays_40, readonly "attachments"?: Arrays_41, readonly "purpose"?: "artifact", readonly "targets": Arrays_42, readonly "revision": number, readonly "text": string | null, readonly "bodyState": "present" | "withdrawn" | "deleted" | "unavailable", readonly "textWindow"?: Objects_59, readonly "createdAt": string } | { readonly "kind": "record", readonly "recordId": string, readonly "from": Union_33, readonly "to": Union_34, readonly "replyTo": string | null, readonly "text": string | null, readonly "delivery": "quiet" | "wake" | "steer", readonly "createdAt": string, readonly "stages": Objects_77, readonly "idempotencyKey"?: string | undefined, readonly "runId"?: string | undefined, readonly "toRole"?: string | undefined, readonly "attachments"?: Union_35, readonly "bodyState": "present" | "withdrawn" | "deleted" | "unavailable", readonly "projectId": string | null, readonly "sequence": number, readonly "claim": Union_37, readonly "textWindow"?: Objects_59, readonly "group"?: Objects_79, readonly "mentions"?: Arrays_11, readonly "targets"?: Arrays_12, readonly "workItem"?: Objects_81, readonly "childReport"?: CommunicationChildReport } | { readonly "kind": "comment", readonly "commentId": string, readonly "workItemId": string, readonly "projectId": string, readonly "sequence": number, readonly "revision": number, readonly "author": Union_55, readonly "body": string | null, readonly "bodyWindow"?: Objects_59, readonly "bodyState": "present" | "erased" | "unavailable", readonly "mentions": Arrays_39, readonly "parentId": string | null, readonly "createdAt": string, readonly "editedAt": string | null }>;
1061
+ export type CommunicationPostsGetOutput = ReadonlyArray<{ readonly "kind": "post", readonly "postId": string, readonly "projectId": string, readonly "sequence": number, readonly "anchor": Union_65, readonly "inGroup"?: true, readonly "author": Union_56, readonly "notification"?: CommunicationPostNotification, readonly "notificationResolution"?: CommunicationPostNotificationResolution, readonly "authorName"?: string, readonly "authorMemberId"?: string, readonly "authorRemoteThreadId"?: string, readonly "replyTo"?: Union_66, readonly "delivery"?: "quiet" | "wake" | "steer", readonly "mentions"?: Arrays_40, readonly "attachments"?: Arrays_41, readonly "purpose"?: "artifact", readonly "targets": Arrays_42, readonly "revision": number, readonly "text": string | null, readonly "bodyState": "present" | "withdrawn" | "deleted" | "unavailable", readonly "textWindow"?: Objects_59, readonly "createdAt": string } | { readonly "kind": "record", readonly "recordId": string, readonly "from": Union_33, readonly "to": Union_34, readonly "replyTo": string | null, readonly "text": string | null, readonly "delivery": "quiet" | "wake" | "steer", readonly "createdAt": string, readonly "stages": Objects_77, readonly "idempotencyKey"?: string | undefined, readonly "runId"?: string | undefined, readonly "toRole"?: string | undefined, readonly "attachments"?: Union_35, readonly "bodyState": "present" | "withdrawn" | "deleted" | "unavailable", readonly "projectId": string | null, readonly "sequence": number, readonly "claim": Union_37, readonly "textWindow"?: Objects_59, readonly "group"?: Objects_79, readonly "mentions"?: Arrays_11, readonly "targets"?: Arrays_12, readonly "workItem"?: Objects_81, readonly "childReport"?: CommunicationChildReport } | { readonly "kind": "comment", 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_39, readonly "parentId": string | null, readonly "createdAt": string, readonly "editedAt": string | null }>;
1062
1062
  export type CommunicationPostsListInput = Objects_82 | Objects_83 | Objects_84 | Objects_85 | { readonly "projectId": string, readonly "since"?: string | null, readonly "until"?: string | null, readonly "cursor"?: string | null, readonly "limit"?: number, readonly "workItemId": string };
1063
- export type CommunicationPostsListOutput = { readonly "items": ReadonlyArray<{ readonly "kind": "post", readonly "sequence": number, readonly "post": { readonly "postId": string, readonly "projectId": string, readonly "sequence": number, readonly "anchor": Union_64, readonly "inGroup"?: true, readonly "author": Union_55, readonly "notification"?: CommunicationPostNotification, readonly "notificationResolution"?: CommunicationPostNotificationResolution, readonly "authorName"?: string, readonly "authorMemberId"?: string, readonly "authorRemoteThreadId"?: string, readonly "replyTo"?: Union_65, readonly "delivery"?: "quiet" | "wake" | "steer", readonly "mentions"?: Arrays_40, readonly "attachments"?: Arrays_41, readonly "purpose"?: "artifact", readonly "targets": Arrays_42, readonly "revision": number, readonly "bodyState": "present" | "withdrawn" | "deleted" | "unavailable", readonly "createdAt": string, readonly "textPreview": string | null, readonly "textTruncated": boolean } } | { readonly "kind": "record", readonly "sequence": number, readonly "record": Objects_87 } | { readonly "kind": "comment", readonly "sequence": number, readonly "comment": Objects_186 }>, readonly "nextCursor": string | null, readonly "snapshotSequence": number };
1063
+ export type CommunicationPostsListOutput = { readonly "items": ReadonlyArray<{ readonly "kind": "post", readonly "sequence": number, readonly "post": { readonly "postId": string, readonly "projectId": string, readonly "sequence": number, readonly "anchor": Union_65, readonly "inGroup"?: true, readonly "author": Union_56, readonly "notification"?: CommunicationPostNotification, readonly "notificationResolution"?: CommunicationPostNotificationResolution, readonly "authorName"?: string, readonly "authorMemberId"?: string, readonly "authorRemoteThreadId"?: string, readonly "replyTo"?: Union_66, readonly "delivery"?: "quiet" | "wake" | "steer", readonly "mentions"?: Arrays_40, readonly "attachments"?: Arrays_41, readonly "purpose"?: "artifact", readonly "targets": Arrays_42, readonly "revision": number, readonly "bodyState": "present" | "withdrawn" | "deleted" | "unavailable", readonly "createdAt": string, readonly "textPreview": string | null, readonly "textTruncated": boolean } } | { readonly "kind": "record", readonly "sequence": number, readonly "record": Objects_87 } | { readonly "kind": "comment", readonly "sequence": number, readonly "comment": Objects_185 }>, readonly "nextCursor": string | null, readonly "snapshotSequence": number };
1064
1064
  export type CommunicationPostsMarkReadInput = { readonly "projectId": string, readonly "requestId"?: string, readonly "items": ReadonlyArray<CommunicationPostMarkReadItem> };
1065
1065
  export type CommunicationPostsMarkReadOutput = { readonly "sequence": number, readonly "result": CommunicationPostMarkReadResult, readonly "replayed"?: boolean };
1066
1066
  export type MembersExternalWakesClaimInput = { readonly "requestId"?: string };
@@ -1076,31 +1076,31 @@ export type ThreadsMembersGetOutput = ReadonlyArray<ThreadMembersState>;
1076
1076
  export type ThreadsMembersUpdateInput = { readonly "projectId": string, readonly "thread": ThreadMemberThreadRefInput, readonly "requestId"?: string, readonly "expectedVersion": number, readonly "add"?: ThreadMembersInput, readonly "remove"?: ThreadMembersInput_1 };
1077
1077
  export type ThreadsMembersUpdateOutput = { readonly "sequence": number, readonly "result": ThreadMembersUpdateResult, readonly "replayed"?: boolean };
1078
1078
  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 }> };
1079
- export type ProjectsMachinesThreadsListEncodedOutput = { readonly "items": ReadonlyArray<Objects_220>, readonly "nextCursor": string | null, readonly "snapshotSequence": number, readonly "historyEpoch"?: string, readonly "machine": Objects_231 };
1080
- export type ProjectsMachinesThreadsGetEncodedOutput = { readonly "thread": Objects_220, 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_231 };
1081
- export type ProjectsMachinesThreadsMessagesListEncodedOutput = Objects_232;
1082
- 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_66, readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "interactionMode": "default" | "plan", readonly "modelSelection": Objects_222, 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_223, readonly "runtime"?: Objects_230 }>, readonly "nextCursor": string | null, readonly "snapshotSequence": number, readonly "historyEpoch"?: string };
1083
- export type ThreadsArchivedListEncodedOutput = { readonly "snapshotSequence": number, readonly "projects": ReadonlyArray<Objects_245>, readonly "threads": ReadonlyArray<Objects_247>, readonly "updatedAt": string };
1084
- export type ThreadsHistoryEncodedOutput = { readonly "snapshotSequence": number, readonly "historyEpoch"?: string, readonly "thread": { readonly "id": string, readonly "projectId": string, readonly "title": string, readonly "modelSelection": Objects_222, readonly "actualModel"?: { readonly "selection": Objects_222, readonly "requested": Objects_222, 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_69, readonly "origin"?: Union_70, readonly "forkedFrom"?: Union_84, readonly "presetId"?: string | null | undefined, readonly "memberId"?: string | undefined, readonly "members"?: ThreadMembers_1, readonly "createdBy"?: Union_71, readonly "creatorPrincipal"?: ThreadCreatorPrincipal_1, readonly "latestTurn": Union_72, 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_85, 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_85, 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_208 | 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_86, 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_22 | Objects_115 }, readonly "runSettings"?: { readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access", readonly "interactionMode": "default" | "plan", readonly "nativeModeId"?: string }, readonly "origin"?: Objects_45 | Objects_234 | Objects_235 | Objects_236 | Objects_237 | Objects_238 | Objects_239 | Objects_240 | Objects_241 | Objects_242 | Objects_243 | Objects_56 | Objects_57 | Objects_244, readonly "sourceBlocks"?: ReadonlyArray<{ readonly "origin"?: Objects_45 | Objects_234 | Objects_235 | Objects_236 | Objects_237 | Objects_238 | Objects_239 | Objects_240 | Objects_241 | Objects_242 | Objects_243 | Objects_56 | Objects_57 | Objects_244, readonly "textOffset": number, readonly "textLength": number }>, readonly "noticesFolded"?: true, readonly "binding"?: { readonly "bindingId": string, readonly "generation": number, readonly "selection": Objects_208, 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_87, 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_151 | 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_227 | null | undefined, readonly "titleState"?: Objects_228 | null | undefined, readonly "deletedAt": string | null, readonly "messages": ReadonlyArray<{ readonly "rewrite"?: Union_79, readonly "id": string, readonly "role": "user" | "assistant" | "system", readonly "text": string, readonly "attachments"?: ReadonlyArray<Union_88> | undefined, readonly "turnId": string | null, readonly "streaming": boolean, readonly "author"?: Union_80, readonly "recordId"?: string | undefined, readonly "modelSelection"?: Union_81, readonly "source"?: Union_82, readonly "origin"?: Union_83, 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_226>, readonly "runSegments"?: Arrays_10 }> | undefined, readonly "session": Objects_229 | 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 };
1085
- export type ThreadsExecutionGetEncodedOutput = { readonly "threadId": string, readonly "projectId": string, readonly "title": string, readonly "modelSelection": Objects_222, 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_224 | 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_73, 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_86, 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_226> } | 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_87, 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;
1086
- export type ThreadsMessagesGetEncodedOutput = { readonly "messageId": string, readonly "role": string, readonly "text": string, readonly "turnId": string | null, readonly "createdAt": string, readonly "modelSelection"?: Objects_222 | undefined, readonly "source"?: Objects_233 | undefined, readonly "attachments": ReadonlyArray<Union_88> } | null;
1087
- export type ThreadsGetEncodedOutput = Objects_247;
1088
- export type ThreadsMessagesListEncodedOutput = Objects_232;
1089
- export type ProjectsListEncodedOutput = ReadonlyArray<Objects_245>;
1090
- export type ProjectsGetEncodedOutput = Objects_245;
1079
+ export type ProjectsMachinesThreadsListEncodedOutput = { readonly "items": ReadonlyArray<Objects_219>, readonly "nextCursor": string | null, readonly "snapshotSequence": number, readonly "historyEpoch"?: string, readonly "machine": Objects_230 };
1080
+ 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 };
1081
+ export type ProjectsMachinesThreadsMessagesListEncodedOutput = Objects_231;
1082
+ 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 };
1083
+ export type ThreadsArchivedListEncodedOutput = { readonly "snapshotSequence": number, readonly "projects": ReadonlyArray<Objects_244>, readonly "threads": ReadonlyArray<Objects_246>, readonly "updatedAt": string };
1084
+ 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_22 | 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 };
1085
+ 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;
1086
+ 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;
1087
+ export type ThreadsGetEncodedOutput = Objects_246;
1088
+ export type ThreadsMessagesListEncodedOutput = Objects_231;
1089
+ export type ProjectsListEncodedOutput = ReadonlyArray<Objects_244>;
1090
+ export type ProjectsGetEncodedOutput = Objects_244;
1091
1091
  export type MachineSettingsEditorsGetEncodedOutput = { readonly "availableEditors": ReadonlyArray<"file-manager">, readonly "editorDiscovery"?: unknown, readonly "shellRevealInFileManager"?: boolean, readonly "shellRevealInFileManagerKind"?: "finder" | "file-explorer" | "files" };
1092
1092
  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 } } }> };
1093
- 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_222 | null | undefined, readonly "sourceControlWritingStyle"?: { readonly "mode"?: "repo_conventions" | "conventional_commits" | "custom" | undefined, readonly "customInstructions"?: string | undefined, readonly "followChangeRequestTemplates"?: boolean | undefined } | undefined, readonly "sourceControlWriterModelSelection"?: Objects_222 | null | undefined, readonly "defaultProxyId"?: string | null | undefined, readonly "wallpaper"?: { readonly "base": Objects_250, readonly "sidebar": Objects_250 | null, readonly "workspace": Objects_250 | null, readonly "chat": Objects_250 | 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_89, readonly "catalogId"?: string | undefined, readonly "oauth"?: Union_42, readonly "addedBy"?: Union_90 } }, readonly "skills": { readonly [x: string]: { readonly "name": string, readonly "source": Objects_104 | Objects_125 | Objects_126, readonly "enabled"?: boolean | undefined, readonly "modelInvocable"?: boolean | undefined, readonly "userInvocable"?: boolean | undefined, readonly "providers"?: Union_91 } } }, readonly "observability": Objects_108 };
1093
+ 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 "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 };
1094
1094
  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_17, readonly "sessionMethods": Arrays_18, 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 };
1095
1095
  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_19, 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_20, readonly "windowsProcessTreeProtectionExplicitBreakaways"?: Arrays_21 };
1096
- export type ProvidersSelectionResolveEncodedOutput = { readonly "modelSelection": Objects_114, 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 }> };
1096
+ 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 }> };
1097
1097
  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 };
1098
- export type ProjectsConfigGetEncodedOutput = { readonly "actions"?: ReadonlyArray<Objects_246>, readonly "tasks"?: Objects_122, readonly "mcpServers"?: { readonly [x: string]: { readonly "name": string, readonly "transport": { readonly "type": "stdio", readonly "command": string, readonly "args"?: Union_45, readonly "envNames": Arrays_25 } | { readonly "type": "http", readonly "url": string, readonly "headerNames": Arrays_26 } | { readonly "type": "sse", readonly "url": string, readonly "headerNames": Arrays_27 }, readonly "enabled"?: boolean | undefined, readonly "providers"?: Union_89, readonly "catalogId"?: string | undefined, readonly "oauth"?: Union_42, readonly "addedBy"?: Union_90, readonly "missingSecrets"?: Arrays_28 } }, 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_91 } }, readonly "projectId": string, readonly "revision": number, readonly "source": "home" | "copy", readonly "homeEnvironmentId"?: string, readonly "syncedAt"?: string, readonly "homeOutdated"?: true };
1099
- 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_251> }> | 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 "proxyIds"?: Union_49, readonly "state": "loaded" | "failed" | "stopped" | "disabled", readonly "contributions": Arrays_30, readonly "failure": { readonly "phase": string, readonly "message": string, readonly "kind"?: string | undefined } | null, readonly "threadId": string | null, readonly "runtimeStats"?: Union_50, readonly "removable"?: boolean | undefined, readonly "permissions"?: ReadonlyArray<Objects_128 | { readonly "kind": "fs.read", readonly "paths": ReadonlyArray<string> } | Objects_129 | Objects_130 | Objects_131 | Objects_132 | Objects_133 | { readonly "kind": "process.spawn", readonly "programs": ReadonlyArray<string | { readonly "key": string, readonly "program": string, readonly "displayName"?: string | undefined }>, readonly "maxConcurrent"?: number } | Objects_134 | Objects_135 | { readonly "kind": "network.serve", readonly "services": ReadonlyArray<{ readonly "name": string, readonly "routes": ReadonlyArray<Objects_251> }> } | Objects_136 | Objects_137 | Objects_138 | Objects_139 | Objects_140 | Objects_141 | Objects_142 | Objects_143 | { 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_51 }> | 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_31, readonly "titleKey": string, readonly "icon"?: string | undefined, readonly "order"?: number | undefined }> | undefined, readonly "development"?: { readonly "command": string, readonly "args": Arrays_32, readonly "watch": ReadonlyArray<string> } | undefined } | undefined, readonly "executors"?: ReadonlyArray<unknown> | undefined }>, readonly "nextCursor"?: string | null };
1100
- export type SchedulesListEncodedOutput = { readonly "schedules": ReadonlyArray<{ readonly "scheduleId": string, readonly "projectId": string, readonly "name": string, readonly "prompt": string, readonly "repeat": Objects_151, readonly "modelSelection": Objects_222, 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_150 | { readonly "kind": "thread", readonly "threadId": string } | { readonly "kind": "plugin", readonly "pluginId": string }, readonly "createdAt": string, readonly "updatedAt": string }> };
1101
- 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_222, readonly "homeSync"?: "delivered" | "pending" | "needs-attention" | "refused" }>, readonly "nextCursor": string | null };
1102
- 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_92, readonly "identity": Union_93, readonly "agent": Union_94, readonly "workInstructionsRevision": number | null, readonly "version": number, readonly "createdBy": Union_95, readonly "createdAt": string, readonly "updatedAt": string, readonly "removedAt": string | null, readonly "trial"?: Objects_252 }>, readonly "nextCursor": string | null, readonly "snapshotSequence": number };
1103
- 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_92, readonly "identity": Union_93, readonly "agent": Union_94, readonly "workInstructionsRevision": number | null, readonly "version": number, readonly "createdBy": Union_95, readonly "createdAt": string, readonly "updatedAt": string, readonly "removedAt": string | null, readonly "trial"?: Objects_252, readonly "workInstructions": string | null, readonly "workInstructionsWindow"?: Objects_59 }, readonly "snapshotSequence": number };
1098
+ 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_25 } | { readonly "type": "http", readonly "url": string, readonly "headerNames": Arrays_26 } | { readonly "type": "sse", readonly "url": string, readonly "headerNames": Arrays_27 }, readonly "enabled"?: boolean | undefined, readonly "providers"?: Union_90, readonly "catalogId"?: string | undefined, readonly "oauth"?: Union_42, readonly "addedBy"?: Union_91, readonly "missingSecrets"?: Arrays_28 } }, 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 };
1099
+ 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_30, 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_31, readonly "titleKey": string, readonly "icon"?: string | undefined, readonly "order"?: number | undefined }> | undefined, readonly "development"?: { readonly "command": string, readonly "args": Arrays_32, readonly "watch": ReadonlyArray<string> } | undefined } | undefined, readonly "executors"?: ReadonlyArray<unknown> | undefined }>, readonly "nextCursor"?: string | null };
1100
+ 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 }> };
1101
+ 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 };
1102
+ 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 };
1103
+ 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 };
1104
1104
 
1105
1105
  export const COMMUNICATION_RECORDS_READ_LIMIT = 100;
1106
1106
  export const MEMBER_INSTRUCTIONS_MAX_BYTES = 32768;