@otto-code/protocol 0.8.7 → 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.
@@ -896,6 +896,10 @@ export declare const WSOutboundMessageSchema: {
896
896
  additions: import("zod").ZodNumber;
897
897
  deletions: import("zod").ZodNumber;
898
898
  }, import("zod/v4/core").$strip>>>;
899
+ workingTreeDiffStat: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
900
+ additions: import("zod").ZodNumber;
901
+ deletions: import("zod").ZodNumber;
902
+ }, import("zod/v4/core").$strip>>>;
899
903
  scripts: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
900
904
  scriptName: import("zod").ZodString;
901
905
  label: import("zod").ZodOptional<import("zod").ZodString>;
@@ -930,6 +934,7 @@ export declare const WSOutboundMessageSchema: {
930
934
  remoteUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
931
935
  isOttoOwnedWorktree: import("zod").ZodOptional<import("zod").ZodBoolean>;
932
936
  isDirty: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
937
+ baseRef: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
933
938
  aheadBehind: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
934
939
  ahead: import("zod").ZodNumber;
935
940
  behind: import("zod").ZodNumber;
@@ -1105,11 +1110,16 @@ export declare const WSOutboundMessageSchema: {
1105
1110
  additions: number;
1106
1111
  deletions: number;
1107
1112
  } | null | undefined;
1113
+ workingTreeDiffStat?: {
1114
+ additions: number;
1115
+ deletions: number;
1116
+ } | null | undefined;
1108
1117
  gitRuntime?: {
1109
1118
  currentBranch?: string | null | undefined;
1110
1119
  remoteUrl?: string | null | undefined;
1111
1120
  isOttoOwnedWorktree?: boolean | undefined;
1112
1121
  isDirty?: boolean | null | undefined;
1122
+ baseRef?: string | null | undefined;
1113
1123
  aheadBehind?: {
1114
1124
  ahead: number;
1115
1125
  behind: number;
@@ -1218,11 +1228,16 @@ export declare const WSOutboundMessageSchema: {
1218
1228
  additions: number;
1219
1229
  deletions: number;
1220
1230
  } | null | undefined;
1231
+ workingTreeDiffStat?: {
1232
+ additions: number;
1233
+ deletions: number;
1234
+ } | null | undefined;
1221
1235
  gitRuntime?: {
1222
1236
  currentBranch?: string | null | undefined;
1223
1237
  remoteUrl?: string | null | undefined;
1224
1238
  isOttoOwnedWorktree?: boolean | undefined;
1225
1239
  isDirty?: boolean | null | undefined;
1240
+ baseRef?: string | null | undefined;
1226
1241
  aheadBehind?: {
1227
1242
  ahead: number;
1228
1243
  behind: number;
@@ -2076,6 +2091,10 @@ export declare const WSOutboundMessageSchema: {
2076
2091
  additions: import("zod").ZodNumber;
2077
2092
  deletions: import("zod").ZodNumber;
2078
2093
  }, import("zod/v4/core").$strip>>>;
2094
+ workingTreeDiffStat: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
2095
+ additions: import("zod").ZodNumber;
2096
+ deletions: import("zod").ZodNumber;
2097
+ }, import("zod/v4/core").$strip>>>;
2079
2098
  scripts: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
2080
2099
  scriptName: import("zod").ZodString;
2081
2100
  label: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2110,6 +2129,7 @@ export declare const WSOutboundMessageSchema: {
2110
2129
  remoteUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2111
2130
  isOttoOwnedWorktree: import("zod").ZodOptional<import("zod").ZodBoolean>;
2112
2131
  isDirty: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
2132
+ baseRef: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2113
2133
  aheadBehind: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
2114
2134
  ahead: import("zod").ZodNumber;
2115
2135
  behind: import("zod").ZodNumber;
@@ -2285,11 +2305,16 @@ export declare const WSOutboundMessageSchema: {
2285
2305
  additions: number;
2286
2306
  deletions: number;
2287
2307
  } | null | undefined;
2308
+ workingTreeDiffStat?: {
2309
+ additions: number;
2310
+ deletions: number;
2311
+ } | null | undefined;
2288
2312
  gitRuntime?: {
2289
2313
  currentBranch?: string | null | undefined;
2290
2314
  remoteUrl?: string | null | undefined;
2291
2315
  isOttoOwnedWorktree?: boolean | undefined;
2292
2316
  isDirty?: boolean | null | undefined;
2317
+ baseRef?: string | null | undefined;
2293
2318
  aheadBehind?: {
2294
2319
  ahead: number;
2295
2320
  behind: number;
@@ -2398,11 +2423,16 @@ export declare const WSOutboundMessageSchema: {
2398
2423
  additions: number;
2399
2424
  deletions: number;
2400
2425
  } | null | undefined;
2426
+ workingTreeDiffStat?: {
2427
+ additions: number;
2428
+ deletions: number;
2429
+ } | null | undefined;
2401
2430
  gitRuntime?: {
2402
2431
  currentBranch?: string | null | undefined;
2403
2432
  remoteUrl?: string | null | undefined;
2404
2433
  isOttoOwnedWorktree?: boolean | undefined;
2405
2434
  isDirty?: boolean | null | undefined;
2435
+ baseRef?: string | null | undefined;
2406
2436
  aheadBehind?: {
2407
2437
  ahead: number;
2408
2438
  behind: number;
@@ -2624,6 +2654,10 @@ export declare const WSOutboundMessageSchema: {
2624
2654
  additions: import("zod").ZodNumber;
2625
2655
  deletions: import("zod").ZodNumber;
2626
2656
  }, import("zod/v4/core").$strip>>>;
2657
+ workingTreeDiffStat: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
2658
+ additions: import("zod").ZodNumber;
2659
+ deletions: import("zod").ZodNumber;
2660
+ }, import("zod/v4/core").$strip>>>;
2627
2661
  scripts: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
2628
2662
  scriptName: import("zod").ZodString;
2629
2663
  label: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2658,6 +2692,7 @@ export declare const WSOutboundMessageSchema: {
2658
2692
  remoteUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2659
2693
  isOttoOwnedWorktree: import("zod").ZodOptional<import("zod").ZodBoolean>;
2660
2694
  isDirty: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
2695
+ baseRef: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2661
2696
  aheadBehind: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
2662
2697
  ahead: import("zod").ZodNumber;
2663
2698
  behind: import("zod").ZodNumber;
@@ -2833,11 +2868,16 @@ export declare const WSOutboundMessageSchema: {
2833
2868
  additions: number;
2834
2869
  deletions: number;
2835
2870
  } | null | undefined;
2871
+ workingTreeDiffStat?: {
2872
+ additions: number;
2873
+ deletions: number;
2874
+ } | null | undefined;
2836
2875
  gitRuntime?: {
2837
2876
  currentBranch?: string | null | undefined;
2838
2877
  remoteUrl?: string | null | undefined;
2839
2878
  isOttoOwnedWorktree?: boolean | undefined;
2840
2879
  isDirty?: boolean | null | undefined;
2880
+ baseRef?: string | null | undefined;
2841
2881
  aheadBehind?: {
2842
2882
  ahead: number;
2843
2883
  behind: number;
@@ -2946,11 +2986,16 @@ export declare const WSOutboundMessageSchema: {
2946
2986
  additions: number;
2947
2987
  deletions: number;
2948
2988
  } | null | undefined;
2989
+ workingTreeDiffStat?: {
2990
+ additions: number;
2991
+ deletions: number;
2992
+ } | null | undefined;
2949
2993
  gitRuntime?: {
2950
2994
  currentBranch?: string | null | undefined;
2951
2995
  remoteUrl?: string | null | undefined;
2952
2996
  isOttoOwnedWorktree?: boolean | undefined;
2953
2997
  isDirty?: boolean | null | undefined;
2998
+ baseRef?: string | null | undefined;
2954
2999
  aheadBehind?: {
2955
3000
  ahead: number;
2956
3001
  behind: number;
@@ -3443,6 +3488,10 @@ export declare const WSOutboundMessageSchema: {
3443
3488
  additions: import("zod").ZodNumber;
3444
3489
  deletions: import("zod").ZodNumber;
3445
3490
  }, import("zod/v4/core").$strip>>>;
3491
+ workingTreeDiffStat: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
3492
+ additions: import("zod").ZodNumber;
3493
+ deletions: import("zod").ZodNumber;
3494
+ }, import("zod/v4/core").$strip>>>;
3446
3495
  scripts: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
3447
3496
  scriptName: import("zod").ZodString;
3448
3497
  label: import("zod").ZodOptional<import("zod").ZodString>;
@@ -3477,6 +3526,7 @@ export declare const WSOutboundMessageSchema: {
3477
3526
  remoteUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
3478
3527
  isOttoOwnedWorktree: import("zod").ZodOptional<import("zod").ZodBoolean>;
3479
3528
  isDirty: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
3529
+ baseRef: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
3480
3530
  aheadBehind: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
3481
3531
  ahead: import("zod").ZodNumber;
3482
3532
  behind: import("zod").ZodNumber;
@@ -3652,11 +3702,16 @@ export declare const WSOutboundMessageSchema: {
3652
3702
  additions: number;
3653
3703
  deletions: number;
3654
3704
  } | null | undefined;
3705
+ workingTreeDiffStat?: {
3706
+ additions: number;
3707
+ deletions: number;
3708
+ } | null | undefined;
3655
3709
  gitRuntime?: {
3656
3710
  currentBranch?: string | null | undefined;
3657
3711
  remoteUrl?: string | null | undefined;
3658
3712
  isOttoOwnedWorktree?: boolean | undefined;
3659
3713
  isDirty?: boolean | null | undefined;
3714
+ baseRef?: string | null | undefined;
3660
3715
  aheadBehind?: {
3661
3716
  ahead: number;
3662
3717
  behind: number;
@@ -3765,11 +3820,16 @@ export declare const WSOutboundMessageSchema: {
3765
3820
  additions: number;
3766
3821
  deletions: number;
3767
3822
  } | null | undefined;
3823
+ workingTreeDiffStat?: {
3824
+ additions: number;
3825
+ deletions: number;
3826
+ } | null | undefined;
3768
3827
  gitRuntime?: {
3769
3828
  currentBranch?: string | null | undefined;
3770
3829
  remoteUrl?: string | null | undefined;
3771
3830
  isOttoOwnedWorktree?: boolean | undefined;
3772
3831
  isDirty?: boolean | null | undefined;
3832
+ baseRef?: string | null | undefined;
3773
3833
  aheadBehind?: {
3774
3834
  ahead: number;
3775
3835
  behind: number;
@@ -4577,6 +4637,10 @@ export declare const WSOutboundMessageSchema: {
4577
4637
  additions: import("zod").ZodNumber;
4578
4638
  deletions: import("zod").ZodNumber;
4579
4639
  }, import("zod/v4/core").$strip>>>;
4640
+ workingTreeDiffStat: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
4641
+ additions: import("zod").ZodNumber;
4642
+ deletions: import("zod").ZodNumber;
4643
+ }, import("zod/v4/core").$strip>>>;
4580
4644
  scripts: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
4581
4645
  scriptName: import("zod").ZodString;
4582
4646
  label: import("zod").ZodOptional<import("zod").ZodString>;
@@ -4611,6 +4675,7 @@ export declare const WSOutboundMessageSchema: {
4611
4675
  remoteUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
4612
4676
  isOttoOwnedWorktree: import("zod").ZodOptional<import("zod").ZodBoolean>;
4613
4677
  isDirty: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
4678
+ baseRef: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
4614
4679
  aheadBehind: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
4615
4680
  ahead: import("zod").ZodNumber;
4616
4681
  behind: import("zod").ZodNumber;
@@ -4786,11 +4851,16 @@ export declare const WSOutboundMessageSchema: {
4786
4851
  additions: number;
4787
4852
  deletions: number;
4788
4853
  } | null | undefined;
4854
+ workingTreeDiffStat?: {
4855
+ additions: number;
4856
+ deletions: number;
4857
+ } | null | undefined;
4789
4858
  gitRuntime?: {
4790
4859
  currentBranch?: string | null | undefined;
4791
4860
  remoteUrl?: string | null | undefined;
4792
4861
  isOttoOwnedWorktree?: boolean | undefined;
4793
4862
  isDirty?: boolean | null | undefined;
4863
+ baseRef?: string | null | undefined;
4794
4864
  aheadBehind?: {
4795
4865
  ahead: number;
4796
4866
  behind: number;
@@ -4899,11 +4969,16 @@ export declare const WSOutboundMessageSchema: {
4899
4969
  additions: number;
4900
4970
  deletions: number;
4901
4971
  } | null | undefined;
4972
+ workingTreeDiffStat?: {
4973
+ additions: number;
4974
+ deletions: number;
4975
+ } | null | undefined;
4902
4976
  gitRuntime?: {
4903
4977
  currentBranch?: string | null | undefined;
4904
4978
  remoteUrl?: string | null | undefined;
4905
4979
  isOttoOwnedWorktree?: boolean | undefined;
4906
4980
  isDirty?: boolean | null | undefined;
4981
+ baseRef?: string | null | undefined;
4907
4982
  aheadBehind?: {
4908
4983
  ahead: number;
4909
4984
  behind: number;
@@ -5316,6 +5391,14 @@ export declare const WSOutboundMessageSchema: {
5316
5391
  port: import("zod").ZodDefault<import("zod").ZodNumber>;
5317
5392
  }, import("zod/v4/core").$loose>>;
5318
5393
  defaultModel: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
5394
+ runtime: import("zod").ZodDefault<import("zod").ZodObject<{
5395
+ source: import("zod").ZodDefault<import("zod").ZodEnum<{
5396
+ auto: "auto";
5397
+ managed: "managed";
5398
+ lmstudio: "lmstudio";
5399
+ }>>;
5400
+ path: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
5401
+ }, import("zod/v4/core").$strip>>;
5319
5402
  lockModel: import("zod").ZodDefault<import("zod").ZodBoolean>;
5320
5403
  allowRemoteConfig: import("zod").ZodDefault<import("zod").ZodBoolean>;
5321
5404
  allowInsecureBind: import("zod").ZodDefault<import("zod").ZodBoolean>;
@@ -5587,6 +5670,14 @@ export declare const WSOutboundMessageSchema: {
5587
5670
  port: import("zod").ZodDefault<import("zod").ZodNumber>;
5588
5671
  }, import("zod/v4/core").$loose>>;
5589
5672
  defaultModel: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
5673
+ runtime: import("zod").ZodDefault<import("zod").ZodObject<{
5674
+ source: import("zod").ZodDefault<import("zod").ZodEnum<{
5675
+ auto: "auto";
5676
+ managed: "managed";
5677
+ lmstudio: "lmstudio";
5678
+ }>>;
5679
+ path: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
5680
+ }, import("zod/v4/core").$strip>>;
5590
5681
  lockModel: import("zod").ZodDefault<import("zod").ZodBoolean>;
5591
5682
  allowRemoteConfig: import("zod").ZodDefault<import("zod").ZodBoolean>;
5592
5683
  allowInsecureBind: import("zod").ZodDefault<import("zod").ZodBoolean>;
@@ -6093,11 +6184,11 @@ export declare const WSOutboundMessageSchema: {
6093
6184
  relPath: import("zod").ZodString;
6094
6185
  scope: import("zod").ZodEnum<{
6095
6186
  local: "local";
6187
+ runtime: "runtime";
6096
6188
  enterprise: "enterprise";
6097
6189
  global: "global";
6098
6190
  project: "project";
6099
6191
  subdirectory: "subdirectory";
6100
- runtime: "runtime";
6101
6192
  }>;
6102
6193
  category: import("zod").ZodEnum<{
6103
6194
  context_files: "context_files";
@@ -6922,6 +7013,19 @@ export declare const WSOutboundMessageSchema: {
6922
7013
  tier: import("zod").ZodDefault<import("zod").ZodString>;
6923
7014
  useCases: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
6924
7015
  why: import("zod").ZodDefault<import("zod").ZodString>;
7016
+ components: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
7017
+ id: import("zod").ZodString;
7018
+ label: import("zod").ZodDefault<import("zod").ZodString>;
7019
+ description: import("zod").ZodDefault<import("zod").ZodString>;
7020
+ role: import("zod").ZodDefault<import("zod").ZodString>;
7021
+ hfRepo: import("zod").ZodOptional<import("zod").ZodString>;
7022
+ file: import("zod").ZodDefault<import("zod").ZodString>;
7023
+ bytes: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
7024
+ required: import("zod").ZodDefault<import("zod").ZodBoolean>;
7025
+ defaultDownload: import("zod").ZodDefault<import("zod").ZodBoolean>;
7026
+ defaultLoad: import("zod").ZodDefault<import("zod").ZodBoolean>;
7027
+ minRuntimeBuild: import("zod").ZodOptional<import("zod").ZodNumber>;
7028
+ }, import("zod/v4/core").$strip>>>;
6925
7029
  }, import("zod/v4/core").$loose>>>;
6926
7030
  error: import("zod").ZodNullable<import("zod").ZodString>;
6927
7031
  requestId: import("zod").ZodString;
@@ -6931,6 +7035,7 @@ export declare const WSOutboundMessageSchema: {
6931
7035
  payload: import("zod").ZodObject<{
6932
7036
  runtimes: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
6933
7037
  label: import("zod").ZodDefault<import("zod").ZodString>;
7038
+ displayName: import("zod").ZodDefault<import("zod").ZodString>;
6934
7039
  version: import("zod").ZodDefault<import("zod").ZodString>;
6935
7040
  source: import("zod").ZodDefault<import("zod").ZodString>;
6936
7041
  dir: import("zod").ZodDefault<import("zod").ZodString>;
@@ -6946,6 +7051,7 @@ export declare const WSOutboundMessageSchema: {
6946
7051
  kind: import("zod").ZodEnum<{
6947
7052
  pull: "pull";
6948
7053
  "runtime-install": "runtime-install";
7054
+ "runtime-remove": "runtime-remove";
6949
7055
  calibrate: "calibrate";
6950
7056
  sweep: "sweep";
6951
7057
  bench: "bench";
@@ -6975,6 +7081,37 @@ export declare const WSOutboundMessageSchema: {
6975
7081
  kind: import("zod").ZodEnum<{
6976
7082
  pull: "pull";
6977
7083
  "runtime-install": "runtime-install";
7084
+ "runtime-remove": "runtime-remove";
7085
+ calibrate: "calibrate";
7086
+ sweep: "sweep";
7087
+ bench: "bench";
7088
+ }>;
7089
+ label: import("zod").ZodDefault<import("zod").ZodString>;
7090
+ target: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
7091
+ status: import("zod").ZodDefault<import("zod").ZodEnum<{
7092
+ running: "running";
7093
+ failed: "failed";
7094
+ canceled: "canceled";
7095
+ succeeded: "succeeded";
7096
+ }>>;
7097
+ percent: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodNumber>>;
7098
+ message: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
7099
+ error: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
7100
+ startedAt: import("zod").ZodDefault<import("zod").ZodString>;
7101
+ finishedAt: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
7102
+ }, import("zod/v4/core").$loose>>;
7103
+ error: import("zod").ZodNullable<import("zod").ZodString>;
7104
+ requestId: import("zod").ZodString;
7105
+ }, import("zod/v4/core").$strip>;
7106
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
7107
+ type: import("zod").ZodLiteral<"brain.runtime.remove.response">;
7108
+ payload: import("zod").ZodObject<{
7109
+ job: import("zod").ZodNullable<import("zod").ZodObject<{
7110
+ id: import("zod").ZodString;
7111
+ kind: import("zod").ZodEnum<{
7112
+ pull: "pull";
7113
+ "runtime-install": "runtime-install";
7114
+ "runtime-remove": "runtime-remove";
6978
7115
  calibrate: "calibrate";
6979
7116
  sweep: "sweep";
6980
7117
  bench: "bench";
@@ -7004,6 +7141,7 @@ export declare const WSOutboundMessageSchema: {
7004
7141
  kind: import("zod").ZodEnum<{
7005
7142
  pull: "pull";
7006
7143
  "runtime-install": "runtime-install";
7144
+ "runtime-remove": "runtime-remove";
7007
7145
  calibrate: "calibrate";
7008
7146
  sweep: "sweep";
7009
7147
  bench: "bench";
@@ -7033,6 +7171,7 @@ export declare const WSOutboundMessageSchema: {
7033
7171
  kind: import("zod").ZodEnum<{
7034
7172
  pull: "pull";
7035
7173
  "runtime-install": "runtime-install";
7174
+ "runtime-remove": "runtime-remove";
7036
7175
  calibrate: "calibrate";
7037
7176
  sweep: "sweep";
7038
7177
  bench: "bench";
@@ -7062,6 +7201,7 @@ export declare const WSOutboundMessageSchema: {
7062
7201
  kind: import("zod").ZodEnum<{
7063
7202
  pull: "pull";
7064
7203
  "runtime-install": "runtime-install";
7204
+ "runtime-remove": "runtime-remove";
7065
7205
  calibrate: "calibrate";
7066
7206
  sweep: "sweep";
7067
7207
  bench: "bench";
@@ -7091,6 +7231,7 @@ export declare const WSOutboundMessageSchema: {
7091
7231
  kind: import("zod").ZodEnum<{
7092
7232
  pull: "pull";
7093
7233
  "runtime-install": "runtime-install";
7234
+ "runtime-remove": "runtime-remove";
7094
7235
  calibrate: "calibrate";
7095
7236
  sweep: "sweep";
7096
7237
  bench: "bench";
@@ -7120,6 +7261,7 @@ export declare const WSOutboundMessageSchema: {
7120
7261
  kind: import("zod").ZodEnum<{
7121
7262
  pull: "pull";
7122
7263
  "runtime-install": "runtime-install";
7264
+ "runtime-remove": "runtime-remove";
7123
7265
  calibrate: "calibrate";
7124
7266
  sweep: "sweep";
7125
7267
  bench: "bench";
@@ -7149,6 +7291,7 @@ export declare const WSOutboundMessageSchema: {
7149
7291
  downloads: import("zod").ZodDefault<import("zod").ZodNumber>;
7150
7292
  likes: import("zod").ZodDefault<import("zod").ZodNumber>;
7151
7293
  gated: import("zod").ZodDefault<import("zod").ZodBoolean>;
7294
+ summary: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
7152
7295
  installed: import("zod").ZodDefault<import("zod").ZodBoolean>;
7153
7296
  }, import("zod/v4/core").$loose>>>;
7154
7297
  error: import("zod").ZodNullable<import("zod").ZodString>;
@@ -7162,7 +7305,14 @@ export declare const WSOutboundMessageSchema: {
7162
7305
  size: import("zod").ZodDefault<import("zod").ZodString>;
7163
7306
  sizeBytes: import("zod").ZodDefault<import("zod").ZodNumber>;
7164
7307
  files: import("zod").ZodDefault<import("zod").ZodNumber>;
7308
+ fileNames: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
7165
7309
  installed: import("zod").ZodDefault<import("zod").ZodBoolean>;
7310
+ modelId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
7311
+ projector: import("zod").ZodOptional<import("zod").ZodObject<{
7312
+ file: import("zod").ZodString;
7313
+ sizeBytes: import("zod").ZodNumber;
7314
+ installed: import("zod").ZodOptional<import("zod").ZodBoolean>;
7315
+ }, import("zod/v4/core").$strip>>;
7166
7316
  }, import("zod/v4/core").$loose>>>;
7167
7317
  error: import("zod").ZodNullable<import("zod").ZodString>;
7168
7318
  requestId: import("zod").ZodString;
@@ -7175,6 +7325,7 @@ export declare const WSOutboundMessageSchema: {
7175
7325
  kind: import("zod").ZodEnum<{
7176
7326
  pull: "pull";
7177
7327
  "runtime-install": "runtime-install";
7328
+ "runtime-remove": "runtime-remove";
7178
7329
  calibrate: "calibrate";
7179
7330
  sweep: "sweep";
7180
7331
  bench: "bench";
@@ -7212,6 +7363,19 @@ export declare const WSOutboundMessageSchema: {
7212
7363
  blockCount: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodNumber>>;
7213
7364
  headCountKv: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodNumber>>;
7214
7365
  hasProjector: import("zod").ZodDefault<import("zod").ZodBoolean>;
7366
+ components: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
7367
+ id: import("zod").ZodString;
7368
+ label: import("zod").ZodDefault<import("zod").ZodString>;
7369
+ description: import("zod").ZodDefault<import("zod").ZodString>;
7370
+ role: import("zod").ZodDefault<import("zod").ZodString>;
7371
+ bytes: import("zod").ZodDefault<import("zod").ZodNumber>;
7372
+ available: import("zod").ZodDefault<import("zod").ZodBoolean>;
7373
+ unavailableReason: import("zod").ZodOptional<import("zod").ZodString>;
7374
+ required: import("zod").ZodDefault<import("zod").ZodBoolean>;
7375
+ defaultDownload: import("zod").ZodDefault<import("zod").ZodBoolean>;
7376
+ defaultLoad: import("zod").ZodDefault<import("zod").ZodBoolean>;
7377
+ minRuntimeBuild: import("zod").ZodOptional<import("zod").ZodNumber>;
7378
+ }, import("zod/v4/core").$strip>>>>;
7215
7379
  reasoning: import("zod").ZodDefault<import("zod").ZodBoolean>;
7216
7380
  mtp: import("zod").ZodDefault<import("zod").ZodBoolean>;
7217
7381
  distilled: import("zod").ZodDefault<import("zod").ZodBoolean>;
@@ -7224,6 +7388,7 @@ export declare const WSOutboundMessageSchema: {
7224
7388
  flashAttention: import("zod").ZodDefault<import("zod").ZodBoolean>;
7225
7389
  gpuLayers: import("zod").ZodDefault<import("zod").ZodNumber>;
7226
7390
  vision: import("zod").ZodDefault<import("zod").ZodBoolean>;
7391
+ enabledComponents: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
7227
7392
  reasoningBudget: import("zod").ZodDefault<import("zod").ZodNumber>;
7228
7393
  parallelSlots: import("zod").ZodDefault<import("zod").ZodNumber>;
7229
7394
  }, import("zod/v4/core").$loose>>>;
@@ -7236,6 +7401,9 @@ export declare const WSOutboundMessageSchema: {
7236
7401
  budget: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodObject<{
7237
7402
  weightsBytes: import("zod").ZodDefault<import("zod").ZodNumber>;
7238
7403
  mmprojBytes: import("zod").ZodDefault<import("zod").ZodNumber>;
7404
+ componentBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
7405
+ drafterKvBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
7406
+ imageProcessingBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
7239
7407
  kvBytes: import("zod").ZodDefault<import("zod").ZodNumber>;
7240
7408
  overheadBytes: import("zod").ZodDefault<import("zod").ZodNumber>;
7241
7409
  totalBytes: import("zod").ZodDefault<import("zod").ZodNumber>;
@@ -7285,6 +7453,7 @@ export declare const WSOutboundMessageSchema: {
7285
7453
  flashAttention: import("zod").ZodDefault<import("zod").ZodBoolean>;
7286
7454
  gpuLayers: import("zod").ZodDefault<import("zod").ZodNumber>;
7287
7455
  vision: import("zod").ZodDefault<import("zod").ZodBoolean>;
7456
+ enabledComponents: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
7288
7457
  reasoningBudget: import("zod").ZodDefault<import("zod").ZodNumber>;
7289
7458
  parallelSlots: import("zod").ZodDefault<import("zod").ZodNumber>;
7290
7459
  }, import("zod/v4/core").$loose>>>;
@@ -7325,6 +7494,7 @@ export declare const WSOutboundMessageSchema: {
7325
7494
  flashAttention: import("zod").ZodDefault<import("zod").ZodBoolean>;
7326
7495
  gpuLayers: import("zod").ZodDefault<import("zod").ZodNumber>;
7327
7496
  vision: import("zod").ZodDefault<import("zod").ZodBoolean>;
7497
+ enabledComponents: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
7328
7498
  reasoningBudget: import("zod").ZodDefault<import("zod").ZodNumber>;
7329
7499
  parallelSlots: import("zod").ZodDefault<import("zod").ZodNumber>;
7330
7500
  }, import("zod/v4/core").$loose>>>;
@@ -7344,6 +7514,9 @@ export declare const WSOutboundMessageSchema: {
7344
7514
  budget: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodObject<{
7345
7515
  weightsBytes: import("zod").ZodDefault<import("zod").ZodNumber>;
7346
7516
  mmprojBytes: import("zod").ZodDefault<import("zod").ZodNumber>;
7517
+ componentBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
7518
+ drafterKvBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
7519
+ imageProcessingBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
7347
7520
  kvBytes: import("zod").ZodDefault<import("zod").ZodNumber>;
7348
7521
  overheadBytes: import("zod").ZodDefault<import("zod").ZodNumber>;
7349
7522
  totalBytes: import("zod").ZodDefault<import("zod").ZodNumber>;
@@ -7372,12 +7545,16 @@ export declare const WSOutboundMessageSchema: {
7372
7545
  flashAttention: import("zod").ZodDefault<import("zod").ZodBoolean>;
7373
7546
  gpuLayers: import("zod").ZodDefault<import("zod").ZodNumber>;
7374
7547
  vision: import("zod").ZodDefault<import("zod").ZodBoolean>;
7548
+ enabledComponents: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
7375
7549
  reasoningBudget: import("zod").ZodDefault<import("zod").ZodNumber>;
7376
7550
  parallelSlots: import("zod").ZodDefault<import("zod").ZodNumber>;
7377
7551
  }, import("zod/v4/core").$loose>>>;
7378
7552
  budget: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodObject<{
7379
7553
  weightsBytes: import("zod").ZodDefault<import("zod").ZodNumber>;
7380
7554
  mmprojBytes: import("zod").ZodDefault<import("zod").ZodNumber>;
7555
+ componentBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
7556
+ drafterKvBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
7557
+ imageProcessingBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
7381
7558
  kvBytes: import("zod").ZodDefault<import("zod").ZodNumber>;
7382
7559
  overheadBytes: import("zod").ZodDefault<import("zod").ZodNumber>;
7383
7560
  totalBytes: import("zod").ZodDefault<import("zod").ZodNumber>;
@@ -7481,6 +7658,7 @@ export declare const WSOutboundMessageSchema: {
7481
7658
  flashAttention: import("zod").ZodDefault<import("zod").ZodBoolean>;
7482
7659
  gpuLayers: import("zod").ZodDefault<import("zod").ZodNumber>;
7483
7660
  vision: import("zod").ZodDefault<import("zod").ZodBoolean>;
7661
+ enabledComponents: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
7484
7662
  reasoningBudget: import("zod").ZodDefault<import("zod").ZodNumber>;
7485
7663
  parallelSlots: import("zod").ZodDefault<import("zod").ZodNumber>;
7486
7664
  }, import("zod/v4/core").$loose>>>;
@@ -7572,6 +7750,14 @@ export declare const WSOutboundMessageSchema: {
7572
7750
  error: import("zod").ZodNullable<import("zod").ZodString>;
7573
7751
  requestId: import("zod").ZodString;
7574
7752
  }, import("zod/v4/core").$strip>;
7753
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
7754
+ type: import("zod").ZodLiteral<"brain.model.component.delete.response">;
7755
+ payload: import("zod").ZodObject<{
7756
+ deleted: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
7757
+ freedBytes: import("zod").ZodDefault<import("zod").ZodNumber>;
7758
+ error: import("zod").ZodNullable<import("zod").ZodString>;
7759
+ requestId: import("zod").ZodString;
7760
+ }, import("zod/v4/core").$strip>;
7575
7761
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
7576
7762
  type: import("zod").ZodLiteral<"brain.model.rename.response">;
7577
7763
  payload: import("zod").ZodObject<{
@@ -9657,6 +9843,10 @@ export declare const WSOutboundMessageSchema: {
9657
9843
  additions: import("zod").ZodNumber;
9658
9844
  deletions: import("zod").ZodNumber;
9659
9845
  }, import("zod/v4/core").$strip>>>;
9846
+ workingTreeDiffStat: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
9847
+ additions: import("zod").ZodNumber;
9848
+ deletions: import("zod").ZodNumber;
9849
+ }, import("zod/v4/core").$strip>>>;
9660
9850
  scripts: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
9661
9851
  scriptName: import("zod").ZodString;
9662
9852
  label: import("zod").ZodOptional<import("zod").ZodString>;
@@ -9691,6 +9881,7 @@ export declare const WSOutboundMessageSchema: {
9691
9881
  remoteUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
9692
9882
  isOttoOwnedWorktree: import("zod").ZodOptional<import("zod").ZodBoolean>;
9693
9883
  isDirty: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
9884
+ baseRef: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
9694
9885
  aheadBehind: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
9695
9886
  ahead: import("zod").ZodNumber;
9696
9887
  behind: import("zod").ZodNumber;
@@ -9866,11 +10057,16 @@ export declare const WSOutboundMessageSchema: {
9866
10057
  additions: number;
9867
10058
  deletions: number;
9868
10059
  } | null | undefined;
10060
+ workingTreeDiffStat?: {
10061
+ additions: number;
10062
+ deletions: number;
10063
+ } | null | undefined;
9869
10064
  gitRuntime?: {
9870
10065
  currentBranch?: string | null | undefined;
9871
10066
  remoteUrl?: string | null | undefined;
9872
10067
  isOttoOwnedWorktree?: boolean | undefined;
9873
10068
  isDirty?: boolean | null | undefined;
10069
+ baseRef?: string | null | undefined;
9874
10070
  aheadBehind?: {
9875
10071
  ahead: number;
9876
10072
  behind: number;
@@ -9979,11 +10175,16 @@ export declare const WSOutboundMessageSchema: {
9979
10175
  additions: number;
9980
10176
  deletions: number;
9981
10177
  } | null | undefined;
10178
+ workingTreeDiffStat?: {
10179
+ additions: number;
10180
+ deletions: number;
10181
+ } | null | undefined;
9982
10182
  gitRuntime?: {
9983
10183
  currentBranch?: string | null | undefined;
9984
10184
  remoteUrl?: string | null | undefined;
9985
10185
  isOttoOwnedWorktree?: boolean | undefined;
9986
10186
  isDirty?: boolean | null | undefined;
10187
+ baseRef?: string | null | undefined;
9987
10188
  aheadBehind?: {
9988
10189
  ahead: number;
9989
10190
  behind: number;
@@ -11122,11 +11323,11 @@ export declare const WSOutboundMessageSchema: {
11122
11323
  relPath: import("zod").ZodString;
11123
11324
  scope: import("zod").ZodEnum<{
11124
11325
  local: "local";
11326
+ runtime: "runtime";
11125
11327
  enterprise: "enterprise";
11126
11328
  global: "global";
11127
11329
  project: "project";
11128
11330
  subdirectory: "subdirectory";
11129
- runtime: "runtime";
11130
11331
  }>;
11131
11332
  category: import("zod").ZodEnum<{
11132
11333
  context_files: "context_files";
@@ -11281,6 +11482,7 @@ export declare const WSOutboundMessageSchema: {
11281
11482
  constraint: "constraint";
11282
11483
  requirement: "requirement";
11283
11484
  architecture: "architecture";
11485
+ finding: "finding";
11284
11486
  }>;
11285
11487
  title: import("zod").ZodString;
11286
11488
  statement: import("zod").ZodString;
@@ -11340,6 +11542,11 @@ export declare const WSOutboundMessageSchema: {
11340
11542
  }>;
11341
11543
  recordId: import("zod").ZodString;
11342
11544
  relatedRecordId: import("zod").ZodOptional<import("zod").ZodString>;
11545
+ tagOverlap: import("zod").ZodOptional<import("zod").ZodEnum<{
11546
+ complete: "complete";
11547
+ partial: "partial";
11548
+ }>>;
11549
+ sharedTags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
11343
11550
  message: import("zod").ZodString;
11344
11551
  }, import("zod/v4/core").$strip>>;
11345
11552
  brief: import("zod").ZodString;
@@ -11360,6 +11567,7 @@ export declare const WSOutboundMessageSchema: {
11360
11567
  constraint: "constraint";
11361
11568
  requirement: "requirement";
11362
11569
  architecture: "architecture";
11570
+ finding: "finding";
11363
11571
  }>;
11364
11572
  title: import("zod").ZodString;
11365
11573
  statement: import("zod").ZodString;
@@ -11419,6 +11627,7 @@ export declare const WSOutboundMessageSchema: {
11419
11627
  constraint: "constraint";
11420
11628
  requirement: "requirement";
11421
11629
  architecture: "architecture";
11630
+ finding: "finding";
11422
11631
  }>;
11423
11632
  title: import("zod").ZodString;
11424
11633
  statement: import("zod").ZodString;
@@ -11478,6 +11687,7 @@ export declare const WSOutboundMessageSchema: {
11478
11687
  constraint: "constraint";
11479
11688
  requirement: "requirement";
11480
11689
  architecture: "architecture";
11690
+ finding: "finding";
11481
11691
  }>;
11482
11692
  title: import("zod").ZodString;
11483
11693
  statement: import("zod").ZodString;
@@ -11538,6 +11748,7 @@ export declare const WSOutboundMessageSchema: {
11538
11748
  constraint: "constraint";
11539
11749
  requirement: "requirement";
11540
11750
  architecture: "architecture";
11751
+ finding: "finding";
11541
11752
  }>;
11542
11753
  title: import("zod").ZodString;
11543
11754
  statement: import("zod").ZodString;
@@ -11597,6 +11808,7 @@ export declare const WSOutboundMessageSchema: {
11597
11808
  constraint: "constraint";
11598
11809
  requirement: "requirement";
11599
11810
  architecture: "architecture";
11811
+ finding: "finding";
11600
11812
  }>;
11601
11813
  title: import("zod").ZodString;
11602
11814
  statement: import("zod").ZodString;
@@ -11657,6 +11869,7 @@ export declare const WSOutboundMessageSchema: {
11657
11869
  constraint: "constraint";
11658
11870
  requirement: "requirement";
11659
11871
  architecture: "architecture";
11872
+ finding: "finding";
11660
11873
  }>;
11661
11874
  title: import("zod").ZodString;
11662
11875
  statement: import("zod").ZodString;