@getpaseo/protocol 0.3.1 → 0.4.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,6 +12,28 @@ export declare const TerminalProfileSchema: z.ZodObject<{
12
12
  icon: z.ZodOptional<z.ZodString>;
13
13
  }, z.core.$loose>;
14
14
  export type TerminalProfile = z.infer<typeof TerminalProfileSchema>;
15
+ /**
16
+ * A named launch bundle: a provider plus the agent-config values a client would
17
+ * otherwise set one control at a time. Field names mirror `AgentSessionConfig`
18
+ * so applying a profile is a copy rather than a translation table.
19
+ *
20
+ * There is deliberately no system prompt here. `AgentSessionConfig.systemPrompt`
21
+ * is creation-only, so a profile carrying one would apply when starting a new
22
+ * agent and silently do nothing when applied to a running one.
23
+ */
24
+ export declare const AgentProfileSchema: z.ZodObject<{
25
+ id: z.ZodString;
26
+ name: z.ZodString;
27
+ icon: z.ZodOptional<z.ZodString>;
28
+ color: z.ZodOptional<z.ZodString>;
29
+ provider: z.ZodString;
30
+ model: z.ZodOptional<z.ZodString>;
31
+ modeId: z.ZodOptional<z.ZodString>;
32
+ thinkingOptionId: z.ZodOptional<z.ZodString>;
33
+ featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
34
+ notes: z.ZodOptional<z.ZodString>;
35
+ }, z.core.$loose>;
36
+ export type AgentProfile = z.infer<typeof AgentProfileSchema>;
15
37
  export declare const MutableDaemonConfigSchema: z.ZodObject<{
16
38
  relay: z.ZodOptional<z.ZodObject<{
17
39
  enabled: z.ZodBoolean;
@@ -48,6 +70,18 @@ export declare const MutableDaemonConfigSchema: z.ZodObject<{
48
70
  args: z.ZodOptional<z.ZodArray<z.ZodString>>;
49
71
  icon: z.ZodOptional<z.ZodString>;
50
72
  }, z.core.$loose>>>;
73
+ agentProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
74
+ id: z.ZodString;
75
+ name: z.ZodString;
76
+ icon: z.ZodOptional<z.ZodString>;
77
+ color: z.ZodOptional<z.ZodString>;
78
+ provider: z.ZodString;
79
+ model: z.ZodOptional<z.ZodString>;
80
+ modeId: z.ZodOptional<z.ZodString>;
81
+ thinkingOptionId: z.ZodOptional<z.ZodString>;
82
+ featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
83
+ notes: z.ZodOptional<z.ZodString>;
84
+ }, z.core.$loose>>>;
51
85
  }, z.core.$loose>;
52
86
  export declare const MutableDaemonConfigPatchSchema: z.ZodObject<{
53
87
  relay: z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -86,6 +120,18 @@ export declare const MutableDaemonConfigPatchSchema: z.ZodObject<{
86
120
  args: z.ZodOptional<z.ZodArray<z.ZodString>>;
87
121
  icon: z.ZodOptional<z.ZodString>;
88
122
  }, z.core.$loose>>>>;
123
+ agentProfiles: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
124
+ id: z.ZodString;
125
+ name: z.ZodString;
126
+ icon: z.ZodOptional<z.ZodString>;
127
+ color: z.ZodOptional<z.ZodString>;
128
+ provider: z.ZodString;
129
+ model: z.ZodOptional<z.ZodString>;
130
+ modeId: z.ZodOptional<z.ZodString>;
131
+ thinkingOptionId: z.ZodOptional<z.ZodString>;
132
+ featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
133
+ notes: z.ZodOptional<z.ZodString>;
134
+ }, z.core.$loose>>>>;
89
135
  }, z.core.$loose>;
90
136
  export type MutableDaemonConfig = z.infer<typeof MutableDaemonConfigSchema>;
91
137
  export type MutableDaemonConfigPatch = z.infer<typeof MutableDaemonConfigPatchSchema>;
@@ -183,8 +229,8 @@ export declare const ProviderSnapshotEntrySchema: z.ZodObject<{
183
229
  export declare const CompactProviderSnapshotModelSchema: z.ZodObject<{
184
230
  description: z.ZodOptional<z.ZodString>;
185
231
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
186
- id: z.ZodString;
187
232
  label: z.ZodString;
233
+ id: z.ZodString;
188
234
  isDefault: z.ZodOptional<z.ZodBoolean>;
189
235
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
190
236
  isSelectable: z.ZodOptional<z.ZodBoolean>;
@@ -205,8 +251,8 @@ export declare const ProviderSnapshotThinkingSetSchema: z.ZodObject<{
205
251
  export declare const CompactProviderSnapshotEntrySchema: z.ZodObject<{
206
252
  error: z.ZodOptional<z.ZodString>;
207
253
  description: z.ZodOptional<z.ZodString>;
208
- status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
209
254
  label: z.ZodOptional<z.ZodString>;
255
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
210
256
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
211
257
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
212
258
  provider: z.ZodString;
@@ -219,8 +265,8 @@ export declare const CompactProviderSnapshotEntrySchema: z.ZodObject<{
219
265
  models: z.ZodOptional<z.ZodArray<z.ZodObject<{
220
266
  description: z.ZodOptional<z.ZodString>;
221
267
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
222
- id: z.ZodString;
223
268
  label: z.ZodString;
269
+ id: z.ZodString;
224
270
  isDefault: z.ZodOptional<z.ZodBoolean>;
225
271
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
226
272
  isSelectable: z.ZodOptional<z.ZodBoolean>;
@@ -233,8 +279,8 @@ export declare const CompactProviderSnapshotSchema: z.ZodObject<{
233
279
  entries: z.ZodArray<z.ZodObject<{
234
280
  error: z.ZodOptional<z.ZodString>;
235
281
  description: z.ZodOptional<z.ZodString>;
236
- status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
237
282
  label: z.ZodOptional<z.ZodString>;
283
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
238
284
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
239
285
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
240
286
  provider: z.ZodString;
@@ -247,8 +293,8 @@ export declare const CompactProviderSnapshotSchema: z.ZodObject<{
247
293
  models: z.ZodOptional<z.ZodArray<z.ZodObject<{
248
294
  description: z.ZodOptional<z.ZodString>;
249
295
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
250
- id: z.ZodString;
251
296
  label: z.ZodString;
297
+ id: z.ZodString;
252
298
  isDefault: z.ZodOptional<z.ZodBoolean>;
253
299
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
254
300
  isSelectable: z.ZodOptional<z.ZodBoolean>;
@@ -1175,6 +1221,18 @@ export declare const SetDaemonConfigRequestMessageSchema: z.ZodObject<{
1175
1221
  args: z.ZodOptional<z.ZodArray<z.ZodString>>;
1176
1222
  icon: z.ZodOptional<z.ZodString>;
1177
1223
  }, z.core.$loose>>>>;
1224
+ agentProfiles: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
1225
+ id: z.ZodString;
1226
+ name: z.ZodString;
1227
+ icon: z.ZodOptional<z.ZodString>;
1228
+ color: z.ZodOptional<z.ZodString>;
1229
+ provider: z.ZodString;
1230
+ model: z.ZodOptional<z.ZodString>;
1231
+ modeId: z.ZodOptional<z.ZodString>;
1232
+ thinkingOptionId: z.ZodOptional<z.ZodString>;
1233
+ featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1234
+ notes: z.ZodOptional<z.ZodString>;
1235
+ }, z.core.$loose>>>>;
1178
1236
  }, z.core.$loose>;
1179
1237
  }, z.core.$strip>;
1180
1238
  export declare const ReadProjectConfigRequestMessageSchema: z.ZodObject<{
@@ -1674,6 +1732,45 @@ export declare const SetAgentFeatureResponseMessageSchema: z.ZodObject<{
1674
1732
  notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
1675
1733
  }, z.core.$strip>;
1676
1734
  }, z.core.$strip>;
1735
+ /**
1736
+ * Every agent-config value a client can change in one shot. Each field is
1737
+ * optional and an omitted field is left alone; `null` on model and thinking
1738
+ * clears them, matching the single-field RPCs above.
1739
+ */
1740
+ export declare const AgentConfigApplySchema: z.ZodObject<{
1741
+ modelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1742
+ modeId: z.ZodOptional<z.ZodString>;
1743
+ thinkingOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1744
+ featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1745
+ }, z.core.$strip>;
1746
+ export type AgentConfigApply = z.infer<typeof AgentConfigApplySchema>;
1747
+ /**
1748
+ * Applies a whole config bundle to one agent. The four single-field RPCs above
1749
+ * stay for individual control edits. One request prevents client interruption
1750
+ * and other mutations from interleaving between bundle steps; provider-level
1751
+ * rejection can still leave earlier steps applied.
1752
+ */
1753
+ export declare const AgentConfigApplyRequestMessageSchema: z.ZodObject<{
1754
+ type: z.ZodLiteral<"agent.config.apply.request">;
1755
+ agentId: z.ZodString;
1756
+ config: z.ZodObject<{
1757
+ modelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1758
+ modeId: z.ZodOptional<z.ZodString>;
1759
+ thinkingOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1760
+ featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1761
+ }, z.core.$strip>;
1762
+ requestId: z.ZodString;
1763
+ }, z.core.$strip>;
1764
+ export declare const AgentConfigApplyResponseMessageSchema: z.ZodObject<{
1765
+ type: z.ZodLiteral<"agent.config.apply.response">;
1766
+ payload: z.ZodObject<{
1767
+ requestId: z.ZodString;
1768
+ agentId: z.ZodString;
1769
+ accepted: z.ZodBoolean;
1770
+ error: z.ZodNullable<z.ZodString>;
1771
+ notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
1772
+ }, z.core.$strip>;
1773
+ }, z.core.$strip>;
1677
1774
  export declare const AgentDetachRequestMessageSchema: z.ZodObject<{
1678
1775
  type: z.ZodLiteral<"agent.detach.request">;
1679
1776
  agentId: z.ZodString;
@@ -1922,6 +2019,12 @@ export declare const CheckoutRefreshRequestSchema: z.ZodObject<{
1922
2019
  cwd: z.ZodString;
1923
2020
  requestId: z.ZodString;
1924
2021
  }, z.core.$strip>;
2022
+ export declare const CheckoutDiscardChangesRequestSchema: z.ZodObject<{
2023
+ type: z.ZodLiteral<"checkout.discard_changes.request">;
2024
+ cwd: z.ZodString;
2025
+ paths: z.ZodArray<z.ZodString>;
2026
+ requestId: z.ZodString;
2027
+ }, z.core.$strip>;
1925
2028
  export declare const CheckoutPrCreateRequestSchema: z.ZodObject<{
1926
2029
  type: z.ZodLiteral<"checkout_pr_create_request">;
1927
2030
  cwd: z.ZodString;
@@ -2636,6 +2739,7 @@ export declare const WorkspaceClearAttentionRequestSchema: z.ZodObject<{
2636
2739
  }, z.core.$strip>;
2637
2740
  declare const ParsedDiffFileSchema: z.ZodObject<{
2638
2741
  path: z.ZodString;
2742
+ oldPath: z.ZodOptional<z.ZodString>;
2639
2743
  isNew: z.ZodBoolean;
2640
2744
  isDeleted: z.ZodBoolean;
2641
2745
  additions: z.ZodNumber;
@@ -2714,6 +2818,36 @@ export declare const FileWriteRequestSchema: z.ZodObject<{
2714
2818
  expectedRevision: z.ZodOptional<z.ZodString>;
2715
2819
  requestId: z.ZodString;
2716
2820
  }, z.core.$strip>;
2821
+ export declare const FileEntryCreateRequestSchema: z.ZodObject<{
2822
+ type: z.ZodLiteral<"fs.entry.create.request">;
2823
+ cwd: z.ZodString;
2824
+ parentPath: z.ZodString;
2825
+ name: z.ZodString;
2826
+ kind: z.ZodEnum<{
2827
+ file: "file";
2828
+ directory: "directory";
2829
+ }>;
2830
+ requestId: z.ZodString;
2831
+ }, z.core.$strip>;
2832
+ export declare const FileEntryRenameRequestSchema: z.ZodObject<{
2833
+ type: z.ZodLiteral<"fs.entry.rename.request">;
2834
+ cwd: z.ZodString;
2835
+ path: z.ZodString;
2836
+ name: z.ZodString;
2837
+ requestId: z.ZodString;
2838
+ }, z.core.$strip>;
2839
+ export declare const FileEntryDuplicateRequestSchema: z.ZodObject<{
2840
+ type: z.ZodLiteral<"fs.entry.duplicate.request">;
2841
+ cwd: z.ZodString;
2842
+ path: z.ZodString;
2843
+ requestId: z.ZodString;
2844
+ }, z.core.$strip>;
2845
+ export declare const FileEntryDeleteRequestSchema: z.ZodObject<{
2846
+ type: z.ZodLiteral<"fs.entry.delete.request">;
2847
+ cwd: z.ZodString;
2848
+ path: z.ZodString;
2849
+ requestId: z.ZodString;
2850
+ }, z.core.$strip>;
2717
2851
  export declare const ProjectIconRequestSchema: z.ZodObject<{
2718
2852
  type: z.ZodLiteral<"project_icon_request">;
2719
2853
  cwd: z.ZodString;
@@ -2789,6 +2923,17 @@ export declare const RegisterPushTokenMessageSchema: z.ZodObject<{
2789
2923
  type: z.ZodLiteral<"register_push_token">;
2790
2924
  token: z.ZodString;
2791
2925
  }, z.core.$strip>;
2926
+ export declare const PushUnregisterRequestSchema: z.ZodObject<{
2927
+ type: z.ZodLiteral<"push.unregister.request">;
2928
+ token: z.ZodString;
2929
+ requestId: z.ZodString;
2930
+ }, z.core.$strip>;
2931
+ export declare const PushUnregisterResponseSchema: z.ZodObject<{
2932
+ type: z.ZodLiteral<"push.unregister.response">;
2933
+ payload: z.ZodObject<{
2934
+ requestId: z.ZodString;
2935
+ }, z.core.$strip>;
2936
+ }, z.core.$strip>;
2792
2937
  export declare const ListTerminalsRequestSchema: z.ZodObject<{
2793
2938
  type: z.ZodLiteral<"list_terminals_request">;
2794
2939
  cwd: z.ZodOptional<z.ZodString>;
@@ -2959,6 +3104,16 @@ export declare const HubExecutionAgentCreateRequestSchema: z.ZodObject<{
2959
3104
  }, z.core.$strip>], "mode">>;
2960
3105
  }, z.core.$strip>;
2961
3106
  export type HubExecutionAgentCreateRequest = z.infer<typeof HubExecutionAgentCreateRequestSchema>;
3107
+ export declare const HubExecutionAgentValidateRequestSchema: z.ZodObject<{
3108
+ type: z.ZodLiteral<"hub.execution.agent.validate.request">;
3109
+ requestId: z.ZodString;
3110
+ provider: z.ZodString;
3111
+ model: z.ZodOptional<z.ZodString>;
3112
+ modeId: z.ZodOptional<z.ZodString>;
3113
+ thinkingOptionId: z.ZodOptional<z.ZodString>;
3114
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
3115
+ }, z.core.$strip>;
3116
+ export type HubExecutionAgentValidateRequest = z.infer<typeof HubExecutionAgentValidateRequestSchema>;
2962
3117
  declare const HubExecutionAgentCreateErrorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2963
3118
  code: z.ZodLiteral<"provider_options_invalid">;
2964
3119
  provider: z.ZodString;
@@ -3040,6 +3195,14 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
3040
3195
  mode: z.ZodLiteral<"checkout-pr">;
3041
3196
  prNumber: z.ZodNumber;
3042
3197
  }, z.core.$strip>], "mode">>;
3198
+ }, z.core.$strip>, z.ZodObject<{
3199
+ type: z.ZodLiteral<"hub.execution.agent.validate.request">;
3200
+ requestId: z.ZodString;
3201
+ provider: z.ZodString;
3202
+ model: z.ZodOptional<z.ZodString>;
3203
+ modeId: z.ZodOptional<z.ZodString>;
3204
+ thinkingOptionId: z.ZodOptional<z.ZodString>;
3205
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
3043
3206
  }, z.core.$strip>, z.ZodObject<{
3044
3207
  type: z.ZodLiteral<"hub.execution.control.request">;
3045
3208
  requestId: z.ZodString;
@@ -3595,6 +3758,18 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
3595
3758
  args: z.ZodOptional<z.ZodArray<z.ZodString>>;
3596
3759
  icon: z.ZodOptional<z.ZodString>;
3597
3760
  }, z.core.$loose>>>>;
3761
+ agentProfiles: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
3762
+ id: z.ZodString;
3763
+ name: z.ZodString;
3764
+ icon: z.ZodOptional<z.ZodString>;
3765
+ color: z.ZodOptional<z.ZodString>;
3766
+ provider: z.ZodString;
3767
+ model: z.ZodOptional<z.ZodString>;
3768
+ modeId: z.ZodOptional<z.ZodString>;
3769
+ thinkingOptionId: z.ZodOptional<z.ZodString>;
3770
+ featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3771
+ notes: z.ZodOptional<z.ZodString>;
3772
+ }, z.core.$loose>>>>;
3598
3773
  }, z.core.$loose>;
3599
3774
  }, z.core.$strip>, z.ZodObject<{
3600
3775
  type: z.ZodLiteral<"read_project_config_request">;
@@ -3997,6 +4172,16 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
3997
4172
  featureId: z.ZodString;
3998
4173
  value: z.ZodUnknown;
3999
4174
  requestId: z.ZodString;
4175
+ }, z.core.$strip>, z.ZodObject<{
4176
+ type: z.ZodLiteral<"agent.config.apply.request">;
4177
+ agentId: z.ZodString;
4178
+ config: z.ZodObject<{
4179
+ modelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4180
+ modeId: z.ZodOptional<z.ZodString>;
4181
+ thinkingOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4182
+ featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4183
+ }, z.core.$strip>;
4184
+ requestId: z.ZodString;
4000
4185
  }, z.core.$strip>, z.ZodObject<{
4001
4186
  type: z.ZodLiteral<"agent.detach.request">;
4002
4187
  agentId: z.ZodString;
@@ -4070,6 +4255,11 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
4070
4255
  type: z.ZodLiteral<"checkout.refresh.request">;
4071
4256
  cwd: z.ZodString;
4072
4257
  requestId: z.ZodString;
4258
+ }, z.core.$strip>, z.ZodObject<{
4259
+ type: z.ZodLiteral<"checkout.discard_changes.request">;
4260
+ cwd: z.ZodString;
4261
+ paths: z.ZodArray<z.ZodString>;
4262
+ requestId: z.ZodString;
4073
4263
  }, z.core.$strip>, z.ZodObject<{
4074
4264
  type: z.ZodLiteral<"checkout_pr_create_request">;
4075
4265
  cwd: z.ZodString;
@@ -4600,6 +4790,32 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
4600
4790
  expectedModifiedAt: z.ZodString;
4601
4791
  expectedRevision: z.ZodOptional<z.ZodString>;
4602
4792
  requestId: z.ZodString;
4793
+ }, z.core.$strip>, z.ZodObject<{
4794
+ type: z.ZodLiteral<"fs.entry.create.request">;
4795
+ cwd: z.ZodString;
4796
+ parentPath: z.ZodString;
4797
+ name: z.ZodString;
4798
+ kind: z.ZodEnum<{
4799
+ file: "file";
4800
+ directory: "directory";
4801
+ }>;
4802
+ requestId: z.ZodString;
4803
+ }, z.core.$strip>, z.ZodObject<{
4804
+ type: z.ZodLiteral<"fs.entry.rename.request">;
4805
+ cwd: z.ZodString;
4806
+ path: z.ZodString;
4807
+ name: z.ZodString;
4808
+ requestId: z.ZodString;
4809
+ }, z.core.$strip>, z.ZodObject<{
4810
+ type: z.ZodLiteral<"fs.entry.duplicate.request">;
4811
+ cwd: z.ZodString;
4812
+ path: z.ZodString;
4813
+ requestId: z.ZodString;
4814
+ }, z.core.$strip>, z.ZodObject<{
4815
+ type: z.ZodLiteral<"fs.entry.delete.request">;
4816
+ cwd: z.ZodString;
4817
+ path: z.ZodString;
4818
+ requestId: z.ZodString;
4603
4819
  }, z.core.$strip>, z.ZodObject<{
4604
4820
  type: z.ZodLiteral<"project_icon_request">;
4605
4821
  cwd: z.ZodString;
@@ -4654,6 +4870,10 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
4654
4870
  }, z.core.$strip>, z.ZodObject<{
4655
4871
  type: z.ZodLiteral<"register_push_token">;
4656
4872
  token: z.ZodString;
4873
+ }, z.core.$strip>, z.ZodObject<{
4874
+ type: z.ZodLiteral<"push.unregister.request">;
4875
+ token: z.ZodString;
4876
+ requestId: z.ZodString;
4657
4877
  }, z.core.$strip>, z.ZodObject<{
4658
4878
  type: z.ZodLiteral<"list_terminals_request">;
4659
4879
  cwd: z.ZodOptional<z.ZodString>;
@@ -5086,6 +5306,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5086
5306
  } | undefined, unknown>>>;
5087
5307
  features: z.ZodOptional<z.ZodObject<{
5088
5308
  providersSnapshot: z.ZodOptional<z.ZodBoolean>;
5309
+ providersSnapshotCwd: z.ZodOptional<z.ZodBoolean>;
5089
5310
  checkoutForgeSetAutoMerge: z.ZodOptional<z.ZodBoolean>;
5090
5311
  checkoutGithubSetAutoMerge: z.ZodOptional<z.ZodBoolean>;
5091
5312
  githubCheckDetails: z.ZodOptional<z.ZodBoolean>;
@@ -5093,6 +5314,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5093
5314
  forgeSearch: z.ZodOptional<z.ZodBoolean>;
5094
5315
  daemonStatusRpc: z.ZodOptional<z.ZodBoolean>;
5095
5316
  relayConfig: z.ZodOptional<z.ZodBoolean>;
5317
+ pushTokenRevocation: z.ZodOptional<z.ZodBoolean>;
5096
5318
  "terminal-restore-modes": z.ZodOptional<z.ZodBoolean>;
5097
5319
  "terminal-input-mode-replay": z.ZodOptional<z.ZodBoolean>;
5098
5320
  "terminal-size-ownership": z.ZodOptional<z.ZodBoolean>;
@@ -5131,6 +5353,11 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5131
5353
  stableProjectIdentity: z.ZodOptional<z.ZodBoolean>;
5132
5354
  workspaceScriptManagement: z.ZodOptional<z.ZodBoolean>;
5133
5355
  projectCustomIcon: z.ZodOptional<z.ZodBoolean>;
5356
+ fsEntryOps: z.ZodOptional<z.ZodBoolean>;
5357
+ fsEntryDuplicate: z.ZodOptional<z.ZodBoolean>;
5358
+ checkoutDiscardChanges: z.ZodOptional<z.ZodBoolean>;
5359
+ agentProfiles: z.ZodOptional<z.ZodBoolean>;
5360
+ agentConfigApply: z.ZodOptional<z.ZodBoolean>;
5134
5361
  }, z.core.$strip>>;
5135
5362
  }, z.core.$loose>, z.ZodTransform<{
5136
5363
  hostname: string | null;
@@ -5153,6 +5380,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5153
5380
  } | undefined;
5154
5381
  features?: {
5155
5382
  providersSnapshot?: boolean | undefined;
5383
+ providersSnapshotCwd?: boolean | undefined;
5156
5384
  checkoutForgeSetAutoMerge?: boolean | undefined;
5157
5385
  checkoutGithubSetAutoMerge?: boolean | undefined;
5158
5386
  githubCheckDetails?: boolean | undefined;
@@ -5160,6 +5388,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5160
5388
  forgeSearch?: boolean | undefined;
5161
5389
  daemonStatusRpc?: boolean | undefined;
5162
5390
  relayConfig?: boolean | undefined;
5391
+ pushTokenRevocation?: boolean | undefined;
5163
5392
  "terminal-restore-modes"?: boolean | undefined;
5164
5393
  "terminal-input-mode-replay"?: boolean | undefined;
5165
5394
  "terminal-size-ownership"?: boolean | undefined;
@@ -5198,6 +5427,11 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5198
5427
  stableProjectIdentity?: boolean | undefined;
5199
5428
  workspaceScriptManagement?: boolean | undefined;
5200
5429
  projectCustomIcon?: boolean | undefined;
5430
+ fsEntryOps?: boolean | undefined;
5431
+ fsEntryDuplicate?: boolean | undefined;
5432
+ checkoutDiscardChanges?: boolean | undefined;
5433
+ agentProfiles?: boolean | undefined;
5434
+ agentConfigApply?: boolean | undefined;
5201
5435
  } | undefined;
5202
5436
  }, {
5203
5437
  [x: string]: unknown;
@@ -5221,6 +5455,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5221
5455
  } | undefined;
5222
5456
  features?: {
5223
5457
  providersSnapshot?: boolean | undefined;
5458
+ providersSnapshotCwd?: boolean | undefined;
5224
5459
  checkoutForgeSetAutoMerge?: boolean | undefined;
5225
5460
  checkoutGithubSetAutoMerge?: boolean | undefined;
5226
5461
  githubCheckDetails?: boolean | undefined;
@@ -5228,6 +5463,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5228
5463
  forgeSearch?: boolean | undefined;
5229
5464
  daemonStatusRpc?: boolean | undefined;
5230
5465
  relayConfig?: boolean | undefined;
5466
+ pushTokenRevocation?: boolean | undefined;
5231
5467
  "terminal-restore-modes"?: boolean | undefined;
5232
5468
  "terminal-input-mode-replay"?: boolean | undefined;
5233
5469
  "terminal-size-ownership"?: boolean | undefined;
@@ -5266,6 +5502,11 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5266
5502
  stableProjectIdentity?: boolean | undefined;
5267
5503
  workspaceScriptManagement?: boolean | undefined;
5268
5504
  projectCustomIcon?: boolean | undefined;
5505
+ fsEntryOps?: boolean | undefined;
5506
+ fsEntryDuplicate?: boolean | undefined;
5507
+ checkoutDiscardChanges?: boolean | undefined;
5508
+ agentProfiles?: boolean | undefined;
5509
+ agentConfigApply?: boolean | undefined;
5269
5510
  } | undefined;
5270
5511
  }>>;
5271
5512
  export declare const StatusMessageSchema: z.ZodObject<{
@@ -5496,6 +5737,18 @@ export declare const DaemonConfigChangedStatusPayloadSchema: z.ZodObject<{
5496
5737
  args: z.ZodOptional<z.ZodArray<z.ZodString>>;
5497
5738
  icon: z.ZodOptional<z.ZodString>;
5498
5739
  }, z.core.$loose>>>;
5740
+ agentProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
5741
+ id: z.ZodString;
5742
+ name: z.ZodString;
5743
+ icon: z.ZodOptional<z.ZodString>;
5744
+ color: z.ZodOptional<z.ZodString>;
5745
+ provider: z.ZodString;
5746
+ model: z.ZodOptional<z.ZodString>;
5747
+ modeId: z.ZodOptional<z.ZodString>;
5748
+ thinkingOptionId: z.ZodOptional<z.ZodString>;
5749
+ featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5750
+ notes: z.ZodOptional<z.ZodString>;
5751
+ }, z.core.$loose>>>;
5499
5752
  }, z.core.$loose>;
