@otto-code/protocol 0.5.1 → 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.
@@ -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>>>;
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>>;
282
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>>>;
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>>;
1258
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<{
@@ -2913,8 +2991,8 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
2913
2991
  command: z.ZodLiteral<"wait">;
2914
2992
  browserId: z.ZodString;
2915
2993
  matched: z.ZodEnum<{
2916
- text: "text";
2917
2994
  url: "url";
2995
+ text: "text";
2918
2996
  }>;
2919
2997
  }, z.core.$strip>, z.ZodObject<{
2920
2998
  command: z.ZodLiteral<"type">;
@@ -3448,7 +3526,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
3448
3526
  }, z.core.$loose>>;
3449
3527
  }, z.core.$loose>>>;
3450
3528
  agentPersonalities: z.ZodOptional<z.ZodOptional<z.ZodObject<{
3451
- personalities: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
3529
+ personalities: z.ZodOptional<z.ZodArray<z.ZodObject<{
3452
3530
  id: z.ZodString;
3453
3531
  name: z.ZodString;
3454
3532
  provider: z.ZodString;
@@ -3467,8 +3545,26 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
3467
3545
  model: z.ZodString;
3468
3546
  name: z.ZodString;
3469
3547
  }, z.core.$loose>>;
3470
- }, z.core.$loose>>>>;
3548
+ }, z.core.$loose>>>;
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>>;
3471
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>>>>;
3472
3568
  }, z.core.$loose>;
3473
3569
  }, z.core.$strip>, z.ZodObject<{
3474
3570
  type: z.ZodLiteral<"speech.settings.get_options.request">;
@@ -4733,6 +4829,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
4733
4829
  }, z.core.$strip>], "type">>;
4734
4830
  newAgentConfig: z.ZodOptional<z.ZodObject<{
4735
4831
  provider: z.ZodOptional<z.ZodString>;
4832
+ personality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4736
4833
  model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4737
4834
  modeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4738
4835
  thinkingOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5020,6 +5117,8 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5020
5117
  checkoutGitCommitAgent: z.ZodOptional<z.ZodBoolean>;
5021
5118
  checkoutGitRollback: z.ZodOptional<z.ZodBoolean>;
5022
5119
  checkoutGitLog: z.ZodOptional<z.ZodBoolean>;
5120
+ agentTeams: z.ZodOptional<z.ZodBoolean>;
5121
+ modelTierOverrides: z.ZodOptional<z.ZodBoolean>;
5023
5122
  }, z.core.$strip>>;
5024
5123
  }, z.core.$loose>, z.ZodTransform<{
5025
5124
  hostname: string | null;
@@ -5073,6 +5172,8 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5073
5172
  checkoutGitCommitAgent?: boolean | undefined;
5074
5173
  checkoutGitRollback?: boolean | undefined;
5075
5174
  checkoutGitLog?: boolean | undefined;
5175
+ agentTeams?: boolean | undefined;
5176
+ modelTierOverrides?: boolean | undefined;
5076
5177
  } | undefined;
5077
5178
  }, {
5078
5179
  [x: string]: unknown;
@@ -5127,6 +5228,8 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5127
5228
  checkoutGitCommitAgent?: boolean | undefined;
5128
5229
  checkoutGitRollback?: boolean | undefined;
5129
5230
  checkoutGitLog?: boolean | undefined;
5231
+ agentTeams?: boolean | undefined;
5232
+ modelTierOverrides?: boolean | undefined;
5130
5233
  } | undefined;
5131
5234
  }>>;
5132
5235
  export declare const StatusMessageSchema: z.ZodObject<{
@@ -5204,6 +5307,7 @@ export declare const AgentCreatedStatusPayloadSchema: z.ZodObject<{
5204
5307
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
5205
5308
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
5206
5309
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
5310
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
5207
5311
  lastError: z.ZodOptional<z.ZodString>;
5208
5312
  title: z.ZodNullable<z.ZodString>;
5209
5313
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -5287,6 +5391,7 @@ export declare const AgentResumedStatusPayloadSchema: z.ZodObject<{
5287
5391
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
5288
5392
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
5289
5393
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
5394
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
5290
5395
  lastError: z.ZodOptional<z.ZodString>;
5291
5396
  title: z.ZodNullable<z.ZodString>;
5292
5397
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -5433,6 +5538,24 @@ export declare const DaemonConfigChangedStatusPayloadSchema: z.ZodObject<{
5433
5538
  }, z.core.$loose>>;
5434
5539
  }, z.core.$loose>>>;
5435
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>>>;
5436
5559
  }, z.core.$loose>;
5437
5560
  }, z.core.$loose>;
