@ai-matrx/desktop-protocol 0.21.92 → 0.21.94

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.
@@ -713,13 +713,11 @@ declare const FsPatchEditFailure: z.ZodObject<{
713
713
  }, z.core.$strict>;
714
714
  type FsPatchEditFailure = z.output<typeof FsPatchEditFailure>;
715
715
 
716
- /** @ai-matrx/desktop-protocol — the op and event registries (Router, client and Python are generated from these). */
717
-
718
716
  type OpSpec = {
719
717
  readonly params: z.ZodType;
720
718
  readonly result: z.ZodType;
721
719
  readonly kind: "unary" | "stream" | "resource";
722
- readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26" | "1.28" | "1.29" | "1.30" | "1.31" | "1.37" | "1.38" | "1.39" | "1.40" | "1.43" | "1.44" | "1.45" | "1.47" | "1.50" | "1.55" | "1.56" | "1.64" | "1.70" | "1.72" | "1.73" | "1.74" | "1.76" | "1.81" | "1.82" | "1.83" | "1.84" | "1.85";
720
+ readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26" | "1.28" | "1.29" | "1.30" | "1.31" | "1.37" | "1.38" | "1.39" | "1.40" | "1.43" | "1.44" | "1.45" | "1.47" | "1.50" | "1.55" | "1.56" | "1.64" | "1.70" | "1.72" | "1.73" | "1.74" | "1.76" | "1.81" | "1.82" | "1.83" | "1.84" | "1.85" | "1.87" | "1.88";
723
721
  readonly errors: readonly z.infer<typeof ErrorCode>[];
724
722
  };
