@getpaseo/protocol 0.2.4 → 0.3.0-beta.1

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.
@@ -13,6 +13,9 @@ export declare const TerminalProfileSchema: z.ZodObject<{
13
13
  }, z.core.$loose>;
14
14
  export type TerminalProfile = z.infer<typeof TerminalProfileSchema>;
15
15
  export declare const MutableDaemonConfigSchema: z.ZodObject<{
16
+ relay: z.ZodOptional<z.ZodObject<{
17
+ enabled: z.ZodBoolean;
18
+ }, z.core.$loose>>;
16
19
  mcp: z.ZodObject<{
17
20
  injectIntoAgents: z.ZodBoolean;
18
21
  }, z.core.$loose>;
@@ -47,6 +50,9 @@ export declare const MutableDaemonConfigSchema: z.ZodObject<{
47
50
  }, z.core.$loose>>>;
48
51
  }, z.core.$loose>;
49
52
  export declare const MutableDaemonConfigPatchSchema: z.ZodObject<{
53
+ relay: z.ZodOptional<z.ZodOptional<z.ZodObject<{
54
+ enabled: z.ZodOptional<z.ZodBoolean>;
55
+ }, z.core.$loose>>>;
50
56
  mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
51
57
  injectIntoAgents: z.ZodOptional<z.ZodBoolean>;
52
58
  }, z.core.$loose>>>;
@@ -83,7 +89,7 @@ export declare const MutableDaemonConfigPatchSchema: z.ZodObject<{
83
89
  }, z.core.$loose>;
84
90
  export type MutableDaemonConfig = z.infer<typeof MutableDaemonConfigSchema>;
85
91
  export type MutableDaemonConfigPatch = z.infer<typeof MutableDaemonConfigPatchSchema>;
86
- import type { AgentCapabilityFlags, AgentModelDefinition, AgentMode, AgentPermissionRequest, AgentPermissionResponse, AgentPersistenceHandle, ProviderStatus, AgentRuntimeInfo, AgentTimelineItem, AgentProviderNotice, AgentUsage } from "./agent-types.js";
92
+ import type { AgentCapabilityFlags, AgentMode, AgentPermissionRequest, AgentPermissionResponse, AgentPersistenceHandle, ProviderStatus, AgentRuntimeInfo, AgentTimelineItem, AgentProviderNotice, AgentUsage } from "./agent-types.js";
87
93
  export declare const AgentStatusSchema: z.ZodEnum<{
88
94
  error: "error";
89
95
  initializing: "initializing";
@@ -149,13 +155,111 @@ export declare const ProviderSnapshotEntrySchema: z.ZodObject<{
149
155
  custom: "custom";
150
156
  }>>;
151
157
  error: z.ZodOptional<z.ZodString>;
152
- models: z.ZodOptional<z.ZodArray<z.ZodType<AgentModelDefinition, unknown, z.core.$ZodTypeInternals<AgentModelDefinition, unknown>>>>;
158
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
159
+ provider: z.ZodString;
160
+ id: z.ZodString;
161
+ label: z.ZodString;
162
+ description: z.ZodOptional<z.ZodString>;
163
+ isDefault: z.ZodOptional<z.ZodBoolean>;
164
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
165
+ contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
166
+ thinkingOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
167
+ id: z.ZodString;
168
+ label: z.ZodString;
169
+ description: z.ZodOptional<z.ZodString>;
170
+ isDefault: z.ZodOptional<z.ZodBoolean>;
171
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
172
+ }, z.core.$strip>>>;
173
+ defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
174
+ }, z.core.$strip>>>;
153
175
  modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
154
176
  fetchedAt: z.ZodOptional<z.ZodString>;
155
177
  label: z.ZodOptional<z.ZodString>;
156
178
  description: z.ZodOptional<z.ZodString>;
157
179
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
158
180
  }, z.core.$strip>;
181
+ export declare const CompactProviderSnapshotModelSchema: z.ZodObject<{
182
+ description: z.ZodOptional<z.ZodString>;
183
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
184
+ id: z.ZodString;
185
+ label: z.ZodString;
186
+ isDefault: z.ZodOptional<z.ZodBoolean>;
187
+ contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
188
+ defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
189
+ thinkingSet: z.ZodOptional<z.ZodNumber>;
190
+ }, z.core.$strip>;
191
+ export declare const ProviderSnapshotThinkingSetSchema: z.ZodObject<{
192
+ options: z.ZodArray<z.ZodObject<{
193
+ id: z.ZodString;
194
+ label: z.ZodString;
195
+ description: z.ZodOptional<z.ZodString>;
196
+ isDefault: z.ZodOptional<z.ZodBoolean>;
197
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
198
+ }, z.core.$strip>>;
199
+ defaultOptionId: z.ZodOptional<z.ZodString>;
200
+ }, z.core.$strip>;
201
+ export declare const CompactProviderSnapshotEntrySchema: z.ZodObject<{
202
+ error: z.ZodOptional<z.ZodString>;
203
+ description: z.ZodOptional<z.ZodString>;
204
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
205
+ label: z.ZodOptional<z.ZodString>;
206
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
207
+ defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
208
+ provider: z.ZodString;
209
+ source: z.ZodOptional<z.ZodEnum<{
210
+ builtin: "builtin";
211
+ custom: "custom";
212
+ }>>;
213
+ modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
214
+ fetchedAt: z.ZodOptional<z.ZodString>;
215
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
216
+ description: z.ZodOptional<z.ZodString>;
217
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
218
+ id: z.ZodString;
219
+ label: z.ZodString;
220
+ isDefault: z.ZodOptional<z.ZodBoolean>;
221
+ contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
222
+ defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
223
+ thinkingSet: z.ZodOptional<z.ZodNumber>;
224
+ }, z.core.$strip>>>;
225
+ }, z.core.$strip>;
226
+ export declare const CompactProviderSnapshotSchema: z.ZodObject<{
227
+ entries: z.ZodArray<z.ZodObject<{
228
+ error: z.ZodOptional<z.ZodString>;
229
+ description: z.ZodOptional<z.ZodString>;
230
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
231
+ label: z.ZodOptional<z.ZodString>;
232
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
233
+ defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
234
+ provider: z.ZodString;
235
+ source: z.ZodOptional<z.ZodEnum<{
236
+ builtin: "builtin";
237
+ custom: "custom";
238
+ }>>;
239
+ modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
240
+ fetchedAt: z.ZodOptional<z.ZodString>;
241
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
242
+ description: z.ZodOptional<z.ZodString>;
243
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
244
+ id: z.ZodString;
245
+ label: z.ZodString;
246
+ isDefault: z.ZodOptional<z.ZodBoolean>;
247
+ contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
248
+ defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
249
+ thinkingSet: z.ZodOptional<z.ZodNumber>;
250
+ }, z.core.$strip>>>;
251
+ }, z.core.$strip>>;
252
+ thinkingSets: z.ZodArray<z.ZodObject<{
253
+ options: z.ZodArray<z.ZodObject<{
254
+ id: z.ZodString;
255
+ label: z.ZodString;
256
+ description: z.ZodOptional<z.ZodString>;
257
+ isDefault: z.ZodOptional<z.ZodBoolean>;
258
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
259
+ }, z.core.$strip>>;
260
+ defaultOptionId: z.ZodOptional<z.ZodString>;
261
+ }, z.core.$strip>>;
262
+ }, z.core.$strip>;
159
263
  export declare const AgentPermissionResponseSchema: z.ZodType<AgentPermissionResponse>;
160
264
  export declare const AgentPermissionRequestPayloadSchema: z.ZodType<AgentPermissionRequest, unknown>;
161
265
  export declare const AgentTimelineItemPayloadSchema: z.ZodType<AgentTimelineItem, unknown>;
@@ -166,19 +270,23 @@ export declare const AgentStreamEventPayloadSchema: z.ZodDiscriminatedUnion<[z.Z
166
270
  }, z.core.$strip>, z.ZodObject<{
167
271
  type: z.ZodLiteral<"turn_started">;
168
272
  provider: z.ZodString;
273
+ turnId: z.ZodOptional<z.ZodString>;
169
274
  }, z.core.$strip>, z.ZodObject<{
170
275
  type: z.ZodLiteral<"turn_completed">;
171
276
  provider: z.ZodString;
277
+ turnId: z.ZodOptional<z.ZodString>;
172
278
  usage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
173
279
  }, z.core.$strip>, z.ZodObject<{
174
280
  type: z.ZodLiteral<"turn_failed">;
175
281
  provider: z.ZodString;
282
+ turnId: z.ZodOptional<z.ZodString>;
176
283
  error: z.ZodString;
177
284
  code: z.ZodOptional<z.ZodString>;
178
285
  diagnostic: z.ZodOptional<z.ZodString>;
179
286
  }, z.core.$strip>, z.ZodObject<{
180
287
  type: z.ZodLiteral<"turn_canceled">;
181
288
  provider: z.ZodString;
289
+ turnId: z.ZodOptional<z.ZodString>;
182
290
  reason: z.ZodString;
183
291
  }, z.core.$strip>, z.ZodObject<{
184
292
  type: z.ZodLiteral<"timeline">;
@@ -260,6 +368,10 @@ export declare const AgentSnapshotPayloadSchema: z.ZodObject<{
260
368
  running: "running";
261
369
  closed: "closed";
262
370
  }>;
371
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
372
+ turnId: z.ZodString;
373
+ startedAt: z.ZodNullable<z.ZodString>;
374
+ }, z.core.$strip>>>;
263
375
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
264
376
  currentModeId: z.ZodNullable<z.ZodString>;
265
377
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -360,12 +472,29 @@ export declare const UpdateAgentRequestMessageSchema: z.ZodObject<{
360
472
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
361
473
  requestId: z.ZodString;
362
474
  }, z.core.$strip>;
475
+ export declare const ProjectIconSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
476
+ type: z.ZodLiteral<"automatic">;
477
+ }, z.core.$strip>, z.ZodObject<{
478
+ type: z.ZodLiteral<"upload">;
479
+ data: z.ZodString;
480
+ }, z.core.$strip>], "type">;
363
481
  export declare const ProjectRenameRequestSchema: z.ZodObject<{
364
482
  type: z.ZodLiteral<"project.rename.request">;
365
483
  projectId: z.ZodString;
366
484
  customName: z.ZodNullable<z.ZodString>;
367
485
  requestId: z.ZodString;
368
486
  }, z.core.$strip>;
487
+ export declare const ProjectIconSetRequestSchema: z.ZodObject<{
488
+ type: z.ZodLiteral<"project.icon.set.request">;
489
+ projectId: z.ZodString;
490
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
491
+ type: z.ZodLiteral<"automatic">;
492
+ }, z.core.$strip>, z.ZodObject<{
493
+ type: z.ZodLiteral<"upload">;
494
+ data: z.ZodString;
495
+ }, z.core.$strip>], "type">;
496
+ requestId: z.ZodString;
497
+ }, z.core.$strip>;
369
498
  export declare const ProjectRemoveRequestSchema: z.ZodObject<{
370
499
  type: z.ZodLiteral<"project.remove.request">;
371
500
  projectId: z.ZodString;
@@ -1001,6 +1130,9 @@ export declare const SetDaemonConfigRequestMessageSchema: z.ZodObject<{
1001
1130
  type: z.ZodLiteral<"set_daemon_config_request">;
1002
1131
  requestId: z.ZodString;
1003
1132
  config: z.ZodObject<{
1133
+ relay: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1134
+ enabled: z.ZodOptional<z.ZodBoolean>;
1135
+ }, z.core.$loose>>>;
1004
1136
  mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1005
1137
  injectIntoAgents: z.ZodOptional<z.ZodBoolean>;
1006
1138
  }, z.core.$loose>>>;
@@ -1311,6 +1443,7 @@ export declare const ListAvailableProvidersRequestMessageSchema: z.ZodObject<{
1311
1443
  export declare const GetProvidersSnapshotRequestMessageSchema: z.ZodObject<{
1312
1444
  type: z.ZodLiteral<"get_providers_snapshot_request">;
1313
1445
  cwd: z.ZodOptional<z.ZodString>;
1446
+ ifNoneMatch: z.ZodOptional<z.ZodString>;
1314
1447
  requestId: z.ZodString;
1315
1448
  }, z.core.$strip>;
1316
1449
  export declare const RefreshProvidersSnapshotRequestMessageSchema: z.ZodObject<{
@@ -1424,6 +1557,12 @@ export declare const FetchAgentTimelineRequestMessageSchema: z.ZodObject<{
1424
1557
  projected: "projected";
1425
1558
  canonical: "canonical";
1426
1559
  }>>;
1560
+ mergeWindow: z.ZodOptional<z.ZodBoolean>;
1561
+ }, z.core.$strip>;
1562
+ export declare const AgentTimelineListPromptsRequestMessageSchema: z.ZodObject<{
1563
+ type: z.ZodLiteral<"agent.timeline.list_prompts.request">;
1564
+ agentId: z.ZodString;
1565
+ requestId: z.ZodString;
1427
1566
  }, z.core.$strip>;
1428
1567
  export declare const ProviderSubagentListRequestMessageSchema: z.ZodObject<{
1429
1568
  type: z.ZodLiteral<"agent.provider_subagents.list.request">;
@@ -1593,6 +1732,15 @@ export declare const ProjectRenameResponseSchema: z.ZodObject<{
1593
1732
  error: z.ZodNullable<z.ZodString>;
1594
1733
  }, z.core.$strip>;
1595
1734
  }, z.core.$strip>;
1735
+ export declare const ProjectIconSetResponseSchema: z.ZodObject<{
1736
+ type: z.ZodLiteral<"project.icon.set.response">;
1737
+ payload: z.ZodObject<{
1738
+ requestId: z.ZodString;
1739
+ projectId: z.ZodString;
1740
+ accepted: z.ZodBoolean;
1741
+ error: z.ZodNullable<z.ZodString>;
1742
+ }, z.core.$strip>;
1743
+ }, z.core.$strip>;
1596
1744
  export declare const ProjectRemoveResponsePayloadSchema: z.ZodObject<{
1597
1745
  requestId: z.ZodString;
1598
1746
  projectId: z.ZodString;
@@ -2562,6 +2710,11 @@ export declare const ProjectIconRequestSchema: z.ZodObject<{
2562
2710
  cwd: z.ZodString;
2563
2711
  requestId: z.ZodString;
2564
2712
  }, z.core.$strip>;
2713
+ export declare const ProjectIconGetRequestSchema: z.ZodObject<{
2714
+ type: z.ZodLiteral<"project.icon.get.request">;
2715
+ projectId: z.ZodString;
2716
+ requestId: z.ZodString;
2717
+ }, z.core.$strip>;
2565
2718
  export declare const FileDownloadTokenRequestSchema: z.ZodObject<{
2566
2719
  type: z.ZodLiteral<"file_download_token_request">;
2567
2720
  cwd: z.ZodString;
@@ -2717,6 +2870,10 @@ export declare const TerminalInputSchema: z.ZodObject<{
2717
2870
  type: z.ZodLiteral<"resize">;
2718
2871
  rows: z.ZodNumber;
2719
2872
  cols: z.ZodNumber;
2873
+ intent: z.ZodOptional<z.ZodEnum<{
2874
+ claim: "claim";
2875
+ update: "update";
2876
+ }>>;
2720
2877
  }, z.core.$strip>, z.ZodObject<{
2721
2878
  type: z.ZodLiteral<"mouse">;
2722
2879
  row: z.ZodNumber;
@@ -2755,6 +2912,23 @@ export declare const HubExecutionAgentCreateRequestSchema: z.ZodObject<{
2755
2912
  thinkingOptionId: z.ZodOptional<z.ZodString>;
2756
2913
  featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2757
2914
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2915
+ mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
2916
+ type: z.ZodLiteral<"stdio">;
2917
+ command: z.ZodString;
2918
+ args: z.ZodOptional<z.ZodArray<z.ZodString>>;
2919
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2920
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
2921
+ }, z.core.$strip>, z.ZodObject<{
2922
+ type: z.ZodLiteral<"http">;
2923
+ url: z.ZodString;
2924
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2925
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
2926
+ }, z.core.$strip>, z.ZodObject<{
2927
+ type: z.ZodLiteral<"sse">;
2928
+ url: z.ZodString;
2929
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2930
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
2931
+ }, z.core.$strip>], "type">>>;
2758
2932
  worktree: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2759
2933
  mode: z.ZodLiteral<"branch-off">;
2760
2934
  newBranch: z.ZodString;
@@ -2796,6 +2970,23 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
2796
2970
  thinkingOptionId: z.ZodOptional<z.ZodString>;
2797
2971
  featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2798
2972
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2973
+ mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
2974
+ type: z.ZodLiteral<"stdio">;
2975
+ command: z.ZodString;
2976
+ args: z.ZodOptional<z.ZodArray<z.ZodString>>;
2977
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2978
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
2979
+ }, z.core.$strip>, z.ZodObject<{
2980
+ type: z.ZodLiteral<"http">;
2981
+ url: z.ZodString;
2982
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2983
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
2984
+ }, z.core.$strip>, z.ZodObject<{
2985
+ type: z.ZodLiteral<"sse">;
2986
+ url: z.ZodString;
2987
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2988
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
2989
+ }, z.core.$strip>], "type">>>;
2799
2990
  worktree: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2800
2991
  mode: z.ZodLiteral<"branch-off">;
2801
2992
  newBranch: z.ZodString;
@@ -3168,6 +3359,16 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
3168
3359
  projectId: z.ZodString;
3169
3360
  customName: z.ZodNullable<z.ZodString>;
3170
3361
  requestId: z.ZodString;
3362
+ }, z.core.$strip>, z.ZodObject<{
3363
+ type: z.ZodLiteral<"project.icon.set.request">;
3364
+ projectId: z.ZodString;
3365
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
3366
+ type: z.ZodLiteral<"automatic">;
3367
+ }, z.core.$strip>, z.ZodObject<{
3368
+ type: z.ZodLiteral<"upload">;
3369
+ data: z.ZodString;
3370
+ }, z.core.$strip>], "type">;
3371
+ requestId: z.ZodString;
3171
3372
  }, z.core.$strip>, z.ZodObject<{
3172
3373
  type: z.ZodLiteral<"project.remove.request">;
3173
3374
  projectId: z.ZodString;
@@ -3315,6 +3516,9 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
3315
3516
  type: z.ZodLiteral<"set_daemon_config_request">;
3316
3517
  requestId: z.ZodString;
3317
3518
  config: z.ZodObject<{
3519
+ relay: z.ZodOptional<z.ZodOptional<z.ZodObject<{
3520
+ enabled: z.ZodOptional<z.ZodBoolean>;
3521
+ }, z.core.$loose>>>;
3318
3522
  mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
3319
3523
  injectIntoAgents: z.ZodOptional<z.ZodBoolean>;
3320
3524
  }, z.core.$loose>>>;
@@ -3593,6 +3797,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
3593
3797
  }, z.core.$strip>, z.ZodObject<{
3594
3798
  type: z.ZodLiteral<"get_providers_snapshot_request">;
3595
3799
  cwd: z.ZodOptional<z.ZodString>;
3800
+ ifNoneMatch: z.ZodOptional<z.ZodString>;
3596
3801
  requestId: z.ZodString;
3597
3802
  }, z.core.$strip>, z.ZodObject<{
3598
3803
  type: z.ZodLiteral<"refresh_providers_snapshot_request">;
@@ -3691,6 +3896,11 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
3691
3896
  projected: "projected";
3692
3897
  canonical: "canonical";
3693
3898
  }>>;
3899
+ mergeWindow: z.ZodOptional<z.ZodBoolean>;
3900
+ }, z.core.$strip>, z.ZodObject<{
3901
+ type: z.ZodLiteral<"agent.timeline.list_prompts.request">;
3902
+ agentId: z.ZodString;
3903
+ requestId: z.ZodString;
3694
3904
  }, z.core.$strip>, z.ZodObject<{
3695
3905
  type: z.ZodLiteral<"agent.provider_subagents.list.request">;
3696
3906
  parentAgentId: z.ZodString;
@@ -4351,6 +4561,10 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
4351
4561
  type: z.ZodLiteral<"project_icon_request">;
4352
4562
  cwd: z.ZodString;
4353
4563
  requestId: z.ZodString;
4564
+ }, z.core.$strip>, z.ZodObject<{
4565
+ type: z.ZodLiteral<"project.icon.get.request">;
4566
+ projectId: z.ZodString;
4567
+ requestId: z.ZodString;
4354
4568
  }, z.core.$strip>, z.ZodObject<{
4355
4569
  type: z.ZodLiteral<"file_download_token_request">;
4356
4570
  cwd: z.ZodString;
@@ -4476,6 +4690,10 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
4476
4690
  type: z.ZodLiteral<"resize">;
4477
4691
  rows: z.ZodNumber;
4478
4692
  cols: z.ZodNumber;
4693
+ intent: z.ZodOptional<z.ZodEnum<{
4694
+ claim: "claim";
4695
+ update: "update";
4696
+ }>>;
4479
4697
  }, z.core.$strip>, z.ZodObject<{
4480
4698
  type: z.ZodLiteral<"mouse">;
4481
4699
  row: z.ZodNumber;
@@ -4838,8 +5056,12 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
4838
5056
  forgeCheckDetails: z.ZodOptional<z.ZodBoolean>;
4839
5057
  forgeSearch: z.ZodOptional<z.ZodBoolean>;
4840
5058
  daemonStatusRpc: z.ZodOptional<z.ZodBoolean>;
5059
+ relayConfig: z.ZodOptional<z.ZodBoolean>;
4841
5060
  "terminal-restore-modes": z.ZodOptional<z.ZodBoolean>;
5061
+ "terminal-input-mode-replay": z.ZodOptional<z.ZodBoolean>;
5062
+ "terminal-size-ownership": z.ZodOptional<z.ZodBoolean>;
4842
5063
  rewind: z.ZodOptional<z.ZodBoolean>;
5064
+ agentTimelinePromptIndex: z.ZodOptional<z.ZodBoolean>;
4843
5065
  checkoutRefresh: z.ZodOptional<z.ZodBoolean>;
4844
5066
  workspaceMultiplicity: z.ZodOptional<z.ZodBoolean>;
4845
5067
  projectRemove: z.ZodOptional<z.ZodBoolean>;
@@ -4867,8 +5089,11 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
4867
5089
  importSessionWorkspaceTarget: z.ZodOptional<z.ZodBoolean>;
4868
5090
  forgeProviders: z.ZodOptional<z.ZodBoolean>;
4869
5091
  selectiveAgentTimeline: z.ZodOptional<z.ZodBoolean>;
5092
+ canonicalSubmittedPrompts: z.ZodOptional<z.ZodBoolean>;
5093
+ agentTurnIdentity: z.ZodOptional<z.ZodBoolean>;
4870
5094
  stableProjectIdentity: z.ZodOptional<z.ZodBoolean>;
4871
5095
  workspaceScriptManagement: z.ZodOptional<z.ZodBoolean>;
5096
+ projectCustomIcon: z.ZodOptional<z.ZodBoolean>;
4872
5097
  }, z.core.$strip>>;