5500
5753
  }, z.core.$loose>;
5501
5754
  export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -5696,6 +5949,18 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
5696
5949
  args: z.ZodOptional<z.ZodArray<z.ZodString>>;
5697
5950
  icon: z.ZodOptional<z.ZodString>;
5698
5951
  }, z.core.$loose>>>;
5952
+ agentProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
5953
+ id: z.ZodString;
5954
+ name: z.ZodString;
5955
+ icon: z.ZodOptional<z.ZodString>;
5956
+ color: z.ZodOptional<z.ZodString>;
5957
+ provider: z.ZodString;
5958
+ model: z.ZodOptional<z.ZodString>;
5959
+ modeId: z.ZodOptional<z.ZodString>;
5960
+ thinkingOptionId: z.ZodOptional<z.ZodString>;
5961
+ featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5962
+ notes: z.ZodOptional<z.ZodString>;
5963
+ }, z.core.$loose>>>;
5699
5964
  }, z.core.$loose>;
5700
5965
  }, z.core.$loose>], "status">;
5701
5966
  export type KnownStatusPayload = z.infer<typeof KnownStatusPayloadSchema>;
@@ -6061,8 +6326,8 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
6061
6326
  name: z.ZodString;
6062
6327
  status: z.ZodEnum<{
6063
6328
  success: "success";
6064
- failure: "failure";
6065
6329
  pending: "pending";
6330
+ failure: "failure";
6066
6331
  skipped: "skipped";
6067
6332
  cancelled: "cancelled";
6068
6333
  }>;
@@ -6072,9 +6337,9 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
6072
6337
  }, z.core.$strip>>>;
6073
6338
  checksStatus: z.ZodOptional<z.ZodEnum<{
6074
6339
  success: "success";
6340
+ pending: "pending";
6075
6341
  none: "none";
6076
6342
  failure: "failure";
6077
- pending: "pending";
6078
6343
  }>>;
6079
6344
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6080
6345
  pending: "pending";
@@ -6230,12 +6495,12 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
6230
6495
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
6231
6496
  checks?: {
6232
6497
  name: string;
6233
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
6498
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
6234
6499
  url: string | null;
6235
6500
  workflow?: string | undefined;
6236
6501
  duration?: string | undefined;
6237
6502
  }[] | undefined;
6238
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
6503
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
6239
6504
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
6240
6505
  repoOwner?: string | undefined;
6241
6506
  repoName?: string | undefined;
@@ -6338,12 +6603,12 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
6338
6603
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
6339
6604
  checks?: {
6340
6605
  name: string;
6341
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
6606
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
6342
6607
  url: string | null;
6343
6608
  workflow?: string | undefined;
6344
6609
  duration?: string | undefined;
6345
6610
  }[] | undefined;
6346
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
6611
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
6347
6612
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
6348
6613
  repoOwner?: string | undefined;
6349
6614
  repoName?: string | undefined;
@@ -7242,8 +7507,8 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
7242
7507
  name: z.ZodString;
7243
7508
  status: z.ZodEnum<{
7244
7509
  success: "success";
7245
- failure: "failure";
7246
7510
  pending: "pending";
7511
+ failure: "failure";
7247
7512
  skipped: "skipped";
7248
7513
  cancelled: "cancelled";
7249
7514
  }>;
@@ -7253,9 +7518,9 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
7253
7518
  }, z.core.$strip>>>;
7254
7519
  checksStatus: z.ZodOptional<z.ZodEnum<{
7255
7520
  success: "success";
7521
+ pending: "pending";
7256
7522
  none: "none";
7257
7523
  failure: "failure";
7258
- pending: "pending";
7259
7524
  }>>;
7260
7525
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
7261
7526
  pending: "pending";
@@ -7411,12 +7676,12 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
7411
7676
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
7412
7677
  checks?: {
7413
7678
  name: string;
7414
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
7679
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
7415
7680
  url: string | null;
7416
7681
  workflow?: string | undefined;
7417
7682
  duration?: string | undefined;
7418
7683
  }[] | undefined;
7419
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
7684
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
7420
7685
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
7421
7686
  repoOwner?: string | undefined;
7422
7687
  repoName?: string | undefined;
@@ -7519,12 +7784,12 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
7519
7784
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
7520
7785
  checks?: {
7521
7786
  name: string;
7522
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
7787
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
7523
7788
  url: string | null;
7524
7789
  workflow?: string | undefined;
7525
7790
  duration?: string | undefined;
7526
7791
  }[] | undefined;
7527
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
7792
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
7528
7793
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
7529
7794
  repoOwner?: string | undefined;
7530
7795
  repoName?: string | undefined;
@@ -7682,8 +7947,8 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
7682
7947
  name: z.ZodString;
7683
7948
  status: z.ZodEnum<{
7684
7949
  success: "success";
7685
- failure: "failure";
7686
7950
  pending: "pending";
7951
+ failure: "failure";
7687
7952
  skipped: "skipped";
7688
7953
  cancelled: "cancelled";
7689
7954
  }>;
