@otto-code/protocol 0.5.0 → 0.5.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.
@@ -50,7 +50,7 @@ export declare const MutableGitHostingConfigSchema: z.ZodObject<{
50
50
  }, z.core.$loose>>;
51
51
  }, z.core.$loose>;
52
52
  export type MutableGitHostingConfig = z.infer<typeof MutableGitHostingConfigSchema>;
53
- export declare const PERSONALITY_ROLES: readonly ["chatter", "artificer", "scheduler", "worker", "judger", "advisor", "orchestrator"];
53
+ export declare const PERSONALITY_ROLES: readonly ["chatter", "artificer", "scheduler", "writer", "coder", "judger", "advisor", "orchestrator"];
54
54
  export type PersonalityRole = (typeof PERSONALITY_ROLES)[number];
55
55
  declare const AgentPersonalityVoiceSchema: z.ZodObject<{
56
56
  provider: z.ZodString;
@@ -79,6 +79,29 @@ export declare const AgentPersonalitySchema: z.ZodObject<{
79
79
  }, z.core.$loose>;
80
80
  export type AgentPersonality = z.infer<typeof AgentPersonalitySchema>;
81
81
  export type AgentPersonalityVoice = z.infer<typeof AgentPersonalityVoiceSchema>;
82
+ declare const AgentTeamAvatarSchema: z.ZodObject<{
83
+ color: z.ZodOptional<z.ZodString>;
84
+ imageId: z.ZodOptional<z.ZodString>;
85
+ }, z.core.$loose>;
86
+ export declare const AgentTeamSchema: z.ZodObject<{
87
+ id: z.ZodString;
88
+ name: z.ZodString;
89
+ avatar: z.ZodOptional<z.ZodObject<{
90
+ color: z.ZodOptional<z.ZodString>;
91
+ imageId: z.ZodOptional<z.ZodString>;
92
+ }, z.core.$loose>>;
93
+ teamPrompt: z.ZodOptional<z.ZodString>;
94
+ memberIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
95
+ }, z.core.$loose>;
96
+ export type AgentTeam = z.infer<typeof AgentTeamSchema>;
97
+ export type AgentTeamAvatar = z.infer<typeof AgentTeamAvatarSchema>;
98
+ export declare const ModelTierSchema: z.ZodType<ModelTier>;
99
+ export declare const ModelTierOverrideSchema: z.ZodObject<{
100
+ provider: z.ZodString;
101
+ modelId: z.ZodString;
102
+ tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
103
+ }, z.core.$loose>;
104
+ export type ModelTierOverride = z.infer<typeof ModelTierOverrideSchema>;
82
105
  export declare const MutableDaemonConfigSchema: z.ZodObject<{
83
106
  mcp: z.ZodObject<{
84
107
  injectIntoAgents: z.ZodBoolean;
@@ -179,6 +202,24 @@ export declare const MutableDaemonConfigSchema: z.ZodObject<{
179
202
  }, z.core.$loose>>;
180
203
  }, z.core.$loose>>>;
181
204
  }, z.core.$loose>>;
205
+ agentTeams: z.ZodDefault<z.ZodObject<{
206
+ teams: z.ZodDefault<z.ZodArray<z.ZodObject<{
207
+ id: z.ZodString;
208
+ name: z.ZodString;
209
+ avatar: z.ZodOptional<z.ZodObject<{
210
+ color: z.ZodOptional<z.ZodString>;
211
+ imageId: z.ZodOptional<z.ZodString>;
212
+ }, z.core.$loose>>;
213
+ teamPrompt: z.ZodOptional<z.ZodString>;
214
+ memberIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
215
+ }, z.core.$loose>>>;
216
+ activeTeamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
217
+ }, z.core.$loose>>;
218
+ modelTierOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
219
+ provider: z.ZodString;
220
+ modelId: z.ZodString;
221
+ tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
222
+ }, z.core.$loose>>>;
182
223
  }, z.core.$loose>;
183
224
  export declare const MutableDaemonConfigPatchSchema: z.ZodObject<{
184
225
  mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -259,7 +300,7 @@ export declare const MutableDaemonConfigPatchSchema: z.ZodObject<{
259
300
  }, z.core.$loose>>;
260
301
  }, z.core.$loose>>>;
261
302
  agentPersonalities: z.ZodOptional<z.ZodOptional<z.ZodObject<{
262
- personalities: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
303
+ personalities: z.ZodOptional<z.ZodArray<z.ZodObject<{
263
304
  id: z.ZodString;
264
305
  name: z.ZodString;
265
306
  provider: z.ZodString;
@@ -278,12 +319,30 @@ export declare const MutableDaemonConfigPatchSchema: z.ZodObject<{
278
319
  model: z.ZodString;
279
320
  name: z.ZodString;
280
321
  }, z.core.$loose>>;
281
- }, z.core.$loose>>>>;
322
+ }, z.core.$loose>>>;
282
323
  }, z.core.$loose>>>;
324
+ agentTeams: z.ZodOptional<z.ZodOptional<z.ZodObject<{
325
+ teams: z.ZodOptional<z.ZodArray<z.ZodObject<{
326
+ id: z.ZodString;
327
+ name: z.ZodString;
328
+ avatar: z.ZodOptional<z.ZodObject<{
329
+ color: z.ZodOptional<z.ZodString>;
330
+ imageId: z.ZodOptional<z.ZodString>;
331
+ }, z.core.$loose>>;
332
+ teamPrompt: z.ZodOptional<z.ZodString>;
333
+ memberIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
334
+ }, z.core.$loose>>>;
335
+ activeTeamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
336
+ }, z.core.$loose>>>;
337
+ modelTierOverrides: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
338
+ provider: z.ZodString;
339
+ modelId: z.ZodString;
340
+ tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
341
+ }, z.core.$loose>>>>;
283
342
  }, z.core.$loose>;
284
343
  export type MutableDaemonConfig = z.infer<typeof MutableDaemonConfigSchema>;
285
344
  export type MutableDaemonConfigPatch = z.infer<typeof MutableDaemonConfigPatchSchema>;
286
- import type { AgentCapabilityFlags, AgentModelDefinition, AgentMode, AgentPermissionRequest, AgentPermissionResponse, AgentPersistenceHandle, ProviderStatus, AgentRuntimeInfo, AgentTimelineItem, AgentProviderNotice, AgentUsage } from "./agent-types.js";
345
+ import type { AgentCapabilityFlags, AgentModelDefinition, AgentMode, AgentPermissionRequest, AgentPermissionResponse, AgentPersistenceHandle, ModelTier, ProviderStatus, AgentRuntimeInfo, AgentTimelineItem, AgentProviderNotice, AgentUsage } from "./agent-types.js";
287
346
  export declare const AgentStatusSchema: z.ZodEnum<{
288
347
  error: "error";
289
348
  initializing: "initializing";
@@ -462,6 +521,7 @@ export declare const AgentSnapshotPayloadSchema: z.ZodObject<{
462
521
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
463
522
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
464
523
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
524
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
465
525
  lastError: z.ZodOptional<z.ZodString>;
466
526
  title: z.ZodNullable<z.ZodString>;
467
527
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1235,7 +1295,7 @@ export declare const SetDaemonConfigRequestMessageSchema: z.ZodObject<{
1235
1295
  }, z.core.$loose>>;
1236
1296
  }, z.core.$loose>>>;
1237
1297
  agentPersonalities: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1238
- personalities: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
1298
+ personalities: z.ZodOptional<z.ZodArray<z.ZodObject<{
1239
1299
  id: z.ZodString;
1240
1300
  name: z.ZodString;
1241
1301
  provider: z.ZodString;
@@ -1254,8 +1314,26 @@ export declare const SetDaemonConfigRequestMessageSchema: z.ZodObject<{
1254
1314
  model: z.ZodString;
1255
1315
  name: z.ZodString;
1256
1316
  }, z.core.$loose>>;
1257
- }, z.core.$loose>>>>;
1317
+ }, z.core.$loose>>>;
1258
1318
  }, z.core.$loose>>>;
1319
+ agentTeams: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1320
+ teams: z.ZodOptional<z.ZodArray<z.ZodObject<{
1321
+ id: z.ZodString;
1322
+ name: z.ZodString;
1323
+ avatar: z.ZodOptional<z.ZodObject<{
1324
+ color: z.ZodOptional<z.ZodString>;
1325
+ imageId: z.ZodOptional<z.ZodString>;
1326
+ }, z.core.$loose>>;
1327
+ teamPrompt: z.ZodOptional<z.ZodString>;
1328
+ memberIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1329
+ }, z.core.$loose>>>;
1330
+ activeTeamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1331
+ }, z.core.$loose>>>;
1332
+ modelTierOverrides: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
1333
+ provider: z.ZodString;
1334
+ modelId: z.ZodString;
1335
+ tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
1336
+ }, z.core.$loose>>>>;
1259
1337
  }, z.core.$loose>;
1260
1338
  }, z.core.$strip>;