4873
5098
  }, z.core.$loose>, z.ZodTransform<{
4874
5099
  hostname: string | null;
@@ -4897,8 +5122,12 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
4897
5122
  forgeCheckDetails?: boolean | undefined;
4898
5123
  forgeSearch?: boolean | undefined;
4899
5124
  daemonStatusRpc?: boolean | undefined;
5125
+ relayConfig?: boolean | undefined;
4900
5126
  "terminal-restore-modes"?: boolean | undefined;
5127
+ "terminal-input-mode-replay"?: boolean | undefined;
5128
+ "terminal-size-ownership"?: boolean | undefined;
4901
5129
  rewind?: boolean | undefined;
5130
+ agentTimelinePromptIndex?: boolean | undefined;
4902
5131
  checkoutRefresh?: boolean | undefined;
4903
5132
  workspaceMultiplicity?: boolean | undefined;
4904
5133
  projectRemove?: boolean | undefined;
@@ -4926,8 +5155,11 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
4926
5155
  importSessionWorkspaceTarget?: boolean | undefined;
4927
5156
  forgeProviders?: boolean | undefined;
4928
5157
  selectiveAgentTimeline?: boolean | undefined;
5158
+ canonicalSubmittedPrompts?: boolean | undefined;
5159
+ agentTurnIdentity?: boolean | undefined;
4929
5160
  stableProjectIdentity?: boolean | undefined;
4930
5161
  workspaceScriptManagement?: boolean | undefined;
5162
+ projectCustomIcon?: boolean | undefined;
4931
5163
  } | undefined;
4932
5164
  }, {
4933
5165
  [x: string]: unknown;
@@ -4957,8 +5189,12 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
4957
5189
  forgeCheckDetails?: boolean | undefined;
4958
5190
  forgeSearch?: boolean | undefined;
4959
5191
  daemonStatusRpc?: boolean | undefined;
5192
+ relayConfig?: boolean | undefined;
4960
5193
  "terminal-restore-modes"?: boolean | undefined;
5194
+ "terminal-input-mode-replay"?: boolean | undefined;
5195
+ "terminal-size-ownership"?: boolean | undefined;
4961
5196
  rewind?: boolean | undefined;
5197
+ agentTimelinePromptIndex?: boolean | undefined;
4962
5198
  checkoutRefresh?: boolean | undefined;
4963
5199
  workspaceMultiplicity?: boolean | undefined;
4964
5200
  projectRemove?: boolean | undefined;
@@ -4986,8 +5222,11 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
4986
5222
  importSessionWorkspaceTarget?: boolean | undefined;
4987
5223
  forgeProviders?: boolean | undefined;
4988
5224
  selectiveAgentTimeline?: boolean | undefined;
5225
+ canonicalSubmittedPrompts?: boolean | undefined;
5226
+ agentTurnIdentity?: boolean | undefined;
4989
5227
  stableProjectIdentity?: boolean | undefined;
4990
5228
  workspaceScriptManagement?: boolean | undefined;
5229
+ projectCustomIcon?: boolean | undefined;
4991
5230
  } | undefined;
4992
5231
  }>>;
4993
5232
  export declare const StatusMessageSchema: z.ZodObject<{
@@ -5058,6 +5297,10 @@ export declare const AgentCreatedStatusPayloadSchema: z.ZodObject<{
5058
5297
  running: "running";
5059
5298
  closed: "closed";
5060
5299
  }>;
5300
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5301
+ turnId: z.ZodString;
5302
+ startedAt: z.ZodNullable<z.ZodString>;
5303
+ }, z.core.$strip>>>;
5061
5304
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
5062
5305
  currentModeId: z.ZodNullable<z.ZodString>;
5063
5306
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -5131,6 +5374,10 @@ export declare const AgentResumedStatusPayloadSchema: z.ZodObject<{
5131
5374
  running: "running";
5132
5375
  closed: "closed";
5133
5376
  }>;
5377
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5378
+ turnId: z.ZodString;
5379
+ startedAt: z.ZodNullable<z.ZodString>;
5380
+ }, z.core.$strip>>>;
5134
5381
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
5135
5382
  currentModeId: z.ZodNullable<z.ZodString>;
5136
5383
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -5175,6 +5422,9 @@ export declare const ShutdownRequestedStatusPayloadSchema: z.ZodObject<{
5175
5422
  export declare const DaemonConfigChangedStatusPayloadSchema: z.ZodObject<{
5176
5423
  status: z.ZodLiteral<"daemon_config_changed">;
5177
5424
  config: z.ZodObject<{
5425
+ relay: z.ZodOptional<z.ZodObject<{
5426
+ enabled: z.ZodBoolean;
5427
+ }, z.core.$loose>>;
5178
5428
  mcp: z.ZodObject<{
5179
5429
  injectIntoAgents: z.ZodBoolean;
5180
5430
  }, z.core.$loose>;
@@ -5253,6 +5503,10 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
5253
5503
  running: "running";
5254
5504
  closed: "closed";
5255
5505
  }>;
5506
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5507
+ turnId: z.ZodString;
5508
+ startedAt: z.ZodNullable<z.ZodString>;
5509
+ }, z.core.$strip>>>;
5256
5510
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
5257
5511
  currentModeId: z.ZodNullable<z.ZodString>;
5258
5512
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -5324,6 +5578,10 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
5324
5578
  running: "running";
5325
5579
  closed: "closed";
5326
5580
  }>;
5581
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5582
+ turnId: z.ZodString;
5583
+ startedAt: z.ZodNullable<z.ZodString>;
5584
+ }, z.core.$strip>>>;
5327
5585
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
5328
5586
  currentModeId: z.ZodNullable<z.ZodString>;
5329
5587
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -5364,6 +5622,9 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
5364
5622
  }, z.core.$strip>, z.ZodObject<{
5365
5623
  status: z.ZodLiteral<"daemon_config_changed">;
5366
5624
  config: z.ZodObject<{
5625
+ relay: z.ZodOptional<z.ZodObject<{
5626
+ enabled: z.ZodBoolean;
5627
+ }, z.core.$loose>>;
5367
5628
  mcp: z.ZodObject<{
5368
5629
  injectIntoAgents: z.ZodBoolean;
5369
5630
  }, z.core.$loose>;
@@ -5675,8 +5936,10 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
5675
5936
  projectId: z.ZodString;
5676
5937
  projectDisplayName: z.ZodString;
5677
5938
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5939
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5678
5940
  projectRootPath: z.ZodString;
5679
5941
  workspaceDirectory: z.ZodOptional<z.ZodString>;
5942
+ worktreeSlug: z.ZodOptional<z.ZodString>;
5680
5943
  projectKind: z.ZodEnum<{
5681
5944
  git: "git";
5682
5945
  directory: "directory";
@@ -5894,6 +6157,8 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
5894
6157
  publicProxyUrl?: string | null | undefined;
5895
6158
  }[];
5896
6159
  projectCustomName?: string | null | undefined;
6160
+ projectCustomIconRevision?: string | null | undefined;
6161
+ worktreeSlug?: string | undefined;
5897
6162
  title?: string | null | undefined;
5898
6163
  pinnedAt?: string | null | undefined;
5899
6164
  diffStat?: {
@@ -5999,7 +6264,9 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
5999
6264
  publicProxyUrl?: string | null | undefined;
6000
6265
  }[];
6001
6266
  projectCustomName?: string | null | undefined;
6267
+ projectCustomIconRevision?: string | null | undefined;
6002
6268
  workspaceDirectory?: string | undefined;
6269
+ worktreeSlug?: string | undefined;
6003
6270
  title?: string | null | undefined;
6004
6271
  pinnedAt?: string | null | undefined;
6005
6272
  diffStat?: {
@@ -6126,6 +6393,10 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
6126
6393
  running: "running";
6127
6394
  closed: "closed";
6128
6395
  }>;
6396
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6397
+ turnId: z.ZodString;
6398
+ startedAt: z.ZodNullable<z.ZodString>;
6399
+ }, z.core.$strip>>>;
6129
6400
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
6130
6401
  currentModeId: z.ZodNullable<z.ZodString>;
6131
6402
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -6240,19 +6511,23 @@ export declare const AgentStreamMessageSchema: z.ZodObject<{
6240
6511
  }, z.core.$strip>, z.ZodObject<{
6241
6512
  type: z.ZodLiteral<"turn_started">;
6242
6513
  provider: z.ZodString;
6514
+ turnId: z.ZodOptional<z.ZodString>;
6243
6515
  }, z.core.$strip>, z.ZodObject<{
6244
6516
  type: z.ZodLiteral<"turn_completed">;
6245
6517
  provider: z.ZodString;
6518
+ turnId: z.ZodOptional<z.ZodString>;
6246
6519
  usage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
6247
6520
  }, z.core.$strip>, z.ZodObject<{
6248
6521
  type: z.ZodLiteral<"turn_failed">;
6249
6522
  provider: z.ZodString;
6523
+ turnId: z.ZodOptional<z.ZodString>;
6250
6524
  error: z.ZodString;
6251
6525
  code: z.ZodOptional<z.ZodString>;
6252
6526
  diagnostic: z.ZodOptional<z.ZodString>;
6253
6527
  }, z.core.$strip>, z.ZodObject<{
6254
6528
  type: z.ZodLiteral<"turn_canceled">;
6255
6529
  provider: z.ZodString;
6530
+ turnId: z.ZodOptional<z.ZodString>;
6256
6531
  reason: z.ZodString;
6257
6532
  }, z.core.$strip>, z.ZodObject<{
6258
6533
  type: z.ZodLiteral<"timeline">;
@@ -6344,6 +6619,10 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
6344
6619
  running: "running";
6345
6620
  closed: "closed";
6346
6621
  }>;
6622
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6623
+ turnId: z.ZodString;
6624
+ startedAt: z.ZodNullable<z.ZodString>;
6625
+ }, z.core.$strip>>>;
6347
6626
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
6348
6627
  currentModeId: z.ZodNullable<z.ZodString>;
6349
6628
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -6411,6 +6690,10 @@ export declare const AgentListMessageSchema: z.ZodObject<{
6411
6690
  running: "running";
6412
6691
  closed: "closed";
6413
6692
  }>;
6693
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6694
+ turnId: z.ZodString;
6695
+ startedAt: z.ZodNullable<z.ZodString>;
6696
+ }, z.core.$strip>>>;
6414
6697
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
6415
6698
  currentModeId: z.ZodNullable<z.ZodString>;
6416
6699
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -6481,6 +6764,10 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
6481
6764
  running: "running";
6482
6765
  closed: "closed";
6483
6766
  }>;
6767
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6768
+ turnId: z.ZodString;
6769
+ startedAt: z.ZodNullable<z.ZodString>;
6770
+ }, z.core.$strip>>>;
6484
6771
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
6485
6772
  currentModeId: z.ZodNullable<z.ZodString>;
6486
6773
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -6634,6 +6921,10 @@ export declare const FetchAgentHistoryResponseMessageSchema: z.ZodObject<{
6634
6921
  running: "running";
6635
6922
  closed: "closed";
6636
6923
  }>;
6924
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6925
+ turnId: z.ZodString;
6926
+ startedAt: z.ZodNullable<z.ZodString>;
6927
+ }, z.core.$strip>>>;
6637
6928
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
6638
6929
  currentModeId: z.ZodNullable<z.ZodString>;