@@ -7693,9 +7958,9 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
7693
7958
  }, z.core.$strip>>>;
7694
7959
  checksStatus: z.ZodOptional<z.ZodEnum<{
7695
7960
  success: "success";
7961
+ pending: "pending";
7696
7962
  none: "none";
7697
7963
  failure: "failure";
7698
- pending: "pending";
7699
7964
  }>>;
7700
7965
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
7701
7966
  pending: "pending";
@@ -7851,12 +8116,12 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
7851
8116
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
7852
8117
  checks?: {
7853
8118
  name: string;
7854
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
8119
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
7855
8120
  url: string | null;
7856
8121
  workflow?: string | undefined;
7857
8122
  duration?: string | undefined;
7858
8123
  }[] | undefined;
7859
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
8124
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
7860
8125
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
7861
8126
  repoOwner?: string | undefined;
7862
8127
  repoName?: string | undefined;
@@ -7959,12 +8224,12 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
7959
8224
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
7960
8225
  checks?: {
7961
8226
  name: string;
7962
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
8227
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
7963
8228
  url: string | null;
7964
8229
  workflow?: string | undefined;
7965
8230
  duration?: string | undefined;
7966
8231
  }[] | undefined;
7967
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
8232
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
7968
8233
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
7969
8234
  repoOwner?: string | undefined;
7970
8235
  repoName?: string | undefined;
@@ -8285,8 +8550,8 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
8285
8550
  name: z.ZodString;
8286
8551
  status: z.ZodEnum<{
8287
8552
  success: "success";
8288
- failure: "failure";
8289
8553
  pending: "pending";
8554
+ failure: "failure";
8290
8555
  skipped: "skipped";
8291
8556
  cancelled: "cancelled";
8292
8557
  }>;
@@ -8296,9 +8561,9 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
8296
8561
  }, z.core.$strip>>>;
8297
8562
  checksStatus: z.ZodOptional<z.ZodEnum<{
8298
8563
  success: "success";
8564
+ pending: "pending";
8299
8565
  none: "none";
8300
8566
  failure: "failure";
8301
- pending: "pending";
8302
8567
  }>>;
8303
8568
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8304
8569
  pending: "pending";
@@ -8454,12 +8719,12 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
8454
8719
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
8455
8720
  checks?: {
8456
8721
  name: string;
8457
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
8722
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
8458
8723
  url: string | null;
8459
8724
  workflow?: string | undefined;
8460
8725
  duration?: string | undefined;
8461
8726
  }[] | undefined;
8462
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
8727
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
8463
8728
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
8464
8729
  repoOwner?: string | undefined;
8465
8730
  repoName?: string | undefined;
@@ -8562,12 +8827,12 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
8562
8827
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
8563
8828
  checks?: {
8564
8829
  name: string;
8565
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
8830
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
8566
8831
  url: string | null;
8567
8832
  workflow?: string | undefined;
8568
8833
  duration?: string | undefined;
8569
8834
  }[] | undefined;
8570
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
8835
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
8571
8836
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
8572
8837
  repoOwner?: string | undefined;
8573
8838
  repoName?: string | undefined;
@@ -9685,8 +9950,8 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
9685
9950
  name: z.ZodString;
9686
9951
  status: z.ZodEnum<{
9687
9952
  success: "success";
9688
- failure: "failure";
9689
9953
  pending: "pending";
9954
+ failure: "failure";
9690
9955
  skipped: "skipped";
9691
9956
  cancelled: "cancelled";
9692
9957
  }>;
@@ -9696,9 +9961,9 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
9696
9961
  }, z.core.$strip>>>;
9697
9962
  checksStatus: z.ZodOptional<z.ZodEnum<{
9698
9963
  success: "success";
9964
+ pending: "pending";
9699
9965
  none: "none";
9700
9966
  failure: "failure";
9701
- pending: "pending";
9702
9967
  }>>;
9703
9968
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
9704
9969
  pending: "pending";
@@ -9854,12 +10119,12 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
9854
10119
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
9855
10120
  checks?: {
9856
10121
  name: string;
9857
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
10122
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
9858
10123
  url: string | null;
9859
10124
  workflow?: string | undefined;
9860
10125
  duration?: string | undefined;
9861
10126
  }[] | undefined;
9862
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
10127
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
9863
10128
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
9864
10129
  repoOwner?: string | undefined;
9865
10130
  repoName?: string | undefined;
@@ -9962,12 +10227,12 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
9962
10227
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
9963
10228
  checks?: {
9964
10229
  name: string;
9965
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
10230
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
9966
10231
  url: string | null;
9967
10232
  workflow?: string | undefined;
9968
10233
  duration?: string | undefined;
9969
10234
  }[] | undefined;
9970
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
10235
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
9971
10236
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
9972
10237
  repoOwner?: string | undefined;
9973
10238
  repoName?: string | undefined;
@@ -10161,6 +10426,18 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
10161
10426
  args: z.ZodOptional<z.ZodArray<z.ZodString>>;
10162
10427
  icon: z.ZodOptional<z.ZodString>;
10163
10428
  }, z.core.$loose>>>;
10429
+ agentProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
10430
+ id: z.ZodString;
10431
+ name: z.ZodString;
10432
+ icon: z.ZodOptional<z.ZodString>;
10433
+ color: z.ZodOptional<z.ZodString>;
10434
+ provider: z.ZodString;
10435
+ model: z.ZodOptional<z.ZodString>;
10436
+ modeId: z.ZodOptional<z.ZodString>;
10437
+ thinkingOptionId: z.ZodOptional<z.ZodString>;
10438
+ featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10439
+ notes: z.ZodOptional<z.ZodString>;
10440
+ }, z.core.$loose>>>;
10164
10441
  }, z.core.$loose>;
10165
10442
  }, z.core.$loose>;
10166
10443
  }, z.core.$strip>;
@@ -10323,6 +10600,18 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
10323
10600
  args: z.ZodOptional<z.ZodArray<z.ZodString>>;
10324
10601
  icon: z.ZodOptional<z.ZodString>;
10325
10602
  }, z.core.$loose>>>;
10603
+ agentProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
10604
+ id: z.ZodString;
10605
+ name: z.ZodString;
10606
+ icon: z.ZodOptional<z.ZodString>;
10607
+ color: z.ZodOptional<z.ZodString>;
10608
+ provider: z.ZodString;
10609
+ model: z.ZodOptional<z.ZodString>;
10610
+ modeId: z.ZodOptional<z.ZodString>;
10611
+ thinkingOptionId: z.ZodOptional<z.ZodString>;
10612
+ featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10613
+ notes: z.ZodOptional<z.ZodString>;
10614
+ }, z.core.$loose>>>;
10326
10615
  }, z.core.$loose>;
10327
10616
  }, z.core.$loose>;
10328
10617
  }, z.core.$strip>;