1261
1339
  export declare const SpeechSettingsGetOptionsRequestSchema: z.ZodObject<{
@@ -1906,6 +1984,76 @@ export declare const CheckoutCommitRequestSchema: z.ZodObject<{
1906
1984
  addAll: z.ZodOptional<z.ZodBoolean>;
1907
1985
  requestId: z.ZodString;
1908
1986
  }, z.core.$strip>;
1987
+ export declare const GitOperationLogEntrySchema: z.ZodObject<{
1988
+ seq: z.ZodNumber;
1989
+ timestamp: z.ZodString;
1990
+ level: z.ZodEnum<{
1991
+ error: "error";
1992
+ output: "output";
1993
+ info: "info";
1994
+ }>;
1995
+ text: z.ZodString;
1996
+ }, z.core.$strip>;
1997
+ export declare const CheckoutGitGetOperationLogRequestSchema: z.ZodObject<{
1998
+ type: z.ZodLiteral<"checkout.git.get_operation_log.request">;
1999
+ cwd: z.ZodString;
2000
+ operation: z.ZodString;
2001
+ requestId: z.ZodString;
2002
+ }, z.core.$strip>;
2003
+ export declare const CheckoutGitGetOperationLogResponseSchema: z.ZodObject<{
2004
+ type: z.ZodLiteral<"checkout.git.get_operation_log.response">;
2005
+ payload: z.ZodObject<{
2006
+ cwd: z.ZodString;
2007
+ operation: z.ZodString;
2008
+ entries: z.ZodArray<z.ZodObject<{
2009
+ seq: z.ZodNumber;
2010
+ timestamp: z.ZodString;
2011
+ level: z.ZodEnum<{
2012
+ error: "error";
2013
+ output: "output";
2014
+ info: "info";
2015
+ }>;
2016
+ text: z.ZodString;
2017
+ }, z.core.$strip>>;
2018
+ requestId: z.ZodString;
2019
+ }, z.core.$strip>;
2020
+ }, z.core.$strip>;
2021
+ export declare const CheckoutGitLogAppendedNotificationSchema: z.ZodObject<{
2022
+ type: z.ZodLiteral<"checkout.git.log_appended.notification">;
2023
+ payload: z.ZodObject<{
2024
+ cwd: z.ZodString;
2025
+ operation: z.ZodString;
2026
+ entries: z.ZodArray<z.ZodObject<{
2027
+ seq: z.ZodNumber;
2028
+ timestamp: z.ZodString;
2029
+ level: z.ZodEnum<{
2030
+ error: "error";
2031
+ output: "output";
2032
+ info: "info";
2033
+ }>;
2034
+ text: z.ZodString;
2035
+ }, z.core.$strip>>;
2036
+ }, z.core.$strip>;
2037
+ }, z.core.$strip>;
2038
+ export declare const CheckoutGitCommitRequestSchema: z.ZodObject<{
2039
+ type: z.ZodLiteral<"checkout.git.commit.request">;
2040
+ cwd: z.ZodString;
2041
+ message: z.ZodString;
2042
+ paths: z.ZodArray<z.ZodString>;
2043
+ allowWithRunningAgents: z.ZodOptional<z.ZodBoolean>;
2044
+ requestId: z.ZodString;
2045
+ }, z.core.$strip>;
2046
+ export declare const CheckoutGitCommitAgentRequestSchema: z.ZodObject<{
2047
+ type: z.ZodLiteral<"checkout.git.commit_agent.request">;
2048
+ cwd: z.ZodString;
2049
+ requestId: z.ZodString;
2050
+ }, z.core.$strip>;
2051
+ export declare const CheckoutGitRollbackRequestSchema: z.ZodObject<{
2052
+ type: z.ZodLiteral<"checkout.git.rollback.request">;
2053
+ cwd: z.ZodString;
2054
+ paths: z.ZodArray<z.ZodString>;
2055
+ requestId: z.ZodString;
2056
+ }, z.core.$strip>;
1909
2057
  export declare const CheckoutMergeRequestSchema: z.ZodObject<{
1910
2058
  type: z.ZodLiteral<"checkout_merge_request">;
1911
2059
  cwd: z.ZodString;
@@ -2843,8 +2991,8 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
2843
2991
  command: z.ZodLiteral<"wait">;
2844
2992
  browserId: z.ZodString;
2845
2993
  matched: z.ZodEnum<{
2846
- text: "text";
2847
2994
  url: "url";
2995
+ text: "text";
2848
2996
  }>;
2849
2997
  }, z.core.$strip>, z.ZodObject<{
2850
2998
  command: z.ZodLiteral<"type">;
@@ -3378,7 +3526,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
3378
3526
  }, z.core.$loose>>;
3379
3527
  }, z.core.$loose>>>;
3380
3528
  agentPersonalities: z.ZodOptional<z.ZodOptional<z.ZodObject<{
3381
- personalities: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
3529
+ personalities: z.ZodOptional<z.ZodArray<z.ZodObject<{
3382
3530
  id: z.ZodString;
3383
3531
  name: z.ZodString;
3384
3532
  provider: z.ZodString;
@@ -3397,8 +3545,26 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
3397
3545
  model: z.ZodString;
3398
3546
  name: z.ZodString;
3399
3547
  }, z.core.$loose>>;
3400
- }, z.core.$loose>>>>;
3548
+ }, z.core.$loose>>>;
3401
3549
  }, z.core.$loose>>>;
3550
+ agentTeams: z.ZodOptional<z.ZodOptional<z.ZodObject<{
3551
+ teams: z.ZodOptional<z.ZodArray<z.ZodObject<{
3552
+ id: z.ZodString;
3553
+ name: z.ZodString;
3554
+ avatar: z.ZodOptional<z.ZodObject<{
3555
+ color: z.ZodOptional<z.ZodString>;
3556
+ imageId: z.ZodOptional<z.ZodString>;
3557
+ }, z.core.$loose>>;
3558
+ teamPrompt: z.ZodOptional<z.ZodString>;
3559
+ memberIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3560
+ }, z.core.$loose>>>;
3561
+ activeTeamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3562
+ }, z.core.$loose>>>;
3563
+ modelTierOverrides: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
3564
+ provider: z.ZodString;
3565
+ modelId: z.ZodString;
3566
+ tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
3567
+ }, z.core.$loose>>>>;
3402
3568
  }, z.core.$loose>;
3403
3569
  }, z.core.$strip>, z.ZodObject<{
3404
3570
  type: z.ZodLiteral<"speech.settings.get_options.request">;
@@ -3831,6 +3997,27 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
3831
3997
  message: z.ZodOptional<z.ZodString>;
3832
3998
  addAll: z.ZodOptional<z.ZodBoolean>;
3833
3999
  requestId: z.ZodString;
4000
+ }, z.core.$strip>, z.ZodObject<{
4001
+ type: z.ZodLiteral<"checkout.git.commit.request">;
4002
+ cwd: z.ZodString;
4003
+ message: z.ZodString;
4004
+ paths: z.ZodArray<z.ZodString>;
4005
+ allowWithRunningAgents: z.ZodOptional<z.ZodBoolean>;
4006
+ requestId: z.ZodString;
4007
+ }, z.core.$strip>, z.ZodObject<{
4008
+ type: z.ZodLiteral<"checkout.git.commit_agent.request">;
4009
+ cwd: z.ZodString;
4010
+ requestId: z.ZodString;
4011
+ }, z.core.$strip>, z.ZodObject<{
4012
+ type: z.ZodLiteral<"checkout.git.rollback.request">;
4013
+ cwd: z.ZodString;
4014
+ paths: z.ZodArray<z.ZodString>;
4015
+ requestId: z.ZodString;
4016
+ }, z.core.$strip>, z.ZodObject<{
4017
+ type: z.ZodLiteral<"checkout.git.get_operation_log.request">;
4018
+ cwd: z.ZodString;
4019
+ operation: z.ZodString;
4020
+ requestId: z.ZodString;
3834
4021
  }, z.core.$strip>, z.ZodObject<{
3835
4022
  type: z.ZodLiteral<"checkout_merge_request">;
3836
4023
  cwd: z.ZodString;
@@ -4642,6 +4829,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
4642
4829
  }, z.core.$strip>], "type">>;
4643
4830
  newAgentConfig: z.ZodOptional<z.ZodObject<{
4644
4831
  provider: z.ZodOptional<z.ZodString>;
4832
+ personality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4645
4833
  model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4646
4834
  modeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4647
4835
  thinkingOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4925,6 +5113,12 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
4925
5113
  agentPersonalities: z.ZodOptional<z.ZodBoolean>;
4926
5114
  ttsPreview: z.ZodOptional<z.ZodBoolean>;
4927
5115
  setAgentPersonality: z.ZodOptional<z.ZodBoolean>;
5116
+ checkoutGitCommit: z.ZodOptional<z.ZodBoolean>;
5117
+ checkoutGitCommitAgent: z.ZodOptional<z.ZodBoolean>;
5118
+ checkoutGitRollback: z.ZodOptional<z.ZodBoolean>;
5119
+ checkoutGitLog: z.ZodOptional<z.ZodBoolean>;
5120
+ agentTeams: z.ZodOptional<z.ZodBoolean>;
5121
+ modelTierOverrides: z.ZodOptional<z.ZodBoolean>;
4928
5122
  }, z.core.$strip>>;
4929
5123
  }, z.core.$loose>, z.ZodTransform<{
4930
5124
  hostname: string | null;
@@ -4974,6 +5168,12 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
4974
5168
  agentPersonalities?: boolean | undefined;
4975
5169
  ttsPreview?: boolean | undefined;
4976
5170
  setAgentPersonality?: boolean | undefined;
5171
+ checkoutGitCommit?: boolean | undefined;
5172
+ checkoutGitCommitAgent?: boolean | undefined;
5173
+ checkoutGitRollback?: boolean | undefined;
5174
+ checkoutGitLog?: boolean | undefined;
5175
+ agentTeams?: boolean | undefined;
5176
+ modelTierOverrides?: boolean | undefined;
4977
5177
  } | undefined;
4978
5178
  }, {
4979
5179
  [x: string]: unknown;
@@ -5024,6 +5224,12 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5024
5224
  agentPersonalities?: boolean | undefined;
5025
5225
  ttsPreview?: boolean | undefined;
5026
5226
  setAgentPersonality?: boolean | undefined;
5227
+ checkoutGitCommit?: boolean | undefined;
5228
+ checkoutGitCommitAgent?: boolean | undefined;
5229
+ checkoutGitRollback?: boolean | undefined;
5230
+ checkoutGitLog?: boolean | undefined;
5231
+ agentTeams?: boolean | undefined;
5232
+ modelTierOverrides?: boolean | undefined;
5027
5233
  } | undefined;
5028
5234
  }>>;
5029
5235
  export declare const StatusMessageSchema: z.ZodObject<{
@@ -5101,6 +5307,7 @@ export declare const AgentCreatedStatusPayloadSchema: z.ZodObject<{
5101
5307
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
5102
5308
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
5103
5309
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
5310
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
5104
5311
  lastError: z.ZodOptional<z.ZodString>;
5105
5312
  title: z.ZodNullable<z.ZodString>;
5106
5313
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -5184,6 +5391,7 @@ export declare const AgentResumedStatusPayloadSchema: z.ZodObject<{
5184
5391
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
5185
5392
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
5186
5393
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
5394
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
5187
5395
  lastError: z.ZodOptional<z.ZodString>;
5188
5396
  title: z.ZodNullable<z.ZodString>;
5189
5397
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -5330,6 +5538,24 @@ export declare const DaemonConfigChangedStatusPayloadSchema: z.ZodObject<{
5330
5538
  }, z.core.$loose>>;
5331
5539
  }, z.core.$loose>>>;
5332
5540
  }, z.core.$loose>>;
5541
+ agentTeams: z.ZodDefault<z.ZodObject<{
5542
+ teams: z.ZodDefault<z.ZodArray<z.ZodObject<{
5543
+ id: z.ZodString;
5544
+ name: z.ZodString;
5545
+ avatar: z.ZodOptional<z.ZodObject<{
5546
+ color: z.ZodOptional<z.ZodString>;
5547
+ imageId: z.ZodOptional<z.ZodString>;
5548
+ }, z.core.$loose>>;
5549
+ teamPrompt: z.ZodOptional<z.ZodString>;
5550
+ memberIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
5551
+ }, z.core.$loose>>>;
5552
+ activeTeamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5553
+ }, z.core.$loose>>;
5554
+ modelTierOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
5555
+ provider: z.ZodString;
5556
+ modelId: z.ZodString;
5557
+ tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
5558
+ }, z.core.$loose>>>;
5333
5559
  }, z.core.$loose>;
5334
5560
  }, z.core.$loose>;
5335
5561
  export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -5383,6 +5609,7 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
5383
5609
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
5384
5610
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
5385
5611
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
5612
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
5386
5613
  lastError: z.ZodOptional<z.ZodString>;
5387
5614
  title: z.ZodNullable<z.ZodString>;
5388
5615
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -5464,6 +5691,7 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
5464
5691
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
5465
5692
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
5466
5693
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
5694
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
5467
5695
  lastError: z.ZodOptional<z.ZodString>;
5468
5696
  title: z.ZodNullable<z.ZodString>;
5469
5697
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -5606,6 +5834,24 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
5606
5834
  }, z.core.$loose>>;
5607
5835
  }, z.core.$loose>>>;