6639
6930
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -6762,6 +7053,7 @@ export declare const WorkspaceProjectDescriptorPayloadSchema: z.ZodObject<{
6762
7053
  projectKey: z.ZodOptional<z.ZodString>;
6763
7054
  projectDisplayName: z.ZodString;
6764
7055
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7056
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6765
7057
  projectRootPath: z.ZodString;
6766
7058
  projectKind: z.ZodEnum<{
6767
7059
  git: "git";
@@ -6779,8 +7071,10 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
6779
7071
  projectId: z.ZodString;
6780
7072
  projectDisplayName: z.ZodString;
6781
7073
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7074
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6782
7075
  projectRootPath: z.ZodString;
6783
7076
  workspaceDirectory: z.ZodOptional<z.ZodString>;
7077
+ worktreeSlug: z.ZodOptional<z.ZodString>;
6784
7078
  projectKind: z.ZodEnum<{
6785
7079
  git: "git";
6786
7080
  directory: "directory";
@@ -6998,6 +7292,8 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
6998
7292
  publicProxyUrl?: string | null | undefined;
6999
7293
  }[];
7000
7294
  projectCustomName?: string | null | undefined;
7295
+ projectCustomIconRevision?: string | null | undefined;
7296
+ worktreeSlug?: string | undefined;
7001
7297
  title?: string | null | undefined;
7002
7298
  pinnedAt?: string | null | undefined;
7003
7299
  diffStat?: {
@@ -7103,7 +7399,9 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
7103
7399
  publicProxyUrl?: string | null | undefined;
7104
7400
  }[];
7105
7401
  projectCustomName?: string | null | undefined;
7402
+ projectCustomIconRevision?: string | null | undefined;
7106
7403
  workspaceDirectory?: string | undefined;
7404
+ worktreeSlug?: string | undefined;
7107
7405
  title?: string | null | undefined;
7108
7406
  pinnedAt?: string | null | undefined;
7109
7407
  diffStat?: {
@@ -7189,6 +7487,7 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
7189
7487
  projectKey: z.ZodOptional<z.ZodString>;
7190
7488
  projectDisplayName: z.ZodString;
7191
7489
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7490
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7192
7491
  projectRootPath: z.ZodString;
7193
7492
  projectKind: z.ZodEnum<{
7194
7493
  git: "git";
@@ -7212,8 +7511,10 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
7212
7511
  projectId: z.ZodString;
7213
7512
  projectDisplayName: z.ZodString;
7214
7513
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7514
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7215
7515
  projectRootPath: z.ZodString;
7216
7516
  workspaceDirectory: z.ZodOptional<z.ZodString>;
7517
+ worktreeSlug: z.ZodOptional<z.ZodString>;
7217
7518
  projectKind: z.ZodEnum<{
7218
7519
  git: "git";
7219
7520
  directory: "directory";
@@ -7431,6 +7732,8 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
7431
7732
  publicProxyUrl?: string | null | undefined;
7432
7733
  }[];
7433
7734
  projectCustomName?: string | null | undefined;
7735
+ projectCustomIconRevision?: string | null | undefined;
7736
+ worktreeSlug?: string | undefined;
7434
7737
  title?: string | null | undefined;
7435
7738
  pinnedAt?: string | null | undefined;
7436
7739
  diffStat?: {
@@ -7536,7 +7839,9 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
7536
7839
  publicProxyUrl?: string | null | undefined;
7537
7840
  }[];
7538
7841
  projectCustomName?: string | null | undefined;
7842
+ projectCustomIconRevision?: string | null | undefined;
7539
7843
  workspaceDirectory?: string | undefined;
7844
+ worktreeSlug?: string | undefined;
7540
7845
  title?: string | null | undefined;
7541
7846
  pinnedAt?: string | null | undefined;
7542
7847
  diffStat?: {
@@ -7625,6 +7930,7 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
7625
7930
  projectKey: z.ZodOptional<z.ZodString>;
7626
7931
  projectDisplayName: z.ZodString;
7627
7932
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7933
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7628
7934
  projectRootPath: z.ZodString;
7629
7935
  projectKind: z.ZodEnum<{
7630
7936
  git: "git";
@@ -7644,6 +7950,7 @@ export declare const ProjectUpdateMessageSchema: z.ZodObject<{
7644
7950
  projectKey: z.ZodOptional<z.ZodString>;
7645
7951
  projectDisplayName: z.ZodString;
7646
7952
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7953
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7647
7954
  projectRootPath: z.ZodString;
7648
7955
  projectKind: z.ZodEnum<{
7649
7956
  git: "git";
@@ -7665,6 +7972,7 @@ export declare const ProjectListResponseMessageSchema: z.ZodObject<{
7665
7972
  projectKey: z.ZodOptional<z.ZodString>;
7666
7973
  projectDisplayName: z.ZodString;
7667
7974
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7975
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7668
7976
  projectRootPath: z.ZodString;
7669
7977
  projectKind: z.ZodEnum<{
7670
7978
  git: "git";
@@ -7806,8 +8114,10 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
7806
8114
  projectId: z.ZodString;
7807
8115
  projectDisplayName: z.ZodString;
7808
8116
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8117
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7809
8118
  projectRootPath: z.ZodString;
7810
8119
  workspaceDirectory: z.ZodOptional<z.ZodString>;
8120
+ worktreeSlug: z.ZodOptional<z.ZodString>;
7811
8121
  projectKind: z.ZodEnum<{
7812
8122
  git: "git";
7813
8123
  directory: "directory";
@@ -8025,6 +8335,8 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
8025
8335
  publicProxyUrl?: string | null | undefined;
8026
8336
  }[];
8027
8337
  projectCustomName?: string | null | undefined;
8338
+ projectCustomIconRevision?: string | null | undefined;
8339
+ worktreeSlug?: string | undefined;
8028
8340
  title?: string | null | undefined;
8029
8341
  pinnedAt?: string | null | undefined;
8030
8342
  diffStat?: {
@@ -8130,7 +8442,9 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
8130
8442
  publicProxyUrl?: string | null | undefined;
8131
8443
  }[];
8132
8444
  projectCustomName?: string | null | undefined;
8445
+ projectCustomIconRevision?: string | null | undefined;
8133
8446
  workspaceDirectory?: string | undefined;
8447
+ worktreeSlug?: string | undefined;
8134
8448
  title?: string | null | undefined;
8135
8449
  pinnedAt?: string | null | undefined;
8136
8450
  diffStat?: {
@@ -8226,6 +8540,7 @@ export declare const ProjectAddResponseSchema: z.ZodObject<{
8226
8540
  projectKey: z.ZodOptional<z.ZodString>;
8227
8541
  projectDisplayName: z.ZodString;
8228
8542
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8543
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8229
8544
  projectRootPath: z.ZodString;
8230
8545
  projectKind: z.ZodEnum<{
8231
8546
  git: "git";
@@ -8257,6 +8572,7 @@ export declare const ProjectCreateDirectoryResponseSchema: z.ZodObject<{
8257
8572
  projectKey: z.ZodOptional<z.ZodString>;
8258
8573
  projectDisplayName: z.ZodString;
8259
8574
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8575
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8260
8576
  projectRootPath: z.ZodString;
8261
8577
  projectKind: z.ZodEnum<{
8262
8578
  git: "git";
@@ -8356,6 +8672,7 @@ export declare const ProjectGithubCloneResponseSchema: z.ZodObject<{
8356
8672
  projectKey: z.ZodOptional<z.ZodString>;
8357
8673
  projectDisplayName: z.ZodString;
8358
8674
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8675
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8359
8676
  projectRootPath: z.ZodString;
8360
8677
  projectKind: z.ZodEnum<{
8361
8678
  git: "git";
@@ -8608,6 +8925,10 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
8608
8925
  running: "running";
8609
8926
  closed: "closed";
8610
8927
  }>;
8928
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8929
+ turnId: z.ZodString;
8930
+ startedAt: z.ZodNullable<z.ZodString>;
8931
+ }, z.core.$strip>>>;
8611
8932
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
8612
8933
  currentModeId: z.ZodNullable<z.ZodString>;
8613
8934
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -8772,6 +9093,10 @@ export declare const FetchAgentTimelineResponseMessageSchema: z.ZodObject<{
8772
9093
  running: "running";
8773
9094
  closed: "closed";
8774
9095
  }>;
9096
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9097
+ turnId: z.ZodString;
9098
+ startedAt: z.ZodNullable<z.ZodString>;
9099
+ }, z.core.$strip>>>;
8775
9100
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
8776
9101
  currentModeId: z.ZodNullable<z.ZodString>;
8777
9102
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -8820,6 +9145,7 @@ export declare const FetchAgentTimelineResponseMessageSchema: z.ZodObject<{
8820
9145
  }, z.core.$strip>>;
8821
9146
  hasOlder: z.ZodBoolean;
8822
9147
  hasNewer: z.ZodBoolean;
9148
+ mergeWindow: z.ZodOptional<z.ZodBoolean>;
8823
9149
  entries: z.ZodArray<z.ZodObject<{
8824
9150
  provider: z.ZodString;
8825
9151
  item: z.ZodType<AgentTimelineItem, unknown, z.core.$ZodTypeInternals<AgentTimelineItem, unknown>>;
@@ -8839,6 +9165,20 @@ export declare const FetchAgentTimelineResponseMessageSchema: z.ZodObject<{
8839
9165
  error: z.ZodNullable<z.ZodString>;
8840
9166
  }, z.core.$strip>;
8841
9167
  }, z.core.$strip>;
9168
+ export declare const AgentTimelineListPromptsResponseMessageSchema: z.ZodObject<{
9169
+ type: z.ZodLiteral<"agent.timeline.list_prompts.response">;
9170
+ payload: z.ZodObject<{
9171
+ requestId: z.ZodString;
9172
+ agentId: z.ZodString;
9173
+ epoch: z.ZodString;
9174
+ prompts: z.ZodArray<z.ZodObject<{
9175
+ seq: z.ZodNumber;
9176
+ timestamp: z.ZodString;
9177
+ preview: z.ZodString;
9178
+ }, z.core.$strip>>;
9179
+ error: z.ZodNullable<z.ZodString>;
9180
+ }, z.core.$strip>;
9181
+ }, z.core.$strip>;
8842
9182
  export declare const ProviderSubagentDescriptorPayloadSchema: z.ZodObject<{
8843
9183
  id: z.ZodString;
8844
9184
  parentAgentId: z.ZodString;
@@ -8855,6 +9195,7 @@ export declare const ProviderSubagentDescriptorPayloadSchema: z.ZodObject<{
8855
9195
  updatedAt: z.ZodString;
8856
9196
  toolCallId: z.ZodNullable<z.ZodString>;
8857
9197
  cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9198
+ subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8858
9199
  }, z.core.$strip>;
8859
9200
  export type ProviderSubagentDescriptorPayload = z.infer<typeof ProviderSubagentDescriptorPayloadSchema>;
8860
9201
  export declare const ProviderSubagentListResponseMessageSchema: z.ZodObject<{
@@ -8878,6 +9219,7 @@ export declare const ProviderSubagentListResponseMessageSchema: z.ZodObject<{
8878
9219
  updatedAt: z.ZodString;
8879
9220
  toolCallId: z.ZodNullable<z.ZodString>;
8880
9221
  cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9222
+ subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8881
9223
  }, z.core.$strip>>;
8882
9224
  error: z.ZodNullable<z.ZodString>;
8883
9225
  }, z.core.$strip>;
@@ -8933,6 +9275,7 @@ export declare const ProviderSubagentUpdateMessageSchema: z.ZodObject<{
8933
9275
  updatedAt: z.ZodString;
8934
9276
  toolCallId: z.ZodNullable<z.ZodString>;
8935
9277
  cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9278
+ subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8936
9279
  }, z.core.$strip>;
8937
9280
  }, z.core.$strip>, z.ZodObject<{
8938
9281
  kind: z.ZodLiteral<"timeline">;
@@ -9063,6 +9406,10 @@ export declare const CancelAgentResponseMessageSchema: z.ZodObject<{
9063
9406
  running: "running";
9064
9407
  closed: "closed";
9065
9408
  }>;
9409
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9410
+ turnId: z.ZodString;
9411
+ startedAt: z.ZodNullable<z.ZodString>;
9412
+ }, z.core.$strip>>>;
9066
9413
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
9067
9414
  currentModeId: z.ZodNullable<z.ZodString>;
9068
9415
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -9133,6 +9480,10 @@ export declare const ClearAgentAttentionResponseMessageSchema: z.ZodObject<{
9133
9480
  running: "running";
9134
9481
  closed: "closed";
9135
9482
  }>;
9483
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9484
+ turnId: z.ZodString;
9485
+ startedAt: z.ZodNullable<z.ZodString>;
9486
+ }, z.core.$strip>>>;
9136
9487
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
9137
9488
  currentModeId: z.ZodNullable<z.ZodString>;
9138
9489
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -9163,8 +9514,10 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
9163
9514
  projectId: z.ZodString;
9164
9515
  projectDisplayName: z.ZodString;
9165
9516
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9517
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9166
9518
  projectRootPath: z.ZodString;
9167
9519
  workspaceDirectory: z.ZodOptional<z.ZodString>;
9520
+ worktreeSlug: z.ZodOptional<z.ZodString>;
9168
9521
  projectKind: z.ZodEnum<{
9169
9522
  git: "git";
9170
9523
  directory: "directory";
@@ -9382,6 +9735,8 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
9382
9735
  publicProxyUrl?: string | null | undefined;
9383
9736
  }[];
9384
9737
  projectCustomName?: string | null | undefined;
9738
+ projectCustomIconRevision?: string | null | undefined;
9739
+ worktreeSlug?: string | undefined;
9385
9740
  title?: string | null | undefined;
9386
9741
  pinnedAt?: string | null | undefined;
9387
9742
  diffStat?: {
@@ -9487,7 +9842,9 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
9487
9842
  publicProxyUrl?: string | null | undefined;
9488
9843
  }[];
9489
9844
  projectCustomName?: string | null | undefined;
9845
+ projectCustomIconRevision?: string | null | undefined;
9490
9846
  workspaceDirectory?: string | undefined;
9847
+ worktreeSlug?: string | undefined;
9491
9848
  title?: string | null | undefined;
9492
9849
  pinnedAt?: string | null | undefined;
9493
9850
  diffStat?: {
@@ -9651,6 +10008,10 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
9651
10008
  running: "running";
9652
10009
  closed: "closed";
9653
10010
  }>;
10011
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10012
+ turnId: z.ZodString;
10013
+ startedAt: z.ZodNullable<z.ZodString>;
10014
+ }, z.core.$strip>>>;
9654
10015
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
9655
10016
  currentModeId: z.ZodNullable<z.ZodString>;
9656
10017
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -9680,6 +10041,9 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
9680
10041
  payload: z.ZodObject<{
9681
10042
  requestId: z.ZodString;
9682
10043
  config: z.ZodObject<{
10044
+ relay: z.ZodOptional<z.ZodObject<{
10045
+ enabled: z.ZodBoolean;
10046
+ }, z.core.$loose>>;
9683
10047
  mcp: z.ZodObject<{
9684
10048
  injectIntoAgents: z.ZodBoolean;
9685
10049
  }, z.core.$loose>;
@@ -9839,6 +10203,9 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
9839
10203
  payload: z.ZodObject<{
9840
10204
  requestId: z.ZodString;
9841
10205
  config: z.ZodObject<{
10206
+ relay: z.ZodOptional<z.ZodObject<{
10207
+ enabled: z.ZodBoolean;
10208
+ }, z.core.$loose>>;
9842
10209
  mcp: z.ZodObject<{
9843
10210
  injectIntoAgents: z.ZodBoolean;
9844
10211
  }, z.core.$loose>;
@@ -10050,6 +10417,7 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
10050
10417
  message: z.ZodString;
10051
10418
  }, z.core.$strip>>;
10052
10419
  requestId: z.ZodString;
10420
+ upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10053
10421
  isGit: z.ZodLiteral<false>;
10054
10422
  isPaseoOwnedWorktree: z.ZodLiteral<false>;
10055
10423
  repoRoot: z.ZodNull;
@@ -10073,6 +10441,7 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
10073
10441
  message: z.ZodString;
10074
10442
  }, z.core.$strip>>;
10075
10443
  requestId: z.ZodString;
10444
+ upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10076
10445
  isGit: z.ZodLiteral<true>;
10077
10446
  isPaseoOwnedWorktree: z.ZodLiteral<false>;
10078
10447
  repoRoot: z.ZodString;
@@ -10100,6 +10469,7 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
10100
10469
  message: z.ZodString;
10101
10470
  }, z.core.$strip>>;
10102
10471
  requestId: z.ZodString;
10472
+ upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10103
10473
  isGit: z.ZodLiteral<true>;
10104
10474
  isPaseoOwnedWorktree: z.ZodLiteral<true>;
10105
10475
  repoRoot: z.ZodString;
@@ -10185,6 +10555,7 @@ export declare const CheckoutStatusUpdateSchema: z.ZodObject<{
10185
10555
  message: z.ZodString;
10186
10556
  }, z.core.$strip>>;
10187
10557
  requestId: z.ZodString;
10558
+ upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10188
10559
  isGit: z.ZodLiteral<false>;
10189
10560
  isPaseoOwnedWorktree: z.ZodLiteral<false>;
10190
10561
  repoRoot: z.ZodNull;
@@ -10208,6 +10579,7 @@ export declare const CheckoutStatusUpdateSchema: z.ZodObject<{
10208
10579
  message: z.ZodString;
10209
10580
  }, z.core.$strip>>;
10210
10581
  requestId: z.ZodString;
10582
+ upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10211
10583
  isGit: z.ZodLiteral<true>;
10212
10584
  isPaseoOwnedWorktree: z.ZodLiteral<false>;
10213
10585
  repoRoot: z.ZodString;
@@ -10235,6 +10607,7 @@ export declare const CheckoutStatusUpdateSchema: z.ZodObject<{
10235
10607
  message: z.ZodString;
10236
10608
  }, z.core.$strip>>;
10237
10609
  requestId: z.ZodString;
10610
+ upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10238
10611
  isGit: z.ZodLiteral<true>;
10239
10612
  isPaseoOwnedWorktree: z.ZodLiteral<true>;
10240
10613
  repoRoot: z.ZodString;
@@ -11260,6 +11633,8 @@ export declare const BranchSuggestionsResponseSchema: z.ZodObject<{
11260
11633
  committerDate: z.ZodNumber;
11261
11634
  hasLocal: z.ZodOptional<z.ZodBoolean>;
11262
11635
  hasRemote: z.ZodOptional<z.ZodBoolean>;
11636
+ localAhead: z.ZodOptional<z.ZodNumber>;
11637
+ localBehind: z.ZodOptional<z.ZodNumber>;
11263
11638
  }, z.core.$strip>>>;
11264
11639
  error: z.ZodNullable<z.ZodString>;
11265
11640
  requestId: z.ZodString;
@@ -11346,8 +11721,10 @@ export declare const CreatePaseoWorktreeResponseSchema: z.ZodObject<{
11346
11721
  projectId: z.ZodString;
11347
11722
  projectDisplayName: z.ZodString;
11348
11723
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11724
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11349
11725
  projectRootPath: z.ZodString;
11350
11726
  workspaceDirectory: z.ZodOptional<z.ZodString>;
11727
+ worktreeSlug: z.ZodOptional<z.ZodString>;
11351
11728
  projectKind: z.ZodEnum<{
11352
11729
  git: "git";
11353
11730
  directory: "directory";
@@ -11565,6 +11942,8 @@ export declare const CreatePaseoWorktreeResponseSchema: z.ZodObject<{
11565
11942
  publicProxyUrl?: string | null | undefined;
11566
11943
  }[];
11567
11944
  projectCustomName?: string | null | undefined;
11945
+ projectCustomIconRevision?: string | null | undefined;
11946
+ worktreeSlug?: string | undefined;
11568
11947
  title?: string | null | undefined;
11569
11948
  pinnedAt?: string | null | undefined;
11570
11949
  diffStat?: {
@@ -11670,7 +12049,9 @@ export declare const CreatePaseoWorktreeResponseSchema: z.ZodObject<{
11670
12049
  publicProxyUrl?: string | null | undefined;
11671
12050
  }[];
11672
12051
  projectCustomName?: string | null | undefined;
12052
+ projectCustomIconRevision?: string | null | undefined;
11673
12053
  workspaceDirectory?: string | undefined;
12054
+ worktreeSlug?: string | undefined;
11674
12055
  title?: string | null | undefined;
11675
12056
  pinnedAt?: string | null | undefined;
11676
12057
  diffStat?: {
@@ -11933,6 +12314,18 @@ export declare const ProjectIconResponseSchema: z.ZodObject<{
11933
12314
  requestId: z.ZodString;
11934
12315
  }, z.core.$strip>;
11935
12316
  }, z.core.$strip>;
12317
+ export declare const ProjectIconGetResponseSchema: z.ZodObject<{
12318
+ type: z.ZodLiteral<"project.icon.get.response">;
12319
+ payload: z.ZodObject<{
12320
+ projectId: z.ZodString;
12321
+ icon: z.ZodNullable<z.ZodObject<{
12322
+ data: z.ZodString;
12323
+ mimeType: z.ZodString;
12324
+ }, z.core.$strip>>;
12325
+ error: z.ZodNullable<z.ZodString>;
12326
+ requestId: z.ZodString;
12327
+ }, z.core.$strip>;
12328
+ }, z.core.$strip>;
11936
12329
  export declare const FileDownloadTokenResponseSchema: z.ZodObject<{
11937
12330
  type: z.ZodLiteral<"file_download_token_response">;
11938
12331
  payload: z.ZodObject<{
@@ -11965,7 +12358,23 @@ export declare const ListProviderModelsResponseMessageSchema: z.ZodObject<{
11965
12358
  type: z.ZodLiteral<"list_provider_models_response">;
11966
12359
  payload: z.ZodObject<{
11967
12360
  provider: z.ZodString;
11968
- models: z.ZodOptional<z.ZodArray<z.ZodType<AgentModelDefinition, unknown, z.core.$ZodTypeInternals<AgentModelDefinition, unknown>>>>;
12361
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
12362
+ provider: z.ZodString;
12363
+ id: z.ZodString;
12364
+ label: z.ZodString;
12365
+ description: z.ZodOptional<z.ZodString>;
12366
+ isDefault: z.ZodOptional<z.ZodBoolean>;
12367
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12368
+ contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
12369
+ thinkingOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
12370
+ id: z.ZodString;
12371
+ label: z.ZodString;
12372
+ description: z.ZodOptional<z.ZodString>;
12373
+ isDefault: z.ZodOptional<z.ZodBoolean>;
12374
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12375
+ }, z.core.$strip>>>;
12376
+ defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
12377
+ }, z.core.$strip>>>;
11969
12378
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11970
12379
  fetchedAt: z.ZodString;
11971
12380
  requestId: z.ZodString;
@@ -12039,13 +12448,68 @@ export declare const GetProvidersSnapshotResponseMessageSchema: z.ZodObject<{
12039
12448
  custom: "custom";
12040
12449
  }>>;
12041
12450
  error: z.ZodOptional<z.ZodString>;
12042
- models: z.ZodOptional<z.ZodArray<z.ZodType<AgentModelDefinition, unknown, z.core.$ZodTypeInternals<AgentModelDefinition, unknown>>>>;
12451
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
12452
+ provider: z.ZodString;
12453
+ id: z.ZodString;
12454
+ label: z.ZodString;
12455
+ description: z.ZodOptional<z.ZodString>;
12456
+ isDefault: z.ZodOptional<z.ZodBoolean>;
12457
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12458
+ contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
12459
+ thinkingOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
12460
+ id: z.ZodString;
12461
+ label: z.ZodString;
12462
+ description: z.ZodOptional<z.ZodString>;
12463
+ isDefault: z.ZodOptional<z.ZodBoolean>;
12464
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12465
+ }, z.core.$strip>>>;
12466
+ defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
12467
+ }, z.core.$strip>>>;
12043
12468
  modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
12044
12469
  fetchedAt: z.ZodOptional<z.ZodString>;
12045
12470
  label: z.ZodOptional<z.ZodString>;
12046
12471
  description: z.ZodOptional<z.ZodString>;
12047
12472
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12048
12473
  }, z.core.$strip>>;
12474
+ compactSnapshot: z.ZodOptional<z.ZodObject<{
12475
+ entries: z.ZodArray<z.ZodObject<{
12476
+ error: z.ZodOptional<z.ZodString>;
12477
+ description: z.ZodOptional<z.ZodString>;
12478
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
12479
+ label: z.ZodOptional<z.ZodString>;
12480
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
12481
+ defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12482
+ provider: z.ZodString;
12483
+ source: z.ZodOptional<z.ZodEnum<{
12484
+ builtin: "builtin";
12485
+ custom: "custom";
12486
+ }>>;
12487
+ modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
12488
+ fetchedAt: z.ZodOptional<z.ZodString>;
12489
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
12490
+ description: z.ZodOptional<z.ZodString>;
12491
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12492
+ id: z.ZodString;
12493
+ label: z.ZodString;
12494
+ isDefault: z.ZodOptional<z.ZodBoolean>;
12495
+ contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
12496
+ defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
12497
+ thinkingSet: z.ZodOptional<z.ZodNumber>;
12498
+ }, z.core.$strip>>>;
12499
+ }, z.core.$strip>>;
12500
+ thinkingSets: z.ZodArray<z.ZodObject<{
12501
+ options: z.ZodArray<z.ZodObject<{
12502
+ id: z.ZodString;
12503
+ label: z.ZodString;
12504
+ description: z.ZodOptional<z.ZodString>;
12505
+ isDefault: z.ZodOptional<z.ZodBoolean>;
12506
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12507
+ }, z.core.$strip>>;
12508
+ defaultOptionId: z.ZodOptional<z.ZodString>;
12509
+ }, z.core.$strip>>;
12510
+ }, z.core.$strip>>;
12511
+ snapshotHash: z.ZodOptional<z.ZodString>;
12512
+ notModified: z.ZodOptional<z.ZodBoolean>;
12049
12513
  generatedAt: z.ZodString;
12050
12514
  requestId: z.ZodString;
12051
12515
  }, z.core.$strip>;
@@ -12063,13 +12527,67 @@ export declare const ProvidersSnapshotUpdateMessageSchema: z.ZodObject<{
12063
12527
  custom: "custom";
12064
12528
  }>>;
12065
12529
  error: z.ZodOptional<z.ZodString>;
12066
- models: z.ZodOptional<z.ZodArray<z.ZodType<AgentModelDefinition, unknown, z.core.$ZodTypeInternals<AgentModelDefinition, unknown>>>>;
12530
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
12531
+ provider: z.ZodString;
12532
+ id: z.ZodString;
12533
+ label: z.ZodString;
12534
+ description: z.ZodOptional<z.ZodString>;
12535
+ isDefault: z.ZodOptional<z.ZodBoolean>;
12536
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12537
+ contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
12538
+ thinkingOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
12539
+ id: z.ZodString;
12540
+ label: z.ZodString;
12541
+ description: z.ZodOptional<z.ZodString>;
12542
+ isDefault: z.ZodOptional<z.ZodBoolean>;
12543
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12544
+ }, z.core.$strip>>>;
12545
+ defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
12546
+ }, z.core.$strip>>>;
12067
12547
  modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
12068
12548
  fetchedAt: z.ZodOptional<z.ZodString>;
12069
12549
  label: z.ZodOptional<z.ZodString>;
12070
12550
  description: z.ZodOptional<z.ZodString>;
12071
12551
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12072
12552
  }, z.core.$strip>>;
12553
+ compactSnapshot: z.ZodOptional<z.ZodObject<{
12554
+ entries: z.ZodArray<z.ZodObject<{
12555
+ error: z.ZodOptional<z.ZodString>;
12556
+ description: z.ZodOptional<z.ZodString>;
12557
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
12558
+ label: z.ZodOptional<z.ZodString>;
12559
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
12560
+ defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12561
+ provider: z.ZodString;
12562
+ source: z.ZodOptional<z.ZodEnum<{
12563
+ builtin: "builtin";
12564
+ custom: "custom";
12565
+ }>>;
12566
+ modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
12567
+ fetchedAt: z.ZodOptional<z.ZodString>;
12568
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
12569
+ description: z.ZodOptional<z.ZodString>;
12570
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12571
+ id: z.ZodString;
12572
+ label: z.ZodString;
12573
+ isDefault: z.ZodOptional<z.ZodBoolean>;
12574
+ contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
12575
+ defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
12576
+ thinkingSet: z.ZodOptional<z.ZodNumber>;
12577
+ }, z.core.$strip>>>;
12578
+ }, z.core.$strip>>;
12579
+ thinkingSets: z.ZodArray<z.ZodObject<{
12580
+ options: z.ZodArray<z.ZodObject<{
12581
+ id: z.ZodString;
12582
+ label: z.ZodString;
12583
+ description: z.ZodOptional<z.ZodString>;
12584
+ isDefault: z.ZodOptional<z.ZodBoolean>;
12585
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12586
+ }, z.core.$strip>>;
12587
+ defaultOptionId: z.ZodOptional<z.ZodString>;
12588
+ }, z.core.$strip>>;
12589
+ }, z.core.$strip>>;
12590
+ snapshotHash: z.ZodOptional<z.ZodString>;
12073
12591
  generatedAt: z.ZodString;
12074
12592
  }, z.core.$strip>;
12075
12593
  }, z.core.$strip>;
@@ -12568,6 +13086,10 @@ export declare const HubExecutionAgentCreateResponseSchema: z.ZodObject<{
12568
13086
  running: "running";
12569
13087
  closed: "closed";
12570
13088
  }>;
13089
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13090
+ turnId: z.ZodString;
13091
+ startedAt: z.ZodNullable<z.ZodString>;
13092
+ }, z.core.$strip>>>;
12571
13093
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
12572
13094
  currentModeId: z.ZodNullable<z.ZodString>;
12573
13095
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -12652,6 +13174,10 @@ export declare const HubExecutionAgentUpdateSchema: z.ZodObject<{
12652
13174
  running: "running";
12653
13175
  closed: "closed";
12654
13176
  }>;
13177
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13178
+ turnId: z.ZodString;
13179
+ startedAt: z.ZodNullable<z.ZodString>;
13180
+ }, z.core.$strip>>>;
12655
13181
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
12656
13182
  currentModeId: z.ZodNullable<z.ZodString>;
12657
13183
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -12686,19 +13212,23 @@ export declare const HubExecutionAgentStreamSchema: z.ZodObject<{
12686
13212
  }, z.core.$strip>, z.ZodObject<{
12687
13213
  type: z.ZodLiteral<"turn_started">;
12688
13214
  provider: z.ZodString;
13215
+ turnId: z.ZodOptional<z.ZodString>;
12689
13216
  }, z.core.$strip>, z.ZodObject<{
12690
13217
  type: z.ZodLiteral<"turn_completed">;
12691
13218
  provider: z.ZodString;
13219
+ turnId: z.ZodOptional<z.ZodString>;
12692
13220
  usage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
12693
13221
  }, z.core.$strip>, z.ZodObject<{
12694
13222
  type: z.ZodLiteral<"turn_failed">;
12695
13223
  provider: z.ZodString;
13224
+ turnId: z.ZodOptional<z.ZodString>;
12696
13225
  error: z.ZodString;
12697
13226
  code: z.ZodOptional<z.ZodString>;
12698
13227
  diagnostic: z.ZodOptional<z.ZodString>;
12699
13228
  }, z.core.$strip>, z.ZodObject<{
12700
13229
  type: z.ZodLiteral<"turn_canceled">;
12701
13230
  provider: z.ZodString;
13231
+ turnId: z.ZodOptional<z.ZodString>;
12702
13232
  reason: z.ZodString;
12703
13233
  }, z.core.$strip>, z.ZodObject<{
12704
13234
  type: z.ZodLiteral<"timeline">;
@@ -12792,6 +13322,10 @@ export declare const HubExecutionOutboundMessageSchema: z.ZodDiscriminatedUnion<
12792
13322
  running: "running";
12793
13323
  closed: "closed";
12794
13324
  }>;
13325
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13326
+ turnId: z.ZodString;
13327
+ startedAt: z.ZodNullable<z.ZodString>;
13328
+ }, z.core.$strip>>>;
12795
13329
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
12796
13330
  currentModeId: z.ZodNullable<z.ZodString>;
12797
13331
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -12874,6 +13408,10 @@ export declare const HubExecutionOutboundMessageSchema: z.ZodDiscriminatedUnion<
12874
13408
  running: "running";
12875
13409
  closed: "closed";
12876
13410
  }>;
13411
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13412
+ turnId: z.ZodString;
13413
+ startedAt: z.ZodNullable<z.ZodString>;
13414
+ }, z.core.$strip>>>;
12877
13415
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
12878
13416
  currentModeId: z.ZodNullable<z.ZodString>;
12879
13417
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -12907,19 +13445,23 @@ export declare const HubExecutionOutboundMessageSchema: z.ZodDiscriminatedUnion<
12907
13445
  }, z.core.$strip>, z.ZodObject<{
12908
13446
  type: z.ZodLiteral<"turn_started">;
12909
13447
  provider: z.ZodString;
13448
+ turnId: z.ZodOptional<z.ZodString>;
12910
13449
  }, z.core.$strip>, z.ZodObject<{
12911
13450
  type: z.ZodLiteral<"turn_completed">;
12912
13451
  provider: z.ZodString;
13452
+ turnId: z.ZodOptional<z.ZodString>;
12913
13453
  usage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
12914
13454
  }, z.core.$strip>, z.ZodObject<{
12915
13455
  type: z.ZodLiteral<"turn_failed">;
12916
13456
  provider: z.ZodString;
13457
+ turnId: z.ZodOptional<z.ZodString>;
12917
13458
  error: z.ZodString;
12918
13459
  code: z.ZodOptional<z.ZodString>;
12919
13460
  diagnostic: z.ZodOptional<z.ZodString>;
12920
13461
  }, z.core.$strip>, z.ZodObject<{
12921
13462
  type: z.ZodLiteral<"turn_canceled">;
12922
13463
  provider: z.ZodString;
13464
+ turnId: z.ZodOptional<z.ZodString>;
12923
13465
  reason: z.ZodString;
12924
13466
  }, z.core.$strip>, z.ZodObject<{
12925
13467
  type: z.ZodLiteral<"timeline">;
@@ -13015,6 +13557,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13015
13557
  running: "running";
13016
13558
  closed: "closed";
13017
13559
  }>;
13560
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13561
+ turnId: z.ZodString;
13562
+ startedAt: z.ZodNullable<z.ZodString>;
13563
+ }, z.core.$strip>>>;
13018
13564
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
13019
13565
  currentModeId: z.ZodNullable<z.ZodString>;