@@ -10786,6 +11075,7 @@ export declare const SubscribeCheckoutDiffResponseSchema: z.ZodObject<{
10786
11075
  cwd: z.ZodString;
10787
11076
  files: z.ZodArray<z.ZodObject<{
10788
11077
  path: z.ZodString;
11078
+ oldPath: z.ZodOptional<z.ZodString>;
10789
11079
  isNew: z.ZodBoolean;
10790
11080
  isDeleted: z.ZodBoolean;
10791
11081
  additions: z.ZodNumber;
@@ -10835,6 +11125,7 @@ export declare const CheckoutDiffUpdateSchema: z.ZodObject<{
10835
11125
  cwd: z.ZodString;
10836
11126
  files: z.ZodArray<z.ZodObject<{
10837
11127
  path: z.ZodString;
11128
+ oldPath: z.ZodOptional<z.ZodString>;
10838
11129
  isNew: z.ZodBoolean;
10839
11130
  isDeleted: z.ZodBoolean;
10840
11131
  additions: z.ZodNumber;
@@ -11049,6 +11340,23 @@ export declare const CheckoutGithubSetAutoMergeResponseSchema: z.ZodObject<{
11049
11340
  requestId: z.ZodString;
11050
11341
  }, z.core.$strip>;
11051
11342
  }, z.core.$strip>;
11343
+ export declare const CheckoutDiscardChangesResponseSchema: z.ZodObject<{
11344
+ type: z.ZodLiteral<"checkout.discard_changes.response">;
11345
+ payload: z.ZodObject<{
11346
+ cwd: z.ZodString;
11347
+ success: z.ZodBoolean;
11348
+ error: z.ZodNullable<z.ZodObject<{
11349
+ code: z.ZodEnum<{
11350
+ NOT_GIT_REPO: "NOT_GIT_REPO";
11351
+ NOT_ALLOWED: "NOT_ALLOWED";
11352
+ MERGE_CONFLICT: "MERGE_CONFLICT";
11353
+ UNKNOWN: "UNKNOWN";
11354
+ }>;
11355
+ message: z.ZodString;
11356
+ }, z.core.$strip>>;
11357
+ requestId: z.ZodString;
11358
+ }, z.core.$strip>;
11359
+ }, z.core.$strip>;
11052
11360
  export declare const CheckoutCommitsListResponseSchema: z.ZodObject<{
11053
11361
  type: z.ZodLiteral<"checkout.commits.list.response">;
11054
11362
  payload: z.ZodObject<{
@@ -11094,6 +11402,7 @@ export declare const CheckoutCommitFileDiffResponseSchema: z.ZodObject<{
11094
11402
  path: z.ZodString;
11095
11403
  file: z.ZodNullable<z.ZodObject<{
11096
11404
  path: z.ZodString;
11405
+ oldPath: z.ZodOptional<z.ZodString>;
11097
11406
  isNew: z.ZodBoolean;
11098
11407
  isDeleted: z.ZodBoolean;
11099
11408
  additions: z.ZodNumber;
@@ -11892,8 +12201,8 @@ export declare const CreatePaseoWorktreeResponseSchema: z.ZodObject<{
11892
12201
  name: z.ZodString;
11893
12202
  status: z.ZodEnum<{
11894
12203
  success: "success";
11895
- failure: "failure";
11896
12204
  pending: "pending";
12205
+ failure: "failure";
11897
12206
  skipped: "skipped";
11898
12207
  cancelled: "cancelled";
11899
12208
  }>;
@@ -11903,9 +12212,9 @@ export declare const CreatePaseoWorktreeResponseSchema: z.ZodObject<{
11903
12212
  }, z.core.$strip>>>;
11904
12213
  checksStatus: z.ZodOptional<z.ZodEnum<{
11905
12214
  success: "success";
12215
+ pending: "pending";
11906
12216
  none: "none";
11907
12217
  failure: "failure";
11908
- pending: "pending";
11909
12218
  }>>;
11910
12219
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
11911
12220
  pending: "pending";
@@ -12061,12 +12370,12 @@ export declare const CreatePaseoWorktreeResponseSchema: z.ZodObject<{
12061
12370
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
12062
12371
  checks?: {
12063
12372
  name: string;
12064
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
12373
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
12065
12374
  url: string | null;
12066
12375
  workflow?: string | undefined;
12067
12376
  duration?: string | undefined;
12068
12377
  }[] | undefined;
12069
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
12378
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
12070
12379
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
12071
12380
  repoOwner?: string | undefined;
12072
12381
  repoName?: string | undefined;
@@ -12169,12 +12478,12 @@ export declare const CreatePaseoWorktreeResponseSchema: z.ZodObject<{
12169
12478
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
12170
12479
  checks?: {
12171
12480
  name: string;
12172
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
12481
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
12173
12482
  url: string | null;
12174
12483
  workflow?: string | undefined;
12175
12484
  duration?: string | undefined;
12176
12485
  }[] | undefined;
12177
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
12486
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
12178
12487
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
12179
12488
  repoOwner?: string | undefined;
12180
12489
  repoName?: string | undefined;
@@ -12360,6 +12669,49 @@ export declare const FileWriteResponseSchema: z.ZodObject<{
12360
12669
  requestId: z.ZodString;
12361
12670
  }, z.core.$strip>;
12362
12671
  }, z.core.$strip>;
12672
+ export declare const FileEntryCreateResponseSchema: z.ZodObject<{
12673
+ type: z.ZodLiteral<"fs.entry.create.response">;
12674
+ payload: z.ZodObject<{
12675
+ cwd: z.ZodString;
12676
+ parentPath: z.ZodString;
12677
+ path: z.ZodNullable<z.ZodString>;
12678
+ success: z.ZodBoolean;
12679
+ error: z.ZodNullable<z.ZodString>;
12680
+ requestId: z.ZodString;
12681
+ }, z.core.$strip>;
12682
+ }, z.core.$strip>;
12683
+ export declare const FileEntryRenameResponseSchema: z.ZodObject<{
12684
+ type: z.ZodLiteral<"fs.entry.rename.response">;
12685
+ payload: z.ZodObject<{
12686
+ cwd: z.ZodString;
12687
+ path: z.ZodString;
12688
+ renamedPath: z.ZodNullable<z.ZodString>;
12689
+ success: z.ZodBoolean;
12690
+ error: z.ZodNullable<z.ZodString>;
12691
+ requestId: z.ZodString;
12692
+ }, z.core.$strip>;
12693
+ }, z.core.$strip>;
12694
+ export declare const FileEntryDuplicateResponseSchema: z.ZodObject<{
12695
+ type: z.ZodLiteral<"fs.entry.duplicate.response">;
12696
+ payload: z.ZodObject<{
12697
+ cwd: z.ZodString;
12698
+ path: z.ZodString;
12699
+ duplicatedPath: z.ZodNullable<z.ZodString>;
12700
+ success: z.ZodBoolean;
12701
+ error: z.ZodNullable<z.ZodString>;
12702
+ requestId: z.ZodString;
12703
+ }, z.core.$strip>;
12704
+ }, z.core.$strip>;
12705
+ export declare const FileEntryDeleteResponseSchema: z.ZodObject<{
12706
+ type: z.ZodLiteral<"fs.entry.delete.response">;
12707
+ payload: z.ZodObject<{
12708
+ cwd: z.ZodString;
12709
+ path: z.ZodString;
12710
+ success: z.ZodBoolean;
12711
+ error: z.ZodNullable<z.ZodString>;
12712
+ requestId: z.ZodString;
12713
+ }, z.core.$strip>;
12714
+ }, z.core.$strip>;
12363
12715
  export declare const FileUpdateSchema: z.ZodObject<{
12364
12716
  type: z.ZodLiteral<"fs.file.update">;
12365
12717
  payload: z.ZodObject<{
@@ -12526,6 +12878,7 @@ export declare const ListAvailableProvidersResponseSchema: z.ZodObject<{
12526
12878
  export declare const GetProvidersSnapshotResponseMessageSchema: z.ZodObject<{
12527
12879
  type: z.ZodLiteral<"get_providers_snapshot_response">;
12528
12880
  payload: z.ZodObject<{
12881
+ cwd: z.ZodOptional<z.ZodString>;
12529
12882
  entries: z.ZodArray<z.ZodObject<{
12530
12883
  provider: z.ZodString;
12531
12884
  status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
@@ -12564,8 +12917,8 @@ export declare const GetProvidersSnapshotResponseMessageSchema: z.ZodObject<{
12564
12917
  entries: z.ZodArray<z.ZodObject<{
12565
12918
  error: z.ZodOptional<z.ZodString>;
12566
12919
  description: z.ZodOptional<z.ZodString>;
12567
- status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
12568
12920
  label: z.ZodOptional<z.ZodString>;
12921
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
12569
12922
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
12570
12923
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12571
12924
  provider: z.ZodString;
@@ -12578,8 +12931,8 @@ export declare const GetProvidersSnapshotResponseMessageSchema: z.ZodObject<{
12578
12931
  models: z.ZodOptional<z.ZodArray<z.ZodObject<{
12579
12932
  description: z.ZodOptional<z.ZodString>;
12580
12933
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12581
- id: z.ZodString;
12582
12934
  label: z.ZodString;
12935
+ id: z.ZodString;
12583
12936
  isDefault: z.ZodOptional<z.ZodBoolean>;
12584
12937
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
12585
12938
  isSelectable: z.ZodOptional<z.ZodBoolean>;
@@ -12647,8 +13000,8 @@ export declare const ProvidersSnapshotUpdateMessageSchema: z.ZodObject<{
12647
13000
  entries: z.ZodArray<z.ZodObject<{
12648
13001
  error: z.ZodOptional<z.ZodString>;
12649
13002
  description: z.ZodOptional<z.ZodString>;
12650
- status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
12651
13003
  label: z.ZodOptional<z.ZodString>;
13004
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
12652
13005
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
12653
13006
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12654
13007
  provider: z.ZodString;
@@ -12661,8 +13014,8 @@ export declare const ProvidersSnapshotUpdateMessageSchema: z.ZodObject<{
12661
13014
  models: z.ZodOptional<z.ZodArray<z.ZodObject<{
12662
13015
  description: z.ZodOptional<z.ZodString>;
12663
13016
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12664
- id: z.ZodString;
12665
13017
  label: z.ZodString;
13018
+ id: z.ZodString;
12666
13019
  isDefault: z.ZodOptional<z.ZodBoolean>;
12667
13020
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
12668
13021
  isSelectable: z.ZodOptional<z.ZodBoolean>;
@@ -13225,6 +13578,23 @@ export declare const HubExecutionAgentCreateResponseSchema: z.ZodObject<{
13225
13578
  }, z.core.$strip>], "code">>;
13226
13579
  }, z.core.$strip>;
13227
13580
  }, z.core.$strip>;
13581
+ export declare const HubExecutionAgentValidationIssueSchema: z.ZodObject<{
13582
+ path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
13583
+ message: z.ZodString;
13584
+ }, z.core.$strip>;
13585
+ export type HubExecutionAgentValidationIssue = z.infer<typeof HubExecutionAgentValidationIssueSchema>;
13586
+ export declare const HubExecutionAgentValidateResponseSchema: z.ZodObject<{
13587
+ type: z.ZodLiteral<"hub.execution.agent.validate.response">;
13588
+ payload: z.ZodObject<{
13589
+ requestId: z.ZodString;
13590
+ valid: z.ZodBoolean;
13591
+ issues: z.ZodArray<z.ZodObject<{
13592
+ path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
13593
+ message: z.ZodString;
13594
+ }, z.core.$strip>>;
13595
+ error: z.ZodNullable<z.ZodString>;
13596
+ }, z.core.$strip>;
13597
+ }, z.core.$strip>;
13228
13598
  export declare const HubExecutionControlResponseSchema: z.ZodObject<{
13229
13599
  type: z.ZodLiteral<"hub.execution.control.response">;
13230
13600
  payload: z.ZodObject<{
@@ -13382,6 +13752,7 @@ export declare const HubExecutionAgentStreamSchema: z.ZodObject<{
13382
13752
  }, z.core.$strip>;
13383
13753
  }, z.core.$strip>;
13384
13754
  export type HubExecutionAgentCreateResponse = z.infer<typeof HubExecutionAgentCreateResponseSchema>;
13755
+ export type HubExecutionAgentValidateResponse = z.infer<typeof HubExecutionAgentValidateResponseSchema>;
13385
13756
  export type HubExecutionControlResponse = z.infer<typeof HubExecutionControlResponseSchema>;
13386
13757
  export type HubExecutionAgentUpdate = z.infer<typeof HubExecutionAgentUpdateSchema>;
13387
13758
  export type HubExecutionAgentStream = z.infer<typeof HubExecutionAgentStreamSchema>;
@@ -13476,6 +13847,17 @@ export declare const HubExecutionOutboundMessageSchema: z.ZodDiscriminatedUnion<
13476
13847
  message: z.ZodString;
13477
13848
  }, z.core.$strip>], "code">>;
13478
13849
  }, z.core.$strip>;
13850
+ }, z.core.$strip>, z.ZodObject<{
13851
+ type: z.ZodLiteral<"hub.execution.agent.validate.response">;
13852
+ payload: z.ZodObject<{
13853
+ requestId: z.ZodString;
13854
+ valid: z.ZodBoolean;
13855
+ issues: z.ZodArray<z.ZodObject<{
13856
+ path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
13857
+ message: z.ZodString;
13858
+ }, z.core.$strip>>;
13859
+ error: z.ZodNullable<z.ZodString>;
13860
+ }, z.core.$strip>;
13479
13861
  }, z.core.$strip>, z.ZodObject<{
13480
13862
  type: z.ZodLiteral<"hub.execution.control.response">;
13481
13863
  payload: z.ZodObject<{
@@ -13727,6 +14109,17 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13727
14109
  message: z.ZodString;
13728
14110
  }, z.core.$strip>], "code">>;
13729
14111
  }, z.core.$strip>;
14112
+ }, z.core.$strip>, z.ZodObject<{
14113
+ type: z.ZodLiteral<"hub.execution.agent.validate.response">;
14114
+ payload: z.ZodObject<{
14115
+ requestId: z.ZodString;
14116
+ valid: z.ZodBoolean;
14117
+ issues: z.ZodArray<z.ZodObject<{
14118
+ path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14119
+ message: z.ZodString;
14120
+ }, z.core.$strip>>;
14121
+ error: z.ZodNullable<z.ZodString>;
14122
+ }, z.core.$strip>;
13730
14123
  }, z.core.$strip>, z.ZodObject<{
13731
14124
  type: z.ZodLiteral<"hub.execution.control.response">;
13732
14125
  payload: z.ZodObject<{
@@ -14132,6 +14525,11 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14132
14525
  serverReceivedAt: z.ZodNumber;
14133
14526
  serverSentAt: z.ZodNumber;
14134
14527
  }, z.core.$strip>;
14528
+ }, z.core.$strip>, z.ZodObject<{
14529
+ type: z.ZodLiteral<"push.unregister.response">;
14530
+ payload: z.ZodObject<{
14531
+ requestId: z.ZodString;
14532
+ }, z.core.$strip>;
14135
14533
  }, z.core.$strip>, z.ZodObject<{
14136
14534
  type: z.ZodLiteral<"rpc_error">;
14137
14535
  payload: z.ZodObject<{
@@ -14401,8 +14799,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14401
14799
  name: z.ZodString;
14402
14800
  status: z.ZodEnum<{
14403
14801
  success: "success";
14404
- failure: "failure";
14405
14802
  pending: "pending";
14803
+ failure: "failure";
14406
14804
  skipped: "skipped";
14407
14805
  cancelled: "cancelled";
14408
14806
  }>;
@@ -14412,9 +14810,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14412
14810
  }, z.core.$strip>>>;
14413
14811
  checksStatus: z.ZodOptional<z.ZodEnum<{
14414
14812
  success: "success";
14813
+ pending: "pending";
14415
14814
  none: "none";
14416
14815
  failure: "failure";
14417
- pending: "pending";
14418
14816
  }>>;
14419
14817
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
14420
14818
  pending: "pending";
@@ -14570,12 +14968,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14570
14968
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
14571
14969
  checks?: {
14572
14970
  name: string;
14573
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
14971
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
14574
14972
  url: string | null;
14575
14973
  workflow?: string | undefined;
14576
14974
  duration?: string | undefined;
14577
14975
  }[] | undefined;
14578
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
14976
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
14579
14977
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
14580
14978
  repoOwner?: string | undefined;
14581
14979
  repoName?: string | undefined;
@@ -14678,12 +15076,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14678
15076
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
14679
15077
  checks?: {
14680
15078
  name: string;
14681
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
15079
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
14682
15080
  url: string | null;
14683
15081
  workflow?: string | undefined;
14684
15082
  duration?: string | undefined;
14685
15083
  }[] | undefined;
14686
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
15084
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
14687
15085
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
14688
15086
  repoOwner?: string | undefined;
14689
15087
  repoName?: string | undefined;
@@ -15470,8 +15868,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15470
15868
  name: z.ZodString;
15471
15869
  status: z.ZodEnum<{
15472
15870
  success: "success";
15473
- failure: "failure";
15474
15871
  pending: "pending";
15872
+ failure: "failure";
15475
15873
  skipped: "skipped";
15476
15874
  cancelled: "cancelled";
15477
15875
  }>;
@@ -15481,9 +15879,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15481
15879
  }, z.core.$strip>>>;
15482
15880
  checksStatus: z.ZodOptional<z.ZodEnum<{
15483
15881
  success: "success";
15882
+ pending: "pending";
15484
15883
  none: "none";
15485
15884
  failure: "failure";
15486
- pending: "pending";
15487
15885
  }>>;
15488
15886
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
15489
15887
  pending: "pending";
@@ -15639,12 +16037,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15639
16037
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
15640
16038
  checks?: {
15641
16039
  name: string;
15642
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
16040
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
15643
16041
  url: string | null;
15644
16042
  workflow?: string | undefined;
15645
16043
  duration?: string | undefined;
15646
16044
  }[] | undefined;
15647
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
16045
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
15648
16046
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
15649
16047
  repoOwner?: string | undefined;
15650
16048
  repoName?: string | undefined;
@@ -15747,12 +16145,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15747
16145
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
15748
16146
  checks?: {
15749
16147
  name: string;
15750
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
16148
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
15751
16149
  url: string | null;
15752
16150
  workflow?: string | undefined;
15753
16151
  duration?: string | undefined;
15754
16152
  }[] | undefined;
15755
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
16153
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
15756
16154
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
15757
16155
  repoOwner?: string | undefined;
15758
16156
  repoName?: string | undefined;
@@ -15952,8 +16350,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15952
16350
  name: z.ZodString;
15953
16351
  status: z.ZodEnum<{
15954
16352
  success: "success";
15955
- failure: "failure";
15956
16353
  pending: "pending";
16354
+ failure: "failure";
15957
16355
  skipped: "skipped";
15958
16356
  cancelled: "cancelled";
15959
16357
  }>;
@@ -15963,9 +16361,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15963
16361
  }, z.core.$strip>>>;
15964
16362
  checksStatus: z.ZodOptional<z.ZodEnum<{
15965
16363
  success: "success";
16364
+ pending: "pending";
15966
16365
  none: "none";
15967
16366
  failure: "failure";
15968
- pending: "pending";
15969
16367
  }>>;
15970
16368
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
15971
16369
  pending: "pending";
@@ -16121,12 +16519,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
16121
16519
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
16122
16520
  checks?: {
16123
16521
  name: string;
16124
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
16522
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
16125
16523
  url: string | null;
16126
16524
  workflow?: string | undefined;
16127
16525
  duration?: string | undefined;
16128
16526
  }[] | undefined;
16129
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
16527
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
16130
16528
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
16131
16529
  repoOwner?: string | undefined;
16132
16530
  repoName?: string | undefined;
@@ -16229,12 +16627,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
16229
16627
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
16230
16628
  checks?: {
16231
16629
  name: string;
16232
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
16630
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
16233
16631
  url: string | null;
16234
16632
  workflow?: string | undefined;
16235
16633
  duration?: string | undefined;
16236
16634
  }[] | undefined;
16237
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
16635
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
16238
16636
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
16239
16637
  repoOwner?: string | undefined;
16240
16638
  repoName?: string | undefined;
@@ -17243,8 +17641,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17243
17641
  name: z.ZodString;
17244
17642
  status: z.ZodEnum<{
17245
17643
  success: "success";
17246
- failure: "failure";
17247
17644
  pending: "pending";
17645
+ failure: "failure";
17248
17646
  skipped: "skipped";
17249
17647
  cancelled: "cancelled";
17250
17648
  }>;
@@ -17254,9 +17652,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17254
17652
  }, z.core.$strip>>>;
17255
17653
  checksStatus: z.ZodOptional<z.ZodEnum<{
17256
17654
  success: "success";
17655
+ pending: "pending";
17257
17656
  none: "none";
17258
17657
  failure: "failure";
17259
- pending: "pending";
17260
17658
  }>>;
17261
17659
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
17262
17660
  pending: "pending";
@@ -17412,12 +17810,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17412
17810
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
17413
17811
  checks?: {
17414
17812
  name: string;
17415
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
17813
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
17416
17814
  url: string | null;
17417
17815
  workflow?: string | undefined;
17418
17816
  duration?: string | undefined;
17419
17817
  }[] | undefined;
17420
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
17818
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
17421
17819
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
17422
17820
  repoOwner?: string | undefined;
17423
17821
  repoName?: string | undefined;
@@ -17520,12 +17918,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17520
17918
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
17521
17919
  checks?: {
17522
17920
  name: string;
17523
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
17921
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
17524
17922
  url: string | null;
17525
17923
  workflow?: string | undefined;
17526
17924
  duration?: string | undefined;
17527
17925
  }[] | undefined;
17528
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
17926
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
17529
17927
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
17530
17928
  repoOwner?: string | undefined;
17531
17929
  repoName?: string | undefined;
@@ -17746,6 +18144,18 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17746
18144
  args: z.ZodOptional<z.ZodArray<z.ZodString>>;
17747
18145
  icon: z.ZodOptional<z.ZodString>;
17748
18146
  }, z.core.$loose>>>;
18147
+ agentProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
18148
+ id: z.ZodString;
18149
+ name: z.ZodString;
18150
+ icon: z.ZodOptional<z.ZodString>;
18151
+ color: z.ZodOptional<z.ZodString>;
18152
+ provider: z.ZodString;
18153
+ model: z.ZodOptional<z.ZodString>;
18154
+ modeId: z.ZodOptional<z.ZodString>;
18155
+ thinkingOptionId: z.ZodOptional<z.ZodString>;
18156
+ featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18157
+ notes: z.ZodOptional<z.ZodString>;
18158
+ }, z.core.$loose>>>;
17749
18159
  }, z.core.$loose>;
17750
18160
  }, z.core.$loose>;
17751
18161
  }, z.core.$strip>, z.ZodObject<{
@@ -17788,6 +18198,18 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17788
18198
  args: z.ZodOptional<z.ZodArray<z.ZodString>>;
17789
18199
  icon: z.ZodOptional<z.ZodString>;
17790
18200
  }, z.core.$loose>>>;
18201
+ agentProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
18202
+ id: z.ZodString;
18203
+ name: z.ZodString;
18204
+ icon: z.ZodOptional<z.ZodString>;
18205
+ color: z.ZodOptional<z.ZodString>;
18206
+ provider: z.ZodString;
18207
+ model: z.ZodOptional<z.ZodString>;
18208
+ modeId: z.ZodOptional<z.ZodString>;
18209
+ thinkingOptionId: z.ZodOptional<z.ZodString>;
18210
+ featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18211
+ notes: z.ZodOptional<z.ZodString>;
18212
+ }, z.core.$loose>>>;
17791
18213
  }, z.core.$loose>;
17792
18214
  }, z.core.$loose>;
17793
18215
  }, z.core.$strip>, z.ZodObject<{
@@ -17942,6 +18364,15 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17942
18364
  error: z.ZodNullable<z.ZodString>;
17943
18365
  notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
17944
18366
  }, z.core.$strip>;
18367
+ }, z.core.$strip>, z.ZodObject<{
18368
+ type: z.ZodLiteral<"agent.config.apply.response">;
18369
+ payload: z.ZodObject<{
18370
+ requestId: z.ZodString;
18371
+ agentId: z.ZodString;
18372
+ accepted: z.ZodBoolean;
18373
+ error: z.ZodNullable<z.ZodString>;
18374
+ notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
18375
+ }, z.core.$strip>;
17945
18376
  }, z.core.$strip>, z.ZodObject<{
17946
18377
  type: z.ZodLiteral<"agent.detach.response">;
17947
18378
  payload: z.ZodObject<{
@@ -18397,6 +18828,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18397
18828
  cwd: z.ZodString;
18398
18829
  files: z.ZodArray<z.ZodObject<{
18399
18830
  path: z.ZodString;
18831
+ oldPath: z.ZodOptional<z.ZodString>;
18400
18832
  isNew: z.ZodBoolean;
18401
18833
  isDeleted: z.ZodBoolean;
18402
18834
  additions: z.ZodNumber;
@@ -18445,6 +18877,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18445
18877
  cwd: z.ZodString;
18446
18878
  files: z.ZodArray<z.ZodObject<{
18447
18879
  path: z.ZodString;
18880
+ oldPath: z.ZodOptional<z.ZodString>;
18448
18881
  isNew: z.ZodBoolean;
18449
18882
  isDeleted: z.ZodBoolean;
18450
18883
  additions: z.ZodNumber;
@@ -18581,6 +19014,22 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18581
19014
  }, z.core.$strip>>;
18582
19015
  requestId: z.ZodString;
18583
19016
  }, z.core.$strip>;
19017
+ }, z.core.$strip>, z.ZodObject<{
19018
+ type: z.ZodLiteral<"checkout.discard_changes.response">;
19019
+ payload: z.ZodObject<{
19020
+ cwd: z.ZodString;
19021
+ success: z.ZodBoolean;
19022
+ error: z.ZodNullable<z.ZodObject<{
19023
+ code: z.ZodEnum<{
19024
+ NOT_GIT_REPO: "NOT_GIT_REPO";
19025
+ NOT_ALLOWED: "NOT_ALLOWED";
19026
+ MERGE_CONFLICT: "MERGE_CONFLICT";
19027
+ UNKNOWN: "UNKNOWN";
19028
+ }>;
19029
+ message: z.ZodString;
19030
+ }, z.core.$strip>>;
19031
+ requestId: z.ZodString;
19032
+ }, z.core.$strip>;
18584
19033
  }, z.core.$strip>, z.ZodObject<{
18585
19034
  type: z.ZodLiteral<"checkout_pr_create_response">;
18586
19035
  payload: z.ZodObject<{
@@ -18692,6 +19141,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18692
19141
  path: z.ZodString;
18693
19142
  file: z.ZodNullable<z.ZodObject<{
18694
19143
  path: z.ZodString;
19144
+ oldPath: z.ZodOptional<z.ZodString>;
18695
19145
  isNew: z.ZodBoolean;
18696
19146
  isDeleted: z.ZodBoolean;
18697
19147
  additions: z.ZodNumber;
@@ -19276,8 +19726,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19276
19726
  name: z.ZodString;
19277
19727
  status: z.ZodEnum<{
19278
19728
  success: "success";
19279
- failure: "failure";
19280
19729
  pending: "pending";
19730
+ failure: "failure";
19281
19731
  skipped: "skipped";
19282
19732
  cancelled: "cancelled";
19283
19733
  }>;
@@ -19287,9 +19737,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19287
19737
  }, z.core.$strip>>>;
19288
19738
  checksStatus: z.ZodOptional<z.ZodEnum<{
19289
19739
  success: "success";
19740
+ pending: "pending";
19290
19741
  none: "none";
19291
19742
  failure: "failure";
19292
- pending: "pending";
19293
19743
  }>>;
19294
19744
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
19295
19745
  pending: "pending";
@@ -19445,12 +19895,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19445
19895
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
19446
19896
  checks?: {
19447
19897
  name: string;
19448
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
19898
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
19449
19899
  url: string | null;
19450
19900
  workflow?: string | undefined;
19451
19901
  duration?: string | undefined;
19452
19902
  }[] | undefined;
19453
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
19903
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
19454
19904
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
19455
19905
  repoOwner?: string | undefined;
19456
19906
  repoName?: string | undefined;
@@ -19553,12 +20003,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19553
20003
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
19554
20004
  checks?: {
19555
20005
  name: string;
19556
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
20006
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
19557
20007
  url: string | null;
19558
20008
  workflow?: string | undefined;
19559
20009
  duration?: string | undefined;
19560
20010
  }[] | undefined;
19561
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
20011
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
19562
20012
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
19563
20013
  repoOwner?: string | undefined;
19564
20014
  repoName?: string | undefined;
@@ -19711,6 +20161,45 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19711
20161
  }, z.core.$strip>], "status">;
19712
20162
  requestId: z.ZodString;
19713
20163
  }, z.core.$strip>;
20164
+ }, z.core.$strip>, z.ZodObject<{
20165
+ type: z.ZodLiteral<"fs.entry.create.response">;
20166
+ payload: z.ZodObject<{
20167
+ cwd: z.ZodString;
20168
+ parentPath: z.ZodString;
20169
+ path: z.ZodNullable<z.ZodString>;
20170
+ success: z.ZodBoolean;
20171
+ error: z.ZodNullable<z.ZodString>;
20172
+ requestId: z.ZodString;
20173
+ }, z.core.$strip>;
20174
+ }, z.core.$strip>, z.ZodObject<{
20175
+ type: z.ZodLiteral<"fs.entry.rename.response">;
20176
+ payload: z.ZodObject<{
20177
+ cwd: z.ZodString;
20178
+ path: z.ZodString;
20179
+ renamedPath: z.ZodNullable<z.ZodString>;
20180
+ success: z.ZodBoolean;
20181
+ error: z.ZodNullable<z.ZodString>;
20182
+ requestId: z.ZodString;
20183
+ }, z.core.$strip>;
20184
+ }, z.core.$strip>, z.ZodObject<{
20185
+ type: z.ZodLiteral<"fs.entry.duplicate.response">;
20186
+ payload: z.ZodObject<{
20187
+ cwd: z.ZodString;
20188
+ path: z.ZodString;
20189
+ duplicatedPath: z.ZodNullable<z.ZodString>;
20190
+ success: z.ZodBoolean;
20191
+ error: z.ZodNullable<z.ZodString>;
20192
+ requestId: z.ZodString;
20193
+ }, z.core.$strip>;
20194
+ }, z.core.$strip>, z.ZodObject<{
20195
+ type: z.ZodLiteral<"fs.entry.delete.response">;
20196
+ payload: z.ZodObject<{
20197
+ cwd: z.ZodString;
20198
+ path: z.ZodString;
20199
+ success: z.ZodBoolean;
20200
+ error: z.ZodNullable<z.ZodString>;
20201
+ requestId: z.ZodString;
20202
+ }, z.core.$strip>;
19714
20203
  }, z.core.$strip>, z.ZodObject<{
19715
20204
  type: z.ZodLiteral<"fs.file.update">;
19716
20205
  payload: z.ZodObject<{
@@ -19864,6 +20353,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19864
20353
  }, z.core.$strip>, z.ZodObject<{
19865
20354
  type: z.ZodLiteral<"get_providers_snapshot_response">;
19866
20355
  payload: z.ZodObject<{
20356
+ cwd: z.ZodOptional<z.ZodString>;
19867
20357
  entries: z.ZodArray<z.ZodObject<{
19868
20358
  provider: z.ZodString;
19869
20359
  status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
@@ -19902,8 +20392,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19902
20392
  entries: z.ZodArray<z.ZodObject<{
19903
20393
  error: z.ZodOptional<z.ZodString>;
19904
20394
  description: z.ZodOptional<z.ZodString>;
19905
- status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
19906
20395
  label: z.ZodOptional<z.ZodString>;
20396
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
19907
20397
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
19908
20398
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19909
20399
  provider: z.ZodString;
@@ -19916,8 +20406,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19916
20406
  models: z.ZodOptional<z.ZodArray<z.ZodObject<{
19917
20407
  description: z.ZodOptional<z.ZodString>;
19918
20408
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19919
- id: z.ZodString;
19920
20409
  label: z.ZodString;
20410
+ id: z.ZodString;
19921
20411
  isDefault: z.ZodOptional<z.ZodBoolean>;
19922
20412
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
19923
20413
  isSelectable: z.ZodOptional<z.ZodBoolean>;
@@ -19984,8 +20474,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19984
20474
  entries: z.ZodArray<z.ZodObject<{
19985
20475
  error: z.ZodOptional<z.ZodString>;
19986
20476
  description: z.ZodOptional<z.ZodString>;
19987
- status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
19988
20477
  label: z.ZodOptional<z.ZodString>;
20478
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
19989
20479
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
19990
20480
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19991
20481
  provider: z.ZodString;
@@ -19998,8 +20488,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19998
20488
  models: z.ZodOptional<z.ZodArray<z.ZodObject<{
19999
20489
  description: z.ZodOptional<z.ZodString>;
20000
20490
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20001
- id: z.ZodString;
20002
20491
  label: z.ZodString;
20492
+ id: z.ZodString;
20003
20493
  isDefault: z.ZodOptional<z.ZodBoolean>;
20004
20494
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
20005
20495
  isSelectable: z.ZodOptional<z.ZodBoolean>;
@@ -21285,6 +21775,7 @@ export type SetAgentModeResponseMessage = z.infer<typeof SetAgentModeResponseMes
21285
21775
  export type SetAgentModelResponseMessage = z.infer<typeof SetAgentModelResponseMessageSchema>;
21286
21776
  export type SetAgentThinkingResponseMessage = z.infer<typeof SetAgentThinkingResponseMessageSchema>;
21287
21777
  export type SetAgentFeatureResponseMessage = z.infer<typeof SetAgentFeatureResponseMessageSchema>;
21778
+ export type AgentConfigApplyResponseMessage = z.infer<typeof AgentConfigApplyResponseMessageSchema>;
21288
21779
  export type AgentDetachResponseMessage = z.infer<typeof AgentDetachResponseMessageSchema>;
21289
21780
  export type AgentRewindResponseMessage = z.infer<typeof AgentRewindResponseMessageSchema>;
21290
21781
  export type UpdateAgentResponseMessage = z.infer<typeof UpdateAgentResponseMessageSchema>;
@@ -21410,6 +21901,7 @@ export type SetAgentModeRequestMessage = z.infer<typeof SetAgentModeRequestMessa
21410
21901
  export type SetAgentModelRequestMessage = z.infer<typeof SetAgentModelRequestMessageSchema>;
21411
21902
  export type SetAgentThinkingRequestMessage = z.infer<typeof SetAgentThinkingRequestMessageSchema>;
21412
21903
  export type SetAgentFeatureRequestMessage = z.infer<typeof SetAgentFeatureRequestMessageSchema>;
21904
+ export type AgentConfigApplyRequestMessage = z.infer<typeof AgentConfigApplyRequestMessageSchema>;
21413
21905
  export type AgentDetachRequestMessage = z.infer<typeof AgentDetachRequestMessageSchema>;
21414
21906
  export type AgentPermissionResponseMessage = z.infer<typeof AgentPermissionResponseMessageSchema>;
21415
21907
  export type CheckoutStatusRequest = z.infer<typeof CheckoutStatusRequestSchema>;
@@ -21431,6 +21923,8 @@ export type CheckoutPushRequest = z.infer<typeof CheckoutPushRequestSchema>;
21431
21923
  export type CheckoutPushResponse = z.infer<typeof CheckoutPushResponseSchema>;
21432
21924
  export type CheckoutRefreshRequest = z.infer<typeof CheckoutRefreshRequestSchema>;
21433
21925
  export type CheckoutRefreshResponse = z.infer<typeof CheckoutRefreshResponseSchema>;
21926
+ export type CheckoutDiscardChangesRequest = z.infer<typeof CheckoutDiscardChangesRequestSchema>;
21927
+ export type CheckoutDiscardChangesResponse = z.infer<typeof CheckoutDiscardChangesResponseSchema>;
21434
21928
  export type CheckoutCommitFile = z.infer<typeof CheckoutCommitFileSchema>;
21435
21929
  export type CheckoutCommit = z.infer<typeof CheckoutCommitSchema>;
21436
21930
  export type CheckoutCommitsListRequest = z.infer<typeof CheckoutCommitsListRequestSchema>;
@@ -21514,6 +22008,14 @@ export type FileUnsubscribeRequest = z.infer<typeof FileUnsubscribeRequestSchema
21514
22008
  export type FileUnsubscribeResponse = z.infer<typeof FileUnsubscribeResponseSchema>;
21515
22009
  export type FileWriteRequest = z.infer<typeof FileWriteRequestSchema>;
21516
22010
  export type FileWriteResponse = z.infer<typeof FileWriteResponseSchema>;
22011
+ export type FileEntryCreateRequest = z.infer<typeof FileEntryCreateRequestSchema>;
22012
+ export type FileEntryCreateResponse = z.infer<typeof FileEntryCreateResponseSchema>;
22013
+ export type FileEntryRenameRequest = z.infer<typeof FileEntryRenameRequestSchema>;
22014
+ export type FileEntryRenameResponse = z.infer<typeof FileEntryRenameResponseSchema>;
22015
+ export type FileEntryDuplicateRequest = z.infer<typeof FileEntryDuplicateRequestSchema>;
22016
+ export type FileEntryDuplicateResponse = z.infer<typeof FileEntryDuplicateResponseSchema>;
22017
+ export type FileEntryDeleteRequest = z.infer<typeof FileEntryDeleteRequestSchema>;
22018
+ export type FileEntryDeleteResponse = z.infer<typeof FileEntryDeleteResponseSchema>;
21517
22019
  export type FileWriteResult = z.infer<typeof FileWriteResultSchema>;
21518
22020
  export type FileUpdate = z.infer<typeof FileUpdateSchema>;
21519
22021
  export type ProjectIconRequest = z.infer<typeof ProjectIconRequestSchema>;
@@ -21533,6 +22035,8 @@ export type ClientHeartbeatMessage = z.infer<typeof ClientHeartbeatMessageSchema
21533
22035
  export type ListCommandsRequest = z.infer<typeof ListCommandsRequestSchema>;
21534
22036
  export type ListCommandsResponse = z.infer<typeof ListCommandsResponseSchema>;
21535
22037
  export type RegisterPushTokenMessage = z.infer<typeof RegisterPushTokenMessageSchema>;
22038
+ export type PushUnregisterRequest = z.infer<typeof PushUnregisterRequestSchema>;
22039
+ export type PushUnregisterResponse = z.infer<typeof PushUnregisterResponseSchema>;
21536
22040
  export type ListTerminalsRequest = z.infer<typeof ListTerminalsRequestSchema>;
21537
22041
  export type ListTerminalsResponse = z.infer<typeof ListTerminalsResponseSchema>;
21538
22042
  export type SubscribeTerminalsRequest = z.infer<typeof SubscribeTerminalsRequestSchema>;
@@ -21647,6 +22151,14 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21647
22151
  mode: z.ZodLiteral<"checkout-pr">;
21648
22152
  prNumber: z.ZodNumber;
21649
22153
  }, z.core.$strip>], "mode">>;
22154
+ }, z.core.$strip>, z.ZodObject<{
22155
+ type: z.ZodLiteral<"hub.execution.agent.validate.request">;
22156
+ requestId: z.ZodString;
22157
+ provider: z.ZodString;
22158
+ model: z.ZodOptional<z.ZodString>;
22159
+ modeId: z.ZodOptional<z.ZodString>;
22160
+ thinkingOptionId: z.ZodOptional<z.ZodString>;
22161
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
21650
22162
  }, z.core.$strip>, z.ZodObject<{
21651
22163
  type: z.ZodLiteral<"hub.execution.control.request">;
21652
22164
  requestId: z.ZodString;
@@ -22202,6 +22714,18 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
22202
22714
  args: z.ZodOptional<z.ZodArray<z.ZodString>>;
22203
22715
  icon: z.ZodOptional<z.ZodString>;
22204
22716
  }, z.core.$loose>>>>;
22717
+ agentProfiles: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
22718
+ id: z.ZodString;
22719
+ name: z.ZodString;
22720
+ icon: z.ZodOptional<z.ZodString>;
22721
+ color: z.ZodOptional<z.ZodString>;
22722
+ provider: z.ZodString;
22723
+ model: z.ZodOptional<z.ZodString>;
22724
+ modeId: z.ZodOptional<z.ZodString>;
22725
+ thinkingOptionId: z.ZodOptional<z.ZodString>;
22726
+ featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
22727
+ notes: z.ZodOptional<z.ZodString>;
22728
+ }, z.core.$loose>>>>;
22205
22729
  }, z.core.$loose>;
22206
22730
  }, z.core.$strip>, z.ZodObject<{
22207
22731
  type: z.ZodLiteral<"read_project_config_request">;
@@ -22604,6 +23128,16 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
22604
23128
  featureId: z.ZodString;
22605
23129
  value: z.ZodUnknown;
22606
23130
  requestId: z.ZodString;
23131
+ }, z.core.$strip>, z.ZodObject<{
23132
+ type: z.ZodLiteral<"agent.config.apply.request">;
23133
+ agentId: z.ZodString;
23134
+ config: z.ZodObject<{
23135
+ modelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23136
+ modeId: z.ZodOptional<z.ZodString>;
23137
+ thinkingOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23138
+ featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23139
+ }, z.core.$strip>;
23140
+ requestId: z.ZodString;
22607
23141
  }, z.core.$strip>, z.ZodObject<{
22608
23142
  type: z.ZodLiteral<"agent.detach.request">;
22609
23143
  agentId: z.ZodString;
@@ -22677,6 +23211,11 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
22677
23211
  type: z.ZodLiteral<"checkout.refresh.request">;
22678
23212
  cwd: z.ZodString;
22679
23213
  requestId: z.ZodString;
23214
+ }, z.core.$strip>, z.ZodObject<{
23215
+ type: z.ZodLiteral<"checkout.discard_changes.request">;
23216
+ cwd: z.ZodString;
23217
+ paths: z.ZodArray<z.ZodString>;
23218
+ requestId: z.ZodString;
22680
23219
  }, z.core.$strip>, z.ZodObject<{
22681
23220
  type: z.ZodLiteral<"checkout_pr_create_request">;
22682
23221
  cwd: z.ZodString;
@@ -23207,6 +23746,32 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
23207
23746
  expectedModifiedAt: z.ZodString;
23208
23747
  expectedRevision: z.ZodOptional<z.ZodString>;
23209
23748
  requestId: z.ZodString;
23749
+ }, z.core.$strip>, z.ZodObject<{
23750
+ type: z.ZodLiteral<"fs.entry.create.request">;
23751
+ cwd: z.ZodString;
23752
+ parentPath: z.ZodString;
23753
+ name: z.ZodString;
23754
+ kind: z.ZodEnum<{
23755
+ file: "file";
23756
+ directory: "directory";
23757
+ }>;
23758
+ requestId: z.ZodString;
23759
+ }, z.core.$strip>, z.ZodObject<{
23760
+ type: z.ZodLiteral<"fs.entry.rename.request">;
23761
+ cwd: z.ZodString;
23762
+ path: z.ZodString;
23763
+ name: z.ZodString;
23764
+ requestId: z.ZodString;
23765
+ }, z.core.$strip>, z.ZodObject<{
23766
+ type: z.ZodLiteral<"fs.entry.duplicate.request">;
23767
+ cwd: z.ZodString;
23768
+ path: z.ZodString;
23769
+ requestId: z.ZodString;
23770
+ }, z.core.$strip>, z.ZodObject<{
23771
+ type: z.ZodLiteral<"fs.entry.delete.request">;
23772
+ cwd: z.ZodString;
23773
+ path: z.ZodString;
23774
+ requestId: z.ZodString;
23210
23775
  }, z.core.$strip>, z.ZodObject<{
23211
23776
  type: z.ZodLiteral<"project_icon_request">;
23212
23777
  cwd: z.ZodString;
@@ -23261,6 +23826,10 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
23261
23826
  }, z.core.$strip>, z.ZodObject<{
23262
23827
  type: z.ZodLiteral<"register_push_token">;
23263
23828
  token: z.ZodString;
23829
+ }, z.core.$strip>, z.ZodObject<{
23830
+ type: z.ZodLiteral<"push.unregister.request">;
23831
+ token: z.ZodString;
23832
+ requestId: z.ZodString;
23264
23833
  }, z.core.$strip>, z.ZodObject<{
23265
23834
  type: z.ZodLiteral<"list_terminals_request">;
23266
23835
  cwd: z.ZodOptional<z.ZodString>;
@@ -23630,6 +24199,17 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23630
24199
  message: z.ZodString;
23631
24200
  }, z.core.$strip>], "code">>;
23632
24201
  }, z.core.$strip>;
24202
+ }, z.core.$strip>, z.ZodObject<{
24203
+ type: z.ZodLiteral<"hub.execution.agent.validate.response">;
24204
+ payload: z.ZodObject<{
24205
+ requestId: z.ZodString;
24206
+ valid: z.ZodBoolean;
24207
+ issues: z.ZodArray<z.ZodObject<{
24208
+ path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
24209
+ message: z.ZodString;
24210
+ }, z.core.$strip>>;
24211
+ error: z.ZodNullable<z.ZodString>;
24212
+ }, z.core.$strip>;
23633
24213
  }, z.core.$strip>, z.ZodObject<{
23634
24214
  type: z.ZodLiteral<"hub.execution.control.response">;
23635
24215
  payload: z.ZodObject<{
@@ -24035,6 +24615,11 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24035
24615
  serverReceivedAt: z.ZodNumber;
24036
24616
  serverSentAt: z.ZodNumber;
24037
24617
  }, z.core.$strip>;
24618
+ }, z.core.$strip>, z.ZodObject<{
24619
+ type: z.ZodLiteral<"push.unregister.response">;
24620
+ payload: z.ZodObject<{
24621
+ requestId: z.ZodString;
24622
+ }, z.core.$strip>;
24038
24623
  }, z.core.$strip>, z.ZodObject<{
24039
24624
  type: z.ZodLiteral<"rpc_error">;
24040
24625
  payload: z.ZodObject<{
@@ -24304,8 +24889,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24304
24889
  name: z.ZodString;
24305
24890
  status: z.ZodEnum<{
24306
24891
  success: "success";
24307
- failure: "failure";
24308
24892
  pending: "pending";
24893
+ failure: "failure";
24309
24894
  skipped: "skipped";
24310
24895
  cancelled: "cancelled";
24311
24896
  }>;
@@ -24315,9 +24900,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24315
24900
  }, z.core.$strip>>>;
24316
24901
  checksStatus: z.ZodOptional<z.ZodEnum<{
24317
24902
  success: "success";
24903
+ pending: "pending";
24318
24904
  none: "none";
24319
24905
  failure: "failure";
24320
- pending: "pending";
24321
24906
  }>>;
24322
24907
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
24323
24908
  pending: "pending";
@@ -24473,12 +25058,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24473
25058
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
24474
25059
  checks?: {
24475
25060
  name: string;
24476
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
25061
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
24477
25062
  url: string | null;
24478
25063
  workflow?: string | undefined;
24479
25064
  duration?: string | undefined;
24480
25065
  }[] | undefined;
24481
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
25066
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
24482
25067
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
24483
25068
  repoOwner?: string | undefined;
24484
25069
  repoName?: string | undefined;
@@ -24581,12 +25166,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24581
25166
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
24582
25167
  checks?: {
24583
25168
  name: string;
24584
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
25169
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
24585
25170
  url: string | null;
24586
25171
  workflow?: string | undefined;
24587
25172
  duration?: string | undefined;
24588
25173
  }[] | undefined;
24589
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
25174
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
24590
25175
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
24591
25176
  repoOwner?: string | undefined;
24592
25177
  repoName?: string | undefined;
@@ -25373,8 +25958,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25373
25958
  name: z.ZodString;
25374
25959
  status: z.ZodEnum<{
25375
25960
  success: "success";
25376
- failure: "failure";
25377
25961
  pending: "pending";
25962
+ failure: "failure";
25378
25963
  skipped: "skipped";
25379
25964
  cancelled: "cancelled";
25380
25965
  }>;
@@ -25384,9 +25969,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25384
25969
  }, z.core.$strip>>>;
25385
25970
  checksStatus: z.ZodOptional<z.ZodEnum<{
25386
25971
  success: "success";
25972
+ pending: "pending";
25387
25973
  none: "none";
25388
25974
  failure: "failure";
25389
- pending: "pending";
25390
25975
  }>>;
25391
25976
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
25392
25977
  pending: "pending";
@@ -25542,12 +26127,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25542
26127
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
25543
26128
  checks?: {
25544
26129
  name: string;
25545
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
26130
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
25546
26131
  url: string | null;
25547
26132
  workflow?: string | undefined;
25548
26133
  duration?: string | undefined;
25549
26134
  }[] | undefined;
25550
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
26135
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
25551
26136
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
25552
26137
  repoOwner?: string | undefined;
25553
26138
  repoName?: string | undefined;
@@ -25650,12 +26235,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25650
26235
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
25651
26236
  checks?: {
25652
26237
  name: string;
25653
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
26238
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
25654
26239
  url: string | null;
25655
26240
  workflow?: string | undefined;
25656
26241
  duration?: string | undefined;
25657
26242
  }[] | undefined;
25658
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
26243
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
25659
26244
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
25660
26245
  repoOwner?: string | undefined;
25661
26246
  repoName?: string | undefined;
@@ -25855,8 +26440,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25855
26440
  name: z.ZodString;
25856
26441
  status: z.ZodEnum<{
25857
26442
  success: "success";
25858
- failure: "failure";
25859
26443
  pending: "pending";
26444
+ failure: "failure";
25860
26445
  skipped: "skipped";
25861
26446
  cancelled: "cancelled";
25862
26447
  }>;
@@ -25866,9 +26451,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25866
26451
  }, z.core.$strip>>>;
