@otto-code/protocol 0.8.6 → 0.8.8

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.
@@ -207,6 +207,14 @@ export declare const MutableBrainConfigSchema: z.ZodObject<{
207
207
  port: z.ZodDefault<z.ZodNumber>;
208
208
  }, z.core.$loose>>;
209
209
  defaultModel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
210
+ runtime: z.ZodDefault<z.ZodObject<{
211
+ source: z.ZodDefault<z.ZodEnum<{
212
+ auto: "auto";
213
+ managed: "managed";
214
+ lmstudio: "lmstudio";
215
+ }>>;
216
+ path: z.ZodDefault<z.ZodNullable<z.ZodString>>;
217
+ }, z.core.$strip>>;
210
218
  lockModel: z.ZodDefault<z.ZodBoolean>;
211
219
  allowRemoteConfig: z.ZodDefault<z.ZodBoolean>;
212
220
  allowInsecureBind: z.ZodDefault<z.ZodBoolean>;
@@ -249,6 +257,14 @@ export declare const MutableBrainConfigPatchSchema: z.ZodObject<{
249
257
  port: z.ZodOptional<z.ZodNumber>;
250
258
  }, z.core.$loose>>;
251
259
  defaultModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
260
+ runtime: z.ZodOptional<z.ZodObject<{
261
+ source: z.ZodOptional<z.ZodEnum<{
262
+ auto: "auto";
263
+ managed: "managed";
264
+ lmstudio: "lmstudio";
265
+ }>>;
266
+ path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
267
+ }, z.core.$strip>>;
252
268
  lockModel: z.ZodOptional<z.ZodBoolean>;
253
269
  allowRemoteConfig: z.ZodOptional<z.ZodBoolean>;
254
270
  allowInsecureBind: z.ZodOptional<z.ZodBoolean>;
@@ -287,6 +303,10 @@ export declare const DEFAULT_MUTABLE_BRAIN_CONFIG: {
287
303
  port: number;
288
304
  };
289
305
  defaultModel: null;
306
+ runtime: {
307
+ source: "auto";
308
+ path: null;
309
+ };
290
310
  lockModel: boolean;
291
311
  allowRemoteConfig: boolean;
292
312
  allowInsecureBind: boolean;
@@ -500,6 +520,14 @@ export declare const MutableDaemonConfigSchema: z.ZodObject<{
500
520
  port: z.ZodDefault<z.ZodNumber>;
501
521
  }, z.core.$loose>>;
502
522
  defaultModel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
523
+ runtime: z.ZodDefault<z.ZodObject<{
524
+ source: z.ZodDefault<z.ZodEnum<{
525
+ auto: "auto";
526
+ managed: "managed";
527
+ lmstudio: "lmstudio";
528
+ }>>;
529
+ path: z.ZodDefault<z.ZodNullable<z.ZodString>>;
530
+ }, z.core.$strip>>;
503
531
  lockModel: z.ZodDefault<z.ZodBoolean>;
504
532
  allowRemoteConfig: z.ZodDefault<z.ZodBoolean>;
505
533
  allowInsecureBind: z.ZodDefault<z.ZodBoolean>;
@@ -767,6 +795,14 @@ export declare const MutableDaemonConfigPatchSchema: z.ZodObject<{
767
795
  port: z.ZodOptional<z.ZodNumber>;
768
796
  }, z.core.$loose>>;
769
797
  defaultModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
798
+ runtime: z.ZodOptional<z.ZodObject<{
799
+ source: z.ZodOptional<z.ZodEnum<{
800
+ auto: "auto";
801
+ managed: "managed";
802
+ lmstudio: "lmstudio";
803
+ }>>;
804
+ path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
805
+ }, z.core.$strip>>;
770
806
  lockModel: z.ZodOptional<z.ZodBoolean>;
771
807
  allowRemoteConfig: z.ZodOptional<z.ZodBoolean>;
772
808
  allowInsecureBind: z.ZodOptional<z.ZodBoolean>;
@@ -1133,6 +1169,7 @@ export declare const AgentSnapshotPayloadSchema: z.ZodObject<{
1133
1169
  }>>>;
1134
1170
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1135
1171
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1172
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
1136
1173
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
1137
1174
  attend: z.ZodOptional<z.ZodEnum<{
1138
1175
  attended: "attended";
@@ -1235,6 +1272,21 @@ export declare const HistoryAgentsClearArchivedResponseSchema: z.ZodObject<{
1235
1272
  dryRun: z.ZodBoolean;
1236
1273
  error: z.ZodNullable<z.ZodString>;
1237
1274
  requestId: z.ZodString;
1275
+ ottoBytes: z.ZodOptional<z.ZodNumber>;
1276
+ reclaimedBytes: z.ZodOptional<z.ZodNumber>;
1277
+ }, z.core.$strip>;
1278
+ }, z.core.$strip>;
1279
+ export declare const HistoryAgentsStorageStatsRequestSchema: z.ZodObject<{
1280
+ type: z.ZodLiteral<"history.agents.get_storage_stats.request">;
1281
+ requestId: z.ZodString;
1282
+ }, z.core.$strip>;
1283
+ export declare const HistoryAgentsStorageStatsResponseSchema: z.ZodObject<{
1284
+ type: z.ZodLiteral<"history.agents.get_storage_stats.response">;
1285
+ payload: z.ZodObject<{
1286
+ archivedCount: z.ZodNumber;
1287
+ totalBytes: z.ZodNumber;
1288
+ error: z.ZodNullable<z.ZodString>;
1289
+ requestId: z.ZodString;
1238
1290
  }, z.core.$strip>;
1239
1291
  }, z.core.$strip>;