5438
5561
  export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -5486,6 +5609,7 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
5486
5609
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
5487
5610
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
5488
5611
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
5612
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
5489
5613
  lastError: z.ZodOptional<z.ZodString>;
5490
5614
  title: z.ZodNullable<z.ZodString>;
5491
5615
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -5567,6 +5691,7 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
5567
5691
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
5568
5692
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
5569
5693
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
5694
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
5570
5695
  lastError: z.ZodOptional<z.ZodString>;
5571
5696
  title: z.ZodNullable<z.ZodString>;
5572
5697
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -5709,6 +5834,24 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
5709
5834
  }, z.core.$loose>>;
5710
5835
  }, z.core.$loose>>>;
5711
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>>>;
5712
5855
  }, z.core.$loose>;
5713
5856
  }, z.core.$loose>], "status">;
5714
5857
  export type KnownStatusPayload = z.infer<typeof KnownStatusPayloadSchema>;
@@ -6473,6 +6616,7 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
6473
6616
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
6474
6617
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
6475
6618
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
6619
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
6476
6620
  lastError: z.ZodOptional<z.ZodString>;
6477
6621
  title: z.ZodNullable<z.ZodString>;
6478
6622
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -6700,6 +6844,7 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
6700
6844
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
6701
6845
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
6702
6846
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
6847
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
6703
6848
  lastError: z.ZodOptional<z.ZodString>;
6704
6849
  title: z.ZodNullable<z.ZodString>;
6705
6850
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -6777,6 +6922,7 @@ export declare const AgentListMessageSchema: z.ZodObject<{
6777
6922
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
6778
6923
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
6779
6924
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
6925
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
6780
6926
  lastError: z.ZodOptional<z.ZodString>;
6781
6927
  title: z.ZodNullable<z.ZodString>;
6782
6928
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -6857,6 +7003,7 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
6857
7003
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
6858
7004
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
6859
7005
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
7006
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
6860
7007
  lastError: z.ZodOptional<z.ZodString>;
6861
7008
  title: z.ZodNullable<z.ZodString>;
6862
7009
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -7020,6 +7167,7 @@ export declare const FetchAgentHistoryResponseMessageSchema: z.ZodObject<{
7020
7167
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
7021
7168
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
7022
7169
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
7170
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
7023
7171
  lastError: z.ZodOptional<z.ZodString>;
7024
7172
  title: z.ZodNullable<z.ZodString>;
7025
7173
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -8657,6 +8805,7 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
8657
8805
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
8658
8806
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
8659
8807
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
8808
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
8660
8809
  lastError: z.ZodOptional<z.ZodString>;
8661
8810
  title: z.ZodNullable<z.ZodString>;
8662
8811
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -8831,6 +8980,7 @@ export declare const FetchAgentTimelineResponseMessageSchema: z.ZodObject<{
8831
8980
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
8832
8981
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
8833
8982
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
8983
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
8834
8984
  lastError: z.ZodOptional<z.ZodString>;
8835
8985
  title: z.ZodNullable<z.ZodString>;
8836
8986
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -8984,6 +9134,7 @@ export declare const CancelAgentResponseMessageSchema: z.ZodObject<{
8984
9134
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
8985
9135
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
8986
9136
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
9137
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
8987
9138
  lastError: z.ZodOptional<z.ZodString>;
8988
9139
  title: z.ZodNullable<z.ZodString>;
8989
9140
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -9007,6 +9158,7 @@ export declare const CancelAgentResponseMessageSchema: z.ZodObject<{
9007
9158
  personalityName: z.ZodOptional<z.ZodString>;
9008
9159
  personalityId: z.ZodOptional<z.ZodString>;
9009
9160
  }, z.core.$strip>>;
9161
+ cancelled: z.ZodOptional<z.ZodBoolean>;
9010
9162
  }, z.core.$strip>;
9011
9163
  }, z.core.$strip>;
9012
9164
  export declare const ClearAgentAttentionResponseMessageSchema: z.ZodObject<{
@@ -9063,6 +9215,7 @@ export declare const ClearAgentAttentionResponseMessageSchema: z.ZodObject<{
9063
9215
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
9064
9216
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
9065
9217
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
9218
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
9066
9219
  lastError: z.ZodOptional<z.ZodString>;
9067
9220
  title: z.ZodNullable<z.ZodString>;
9068
9221
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -9585,6 +9738,7 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
9585
9738
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
9586
9739
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
9587
9740
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
9741
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
9588
9742
  lastError: z.ZodOptional<z.ZodString>;
9589
9743
  title: z.ZodNullable<z.ZodString>;
9590
9744
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -9716,6 +9870,24 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
9716
9870
  }, z.core.$loose>>;
9717
9871
  }, z.core.$loose>>>;
9718
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>>>;
9719
9891
  }, z.core.$loose>;
9720
9892
  }, z.core.$loose>;