25867
26452
  checksStatus: z.ZodOptional<z.ZodEnum<{
25868
26453
  success: "success";
26454
+ pending: "pending";
25869
26455
  none: "none";
25870
26456
  failure: "failure";
25871
- pending: "pending";
25872
26457
  }>>;
25873
26458
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
25874
26459
  pending: "pending";
@@ -26024,12 +26609,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26024
26609
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
26025
26610
  checks?: {
26026
26611
  name: string;
26027
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
26612
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
26028
26613
  url: string | null;
26029
26614
  workflow?: string | undefined;
26030
26615
  duration?: string | undefined;
26031
26616
  }[] | undefined;
26032
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
26617
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
26033
26618
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
26034
26619
  repoOwner?: string | undefined;
26035
26620
  repoName?: string | undefined;
@@ -26132,12 +26717,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26132
26717
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
26133
26718
  checks?: {
26134
26719
  name: string;
26135
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
26720
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
26136
26721
  url: string | null;
26137
26722
  workflow?: string | undefined;
26138
26723
  duration?: string | undefined;
26139
26724
  }[] | undefined;
26140
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
26725
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
26141
26726
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
26142
26727
  repoOwner?: string | undefined;
26143
26728
  repoName?: string | undefined;
@@ -27146,8 +27731,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27146
27731
  name: z.ZodString;