5608
5836
  }, z.core.$loose>>;
5837
+ agentTeams: z.ZodDefault<z.ZodObject<{
5838
+ teams: z.ZodDefault<z.ZodArray<z.ZodObject<{
5839
+ id: z.ZodString;
5840
+ name: z.ZodString;
5841
+ avatar: z.ZodOptional<z.ZodObject<{
5842
+ color: z.ZodOptional<z.ZodString>;
5843
+ imageId: z.ZodOptional<z.ZodString>;
5844
+ }, z.core.$loose>>;
5845
+ teamPrompt: z.ZodOptional<z.ZodString>;
5846
+ memberIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
5847
+ }, z.core.$loose>>>;
5848
+ activeTeamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5849
+ }, z.core.$loose>>;
5850
+ modelTierOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
5851
+ provider: z.ZodString;
5852
+ modelId: z.ZodString;
5853
+ tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
5854
+ }, z.core.$loose>>>;
5609
5855
  }, z.core.$loose>;
5610
5856
  }, z.core.$loose>], "status">;
5611
5857
  export type KnownStatusPayload = z.infer<typeof KnownStatusPayloadSchema>;
@@ -6370,6 +6616,7 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
6370
6616
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
6371
6617
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
6372
6618
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
6619
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
6373
6620
  lastError: z.ZodOptional<z.ZodString>;
6374
6621
  title: z.ZodNullable<z.ZodString>;
6375
6622
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -6597,6 +6844,7 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
6597
6844
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
6598
6845
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
6599
6846
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
6847
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
6600
6848
  lastError: z.ZodOptional<z.ZodString>;
6601
6849
  title: z.ZodNullable<z.ZodString>;
6602
6850
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -6674,6 +6922,7 @@ export declare const AgentListMessageSchema: z.ZodObject<{
6674
6922
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
6675
6923
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
6676
6924
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
6925
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
6677
6926
  lastError: z.ZodOptional<z.ZodString>;
6678
6927
  title: z.ZodNullable<z.ZodString>;
6679
6928
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -6754,6 +7003,7 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
6754
7003
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
6755
7004
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
6756
7005
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
7006
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
6757
7007
  lastError: z.ZodOptional<z.ZodString>;
6758
7008
  title: z.ZodNullable<z.ZodString>;
6759
7009
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -6917,6 +7167,7 @@ export declare const FetchAgentHistoryResponseMessageSchema: z.ZodObject<{
6917
7167
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
6918
7168
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
6919
7169
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
7170
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
6920
7171
  lastError: z.ZodOptional<z.ZodString>;
6921
7172
  title: z.ZodNullable<z.ZodString>;
6922
7173
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -8554,6 +8805,7 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
8554
8805
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
8555
8806
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
8556
8807
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
8808
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
8557
8809
  lastError: z.ZodOptional<z.ZodString>;
8558
8810
  title: z.ZodNullable<z.ZodString>;
8559
8811
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -8728,6 +8980,7 @@ export declare const FetchAgentTimelineResponseMessageSchema: z.ZodObject<{
8728
8980
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
8729
8981
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
8730
8982
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
8983
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
8731
8984
  lastError: z.ZodOptional<z.ZodString>;
8732
8985
  title: z.ZodNullable<z.ZodString>;
8733
8986
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -8881,6 +9134,7 @@ export declare const CancelAgentResponseMessageSchema: z.ZodObject<{
8881
9134
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
8882
9135
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
8883
9136
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
9137
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
8884
9138
  lastError: z.ZodOptional<z.ZodString>;
8885
9139
  title: z.ZodNullable<z.ZodString>;
8886
9140
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -8904,6 +9158,7 @@ export declare const CancelAgentResponseMessageSchema: z.ZodObject<{
8904
9158
  personalityName: z.ZodOptional<z.ZodString>;
8905
9159
  personalityId: z.ZodOptional<z.ZodString>;
8906
9160
  }, z.core.$strip>>;
9161
+ cancelled: z.ZodOptional<z.ZodBoolean>;
8907
9162
  }, z.core.$strip>;
8908
9163
  }, z.core.$strip>;
8909
9164
  export declare const ClearAgentAttentionResponseMessageSchema: z.ZodObject<{
@@ -8960,6 +9215,7 @@ export declare const ClearAgentAttentionResponseMessageSchema: z.ZodObject<{
8960
9215
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
8961
9216
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
8962
9217
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
9218
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
8963
9219
  lastError: z.ZodOptional<z.ZodString>;
8964
9220
  title: z.ZodNullable<z.ZodString>;
8965
9221
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -9482,6 +9738,7 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
9482
9738
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
9483
9739
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
9484
9740
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
9741
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
9485
9742
  lastError: z.ZodOptional<z.ZodString>;
9486
9743
  title: z.ZodNullable<z.ZodString>;
9487
9744
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -9613,6 +9870,24 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
9613
9870
  }, z.core.$loose>>;
9614
9871
  }, z.core.$loose>>>;
9615
9872
  }, z.core.$loose>>;
9873
+ agentTeams: z.ZodDefault<z.ZodObject<{
9874
+ teams: z.ZodDefault<z.ZodArray<z.ZodObject<{
9875
+ id: z.ZodString;
9876
+ name: z.ZodString;
9877
+ avatar: z.ZodOptional<z.ZodObject<{
9878
+ color: z.ZodOptional<z.ZodString>;
9879
+ imageId: z.ZodOptional<z.ZodString>;
9880
+ }, z.core.$loose>>;
9881
+ teamPrompt: z.ZodOptional<z.ZodString>;
9882
+ memberIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
9883
+ }, z.core.$loose>>>;
9884
+ activeTeamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9885
+ }, z.core.$loose>>;
9886
+ modelTierOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
9887
+ provider: z.ZodString;
9888
+ modelId: z.ZodString;
9889
+ tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
9890
+ }, z.core.$loose>>>;
9616
9891
  }, z.core.$loose>;
9617
9892
  }, z.core.$loose>;
9618
9893
  }, z.core.$strip>;
@@ -9816,6 +10091,24 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
9816
10091
  }, z.core.$loose>>;
9817
10092
  }, z.core.$loose>>>;
9818
10093
  }, z.core.$loose>>;
10094
+ agentTeams: z.ZodDefault<z.ZodObject<{
10095
+ teams: z.ZodDefault<z.ZodArray<z.ZodObject<{
10096
+ id: z.ZodString;
10097
+ name: z.ZodString;
10098
+ avatar: z.ZodOptional<z.ZodObject<{
10099
+ color: z.ZodOptional<z.ZodString>;
10100
+ imageId: z.ZodOptional<z.ZodString>;
10101
+ }, z.core.$loose>>;
10102
+ teamPrompt: z.ZodOptional<z.ZodString>;
10103
+ memberIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
10104
+ }, z.core.$loose>>>;
10105
+ activeTeamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10106
+ }, z.core.$loose>>;
10107
+ modelTierOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
10108
+ provider: z.ZodString;
10109
+ modelId: z.ZodString;
10110
+ tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
10111
+ }, z.core.$loose>>>;
9819
10112
  }, z.core.$loose>;
9820
10113
  }, z.core.$loose>;
9821
10114
  }, z.core.$strip>;
@@ -10397,6 +10690,123 @@ export declare const CheckoutCommitResponseSchema: z.ZodObject<{
10397
10690
  requestId: z.ZodString;
10398
10691
  }, z.core.$strip>;
10399
10692
  }, z.core.$strip>;