9721
9893
  }, z.core.$strip>;
@@ -9919,6 +10091,24 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
9919
10091
  }, z.core.$loose>>;
9920
10092
  }, z.core.$loose>>>;
9921
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>>>;
9922
10112
  }, z.core.$loose>;
9923
10113
  }, z.core.$loose>;
9924
10114
  }, z.core.$strip>;
@@ -13054,6 +13244,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13054
13244
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
13055
13245
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
13056
13246
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
13247
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
13057
13248
  lastError: z.ZodOptional<z.ZodString>;
13058
13249
  title: z.ZodNullable<z.ZodString>;
13059
13250
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -13795,6 +13986,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13795
13986
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
13796
13987
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
13797
13988
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
13989
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
13798
13990
  lastError: z.ZodOptional<z.ZodString>;
13799
13991
  title: z.ZodNullable<z.ZodString>;
13800
13992
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -13874,6 +14066,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13874
14066
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
13875
14067
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
13876
14068
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
14069
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
13877
14070
  lastError: z.ZodOptional<z.ZodString>;
13878
14071
  title: z.ZodNullable<z.ZodString>;
13879
14072
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -14036,6 +14229,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14036
14229
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
14037
14230
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
14038
14231
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
14232
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
14039
14233
  lastError: z.ZodOptional<z.ZodString>;
14040
14234
  title: z.ZodNullable<z.ZodString>;
14041
14235
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -15105,6 +15299,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15105
15299
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
15106
15300
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
15107
15301
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
15302
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
15108
15303
  lastError: z.ZodOptional<z.ZodString>;
15109
15304
  title: z.ZodNullable<z.ZodString>;
15110
15305
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -15262,6 +15457,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15262
15457
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
15263
15458
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
15264
15459
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
15460
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
15265
15461
  lastError: z.ZodOptional<z.ZodString>;
15266
15462
  title: z.ZodNullable<z.ZodString>;
15267
15463
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -15413,6 +15609,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15413
15609
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
15414
15610
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
15415
15611
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
15612
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
15416
15613
  lastError: z.ZodOptional<z.ZodString>;
15417
15614
  title: z.ZodNullable<z.ZodString>;
15418
15615
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -15436,6 +15633,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15436
15633
  personalityName: z.ZodOptional<z.ZodString>;
15437
15634
  personalityId: z.ZodOptional<z.ZodString>;
15438
15635
  }, z.core.$strip>>;
15636
+ cancelled: z.ZodOptional<z.ZodBoolean>;
15439
15637
  }, z.core.$strip>;
15440
15638
  }, z.core.$strip>, z.ZodObject<{
15441
15639
  type: z.ZodLiteral<"clear_agent_attention_response">;
@@ -15491,6 +15689,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15491
15689
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
15492
15690
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
15493
15691
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
15692
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
15494
15693
  lastError: z.ZodOptional<z.ZodString>;
15495
15694
  title: z.ZodNullable<z.ZodString>;
15496
15695
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -16103,6 +16302,24 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
16103
16302
  }, z.core.$loose>>;
16104
16303
  }, z.core.$loose>>>;
16105
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>>>;
16106
16323
  }, z.core.$loose>;
16107
16324
  }, z.core.$loose>;