1240
1292
  export declare const UpdateAgentRequestMessageSchema: z.ZodObject<{
@@ -1850,10 +1902,24 @@ export declare const BrainCatalogModelSchema: z.ZodObject<{
1850
1902
  tier: z.ZodDefault<z.ZodString>;
1851
1903
  useCases: z.ZodDefault<z.ZodArray<z.ZodString>>;
1852
1904
  why: z.ZodDefault<z.ZodString>;
1905
+ components: z.ZodOptional<z.ZodArray<z.ZodObject<{
1906
+ id: z.ZodString;
1907
+ label: z.ZodDefault<z.ZodString>;
1908
+ description: z.ZodDefault<z.ZodString>;
1909
+ role: z.ZodDefault<z.ZodString>;
1910
+ hfRepo: z.ZodOptional<z.ZodString>;
1911
+ file: z.ZodDefault<z.ZodString>;
1912
+ bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1913
+ required: z.ZodDefault<z.ZodBoolean>;
1914
+ defaultDownload: z.ZodDefault<z.ZodBoolean>;
1915
+ defaultLoad: z.ZodDefault<z.ZodBoolean>;
1916
+ minRuntimeBuild: z.ZodOptional<z.ZodNumber>;
1917
+ }, z.core.$strip>>>;
1853
1918
  }, z.core.$loose>;
1854
1919
  export type BrainCatalogModel = z.infer<typeof BrainCatalogModelSchema>;
1855
1920
  export declare const BrainRuntimeSchema: z.ZodObject<{
1856
1921
  label: z.ZodDefault<z.ZodString>;
1922
+ displayName: z.ZodDefault<z.ZodString>;
1857
1923
  version: z.ZodDefault<z.ZodString>;
1858
1924
  source: z.ZodDefault<z.ZodString>;
1859
1925
  dir: z.ZodDefault<z.ZodString>;
@@ -1862,6 +1928,7 @@ export type BrainRuntime = z.infer<typeof BrainRuntimeSchema>;
1862
1928
  export declare const BrainJobKindSchema: z.ZodEnum<{
1863
1929
  pull: "pull";
1864
1930
  "runtime-install": "runtime-install";
1931
+ "runtime-remove": "runtime-remove";
1865
1932
  calibrate: "calibrate";
1866
1933
  sweep: "sweep";
1867
1934
  bench: "bench";
@@ -1879,6 +1946,7 @@ export declare const BrainJobSchema: z.ZodObject<{
1879
1946
  kind: z.ZodEnum<{
1880
1947
  pull: "pull";
1881
1948
  "runtime-install": "runtime-install";
1949
+ "runtime-remove": "runtime-remove";
1882
1950
  calibrate: "calibrate";
1883
1951
  sweep: "sweep";
1884
1952
  bench: "bench";
@@ -1943,6 +2011,19 @@ export declare const BrainCatalogListResponseSchema: z.ZodObject<{
1943
2011
  tier: z.ZodDefault<z.ZodString>;
1944
2012
  useCases: z.ZodDefault<z.ZodArray<z.ZodString>>;
1945
2013
  why: z.ZodDefault<z.ZodString>;
2014
+ components: z.ZodOptional<z.ZodArray<z.ZodObject<{
2015
+ id: z.ZodString;
2016
+ label: z.ZodDefault<z.ZodString>;
2017
+ description: z.ZodDefault<z.ZodString>;
2018
+ role: z.ZodDefault<z.ZodString>;
2019
+ hfRepo: z.ZodOptional<z.ZodString>;
2020
+ file: z.ZodDefault<z.ZodString>;
2021
+ bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2022
+ required: z.ZodDefault<z.ZodBoolean>;
2023
+ defaultDownload: z.ZodDefault<z.ZodBoolean>;
2024
+ defaultLoad: z.ZodDefault<z.ZodBoolean>;
2025
+ minRuntimeBuild: z.ZodOptional<z.ZodNumber>;
2026
+ }, z.core.$strip>>>;
1946
2027
  }, z.core.$loose>>>;
1947
2028
  error: z.ZodNullable<z.ZodString>;
1948
2029
  requestId: z.ZodString;
@@ -1957,6 +2038,7 @@ export declare const BrainRuntimeListResponseSchema: z.ZodObject<{
1957
2038
  payload: z.ZodObject<{
1958
2039
  runtimes: z.ZodDefault<z.ZodArray<z.ZodObject<{
1959
2040
  label: z.ZodDefault<z.ZodString>;
2041
+ displayName: z.ZodDefault<z.ZodString>;
1960
2042
  version: z.ZodDefault<z.ZodString>;
1961
2043
  source: z.ZodDefault<z.ZodString>;
1962
2044
  dir: z.ZodDefault<z.ZodString>;
@@ -1968,6 +2050,8 @@ export declare const BrainRuntimeListResponseSchema: z.ZodObject<{
1968
2050
  export declare const BrainModelsPullRequestSchema: z.ZodObject<{
1969
2051
  type: z.ZodLiteral<"brain.models.pull.request">;
1970
2052
  model: z.ZodString;
2053
+ quant: z.ZodOptional<z.ZodString>;
2054
+ components: z.ZodOptional<z.ZodArray<z.ZodString>>;
1971
2055
  requestId: z.ZodString;
1972
2056
  }, z.core.$strip>;
1973
2057
  export declare const BrainModelsPullResponseSchema: z.ZodObject<{
@@ -1978,6 +2062,7 @@ export declare const BrainModelsPullResponseSchema: z.ZodObject<{
1978
2062
  kind: z.ZodEnum<{
1979
2063
  pull: "pull";
1980
2064
  "runtime-install": "runtime-install";
2065
+ "runtime-remove": "runtime-remove";
1981
2066
  calibrate: "calibrate";
1982
2067
  sweep: "sweep";
1983
2068
  bench: "bench";
@@ -2013,6 +2098,43 @@ export declare const BrainRuntimeInstallResponseSchema: z.ZodObject<{
2013
2098
  kind: z.ZodEnum<{
2014
2099
  pull: "pull";
2015
2100
  "runtime-install": "runtime-install";
2101
+ "runtime-remove": "runtime-remove";
2102
+ calibrate: "calibrate";
2103
+ sweep: "sweep";
2104
+ bench: "bench";
2105
+ }>;
2106
+ label: z.ZodDefault<z.ZodString>;
2107
+ target: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2108
+ status: z.ZodDefault<z.ZodEnum<{
2109
+ running: "running";
2110
+ failed: "failed";
2111
+ canceled: "canceled";
2112
+ succeeded: "succeeded";
2113
+ }>>;
2114
+ percent: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
2115
+ message: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2116
+ error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2117
+ startedAt: z.ZodDefault<z.ZodString>;
2118
+ finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2119
+ }, z.core.$loose>>;
2120
+ error: z.ZodNullable<z.ZodString>;
2121
+ requestId: z.ZodString;
2122
+ }, z.core.$strip>;
2123
+ }, z.core.$strip>;
2124
+ export declare const BrainRuntimeRemoveRequestSchema: z.ZodObject<{
2125
+ type: z.ZodLiteral<"brain.runtime.remove.request">;
2126
+ name: z.ZodString;
2127
+ requestId: z.ZodString;
2128
+ }, z.core.$strip>;
2129
+ export declare const BrainRuntimeRemoveResponseSchema: z.ZodObject<{
2130
+ type: z.ZodLiteral<"brain.runtime.remove.response">;
2131
+ payload: z.ZodObject<{
2132
+ job: z.ZodNullable<z.ZodObject<{
2133
+ id: z.ZodString;
2134
+ kind: z.ZodEnum<{
2135
+ pull: "pull";
2136
+ "runtime-install": "runtime-install";
2137
+ "runtime-remove": "runtime-remove";
2016
2138
  calibrate: "calibrate";
2017
2139
  sweep: "sweep";
2018
2140
  bench: "bench";
@@ -2048,6 +2170,7 @@ export declare const BrainCalibrateResponseSchema: z.ZodObject<{
2048
2170
  kind: z.ZodEnum<{
2049
2171
  pull: "pull";
2050
2172
  "runtime-install": "runtime-install";
2173
+ "runtime-remove": "runtime-remove";
2051
2174
  calibrate: "calibrate";
2052
2175
  sweep: "sweep";
2053
2176
  bench: "bench";
@@ -2083,6 +2206,7 @@ export declare const BrainSweepResponseSchema: z.ZodObject<{
2083
2206
  kind: z.ZodEnum<{
2084
2207
  pull: "pull";
2085
2208
  "runtime-install": "runtime-install";
2209
+ "runtime-remove": "runtime-remove";
2086
2210
  calibrate: "calibrate";
2087
2211
  sweep: "sweep";
2088
2212
  bench: "bench";
@@ -2118,6 +2242,7 @@ export declare const BrainBenchResponseSchema: z.ZodObject<{
2118
2242
  kind: z.ZodEnum<{
2119
2243
  pull: "pull";
2120
2244
  "runtime-install": "runtime-install";
2245
+ "runtime-remove": "runtime-remove";
2121
2246
  calibrate: "calibrate";
2122
2247
  sweep: "sweep";
2123
2248
  bench: "bench";
@@ -2152,6 +2277,7 @@ export declare const BrainJobsListResponseSchema: z.ZodObject<{
2152
2277
  kind: z.ZodEnum<{
2153
2278
  pull: "pull";
2154
2279
  "runtime-install": "runtime-install";
2280
+ "runtime-remove": "runtime-remove";
2155
2281
  calibrate: "calibrate";
2156
2282
  sweep: "sweep";
2157
2283
  bench: "bench";
@@ -2187,6 +2313,7 @@ export declare const BrainJobsCancelResponseSchema: z.ZodObject<{
2187
2313
  kind: z.ZodEnum<{
2188
2314
  pull: "pull";
2189
2315
  "runtime-install": "runtime-install";
2316
+ "runtime-remove": "runtime-remove";
2190
2317
  calibrate: "calibrate";
2191
2318
  sweep: "sweep";
2192
2319
  bench: "bench";
@@ -2214,6 +2341,7 @@ export declare const BrainHfSearchResultSchema: z.ZodObject<{
2214
2341
  downloads: z.ZodDefault<z.ZodNumber>;
2215
2342
  likes: z.ZodDefault<z.ZodNumber>;
2216
2343
  gated: z.ZodDefault<z.ZodBoolean>;
2344
+ summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2217
2345
  installed: z.ZodDefault<z.ZodBoolean>;
2218
2346
  }, z.core.$loose>;
2219
2347
  export type BrainHfSearchResult = z.infer<typeof BrainHfSearchResultSchema>;
@@ -2222,7 +2350,14 @@ export declare const BrainRepoQuantSchema: z.ZodObject<{
2222
2350
  size: z.ZodDefault<z.ZodString>;
2223
2351
  sizeBytes: z.ZodDefault<z.ZodNumber>;
2224
2352
  files: z.ZodDefault<z.ZodNumber>;
2353
+ fileNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
2225
2354
  installed: z.ZodDefault<z.ZodBoolean>;
2355
+ modelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2356
+ projector: z.ZodOptional<z.ZodObject<{
2357
+ file: z.ZodString;
2358
+ sizeBytes: z.ZodNumber;
2359
+ installed: z.ZodOptional<z.ZodBoolean>;
2360
+ }, z.core.$strip>>;
2226
2361
  }, z.core.$loose>;
2227
2362
  export type BrainRepoQuant = z.infer<typeof BrainRepoQuantSchema>;
2228
2363
  export declare const BrainHfSearchRequestSchema: z.ZodObject<{
@@ -2239,6 +2374,7 @@ export declare const BrainHfSearchResponseSchema: z.ZodObject<{
2239
2374
  downloads: z.ZodDefault<z.ZodNumber>;
2240
2375
  likes: z.ZodDefault<z.ZodNumber>;
2241
2376
  gated: z.ZodDefault<z.ZodBoolean>;
2377
+ summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2242
2378
  installed: z.ZodDefault<z.ZodBoolean>;
2243
2379
  }, z.core.$loose>>>;
2244
2380
  error: z.ZodNullable<z.ZodString>;
@@ -2258,7 +2394,14 @@ export declare const BrainHfQuantsResponseSchema: z.ZodObject<{
2258
2394
  size: z.ZodDefault<z.ZodString>;
2259
2395
  sizeBytes: z.ZodDefault<z.ZodNumber>;
2260
2396
  files: z.ZodDefault<z.ZodNumber>;
2397
+ fileNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
2261
2398
  installed: z.ZodDefault<z.ZodBoolean>;
2399
+ modelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2400
+ projector: z.ZodOptional<z.ZodObject<{
2401
+ file: z.ZodString;
2402
+ sizeBytes: z.ZodNumber;
2403
+ installed: z.ZodOptional<z.ZodBoolean>;
2404
+ }, z.core.$strip>>;
2262
2405
  }, z.core.$loose>>>;
2263
2406
  error: z.ZodNullable<z.ZodString>;
2264
2407
  requestId: z.ZodString;
@@ -2268,6 +2411,7 @@ export declare const BrainModelsAddRequestSchema: z.ZodObject<{
2268
2411
  type: z.ZodLiteral<"brain.models.add.request">;
2269
2412
  repo: z.ZodString;
2270
2413
  quant: z.ZodString;
2414
+ components: z.ZodOptional<z.ZodArray<z.ZodString>>;
2271
2415
  requestId: z.ZodString;
2272
2416
  }, z.core.$strip>;
2273
2417
  export declare const BrainModelsAddResponseSchema: z.ZodObject<{
@@ -2278,6 +2422,7 @@ export declare const BrainModelsAddResponseSchema: z.ZodObject<{
2278
2422
  kind: z.ZodEnum<{
2279
2423
  pull: "pull";
2280
2424
  "runtime-install": "runtime-install";
2425
+ "runtime-remove": "runtime-remove";
2281
2426
  calibrate: "calibrate";
2282
2427
  sweep: "sweep";
2283
2428
  bench: "bench";
@@ -2312,6 +2457,7 @@ export declare const BrainProfileSchema: z.ZodObject<{
2312
2457
  flashAttention: z.ZodDefault<z.ZodBoolean>;
2313
2458
  gpuLayers: z.ZodDefault<z.ZodNumber>;
2314
2459
  vision: z.ZodDefault<z.ZodBoolean>;
2460
+ enabledComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
2315
2461
  reasoningBudget: z.ZodDefault<z.ZodNumber>;
2316
2462
  parallelSlots: z.ZodDefault<z.ZodNumber>;
2317
2463
  }, z.core.$loose>;
@@ -2354,6 +2500,9 @@ export type BrainCalibrationInfo = z.infer<typeof BrainCalibrationInfoSchema>;
2354
2500
  export declare const BrainBudgetSchema: z.ZodObject<{
2355
2501
  weightsBytes: z.ZodDefault<z.ZodNumber>;
2356
2502
  mmprojBytes: z.ZodDefault<z.ZodNumber>;
2503
+ componentBytes: z.ZodOptional<z.ZodNumber>;
2504
+ drafterKvBytes: z.ZodOptional<z.ZodNumber>;
2505
+ imageProcessingBytes: z.ZodOptional<z.ZodNumber>;
2357
2506
  kvBytes: z.ZodDefault<z.ZodNumber>;
2358
2507
  overheadBytes: z.ZodDefault<z.ZodNumber>;
2359
2508
  totalBytes: z.ZodDefault<z.ZodNumber>;
@@ -2397,6 +2546,19 @@ export declare const BrainInventoryModelSchema: z.ZodObject<{
2397
2546
  blockCount: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
2398
2547
  headCountKv: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
2399
2548
  hasProjector: z.ZodDefault<z.ZodBoolean>;
2549
+ components: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2550
+ id: z.ZodString;
2551
+ label: z.ZodDefault<z.ZodString>;
2552
+ description: z.ZodDefault<z.ZodString>;
2553
+ role: z.ZodDefault<z.ZodString>;
2554
+ bytes: z.ZodDefault<z.ZodNumber>;
2555
+ available: z.ZodDefault<z.ZodBoolean>;
2556
+ unavailableReason: z.ZodOptional<z.ZodString>;
2557
+ required: z.ZodDefault<z.ZodBoolean>;
2558
+ defaultDownload: z.ZodDefault<z.ZodBoolean>;
2559
+ defaultLoad: z.ZodDefault<z.ZodBoolean>;
2560
+ minRuntimeBuild: z.ZodOptional<z.ZodNumber>;
2561
+ }, z.core.$strip>>>>;
2400
2562
  reasoning: z.ZodDefault<z.ZodBoolean>;
2401
2563
  mtp: z.ZodDefault<z.ZodBoolean>;
2402
2564
  distilled: z.ZodDefault<z.ZodBoolean>;
@@ -2409,6 +2571,7 @@ export declare const BrainInventoryModelSchema: z.ZodObject<{
2409
2571
  flashAttention: z.ZodDefault<z.ZodBoolean>;
2410
2572
  gpuLayers: z.ZodDefault<z.ZodNumber>;
2411
2573
  vision: z.ZodDefault<z.ZodBoolean>;
2574
+ enabledComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
2412
2575
  reasoningBudget: z.ZodDefault<z.ZodNumber>;
2413
2576
  parallelSlots: z.ZodDefault<z.ZodNumber>;
2414
2577
  }, z.core.$loose>>>;
@@ -2421,6 +2584,9 @@ export declare const BrainInventoryModelSchema: z.ZodObject<{
2421
2584
  budget: z.ZodDefault<z.ZodNullable<z.ZodObject<{
2422
2585
  weightsBytes: z.ZodDefault<z.ZodNumber>;
2423
2586
  mmprojBytes: z.ZodDefault<z.ZodNumber>;
2587
+ componentBytes: z.ZodOptional<z.ZodNumber>;
2588
+ drafterKvBytes: z.ZodOptional<z.ZodNumber>;
2589
+ imageProcessingBytes: z.ZodOptional<z.ZodNumber>;
2424
2590
  kvBytes: z.ZodDefault<z.ZodNumber>;
2425
2591
  overheadBytes: z.ZodDefault<z.ZodNumber>;
2426
2592
  totalBytes: z.ZodDefault<z.ZodNumber>;
@@ -2479,6 +2645,19 @@ export declare const BrainModelsInventoryResponseSchema: z.ZodObject<{
2479
2645
  blockCount: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
2480
2646
  headCountKv: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
2481
2647
  hasProjector: z.ZodDefault<z.ZodBoolean>;
2648
+ components: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2649
+ id: z.ZodString;
2650
+ label: z.ZodDefault<z.ZodString>;
2651
+ description: z.ZodDefault<z.ZodString>;
2652
+ role: z.ZodDefault<z.ZodString>;
2653
+ bytes: z.ZodDefault<z.ZodNumber>;
2654
+ available: z.ZodDefault<z.ZodBoolean>;
2655
+ unavailableReason: z.ZodOptional<z.ZodString>;
2656
+ required: z.ZodDefault<z.ZodBoolean>;
2657
+ defaultDownload: z.ZodDefault<z.ZodBoolean>;
2658
+ defaultLoad: z.ZodDefault<z.ZodBoolean>;
2659
+ minRuntimeBuild: z.ZodOptional<z.ZodNumber>;
2660
+ }, z.core.$strip>>>>;
2482
2661
  reasoning: z.ZodDefault<z.ZodBoolean>;
2483
2662
  mtp: z.ZodDefault<z.ZodBoolean>;
2484
2663
  distilled: z.ZodDefault<z.ZodBoolean>;
@@ -2491,6 +2670,7 @@ export declare const BrainModelsInventoryResponseSchema: z.ZodObject<{
2491
2670
  flashAttention: z.ZodDefault<z.ZodBoolean>;
2492
2671
  gpuLayers: z.ZodDefault<z.ZodNumber>;
2493
2672
  vision: z.ZodDefault<z.ZodBoolean>;
2673
+ enabledComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
2494
2674
  reasoningBudget: z.ZodDefault<z.ZodNumber>;
2495
2675
  parallelSlots: z.ZodDefault<z.ZodNumber>;
2496
2676
  }, z.core.$loose>>>;
@@ -2503,6 +2683,9 @@ export declare const BrainModelsInventoryResponseSchema: z.ZodObject<{
2503
2683
  budget: z.ZodDefault<z.ZodNullable<z.ZodObject<{
2504
2684
  weightsBytes: z.ZodDefault<z.ZodNumber>;
2505
2685
  mmprojBytes: z.ZodDefault<z.ZodNumber>;
2686
+ componentBytes: z.ZodOptional<z.ZodNumber>;
2687
+ drafterKvBytes: z.ZodOptional<z.ZodNumber>;
2688
+ imageProcessingBytes: z.ZodOptional<z.ZodNumber>;
2506
2689
  kvBytes: z.ZodDefault<z.ZodNumber>;
2507
2690
  overheadBytes: z.ZodDefault<z.ZodNumber>;
2508
2691
  totalBytes: z.ZodDefault<z.ZodNumber>;
@@ -2558,6 +2741,7 @@ export declare const BrainModelProfileGetResponseSchema: z.ZodObject<{
2558
2741
  flashAttention: z.ZodDefault<z.ZodBoolean>;
2559
2742
  gpuLayers: z.ZodDefault<z.ZodNumber>;
2560
2743
  vision: z.ZodDefault<z.ZodBoolean>;
2744
+ enabledComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
2561
2745
  reasoningBudget: z.ZodDefault<z.ZodNumber>;
2562
2746
  parallelSlots: z.ZodDefault<z.ZodNumber>;
2563
2747
  }, z.core.$loose>>>;
@@ -2605,6 +2789,7 @@ export declare const BrainModelProfileSetResponseSchema: z.ZodObject<{
2605
2789
  flashAttention: z.ZodDefault<z.ZodBoolean>;
2606
2790
  gpuLayers: z.ZodDefault<z.ZodNumber>;
2607
2791
  vision: z.ZodDefault<z.ZodBoolean>;
2792
+ enabledComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
2608
2793
  reasoningBudget: z.ZodDefault<z.ZodNumber>;
2609
2794
  parallelSlots: z.ZodDefault<z.ZodNumber>;
2610
2795
  }, z.core.$loose>>>;
@@ -2624,6 +2809,9 @@ export declare const BrainModelProfileSetResponseSchema: z.ZodObject<{
2624
2809
  budget: z.ZodDefault<z.ZodNullable<z.ZodObject<{
2625
2810
  weightsBytes: z.ZodDefault<z.ZodNumber>;
2626
2811
  mmprojBytes: z.ZodDefault<z.ZodNumber>;
2812
+ componentBytes: z.ZodOptional<z.ZodNumber>;
2813
+ drafterKvBytes: z.ZodOptional<z.ZodNumber>;
2814
+ imageProcessingBytes: z.ZodOptional<z.ZodNumber>;
2627
2815
  kvBytes: z.ZodDefault<z.ZodNumber>;
2628
2816
  overheadBytes: z.ZodDefault<z.ZodNumber>;
2629
2817
  totalBytes: z.ZodDefault<z.ZodNumber>;
@@ -2659,12 +2847,16 @@ export declare const BrainModelBudgetGetResponseSchema: z.ZodObject<{
2659
2847
  flashAttention: z.ZodDefault<z.ZodBoolean>;
2660
2848
  gpuLayers: z.ZodDefault<z.ZodNumber>;
2661
2849
  vision: z.ZodDefault<z.ZodBoolean>;
2850
+ enabledComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
2662
2851
  reasoningBudget: z.ZodDefault<z.ZodNumber>;
2663
2852
  parallelSlots: z.ZodDefault<z.ZodNumber>;
2664
2853
  }, z.core.$loose>>>;
2665
2854
  budget: z.ZodDefault<z.ZodNullable<z.ZodObject<{
2666
2855
  weightsBytes: z.ZodDefault<z.ZodNumber>;
2667
2856
  mmprojBytes: z.ZodDefault<z.ZodNumber>;
2857
+ componentBytes: z.ZodOptional<z.ZodNumber>;
2858
+ drafterKvBytes: z.ZodOptional<z.ZodNumber>;
2859
+ imageProcessingBytes: z.ZodOptional<z.ZodNumber>;
2668
2860
  kvBytes: z.ZodDefault<z.ZodNumber>;
2669
2861
  overheadBytes: z.ZodDefault<z.ZodNumber>;
2670
2862
  totalBytes: z.ZodDefault<z.ZodNumber>;
@@ -2774,6 +2966,7 @@ export declare const BrainModelLoadResponseSchema: z.ZodObject<{
2774
2966
  flashAttention: z.ZodDefault<z.ZodBoolean>;
2775
2967
  gpuLayers: z.ZodDefault<z.ZodNumber>;
2776
2968
  vision: z.ZodDefault<z.ZodBoolean>;
2969
+ enabledComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
2777
2970
  reasoningBudget: z.ZodDefault<z.ZodNumber>;
2778
2971
  parallelSlots: z.ZodDefault<z.ZodNumber>;
2779
2972
  }, z.core.$loose>>>;
@@ -2877,6 +3070,21 @@ export declare const BrainModelDeleteResponseSchema: z.ZodObject<{
2877
3070
  requestId: z.ZodString;
2878
3071
  }, z.core.$strip>;
2879
3072
  }, z.core.$strip>;
3073
+ export declare const BrainModelComponentDeleteRequestSchema: z.ZodObject<{
3074
+ type: z.ZodLiteral<"brain.model.component.delete.request">;
3075
+ modelId: z.ZodString;
3076
+ componentId: z.ZodString;
3077
+ requestId: z.ZodString;
3078
+ }, z.core.$strip>;
3079
+ export declare const BrainModelComponentDeleteResponseSchema: z.ZodObject<{
3080
+ type: z.ZodLiteral<"brain.model.component.delete.response">;
3081
+ payload: z.ZodObject<{
3082
+ deleted: z.ZodDefault<z.ZodArray<z.ZodString>>;
3083
+ freedBytes: z.ZodDefault<z.ZodNumber>;
3084
+ error: z.ZodNullable<z.ZodString>;
3085
+ requestId: z.ZodString;
3086
+ }, z.core.$strip>;
3087
+ }, z.core.$strip>;
2880
3088
  export declare const BrainModelRenameRequestSchema: z.ZodObject<{
2881
3089
  type: z.ZodLiteral<"brain.model.rename.request">;
2882
3090
  modelId: z.ZodString;
@@ -3892,6 +4100,14 @@ export declare const SetDaemonConfigRequestMessageSchema: z.ZodObject<{
3892
4100
  port: z.ZodOptional<z.ZodNumber>;
3893
4101
  }, z.core.$loose>>;
3894
4102
  defaultModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4103
+ runtime: z.ZodOptional<z.ZodObject<{
4104
+ source: z.ZodOptional<z.ZodEnum<{
4105
+ auto: "auto";
4106
+ managed: "managed";
4107
+ lmstudio: "lmstudio";
4108
+ }>>;
4109
+ path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4110
+ }, z.core.$strip>>;
3895
4111
  lockModel: z.ZodOptional<z.ZodBoolean>;
3896
4112
  allowRemoteConfig: z.ZodOptional<z.ZodBoolean>;
3897
4113
  allowInsecureBind: z.ZodOptional<z.ZodBoolean>;
@@ -4997,11 +5213,11 @@ export declare const SuggestedTasksChangedSchema: z.ZodObject<{
4997
5213
  }, z.core.$strip>;
4998
5214
  export declare const ContextScopeSchema: z.ZodEnum<{
4999
5215
  local: "local";
5216
+ runtime: "runtime";
5000
5217
  enterprise: "enterprise";
5001
5218
  global: "global";
5002
5219
  project: "project";
5003
5220
  subdirectory: "subdirectory";
5004
- runtime: "runtime";
5005
5221
  }>;
5006
5222
  export declare const ContextCategorySchema: z.ZodEnum<{
5007
5223
  context_files: "context_files";
@@ -5074,11 +5290,11 @@ export declare const ContextNodeSchema: z.ZodObject<{
5074
5290
  relPath: z.ZodString;
5075
5291
  scope: z.ZodEnum<{
5076
5292
  local: "local";
5293
+ runtime: "runtime";
5077
5294
  enterprise: "enterprise";
5078
5295
  global: "global";
5079
5296
  project: "project";
5080
5297
  subdirectory: "subdirectory";
5081
- runtime: "runtime";
5082
5298
  }>;
5083
5299
  category: z.ZodEnum<{
5084
5300
  context_files: "context_files";
@@ -5174,11 +5390,11 @@ export declare const ContextReportSchema: z.ZodObject<{
5174
5390
  relPath: z.ZodString;
5175
5391
  scope: z.ZodEnum<{
5176
5392
  local: "local";
5393
+ runtime: "runtime";
5177
5394
  enterprise: "enterprise";
5178
5395
  global: "global";
5179
5396
  project: "project";
5180
5397
  subdirectory: "subdirectory";
5181
- runtime: "runtime";
5182
5398
  }>;
5183
5399
  category: z.ZodEnum<{
5184
5400
  context_files: "context_files";
@@ -5314,11 +5530,11 @@ export declare const ContextReportChangedSchema: z.ZodObject<{
5314
5530
  relPath: z.ZodString;
5315
5531
  scope: z.ZodEnum<{
5316
5532
  local: "local";
5533
+ runtime: "runtime";
5317
5534
  enterprise: "enterprise";
5318
5535
  global: "global";
5319
5536
  project: "project";
5320
5537
  subdirectory: "subdirectory";
5321
- runtime: "runtime";
5322
5538
  }>;
5323
5539
  category: z.ZodEnum<{
5324
5540
  context_files: "context_files";
@@ -5464,11 +5680,11 @@ export declare const ContextReportGetResponseMessageSchema: z.ZodObject<{
5464
5680
  relPath: z.ZodString;
5465
5681
  scope: z.ZodEnum<{
5466
5682
  local: "local";
5683
+ runtime: "runtime";
5467
5684
  enterprise: "enterprise";
5468
5685
  global: "global";
5469
5686
  project: "project";
5470
5687
  subdirectory: "subdirectory";
5471
- runtime: "runtime";
5472
5688
  }>;
5473
5689
  category: z.ZodEnum<{
5474
5690
  context_files: "context_files";
@@ -5676,6 +5892,7 @@ export declare const ProjectKnowledgeKindSchema: z.ZodEnum<{
5676
5892
  constraint: "constraint";
5677
5893
  requirement: "requirement";
5678
5894
  architecture: "architecture";
5895
+ finding: "finding";
5679
5896
  }>;
5680
5897
  export declare const ProjectKnowledgeStatusSchema: z.ZodEnum<{
5681
5898
  proposed: "proposed";
@@ -5713,6 +5930,7 @@ export declare const ProjectKnowledgeRecordSchema: z.ZodObject<{
5713
5930
  constraint: "constraint";
5714
5931
  requirement: "requirement";
5715
5932
  architecture: "architecture";
5933
+ finding: "finding";
5716
5934
  }>;
5717
5935
  title: z.ZodString;
5718
5936
  statement: z.ZodString;
@@ -5758,7 +5976,8 @@ export declare const ProjectKnowledgeRecordSchema: z.ZodObject<{
5758
5976
  }, z.core.$strip>>>;
5759
5977
  path: z.ZodOptional<z.ZodString>;
5760
5978
  }, z.core.$strip>;
5761
- export declare const ProjectKnowledgeFindingSchema: z.ZodObject<{
5979
+ /** Review health, not a persisted project-knowledge finding record. */
5980
+ export declare const ProjectKnowledgeHealthSchema: z.ZodObject<{
5762
5981
  kind: z.ZodEnum<{
5763
5982
  stale: "stale";
5764
5983
  overlapping_tags: "overlapping_tags";
@@ -5766,6 +5985,11 @@ export declare const ProjectKnowledgeFindingSchema: z.ZodObject<{
5766
5985
  }>;
5767
5986
  recordId: z.ZodString;
5768
5987
  relatedRecordId: z.ZodOptional<z.ZodString>;
5988
+ tagOverlap: z.ZodOptional<z.ZodEnum<{
5989
+ complete: "complete";
5990
+ partial: "partial";
5991
+ }>>;
5992
+ sharedTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
5769
5993
  message: z.ZodString;
5770
5994
  }, z.core.$strip>;
5771
5995
  export declare const ProjectKnowledgeRootPageSchema: z.ZodObject<{
@@ -5792,6 +6016,7 @@ export declare const ProjectKnowledgeListResponseMessageSchema: z.ZodObject<{
5792
6016
  constraint: "constraint";
5793
6017
  requirement: "requirement";
5794
6018
  architecture: "architecture";
6019
+ finding: "finding";
5795
6020
  }>;
5796
6021
  title: z.ZodString;
5797
6022
  statement: z.ZodString;
@@ -5851,6 +6076,11 @@ export declare const ProjectKnowledgeListResponseMessageSchema: z.ZodObject<{
5851
6076
  }>;
5852
6077
  recordId: z.ZodString;
5853
6078
  relatedRecordId: z.ZodOptional<z.ZodString>;
6079
+ tagOverlap: z.ZodOptional<z.ZodEnum<{
6080
+ complete: "complete";
6081
+ partial: "partial";
6082
+ }>>;
6083
+ sharedTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
5854
6084
  message: z.ZodString;
5855
6085
  }, z.core.$strip>>;
5856
6086
  brief: z.ZodString;
@@ -5878,6 +6108,7 @@ export declare const ProjectKnowledgeGetResponseMessageSchema: z.ZodObject<{
5878
6108
  constraint: "constraint";
5879
6109
  requirement: "requirement";
5880
6110
  architecture: "architecture";
6111
+ finding: "finding";
5881
6112
  }>;
5882
6113
  title: z.ZodString;
5883
6114
  statement: z.ZodString;
@@ -5937,6 +6168,7 @@ export declare const ProjectKnowledgeCreateRequestMessageSchema: z.ZodObject<{
5937
6168
  constraint: "constraint";
5938
6169
  requirement: "requirement";
5939
6170
  architecture: "architecture";
6171
+ finding: "finding";
5940
6172
  }>;
5941
6173
  title: z.ZodString;
5942
6174
  statement: z.ZodString;
@@ -5985,6 +6217,7 @@ export declare const ProjectKnowledgeCreateResponseMessageSchema: z.ZodObject<{
5985
6217
  constraint: "constraint";
5986
6218
  requirement: "requirement";
5987
6219
  architecture: "architecture";
6220
+ finding: "finding";
5988
6221
  }>;
5989
6222
  title: z.ZodString;
5990
6223
  statement: z.ZodString;
@@ -6058,6 +6291,7 @@ export declare const ProjectKnowledgeApplyResponseMessageSchema: z.ZodObject<{
6058
6291
  constraint: "constraint";
6059
6292
  requirement: "requirement";
6060
6293
  architecture: "architecture";
6294
+ finding: "finding";
6061
6295
  }>;
6062
6296
  title: z.ZodString;
6063
6297
  statement: z.ZodString;
@@ -6131,6 +6365,7 @@ export declare const ProjectKnowledgeStatusResponseMessageSchema: z.ZodObject<{
6131
6365
  constraint: "constraint";
6132
6366
  requirement: "requirement";
6133
6367
  architecture: "architecture";
6368
+ finding: "finding";
6134
6369
  }>;
6135
6370
  title: z.ZodString;
6136
6371
  statement: z.ZodString;
@@ -6214,6 +6449,7 @@ export declare const ProjectKnowledgeProjectApplyResponseMessageSchema: z.ZodObj
6214
6449
  constraint: "constraint";
6215
6450
  requirement: "requirement";
6216
6451
  architecture: "architecture";
6452
+ finding: "finding";
6217
6453
  }>;
6218
6454
  title: z.ZodString;
6219
6455
  statement: z.ZodString;
@@ -6291,6 +6527,7 @@ export declare const ProjectKnowledgeReferenceApplyResponseMessageSchema: z.ZodO
6291
6527
  constraint: "constraint";
6292
6528
  requirement: "requirement";
6293
6529
  architecture: "architecture";
6530
+ finding: "finding";
6294
6531
  }>;
6295
6532
  title: z.ZodString;
6296
6533
  statement: z.ZodString;
@@ -9829,6 +10066,9 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
9829
10066
  olderThanDays: z.ZodDefault<z.ZodNumber>;
9830
10067
  dryRun: z.ZodDefault<z.ZodBoolean>;
9831
10068
  requestId: z.ZodString;
10069
+ }, z.core.$strip>, z.ZodObject<{
10070
+ type: z.ZodLiteral<"history.agents.get_storage_stats.request">;
10071
+ requestId: z.ZodString;
9832
10072
  }, z.core.$strip>, z.ZodObject<{
9833
10073
  type: z.ZodLiteral<"attachments.images.get_stats.request">;
9834
10074
  requestId: z.ZodString;
@@ -9880,11 +10120,17 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
9880
10120
  }, z.core.$strip>, z.ZodObject<{
9881
10121
  type: z.ZodLiteral<"brain.models.pull.request">;
9882
10122
  model: z.ZodString;
10123
+ quant: z.ZodOptional<z.ZodString>;
10124
+ components: z.ZodOptional<z.ZodArray<z.ZodString>>;
9883
10125
  requestId: z.ZodString;
9884
10126
  }, z.core.$strip>, z.ZodObject<{
9885
10127
  type: z.ZodLiteral<"brain.runtime.install.request">;
9886
10128
  build: z.ZodDefault<z.ZodNullable<z.ZodString>>;
9887
10129
  requestId: z.ZodString;
10130
+ }, z.core.$strip>, z.ZodObject<{
10131
+ type: z.ZodLiteral<"brain.runtime.remove.request">;
10132
+ name: z.ZodString;
10133
+ requestId: z.ZodString;
9888
10134
  }, z.core.$strip>, z.ZodObject<{
9889
10135
  type: z.ZodLiteral<"brain.calibrate.request">;
9890
10136
  model: z.ZodString;
@@ -9917,6 +10163,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
9917
10163
  type: z.ZodLiteral<"brain.models.add.request">;
9918
10164
  repo: z.ZodString;
9919
10165
  quant: z.ZodString;
10166
+ components: z.ZodOptional<z.ZodArray<z.ZodString>>;
9920
10167
  requestId: z.ZodString;
9921
10168
  }, z.core.$strip>, z.ZodObject<{
9922
10169
  type: z.ZodLiteral<"brain.models.inventory.request">;
@@ -9946,6 +10193,11 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
9946
10193
  type: z.ZodLiteral<"brain.model.delete.request">;
9947
10194
  modelId: z.ZodString;
9948
10195
  requestId: z.ZodString;
10196
+ }, z.core.$strip>, z.ZodObject<{
10197
+ type: z.ZodLiteral<"brain.model.component.delete.request">;
10198
+ modelId: z.ZodString;
10199
+ componentId: z.ZodString;
10200
+ requestId: z.ZodString;
9949
10201
  }, z.core.$strip>, z.ZodObject<{
9950
10202
  type: z.ZodLiteral<"brain.model.rename.request">;
9951
10203
  modelId: z.ZodString;
@@ -10351,6 +10603,14 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
10351
10603
  port: z.ZodOptional<z.ZodNumber>;
10352
10604
  }, z.core.$loose>>;
10353
10605
  defaultModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10606
+ runtime: z.ZodOptional<z.ZodObject<{
10607
+ source: z.ZodOptional<z.ZodEnum<{
10608
+ auto: "auto";
10609
+ managed: "managed";
10610
+ lmstudio: "lmstudio";
10611
+ }>>;
10612
+ path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10613
+ }, z.core.$strip>>;
10354
10614
  lockModel: z.ZodOptional<z.ZodBoolean>;
10355
10615
  allowRemoteConfig: z.ZodOptional<z.ZodBoolean>;
10356
10616
  allowInsecureBind: z.ZodOptional<z.ZodBoolean>;
@@ -10804,6 +11064,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
10804
11064
  constraint: "constraint";
10805
11065
  requirement: "requirement";
10806
11066
  architecture: "architecture";
11067
+ finding: "finding";
10807
11068
  }>;
10808
11069
  title: z.ZodString;
10809
11070
  statement: z.ZodString;
@@ -12963,6 +13224,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
12963
13224
  fileMutations: z.ZodOptional<z.ZodBoolean>;
12964
13225
  binaryFileWrite: z.ZodOptional<z.ZodBoolean>;
12965
13226
  attachmentStorage: z.ZodOptional<z.ZodBoolean>;
13227
+ historyStorage: z.ZodOptional<z.ZodBoolean>;
12966
13228
  agentWorkspaceTransfer: z.ZodOptional<z.ZodBoolean>;
12967
13229
  agentForkContextCursor: z.ZodOptional<z.ZodBoolean>;
12968
13230
  providerSubagents: z.ZodOptional<z.ZodBoolean>;
@@ -13105,6 +13367,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
13105
13367
  fileMutations?: boolean | undefined;
13106
13368
  binaryFileWrite?: boolean | undefined;
13107
13369
  attachmentStorage?: boolean | undefined;
13370
+ historyStorage?: boolean | undefined;
13108
13371
  agentWorkspaceTransfer?: boolean | undefined;
13109
13372
  agentForkContextCursor?: boolean | undefined;
13110
13373
  providerSubagents?: boolean | undefined;
@@ -13248,6 +13511,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
13248
13511
  fileMutations?: boolean | undefined;
13249
13512
  binaryFileWrite?: boolean | undefined;
13250
13513
  attachmentStorage?: boolean | undefined;
13514
+ historyStorage?: boolean | undefined;
13251
13515
  agentWorkspaceTransfer?: boolean | undefined;
13252
13516
  agentForkContextCursor?: boolean | undefined;
13253
13517
  providerSubagents?: boolean | undefined;
@@ -13378,6 +13642,7 @@ export declare const AgentCreatedStatusPayloadSchema: z.ZodObject<{
13378
13642
  }>>>;
13379
13643
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13380
13644
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13645
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
13381
13646
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
13382
13647
  attend: z.ZodOptional<z.ZodEnum<{
13383
13648
  attended: "attended";
@@ -13487,6 +13752,7 @@ export declare const AgentResumedStatusPayloadSchema: z.ZodObject<{
13487
13752
  }>>>;
13488
13753
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13489
13754
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13755
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
13490
13756
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
13491
13757
  attend: z.ZodOptional<z.ZodEnum<{
13492
13758
  attended: "attended";
@@ -13722,6 +13988,14 @@ export declare const DaemonConfigChangedStatusPayloadSchema: z.ZodObject<{
13722
13988
  port: z.ZodDefault<z.ZodNumber>;
13723
13989
  }, z.core.$loose>>;
13724
13990
  defaultModel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
13991
+ runtime: z.ZodDefault<z.ZodObject<{
13992
+ source: z.ZodDefault<z.ZodEnum<{
13993
+ auto: "auto";
13994
+ managed: "managed";
13995
+ lmstudio: "lmstudio";
13996
+ }>>;
13997
+ path: z.ZodDefault<z.ZodNullable<z.ZodString>>;
13998
+ }, z.core.$strip>>;
13725
13999
  lockModel: z.ZodDefault<z.ZodBoolean>;
13726
14000
  allowRemoteConfig: z.ZodDefault<z.ZodBoolean>;
13727
14001
  allowInsecureBind: z.ZodDefault<z.ZodBoolean>;
@@ -14133,6 +14407,7 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
14133
14407
  }>>>;
14134
14408
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14135
14409
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14410
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
14136
14411
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
14137
14412
  attend: z.ZodOptional<z.ZodEnum<{
14138
14413
  attended: "attended";
@@ -14240,6 +14515,7 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
14240
14515
  }>>>;
14241
14516
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14242
14517
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14518
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
14243
14519
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
14244
14520
  attend: z.ZodOptional<z.ZodEnum<{
14245
14521
  attended: "attended";
@@ -14471,6 +14747,14 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
14471
14747
  port: z.ZodDefault<z.ZodNumber>;
14472
14748
  }, z.core.$loose>>;
14473
14749
  defaultModel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
14750
+ runtime: z.ZodDefault<z.ZodObject<{
14751
+ source: z.ZodDefault<z.ZodEnum<{
14752
+ auto: "auto";
14753
+ managed: "managed";
14754
+ lmstudio: "lmstudio";
14755
+ }>>;
14756
+ path: z.ZodDefault<z.ZodNullable<z.ZodString>>;
14757
+ }, z.core.$strip>>;
14474
14758
  lockModel: z.ZodDefault<z.ZodBoolean>;
14475
14759
  allowRemoteConfig: z.ZodDefault<z.ZodBoolean>;
14476
14760
  allowInsecureBind: z.ZodDefault<z.ZodBoolean>;
@@ -14858,6 +15142,10 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
14858
15142
  additions: z.ZodNumber;
14859
15143
  deletions: z.ZodNumber;
14860
15144
  }, z.core.$strip>>>;
15145
+ workingTreeDiffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15146
+ additions: z.ZodNumber;
15147
+ deletions: z.ZodNumber;
15148
+ }, z.core.$strip>>>;
14861
15149
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
14862
15150
  scriptName: z.ZodString;
14863
15151
  label: z.ZodOptional<z.ZodString>;
@@ -14892,6 +15180,7 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
14892
15180
  remoteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14893
15181
  isOttoOwnedWorktree: z.ZodOptional<z.ZodBoolean>;
14894
15182
  isDirty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15183
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14895
15184
  aheadBehind: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14896
15185
  ahead: z.ZodNumber;
14897
15186
  behind: z.ZodNumber;
@@ -15067,11 +15356,16 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
15067
15356
  additions: number;
15068
15357
  deletions: number;
15069
15358
  } | null | undefined;
15359
+ workingTreeDiffStat?: {
15360
+ additions: number;
15361
+ deletions: number;
15362
+ } | null | undefined;
15070
15363
  gitRuntime?: {
15071
15364
  currentBranch?: string | null | undefined;
15072
15365
  remoteUrl?: string | null | undefined;
15073
15366
  isOttoOwnedWorktree?: boolean | undefined;
15074
15367
  isDirty?: boolean | null | undefined;
15368
+ baseRef?: string | null | undefined;
15075
15369
  aheadBehind?: {
15076
15370
  ahead: number;
15077
15371
  behind: number;
@@ -15180,11 +15474,16 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
15180
15474
  additions: number;
15181
15475
  deletions: number;
15182
15476
  } | null | undefined;
15477
+ workingTreeDiffStat?: {
15478
+ additions: number;
15479
+ deletions: number;
15480
+ } | null | undefined;
15183
15481
  gitRuntime?: {
15184
15482
  currentBranch?: string | null | undefined;
15185
15483
  remoteUrl?: string | null | undefined;
15186
15484
  isOttoOwnedWorktree?: boolean | undefined;
15187
15485
  isDirty?: boolean | null | undefined;
15486
+ baseRef?: string | null | undefined;
15188
15487
  aheadBehind?: {
15189
15488
  ahead: number;
15190
15489
  behind: number;
@@ -15377,6 +15676,7 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
15377
15676
  }>>>;
15378
15677
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15379
15678
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15679
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
15380
15680
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
15381
15681
  attend: z.ZodOptional<z.ZodEnum<{
15382
15682
  attended: "attended";
@@ -15649,6 +15949,7 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
15649
15949
  }>>>;
15650
15950
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15651
15951
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15952
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
15652
15953
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
15653
15954
  attend: z.ZodOptional<z.ZodEnum<{
15654
15955
  attended: "attended";
@@ -15752,6 +16053,7 @@ export declare const AgentListMessageSchema: z.ZodObject<{
15752
16053
  }>>>;
15753
16054
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15754
16055
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16056
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
15755
16057
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
15756
16058
  attend: z.ZodOptional<z.ZodEnum<{
15757
16059
  attended: "attended";
@@ -15858,6 +16160,7 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
15858
16160
  }>>>;
15859
16161
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15860
16162
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16163
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
15861
16164
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
15862
16165
  attend: z.ZodOptional<z.ZodEnum<{
15863
16166
  attended: "attended";
@@ -16047,6 +16350,7 @@ export declare const FetchAgentHistoryResponseMessageSchema: z.ZodObject<{
16047
16350
  }>>>;
16048
16351
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16049
16352
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16353
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
16050
16354
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
16051
16355
  attend: z.ZodOptional<z.ZodEnum<{
16052
16356
  attended: "attended";
@@ -16215,6 +16519,10 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
16215
16519
  additions: z.ZodNumber;
16216
16520
  deletions: z.ZodNumber;
16217
16521
  }, z.core.$strip>>>;
16522
+ workingTreeDiffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16523
+ additions: z.ZodNumber;
16524
+ deletions: z.ZodNumber;
16525
+ }, z.core.$strip>>>;
16218
16526
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
16219
16527
  scriptName: z.ZodString;
16220
16528
  label: z.ZodOptional<z.ZodString>;
@@ -16249,6 +16557,7 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
16249
16557
  remoteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16250
16558
  isOttoOwnedWorktree: z.ZodOptional<z.ZodBoolean>;
16251
16559
  isDirty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16560
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16252
16561
  aheadBehind: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16253
16562
  ahead: z.ZodNumber;
16254
16563
  behind: z.ZodNumber;
@@ -16424,11 +16733,16 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
16424
16733
  additions: number;
16425
16734
  deletions: number;
16426
16735
  } | null | undefined;
16736
+ workingTreeDiffStat?: {
16737
+ additions: number;
16738
+ deletions: number;
16739
+ } | null | undefined;
16427
16740
  gitRuntime?: {
16428
16741
  currentBranch?: string | null | undefined;
16429
16742
  remoteUrl?: string | null | undefined;
16430
16743
  isOttoOwnedWorktree?: boolean | undefined;
16431
16744
  isDirty?: boolean | null | undefined;
16745
+ baseRef?: string | null | undefined;
16432
16746
  aheadBehind?: {
16433
16747
  ahead: number;
16434
16748
  behind: number;
@@ -16537,11 +16851,16 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
16537
16851
  additions: number;
16538
16852
  deletions: number;
16539
16853
  } | null | undefined;
16854
+ workingTreeDiffStat?: {
16855
+ additions: number;
16856
+ deletions: number;
16857
+ } | null | undefined;
16540
16858
  gitRuntime?: {
16541
16859
  currentBranch?: string | null | undefined;
16542
16860
  remoteUrl?: string | null | undefined;
16543
16861
  isOttoOwnedWorktree?: boolean | undefined;
16544
16862
  isDirty?: boolean | null | undefined;
16863
+ baseRef?: string | null | undefined;
16545
16864
  aheadBehind?: {
16546
16865
  ahead: number;
16547
16866
  behind: number;
@@ -16669,6 +16988,10 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
16669
16988
  additions: z.ZodNumber;
16670
16989
  deletions: z.ZodNumber;
16671
16990
  }, z.core.$strip>>>;
16991
+ workingTreeDiffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16992
+ additions: z.ZodNumber;
16993
+ deletions: z.ZodNumber;
16994
+ }, z.core.$strip>>>;
16672
16995
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
16673
16996
  scriptName: z.ZodString;
16674
16997
  label: z.ZodOptional<z.ZodString>;
@@ -16703,6 +17026,7 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
16703
17026
  remoteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16704
17027
  isOttoOwnedWorktree: z.ZodOptional<z.ZodBoolean>;
16705
17028
  isDirty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
17029
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16706
17030
  aheadBehind: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16707
17031
  ahead: z.ZodNumber;
16708
17032
  behind: z.ZodNumber;
@@ -16878,11 +17202,16 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
16878
17202
  additions: number;
16879
17203
  deletions: number;
16880
17204
  } | null | undefined;
17205
+ workingTreeDiffStat?: {
17206
+ additions: number;
17207
+ deletions: number;
17208
+ } | null | undefined;
16881
17209
  gitRuntime?: {
16882
17210
  currentBranch?: string | null | undefined;
16883
17211
  remoteUrl?: string | null | undefined;
16884
17212
  isOttoOwnedWorktree?: boolean | undefined;
16885
17213
  isDirty?: boolean | null | undefined;
17214
+ baseRef?: string | null | undefined;
16886
17215
  aheadBehind?: {
16887
17216
  ahead: number;
16888
17217
  behind: number;
@@ -16991,11 +17320,16 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
16991
17320
  additions: number;
16992
17321
  deletions: number;
16993
17322
  } | null | undefined;
17323
+ workingTreeDiffStat?: {
17324
+ additions: number;
17325
+ deletions: number;
17326
+ } | null | undefined;
16994
17327
  gitRuntime?: {
16995
17328
  currentBranch?: string | null | undefined;
16996
17329
  remoteUrl?: string | null | undefined;
16997
17330
  isOttoOwnedWorktree?: boolean | undefined;
16998
17331
  isDirty?: boolean | null | undefined;
17332
+ baseRef?: string | null | undefined;
16999
17333
  aheadBehind?: {
17000
17334
  ahead: number;
17001
17335
  behind: number;
@@ -17316,6 +17650,10 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
17316
17650
  additions: z.ZodNumber;
17317
17651
  deletions: z.ZodNumber;
17318
17652
  }, z.core.$strip>>>;
17653
+ workingTreeDiffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17654
+ additions: z.ZodNumber;
17655
+ deletions: z.ZodNumber;
17656
+ }, z.core.$strip>>>;
17319
17657
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
17320
17658
  scriptName: z.ZodString;
17321
17659
  label: z.ZodOptional<z.ZodString>;
@@ -17350,6 +17688,7 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
17350
17688
  remoteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17351
17689
  isOttoOwnedWorktree: z.ZodOptional<z.ZodBoolean>;
17352
17690
  isDirty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
17691
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17353
17692
  aheadBehind: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17354
17693
  ahead: z.ZodNumber;
17355
17694
  behind: z.ZodNumber;
@@ -17525,11 +17864,16 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
17525
17864
  additions: number;
17526
17865
  deletions: number;
17527
17866
  } | null | undefined;
17867
+ workingTreeDiffStat?: {
17868
+ additions: number;
17869
+ deletions: number;
17870
+ } | null | undefined;
17528
17871
  gitRuntime?: {
17529
17872
  currentBranch?: string | null | undefined;
17530
17873
  remoteUrl?: string | null | undefined;
17531
17874
  isOttoOwnedWorktree?: boolean | undefined;
17532
17875
  isDirty?: boolean | null | undefined;
17876
+ baseRef?: string | null | undefined;
17533
17877
  aheadBehind?: {
17534
17878
  ahead: number;
17535
17879
  behind: number;
@@ -17638,11 +17982,16 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
17638
17982
  additions: number;
17639
17983
  deletions: number;
17640
17984
  } | null | undefined;
17985
+ workingTreeDiffStat?: {
17986
+ additions: number;
17987
+ deletions: number;
17988
+ } | null | undefined;
17641
17989
  gitRuntime?: {
17642
17990
  currentBranch?: string | null | undefined;
17643
17991
  remoteUrl?: string | null | undefined;
17644
17992
  isOttoOwnedWorktree?: boolean | undefined;
17645
17993
  isDirty?: boolean | null | undefined;
17994
+ baseRef?: string | null | undefined;
17646
17995
  aheadBehind?: {
17647
17996
  ahead: number;
17648
17997
  behind: number;
@@ -18322,6 +18671,10 @@ export declare const WorktreeReattachResponseSchema: z.ZodObject<{
18322
18671
  additions: z.ZodNumber;
18323
18672
  deletions: z.ZodNumber;
18324
18673
  }, z.core.$strip>>>;
18674
+ workingTreeDiffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
18675
+ additions: z.ZodNumber;
18676
+ deletions: z.ZodNumber;
18677
+ }, z.core.$strip>>>;
18325
18678
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
18326
18679
  scriptName: z.ZodString;
18327
18680
  label: z.ZodOptional<z.ZodString>;
@@ -18356,6 +18709,7 @@ export declare const WorktreeReattachResponseSchema: z.ZodObject<{
18356
18709
  remoteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18357
18710
  isOttoOwnedWorktree: z.ZodOptional<z.ZodBoolean>;
18358
18711
  isDirty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18712
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18359
18713
  aheadBehind: z.ZodOptional<z.ZodNullable<z.ZodObject<{
18360
18714
  ahead: z.ZodNumber;
18361
18715
  behind: z.ZodNumber;
@@ -18531,11 +18885,16 @@ export declare const WorktreeReattachResponseSchema: z.ZodObject<{
18531
18885
  additions: number;
18532
18886
  deletions: number;
18533
18887
  } | null | undefined;
18888
+ workingTreeDiffStat?: {
18889
+ additions: number;
18890
+ deletions: number;
18891
+ } | null | undefined;
18534
18892
  gitRuntime?: {
18535
18893
  currentBranch?: string | null | undefined;
18536
18894
  remoteUrl?: string | null | undefined;
18537
18895
  isOttoOwnedWorktree?: boolean | undefined;
18538
18896
  isDirty?: boolean | null | undefined;
18897
+ baseRef?: string | null | undefined;
18539
18898
  aheadBehind?: {
18540
18899
  ahead: number;
18541
18900
  behind: number;
@@ -18644,11 +19003,16 @@ export declare const WorktreeReattachResponseSchema: z.ZodObject<{
18644
19003
  additions: number;
18645
19004
  deletions: number;
18646
19005
  } | null | undefined;
19006
+ workingTreeDiffStat?: {
19007
+ additions: number;
19008
+ deletions: number;
19009
+ } | null | undefined;
18647
19010
  gitRuntime?: {
18648
19011
  currentBranch?: string | null | undefined;
18649
19012
  remoteUrl?: string | null | undefined;
18650
19013
  isOttoOwnedWorktree?: boolean | undefined;
18651
19014
  isDirty?: boolean | null | undefined;
19015
+ baseRef?: string | null | undefined;
18652
19016
  aheadBehind?: {
18653
19017
  ahead: number;
18654
19018
  behind: number;
@@ -18810,6 +19174,7 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
18810
19174
  }>>>;
18811
19175
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18812
19176
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19177
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
18813
19178
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
18814
19179
  attend: z.ZodOptional<z.ZodEnum<{
18815
19180
  attended: "attended";
@@ -19010,6 +19375,7 @@ export declare const FetchAgentTimelineResponseMessageSchema: z.ZodObject<{
19010
19375
  }>>>;
19011
19376
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19012
19377
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19378
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
19013
19379
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
19014
19380
  attend: z.ZodOptional<z.ZodEnum<{
19015
19381
  attended: "attended";
@@ -19367,6 +19733,7 @@ export declare const CancelAgentResponseMessageSchema: z.ZodObject<{
19367
19733
  }>>>;
19368
19734
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19369
19735
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19736
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
19370
19737
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
19371
19738
  attend: z.ZodOptional<z.ZodEnum<{
19372
19739
  attended: "attended";
@@ -19474,6 +19841,7 @@ export declare const ClearAgentAttentionResponseMessageSchema: z.ZodObject<{
19474
19841
  }>>>;
19475
19842
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19476
19843
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19844
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
19477
19845
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
19478
19846
  attend: z.ZodOptional<z.ZodEnum<{
19479
19847
  attended: "attended";
@@ -19527,6 +19895,10 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
19527
19895
  additions: z.ZodNumber;
19528
19896
  deletions: z.ZodNumber;
19529
19897
  }, z.core.$strip>>>;
19898
+ workingTreeDiffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
19899
+ additions: z.ZodNumber;
19900
+ deletions: z.ZodNumber;
19901
+ }, z.core.$strip>>>;
19530
19902
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
19531
19903
  scriptName: z.ZodString;
19532
19904
  label: z.ZodOptional<z.ZodString>;
@@ -19561,6 +19933,7 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
19561
19933
  remoteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19562
19934
  isOttoOwnedWorktree: z.ZodOptional<z.ZodBoolean>;
19563
19935
  isDirty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19936
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19564
19937
  aheadBehind: z.ZodOptional<z.ZodNullable<z.ZodObject<{
19565
19938
  ahead: z.ZodNumber;
19566
19939
  behind: z.ZodNumber;
@@ -19736,11 +20109,16 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
19736
20109
  additions: number;
19737
20110
  deletions: number;
19738
20111
  } | null | undefined;
20112
+ workingTreeDiffStat?: {
20113
+ additions: number;
20114
+ deletions: number;
20115
+ } | null | undefined;
19739
20116
  gitRuntime?: {
19740
20117
  currentBranch?: string | null | undefined;
19741
20118
  remoteUrl?: string | null | undefined;
19742
20119
  isOttoOwnedWorktree?: boolean | undefined;
19743
20120
  isDirty?: boolean | null | undefined;
20121
+ baseRef?: string | null | undefined;
19744
20122
  aheadBehind?: {
19745
20123
  ahead: number;
19746
20124
  behind: number;
@@ -19849,11 +20227,16 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
19849
20227
  additions: number;
19850
20228
  deletions: number;
19851
20229
  } | null | undefined;
20230
+ workingTreeDiffStat?: {
20231
+ additions: number;
20232
+ deletions: number;
20233
+ } | null | undefined;
19852
20234
  gitRuntime?: {
19853
20235
  currentBranch?: string | null | undefined;
19854
20236
  remoteUrl?: string | null | undefined;
19855
20237
  isOttoOwnedWorktree?: boolean | undefined;
19856
20238
  isDirty?: boolean | null | undefined;
20239
+ baseRef?: string | null | undefined;
19857
20240
  aheadBehind?: {
19858
20241
  ahead: number;
19859
20242
  behind: number;
@@ -20051,6 +20434,7 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
20051
20434
  }>>>;
20052
20435
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20053
20436
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20437
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
20054
20438
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
20055
20439
  attend: z.ZodOptional<z.ZodEnum<{
20056
20440
  attended: "attended";
@@ -20271,6 +20655,14 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
20271
20655
  port: z.ZodDefault<z.ZodNumber>;
20272
20656
  }, z.core.$loose>>;
20273
20657
  defaultModel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
20658
+ runtime: z.ZodDefault<z.ZodObject<{
20659
+ source: z.ZodDefault<z.ZodEnum<{
20660
+ auto: "auto";
20661
+ managed: "managed";
20662
+ lmstudio: "lmstudio";
20663
+ }>>;
20664
+ path: z.ZodDefault<z.ZodNullable<z.ZodString>>;
20665
+ }, z.core.$strip>>;
20274
20666
  lockModel: z.ZodDefault<z.ZodBoolean>;
20275
20667
  allowRemoteConfig: z.ZodDefault<z.ZodBoolean>;
20276
20668
  allowInsecureBind: z.ZodDefault<z.ZodBoolean>;
@@ -20758,6 +21150,14 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
20758
21150
  port: z.ZodDefault<z.ZodNumber>;
20759
21151
  }, z.core.$loose>>;
20760
21152
  defaultModel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
21153
+ runtime: z.ZodDefault<z.ZodObject<{
21154
+ source: z.ZodDefault<z.ZodEnum<{
21155
+ auto: "auto";
21156
+ managed: "managed";
21157
+ lmstudio: "lmstudio";
21158
+ }>>;
21159
+ path: z.ZodDefault<z.ZodNullable<z.ZodString>>;
21160
+ }, z.core.$strip>>;
20761
21161
  lockModel: z.ZodDefault<z.ZodBoolean>;
20762
21162
  allowRemoteConfig: z.ZodDefault<z.ZodBoolean>;
20763
21163
  allowInsecureBind: z.ZodDefault<z.ZodBoolean>;
@@ -22895,6 +23295,10 @@ export declare const CreateOttoWorktreeResponseSchema: z.ZodObject<{
22895
23295
  additions: z.ZodNumber;
22896
23296
  deletions: z.ZodNumber;
22897
23297
  }, z.core.$strip>>>;
23298
+ workingTreeDiffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23299
+ additions: z.ZodNumber;
23300
+ deletions: z.ZodNumber;
23301
+ }, z.core.$strip>>>;
22898
23302
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
22899
23303
  scriptName: z.ZodString;
22900
23304
  label: z.ZodOptional<z.ZodString>;
@@ -22929,6 +23333,7 @@ export declare const CreateOttoWorktreeResponseSchema: z.ZodObject<{
22929
23333
  remoteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22930
23334
  isOttoOwnedWorktree: z.ZodOptional<z.ZodBoolean>;
22931
23335
  isDirty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23336
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22932
23337
  aheadBehind: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22933
23338
  ahead: z.ZodNumber;
22934
23339
  behind: z.ZodNumber;
@@ -23104,11 +23509,16 @@ export declare const CreateOttoWorktreeResponseSchema: z.ZodObject<{
23104
23509
  additions: number;
23105
23510
  deletions: number;
23106
23511
  } | null | undefined;
23512
+ workingTreeDiffStat?: {
23513
+ additions: number;
23514
+ deletions: number;
23515
+ } | null | undefined;
23107
23516
  gitRuntime?: {
23108
23517
  currentBranch?: string | null | undefined;
23109
23518
  remoteUrl?: string | null | undefined;
23110
23519
  isOttoOwnedWorktree?: boolean | undefined;
23111
23520
  isDirty?: boolean | null | undefined;
23521
+ baseRef?: string | null | undefined;
23112
23522
  aheadBehind?: {
23113
23523
  ahead: number;
23114
23524
  behind: number;
@@ -23217,11 +23627,16 @@ export declare const CreateOttoWorktreeResponseSchema: z.ZodObject<{
23217
23627
  additions: number;
23218
23628
  deletions: number;
23219
23629
  } | null | undefined;
23630
+ workingTreeDiffStat?: {
23631
+ additions: number;
23632
+ deletions: number;
23633
+ } | null | undefined;
23220
23634
  gitRuntime?: {
23221
23635
  currentBranch?: string | null | undefined;
23222
23636
  remoteUrl?: string | null | undefined;
23223
23637
  isOttoOwnedWorktree?: boolean | undefined;
23224
23638
  isDirty?: boolean | null | undefined;
23639
+ baseRef?: string | null | undefined;
23225
23640
  aheadBehind?: {
23226
23641
  ahead: number;
23227
23642
  behind: number;
@@ -25109,6 +25524,7 @@ export declare const HubExecutionAgentCreateResponseSchema: z.ZodObject<{
25109
25524
  }>>>;
25110
25525
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25111
25526
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25527
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
25112
25528
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
25113
25529
  attend: z.ZodOptional<z.ZodEnum<{
25114
25530
  attended: "attended";
@@ -25229,6 +25645,7 @@ export declare const HubExecutionAgentUpdateSchema: z.ZodObject<{
25229
25645
  }>>>;
25230
25646
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25231
25647
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25648
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
25232
25649
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
25233
25650
  attend: z.ZodOptional<z.ZodEnum<{
25234
25651
  attended: "attended";
@@ -25423,6 +25840,7 @@ export declare const HubExecutionOutboundMessageSchema: z.ZodDiscriminatedUnion<
25423
25840
  }>>>;
25424
25841
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25425
25842
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25843
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
25426
25844
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
25427
25845
  attend: z.ZodOptional<z.ZodEnum<{
25428
25846
  attended: "attended";
@@ -25541,6 +25959,7 @@ export declare const HubExecutionOutboundMessageSchema: z.ZodDiscriminatedUnion<
25541
25959
  }>>>;
25542
25960
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25543
25961
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25962
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
25544
25963
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
25545
25964
  attend: z.ZodOptional<z.ZodEnum<{
25546
25965
  attended: "attended";
@@ -25736,6 +26155,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
25736
26155
  }>>>;
25737
26156
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25738
26157
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26158
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
25739
26159
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
25740
26160
  attend: z.ZodOptional<z.ZodEnum<{
25741
26161
  attended: "attended";
@@ -25854,6 +26274,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
25854
26274
  }>>>;
25855
26275
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25856
26276
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26277
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
25857
26278
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
25858
26279
  attend: z.ZodOptional<z.ZodEnum<{
25859
26280
  attended: "attended";
@@ -26401,6 +26822,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
26401
26822
  }>>>;
26402
26823
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26403
26824
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26825
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
26404
26826
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
26405
26827
  attend: z.ZodOptional<z.ZodEnum<{
26406
26828
  attended: "attended";
@@ -26535,6 +26957,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
26535
26957
  additions: z.ZodNumber;
26536
26958
  deletions: z.ZodNumber;
26537
26959
  }, z.core.$strip>>>;
26960
+ workingTreeDiffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
26961
+ additions: z.ZodNumber;
26962
+ deletions: z.ZodNumber;
26963
+ }, z.core.$strip>>>;
26538
26964
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
26539
26965
  scriptName: z.ZodString;
26540
26966
  label: z.ZodOptional<z.ZodString>;
@@ -26569,6 +26995,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
26569
26995
  remoteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26570
26996
  isOttoOwnedWorktree: z.ZodOptional<z.ZodBoolean>;
26571
26997
  isDirty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26998
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26572
26999
  aheadBehind: z.ZodOptional<z.ZodNullable<z.ZodObject<{
26573
27000
  ahead: z.ZodNumber;
26574
27001
  behind: z.ZodNumber;
@@ -26744,11 +27171,16 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
26744
27171
  additions: number;
26745
27172
  deletions: number;
26746
27173
  } | null | undefined;
27174
+ workingTreeDiffStat?: {
27175
+ additions: number;
27176
+ deletions: number;
27177
+ } | null | undefined;
26747
27178
  gitRuntime?: {
26748
27179
  currentBranch?: string | null | undefined;
26749
27180
  remoteUrl?: string | null | undefined;
26750
27181
  isOttoOwnedWorktree?: boolean | undefined;
26751
27182
  isDirty?: boolean | null | undefined;
27183
+ baseRef?: string | null | undefined;
26752
27184
  aheadBehind?: {
26753
27185
  ahead: number;
26754
27186
  behind: number;
@@ -26857,11 +27289,16 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
26857
27289
  additions: number;
26858
27290
  deletions: number;
26859
27291
  } | null | undefined;
27292
+ workingTreeDiffStat?: {
27293
+ additions: number;
27294
+ deletions: number;
27295
+ } | null | undefined;
26860
27296
  gitRuntime?: {
26861
27297
  currentBranch?: string | null | undefined;
26862
27298
  remoteUrl?: string | null | undefined;
26863
27299
  isOttoOwnedWorktree?: boolean | undefined;
26864
27300
  isDirty?: boolean | null | undefined;
27301
+ baseRef?: string | null | undefined;
26865
27302
  aheadBehind?: {
26866
27303
  ahead: number;
26867
27304
  behind: number;
@@ -27265,6 +27702,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
27265
27702
  }>>>;
27266
27703
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27267
27704
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27705
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
27268
27706
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
27269
27707
  attend: z.ZodOptional<z.ZodEnum<{
27270
27708
  attended: "attended";
@@ -27370,6 +27808,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
27370
27808
  }>>>;
27371
27809
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27372
27810
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27811
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
27373
27812
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
27374
27813
  attend: z.ZodOptional<z.ZodEnum<{
27375
27814
  attended: "attended";
@@ -27558,6 +27997,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
27558
27997
  }>>>;
27559
27998
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27560
27999
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28000
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
27561
28001
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
27562
28002
  attend: z.ZodOptional<z.ZodEnum<{
27563
28003
  attended: "attended";
@@ -27712,6 +28152,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
27712
28152
  additions: z.ZodNumber;
27713
28153
  deletions: z.ZodNumber;
27714
28154
  }, z.core.$strip>>>;
28155
+ workingTreeDiffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28156
+ additions: z.ZodNumber;
28157
+ deletions: z.ZodNumber;
28158
+ }, z.core.$strip>>>;
27715
28159
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
27716
28160
  scriptName: z.ZodString;
27717
28161
  label: z.ZodOptional<z.ZodString>;
@@ -27746,6 +28190,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
27746
28190
  remoteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27747
28191
  isOttoOwnedWorktree: z.ZodOptional<z.ZodBoolean>;
27748
28192
  isDirty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
28193
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27749
28194
  aheadBehind: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27750
28195
  ahead: z.ZodNumber;
27751
28196
  behind: z.ZodNumber;
@@ -27921,11 +28366,16 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
27921
28366
  additions: number;
27922
28367
  deletions: number;
27923
28368
  } | null | undefined;
28369
+ workingTreeDiffStat?: {
28370
+ additions: number;
28371
+ deletions: number;
28372
+ } | null | undefined;
27924
28373
  gitRuntime?: {
27925
28374
  currentBranch?: string | null | undefined;
27926
28375
  remoteUrl?: string | null | undefined;
27927
28376
  isOttoOwnedWorktree?: boolean | undefined;
27928
28377
  isDirty?: boolean | null | undefined;
28378
+ baseRef?: string | null | undefined;
27929
28379
  aheadBehind?: {
27930
28380
  ahead: number;
27931
28381
  behind: number;
@@ -28034,11 +28484,16 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
28034
28484
  additions: number;
28035
28485
  deletions: number;
28036
28486
  } | null | undefined;
28487
+ workingTreeDiffStat?: {
28488
+ additions: number;
28489
+ deletions: number;
28490
+ } | null | undefined;
28037
28491
  gitRuntime?: {
28038
28492
  currentBranch?: string | null | undefined;
28039
28493
  remoteUrl?: string | null | undefined;
28040
28494
  isOttoOwnedWorktree?: boolean | undefined;
28041
28495
  isDirty?: boolean | null | undefined;
28496
+ baseRef?: string | null | undefined;
28042
28497
  aheadBehind?: {
28043
28498
  ahead: number;
28044
28499
  behind: number;
@@ -28260,6 +28715,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
28260
28715
  additions: z.ZodNumber;
28261
28716
  deletions: z.ZodNumber;
28262
28717
  }, z.core.$strip>>>;
28718
+ workingTreeDiffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28719
+ additions: z.ZodNumber;
28720
+ deletions: z.ZodNumber;
28721
+ }, z.core.$strip>>>;
28263
28722
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
28264
28723
  scriptName: z.ZodString;
28265
28724
  label: z.ZodOptional<z.ZodString>;
@@ -28294,6 +28753,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
28294
28753
  remoteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28295
28754
  isOttoOwnedWorktree: z.ZodOptional<z.ZodBoolean>;
28296
28755
  isDirty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
28756
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28297
28757
  aheadBehind: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28298
28758
  ahead: z.ZodNumber;
28299
28759
  behind: z.ZodNumber;
@@ -28469,11 +28929,16 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
28469
28929
  additions: number;
28470
28930
  deletions: number;
28471
28931
  } | null | undefined;
28932
+ workingTreeDiffStat?: {
28933
+ additions: number;
28934
+ deletions: number;
28935
+ } | null | undefined;
28472
28936
  gitRuntime?: {
28473
28937
  currentBranch?: string | null | undefined;
28474
28938
  remoteUrl?: string | null | undefined;
28475
28939
  isOttoOwnedWorktree?: boolean | undefined;
28476
28940
  isDirty?: boolean | null | undefined;
28941
+ baseRef?: string | null | undefined;
28477
28942
  aheadBehind?: {
28478
28943
  ahead: number;
28479
28944
  behind: number;
@@ -28582,11 +29047,16 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
28582
29047
  additions: number;
28583
29048
  deletions: number;
28584
29049
  } | null | undefined;
29050
+ workingTreeDiffStat?: {
29051
+ additions: number;
29052
+ deletions: number;
29053
+ } | null | undefined;
28585
29054
  gitRuntime?: {
28586
29055
  currentBranch?: string | null | undefined;
28587
29056
  remoteUrl?: string | null | undefined;
28588
29057
  isOttoOwnedWorktree?: boolean | undefined;
28589
29058
  isDirty?: boolean | null | undefined;
29059
+ baseRef?: string | null | undefined;
28590
29060
  aheadBehind?: {
28591
29061
  ahead: number;
28592
29062
  behind: number;
@@ -29079,6 +29549,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
29079
29549
  additions: z.ZodNumber;
29080
29550
  deletions: z.ZodNumber;
29081
29551
  }, z.core.$strip>>>;
29552
+ workingTreeDiffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29553
+ additions: z.ZodNumber;
29554
+ deletions: z.ZodNumber;
29555
+ }, z.core.$strip>>>;
29082
29556
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
29083
29557
  scriptName: z.ZodString;
29084
29558
  label: z.ZodOptional<z.ZodString>;
@@ -29113,6 +29587,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
29113
29587
  remoteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29114
29588
  isOttoOwnedWorktree: z.ZodOptional<z.ZodBoolean>;
29115
29589
  isDirty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
29590
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29116
29591
  aheadBehind: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29117
29592
  ahead: z.ZodNumber;
29118
29593
  behind: z.ZodNumber;
@@ -29288,11 +29763,16 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
29288
29763
  additions: number;
29289
29764
  deletions: number;
29290
29765
  } | null | undefined;
29766
+ workingTreeDiffStat?: {
29767
+ additions: number;
29768
+ deletions: number;
29769
+ } | null | undefined;
29291
29770
  gitRuntime?: {
29292
29771
  currentBranch?: string | null | undefined;
29293
29772
  remoteUrl?: string | null | undefined;
29294
29773
  isOttoOwnedWorktree?: boolean | undefined;
29295
29774
  isDirty?: boolean | null | undefined;
29775
+ baseRef?: string | null | undefined;
29296
29776
  aheadBehind?: {
29297
29777
  ahead: number;
29298
29778
  behind: number;
@@ -29401,11 +29881,16 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
29401
29881
  additions: number;
29402
29882
  deletions: number;
29403
29883
  } | null | undefined;
29884
+ workingTreeDiffStat?: {
29885
+ additions: number;
29886
+ deletions: number;
29887
+ } | null | undefined;
29404
29888
  gitRuntime?: {
29405
29889
  currentBranch?: string | null | undefined;
29406
29890
  remoteUrl?: string | null | undefined;
29407
29891
  isOttoOwnedWorktree?: boolean | undefined;
29408
29892
  isDirty?: boolean | null | undefined;
29893
+ baseRef?: string | null | undefined;
29409
29894
  aheadBehind?: {
29410
29895
  ahead: number;
29411
29896
  behind: number;
@@ -29566,6 +30051,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
29566
30051
  }>>>;
29567
30052
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29568
30053
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30054
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
29569
30055
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
29570
30056
  attend: z.ZodOptional<z.ZodEnum<{
29571
30057
  attended: "attended";
@@ -29749,6 +30235,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
29749
30235
  }>>>;
29750
30236
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29751
30237
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30238
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
29752
30239
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
29753
30240
  attend: z.ZodOptional<z.ZodEnum<{
29754
30241
  attended: "attended";
@@ -30051,6 +30538,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
30051
30538
  }>>>;
30052
30539
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30053
30540
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30541
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
30054
30542
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
30055
30543
  attend: z.ZodOptional<z.ZodEnum<{
30056
30544
  attended: "attended";
@@ -30157,6 +30645,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
30157
30645
  }>>>;
30158
30646
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30159
30647
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30648
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
30160
30649
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
30161
30650
  attend: z.ZodOptional<z.ZodEnum<{
30162
30651
  attended: "attended";
@@ -30209,6 +30698,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
30209
30698
  additions: z.ZodNumber;
30210
30699
  deletions: z.ZodNumber;
30211
30700
  }, z.core.$strip>>>;
30701
+ workingTreeDiffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30702
+ additions: z.ZodNumber;
30703
+ deletions: z.ZodNumber;
30704
+ }, z.core.$strip>>>;
30212
30705
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
30213
30706
  scriptName: z.ZodString;
30214
30707
  label: z.ZodOptional<z.ZodString>;
@@ -30243,6 +30736,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
30243
30736
  remoteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30244
30737
  isOttoOwnedWorktree: z.ZodOptional<z.ZodBoolean>;
30245
30738
  isDirty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
30739
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30246
30740
  aheadBehind: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30247
30741
  ahead: z.ZodNumber;
30248
30742
  behind: z.ZodNumber;
@@ -30418,11 +30912,16 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
30418
30912
  additions: number;
30419
30913
  deletions: number;
30420
30914
  } | null | undefined;
30915
+ workingTreeDiffStat?: {
30916
+ additions: number;
30917
+ deletions: number;
30918
+ } | null | undefined;
30421
30919
  gitRuntime?: {
30422
30920
  currentBranch?: string | null | undefined;
30423
30921
  remoteUrl?: string | null | undefined;
30424
30922
  isOttoOwnedWorktree?: boolean | undefined;
30425
30923
  isDirty?: boolean | null | undefined;
30924
+ baseRef?: string | null | undefined;
30426
30925
  aheadBehind?: {
30427
30926
  ahead: number;
30428
30927
  behind: number;
@@ -30531,11 +31030,16 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
30531
31030
  additions: number;
30532
31031
  deletions: number;
30533
31032
  } | null | undefined;
31033
+ workingTreeDiffStat?: {
31034
+ additions: number;
31035
+ deletions: number;
31036
+ } | null | undefined;
30534
31037
  gitRuntime?: {
30535
31038
  currentBranch?: string | null | undefined;
30536
31039
  remoteUrl?: string | null | undefined;
30537
31040
  isOttoOwnedWorktree?: boolean | undefined;
30538
31041
  isDirty?: boolean | null | undefined;
31042
+ baseRef?: string | null | undefined;
30539
31043
  aheadBehind?: {
30540
31044
  ahead: number;
30541
31045
  behind: number;
@@ -30948,6 +31452,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
30948
31452
  port: z.ZodDefault<z.ZodNumber>;
30949
31453
  }, z.core.$loose>>;
30950
31454
  defaultModel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
31455
+ runtime: z.ZodDefault<z.ZodObject<{
31456
+ source: z.ZodDefault<z.ZodEnum<{
31457
+ auto: "auto";
31458
+ managed: "managed";
31459
+ lmstudio: "lmstudio";
31460
+ }>>;
31461
+ path: z.ZodDefault<z.ZodNullable<z.ZodString>>;
31462
+ }, z.core.$strip>>;
30951
31463
  lockModel: z.ZodDefault<z.ZodBoolean>;
30952
31464
  allowRemoteConfig: z.ZodDefault<z.ZodBoolean>;
30953
31465
  allowInsecureBind: z.ZodDefault<z.ZodBoolean>;
@@ -31219,6 +31731,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
31219
31731
  port: z.ZodDefault<z.ZodNumber>;
31220
31732
  }, z.core.$loose>>;
31221
31733
  defaultModel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
31734
+ runtime: z.ZodDefault<z.ZodObject<{
31735
+ source: z.ZodDefault<z.ZodEnum<{
31736
+ auto: "auto";
31737
+ managed: "managed";
31738
+ lmstudio: "lmstudio";
31739
+ }>>;
31740
+ path: z.ZodDefault<z.ZodNullable<z.ZodString>>;
31741
+ }, z.core.$strip>>;
31222
31742
  lockModel: z.ZodDefault<z.ZodBoolean>;
31223
31743
  allowRemoteConfig: z.ZodDefault<z.ZodBoolean>;
31224
31744
  allowInsecureBind: z.ZodDefault<z.ZodBoolean>;
@@ -31725,11 +32245,11 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
31725
32245
  relPath: z.ZodString;
31726
32246
  scope: z.ZodEnum<{
31727
32247
  local: "local";
32248
+ runtime: "runtime";
31728
32249
  enterprise: "enterprise";
31729
32250
  global: "global";
31730
32251
  project: "project";
31731
32252
  subdirectory: "subdirectory";
31732
- runtime: "runtime";
31733
32253
  }>;
31734
32254
  category: z.ZodEnum<{
31735
32255
  context_files: "context_files";
@@ -32083,6 +32603,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32083
32603
  }>>>;
32084
32604
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32085
32605
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32606
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
32086
32607
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
32087
32608
  attend: z.ZodOptional<z.ZodEnum<{
32088
32609
  attended: "attended";
@@ -32128,6 +32649,16 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32128
32649
  dryRun: z.ZodBoolean;
32129
32650
  error: z.ZodNullable<z.ZodString>;
32130
32651
  requestId: z.ZodString;
32652
+ ottoBytes: z.ZodOptional<z.ZodNumber>;
32653
+ reclaimedBytes: z.ZodOptional<z.ZodNumber>;
32654
+ }, z.core.$strip>;
32655
+ }, z.core.$strip>, z.ZodObject<{
32656
+ type: z.ZodLiteral<"history.agents.get_storage_stats.response">;
32657
+ payload: z.ZodObject<{
32658
+ archivedCount: z.ZodNumber;
32659
+ totalBytes: z.ZodNumber;
32660
+ error: z.ZodNullable<z.ZodString>;
32661
+ requestId: z.ZodString;
32131
32662
  }, z.core.$strip>;
32132
32663
  }, z.core.$strip>, z.ZodObject<{
32133
32664
  type: z.ZodLiteral<"attachments.images.get_stats.response">;
@@ -32543,6 +33074,19 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32543
33074
  tier: z.ZodDefault<z.ZodString>;
32544
33075
  useCases: z.ZodDefault<z.ZodArray<z.ZodString>>;
32545
33076
  why: z.ZodDefault<z.ZodString>;
33077
+ components: z.ZodOptional<z.ZodArray<z.ZodObject<{
33078
+ id: z.ZodString;
33079
+ label: z.ZodDefault<z.ZodString>;
33080
+ description: z.ZodDefault<z.ZodString>;
33081
+ role: z.ZodDefault<z.ZodString>;
33082
+ hfRepo: z.ZodOptional<z.ZodString>;
33083
+ file: z.ZodDefault<z.ZodString>;
33084
+ bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33085
+ required: z.ZodDefault<z.ZodBoolean>;
33086
+ defaultDownload: z.ZodDefault<z.ZodBoolean>;
33087
+ defaultLoad: z.ZodDefault<z.ZodBoolean>;
33088
+ minRuntimeBuild: z.ZodOptional<z.ZodNumber>;
33089
+ }, z.core.$strip>>>;
32546
33090
  }, z.core.$loose>>>;
32547
33091
  error: z.ZodNullable<z.ZodString>;
32548
33092
  requestId: z.ZodString;
@@ -32552,6 +33096,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32552
33096
  payload: z.ZodObject<{
32553
33097
  runtimes: z.ZodDefault<z.ZodArray<z.ZodObject<{
32554
33098
  label: z.ZodDefault<z.ZodString>;
33099
+ displayName: z.ZodDefault<z.ZodString>;
32555
33100
  version: z.ZodDefault<z.ZodString>;
32556
33101
  source: z.ZodDefault<z.ZodString>;
32557
33102
  dir: z.ZodDefault<z.ZodString>;
@@ -32567,6 +33112,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32567
33112
  kind: z.ZodEnum<{
32568
33113
  pull: "pull";
32569
33114
  "runtime-install": "runtime-install";
33115
+ "runtime-remove": "runtime-remove";
32570
33116
  calibrate: "calibrate";
32571
33117
  sweep: "sweep";
32572
33118
  bench: "bench";
@@ -32596,6 +33142,37 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32596
33142
  kind: z.ZodEnum<{
32597
33143
  pull: "pull";
32598
33144
  "runtime-install": "runtime-install";
33145
+ "runtime-remove": "runtime-remove";
33146
+ calibrate: "calibrate";
33147
+ sweep: "sweep";
33148
+ bench: "bench";
33149
+ }>;
33150
+ label: z.ZodDefault<z.ZodString>;
33151
+ target: z.ZodDefault<z.ZodNullable<z.ZodString>>;
33152
+ status: z.ZodDefault<z.ZodEnum<{
33153
+ running: "running";
33154
+ failed: "failed";
33155
+ canceled: "canceled";
33156
+ succeeded: "succeeded";
33157
+ }>>;
33158
+ percent: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
33159
+ message: z.ZodDefault<z.ZodNullable<z.ZodString>>;
33160
+ error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
33161
+ startedAt: z.ZodDefault<z.ZodString>;
33162
+ finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
33163
+ }, z.core.$loose>>;
33164
+ error: z.ZodNullable<z.ZodString>;
33165
+ requestId: z.ZodString;
33166
+ }, z.core.$strip>;
33167
+ }, z.core.$strip>, z.ZodObject<{
33168
+ type: z.ZodLiteral<"brain.runtime.remove.response">;
33169
+ payload: z.ZodObject<{
33170
+ job: z.ZodNullable<z.ZodObject<{
33171
+ id: z.ZodString;
33172
+ kind: z.ZodEnum<{
33173
+ pull: "pull";
33174
+ "runtime-install": "runtime-install";
33175
+ "runtime-remove": "runtime-remove";
32599
33176
  calibrate: "calibrate";
32600
33177
  sweep: "sweep";
32601
33178
  bench: "bench";
@@ -32625,6 +33202,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32625
33202
  kind: z.ZodEnum<{
32626
33203
  pull: "pull";
32627
33204
  "runtime-install": "runtime-install";
33205
+ "runtime-remove": "runtime-remove";
32628
33206
  calibrate: "calibrate";
32629
33207
  sweep: "sweep";
32630
33208
  bench: "bench";
@@ -32654,6 +33232,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32654
33232
  kind: z.ZodEnum<{
32655
33233
  pull: "pull";
32656
33234
  "runtime-install": "runtime-install";
33235
+ "runtime-remove": "runtime-remove";
32657
33236
  calibrate: "calibrate";
32658
33237
  sweep: "sweep";
32659
33238
  bench: "bench";
@@ -32683,6 +33262,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32683
33262
  kind: z.ZodEnum<{
32684
33263
  pull: "pull";
32685
33264
  "runtime-install": "runtime-install";
33265
+ "runtime-remove": "runtime-remove";
32686
33266
  calibrate: "calibrate";
32687
33267
  sweep: "sweep";
32688
33268
  bench: "bench";
@@ -32712,6 +33292,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32712
33292
  kind: z.ZodEnum<{
32713
33293
  pull: "pull";
32714
33294
  "runtime-install": "runtime-install";
33295
+ "runtime-remove": "runtime-remove";
32715
33296
  calibrate: "calibrate";
32716
33297
  sweep: "sweep";
32717
33298
  bench: "bench";
@@ -32741,6 +33322,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32741
33322
  kind: z.ZodEnum<{
32742
33323
  pull: "pull";
32743
33324
  "runtime-install": "runtime-install";
33325
+ "runtime-remove": "runtime-remove";
32744
33326
  calibrate: "calibrate";
32745
33327
  sweep: "sweep";
32746
33328
  bench: "bench";
@@ -32770,6 +33352,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32770
33352
  downloads: z.ZodDefault<z.ZodNumber>;
32771
33353
  likes: z.ZodDefault<z.ZodNumber>;
32772
33354
  gated: z.ZodDefault<z.ZodBoolean>;
33355
+ summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32773
33356
  installed: z.ZodDefault<z.ZodBoolean>;
32774
33357
  }, z.core.$loose>>>;
32775
33358
  error: z.ZodNullable<z.ZodString>;
@@ -32783,7 +33366,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32783
33366
  size: z.ZodDefault<z.ZodString>;
32784
33367
  sizeBytes: z.ZodDefault<z.ZodNumber>;
32785
33368
  files: z.ZodDefault<z.ZodNumber>;
33369
+ fileNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
32786
33370
  installed: z.ZodDefault<z.ZodBoolean>;
33371
+ modelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33372
+ projector: z.ZodOptional<z.ZodObject<{
33373
+ file: z.ZodString;
33374
+ sizeBytes: z.ZodNumber;
33375
+ installed: z.ZodOptional<z.ZodBoolean>;
33376
+ }, z.core.$strip>>;
32787
33377
  }, z.core.$loose>>>;
32788
33378
  error: z.ZodNullable<z.ZodString>;
32789
33379
  requestId: z.ZodString;
@@ -32796,6 +33386,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32796
33386
  kind: z.ZodEnum<{
32797
33387
  pull: "pull";
32798
33388
  "runtime-install": "runtime-install";
33389
+ "runtime-remove": "runtime-remove";
32799
33390
  calibrate: "calibrate";
32800
33391
  sweep: "sweep";
32801
33392
  bench: "bench";
@@ -32833,6 +33424,19 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32833
33424
  blockCount: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
32834
33425
  headCountKv: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
32835
33426
  hasProjector: z.ZodDefault<z.ZodBoolean>;
33427
+ components: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
33428
+ id: z.ZodString;
33429
+ label: z.ZodDefault<z.ZodString>;
33430
+ description: z.ZodDefault<z.ZodString>;
33431
+ role: z.ZodDefault<z.ZodString>;
33432
+ bytes: z.ZodDefault<z.ZodNumber>;
33433
+ available: z.ZodDefault<z.ZodBoolean>;
33434
+ unavailableReason: z.ZodOptional<z.ZodString>;
33435
+ required: z.ZodDefault<z.ZodBoolean>;
33436
+ defaultDownload: z.ZodDefault<z.ZodBoolean>;
33437
+ defaultLoad: z.ZodDefault<z.ZodBoolean>;
33438
+ minRuntimeBuild: z.ZodOptional<z.ZodNumber>;
33439
+ }, z.core.$strip>>>>;
32836
33440
  reasoning: z.ZodDefault<z.ZodBoolean>;
32837
33441
  mtp: z.ZodDefault<z.ZodBoolean>;
32838
33442
  distilled: z.ZodDefault<z.ZodBoolean>;
@@ -32845,6 +33449,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32845
33449
  flashAttention: z.ZodDefault<z.ZodBoolean>;
32846
33450
  gpuLayers: z.ZodDefault<z.ZodNumber>;
32847
33451
  vision: z.ZodDefault<z.ZodBoolean>;
33452
+ enabledComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
32848
33453
  reasoningBudget: z.ZodDefault<z.ZodNumber>;
32849
33454
  parallelSlots: z.ZodDefault<z.ZodNumber>;
32850
33455
  }, z.core.$loose>>>;
@@ -32857,6 +33462,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32857
33462
  budget: z.ZodDefault<z.ZodNullable<z.ZodObject<{
32858
33463
  weightsBytes: z.ZodDefault<z.ZodNumber>;
32859
33464
  mmprojBytes: z.ZodDefault<z.ZodNumber>;
33465
+ componentBytes: z.ZodOptional<z.ZodNumber>;
33466
+ drafterKvBytes: z.ZodOptional<z.ZodNumber>;
33467
+ imageProcessingBytes: z.ZodOptional<z.ZodNumber>;
32860
33468
  kvBytes: z.ZodDefault<z.ZodNumber>;
32861
33469
  overheadBytes: z.ZodDefault<z.ZodNumber>;
32862
33470
  totalBytes: z.ZodDefault<z.ZodNumber>;
@@ -32906,6 +33514,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32906
33514
  flashAttention: z.ZodDefault<z.ZodBoolean>;
32907
33515
  gpuLayers: z.ZodDefault<z.ZodNumber>;
32908
33516
  vision: z.ZodDefault<z.ZodBoolean>;
33517
+ enabledComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
32909
33518
  reasoningBudget: z.ZodDefault<z.ZodNumber>;
32910
33519
  parallelSlots: z.ZodDefault<z.ZodNumber>;
32911
33520
  }, z.core.$loose>>>;
@@ -32946,6 +33555,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32946
33555
  flashAttention: z.ZodDefault<z.ZodBoolean>;
32947
33556
  gpuLayers: z.ZodDefault<z.ZodNumber>;
32948
33557
  vision: z.ZodDefault<z.ZodBoolean>;
33558
+ enabledComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
32949
33559
  reasoningBudget: z.ZodDefault<z.ZodNumber>;
32950
33560
  parallelSlots: z.ZodDefault<z.ZodNumber>;
32951
33561
  }, z.core.$loose>>>;
@@ -32965,6 +33575,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32965
33575
  budget: z.ZodDefault<z.ZodNullable<z.ZodObject<{
32966
33576
  weightsBytes: z.ZodDefault<z.ZodNumber>;
32967
33577
  mmprojBytes: z.ZodDefault<z.ZodNumber>;
33578
+ componentBytes: z.ZodOptional<z.ZodNumber>;
33579
+ drafterKvBytes: z.ZodOptional<z.ZodNumber>;
33580
+ imageProcessingBytes: z.ZodOptional<z.ZodNumber>;
32968
33581
  kvBytes: z.ZodDefault<z.ZodNumber>;
32969
33582
  overheadBytes: z.ZodDefault<z.ZodNumber>;
32970
33583
  totalBytes: z.ZodDefault<z.ZodNumber>;
@@ -32993,12 +33606,16 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32993
33606
  flashAttention: z.ZodDefault<z.ZodBoolean>;
32994
33607
  gpuLayers: z.ZodDefault<z.ZodNumber>;
32995
33608
  vision: z.ZodDefault<z.ZodBoolean>;
33609
+ enabledComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
32996
33610
  reasoningBudget: z.ZodDefault<z.ZodNumber>;
32997
33611
  parallelSlots: z.ZodDefault<z.ZodNumber>;
32998
33612
  }, z.core.$loose>>>;
32999
33613
  budget: z.ZodDefault<z.ZodNullable<z.ZodObject<{
33000
33614
  weightsBytes: z.ZodDefault<z.ZodNumber>;
33001
33615
  mmprojBytes: z.ZodDefault<z.ZodNumber>;
33616
+ componentBytes: z.ZodOptional<z.ZodNumber>;
33617
+ drafterKvBytes: z.ZodOptional<z.ZodNumber>;
33618
+ imageProcessingBytes: z.ZodOptional<z.ZodNumber>;
33002
33619
  kvBytes: z.ZodDefault<z.ZodNumber>;
33003
33620
  overheadBytes: z.ZodDefault<z.ZodNumber>;
33004
33621
  totalBytes: z.ZodDefault<z.ZodNumber>;
@@ -33102,6 +33719,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
33102
33719
  flashAttention: z.ZodDefault<z.ZodBoolean>;
33103
33720
  gpuLayers: z.ZodDefault<z.ZodNumber>;
33104
33721
  vision: z.ZodDefault<z.ZodBoolean>;
33722
+ enabledComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
33105
33723
  reasoningBudget: z.ZodDefault<z.ZodNumber>;
33106
33724
  parallelSlots: z.ZodDefault<z.ZodNumber>;
33107
33725
  }, z.core.$loose>>>;
@@ -33193,6 +33811,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
33193
33811
  error: z.ZodNullable<z.ZodString>;
33194
33812
  requestId: z.ZodString;
33195
33813
  }, z.core.$strip>;
33814
+ }, z.core.$strip>, z.ZodObject<{
33815
+ type: z.ZodLiteral<"brain.model.component.delete.response">;
33816
+ payload: z.ZodObject<{
33817
+ deleted: z.ZodDefault<z.ZodArray<z.ZodString>>;
33818
+ freedBytes: z.ZodDefault<z.ZodNumber>;
33819
+ error: z.ZodNullable<z.ZodString>;
33820
+ requestId: z.ZodString;
33821
+ }, z.core.$strip>;
33196
33822
  }, z.core.$strip>, z.ZodObject<{
33197
33823
  type: z.ZodLiteral<"brain.model.rename.response">;
33198
33824
  payload: z.ZodObject<{
@@ -35278,6 +35904,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
35278
35904
  additions: z.ZodNumber;
35279
35905
  deletions: z.ZodNumber;
35280
35906
  }, z.core.$strip>>>;
35907
+ workingTreeDiffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
35908
+ additions: z.ZodNumber;
35909
+ deletions: z.ZodNumber;
35910
+ }, z.core.$strip>>>;
35281
35911
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
35282
35912
  scriptName: z.ZodString;
35283
35913
  label: z.ZodOptional<z.ZodString>;
@@ -35312,6 +35942,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
35312
35942
  remoteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35313
35943
  isOttoOwnedWorktree: z.ZodOptional<z.ZodBoolean>;
35314
35944
  isDirty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
35945
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35315
35946
  aheadBehind: z.ZodOptional<z.ZodNullable<z.ZodObject<{
35316
35947
  ahead: z.ZodNumber;
35317
35948
  behind: z.ZodNumber;
@@ -35487,11 +36118,16 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
35487
36118
  additions: number;
35488
36119
  deletions: number;
35489
36120
  } | null | undefined;
36121
+ workingTreeDiffStat?: {
36122
+ additions: number;
36123
+ deletions: number;
36124
+ } | null | undefined;
35490
36125
  gitRuntime?: {
35491
36126
  currentBranch?: string | null | undefined;
35492
36127
  remoteUrl?: string | null | undefined;
35493
36128
  isOttoOwnedWorktree?: boolean | undefined;
35494
36129
  isDirty?: boolean | null | undefined;
36130
+ baseRef?: string | null | undefined;
35495
36131
  aheadBehind?: {
35496
36132
  ahead: number;
35497
36133
  behind: number;
@@ -35600,11 +36236,16 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
35600
36236
  additions: number;
35601
36237
  deletions: number;
35602
36238
  } | null | undefined;
36239
+ workingTreeDiffStat?: {
36240
+ additions: number;
36241
+ deletions: number;
36242
+ } | null | undefined;
35603
36243
  gitRuntime?: {
35604
36244
  currentBranch?: string | null | undefined;
35605
36245
  remoteUrl?: string | null | undefined;
35606
36246
  isOttoOwnedWorktree?: boolean | undefined;
35607
36247
  isDirty?: boolean | null | undefined;
36248
+ baseRef?: string | null | undefined;
35608
36249
  aheadBehind?: {
35609
36250
  ahead: number;
35610
36251
  behind: number;
@@ -36743,11 +37384,11 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
36743
37384
  relPath: z.ZodString;
36744
37385
  scope: z.ZodEnum<{
36745
37386
  local: "local";
37387
+ runtime: "runtime";
36746
37388
  enterprise: "enterprise";
36747
37389
  global: "global";
36748
37390
  project: "project";
36749
37391
  subdirectory: "subdirectory";
36750
- runtime: "runtime";
36751
37392
  }>;
36752
37393
  category: z.ZodEnum<{
36753
37394
  context_files: "context_files";
@@ -36902,6 +37543,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
36902
37543
  constraint: "constraint";
36903
37544
  requirement: "requirement";
36904
37545
  architecture: "architecture";
37546
+ finding: "finding";
36905
37547
  }>;
36906
37548
  title: z.ZodString;
36907
37549
  statement: z.ZodString;
@@ -36961,6 +37603,11 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
36961
37603
  }>;
36962
37604
  recordId: z.ZodString;
36963
37605
  relatedRecordId: z.ZodOptional<z.ZodString>;
37606
+ tagOverlap: z.ZodOptional<z.ZodEnum<{
37607
+ complete: "complete";
37608
+ partial: "partial";
37609
+ }>>;
37610
+ sharedTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
36964
37611
  message: z.ZodString;
36965
37612
  }, z.core.$strip>>;
36966
37613
  brief: z.ZodString;
@@ -36981,6 +37628,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
36981
37628
  constraint: "constraint";
36982
37629
  requirement: "requirement";
36983
37630
  architecture: "architecture";
37631
+ finding: "finding";
36984
37632
  }>;
36985
37633
  title: z.ZodString;
36986
37634
  statement: z.ZodString;
@@ -37040,6 +37688,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
37040
37688
  constraint: "constraint";
37041
37689
  requirement: "requirement";
37042
37690
  architecture: "architecture";
37691
+ finding: "finding";
37043
37692
  }>;
37044
37693
  title: z.ZodString;
37045
37694
  statement: z.ZodString;
@@ -37099,6 +37748,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
37099
37748
  constraint: "constraint";
37100
37749
  requirement: "requirement";
37101
37750
  architecture: "architecture";
37751
+ finding: "finding";
37102
37752
  }>;
37103
37753
  title: z.ZodString;
37104
37754
  statement: z.ZodString;
@@ -37159,6 +37809,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
37159
37809
  constraint: "constraint";
37160
37810
  requirement: "requirement";
37161
37811
  architecture: "architecture";
37812
+ finding: "finding";
37162
37813
  }>;
37163
37814
  title: z.ZodString;
37164
37815
  statement: z.ZodString;
@@ -37218,6 +37869,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
37218
37869
  constraint: "constraint";
37219
37870
  requirement: "requirement";
37220
37871
  architecture: "architecture";
37872
+ finding: "finding";
37221
37873
  }>;
37222
37874
  title: z.ZodString;
37223
37875
  statement: z.ZodString;
@@ -37278,6 +37930,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
37278
37930
  constraint: "constraint";
37279
37931
  requirement: "requirement";
37280
37932
  architecture: "architecture";
37933
+ finding: "finding";
37281
37934
  }>;
37282
37935
  title: z.ZodString;
37283
37936
  statement: z.ZodString;
@@ -39577,6 +40230,8 @@ export type CloseItemsRequest = z.infer<typeof CloseItemsRequestMessageSchema>;
39577
40230
  export type CloseItemsResponse = z.infer<typeof CloseItemsResponseSchema>;
39578
40231
  export type HistoryAgentsClearArchivedRequest = z.infer<typeof HistoryAgentsClearArchivedRequestSchema>;
39579
40232
  export type HistoryAgentsClearArchivedResponse = z.infer<typeof HistoryAgentsClearArchivedResponseSchema>;
40233
+ export type HistoryAgentsStorageStatsRequest = z.infer<typeof HistoryAgentsStorageStatsRequestSchema>;
40234
+ export type HistoryAgentsStorageStatsResponse = z.infer<typeof HistoryAgentsStorageStatsResponseSchema>;
39580
40235
  export type AttachmentsImagesStatsRequest = z.infer<typeof AttachmentsImagesStatsRequestSchema>;
39581
40236
  export type AttachmentsImagesStatsResponse = z.infer<typeof AttachmentsImagesStatsResponseSchema>;
39582
40237
  export type AttachmentsImagesClearRequest = z.infer<typeof AttachmentsImagesClearRequestSchema>;
@@ -39609,6 +40264,8 @@ export type BrainModelsPullRequest = z.infer<typeof BrainModelsPullRequestSchema
39609
40264
  export type BrainModelsPullResponse = z.infer<typeof BrainModelsPullResponseSchema>;
39610
40265
  export type BrainRuntimeInstallRequest = z.infer<typeof BrainRuntimeInstallRequestSchema>;
39611
40266
  export type BrainRuntimeInstallResponse = z.infer<typeof BrainRuntimeInstallResponseSchema>;
40267
+ export type BrainRuntimeRemoveRequest = z.infer<typeof BrainRuntimeRemoveRequestSchema>;
40268
+ export type BrainRuntimeRemoveResponse = z.infer<typeof BrainRuntimeRemoveResponseSchema>;
39612
40269
  export type BrainCalibrateRequest = z.infer<typeof BrainCalibrateRequestSchema>;
39613
40270
  export type BrainCalibrateResponse = z.infer<typeof BrainCalibrateResponseSchema>;
39614
40271
  export type BrainSweepRequest = z.infer<typeof BrainSweepRequestSchema>;
@@ -39639,6 +40296,8 @@ export type BrainModelUnloadRequest = z.infer<typeof BrainModelUnloadRequestSche
39639
40296
  export type BrainModelUnloadResponse = z.infer<typeof BrainModelUnloadResponseSchema>;
39640
40297
  export type BrainModelDeleteRequest = z.infer<typeof BrainModelDeleteRequestSchema>;
39641
40298
  export type BrainModelDeleteResponse = z.infer<typeof BrainModelDeleteResponseSchema>;
40299
+ export type BrainModelComponentDeleteRequest = z.infer<typeof BrainModelComponentDeleteRequestSchema>;
40300
+ export type BrainModelComponentDeleteResponse = z.infer<typeof BrainModelComponentDeleteResponseSchema>;
39642
40301
  export type BrainModelRenameRequest = z.infer<typeof BrainModelRenameRequestSchema>;
39643
40302
  export type BrainModelRenameResponse = z.infer<typeof BrainModelRenameResponseSchema>;
39644
40303
  export type BrainModelRenameResetRequest = z.infer<typeof BrainModelRenameResetRequestSchema>;
@@ -40148,6 +40807,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
40148
40807
  olderThanDays: z.ZodDefault<z.ZodNumber>;
40149
40808
  dryRun: z.ZodDefault<z.ZodBoolean>;
40150
40809
  requestId: z.ZodString;
40810
+ }, z.core.$strip>, z.ZodObject<{
40811
+ type: z.ZodLiteral<"history.agents.get_storage_stats.request">;
40812
+ requestId: z.ZodString;
40151
40813
  }, z.core.$strip>, z.ZodObject<{
40152
40814
  type: z.ZodLiteral<"attachments.images.get_stats.request">;
40153
40815
  requestId: z.ZodString;
@@ -40199,11 +40861,17 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
40199
40861
  }, z.core.$strip>, z.ZodObject<{
40200
40862
  type: z.ZodLiteral<"brain.models.pull.request">;
40201
40863
  model: z.ZodString;
40864
+ quant: z.ZodOptional<z.ZodString>;
40865
+ components: z.ZodOptional<z.ZodArray<z.ZodString>>;
40202
40866
  requestId: z.ZodString;
40203
40867
  }, z.core.$strip>, z.ZodObject<{
40204
40868
  type: z.ZodLiteral<"brain.runtime.install.request">;
40205
40869
  build: z.ZodDefault<z.ZodNullable<z.ZodString>>;
40206
40870
  requestId: z.ZodString;
40871
+ }, z.core.$strip>, z.ZodObject<{
40872
+ type: z.ZodLiteral<"brain.runtime.remove.request">;
40873
+ name: z.ZodString;
40874
+ requestId: z.ZodString;
40207
40875
  }, z.core.$strip>, z.ZodObject<{
40208
40876
  type: z.ZodLiteral<"brain.calibrate.request">;
40209
40877
  model: z.ZodString;
@@ -40236,6 +40904,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
40236
40904
  type: z.ZodLiteral<"brain.models.add.request">;
40237
40905
  repo: z.ZodString;
40238
40906
  quant: z.ZodString;
40907
+ components: z.ZodOptional<z.ZodArray<z.ZodString>>;
40239
40908
  requestId: z.ZodString;
40240
40909
  }, z.core.$strip>, z.ZodObject<{
40241
40910
  type: z.ZodLiteral<"brain.models.inventory.request">;
@@ -40265,6 +40934,11 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
40265
40934
  type: z.ZodLiteral<"brain.model.delete.request">;
40266
40935
  modelId: z.ZodString;
40267
40936
  requestId: z.ZodString;
40937
+ }, z.core.$strip>, z.ZodObject<{
40938
+ type: z.ZodLiteral<"brain.model.component.delete.request">;
40939
+ modelId: z.ZodString;
40940
+ componentId: z.ZodString;
40941
+ requestId: z.ZodString;
40268
40942
  }, z.core.$strip>, z.ZodObject<{
40269
40943
  type: z.ZodLiteral<"brain.model.rename.request">;
40270
40944
  modelId: z.ZodString;
@@ -40670,6 +41344,14 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
40670
41344
  port: z.ZodOptional<z.ZodNumber>;
40671
41345
  }, z.core.$loose>>;
40672
41346
  defaultModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41347
+ runtime: z.ZodOptional<z.ZodObject<{
41348
+ source: z.ZodOptional<z.ZodEnum<{
41349
+ auto: "auto";
41350
+ managed: "managed";
41351
+ lmstudio: "lmstudio";
41352
+ }>>;
41353
+ path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41354
+ }, z.core.$strip>>;
40673
41355
  lockModel: z.ZodOptional<z.ZodBoolean>;
40674
41356
  allowRemoteConfig: z.ZodOptional<z.ZodBoolean>;
40675
41357
  allowInsecureBind: z.ZodOptional<z.ZodBoolean>;
@@ -41123,6 +41805,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
41123
41805
  constraint: "constraint";
41124
41806
  requirement: "requirement";
41125
41807
  architecture: "architecture";
41808
+ finding: "finding";
41126
41809
  }>;
41127
41810
  title: z.ZodString;
41128
41811
  statement: z.ZodString;
@@ -43112,6 +43795,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
43112
43795
  }>>>;
43113
43796
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43114
43797
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43798
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
43115
43799
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
43116
43800
  attend: z.ZodOptional<z.ZodEnum<{
43117
43801
  attended: "attended";
@@ -43230,6 +43914,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
43230
43914
  }>>>;
43231
43915
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43232
43916
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43917
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
43233
43918
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
43234
43919
  attend: z.ZodOptional<z.ZodEnum<{
43235
43920
  attended: "attended";
@@ -43777,6 +44462,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
43777
44462
  }>>>;
43778
44463
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43779
44464
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44465
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
43780
44466
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
43781
44467
  attend: z.ZodOptional<z.ZodEnum<{
43782
44468
  attended: "attended";
@@ -43911,6 +44597,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
43911
44597
  additions: z.ZodNumber;
43912
44598
  deletions: z.ZodNumber;
43913
44599
  }, z.core.$strip>>>;
44600
+ workingTreeDiffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
44601
+ additions: z.ZodNumber;
44602
+ deletions: z.ZodNumber;
44603
+ }, z.core.$strip>>>;
43914
44604
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
43915
44605
  scriptName: z.ZodString;
43916
44606
  label: z.ZodOptional<z.ZodString>;
@@ -43945,6 +44635,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
43945
44635
  remoteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43946
44636
  isOttoOwnedWorktree: z.ZodOptional<z.ZodBoolean>;
43947
44637
  isDirty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
44638
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43948
44639
  aheadBehind: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43949
44640
  ahead: z.ZodNumber;
43950
44641
  behind: z.ZodNumber;
@@ -44120,11 +44811,16 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
44120
44811
  additions: number;
44121
44812
  deletions: number;
44122
44813
  } | null | undefined;
44814
+ workingTreeDiffStat?: {
44815
+ additions: number;
44816
+ deletions: number;
44817
+ } | null | undefined;
44123
44818
  gitRuntime?: {
44124
44819
  currentBranch?: string | null | undefined;
44125
44820
  remoteUrl?: string | null | undefined;
44126
44821
  isOttoOwnedWorktree?: boolean | undefined;
44127
44822
  isDirty?: boolean | null | undefined;
44823
+ baseRef?: string | null | undefined;
44128
44824
  aheadBehind?: {
44129
44825
  ahead: number;
44130
44826
  behind: number;
@@ -44233,11 +44929,16 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
44233
44929
  additions: number;
44234
44930
  deletions: number;
44235
44931
  } | null | undefined;
44932
+ workingTreeDiffStat?: {
44933
+ additions: number;
44934
+ deletions: number;
44935
+ } | null | undefined;
44236
44936
  gitRuntime?: {
44237
44937
  currentBranch?: string | null | undefined;
44238
44938
  remoteUrl?: string | null | undefined;
44239
44939
  isOttoOwnedWorktree?: boolean | undefined;
44240
44940
  isDirty?: boolean | null | undefined;
44941
+ baseRef?: string | null | undefined;
44241
44942
  aheadBehind?: {
44242
44943
  ahead: number;
44243
44944
  behind: number;
@@ -44641,6 +45342,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
44641
45342
  }>>>;
44642
45343
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44643
45344
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45345
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
44644
45346
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
44645
45347
  attend: z.ZodOptional<z.ZodEnum<{
44646
45348
  attended: "attended";
@@ -44746,6 +45448,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
44746
45448
  }>>>;
44747
45449
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44748
45450
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45451
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
44749
45452
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
44750
45453
  attend: z.ZodOptional<z.ZodEnum<{
44751
45454
  attended: "attended";
@@ -44934,6 +45637,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
44934
45637
  }>>>;
44935
45638
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44936
45639
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45640
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
44937
45641
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
44938
45642
  attend: z.ZodOptional<z.ZodEnum<{
44939
45643
  attended: "attended";
@@ -45088,6 +45792,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
45088
45792
  additions: z.ZodNumber;
45089
45793
  deletions: z.ZodNumber;
45090
45794
  }, z.core.$strip>>>;
45795
+ workingTreeDiffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
45796
+ additions: z.ZodNumber;
45797
+ deletions: z.ZodNumber;
45798
+ }, z.core.$strip>>>;
45091
45799
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
45092
45800
  scriptName: z.ZodString;
45093
45801
  label: z.ZodOptional<z.ZodString>;
@@ -45122,6 +45830,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
45122
45830
  remoteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45123
45831
  isOttoOwnedWorktree: z.ZodOptional<z.ZodBoolean>;
45124
45832
  isDirty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
45833
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45125
45834
  aheadBehind: z.ZodOptional<z.ZodNullable<z.ZodObject<{
45126
45835
  ahead: z.ZodNumber;
45127
45836
  behind: z.ZodNumber;
@@ -45297,11 +46006,16 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
45297
46006
  additions: number;
45298
46007
  deletions: number;
45299
46008
  } | null | undefined;
46009
+ workingTreeDiffStat?: {
46010
+ additions: number;
46011
+ deletions: number;
46012
+ } | null | undefined;
45300
46013
  gitRuntime?: {
45301
46014
  currentBranch?: string | null | undefined;
45302
46015
  remoteUrl?: string | null | undefined;
45303
46016
  isOttoOwnedWorktree?: boolean | undefined;
45304
46017
  isDirty?: boolean | null | undefined;
46018
+ baseRef?: string | null | undefined;
45305
46019
  aheadBehind?: {
45306
46020
  ahead: number;
45307
46021
  behind: number;
@@ -45410,11 +46124,16 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
45410
46124
  additions: number;
45411
46125
  deletions: number;
45412
46126
  } | null | undefined;
46127
+ workingTreeDiffStat?: {
46128
+ additions: number;
46129
+ deletions: number;
46130
+ } | null | undefined;
45413
46131
  gitRuntime?: {
45414
46132
  currentBranch?: string | null | undefined;
45415
46133
  remoteUrl?: string | null | undefined;
45416
46134
  isOttoOwnedWorktree?: boolean | undefined;
45417
46135
  isDirty?: boolean | null | undefined;
46136
+ baseRef?: string | null | undefined;
45418
46137
  aheadBehind?: {
45419
46138
  ahead: number;
45420
46139
  behind: number;
@@ -45636,6 +46355,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
45636
46355
  additions: z.ZodNumber;
45637
46356
  deletions: z.ZodNumber;
45638
46357
  }, z.core.$strip>>>;
46358
+ workingTreeDiffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
46359
+ additions: z.ZodNumber;
46360
+ deletions: z.ZodNumber;
46361
+ }, z.core.$strip>>>;
45639
46362
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
45640
46363
  scriptName: z.ZodString;
45641
46364
  label: z.ZodOptional<z.ZodString>;
@@ -45670,6 +46393,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
45670
46393
  remoteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45671
46394
  isOttoOwnedWorktree: z.ZodOptional<z.ZodBoolean>;
45672
46395
  isDirty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
46396
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45673
46397
  aheadBehind: z.ZodOptional<z.ZodNullable<z.ZodObject<{
45674
46398
  ahead: z.ZodNumber;
45675
46399
  behind: z.ZodNumber;
@@ -45845,11 +46569,16 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
45845
46569
  additions: number;
45846
46570
  deletions: number;
45847
46571
  } | null | undefined;
46572
+ workingTreeDiffStat?: {
46573
+ additions: number;
46574
+ deletions: number;
46575
+ } | null | undefined;
45848
46576
  gitRuntime?: {
45849
46577
  currentBranch?: string | null | undefined;
45850
46578
  remoteUrl?: string | null | undefined;
45851
46579
  isOttoOwnedWorktree?: boolean | undefined;
45852
46580
  isDirty?: boolean | null | undefined;
46581
+ baseRef?: string | null | undefined;
45853
46582
  aheadBehind?: {
45854
46583
  ahead: number;
45855
46584
  behind: number;
@@ -45958,11 +46687,16 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
45958
46687
  additions: number;
45959
46688
  deletions: number;
45960
46689
  } | null | undefined;
46690
+ workingTreeDiffStat?: {
46691
+ additions: number;
46692
+ deletions: number;
46693
+ } | null | undefined;
45961
46694
  gitRuntime?: {
45962
46695
  currentBranch?: string | null | undefined;
45963
46696
  remoteUrl?: string | null | undefined;
45964
46697
  isOttoOwnedWorktree?: boolean | undefined;
45965
46698
  isDirty?: boolean | null | undefined;
46699
+ baseRef?: string | null | undefined;
45966
46700
  aheadBehind?: {
45967
46701
  ahead: number;
45968
46702
  behind: number;
@@ -46455,6 +47189,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
46455
47189
  additions: z.ZodNumber;
46456
47190
  deletions: z.ZodNumber;
46457
47191
  }, z.core.$strip>>>;
47192
+ workingTreeDiffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
47193
+ additions: z.ZodNumber;
47194
+ deletions: z.ZodNumber;
47195
+ }, z.core.$strip>>>;
46458
47196
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
46459
47197
  scriptName: z.ZodString;
46460
47198
  label: z.ZodOptional<z.ZodString>;
@@ -46489,6 +47227,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
46489
47227
  remoteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46490
47228
  isOttoOwnedWorktree: z.ZodOptional<z.ZodBoolean>;
46491
47229
  isDirty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
47230
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46492
47231
  aheadBehind: z.ZodOptional<z.ZodNullable<z.ZodObject<{
46493
47232
  ahead: z.ZodNumber;
46494
47233
  behind: z.ZodNumber;
@@ -46664,11 +47403,16 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
46664
47403
  additions: number;
46665
47404
  deletions: number;
46666
47405
  } | null | undefined;
47406
+ workingTreeDiffStat?: {
47407
+ additions: number;
47408
+ deletions: number;
47409
+ } | null | undefined;
46667
47410
  gitRuntime?: {
46668
47411
  currentBranch?: string | null | undefined;
46669
47412
  remoteUrl?: string | null | undefined;
46670
47413
  isOttoOwnedWorktree?: boolean | undefined;
46671
47414
  isDirty?: boolean | null | undefined;
47415
+ baseRef?: string | null | undefined;
46672
47416
  aheadBehind?: {
46673
47417
  ahead: number;
46674
47418
  behind: number;
@@ -46777,11 +47521,16 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
46777
47521
  additions: number;
46778
47522
  deletions: number;
46779
47523
  } | null | undefined;
47524
+ workingTreeDiffStat?: {
47525
+ additions: number;
47526
+ deletions: number;
47527
+ } | null | undefined;
46780
47528
  gitRuntime?: {
46781
47529
  currentBranch?: string | null | undefined;
46782
47530
  remoteUrl?: string | null | undefined;
46783
47531
  isOttoOwnedWorktree?: boolean | undefined;
46784
47532
  isDirty?: boolean | null | undefined;
47533
+ baseRef?: string | null | undefined;
46785
47534
  aheadBehind?: {
46786
47535
  ahead: number;
46787
47536
  behind: number;
@@ -46942,6 +47691,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
46942
47691
  }>>>;
46943
47692
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46944
47693
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47694
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
46945
47695
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
46946
47696
  attend: z.ZodOptional<z.ZodEnum<{
46947
47697
  attended: "attended";
@@ -47125,6 +47875,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
47125
47875
  }>>>;
47126
47876
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47127
47877
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47878
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
47128
47879
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
47129
47880
  attend: z.ZodOptional<z.ZodEnum<{
47130
47881
  attended: "attended";
@@ -47427,6 +48178,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
47427
48178
  }>>>;
47428
48179
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47429
48180
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48181
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
47430
48182
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
47431
48183
  attend: z.ZodOptional<z.ZodEnum<{
47432
48184
  attended: "attended";
@@ -47533,6 +48285,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
47533
48285
  }>>>;
47534
48286
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47535
48287
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48288
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
47536
48289
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
47537
48290
  attend: z.ZodOptional<z.ZodEnum<{
47538
48291
  attended: "attended";
@@ -47585,6 +48338,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
47585
48338
  additions: z.ZodNumber;
47586
48339
  deletions: z.ZodNumber;
47587
48340
  }, z.core.$strip>>>;
48341
+ workingTreeDiffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
48342
+ additions: z.ZodNumber;
48343
+ deletions: z.ZodNumber;
48344
+ }, z.core.$strip>>>;
47588
48345
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
47589
48346
  scriptName: z.ZodString;
47590
48347
  label: z.ZodOptional<z.ZodString>;
@@ -47619,6 +48376,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
47619
48376
  remoteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47620
48377
  isOttoOwnedWorktree: z.ZodOptional<z.ZodBoolean>;
47621
48378
  isDirty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
48379
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47622
48380
  aheadBehind: z.ZodOptional<z.ZodNullable<z.ZodObject<{
47623
48381
  ahead: z.ZodNumber;
47624
48382
  behind: z.ZodNumber;
@@ -47794,11 +48552,16 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
47794
48552
  additions: number;
47795
48553
  deletions: number;
47796
48554
  } | null | undefined;
48555
+ workingTreeDiffStat?: {
48556
+ additions: number;
48557
+ deletions: number;
48558
+ } | null | undefined;
47797
48559
  gitRuntime?: {
47798
48560
  currentBranch?: string | null | undefined;
47799
48561
  remoteUrl?: string | null | undefined;
47800
48562
  isOttoOwnedWorktree?: boolean | undefined;
47801
48563
  isDirty?: boolean | null | undefined;
48564
+ baseRef?: string | null | undefined;
47802
48565
  aheadBehind?: {
47803
48566
  ahead: number;
47804
48567
  behind: number;
@@ -47907,11 +48670,16 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
47907
48670
  additions: number;
47908
48671
  deletions: number;
47909
48672
  } | null | undefined;
48673
+ workingTreeDiffStat?: {
48674
+ additions: number;
48675
+ deletions: number;
48676
+ } | null | undefined;
47910
48677
  gitRuntime?: {
47911
48678
  currentBranch?: string | null | undefined;
47912
48679
  remoteUrl?: string | null | undefined;
47913
48680
  isOttoOwnedWorktree?: boolean | undefined;
47914
48681
  isDirty?: boolean | null | undefined;
48682
+ baseRef?: string | null | undefined;
47915
48683
  aheadBehind?: {
47916
48684
  ahead: number;
47917
48685
  behind: number;
@@ -48324,6 +49092,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
48324
49092
  port: z.ZodDefault<z.ZodNumber>;
48325
49093
  }, z.core.$loose>>;
48326
49094
  defaultModel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
49095
+ runtime: z.ZodDefault<z.ZodObject<{
49096
+ source: z.ZodDefault<z.ZodEnum<{
49097
+ auto: "auto";
49098
+ managed: "managed";
49099
+ lmstudio: "lmstudio";
49100
+ }>>;
49101
+ path: z.ZodDefault<z.ZodNullable<z.ZodString>>;
49102
+ }, z.core.$strip>>;
48327
49103
  lockModel: z.ZodDefault<z.ZodBoolean>;
48328
49104
  allowRemoteConfig: z.ZodDefault<z.ZodBoolean>;
48329
49105
  allowInsecureBind: z.ZodDefault<z.ZodBoolean>;
@@ -48595,6 +49371,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
48595
49371
  port: z.ZodDefault<z.ZodNumber>;
48596
49372
  }, z.core.$loose>>;
48597
49373
  defaultModel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
49374
+ runtime: z.ZodDefault<z.ZodObject<{
49375
+ source: z.ZodDefault<z.ZodEnum<{
49376
+ auto: "auto";
49377
+ managed: "managed";
49378
+ lmstudio: "lmstudio";
49379
+ }>>;
49380
+ path: z.ZodDefault<z.ZodNullable<z.ZodString>>;
49381
+ }, z.core.$strip>>;
48598
49382
  lockModel: z.ZodDefault<z.ZodBoolean>;
48599
49383
  allowRemoteConfig: z.ZodDefault<z.ZodBoolean>;
48600
49384
  allowInsecureBind: z.ZodDefault<z.ZodBoolean>;
@@ -49101,11 +49885,11 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
49101
49885
  relPath: z.ZodString;
49102
49886
  scope: z.ZodEnum<{
49103
49887
  local: "local";
49888
+ runtime: "runtime";
49104
49889
  enterprise: "enterprise";
49105
49890
  global: "global";
49106
49891
  project: "project";
49107
49892
  subdirectory: "subdirectory";
49108
- runtime: "runtime";
49109
49893
  }>;
49110
49894
  category: z.ZodEnum<{
49111
49895
  context_files: "context_files";
@@ -49459,6 +50243,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
49459
50243
  }>>>;
49460
50244
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49461
50245
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50246
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
49462
50247
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
49463
50248
  attend: z.ZodOptional<z.ZodEnum<{
49464
50249
  attended: "attended";
@@ -49504,6 +50289,16 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
49504
50289
  dryRun: z.ZodBoolean;
49505
50290
  error: z.ZodNullable<z.ZodString>;
49506
50291
  requestId: z.ZodString;
50292
+ ottoBytes: z.ZodOptional<z.ZodNumber>;
50293
+ reclaimedBytes: z.ZodOptional<z.ZodNumber>;
50294
+ }, z.core.$strip>;
50295
+ }, z.core.$strip>, z.ZodObject<{
50296
+ type: z.ZodLiteral<"history.agents.get_storage_stats.response">;
50297
+ payload: z.ZodObject<{
50298
+ archivedCount: z.ZodNumber;
50299
+ totalBytes: z.ZodNumber;
50300
+ error: z.ZodNullable<z.ZodString>;
50301
+ requestId: z.ZodString;
49507
50302
  }, z.core.$strip>;
49508
50303
  }, z.core.$strip>, z.ZodObject<{
49509
50304
  type: z.ZodLiteral<"attachments.images.get_stats.response">;
@@ -49919,6 +50714,19 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
49919
50714
  tier: z.ZodDefault<z.ZodString>;
49920
50715
  useCases: z.ZodDefault<z.ZodArray<z.ZodString>>;
49921
50716
  why: z.ZodDefault<z.ZodString>;
50717
+ components: z.ZodOptional<z.ZodArray<z.ZodObject<{
50718
+ id: z.ZodString;
50719
+ label: z.ZodDefault<z.ZodString>;
50720
+ description: z.ZodDefault<z.ZodString>;
50721
+ role: z.ZodDefault<z.ZodString>;
50722
+ hfRepo: z.ZodOptional<z.ZodString>;
50723
+ file: z.ZodDefault<z.ZodString>;
50724
+ bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
50725
+ required: z.ZodDefault<z.ZodBoolean>;
50726
+ defaultDownload: z.ZodDefault<z.ZodBoolean>;
50727
+ defaultLoad: z.ZodDefault<z.ZodBoolean>;
50728
+ minRuntimeBuild: z.ZodOptional<z.ZodNumber>;
50729
+ }, z.core.$strip>>>;
49922
50730
  }, z.core.$loose>>>;
49923
50731
  error: z.ZodNullable<z.ZodString>;
49924
50732
  requestId: z.ZodString;
@@ -49928,6 +50736,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
49928
50736
  payload: z.ZodObject<{
49929
50737
  runtimes: z.ZodDefault<z.ZodArray<z.ZodObject<{
49930
50738
  label: z.ZodDefault<z.ZodString>;
50739
+ displayName: z.ZodDefault<z.ZodString>;
49931
50740
  version: z.ZodDefault<z.ZodString>;
49932
50741
  source: z.ZodDefault<z.ZodString>;
49933
50742
  dir: z.ZodDefault<z.ZodString>;
@@ -49943,6 +50752,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
49943
50752
  kind: z.ZodEnum<{
49944
50753
  pull: "pull";
49945
50754
  "runtime-install": "runtime-install";
50755
+ "runtime-remove": "runtime-remove";
49946
50756
  calibrate: "calibrate";
49947
50757
  sweep: "sweep";
49948
50758
  bench: "bench";
@@ -49972,6 +50782,37 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
49972
50782
  kind: z.ZodEnum<{
49973
50783
  pull: "pull";
49974
50784
  "runtime-install": "runtime-install";
50785
+ "runtime-remove": "runtime-remove";
50786
+ calibrate: "calibrate";
50787
+ sweep: "sweep";
50788
+ bench: "bench";
50789
+ }>;
50790
+ label: z.ZodDefault<z.ZodString>;
50791
+ target: z.ZodDefault<z.ZodNullable<z.ZodString>>;
50792
+ status: z.ZodDefault<z.ZodEnum<{
50793
+ running: "running";
50794
+ failed: "failed";
50795
+ canceled: "canceled";
50796
+ succeeded: "succeeded";
50797
+ }>>;
50798
+ percent: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
50799
+ message: z.ZodDefault<z.ZodNullable<z.ZodString>>;
50800
+ error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
50801
+ startedAt: z.ZodDefault<z.ZodString>;
50802
+ finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
50803
+ }, z.core.$loose>>;
50804
+ error: z.ZodNullable<z.ZodString>;
50805
+ requestId: z.ZodString;
50806
+ }, z.core.$strip>;
50807
+ }, z.core.$strip>, z.ZodObject<{
50808
+ type: z.ZodLiteral<"brain.runtime.remove.response">;
50809
+ payload: z.ZodObject<{
50810
+ job: z.ZodNullable<z.ZodObject<{
50811
+ id: z.ZodString;
50812
+ kind: z.ZodEnum<{
50813
+ pull: "pull";
50814
+ "runtime-install": "runtime-install";
50815
+ "runtime-remove": "runtime-remove";
49975
50816
  calibrate: "calibrate";
49976
50817
  sweep: "sweep";
49977
50818
  bench: "bench";
@@ -50001,6 +50842,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
50001
50842
  kind: z.ZodEnum<{
50002
50843
  pull: "pull";
50003
50844
  "runtime-install": "runtime-install";
50845
+ "runtime-remove": "runtime-remove";
50004
50846
  calibrate: "calibrate";
50005
50847
  sweep: "sweep";
50006
50848
  bench: "bench";
@@ -50030,6 +50872,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
50030
50872
  kind: z.ZodEnum<{
50031
50873
  pull: "pull";
50032
50874
  "runtime-install": "runtime-install";
50875
+ "runtime-remove": "runtime-remove";
50033
50876
  calibrate: "calibrate";
50034
50877
  sweep: "sweep";
50035
50878
  bench: "bench";
@@ -50059,6 +50902,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
50059
50902
  kind: z.ZodEnum<{
50060
50903
  pull: "pull";
50061
50904
  "runtime-install": "runtime-install";
50905
+ "runtime-remove": "runtime-remove";
50062
50906
  calibrate: "calibrate";
50063
50907
  sweep: "sweep";
50064
50908
  bench: "bench";
@@ -50088,6 +50932,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
50088
50932
  kind: z.ZodEnum<{
50089
50933
  pull: "pull";
50090
50934
  "runtime-install": "runtime-install";
50935
+ "runtime-remove": "runtime-remove";
50091
50936
  calibrate: "calibrate";
50092
50937
  sweep: "sweep";
50093
50938
  bench: "bench";
@@ -50117,6 +50962,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
50117
50962
  kind: z.ZodEnum<{
50118
50963
  pull: "pull";
50119
50964
  "runtime-install": "runtime-install";
50965
+ "runtime-remove": "runtime-remove";
50120
50966
  calibrate: "calibrate";
50121
50967
  sweep: "sweep";
50122
50968
  bench: "bench";
@@ -50146,6 +50992,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
50146
50992
  downloads: z.ZodDefault<z.ZodNumber>;
50147
50993
  likes: z.ZodDefault<z.ZodNumber>;
50148
50994
  gated: z.ZodDefault<z.ZodBoolean>;
50995
+ summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50149
50996
  installed: z.ZodDefault<z.ZodBoolean>;
50150
50997
  }, z.core.$loose>>>;
50151
50998
  error: z.ZodNullable<z.ZodString>;
@@ -50159,7 +51006,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
50159
51006
  size: z.ZodDefault<z.ZodString>;
50160
51007
  sizeBytes: z.ZodDefault<z.ZodNumber>;
50161
51008
  files: z.ZodDefault<z.ZodNumber>;
51009
+ fileNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
50162
51010
  installed: z.ZodDefault<z.ZodBoolean>;
51011
+ modelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51012
+ projector: z.ZodOptional<z.ZodObject<{
51013
+ file: z.ZodString;
51014
+ sizeBytes: z.ZodNumber;
51015
+ installed: z.ZodOptional<z.ZodBoolean>;
51016
+ }, z.core.$strip>>;
50163
51017
  }, z.core.$loose>>>;
50164
51018
  error: z.ZodNullable<z.ZodString>;
50165
51019
  requestId: z.ZodString;
@@ -50172,6 +51026,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
50172
51026
  kind: z.ZodEnum<{
50173
51027
  pull: "pull";
50174
51028
  "runtime-install": "runtime-install";
51029
+ "runtime-remove": "runtime-remove";
50175
51030
  calibrate: "calibrate";
50176
51031
  sweep: "sweep";
50177
51032
  bench: "bench";
@@ -50209,6 +51064,19 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
50209
51064
  blockCount: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
50210
51065
  headCountKv: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
50211
51066
  hasProjector: z.ZodDefault<z.ZodBoolean>;
51067
+ components: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
51068
+ id: z.ZodString;
51069
+ label: z.ZodDefault<z.ZodString>;
51070
+ description: z.ZodDefault<z.ZodString>;
51071
+ role: z.ZodDefault<z.ZodString>;
51072
+ bytes: z.ZodDefault<z.ZodNumber>;
51073
+ available: z.ZodDefault<z.ZodBoolean>;
51074
+ unavailableReason: z.ZodOptional<z.ZodString>;
51075
+ required: z.ZodDefault<z.ZodBoolean>;
51076
+ defaultDownload: z.ZodDefault<z.ZodBoolean>;
51077
+ defaultLoad: z.ZodDefault<z.ZodBoolean>;
51078
+ minRuntimeBuild: z.ZodOptional<z.ZodNumber>;
51079
+ }, z.core.$strip>>>>;
50212
51080
  reasoning: z.ZodDefault<z.ZodBoolean>;
50213
51081
  mtp: z.ZodDefault<z.ZodBoolean>;
50214
51082
  distilled: z.ZodDefault<z.ZodBoolean>;
@@ -50221,6 +51089,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
50221
51089
  flashAttention: z.ZodDefault<z.ZodBoolean>;
50222
51090
  gpuLayers: z.ZodDefault<z.ZodNumber>;
50223
51091
  vision: z.ZodDefault<z.ZodBoolean>;
51092
+ enabledComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
50224
51093
  reasoningBudget: z.ZodDefault<z.ZodNumber>;
50225
51094
  parallelSlots: z.ZodDefault<z.ZodNumber>;
50226
51095
  }, z.core.$loose>>>;
@@ -50233,6 +51102,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
50233
51102
  budget: z.ZodDefault<z.ZodNullable<z.ZodObject<{
50234
51103
  weightsBytes: z.ZodDefault<z.ZodNumber>;
50235
51104
  mmprojBytes: z.ZodDefault<z.ZodNumber>;
51105
+ componentBytes: z.ZodOptional<z.ZodNumber>;
51106
+ drafterKvBytes: z.ZodOptional<z.ZodNumber>;
51107
+ imageProcessingBytes: z.ZodOptional<z.ZodNumber>;
50236
51108
  kvBytes: z.ZodDefault<z.ZodNumber>;
50237
51109
  overheadBytes: z.ZodDefault<z.ZodNumber>;
50238
51110
  totalBytes: z.ZodDefault<z.ZodNumber>;
@@ -50282,6 +51154,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
50282
51154
  flashAttention: z.ZodDefault<z.ZodBoolean>;
50283
51155
  gpuLayers: z.ZodDefault<z.ZodNumber>;
50284
51156
  vision: z.ZodDefault<z.ZodBoolean>;
51157
+ enabledComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
50285
51158
  reasoningBudget: z.ZodDefault<z.ZodNumber>;
50286
51159
  parallelSlots: z.ZodDefault<z.ZodNumber>;
50287
51160
  }, z.core.$loose>>>;
@@ -50322,6 +51195,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
50322
51195
  flashAttention: z.ZodDefault<z.ZodBoolean>;
50323
51196
  gpuLayers: z.ZodDefault<z.ZodNumber>;
50324
51197
  vision: z.ZodDefault<z.ZodBoolean>;
51198
+ enabledComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
50325
51199
  reasoningBudget: z.ZodDefault<z.ZodNumber>;
50326
51200
  parallelSlots: z.ZodDefault<z.ZodNumber>;
50327
51201
  }, z.core.$loose>>>;
@@ -50341,6 +51215,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
50341
51215
  budget: z.ZodDefault<z.ZodNullable<z.ZodObject<{
50342
51216
  weightsBytes: z.ZodDefault<z.ZodNumber>;
50343
51217
  mmprojBytes: z.ZodDefault<z.ZodNumber>;
51218
+ componentBytes: z.ZodOptional<z.ZodNumber>;
51219
+ drafterKvBytes: z.ZodOptional<z.ZodNumber>;
51220
+ imageProcessingBytes: z.ZodOptional<z.ZodNumber>;
50344
51221
  kvBytes: z.ZodDefault<z.ZodNumber>;
50345
51222
  overheadBytes: z.ZodDefault<z.ZodNumber>;
50346
51223
  totalBytes: z.ZodDefault<z.ZodNumber>;
@@ -50369,12 +51246,16 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
50369
51246
  flashAttention: z.ZodDefault<z.ZodBoolean>;
50370
51247
  gpuLayers: z.ZodDefault<z.ZodNumber>;
50371
51248
  vision: z.ZodDefault<z.ZodBoolean>;
51249
+ enabledComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
50372
51250
  reasoningBudget: z.ZodDefault<z.ZodNumber>;
50373
51251
  parallelSlots: z.ZodDefault<z.ZodNumber>;
50374
51252
  }, z.core.$loose>>>;
50375
51253
  budget: z.ZodDefault<z.ZodNullable<z.ZodObject<{
50376
51254
  weightsBytes: z.ZodDefault<z.ZodNumber>;
50377
51255
  mmprojBytes: z.ZodDefault<z.ZodNumber>;
51256
+ componentBytes: z.ZodOptional<z.ZodNumber>;
51257
+ drafterKvBytes: z.ZodOptional<z.ZodNumber>;
51258
+ imageProcessingBytes: z.ZodOptional<z.ZodNumber>;
50378
51259
  kvBytes: z.ZodDefault<z.ZodNumber>;
50379
51260
  overheadBytes: z.ZodDefault<z.ZodNumber>;
50380
51261
  totalBytes: z.ZodDefault<z.ZodNumber>;
@@ -50478,6 +51359,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
50478
51359
  flashAttention: z.ZodDefault<z.ZodBoolean>;
50479
51360
  gpuLayers: z.ZodDefault<z.ZodNumber>;
50480
51361
  vision: z.ZodDefault<z.ZodBoolean>;
51362
+ enabledComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
50481
51363
  reasoningBudget: z.ZodDefault<z.ZodNumber>;
50482
51364
  parallelSlots: z.ZodDefault<z.ZodNumber>;
50483
51365
  }, z.core.$loose>>>;
@@ -50569,6 +51451,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
50569
51451
  error: z.ZodNullable<z.ZodString>;
50570
51452
  requestId: z.ZodString;
50571
51453
  }, z.core.$strip>;
51454
+ }, z.core.$strip>, z.ZodObject<{
51455
+ type: z.ZodLiteral<"brain.model.component.delete.response">;
51456
+ payload: z.ZodObject<{
51457
+ deleted: z.ZodDefault<z.ZodArray<z.ZodString>>;
51458
+ freedBytes: z.ZodDefault<z.ZodNumber>;
51459
+ error: z.ZodNullable<z.ZodString>;
51460
+ requestId: z.ZodString;
51461
+ }, z.core.$strip>;
50572
51462
  }, z.core.$strip>, z.ZodObject<{
50573
51463
  type: z.ZodLiteral<"brain.model.rename.response">;
50574
51464
  payload: z.ZodObject<{
@@ -52654,6 +53544,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
52654
53544
  additions: z.ZodNumber;
52655
53545
  deletions: z.ZodNumber;
52656
53546
  }, z.core.$strip>>>;
53547
+ workingTreeDiffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
53548
+ additions: z.ZodNumber;
53549
+ deletions: z.ZodNumber;
53550
+ }, z.core.$strip>>>;
52657
53551
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
52658
53552
  scriptName: z.ZodString;
52659
53553
  label: z.ZodOptional<z.ZodString>;
@@ -52688,6 +53582,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
52688
53582
  remoteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52689
53583
  isOttoOwnedWorktree: z.ZodOptional<z.ZodBoolean>;
52690
53584
  isDirty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
53585
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52691
53586
  aheadBehind: z.ZodOptional<z.ZodNullable<z.ZodObject<{
52692
53587
  ahead: z.ZodNumber;
52693
53588
  behind: z.ZodNumber;
@@ -52863,11 +53758,16 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
52863
53758
  additions: number;
52864
53759
  deletions: number;
52865
53760
  } | null | undefined;
53761
+ workingTreeDiffStat?: {
53762
+ additions: number;
53763
+ deletions: number;
53764
+ } | null | undefined;
52866
53765
  gitRuntime?: {
52867
53766
  currentBranch?: string | null | undefined;
52868
53767
  remoteUrl?: string | null | undefined;
52869
53768
  isOttoOwnedWorktree?: boolean | undefined;
52870
53769
  isDirty?: boolean | null | undefined;
53770
+ baseRef?: string | null | undefined;
52871
53771
  aheadBehind?: {
52872
53772
  ahead: number;
52873
53773
  behind: number;
@@ -52976,11 +53876,16 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
52976
53876
  additions: number;
52977
53877
  deletions: number;
52978
53878
  } | null | undefined;
53879
+ workingTreeDiffStat?: {
53880
+ additions: number;
53881
+ deletions: number;
53882
+ } | null | undefined;
52979
53883
  gitRuntime?: {
52980
53884
  currentBranch?: string | null | undefined;
52981
53885
  remoteUrl?: string | null | undefined;
52982
53886
  isOttoOwnedWorktree?: boolean | undefined;
52983
53887
  isDirty?: boolean | null | undefined;
53888
+ baseRef?: string | null | undefined;
52984
53889
  aheadBehind?: {
52985
53890
  ahead: number;
52986
53891
  behind: number;
@@ -54119,11 +55024,11 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
54119
55024
  relPath: z.ZodString;
54120
55025
  scope: z.ZodEnum<{
54121
55026
  local: "local";
55027
+ runtime: "runtime";
54122
55028
  enterprise: "enterprise";
54123
55029
  global: "global";
54124
55030
  project: "project";
54125
55031
  subdirectory: "subdirectory";
54126
- runtime: "runtime";
54127
55032
  }>;
54128
55033
  category: z.ZodEnum<{
54129
55034
  context_files: "context_files";
@@ -54278,6 +55183,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
54278
55183
  constraint: "constraint";
54279
55184
  requirement: "requirement";
54280
55185
  architecture: "architecture";
55186
+ finding: "finding";
54281
55187
  }>;
54282
55188
  title: z.ZodString;
54283
55189
  statement: z.ZodString;
@@ -54337,6 +55243,11 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
54337
55243
  }>;
54338
55244
  recordId: z.ZodString;
54339
55245
  relatedRecordId: z.ZodOptional<z.ZodString>;
55246
+ tagOverlap: z.ZodOptional<z.ZodEnum<{
55247
+ complete: "complete";
55248
+ partial: "partial";
55249
+ }>>;
55250
+ sharedTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
54340
55251
  message: z.ZodString;
54341
55252
  }, z.core.$strip>>;
54342
55253
  brief: z.ZodString;
@@ -54357,6 +55268,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
54357
55268
  constraint: "constraint";
54358
55269
  requirement: "requirement";
54359
55270
  architecture: "architecture";
55271
+ finding: "finding";
54360
55272
  }>;
54361
55273
  title: z.ZodString;
54362
55274
  statement: z.ZodString;
@@ -54416,6 +55328,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
54416
55328
  constraint: "constraint";
54417
55329
  requirement: "requirement";
54418
55330
  architecture: "architecture";
55331
+ finding: "finding";
54419
55332
  }>;
54420
55333
  title: z.ZodString;
54421
55334
  statement: z.ZodString;
@@ -54475,6 +55388,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
54475
55388
  constraint: "constraint";
54476
55389
  requirement: "requirement";
54477
55390
  architecture: "architecture";
55391
+ finding: "finding";
54478
55392
  }>;
54479
55393
  title: z.ZodString;
54480
55394
  statement: z.ZodString;
@@ -54535,6 +55449,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
54535
55449
  constraint: "constraint";
54536
55450
  requirement: "requirement";
54537
55451
  architecture: "architecture";
55452
+ finding: "finding";
54538
55453
  }>;
54539
55454
  title: z.ZodString;
54540
55455
  statement: z.ZodString;
@@ -54594,6 +55509,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
54594
55509
  constraint: "constraint";
54595
55510
  requirement: "requirement";
54596
55511
  architecture: "architecture";
55512
+ finding: "finding";
54597
55513
  }>;
54598
55514
  title: z.ZodString;
54599
55515
  statement: z.ZodString;
@@ -54654,6 +55570,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
54654
55570
  constraint: "constraint";
54655
55571
  requirement: "requirement";
54656
55572
  architecture: "architecture";
55573
+ finding: "finding";
54657
55574
  }>;
54658
55575
  title: z.ZodString;
54659
55576
  statement: z.ZodString;
@@ -56870,6 +57787,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
56870
57787
  olderThanDays: z.ZodDefault<z.ZodNumber>;
56871
57788
  dryRun: z.ZodDefault<z.ZodBoolean>;
56872
57789
  requestId: z.ZodString;
57790
+ }, z.core.$strip>, z.ZodObject<{
57791
+ type: z.ZodLiteral<"history.agents.get_storage_stats.request">;
57792
+ requestId: z.ZodString;
56873
57793
  }, z.core.$strip>, z.ZodObject<{
56874
57794
  type: z.ZodLiteral<"attachments.images.get_stats.request">;
56875
57795
  requestId: z.ZodString;
@@ -56921,11 +57841,17 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
56921
57841
  }, z.core.$strip>, z.ZodObject<{
56922
57842
  type: z.ZodLiteral<"brain.models.pull.request">;
56923
57843
  model: z.ZodString;
57844
+ quant: z.ZodOptional<z.ZodString>;
57845
+ components: z.ZodOptional<z.ZodArray<z.ZodString>>;
56924
57846
  requestId: z.ZodString;
56925
57847
  }, z.core.$strip>, z.ZodObject<{
56926
57848
  type: z.ZodLiteral<"brain.runtime.install.request">;
56927
57849
  build: z.ZodDefault<z.ZodNullable<z.ZodString>>;
56928
57850
  requestId: z.ZodString;
57851
+ }, z.core.$strip>, z.ZodObject<{
57852
+ type: z.ZodLiteral<"brain.runtime.remove.request">;
57853
+ name: z.ZodString;
57854
+ requestId: z.ZodString;
56929
57855
  }, z.core.$strip>, z.ZodObject<{
56930
57856
  type: z.ZodLiteral<"brain.calibrate.request">;
56931
57857
  model: z.ZodString;
@@ -56958,6 +57884,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
56958
57884
  type: z.ZodLiteral<"brain.models.add.request">;
56959
57885
  repo: z.ZodString;
56960
57886
  quant: z.ZodString;
57887
+ components: z.ZodOptional<z.ZodArray<z.ZodString>>;
56961
57888
  requestId: z.ZodString;
56962
57889
  }, z.core.$strip>, z.ZodObject<{
56963
57890
  type: z.ZodLiteral<"brain.models.inventory.request">;
@@ -56987,6 +57914,11 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
56987
57914
  type: z.ZodLiteral<"brain.model.delete.request">;
56988
57915
  modelId: z.ZodString;
56989
57916
  requestId: z.ZodString;
57917
+ }, z.core.$strip>, z.ZodObject<{
57918
+ type: z.ZodLiteral<"brain.model.component.delete.request">;
57919
+ modelId: z.ZodString;
57920
+ componentId: z.ZodString;
57921
+ requestId: z.ZodString;
56990
57922
  }, z.core.$strip>, z.ZodObject<{
56991
57923
  type: z.ZodLiteral<"brain.model.rename.request">;
56992
57924
  modelId: z.ZodString;
@@ -57392,6 +58324,14 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
57392
58324
  port: z.ZodOptional<z.ZodNumber>;
57393
58325
  }, z.core.$loose>>;
57394
58326
  defaultModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58327
+ runtime: z.ZodOptional<z.ZodObject<{
58328
+ source: z.ZodOptional<z.ZodEnum<{
58329
+ auto: "auto";
58330
+ managed: "managed";
58331
+ lmstudio: "lmstudio";
58332
+ }>>;
58333
+ path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58334
+ }, z.core.$strip>>;
57395
58335
  lockModel: z.ZodOptional<z.ZodBoolean>;
57396
58336
  allowRemoteConfig: z.ZodOptional<z.ZodBoolean>;
57397
58337
  allowInsecureBind: z.ZodOptional<z.ZodBoolean>;
@@ -57845,6 +58785,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
57845
58785
  constraint: "constraint";
57846
58786
  requirement: "requirement";
57847
58787
  architecture: "architecture";
58788
+ finding: "finding";
57848
58789
  }>;
57849
58790
  title: z.ZodString;
57850
58791
  statement: z.ZodString;
@@ -59836,6 +60777,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
59836
60777
  }>>>;
59837
60778
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59838
60779
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60780
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
59839
60781
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
59840
60782
  attend: z.ZodOptional<z.ZodEnum<{
59841
60783
  attended: "attended";
@@ -59954,6 +60896,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
59954
60896
  }>>>;
59955
60897
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59956
60898
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60899
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
59957
60900
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
59958
60901
  attend: z.ZodOptional<z.ZodEnum<{
59959
60902
  attended: "attended";
@@ -60501,6 +61444,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
60501
61444
  }>>>;
60502
61445
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60503
61446
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61447
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
60504
61448
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
60505
61449
  attend: z.ZodOptional<z.ZodEnum<{
60506
61450
  attended: "attended";
@@ -60635,6 +61579,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
60635
61579
  additions: z.ZodNumber;
60636
61580
  deletions: z.ZodNumber;
60637
61581
  }, z.core.$strip>>>;
61582
+ workingTreeDiffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
61583
+ additions: z.ZodNumber;
61584
+ deletions: z.ZodNumber;
61585
+ }, z.core.$strip>>>;
60638
61586
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
60639
61587
  scriptName: z.ZodString;
60640
61588
  label: z.ZodOptional<z.ZodString>;
@@ -60669,6 +61617,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
60669
61617
  remoteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60670
61618
  isOttoOwnedWorktree: z.ZodOptional<z.ZodBoolean>;
60671
61619
  isDirty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
61620
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60672
61621
  aheadBehind: z.ZodOptional<z.ZodNullable<z.ZodObject<{
60673
61622
  ahead: z.ZodNumber;
60674
61623
  behind: z.ZodNumber;
@@ -60844,11 +61793,16 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
60844
61793
  additions: number;
60845
61794
  deletions: number;
60846
61795
  } | null | undefined;
61796
+ workingTreeDiffStat?: {
61797
+ additions: number;
61798
+ deletions: number;
61799
+ } | null | undefined;
60847
61800
  gitRuntime?: {
60848
61801
  currentBranch?: string | null | undefined;
60849
61802
  remoteUrl?: string | null | undefined;
60850
61803
  isOttoOwnedWorktree?: boolean | undefined;
60851
61804
  isDirty?: boolean | null | undefined;
61805
+ baseRef?: string | null | undefined;
60852
61806
  aheadBehind?: {
60853
61807
  ahead: number;
60854
61808
  behind: number;
@@ -60957,11 +61911,16 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
60957
61911
  additions: number;
60958
61912
  deletions: number;
60959
61913
  } | null | undefined;
61914
+ workingTreeDiffStat?: {
61915
+ additions: number;
61916
+ deletions: number;
61917
+ } | null | undefined;
60960
61918
  gitRuntime?: {
60961
61919
  currentBranch?: string | null | undefined;
60962
61920
  remoteUrl?: string | null | undefined;
60963
61921
  isOttoOwnedWorktree?: boolean | undefined;
60964
61922
  isDirty?: boolean | null | undefined;
61923
+ baseRef?: string | null | undefined;
60965
61924
  aheadBehind?: {
60966
61925
  ahead: number;
60967
61926
  behind: number;
@@ -61365,6 +62324,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
61365
62324
  }>>>;
61366
62325
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61367
62326
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62327
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
61368
62328
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
61369
62329
  attend: z.ZodOptional<z.ZodEnum<{
61370
62330
  attended: "attended";
@@ -61470,6 +62430,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
61470
62430
  }>>>;
61471
62431
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61472
62432
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62433
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
61473
62434
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
61474
62435
  attend: z.ZodOptional<z.ZodEnum<{
61475
62436
  attended: "attended";
@@ -61658,6 +62619,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
61658
62619
  }>>>;
61659
62620
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61660
62621
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62622
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
61661
62623
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
61662
62624
  attend: z.ZodOptional<z.ZodEnum<{
61663
62625
  attended: "attended";
@@ -61812,6 +62774,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
61812
62774
  additions: z.ZodNumber;
61813
62775
  deletions: z.ZodNumber;
61814
62776
  }, z.core.$strip>>>;
62777
+ workingTreeDiffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
62778
+ additions: z.ZodNumber;
62779
+ deletions: z.ZodNumber;
62780
+ }, z.core.$strip>>>;
61815
62781
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
61816
62782
  scriptName: z.ZodString;
61817
62783
  label: z.ZodOptional<z.ZodString>;
@@ -61846,6 +62812,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
61846
62812
  remoteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61847
62813
  isOttoOwnedWorktree: z.ZodOptional<z.ZodBoolean>;
61848
62814
  isDirty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
62815
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61849
62816
  aheadBehind: z.ZodOptional<z.ZodNullable<z.ZodObject<{
61850
62817
  ahead: z.ZodNumber;
61851
62818
  behind: z.ZodNumber;
@@ -62021,11 +62988,16 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
62021
62988
  additions: number;
62022
62989
  deletions: number;
62023
62990
  } | null | undefined;
62991
+ workingTreeDiffStat?: {
62992
+ additions: number;
62993
+ deletions: number;
62994
+ } | null | undefined;
62024
62995
  gitRuntime?: {
62025
62996
  currentBranch?: string | null | undefined;
62026
62997
  remoteUrl?: string | null | undefined;
62027
62998
  isOttoOwnedWorktree?: boolean | undefined;
62028
62999
  isDirty?: boolean | null | undefined;
63000
+ baseRef?: string | null | undefined;
62029
63001
  aheadBehind?: {
62030
63002
  ahead: number;
62031
63003
  behind: number;
@@ -62134,11 +63106,16 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
62134
63106
  additions: number;
62135
63107
  deletions: number;
62136
63108
  } | null | undefined;
63109
+ workingTreeDiffStat?: {
63110
+ additions: number;
63111
+ deletions: number;
63112
+ } | null | undefined;
62137
63113
  gitRuntime?: {
62138
63114
  currentBranch?: string | null | undefined;
62139
63115
  remoteUrl?: string | null | undefined;
62140
63116
  isOttoOwnedWorktree?: boolean | undefined;
62141
63117
  isDirty?: boolean | null | undefined;
63118
+ baseRef?: string | null | undefined;
62142
63119
  aheadBehind?: {
62143
63120
  ahead: number;
62144
63121
  behind: number;
@@ -62360,6 +63337,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
62360
63337
  additions: z.ZodNumber;
62361
63338
  deletions: z.ZodNumber;
62362
63339
  }, z.core.$strip>>>;
63340
+ workingTreeDiffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
63341
+ additions: z.ZodNumber;
63342
+ deletions: z.ZodNumber;
63343
+ }, z.core.$strip>>>;
62363
63344
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
62364
63345
  scriptName: z.ZodString;
62365
63346
  label: z.ZodOptional<z.ZodString>;
@@ -62394,6 +63375,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
62394
63375
  remoteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62395
63376
  isOttoOwnedWorktree: z.ZodOptional<z.ZodBoolean>;
62396
63377
  isDirty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
63378
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62397
63379
  aheadBehind: z.ZodOptional<z.ZodNullable<z.ZodObject<{
62398
63380
  ahead: z.ZodNumber;
62399
63381
  behind: z.ZodNumber;
@@ -62569,11 +63551,16 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
62569
63551
  additions: number;
62570
63552
  deletions: number;
62571
63553
  } | null | undefined;
63554
+ workingTreeDiffStat?: {
63555
+ additions: number;
63556
+ deletions: number;
63557
+ } | null | undefined;
62572
63558
  gitRuntime?: {
62573
63559
  currentBranch?: string | null | undefined;
62574
63560
  remoteUrl?: string | null | undefined;
62575
63561
  isOttoOwnedWorktree?: boolean | undefined;
62576
63562
  isDirty?: boolean | null | undefined;
63563
+ baseRef?: string | null | undefined;
62577
63564
  aheadBehind?: {
62578
63565
  ahead: number;
62579
63566
  behind: number;
@@ -62682,11 +63669,16 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
62682
63669
  additions: number;
62683
63670
  deletions: number;
62684
63671
  } | null | undefined;
63672
+ workingTreeDiffStat?: {
63673
+ additions: number;
63674
+ deletions: number;
63675
+ } | null | undefined;
62685
63676
  gitRuntime?: {
62686
63677
  currentBranch?: string | null | undefined;
62687
63678
  remoteUrl?: string | null | undefined;
62688
63679
  isOttoOwnedWorktree?: boolean | undefined;
62689
63680
  isDirty?: boolean | null | undefined;
63681
+ baseRef?: string | null | undefined;
62690
63682
  aheadBehind?: {
62691
63683
  ahead: number;
62692
63684
  behind: number;
@@ -63179,6 +64171,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
63179
64171
  additions: z.ZodNumber;
63180
64172
  deletions: z.ZodNumber;
63181
64173
  }, z.core.$strip>>>;
64174
+ workingTreeDiffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
64175
+ additions: z.ZodNumber;
64176
+ deletions: z.ZodNumber;
64177
+ }, z.core.$strip>>>;
63182
64178
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
63183
64179
  scriptName: z.ZodString;
63184
64180
  label: z.ZodOptional<z.ZodString>;
@@ -63213,6 +64209,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
63213
64209
  remoteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63214
64210
  isOttoOwnedWorktree: z.ZodOptional<z.ZodBoolean>;
63215
64211
  isDirty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
64212
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63216
64213
  aheadBehind: z.ZodOptional<z.ZodNullable<z.ZodObject<{
63217
64214
  ahead: z.ZodNumber;
63218
64215
  behind: z.ZodNumber;
@@ -63388,11 +64385,16 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
63388
64385
  additions: number;
63389
64386
  deletions: number;
63390
64387
  } | null | undefined;
64388
+ workingTreeDiffStat?: {
64389
+ additions: number;
64390
+ deletions: number;
64391
+ } | null | undefined;
63391
64392
  gitRuntime?: {
63392
64393
  currentBranch?: string | null | undefined;
63393
64394
  remoteUrl?: string | null | undefined;
63394
64395
  isOttoOwnedWorktree?: boolean | undefined;
63395
64396
  isDirty?: boolean | null | undefined;
64397
+ baseRef?: string | null | undefined;
63396
64398
  aheadBehind?: {
63397
64399
  ahead: number;
63398
64400
  behind: number;
@@ -63501,11 +64503,16 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
63501
64503
  additions: number;
63502
64504
  deletions: number;
63503
64505
  } | null | undefined;
64506
+ workingTreeDiffStat?: {
64507
+ additions: number;
64508
+ deletions: number;
64509
+ } | null | undefined;
63504
64510
  gitRuntime?: {
63505
64511
  currentBranch?: string | null | undefined;
63506
64512
  remoteUrl?: string | null | undefined;
63507
64513
  isOttoOwnedWorktree?: boolean | undefined;
63508
64514
  isDirty?: boolean | null | undefined;
64515
+ baseRef?: string | null | undefined;
63509
64516
  aheadBehind?: {
63510
64517
  ahead: number;
63511
64518
  behind: number;
@@ -63666,6 +64673,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
63666
64673
  }>>>;
63667
64674
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63668
64675
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64676
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
63669
64677
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
63670
64678
  attend: z.ZodOptional<z.ZodEnum<{
63671
64679
  attended: "attended";
@@ -63849,6 +64857,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
63849
64857
  }>>>;
63850
64858
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63851
64859
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64860
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
63852
64861
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
63853
64862
  attend: z.ZodOptional<z.ZodEnum<{
63854
64863
  attended: "attended";
@@ -64151,6 +65160,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
64151
65160
  }>>>;
64152
65161
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64153
65162
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65163
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
64154
65164
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
64155
65165
  attend: z.ZodOptional<z.ZodEnum<{
64156
65166
  attended: "attended";
@@ -64257,6 +65267,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
64257
65267
  }>>>;
64258
65268
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64259
65269
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65270
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
64260
65271
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
64261
65272
  attend: z.ZodOptional<z.ZodEnum<{
64262
65273
  attended: "attended";
@@ -64309,6 +65320,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
64309
65320
  additions: z.ZodNumber;
64310
65321
  deletions: z.ZodNumber;
64311
65322
  }, z.core.$strip>>>;
65323
+ workingTreeDiffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
65324
+ additions: z.ZodNumber;
65325
+ deletions: z.ZodNumber;
65326
+ }, z.core.$strip>>>;
64312
65327
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
64313
65328
  scriptName: z.ZodString;
64314
65329
  label: z.ZodOptional<z.ZodString>;
@@ -64343,6 +65358,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
64343
65358
  remoteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64344
65359
  isOttoOwnedWorktree: z.ZodOptional<z.ZodBoolean>;
64345
65360
  isDirty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
65361
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64346
65362
  aheadBehind: z.ZodOptional<z.ZodNullable<z.ZodObject<{
64347
65363
  ahead: z.ZodNumber;
64348
65364
  behind: z.ZodNumber;
@@ -64518,11 +65534,16 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
64518
65534
  additions: number;
64519
65535
  deletions: number;
64520
65536
  } | null | undefined;
65537
+ workingTreeDiffStat?: {
65538
+ additions: number;
65539
+ deletions: number;
65540
+ } | null | undefined;
64521
65541
  gitRuntime?: {
64522
65542
  currentBranch?: string | null | undefined;
64523
65543
  remoteUrl?: string | null | undefined;
64524
65544
  isOttoOwnedWorktree?: boolean | undefined;
64525
65545
  isDirty?: boolean | null | undefined;
65546
+ baseRef?: string | null | undefined;
64526
65547
  aheadBehind?: {
64527
65548
  ahead: number;
64528
65549
  behind: number;
@@ -64631,11 +65652,16 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
64631
65652
  additions: number;
64632
65653
  deletions: number;
64633
65654
  } | null | undefined;
65655
+ workingTreeDiffStat?: {
65656
+ additions: number;
65657
+ deletions: number;
65658
+ } | null | undefined;
64634
65659
  gitRuntime?: {
64635
65660
  currentBranch?: string | null | undefined;
64636
65661
  remoteUrl?: string | null | undefined;
64637
65662
  isOttoOwnedWorktree?: boolean | undefined;
64638
65663
  isDirty?: boolean | null | undefined;
65664
+ baseRef?: string | null | undefined;
64639
65665
  aheadBehind?: {
64640
65666
  ahead: number;
64641
65667
  behind: number;
@@ -65048,6 +66074,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
65048
66074
  port: z.ZodDefault<z.ZodNumber>;
65049
66075
  }, z.core.$loose>>;
65050
66076
  defaultModel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
66077
+ runtime: z.ZodDefault<z.ZodObject<{
66078
+ source: z.ZodDefault<z.ZodEnum<{
66079
+ auto: "auto";
66080
+ managed: "managed";
66081
+ lmstudio: "lmstudio";
66082
+ }>>;
66083
+ path: z.ZodDefault<z.ZodNullable<z.ZodString>>;
66084
+ }, z.core.$strip>>;
65051
66085
  lockModel: z.ZodDefault<z.ZodBoolean>;
65052
66086
  allowRemoteConfig: z.ZodDefault<z.ZodBoolean>;
65053
66087
  allowInsecureBind: z.ZodDefault<z.ZodBoolean>;
@@ -65319,6 +66353,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
65319
66353
  port: z.ZodDefault<z.ZodNumber>;
65320
66354
  }, z.core.$loose>>;
65321
66355
  defaultModel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
66356
+ runtime: z.ZodDefault<z.ZodObject<{
66357
+ source: z.ZodDefault<z.ZodEnum<{
66358
+ auto: "auto";
66359
+ managed: "managed";
66360
+ lmstudio: "lmstudio";
66361
+ }>>;
66362
+ path: z.ZodDefault<z.ZodNullable<z.ZodString>>;
66363
+ }, z.core.$strip>>;
65322
66364
  lockModel: z.ZodDefault<z.ZodBoolean>;
65323
66365
  allowRemoteConfig: z.ZodDefault<z.ZodBoolean>;
65324
66366
  allowInsecureBind: z.ZodDefault<z.ZodBoolean>;
@@ -65825,11 +66867,11 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
65825
66867
  relPath: z.ZodString;
65826
66868
  scope: z.ZodEnum<{
65827
66869
  local: "local";
66870
+ runtime: "runtime";
65828
66871
  enterprise: "enterprise";
65829
66872
  global: "global";
65830
66873
  project: "project";
65831
66874
  subdirectory: "subdirectory";
65832
- runtime: "runtime";
65833
66875
  }>;
65834
66876
  category: z.ZodEnum<{
65835
66877
  context_files: "context_files";
@@ -66183,6 +67225,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
66183
67225
  }>>>;
66184
67226
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66185
67227
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67228
+ archiveBytes: z.ZodOptional<z.ZodNumber>;
66186
67229
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
66187
67230
  attend: z.ZodOptional<z.ZodEnum<{
66188
67231
  attended: "attended";
@@ -66228,6 +67271,16 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
66228
67271
  dryRun: z.ZodBoolean;
66229
67272
  error: z.ZodNullable<z.ZodString>;
66230
67273
  requestId: z.ZodString;
67274
+ ottoBytes: z.ZodOptional<z.ZodNumber>;
67275
+ reclaimedBytes: z.ZodOptional<z.ZodNumber>;
67276
+ }, z.core.$strip>;
67277
+ }, z.core.$strip>, z.ZodObject<{
67278
+ type: z.ZodLiteral<"history.agents.get_storage_stats.response">;
67279
+ payload: z.ZodObject<{
67280
+ archivedCount: z.ZodNumber;
67281
+ totalBytes: z.ZodNumber;
67282
+ error: z.ZodNullable<z.ZodString>;
67283
+ requestId: z.ZodString;
66231
67284
  }, z.core.$strip>;
66232
67285
  }, z.core.$strip>, z.ZodObject<{
66233
67286
  type: z.ZodLiteral<"attachments.images.get_stats.response">;
@@ -66643,6 +67696,19 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
66643
67696
  tier: z.ZodDefault<z.ZodString>;
66644
67697
  useCases: z.ZodDefault<z.ZodArray<z.ZodString>>;
66645
67698
  why: z.ZodDefault<z.ZodString>;
67699
+ components: z.ZodOptional<z.ZodArray<z.ZodObject<{
67700
+ id: z.ZodString;
67701
+ label: z.ZodDefault<z.ZodString>;
67702
+ description: z.ZodDefault<z.ZodString>;
67703
+ role: z.ZodDefault<z.ZodString>;
67704
+ hfRepo: z.ZodOptional<z.ZodString>;
67705
+ file: z.ZodDefault<z.ZodString>;
67706
+ bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
67707
+ required: z.ZodDefault<z.ZodBoolean>;
67708
+ defaultDownload: z.ZodDefault<z.ZodBoolean>;
67709
+ defaultLoad: z.ZodDefault<z.ZodBoolean>;
67710
+ minRuntimeBuild: z.ZodOptional<z.ZodNumber>;
67711
+ }, z.core.$strip>>>;
66646
67712
  }, z.core.$loose>>>;
66647
67713
  error: z.ZodNullable<z.ZodString>;
66648
67714
  requestId: z.ZodString;
@@ -66652,6 +67718,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
66652
67718
  payload: z.ZodObject<{
66653
67719
  runtimes: z.ZodDefault<z.ZodArray<z.ZodObject<{
66654
67720
  label: z.ZodDefault<z.ZodString>;
67721
+ displayName: z.ZodDefault<z.ZodString>;
66655
67722
  version: z.ZodDefault<z.ZodString>;
66656
67723
  source: z.ZodDefault<z.ZodString>;
66657
67724
  dir: z.ZodDefault<z.ZodString>;
@@ -66667,6 +67734,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
66667
67734
  kind: z.ZodEnum<{
66668
67735
  pull: "pull";
66669
67736
  "runtime-install": "runtime-install";
67737
+ "runtime-remove": "runtime-remove";
66670
67738
  calibrate: "calibrate";
66671
67739
  sweep: "sweep";
66672
67740
  bench: "bench";
@@ -66696,6 +67764,37 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
66696
67764
  kind: z.ZodEnum<{
66697
67765
  pull: "pull";
66698
67766
  "runtime-install": "runtime-install";
67767
+ "runtime-remove": "runtime-remove";
67768
+ calibrate: "calibrate";
67769
+ sweep: "sweep";
67770
+ bench: "bench";
67771
+ }>;
67772
+ label: z.ZodDefault<z.ZodString>;
67773
+ target: z.ZodDefault<z.ZodNullable<z.ZodString>>;
67774
+ status: z.ZodDefault<z.ZodEnum<{
67775
+ running: "running";
67776
+ failed: "failed";
67777
+ canceled: "canceled";
67778
+ succeeded: "succeeded";
67779
+ }>>;
67780
+ percent: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
67781
+ message: z.ZodDefault<z.ZodNullable<z.ZodString>>;
67782
+ error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
67783
+ startedAt: z.ZodDefault<z.ZodString>;
67784
+ finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
67785
+ }, z.core.$loose>>;
67786
+ error: z.ZodNullable<z.ZodString>;
67787
+ requestId: z.ZodString;
67788
+ }, z.core.$strip>;
67789
+ }, z.core.$strip>, z.ZodObject<{
67790
+ type: z.ZodLiteral<"brain.runtime.remove.response">;
67791
+ payload: z.ZodObject<{
67792
+ job: z.ZodNullable<z.ZodObject<{
67793
+ id: z.ZodString;
67794
+ kind: z.ZodEnum<{
67795
+ pull: "pull";
67796
+ "runtime-install": "runtime-install";
67797
+ "runtime-remove": "runtime-remove";
66699
67798
  calibrate: "calibrate";
66700
67799
  sweep: "sweep";
66701
67800
  bench: "bench";
@@ -66725,6 +67824,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
66725
67824
  kind: z.ZodEnum<{
66726
67825
  pull: "pull";
66727
67826
  "runtime-install": "runtime-install";
67827
+ "runtime-remove": "runtime-remove";
66728
67828
  calibrate: "calibrate";
66729
67829
  sweep: "sweep";
66730
67830
  bench: "bench";
@@ -66754,6 +67854,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
66754
67854
  kind: z.ZodEnum<{
66755
67855
  pull: "pull";
66756
67856
  "runtime-install": "runtime-install";
67857
+ "runtime-remove": "runtime-remove";
66757
67858
  calibrate: "calibrate";
66758
67859
  sweep: "sweep";
66759
67860
  bench: "bench";
@@ -66783,6 +67884,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
66783
67884
  kind: z.ZodEnum<{
66784
67885
  pull: "pull";
66785
67886
  "runtime-install": "runtime-install";
67887
+ "runtime-remove": "runtime-remove";
66786
67888
  calibrate: "calibrate";
66787
67889
  sweep: "sweep";
66788
67890
  bench: "bench";
@@ -66812,6 +67914,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
66812
67914
  kind: z.ZodEnum<{
66813
67915
  pull: "pull";
66814
67916
  "runtime-install": "runtime-install";
67917
+ "runtime-remove": "runtime-remove";
66815
67918
  calibrate: "calibrate";
66816
67919
  sweep: "sweep";
66817
67920
  bench: "bench";
@@ -66841,6 +67944,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
66841
67944
  kind: z.ZodEnum<{
66842
67945
  pull: "pull";
66843
67946
  "runtime-install": "runtime-install";
67947
+ "runtime-remove": "runtime-remove";
66844
67948
  calibrate: "calibrate";
66845
67949
  sweep: "sweep";
66846
67950
  bench: "bench";
@@ -66870,6 +67974,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
66870
67974
  downloads: z.ZodDefault<z.ZodNumber>;
66871
67975
  likes: z.ZodDefault<z.ZodNumber>;
66872
67976
  gated: z.ZodDefault<z.ZodBoolean>;
67977
+ summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66873
67978
  installed: z.ZodDefault<z.ZodBoolean>;
66874
67979
  }, z.core.$loose>>>;
66875
67980
  error: z.ZodNullable<z.ZodString>;
@@ -66883,7 +67988,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
66883
67988
  size: z.ZodDefault<z.ZodString>;
66884
67989
  sizeBytes: z.ZodDefault<z.ZodNumber>;
66885
67990
  files: z.ZodDefault<z.ZodNumber>;
67991
+ fileNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
66886
67992
  installed: z.ZodDefault<z.ZodBoolean>;
67993
+ modelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67994
+ projector: z.ZodOptional<z.ZodObject<{
67995
+ file: z.ZodString;
67996
+ sizeBytes: z.ZodNumber;
67997
+ installed: z.ZodOptional<z.ZodBoolean>;
67998
+ }, z.core.$strip>>;
66887
67999
  }, z.core.$loose>>>;
66888
68000
  error: z.ZodNullable<z.ZodString>;
66889
68001
  requestId: z.ZodString;
@@ -66896,6 +68008,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
66896
68008
  kind: z.ZodEnum<{
66897
68009
  pull: "pull";
66898
68010
  "runtime-install": "runtime-install";
68011
+ "runtime-remove": "runtime-remove";
66899
68012
  calibrate: "calibrate";
66900
68013
  sweep: "sweep";
66901
68014
  bench: "bench";
@@ -66933,6 +68046,19 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
66933
68046
  blockCount: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
66934
68047
  headCountKv: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
66935
68048
  hasProjector: z.ZodDefault<z.ZodBoolean>;
68049
+ components: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
68050
+ id: z.ZodString;
68051
+ label: z.ZodDefault<z.ZodString>;
68052
+ description: z.ZodDefault<z.ZodString>;
68053
+ role: z.ZodDefault<z.ZodString>;
68054
+ bytes: z.ZodDefault<z.ZodNumber>;
68055
+ available: z.ZodDefault<z.ZodBoolean>;
68056
+ unavailableReason: z.ZodOptional<z.ZodString>;
68057
+ required: z.ZodDefault<z.ZodBoolean>;
68058
+ defaultDownload: z.ZodDefault<z.ZodBoolean>;
68059
+ defaultLoad: z.ZodDefault<z.ZodBoolean>;
68060
+ minRuntimeBuild: z.ZodOptional<z.ZodNumber>;
68061
+ }, z.core.$strip>>>>;
66936
68062
  reasoning: z.ZodDefault<z.ZodBoolean>;
66937
68063
  mtp: z.ZodDefault<z.ZodBoolean>;
66938
68064
  distilled: z.ZodDefault<z.ZodBoolean>;
@@ -66945,6 +68071,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
66945
68071
  flashAttention: z.ZodDefault<z.ZodBoolean>;
66946
68072
  gpuLayers: z.ZodDefault<z.ZodNumber>;
66947
68073
  vision: z.ZodDefault<z.ZodBoolean>;
68074
+ enabledComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
66948
68075
  reasoningBudget: z.ZodDefault<z.ZodNumber>;
66949
68076
  parallelSlots: z.ZodDefault<z.ZodNumber>;
66950
68077
  }, z.core.$loose>>>;
@@ -66957,6 +68084,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
66957
68084
  budget: z.ZodDefault<z.ZodNullable<z.ZodObject<{
66958
68085
  weightsBytes: z.ZodDefault<z.ZodNumber>;
66959
68086
  mmprojBytes: z.ZodDefault<z.ZodNumber>;
68087
+ componentBytes: z.ZodOptional<z.ZodNumber>;
68088
+ drafterKvBytes: z.ZodOptional<z.ZodNumber>;
68089
+ imageProcessingBytes: z.ZodOptional<z.ZodNumber>;
66960
68090
  kvBytes: z.ZodDefault<z.ZodNumber>;
66961
68091
  overheadBytes: z.ZodDefault<z.ZodNumber>;
66962
68092
  totalBytes: z.ZodDefault<z.ZodNumber>;
@@ -67006,6 +68136,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
67006
68136
  flashAttention: z.ZodDefault<z.ZodBoolean>;
67007
68137
  gpuLayers: z.ZodDefault<z.ZodNumber>;
67008
68138
  vision: z.ZodDefault<z.ZodBoolean>;
68139
+ enabledComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
67009
68140
  reasoningBudget: z.ZodDefault<z.ZodNumber>;
67010
68141
  parallelSlots: z.ZodDefault<z.ZodNumber>;
67011
68142
  }, z.core.$loose>>>;
@@ -67046,6 +68177,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
67046
68177
  flashAttention: z.ZodDefault<z.ZodBoolean>;
67047
68178
  gpuLayers: z.ZodDefault<z.ZodNumber>;
67048
68179
  vision: z.ZodDefault<z.ZodBoolean>;
68180
+ enabledComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
67049
68181
  reasoningBudget: z.ZodDefault<z.ZodNumber>;
67050
68182
  parallelSlots: z.ZodDefault<z.ZodNumber>;
67051
68183
  }, z.core.$loose>>>;
@@ -67065,6 +68197,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
67065
68197
  budget: z.ZodDefault<z.ZodNullable<z.ZodObject<{
67066
68198
  weightsBytes: z.ZodDefault<z.ZodNumber>;
67067
68199
  mmprojBytes: z.ZodDefault<z.ZodNumber>;
68200
+ componentBytes: z.ZodOptional<z.ZodNumber>;
68201
+ drafterKvBytes: z.ZodOptional<z.ZodNumber>;
68202
+ imageProcessingBytes: z.ZodOptional<z.ZodNumber>;
67068
68203
  kvBytes: z.ZodDefault<z.ZodNumber>;
67069
68204
  overheadBytes: z.ZodDefault<z.ZodNumber>;
67070
68205
  totalBytes: z.ZodDefault<z.ZodNumber>;
@@ -67093,12 +68228,16 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
67093
68228
  flashAttention: z.ZodDefault<z.ZodBoolean>;
67094
68229
  gpuLayers: z.ZodDefault<z.ZodNumber>;
67095
68230
  vision: z.ZodDefault<z.ZodBoolean>;
68231
+ enabledComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
67096
68232
  reasoningBudget: z.ZodDefault<z.ZodNumber>;
67097
68233
  parallelSlots: z.ZodDefault<z.ZodNumber>;
67098
68234
  }, z.core.$loose>>>;
67099
68235
  budget: z.ZodDefault<z.ZodNullable<z.ZodObject<{
67100
68236
  weightsBytes: z.ZodDefault<z.ZodNumber>;
67101
68237
  mmprojBytes: z.ZodDefault<z.ZodNumber>;
68238
+ componentBytes: z.ZodOptional<z.ZodNumber>;
68239
+ drafterKvBytes: z.ZodOptional<z.ZodNumber>;
68240
+ imageProcessingBytes: z.ZodOptional<z.ZodNumber>;
67102
68241
  kvBytes: z.ZodDefault<z.ZodNumber>;
67103
68242
  overheadBytes: z.ZodDefault<z.ZodNumber>;
67104
68243
  totalBytes: z.ZodDefault<z.ZodNumber>;
@@ -67202,6 +68341,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
67202
68341
  flashAttention: z.ZodDefault<z.ZodBoolean>;
67203
68342
  gpuLayers: z.ZodDefault<z.ZodNumber>;
67204
68343
  vision: z.ZodDefault<z.ZodBoolean>;
68344
+ enabledComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
67205
68345
  reasoningBudget: z.ZodDefault<z.ZodNumber>;
67206
68346
  parallelSlots: z.ZodDefault<z.ZodNumber>;
67207
68347
  }, z.core.$loose>>>;
@@ -67293,6 +68433,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
67293
68433
  error: z.ZodNullable<z.ZodString>;
67294
68434
  requestId: z.ZodString;
67295
68435
  }, z.core.$strip>;
68436
+ }, z.core.$strip>, z.ZodObject<{
68437
+ type: z.ZodLiteral<"brain.model.component.delete.response">;
68438
+ payload: z.ZodObject<{
68439
+ deleted: z.ZodDefault<z.ZodArray<z.ZodString>>;
68440
+ freedBytes: z.ZodDefault<z.ZodNumber>;
68441
+ error: z.ZodNullable<z.ZodString>;
68442
+ requestId: z.ZodString;
68443
+ }, z.core.$strip>;
67296
68444
  }, z.core.$strip>, z.ZodObject<{
67297
68445
  type: z.ZodLiteral<"brain.model.rename.response">;
67298
68446
  payload: z.ZodObject<{
@@ -69378,6 +70526,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
69378
70526
  additions: z.ZodNumber;
69379
70527
  deletions: z.ZodNumber;
69380
70528
  }, z.core.$strip>>>;
70529
+ workingTreeDiffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
70530
+ additions: z.ZodNumber;
70531
+ deletions: z.ZodNumber;
70532
+ }, z.core.$strip>>>;
69381
70533
  scripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
69382
70534
  scriptName: z.ZodString;
69383
70535
  label: z.ZodOptional<z.ZodString>;
@@ -69412,6 +70564,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
69412
70564
  remoteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69413
70565
  isOttoOwnedWorktree: z.ZodOptional<z.ZodBoolean>;
69414
70566
  isDirty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
70567
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69415
70568
  aheadBehind: z.ZodOptional<z.ZodNullable<z.ZodObject<{
69416
70569
  ahead: z.ZodNumber;
69417
70570
  behind: z.ZodNumber;
@@ -69587,11 +70740,16 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
69587
70740
  additions: number;
69588
70741
  deletions: number;
69589
70742
  } | null | undefined;
70743
+ workingTreeDiffStat?: {
70744
+ additions: number;
70745
+ deletions: number;
70746
+ } | null | undefined;
69590
70747
  gitRuntime?: {
69591
70748
  currentBranch?: string | null | undefined;
69592
70749
  remoteUrl?: string | null | undefined;
69593
70750
  isOttoOwnedWorktree?: boolean | undefined;
69594
70751
  isDirty?: boolean | null | undefined;
70752
+ baseRef?: string | null | undefined;
69595
70753
  aheadBehind?: {
69596
70754
  ahead: number;
69597
70755
  behind: number;
@@ -69700,11 +70858,16 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
69700
70858
  additions: number;
69701
70859
  deletions: number;
69702
70860
  } | null | undefined;
70861
+ workingTreeDiffStat?: {
70862
+ additions: number;
70863
+ deletions: number;
70864
+ } | null | undefined;
69703
70865
  gitRuntime?: {
69704
70866
  currentBranch?: string | null | undefined;
69705
70867
  remoteUrl?: string | null | undefined;
69706
70868
  isOttoOwnedWorktree?: boolean | undefined;
69707
70869
  isDirty?: boolean | null | undefined;
70870
+ baseRef?: string | null | undefined;
69708
70871
  aheadBehind?: {
69709
70872
  ahead: number;
69710
70873
  behind: number;
@@ -70843,11 +72006,11 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
70843
72006
  relPath: z.ZodString;
70844
72007
  scope: z.ZodEnum<{
70845
72008
  local: "local";
72009
+ runtime: "runtime";
70846
72010
  enterprise: "enterprise";
70847
72011
  global: "global";
70848
72012
  project: "project";
70849
72013
  subdirectory: "subdirectory";
70850
- runtime: "runtime";
70851
72014
  }>;
70852
72015
  category: z.ZodEnum<{
70853
72016
  context_files: "context_files";
@@ -71002,6 +72165,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
71002
72165
  constraint: "constraint";
71003
72166
  requirement: "requirement";
71004
72167
  architecture: "architecture";
72168
+ finding: "finding";
71005
72169
  }>;
71006
72170
  title: z.ZodString;
71007
72171
  statement: z.ZodString;
@@ -71061,6 +72225,11 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
71061
72225
  }>;
71062
72226
  recordId: z.ZodString;
71063
72227
  relatedRecordId: z.ZodOptional<z.ZodString>;
72228
+ tagOverlap: z.ZodOptional<z.ZodEnum<{
72229
+ complete: "complete";
72230
+ partial: "partial";
72231
+ }>>;
72232
+ sharedTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
71064
72233
  message: z.ZodString;
71065
72234
  }, z.core.$strip>>;
71066
72235
  brief: z.ZodString;
@@ -71081,6 +72250,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
71081
72250
  constraint: "constraint";
71082
72251
  requirement: "requirement";
71083
72252
  architecture: "architecture";
72253
+ finding: "finding";
71084
72254
  }>;
71085
72255
  title: z.ZodString;
71086
72256
  statement: z.ZodString;
@@ -71140,6 +72310,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
71140
72310
  constraint: "constraint";
71141
72311
  requirement: "requirement";
71142
72312
  architecture: "architecture";
72313
+ finding: "finding";
71143
72314
  }>;
71144
72315
  title: z.ZodString;
71145
72316
  statement: z.ZodString;
@@ -71199,6 +72370,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
71199
72370
  constraint: "constraint";
71200
72371
  requirement: "requirement";
71201
72372
  architecture: "architecture";
72373
+ finding: "finding";
71202
72374
  }>;
71203
72375
  title: z.ZodString;
71204
72376
  statement: z.ZodString;
@@ -71259,6 +72431,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
71259
72431
  constraint: "constraint";
71260
72432
  requirement: "requirement";
71261
72433
  architecture: "architecture";
72434
+ finding: "finding";
71262
72435
  }>;
71263
72436
  title: z.ZodString;
71264
72437
  statement: z.ZodString;
@@ -71318,6 +72491,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
71318
72491
  constraint: "constraint";
71319
72492
  requirement: "requirement";
71320
72493
  architecture: "architecture";
72494
+ finding: "finding";
71321
72495
  }>;
71322
72496
  title: z.ZodString;
71323
72497
  statement: z.ZodString;
@@ -71378,6 +72552,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
71378
72552
  constraint: "constraint";
71379
72553
  requirement: "requirement";
71380
72554
  architecture: "architecture";
72555
+ finding: "finding";
71381
72556
  }>;
71382
72557
  title: z.ZodString;
71383
72558
  statement: z.ZodString;