10693
+ export declare const CheckoutGitCommitErrorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
10694
+ kind: z.ZodLiteral<"agents_running">;
10695
+ agents: z.ZodArray<z.ZodObject<{
10696
+ id: z.ZodString;
10697
+ title: z.ZodNullable<z.ZodString>;
10698
+ }, z.core.$strip>>;
10699
+ }, z.core.$strip>, z.ZodObject<{
10700
+ kind: z.ZodLiteral<"identity_missing">;
10701
+ missingName: z.ZodBoolean;
10702
+ missingEmail: z.ZodBoolean;
10703
+ }, z.core.$strip>, z.ZodObject<{
10704
+ kind: z.ZodLiteral<"hook_failed">;
10705
+ output: z.ZodString;
10706
+ exitCode: z.ZodNullable<z.ZodNumber>;
10707
+ }, z.core.$strip>, z.ZodObject<{
10708
+ kind: z.ZodLiteral<"signing_failed">;
10709
+ detail: z.ZodString;
10710
+ }, z.core.$strip>, z.ZodObject<{
10711
+ kind: z.ZodLiteral<"nothing_to_commit">;
10712
+ }, z.core.$strip>, z.ZodObject<{
10713
+ kind: z.ZodLiteral<"git_failed">;
10714
+ detail: z.ZodString;
10715
+ }, z.core.$strip>], "kind">;
10716
+ export declare const CheckoutGitCommitResponseSchema: z.ZodObject<{
10717
+ type: z.ZodLiteral<"checkout.git.commit.response">;
10718
+ payload: z.ZodObject<{
10719
+ cwd: z.ZodString;
10720
+ success: z.ZodBoolean;
10721
+ commitSha: z.ZodNullable<z.ZodString>;
10722
+ error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
10723
+ kind: z.ZodLiteral<"agents_running">;
10724
+ agents: z.ZodArray<z.ZodObject<{
10725
+ id: z.ZodString;
10726
+ title: z.ZodNullable<z.ZodString>;
10727
+ }, z.core.$strip>>;
10728
+ }, z.core.$strip>, z.ZodObject<{
10729
+ kind: z.ZodLiteral<"identity_missing">;
10730
+ missingName: z.ZodBoolean;
10731
+ missingEmail: z.ZodBoolean;
10732
+ }, z.core.$strip>, z.ZodObject<{
10733
+ kind: z.ZodLiteral<"hook_failed">;
10734
+ output: z.ZodString;
10735
+ exitCode: z.ZodNullable<z.ZodNumber>;
10736
+ }, z.core.$strip>, z.ZodObject<{
10737
+ kind: z.ZodLiteral<"signing_failed">;
10738
+ detail: z.ZodString;
10739
+ }, z.core.$strip>, z.ZodObject<{
10740
+ kind: z.ZodLiteral<"nothing_to_commit">;
10741
+ }, z.core.$strip>, z.ZodObject<{
10742
+ kind: z.ZodLiteral<"git_failed">;
10743
+ detail: z.ZodString;
10744
+ }, z.core.$strip>], "kind">>;
10745
+ requestId: z.ZodString;
10746
+ }, z.core.$strip>;
10747
+ }, z.core.$strip>;
10748
+ export declare const CommitMessageAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
10749
+ kind: z.ZodLiteral<"personality">;
10750
+ personalityId: z.ZodString;
10751
+ personalityName: z.ZodString;
10752
+ provider: z.ZodString;
10753
+ providerLabel: z.ZodString;
10754
+ model: z.ZodNullable<z.ZodString>;
10755
+ modelLabel: z.ZodNullable<z.ZodString>;
10756
+ }, z.core.$strip>, z.ZodObject<{
10757
+ kind: z.ZodLiteral<"provider">;
10758
+ provider: z.ZodString;
10759
+ providerLabel: z.ZodString;
10760
+ model: z.ZodNullable<z.ZodString>;
10761
+ modelLabel: z.ZodNullable<z.ZodString>;
10762
+ }, z.core.$strip>, z.ZodObject<{
10763
+ kind: z.ZodLiteral<"none">;
10764
+ }, z.core.$strip>], "kind">;
10765
+ export declare const CheckoutGitCommitAgentResponseSchema: z.ZodObject<{
10766
+ type: z.ZodLiteral<"checkout.git.commit_agent.response">;
10767
+ payload: z.ZodObject<{
10768
+ cwd: z.ZodString;
10769
+ agent: z.ZodDiscriminatedUnion<[z.ZodObject<{
10770
+ kind: z.ZodLiteral<"personality">;
10771
+ personalityId: z.ZodString;
10772
+ personalityName: z.ZodString;
10773
+ provider: z.ZodString;
10774
+ providerLabel: z.ZodString;
10775
+ model: z.ZodNullable<z.ZodString>;
10776
+ modelLabel: z.ZodNullable<z.ZodString>;
10777
+ }, z.core.$strip>, z.ZodObject<{
10778
+ kind: z.ZodLiteral<"provider">;
10779
+ provider: z.ZodString;
10780
+ providerLabel: z.ZodString;
10781
+ model: z.ZodNullable<z.ZodString>;
10782
+ modelLabel: z.ZodNullable<z.ZodString>;
10783
+ }, z.core.$strip>, z.ZodObject<{
10784
+ kind: z.ZodLiteral<"none">;
10785
+ }, z.core.$strip>], "kind">;
10786
+ requestId: z.ZodString;
10787
+ }, z.core.$strip>;
10788
+ }, z.core.$strip>;
10789
+ export declare const CheckoutGitRollbackErrorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
10790
+ kind: z.ZodLiteral<"nothing_to_rollback">;
10791
+ }, z.core.$strip>, z.ZodObject<{
10792
+ kind: z.ZodLiteral<"git_failed">;
10793
+ detail: z.ZodString;
10794
+ }, z.core.$strip>], "kind">;
10795
+ export declare const CheckoutGitRollbackResponseSchema: z.ZodObject<{
10796
+ type: z.ZodLiteral<"checkout.git.rollback.response">;
10797
+ payload: z.ZodObject<{
10798
+ cwd: z.ZodString;
10799
+ success: z.ZodBoolean;
10800
+ rolledBackPaths: z.ZodArray<z.ZodString>;
10801
+ error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
10802
+ kind: z.ZodLiteral<"nothing_to_rollback">;
10803
+ }, z.core.$strip>, z.ZodObject<{
10804
+ kind: z.ZodLiteral<"git_failed">;
10805
+ detail: z.ZodString;
10806
+ }, z.core.$strip>], "kind">>;
10807
+ requestId: z.ZodString;
10808
+ }, z.core.$strip>;
10809
+ }, z.core.$strip>;
10400
10810
  export declare const CheckoutMergeResponseSchema: z.ZodObject<{
10401
10811
  type: z.ZodLiteral<"checkout_merge_response">;
10402
10812
  payload: z.ZodObject<{
@@ -12834,6 +13244,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
12834
13244
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
12835
13245
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
12836
13246
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
13247
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
12837
13248
  lastError: z.ZodOptional<z.ZodString>;
12838
13249
  title: z.ZodNullable<z.ZodString>;
12839
13250
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -13575,6 +13986,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13575
13986
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
13576
13987
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
13577
13988
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
13989
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
13578
13990
  lastError: z.ZodOptional<z.ZodString>;
13579
13991
  title: z.ZodNullable<z.ZodString>;
13580
13992
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -13654,6 +14066,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13654
14066
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
13655
14067
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
13656
14068
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
14069
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
13657
14070
  lastError: z.ZodOptional<z.ZodString>;
13658
14071
  title: z.ZodNullable<z.ZodString>;
13659
14072
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -13816,6 +14229,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13816
14229
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
13817
14230
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
13818
14231
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
14232
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
13819
14233
  lastError: z.ZodOptional<z.ZodString>;
13820
14234
  title: z.ZodNullable<z.ZodString>;
13821
14235
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -14885,6 +15299,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14885
15299
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
14886
15300
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
14887
15301
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
15302
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
14888
15303
  lastError: z.ZodOptional<z.ZodString>;
14889
15304
  title: z.ZodNullable<z.ZodString>;
14890
15305
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -15042,6 +15457,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15042
15457
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
15043
15458
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
15044
15459
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
15460
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
15045
15461
  lastError: z.ZodOptional<z.ZodString>;
15046
15462
  title: z.ZodNullable<z.ZodString>;
15047
15463
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -15193,6 +15609,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15193
15609
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
15194
15610
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
15195
15611
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
15612
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
15196
15613
  lastError: z.ZodOptional<z.ZodString>;
15197
15614
  title: z.ZodNullable<z.ZodString>;
15198
15615
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -15216,6 +15633,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15216
15633
  personalityName: z.ZodOptional<z.ZodString>;
15217
15634
  personalityId: z.ZodOptional<z.ZodString>;
15218
15635
  }, z.core.$strip>>;
15636
+ cancelled: z.ZodOptional<z.ZodBoolean>;
15219
15637
  }, z.core.$strip>;
15220
15638
  }, z.core.$strip>, z.ZodObject<{
15221
15639
  type: z.ZodLiteral<"clear_agent_attention_response">;
@@ -15271,6 +15689,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15271
15689
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
15272
15690
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
15273
15691
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
15692
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
15274
15693
  lastError: z.ZodOptional<z.ZodString>;
15275
15694
  title: z.ZodNullable<z.ZodString>;
15276
15695
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -15883,6 +16302,24 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15883
16302
  }, z.core.$loose>>;
15884
16303
  }, z.core.$loose>>>;
15885
16304
  }, z.core.$loose>>;
16305
+ agentTeams: z.ZodDefault<z.ZodObject<{
16306
+ teams: z.ZodDefault<z.ZodArray<z.ZodObject<{
16307
+ id: z.ZodString;
16308
+ name: z.ZodString;
16309
+ avatar: z.ZodOptional<z.ZodObject<{
16310
+ color: z.ZodOptional<z.ZodString>;
16311
+ imageId: z.ZodOptional<z.ZodString>;
16312
+ }, z.core.$loose>>;
16313
+ teamPrompt: z.ZodOptional<z.ZodString>;
16314
+ memberIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
16315
+ }, z.core.$loose>>>;
16316
+ activeTeamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16317
+ }, z.core.$loose>>;
16318
+ modelTierOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
16319
+ provider: z.ZodString;
16320
+ modelId: z.ZodString;
16321
+ tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
16322
+ }, z.core.$loose>>>;
15886
16323
  }, z.core.$loose>;
15887
16324
  }, z.core.$loose>;
15888
16325
  }, z.core.$strip>, z.ZodObject<{
@@ -15989,6 +16426,24 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15989
16426
  }, z.core.$loose>>;
15990
16427
  }, z.core.$loose>>>;
15991
16428
  }, z.core.$loose>>;
16429
+ agentTeams: z.ZodDefault<z.ZodObject<{
16430
+ teams: z.ZodDefault<z.ZodArray<z.ZodObject<{
16431
+ id: z.ZodString;
16432
+ name: z.ZodString;
16433
+ avatar: z.ZodOptional<z.ZodObject<{
16434
+ color: z.ZodOptional<z.ZodString>;
16435
+ imageId: z.ZodOptional<z.ZodString>;
16436
+ }, z.core.$loose>>;
16437
+ teamPrompt: z.ZodOptional<z.ZodString>;
16438
+ memberIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
16439
+ }, z.core.$loose>>>;
16440
+ activeTeamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16441
+ }, z.core.$loose>>;
16442
+ modelTierOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
16443
+ provider: z.ZodString;
16444
+ modelId: z.ZodString;
16445
+ tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
16446
+ }, z.core.$loose>>>;
15992
16447
  }, z.core.$loose>;
15993
16448
  }, z.core.$loose>;
15994
16449
  }, z.core.$strip>, z.ZodObject<{
@@ -16322,6 +16777,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
16322
16777
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
16323
16778
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
16324
16779
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
16780
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
16325
16781
  lastError: z.ZodOptional<z.ZodString>;
16326
16782
  title: z.ZodNullable<z.ZodString>;
16327
16783
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -16742,6 +17198,107 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
16742
17198
  }, z.core.$strip>>;
16743
17199
  requestId: z.ZodString;
16744
17200
  }, z.core.$strip>;