16108
16325
  }, z.core.$strip>, z.ZodObject<{
@@ -16209,6 +16426,24 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
16209
16426
  }, z.core.$loose>>;
16210
16427
  }, z.core.$loose>>>;
16211
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>>>;
16212
16447
  }, z.core.$loose>;
16213
16448
  }, z.core.$loose>;
16214
16449
  }, z.core.$strip>, z.ZodObject<{
@@ -16542,6 +16777,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
16542
16777
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
16543
16778
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
16544
16779
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
16780
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
16545
16781
  lastError: z.ZodOptional<z.ZodString>;
16546
16782
  title: z.ZodNullable<z.ZodString>;
16547
16783
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -18760,6 +18996,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18760
18996
  payload: z.ZodObject<{
18761
18997
  requestId: z.ZodString;
18762
18998
  schedule: z.ZodNullable<z.ZodObject<{
18999
+ prompt: z.ZodString;
18763
19000
  name: z.ZodNullable<z.ZodString>;
18764
19001
  status: z.ZodEnum<{
18765
19002
  completed: "completed";
@@ -18808,7 +19045,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18808
19045
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18809
19046
  }, z.core.$strip>;
18810
19047
  }, z.core.$strip>], "type">;
18811
- prompt: z.ZodString;
18812
19048
  nextRunAt: z.ZodNullable<z.ZodString>;
18813
19049
  lastRunAt: z.ZodNullable<z.ZodString>;
18814
19050
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -18827,6 +19063,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18827
19063
  payload: z.ZodObject<{
18828
19064
  requestId: z.ZodString;
18829
19065
  schedules: z.ZodArray<z.ZodObject<{
19066
+ prompt: z.ZodString;
18830
19067
  name: z.ZodNullable<z.ZodString>;
18831
19068
  status: z.ZodEnum<{
18832
19069
  completed: "completed";
@@ -18875,7 +19112,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18875
19112
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18876
19113
  }, z.core.$strip>;
18877
19114
  }, z.core.$strip>], "type">;
18878
- prompt: z.ZodString;
18879
19115
  nextRunAt: z.ZodNullable<z.ZodString>;
18880
19116
  lastRunAt: z.ZodNullable<z.ZodString>;
18881
19117
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -18997,6 +19233,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18997
19233
  payload: z.ZodObject<{
18998
19234
  requestId: z.ZodString;
18999
19235
  schedule: z.ZodNullable<z.ZodObject<{
19236
+ prompt: z.ZodString;
19000
19237
  name: z.ZodNullable<z.ZodString>;
19001
19238
  status: z.ZodEnum<{
19002
19239
  completed: "completed";
@@ -19045,7 +19282,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19045
19282
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19046
19283
  }, z.core.$strip>;
19047
19284
  }, z.core.$strip>], "type">;
19048
- prompt: z.ZodString;
19049
19285
  nextRunAt: z.ZodNullable<z.ZodString>;
19050
19286
  lastRunAt: z.ZodNullable<z.ZodString>;
19051
19287
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -19064,6 +19300,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19064
19300
  payload: z.ZodObject<{
19065
19301
  requestId: z.ZodString;
19066
19302
  schedule: z.ZodNullable<z.ZodObject<{
19303
+ prompt: z.ZodString;
19067
19304
  name: z.ZodNullable<z.ZodString>;
19068
19305
  status: z.ZodEnum<{
19069
19306
  completed: "completed";
@@ -19112,7 +19349,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19112
19349
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19113
19350
  }, z.core.$strip>;
19114
19351
  }, z.core.$strip>], "type">;
19115
- prompt: z.ZodString;
19116
19352
  nextRunAt: z.ZodNullable<z.ZodString>;
19117
19353
  lastRunAt: z.ZodNullable<z.ZodString>;
19118
19354
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -20440,8 +20676,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
20440
20676
  command: z.ZodLiteral<"wait">;
20441
20677
  browserId: z.ZodString;
20442
20678
  matched: z.ZodEnum<{
20443
- text: "text";
20444
20679
  url: "url";
20680
+ text: "text";
20445
20681
  }>;
20446
20682
  }, z.core.$strip>, z.ZodObject<{
20447
20683
  command: z.ZodLiteral<"type">;
@@ -20975,7 +21211,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
20975
21211
  }, z.core.$loose>>;