27147
27732
  status: z.ZodEnum<{
27148
27733
  success: "success";
27149
- failure: "failure";
27150
27734
  pending: "pending";
27735
+ failure: "failure";
27151
27736
  skipped: "skipped";
27152
27737
  cancelled: "cancelled";
27153
27738
  }>;
@@ -27157,9 +27742,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27157
27742
  }, z.core.$strip>>>;
27158
27743
  checksStatus: z.ZodOptional<z.ZodEnum<{
27159
27744
  success: "success";
27745
+ pending: "pending";
27160
27746
  none: "none";
27161
27747
  failure: "failure";
27162
- pending: "pending";
27163
27748
  }>>;
27164
27749
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
27165
27750
  pending: "pending";
@@ -27315,12 +27900,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27315
27900
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
27316
27901
  checks?: {
27317
27902
  name: string;
27318
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
27903
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
27319
27904
  url: string | null;
27320
27905
  workflow?: string | undefined;
27321
27906
  duration?: string | undefined;
27322
27907
  }[] | undefined;
27323
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
27908
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
27324
27909
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
27325
27910
  repoOwner?: string | undefined;
27326
27911
  repoName?: string | undefined;
@@ -27423,12 +28008,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27423
28008
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
27424
28009
  checks?: {
27425
28010
  name: string;
27426
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
28011
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
27427
28012
  url: string | null;
27428
28013
  workflow?: string | undefined;
27429
28014
  duration?: string | undefined;
27430
28015
  }[] | undefined;
27431
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
28016
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
27432
28017
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
27433
28018
  repoOwner?: string | undefined;
27434
28019
  repoName?: string | undefined;
@@ -27649,6 +28234,18 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27649
28234
  args: z.ZodOptional<z.ZodArray<z.ZodString>>;
27650
28235
  icon: z.ZodOptional<z.ZodString>;
27651
28236
  }, z.core.$loose>>>;
28237
+ agentProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
28238
+ id: z.ZodString;
28239
+ name: z.ZodString;
28240
+ icon: z.ZodOptional<z.ZodString>;
28241
+ color: z.ZodOptional<z.ZodString>;
28242
+ provider: z.ZodString;
28243
+ model: z.ZodOptional<z.ZodString>;
28244
+ modeId: z.ZodOptional<z.ZodString>;
28245
+ thinkingOptionId: z.ZodOptional<z.ZodString>;
28246
+ featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
28247
+ notes: z.ZodOptional<z.ZodString>;
28248
+ }, z.core.$loose>>>;
27652
28249
  }, z.core.$loose>;
27653
28250
  }, z.core.$loose>;
27654
28251
  }, z.core.$strip>, z.ZodObject<{
@@ -27691,6 +28288,18 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27691
28288
  args: z.ZodOptional<z.ZodArray<z.ZodString>>;
27692
28289
  icon: z.ZodOptional<z.ZodString>;
27693
28290
  }, z.core.$loose>>>;
28291
+ agentProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
28292
+ id: z.ZodString;
28293
+ name: z.ZodString;
28294
+ icon: z.ZodOptional<z.ZodString>;
28295
+ color: z.ZodOptional<z.ZodString>;
28296
+ provider: z.ZodString;
28297
+ model: z.ZodOptional<z.ZodString>;
28298
+ modeId: z.ZodOptional<z.ZodString>;
28299
+ thinkingOptionId: z.ZodOptional<z.ZodString>;
28300
+ featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
28301
+ notes: z.ZodOptional<z.ZodString>;
28302
+ }, z.core.$loose>>>;
27694
28303
  }, z.core.$loose>;
27695
28304
  }, z.core.$loose>;
27696
28305
  }, z.core.$strip>, z.ZodObject<{
@@ -27845,6 +28454,15 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27845
28454
  error: z.ZodNullable<z.ZodString>;
27846
28455
  notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
27847
28456
  }, z.core.$strip>;
28457
+ }, z.core.$strip>, z.ZodObject<{
28458
+ type: z.ZodLiteral<"agent.config.apply.response">;
28459
+ payload: z.ZodObject<{
28460
+ requestId: z.ZodString;
28461
+ agentId: z.ZodString;
28462
+ accepted: z.ZodBoolean;
28463
+ error: z.ZodNullable<z.ZodString>;
28464
+ notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
28465
+ }, z.core.$strip>;
27848
28466
  }, z.core.$strip>, z.ZodObject<{
27849
28467
  type: z.ZodLiteral<"agent.detach.response">;
27850
28468
  payload: z.ZodObject<{
@@ -28300,6 +28918,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28300
28918
  cwd: z.ZodString;
28301
28919
  files: z.ZodArray<z.ZodObject<{
28302
28920
  path: z.ZodString;
28921
+ oldPath: z.ZodOptional<z.ZodString>;
28303
28922
  isNew: z.ZodBoolean;
28304
28923
  isDeleted: z.ZodBoolean;
28305
28924
  additions: z.ZodNumber;
@@ -28348,6 +28967,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28348
28967
  cwd: z.ZodString;
28349
28968
  files: z.ZodArray<z.ZodObject<{
28350
28969
  path: z.ZodString;
28970
+ oldPath: z.ZodOptional<z.ZodString>;
28351
28971
  isNew: z.ZodBoolean;
28352
28972
  isDeleted: z.ZodBoolean;
28353
28973
  additions: z.ZodNumber;
@@ -28484,6 +29104,22 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28484
29104
  }, z.core.$strip>>;
28485
29105
  requestId: z.ZodString;
28486
29106
  }, z.core.$strip>;
29107
+ }, z.core.$strip>, z.ZodObject<{
29108
+ type: z.ZodLiteral<"checkout.discard_changes.response">;
29109
+ payload: z.ZodObject<{
29110
+ cwd: z.ZodString;
29111
+ success: z.ZodBoolean;
29112
+ error: z.ZodNullable<z.ZodObject<{
29113
+ code: z.ZodEnum<{
29114
+ NOT_GIT_REPO: "NOT_GIT_REPO";
29115
+ NOT_ALLOWED: "NOT_ALLOWED";
29116
+ MERGE_CONFLICT: "MERGE_CONFLICT";
29117
+ UNKNOWN: "UNKNOWN";
29118
+ }>;
29119
+ message: z.ZodString;
29120
+ }, z.core.$strip>>;
29121
+ requestId: z.ZodString;
29122
+ }, z.core.$strip>;
28487
29123
  }, z.core.$strip>, z.ZodObject<{
28488
29124
  type: z.ZodLiteral<"checkout_pr_create_response">;
28489
29125
  payload: z.ZodObject<{
@@ -28595,6 +29231,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28595
29231
  path: z.ZodString;
28596
29232
  file: z.ZodNullable<z.ZodObject<{
28597
29233
  path: z.ZodString;
29234
+ oldPath: z.ZodOptional<z.ZodString>;
28598
29235
  isNew: z.ZodBoolean;
28599
29236
  isDeleted: z.ZodBoolean;
28600
29237
  additions: z.ZodNumber;
@@ -29179,8 +29816,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29179
29816
  name: z.ZodString;
29180
29817
  status: z.ZodEnum<{
29181
29818
  success: "success";
29182
- failure: "failure";
29183
29819
  pending: "pending";
29820
+ failure: "failure";
29184
29821
  skipped: "skipped";
29185
29822
  cancelled: "cancelled";
29186
29823
  }>;
@@ -29190,9 +29827,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29190
29827
  }, z.core.$strip>>>;
29191
29828
  checksStatus: z.ZodOptional<z.ZodEnum<{
29192
29829
  success: "success";
29830
+ pending: "pending";
29193
29831
  none: "none";
29194
29832
  failure: "failure";
29195
- pending: "pending";
29196
29833
  }>>;
29197
29834
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
29198
29835
  pending: "pending";
@@ -29348,12 +29985,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29348
29985
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
29349
29986
  checks?: {
29350
29987
  name: string;
29351
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
29988
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
29352
29989
  url: string | null;
29353
29990
  workflow?: string | undefined;
29354
29991
  duration?: string | undefined;
29355
29992
  }[] | undefined;
29356
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
29993
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
29357
29994
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
29358
29995
  repoOwner?: string | undefined;
29359
29996
  repoName?: string | undefined;
@@ -29456,12 +30093,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29456
30093
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
29457
30094
  checks?: {
29458
30095
  name: string;
29459
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
30096
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
29460
30097
  url: string | null;
29461
30098
  workflow?: string | undefined;
29462
30099
  duration?: string | undefined;
29463
30100
  }[] | undefined;
29464
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
30101
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
29465
30102
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
29466
30103
  repoOwner?: string | undefined;
29467
30104
  repoName?: string | undefined;
@@ -29614,6 +30251,45 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29614
30251
  }, z.core.$strip>], "status">;
29615
30252
  requestId: z.ZodString;
29616
30253
  }, z.core.$strip>;