13020
13566
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -13097,6 +13643,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13097
13643
  running: "running";
13098
13644
  closed: "closed";
13099
13645
  }>;
13646
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13647
+ turnId: z.ZodString;
13648
+ startedAt: z.ZodNullable<z.ZodString>;
13649
+ }, z.core.$strip>>>;
13100
13650
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
13101
13651
  currentModeId: z.ZodNullable<z.ZodString>;
13102
13652
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -13130,19 +13680,23 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13130
13680
  }, z.core.$strip>, z.ZodObject<{
13131
13681
  type: z.ZodLiteral<"turn_started">;
13132
13682
  provider: z.ZodString;
13683
+ turnId: z.ZodOptional<z.ZodString>;
13133
13684
  }, z.core.$strip>, z.ZodObject<{
13134
13685
  type: z.ZodLiteral<"turn_completed">;
13135
13686
  provider: z.ZodString;
13687
+ turnId: z.ZodOptional<z.ZodString>;
13136
13688
  usage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
13137
13689
  }, z.core.$strip>, z.ZodObject<{
13138
13690
  type: z.ZodLiteral<"turn_failed">;
13139
13691
  provider: z.ZodString;
13692
+ turnId: z.ZodOptional<z.ZodString>;
13140
13693
  error: z.ZodString;
13141
13694
  code: z.ZodOptional<z.ZodString>;
13142
13695
  diagnostic: z.ZodOptional<z.ZodString>;
13143
13696
  }, z.core.$strip>, z.ZodObject<{
13144
13697
  type: z.ZodLiteral<"turn_canceled">;
13145
13698
  provider: z.ZodString;
13699
+ turnId: z.ZodOptional<z.ZodString>;
13146
13700
  reason: z.ZodString;
13147
13701
  }, z.core.$strip>, z.ZodObject<{
13148
13702
  type: z.ZodLiteral<"timeline">;
@@ -13503,6 +14057,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13503
14057
  running: "running";
13504
14058
  closed: "closed";
13505
14059
  }>;
14060
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14061
+ turnId: z.ZodString;
14062
+ startedAt: z.ZodNullable<z.ZodString>;
14063
+ }, z.core.$strip>>>;
13506
14064
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
13507
14065
  currentModeId: z.ZodNullable<z.ZodString>;
13508
14066
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -13614,8 +14172,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13614
14172
  projectId: z.ZodString;
13615
14173
  projectDisplayName: z.ZodString;
13616
14174
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14175
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13617
14176
  projectRootPath: z.ZodString;
13618
14177
  workspaceDirectory: z.ZodOptional<z.ZodString>;
14178
+ worktreeSlug: z.ZodOptional<z.ZodString>;
13619
14179
  projectKind: z.ZodEnum<{
13620
14180
  git: "git";
13621
14181
  directory: "directory";
@@ -13833,6 +14393,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13833
14393
  publicProxyUrl?: string | null | undefined;
13834
14394
  }[];
13835
14395
  projectCustomName?: string | null | undefined;
14396
+ projectCustomIconRevision?: string | null | undefined;
14397
+ worktreeSlug?: string | undefined;
13836
14398
  title?: string | null | undefined;
13837
14399
  pinnedAt?: string | null | undefined;
13838
14400
  diffStat?: {
@@ -13938,7 +14500,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13938
14500
  publicProxyUrl?: string | null | undefined;
13939
14501
  }[];
13940
14502
  projectCustomName?: string | null | undefined;
14503
+ projectCustomIconRevision?: string | null | undefined;
13941
14504
  workspaceDirectory?: string | undefined;
14505
+ worktreeSlug?: string | undefined;
13942
14506
  title?: string | null | undefined;
13943
14507
  pinnedAt?: string | null | undefined;
13944
14508
  diffStat?: {
@@ -14027,6 +14591,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14027
14591
  projectKey: z.ZodOptional<z.ZodString>;
14028
14592
  projectDisplayName: z.ZodString;
14029
14593
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14594
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14030
14595
  projectRootPath: z.ZodString;
14031
14596
  projectKind: z.ZodEnum<{
14032
14597
  git: "git";
@@ -14045,6 +14610,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14045
14610
  projectKey: z.ZodOptional<z.ZodString>;
14046
14611
  projectDisplayName: z.ZodString;
14047
14612
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14613
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14048
14614
  projectRootPath: z.ZodString;
14049
14615
  projectKind: z.ZodEnum<{
14050
14616
  git: "git";
@@ -14065,6 +14631,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14065
14631
  projectKey: z.ZodOptional<z.ZodString>;
14066
14632
  projectDisplayName: z.ZodString;
14067
14633
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14634
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14068
14635
  projectRootPath: z.ZodString;
14069
14636
  projectKind: z.ZodEnum<{
14070
14637
  git: "git";
@@ -14176,19 +14743,23 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14176
14743
  }, z.core.$strip>, z.ZodObject<{
14177
14744
  type: z.ZodLiteral<"turn_started">;
14178
14745
  provider: z.ZodString;
14746
+ turnId: z.ZodOptional<z.ZodString>;
14179
14747
  }, z.core.$strip>, z.ZodObject<{
14180
14748
  type: z.ZodLiteral<"turn_completed">;
14181
14749
  provider: z.ZodString;
14750
+ turnId: z.ZodOptional<z.ZodString>;
14182
14751
  usage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
14183
14752
  }, z.core.$strip>, z.ZodObject<{
14184
14753
  type: z.ZodLiteral<"turn_failed">;
14185
14754
  provider: z.ZodString;
14755
+ turnId: z.ZodOptional<z.ZodString>;
14186
14756
  error: z.ZodString;
14187
14757
  code: z.ZodOptional<z.ZodString>;
14188
14758
  diagnostic: z.ZodOptional<z.ZodString>;
14189
14759
  }, z.core.$strip>, z.ZodObject<{
14190
14760
  type: z.ZodLiteral<"turn_canceled">;
14191
14761
  provider: z.ZodString;
14762
+ turnId: z.ZodOptional<z.ZodString>;
14192
14763
  reason: z.ZodString;
14193
14764
  }, z.core.$strip>, z.ZodObject<{
14194
14765
  type: z.ZodLiteral<"timeline">;
@@ -14279,6 +14850,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14279
14850
  running: "running";
14280
14851
  closed: "closed";
14281
14852
  }>;
14853
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14854
+ turnId: z.ZodString;
14855
+ startedAt: z.ZodNullable<z.ZodString>;
14856
+ }, z.core.$strip>>>;
14282
14857
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
14283
14858
  currentModeId: z.ZodNullable<z.ZodString>;
14284
14859
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -14348,6 +14923,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14348
14923
  running: "running";
14349
14924
  closed: "closed";
14350
14925
  }>;
14926
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14927
+ turnId: z.ZodString;
14928
+ startedAt: z.ZodNullable<z.ZodString>;
14929
+ }, z.core.$strip>>>;
14351
14930
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
14352
14931
  currentModeId: z.ZodNullable<z.ZodString>;
14353
14932
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -14500,6 +15079,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14500
15079
  running: "running";
14501
15080
  closed: "closed";
14502
15081
  }>;
15082
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15083
+ turnId: z.ZodString;
15084
+ startedAt: z.ZodNullable<z.ZodString>;
15085
+ }, z.core.$strip>>>;
14503
15086
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
14504
15087
  currentModeId: z.ZodNullable<z.ZodString>;
14505
15088
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -14631,8 +15214,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14631
15214
  projectId: z.ZodString;
14632
15215
  projectDisplayName: z.ZodString;
14633
15216
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15217
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14634
15218
  projectRootPath: z.ZodString;
14635
15219
  workspaceDirectory: z.ZodOptional<z.ZodString>;
15220
+ worktreeSlug: z.ZodOptional<z.ZodString>;
14636
15221
  projectKind: z.ZodEnum<{
14637
15222
  git: "git";
14638
15223
  directory: "directory";
@@ -14850,6 +15435,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14850
15435
  publicProxyUrl?: string | null | undefined;
14851
15436
  }[];
14852
15437
  projectCustomName?: string | null | undefined;
15438
+ projectCustomIconRevision?: string | null | undefined;
15439
+ worktreeSlug?: string | undefined;
14853
15440
  title?: string | null | undefined;
14854
15441
  pinnedAt?: string | null | undefined;
14855
15442
  diffStat?: {
@@ -14955,7 +15542,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14955
15542
  publicProxyUrl?: string | null | undefined;
14956
15543
  }[];
14957
15544
  projectCustomName?: string | null | undefined;
15545
+ projectCustomIconRevision?: string | null | undefined;
14958
15546
  workspaceDirectory?: string | undefined;
15547
+ worktreeSlug?: string | undefined;
14959
15548
  title?: string | null | undefined;
14960
15549
  pinnedAt?: string | null | undefined;
14961
15550
  diffStat?: {
@@ -15041,6 +15630,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15041
15630
  projectKey: z.ZodOptional<z.ZodString>;
15042
15631
  projectDisplayName: z.ZodString;
15043
15632
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15633
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15044
15634
  projectRootPath: z.ZodString;
15045
15635
  projectKind: z.ZodEnum<{
15046
15636
  git: "git";
@@ -15063,6 +15653,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15063
15653
  projectKey: z.ZodOptional<z.ZodString>;
15064
15654
  projectDisplayName: z.ZodString;
15065
15655
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15656
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15066
15657
  projectRootPath: z.ZodString;
15067
15658
  projectKind: z.ZodEnum<{
15068
15659
  git: "git";
@@ -15085,6 +15676,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15085
15676
  projectKey: z.ZodOptional<z.ZodString>;
15086
15677
  projectDisplayName: z.ZodString;
15087
15678
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15679
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15088
15680
  projectRootPath: z.ZodString;
15089
15681
  projectKind: z.ZodEnum<{
15090
15682
  git: "git";
@@ -15104,8 +15696,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15104
15696
  projectId: z.ZodString;
15105
15697
  projectDisplayName: z.ZodString;
15106
15698
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15699
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15107
15700
  projectRootPath: z.ZodString;
15108
15701
  workspaceDirectory: z.ZodOptional<z.ZodString>;
15702
+ worktreeSlug: z.ZodOptional<z.ZodString>;
15109
15703
  projectKind: z.ZodEnum<{
15110
15704
  git: "git";
15111
15705
  directory: "directory";
@@ -15323,6 +15917,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15323
15917
  publicProxyUrl?: string | null | undefined;
15324
15918
  }[];
15325
15919
  projectCustomName?: string | null | undefined;
15920
+ projectCustomIconRevision?: string | null | undefined;
15921
+ worktreeSlug?: string | undefined;
15326
15922
  title?: string | null | undefined;
15327
15923
  pinnedAt?: string | null | undefined;
15328
15924
  diffStat?: {
@@ -15428,7 +16024,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15428
16024
  publicProxyUrl?: string | null | undefined;
15429
16025
  }[];
15430
16026
  projectCustomName?: string | null | undefined;
16027
+ projectCustomIconRevision?: string | null | undefined;
15431
16028
  workspaceDirectory?: string | undefined;
16029
+ worktreeSlug?: string | undefined;
15432
16030
  title?: string | null | undefined;
15433
16031
  pinnedAt?: string | null | undefined;
15434
16032
  diffStat?: {
@@ -15601,6 +16199,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15601
16199
  projectKey: z.ZodOptional<z.ZodString>;
15602
16200
  projectDisplayName: z.ZodString;
15603
16201
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16202
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15604
16203
  projectRootPath: z.ZodString;
15605
16204
  projectKind: z.ZodEnum<{
15606
16205
  git: "git";
@@ -15845,6 +16444,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15845
16444
  running: "running";
15846
16445
  closed: "closed";
15847
16446
  }>;
16447
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16448
+ turnId: z.ZodString;
16449
+ startedAt: z.ZodNullable<z.ZodString>;
16450
+ }, z.core.$strip>>>;
15848
16451
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
15849
16452
  currentModeId: z.ZodNullable<z.ZodString>;
15850
16453
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -15992,6 +16595,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15992
16595
  running: "running";
15993
16596
  closed: "closed";
15994
16597
  }>;
16598
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16599
+ turnId: z.ZodString;
16600
+ startedAt: z.ZodNullable<z.ZodString>;
16601
+ }, z.core.$strip>>>;
15995
16602
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
15996
16603
  currentModeId: z.ZodNullable<z.ZodString>;
15997
16604
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -16040,6 +16647,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
16040
16647
  }, z.core.$strip>>;
16041
16648
  hasOlder: z.ZodBoolean;
16042
16649
  hasNewer: z.ZodBoolean;
16650
+ mergeWindow: z.ZodOptional<z.ZodBoolean>;
16043
16651
  entries: z.ZodArray<z.ZodObject<{
16044
16652
  provider: z.ZodString;
16045
16653
  item: z.ZodType<AgentTimelineItem, unknown, z.core.$ZodTypeInternals<AgentTimelineItem, unknown>>;
@@ -16058,6 +16666,19 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
16058
16666
  }, z.core.$strip>>;
16059
16667
  error: z.ZodNullable<z.ZodString>;
16060
16668
  }, z.core.$strip>;
16669
+ }, z.core.$strip>, z.ZodObject<{
16670
+ type: z.ZodLiteral<"agent.timeline.list_prompts.response">;
16671
+ payload: z.ZodObject<{
16672
+ requestId: z.ZodString;
16673
+ agentId: z.ZodString;
16674
+ epoch: z.ZodString;
16675
+ prompts: z.ZodArray<z.ZodObject<{
16676
+ seq: z.ZodNumber;
16677
+ timestamp: z.ZodString;
16678
+ preview: z.ZodString;
16679
+ }, z.core.$strip>>;
16680
+ error: z.ZodNullable<z.ZodString>;
16681
+ }, z.core.$strip>;
16061
16682
  }, z.core.$strip>, z.ZodObject<{
16062
16683
  type: z.ZodLiteral<"agent.provider_subagents.list.response">;
16063
16684
  payload: z.ZodObject<{
@@ -16079,6 +16700,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
16079
16700
  updatedAt: z.ZodString;
16080
16701
  toolCallId: z.ZodNullable<z.ZodString>;
16081
16702
  cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16703
+ subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16082
16704
  }, z.core.$strip>>;
16083
16705
  error: z.ZodNullable<z.ZodString>;
16084
16706
  }, z.core.$strip>;
@@ -16132,6 +16754,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
16132
16754
  updatedAt: z.ZodString;
16133
16755
  toolCallId: z.ZodNullable<z.ZodString>;
16134
16756
  cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16757
+ subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16135
16758
  }, z.core.$strip>;
16136
16759
  }, z.core.$strip>, z.ZodObject<{
16137
16760
  kind: z.ZodLiteral<"timeline">;
@@ -16258,6 +16881,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
16258
16881
  running: "running";
16259
16882
  closed: "closed";
16260
16883
  }>;
16884
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16885
+ turnId: z.ZodString;
16886
+ startedAt: z.ZodNullable<z.ZodString>;
16887
+ }, z.core.$strip>>>;
16261
16888
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
16262
16889
  currentModeId: z.ZodNullable<z.ZodString>;
16263
16890
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -16327,6 +16954,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
16327
16954
  running: "running";
16328
16955
  closed: "closed";
16329
16956
  }>;
16957
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16958
+ turnId: z.ZodString;
16959
+ startedAt: z.ZodNullable<z.ZodString>;
16960
+ }, z.core.$strip>>>;
16330
16961
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
16331
16962
  currentModeId: z.ZodNullable<z.ZodString>;
16332
16963
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -16356,8 +16987,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
16356
16987
  projectId: z.ZodString;
16357
16988
  projectDisplayName: z.ZodString;
16358
16989
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16990
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16359
16991
  projectRootPath: z.ZodString;
16360
16992
  workspaceDirectory: z.ZodOptional<z.ZodString>;
16993
+ worktreeSlug: z.ZodOptional<z.ZodString>;
16361
16994
  projectKind: z.ZodEnum<{
16362
16995
  git: "git";
16363
16996
  directory: "directory";
@@ -16575,6 +17208,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
16575
17208
  publicProxyUrl?: string | null | undefined;
16576
17209
  }[];
16577
17210
  projectCustomName?: string | null | undefined;
17211
+ projectCustomIconRevision?: string | null | undefined;
17212
+ worktreeSlug?: string | undefined;
16578
17213
  title?: string | null | undefined;
16579
17214
  pinnedAt?: string | null | undefined;
16580
17215
  diffStat?: {
@@ -16680,7 +17315,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
16680
17315
  publicProxyUrl?: string | null | undefined;
16681
17316
  }[];
16682
17317
  projectCustomName?: string | null | undefined;
17318
+ projectCustomIconRevision?: string | null | undefined;
16683
17319
  workspaceDirectory?: string | undefined;
17320
+ worktreeSlug?: string | undefined;
16684
17321
  title?: string | null | undefined;
16685
17322
  pinnedAt?: string | null | undefined;
16686
17323
  diffStat?: {
@@ -16904,6 +17541,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
16904
17541
  payload: z.ZodObject<{
16905
17542
  requestId: z.ZodString;
16906
17543
  config: z.ZodObject<{
17544
+ relay: z.ZodOptional<z.ZodObject<{
17545
+ enabled: z.ZodBoolean;
17546
+ }, z.core.$loose>>;
16907
17547
  mcp: z.ZodObject<{
16908
17548
  injectIntoAgents: z.ZodBoolean;
16909
17549
  }, z.core.$loose>;
@@ -16943,6 +17583,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
16943
17583
  payload: z.ZodObject<{
16944
17584
  requestId: z.ZodString;
16945
17585
  config: z.ZodObject<{
17586
+ relay: z.ZodOptional<z.ZodObject<{
17587
+ enabled: z.ZodBoolean;
17588
+ }, z.core.$loose>>;
16946
17589
  mcp: z.ZodObject<{
16947
17590
  injectIntoAgents: z.ZodBoolean;
16948
17591
  }, z.core.$loose>;
@@ -17164,6 +17807,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17164
17807
  customName: z.ZodNullable<z.ZodString>;
17165
17808
  error: z.ZodNullable<z.ZodString>;
17166
17809
  }, z.core.$strip>;
17810
+ }, z.core.$strip>, z.ZodObject<{
17811
+ type: z.ZodLiteral<"project.icon.set.response">;
17812
+ payload: z.ZodObject<{
17813
+ requestId: z.ZodString;
17814
+ projectId: z.ZodString;
17815
+ accepted: z.ZodBoolean;
17816
+ error: z.ZodNullable<z.ZodString>;
17817
+ }, z.core.$strip>;
17167
17818
  }, z.core.$strip>, z.ZodObject<{
17168
17819
  type: z.ZodLiteral<"project.remove.response">;
17169
17820
  payload: z.ZodObject<{
@@ -17268,6 +17919,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17268
17919
  running: "running";
17269
17920
  closed: "closed";
17270
17921
  }>;
17922
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17923
+ turnId: z.ZodString;
17924
+ startedAt: z.ZodNullable<z.ZodString>;
17925
+ }, z.core.$strip>>>;
17271
17926
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
17272
17927
  currentModeId: z.ZodNullable<z.ZodString>;
17273
17928
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -17344,6 +17999,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17344
17999
  message: z.ZodString;
17345
18000
  }, z.core.$strip>>;
17346
18001
  requestId: z.ZodString;
18002
+ upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17347
18003
  isGit: z.ZodLiteral<false>;
17348
18004
  isPaseoOwnedWorktree: z.ZodLiteral<false>;
17349
18005
  repoRoot: z.ZodNull;
@@ -17367,6 +18023,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17367
18023
  message: z.ZodString;
17368
18024
  }, z.core.$strip>>;
17369
18025
  requestId: z.ZodString;
18026
+ upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17370
18027
  isGit: z.ZodLiteral<true>;
17371
18028
  isPaseoOwnedWorktree: z.ZodLiteral<false>;
17372
18029
  repoRoot: z.ZodString;
@@ -17394,6 +18051,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17394
18051
  message: z.ZodString;
17395
18052
  }, z.core.$strip>>;
17396
18053
  requestId: z.ZodString;
18054
+ upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17397
18055
  isGit: z.ZodLiteral<true>;
17398
18056
  isPaseoOwnedWorktree: z.ZodLiteral<true>;
17399
18057
  repoRoot: z.ZodString;
@@ -17424,6 +18082,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17424
18082
  message: z.ZodString;
17425
18083
  }, z.core.$strip>>;
17426
18084
  requestId: z.ZodString;
18085
+ upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17427
18086
  isGit: z.ZodLiteral<false>;
17428
18087
  isPaseoOwnedWorktree: z.ZodLiteral<false>;
17429
18088
  repoRoot: z.ZodNull;
@@ -17447,6 +18106,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17447
18106
  message: z.ZodString;
17448
18107
  }, z.core.$strip>>;
17449
18108
  requestId: z.ZodString;
18109
+ upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17450
18110
  isGit: z.ZodLiteral<true>;
17451
18111
  isPaseoOwnedWorktree: z.ZodLiteral<false>;
17452
18112
  repoRoot: z.ZodString;
@@ -17474,6 +18134,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17474
18134
  message: z.ZodString;
17475
18135
  }, z.core.$strip>>;
17476
18136
  requestId: z.ZodString;
18137
+ upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17477
18138
  isGit: z.ZodLiteral<true>;
17478
18139
  isPaseoOwnedWorktree: z.ZodLiteral<true>;
17479
18140
  repoRoot: z.ZodString;
@@ -18277,6 +18938,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18277
18938
  committerDate: z.ZodNumber;
18278
18939
  hasLocal: z.ZodOptional<z.ZodBoolean>;
18279
18940
  hasRemote: z.ZodOptional<z.ZodBoolean>;
18941
+ localAhead: z.ZodOptional<z.ZodNumber>;
18942
+ localBehind: z.ZodOptional<z.ZodNumber>;
18280
18943
  }, z.core.$strip>>>;