17201
+ }, z.core.$strip>, z.ZodObject<{
17202
+ type: z.ZodLiteral<"checkout.git.commit.response">;
17203
+ payload: z.ZodObject<{
17204
+ cwd: z.ZodString;
17205
+ success: z.ZodBoolean;
17206
+ commitSha: z.ZodNullable<z.ZodString>;
17207
+ error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
17208
+ kind: z.ZodLiteral<"agents_running">;
17209
+ agents: z.ZodArray<z.ZodObject<{
17210
+ id: z.ZodString;
17211
+ title: z.ZodNullable<z.ZodString>;
17212
+ }, z.core.$strip>>;
17213
+ }, z.core.$strip>, z.ZodObject<{
17214
+ kind: z.ZodLiteral<"identity_missing">;
17215
+ missingName: z.ZodBoolean;
17216
+ missingEmail: z.ZodBoolean;
17217
+ }, z.core.$strip>, z.ZodObject<{
17218
+ kind: z.ZodLiteral<"hook_failed">;
17219
+ output: z.ZodString;
17220
+ exitCode: z.ZodNullable<z.ZodNumber>;
17221
+ }, z.core.$strip>, z.ZodObject<{
17222
+ kind: z.ZodLiteral<"signing_failed">;
17223
+ detail: z.ZodString;
17224
+ }, z.core.$strip>, z.ZodObject<{
17225
+ kind: z.ZodLiteral<"nothing_to_commit">;
17226
+ }, z.core.$strip>, z.ZodObject<{
17227
+ kind: z.ZodLiteral<"git_failed">;
17228
+ detail: z.ZodString;
17229
+ }, z.core.$strip>], "kind">>;
17230
+ requestId: z.ZodString;
17231
+ }, z.core.$strip>;
17232
+ }, z.core.$strip>, z.ZodObject<{
17233
+ type: z.ZodLiteral<"checkout.git.commit_agent.response">;
17234
+ payload: z.ZodObject<{
17235
+ cwd: z.ZodString;
17236
+ agent: z.ZodDiscriminatedUnion<[z.ZodObject<{
17237
+ kind: z.ZodLiteral<"personality">;
17238
+ personalityId: z.ZodString;
17239
+ personalityName: z.ZodString;
17240
+ provider: z.ZodString;
17241
+ providerLabel: z.ZodString;
17242
+ model: z.ZodNullable<z.ZodString>;
17243
+ modelLabel: z.ZodNullable<z.ZodString>;
17244
+ }, z.core.$strip>, z.ZodObject<{
17245
+ kind: z.ZodLiteral<"provider">;
17246
+ provider: z.ZodString;
17247
+ providerLabel: z.ZodString;
17248
+ model: z.ZodNullable<z.ZodString>;
17249
+ modelLabel: z.ZodNullable<z.ZodString>;
17250
+ }, z.core.$strip>, z.ZodObject<{
17251
+ kind: z.ZodLiteral<"none">;
17252
+ }, z.core.$strip>], "kind">;
17253
+ requestId: z.ZodString;
17254
+ }, z.core.$strip>;
17255
+ }, z.core.$strip>, z.ZodObject<{
17256
+ type: z.ZodLiteral<"checkout.git.rollback.response">;
17257
+ payload: z.ZodObject<{
17258
+ cwd: z.ZodString;
17259
+ success: z.ZodBoolean;
17260
+ rolledBackPaths: z.ZodArray<z.ZodString>;
17261
+ error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
17262
+ kind: z.ZodLiteral<"nothing_to_rollback">;
17263
+ }, z.core.$strip>, z.ZodObject<{
17264
+ kind: z.ZodLiteral<"git_failed">;
17265
+ detail: z.ZodString;
17266
+ }, z.core.$strip>], "kind">>;
17267
+ requestId: z.ZodString;
17268
+ }, z.core.$strip>;
17269
+ }, z.core.$strip>, z.ZodObject<{
17270
+ type: z.ZodLiteral<"checkout.git.get_operation_log.response">;
17271
+ payload: z.ZodObject<{
17272
+ cwd: z.ZodString;
17273
+ operation: z.ZodString;
17274
+ entries: z.ZodArray<z.ZodObject<{
17275
+ seq: z.ZodNumber;
17276
+ timestamp: z.ZodString;
17277
+ level: z.ZodEnum<{
17278
+ error: "error";
17279
+ output: "output";
17280
+ info: "info";
17281
+ }>;
17282
+ text: z.ZodString;
17283
+ }, z.core.$strip>>;
17284
+ requestId: z.ZodString;
17285
+ }, z.core.$strip>;
17286
+ }, z.core.$strip>, z.ZodObject<{
17287
+ type: z.ZodLiteral<"checkout.git.log_appended.notification">;
17288
+ payload: z.ZodObject<{
17289
+ cwd: z.ZodString;
17290
+ operation: z.ZodString;
17291
+ entries: z.ZodArray<z.ZodObject<{
17292
+ seq: z.ZodNumber;
17293
+ timestamp: z.ZodString;
17294
+ level: z.ZodEnum<{
17295
+ error: "error";
17296
+ output: "output";
17297
+ info: "info";
17298
+ }>;
17299
+ text: z.ZodString;
17300
+ }, z.core.$strip>>;
17301
+ }, z.core.$strip>;
16745
17302
  }, z.core.$strip>, z.ZodObject<{
16746
17303
  type: z.ZodLiteral<"checkout_merge_response">;
16747
17304
  payload: z.ZodObject<{
@@ -18439,6 +18996,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18439
18996
  payload: z.ZodObject<{
18440
18997
  requestId: z.ZodString;
18441
18998
  schedule: z.ZodNullable<z.ZodObject<{
18999
+ prompt: z.ZodString;
18442
19000
  name: z.ZodNullable<z.ZodString>;
18443
19001
  status: z.ZodEnum<{
18444
19002
  completed: "completed";
@@ -18487,7 +19045,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18487
19045
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18488
19046
  }, z.core.$strip>;
18489
19047
  }, z.core.$strip>], "type">;
18490
- prompt: z.ZodString;
18491
19048
  nextRunAt: z.ZodNullable<z.ZodString>;
18492
19049
  lastRunAt: z.ZodNullable<z.ZodString>;
18493
19050
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -18506,6 +19063,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18506
19063
  payload: z.ZodObject<{
18507
19064
  requestId: z.ZodString;
18508
19065
  schedules: z.ZodArray<z.ZodObject<{
19066
+ prompt: z.ZodString;
18509
19067
  name: z.ZodNullable<z.ZodString>;
18510
19068
  status: z.ZodEnum<{
18511
19069
  completed: "completed";
@@ -18554,7 +19112,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18554
19112
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18555
19113
  }, z.core.$strip>;
18556
19114
  }, z.core.$strip>], "type">;
18557
- prompt: z.ZodString;
18558
19115
  nextRunAt: z.ZodNullable<z.ZodString>;
18559
19116
  lastRunAt: z.ZodNullable<z.ZodString>;
18560
19117
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -18676,6 +19233,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18676
19233
  payload: z.ZodObject<{
18677
19234
  requestId: z.ZodString;
18678
19235
  schedule: z.ZodNullable<z.ZodObject<{
19236
+ prompt: z.ZodString;
18679
19237
  name: z.ZodNullable<z.ZodString>;
18680
19238
  status: z.ZodEnum<{
18681
19239
  completed: "completed";
@@ -18724,7 +19282,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18724
19282
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18725
19283
  }, z.core.$strip>;
18726
19284
  }, z.core.$strip>], "type">;
18727
- prompt: z.ZodString;
18728
19285
  nextRunAt: z.ZodNullable<z.ZodString>;
18729
19286
  lastRunAt: z.ZodNullable<z.ZodString>;
18730
19287
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -18743,6 +19300,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18743
19300
  payload: z.ZodObject<{
18744
19301
  requestId: z.ZodString;
18745
19302
  schedule: z.ZodNullable<z.ZodObject<{
19303
+ prompt: z.ZodString;
18746
19304
  name: z.ZodNullable<z.ZodString>;
18747
19305
  status: z.ZodEnum<{
18748
19306
  completed: "completed";
@@ -18791,7 +19349,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18791
19349
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18792
19350
  }, z.core.$strip>;
18793
19351
  }, z.core.$strip>], "type">;
18794
- prompt: z.ZodString;
18795
19352
  nextRunAt: z.ZodNullable<z.ZodString>;
18796
19353
  lastRunAt: z.ZodNullable<z.ZodString>;
18797
19354
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -19872,6 +20429,19 @@ export type SubscribeCheckoutDiffResponse = z.infer<typeof SubscribeCheckoutDiff
19872
20429
  export type CheckoutDiffUpdate = z.infer<typeof CheckoutDiffUpdateSchema>;
19873
20430
  export type CheckoutCommitRequest = z.infer<typeof CheckoutCommitRequestSchema>;
19874
20431
  export type CheckoutCommitResponse = z.infer<typeof CheckoutCommitResponseSchema>;
20432
+ export type CheckoutGitCommitRequest = z.infer<typeof CheckoutGitCommitRequestSchema>;
20433
+ export type CheckoutGitCommitResponse = z.infer<typeof CheckoutGitCommitResponseSchema>;
20434
+ export type CheckoutGitCommitError = z.infer<typeof CheckoutGitCommitErrorSchema>;
20435
+ export type CheckoutGitCommitAgentRequest = z.infer<typeof CheckoutGitCommitAgentRequestSchema>;
20436
+ export type CheckoutGitCommitAgentResponse = z.infer<typeof CheckoutGitCommitAgentResponseSchema>;
20437
+ export type CommitMessageAgent = z.infer<typeof CommitMessageAgentSchema>;
20438
+ export type CheckoutGitRollbackRequest = z.infer<typeof CheckoutGitRollbackRequestSchema>;
20439
+ export type CheckoutGitRollbackResponse = z.infer<typeof CheckoutGitRollbackResponseSchema>;
20440
+ export type CheckoutGitRollbackError = z.infer<typeof CheckoutGitRollbackErrorSchema>;
20441
+ export type GitOperationLogEntry = z.infer<typeof GitOperationLogEntrySchema>;
20442
+ export type CheckoutGitGetOperationLogRequest = z.infer<typeof CheckoutGitGetOperationLogRequestSchema>;
20443
+ export type CheckoutGitGetOperationLogResponse = z.infer<typeof CheckoutGitGetOperationLogResponseSchema>;
20444
+ export type CheckoutGitLogAppendedNotification = z.infer<typeof CheckoutGitLogAppendedNotificationSchema>;
19875
20445
  export type CheckoutMergeRequest = z.infer<typeof CheckoutMergeRequestSchema>;
19876
20446
  export type CheckoutMergeResponse = z.infer<typeof CheckoutMergeResponseSchema>;
19877
20447
  export type CheckoutMergeFromBaseRequest = z.infer<typeof CheckoutMergeFromBaseRequestSchema>;
@@ -20106,8 +20676,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
20106
20676
  command: z.ZodLiteral<"wait">;
20107
20677
  browserId: z.ZodString;
20108
20678
  matched: z.ZodEnum<{
20109
- text: "text";
20110
20679
  url: "url";
20680
+ text: "text";
20111
20681
  }>;
20112
20682
  }, z.core.$strip>, z.ZodObject<{
20113
20683
  command: z.ZodLiteral<"type">;
@@ -20641,7 +21211,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
20641
21211
  }, z.core.$loose>>;
20642
21212
  }, z.core.$loose>>>;
20643
21213
  agentPersonalities: z.ZodOptional<z.ZodOptional<z.ZodObject<{
20644
- personalities: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
21214
+ personalities: z.ZodOptional<z.ZodArray<z.ZodObject<{
20645
21215
  id: z.ZodString;
20646
21216
  name: z.ZodString;
20647
21217
  provider: z.ZodString;
@@ -20660,8 +21230,26 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
20660
21230
  model: z.ZodString;
20661
21231
  name: z.ZodString;
20662
21232
  }, z.core.$loose>>;
20663
- }, z.core.$loose>>>>;
21233
+ }, z.core.$loose>>>;
21234
+ }, z.core.$loose>>>;
21235
+ agentTeams: z.ZodOptional<z.ZodOptional<z.ZodObject<{
21236
+ teams: z.ZodOptional<z.ZodArray<z.ZodObject<{
21237
+ id: z.ZodString;
21238
+ name: z.ZodString;
21239
+ avatar: z.ZodOptional<z.ZodObject<{
21240
+ color: z.ZodOptional<z.ZodString>;
21241
+ imageId: z.ZodOptional<z.ZodString>;
21242
+ }, z.core.$loose>>;
21243
+ teamPrompt: z.ZodOptional<z.ZodString>;
21244
+ memberIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
21245
+ }, z.core.$loose>>>;
21246
+ activeTeamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20664
21247
  }, z.core.$loose>>>;
21248
+ modelTierOverrides: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
21249
+ provider: z.ZodString;
21250
+ modelId: z.ZodString;
21251
+ tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
21252
+ }, z.core.$loose>>>>;
20665
21253
  }, z.core.$loose>;