30254
+ }, z.core.$strip>, z.ZodObject<{
30255
+ type: z.ZodLiteral<"fs.entry.create.response">;
30256
+ payload: z.ZodObject<{
30257
+ cwd: z.ZodString;
30258
+ parentPath: z.ZodString;
30259
+ path: z.ZodNullable<z.ZodString>;
30260
+ success: z.ZodBoolean;
30261
+ error: z.ZodNullable<z.ZodString>;
30262
+ requestId: z.ZodString;
30263
+ }, z.core.$strip>;
30264
+ }, z.core.$strip>, z.ZodObject<{
30265
+ type: z.ZodLiteral<"fs.entry.rename.response">;
30266
+ payload: z.ZodObject<{
30267
+ cwd: z.ZodString;
30268
+ path: z.ZodString;
30269
+ renamedPath: z.ZodNullable<z.ZodString>;
30270
+ success: z.ZodBoolean;
30271
+ error: z.ZodNullable<z.ZodString>;
30272
+ requestId: z.ZodString;
30273
+ }, z.core.$strip>;
30274
+ }, z.core.$strip>, z.ZodObject<{
30275
+ type: z.ZodLiteral<"fs.entry.duplicate.response">;
30276
+ payload: z.ZodObject<{
30277
+ cwd: z.ZodString;
30278
+ path: z.ZodString;
30279
+ duplicatedPath: z.ZodNullable<z.ZodString>;
30280
+ success: z.ZodBoolean;
30281
+ error: z.ZodNullable<z.ZodString>;
30282
+ requestId: z.ZodString;
30283
+ }, z.core.$strip>;
30284
+ }, z.core.$strip>, z.ZodObject<{
30285
+ type: z.ZodLiteral<"fs.entry.delete.response">;
30286
+ payload: z.ZodObject<{
30287
+ cwd: z.ZodString;
30288
+ path: z.ZodString;
30289
+ success: z.ZodBoolean;
30290
+ error: z.ZodNullable<z.ZodString>;
30291
+ requestId: z.ZodString;
30292
+ }, z.core.$strip>;
29617
30293
  }, z.core.$strip>, z.ZodObject<{
29618
30294
  type: z.ZodLiteral<"fs.file.update">;
29619
30295
  payload: z.ZodObject<{
@@ -29767,6 +30443,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29767
30443
  }, z.core.$strip>, z.ZodObject<{
29768
30444
  type: z.ZodLiteral<"get_providers_snapshot_response">;
29769
30445
  payload: z.ZodObject<{
30446
+ cwd: z.ZodOptional<z.ZodString>;
29770
30447
  entries: z.ZodArray<z.ZodObject<{
29771
30448
  provider: z.ZodString;
29772
30449
  status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
@@ -29805,8 +30482,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29805
30482
  entries: z.ZodArray<z.ZodObject<{
29806
30483
  error: z.ZodOptional<z.ZodString>;
29807
30484
  description: z.ZodOptional<z.ZodString>;
29808
- status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
29809
30485
  label: z.ZodOptional<z.ZodString>;
30486
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
29810
30487
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
29811
30488
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29812
30489
  provider: z.ZodString;
@@ -29819,8 +30496,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29819
30496
  models: z.ZodOptional<z.ZodArray<z.ZodObject<{
29820
30497
  description: z.ZodOptional<z.ZodString>;
29821
30498
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
29822
- id: z.ZodString;
29823
30499
  label: z.ZodString;
30500
+ id: z.ZodString;
29824
30501
  isDefault: z.ZodOptional<z.ZodBoolean>;
29825
30502
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
29826
30503
  isSelectable: z.ZodOptional<z.ZodBoolean>;
@@ -29887,8 +30564,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29887
30564
  entries: z.ZodArray<z.ZodObject<{
29888
30565
  error: z.ZodOptional<z.ZodString>;
29889
30566
  description: z.ZodOptional<z.ZodString>;
29890
- status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
29891
30567
  label: z.ZodOptional<z.ZodString>;
30568
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
29892
30569
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
29893
30570
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29894
30571
  provider: z.ZodString;
@@ -29901,8 +30578,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29901
30578
  models: z.ZodOptional<z.ZodArray<z.ZodObject<{
29902
30579
  description: z.ZodOptional<z.ZodString>;
29903
30580
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
29904
- id: z.ZodString;
29905
30581
  label: z.ZodString;
30582
+ id: z.ZodString;
29906
30583
  isDefault: z.ZodOptional<z.ZodBoolean>;
29907
30584
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
29908
30585
  isSelectable: z.ZodOptional<z.ZodBoolean>;
@@ -31212,6 +31889,14 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
31212
31889
  mode: z.ZodLiteral<"checkout-pr">;
31213
31890
  prNumber: z.ZodNumber;
31214
31891
  }, z.core.$strip>], "mode">>;
31892
+ }, z.core.$strip>, z.ZodObject<{
31893
+ type: z.ZodLiteral<"hub.execution.agent.validate.request">;
31894
+ requestId: z.ZodString;
31895
+ provider: z.ZodString;
31896
+ model: z.ZodOptional<z.ZodString>;
31897
+ modeId: z.ZodOptional<z.ZodString>;
31898
+ thinkingOptionId: z.ZodOptional<z.ZodString>;
31899
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
31215
31900
  }, z.core.$strip>, z.ZodObject<{
31216
31901
  type: z.ZodLiteral<"hub.execution.control.request">;
31217
31902
  requestId: z.ZodString;
@@ -31767,6 +32452,18 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
31767
32452
  args: z.ZodOptional<z.ZodArray<z.ZodString>>;
31768
32453
  icon: z.ZodOptional<z.ZodString>;
31769
32454
  }, z.core.$loose>>>>;
32455
+ agentProfiles: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
32456
+ id: z.ZodString;
32457
+ name: z.ZodString;
32458
+ icon: z.ZodOptional<z.ZodString>;
32459
+ color: z.ZodOptional<z.ZodString>;
32460
+ provider: z.ZodString;
32461
+ model: z.ZodOptional<z.ZodString>;
32462
+ modeId: z.ZodOptional<z.ZodString>;
32463
+ thinkingOptionId: z.ZodOptional<z.ZodString>;
32464
+ featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
32465
+ notes: z.ZodOptional<z.ZodString>;
32466
+ }, z.core.$loose>>>>;
31770
32467
  }, z.core.$loose>;
31771
32468
  }, z.core.$strip>, z.ZodObject<{
31772
32469
  type: z.ZodLiteral<"read_project_config_request">;
@@ -32169,6 +32866,16 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
32169
32866
  featureId: z.ZodString;
32170
32867
  value: z.ZodUnknown;
32171
32868
  requestId: z.ZodString;
32869
+ }, z.core.$strip>, z.ZodObject<{
32870
+ type: z.ZodLiteral<"agent.config.apply.request">;
32871
+ agentId: z.ZodString;
32872
+ config: z.ZodObject<{
32873
+ modelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32874
+ modeId: z.ZodOptional<z.ZodString>;
32875
+ thinkingOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32876
+ featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
32877
+ }, z.core.$strip>;
32878
+ requestId: z.ZodString;
32172
32879
  }, z.core.$strip>, z.ZodObject<{
32173
32880
  type: z.ZodLiteral<"agent.detach.request">;
32174
32881
  agentId: z.ZodString;
@@ -32242,6 +32949,11 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
32242
32949
  type: z.ZodLiteral<"checkout.refresh.request">;
32243
32950
  cwd: z.ZodString;
32244
32951
  requestId: z.ZodString;
32952
+ }, z.core.$strip>, z.ZodObject<{
32953
+ type: z.ZodLiteral<"checkout.discard_changes.request">;
32954
+ cwd: z.ZodString;
32955
+ paths: z.ZodArray<z.ZodString>;
32956
+ requestId: z.ZodString;
32245
32957
  }, z.core.$strip>, z.ZodObject<{
32246
32958
  type: z.ZodLiteral<"checkout_pr_create_request">;
32247
32959
  cwd: z.ZodString;
@@ -32772,6 +33484,32 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
32772
33484
  expectedModifiedAt: z.ZodString;
32773
33485
  expectedRevision: z.ZodOptional<z.ZodString>;
32774
33486
  requestId: z.ZodString;
33487
+ }, z.core.$strip>, z.ZodObject<{
33488
+ type: z.ZodLiteral<"fs.entry.create.request">;
33489
+ cwd: z.ZodString;
33490
+ parentPath: z.ZodString;
33491
+ name: z.ZodString;
33492
+ kind: z.ZodEnum<{
33493
+ file: "file";
33494
+ directory: "directory";
33495
+ }>;
33496
+ requestId: z.ZodString;
33497
+ }, z.core.$strip>, z.ZodObject<{
33498
+ type: z.ZodLiteral<"fs.entry.rename.request">;
33499
+ cwd: z.ZodString;
33500
+ path: z.ZodString;
33501
+ name: z.ZodString;
33502
+ requestId: z.ZodString;
33503
+ }, z.core.$strip>, z.ZodObject<{
33504
+ type: z.ZodLiteral<"fs.entry.duplicate.request">;
33505
+ cwd: z.ZodString;
33506
+ path: z.ZodString;
33507
+ requestId: z.ZodString;
33508
+ }, z.core.$strip>, z.ZodObject<{
33509
+ type: z.ZodLiteral<"fs.entry.delete.request">;
33510
+ cwd: z.ZodString;
33511
+ path: z.ZodString;
33512
+ requestId: z.ZodString;
32775
33513
  }, z.core.$strip>, z.ZodObject<{
32776
33514
  type: z.ZodLiteral<"project_icon_request">;
32777
33515
  cwd: z.ZodString;
@@ -32826,6 +33564,10 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
32826
33564
  }, z.core.$strip>, z.ZodObject<{
32827
33565
  type: z.ZodLiteral<"register_push_token">;
32828
33566
  token: z.ZodString;
33567
+ }, z.core.$strip>, z.ZodObject<{
33568
+ type: z.ZodLiteral<"push.unregister.request">;
33569
+ token: z.ZodString;
33570
+ requestId: z.ZodString;
32829
33571
  }, z.core.$strip>, z.ZodObject<{
32830
33572
  type: z.ZodLiteral<"list_terminals_request">;
32831
33573
  cwd: z.ZodOptional<z.ZodString>;
@@ -33197,6 +33939,17 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33197
33939
  message: z.ZodString;
33198
33940
  }, z.core.$strip>], "code">>;
33199
33941
  }, z.core.$strip>;
33942
+ }, z.core.$strip>, z.ZodObject<{
33943
+ type: z.ZodLiteral<"hub.execution.agent.validate.response">;
33944
+ payload: z.ZodObject<{
33945
+ requestId: z.ZodString;
33946
+ valid: z.ZodBoolean;
33947
+ issues: z.ZodArray<z.ZodObject<{
33948
+ path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
33949
+ message: z.ZodString;
33950
+ }, z.core.$strip>>;
33951
+ error: z.ZodNullable<z.ZodString>;
33952
+ }, z.core.$strip>;
33200
33953
  }, z.core.$strip>, z.ZodObject<{
33201
33954
  type: z.ZodLiteral<"hub.execution.control.response">;
33202
33955
  payload: z.ZodObject<{
@@ -33602,6 +34355,11 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33602
34355
  serverReceivedAt: z.ZodNumber;
33603
34356
  serverSentAt: z.ZodNumber;
33604
34357
  }, z.core.$strip>;
34358
+ }, z.core.$strip>, z.ZodObject<{
34359
+ type: z.ZodLiteral<"push.unregister.response">;
34360
+ payload: z.ZodObject<{
34361
+ requestId: z.ZodString;
34362
+ }, z.core.$strip>;
33605
34363
  }, z.core.$strip>, z.ZodObject<{
33606
34364
  type: z.ZodLiteral<"rpc_error">;
33607
34365
  payload: z.ZodObject<{
@@ -33871,8 +34629,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33871
34629
  name: z.ZodString;
33872
34630
  status: z.ZodEnum<{
33873
34631
  success: "success";
33874
- failure: "failure";
33875
34632
  pending: "pending";
34633
+ failure: "failure";
33876
34634
  skipped: "skipped";
33877
34635
  cancelled: "cancelled";
33878
34636
  }>;
@@ -33882,9 +34640,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33882
34640
  }, z.core.$strip>>>;
33883
34641
  checksStatus: z.ZodOptional<z.ZodEnum<{
33884
34642
  success: "success";
34643
+ pending: "pending";
33885
34644
  none: "none";
33886
34645
  failure: "failure";
33887
- pending: "pending";
33888
34646
  }>>;
33889
34647
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
33890
34648
  pending: "pending";
@@ -34040,12 +34798,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34040
34798
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
34041
34799
  checks?: {
34042
34800
  name: string;
34043
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
34801
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
34044
34802
  url: string | null;
34045
34803
  workflow?: string | undefined;
34046
34804
  duration?: string | undefined;
34047
34805
  }[] | undefined;
34048
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
34806
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
34049
34807
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
34050
34808
  repoOwner?: string | undefined;
34051
34809
  repoName?: string | undefined;
@@ -34148,12 +34906,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34148
34906
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
34149
34907
  checks?: {
34150
34908
  name: string;
34151
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
34909
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
34152
34910
  url: string | null;
34153
34911
  workflow?: string | undefined;
34154
34912
  duration?: string | undefined;
34155
34913
  }[] | undefined;
34156
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
34914
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
34157
34915
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
34158
34916
  repoOwner?: string | undefined;
34159
34917
  repoName?: string | undefined;
@@ -34940,8 +35698,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34940
35698
  name: z.ZodString;
34941
35699
  status: z.ZodEnum<{
34942
35700
  success: "success";
34943
- failure: "failure";
34944
35701
  pending: "pending";
35702
+ failure: "failure";
34945
35703
  skipped: "skipped";
34946
35704
  cancelled: "cancelled";
34947
35705
  }>;
@@ -34951,9 +35709,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34951
35709
  }, z.core.$strip>>>;