18281
18944
  error: z.ZodNullable<z.ZodString>;
18282
18945
  requestId: z.ZodString;
@@ -18357,8 +19020,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18357
19020
  projectId: z.ZodString;
18358
19021
  projectDisplayName: z.ZodString;
18359
19022
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19023
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18360
19024
  projectRootPath: z.ZodString;
18361
19025
  workspaceDirectory: z.ZodOptional<z.ZodString>;
19026
+ worktreeSlug: z.ZodOptional<z.ZodString>;
18362
19027
  projectKind: z.ZodEnum<{
18363
19028
  git: "git";
18364
19029
  directory: "directory";
@@ -18576,6 +19241,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18576
19241
  publicProxyUrl?: string | null | undefined;
18577
19242
  }[];
18578
19243
  projectCustomName?: string | null | undefined;
19244
+ projectCustomIconRevision?: string | null | undefined;
19245
+ worktreeSlug?: string | undefined;
18579
19246
  title?: string | null | undefined;
18580
19247
  pinnedAt?: string | null | undefined;
18581
19248
  diffStat?: {
@@ -18681,7 +19348,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18681
19348
  publicProxyUrl?: string | null | undefined;
18682
19349
  }[];
18683
19350
  projectCustomName?: string | null | undefined;
19351
+ projectCustomIconRevision?: string | null | undefined;
18684
19352
  workspaceDirectory?: string | undefined;
19353
+ worktreeSlug?: string | undefined;
18685
19354
  title?: string | null | undefined;
18686
19355
  pinnedAt?: string | null | undefined;
18687
19356
  diffStat?: {
@@ -18905,6 +19574,17 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18905
19574
  error: z.ZodNullable<z.ZodString>;
18906
19575
  requestId: z.ZodString;
18907
19576
  }, z.core.$strip>;
19577
+ }, z.core.$strip>, z.ZodObject<{
19578
+ type: z.ZodLiteral<"project.icon.get.response">;
19579
+ payload: z.ZodObject<{
19580
+ projectId: z.ZodString;
19581
+ icon: z.ZodNullable<z.ZodObject<{
19582
+ data: z.ZodString;
19583
+ mimeType: z.ZodString;
19584
+ }, z.core.$strip>>;
19585
+ error: z.ZodNullable<z.ZodString>;
19586
+ requestId: z.ZodString;
19587
+ }, z.core.$strip>;
18908
19588
  }, z.core.$strip>, z.ZodObject<{
18909
19589
  type: z.ZodLiteral<"file_download_token_response">;
18910
19590
  payload: z.ZodObject<{
@@ -18935,7 +19615,23 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18935
19615
  type: z.ZodLiteral<"list_provider_models_response">;
18936
19616
  payload: z.ZodObject<{
18937
19617
  provider: z.ZodString;
18938
- models: z.ZodOptional<z.ZodArray<z.ZodType<AgentModelDefinition, unknown, z.core.$ZodTypeInternals<AgentModelDefinition, unknown>>>>;
19618
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
19619
+ provider: z.ZodString;
19620
+ id: z.ZodString;
19621
+ label: z.ZodString;
19622
+ description: z.ZodOptional<z.ZodString>;
19623
+ isDefault: z.ZodOptional<z.ZodBoolean>;
19624
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19625
+ contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
19626
+ thinkingOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
19627
+ id: z.ZodString;
19628
+ label: z.ZodString;
19629
+ description: z.ZodOptional<z.ZodString>;
19630
+ isDefault: z.ZodOptional<z.ZodBoolean>;
19631
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19632
+ }, z.core.$strip>>>;
19633
+ defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
19634
+ }, z.core.$strip>>>;
18939
19635
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18940
19636
  fetchedAt: z.ZodString;
18941
19637
  requestId: z.ZodString;
@@ -19005,13 +19701,68 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19005
19701
  custom: "custom";
19006
19702
  }>>;
19007
19703
  error: z.ZodOptional<z.ZodString>;
19008
- models: z.ZodOptional<z.ZodArray<z.ZodType<AgentModelDefinition, unknown, z.core.$ZodTypeInternals<AgentModelDefinition, unknown>>>>;
19704
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
19705
+ provider: z.ZodString;
19706
+ id: z.ZodString;
19707
+ label: z.ZodString;
19708
+ description: z.ZodOptional<z.ZodString>;
19709
+ isDefault: z.ZodOptional<z.ZodBoolean>;
19710
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19711
+ contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
19712
+ thinkingOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
19713
+ id: z.ZodString;
19714
+ label: z.ZodString;
19715
+ description: z.ZodOptional<z.ZodString>;
19716
+ isDefault: z.ZodOptional<z.ZodBoolean>;
19717
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19718
+ }, z.core.$strip>>>;
19719
+ defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
19720
+ }, z.core.$strip>>>;
19009
19721
  modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
19010
19722
  fetchedAt: z.ZodOptional<z.ZodString>;
19011
19723
  label: z.ZodOptional<z.ZodString>;
19012
19724
  description: z.ZodOptional<z.ZodString>;
19013
19725
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19014
19726
  }, z.core.$strip>>;
19727
+ compactSnapshot: z.ZodOptional<z.ZodObject<{
19728
+ entries: z.ZodArray<z.ZodObject<{
19729
+ error: z.ZodOptional<z.ZodString>;
19730
+ description: z.ZodOptional<z.ZodString>;
19731
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
19732
+ label: z.ZodOptional<z.ZodString>;
19733
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
19734
+ defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19735
+ provider: z.ZodString;
19736
+ source: z.ZodOptional<z.ZodEnum<{
19737
+ builtin: "builtin";
19738
+ custom: "custom";
19739
+ }>>;
19740
+ modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
19741
+ fetchedAt: z.ZodOptional<z.ZodString>;
19742
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
19743
+ description: z.ZodOptional<z.ZodString>;
19744
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19745
+ id: z.ZodString;
19746
+ label: z.ZodString;
19747
+ isDefault: z.ZodOptional<z.ZodBoolean>;
19748
+ contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
19749
+ defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
19750
+ thinkingSet: z.ZodOptional<z.ZodNumber>;
19751
+ }, z.core.$strip>>>;
19752
+ }, z.core.$strip>>;
19753
+ thinkingSets: z.ZodArray<z.ZodObject<{
19754
+ options: z.ZodArray<z.ZodObject<{
19755
+ id: z.ZodString;
19756
+ label: z.ZodString;
19757
+ description: z.ZodOptional<z.ZodString>;
19758
+ isDefault: z.ZodOptional<z.ZodBoolean>;
19759
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19760
+ }, z.core.$strip>>;
19761
+ defaultOptionId: z.ZodOptional<z.ZodString>;
19762
+ }, z.core.$strip>>;
19763
+ }, z.core.$strip>>;
19764
+ snapshotHash: z.ZodOptional<z.ZodString>;
19765
+ notModified: z.ZodOptional<z.ZodBoolean>;
19015
19766
  generatedAt: z.ZodString;
19016
19767
  requestId: z.ZodString;
19017
19768
  }, z.core.$strip>;
@@ -19028,13 +19779,67 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19028
19779
  custom: "custom";
19029
19780
  }>>;
19030
19781
  error: z.ZodOptional<z.ZodString>;
19031
- models: z.ZodOptional<z.ZodArray<z.ZodType<AgentModelDefinition, unknown, z.core.$ZodTypeInternals<AgentModelDefinition, unknown>>>>;
19782
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
19783
+ provider: z.ZodString;
19784
+ id: z.ZodString;
19785
+ label: z.ZodString;
19786
+ description: z.ZodOptional<z.ZodString>;
19787
+ isDefault: z.ZodOptional<z.ZodBoolean>;
19788
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19789
+ contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
19790
+ thinkingOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
19791
+ id: z.ZodString;
19792
+ label: z.ZodString;
19793
+ description: z.ZodOptional<z.ZodString>;
19794
+ isDefault: z.ZodOptional<z.ZodBoolean>;
19795
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19796
+ }, z.core.$strip>>>;
19797
+ defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
19798
+ }, z.core.$strip>>>;
19032
19799
  modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
19033
19800
  fetchedAt: z.ZodOptional<z.ZodString>;
19034
19801
  label: z.ZodOptional<z.ZodString>;
19035
19802
  description: z.ZodOptional<z.ZodString>;
19036
19803
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19037
19804
  }, z.core.$strip>>;
19805
+ compactSnapshot: z.ZodOptional<z.ZodObject<{
19806
+ entries: z.ZodArray<z.ZodObject<{
19807
+ error: z.ZodOptional<z.ZodString>;
19808
+ description: z.ZodOptional<z.ZodString>;
19809
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
19810
+ label: z.ZodOptional<z.ZodString>;
19811
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
19812
+ defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19813
+ provider: z.ZodString;
19814
+ source: z.ZodOptional<z.ZodEnum<{
19815
+ builtin: "builtin";
19816
+ custom: "custom";
19817
+ }>>;
19818
+ modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
19819
+ fetchedAt: z.ZodOptional<z.ZodString>;
19820
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
19821
+ description: z.ZodOptional<z.ZodString>;
19822
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19823
+ id: z.ZodString;
19824
+ label: z.ZodString;
19825
+ isDefault: z.ZodOptional<z.ZodBoolean>;
19826
+ contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
19827
+ defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
19828
+ thinkingSet: z.ZodOptional<z.ZodNumber>;
19829
+ }, z.core.$strip>>>;
19830
+ }, z.core.$strip>>;
19831
+ thinkingSets: z.ZodArray<z.ZodObject<{
19832
+ options: z.ZodArray<z.ZodObject<{
19833
+ id: z.ZodString;
19834
+ label: z.ZodString;
19835
+ description: z.ZodOptional<z.ZodString>;
19836
+ isDefault: z.ZodOptional<z.ZodBoolean>;
19837
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19838
+ }, z.core.$strip>>;
19839
+ defaultOptionId: z.ZodOptional<z.ZodString>;
19840
+ }, z.core.$strip>>;
19841
+ }, z.core.$strip>>;
19842
+ snapshotHash: z.ZodOptional<z.ZodString>;
19038
19843
  generatedAt: z.ZodString;
19039
19844
  }, z.core.$strip>;
19040
19845
  }, z.core.$strip>, z.ZodObject<{
@@ -20340,6 +21145,7 @@ export type LegacyOpenInEditorResponseMessage = z.infer<typeof LegacyOpenInEdito
20340
21145
  export type ArchiveWorkspaceResponseMessage = z.infer<typeof ArchiveWorkspaceResponseMessageSchema>;
20341
21146
  export type FetchAgentResponseMessage = z.infer<typeof FetchAgentResponseMessageSchema>;
20342
21147
  export type FetchAgentTimelineResponseMessage = z.infer<typeof FetchAgentTimelineResponseMessageSchema>;
21148
+ export type AgentTimelineListPromptsResponseMessage = z.infer<typeof AgentTimelineListPromptsResponseMessageSchema>;
20343
21149
  export type AgentForkContextResponseMessage = z.infer<typeof AgentForkContextResponseMessageSchema>;
20344
21150
  export type CancelAgentResponseMessage = z.infer<typeof CancelAgentResponseMessageSchema>;
20345
21151
  export type SendAgentMessageResponseMessage = z.infer<typeof SendAgentMessageResponseMessageSchema>;
@@ -20352,6 +21158,7 @@ export type AgentDetachResponseMessage = z.infer<typeof AgentDetachResponseMessa
20352
21158
  export type AgentRewindResponseMessage = z.infer<typeof AgentRewindResponseMessageSchema>;
20353
21159
  export type UpdateAgentResponseMessage = z.infer<typeof UpdateAgentResponseMessageSchema>;
20354
21160
  export type ProjectRenameResponse = z.infer<typeof ProjectRenameResponseSchema>;
21161
+ export type ProjectIconSetResponse = z.infer<typeof ProjectIconSetResponseSchema>;
20355
21162
  export type ProjectRemoveResponse = z.infer<typeof ProjectRemoveResponseSchema>;
20356
21163
  export type WorkspaceTitleSetResponse = z.infer<typeof WorkspaceTitleSetResponseSchema>;
20357
21164
  export type WorkspaceTitleSetResponsePayload = z.infer<typeof WorkspaceTitleSetResponsePayloadSchema>;
@@ -20460,7 +21267,9 @@ export type LoopStopRequest = z.infer<typeof LoopStopRequestSchema>;
20460
21267
  export type ResumeAgentRequestMessage = z.infer<typeof ResumeAgentRequestMessageSchema>;
20461
21268
  export type DeleteAgentRequestMessage = z.infer<typeof DeleteAgentRequestMessageSchema>;
20462
21269
  export type UpdateAgentRequestMessage = z.infer<typeof UpdateAgentRequestMessageSchema>;
21270
+ export type ProjectIconSource = z.infer<typeof ProjectIconSourceSchema>;
20463
21271
  export type ProjectRenameRequest = z.infer<typeof ProjectRenameRequestSchema>;
21272
+ export type ProjectIconSetRequest = z.infer<typeof ProjectIconSetRequestSchema>;
20464
21273
  export type ProjectRemoveRequest = z.infer<typeof ProjectRemoveRequestSchema>;
20465
21274
  export type WorkspaceTitleSetRequest = z.infer<typeof WorkspaceTitleSetRequestSchema>;
20466
21275
  export type WorkspacePinSetRequest = z.infer<typeof WorkspacePinSetRequestSchema>;
@@ -20578,6 +21387,8 @@ export type FileWriteResult = z.infer<typeof FileWriteResultSchema>;
20578
21387
  export type FileUpdate = z.infer<typeof FileUpdateSchema>;
20579
21388
  export type ProjectIconRequest = z.infer<typeof ProjectIconRequestSchema>;
20580
21389
  export type ProjectIconResponse = z.infer<typeof ProjectIconResponseSchema>;
21390
+ export type ProjectIconGetRequest = z.infer<typeof ProjectIconGetRequestSchema>;
21391
+ export type ProjectIconGetResponse = z.infer<typeof ProjectIconGetResponseSchema>;
20581
21392
  export type ProjectIcon = z.infer<typeof ProjectIconSchema>;
20582
21393
  export type FileDownloadTokenRequest = z.infer<typeof FileDownloadTokenRequestSchema>;
20583
21394
  export type FileDownloadTokenResponse = z.infer<typeof FileDownloadTokenResponseSchema>;
@@ -20643,6 +21454,7 @@ export declare const WSHelloMessageSchema: z.ZodObject<{
20643
21454
  terminal_reflowable_snapshot: z.ZodOptional<z.ZodBoolean>;
20644
21455
  provider_subagents: z.ZodOptional<z.ZodBoolean>;
20645
21456
  project_updates: z.ZodOptional<z.ZodBoolean>;
21457
+ compact_provider_snapshots: z.ZodOptional<z.ZodBoolean>;
20646
21458
  browser_host: z.ZodOptional<z.ZodObject<{
20647
21459
  supportedCommands: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("select" | "type" | "fill" | "logs" | "list_tabs" | "new_tab" | "snapshot" | "click" | "wait" | "keypress" | "navigate" | "back" | "forward" | "reload" | "screenshot" | "upload" | "hover" | "drag" | "evaluate" | "scroll" | "resize" | "close_tab")[], string[]>>;
20648
21460
  hostKind: z.ZodDefault<z.ZodString>;
@@ -20668,6 +21480,23 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
20668
21480
  thinkingOptionId: z.ZodOptional<z.ZodString>;
20669
21481
  featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20670
21482
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
21483
+ mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
21484
+ type: z.ZodLiteral<"stdio">;
21485
+ command: z.ZodString;
21486
+ args: z.ZodOptional<z.ZodArray<z.ZodString>>;
21487
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
21488
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
21489
+ }, z.core.$strip>, z.ZodObject<{
21490
+ type: z.ZodLiteral<"http">;
21491
+ url: z.ZodString;
21492
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
21493
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
21494
+ }, z.core.$strip>, z.ZodObject<{
21495
+ type: z.ZodLiteral<"sse">;
21496
+ url: z.ZodString;
21497
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
21498
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
21499
+ }, z.core.$strip>], "type">>>;
20671
21500
  worktree: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
20672
21501
  mode: z.ZodLiteral<"branch-off">;
20673
21502
  newBranch: z.ZodString;
@@ -21040,6 +21869,16 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21040
21869
  projectId: z.ZodString;
21041
21870
  customName: z.ZodNullable<z.ZodString>;
21042
21871
  requestId: z.ZodString;
21872
+ }, z.core.$strip>, z.ZodObject<{
21873
+ type: z.ZodLiteral<"project.icon.set.request">;
21874
+ projectId: z.ZodString;
21875
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
21876
+ type: z.ZodLiteral<"automatic">;
21877
+ }, z.core.$strip>, z.ZodObject<{
21878
+ type: z.ZodLiteral<"upload">;
21879
+ data: z.ZodString;
21880
+ }, z.core.$strip>], "type">;
21881
+ requestId: z.ZodString;
21043
21882
  }, z.core.$strip>, z.ZodObject<{
21044
21883
  type: z.ZodLiteral<"project.remove.request">;
21045
21884
  projectId: z.ZodString;
@@ -21187,6 +22026,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21187
22026
  type: z.ZodLiteral<"set_daemon_config_request">;
21188
22027
  requestId: z.ZodString;
21189
22028
  config: z.ZodObject<{
22029
+ relay: z.ZodOptional<z.ZodOptional<z.ZodObject<{
22030
+ enabled: z.ZodOptional<z.ZodBoolean>;
22031
+ }, z.core.$loose>>>;
21190
22032
  mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
21191
22033
  injectIntoAgents: z.ZodOptional<z.ZodBoolean>;
21192
22034
  }, z.core.$loose>>>;
@@ -21465,6 +22307,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21465
22307
  }, z.core.$strip>, z.ZodObject<{
21466
22308
  type: z.ZodLiteral<"get_providers_snapshot_request">;
21467
22309
  cwd: z.ZodOptional<z.ZodString>;
22310
+ ifNoneMatch: z.ZodOptional<z.ZodString>;
21468
22311
  requestId: z.ZodString;
21469
22312
  }, z.core.$strip>, z.ZodObject<{
21470
22313
  type: z.ZodLiteral<"refresh_providers_snapshot_request">;
@@ -21563,6 +22406,11 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21563
22406
  projected: "projected";
21564
22407
  canonical: "canonical";
21565
22408
  }>>;
22409
+ mergeWindow: z.ZodOptional<z.ZodBoolean>;
22410
+ }, z.core.$strip>, z.ZodObject<{
22411
+ type: z.ZodLiteral<"agent.timeline.list_prompts.request">;
22412
+ agentId: z.ZodString;
22413
+ requestId: z.ZodString;
21566
22414
  }, z.core.$strip>, z.ZodObject<{
21567
22415
  type: z.ZodLiteral<"agent.provider_subagents.list.request">;
21568
22416
  parentAgentId: z.ZodString;
@@ -22223,6 +23071,10 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
22223
23071
  type: z.ZodLiteral<"project_icon_request">;
22224
23072
  cwd: z.ZodString;
22225
23073
  requestId: z.ZodString;
23074
+ }, z.core.$strip>, z.ZodObject<{
23075
+ type: z.ZodLiteral<"project.icon.get.request">;
23076
+ projectId: z.ZodString;
23077
+ requestId: z.ZodString;
22226
23078
  }, z.core.$strip>, z.ZodObject<{
22227
23079
  type: z.ZodLiteral<"file_download_token_request">;
22228
23080
  cwd: z.ZodString;
@@ -22348,6 +23200,10 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
22348
23200
  type: z.ZodLiteral<"resize">;
22349
23201
  rows: z.ZodNumber;
22350
23202
  cols: z.ZodNumber;
23203
+ intent: z.ZodOptional<z.ZodEnum<{
23204
+ claim: "claim";
23205
+ update: "update";
23206
+ }>>;
22351
23207
  }, z.core.$strip>, z.ZodObject<{
22352
23208
  type: z.ZodLiteral<"mouse">;
22353
23209
  row: z.ZodNumber;
@@ -22598,6 +23454,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22598
23454
  running: "running";
22599
23455
  closed: "closed";
22600
23456
  }>;
23457
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23458
+ turnId: z.ZodString;
23459
+ startedAt: z.ZodNullable<z.ZodString>;
23460
+ }, z.core.$strip>>>;
22601
23461
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
22602
23462
  currentModeId: z.ZodNullable<z.ZodString>;
22603
23463
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -22680,6 +23540,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22680
23540
  running: "running";
22681
23541
  closed: "closed";
22682
23542
  }>;
23543
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23544
+ turnId: z.ZodString;
23545
+ startedAt: z.ZodNullable<z.ZodString>;
23546
+ }, z.core.$strip>>>;
22683
23547
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
22684
23548
  currentModeId: z.ZodNullable<z.ZodString>;
22685
23549
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -22713,19 +23577,23 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22713
23577
  }, z.core.$strip>, z.ZodObject<{
22714
23578
  type: z.ZodLiteral<"turn_started">;
22715
23579
  provider: z.ZodString;
23580
+ turnId: z.ZodOptional<z.ZodString>;
22716
23581
  }, z.core.$strip>, z.ZodObject<{
22717
23582
  type: z.ZodLiteral<"turn_completed">;
22718
23583
  provider: z.ZodString;
23584
+ turnId: z.ZodOptional<z.ZodString>;
22719
23585
  usage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
22720
23586
  }, z.core.$strip>, z.ZodObject<{
22721
23587
  type: z.ZodLiteral<"turn_failed">;
22722
23588
  provider: z.ZodString;
23589
+ turnId: z.ZodOptional<z.ZodString>;
22723
23590
  error: z.ZodString;
22724
23591
  code: z.ZodOptional<z.ZodString>;
22725
23592
  diagnostic: z.ZodOptional<z.ZodString>;
22726
23593
  }, z.core.$strip>, z.ZodObject<{
22727
23594
  type: z.ZodLiteral<"turn_canceled">;
22728
23595
  provider: z.ZodString;
23596
+ turnId: z.ZodOptional<z.ZodString>;
22729
23597
  reason: z.ZodString;
22730
23598
  }, z.core.$strip>, z.ZodObject<{
22731
23599
  type: z.ZodLiteral<"timeline">;
@@ -23086,6 +23954,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23086
23954
  running: "running";
23087
23955
  closed: "closed";
23088
23956
  }>;
23957
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23958
+ turnId: z.ZodString;
23959
+ startedAt: z.ZodNullable<z.ZodString>;
23960
+ }, z.core.$strip>>>;
23089
23961
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
23090
23962
  currentModeId: z.ZodNullable<z.ZodString>;
23091
23963
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -23197,8 +24069,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23197
24069
  projectId: z.ZodString;
23198
24070
  projectDisplayName: z.ZodString;
