@ai-matrx/desktop-protocol 0.21.85 → 0.21.87

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.
package/dist/react.d.ts CHANGED
@@ -1173,6 +1173,114 @@ declare const OPS: {
1173
1173
  readonly since: "1.74";
1174
1174
  readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "RESOURCE_BUSY", "INTERNAL"];
1175
1175
  };
1176
+ readonly "models.tts.status": {
1177
+ readonly params: z.ZodObject<{}, z.core.$strict>;
1178
+ readonly result: z.ZodObject<{
1179
+ model: z.ZodNullable<z.ZodObject<{
1180
+ id: z.ZodString;
1181
+ size_bytes: z.ZodInt;
1182
+ installed: z.ZodBoolean;
1183
+ }, z.core.$strict>>;
1184
+ runtime: z.ZodEnum<{
1185
+ failed: "failed";
1186
+ not_installed: "not_installed";
1187
+ installing: "installing";
1188
+ installed: "installed";
1189
+ }>;
1190
+ voices: z.ZodArray<z.ZodObject<{
1191
+ id: z.ZodString;
1192
+ name: z.ZodString;
1193
+ gender: z.ZodNullable<z.ZodEnum<{
1194
+ female: "female";
1195
+ male: "male";
1196
+ }>>;
1197
+ language: z.ZodString;
1198
+ lang_code: z.ZodString;
1199
+ grade: z.ZodNullable<z.ZodString>;
1200
+ traits: z.ZodArray<z.ZodString>;
1201
+ custom: z.ZodBoolean;
1202
+ }, z.core.$strict>>;
1203
+ default_voice: z.ZodString;
1204
+ sample_rate: z.ZodInt;
1205
+ speed_min: z.ZodNumber;
1206
+ speed_max: z.ZodNumber;
1207
+ error: z.ZodNullable<z.ZodString>;
1208
+ }, z.core.$strict>;
1209
+ readonly kind: "unary";
1210
+ readonly since: "1.81";
1211
+ readonly errors: readonly ["RESOURCE_BUSY", "INTERNAL"];
1212
+ };
1213
+ readonly "models.tts.install": {
1214
+ readonly params: z.ZodObject<{}, z.core.$strict>;
1215
+ readonly result: z.ZodObject<{
1216
+ model: z.ZodString;
1217
+ elapsed_ms: z.ZodInt;
1218
+ }, z.core.$strict>;
1219
+ readonly kind: "unary";
1220
+ readonly since: "1.81";
1221
+ readonly errors: readonly ["NOT_FOUND", "RESOURCE_BUSY", "RESOURCE_GONE", "TIMEOUT", "CANCELLED", "INTERNAL"];
1222
+ };
1223
+ readonly "models.tts.speak": {
1224
+ readonly params: z.ZodObject<{
1225
+ text: z.ZodString;
1226
+ voice: z.ZodOptional<z.ZodString>;
1227
+ blend: z.ZodOptional<z.ZodArray<z.ZodObject<{
1228
+ voice: z.ZodString;
1229
+ weight: z.ZodNumber;
1230
+ }, z.core.$strict>>>;
1231
+ speed: z.ZodDefault<z.ZodNumber>;
1232
+ chunk_chars: z.ZodOptional<z.ZodInt>;
1233
+ }, z.core.$strict>;
1234
+ readonly result: z.ZodObject<{
1235
+ chunks: z.ZodInt;
1236
+ duration_s: z.ZodNumber;
1237
+ sample_rate: z.ZodInt;
1238
+ voice: z.ZodString;
1239
+ elapsed_ms: z.ZodInt;
1240
+ }, z.core.$strict>;
1241
+ readonly kind: "unary";
1242
+ readonly since: "1.81";
1243
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "RESOURCE_BUSY", "RESOURCE_GONE", "TIMEOUT", "CANCELLED", "INTERNAL"];
1244
+ };
1245
+ readonly "models.tts.voice_save": {
1246
+ readonly params: z.ZodObject<{
1247
+ name: z.ZodString;
1248
+ blend: z.ZodOptional<z.ZodArray<z.ZodObject<{
1249
+ voice: z.ZodString;
1250
+ weight: z.ZodNumber;
1251
+ }, z.core.$strict>>>;
1252
+ path: z.ZodOptional<z.ZodString>;
1253
+ }, z.core.$strict>;
1254
+ readonly result: z.ZodObject<{
1255
+ voice: z.ZodObject<{
1256
+ id: z.ZodString;
1257
+ name: z.ZodString;
1258
+ gender: z.ZodNullable<z.ZodEnum<{
1259
+ female: "female";
1260
+ male: "male";
1261
+ }>>;
1262
+ language: z.ZodString;
1263
+ lang_code: z.ZodString;
1264
+ grade: z.ZodNullable<z.ZodString>;
1265
+ traits: z.ZodArray<z.ZodString>;
1266
+ custom: z.ZodBoolean;
1267
+ }, z.core.$strict>;
1268
+ }, z.core.$strict>;
1269
+ readonly kind: "unary";
1270
+ readonly since: "1.81";
1271
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "PAYLOAD_TOO_LARGE", "CONFLICT", "RESOURCE_BUSY", "INTERNAL"];
1272
+ };
1273
+ readonly "models.tts.voice_remove": {
1274
+ readonly params: z.ZodObject<{
1275
+ voice: z.ZodString;
1276
+ }, z.core.$strict>;
1277
+ readonly result: z.ZodObject<{
1278
+ removed: z.ZodBoolean;
1279
+ }, z.core.$strict>;
1280
+ readonly kind: "unary";
1281
+ readonly since: "1.81";
1282
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "INTERNAL"];
1283
+ };
1176
1284
  readonly "apps.list": {
1177
1285
  readonly params: z.ZodObject<{}, z.core.$strict>;
1178
1286
  readonly result: z.ZodObject<{
@@ -1373,12 +1481,12 @@ declare const OPS: {
1373
1481
  tokens: z.ZodOptional<z.ZodInt>;
1374
1482
  original_title: z.ZodOptional<z.ZodString>;
1375
1483
  title_source: z.ZodOptional<z.ZodEnum<{
1376
- summary: "summary";
1377
1484
  app: "app";
1378
1485
  "app-remembered": "app-remembered";
1379
1486
  "custom-title": "custom-title";
1380
1487
  "ai-title": "ai-title";
1381
1488
  "agent-name": "agent-name";
1489
+ summary: "summary";
1382
1490
  "first-prompt": "first-prompt";
1383
1491
  "last-prompt": "last-prompt";
1384
1492
  }>>;
@@ -1507,12 +1615,12 @@ declare const OPS: {
1507
1615
  tokens: z.ZodOptional<z.ZodInt>;
1508
1616
  original_title: z.ZodOptional<z.ZodString>;
1509
1617
  title_source: z.ZodOptional<z.ZodEnum<{
1510
- summary: "summary";
1511
1618
  app: "app";
1512
1619
  "app-remembered": "app-remembered";
1513
1620
  "custom-title": "custom-title";
1514
1621
  "ai-title": "ai-title";
1515
1622
  "agent-name": "agent-name";
1623
+ summary: "summary";
1516
1624
  "first-prompt": "first-prompt";
1517
1625
  "last-prompt": "last-prompt";
1518
1626
  }>>;
@@ -1637,12 +1745,12 @@ declare const OPS: {
1637
1745
  tokens: z.ZodOptional<z.ZodInt>;
1638
1746
  original_title: z.ZodOptional<z.ZodString>;
1639
1747
  title_source: z.ZodOptional<z.ZodEnum<{
1640
- summary: "summary";
1641
1748
  app: "app";
1642
1749
  "app-remembered": "app-remembered";
1643
1750
  "custom-title": "custom-title";
1644
1751
  "ai-title": "ai-title";
1645
1752
  "agent-name": "agent-name";
1753
+ summary: "summary";
1646
1754
  "first-prompt": "first-prompt";
1647
1755
  "last-prompt": "last-prompt";
1648
1756
  }>>;
@@ -1763,12 +1871,12 @@ declare const OPS: {
1763
1871
  tokens: z.ZodOptional<z.ZodInt>;
1764
1872
  original_title: z.ZodOptional<z.ZodString>;
1765
1873
  title_source: z.ZodOptional<z.ZodEnum<{
1766
- summary: "summary";
1767
1874
  app: "app";
1768
1875
  "app-remembered": "app-remembered";
1769
1876
  "custom-title": "custom-title";
1770
1877
  "ai-title": "ai-title";
1771
1878
  "agent-name": "agent-name";
1879
+ summary: "summary";
1772
1880
  "first-prompt": "first-prompt";
1773
1881
  "last-prompt": "last-prompt";
1774
1882
  }>>;
@@ -1879,12 +1987,12 @@ declare const OPS: {
1879
1987
  tokens: z.ZodOptional<z.ZodInt>;
1880
1988
  original_title: z.ZodOptional<z.ZodString>;
1881
1989
  title_source: z.ZodOptional<z.ZodEnum<{
1882
- summary: "summary";
1883
1990
  app: "app";
1884
1991
  "app-remembered": "app-remembered";
1885
1992
  "custom-title": "custom-title";
1886
1993
  "ai-title": "ai-title";
1887
1994
  "agent-name": "agent-name";
1995
+ summary: "summary";
1888
1996
  "first-prompt": "first-prompt";
1889
1997
  "last-prompt": "last-prompt";
1890
1998
  }>>;
@@ -2036,12 +2144,12 @@ declare const OPS: {
2036
2144
  tokens: z.ZodOptional<z.ZodInt>;
2037
2145
  original_title: z.ZodOptional<z.ZodString>;
2038
2146
  title_source: z.ZodOptional<z.ZodEnum<{
2039
- summary: "summary";
2040
2147
  app: "app";
2041
2148
  "app-remembered": "app-remembered";
2042
2149
  "custom-title": "custom-title";
2043
2150
  "ai-title": "ai-title";
2044
2151
  "agent-name": "agent-name";
2152
+ summary: "summary";
2045
2153
  "first-prompt": "first-prompt";
2046
2154
  "last-prompt": "last-prompt";
2047
2155
  }>>;
@@ -2553,12 +2661,12 @@ declare const OPS: {
2553
2661
  tokens: z.ZodOptional<z.ZodInt>;
2554
2662
  original_title: z.ZodOptional<z.ZodString>;
2555
2663
  title_source: z.ZodOptional<z.ZodEnum<{
2556
- summary: "summary";
2557
2664
  app: "app";
2558
2665
  "app-remembered": "app-remembered";
2559
2666
  "custom-title": "custom-title";
2560
2667
  "ai-title": "ai-title";
2561
2668
  "agent-name": "agent-name";
2669
+ summary: "summary";
2562
2670
  "first-prompt": "first-prompt";
2563
2671
  "last-prompt": "last-prompt";
2564
2672
  }>>;
@@ -3764,17 +3872,7 @@ declare const OPS: {
3764
3872
  readonly "input.hotkey": {
3765
3873
  readonly params: z.ZodObject<{
3766
3874
  keys: z.ZodArray<z.ZodEnum<{
3767
- a: "a";
3768
- b: "b";
3769
- i: "i";
3770
- meta: "meta";
3771
- p: "p";
3772
- q: "q";
3773
- s: "s";
3774
- u: "u";
3775
- g: "g";
3776
3875
  0: "0";
3777
- shift: "shift";
3778
3876
  1: "1";
3779
3877
  2: "2";
3780
3878
  home: "home";
@@ -3791,19 +3889,29 @@ declare const OPS: {
3791
3889
  cmd: "cmd";
3792
3890
  ctrl: "ctrl";
3793
3891
  alt: "alt";
3892
+ shift: "shift";
3893
+ meta: "meta";
3894
+ a: "a";
3895
+ b: "b";
3794
3896
  c: "c";
3795
3897
  d: "d";
3796
3898
  e: "e";
3797
3899
  f: "f";
3900
+ g: "g";
3798
3901
  h: "h";
3902
+ i: "i";
3799
3903
  j: "j";
3800
3904
  k: "k";
3801
3905
  l: "l";
3802
3906
  m: "m";
3803
3907
  n: "n";
3804
3908
  o: "o";
3909
+ p: "p";
3910
+ q: "q";
3805
3911
  r: "r";
3912
+ s: "s";
3806
3913
  t: "t";
3914
+ u: "u";
3807
3915
  v: "v";
3808
3916
  w: "w";
3809
3917
  z: "z";
@@ -3846,17 +3954,7 @@ declare const OPS: {
3846
3954
  }, z.core.$strict>;
3847
3955
  readonly result: z.ZodObject<{
3848
3956
  keys: z.ZodArray<z.ZodEnum<{
3849
- a: "a";
3850
- b: "b";
3851
- i: "i";
3852
- meta: "meta";
3853
- p: "p";
3854
- q: "q";
3855
- s: "s";
3856
- u: "u";
3857
- g: "g";
3858
3957
  0: "0";
3859
- shift: "shift";
3860
3958
  1: "1";
3861
3959
  2: "2";
3862
3960
  home: "home";
@@ -3873,19 +3971,29 @@ declare const OPS: {
3873
3971
  cmd: "cmd";
3874
3972
  ctrl: "ctrl";
3875
3973
  alt: "alt";
3974
+ shift: "shift";
3975
+ meta: "meta";
3976
+ a: "a";
3977
+ b: "b";
3876
3978
  c: "c";
3877
3979
  d: "d";
3878
3980
  e: "e";
3879
3981
  f: "f";
3982
+ g: "g";
3880
3983
  h: "h";
3984
+ i: "i";
3881
3985
  j: "j";
3882
3986
  k: "k";
3883
3987
  l: "l";
3884
3988
  m: "m";
3885
3989
  n: "n";
3886
3990
  o: "o";
3991
+ p: "p";
3992
+ q: "q";
3887
3993
  r: "r";
3994
+ s: "s";
3888
3995
  t: "t";
3996
+ u: "u";
3889
3997
  v: "v";
3890
3998
  w: "w";
3891
3999
  z: "z";
@@ -4086,13 +4194,13 @@ declare const OPS: {
4086
4194
  jobs: z.ZodArray<z.ZodObject<{
4087
4195
  pid: z.ZodInt;
4088
4196
  kind: z.ZodEnum<{
4089
- search: "search";
4090
4197
  "type-check": "type-check";
4091
4198
  tests: "tests";
4092
4199
  build: "build";
4093
4200
  lint: "lint";
4094
4201
  "dev server": "dev server";
4095
4202
  "language server": "language server";
4203
+ search: "search";
4096
4204
  }>;
4097
4205
  command: z.ZodString;
4098
4206
  started_by: z.ZodNullable<z.ZodString>;
@@ -4164,13 +4272,13 @@ declare const OPS: {
4164
4272
  }>>;
4165
4273
  jobs: z.ZodArray<z.ZodObject<{
4166
4274
  kind: z.ZodEnum<{
4167
- search: "search";
4168
4275
  "type-check": "type-check";
4169
4276
  tests: "tests";
4170
4277
  build: "build";
4171
4278
  lint: "lint";
4172
4279
  "dev server": "dev server";
4173
4280
  "language server": "language server";
4281
+ search: "search";
4174
4282
  }>;
4175
4283
  started_by: z.ZodNullable<z.ZodString>;
4176
4284
  folder: z.ZodNullable<z.ZodString>;
@@ -4298,8 +4406,8 @@ declare const OPS: {
4298
4406
  setup_note: z.ZodNullable<z.ZodString>;
4299
4407
  pending: z.ZodNullable<z.ZodObject<{
4300
4408
  verb: z.ZodEnum<{
4301
- stop: "stop";
4302
4409
  start: "start";
4410
+ stop: "stop";
4303
4411
  }>;
4304
4412
  label: z.ZodString;
4305
4413
  since_ms: z.ZodInt;
@@ -4337,9 +4445,9 @@ declare const OPS: {
4337
4445
  readonly params: z.ZodObject<{
4338
4446
  name: z.ZodString;
4339
4447
  verb: z.ZodEnum<{
4340
- stop: "stop";
4341
4448
  start: "start";
4342
4449
  restart: "restart";
4450
+ stop: "stop";
4343
4451
  }>;
4344
4452
  }, z.core.$strict>;
4345
4453
  readonly result: z.ZodObject<{
@@ -4825,13 +4933,13 @@ declare const OPS: {
4825
4933
  cwd: z.ZodNullable<z.ZodString>;
4826
4934
  title: z.ZodString;
4827
4935
  titleSource: z.ZodOptional<z.ZodEnum<{
4828
- summary: "summary";
4829
4936
  unknown: "unknown";
4830
4937
  app: "app";
4831
4938
  "app-remembered": "app-remembered";
4832
4939
  "custom-title": "custom-title";
4833
4940
  "ai-title": "ai-title";
4834
4941
  "agent-name": "agent-name";
4942
+ summary: "summary";
4835
4943
  "first-prompt": "first-prompt";
4836
4944
  "last-prompt": "last-prompt";
4837
4945
  }>>;
@@ -5887,8 +5995,8 @@ declare const OPS: {
5887
5995
  cwd: z.ZodNullable<z.ZodString>;
5888
5996
  updatedAt: z.ZodString;
5889
5997
  where: z.ZodEnum<{
5890
- title: "title";
5891
5998
  content: "content";
5999
+ title: "title";
5892
6000
  }>;
5893
6001
  snippet: z.ZodNullable<z.ZodString>;
5894
6002
  accountId: z.ZodOptional<z.ZodString>;
@@ -6090,10 +6198,10 @@ declare const OPS: {
6090
6198
  readonly params: z.ZodObject<{
6091
6199
  cwd: z.ZodString;
6092
6200
  action: z.ZodEnum<{
6093
- switch: "switch";
6094
6201
  create: "create";
6095
6202
  delete: "delete";
6096
6203
  list: "list";
6204
+ switch: "switch";
6097
6205
  }>;
6098
6206
  name: z.ZodOptional<z.ZodString>;
6099
6207
  }, z.core.$strict>;
@@ -6111,9 +6219,9 @@ declare const OPS: {
6111
6219
  readonly params: z.ZodObject<{
6112
6220
  cwd: z.ZodString;
6113
6221
  action: z.ZodEnum<{
6114
- pop: "pop";
6115
- push: "push";
6116
6222
  list: "list";
6223
+ push: "push";
6224
+ pop: "pop";
6117
6225
  drop: "drop";
6118
6226
  }>;
6119
6227
  message: z.ZodOptional<z.ZodString>;
@@ -7085,12 +7193,12 @@ declare const OPS: {
7085
7193
  }>;
7086
7194
  client_instance: z.ZodString;
7087
7195
  kind: z.ZodEnum<{
7088
- progress: "progress";
7089
7196
  timeout: "timeout";
7090
7197
  closed: "closed";
7091
7198
  result: "result";
7092
7199
  register: "register";
7093
7200
  invoke: "invoke";
7201
+ progress: "progress";
7094
7202
  }>;
7095
7203
  tool: z.ZodNullable<z.ZodString>;
7096
7204
  call_id: z.ZodNullable<z.ZodString>;
@@ -7354,8 +7462,8 @@ declare const OPS: {
7354
7462
  subject: z.ZodDefault<z.ZodString>;
7355
7463
  body: z.ZodDefault<z.ZodString>;
7356
7464
  body_format: z.ZodDefault<z.ZodEnum<{
7357
- html: "html";
7358
7465
  text: "text";
7466
+ html: "html";
7359
7467
  }>>;
7360
7468
  attachments: z.ZodDefault<z.ZodArray<z.ZodString>>;
7361
7469
  account: z.ZodOptional<z.ZodString>;
@@ -7620,9 +7728,9 @@ declare const OPS: {
7620
7728
  to_ms: z.ZodOptional<z.ZodInt>;
7621
7729
  favorites_only: z.ZodDefault<z.ZodBoolean>;
7622
7730
  media_type: z.ZodOptional<z.ZodEnum<{
7623
- video: "video";
7624
- image: "image";
7625
7731
  all: "all";
7732
+ image: "image";
7733
+ video: "video";
7626
7734
  }>>;
7627
7735
  limit: z.ZodDefault<z.ZodInt>;
7628
7736
  }, z.core.$strict>;
@@ -7636,10 +7744,10 @@ declare const OPS: {
7636
7744
  favorite: z.ZodBoolean;
7637
7745
  title: z.ZodNullable<z.ZodString>;
7638
7746
  media_type: z.ZodOptional<z.ZodEnum<{
7639
- audio: "audio";
7640
- video: "video";
7641
- image: "image";
7642
7747
  unknown: "unknown";
7748
+ image: "image";
7749
+ video: "video";
7750
+ audio: "audio";
7643
7751
  }>>;
7644
7752
  duration_s: z.ZodOptional<z.ZodNumber>;
7645
7753
  }, z.core.$strict>>;
@@ -7664,10 +7772,10 @@ declare const OPS: {
7664
7772
  favorite: z.ZodBoolean;
7665
7773
  title: z.ZodNullable<z.ZodString>;
7666
7774
  media_type: z.ZodOptional<z.ZodEnum<{
7667
- audio: "audio";
7668
- video: "video";
7669
- image: "image";
7670
7775
  unknown: "unknown";
7776
+ image: "image";
7777
+ video: "video";
7778
+ audio: "audio";
7671
7779
  }>>;
7672
7780
  duration_s: z.ZodOptional<z.ZodNumber>;
7673
7781
  }, z.core.$strict>;
@@ -7779,9 +7887,9 @@ declare const OPS: {
7779
7887
  readonly params: z.ZodObject<{
7780
7888
  name: z.ZodString;
7781
7889
  action: z.ZodEnum<{
7782
- stop: "stop";
7783
7890
  start: "start";
7784
7891
  restart: "restart";
7892
+ stop: "stop";
7785
7893
  pause: "pause";
7786
7894
  resume: "resume";
7787
7895
  }>;
@@ -8099,10 +8207,10 @@ declare const OPS: {
8099
8207
  title: z.ZodOptional<z.ZodString>;
8100
8208
  paragraphs: z.ZodOptional<z.ZodArray<z.ZodObject<{
8101
8209
  style: z.ZodDefault<z.ZodEnum<{
8102
- body: "body";
8103
- code: "code";
8104
8210
  title: "title";
8211
+ body: "body";
8105
8212
  quote: "quote";
8213
+ code: "code";
8106
8214
  heading1: "heading1";
8107
8215
  heading2: "heading2";
8108
8216
  heading3: "heading3";
@@ -8254,6 +8362,7 @@ declare const EVENTS: {
8254
8362
  kind: z.ZodEnum<{
8255
8363
  install: "install";
8256
8364
  transcribe: "transcribe";
8365
+ speak: "speak";
8257
8366
  }>;
8258
8367
  fraction: z.ZodNullable<z.ZodNumber>;
8259
8368
  install: z.ZodNullable<z.ZodObject<{
@@ -8271,6 +8380,12 @@ declare const EVENTS: {
8271
8380
  end_s: z.ZodNumber;
8272
8381
  text: z.ZodString;
8273
8382
  }, z.core.$strict>>;
8383
+ audio: z.ZodOptional<z.ZodObject<{
8384
+ index: z.ZodInt;
8385
+ sample_rate: z.ZodInt;
8386
+ pcm16_base64: z.ZodString;
8387
+ text: z.ZodString;
8388
+ }, z.core.$strict>>;
8274
8389
  }, z.core.$strict>;
8275
8390
  }, z.core.$strict>;
8276
8391
  readonly "coding.history.progress": z.ZodObject<{
@@ -8730,4 +8845,5 @@ declare function useDesktopWake(client?: DesktopClient, options?: {
8730
8845
  probeMs?: number;
8731
8846
  }): void;
8732
8847
 
8733
- export { type DesktopActionState, DesktopClientProvider, type DesktopRequestState, type UseDesktopRequestOptions, useDesktopAction, useDesktopClient, useDesktopConnection, useDesktopEvent, useDesktopRequest, useDesktopWake };
8848
+ export { DesktopClientProvider, useDesktopAction, useDesktopClient, useDesktopConnection, useDesktopEvent, useDesktopRequest, useDesktopWake };
8849
+ export type { DesktopActionState, DesktopRequestState, UseDesktopRequestOptions };