725
723
  declare const OPS: {
@@ -1068,6 +1066,118 @@ declare const OPS: {
1068
1066
  readonly since: "1.30";
1069
1067
  readonly errors: readonly ["NOT_FOUND", "PERMISSION_DENIED_OS", "INVALID_PARAMS", "RESOURCE_BUSY", "INTERNAL", "TIMEOUT"];
1070
1068
  };
1069
+ readonly "fs.search_semantic": {
1070
+ readonly params: z.ZodObject<{
1071
+ query: z.ZodString;
1072
+ scope: z.ZodOptional<z.ZodString>;
1073
+ max_results: z.ZodDefault<z.ZodInt>;
1074
+ }, z.core.$strict>;
1075
+ readonly result: z.ZodObject<{
1076
+ hits: z.ZodArray<z.ZodObject<{
1077
+ path: z.ZodString;
1078
+ score: z.ZodNumber;
1079
+ snippet: z.ZodString;
1080
+ modified_at_ms: z.ZodNullable<z.ZodInt>;
1081
+ }, z.core.$strict>>;
1082
+ status: z.ZodObject<{
1083
+ state: z.ZodEnum<{
1084
+ model_missing: "model_missing";
1085
+ indexing: "indexing";
1086
+ paused_load: "paused_load";
1087
+ paused: "paused";
1088
+ idle: "idle";
1089
+ off: "off";
1090
+ failed: "failed";
1091
+ }>;
1092
+ indexed: z.ZodInt;
1093
+ total: z.ZodInt;
1094
+ queued: z.ZodInt;
1095
+ over_cap: z.ZodInt;
1096
+ max_files: z.ZodInt;
1097
+ folders: z.ZodArray<z.ZodString>;
1098
+ folders_source: z.ZodEnum<{
1099
+ default: "default";
1100
+ chosen: "chosen";
1101
+ }>;
1102
+ model: z.ZodNullable<z.ZodString>;
1103
+ load_per_cpu: z.ZodNumber;
1104
+ load_limit: z.ZodNumber;
1105
+ reason: z.ZodNullable<z.ZodString>;
1106
+ updated_at_ms: z.ZodNullable<z.ZodInt>;
1107
+ }, z.core.$strict>;
1108
+ }, z.core.$strict>;
1109
+ readonly kind: "unary";
1110
+ readonly since: "1.87";
1111
+ readonly errors: readonly ["NOT_FOUND", "PERMISSION_DENIED_OS", "INVALID_PARAMS", "RESOURCE_BUSY", "INTERNAL", "TIMEOUT"];
1112
+ };
1113
+ readonly "fs.semantic_status": {
1114
+ readonly params: z.ZodObject<{}, z.core.$strict>;
1115
+ readonly result: z.ZodObject<{
1116
+ state: z.ZodEnum<{
1117
+ model_missing: "model_missing";
1118
+ indexing: "indexing";
1119
+ paused_load: "paused_load";
1120
+ paused: "paused";
1121
+ idle: "idle";
1122
+ off: "off";
1123
+ failed: "failed";
1124
+ }>;
1125
+ indexed: z.ZodInt;
1126
+ total: z.ZodInt;
1127
+ queued: z.ZodInt;
1128
+ over_cap: z.ZodInt;
1129
+ max_files: z.ZodInt;
1130
+ folders: z.ZodArray<z.ZodString>;
1131
+ folders_source: z.ZodEnum<{
1132
+ default: "default";
1133
+ chosen: "chosen";
1134
+ }>;
1135
+ model: z.ZodNullable<z.ZodString>;
1136
+ load_per_cpu: z.ZodNumber;
1137
+ load_limit: z.ZodNumber;
1138
+ reason: z.ZodNullable<z.ZodString>;
1139
+ updated_at_ms: z.ZodNullable<z.ZodInt>;
1140
+ }, z.core.$strict>;
1141
+ readonly kind: "unary";
1142
+ readonly since: "1.87";
1143
+ readonly errors: readonly ["INTERNAL"];
1144
+ };
1145
+ readonly "fs.semantic_configure": {
1146
+ readonly params: z.ZodObject<{
1147
+ folders: z.ZodOptional<z.ZodArray<z.ZodString>>;
1148
+ use_default_folders: z.ZodOptional<z.ZodBoolean>;
1149
+ paused: z.ZodOptional<z.ZodBoolean>;
1150
+ }, z.core.$strict>;
1151
+ readonly result: z.ZodObject<{
1152
+ state: z.ZodEnum<{
1153
+ model_missing: "model_missing";
1154
+ indexing: "indexing";
1155
+ paused_load: "paused_load";
1156
+ paused: "paused";
1157
+ idle: "idle";
1158
+ off: "off";
1159
+ failed: "failed";
1160
+ }>;
1161
+ indexed: z.ZodInt;
1162
+ total: z.ZodInt;
1163
+ queued: z.ZodInt;
1164
+ over_cap: z.ZodInt;
1165
+ max_files: z.ZodInt;
1166
+ folders: z.ZodArray<z.ZodString>;
1167
+ folders_source: z.ZodEnum<{
1168
+ default: "default";
1169
+ chosen: "chosen";
1170
+ }>;
1171
+ model: z.ZodNullable<z.ZodString>;
1172
+ load_per_cpu: z.ZodNumber;
1173
+ load_limit: z.ZodNumber;
1174
+ reason: z.ZodNullable<z.ZodString>;
1175
+ updated_at_ms: z.ZodNullable<z.ZodInt>;
1176
+ }, z.core.$strict>;
1177
+ readonly kind: "unary";
1178
+ readonly since: "1.87";
1179
+ readonly errors: readonly ["NOT_FOUND", "PERMISSION_DENIED_OS", "INVALID_PARAMS", "RESOURCE_BUSY", "INTERNAL"];
1180
+ };
1071
1181
  readonly "fs.delete": {
1072
1182
  readonly params: z.ZodObject<{
1073
1183
  path: z.ZodString;
@@ -1355,8 +1465,8 @@ declare const OPS: {
1355
1465
  readonly params: z.ZodObject<{
1356
1466
  resource_id: z.ZodString;
1357
1467
  mode: z.ZodDefault<z.ZodEnum<{
1358
- read_only: "read_only";
1359
1468
  control: "control";
1469
+ read_only: "read_only";
1360
1470
  }>>;
1361
1471
  since_seq: z.ZodOptional<z.ZodInt>;
1362
1472
  window_bytes: z.ZodOptional<z.ZodInt>;
@@ -1491,10 +1601,10 @@ declare const OPS: {
1491
1601
  }, z.core.$strict>;
1492
1602
  transcription: z.ZodNullable<z.ZodObject<{
1493
1603
  runtime: z.ZodEnum<{
1604
+ failed: "failed";
1494
1605
  not_installed: "not_installed";
1495
1606
  installing: "installing";
1496
1607
  installed: "installed";
1497
- failed: "failed";
1498
1608
  }>;
1499
1609
  install: z.ZodNullable<z.ZodObject<{
1500
1610
  phase: z.ZodEnum<{
@@ -1567,8 +1677,8 @@ declare const OPS: {
1567
1677
  readonly params: z.ZodObject<{}, z.core.$strict>;
1568
1678
  readonly result: z.ZodObject<{
1569
1679
  state: z.ZodEnum<{
1570
- running: "running";
1571
1680
  failed: "failed";
1681
+ running: "running";
1572
1682
  stopped: "stopped";
1573
1683
  starting: "starting";
1574
1684
  }>;
@@ -1598,6 +1708,30 @@ declare const OPS: {
1598
1708
  bytes_total: z.ZodNullable<z.ZodInt>;
1599
1709
  }, z.core.$strict>>;
1600
1710
  error: z.ZodNullable<z.ZodString>;
1711
+ embedding: z.ZodOptional<z.ZodObject<{
1712
+ state: z.ZodEnum<{
1713
+ failed: "failed";
1714
+ running: "running";
1715
+ stopped: "stopped";
1716
+ starting: "starting";
1717
+ }>;
1718
+ models: z.ZodArray<z.ZodObject<{
1719
+ id: z.ZodString;
1720
+ size_bytes: z.ZodInt;
1721
+ installed: z.ZodBoolean;
1722
+ title: z.ZodOptional<z.ZodString>;
1723
+ problem: z.ZodOptional<z.ZodString>;
1724
+ }, z.core.$strict>>;
1725
+ running: z.ZodNullable<z.ZodObject<{
1726
+ id: z.ZodString;
1727
+ port: z.ZodInt;
1728
+ context_length: z.ZodOptional<z.ZodInt>;
1729
+ gpu_layers: z.ZodOptional<z.ZodInt>;
1730
+ threads: z.ZodOptional<z.ZodInt>;
1731
+ }, z.core.$strict>>;
1732
+ starting: z.ZodNullable<z.ZodString>;
1733
+ error: z.ZodNullable<z.ZodString>;
1734
+ }, z.core.$strict>>;
1601
1735
  }, z.core.$strict>;
1602
1736
  readonly kind: "unary";
1603
1737
  readonly since: "1.31";
@@ -1624,6 +1758,10 @@ declare const OPS: {
1624
1758
  gpu_layers: z.ZodOptional<z.ZodInt>;
1625
1759
  threads: z.ZodOptional<z.ZodInt>;
1626
1760
  load_timeout_s: z.ZodOptional<z.ZodInt>;
1761
+ slot: z.ZodOptional<z.ZodEnum<{
1762
+ chat: "chat";
1763
+ embed: "embed";
1764
+ }>>;
1627
1765
  }, z.core.$strict>;
1628
1766
  readonly result: z.ZodObject<{
1629
1767
  running: z.ZodObject<{
@@ -1640,7 +1778,12 @@ declare const OPS: {
1640
1778
  readonly errors: readonly ["NOT_FOUND", "RESOURCE_BUSY", "RESOURCE_GONE", "TIMEOUT", "CANCELLED", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1641
1779
  };
1642
1780
  readonly "models.llm.stop": {
1643
- readonly params: z.ZodObject<{}, z.core.$strict>;
1781
+ readonly params: z.ZodObject<{
1782
+ slot: z.ZodOptional<z.ZodEnum<{
1783
+ chat: "chat";
1784
+ embed: "embed";
1785
+ }>>;
1786
+ }, z.core.$strict>;
1644
1787
  readonly result: z.ZodObject<{
1645
1788
  stopped: z.ZodBoolean;
1646
1789
  }, z.core.$strict>;
@@ -1663,6 +1806,28 @@ declare const OPS: {
1663
1806
  readonly since: "1.76";
1664
1807
  readonly errors: readonly ["NOT_FOUND", "RESOURCE_BUSY", "RESOURCE_GONE", "INVALID_PARAMS", "TIMEOUT", "CANCELLED", "RATE_LIMITED", "INTERNAL"];
1665
1808
  };
1809
+ readonly "models.embed": {
1810
+ readonly params: z.ZodObject<{
1811
+ model: z.ZodString;
1812
+ input: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
1813
+ start_if_stopped: z.ZodOptional<z.ZodBoolean>;
1814
+ }, z.core.$strict>;
1815
+ readonly result: z.ZodObject<{
1816
+ model: z.ZodString;
1817
+ dimensions: z.ZodInt;
1818
+ data: z.ZodArray<z.ZodObject<{
1819
+ index: z.ZodInt;
1820
+ embedding: z.ZodArray<z.ZodNumber>;
1821
+ }, z.core.$strict>>;
1822
+ usage: z.ZodObject<{
1823
+ prompt_tokens: z.ZodInt;
1824
+ total_tokens: z.ZodInt;
1825
+ }, z.core.$strict>;
1826
+ }, z.core.$strict>;
1827
+ readonly kind: "unary";
1828
+ readonly since: "1.88";
1829
+ readonly errors: readonly ["NOT_FOUND", "RESOURCE_BUSY", "RESOURCE_GONE", "INVALID_PARAMS", "TIMEOUT", "CANCELLED", "INTERNAL"];
1830
+ };
1666
1831
  readonly "models.downloads.list": {
1667
1832
  readonly params: z.ZodObject<{}, z.core.$strict>;
1668
1833
  readonly result: z.ZodObject<{
@@ -1754,10 +1919,10 @@ declare const OPS: {
1754
1919
  installed: z.ZodBoolean;
1755
1920
  }, z.core.$strict>>;
1756
1921
  runtime: z.ZodEnum<{
1922
+ failed: "failed";
1757
1923
  not_installed: "not_installed";
1758
1924
  installing: "installing";
1759
1925
  installed: "installed";
1760
- failed: "failed";
1761
1926
  }>;
1762
1927
  voices: z.ZodArray<z.ZodObject<{
1763
1928
  id: z.ZodString;
@@ -2796,14 +2961,14 @@ declare const OPS: {
2796
2961
  remote_control: z.ZodOptional<z.ZodObject<{
2797
2962
  setting: z.ZodEnum<{
2798
2963
  default: "default";
2799
- on: "on";
2800
2964
  off: "off";
2965
+ on: "on";
2801
2966
  unreadable: "unreadable";
2802
2967
  }>;
2803
2968
  serving: z.ZodNullable<z.ZodBoolean>;
2804
2969
  pending: z.ZodNullable<z.ZodEnum<{
2805
- on: "on";
2806
2970
  off: "off";
2971
+ on: "on";
2807
2972
  }>>;
2808
2973
  problem: z.ZodOptional<z.ZodString>;
2809
2974
  }, z.core.$strict>>;
@@ -2865,14 +3030,14 @@ declare const OPS: {
2865
3030
  remote_control: z.ZodObject<{
2866
3031
  setting: z.ZodEnum<{
2867
3032
  default: "default";
2868
- on: "on";
2869
3033
  off: "off";
3034
+ on: "on";
2870
3035
  unreadable: "unreadable";
2871
3036
  }>;
2872
3037
  serving: z.ZodNullable<z.ZodBoolean>;
2873
3038
  pending: z.ZodNullable<z.ZodEnum<{
2874
- on: "on";
2875
3039
  off: "off";
3040
+ on: "on";
2876
3041
  }>>;
2877
3042
  problem: z.ZodOptional<z.ZodString>;
2878
3043
  }, z.core.$strict>;
@@ -2939,9 +3104,9 @@ declare const OPS: {
2939
3104
  account: z.ZodNullable<z.ZodString>;
2940
3105
  next_reset_ms: z.ZodNullable<z.ZodInt>;
2941
3106
  source: z.ZodNullable<z.ZodEnum<{
2942
- claude: "claude";
2943
3107
  usage_history: "usage_history";
2944
3108
  your_list: "your_list";
3109
+ claude: "claude";
2945
3110
  }>>;
2946
3111
  official: z.ZodBoolean;
2947
3112
  note: z.ZodNullable<z.ZodString>;
@@ -3046,8 +3211,8 @@ declare const OPS: {
3046
3211
  last_seen_ms: z.ZodNullable<z.ZodInt>;
3047
3212
  missing: z.ZodArray<z.ZodEnum<{
3048
3213
  usage: "usage";
3049
- plan: "plan";
3050
3214
  email: "email";
3215
+ plan: "plan";
3051
3216
  }>>;
3052
3217
  profile: z.ZodOptional<z.ZodObject<{
3053
3218
  name: z.ZodNullable<z.ZodString>;
@@ -4027,9 +4192,9 @@ declare const OPS: {
4027
4192
  name: z.ZodOptional<z.ZodString>;
4028
4193
  sort: z.ZodDefault<z.ZodEnum<{
4029
4194
  name: "name";
4030
- pid: "pid";
4031
4195
  cpu: "cpu";
4032
4196
  memory: "memory";
4197
+ pid: "pid";
4033
4198
  }>>;
4034
4199
  limit: z.ZodDefault<z.ZodInt>;
4035
4200
  }, z.core.$strict>;
@@ -4788,13 +4953,13 @@ declare const OPS: {
4788
4953
  mail: "mail";
4789
4954
  wifi: "wifi";
4790
4955
  displays: "displays";
4791
- dictation: "dictation";
4792
- energy: "energy";
4793
4956
  night_shift: "night_shift";
4794
4957
  sound: "sound";
4795
4958
  keyboard: "keyboard";
4796
4959
  keyboard_shortcuts: "keyboard_shortcuts";
4797
4960
  text_input: "text_input";
4961
+ dictation: "dictation";
4962
+ energy: "energy";
4798
4963
  about: "about";
4799
4964
  storage: "storage";
4800
4965
  system_report: "system_report";
@@ -4821,13 +4986,13 @@ declare const OPS: {
4821
4986
  mail: "mail";
4822
4987
  wifi: "wifi";
4823
4988
  displays: "displays";
4824
- dictation: "dictation";
4825
- energy: "energy";
4826
4989
  night_shift: "night_shift";
4827
4990
  sound: "sound";
4828
4991
  keyboard: "keyboard";
4829
4992
  keyboard_shortcuts: "keyboard_shortcuts";
4830
4993
  text_input: "text_input";
4994
+ dictation: "dictation";
4995
+ energy: "energy";
4831
4996
  about: "about";
4832
4997
  storage: "storage";
4833
4998
  system_report: "system_report";
@@ -5015,10 +5180,10 @@ declare const OPS: {
5015
5180
  repeat_interval_ms: z.ZodNullable<z.ZodInt>;
5016
5181
  repeat_delay_ms: z.ZodNullable<z.ZodInt>;
5017
5182
  fn_key: z.ZodNullable<z.ZodEnum<{
5183
+ dictation: "dictation";
5018
5184
  nothing: "nothing";
5019
5185
  input_source: "input_source";
5020
5186
  emoji: "emoji";
5021
- dictation: "dictation";
5022
5187
  }>>;
5023
5188
  keyboard_navigation: z.ZodNullable<z.ZodBoolean>;
5024
5189
  input_sources: z.ZodArray<z.ZodString>;
@@ -5040,10 +5205,10 @@ declare const OPS: {
5040
5205
  repeat_interval_ms: z.ZodNullable<z.ZodInt>;
5041
5206
  repeat_delay_ms: z.ZodNullable<z.ZodInt>;
5042
5207
  fn_key: z.ZodNullable<z.ZodEnum<{
5208
+ dictation: "dictation";
5043
5209
  nothing: "nothing";
5044
5210
  input_source: "input_source";
5045
5211
  emoji: "emoji";
5046
- dictation: "dictation";
5047
5212
  }>>;
5048
5213
  keyboard_navigation: z.ZodNullable<z.ZodBoolean>;
5049
5214
  input_sources: z.ZodArray<z.ZodString>;
@@ -6056,8 +6221,8 @@ declare const OPS: {
6056
6221
  lastRunId: z.ZodNullable<z.ZodString>;
6057
6222
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
6058
6223
  completed: "completed";
6059
- running: "running";
6060
6224
  failed: "failed";
6225
+ running: "running";
6061
6226
  stopped: "stopped";
6062
6227
  starting: "starting";
6063
6228
  }>>;
@@ -6104,8 +6269,8 @@ declare const OPS: {
6104
6269
  model: z.ZodNullable<z.ZodString>;
6105
6270
  status: z.ZodEnum<{
6106
6271
  completed: "completed";
6107
- running: "running";
6108
6272
  failed: "failed";
6273
+ running: "running";
6109
6274
  stopped: "stopped";
6110
6275
  starting: "starting";
6111
6276
  }>;
@@ -6146,8 +6311,8 @@ declare const OPS: {
6146
6311
  cwd: z.ZodNullable<z.ZodString>;
6147
6312
  updatedAt: z.ZodString;
6148
6313
  state: z.ZodEnum<{
6149
- running: "running";
6150
6314
  idle: "idle";
6315
+ running: "running";
6151
6316
  elsewhere: "elsewhere";
6152
6317
  needs_attention: "needs_attention";
6153
6318
  new_output: "new_output";
@@ -6242,8 +6407,8 @@ declare const OPS: {
6242
6407
  model: z.ZodNullable<z.ZodString>;
6243
6408
  status: z.ZodEnum<{
6244
6409
  completed: "completed";
6245
- running: "running";
6246
6410
  failed: "failed";
6411
+ running: "running";
6247
6412
  stopped: "stopped";
6248
6413
  starting: "starting";
6249
6414
  }>;
@@ -6538,8 +6703,8 @@ declare const OPS: {
6538
6703
  lastRunId: z.ZodNullable<z.ZodString>;
6539
6704
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
6540
6705
  completed: "completed";
6541
- running: "running";
6542
6706
  failed: "failed";
6707
+ running: "running";
6543
6708
  stopped: "stopped";
6544
6709
  starting: "starting";
6545
6710
  }>>;
@@ -6586,8 +6751,8 @@ declare const OPS: {
6586
6751
  model: z.ZodNullable<z.ZodString>;
6587
6752
  status: z.ZodEnum<{
6588
6753
  completed: "completed";
6589
- running: "running";
6590
6754
  failed: "failed";
6755
+ running: "running";
6591
6756
  stopped: "stopped";
6592
6757
  starting: "starting";
6593
6758
  }>;
@@ -6659,8 +6824,8 @@ declare const OPS: {
6659
6824
  lastRunId: z.ZodNullable<z.ZodString>;
6660
6825
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
6661
6826
  completed: "completed";
6662
- running: "running";
6663
6827
  failed: "failed";
6828
+ running: "running";
6664
6829
  stopped: "stopped";
6665
6830
  starting: "starting";
6666
6831
  }>>;
@@ -6727,8 +6892,8 @@ declare const OPS: {
6727
6892
  lastRunId: z.ZodNullable<z.ZodString>;
6728
6893
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
6729
6894
  completed: "completed";
6730
- running: "running";
6731
6895
  failed: "failed";
6896
+ running: "running";
6732
6897
  stopped: "stopped";
6733
6898
  starting: "starting";
6734
6899
  }>>;
@@ -6775,8 +6940,8 @@ declare const OPS: {
6775
6940
  model: z.ZodNullable<z.ZodString>;
6776
6941
  status: z.ZodEnum<{
6777
6942
  completed: "completed";
6778
- running: "running";
6779
6943
  failed: "failed";
6944
+ running: "running";
6780
6945
  stopped: "stopped";
6781
6946
  starting: "starting";
6782
6947
  }>;
@@ -6828,8 +6993,8 @@ declare const OPS: {
6828
6993
  model: z.ZodNullable<z.ZodString>;
6829
6994
  status: z.ZodEnum<{
6830
6995
  completed: "completed";
6831
- running: "running";
6832
6996
  failed: "failed";
6997
+ running: "running";
6833
6998
  stopped: "stopped";
6834
6999
  starting: "starting";
6835
7000
  }>;
@@ -6907,8 +7072,8 @@ declare const OPS: {
6907
7072
  lastRunId: z.ZodNullable<z.ZodString>;
6908
7073
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
6909
7074
  completed: "completed";
6910
- running: "running";
6911
7075
  failed: "failed";
7076
+ running: "running";
6912
7077
  stopped: "stopped";
6913
7078
  starting: "starting";
6914
7079
  }>>;
@@ -6975,8 +7140,8 @@ declare const OPS: {
6975
7140
  lastRunId: z.ZodNullable<z.ZodString>;
6976
7141
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
6977
7142
  completed: "completed";
6978
- running: "running";
6979
7143
  failed: "failed";
7144
+ running: "running";
6980
7145
  stopped: "stopped";
6981
7146
  starting: "starting";
6982
7147
  }>>;
@@ -7023,8 +7188,8 @@ declare const OPS: {
7023
7188
  model: z.ZodNullable<z.ZodString>;
7024
7189
  status: z.ZodEnum<{
7025
7190
  completed: "completed";
7026
- running: "running";
7027
7191
  failed: "failed";
7192
+ running: "running";
7028
7193
  stopped: "stopped";
7029
7194
  starting: "starting";
7030
7195
  }>;
@@ -7081,9 +7246,9 @@ declare const OPS: {
7081
7246
  gemini: "gemini";
7082
7247
  }>;
7083
7248
  kind: z.ZodEnum<{
7084
- command: "command";
7085
7249
  automation: "automation";
7086
7250
  memory: "memory";
7251
+ command: "command";
7087
7252
  plan: "plan";
7088
7253
  plugin: "plugin";
7089
7254
  skill: "skill";
@@ -7158,9 +7323,9 @@ declare const OPS: {
7158
7323
  gemini: "gemini";
7159
7324
  }>;
7160
7325
  kind: z.ZodEnum<{
7161
- command: "command";
7162
7326
  automation: "automation";
7163
7327
  memory: "memory";
7328
+ command: "command";
7164
7329
  plan: "plan";
7165
7330
  plugin: "plugin";
7166
7331
  skill: "skill";
@@ -7281,8 +7446,8 @@ declare const OPS: {
7281
7446
  lastRunId: z.ZodNullable<z.ZodString>;
7282
7447
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
7283
7448
  completed: "completed";
7284
- running: "running";
7285
7449
  failed: "failed";
7450
+ running: "running";
7286
7451
  stopped: "stopped";
7287
7452
  starting: "starting";
7288
7453
  }>>;
@@ -7399,8 +7564,8 @@ declare const OPS: {
7399
7564
  cwd: z.ZodNullable<z.ZodString>;
7400
7565
  updatedAt: z.ZodString;
7401
7566
  state: z.ZodEnum<{
7402
- running: "running";
7403
7567
  idle: "idle";
7568
+ running: "running";
7404
7569
  elsewhere: "elsewhere";
7405
7570
  needs_attention: "needs_attention";
7406
7571
  new_output: "new_output";
@@ -7442,8 +7607,8 @@ declare const OPS: {
7442
7607
  cwd: z.ZodNullable<z.ZodString>;
7443
7608
  updatedAt: z.ZodString;
7444
7609
  where: z.ZodEnum<{
7445
- content: "content";
7446
7610
  title: "title";
7611
+ content: "content";
7447
7612
  }>;
7448
7613
  snippet: z.ZodNullable<z.ZodString>;
7449
7614
  accountId: z.ZodOptional<z.ZodString>;
@@ -7788,8 +7953,8 @@ declare const OPS: {
7788
7953
  state: z.ZodLiteral<"not_saved">;
7789
7954
  outbox_id: z.ZodString;
7790
7955
  reason: z.ZodEnum<{
7791
- signed_out: "signed_out";
7792
7956
  queued: "queued";
7957
+ signed_out: "signed_out";
7793
7958
  offline: "offline";
7794
7959
  rejected: "rejected";
7795
7960
  }>;
@@ -7876,8 +8041,8 @@ declare const OPS: {
7876
8041
  state: z.ZodLiteral<"not_saved">;
7877
8042
  outbox_id: z.ZodString;
7878
8043
  reason: z.ZodEnum<{
7879
- signed_out: "signed_out";
7880
8044
  queued: "queued";
8045
+ signed_out: "signed_out";
7881
8046
  offline: "offline";
7882
8047
  rejected: "rejected";
7883
8048
  }>;
@@ -7892,10 +8057,10 @@ declare const OPS: {
7892
8057
  readonly params: z.ZodObject<{}, z.core.$strict>;
7893
8058
  readonly result: z.ZodObject<{
7894
8059
  state: z.ZodEnum<{
8060
+ failed: "failed";
7895
8061
  not_installed: "not_installed";
7896
8062
  installing: "installing";
7897
8063
  installed: "installed";
7898
- failed: "failed";
7899
8064
  }>;
7900
8065
  error: z.ZodNullable<z.ZodString>;
7901
8066
  size_bytes: z.ZodNullable<z.ZodInt>;
@@ -7909,10 +8074,10 @@ declare const OPS: {
7909
8074
  readonly params: z.ZodObject<{}, z.core.$strict>;
7910
8075
  readonly result: z.ZodObject<{
7911
8076
  state: z.ZodEnum<{
8077
+ failed: "failed";
7912
8078
  not_installed: "not_installed";
7913
8079
  installing: "installing";
7914
8080
  installed: "installed";
7915
- failed: "failed";
7916
8081
  }>;
7917
8082
  error: z.ZodNullable<z.ZodString>;
7918
8083
  size_bytes: z.ZodNullable<z.ZodInt>;
@@ -7926,10 +8091,10 @@ declare const OPS: {
7926
8091
  readonly params: z.ZodObject<{}, z.core.$strict>;
7927
8092
  readonly result: z.ZodObject<{
7928
8093
  state: z.ZodEnum<{
8094
+ failed: "failed";
7929
8095
  not_installed: "not_installed";
7930
8096
  installing: "installing";
7931
8097
  installed: "installed";
7932
- failed: "failed";
7933
8098
  }>;
7934
8099
  error: z.ZodNullable<z.ZodString>;
7935
8100
  size_bytes: z.ZodNullable<z.ZodInt>;
@@ -7948,8 +8113,8 @@ declare const OPS: {
7948
8113
  title: z.ZodNullable<z.ZodString>;
7949
8114
  organization_id: z.ZodNullable<z.ZodString>;
7950
8115
  reason: z.ZodEnum<{
7951
- signed_out: "signed_out";
7952
8116
  queued: "queued";
8117
+ signed_out: "signed_out";
7953
8118
  offline: "offline";
7954
8119
  rejected: "rejected";
7955
8120
  }>;
@@ -8254,16 +8419,16 @@ declare const OPS: {
8254
8419
  readonly params: z.ZodObject<{
8255
8420
  agent_id: z.ZodString;
8256
8421
  status: z.ZodOptional<z.ZodEnum<{
8257
- running: "running";
8258
8422
  failed: "failed";
8423
+ running: "running";
8259
8424
  stopped: "stopped";
8260
8425
  succeeded: "succeeded";
8261
8426
  warned: "warned";
8262
8427
  waiting: "waiting";
8263
8428
  }>>;
8264
8429
  sort: z.ZodOptional<z.ZodEnum<{
8265
- started_at: "started_at";
8266
8430
  status: "status";
8431
+ started_at: "started_at";
8267
8432
  cost: "cost";
8268
8433
  duration: "duration";
8269
8434
  }>>;
@@ -8282,8 +8447,8 @@ declare const OPS: {
8282
8447
  rows: z.ZodArray<z.ZodObject<{
8283
8448
  run_id: z.ZodString;
8284
8449
  status: z.ZodEnum<{
8285
- running: "running";
8286
8450
  failed: "failed";
8451
+ running: "running";
8287
8452
  stopped: "stopped";
8288
8453
  succeeded: "succeeded";
8289
8454
  warned: "warned";
@@ -9312,9 +9477,9 @@ declare const OPS: {
9312
9477
  readonly params: z.ZodObject<{
9313
9478
  filter: z.ZodOptional<z.ZodString>;
9314
9479
  status: z.ZodOptional<z.ZodEnum<{
9480
+ paused: "paused";
9315
9481
  running: "running";
9316
9482
  stopped: "stopped";
9317
- paused: "paused";
9318
9483
  }>>;
9319
9484
  limit: z.ZodDefault<z.ZodInt>;
9320
9485
  }, z.core.$strict>;
@@ -9799,8 +9964,8 @@ declare const EVENTS: {
9799
9964
  readonly "session.control_changed": z.ZodObject<{
9800
9965
  controller_client_id: z.ZodNullable<z.ZodString>;
9801
9966
  your_mode: z.ZodEnum<{
9802
- read_only: "read_only";
9803
9967
  control: "control";
9968
+ read_only: "read_only";
9804
9969
  }>;
9805
9970
  }, z.core.$strict>;
9806
9971
  readonly "models.progress": z.ZodObject<{
@@ -9868,8 +10033,8 @@ declare const EVENTS: {
9868
10033
  lastRunId: z.ZodNullable<z.ZodString>;
9869
10034
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
9870
10035
  completed: "completed";
9871
- running: "running";
9872
10036
  failed: "failed";
10037
+ running: "running";
9873
10038
  stopped: "stopped";
9874
10039
  starting: "starting";
9875
10040
  }>>;
@@ -9918,8 +10083,8 @@ declare const EVENTS: {
9918
10083
  model: z.ZodNullable<z.ZodString>;
9919
10084
  status: z.ZodEnum<{
9920
10085
  completed: "completed";
9921
- running: "running";
9922
10086
  failed: "failed";
10087
+ running: "running";
9923
10088
  stopped: "stopped";
9924
10089
  starting: "starting";
9925
10090
  }>;
@@ -9973,8 +10138,8 @@ declare const EVENTS: {
9973
10138
  cwd: z.ZodNullable<z.ZodString>;
9974
10139
  updatedAt: z.ZodString;
9975
10140
  state: z.ZodEnum<{
9976
- running: "running";
9977
10141
  idle: "idle";
10142
+ running: "running";
9978
10143
  elsewhere: "elsewhere";
9979
10144
  needs_attention: "needs_attention";
9980
10145
  new_output: "new_output";
@@ -10290,10 +10455,10 @@ declare const SERVICES: {
10290
10455
  readonly params: z.ZodObject<{}, z.core.$strict>;
10291
10456
  readonly result: z.ZodObject<{
10292
10457
  runtime: z.ZodEnum<{
10458
+ failed: "failed";
10293
10459
  not_installed: "not_installed";
10294
10460
  installing: "installing";
10295
10461
  installed: "installed";
10296
- failed: "failed";
10297
10462
  }>;
10298
10463
  install: z.ZodNullable<z.ZodObject<{
10299
10464
  phase: z.ZodEnum<{
@@ -10356,8 +10521,8 @@ declare const SERVICES: {
10356
10521
  readonly params: z.ZodObject<{}, z.core.$strict>;
10357
10522
  readonly result: z.ZodObject<{
10358
10523
  state: z.ZodEnum<{
10359
- running: "running";
10360
10524
  failed: "failed";
10525
+ running: "running";
10361
10526
  stopped: "stopped";
10362
10527
  starting: "starting";
10363
10528
  }>;
@@ -10387,6 +10552,30 @@ declare const SERVICES: {
10387
10552
  bytes_total: z.ZodNullable<z.ZodInt>;
10388
10553
  }, z.core.$strict>>;
10389
10554
  error: z.ZodNullable<z.ZodString>;
10555
+ embedding: z.ZodOptional<z.ZodObject<{
10556
+ state: z.ZodEnum<{
10557
+ failed: "failed";
10558
+ running: "running";
10559
+ stopped: "stopped";
10560
+ starting: "starting";
10561
+ }>;
10562
+ models: z.ZodArray<z.ZodObject<{
10563
+ id: z.ZodString;
10564
+ size_bytes: z.ZodInt;
10565
+ installed: z.ZodBoolean;
10566
+ title: z.ZodOptional<z.ZodString>;
10567
+ problem: z.ZodOptional<z.ZodString>;
10568
+ }, z.core.$strict>>;
10569
+ running: z.ZodNullable<z.ZodObject<{
10570
+ id: z.ZodString;
10571
+ port: z.ZodInt;
10572
+ context_length: z.ZodOptional<z.ZodInt>;
10573
+ gpu_layers: z.ZodOptional<z.ZodInt>;
10574
+ threads: z.ZodOptional<z.ZodInt>;
10575
+ }, z.core.$strict>>;
10576
+ starting: z.ZodNullable<z.ZodString>;
10577
+ error: z.ZodNullable<z.ZodString>;
10578
+ }, z.core.$strict>>;
10390
10579
  }, z.core.$strict>;
10391
10580
  };
10392
10581
  readonly "ml.llm_install": {
@@ -10407,6 +10596,10 @@ declare const SERVICES: {
10407
10596
  gpu_layers: z.ZodOptional<z.ZodInt>;
10408
10597
  threads: z.ZodOptional<z.ZodInt>;
10409
10598
  load_timeout_s: z.ZodOptional<z.ZodInt>;
10599
+ slot: z.ZodOptional<z.ZodEnum<{
10600
+ chat: "chat";
10601
+ embed: "embed";
10602
+ }>>;
10410
10603
  }, z.core.$strict>;
10411
10604
  readonly result: z.ZodObject<{
10412
10605
  running: z.ZodObject<{
@@ -10420,7 +10613,12 @@ declare const SERVICES: {
10420
10613
  }, z.core.$strict>;
10421
10614
  };
10422
10615
  readonly "ml.llm_stop": {
10423
- readonly params: z.ZodObject<{}, z.core.$strict>;
10616
+ readonly params: z.ZodObject<{
10617
+ slot: z.ZodOptional<z.ZodEnum<{
10618
+ chat: "chat";
10619
+ embed: "embed";
10620
+ }>>;
10621
+ }, z.core.$strict>;
10424
10622
  readonly result: z.ZodObject<{
10425
10623
  stopped: z.ZodBoolean;
10426
10624
  }, z.core.$strict>;
@@ -10504,10 +10702,10 @@ declare const SERVICES: {
10504
10702
  installed: z.ZodBoolean;
10505
10703
  }, z.core.$strict>>;
10506
10704
  runtime: z.ZodEnum<{
10705
+ failed: "failed";
10507
10706
  not_installed: "not_installed";
10508
10707
  installing: "installing";
10509
10708
  installed: "installed";
10510
- failed: "failed";
10511
10709
  }>;
10512
10710
  voices: z.ZodArray<z.ZodObject<{
10513
10711
  id: z.ZodString;
@@ -10643,6 +10841,19 @@ declare const SERVICES: {
10643
10841
  role: z.ZodString;
10644
10842
  }, z.core.$strict>>;
10645
10843
  }, z.core.$strict>>>;
10844
+ embedding: z.ZodOptional<z.ZodArray<z.ZodObject<{
10845
+ key: z.ZodString;
10846
+ variant: z.ZodString;
10847
+ revision: z.ZodString;
10848
+ multilingual: z.ZodBoolean;
10849
+ files: z.ZodArray<z.ZodObject<{
10850
+ path: z.ZodString;
10851
+ url: z.ZodString;
10852
+ size_bytes: z.ZodInt;
10853
+ sha256: z.ZodNullable<z.ZodString>;
10854
+ role: z.ZodString;
10855
+ }, z.core.$strict>>;
10856
+ }, z.core.$strict>>>;
10646
10857
  }, z.core.$strict>;
10647
10858
  readonly result: z.ZodObject<{
10648
10859
  text: z.ZodInt;
@@ -10833,8 +11044,8 @@ declare const SERVICES: {
10833
11044
  state: z.ZodLiteral<"not_saved">;
10834
11045
  outbox_id: z.ZodString;
10835
11046
  reason: z.ZodEnum<{
10836
- signed_out: "signed_out";
10837
11047
  queued: "queued";
11048
+ signed_out: "signed_out";
10838
11049
  offline: "offline";
10839
11050
  rejected: "rejected";
10840
11051
  }>;
@@ -10917,8 +11128,8 @@ declare const SERVICES: {
10917
11128
  state: z.ZodLiteral<"not_saved">;
10918
11129
  outbox_id: z.ZodString;
10919
11130
  reason: z.ZodEnum<{
10920
- signed_out: "signed_out";
10921
11131
  queued: "queued";
11132
+ signed_out: "signed_out";
10922
11133
  offline: "offline";
10923
11134
  rejected: "rejected";
10924
11135
  }>;
@@ -10935,10 +11146,10 @@ declare const SERVICES: {
10935
11146
  readonly params: z.ZodObject<{}, z.core.$strict>;
10936
11147
  readonly result: z.ZodObject<{
10937
11148
  state: z.ZodEnum<{
11149
+ failed: "failed";
10938
11150
  not_installed: "not_installed";
10939
11151
  installing: "installing";
10940
11152
  installed: "installed";
10941
- failed: "failed";
10942
11153
  }>;
10943
11154
  error: z.ZodNullable<z.ZodString>;
10944
11155
  size_bytes: z.ZodNullable<z.ZodInt>;
@@ -10949,10 +11160,10 @@ declare const SERVICES: {
10949
11160
  readonly params: z.ZodObject<{}, z.core.$strict>;
10950
11161
  readonly result: z.ZodObject<{
10951
11162
  state: z.ZodEnum<{
11163
+ failed: "failed";
10952
11164
  not_installed: "not_installed";
10953
11165
  installing: "installing";
10954
11166
  installed: "installed";
10955
- failed: "failed";
10956
11167
  }>;
10957
11168
  error: z.ZodNullable<z.ZodString>;
10958
11169
  size_bytes: z.ZodNullable<z.ZodInt>;
@@ -10963,10 +11174,10 @@ declare const SERVICES: {
10963
11174
  readonly params: z.ZodObject<{}, z.core.$strict>;
10964
11175
  readonly result: z.ZodObject<{
10965
11176
  state: z.ZodEnum<{
11177
+ failed: "failed";
10966
11178
  not_installed: "not_installed";
10967
11179
  installing: "installing";
10968
11180
  installed: "installed";
10969
- failed: "failed";
10970
11181
  }>;
10971
11182
  error: z.ZodNullable<z.ZodString>;
10972
11183
  size_bytes: z.ZodNullable<z.ZodInt>;
@@ -10989,10 +11200,10 @@ declare const SERVICES: {
10989
11200
  readonly params: z.ZodObject<{}, z.core.$strict>;
10990
11201
  readonly result: z.ZodObject<{
10991
11202
  state: z.ZodEnum<{
11203
+ failed: "failed";
10992
11204
  not_installed: "not_installed";
10993
11205
  installing: "installing";
10994
11206
  installed: "installed";
10995
- failed: "failed";
10996
11207
  listening: "listening";
10997
11208
  }>;
10998
11209
  error: z.ZodNullable<z.ZodString>;
@@ -11004,10 +11215,10 @@ declare const SERVICES: {
11004
11215
  readonly params: z.ZodObject<{}, z.core.$strict>;
11005
11216
  readonly result: z.ZodObject<{
11006
11217
  state: z.ZodEnum<{
11218
+ failed: "failed";
11007
11219
  not_installed: "not_installed";
11008
11220
  installing: "installing";
11009
11221
  installed: "installed";
11010
- failed: "failed";
11011
11222
  listening: "listening";
11012
11223
  }>;
11013
11224
  error: z.ZodNullable<z.ZodString>;
@@ -11024,10 +11235,10 @@ declare const SERVICES: {
11024
11235
  }, z.core.$strict>;
11025
11236
  readonly result: z.ZodObject<{
11026
11237
  state: z.ZodEnum<{
11238
+ failed: "failed";
11027
11239
  not_installed: "not_installed";
11028
11240
  installing: "installing";
11029
11241
  installed: "installed";
11030
- failed: "failed";
11031
11242
  listening: "listening";
11032
11243
  }>;
11033
11244
  error: z.ZodNullable<z.ZodString>;
@@ -11049,10 +11260,10 @@ type ServiceOpName<S extends ServiceId> = keyof (typeof SERVICES)[S]["ops"] & st
11049
11260
  */
11050
11261
  declare const NAMED_SCHEMAS: {
11051
11262
  readonly AgentServiceStateName: z.ZodEnum<{
11263
+ failed: "failed";
11052
11264
  not_installed: "not_installed";
11053
11265
  installing: "installing";
11054
11266
  installed: "installed";
11055
- failed: "failed";
11056
11267
  listening: "listening";
11057
11268
  }>;
11058
11269
  readonly AgentStatusParams: z.ZodObject<{}, z.core.$strict>;
@@ -11065,10 +11276,10 @@ declare const NAMED_SCHEMAS: {
11065
11276
  }, z.core.$strict>;
11066
11277
  readonly AgentServiceState: z.ZodObject<{
11067
11278
  state: z.ZodEnum<{
11279
+ failed: "failed";
11068
11280
  not_installed: "not_installed";
11069
11281
  installing: "installing";
11070
11282
  installed: "installed";
11071
- failed: "failed";
11072
11283
  listening: "listening";
11073
11284
  }>;
11074
11285
  error: z.ZodNullable<z.ZodString>;
@@ -11092,9 +11303,9 @@ declare const NAMED_SCHEMAS: {
11092
11303
  gemini: "gemini";
11093
11304
  }>;
11094
11305
  readonly AgentAssetKind: z.ZodEnum<{
11095
- command: "command";
11096
11306
  automation: "automation";
11097
11307
  memory: "memory";
11308
+ command: "command";
11098
11309
  plan: "plan";
11099
11310
  plugin: "plugin";
11100
11311
  skill: "skill";
@@ -11136,9 +11347,9 @@ declare const NAMED_SCHEMAS: {
11136
11347
  gemini: "gemini";
11137
11348
  }>;
11138
11349
  kind: z.ZodEnum<{
11139
- command: "command";
11140
11350
  automation: "automation";
11141
11351
  memory: "memory";
11352
+ command: "command";
11142
11353
  plan: "plan";
11143
11354
  plugin: "plugin";
11144
11355
  skill: "skill";
@@ -11209,9 +11420,9 @@ declare const NAMED_SCHEMAS: {
11209
11420
  gemini: "gemini";
11210
11421
  }>;
11211
11422
  kind: z.ZodEnum<{
11212
- command: "command";
11213
11423
  automation: "automation";
11214
11424
  memory: "memory";
11425
+ command: "command";
11215
11426
  plan: "plan";
11216
11427
  plugin: "plugin";
11217
11428
  skill: "skill";
@@ -11300,9 +11511,9 @@ declare const NAMED_SCHEMAS: {
11300
11511
  gemini: "gemini";
11301
11512
  }>;
11302
11513
  kind: z.ZodEnum<{
11303
- command: "command";
11304
11514
  automation: "automation";
11305
11515
  memory: "memory";
11516
+ command: "command";
11306
11517
  plan: "plan";
11307
11518
  plugin: "plugin";
11308
11519
  skill: "skill";
@@ -12240,8 +12451,8 @@ declare const NAMED_SCHEMAS: {
12240
12451
  }>;
12241
12452
  readonly AccountGap: z.ZodEnum<{
12242
12453
  usage: "usage";
12243
- plan: "plan";
12244
12454
  email: "email";
12455
+ plan: "plan";
12245
12456
  }>;
12246
12457
  readonly AppAccount: z.ZodObject<{
12247
12458
  app_key: z.ZodString;
@@ -12269,8 +12480,8 @@ declare const NAMED_SCHEMAS: {
12269
12480
  last_seen_ms: z.ZodNullable<z.ZodInt>;
12270
12481
  missing: z.ZodArray<z.ZodEnum<{
12271
12482
  usage: "usage";
12272
- plan: "plan";
12273
12483
  email: "email";
12484
+ plan: "plan";
12274
12485
  }>>;
12275
12486
  profile: z.ZodOptional<z.ZodObject<{
12276
12487
  name: z.ZodNullable<z.ZodString>;
@@ -12386,8 +12597,8 @@ declare const NAMED_SCHEMAS: {
12386
12597
  last_seen_ms: z.ZodNullable<z.ZodInt>;
12387
12598
  missing: z.ZodArray<z.ZodEnum<{
12388
12599
  usage: "usage";
12389
- plan: "plan";
12390
12600
  email: "email";
12601
+ plan: "plan";
12391
12602
  }>>;
12392
12603
  profile: z.ZodOptional<z.ZodObject<{
12393
12604
  name: z.ZodNullable<z.ZodString>;
@@ -13400,6 +13611,144 @@ declare const NAMED_SCHEMAS: {
13400
13611
  walk: "walk";
13401
13612
  }>;
13402
13613
  }, z.core.$strict>;
13614
+ readonly FsSemanticStatusParams: z.ZodObject<{}, z.core.$strict>;
13615
+ readonly FsSemanticStatusResult: z.ZodObject<{
13616
+ state: z.ZodEnum<{
13617
+ model_missing: "model_missing";
13618
+ indexing: "indexing";
13619
+ paused_load: "paused_load";
13620
+ paused: "paused";
13621
+ idle: "idle";
13622
+ off: "off";
13623
+ failed: "failed";
13624
+ }>;
13625
+ indexed: z.ZodInt;
13626
+ total: z.ZodInt;
13627
+ queued: z.ZodInt;
13628
+ over_cap: z.ZodInt;
13629
+ max_files: z.ZodInt;
13630
+ folders: z.ZodArray<z.ZodString>;
13631
+ folders_source: z.ZodEnum<{
13632
+ default: "default";
13633
+ chosen: "chosen";
13634
+ }>;
13635
+ model: z.ZodNullable<z.ZodString>;
13636
+ load_per_cpu: z.ZodNumber;
13637
+ load_limit: z.ZodNumber;
13638
+ reason: z.ZodNullable<z.ZodString>;
13639
+ updated_at_ms: z.ZodNullable<z.ZodInt>;
13640
+ }, z.core.$strict>;
13641
+ readonly FsSearchSemanticParams: z.ZodObject<{
13642
+ query: z.ZodString;
13643
+ scope: z.ZodOptional<z.ZodString>;
13644
+ max_results: z.ZodDefault<z.ZodInt>;
13645
+ }, z.core.$strict>;
13646
+ readonly FsSearchSemanticResult: z.ZodObject<{
13647
+ hits: z.ZodArray<z.ZodObject<{
13648
+ path: z.ZodString;
13649
+ score: z.ZodNumber;
13650
+ snippet: z.ZodString;
13651
+ modified_at_ms: z.ZodNullable<z.ZodInt>;
13652
+ }, z.core.$strict>>;
13653
+ status: z.ZodObject<{
13654
+ state: z.ZodEnum<{
13655
+ model_missing: "model_missing";
13656
+ indexing: "indexing";
13657
+ paused_load: "paused_load";
13658
+ paused: "paused";
13659
+ idle: "idle";
13660
+ off: "off";
13661
+ failed: "failed";
13662
+ }>;
13663
+ indexed: z.ZodInt;
13664
+ total: z.ZodInt;
13665
+ queued: z.ZodInt;
13666
+ over_cap: z.ZodInt;
13667
+ max_files: z.ZodInt;
13668
+ folders: z.ZodArray<z.ZodString>;
13669
+ folders_source: z.ZodEnum<{
13670
+ default: "default";
13671
+ chosen: "chosen";
13672
+ }>;
13673
+ model: z.ZodNullable<z.ZodString>;
13674
+ load_per_cpu: z.ZodNumber;
13675
+ load_limit: z.ZodNumber;
13676
+ reason: z.ZodNullable<z.ZodString>;
13677
+ updated_at_ms: z.ZodNullable<z.ZodInt>;
13678
+ }, z.core.$strict>;
13679
+ }, z.core.$strict>;
13680
+ readonly FsSemanticConfigureParams: z.ZodObject<{
13681
+ folders: z.ZodOptional<z.ZodArray<z.ZodString>>;
13682
+ use_default_folders: z.ZodOptional<z.ZodBoolean>;
13683
+ paused: z.ZodOptional<z.ZodBoolean>;
13684
+ }, z.core.$strict>;
13685
+ readonly FsSemanticConfigureResult: z.ZodObject<{
13686
+ state: z.ZodEnum<{
13687
+ model_missing: "model_missing";
13688
+ indexing: "indexing";
13689
+ paused_load: "paused_load";
13690
+ paused: "paused";
13691
+ idle: "idle";
13692
+ off: "off";
13693
+ failed: "failed";
13694
+ }>;
13695
+ indexed: z.ZodInt;
13696
+ total: z.ZodInt;
13697
+ queued: z.ZodInt;
13698
+ over_cap: z.ZodInt;
13699
+ max_files: z.ZodInt;
13700
+ folders: z.ZodArray<z.ZodString>;
13701
+ folders_source: z.ZodEnum<{
13702
+ default: "default";
13703
+ chosen: "chosen";
13704
+ }>;
13705
+ model: z.ZodNullable<z.ZodString>;
13706
+ load_per_cpu: z.ZodNumber;
13707
+ load_limit: z.ZodNumber;
13708
+ reason: z.ZodNullable<z.ZodString>;
13709
+ updated_at_ms: z.ZodNullable<z.ZodInt>;
13710
+ }, z.core.$strict>;
13711
+ readonly FsSemanticHit: z.ZodObject<{
13712
+ path: z.ZodString;
13713
+ score: z.ZodNumber;
13714
+ snippet: z.ZodString;
13715
+ modified_at_ms: z.ZodNullable<z.ZodInt>;
13716
+ }, z.core.$strict>;
13717
+ readonly SemanticIndexStatus: z.ZodObject<{
13718
+ state: z.ZodEnum<{
13719
+ model_missing: "model_missing";
13720
+ indexing: "indexing";
13721
+ paused_load: "paused_load";
13722
+ paused: "paused";
13723
+ idle: "idle";
13724
+ off: "off";
13725
+ failed: "failed";
13726
+ }>;
13727
+ indexed: z.ZodInt;
13728
+ total: z.ZodInt;
13729
+ queued: z.ZodInt;
13730
+ over_cap: z.ZodInt;
13731
+ max_files: z.ZodInt;
13732
+ folders: z.ZodArray<z.ZodString>;
13733
+ folders_source: z.ZodEnum<{
13734
+ default: "default";
13735
+ chosen: "chosen";
13736
+ }>;
13737
+ model: z.ZodNullable<z.ZodString>;
13738
+ load_per_cpu: z.ZodNumber;
13739
+ load_limit: z.ZodNumber;
13740
+ reason: z.ZodNullable<z.ZodString>;
13741
+ updated_at_ms: z.ZodNullable<z.ZodInt>;
13742
+ }, z.core.$strict>;
13743
+ readonly SemanticIndexState: z.ZodEnum<{
13744
+ model_missing: "model_missing";
13745
+ indexing: "indexing";
13746
+ paused_load: "paused_load";
13747
+ paused: "paused";
13748
+ idle: "idle";
13749
+ off: "off";
13750
+ failed: "failed";
13751
+ }>;
13403
13752
  readonly FsDeleteParams: z.ZodObject<{
13404
13753
  path: z.ZodString;
13405
13754
  recursive: z.ZodDefault<z.ZodBoolean>;
@@ -13701,8 +14050,8 @@ declare const NAMED_SCHEMAS: {
13701
14050
  readonly SessionAttachParams: z.ZodObject<{
13702
14051
  resource_id: z.ZodString;
13703
14052
  mode: z.ZodDefault<z.ZodEnum<{
13704
- read_only: "read_only";
13705
14053
  control: "control";
14054
+ read_only: "read_only";
13706
14055
  }>>;
13707
14056
  since_seq: z.ZodOptional<z.ZodInt>;
13708
14057
  window_bytes: z.ZodOptional<z.ZodInt>;
@@ -13803,16 +14152,16 @@ declare const NAMED_SCHEMAS: {
13803
14152
  readonly SessionControlChangedEvent: z.ZodObject<{
13804
14153
  controller_client_id: z.ZodNullable<z.ZodString>;
13805
14154
  your_mode: z.ZodEnum<{
13806
- read_only: "read_only";
13807
14155
  control: "control";
14156
+ read_only: "read_only";
13808
14157
  }>;
13809
14158
  }, z.core.$strict>;
13810
14159
  readonly TranscriptionModelId: z.ZodString;
13811
14160
  readonly MlRuntimeState: z.ZodEnum<{
14161
+ failed: "failed";
13812
14162
  not_installed: "not_installed";
13813
14163
  installing: "installing";
13814
14164
  installed: "installed";
13815
- failed: "failed";
13816
14165
  }>;
13817
14166
  readonly MlInstallPhase: z.ZodEnum<{
13818
14167
  model: "model";
@@ -13843,10 +14192,10 @@ declare const NAMED_SCHEMAS: {
13843
14192
  readonly MlStatusParams: z.ZodObject<{}, z.core.$strict>;
13844
14193
  readonly MlStatusResult: z.ZodObject<{
13845
14194
  runtime: z.ZodEnum<{
14195
+ failed: "failed";
13846
14196
  not_installed: "not_installed";
13847
14197
  installing: "installing";
13848
14198
  installed: "installed";
13849
- failed: "failed";
13850
14199
  }>;
13851
14200
  install: z.ZodNullable<z.ZodObject<{
13852
14201
  phase: z.ZodEnum<{
@@ -13966,10 +14315,10 @@ declare const NAMED_SCHEMAS: {
13966
14315
  }, z.core.$strict>;
13967
14316
  transcription: z.ZodNullable<z.ZodObject<{
13968
14317
  runtime: z.ZodEnum<{
14318
+ failed: "failed";
13969
14319
  not_installed: "not_installed";
13970
14320
  installing: "installing";
13971
14321
  installed: "installed";
13972
- failed: "failed";
13973
14322
  }>;
13974
14323
  install: z.ZodNullable<z.ZodObject<{
13975
14324
  phase: z.ZodEnum<{
@@ -14123,14 +14472,27 @@ declare const NAMED_SCHEMAS: {
14123
14472
  role: z.ZodString;
14124
14473
  }, z.core.$strict>>;
14125
14474
  }, z.core.$strict>>>;
14475
+ embedding: z.ZodOptional<z.ZodArray<z.ZodObject<{
14476
+ key: z.ZodString;
14477
+ variant: z.ZodString;
14478
+ revision: z.ZodString;
14479
+ multilingual: z.ZodBoolean;
14480
+ files: z.ZodArray<z.ZodObject<{
14481
+ path: z.ZodString;
14482
+ url: z.ZodString;
14483
+ size_bytes: z.ZodInt;
14484
+ sha256: z.ZodNullable<z.ZodString>;
14485
+ role: z.ZodString;
14486
+ }, z.core.$strict>>;
14487
+ }, z.core.$strict>>>;
14126
14488
  }, z.core.$strict>;
14127
14489
  readonly MlCatalogSetResult: z.ZodObject<{
14128
14490
  text: z.ZodInt;
14129
14491
  transcription: z.ZodInt;
14130
14492
  }, z.core.$strict>;
14131
14493
  readonly LlmServerState: z.ZodEnum<{
14132
- running: "running";
14133
14494
  failed: "failed";
14495
+ running: "running";
14134
14496
  stopped: "stopped";
14135
14497
  starting: "starting";
14136
14498
  }>;
@@ -14144,8 +14506,8 @@ declare const NAMED_SCHEMAS: {
14144
14506
  readonly ModelsLlmStatusParams: z.ZodObject<{}, z.core.$strict>;
14145
14507
  readonly ModelsLlmStatusResult: z.ZodObject<{
14146
14508
  state: z.ZodEnum<{
14147
- running: "running";
14148
14509
  failed: "failed";
14510
+ running: "running";
14149
14511
  stopped: "stopped";
14150
14512
  starting: "starting";
14151
14513
  }>;
@@ -14175,6 +14537,30 @@ declare const NAMED_SCHEMAS: {
14175
14537
  bytes_total: z.ZodNullable<z.ZodInt>;
14176
14538
  }, z.core.$strict>>;
14177
14539
  error: z.ZodNullable<z.ZodString>;
14540
+ embedding: z.ZodOptional<z.ZodObject<{
14541
+ state: z.ZodEnum<{
14542
+ failed: "failed";
14543
+ running: "running";
14544
+ stopped: "stopped";
14545
+ starting: "starting";
14546
+ }>;
14547
+ models: z.ZodArray<z.ZodObject<{
14548
+ id: z.ZodString;
14549
+ size_bytes: z.ZodInt;
14550
+ installed: z.ZodBoolean;
14551
+ title: z.ZodOptional<z.ZodString>;
14552
+ problem: z.ZodOptional<z.ZodString>;
14553
+ }, z.core.$strict>>;
14554
+ running: z.ZodNullable<z.ZodObject<{
14555
+ id: z.ZodString;
14556
+ port: z.ZodInt;
14557
+ context_length: z.ZodOptional<z.ZodInt>;
14558
+ gpu_layers: z.ZodOptional<z.ZodInt>;
14559
+ threads: z.ZodOptional<z.ZodInt>;
14560
+ }, z.core.$strict>>;
14561
+ starting: z.ZodNullable<z.ZodString>;
14562
+ error: z.ZodNullable<z.ZodString>;
14563
+ }, z.core.$strict>>;
14178
14564
  }, z.core.$strict>;
14179
14565
  readonly ModelsLlmInstallParams: z.ZodObject<{
14180
14566
  model: z.ZodString;
@@ -14191,6 +14577,10 @@ declare const NAMED_SCHEMAS: {
14191
14577
  gpu_layers: z.ZodOptional<z.ZodInt>;
14192
14578
  threads: z.ZodOptional<z.ZodInt>;
14193
14579
  load_timeout_s: z.ZodOptional<z.ZodInt>;
14580
+ slot: z.ZodOptional<z.ZodEnum<{
14581
+ chat: "chat";
14582
+ embed: "embed";
14583
+ }>>;
14194
14584
  }, z.core.$strict>;
14195
14585
  readonly ModelsLlmStartResult: z.ZodObject<{
14196
14586
  running: z.ZodObject<{
@@ -14202,7 +14592,12 @@ declare const NAMED_SCHEMAS: {
14202
14592
  }, z.core.$strict>;
14203
14593
  elapsed_ms: z.ZodInt;
14204
14594
  }, z.core.$strict>;
14205
- readonly ModelsLlmStopParams: z.ZodObject<{}, z.core.$strict>;
14595
+ readonly ModelsLlmStopParams: z.ZodObject<{
14596
+ slot: z.ZodOptional<z.ZodEnum<{
14597
+ chat: "chat";
14598
+ embed: "embed";
14599
+ }>>;
14600
+ }, z.core.$strict>;
14206
14601
  readonly ModelsLlmStopResult: z.ZodObject<{
14207
14602
  stopped: z.ZodBoolean;
14208
14603
  }, z.core.$strict>;
@@ -14216,6 +14611,55 @@ declare const NAMED_SCHEMAS: {
14216
14611
  model: z.ZodString;
14217
14612
  content_type: z.ZodString;
14218
14613
  }, z.core.$strict>;
14614
+ readonly ModelsEmbedParams: z.ZodObject<{
14615
+ model: z.ZodString;
14616
+ input: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
14617
+ start_if_stopped: z.ZodOptional<z.ZodBoolean>;
14618
+ }, z.core.$strict>;
14619
+ readonly ModelsEmbedResult: z.ZodObject<{
14620
+ model: z.ZodString;
14621
+ dimensions: z.ZodInt;
14622
+ data: z.ZodArray<z.ZodObject<{
14623
+ index: z.ZodInt;
14624
+ embedding: z.ZodArray<z.ZodNumber>;
14625
+ }, z.core.$strict>>;
14626
+ usage: z.ZodObject<{
14627
+ prompt_tokens: z.ZodInt;
14628
+ total_tokens: z.ZodInt;
14629
+ }, z.core.$strict>;
14630
+ }, z.core.$strict>;
14631
+ readonly EmbeddingVector: z.ZodObject<{
14632
+ index: z.ZodInt;
14633
+ embedding: z.ZodArray<z.ZodNumber>;
14634
+ }, z.core.$strict>;
14635
+ readonly LlmSlot: z.ZodEnum<{
14636
+ chat: "chat";
14637
+ embed: "embed";
14638
+ }>;
14639
+ readonly LlmEmbeddingSlot: z.ZodObject<{
14640
+ state: z.ZodEnum<{
14641
+ failed: "failed";
14642
+ running: "running";
14643
+ stopped: "stopped";
14644
+ starting: "starting";
14645
+ }>;
14646
+ models: z.ZodArray<z.ZodObject<{
14647
+ id: z.ZodString;
14648
+ size_bytes: z.ZodInt;
14649
+ installed: z.ZodBoolean;
14650
+ title: z.ZodOptional<z.ZodString>;
14651
+ problem: z.ZodOptional<z.ZodString>;
14652
+ }, z.core.$strict>>;
14653
+ running: z.ZodNullable<z.ZodObject<{
14654
+ id: z.ZodString;
14655
+ port: z.ZodInt;
14656
+ context_length: z.ZodOptional<z.ZodInt>;
14657
+ gpu_layers: z.ZodOptional<z.ZodInt>;
14658
+ threads: z.ZodOptional<z.ZodInt>;
14659
+ }, z.core.$strict>>;
14660
+ starting: z.ZodNullable<z.ZodString>;
14661
+ error: z.ZodNullable<z.ZodString>;
14662
+ }, z.core.$strict>;
14219
14663
  readonly DownloadKind: z.ZodEnum<{
14220
14664
  runtime: "runtime";
14221
14665
  speech_model: "speech_model";
@@ -14347,10 +14791,10 @@ declare const NAMED_SCHEMAS: {
14347
14791
  installed: z.ZodBoolean;
14348
14792
  }, z.core.$strict>>;
14349
14793
  runtime: z.ZodEnum<{
14794
+ failed: "failed";
14350
14795
  not_installed: "not_installed";
14351
14796
  installing: "installing";
14352
14797
  installed: "installed";
14353
- failed: "failed";
14354
14798
  }>;
14355
14799
  voices: z.ZodArray<z.ZodObject<{
14356
14800
  id: z.ZodString;
@@ -14569,8 +15013,8 @@ declare const NAMED_SCHEMAS: {
14569
15013
  }>;
14570
15014
  readonly CodingRunStatus: z.ZodEnum<{
14571
15015
  completed: "completed";
14572
- running: "running";
14573
15016
  failed: "failed";
15017
+ running: "running";
14574
15018
  stopped: "stopped";
14575
15019
  starting: "starting";
14576
15020
  }>;
@@ -14602,8 +15046,8 @@ declare const NAMED_SCHEMAS: {
14602
15046
  model: z.ZodNullable<z.ZodString>;
14603
15047
  status: z.ZodEnum<{
14604
15048
  completed: "completed";
14605
- running: "running";
14606
15049
  failed: "failed";
15050
+ running: "running";
14607
15051
  stopped: "stopped";
14608
15052
  starting: "starting";
14609
15053
  }>;
@@ -14688,8 +15132,8 @@ declare const NAMED_SCHEMAS: {
14688
15132
  lastRunId: z.ZodNullable<z.ZodString>;
14689
15133
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
14690
15134
  completed: "completed";
14691
- running: "running";
14692
15135
  failed: "failed";
15136
+ running: "running";
14693
15137
  stopped: "stopped";
14694
15138
  starting: "starting";
14695
15139
  }>>;
@@ -15101,8 +15545,8 @@ declare const NAMED_SCHEMAS: {
15101
15545
  cwd: z.ZodNullable<z.ZodString>;
15102
15546
  updatedAt: z.ZodString;
15103
15547
  state: z.ZodEnum<{
15104
- running: "running";
15105
15548
  idle: "idle";
15549
+ running: "running";
15106
15550
  elsewhere: "elsewhere";
15107
15551
  needs_attention: "needs_attention";
15108
15552
  new_output: "new_output";
@@ -15157,8 +15601,8 @@ declare const NAMED_SCHEMAS: {
15157
15601
  lastRunId: z.ZodNullable<z.ZodString>;
15158
15602
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
15159
15603
  completed: "completed";
15160
- running: "running";
15161
15604
  failed: "failed";
15605
+ running: "running";
15162
15606
  stopped: "stopped";
15163
15607
  starting: "starting";
15164
15608
  }>>;
@@ -15205,8 +15649,8 @@ declare const NAMED_SCHEMAS: {
15205
15649
  model: z.ZodNullable<z.ZodString>;
15206
15650
  status: z.ZodEnum<{
15207
15651
  completed: "completed";
15208
- running: "running";
15209
15652
  failed: "failed";
15653
+ running: "running";
15210
15654
  stopped: "stopped";
15211
15655
  starting: "starting";
15212
15656
  }>;
@@ -15374,8 +15818,8 @@ declare const NAMED_SCHEMAS: {
15374
15818
  lastRunId: z.ZodNullable<z.ZodString>;
15375
15819
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
15376
15820
  completed: "completed";
15377
- running: "running";
15378
15821
  failed: "failed";
15822
+ running: "running";
15379
15823
  stopped: "stopped";
15380
15824
  starting: "starting";
15381
15825
  }>>;
@@ -15422,8 +15866,8 @@ declare const NAMED_SCHEMAS: {
15422
15866
  model: z.ZodNullable<z.ZodString>;
15423
15867
  status: z.ZodEnum<{
15424
15868
  completed: "completed";
15425
- running: "running";
15426
15869
  failed: "failed";
15870
+ running: "running";
15427
15871
  stopped: "stopped";
15428
15872
  starting: "starting";
15429
15873
  }>;
@@ -15464,8 +15908,8 @@ declare const NAMED_SCHEMAS: {
15464
15908
  cwd: z.ZodNullable<z.ZodString>;
15465
15909
  updatedAt: z.ZodString;
15466
15910
  state: z.ZodEnum<{
15467
- running: "running";
15468
15911
  idle: "idle";
15912
+ running: "running";
15469
15913
  elsewhere: "elsewhere";
15470
15914
  needs_attention: "needs_attention";
15471
15915
  new_output: "new_output";
@@ -15550,8 +15994,8 @@ declare const NAMED_SCHEMAS: {
15550
15994
  model: z.ZodNullable<z.ZodString>;
15551
15995
  status: z.ZodEnum<{
15552
15996
  completed: "completed";
15553
- running: "running";
15554
15997
  failed: "failed";
15998
+ running: "running";
15555
15999
  stopped: "stopped";
15556
16000
  starting: "starting";
15557
16001
  }>;
@@ -15806,8 +16250,8 @@ declare const NAMED_SCHEMAS: {
15806
16250
  lastRunId: z.ZodNullable<z.ZodString>;
15807
16251
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
15808
16252
  completed: "completed";
15809
- running: "running";
15810
16253
  failed: "failed";
16254
+ running: "running";
15811
16255
  stopped: "stopped";
15812
16256
  starting: "starting";
15813
16257
  }>>;
@@ -15854,8 +16298,8 @@ declare const NAMED_SCHEMAS: {
15854
16298
  model: z.ZodNullable<z.ZodString>;
15855
16299
  status: z.ZodEnum<{
15856
16300
  completed: "completed";
15857
- running: "running";
15858
16301
  failed: "failed";
16302
+ running: "running";
15859
16303
  stopped: "stopped";
15860
16304
  starting: "starting";
15861
16305
  }>;
@@ -15922,8 +16366,8 @@ declare const NAMED_SCHEMAS: {
15922
16366
  lastRunId: z.ZodNullable<z.ZodString>;
15923
16367
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
15924
16368
  completed: "completed";
15925
- running: "running";
15926
16369
  failed: "failed";
16370
+ running: "running";
15927
16371
  stopped: "stopped";
15928
16372
  starting: "starting";
15929
16373
  }>>;
@@ -15980,8 +16424,8 @@ declare const NAMED_SCHEMAS: {
15980
16424
  model: z.ZodNullable<z.ZodString>;
15981
16425
  status: z.ZodEnum<{
15982
16426
  completed: "completed";
15983
- running: "running";
15984
16427
  failed: "failed";
16428
+ running: "running";
15985
16429
  stopped: "stopped";
15986
16430
  starting: "starting";
15987
16431
  }>;
@@ -16049,8 +16493,8 @@ declare const NAMED_SCHEMAS: {
16049
16493
  lastRunId: z.ZodNullable<z.ZodString>;
16050
16494
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
16051
16495
  completed: "completed";
16052
- running: "running";
16053
16496
  failed: "failed";
16497
+ running: "running";
16054
16498
  stopped: "stopped";
16055
16499
  starting: "starting";
16056
16500
  }>>;
@@ -16112,8 +16556,8 @@ declare const NAMED_SCHEMAS: {
16112
16556
  lastRunId: z.ZodNullable<z.ZodString>;
16113
16557
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
16114
16558
  completed: "completed";
16115
- running: "running";
16116
16559
  failed: "failed";
16560
+ running: "running";
16117
16561
  stopped: "stopped";
16118
16562
  starting: "starting";
16119
16563
  }>>;
@@ -16160,8 +16604,8 @@ declare const NAMED_SCHEMAS: {
16160
16604
  model: z.ZodNullable<z.ZodString>;
16161
16605
  status: z.ZodEnum<{
16162
16606
  completed: "completed";
16163
- running: "running";
16164
16607
  failed: "failed";
16608
+ running: "running";
16165
16609
  stopped: "stopped";
16166
16610
  starting: "starting";
16167
16611
  }>;
@@ -16224,8 +16668,8 @@ declare const NAMED_SCHEMAS: {
16224
16668
  lastRunId: z.ZodNullable<z.ZodString>;
16225
16669
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
16226
16670
  completed: "completed";
16227
- running: "running";
16228
16671
  failed: "failed";
16672
+ running: "running";
16229
16673
  stopped: "stopped";
16230
16674
  starting: "starting";
16231
16675
  }>>;
@@ -16317,8 +16761,8 @@ declare const NAMED_SCHEMAS: {
16317
16761
  cwd: z.ZodNullable<z.ZodString>;
16318
16762
  updatedAt: z.ZodString;
16319
16763
  state: z.ZodEnum<{
16320
- running: "running";
16321
16764
  idle: "idle";
16765
+ running: "running";
16322
16766
  elsewhere: "elsewhere";
16323
16767
  needs_attention: "needs_attention";
16324
16768
  new_output: "new_output";
@@ -16353,8 +16797,8 @@ declare const NAMED_SCHEMAS: {
16353
16797
  cwd: z.ZodNullable<z.ZodString>;
16354
16798
  updatedAt: z.ZodString;
16355
16799
  where: z.ZodEnum<{
16356
- content: "content";
16357
16800
  title: "title";
16801
+ content: "content";
16358
16802
  }>;
16359
16803
  snippet: z.ZodNullable<z.ZodString>;
16360
16804
  accountId: z.ZodOptional<z.ZodString>;
@@ -16371,8 +16815,8 @@ declare const NAMED_SCHEMAS: {
16371
16815
  cwd: z.ZodNullable<z.ZodString>;
16372
16816
  updatedAt: z.ZodString;
16373
16817
  where: z.ZodEnum<{
16374
- content: "content";
16375
16818
  title: "title";
16819
+ content: "content";
16376
16820
  }>;
16377
16821
  snippet: z.ZodNullable<z.ZodString>;
16378
16822
  accountId: z.ZodOptional<z.ZodString>;
@@ -16451,8 +16895,8 @@ declare const NAMED_SCHEMAS: {
16451
16895
  lastRunId: z.ZodNullable<z.ZodString>;
16452
16896
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
16453
16897
  completed: "completed";
16454
- running: "running";
16455
16898
  failed: "failed";
16899
+ running: "running";
16456
16900
  stopped: "stopped";
16457
16901
  starting: "starting";
16458
16902
  }>>;
@@ -16501,8 +16945,8 @@ declare const NAMED_SCHEMAS: {
16501
16945
  model: z.ZodNullable<z.ZodString>;
16502
16946
  status: z.ZodEnum<{
16503
16947
  completed: "completed";
16504
- running: "running";
16505
16948
  failed: "failed";
16949
+ running: "running";
16506
16950
  stopped: "stopped";
16507
16951
  starting: "starting";
16508
16952
  }>;
@@ -16556,8 +17000,8 @@ declare const NAMED_SCHEMAS: {
16556
17000
  cwd: z.ZodNullable<z.ZodString>;
16557
17001
  updatedAt: z.ZodString;
16558
17002
  state: z.ZodEnum<{
16559
- running: "running";
16560
17003
  idle: "idle";
17004
+ running: "running";
16561
17005
  elsewhere: "elsewhere";
16562
17006
  needs_attention: "needs_attention";
16563
17007
  new_output: "new_output";
@@ -17033,17 +17477,17 @@ declare const NAMED_SCHEMAS: {
17033
17477
  readonly CloseCodeValue: z.ZodLiteral<1000 | 1001 | 1006 | 1012 | 1013 | 4001 | 4003 | 4004 | 4008 | 4009 | 4010 | 4400 | 4426>;
17034
17478
  readonly ProcSort: z.ZodEnum<{
17035
17479
  name: "name";
17036
- pid: "pid";
17037
17480
  cpu: "cpu";
17038
17481
  memory: "memory";
17482
+ pid: "pid";
17039
17483
  }>;
17040
17484
  readonly ProcListParams: z.ZodObject<{
17041
17485
  name: z.ZodOptional<z.ZodString>;
17042
17486
  sort: z.ZodDefault<z.ZodEnum<{
17043
17487
  name: "name";
17044
- pid: "pid";
17045
17488
  cpu: "cpu";
17046
17489
  memory: "memory";
17490
+ pid: "pid";
17047
17491
  }>>;
17048
17492
  limit: z.ZodDefault<z.ZodInt>;
17049
17493
  }, z.core.$strict>;
@@ -17151,13 +17595,13 @@ declare const NAMED_SCHEMAS: {
17151
17595
  mail: "mail";
17152
17596
  wifi: "wifi";
17153
17597
  displays: "displays";
17154
- dictation: "dictation";
17155
- energy: "energy";
17156
17598
  night_shift: "night_shift";
17157
17599
  sound: "sound";
17158
17600
  keyboard: "keyboard";
17159
17601
  keyboard_shortcuts: "keyboard_shortcuts";
17160
17602
  text_input: "text_input";
17603
+ dictation: "dictation";
17604
+ energy: "energy";
17161
17605
  about: "about";
17162
17606
  storage: "storage";
17163
17607
  system_report: "system_report";
@@ -17183,13 +17627,13 @@ declare const NAMED_SCHEMAS: {
17183
17627
  mail: "mail";
17184
17628
  wifi: "wifi";
17185
17629
  displays: "displays";
17186
- dictation: "dictation";
17187
- energy: "energy";
17188
17630
  night_shift: "night_shift";
17189
17631
  sound: "sound";
17190
17632
  keyboard: "keyboard";
17191
17633
  keyboard_shortcuts: "keyboard_shortcuts";
17192
17634
  text_input: "text_input";
17635
+ dictation: "dictation";
17636
+ energy: "energy";
17193
17637
  about: "about";
17194
17638
  storage: "storage";
17195
17639
  system_report: "system_report";
@@ -17216,13 +17660,13 @@ declare const NAMED_SCHEMAS: {
17216
17660
  mail: "mail";
17217
17661
  wifi: "wifi";
17218
17662
  displays: "displays";
17219
- dictation: "dictation";
17220
- energy: "energy";
17221
17663
  night_shift: "night_shift";
17222
17664
  sound: "sound";
17223
17665
  keyboard: "keyboard";
17224
17666
  keyboard_shortcuts: "keyboard_shortcuts";
17225
17667
  text_input: "text_input";
17668
+ dictation: "dictation";
17669
+ energy: "energy";
17226
17670
  about: "about";
17227
17671
  storage: "storage";
17228
17672
  system_report: "system_report";
@@ -17454,10 +17898,10 @@ declare const NAMED_SCHEMAS: {
17454
17898
  repeat_interval_ms: z.ZodNullable<z.ZodInt>;
17455
17899
  repeat_delay_ms: z.ZodNullable<z.ZodInt>;
17456
17900
  fn_key: z.ZodNullable<z.ZodEnum<{
17901
+ dictation: "dictation";
17457
17902
  nothing: "nothing";
17458
17903
  input_source: "input_source";
17459
17904
  emoji: "emoji";
17460
- dictation: "dictation";
17461
17905
  }>>;
17462
17906
  keyboard_navigation: z.ZodNullable<z.ZodBoolean>;
17463
17907
  input_sources: z.ZodArray<z.ZodString>;
@@ -18582,8 +19026,8 @@ declare const NAMED_SCHEMAS: {
18582
19026
  }, z.core.$strict>>;
18583
19027
  }, z.core.$strict>;
18584
19028
  readonly ToolLevel: z.ZodEnum<{
18585
- protocol: "protocol";
18586
19029
  chat: "chat";
19030
+ protocol: "protocol";
18587
19031
  programmatic: "programmatic";
18588
19032
  }>;
18589
19033
  readonly ToolOutcome: z.ZodEnum<{
@@ -18606,8 +19050,8 @@ declare const NAMED_SCHEMAS: {
18606
19050
  readonly ToolLevelResult: z.ZodObject<{
18607
19051
  tool: z.ZodString;
18608
19052
  level: z.ZodEnum<{
18609
- protocol: "protocol";
18610
19053
  chat: "chat";
19054
+ protocol: "protocol";
18611
19055
  programmatic: "programmatic";
18612
19056
  }>;
18613
19057
  platform: z.ZodEnum<{
@@ -18639,8 +19083,8 @@ declare const NAMED_SCHEMAS: {
18639
19083
  results: z.ZodArray<z.ZodObject<{
18640
19084
  tool: z.ZodString;
18641
19085
  level: z.ZodEnum<{
18642
- protocol: "protocol";
18643
19086
  chat: "chat";
19087
+ protocol: "protocol";
18644
19088
  programmatic: "programmatic";
18645
19089
  }>;
18646
19090
  platform: z.ZodEnum<{
@@ -19746,14 +20190,14 @@ declare const NAMED_SCHEMAS: {
19746
20190
  remote_control: z.ZodOptional<z.ZodObject<{
19747
20191
  setting: z.ZodEnum<{
19748
20192
  default: "default";
19749
- on: "on";
19750
20193
  off: "off";
20194
+ on: "on";
19751
20195
  unreadable: "unreadable";
19752
20196
  }>;
19753
20197
  serving: z.ZodNullable<z.ZodBoolean>;
19754
20198
  pending: z.ZodNullable<z.ZodEnum<{
19755
- on: "on";
19756
20199
  off: "off";
20200
+ on: "on";
19757
20201
  }>>;
19758
20202
  problem: z.ZodOptional<z.ZodString>;
19759
20203
  }, z.core.$strict>>;
@@ -19761,14 +20205,14 @@ declare const NAMED_SCHEMAS: {
19761
20205
  readonly WindowRemoteControl: z.ZodObject<{
19762
20206
  setting: z.ZodEnum<{
19763
20207
  default: "default";
19764
- on: "on";
19765
20208
  off: "off";
20209
+ on: "on";
19766
20210
  unreadable: "unreadable";
19767
20211
  }>;
19768
20212
  serving: z.ZodNullable<z.ZodBoolean>;
19769
20213
  pending: z.ZodNullable<z.ZodEnum<{
19770
- on: "on";
19771
20214
  off: "off";
20215
+ on: "on";
19772
20216
  }>>;
19773
20217
  problem: z.ZodOptional<z.ZodString>;
19774
20218
  }, z.core.$strict>;
@@ -19786,14 +20230,14 @@ declare const NAMED_SCHEMAS: {
19786
20230
  remote_control: z.ZodObject<{
19787
20231
  setting: z.ZodEnum<{
19788
20232
  default: "default";
19789
- on: "on";
19790
20233
  off: "off";
20234
+ on: "on";
19791
20235
  unreadable: "unreadable";
19792
20236
  }>;
19793
20237
  serving: z.ZodNullable<z.ZodBoolean>;
19794
20238
  pending: z.ZodNullable<z.ZodEnum<{
19795
- on: "on";
19796
20239
  off: "off";
20240
+ on: "on";
19797
20241
  }>>;
19798
20242
  problem: z.ZodOptional<z.ZodString>;
19799
20243
  }, z.core.$strict>;
@@ -19973,9 +20417,9 @@ declare const NAMED_SCHEMAS: {
19973
20417
  account: z.ZodNullable<z.ZodString>;
19974
20418
  next_reset_ms: z.ZodNullable<z.ZodInt>;
19975
20419
  source: z.ZodNullable<z.ZodEnum<{
19976
- claude: "claude";
19977
20420
  usage_history: "usage_history";
19978
20421
  your_list: "your_list";
20422
+ claude: "claude";
19979
20423
  }>>;
19980
20424
  official: z.ZodBoolean;
19981
20425
  note: z.ZodNullable<z.ZodString>;
@@ -19998,14 +20442,14 @@ declare const NAMED_SCHEMAS: {
19998
20442
  remote_control: z.ZodOptional<z.ZodObject<{
19999
20443
  setting: z.ZodEnum<{
20000
20444
  default: "default";
20001
- on: "on";
20002
20445
  off: "off";
20446
+ on: "on";
20003
20447
  unreadable: "unreadable";
20004
20448
  }>;
20005
20449
  serving: z.ZodNullable<z.ZodBoolean>;
20006
20450
  pending: z.ZodNullable<z.ZodEnum<{
20007
- on: "on";
20008
20451
  off: "off";
20452
+ on: "on";
20009
20453
  }>>;
20010
20454
  problem: z.ZodOptional<z.ZodString>;
20011
20455
  }, z.core.$strict>>;
@@ -20051,9 +20495,9 @@ declare const NAMED_SCHEMAS: {
20051
20495
  account: z.ZodNullable<z.ZodString>;
20052
20496
  next_reset_ms: z.ZodNullable<z.ZodInt>;
20053
20497
  source: z.ZodNullable<z.ZodEnum<{
20054
- claude: "claude";
20055
20498
  usage_history: "usage_history";
20056
20499
  your_list: "your_list";
20500
+ claude: "claude";
20057
20501
  }>>;
20058
20502
  official: z.ZodBoolean;
20059
20503
  note: z.ZodNullable<z.ZodString>;
@@ -21301,8 +21745,8 @@ declare const NAMED_SCHEMAS: {
21301
21745
  state: z.ZodLiteral<"not_saved">;
21302
21746
  outbox_id: z.ZodString;
21303
21747
  reason: z.ZodEnum<{
21304
- signed_out: "signed_out";
21305
21748
  queued: "queued";
21749
+ signed_out: "signed_out";
21306
21750
  offline: "offline";
21307
21751
  rejected: "rejected";
21308
21752
  }>;
@@ -21343,8 +21787,8 @@ declare const NAMED_SCHEMAS: {
21343
21787
  state: z.ZodLiteral<"not_saved">;
21344
21788
  outbox_id: z.ZodString;
21345
21789
  reason: z.ZodEnum<{
21346
- signed_out: "signed_out";
21347
21790
  queued: "queued";
21791
+ signed_out: "signed_out";
21348
21792
  offline: "offline";
21349
21793
  rejected: "rejected";
21350
21794
  }>;
@@ -21446,8 +21890,8 @@ declare const NAMED_SCHEMAS: {
21446
21890
  state: z.ZodLiteral<"not_saved">;
21447
21891
  outbox_id: z.ZodString;
21448
21892
  reason: z.ZodEnum<{
21449
- signed_out: "signed_out";
21450
21893
  queued: "queued";
21894
+ signed_out: "signed_out";
21451
21895
  offline: "offline";
21452
21896
  rejected: "rejected";
21453
21897
  }>;
@@ -21469,8 +21913,8 @@ declare const NAMED_SCHEMAS: {
21469
21913
  }, z.core.$strict>>>;
21470
21914
  }, z.core.$strict>;
21471
21915
  readonly WebNotSavedReason: z.ZodEnum<{
21472
- signed_out: "signed_out";
21473
21916
  queued: "queued";
21917
+ signed_out: "signed_out";
21474
21918
  offline: "offline";
21475
21919
  rejected: "rejected";
21476
21920
  }>;
@@ -21502,8 +21946,8 @@ declare const NAMED_SCHEMAS: {
21502
21946
  state: z.ZodLiteral<"not_saved">;
21503
21947
  outbox_id: z.ZodString;
21504
21948
  reason: z.ZodEnum<{
21505
- signed_out: "signed_out";
21506
21949
  queued: "queued";
21950
+ signed_out: "signed_out";
21507
21951
  offline: "offline";
21508
21952
  rejected: "rejected";
21509
21953
  }>;
@@ -21559,8 +22003,8 @@ declare const NAMED_SCHEMAS: {
21559
22003
  state: z.ZodLiteral<"not_saved">;
21560
22004
  outbox_id: z.ZodString;
21561
22005
  reason: z.ZodEnum<{
21562
- signed_out: "signed_out";
21563
22006
  queued: "queued";
22007
+ signed_out: "signed_out";
21564
22008
  offline: "offline";
21565
22009
  rejected: "rejected";
21566
22010
  }>;
@@ -21611,8 +22055,8 @@ declare const NAMED_SCHEMAS: {
21611
22055
  state: z.ZodLiteral<"not_saved">;
21612
22056
  outbox_id: z.ZodString;
21613
22057
  reason: z.ZodEnum<{
21614
- signed_out: "signed_out";
21615
22058
  queued: "queued";
22059
+ signed_out: "signed_out";
21616
22060
  offline: "offline";
21617
22061
  rejected: "rejected";
21618
22062
  }>;
@@ -21668,8 +22112,8 @@ declare const NAMED_SCHEMAS: {
21668
22112
  state: z.ZodLiteral<"not_saved">;
21669
22113
  outbox_id: z.ZodString;
21670
22114
  reason: z.ZodEnum<{
21671
- signed_out: "signed_out";
21672
22115
  queued: "queued";
22116
+ signed_out: "signed_out";
21673
22117
  offline: "offline";
21674
22118
  rejected: "rejected";
21675
22119
  }>;
@@ -21682,18 +22126,18 @@ declare const NAMED_SCHEMAS: {
21682
22126
  }, z.core.$strict>>;
21683
22127
  }, z.core.$strict>;
21684
22128
  readonly WebRuntimeStateName: z.ZodEnum<{
22129
+ failed: "failed";
21685
22130
  not_installed: "not_installed";
21686
22131
  installing: "installing";
21687
22132
  installed: "installed";
21688
- failed: "failed";
21689
22133
  }>;
21690
22134
  readonly WebRuntimeParams: z.ZodObject<{}, z.core.$strict>;
21691
22135
  readonly WebRuntimeState: z.ZodObject<{
21692
22136
  state: z.ZodEnum<{
22137
+ failed: "failed";
21693
22138
  not_installed: "not_installed";
21694
22139
  installing: "installing";
21695
22140
  installed: "installed";
21696
- failed: "failed";
21697
22141
  }>;
21698
22142
  error: z.ZodNullable<z.ZodString>;
21699
22143
  size_bytes: z.ZodNullable<z.ZodInt>;
@@ -21705,8 +22149,8 @@ declare const NAMED_SCHEMAS: {
21705
22149
  title: z.ZodNullable<z.ZodString>;
21706
22150
  organization_id: z.ZodNullable<z.ZodString>;
21707
22151
  reason: z.ZodEnum<{
21708
- signed_out: "signed_out";
21709
22152
  queued: "queued";
22153
+ signed_out: "signed_out";
21710
22154
  offline: "offline";
21711
22155
  rejected: "rejected";
21712
22156
  }>;
@@ -21724,8 +22168,8 @@ declare const NAMED_SCHEMAS: {
21724
22168
  title: z.ZodNullable<z.ZodString>;
21725
22169
  organization_id: z.ZodNullable<z.ZodString>;
21726
22170
  reason: z.ZodEnum<{
21727
- signed_out: "signed_out";
21728
22171
  queued: "queued";
22172
+ signed_out: "signed_out";
21729
22173
  offline: "offline";
21730
22174
  rejected: "rejected";
21731
22175
  }>;
@@ -22179,8 +22623,8 @@ declare const NAMED_SCHEMAS: {
22179
22623
  }, z.core.$strict>>;
22180
22624
  }, z.core.$strict>;
22181
22625
  readonly AccountAgentRunStatus: z.ZodEnum<{
22182
- running: "running";
22183
22626
  failed: "failed";
22627
+ running: "running";
22184
22628
  stopped: "stopped";
22185
22629
  succeeded: "succeeded";
22186
22630
  warned: "warned";
@@ -22189,8 +22633,8 @@ declare const NAMED_SCHEMAS: {
22189
22633
  readonly AccountAgentRun: z.ZodObject<{
22190
22634
  run_id: z.ZodString;
22191
22635
  status: z.ZodEnum<{
22192
- running: "running";
22193
22636
  failed: "failed";
22637
+ running: "running";
22194
22638
  stopped: "stopped";
22195
22639
  succeeded: "succeeded";
22196
22640
  warned: "warned";
@@ -22209,24 +22653,24 @@ declare const NAMED_SCHEMAS: {
22209
22653
  has_transcript: z.ZodBoolean;
22210
22654
  }, z.core.$strict>;
22211
22655
  readonly AccountAgentRunSort: z.ZodEnum<{
22212
- started_at: "started_at";
22213
22656
  status: "status";
22657
+ started_at: "started_at";
22214
22658
  cost: "cost";
22215
22659
  duration: "duration";
22216
22660
  }>;
22217
22661
  readonly AccountAgentsRunsParams: z.ZodObject<{
22218
22662
  agent_id: z.ZodString;
22219
22663
  status: z.ZodOptional<z.ZodEnum<{
22220
- running: "running";
22221
22664
  failed: "failed";
22665
+ running: "running";
22222
22666
  stopped: "stopped";
22223
22667
  succeeded: "succeeded";
22224
22668
  warned: "warned";
22225
22669
  waiting: "waiting";
22226
22670
  }>>;
22227
22671
  sort: z.ZodOptional<z.ZodEnum<{
22228
- started_at: "started_at";
22229
22672
  status: "status";
22673
+ started_at: "started_at";
22230
22674
  cost: "cost";
22231
22675
  duration: "duration";
22232
22676
  }>>;
@@ -22245,8 +22689,8 @@ declare const NAMED_SCHEMAS: {
22245
22689
  rows: z.ZodArray<z.ZodObject<{
22246
22690
  run_id: z.ZodString;
22247
22691
  status: z.ZodEnum<{
22248
- running: "running";
22249
22692
  failed: "failed";
22693
+ running: "running";
22250
22694
  stopped: "stopped";
22251
22695
  succeeded: "succeeded";
22252
22696
  warned: "warned";
@@ -22576,8 +23020,8 @@ declare const NAMED_SCHEMAS: {
22576
23020
  ws_path: z.ZodLiteral<"/v1/connect">;
22577
23021
  device_id: z.ZodString;
22578
23022
  browser_connection: z.ZodEnum<{
22579
- on: "on";
22580
23023
  off: "off";
23024
+ on: "on";
22581
23025
  }>;
22582
23026
  }, z.core.$strict>;
22583
23027
  readonly BrowserPairRequest: z.ZodObject<{
@@ -23352,9 +23796,9 @@ declare const NAMED_SCHEMAS: {
23352
23796
  readonly WindowsServicesParams: z.ZodObject<{
23353
23797
  filter: z.ZodOptional<z.ZodString>;
23354
23798
  status: z.ZodOptional<z.ZodEnum<{
23799
+ paused: "paused";
23355
23800
  running: "running";
23356
23801
  stopped: "stopped";
23357
- paused: "paused";
23358
23802
  }>>;
23359
23803
  limit: z.ZodDefault<z.ZodInt>;
23360
23804
  }, z.core.$strict>;
@@ -23818,10 +24262,10 @@ declare const TranscriptionModelId: z.ZodString;
23818
24262
  type TranscriptionModelId = z.output<typeof TranscriptionModelId>;
23819
24263
  declare const MlStatusResult: z.ZodObject<{
23820
24264
  runtime: z.ZodEnum<{
24265
+ failed: "failed";
23821
24266
  not_installed: "not_installed";
23822
24267
  installing: "installing";
23823
24268
  installed: "installed";
23824
- failed: "failed";
23825
24269
  }>;
23826
24270
  install: z.ZodNullable<z.ZodObject<{
23827
24271
  phase: z.ZodEnum<{
@@ -23894,10 +24338,10 @@ declare const ModelsStatusResult: z.ZodObject<{
23894
24338
  }, z.core.$strict>;
23895
24339
  transcription: z.ZodNullable<z.ZodObject<{
23896
24340
  runtime: z.ZodEnum<{
24341
+ failed: "failed";
23897
24342
  not_installed: "not_installed";
23898
24343
  installing: "installing";
23899
24344
  installed: "installed";
23900
- failed: "failed";
23901
24345
  }>;
23902
24346
  install: z.ZodNullable<z.ZodObject<{
23903
24347
  phase: z.ZodEnum<{
@@ -24092,6 +24536,19 @@ declare const MlCatalogSetParams: z.ZodObject<{
24092
24536
  role: z.ZodString;
24093
24537
  }, z.core.$strict>>;
24094
24538
  }, z.core.$strict>>>;
24539
+ embedding: z.ZodOptional<z.ZodArray<z.ZodObject<{
24540
+ key: z.ZodString;
24541
+ variant: z.ZodString;
24542
+ revision: z.ZodString;
24543
+ multilingual: z.ZodBoolean;
24544
+ files: z.ZodArray<z.ZodObject<{
24545
+ path: z.ZodString;
24546
+ url: z.ZodString;
24547
+ size_bytes: z.ZodInt;
24548
+ sha256: z.ZodNullable<z.ZodString>;
24549
+ role: z.ZodString;
24550
+ }, z.core.$strict>>;
24551
+ }, z.core.$strict>>>;
24095
24552
  }, z.core.$strict>;
24096
24553
  type MlCatalogSetParams = z.output<typeof MlCatalogSetParams>;
24097
24554
  /**
@@ -24109,8 +24566,8 @@ declare const LlmRunning: z.ZodObject<{
24109
24566
  type LlmRunning = z.output<typeof LlmRunning>;
24110
24567
  declare const ModelsLlmStatusResult: z.ZodObject<{
24111
24568
  state: z.ZodEnum<{
24112
- running: "running";
24113
24569
  failed: "failed";
24570
+ running: "running";
24114
24571
  stopped: "stopped";
24115
24572
  starting: "starting";
24116
24573
  }>;
@@ -24140,6 +24597,30 @@ declare const ModelsLlmStatusResult: z.ZodObject<{
24140
24597
  bytes_total: z.ZodNullable<z.ZodInt>;
24141
24598
  }, z.core.$strict>>;
24142
24599
  error: z.ZodNullable<z.ZodString>;
24600
+ embedding: z.ZodOptional<z.ZodObject<{
24601
+ state: z.ZodEnum<{
24602
+ failed: "failed";
24603
+ running: "running";
24604
+ stopped: "stopped";
24605
+ starting: "starting";
24606
+ }>;
24607
+ models: z.ZodArray<z.ZodObject<{
24608
+ id: z.ZodString;
24609
+ size_bytes: z.ZodInt;
24610
+ installed: z.ZodBoolean;
24611
+ title: z.ZodOptional<z.ZodString>;
24612
+ problem: z.ZodOptional<z.ZodString>;
24613
+ }, z.core.$strict>>;
24614
+ running: z.ZodNullable<z.ZodObject<{
24615
+ id: z.ZodString;
24616
+ port: z.ZodInt;
24617
+ context_length: z.ZodOptional<z.ZodInt>;
24618
+ gpu_layers: z.ZodOptional<z.ZodInt>;
24619
+ threads: z.ZodOptional<z.ZodInt>;
24620
+ }, z.core.$strict>>;
24621
+ starting: z.ZodNullable<z.ZodString>;
24622
+ error: z.ZodNullable<z.ZodString>;
24623
+ }, z.core.$strict>>;
24143
24624
  }, z.core.$strict>;
24144
24625
  type ModelsLlmStatusResult = z.output<typeof ModelsLlmStatusResult>;
24145
24626
  declare const ModelsLlmStartResult: z.ZodObject<{
@@ -24205,10 +24686,10 @@ declare const TranscriptSegment: z.ZodObject<{
24205
24686
  type TranscriptSegment = z.output<typeof TranscriptSegment>;
24206
24687
  /** The heavy runtime (inference packages) is installed on first use, never shipped in the app. */
24207
24688
  declare const MlRuntimeState: z.ZodEnum<{
24689
+ failed: "failed";
24208
24690
  not_installed: "not_installed";
24209
24691
  installing: "installing";
24210
24692
  installed: "installed";
24211
- failed: "failed";
24212
24693
  }>;
24213
24694
  type MlRuntimeState = z.output<typeof MlRuntimeState>;
24214
24695
  /** `packages`: the locked inference wheels; `model`: one model's weights; `verifying`: hashes and a load test. */
@@ -24257,8 +24738,8 @@ declare const UnusableTextModel: z.ZodObject<{
24257
24738
  type UnusableTextModel = z.output<typeof UnusableTextModel>;
24258
24739
  /** The model server's process: one model loaded at a time. */
24259
24740
  declare const LlmServerState: z.ZodEnum<{
24260
- running: "running";
24261
24741
  failed: "failed";
24742
+ running: "running";
24262
24743
  stopped: "stopped";
24263
24744
  starting: "starting";
24264
24745
  }>;
@@ -24284,9 +24765,18 @@ declare const ModelsLlmStartParams: z.ZodObject<{
24284
24765
  gpu_layers: z.ZodOptional<z.ZodInt>;
24285
24766
  threads: z.ZodOptional<z.ZodInt>;
24286
24767
  load_timeout_s: z.ZodOptional<z.ZodInt>;
24768
+ slot: z.ZodOptional<z.ZodEnum<{
24769
+ chat: "chat";
24770
+ embed: "embed";
24771
+ }>>;
24287
24772
  }, z.core.$strict>;
24288
24773
  type ModelsLlmStartParams = z.output<typeof ModelsLlmStartParams>;
24289
- declare const ModelsLlmStopParams: z.ZodObject<{}, z.core.$strict>;
24774
+ declare const ModelsLlmStopParams: z.ZodObject<{
24775
+ slot: z.ZodOptional<z.ZodEnum<{
24776
+ chat: "chat";
24777
+ embed: "embed";
24778
+ }>>;
24779
+ }, z.core.$strict>;
24290
24780
  type ModelsLlmStopParams = z.output<typeof ModelsLlmStopParams>;
24291
24781
  declare const ModelsLlmStopResult: z.ZodObject<{
24292
24782
  stopped: z.ZodBoolean;
@@ -24313,6 +24803,75 @@ declare const ModelsLlmChatResult: z.ZodObject<{
24313
24803
  content_type: z.ZodString;
24314
24804
  }, z.core.$strict>;
24315
24805
  type ModelsLlmChatResult = z.output<typeof ModelsLlmChatResult>;
24806
+ /**
24807
+ * (1.88) Which llama-server of the ONE model service a start or stop names: `chat` (the default, the
24808
+ * language model Confidential Chat runs) or `embed` (the embedding model, run with `--embeddings`
24809
+ * beside it). Both follow the same install / start / stop / status flow and the same reasons.
24810
+ */
24811
+ declare const LlmSlot: z.ZodEnum<{
24812
+ chat: "chat";
24813
+ embed: "embed";
24814
+ }>;
24815
+ type LlmSlot = z.output<typeof LlmSlot>;
24816
+ /**
24817
+ * (1.88) The embeddings slot's status (models.llm.status `embedding`): the same fields as the chat
24818
+ * slot. `models` lists every embedding model (installed or not, and why one cannot run here).
24819
+ */
24820
+ declare const LlmEmbeddingSlot: z.ZodObject<{
24821
+ state: z.ZodEnum<{
24822
+ failed: "failed";
24823
+ running: "running";
24824
+ stopped: "stopped";
24825
+ starting: "starting";
24826
+ }>;
24827
+ models: z.ZodArray<z.ZodObject<{
24828
+ id: z.ZodString;
24829
+ size_bytes: z.ZodInt;
24830
+ installed: z.ZodBoolean;
24831
+ title: z.ZodOptional<z.ZodString>;
24832
+ problem: z.ZodOptional<z.ZodString>;
24833
+ }, z.core.$strict>>;
24834
+ running: z.ZodNullable<z.ZodObject<{
24835
+ id: z.ZodString;
24836
+ port: z.ZodInt;
24837
+ context_length: z.ZodOptional<z.ZodInt>;
24838
+ gpu_layers: z.ZodOptional<z.ZodInt>;
24839
+ threads: z.ZodOptional<z.ZodInt>;
24840
+ }, z.core.$strict>>;
24841
+ starting: z.ZodNullable<z.ZodString>;
24842
+ error: z.ZodNullable<z.ZodString>;
24843
+ }, z.core.$strict>;
24844
+ type LlmEmbeddingSlot = z.output<typeof LlmEmbeddingSlot>;
24845
+ /**
24846
+ * (1.88) models.embed (unary): text embeddings from the embedding model running in the model
24847
+ * service's embeddings slot, through llama-server's OpenAI-compatible /v1/embeddings. The text never
24848
+ * leaves this computer. `input` is one string or a batch; the vectors come back in input order, in
24849
+ * OpenAI's shape (`data[i].index`, `data[i].embedding`). Nothing reads, logs or keeps the text.
24850
+ */
24851
+ declare const ModelsEmbedParams: z.ZodObject<{
24852
+ model: z.ZodString;
24853
+ input: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
24854
+ start_if_stopped: z.ZodOptional<z.ZodBoolean>;
24855
+ }, z.core.$strict>;
24856
+ type ModelsEmbedParams = z.output<typeof ModelsEmbedParams>;
24857
+ declare const ModelsEmbedResult: z.ZodObject<{
24858
+ model: z.ZodString;
24859
+ dimensions: z.ZodInt;
24860
+ data: z.ZodArray<z.ZodObject<{
24861
+ index: z.ZodInt;
24862
+ embedding: z.ZodArray<z.ZodNumber>;
24863
+ }, z.core.$strict>>;
24864
+ usage: z.ZodObject<{
24865
+ prompt_tokens: z.ZodInt;
24866
+ total_tokens: z.ZodInt;
24867
+ }, z.core.$strict>;
24868
+ }, z.core.$strict>;
24869
+ type ModelsEmbedResult = z.output<typeof ModelsEmbedResult>;
24870
+ declare const EmbeddingVector: z.ZodObject<{
24871
+ index: z.ZodInt;
24872
+ embedding: z.ZodArray<z.ZodNumber>;
24873
+ }, z.core.$strict>;
24874
+ type EmbeddingVector = z.output<typeof EmbeddingVector>;
24316
24875
  declare const Sha256Hex: z.ZodString;
24317
24876
  type Sha256Hex = z.output<typeof Sha256Hex>;
24318
24877
  declare const MlCatalogSetResult: z.ZodObject<{
@@ -24460,10 +25019,10 @@ declare const ModelsTtsStatusResult: z.ZodObject<{
24460
25019
  installed: z.ZodBoolean;
24461
25020
  }, z.core.$strict>>;
24462
25021
  runtime: z.ZodEnum<{
25022
+ failed: "failed";
24463
25023
  not_installed: "not_installed";
24464
25024
  installing: "installing";
24465
25025
  installed: "installed";
24466
- failed: "failed";
24467
25026
  }>;
24468
25027
  voices: z.ZodArray<z.ZodObject<{
24469
25028
  id: z.ZodString;
@@ -24566,5 +25125,5 @@ declare const ModelsTtsVoiceRemoveResult: z.ZodObject<{
24566
25125
  }, z.core.$strict>;
24567
25126
  type ModelsTtsVoiceRemoveResult = z.output<typeof ModelsTtsVoiceRemoveResult>;
24568
25127
 
24569
- export { MlStatusParams as $, BEARER_PREFIX as B, DesktopProtocolError as D, EndReason as E, EventMsg as F, FsPatchEditFailure as H, HelloMsg as I, LlamaServerBuild as J, LlmRunning as K, Limits as L, ModelsTranscribeResult as M, LlmServerState as N, LocalModelKind as P, LocalModelRow as Q, MlCatalogSetParams as R, StreamMeta as S, TranscriptionModelId as T, MlCatalogSetResult as U, MlInstallPhase as V, Welcome as W, MlInstallProgress as X, MlRuntimeState as Y, MlServiceState as Z, MlServiceStatus as _, UnusableTextModel as a$, MlStatusResult as a0, ModelKey as a1, ModelsDownloadsCancelParams as a2, ModelsDownloadsCancelResult as a3, ModelsDownloadsListParams as a4, ModelsDownloadsListResult as a5, ModelsInstallParams as a6, ModelsInstallResult as a7, ModelsLlmChatParams as a8, ModelsLlmChatResult as a9, NAMED_SCHEMAS as aA, OpDescriptor as aC, PING_TEXT as aE, PONG_TEXT as aF, ProtocolErrorBody as aG, RelayMsg as aH, RequestMsg as aI, ResponseMsg as aJ, SERVICES as aK, SUBPROTOCOL as aL, Sha256Hex as aQ, StreamMsg as aR, TextModelId as aS, TextModelInfo as aT, TranscriptSegment as aU, TranscriptionModelInfo as aV, TtsAudioChunk as aW, TtsBlendPart as aX, TtsModelInfo as aY, TtsVoice as aZ, TtsVoiceId as a_, ModelsLlmInstallParams as aa, ModelsLlmInstallResult as ab, ModelsLlmStartParams as ac, ModelsLlmStartResult as ad, ModelsLlmStatusParams as ae, ModelsLlmStatusResult as af, ModelsLlmStopParams as ag, ModelsLlmStopResult as ah, ModelsLocalListParams as ai, ModelsLocalListResult as aj, ModelsLocalRemoveParams as ak, ModelsLocalRemoveResult as al, ModelsProgressEvent as am, ModelsStatusParams as an, ModelsStatusResult as ao, ModelsTranscribeParams as ap, ModelsTtsInstallParams as aq, ModelsTtsInstallResult as ar, ModelsTtsSpeakParams as as, ModelsTtsSpeakResult as at, ModelsTtsStatusParams as au, ModelsTtsStatusResult as av, ModelsTtsVoiceRemoveParams as aw, ModelsTtsVoiceRemoveResult as ax, ModelsTtsVoiceSaveParams as ay, ModelsTtsVoiceSaveResult as az, closeRule as b0, isTerminalClose as b1, OPS as c, EVENTS as d, ClientType as e, MlProgress as f, CLOSE_RULES as g, CancelMsg as h, isDesktopProtocolError as i, CatalogFile as j, CatalogModelEntry as k, ClientToCoreMsg as l, CloseCode as n, CloseCodeValue as o, CoreToClientMsg as q, CreditMsg as r, DownloadKind as s, DownloadRow as t, EndMsg as u, ErrorCode as v, ErrorMsg as y, ErrorReason as z };
24570
- export type { ErrorReasonName as A, CloseOutcome as C, EventName as G, OpName as O, OpParams as a, NamedSchemaId as aB, OpSpec as aD, ServiceId as aM, ServiceOpName as aN, ServiceOpSpec as aO, ServiceSpec as aP, OpResult as b, CloseAction as m, CloseRule as p, ErrorCodeName as w, ErrorData as x };
25128
+ export { MlRuntimeState as $, ErrorReason as A, BEARER_PREFIX as B, DesktopProtocolError as D, EndReason as E, EventMsg as G, FsPatchEditFailure as I, HelloMsg as J, LlamaServerBuild as K, Limits as L, ModelsTranscribeResult as M, LlmEmbeddingSlot as N, LlmRunning as P, LlmServerState as Q, LlmSlot as R, StreamMeta as S, TranscriptionModelId as T, LocalModelKind as U, LocalModelRow as V, Welcome as W, MlCatalogSetParams as X, MlCatalogSetResult as Y, MlInstallPhase as Z, MlInstallProgress as _, TtsAudioChunk as a$, MlServiceState as a0, MlServiceStatus as a1, MlStatusParams as a2, MlStatusResult as a3, ModelKey as a4, ModelsDownloadsCancelParams as a5, ModelsDownloadsCancelResult as a6, ModelsDownloadsListParams as a7, ModelsDownloadsListResult as a8, ModelsEmbedParams as a9, ModelsTtsStatusResult as aA, ModelsTtsVoiceRemoveParams as aB, ModelsTtsVoiceRemoveResult as aC, ModelsTtsVoiceSaveParams as aD, ModelsTtsVoiceSaveResult as aE, NAMED_SCHEMAS as aF, OpDescriptor as aH, PING_TEXT as aJ, PONG_TEXT as aK, ProtocolErrorBody as aL, RelayMsg as aM, RequestMsg as aN, ResponseMsg as aO, SERVICES as aP, SUBPROTOCOL as aQ, Sha256Hex as aV, StreamMsg as aW, TextModelId as aX, TextModelInfo as aY, TranscriptSegment as aZ, TranscriptionModelInfo as a_, ModelsEmbedResult as aa, ModelsInstallParams as ab, ModelsInstallResult as ac, ModelsLlmChatParams as ad, ModelsLlmChatResult as ae, ModelsLlmInstallParams as af, ModelsLlmInstallResult as ag, ModelsLlmStartParams as ah, ModelsLlmStartResult as ai, ModelsLlmStatusParams as aj, ModelsLlmStatusResult as ak, ModelsLlmStopParams as al, ModelsLlmStopResult as am, ModelsLocalListParams as an, ModelsLocalListResult as ao, ModelsLocalRemoveParams as ap, ModelsLocalRemoveResult as aq, ModelsProgressEvent as ar, ModelsStatusParams as as, ModelsStatusResult as at, ModelsTranscribeParams as au, ModelsTtsInstallParams as av, ModelsTtsInstallResult as aw, ModelsTtsSpeakParams as ax, ModelsTtsSpeakResult as ay, ModelsTtsStatusParams as az, TtsBlendPart as b0, TtsModelInfo as b1, TtsVoice as b2, TtsVoiceId as b3, UnusableTextModel as b4, closeRule as b5, isTerminalClose as b6, OPS as c, EVENTS as d, ClientType as e, MlProgress as f, CLOSE_RULES as g, CancelMsg as h, isDesktopProtocolError as i, CatalogFile as j, CatalogModelEntry as k, ClientToCoreMsg as l, CloseCode as n, CloseCodeValue as o, CoreToClientMsg as q, CreditMsg as r, DownloadKind as s, DownloadRow as t, EmbeddingVector as u, EndMsg as v, ErrorCode as w, ErrorMsg as z };
25129
+ export type { CloseOutcome as C, ErrorReasonName as F, EventName as H, OpName as O, OpParams as a, NamedSchemaId as aG, OpSpec as aI, ServiceId as aR, ServiceOpName as aS, ServiceOpSpec as aT, ServiceSpec as aU, OpResult as b, CloseAction as m, CloseRule as p, ErrorCodeName as x, ErrorData as y };