23199
24071
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24072
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23200
24073
  projectRootPath: z.ZodString;
23201
24074
  workspaceDirectory: z.ZodOptional<z.ZodString>;
24075
+ worktreeSlug: z.ZodOptional<z.ZodString>;
23202
24076
  projectKind: z.ZodEnum<{
23203
24077
  git: "git";
23204
24078
  directory: "directory";
@@ -23416,6 +24290,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23416
24290
  publicProxyUrl?: string | null | undefined;
23417
24291
  }[];
23418
24292
  projectCustomName?: string | null | undefined;
24293
+ projectCustomIconRevision?: string | null | undefined;
24294
+ worktreeSlug?: string | undefined;
23419
24295
  title?: string | null | undefined;
23420
24296
  pinnedAt?: string | null | undefined;
23421
24297
  diffStat?: {
@@ -23521,7 +24397,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23521
24397
  publicProxyUrl?: string | null | undefined;
23522
24398
  }[];
23523
24399
  projectCustomName?: string | null | undefined;
24400
+ projectCustomIconRevision?: string | null | undefined;
23524
24401
  workspaceDirectory?: string | undefined;
24402
+ worktreeSlug?: string | undefined;
23525
24403
  title?: string | null | undefined;
23526
24404
  pinnedAt?: string | null | undefined;
23527
24405
  diffStat?: {
@@ -23610,6 +24488,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23610
24488
  projectKey: z.ZodOptional<z.ZodString>;
23611
24489
  projectDisplayName: z.ZodString;
23612
24490
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24491
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23613
24492
  projectRootPath: z.ZodString;
23614
24493
  projectKind: z.ZodEnum<{
23615
24494
  git: "git";
@@ -23628,6 +24507,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23628
24507
  projectKey: z.ZodOptional<z.ZodString>;
23629
24508
  projectDisplayName: z.ZodString;
23630
24509
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24510
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23631
24511
  projectRootPath: z.ZodString;
23632
24512
  projectKind: z.ZodEnum<{
23633
24513
  git: "git";
@@ -23648,6 +24528,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23648
24528
  projectKey: z.ZodOptional<z.ZodString>;
23649
24529
  projectDisplayName: z.ZodString;
23650
24530
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24531
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23651
24532
  projectRootPath: z.ZodString;
23652
24533
  projectKind: z.ZodEnum<{
23653
24534
  git: "git";
@@ -23759,19 +24640,23 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23759
24640
  }, z.core.$strip>, z.ZodObject<{
23760
24641
  type: z.ZodLiteral<"turn_started">;
23761
24642
  provider: z.ZodString;
24643
+ turnId: z.ZodOptional<z.ZodString>;
23762
24644
  }, z.core.$strip>, z.ZodObject<{
23763
24645
  type: z.ZodLiteral<"turn_completed">;
23764
24646
  provider: z.ZodString;
24647
+ turnId: z.ZodOptional<z.ZodString>;
23765
24648
  usage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
23766
24649
  }, z.core.$strip>, z.ZodObject<{
23767
24650
  type: z.ZodLiteral<"turn_failed">;
23768
24651
  provider: z.ZodString;
24652
+ turnId: z.ZodOptional<z.ZodString>;
23769
24653
  error: z.ZodString;
23770
24654
  code: z.ZodOptional<z.ZodString>;
23771
24655
  diagnostic: z.ZodOptional<z.ZodString>;
23772
24656
  }, z.core.$strip>, z.ZodObject<{
23773
24657
  type: z.ZodLiteral<"turn_canceled">;
23774
24658
  provider: z.ZodString;
24659
+ turnId: z.ZodOptional<z.ZodString>;
23775
24660
  reason: z.ZodString;
23776
24661
  }, z.core.$strip>, z.ZodObject<{
23777
24662
  type: z.ZodLiteral<"timeline">;
@@ -23862,6 +24747,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23862
24747
  running: "running";
23863
24748
  closed: "closed";
23864
24749
  }>;
24750
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24751
+ turnId: z.ZodString;
24752
+ startedAt: z.ZodNullable<z.ZodString>;
24753
+ }, z.core.$strip>>>;
23865
24754
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
23866
24755
  currentModeId: z.ZodNullable<z.ZodString>;
23867
24756
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -23931,6 +24820,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23931
24820
  running: "running";
23932
24821
  closed: "closed";
23933
24822
  }>;
24823
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24824
+ turnId: z.ZodString;
24825
+ startedAt: z.ZodNullable<z.ZodString>;
24826
+ }, z.core.$strip>>>;
23934
24827
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
23935
24828
  currentModeId: z.ZodNullable<z.ZodString>;
23936
24829
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -24083,6 +24976,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24083
24976
  running: "running";
24084
24977
  closed: "closed";
24085
24978
  }>;
24979
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24980
+ turnId: z.ZodString;
24981
+ startedAt: z.ZodNullable<z.ZodString>;
24982
+ }, z.core.$strip>>>;
24086
24983
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
24087
24984
  currentModeId: z.ZodNullable<z.ZodString>;
24088
24985
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -24214,8 +25111,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24214
25111
  projectId: z.ZodString;
24215
25112
  projectDisplayName: z.ZodString;
24216
25113
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25114
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24217
25115
  projectRootPath: z.ZodString;
24218
25116
  workspaceDirectory: z.ZodOptional<z.ZodString>;
25117
+ worktreeSlug: z.ZodOptional<z.ZodString>;
24219
25118
  projectKind: z.ZodEnum<{
24220
25119
  git: "git";
24221
25120
  directory: "directory";
@@ -24433,6 +25332,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24433
25332
  publicProxyUrl?: string | null | undefined;
24434
25333
  }[];
24435
25334
  projectCustomName?: string | null | undefined;
25335
+ projectCustomIconRevision?: string | null | undefined;
25336
+ worktreeSlug?: string | undefined;
24436
25337
  title?: string | null | undefined;
24437
25338
  pinnedAt?: string | null | undefined;
24438
25339
  diffStat?: {
@@ -24538,7 +25439,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24538
25439
  publicProxyUrl?: string | null | undefined;
24539
25440
  }[];
24540
25441
  projectCustomName?: string | null | undefined;
25442
+ projectCustomIconRevision?: string | null | undefined;
24541
25443
  workspaceDirectory?: string | undefined;
25444
+ worktreeSlug?: string | undefined;
24542
25445
  title?: string | null | undefined;
24543
25446
  pinnedAt?: string | null | undefined;
24544
25447
  diffStat?: {
@@ -24624,6 +25527,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24624
25527
  projectKey: z.ZodOptional<z.ZodString>;
24625
25528
  projectDisplayName: z.ZodString;
24626
25529
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25530
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24627
25531
  projectRootPath: z.ZodString;
24628
25532
  projectKind: z.ZodEnum<{
24629
25533
  git: "git";
@@ -24646,6 +25550,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24646
25550
  projectKey: z.ZodOptional<z.ZodString>;
24647
25551
  projectDisplayName: z.ZodString;
24648
25552
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25553
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24649
25554
  projectRootPath: z.ZodString;
24650
25555
  projectKind: z.ZodEnum<{
24651
25556
  git: "git";
@@ -24668,6 +25573,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24668
25573
  projectKey: z.ZodOptional<z.ZodString>;
24669
25574
  projectDisplayName: z.ZodString;
24670
25575
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25576
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24671
25577
  projectRootPath: z.ZodString;
24672
25578
  projectKind: z.ZodEnum<{
24673
25579
  git: "git";
@@ -24687,8 +25593,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24687
25593
  projectId: z.ZodString;
24688
25594
  projectDisplayName: z.ZodString;
24689
25595
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25596
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24690
25597
  projectRootPath: z.ZodString;
24691
25598
  workspaceDirectory: z.ZodOptional<z.ZodString>;
25599
+ worktreeSlug: z.ZodOptional<z.ZodString>;
24692
25600
  projectKind: z.ZodEnum<{
24693
25601
  git: "git";
24694
25602
  directory: "directory";
@@ -24906,6 +25814,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24906
25814
  publicProxyUrl?: string | null | undefined;
24907
25815
  }[];
24908
25816
  projectCustomName?: string | null | undefined;
25817
+ projectCustomIconRevision?: string | null | undefined;
25818
+ worktreeSlug?: string | undefined;
24909
25819
  title?: string | null | undefined;
24910
25820
  pinnedAt?: string | null | undefined;
24911
25821
  diffStat?: {
@@ -25011,7 +25921,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25011
25921
  publicProxyUrl?: string | null | undefined;
25012
25922
  }[];
25013
25923
  projectCustomName?: string | null | undefined;
25924
+ projectCustomIconRevision?: string | null | undefined;
25014
25925
  workspaceDirectory?: string | undefined;
25926
+ worktreeSlug?: string | undefined;
25015
25927
  title?: string | null | undefined;
25016
25928
  pinnedAt?: string | null | undefined;
25017
25929
  diffStat?: {
@@ -25184,6 +26096,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25184
26096
  projectKey: z.ZodOptional<z.ZodString>;
25185
26097
  projectDisplayName: z.ZodString;
25186
26098
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26099
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25187
26100
  projectRootPath: z.ZodString;
25188
26101
  projectKind: z.ZodEnum<{
25189
26102
  git: "git";
@@ -25428,6 +26341,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25428
26341
  running: "running";
25429
26342
  closed: "closed";
25430
26343
  }>;
26344
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
26345
+ turnId: z.ZodString;
26346
+ startedAt: z.ZodNullable<z.ZodString>;
26347
+ }, z.core.$strip>>>;
25431
26348
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
25432
26349
  currentModeId: z.ZodNullable<z.ZodString>;
25433
26350
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -25575,6 +26492,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25575
26492
  running: "running";
25576
26493
  closed: "closed";
25577
26494
  }>;
26495
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
26496
+ turnId: z.ZodString;
26497
+ startedAt: z.ZodNullable<z.ZodString>;
26498
+ }, z.core.$strip>>>;
25578
26499
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
25579
26500
  currentModeId: z.ZodNullable<z.ZodString>;
25580
26501
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -25623,6 +26544,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25623
26544
  }, z.core.$strip>>;
25624
26545
  hasOlder: z.ZodBoolean;
25625
26546
  hasNewer: z.ZodBoolean;
26547
+ mergeWindow: z.ZodOptional<z.ZodBoolean>;
25626
26548
  entries: z.ZodArray<z.ZodObject<{
25627
26549
  provider: z.ZodString;
25628
26550
  item: z.ZodType<AgentTimelineItem, unknown, z.core.$ZodTypeInternals<AgentTimelineItem, unknown>>;
@@ -25641,6 +26563,19 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25641
26563
  }, z.core.$strip>>;
25642
26564
  error: z.ZodNullable<z.ZodString>;
25643
26565
  }, z.core.$strip>;
26566
+ }, z.core.$strip>, z.ZodObject<{
26567
+ type: z.ZodLiteral<"agent.timeline.list_prompts.response">;
26568
+ payload: z.ZodObject<{
26569
+ requestId: z.ZodString;
26570
+ agentId: z.ZodString;
26571
+ epoch: z.ZodString;
26572
+ prompts: z.ZodArray<z.ZodObject<{
26573
+ seq: z.ZodNumber;
26574
+ timestamp: z.ZodString;
26575
+ preview: z.ZodString;
26576
+ }, z.core.$strip>>;
26577
+ error: z.ZodNullable<z.ZodString>;
26578
+ }, z.core.$strip>;
25644
26579
  }, z.core.$strip>, z.ZodObject<{
25645
26580
  type: z.ZodLiteral<"agent.provider_subagents.list.response">;
25646
26581
  payload: z.ZodObject<{
@@ -25662,6 +26597,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25662
26597
  updatedAt: z.ZodString;
25663
26598
  toolCallId: z.ZodNullable<z.ZodString>;
25664
26599
  cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26600
+ subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25665
26601
  }, z.core.$strip>>;
25666
26602
  error: z.ZodNullable<z.ZodString>;
25667
26603
  }, z.core.$strip>;
@@ -25715,6 +26651,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25715
26651
  updatedAt: z.ZodString;
25716
26652
  toolCallId: z.ZodNullable<z.ZodString>;
25717
26653
  cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26654
+ subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25718
26655
  }, z.core.$strip>;
25719
26656
  }, z.core.$strip>, z.ZodObject<{
25720
26657
  kind: z.ZodLiteral<"timeline">;
@@ -25841,6 +26778,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25841
26778
  running: "running";
25842
26779
  closed: "closed";
25843
26780
  }>;
26781
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
26782
+ turnId: z.ZodString;
26783
+ startedAt: z.ZodNullable<z.ZodString>;
26784
+ }, z.core.$strip>>>;
25844
26785
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
25845
26786
  currentModeId: z.ZodNullable<z.ZodString>;
25846
26787
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -25910,6 +26851,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25910
26851
  running: "running";
25911
26852
  closed: "closed";
25912
26853
  }>;
26854
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
26855
+ turnId: z.ZodString;
26856
+ startedAt: z.ZodNullable<z.ZodString>;
26857
+ }, z.core.$strip>>>;
25913
26858
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
25914
26859
  currentModeId: z.ZodNullable<z.ZodString>;
25915
26860
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -25939,8 +26884,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25939
26884
  projectId: z.ZodString;
25940
26885
  projectDisplayName: z.ZodString;
25941
26886
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26887
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25942
26888
  projectRootPath: z.ZodString;
25943
26889
  workspaceDirectory: z.ZodOptional<z.ZodString>;
26890
+ worktreeSlug: z.ZodOptional<z.ZodString>;
25944
26891
  projectKind: z.ZodEnum<{
25945
26892
  git: "git";
25946
26893
  directory: "directory";
@@ -26158,6 +27105,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26158
27105
  publicProxyUrl?: string | null | undefined;
26159
27106
  }[];
26160
27107
  projectCustomName?: string | null | undefined;
27108
+ projectCustomIconRevision?: string | null | undefined;
27109
+ worktreeSlug?: string | undefined;
26161
27110
  title?: string | null | undefined;
26162
27111
  pinnedAt?: string | null | undefined;
26163
27112
  diffStat?: {
@@ -26263,7 +27212,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26263
27212
  publicProxyUrl?: string | null | undefined;
26264
27213
  }[];
26265
27214
  projectCustomName?: string | null | undefined;
27215
+ projectCustomIconRevision?: string | null | undefined;
26266
27216
  workspaceDirectory?: string | undefined;
27217
+ worktreeSlug?: string | undefined;
26267
27218
  title?: string | null | undefined;
26268
27219
  pinnedAt?: string | null | undefined;
26269
27220
  diffStat?: {
@@ -26487,6 +27438,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26487
27438
  payload: z.ZodObject<{
26488
27439
  requestId: z.ZodString;
26489
27440
  config: z.ZodObject<{
27441
+ relay: z.ZodOptional<z.ZodObject<{
27442
+ enabled: z.ZodBoolean;
27443
+ }, z.core.$loose>>;
26490
27444
  mcp: z.ZodObject<{
26491
27445
  injectIntoAgents: z.ZodBoolean;
26492
27446
  }, z.core.$loose>;
@@ -26526,6 +27480,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26526
27480
  payload: z.ZodObject<{
26527
27481
  requestId: z.ZodString;
26528
27482
  config: z.ZodObject<{
27483
+ relay: z.ZodOptional<z.ZodObject<{
27484
+ enabled: z.ZodBoolean;
27485
+ }, z.core.$loose>>;
26529
27486
  mcp: z.ZodObject<{
26530
27487
  injectIntoAgents: z.ZodBoolean;
26531
27488
  }, z.core.$loose>;
@@ -26747,6 +27704,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26747
27704
  customName: z.ZodNullable<z.ZodString>;
26748
27705
  error: z.ZodNullable<z.ZodString>;
26749
27706
  }, z.core.$strip>;
27707
+ }, z.core.$strip>, z.ZodObject<{
27708
+ type: z.ZodLiteral<"project.icon.set.response">;
27709
+ payload: z.ZodObject<{
27710
+ requestId: z.ZodString;
27711
+ projectId: z.ZodString;
27712
+ accepted: z.ZodBoolean;
27713
+ error: z.ZodNullable<z.ZodString>;
27714
+ }, z.core.$strip>;
26750
27715
  }, z.core.$strip>, z.ZodObject<{
26751
27716
  type: z.ZodLiteral<"project.remove.response">;
26752
27717
  payload: z.ZodObject<{
@@ -26851,6 +27816,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26851
27816
  running: "running";
26852
27817
  closed: "closed";
26853
27818
  }>;
27819
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27820
+ turnId: z.ZodString;
27821
+ startedAt: z.ZodNullable<z.ZodString>;
27822
+ }, z.core.$strip>>>;
26854
27823
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
26855
27824
  currentModeId: z.ZodNullable<z.ZodString>;
26856
27825
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -26927,6 +27896,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26927
27896
  message: z.ZodString;
26928
27897
  }, z.core.$strip>>;
26929
27898
  requestId: z.ZodString;
27899
+ upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26930
27900
  isGit: z.ZodLiteral<false>;
26931
27901
  isPaseoOwnedWorktree: z.ZodLiteral<false>;
26932
27902
  repoRoot: z.ZodNull;
@@ -26950,6 +27920,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26950
27920
  message: z.ZodString;
26951
27921
  }, z.core.$strip>>;
26952
27922
  requestId: z.ZodString;
27923
+ upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26953
27924
  isGit: z.ZodLiteral<true>;
26954
27925
  isPaseoOwnedWorktree: z.ZodLiteral<false>;
26955
27926
  repoRoot: z.ZodString;
@@ -26977,6 +27948,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26977
27948
  message: z.ZodString;
26978
27949
  }, z.core.$strip>>;
26979
27950
  requestId: z.ZodString;
27951
+ upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26980
27952
  isGit: z.ZodLiteral<true>;
26981
27953
  isPaseoOwnedWorktree: z.ZodLiteral<true>;
26982
27954
  repoRoot: z.ZodString;
@@ -27007,6 +27979,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27007
27979
  message: z.ZodString;
27008
27980
  }, z.core.$strip>>;
27009
27981
  requestId: z.ZodString;
27982
+ upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27010
27983
  isGit: z.ZodLiteral<false>;
27011
27984
  isPaseoOwnedWorktree: z.ZodLiteral<false>;
27012
27985
  repoRoot: z.ZodNull;
@@ -27030,6 +28003,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27030
28003
  message: z.ZodString;
27031
28004
  }, z.core.$strip>>;
27032
28005
  requestId: z.ZodString;
28006
+ upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27033
28007
  isGit: z.ZodLiteral<true>;
27034
28008
  isPaseoOwnedWorktree: z.ZodLiteral<false>;
27035
28009
  repoRoot: z.ZodString;
@@ -27057,6 +28031,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27057
28031
  message: z.ZodString;
27058
28032
  }, z.core.$strip>>;
27059
28033
  requestId: z.ZodString;
28034
+ upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27060
28035
  isGit: z.ZodLiteral<true>;
27061
28036
  isPaseoOwnedWorktree: z.ZodLiteral<true>;
27062
28037
  repoRoot: z.ZodString;
@@ -27860,6 +28835,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27860
28835
  committerDate: z.ZodNumber;
27861
28836
  hasLocal: z.ZodOptional<z.ZodBoolean>;
27862
28837
  hasRemote: z.ZodOptional<z.ZodBoolean>;
28838
+ localAhead: z.ZodOptional<z.ZodNumber>;
28839
+ localBehind: z.ZodOptional<z.ZodNumber>;
27863
28840
  }, z.core.$strip>>>;
27864
28841
  error: z.ZodNullable<z.ZodString>;
27865
28842
  requestId: z.ZodString;
@@ -27940,8 +28917,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27940
28917
  projectId: z.ZodString;
27941
28918
  projectDisplayName: z.ZodString;
27942
28919
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28920
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27943
28921
  projectRootPath: z.ZodString;
27944
28922
  workspaceDirectory: z.ZodOptional<z.ZodString>;
28923
+ worktreeSlug: z.ZodOptional<z.ZodString>;
27945
28924
  projectKind: z.ZodEnum<{
27946
28925
  git: "git";
27947
28926
  directory: "directory";
@@ -28159,6 +29138,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28159
29138
  publicProxyUrl?: string | null | undefined;
28160
29139
  }[];
28161
29140
  projectCustomName?: string | null | undefined;
29141
+ projectCustomIconRevision?: string | null | undefined;
29142
+ worktreeSlug?: string | undefined;
28162
29143
  title?: string | null | undefined;
28163
29144
  pinnedAt?: string | null | undefined;
28164
29145
  diffStat?: {
@@ -28264,7 +29245,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28264
29245
  publicProxyUrl?: string | null | undefined;
28265
29246
  }[];
28266
29247
  projectCustomName?: string | null | undefined;
29248
+ projectCustomIconRevision?: string | null | undefined;
28267
29249
  workspaceDirectory?: string | undefined;
29250
+ worktreeSlug?: string | undefined;
28268
29251
  title?: string | null | undefined;
28269
29252
  pinnedAt?: string | null | undefined;
28270
29253
  diffStat?: {
@@ -28488,6 +29471,17 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28488
29471
  error: z.ZodNullable<z.ZodString>;
28489
29472
  requestId: z.ZodString;
28490
29473
  }, z.core.$strip>;
29474
+ }, z.core.$strip>, z.ZodObject<{
29475
+ type: z.ZodLiteral<"project.icon.get.response">;
29476
+ payload: z.ZodObject<{
29477
+ projectId: z.ZodString;
29478
+ icon: z.ZodNullable<z.ZodObject<{
29479
+ data: z.ZodString;
29480
+ mimeType: z.ZodString;
29481
+ }, z.core.$strip>>;
29482
+ error: z.ZodNullable<z.ZodString>;
29483
+ requestId: z.ZodString;
29484
+ }, z.core.$strip>;
28491
29485
  }, z.core.$strip>, z.ZodObject<{
28492
29486
  type: z.ZodLiteral<"file_download_token_response">;
28493
29487
  payload: z.ZodObject<{
@@ -28518,7 +29512,23 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28518
29512
  type: z.ZodLiteral<"list_provider_models_response">;
28519
29513
  payload: z.ZodObject<{
28520
29514
  provider: z.ZodString;
28521
- models: z.ZodOptional<z.ZodArray<z.ZodType<AgentModelDefinition, unknown, z.core.$ZodTypeInternals<AgentModelDefinition, unknown>>>>;
29515
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
29516
+ provider: z.ZodString;
29517
+ id: z.ZodString;
29518
+ label: z.ZodString;
29519
+ description: z.ZodOptional<z.ZodString>;
29520
+ isDefault: z.ZodOptional<z.ZodBoolean>;
29521
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
29522
+ contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
29523
+ thinkingOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
29524
+ id: z.ZodString;
29525
+ label: z.ZodString;
29526
+ description: z.ZodOptional<z.ZodString>;
29527
+ isDefault: z.ZodOptional<z.ZodBoolean>;
29528
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
29529
+ }, z.core.$strip>>>;
29530
+ defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
29531
+ }, z.core.$strip>>>;
28522
29532
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28523
29533
  fetchedAt: z.ZodString;
28524
29534
  requestId: z.ZodString;
@@ -28588,13 +29598,68 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28588
29598
  custom: "custom";
28589
29599
  }>>;