20976
21212
  }, z.core.$loose>>>;
20977
21213
  agentPersonalities: z.ZodOptional<z.ZodOptional<z.ZodObject<{
20978
- personalities: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
21214
+ personalities: z.ZodOptional<z.ZodArray<z.ZodObject<{
20979
21215
  id: z.ZodString;
20980
21216
  name: z.ZodString;
20981
21217
  provider: z.ZodString;
@@ -20994,8 +21230,26 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
20994
21230
  model: z.ZodString;
20995
21231
  name: z.ZodString;
20996
21232
  }, z.core.$loose>>;
20997
- }, 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>>;
20998
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>>>>;
20999
21253
  }, z.core.$loose>;
21000
21254
  }, z.core.$strip>, z.ZodObject<{
21001
21255
  type: z.ZodLiteral<"speech.settings.get_options.request">;
@@ -22260,6 +22514,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
22260
22514
  }, z.core.$strip>], "type">>;
22261
22515
  newAgentConfig: z.ZodOptional<z.ZodObject<{
22262
22516
  provider: z.ZodOptional<z.ZodString>;
22517
+ personality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22263
22518
  model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22264
22519
  modeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22265
22520
  thinkingOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -22748,6 +23003,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22748
23003
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
22749
23004
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
22750
23005
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
23006
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
22751
23007
  lastError: z.ZodOptional<z.ZodString>;
22752
23008
  title: z.ZodNullable<z.ZodString>;
22753
23009
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -23489,6 +23745,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23489
23745
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
23490
23746
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
23491
23747
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
23748
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
23492
23749
  lastError: z.ZodOptional<z.ZodString>;
23493
23750
  title: z.ZodNullable<z.ZodString>;
23494
23751
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -23568,6 +23825,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23568
23825
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
23569
23826
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
23570
23827
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
23828
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
23571
23829
  lastError: z.ZodOptional<z.ZodString>;
23572
23830
  title: z.ZodNullable<z.ZodString>;
23573
23831
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -23730,6 +23988,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23730
23988
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
23731
23989
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
23732
23990
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
23991
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
23733
23992
  lastError: z.ZodOptional<z.ZodString>;
23734
23993
  title: z.ZodNullable<z.ZodString>;
23735
23994
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -24799,6 +25058,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24799
25058
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
24800
25059
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
24801
25060
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
25061
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
24802
25062
  lastError: z.ZodOptional<z.ZodString>;
24803
25063
  title: z.ZodNullable<z.ZodString>;
24804
25064
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -24956,6 +25216,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24956
25216
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
24957
25217
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
24958
25218
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
25219
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
24959
25220
  lastError: z.ZodOptional<z.ZodString>;
24960
25221
  title: z.ZodNullable<z.ZodString>;
24961
25222
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -25107,6 +25368,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25107
25368
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
25108
25369
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
25109
25370
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
25371
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
25110
25372
  lastError: z.ZodOptional<z.ZodString>;
25111
25373
  title: z.ZodNullable<z.ZodString>;
25112
25374
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -25130,6 +25392,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25130
25392
  personalityName: z.ZodOptional<z.ZodString>;
25131
25393
  personalityId: z.ZodOptional<z.ZodString>;
25132
25394
  }, z.core.$strip>>;
25395
+ cancelled: z.ZodOptional<z.ZodBoolean>;
25133
25396
  }, z.core.$strip>;
25134
25397
  }, z.core.$strip>, z.ZodObject<{
25135
25398
  type: z.ZodLiteral<"clear_agent_attention_response">;
@@ -25185,6 +25448,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25185
25448
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
25186
25449
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
25187
25450
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
25451
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
25188
25452
  lastError: z.ZodOptional<z.ZodString>;
25189
25453
  title: z.ZodNullable<z.ZodString>;
25190
25454
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -25797,6 +26061,24 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25797
26061
  }, z.core.$loose>>;
25798
26062
  }, z.core.$loose>>>;
25799
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>>>;
25800
26082
  }, z.core.$loose>;
25801
26083
  }, z.core.$loose>;
25802
26084
  }, z.core.$strip>, z.ZodObject<{
@@ -25903,6 +26185,24 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25903
26185
  }, z.core.$loose>>;