20666
21254
  }, z.core.$strip>, z.ZodObject<{
20667
21255
  type: z.ZodLiteral<"speech.settings.get_options.request">;
@@ -21094,6 +21682,27 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21094
21682
  message: z.ZodOptional<z.ZodString>;
21095
21683
  addAll: z.ZodOptional<z.ZodBoolean>;
21096
21684
  requestId: z.ZodString;
21685
+ }, z.core.$strip>, z.ZodObject<{
21686
+ type: z.ZodLiteral<"checkout.git.commit.request">;
21687
+ cwd: z.ZodString;
21688
+ message: z.ZodString;
21689
+ paths: z.ZodArray<z.ZodString>;
21690
+ allowWithRunningAgents: z.ZodOptional<z.ZodBoolean>;
21691
+ requestId: z.ZodString;
21692
+ }, z.core.$strip>, z.ZodObject<{
21693
+ type: z.ZodLiteral<"checkout.git.commit_agent.request">;
21694
+ cwd: z.ZodString;
21695
+ requestId: z.ZodString;
21696
+ }, z.core.$strip>, z.ZodObject<{
21697
+ type: z.ZodLiteral<"checkout.git.rollback.request">;
21698
+ cwd: z.ZodString;
21699
+ paths: z.ZodArray<z.ZodString>;
21700
+ requestId: z.ZodString;
21701
+ }, z.core.$strip>, z.ZodObject<{
21702
+ type: z.ZodLiteral<"checkout.git.get_operation_log.request">;
21703
+ cwd: z.ZodString;
21704
+ operation: z.ZodString;
21705
+ requestId: z.ZodString;
21097
21706
  }, z.core.$strip>, z.ZodObject<{
21098
21707
  type: z.ZodLiteral<"checkout_merge_request">;
21099
21708
  cwd: z.ZodString;
@@ -21905,6 +22514,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21905
22514
  }, z.core.$strip>], "type">>;
21906
22515
  newAgentConfig: z.ZodOptional<z.ZodObject<{
21907
22516
  provider: z.ZodOptional<z.ZodString>;
22517
+ personality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21908
22518
  model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21909
22519
  modeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21910
22520
  thinkingOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -22393,6 +23003,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22393
23003
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
22394
23004
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
22395
23005
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
23006
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
22396
23007
  lastError: z.ZodOptional<z.ZodString>;
22397
23008
  title: z.ZodNullable<z.ZodString>;
22398
23009
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -23134,6 +23745,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23134
23745
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
23135
23746
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
23136
23747
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
23748
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
23137
23749
  lastError: z.ZodOptional<z.ZodString>;
23138
23750
  title: z.ZodNullable<z.ZodString>;
23139
23751
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -23213,6 +23825,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23213
23825
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
23214
23826
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
23215
23827
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
23828
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
23216
23829
  lastError: z.ZodOptional<z.ZodString>;
23217
23830
  title: z.ZodNullable<z.ZodString>;
23218
23831
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -23375,6 +23988,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23375
23988
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
23376
23989
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
23377
23990
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
23991
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
23378
23992
  lastError: z.ZodOptional<z.ZodString>;
23379
23993
  title: z.ZodNullable<z.ZodString>;
23380
23994
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -24444,6 +25058,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24444
25058
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
24445
25059
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
24446
25060
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
25061
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
24447
25062
  lastError: z.ZodOptional<z.ZodString>;
24448
25063
  title: z.ZodNullable<z.ZodString>;
24449
25064
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -24601,6 +25216,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24601
25216
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
24602
25217
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
24603
25218
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
25219
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
24604
25220
  lastError: z.ZodOptional<z.ZodString>;
24605
25221
  title: z.ZodNullable<z.ZodString>;
24606
25222
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -24752,6 +25368,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24752
25368
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
24753
25369
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
24754
25370
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
25371
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
24755
25372
  lastError: z.ZodOptional<z.ZodString>;
24756
25373
  title: z.ZodNullable<z.ZodString>;
24757
25374
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -24775,6 +25392,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24775
25392
  personalityName: z.ZodOptional<z.ZodString>;
24776
25393
  personalityId: z.ZodOptional<z.ZodString>;
24777
25394
  }, z.core.$strip>>;
25395
+ cancelled: z.ZodOptional<z.ZodBoolean>;
24778
25396
  }, z.core.$strip>;
24779
25397
  }, z.core.$strip>, z.ZodObject<{
24780
25398
  type: z.ZodLiteral<"clear_agent_attention_response">;
@@ -24830,6 +25448,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24830
25448
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
24831
25449
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
24832
25450
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
25451
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
24833
25452
  lastError: z.ZodOptional<z.ZodString>;
24834
25453
  title: z.ZodNullable<z.ZodString>;
24835
25454
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -25442,6 +26061,24 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25442
26061
  }, z.core.$loose>>;
25443
26062
  }, z.core.$loose>>>;
25444
26063
  }, z.core.$loose>>;
26064
+ agentTeams: z.ZodDefault<z.ZodObject<{
26065
+ teams: z.ZodDefault<z.ZodArray<z.ZodObject<{
26066
+ id: z.ZodString;
26067
+ name: z.ZodString;
26068
+ avatar: z.ZodOptional<z.ZodObject<{
26069
+ color: z.ZodOptional<z.ZodString>;
26070
+ imageId: z.ZodOptional<z.ZodString>;
26071
+ }, z.core.$loose>>;
26072
+ teamPrompt: z.ZodOptional<z.ZodString>;
26073
+ memberIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
26074
+ }, z.core.$loose>>>;
26075
+ activeTeamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26076
+ }, z.core.$loose>>;
26077
+ modelTierOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
26078
+ provider: z.ZodString;
26079
+ modelId: z.ZodString;
26080
+ tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
26081
+ }, z.core.$loose>>>;
25445
26082
  }, z.core.$loose>;
25446
26083
  }, z.core.$loose>;
25447
26084
  }, z.core.$strip>, z.ZodObject<{
@@ -25548,6 +26185,24 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25548
26185
  }, z.core.$loose>>;
25549
26186
  }, z.core.$loose>>>;
25550
26187
  }, z.core.$loose>>;
26188
+ agentTeams: z.ZodDefault<z.ZodObject<{
26189
+ teams: z.ZodDefault<z.ZodArray<z.ZodObject<{
26190
+ id: z.ZodString;
26191
+ name: z.ZodString;
26192
+ avatar: z.ZodOptional<z.ZodObject<{
26193
+ color: z.ZodOptional<z.ZodString>;
26194
+ imageId: z.ZodOptional<z.ZodString>;
26195
+ }, z.core.$loose>>;
26196
+ teamPrompt: z.ZodOptional<z.ZodString>;
26197
+ memberIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
26198
+ }, z.core.$loose>>>;
26199
+ activeTeamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26200
+ }, z.core.$loose>>;
26201
+ modelTierOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
26202
+ provider: z.ZodString;
26203
+ modelId: z.ZodString;
26204
+ tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
26205
+ }, z.core.$loose>>>;
25551
26206
  }, z.core.$loose>;
25552
26207
  }, z.core.$loose>;
25553
26208
  }, z.core.$strip>, z.ZodObject<{
@@ -25881,6 +26536,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25881
26536
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
25882
26537
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
25883
26538
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
26539
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
25884
26540
  lastError: z.ZodOptional<z.ZodString>;
25885
26541
  title: z.ZodNullable<z.ZodString>;
25886
26542
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -26301,6 +26957,107 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26301
26957
  }, z.core.$strip>>;
26302
26958
  requestId: z.ZodString;
26303
26959
  }, z.core.$strip>;