28590
29600
  error: z.ZodOptional<z.ZodString>;
28591
- models: z.ZodOptional<z.ZodArray<z.ZodType<AgentModelDefinition, unknown, z.core.$ZodTypeInternals<AgentModelDefinition, unknown>>>>;
29601
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
29602
+ provider: z.ZodString;
29603
+ id: z.ZodString;
29604
+ label: z.ZodString;
29605
+ description: z.ZodOptional<z.ZodString>;
29606
+ isDefault: z.ZodOptional<z.ZodBoolean>;
29607
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
29608
+ contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
29609
+ thinkingOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
29610
+ id: z.ZodString;
29611
+ label: z.ZodString;
29612
+ description: z.ZodOptional<z.ZodString>;
29613
+ isDefault: z.ZodOptional<z.ZodBoolean>;
29614
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
29615
+ }, z.core.$strip>>>;
29616
+ defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
29617
+ }, z.core.$strip>>>;
28592
29618
  modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
28593
29619
  fetchedAt: z.ZodOptional<z.ZodString>;
28594
29620
  label: z.ZodOptional<z.ZodString>;
28595
29621
  description: z.ZodOptional<z.ZodString>;
28596
29622
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28597
29623
  }, z.core.$strip>>;
29624
+ compactSnapshot: z.ZodOptional<z.ZodObject<{
29625
+ entries: z.ZodArray<z.ZodObject<{
29626
+ error: z.ZodOptional<z.ZodString>;
29627
+ description: z.ZodOptional<z.ZodString>;
29628
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
29629
+ label: z.ZodOptional<z.ZodString>;
29630
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
29631
+ defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29632
+ provider: z.ZodString;
29633
+ source: z.ZodOptional<z.ZodEnum<{
29634
+ builtin: "builtin";
29635
+ custom: "custom";
29636
+ }>>;
29637
+ modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
29638
+ fetchedAt: z.ZodOptional<z.ZodString>;
29639
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
29640
+ description: z.ZodOptional<z.ZodString>;
29641
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
29642
+ id: z.ZodString;
29643
+ label: z.ZodString;
29644
+ isDefault: z.ZodOptional<z.ZodBoolean>;
29645
+ contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
29646
+ defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
29647
+ thinkingSet: z.ZodOptional<z.ZodNumber>;
29648
+ }, z.core.$strip>>>;
29649
+ }, z.core.$strip>>;
29650
+ thinkingSets: z.ZodArray<z.ZodObject<{
29651
+ options: z.ZodArray<z.ZodObject<{
29652
+ id: z.ZodString;
29653
+ label: z.ZodString;
29654
+ description: z.ZodOptional<z.ZodString>;
29655
+ isDefault: z.ZodOptional<z.ZodBoolean>;
29656
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
29657
+ }, z.core.$strip>>;
29658
+ defaultOptionId: z.ZodOptional<z.ZodString>;
29659
+ }, z.core.$strip>>;
29660
+ }, z.core.$strip>>;
29661
+ snapshotHash: z.ZodOptional<z.ZodString>;
29662
+ notModified: z.ZodOptional<z.ZodBoolean>;
28598
29663
  generatedAt: z.ZodString;
28599
29664
  requestId: z.ZodString;
28600
29665
  }, z.core.$strip>;
@@ -28611,13 +29676,67 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28611
29676
  custom: "custom";
28612
29677
  }>>;
28613
29678
  error: z.ZodOptional<z.ZodString>;
28614
- models: z.ZodOptional<z.ZodArray<z.ZodType<AgentModelDefinition, unknown, z.core.$ZodTypeInternals<AgentModelDefinition, unknown>>>>;
29679
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
29680
+ provider: z.ZodString;
29681
+ id: z.ZodString;
29682
+ label: z.ZodString;
29683
+ description: z.ZodOptional<z.ZodString>;
29684
+ isDefault: z.ZodOptional<z.ZodBoolean>;
29685
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
29686
+ contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
29687
+ thinkingOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
29688
+ id: z.ZodString;
29689
+ label: z.ZodString;
29690
+ description: z.ZodOptional<z.ZodString>;
29691
+ isDefault: z.ZodOptional<z.ZodBoolean>;
29692
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
29693
+ }, z.core.$strip>>>;
29694
+ defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
29695
+ }, z.core.$strip>>>;
28615
29696
  modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
28616
29697
  fetchedAt: z.ZodOptional<z.ZodString>;
28617
29698
  label: z.ZodOptional<z.ZodString>;
28618
29699
  description: z.ZodOptional<z.ZodString>;
28619
29700
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28620
29701
  }, z.core.$strip>>;
29702
+ compactSnapshot: z.ZodOptional<z.ZodObject<{
29703
+ entries: z.ZodArray<z.ZodObject<{
29704
+ error: z.ZodOptional<z.ZodString>;
29705
+ description: z.ZodOptional<z.ZodString>;
29706
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
29707
+ label: z.ZodOptional<z.ZodString>;
29708
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
29709
+ defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29710
+ provider: z.ZodString;
29711
+ source: z.ZodOptional<z.ZodEnum<{
29712
+ builtin: "builtin";
29713
+ custom: "custom";
29714
+ }>>;
29715
+ modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
29716
+ fetchedAt: z.ZodOptional<z.ZodString>;
29717
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
29718
+ description: z.ZodOptional<z.ZodString>;
29719
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
29720
+ id: z.ZodString;
29721
+ label: z.ZodString;
29722
+ isDefault: z.ZodOptional<z.ZodBoolean>;
29723
+ contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
29724
+ defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
29725
+ thinkingSet: z.ZodOptional<z.ZodNumber>;
29726
+ }, z.core.$strip>>>;
29727
+ }, z.core.$strip>>;
29728
+ thinkingSets: z.ZodArray<z.ZodObject<{
29729
+ options: z.ZodArray<z.ZodObject<{
29730
+ id: z.ZodString;
29731
+ label: z.ZodString;
29732
+ description: z.ZodOptional<z.ZodString>;
29733
+ isDefault: z.ZodOptional<z.ZodBoolean>;
29734
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
29735
+ }, z.core.$strip>>;
29736
+ defaultOptionId: z.ZodOptional<z.ZodString>;
29737
+ }, z.core.$strip>>;
29738
+ }, z.core.$strip>>;
29739
+ snapshotHash: z.ZodOptional<z.ZodString>;
28621
29740
  generatedAt: z.ZodString;
28622
29741
  }, z.core.$strip>;
28623
29742
  }, z.core.$strip>, z.ZodObject<{
@@ -29896,6 +31015,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
29896
31015
  terminal_reflowable_snapshot: z.ZodOptional<z.ZodBoolean>;
29897
31016
  provider_subagents: z.ZodOptional<z.ZodBoolean>;
29898
31017
  project_updates: z.ZodOptional<z.ZodBoolean>;
31018
+ compact_provider_snapshots: z.ZodOptional<z.ZodBoolean>;
29899
31019
  browser_host: z.ZodOptional<z.ZodObject<{
29900
31020
  supportedCommands: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("select" | "type" | "fill" | "logs" | "list_tabs" | "new_tab" | "snapshot" | "click" | "wait" | "keypress" | "navigate" | "back" | "forward" | "reload" | "screenshot" | "upload" | "hover" | "drag" | "evaluate" | "scroll" | "resize" | "close_tab")[], string[]>>;
29901
31021
  hostKind: z.ZodDefault<z.ZodString>;
@@ -29919,6 +31039,23 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
29919
31039
  thinkingOptionId: z.ZodOptional<z.ZodString>;
29920
31040
  featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
29921
31041
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
31042
+ mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
31043
+ type: z.ZodLiteral<"stdio">;
31044
+ command: z.ZodString;
31045
+ args: z.ZodOptional<z.ZodArray<z.ZodString>>;
31046
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
31047
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
31048
+ }, z.core.$strip>, z.ZodObject<{
31049
+ type: z.ZodLiteral<"http">;
31050
+ url: z.ZodString;
31051
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
31052
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
31053
+ }, z.core.$strip>, z.ZodObject<{
31054
+ type: z.ZodLiteral<"sse">;
31055
+ url: z.ZodString;
31056
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
31057
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
31058
+ }, z.core.$strip>], "type">>>;
29922
31059
  worktree: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
29923
31060
  mode: z.ZodLiteral<"branch-off">;
29924
31061
  newBranch: z.ZodString;
@@ -30291,6 +31428,16 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
30291
31428
  projectId: z.ZodString;
30292
31429
  customName: z.ZodNullable<z.ZodString>;
30293
31430
  requestId: z.ZodString;
31431
+ }, z.core.$strip>, z.ZodObject<{
31432
+ type: z.ZodLiteral<"project.icon.set.request">;
31433
+ projectId: z.ZodString;
31434
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
31435
+ type: z.ZodLiteral<"automatic">;
31436
+ }, z.core.$strip>, z.ZodObject<{
31437
+ type: z.ZodLiteral<"upload">;
31438
+ data: z.ZodString;
31439
+ }, z.core.$strip>], "type">;
31440
+ requestId: z.ZodString;
30294
31441
  }, z.core.$strip>, z.ZodObject<{
30295
31442
  type: z.ZodLiteral<"project.remove.request">;
30296
31443
  projectId: z.ZodString;
@@ -30438,6 +31585,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
30438
31585
  type: z.ZodLiteral<"set_daemon_config_request">;
30439
31586
  requestId: z.ZodString;
30440
31587
  config: z.ZodObject<{
31588
+ relay: z.ZodOptional<z.ZodOptional<z.ZodObject<{
31589
+ enabled: z.ZodOptional<z.ZodBoolean>;
31590
+ }, z.core.$loose>>>;
30441
31591
  mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
30442
31592
  injectIntoAgents: z.ZodOptional<z.ZodBoolean>;
30443
31593
  }, z.core.$loose>>>;
@@ -30716,6 +31866,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
30716
31866
  }, z.core.$strip>, z.ZodObject<{
30717
31867
  type: z.ZodLiteral<"get_providers_snapshot_request">;
30718
31868
  cwd: z.ZodOptional<z.ZodString>;
31869
+ ifNoneMatch: z.ZodOptional<z.ZodString>;
30719
31870
  requestId: z.ZodString;
30720
31871
  }, z.core.$strip>, z.ZodObject<{
30721
31872
  type: z.ZodLiteral<"refresh_providers_snapshot_request">;
@@ -30814,6 +31965,11 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
30814
31965
  projected: "projected";
30815
31966
  canonical: "canonical";
30816
31967
  }>>;
31968
+ mergeWindow: z.ZodOptional<z.ZodBoolean>;
31969
+ }, z.core.$strip>, z.ZodObject<{
31970
+ type: z.ZodLiteral<"agent.timeline.list_prompts.request">;
31971
+ agentId: z.ZodString;
31972
+ requestId: z.ZodString;
30817
31973
  }, z.core.$strip>, z.ZodObject<{
30818
31974
  type: z.ZodLiteral<"agent.provider_subagents.list.request">;
30819
31975
  parentAgentId: z.ZodString;
@@ -31474,6 +32630,10 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
31474
32630
  type: z.ZodLiteral<"project_icon_request">;
31475
32631
  cwd: z.ZodString;
31476
32632
  requestId: z.ZodString;
32633
+ }, z.core.$strip>, z.ZodObject<{
32634
+ type: z.ZodLiteral<"project.icon.get.request">;
32635
+ projectId: z.ZodString;
32636
+ requestId: z.ZodString;
31477
32637
  }, z.core.$strip>, z.ZodObject<{
31478
32638
  type: z.ZodLiteral<"file_download_token_request">;
31479
32639
  cwd: z.ZodString;
@@ -31599,6 +32759,10 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
31599
32759
  type: z.ZodLiteral<"resize">;
31600
32760
  rows: z.ZodNumber;
31601
32761
  cols: z.ZodNumber;
32762
+ intent: z.ZodOptional<z.ZodEnum<{
32763
+ claim: "claim";
32764
+ update: "update";
32765
+ }>>;
31602
32766
  }, z.core.$strip>, z.ZodObject<{
31603
32767
  type: z.ZodLiteral<"mouse">;
31604
32768
  row: z.ZodNumber;
@@ -31851,6 +33015,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
31851
33015
  running: "running";
31852
33016
  closed: "closed";
31853
33017
  }>;
33018
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
33019
+ turnId: z.ZodString;
33020
+ startedAt: z.ZodNullable<z.ZodString>;
33021
+ }, z.core.$strip>>>;
31854
33022
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
31855
33023
  currentModeId: z.ZodNullable<z.ZodString>;
31856
33024
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -31933,6 +33101,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
31933
33101
  running: "running";
31934
33102
  closed: "closed";
31935
33103
  }>;
33104
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
33105
+ turnId: z.ZodString;
33106
+ startedAt: z.ZodNullable<z.ZodString>;
33107
+ }, z.core.$strip>>>;
31936
33108
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
31937
33109
  currentModeId: z.ZodNullable<z.ZodString>;
31938
33110
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -31966,19 +33138,23 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
31966
33138
  }, z.core.$strip>, z.ZodObject<{
31967
33139
  type: z.ZodLiteral<"turn_started">;
31968
33140
  provider: z.ZodString;
33141
+ turnId: z.ZodOptional<z.ZodString>;
31969
33142
  }, z.core.$strip>, z.ZodObject<{
31970
33143
  type: z.ZodLiteral<"turn_completed">;
31971
33144
  provider: z.ZodString;
33145
+ turnId: z.ZodOptional<z.ZodString>;
31972
33146
  usage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
31973
33147
  }, z.core.$strip>, z.ZodObject<{
31974
33148
  type: z.ZodLiteral<"turn_failed">;
31975
33149
  provider: z.ZodString;
33150
+ turnId: z.ZodOptional<z.ZodString>;
31976
33151
  error: z.ZodString;
31977
33152
  code: z.ZodOptional<z.ZodString>;
31978
33153
  diagnostic: z.ZodOptional<z.ZodString>;
31979
33154
  }, z.core.$strip>, z.ZodObject<{
31980
33155
  type: z.ZodLiteral<"turn_canceled">;
31981
33156
  provider: z.ZodString;
33157
+ turnId: z.ZodOptional<z.ZodString>;
31982
33158
  reason: z.ZodString;
31983
33159
  }, z.core.$strip>, z.ZodObject<{
31984
33160
  type: z.ZodLiteral<"timeline">;
@@ -32339,6 +33515,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32339
33515
  running: "running";
32340
33516
  closed: "closed";
32341
33517
  }>;
33518
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
33519
+ turnId: z.ZodString;
33520
+ startedAt: z.ZodNullable<z.ZodString>;
33521
+ }, z.core.$strip>>>;
32342
33522
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
32343
33523
  currentModeId: z.ZodNullable<z.ZodString>;
32344
33524
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -32450,8 +33630,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32450
33630
  projectId: z.ZodString;
32451
33631
  projectDisplayName: z.ZodString;
32452
33632
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33633
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32453
33634
  projectRootPath: z.ZodString;
32454
33635
  workspaceDirectory: z.ZodOptional<z.ZodString>;
33636
+ worktreeSlug: z.ZodOptional<z.ZodString>;
32455
33637
  projectKind: z.ZodEnum<{
32456
33638
  git: "git";
32457
33639
  directory: "directory";
@@ -32669,6 +33851,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32669
33851
  publicProxyUrl?: string | null | undefined;
32670
33852
  }[];
32671
33853
  projectCustomName?: string | null | undefined;
33854
+ projectCustomIconRevision?: string | null | undefined;
33855
+ worktreeSlug?: string | undefined;
32672
33856
  title?: string | null | undefined;
32673
33857
  pinnedAt?: string | null | undefined;
32674
33858
  diffStat?: {
@@ -32774,7 +33958,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32774
33958
  publicProxyUrl?: string | null | undefined;
32775
33959
  }[];
32776
33960
  projectCustomName?: string | null | undefined;
33961
+ projectCustomIconRevision?: string | null | undefined;
32777
33962
  workspaceDirectory?: string | undefined;
33963
+ worktreeSlug?: string | undefined;
32778
33964
  title?: string | null | undefined;
32779
33965
  pinnedAt?: string | null | undefined;
32780
33966
  diffStat?: {
@@ -32863,6 +34049,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32863
34049
  projectKey: z.ZodOptional<z.ZodString>;
32864
34050
  projectDisplayName: z.ZodString;
32865
34051
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34052
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32866
34053
  projectRootPath: z.ZodString;
32867
34054
  projectKind: z.ZodEnum<{
32868
34055
  git: "git";
@@ -32881,6 +34068,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32881
34068
  projectKey: z.ZodOptional<z.ZodString>;
32882
34069
  projectDisplayName: z.ZodString;
32883
34070
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34071
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32884
34072
  projectRootPath: z.ZodString;
32885
34073
  projectKind: z.ZodEnum<{
32886
34074
  git: "git";
@@ -32901,6 +34089,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32901
34089
  projectKey: z.ZodOptional<z.ZodString>;
32902
34090
  projectDisplayName: z.ZodString;
32903
34091
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34092
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32904
34093
  projectRootPath: z.ZodString;
32905
34094
  projectKind: z.ZodEnum<{
32906
34095
  git: "git";
@@ -33012,19 +34201,23 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33012
34201
  }, z.core.$strip>, z.ZodObject<{
33013
34202
  type: z.ZodLiteral<"turn_started">;
33014
34203
  provider: z.ZodString;
34204
+ turnId: z.ZodOptional<z.ZodString>;
33015
34205
  }, z.core.$strip>, z.ZodObject<{
33016
34206
  type: z.ZodLiteral<"turn_completed">;
33017
34207
  provider: z.ZodString;
34208
+ turnId: z.ZodOptional<z.ZodString>;
33018
34209
  usage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
33019
34210
  }, z.core.$strip>, z.ZodObject<{
33020
34211
  type: z.ZodLiteral<"turn_failed">;
33021
34212
  provider: z.ZodString;
34213
+ turnId: z.ZodOptional<z.ZodString>;
33022
34214
  error: z.ZodString;
33023
34215
  code: z.ZodOptional<z.ZodString>;
33024
34216
  diagnostic: z.ZodOptional<z.ZodString>;
33025
34217
  }, z.core.$strip>, z.ZodObject<{
33026
34218
  type: z.ZodLiteral<"turn_canceled">;
33027
34219
  provider: z.ZodString;
34220
+ turnId: z.ZodOptional<z.ZodString>;
33028
34221
  reason: z.ZodString;
33029
34222
  }, z.core.$strip>, z.ZodObject<{
33030
34223
  type: z.ZodLiteral<"timeline">;
@@ -33115,6 +34308,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33115
34308
  running: "running";
33116
34309
  closed: "closed";
33117
34310
  }>;
34311
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34312
+ turnId: z.ZodString;
34313
+ startedAt: z.ZodNullable<z.ZodString>;
34314
+ }, z.core.$strip>>>;
33118
34315
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
33119
34316
  currentModeId: z.ZodNullable<z.ZodString>;
33120
34317
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -33184,6 +34381,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33184
34381
  running: "running";
33185
34382
  closed: "closed";
33186
34383
  }>;
34384
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34385
+ turnId: z.ZodString;
34386
+ startedAt: z.ZodNullable<z.ZodString>;
34387
+ }, z.core.$strip>>>;
33187
34388
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
33188
34389
  currentModeId: z.ZodNullable<z.ZodString>;
33189
34390
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -33336,6 +34537,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33336
34537
  running: "running";
33337
34538
  closed: "closed";
33338
34539
  }>;
34540
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34541
+ turnId: z.ZodString;
34542
+ startedAt: z.ZodNullable<z.ZodString>;
34543
+ }, z.core.$strip>>>;
33339
34544
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
33340
34545
  currentModeId: z.ZodNullable<z.ZodString>;
33341
34546
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -33467,8 +34672,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33467
34672
  projectId: z.ZodString;
33468
34673
  projectDisplayName: z.ZodString;
33469
34674
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34675
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33470
34676
  projectRootPath: z.ZodString;
33471
34677
  workspaceDirectory: z.ZodOptional<z.ZodString>;
34678
+ worktreeSlug: z.ZodOptional<z.ZodString>;
33472
34679
  projectKind: z.ZodEnum<{
33473
34680
  git: "git";
33474
34681
  directory: "directory";
@@ -33686,6 +34893,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33686
34893
  publicProxyUrl?: string | null | undefined;
33687
34894
  }[];
33688
34895
  projectCustomName?: string | null | undefined;
34896
+ projectCustomIconRevision?: string | null | undefined;
34897
+ worktreeSlug?: string | undefined;
33689
34898
  title?: string | null | undefined;
33690
34899
  pinnedAt?: string | null | undefined;
33691
34900
  diffStat?: {
@@ -33791,7 +35000,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33791
35000
  publicProxyUrl?: string | null | undefined;
33792
35001
  }[];
33793
35002
  projectCustomName?: string | null | undefined;
35003
+ projectCustomIconRevision?: string | null | undefined;
33794
35004
  workspaceDirectory?: string | undefined;
35005
+ worktreeSlug?: string | undefined;
33795
35006
  title?: string | null | undefined;
33796
35007
  pinnedAt?: string | null | undefined;