25904
26186
  }, z.core.$loose>>>;
25905
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>>>;
25906
26206
  }, z.core.$loose>;
25907
26207
  }, z.core.$loose>;
25908
26208
  }, z.core.$strip>, z.ZodObject<{
@@ -26236,6 +26536,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26236
26536
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
26237
26537
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
26238
26538
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
26539
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
26239
26540
  lastError: z.ZodOptional<z.ZodString>;
26240
26541
  title: z.ZodNullable<z.ZodString>;
26241
26542
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -28454,6 +28755,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28454
28755
  payload: z.ZodObject<{
28455
28756
  requestId: z.ZodString;
28456
28757
  schedule: z.ZodNullable<z.ZodObject<{
28758
+ prompt: z.ZodString;
28457
28759
  name: z.ZodNullable<z.ZodString>;
28458
28760
  status: z.ZodEnum<{
28459
28761
  completed: "completed";
@@ -28502,7 +28804,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28502
28804
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
28503
28805
  }, z.core.$strip>;
28504
28806
  }, z.core.$strip>], "type">;
28505
- prompt: z.ZodString;
28506
28807
  nextRunAt: z.ZodNullable<z.ZodString>;
28507
28808
  lastRunAt: z.ZodNullable<z.ZodString>;
28508
28809
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -28521,6 +28822,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28521
28822
  payload: z.ZodObject<{
28522
28823
  requestId: z.ZodString;
28523
28824
  schedules: z.ZodArray<z.ZodObject<{
28825
+ prompt: z.ZodString;
28524
28826
  name: z.ZodNullable<z.ZodString>;
28525
28827
  status: z.ZodEnum<{
28526
28828
  completed: "completed";
@@ -28569,7 +28871,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28569
28871
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
28570
28872
  }, z.core.$strip>;
28571
28873
  }, z.core.$strip>], "type">;
28572
- prompt: z.ZodString;
28573
28874
  nextRunAt: z.ZodNullable<z.ZodString>;
28574
28875
  lastRunAt: z.ZodNullable<z.ZodString>;
28575
28876
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -28691,6 +28992,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28691
28992
  payload: z.ZodObject<{
28692
28993
  requestId: z.ZodString;
28693
28994
  schedule: z.ZodNullable<z.ZodObject<{
28995
+ prompt: z.ZodString;
28694
28996
  name: z.ZodNullable<z.ZodString>;
28695
28997
  status: z.ZodEnum<{
28696
28998
  completed: "completed";
@@ -28739,7 +29041,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28739
29041
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
28740
29042
  }, z.core.$strip>;
28741
29043
  }, z.core.$strip>], "type">;
28742
- prompt: z.ZodString;
28743
29044
  nextRunAt: z.ZodNullable<z.ZodString>;
28744
29045
  lastRunAt: z.ZodNullable<z.ZodString>;
28745
29046
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -28758,6 +29059,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28758
29059
  payload: z.ZodObject<{
28759
29060
  requestId: z.ZodString;
28760
29061
  schedule: z.ZodNullable<z.ZodObject<{
29062
+ prompt: z.ZodString;
28761
29063
  name: z.ZodNullable<z.ZodString>;
28762
29064
  status: z.ZodEnum<{
28763
29065
  completed: "completed";
@@ -28806,7 +29108,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28806
29108
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
28807
29109
  }, z.core.$strip>;
28808
29110
  }, z.core.$strip>], "type">;
28809
- prompt: z.ZodString;
28810
29111
  nextRunAt: z.ZodNullable<z.ZodString>;
28811
29112
  lastRunAt: z.ZodNullable<z.ZodString>;
28812
29113
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -29793,8 +30094,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
29793
30094
  command: z.ZodLiteral<"wait">;
29794
30095
  browserId: z.ZodString;
29795
30096
  matched: z.ZodEnum<{
29796
- text: "text";
29797
30097
  url: "url";
30098
+ text: "text";
29798
30099
  }>;
29799
30100
  }, z.core.$strip>, z.ZodObject<{
29800
30101
  command: z.ZodLiteral<"type">;
@@ -30328,7 +30629,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
30328
30629
  }, z.core.$loose>>;
30329
30630
  }, z.core.$loose>>>;
