@ai-matrx/desktop-protocol 0.21.85 → 0.21.86

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.cts 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<{
@@ -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<{
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<{
@@ -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<{