26960
+ }, z.core.$strip>, z.ZodObject<{
26961
+ type: z.ZodLiteral<"checkout.git.commit.response">;
26962
+ payload: z.ZodObject<{
26963
+ cwd: z.ZodString;
26964
+ success: z.ZodBoolean;
26965
+ commitSha: z.ZodNullable<z.ZodString>;
26966
+ error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
26967
+ kind: z.ZodLiteral<"agents_running">;
26968
+ agents: z.ZodArray<z.ZodObject<{
26969
+ id: z.ZodString;
26970
+ title: z.ZodNullable<z.ZodString>;
26971
+ }, z.core.$strip>>;
26972
+ }, z.core.$strip>, z.ZodObject<{
26973
+ kind: z.ZodLiteral<"identity_missing">;
26974
+ missingName: z.ZodBoolean;
26975
+ missingEmail: z.ZodBoolean;
26976
+ }, z.core.$strip>, z.ZodObject<{
26977
+ kind: z.ZodLiteral<"hook_failed">;
26978
+ output: z.ZodString;
26979
+ exitCode: z.ZodNullable<z.ZodNumber>;
26980
+ }, z.core.$strip>, z.ZodObject<{
26981
+ kind: z.ZodLiteral<"signing_failed">;
26982
+ detail: z.ZodString;
26983
+ }, z.core.$strip>, z.ZodObject<{
26984
+ kind: z.ZodLiteral<"nothing_to_commit">;
26985
+ }, z.core.$strip>, z.ZodObject<{
26986
+ kind: z.ZodLiteral<"git_failed">;
26987
+ detail: z.ZodString;
26988
+ }, z.core.$strip>], "kind">>;
26989
+ requestId: z.ZodString;
26990
+ }, z.core.$strip>;
26991
+ }, z.core.$strip>, z.ZodObject<{
26992
+ type: z.ZodLiteral<"checkout.git.commit_agent.response">;
26993
+ payload: z.ZodObject<{
26994
+ cwd: z.ZodString;
26995
+ agent: z.ZodDiscriminatedUnion<[z.ZodObject<{
26996
+ kind: z.ZodLiteral<"personality">;
26997
+ personalityId: z.ZodString;
26998
+ personalityName: z.ZodString;
26999
+ provider: z.ZodString;
27000
+ providerLabel: z.ZodString;
27001
+ model: z.ZodNullable<z.ZodString>;
27002
+ modelLabel: z.ZodNullable<z.ZodString>;
27003
+ }, z.core.$strip>, z.ZodObject<{
27004
+ kind: z.ZodLiteral<"provider">;
27005
+ provider: z.ZodString;
27006
+ providerLabel: z.ZodString;
27007
+ model: z.ZodNullable<z.ZodString>;
27008
+ modelLabel: z.ZodNullable<z.ZodString>;
27009
+ }, z.core.$strip>, z.ZodObject<{
27010
+ kind: z.ZodLiteral<"none">;
27011
+ }, z.core.$strip>], "kind">;
27012
+ requestId: z.ZodString;
27013
+ }, z.core.$strip>;
27014
+ }, z.core.$strip>, z.ZodObject<{
27015
+ type: z.ZodLiteral<"checkout.git.rollback.response">;
27016
+ payload: z.ZodObject<{
27017
+ cwd: z.ZodString;
27018
+ success: z.ZodBoolean;
27019
+ rolledBackPaths: z.ZodArray<z.ZodString>;
27020
+ error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
27021
+ kind: z.ZodLiteral<"nothing_to_rollback">;
27022
+ }, z.core.$strip>, z.ZodObject<{
27023
+ kind: z.ZodLiteral<"git_failed">;
27024
+ detail: z.ZodString;
27025
+ }, z.core.$strip>], "kind">>;
27026
+ requestId: z.ZodString;
27027
+ }, z.core.$strip>;
27028
+ }, z.core.$strip>, z.ZodObject<{
27029
+ type: z.ZodLiteral<"checkout.git.get_operation_log.response">;
27030
+ payload: z.ZodObject<{
27031
+ cwd: z.ZodString;
27032
+ operation: z.ZodString;
27033
+ entries: z.ZodArray<z.ZodObject<{
27034
+ seq: z.ZodNumber;
27035
+ timestamp: z.ZodString;
27036
+ level: z.ZodEnum<{
27037
+ error: "error";
27038
+ output: "output";
27039
+ info: "info";
27040
+ }>;
27041
+ text: z.ZodString;
27042
+ }, z.core.$strip>>;
27043
+ requestId: z.ZodString;
27044
+ }, z.core.$strip>;
27045
+ }, z.core.$strip>, z.ZodObject<{
27046
+ type: z.ZodLiteral<"checkout.git.log_appended.notification">;
27047
+ payload: z.ZodObject<{
27048
+ cwd: z.ZodString;
27049
+ operation: z.ZodString;
27050
+ entries: z.ZodArray<z.ZodObject<{
27051
+ seq: z.ZodNumber;
27052
+ timestamp: z.ZodString;
27053
+ level: z.ZodEnum<{
27054
+ error: "error";
27055
+ output: "output";
27056
+ info: "info";
27057
+ }>;
27058
+ text: z.ZodString;
27059
+ }, z.core.$strip>>;
27060
+ }, z.core.$strip>;
26304
27061
  }, z.core.$strip>, z.ZodObject<{
26305
27062
  type: z.ZodLiteral<"checkout_merge_response">;
26306
27063
  payload: z.ZodObject<{
@@ -27998,6 +28755,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27998
28755
  payload: z.ZodObject<{
27999
28756
  requestId: z.ZodString;
28000
28757
  schedule: z.ZodNullable<z.ZodObject<{
28758
+ prompt: z.ZodString;
28001
28759
  name: z.ZodNullable<z.ZodString>;
28002
28760
  status: z.ZodEnum<{
28003
28761
  completed: "completed";
@@ -28046,7 +28804,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28046
28804
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
28047
28805
  }, z.core.$strip>;
28048
28806
  }, z.core.$strip>], "type">;
28049
- prompt: z.ZodString;
28050
28807
  nextRunAt: z.ZodNullable<z.ZodString>;
28051
28808
  lastRunAt: z.ZodNullable<z.ZodString>;
28052
28809
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -28065,6 +28822,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28065
28822
  payload: z.ZodObject<{
28066
28823
  requestId: z.ZodString;
28067
28824
  schedules: z.ZodArray<z.ZodObject<{
28825
+ prompt: z.ZodString;
28068
28826
  name: z.ZodNullable<z.ZodString>;
28069
28827
  status: z.ZodEnum<{
28070
28828
  completed: "completed";
@@ -28113,7 +28871,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28113
28871
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
28114
28872
  }, z.core.$strip>;
28115
28873
  }, z.core.$strip>], "type">;
28116
- prompt: z.ZodString;
28117
28874
  nextRunAt: z.ZodNullable<z.ZodString>;
28118
28875
  lastRunAt: z.ZodNullable<z.ZodString>;
28119
28876
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -28235,6 +28992,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28235
28992
  payload: z.ZodObject<{
28236
28993
  requestId: z.ZodString;
28237
28994
  schedule: z.ZodNullable<z.ZodObject<{
28995
+ prompt: z.ZodString;
28238
28996
  name: z.ZodNullable<z.ZodString>;
28239
28997
  status: z.ZodEnum<{
28240
28998
  completed: "completed";
@@ -28283,7 +29041,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28283
29041
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
28284
29042
  }, z.core.$strip>;
28285
29043
  }, z.core.$strip>], "type">;
28286
- prompt: z.ZodString;
28287
29044
  nextRunAt: z.ZodNullable<z.ZodString>;
28288
29045
  lastRunAt: z.ZodNullable<z.ZodString>;
28289
29046
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -28302,6 +29059,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28302
29059
  payload: z.ZodObject<{
28303
29060
  requestId: z.ZodString;
28304
29061
  schedule: z.ZodNullable<z.ZodObject<{
29062
+ prompt: z.ZodString;
28305
29063
  name: z.ZodNullable<z.ZodString>;
28306
29064
  status: z.ZodEnum<{
28307
29065
  completed: "completed";
@@ -28350,7 +29108,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28350
29108
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
28351
29109
  }, z.core.$strip>;
28352
29110
  }, z.core.$strip>], "type">;
28353
- prompt: z.ZodString;
28354
29111
  nextRunAt: z.ZodNullable<z.ZodString>;
28355
29112
  lastRunAt: z.ZodNullable<z.ZodString>;
28356
29113
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -29337,8 +30094,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
29337
30094
  command: z.ZodLiteral<"wait">;
29338
30095
  browserId: z.ZodString;
29339
30096
  matched: z.ZodEnum<{
29340
- text: "text";
29341
30097
  url: "url";
30098
+ text: "text";
29342
30099
  }>;
29343
30100
  }, z.core.$strip>, z.ZodObject<{
29344
30101
  command: z.ZodLiteral<"type">;
@@ -29872,7 +30629,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
29872
30629
  }, z.core.$loose>>;
29873
30630
  }, z.core.$loose>>>;
29874
30631
  agentPersonalities: z.ZodOptional<z.ZodOptional<z.ZodObject<{
29875
- personalities: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
30632
+ personalities: z.ZodOptional<z.ZodArray<z.ZodObject<{
29876
30633
  id: z.ZodString;
29877
30634
  name: z.ZodString;
29878
30635
  provider: z.ZodString;
@@ -29891,8 +30648,26 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
29891
30648
  model: z.ZodString;
29892
30649
  name: z.ZodString;
29893
30650
  }, z.core.$loose>>;
29894
- }, z.core.$loose>>>>;
30651
+ }, z.core.$loose>>>;
30652
+ }, z.core.$loose>>>;
30653
+ agentTeams: z.ZodOptional<z.ZodOptional<z.ZodObject<{
30654
+ teams: z.ZodOptional<z.ZodArray<z.ZodObject<{
30655
+ id: z.ZodString;
30656
+ name: z.ZodString;
30657
+ avatar: z.ZodOptional<z.ZodObject<{
30658
+ color: z.ZodOptional<z.ZodString>;
30659
+ imageId: z.ZodOptional<z.ZodString>;
30660
+ }, z.core.$loose>>;
30661
+ teamPrompt: z.ZodOptional<z.ZodString>;
30662
+ memberIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
30663
+ }, z.core.$loose>>>;
30664
+ activeTeamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29895
30665
  }, z.core.$loose>>>;
30666
+ modelTierOverrides: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
30667
+ provider: z.ZodString;
30668
+ modelId: z.ZodString;
30669
+ tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
30670
+ }, z.core.$loose>>>>;
29896
30671
  }, z.core.$loose>;
29897
30672
  }, z.core.$strip>, z.ZodObject<{
29898
30673
  type: z.ZodLiteral<"speech.settings.get_options.request">;
@@ -30325,6 +31100,27 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
30325
31100
  message: z.ZodOptional<z.ZodString>;
30326
31101
  addAll: z.ZodOptional<z.ZodBoolean>;
30327
31102
  requestId: z.ZodString;
31103
+ }, z.core.$strip>, z.ZodObject<{
31104
+ type: z.ZodLiteral<"checkout.git.commit.request">;
31105
+ cwd: z.ZodString;
31106
+ message: z.ZodString;
31107
+ paths: z.ZodArray<z.ZodString>;
31108
+ allowWithRunningAgents: z.ZodOptional<z.ZodBoolean>;
31109
+ requestId: z.ZodString;
31110
+ }, z.core.$strip>, z.ZodObject<{
31111
+ type: z.ZodLiteral<"checkout.git.commit_agent.request">;
31112
+ cwd: z.ZodString;
31113
+ requestId: z.ZodString;
31114
+ }, z.core.$strip>, z.ZodObject<{
31115
+ type: z.ZodLiteral<"checkout.git.rollback.request">;
31116
+ cwd: z.ZodString;
31117
+ paths: z.ZodArray<z.ZodString>;
31118
+ requestId: z.ZodString;
31119
+ }, z.core.$strip>, z.ZodObject<{
31120
+ type: z.ZodLiteral<"checkout.git.get_operation_log.request">;
31121
+ cwd: z.ZodString;
31122
+ operation: z.ZodString;
31123
+ requestId: z.ZodString;
30328
31124
  }, z.core.$strip>, z.ZodObject<{
30329
31125
  type: z.ZodLiteral<"checkout_merge_request">;
30330
31126
  cwd: z.ZodString;
@@ -31136,6 +31932,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
31136
31932
  }, z.core.$strip>], "type">>;
31137
31933
  newAgentConfig: z.ZodOptional<z.ZodObject<{
31138
31934
  provider: z.ZodOptional<z.ZodString>;
31935
+ personality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31139
31936
  model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31140
31937
  modeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31141
31938
  thinkingOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -31626,6 +32423,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
31626
32423
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
31627
32424
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
31628
32425
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
32426
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
31629
32427
  lastError: z.ZodOptional<z.ZodString>;
31630
32428
  title: z.ZodNullable<z.ZodString>;
31631
32429
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -32367,6 +33165,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32367
33165
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
32368
33166
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
32369
33167
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
33168
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
32370
33169
  lastError: z.ZodOptional<z.ZodString>;
32371
33170
  title: z.ZodNullable<z.ZodString>;
32372
33171
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -32446,6 +33245,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32446
33245
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
32447
33246
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
32448
33247
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
33248
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
32449
33249
  lastError: z.ZodOptional<z.ZodString>;
32450
33250
  title: z.ZodNullable<z.ZodString>;
32451
33251
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -32608,6 +33408,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32608
33408
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
32609
33409
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
32610
33410
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
33411
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
32611
33412
  lastError: z.ZodOptional<z.ZodString>;
32612
33413
  title: z.ZodNullable<z.ZodString>;
32613
33414
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -33677,6 +34478,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33677
34478
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
33678
34479
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
33679
34480
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
34481
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
33680
34482
  lastError: z.ZodOptional<z.ZodString>;
33681
34483
  title: z.ZodNullable<z.ZodString>;
33682
34484
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -33834,6 +34636,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33834
34636
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
33835
34637
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
33836
34638
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
34639
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
33837
34640
  lastError: z.ZodOptional<z.ZodString>;
33838
34641
  title: z.ZodNullable<z.ZodString>;
33839
34642
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -33985,6 +34788,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33985
34788
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
33986
34789
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
33987
34790
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
34791
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
33988
34792
  lastError: z.ZodOptional<z.ZodString>;
33989
34793
  title: z.ZodNullable<z.ZodString>;
33990
34794
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -34008,6 +34812,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34008
34812
  personalityName: z.ZodOptional<z.ZodString>;
34009
34813
  personalityId: z.ZodOptional<z.ZodString>;
34010
34814
  }, z.core.$strip>>;
34815
+ cancelled: z.ZodOptional<z.ZodBoolean>;
34011
34816
  }, z.core.$strip>;
34012
34817
  }, z.core.$strip>, z.ZodObject<{
34013
34818
  type: z.ZodLiteral<"clear_agent_attention_response">;
@@ -34063,6 +34868,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34063
34868
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
34064
34869
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
34065
34870
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
34871
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
34066
34872
  lastError: z.ZodOptional<z.ZodString>;
34067
34873
  title: z.ZodNullable<z.ZodString>;
34068
34874
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -34675,6 +35481,24 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34675
35481
  }, z.core.$loose>>;
34676
35482
  }, z.core.$loose>>>;
34677
35483
  }, z.core.$loose>>;