30330
30631
  agentPersonalities: z.ZodOptional<z.ZodOptional<z.ZodObject<{
30331
- personalities: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
30632
+ personalities: z.ZodOptional<z.ZodArray<z.ZodObject<{
30332
30633
  id: z.ZodString;
30333
30634
  name: z.ZodString;
30334
30635
  provider: z.ZodString;
@@ -30347,8 +30648,26 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
30347
30648
  model: z.ZodString;
30348
30649
  name: z.ZodString;
30349
30650
  }, z.core.$loose>>;
30350
- }, z.core.$loose>>>>;
30651
+ }, z.core.$loose>>>;
30351
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>>;
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>>>>;
30352
30671
  }, z.core.$loose>;
30353
30672
  }, z.core.$strip>, z.ZodObject<{
30354
30673
  type: z.ZodLiteral<"speech.settings.get_options.request">;
@@ -31613,6 +31932,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
31613
31932
  }, z.core.$strip>], "type">>;
31614
31933
  newAgentConfig: z.ZodOptional<z.ZodObject<{
31615
31934
  provider: z.ZodOptional<z.ZodString>;
31935
+ personality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31616
31936
  model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31617
31937
  modeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31618
31938
  thinkingOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -32103,6 +32423,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32103
32423
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
32104
32424
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
32105
32425
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
32426
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
32106
32427
  lastError: z.ZodOptional<z.ZodString>;
32107
32428
  title: z.ZodNullable<z.ZodString>;
32108
32429
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -32844,6 +33165,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32844
33165
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
32845
33166
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
32846
33167
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
33168
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
32847
33169
  lastError: z.ZodOptional<z.ZodString>;
32848
33170
  title: z.ZodNullable<z.ZodString>;
32849
33171
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -32923,6 +33245,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32923
33245
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
32924
33246
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
32925
33247
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
33248
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
32926
33249
  lastError: z.ZodOptional<z.ZodString>;
32927
33250
  title: z.ZodNullable<z.ZodString>;
32928
33251
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -33085,6 +33408,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33085
33408
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
33086
33409
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
33087
33410
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
33411
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
33088
33412
  lastError: z.ZodOptional<z.ZodString>;
33089
33413
  title: z.ZodNullable<z.ZodString>;
33090
33414
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -34154,6 +34478,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34154
34478
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
34155
34479
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
34156
34480
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
34481
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
34157
34482
  lastError: z.ZodOptional<z.ZodString>;
34158
34483
  title: z.ZodNullable<z.ZodString>;
34159
34484
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -34311,6 +34636,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34311
34636
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
34312
34637
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
34313
34638
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
34639
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
34314
34640
  lastError: z.ZodOptional<z.ZodString>;
34315
34641
  title: z.ZodNullable<z.ZodString>;
34316
34642
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -34462,6 +34788,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34462
34788
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
34463
34789
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
34464
34790
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
34791
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
34465
34792
  lastError: z.ZodOptional<z.ZodString>;
34466
34793
  title: z.ZodNullable<z.ZodString>;
34467
34794
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -34485,6 +34812,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34485
34812
  personalityName: z.ZodOptional<z.ZodString>;
34486
34813
  personalityId: z.ZodOptional<z.ZodString>;
34487
34814
  }, z.core.$strip>>;
34815
+ cancelled: z.ZodOptional<z.ZodBoolean>;
34488
34816
  }, z.core.$strip>;
34489
34817
  }, z.core.$strip>, z.ZodObject<{
34490
34818
  type: z.ZodLiteral<"clear_agent_attention_response">;
@@ -34540,6 +34868,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34540
34868
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
34541
34869
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
34542
34870
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
34871
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
34543
34872
  lastError: z.ZodOptional<z.ZodString>;
34544
34873
  title: z.ZodNullable<z.ZodString>;
34545
34874
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -35152,6 +35481,24 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35152
35481
  }, z.core.$loose>>;
35153
35482
  }, z.core.$loose>>>;
35154
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>>>;
35155
35502
  }, z.core.$loose>;
35156
35503
  }, z.core.$loose>;
35157
35504
  }, z.core.$strip>, z.ZodObject<{
@@ -35258,6 +35605,24 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35258
35605
  }, z.core.$loose>>;