34952
35710
  checksStatus: z.ZodOptional<z.ZodEnum<{
34953
35711
  success: "success";
35712
+ pending: "pending";
34954
35713
  none: "none";
34955
35714
  failure: "failure";
34956
- pending: "pending";
34957
35715
  }>>;
34958
35716
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
34959
35717
  pending: "pending";
@@ -35109,12 +35867,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35109
35867
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
35110
35868
  checks?: {
35111
35869
  name: string;
35112
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
35870
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
35113
35871
  url: string | null;
35114
35872
  workflow?: string | undefined;
35115
35873
  duration?: string | undefined;
35116
35874
  }[] | undefined;
35117
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
35875
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
35118
35876
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
35119
35877
  repoOwner?: string | undefined;
35120
35878
  repoName?: string | undefined;
@@ -35217,12 +35975,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35217
35975
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
35218
35976
  checks?: {
35219
35977
  name: string;
35220
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
35978
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
35221
35979
  url: string | null;
35222
35980
  workflow?: string | undefined;
35223
35981
  duration?: string | undefined;
35224
35982
  }[] | undefined;
35225
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
35983
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
35226
35984
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
35227
35985
  repoOwner?: string | undefined;
35228
35986
  repoName?: string | undefined;
@@ -35422,8 +36180,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35422
36180
  name: z.ZodString;
35423
36181
  status: z.ZodEnum<{
35424
36182
  success: "success";
35425
- failure: "failure";
35426
36183
  pending: "pending";
36184
+ failure: "failure";
35427
36185
  skipped: "skipped";
35428
36186
  cancelled: "cancelled";
35429
36187
  }>;
@@ -35433,9 +36191,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35433
36191
  }, z.core.$strip>>>;
35434
36192
  checksStatus: z.ZodOptional<z.ZodEnum<{
35435
36193
  success: "success";
36194
+ pending: "pending";
35436
36195
  none: "none";
35437
36196
  failure: "failure";
35438
- pending: "pending";
35439
36197
  }>>;
35440
36198
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
35441
36199
  pending: "pending";
@@ -35591,12 +36349,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35591
36349
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
35592
36350
  checks?: {
35593
36351
  name: string;
35594
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
36352
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
35595
36353
  url: string | null;
35596
36354
  workflow?: string | undefined;
35597
36355
  duration?: string | undefined;
35598
36356
  }[] | undefined;
35599
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
36357
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
35600
36358
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
35601
36359
  repoOwner?: string | undefined;
35602
36360
  repoName?: string | undefined;
@@ -35699,12 +36457,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35699
36457
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
35700
36458
  checks?: {
35701
36459
  name: string;
35702
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
36460
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
35703
36461
  url: string | null;
35704
36462
  workflow?: string | undefined;
35705
36463
  duration?: string | undefined;
35706
36464
  }[] | undefined;
35707
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
36465
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
35708
36466
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
35709
36467
  repoOwner?: string | undefined;
35710
36468
  repoName?: string | undefined;
@@ -36713,8 +37471,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
36713
37471
  name: z.ZodString;
36714
37472
  status: z.ZodEnum<{
36715
37473
  success: "success";
36716
- failure: "failure";
36717
37474
  pending: "pending";
37475
+ failure: "failure";
36718
37476
  skipped: "skipped";
36719
37477
  cancelled: "cancelled";
36720
37478
  }>;
@@ -36724,9 +37482,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
36724
37482
  }, z.core.$strip>>>;
36725
37483
  checksStatus: z.ZodOptional<z.ZodEnum<{
36726
37484
  success: "success";
37485
+ pending: "pending";
36727
37486
  none: "none";
36728
37487
  failure: "failure";
36729
- pending: "pending";
36730
37488
  }>>;
36731
37489
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
36732
37490
  pending: "pending";
@@ -36882,12 +37640,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
36882
37640
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
36883
37641
  checks?: {
36884
37642
  name: string;
36885
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
37643
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
36886
37644
  url: string | null;
36887
37645
  workflow?: string | undefined;
36888
37646
  duration?: string | undefined;
36889
37647
  }[] | undefined;
36890
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
37648
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
36891
37649
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
36892
37650
  repoOwner?: string | undefined;
36893
37651
  repoName?: string | undefined;
@@ -36990,12 +37748,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
36990
37748
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
36991
37749
  checks?: {
36992
37750
  name: string;
36993
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
37751
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
36994
37752
  url: string | null;
36995
37753
  workflow?: string | undefined;
36996
37754
  duration?: string | undefined;
36997
37755
  }[] | undefined;
36998
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
37756
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
36999
37757
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
37000
37758
  repoOwner?: string | undefined;
37001
37759
  repoName?: string | undefined;
@@ -37216,6 +37974,18 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37216
37974
  args: z.ZodOptional<z.ZodArray<z.ZodString>>;
37217
37975
  icon: z.ZodOptional<z.ZodString>;
37218
37976
  }, z.core.$loose>>>;
37977
+ agentProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
37978
+ id: z.ZodString;
37979
+ name: z.ZodString;
37980
+ icon: z.ZodOptional<z.ZodString>;
37981
+ color: z.ZodOptional<z.ZodString>;
37982
+ provider: z.ZodString;
37983
+ model: z.ZodOptional<z.ZodString>;
37984
+ modeId: z.ZodOptional<z.ZodString>;
37985
+ thinkingOptionId: z.ZodOptional<z.ZodString>;
37986
+ featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
37987
+ notes: z.ZodOptional<z.ZodString>;
37988
+ }, z.core.$loose>>>;
37219
37989
  }, z.core.$loose>;
37220
37990
  }, z.core.$loose>;
37221
37991
  }, z.core.$strip>, z.ZodObject<{
@@ -37258,6 +38028,18 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37258
38028
  args: z.ZodOptional<z.ZodArray<z.ZodString>>;
37259
38029
  icon: z.ZodOptional<z.ZodString>;
37260
38030
  }, z.core.$loose>>>;
38031
+ agentProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
38032
+ id: z.ZodString;
38033
+ name: z.ZodString;
38034
+ icon: z.ZodOptional<z.ZodString>;
38035
+ color: z.ZodOptional<z.ZodString>;
38036
+ provider: z.ZodString;
38037
+ model: z.ZodOptional<z.ZodString>;
38038
+ modeId: z.ZodOptional<z.ZodString>;
38039
+ thinkingOptionId: z.ZodOptional<z.ZodString>;
38040
+ featureValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
38041
+ notes: z.ZodOptional<z.ZodString>;
38042
+ }, z.core.$loose>>>;
37261
38043
  }, z.core.$loose>;
37262
38044
  }, z.core.$loose>;
37263
38045
  }, z.core.$strip>, z.ZodObject<{
@@ -37412,6 +38194,15 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37412
38194
  error: z.ZodNullable<z.ZodString>;
37413
38195
  notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
37414
38196
  }, z.core.$strip>;
38197
+ }, z.core.$strip>, z.ZodObject<{
38198
+ type: z.ZodLiteral<"agent.config.apply.response">;
38199
+ payload: z.ZodObject<{
38200
+ requestId: z.ZodString;
38201
+ agentId: z.ZodString;
38202
+ accepted: z.ZodBoolean;
38203
+ error: z.ZodNullable<z.ZodString>;
38204
+ notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
38205
+ }, z.core.$strip>;
37415
38206
  }, z.core.$strip>, z.ZodObject<{
37416
38207
  type: z.ZodLiteral<"agent.detach.response">;
37417
38208
  payload: z.ZodObject<{
@@ -37867,6 +38658,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37867
38658
  cwd: z.ZodString;
37868
38659
  files: z.ZodArray<z.ZodObject<{
37869
38660
  path: z.ZodString;
38661
+ oldPath: z.ZodOptional<z.ZodString>;
37870
38662
  isNew: z.ZodBoolean;
37871
38663
  isDeleted: z.ZodBoolean;
37872
38664
  additions: z.ZodNumber;
@@ -37915,6 +38707,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37915
38707
  cwd: z.ZodString;
37916
38708
  files: z.ZodArray<z.ZodObject<{
37917
38709
  path: z.ZodString;
38710
+ oldPath: z.ZodOptional<z.ZodString>;
37918
38711
  isNew: z.ZodBoolean;
37919
38712
  isDeleted: z.ZodBoolean;
37920
38713
  additions: z.ZodNumber;
@@ -38051,6 +38844,22 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38051
38844
  }, z.core.$strip>>;
38052
38845
  requestId: z.ZodString;
38053
38846
  }, z.core.$strip>;
38847
+ }, z.core.$strip>, z.ZodObject<{
38848
+ type: z.ZodLiteral<"checkout.discard_changes.response">;
38849
+ payload: z.ZodObject<{
38850
+ cwd: z.ZodString;
38851
+ success: z.ZodBoolean;
38852
+ error: z.ZodNullable<z.ZodObject<{
38853
+ code: z.ZodEnum<{
38854
+ NOT_GIT_REPO: "NOT_GIT_REPO";
38855
+ NOT_ALLOWED: "NOT_ALLOWED";
38856
+ MERGE_CONFLICT: "MERGE_CONFLICT";
38857
+ UNKNOWN: "UNKNOWN";
38858
+ }>;
38859
+ message: z.ZodString;
38860
+ }, z.core.$strip>>;
38861
+ requestId: z.ZodString;
38862
+ }, z.core.$strip>;
38054
38863
  }, z.core.$strip>, z.ZodObject<{
38055
38864
  type: z.ZodLiteral<"checkout_pr_create_response">;
38056
38865
  payload: z.ZodObject<{
@@ -38162,6 +38971,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38162
38971
  path: z.ZodString;
38163
38972
  file: z.ZodNullable<z.ZodObject<{
38164
38973
  path: z.ZodString;
38974
+ oldPath: z.ZodOptional<z.ZodString>;
38165
38975
  isNew: z.ZodBoolean;
38166
38976
  isDeleted: z.ZodBoolean;
38167
38977
  additions: z.ZodNumber;
@@ -38746,8 +39556,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38746
39556
  name: z.ZodString;
38747
39557
  status: z.ZodEnum<{
38748
39558
  success: "success";
38749
- failure: "failure";
38750
39559
  pending: "pending";
39560
+ failure: "failure";
38751
39561
  skipped: "skipped";
38752
39562
  cancelled: "cancelled";
38753
39563
  }>;
@@ -38757,9 +39567,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38757
39567
  }, z.core.$strip>>>;
38758
39568
  checksStatus: z.ZodOptional<z.ZodEnum<{
38759
39569
  success: "success";
39570
+ pending: "pending";
38760
39571
  none: "none";
38761
39572
  failure: "failure";
38762
- pending: "pending";
38763
39573
  }>>;
38764
39574
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
38765
39575
  pending: "pending";
@@ -38915,12 +39725,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38915
39725
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
38916
39726
  checks?: {
38917
39727
  name: string;
38918
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
39728
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
38919
39729
  url: string | null;
38920
39730
  workflow?: string | undefined;
38921
39731
  duration?: string | undefined;
38922
39732
  }[] | undefined;
38923
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
39733
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
38924
39734
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
38925
39735
  repoOwner?: string | undefined;
38926
39736
  repoName?: string | undefined;
@@ -39023,12 +39833,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39023
39833
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
39024
39834
  checks?: {
39025
39835
  name: string;
39026
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
39836
+ status: "success" | "pending" | "failure" | "skipped" | "cancelled";
39027
39837
  url: string | null;
39028
39838
  workflow?: string | undefined;
39029
39839
  duration?: string | undefined;
39030
39840
  }[] | undefined;
39031
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
39841
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
39032
39842
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
39033
39843
  repoOwner?: string | undefined;
39034
39844
  repoName?: string | undefined;
@@ -39181,6 +39991,45 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39181
39991
  }, z.core.$strip>], "status">;
39182
39992
  requestId: z.ZodString;
39183
39993
  }, z.core.$strip>;
39994
+ }, z.core.$strip>, z.ZodObject<{
39995
+ type: z.ZodLiteral<"fs.entry.create.response">;
39996
+ payload: z.ZodObject<{
39997
+ cwd: z.ZodString;
39998
+ parentPath: z.ZodString;
39999
+ path: z.ZodNullable<z.ZodString>;
40000
+ success: z.ZodBoolean;
40001
+ error: z.ZodNullable<z.ZodString>;
40002
+ requestId: z.ZodString;
40003
+ }, z.core.$strip>;
40004
+ }, z.core.$strip>, z.ZodObject<{
40005
+ type: z.ZodLiteral<"fs.entry.rename.response">;
40006
+ payload: z.ZodObject<{
40007
+ cwd: z.ZodString;
40008
+ path: z.ZodString;
40009
+ renamedPath: z.ZodNullable<z.ZodString>;
40010
+ success: z.ZodBoolean;
40011
+ error: z.ZodNullable<z.ZodString>;
40012
+ requestId: z.ZodString;
40013
+ }, z.core.$strip>;
40014
+ }, z.core.$strip>, z.ZodObject<{
40015
+ type: z.ZodLiteral<"fs.entry.duplicate.response">;
40016
+ payload: z.ZodObject<{
40017
+ cwd: z.ZodString;
40018
+ path: z.ZodString;
40019
+ duplicatedPath: z.ZodNullable<z.ZodString>;
40020
+ success: z.ZodBoolean;
40021
+ error: z.ZodNullable<z.ZodString>;
40022
+ requestId: z.ZodString;
40023
+ }, z.core.$strip>;
40024
+ }, z.core.$strip>, z.ZodObject<{
40025
+ type: z.ZodLiteral<"fs.entry.delete.response">;
40026
+ payload: z.ZodObject<{
40027
+ cwd: z.ZodString;
40028
+ path: z.ZodString;
40029
+ success: z.ZodBoolean;
40030
+ error: z.ZodNullable<z.ZodString>;
40031
+ requestId: z.ZodString;
40032
+ }, z.core.$strip>;
39184
40033
  }, z.core.$strip>, z.ZodObject<{
39185
40034
  type: z.ZodLiteral<"fs.file.update">;
39186
40035
  payload: z.ZodObject<{
@@ -39334,6 +40183,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39334
40183
  }, z.core.$strip>, z.ZodObject<{
39335
40184
  type: z.ZodLiteral<"get_providers_snapshot_response">;
39336
40185
  payload: z.ZodObject<{
40186
+ cwd: z.ZodOptional<z.ZodString>;
39337
40187
  entries: z.ZodArray<z.ZodObject<{
39338
40188
  provider: z.ZodString;
39339
40189
  status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
@@ -39372,8 +40222,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39372
40222
  entries: z.ZodArray<z.ZodObject<{
39373
40223
  error: z.ZodOptional<z.ZodString>;
39374
40224
  description: z.ZodOptional<z.ZodString>;
39375
- status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
39376
40225
  label: z.ZodOptional<z.ZodString>;
40226
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
39377
40227
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
39378
40228
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39379
40229
  provider: z.ZodString;
@@ -39386,8 +40236,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39386
40236
  models: z.ZodOptional<z.ZodArray<z.ZodObject<{
39387
40237
  description: z.ZodOptional<z.ZodString>;
39388
40238
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
39389
- id: z.ZodString;
39390
40239
  label: z.ZodString;
40240
+ id: z.ZodString;
39391
40241
  isDefault: z.ZodOptional<z.ZodBoolean>;
39392
40242
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
39393
40243
  isSelectable: z.ZodOptional<z.ZodBoolean>;
@@ -39454,8 +40304,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39454
40304
  entries: z.ZodArray<z.ZodObject<{
39455
40305
  error: z.ZodOptional<z.ZodString>;
39456
40306
  description: z.ZodOptional<z.ZodString>;
39457
- status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
39458
40307
  label: z.ZodOptional<z.ZodString>;
40308
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
39459
40309
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
39460
40310
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39461
40311
  provider: z.ZodString;
@@ -39468,8 +40318,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39468
40318
  models: z.ZodOptional<z.ZodArray<z.ZodObject<{
39469
40319
  description: z.ZodOptional<z.ZodString>;
39470
40320
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
39471
- id: z.ZodString;
39472
40321
  label: z.ZodString;
40322
+ id: z.ZodString;
39473
40323
  isDefault: z.ZodOptional<z.ZodBoolean>;
39474
40324
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
39475
40325
  isSelectable: z.ZodOptional<z.ZodBoolean>;