35484
+ agentTeams: z.ZodDefault<z.ZodObject<{
35485
+ teams: z.ZodDefault<z.ZodArray<z.ZodObject<{
35486
+ id: z.ZodString;
35487
+ name: z.ZodString;
35488
+ avatar: z.ZodOptional<z.ZodObject<{
35489
+ color: z.ZodOptional<z.ZodString>;
35490
+ imageId: z.ZodOptional<z.ZodString>;
35491
+ }, z.core.$loose>>;
35492
+ teamPrompt: z.ZodOptional<z.ZodString>;
35493
+ memberIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
35494
+ }, z.core.$loose>>>;
35495
+ activeTeamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35496
+ }, z.core.$loose>>;
35497
+ modelTierOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
35498
+ provider: z.ZodString;
35499
+ modelId: z.ZodString;
35500
+ tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
35501
+ }, z.core.$loose>>>;
34678
35502
  }, z.core.$loose>;
34679
35503
  }, z.core.$loose>;
34680
35504
  }, z.core.$strip>, z.ZodObject<{
@@ -34781,6 +35605,24 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34781
35605
  }, z.core.$loose>>;
34782
35606
  }, z.core.$loose>>>;
34783
35607
  }, z.core.$loose>>;
35608
+ agentTeams: z.ZodDefault<z.ZodObject<{
35609
+ teams: z.ZodDefault<z.ZodArray<z.ZodObject<{
35610
+ id: z.ZodString;
35611
+ name: z.ZodString;
35612
+ avatar: z.ZodOptional<z.ZodObject<{
35613
+ color: z.ZodOptional<z.ZodString>;
35614
+ imageId: z.ZodOptional<z.ZodString>;
35615
+ }, z.core.$loose>>;
35616
+ teamPrompt: z.ZodOptional<z.ZodString>;
35617
+ memberIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
35618
+ }, z.core.$loose>>>;
35619
+ activeTeamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35620
+ }, z.core.$loose>>;
35621
+ modelTierOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
35622
+ provider: z.ZodString;
35623
+ modelId: z.ZodString;
35624
+ tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
35625
+ }, z.core.$loose>>>;
34784
35626
  }, z.core.$loose>;
34785
35627
  }, z.core.$loose>;
34786
35628
  }, z.core.$strip>, z.ZodObject<{
@@ -35114,6 +35956,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35114
35956
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
35115
35957
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
35116
35958
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
35959
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
35117
35960
  lastError: z.ZodOptional<z.ZodString>;
35118
35961
  title: z.ZodNullable<z.ZodString>;
35119
35962
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -35534,6 +36377,107 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35534
36377
  }, z.core.$strip>>;
35535
36378
  requestId: z.ZodString;
35536
36379
  }, z.core.$strip>;
36380
+ }, z.core.$strip>, z.ZodObject<{
36381
+ type: z.ZodLiteral<"checkout.git.commit.response">;
36382
+ payload: z.ZodObject<{
36383
+ cwd: z.ZodString;
36384
+ success: z.ZodBoolean;
36385
+ commitSha: z.ZodNullable<z.ZodString>;
36386
+ error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
36387
+ kind: z.ZodLiteral<"agents_running">;
36388
+ agents: z.ZodArray<z.ZodObject<{
36389
+ id: z.ZodString;
36390
+ title: z.ZodNullable<z.ZodString>;
36391
+ }, z.core.$strip>>;
36392
+ }, z.core.$strip>, z.ZodObject<{
36393
+ kind: z.ZodLiteral<"identity_missing">;
36394
+ missingName: z.ZodBoolean;
36395
+ missingEmail: z.ZodBoolean;
36396
+ }, z.core.$strip>, z.ZodObject<{
36397
+ kind: z.ZodLiteral<"hook_failed">;
36398
+ output: z.ZodString;
36399
+ exitCode: z.ZodNullable<z.ZodNumber>;
36400
+ }, z.core.$strip>, z.ZodObject<{
36401
+ kind: z.ZodLiteral<"signing_failed">;
36402
+ detail: z.ZodString;
36403
+ }, z.core.$strip>, z.ZodObject<{
36404
+ kind: z.ZodLiteral<"nothing_to_commit">;
36405
+ }, z.core.$strip>, z.ZodObject<{
36406
+ kind: z.ZodLiteral<"git_failed">;
36407
+ detail: z.ZodString;
36408
+ }, z.core.$strip>], "kind">>;
36409
+ requestId: z.ZodString;
36410
+ }, z.core.$strip>;
36411
+ }, z.core.$strip>, z.ZodObject<{
36412
+ type: z.ZodLiteral<"checkout.git.commit_agent.response">;
36413
+ payload: z.ZodObject<{
36414
+ cwd: z.ZodString;
36415
+ agent: z.ZodDiscriminatedUnion<[z.ZodObject<{
36416
+ kind: z.ZodLiteral<"personality">;
36417
+ personalityId: z.ZodString;
36418
+ personalityName: z.ZodString;
36419
+ provider: z.ZodString;
36420
+ providerLabel: z.ZodString;
36421
+ model: z.ZodNullable<z.ZodString>;
36422
+ modelLabel: z.ZodNullable<z.ZodString>;
36423
+ }, z.core.$strip>, z.ZodObject<{
36424
+ kind: z.ZodLiteral<"provider">;
36425
+ provider: z.ZodString;
36426
+ providerLabel: z.ZodString;
36427
+ model: z.ZodNullable<z.ZodString>;
36428
+ modelLabel: z.ZodNullable<z.ZodString>;
36429
+ }, z.core.$strip>, z.ZodObject<{
36430
+ kind: z.ZodLiteral<"none">;
36431
+ }, z.core.$strip>], "kind">;
36432
+ requestId: z.ZodString;
36433
+ }, z.core.$strip>;
36434
+ }, z.core.$strip>, z.ZodObject<{
36435
+ type: z.ZodLiteral<"checkout.git.rollback.response">;
36436
+ payload: z.ZodObject<{
36437
+ cwd: z.ZodString;
36438
+ success: z.ZodBoolean;
36439
+ rolledBackPaths: z.ZodArray<z.ZodString>;
36440
+ error: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
36441
+ kind: z.ZodLiteral<"nothing_to_rollback">;
36442
+ }, z.core.$strip>, z.ZodObject<{
36443
+ kind: z.ZodLiteral<"git_failed">;
36444
+ detail: z.ZodString;
36445
+ }, z.core.$strip>], "kind">>;
36446
+ requestId: z.ZodString;
36447
+ }, z.core.$strip>;
36448
+ }, z.core.$strip>, z.ZodObject<{
36449
+ type: z.ZodLiteral<"checkout.git.get_operation_log.response">;
36450
+ payload: z.ZodObject<{
36451
+ cwd: z.ZodString;
36452
+ operation: z.ZodString;
36453
+ entries: z.ZodArray<z.ZodObject<{
36454
+ seq: z.ZodNumber;
36455
+ timestamp: z.ZodString;
36456
+ level: z.ZodEnum<{
36457
+ error: "error";
36458
+ output: "output";
36459
+ info: "info";
36460
+ }>;
36461
+ text: z.ZodString;
36462
+ }, z.core.$strip>>;
36463
+ requestId: z.ZodString;
36464
+ }, z.core.$strip>;
36465
+ }, z.core.$strip>, z.ZodObject<{
36466
+ type: z.ZodLiteral<"checkout.git.log_appended.notification">;
36467
+ payload: z.ZodObject<{
36468
+ cwd: z.ZodString;
36469
+ operation: z.ZodString;
36470
+ entries: z.ZodArray<z.ZodObject<{
36471
+ seq: z.ZodNumber;
36472
+ timestamp: z.ZodString;
36473
+ level: z.ZodEnum<{
36474
+ error: "error";
36475
+ output: "output";
36476
+ info: "info";
36477
+ }>;
36478
+ text: z.ZodString;
36479
+ }, z.core.$strip>>;
36480
+ }, z.core.$strip>;
35537
36481
  }, z.core.$strip>, z.ZodObject<{
35538
36482
  type: z.ZodLiteral<"checkout_merge_response">;
35539
36483
  payload: z.ZodObject<{
@@ -37231,6 +38175,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37231
38175
  payload: z.ZodObject<{
37232
38176
  requestId: z.ZodString;
37233
38177
  schedule: z.ZodNullable<z.ZodObject<{
38178
+ prompt: z.ZodString;
37234
38179
  name: z.ZodNullable<z.ZodString>;
37235
38180
  status: z.ZodEnum<{
37236
38181
  completed: "completed";
@@ -37279,7 +38224,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37279
38224
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
37280
38225
  }, z.core.$strip>;
37281
38226
  }, z.core.$strip>], "type">;
37282
- prompt: z.ZodString;
37283
38227
  nextRunAt: z.ZodNullable<z.ZodString>;
37284
38228
  lastRunAt: z.ZodNullable<z.ZodString>;
37285
38229
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -37298,6 +38242,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37298
38242
  payload: z.ZodObject<{
37299
38243
  requestId: z.ZodString;
37300
38244
  schedules: z.ZodArray<z.ZodObject<{
38245
+ prompt: z.ZodString;
37301
38246
  name: z.ZodNullable<z.ZodString>;
37302
38247
  status: z.ZodEnum<{
37303
38248
  completed: "completed";
@@ -37346,7 +38291,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37346
38291
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
37347
38292
  }, z.core.$strip>;
37348
38293
  }, z.core.$strip>], "type">;
37349
- prompt: z.ZodString;
37350
38294
  nextRunAt: z.ZodNullable<z.ZodString>;
37351
38295
  lastRunAt: z.ZodNullable<z.ZodString>;
37352
38296
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -37468,6 +38412,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37468
38412
  payload: z.ZodObject<{
37469
38413
  requestId: z.ZodString;
37470
38414
  schedule: z.ZodNullable<z.ZodObject<{
38415
+ prompt: z.ZodString;
37471
38416
  name: z.ZodNullable<z.ZodString>;
37472
38417
  status: z.ZodEnum<{
37473
38418
  completed: "completed";
@@ -37516,7 +38461,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37516
38461
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
37517
38462
  }, z.core.$strip>;
37518
38463
  }, z.core.$strip>], "type">;
37519
- prompt: z.ZodString;
37520
38464
  nextRunAt: z.ZodNullable<z.ZodString>;
37521
38465
  lastRunAt: z.ZodNullable<z.ZodString>;
37522
38466
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -37535,6 +38479,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37535
38479
  payload: z.ZodObject<{
37536
38480
  requestId: z.ZodString;
37537
38481
  schedule: z.ZodNullable<z.ZodObject<{
38482
+ prompt: z.ZodString;
37538
38483
  name: z.ZodNullable<z.ZodString>;
37539
38484
  status: z.ZodEnum<{
37540
38485
  completed: "completed";
@@ -37583,7 +38528,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37583
38528
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
37584
38529
  }, z.core.$strip>;
37585
38530
  }, z.core.$strip>], "type">;
37586
- prompt: z.ZodString;
37587
38531
  nextRunAt: z.ZodNullable<z.ZodString>;
37588
38532
  lastRunAt: z.ZodNullable<z.ZodString>;
37589
38533
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{