35259
35606
  }, z.core.$loose>>>;
35260
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>>>;
35261
35626
  }, z.core.$loose>;
35262
35627
  }, z.core.$loose>;
35263
35628
  }, z.core.$strip>, z.ZodObject<{
@@ -35591,6 +35956,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35591
35956
  persistence: z.ZodNullable<z.ZodType<AgentPersistenceHandle | null, unknown, z.core.$ZodTypeInternals<AgentPersistenceHandle | null, unknown>>>;
35592
35957
  runtimeInfo: z.ZodOptional<z.ZodType<AgentRuntimeInfo, unknown, z.core.$ZodTypeInternals<AgentRuntimeInfo, unknown>>>;
35593
35958
  lastUsage: z.ZodOptional<z.ZodType<AgentUsage, unknown, z.core.$ZodTypeInternals<AgentUsage, unknown>>>;
35959
+ cumulativeTokens: z.ZodOptional<z.ZodNumber>;
35594
35960
  lastError: z.ZodOptional<z.ZodString>;
35595
35961
  title: z.ZodNullable<z.ZodString>;
35596
35962
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -37809,6 +38175,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37809
38175
  payload: z.ZodObject<{
37810
38176
  requestId: z.ZodString;
37811
38177
  schedule: z.ZodNullable<z.ZodObject<{
38178
+ prompt: z.ZodString;
37812
38179
  name: z.ZodNullable<z.ZodString>;
37813
38180
  status: z.ZodEnum<{
37814
38181
  completed: "completed";
@@ -37857,7 +38224,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37857
38224
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
37858
38225
  }, z.core.$strip>;
37859
38226
  }, z.core.$strip>], "type">;
37860
- prompt: z.ZodString;
37861
38227
  nextRunAt: z.ZodNullable<z.ZodString>;
37862
38228
  lastRunAt: z.ZodNullable<z.ZodString>;
37863
38229
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -37876,6 +38242,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37876
38242
  payload: z.ZodObject<{
37877
38243
  requestId: z.ZodString;
37878
38244
  schedules: z.ZodArray<z.ZodObject<{
38245
+ prompt: z.ZodString;
37879
38246
  name: z.ZodNullable<z.ZodString>;
37880
38247
  status: z.ZodEnum<{
37881
38248
  completed: "completed";
@@ -37924,7 +38291,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37924
38291
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
37925
38292
  }, z.core.$strip>;
37926
38293
  }, z.core.$strip>], "type">;
37927
- prompt: z.ZodString;
37928
38294
  nextRunAt: z.ZodNullable<z.ZodString>;
37929
38295
  lastRunAt: z.ZodNullable<z.ZodString>;
37930
38296
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -38046,6 +38412,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38046
38412
  payload: z.ZodObject<{
38047
38413
  requestId: z.ZodString;
38048
38414
  schedule: z.ZodNullable<z.ZodObject<{
38415
+ prompt: z.ZodString;
38049
38416
  name: z.ZodNullable<z.ZodString>;
38050
38417
  status: z.ZodEnum<{
38051
38418
  completed: "completed";
@@ -38094,7 +38461,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38094
38461
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
38095
38462
  }, z.core.$strip>;
38096
38463
  }, z.core.$strip>], "type">;
38097
- prompt: z.ZodString;
38098
38464
  nextRunAt: z.ZodNullable<z.ZodString>;
38099
38465
  lastRunAt: z.ZodNullable<z.ZodString>;
38100
38466
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -38113,6 +38479,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38113
38479
  payload: z.ZodObject<{
38114
38480
  requestId: z.ZodString;
38115
38481
  schedule: z.ZodNullable<z.ZodObject<{
38482
+ prompt: z.ZodString;
38116
38483
  name: z.ZodNullable<z.ZodString>;
38117
38484
  status: z.ZodEnum<{
38118
38485
  completed: "completed";
@@ -38161,7 +38528,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38161
38528
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
38162
38529
  }, z.core.$strip>;
38163
38530
  }, z.core.$strip>], "type">;
38164
- prompt: z.ZodString;
38165
38531
  nextRunAt: z.ZodNullable<z.ZodString>;
38166
38532
  lastRunAt: z.ZodNullable<z.ZodString>;
38167
38533
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{