33797
35008
  diffStat?: {
@@ -33877,6 +35088,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33877
35088
  projectKey: z.ZodOptional<z.ZodString>;
33878
35089
  projectDisplayName: z.ZodString;
33879
35090
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35091
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33880
35092
  projectRootPath: z.ZodString;
33881
35093
  projectKind: z.ZodEnum<{
33882
35094
  git: "git";
@@ -33899,6 +35111,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33899
35111
  projectKey: z.ZodOptional<z.ZodString>;
33900
35112
  projectDisplayName: z.ZodString;
33901
35113
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35114
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33902
35115
  projectRootPath: z.ZodString;
33903
35116
  projectKind: z.ZodEnum<{
33904
35117
  git: "git";
@@ -33921,6 +35134,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33921
35134
  projectKey: z.ZodOptional<z.ZodString>;
33922
35135
  projectDisplayName: z.ZodString;
33923
35136
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35137
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33924
35138
  projectRootPath: z.ZodString;
33925
35139
  projectKind: z.ZodEnum<{
33926
35140
  git: "git";
@@ -33940,8 +35154,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33940
35154
  projectId: z.ZodString;
33941
35155
  projectDisplayName: z.ZodString;
33942
35156
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35157
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33943
35158
  projectRootPath: z.ZodString;
33944
35159
  workspaceDirectory: z.ZodOptional<z.ZodString>;
35160
+ worktreeSlug: z.ZodOptional<z.ZodString>;
33945
35161
  projectKind: z.ZodEnum<{
33946
35162
  git: "git";
33947
35163
  directory: "directory";
@@ -34159,6 +35375,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34159
35375
  publicProxyUrl?: string | null | undefined;
34160
35376
  }[];
34161
35377
  projectCustomName?: string | null | undefined;
35378
+ projectCustomIconRevision?: string | null | undefined;
35379
+ worktreeSlug?: string | undefined;
34162
35380
  title?: string | null | undefined;
34163
35381
  pinnedAt?: string | null | undefined;
34164
35382
  diffStat?: {
@@ -34264,7 +35482,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34264
35482
  publicProxyUrl?: string | null | undefined;
34265
35483
  }[];
34266
35484
  projectCustomName?: string | null | undefined;
35485
+ projectCustomIconRevision?: string | null | undefined;
34267
35486
  workspaceDirectory?: string | undefined;
35487
+ worktreeSlug?: string | undefined;
34268
35488
  title?: string | null | undefined;
34269
35489
  pinnedAt?: string | null | undefined;
34270
35490
  diffStat?: {
@@ -34437,6 +35657,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34437
35657
  projectKey: z.ZodOptional<z.ZodString>;
34438
35658
  projectDisplayName: z.ZodString;
34439
35659
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35660
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34440
35661
  projectRootPath: z.ZodString;
34441
35662
  projectKind: z.ZodEnum<{
34442
35663
  git: "git";
@@ -34681,6 +35902,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34681
35902
  running: "running";
34682
35903
  closed: "closed";
34683
35904
  }>;
35905
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
35906
+ turnId: z.ZodString;
35907
+ startedAt: z.ZodNullable<z.ZodString>;
35908
+ }, z.core.$strip>>>;
34684
35909
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
34685
35910
  currentModeId: z.ZodNullable<z.ZodString>;
34686
35911
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -34828,6 +36053,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34828
36053
  running: "running";
34829
36054
  closed: "closed";
34830
36055
  }>;
36056
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
36057
+ turnId: z.ZodString;
36058
+ startedAt: z.ZodNullable<z.ZodString>;
36059
+ }, z.core.$strip>>>;
34831
36060
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
34832
36061
  currentModeId: z.ZodNullable<z.ZodString>;
34833
36062
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -34876,6 +36105,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34876
36105
  }, z.core.$strip>>;
34877
36106
  hasOlder: z.ZodBoolean;
34878
36107
  hasNewer: z.ZodBoolean;
36108
+ mergeWindow: z.ZodOptional<z.ZodBoolean>;
34879
36109
  entries: z.ZodArray<z.ZodObject<{
34880
36110
  provider: z.ZodString;
34881
36111
  item: z.ZodType<AgentTimelineItem, unknown, z.core.$ZodTypeInternals<AgentTimelineItem, unknown>>;
@@ -34894,6 +36124,19 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34894
36124
  }, z.core.$strip>>;
34895
36125
  error: z.ZodNullable<z.ZodString>;
34896
36126
  }, z.core.$strip>;
36127
+ }, z.core.$strip>, z.ZodObject<{
36128
+ type: z.ZodLiteral<"agent.timeline.list_prompts.response">;
36129
+ payload: z.ZodObject<{
36130
+ requestId: z.ZodString;
36131
+ agentId: z.ZodString;
36132
+ epoch: z.ZodString;
36133
+ prompts: z.ZodArray<z.ZodObject<{
36134
+ seq: z.ZodNumber;
36135
+ timestamp: z.ZodString;
36136
+ preview: z.ZodString;
36137
+ }, z.core.$strip>>;
36138
+ error: z.ZodNullable<z.ZodString>;
36139
+ }, z.core.$strip>;
34897
36140
  }, z.core.$strip>, z.ZodObject<{
34898
36141
  type: z.ZodLiteral<"agent.provider_subagents.list.response">;
34899
36142
  payload: z.ZodObject<{
@@ -34915,6 +36158,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34915
36158
  updatedAt: z.ZodString;
34916
36159
  toolCallId: z.ZodNullable<z.ZodString>;
34917
36160
  cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36161
+ subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34918
36162
  }, z.core.$strip>>;
34919
36163
  error: z.ZodNullable<z.ZodString>;
34920
36164
  }, z.core.$strip>;
@@ -34968,6 +36212,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34968
36212
  updatedAt: z.ZodString;
34969
36213
  toolCallId: z.ZodNullable<z.ZodString>;
34970
36214
  cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36215
+ subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34971
36216
  }, z.core.$strip>;
34972
36217
  }, z.core.$strip>, z.ZodObject<{
34973
36218
  kind: z.ZodLiteral<"timeline">;
@@ -35094,6 +36339,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35094
36339
  running: "running";
35095
36340
  closed: "closed";
35096
36341
  }>;
36342
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
36343
+ turnId: z.ZodString;
36344
+ startedAt: z.ZodNullable<z.ZodString>;
36345
+ }, z.core.$strip>>>;
35097
36346
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
35098
36347
  currentModeId: z.ZodNullable<z.ZodString>;
35099
36348
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -35163,6 +36412,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35163
36412
  running: "running";
35164
36413
  closed: "closed";
35165
36414
  }>;
36415
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
36416
+ turnId: z.ZodString;
36417
+ startedAt: z.ZodNullable<z.ZodString>;
36418
+ }, z.core.$strip>>>;
35166
36419
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
35167
36420
  currentModeId: z.ZodNullable<z.ZodString>;
35168
36421
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -35192,8 +36445,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35192
36445
  projectId: z.ZodString;
35193
36446
  projectDisplayName: z.ZodString;
35194
36447
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36448
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35195
36449
  projectRootPath: z.ZodString;
35196
36450
  workspaceDirectory: z.ZodOptional<z.ZodString>;
36451
+ worktreeSlug: z.ZodOptional<z.ZodString>;
35197
36452
  projectKind: z.ZodEnum<{
35198
36453
  git: "git";
35199
36454
  directory: "directory";
@@ -35411,6 +36666,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35411
36666
  publicProxyUrl?: string | null | undefined;
35412
36667
  }[];
35413
36668
  projectCustomName?: string | null | undefined;
36669
+ projectCustomIconRevision?: string | null | undefined;
36670
+ worktreeSlug?: string | undefined;
35414
36671
  title?: string | null | undefined;
35415
36672
  pinnedAt?: string | null | undefined;
35416
36673
  diffStat?: {
@@ -35516,7 +36773,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35516
36773
  publicProxyUrl?: string | null | undefined;
35517
36774
  }[];
35518
36775
  projectCustomName?: string | null | undefined;
36776
+ projectCustomIconRevision?: string | null | undefined;
35519
36777
  workspaceDirectory?: string | undefined;
36778
+ worktreeSlug?: string | undefined;
35520
36779
  title?: string | null | undefined;
35521
36780
  pinnedAt?: string | null | undefined;
35522
36781
  diffStat?: {
@@ -35740,6 +36999,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35740
36999
  payload: z.ZodObject<{
35741
37000
  requestId: z.ZodString;
35742
37001
  config: z.ZodObject<{
37002
+ relay: z.ZodOptional<z.ZodObject<{
37003
+ enabled: z.ZodBoolean;
37004
+ }, z.core.$loose>>;
35743
37005
  mcp: z.ZodObject<{
35744
37006
  injectIntoAgents: z.ZodBoolean;
35745
37007
  }, z.core.$loose>;
@@ -35779,6 +37041,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35779
37041
  payload: z.ZodObject<{
35780
37042
  requestId: z.ZodString;
35781
37043
  config: z.ZodObject<{
37044
+ relay: z.ZodOptional<z.ZodObject<{
37045
+ enabled: z.ZodBoolean;
37046
+ }, z.core.$loose>>;
35782
37047
  mcp: z.ZodObject<{
35783
37048
  injectIntoAgents: z.ZodBoolean;
35784
37049
  }, z.core.$loose>;
@@ -36000,6 +37265,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
36000
37265
  customName: z.ZodNullable<z.ZodString>;
36001
37266
  error: z.ZodNullable<z.ZodString>;
36002
37267
  }, z.core.$strip>;
37268
+ }, z.core.$strip>, z.ZodObject<{
37269
+ type: z.ZodLiteral<"project.icon.set.response">;
37270
+ payload: z.ZodObject<{
37271
+ requestId: z.ZodString;
37272
+ projectId: z.ZodString;
37273
+ accepted: z.ZodBoolean;
37274
+ error: z.ZodNullable<z.ZodString>;
37275
+ }, z.core.$strip>;
36003
37276
  }, z.core.$strip>, z.ZodObject<{
36004
37277
  type: z.ZodLiteral<"project.remove.response">;
36005
37278
  payload: z.ZodObject<{
@@ -36104,6 +37377,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
36104
37377
  running: "running";
36105
37378
  closed: "closed";
36106
37379
  }>;
37380
+ activeTurn: z.ZodOptional<z.ZodNullable<z.ZodObject<{
37381
+ turnId: z.ZodString;
37382
+ startedAt: z.ZodNullable<z.ZodString>;
37383
+ }, z.core.$strip>>>;
36107
37384
  capabilities: z.ZodType<AgentCapabilityFlags, unknown, z.core.$ZodTypeInternals<AgentCapabilityFlags, unknown>>;
36108
37385
  currentModeId: z.ZodNullable<z.ZodString>;
36109
37386
  availableModes: z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>;
@@ -36180,6 +37457,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
36180
37457
  message: z.ZodString;
36181
37458
  }, z.core.$strip>>;
36182
37459
  requestId: z.ZodString;
37460
+ upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36183
37461
  isGit: z.ZodLiteral<false>;
36184
37462
  isPaseoOwnedWorktree: z.ZodLiteral<false>;
36185
37463
  repoRoot: z.ZodNull;
@@ -36203,6 +37481,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
36203
37481
  message: z.ZodString;
36204
37482
  }, z.core.$strip>>;
36205
37483
  requestId: z.ZodString;
37484
+ upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36206
37485
  isGit: z.ZodLiteral<true>;
36207
37486
  isPaseoOwnedWorktree: z.ZodLiteral<false>;
36208
37487
  repoRoot: z.ZodString;
@@ -36230,6 +37509,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
36230
37509
  message: z.ZodString;
36231
37510
  }, z.core.$strip>>;
36232
37511
  requestId: z.ZodString;
37512
+ upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36233
37513
  isGit: z.ZodLiteral<true>;
36234
37514
  isPaseoOwnedWorktree: z.ZodLiteral<true>;
36235
37515
  repoRoot: z.ZodString;
@@ -36260,6 +37540,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
36260
37540
  message: z.ZodString;
36261
37541
  }, z.core.$strip>>;
36262
37542
  requestId: z.ZodString;
37543
+ upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36263
37544
  isGit: z.ZodLiteral<false>;
36264
37545
  isPaseoOwnedWorktree: z.ZodLiteral<false>;
36265
37546
  repoRoot: z.ZodNull;
@@ -36283,6 +37564,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
36283
37564
  message: z.ZodString;
36284
37565
  }, z.core.$strip>>;
36285
37566
  requestId: z.ZodString;
37567
+ upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36286
37568
  isGit: z.ZodLiteral<true>;
36287
37569
  isPaseoOwnedWorktree: z.ZodLiteral<false>;
36288
37570
  repoRoot: z.ZodString;
@@ -36310,6 +37592,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
36310
37592
  message: z.ZodString;
36311
37593
  }, z.core.$strip>>;
36312
37594
  requestId: z.ZodString;
37595
+ upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36313
37596
  isGit: z.ZodLiteral<true>;
36314
37597
  isPaseoOwnedWorktree: z.ZodLiteral<true>;
36315
37598
  repoRoot: z.ZodString;
@@ -37113,6 +38396,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37113
38396
  committerDate: z.ZodNumber;
37114
38397
  hasLocal: z.ZodOptional<z.ZodBoolean>;
37115
38398
  hasRemote: z.ZodOptional<z.ZodBoolean>;
38399
+ localAhead: z.ZodOptional<z.ZodNumber>;
38400
+ localBehind: z.ZodOptional<z.ZodNumber>;
37116
38401
  }, z.core.$strip>>>;
37117
38402
  error: z.ZodNullable<z.ZodString>;
37118
38403
  requestId: z.ZodString;
@@ -37193,8 +38478,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37193
38478
  projectId: z.ZodString;
37194
38479
  projectDisplayName: z.ZodString;
37195
38480
  projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38481
+ projectCustomIconRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37196
38482
  projectRootPath: z.ZodString;
37197
38483
  workspaceDirectory: z.ZodOptional<z.ZodString>;
38484
+ worktreeSlug: z.ZodOptional<z.ZodString>;
37198
38485
  projectKind: z.ZodEnum<{
37199
38486
  git: "git";
37200
38487
  directory: "directory";
@@ -37412,6 +38699,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37412
38699
  publicProxyUrl?: string | null | undefined;
37413
38700
  }[];
37414
38701
  projectCustomName?: string | null | undefined;
38702
+ projectCustomIconRevision?: string | null | undefined;
38703
+ worktreeSlug?: string | undefined;
37415
38704
  title?: string | null | undefined;
37416
38705
  pinnedAt?: string | null | undefined;
37417
38706
  diffStat?: {
@@ -37517,7 +38806,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37517
38806
  publicProxyUrl?: string | null | undefined;
37518
38807
  }[];
37519
38808
  projectCustomName?: string | null | undefined;
38809
+ projectCustomIconRevision?: string | null | undefined;
37520
38810
  workspaceDirectory?: string | undefined;
38811
+ worktreeSlug?: string | undefined;
37521
38812
  title?: string | null | undefined;
37522
38813
  pinnedAt?: string | null | undefined;
37523
38814
  diffStat?: {
@@ -37741,6 +39032,17 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37741
39032
  error: z.ZodNullable<z.ZodString>;
37742
39033
  requestId: z.ZodString;
37743
39034
  }, z.core.$strip>;
39035
+ }, z.core.$strip>, z.ZodObject<{
39036
+ type: z.ZodLiteral<"project.icon.get.response">;
39037
+ payload: z.ZodObject<{
39038
+ projectId: z.ZodString;
39039
+ icon: z.ZodNullable<z.ZodObject<{
39040
+ data: z.ZodString;
39041
+ mimeType: z.ZodString;
39042
+ }, z.core.$strip>>;
39043
+ error: z.ZodNullable<z.ZodString>;
39044
+ requestId: z.ZodString;
39045
+ }, z.core.$strip>;
37744
39046
  }, z.core.$strip>, z.ZodObject<{
37745
39047
  type: z.ZodLiteral<"file_download_token_response">;
37746
39048
  payload: z.ZodObject<{
@@ -37771,7 +39073,23 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37771
39073
  type: z.ZodLiteral<"list_provider_models_response">;
37772
39074
  payload: z.ZodObject<{
37773
39075
  provider: z.ZodString;
37774
- models: z.ZodOptional<z.ZodArray<z.ZodType<AgentModelDefinition, unknown, z.core.$ZodTypeInternals<AgentModelDefinition, unknown>>>>;
39076
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
39077
+ provider: z.ZodString;
39078
+ id: z.ZodString;
39079
+ label: z.ZodString;
39080
+ description: z.ZodOptional<z.ZodString>;
39081
+ isDefault: z.ZodOptional<z.ZodBoolean>;
39082
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
39083
+ contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
39084
+ thinkingOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
39085
+ id: z.ZodString;
39086
+ label: z.ZodString;
39087
+ description: z.ZodOptional<z.ZodString>;
39088
+ isDefault: z.ZodOptional<z.ZodBoolean>;
39089
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
39090
+ }, z.core.$strip>>>;
39091
+ defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
39092
+ }, z.core.$strip>>>;
37775
39093
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37776
39094
  fetchedAt: z.ZodString;
37777
39095
  requestId: z.ZodString;
@@ -37841,13 +39159,68 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37841
39159
  custom: "custom";
37842
39160
  }>>;
37843
39161
  error: z.ZodOptional<z.ZodString>;
37844
- models: z.ZodOptional<z.ZodArray<z.ZodType<AgentModelDefinition, unknown, z.core.$ZodTypeInternals<AgentModelDefinition, unknown>>>>;
39162
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
39163
+ provider: z.ZodString;
39164
+ id: z.ZodString;
39165
+ label: z.ZodString;
39166
+ description: z.ZodOptional<z.ZodString>;
39167
+ isDefault: z.ZodOptional<z.ZodBoolean>;
39168
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
39169
+ contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
39170
+ thinkingOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
39171
+ id: z.ZodString;
39172
+ label: z.ZodString;
39173
+ description: z.ZodOptional<z.ZodString>;
39174
+ isDefault: z.ZodOptional<z.ZodBoolean>;
39175
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
39176
+ }, z.core.$strip>>>;
39177
+ defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
39178
+ }, z.core.$strip>>>;
37845
39179
  modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
37846
39180
  fetchedAt: z.ZodOptional<z.ZodString>;
37847
39181
  label: z.ZodOptional<z.ZodString>;
37848
39182
  description: z.ZodOptional<z.ZodString>;
37849
39183
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37850
39184
  }, z.core.$strip>>;
39185
+ compactSnapshot: z.ZodOptional<z.ZodObject<{
39186
+ entries: z.ZodArray<z.ZodObject<{
39187
+ error: z.ZodOptional<z.ZodString>;
39188
+ description: z.ZodOptional<z.ZodString>;
39189
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
39190
+ label: z.ZodOptional<z.ZodString>;
39191
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
39192
+ defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39193
+ provider: z.ZodString;
39194
+ source: z.ZodOptional<z.ZodEnum<{
39195
+ builtin: "builtin";
39196
+ custom: "custom";
39197
+ }>>;
39198
+ modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
39199
+ fetchedAt: z.ZodOptional<z.ZodString>;
39200
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
39201
+ description: z.ZodOptional<z.ZodString>;
39202
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
39203
+ id: z.ZodString;
39204
+ label: z.ZodString;
39205
+ isDefault: z.ZodOptional<z.ZodBoolean>;
39206
+ contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
39207
+ defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
39208
+ thinkingSet: z.ZodOptional<z.ZodNumber>;
39209
+ }, z.core.$strip>>>;
39210
+ }, z.core.$strip>>;
39211
+ thinkingSets: z.ZodArray<z.ZodObject<{
39212
+ options: z.ZodArray<z.ZodObject<{
39213
+ id: z.ZodString;
39214
+ label: z.ZodString;
39215
+ description: z.ZodOptional<z.ZodString>;
39216
+ isDefault: z.ZodOptional<z.ZodBoolean>;
39217
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
39218
+ }, z.core.$strip>>;
39219
+ defaultOptionId: z.ZodOptional<z.ZodString>;
39220
+ }, z.core.$strip>>;
39221
+ }, z.core.$strip>>;
39222
+ snapshotHash: z.ZodOptional<z.ZodString>;
39223
+ notModified: z.ZodOptional<z.ZodBoolean>;
37851
39224
  generatedAt: z.ZodString;
37852
39225
  requestId: z.ZodString;
37853
39226
  }, z.core.$strip>;
@@ -37864,13 +39237,67 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37864
39237
  custom: "custom";
37865
39238
  }>>;
37866
39239
  error: z.ZodOptional<z.ZodString>;
37867
- models: z.ZodOptional<z.ZodArray<z.ZodType<AgentModelDefinition, unknown, z.core.$ZodTypeInternals<AgentModelDefinition, unknown>>>>;
39240
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
39241
+ provider: z.ZodString;
39242
+ id: z.ZodString;
39243
+ label: z.ZodString;
39244
+ description: z.ZodOptional<z.ZodString>;
39245
+ isDefault: z.ZodOptional<z.ZodBoolean>;
39246
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
39247
+ contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
39248
+ thinkingOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
39249
+ id: z.ZodString;
39250
+ label: z.ZodString;
39251
+ description: z.ZodOptional<z.ZodString>;
39252
+ isDefault: z.ZodOptional<z.ZodBoolean>;
39253
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
39254
+ }, z.core.$strip>>>;
39255
+ defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
39256
+ }, z.core.$strip>>>;
37868
39257
  modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
37869
39258
  fetchedAt: z.ZodOptional<z.ZodString>;
37870
39259
  label: z.ZodOptional<z.ZodString>;
37871
39260
  description: z.ZodOptional<z.ZodString>;
37872
39261
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37873
39262
  }, z.core.$strip>>;
39263
+ compactSnapshot: z.ZodOptional<z.ZodObject<{
39264
+ entries: z.ZodArray<z.ZodObject<{
39265
+ error: z.ZodOptional<z.ZodString>;
39266
+ description: z.ZodOptional<z.ZodString>;
39267
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
39268
+ label: z.ZodOptional<z.ZodString>;
39269
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
39270
+ defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39271
+ provider: z.ZodString;
39272
+ source: z.ZodOptional<z.ZodEnum<{
39273
+ builtin: "builtin";
39274
+ custom: "custom";
39275
+ }>>;
39276
+ modes: z.ZodOptional<z.ZodArray<z.ZodType<AgentMode, unknown, z.core.$ZodTypeInternals<AgentMode, unknown>>>>;
39277
+ fetchedAt: z.ZodOptional<z.ZodString>;
39278
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
39279
+ description: z.ZodOptional<z.ZodString>;
39280
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
39281
+ id: z.ZodString;
39282
+ label: z.ZodString;
39283
+ isDefault: z.ZodOptional<z.ZodBoolean>;
39284
+ contextWindowMaxTokens: z.ZodOptional<z.ZodNumber>;
39285
+ defaultThinkingOptionId: z.ZodOptional<z.ZodString>;
39286
+ thinkingSet: z.ZodOptional<z.ZodNumber>;
39287
+ }, z.core.$strip>>>;
39288
+ }, z.core.$strip>>;
39289
+ thinkingSets: z.ZodArray<z.ZodObject<{
39290
+ options: z.ZodArray<z.ZodObject<{
39291
+ id: z.ZodString;
39292
+ label: z.ZodString;
39293
+ description: z.ZodOptional<z.ZodString>;
39294
+ isDefault: z.ZodOptional<z.ZodBoolean>;
39295
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
39296
+ }, z.core.$strip>>;
39297
+ defaultOptionId: z.ZodOptional<z.ZodString>;
39298
+ }, z.core.$strip>>;
39299
+ }, z.core.$strip>>;
39300
+ snapshotHash: z.ZodOptional<z.ZodString>;
37874
39301
  generatedAt: z.ZodString;
37875
39302
  }, z.core.$strip>;
37876
39303
  }, z.core.$strip>, z.ZodObject<{