@ai-matrx/desktop-protocol 0.21.93 → 0.21.95
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/CHANGELOG.md +28 -1
- package/dist/{chunk-server-MCBYY6QK.js → chunk-server-46JNNDT7.js} +9 -5
- package/dist/chunk-server-46JNNDT7.js.map +1 -0
- package/dist/{chunk-server-7CEUIBDY.js → chunk-server-BQQPFQSL.js} +199 -6
- package/dist/chunk-server-BQQPFQSL.js.map +1 -0
- package/dist/{chunk-server-FJWACRBP.js → chunk-server-ESQX6XVP.js} +3 -3
- package/dist/{chunk-server-HBZSBBGI.js → chunk-server-IHK7SYRO.js} +3 -3
- package/dist/chunk-server-IHK7SYRO.js.map +1 -0
- package/dist/client.cjs +181 -9
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +3 -3
- package/dist/index.cjs +212 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +380 -208
- package/dist/index.d.ts +380 -208
- package/dist/index.js +55 -8
- package/dist/index.js.map +1 -1
- package/dist/{models-BpWoHvNe.d.cts → models-BfCwxx-G.d.cts} +1270 -408
- package/dist/{models-BpWoHvNe.d.ts → models-BfCwxx-G.d.ts} +1270 -408
- package/dist/react.d.cts +235 -2
- package/dist/react.d.ts +235 -2
- package/generated/desktop-protocol.schema.json +933 -96
- package/package.json +2 -2
- package/dist/chunk-server-7CEUIBDY.js.map +0 -1
- package/dist/chunk-server-HBZSBBGI.js.map +0 -1
- package/dist/chunk-server-MCBYY6QK.js.map +0 -1
- /package/dist/{chunk-server-FJWACRBP.js.map → chunk-server-ESQX6XVP.js.map} +0 -0
package/dist/react.d.cts
CHANGED
|
@@ -1136,6 +1136,30 @@ declare const OPS: {
|
|
|
1136
1136
|
bytes_total: z.ZodNullable<z.ZodInt>;
|
|
1137
1137
|
}, z.core.$strict>>;
|
|
1138
1138
|
error: z.ZodNullable<z.ZodString>;
|
|
1139
|
+
embedding: z.ZodOptional<z.ZodObject<{
|
|
1140
|
+
state: z.ZodEnum<{
|
|
1141
|
+
failed: "failed";
|
|
1142
|
+
running: "running";
|
|
1143
|
+
starting: "starting";
|
|
1144
|
+
stopped: "stopped";
|
|
1145
|
+
}>;
|
|
1146
|
+
models: z.ZodArray<z.ZodObject<{
|
|
1147
|
+
id: z.ZodString;
|
|
1148
|
+
size_bytes: z.ZodInt;
|
|
1149
|
+
installed: z.ZodBoolean;
|
|
1150
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1151
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
1152
|
+
}, z.core.$strict>>;
|
|
1153
|
+
running: z.ZodNullable<z.ZodObject<{
|
|
1154
|
+
id: z.ZodString;
|
|
1155
|
+
port: z.ZodInt;
|
|
1156
|
+
context_length: z.ZodOptional<z.ZodInt>;
|
|
1157
|
+
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
1158
|
+
threads: z.ZodOptional<z.ZodInt>;
|
|
1159
|
+
}, z.core.$strict>>;
|
|
1160
|
+
starting: z.ZodNullable<z.ZodString>;
|
|
1161
|
+
error: z.ZodNullable<z.ZodString>;
|
|
1162
|
+
}, z.core.$strict>>;
|
|
1139
1163
|
}, z.core.$strict>;
|
|
1140
1164
|
readonly kind: "unary";
|
|
1141
1165
|
readonly since: "1.31";
|
|
@@ -1162,6 +1186,10 @@ declare const OPS: {
|
|
|
1162
1186
|
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
1163
1187
|
threads: z.ZodOptional<z.ZodInt>;
|
|
1164
1188
|
load_timeout_s: z.ZodOptional<z.ZodInt>;
|
|
1189
|
+
slot: z.ZodOptional<z.ZodEnum<{
|
|
1190
|
+
chat: "chat";
|
|
1191
|
+
embed: "embed";
|
|
1192
|
+
}>>;
|
|
1165
1193
|
}, z.core.$strict>;
|
|
1166
1194
|
readonly result: z.ZodObject<{
|
|
1167
1195
|
running: z.ZodObject<{
|
|
@@ -1178,7 +1206,12 @@ declare const OPS: {
|
|
|
1178
1206
|
readonly errors: readonly ["NOT_FOUND", "RESOURCE_BUSY", "RESOURCE_GONE", "TIMEOUT", "CANCELLED", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1179
1207
|
};
|
|
1180
1208
|
readonly "models.llm.stop": {
|
|
1181
|
-
readonly params: z.ZodObject<{
|
|
1209
|
+
readonly params: z.ZodObject<{
|
|
1210
|
+
slot: z.ZodOptional<z.ZodEnum<{
|
|
1211
|
+
chat: "chat";
|
|
1212
|
+
embed: "embed";
|
|
1213
|
+
}>>;
|
|
1214
|
+
}, z.core.$strict>;
|
|
1182
1215
|
readonly result: z.ZodObject<{
|
|
1183
1216
|
stopped: z.ZodBoolean;
|
|
1184
1217
|
}, z.core.$strict>;
|
|
@@ -1201,6 +1234,28 @@ declare const OPS: {
|
|
|
1201
1234
|
readonly since: "1.76";
|
|
1202
1235
|
readonly errors: readonly ["NOT_FOUND", "RESOURCE_BUSY", "RESOURCE_GONE", "INVALID_PARAMS", "TIMEOUT", "CANCELLED", "RATE_LIMITED", "INTERNAL"];
|
|
1203
1236
|
};
|
|
1237
|
+
readonly "models.embed": {
|
|
1238
|
+
readonly params: z.ZodObject<{
|
|
1239
|
+
model: z.ZodString;
|
|
1240
|
+
input: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
1241
|
+
start_if_stopped: z.ZodOptional<z.ZodBoolean>;
|
|
1242
|
+
}, z.core.$strict>;
|
|
1243
|
+
readonly result: z.ZodObject<{
|
|
1244
|
+
model: z.ZodString;
|
|
1245
|
+
dimensions: z.ZodInt;
|
|
1246
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1247
|
+
index: z.ZodInt;
|
|
1248
|
+
embedding: z.ZodArray<z.ZodNumber>;
|
|
1249
|
+
}, z.core.$strict>>;
|
|
1250
|
+
usage: z.ZodObject<{
|
|
1251
|
+
prompt_tokens: z.ZodInt;
|
|
1252
|
+
total_tokens: z.ZodInt;
|
|
1253
|
+
}, z.core.$strict>;
|
|
1254
|
+
}, z.core.$strict>;
|
|
1255
|
+
readonly kind: "unary";
|
|
1256
|
+
readonly since: "1.88";
|
|
1257
|
+
readonly errors: readonly ["NOT_FOUND", "RESOURCE_BUSY", "RESOURCE_GONE", "INVALID_PARAMS", "TIMEOUT", "CANCELLED", "INTERNAL"];
|
|
1258
|
+
};
|
|
1204
1259
|
readonly "models.downloads.list": {
|
|
1205
1260
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
1206
1261
|
readonly result: z.ZodObject<{
|
|
@@ -1391,6 +1446,78 @@ declare const OPS: {
|
|
|
1391
1446
|
readonly since: "1.81";
|
|
1392
1447
|
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "INTERNAL"];
|
|
1393
1448
|
};
|
|
1449
|
+
readonly "models.wake.status": {
|
|
1450
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
1451
|
+
readonly result: z.ZodObject<{
|
|
1452
|
+
runtime_ready: z.ZodBoolean;
|
|
1453
|
+
models: z.ZodArray<z.ZodObject<{
|
|
1454
|
+
id: z.ZodString;
|
|
1455
|
+
size_bytes: z.ZodInt;
|
|
1456
|
+
installed: z.ZodBoolean;
|
|
1457
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
1458
|
+
}, z.core.$strict>>;
|
|
1459
|
+
whisper: z.ZodNullable<z.ZodObject<{
|
|
1460
|
+
id: z.ZodString;
|
|
1461
|
+
size_bytes: z.ZodInt;
|
|
1462
|
+
installed: z.ZodBoolean;
|
|
1463
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
1464
|
+
}, z.core.$strict>>;
|
|
1465
|
+
error: z.ZodNullable<z.ZodString>;
|
|
1466
|
+
}, z.core.$strict>;
|
|
1467
|
+
readonly kind: "unary";
|
|
1468
|
+
readonly since: "1.89";
|
|
1469
|
+
readonly errors: readonly ["RESOURCE_BUSY", "INTERNAL"];
|
|
1470
|
+
};
|
|
1471
|
+
readonly "models.wake.install": {
|
|
1472
|
+
readonly params: z.ZodObject<{
|
|
1473
|
+
engine: z.ZodEnum<{
|
|
1474
|
+
whisper: "whisper";
|
|
1475
|
+
oww: "oww";
|
|
1476
|
+
}>;
|
|
1477
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1478
|
+
}, z.core.$strict>;
|
|
1479
|
+
readonly result: z.ZodObject<{
|
|
1480
|
+
model: z.ZodString;
|
|
1481
|
+
elapsed_ms: z.ZodInt;
|
|
1482
|
+
}, z.core.$strict>;
|
|
1483
|
+
readonly kind: "unary";
|
|
1484
|
+
readonly since: "1.89";
|
|
1485
|
+
readonly errors: readonly ["NOT_FOUND", "RESOURCE_BUSY", "RESOURCE_GONE", "TIMEOUT", "CANCELLED", "INTERNAL"];
|
|
1486
|
+
};
|
|
1487
|
+
readonly "models.wake.detect": {
|
|
1488
|
+
readonly params: z.ZodObject<{
|
|
1489
|
+
stream: z.ZodString;
|
|
1490
|
+
engine: z.ZodEnum<{
|
|
1491
|
+
whisper: "whisper";
|
|
1492
|
+
oww: "oww";
|
|
1493
|
+
}>;
|
|
1494
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1495
|
+
keyword: z.ZodOptional<z.ZodString>;
|
|
1496
|
+
threshold: z.ZodOptional<z.ZodNumber>;
|
|
1497
|
+
pcm: z.ZodString;
|
|
1498
|
+
}, z.core.$strict>;
|
|
1499
|
+
readonly result: z.ZodObject<{
|
|
1500
|
+
detected: z.ZodBoolean;
|
|
1501
|
+
score: z.ZodNullable<z.ZodNumber>;
|
|
1502
|
+
heard: z.ZodNullable<z.ZodString>;
|
|
1503
|
+
rms: z.ZodNumber;
|
|
1504
|
+
elapsed_ms: z.ZodInt;
|
|
1505
|
+
}, z.core.$strict>;
|
|
1506
|
+
readonly kind: "unary";
|
|
1507
|
+
readonly since: "1.89";
|
|
1508
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "RESOURCE_BUSY", "RESOURCE_GONE", "INTERNAL"];
|
|
1509
|
+
};
|
|
1510
|
+
readonly "models.wake.close": {
|
|
1511
|
+
readonly params: z.ZodObject<{
|
|
1512
|
+
stream: z.ZodString;
|
|
1513
|
+
}, z.core.$strict>;
|
|
1514
|
+
readonly result: z.ZodObject<{
|
|
1515
|
+
closed: z.ZodBoolean;
|
|
1516
|
+
}, z.core.$strict>;
|
|
1517
|
+
readonly kind: "unary";
|
|
1518
|
+
readonly since: "1.89";
|
|
1519
|
+
readonly errors: readonly ["INTERNAL"];
|
|
1520
|
+
};
|
|
1394
1521
|
readonly "apps.list": {
|
|
1395
1522
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
1396
1523
|
readonly result: z.ZodObject<{
|
|
@@ -2506,8 +2633,8 @@ declare const OPS: {
|
|
|
2506
2633
|
key: z.ZodString;
|
|
2507
2634
|
main: z.ZodBoolean;
|
|
2508
2635
|
status: z.ZodEnum<{
|
|
2509
|
-
open: "open";
|
|
2510
2636
|
closed: "closed";
|
|
2637
|
+
open: "open";
|
|
2511
2638
|
wrong_account: "wrong_account";
|
|
2512
2639
|
update_waiting: "update_waiting";
|
|
2513
2640
|
folder_missing: "folder_missing";
|
|
@@ -7645,6 +7772,112 @@ declare const OPS: {
|
|
|
7645
7772
|
readonly since: "1.40";
|
|
7646
7773
|
readonly errors: readonly ["INVALID_PARAMS", "AUTH_REQUIRED", "RESOURCE_BUSY", "CANCELLED", "INTERNAL"];
|
|
7647
7774
|
};
|
|
7775
|
+
readonly "web.home_fetch": {
|
|
7776
|
+
readonly params: z.ZodObject<{
|
|
7777
|
+
url: z.ZodString;
|
|
7778
|
+
method: z.ZodDefault<z.ZodEnum<{
|
|
7779
|
+
GET: "GET";
|
|
7780
|
+
HEAD: "HEAD";
|
|
7781
|
+
}>>;
|
|
7782
|
+
headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7783
|
+
name: z.ZodString;
|
|
7784
|
+
value: z.ZodString;
|
|
7785
|
+
}, z.core.$strict>>>;
|
|
7786
|
+
reason: z.ZodString;
|
|
7787
|
+
request_id: z.ZodString;
|
|
7788
|
+
queue: z.ZodDefault<z.ZodBoolean>;
|
|
7789
|
+
timeout_s: z.ZodDefault<z.ZodInt>;
|
|
7790
|
+
}, z.core.$strict>;
|
|
7791
|
+
readonly result: z.ZodObject<{
|
|
7792
|
+
state: z.ZodEnum<{
|
|
7793
|
+
queued: "queued";
|
|
7794
|
+
fetched: "fetched";
|
|
7795
|
+
}>;
|
|
7796
|
+
fetch: z.ZodNullable<z.ZodObject<{
|
|
7797
|
+
status: z.ZodInt;
|
|
7798
|
+
reason: z.ZodString;
|
|
7799
|
+
url: z.ZodString;
|
|
7800
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
7801
|
+
headers: z.ZodArray<z.ZodObject<{
|
|
7802
|
+
name: z.ZodString;
|
|
7803
|
+
value: z.ZodString;
|
|
7804
|
+
}, z.core.$strict>>;
|
|
7805
|
+
body: z.ZodString;
|
|
7806
|
+
truncated: z.ZodBoolean;
|
|
7807
|
+
bytes: z.ZodInt;
|
|
7808
|
+
elapsed_ms: z.ZodInt;
|
|
7809
|
+
}, z.core.$strict>>;
|
|
7810
|
+
item: z.ZodNullable<z.ZodObject<{
|
|
7811
|
+
queue_id: z.ZodString;
|
|
7812
|
+
request_id: z.ZodString;
|
|
7813
|
+
url: z.ZodString;
|
|
7814
|
+
reason: z.ZodString;
|
|
7815
|
+
state: z.ZodEnum<{
|
|
7816
|
+
failed: "failed";
|
|
7817
|
+
pending: "pending";
|
|
7818
|
+
in_progress: "in_progress";
|
|
7819
|
+
succeeded: "succeeded";
|
|
7820
|
+
dead_letter: "dead_letter";
|
|
7821
|
+
}>;
|
|
7822
|
+
attempts: z.ZodInt;
|
|
7823
|
+
max_attempts: z.ZodInt;
|
|
7824
|
+
created_at_ms: z.ZodInt;
|
|
7825
|
+
next_attempt_at_ms: z.ZodNullable<z.ZodInt>;
|
|
7826
|
+
last_error: z.ZodNullable<z.ZodString>;
|
|
7827
|
+
}, z.core.$strict>>;
|
|
7828
|
+
message: z.ZodString;
|
|
7829
|
+
}, z.core.$strict>;
|
|
7830
|
+
readonly kind: "unary";
|
|
7831
|
+
readonly since: "1.90";
|
|
7832
|
+
readonly errors: readonly ["INVALID_PARAMS", "AUTH_FORBIDDEN", "RATE_LIMITED", "TIMEOUT", "INTERNAL"];
|
|
7833
|
+
};
|
|
7834
|
+
readonly "web.home.status": {
|
|
7835
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
7836
|
+
readonly result: z.ZodObject<{
|
|
7837
|
+
enabled: z.ZodBoolean;
|
|
7838
|
+
max_per_hour: z.ZodInt;
|
|
7839
|
+
max_body_bytes: z.ZodInt;
|
|
7840
|
+
timeout_s: z.ZodInt;
|
|
7841
|
+
used_last_hour: z.ZodInt;
|
|
7842
|
+
queue: z.ZodArray<z.ZodObject<{
|
|
7843
|
+
queue_id: z.ZodString;
|
|
7844
|
+
request_id: z.ZodString;
|
|
7845
|
+
url: z.ZodString;
|
|
7846
|
+
reason: z.ZodString;
|
|
7847
|
+
state: z.ZodEnum<{
|
|
7848
|
+
failed: "failed";
|
|
7849
|
+
pending: "pending";
|
|
7850
|
+
in_progress: "in_progress";
|
|
7851
|
+
succeeded: "succeeded";
|
|
7852
|
+
dead_letter: "dead_letter";
|
|
7853
|
+
}>;
|
|
7854
|
+
attempts: z.ZodInt;
|
|
7855
|
+
max_attempts: z.ZodInt;
|
|
7856
|
+
created_at_ms: z.ZodInt;
|
|
7857
|
+
next_attempt_at_ms: z.ZodNullable<z.ZodInt>;
|
|
7858
|
+
last_error: z.ZodNullable<z.ZodString>;
|
|
7859
|
+
}, z.core.$strict>>;
|
|
7860
|
+
history: z.ZodArray<z.ZodObject<{
|
|
7861
|
+
at_ms: z.ZodInt;
|
|
7862
|
+
url: z.ZodString;
|
|
7863
|
+
reason: z.ZodString;
|
|
7864
|
+
outcome: z.ZodEnum<{
|
|
7865
|
+
failed: "failed";
|
|
7866
|
+
queued: "queued";
|
|
7867
|
+
fetched: "fetched";
|
|
7868
|
+
refused: "refused";
|
|
7869
|
+
}>;
|
|
7870
|
+
status: z.ZodNullable<z.ZodInt>;
|
|
7871
|
+
bytes: z.ZodInt;
|
|
7872
|
+
elapsed_ms: z.ZodInt;
|
|
7873
|
+
detail: z.ZodString;
|
|
7874
|
+
}, z.core.$strict>>;
|
|
7875
|
+
summary: z.ZodString;
|
|
7876
|
+
}, z.core.$strict>;
|
|
7877
|
+
readonly kind: "unary";
|
|
7878
|
+
readonly since: "1.90";
|
|
7879
|
+
readonly errors: readonly ["INTERNAL"];
|
|
7880
|
+
};
|
|
7648
7881
|
readonly "account.agents.list": {
|
|
7649
7882
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
7650
7883
|
readonly result: z.ZodObject<{
|
package/dist/react.d.ts
CHANGED
|
@@ -1136,6 +1136,30 @@ declare const OPS: {
|
|
|
1136
1136
|
bytes_total: z.ZodNullable<z.ZodInt>;
|
|
1137
1137
|
}, z.core.$strict>>;
|
|
1138
1138
|
error: z.ZodNullable<z.ZodString>;
|
|
1139
|
+
embedding: z.ZodOptional<z.ZodObject<{
|
|
1140
|
+
state: z.ZodEnum<{
|
|
1141
|
+
failed: "failed";
|
|
1142
|
+
running: "running";
|
|
1143
|
+
starting: "starting";
|
|
1144
|
+
stopped: "stopped";
|
|
1145
|
+
}>;
|
|
1146
|
+
models: z.ZodArray<z.ZodObject<{
|
|
1147
|
+
id: z.ZodString;
|
|
1148
|
+
size_bytes: z.ZodInt;
|
|
1149
|
+
installed: z.ZodBoolean;
|
|
1150
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1151
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
1152
|
+
}, z.core.$strict>>;
|
|
1153
|
+
running: z.ZodNullable<z.ZodObject<{
|
|
1154
|
+
id: z.ZodString;
|
|
1155
|
+
port: z.ZodInt;
|
|
1156
|
+
context_length: z.ZodOptional<z.ZodInt>;
|
|
1157
|
+
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
1158
|
+
threads: z.ZodOptional<z.ZodInt>;
|
|
1159
|
+
}, z.core.$strict>>;
|
|
1160
|
+
starting: z.ZodNullable<z.ZodString>;
|
|
1161
|
+
error: z.ZodNullable<z.ZodString>;
|
|
1162
|
+
}, z.core.$strict>>;
|
|
1139
1163
|
}, z.core.$strict>;
|
|
1140
1164
|
readonly kind: "unary";
|
|
1141
1165
|
readonly since: "1.31";
|
|
@@ -1162,6 +1186,10 @@ declare const OPS: {
|
|
|
1162
1186
|
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
1163
1187
|
threads: z.ZodOptional<z.ZodInt>;
|
|
1164
1188
|
load_timeout_s: z.ZodOptional<z.ZodInt>;
|
|
1189
|
+
slot: z.ZodOptional<z.ZodEnum<{
|
|
1190
|
+
chat: "chat";
|
|
1191
|
+
embed: "embed";
|
|
1192
|
+
}>>;
|
|
1165
1193
|
}, z.core.$strict>;
|
|
1166
1194
|
readonly result: z.ZodObject<{
|
|
1167
1195
|
running: z.ZodObject<{
|
|
@@ -1178,7 +1206,12 @@ declare const OPS: {
|
|
|
1178
1206
|
readonly errors: readonly ["NOT_FOUND", "RESOURCE_BUSY", "RESOURCE_GONE", "TIMEOUT", "CANCELLED", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1179
1207
|
};
|
|
1180
1208
|
readonly "models.llm.stop": {
|
|
1181
|
-
readonly params: z.ZodObject<{
|
|
1209
|
+
readonly params: z.ZodObject<{
|
|
1210
|
+
slot: z.ZodOptional<z.ZodEnum<{
|
|
1211
|
+
chat: "chat";
|
|
1212
|
+
embed: "embed";
|
|
1213
|
+
}>>;
|
|
1214
|
+
}, z.core.$strict>;
|
|
1182
1215
|
readonly result: z.ZodObject<{
|
|
1183
1216
|
stopped: z.ZodBoolean;
|
|
1184
1217
|
}, z.core.$strict>;
|
|
@@ -1201,6 +1234,28 @@ declare const OPS: {
|
|
|
1201
1234
|
readonly since: "1.76";
|
|
1202
1235
|
readonly errors: readonly ["NOT_FOUND", "RESOURCE_BUSY", "RESOURCE_GONE", "INVALID_PARAMS", "TIMEOUT", "CANCELLED", "RATE_LIMITED", "INTERNAL"];
|
|
1203
1236
|
};
|
|
1237
|
+
readonly "models.embed": {
|
|
1238
|
+
readonly params: z.ZodObject<{
|
|
1239
|
+
model: z.ZodString;
|
|
1240
|
+
input: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
1241
|
+
start_if_stopped: z.ZodOptional<z.ZodBoolean>;
|
|
1242
|
+
}, z.core.$strict>;
|
|
1243
|
+
readonly result: z.ZodObject<{
|
|
1244
|
+
model: z.ZodString;
|
|
1245
|
+
dimensions: z.ZodInt;
|
|
1246
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1247
|
+
index: z.ZodInt;
|
|
1248
|
+
embedding: z.ZodArray<z.ZodNumber>;
|
|
1249
|
+
}, z.core.$strict>>;
|
|
1250
|
+
usage: z.ZodObject<{
|
|
1251
|
+
prompt_tokens: z.ZodInt;
|
|
1252
|
+
total_tokens: z.ZodInt;
|
|
1253
|
+
}, z.core.$strict>;
|
|
1254
|
+
}, z.core.$strict>;
|
|
1255
|
+
readonly kind: "unary";
|
|
1256
|
+
readonly since: "1.88";
|
|
1257
|
+
readonly errors: readonly ["NOT_FOUND", "RESOURCE_BUSY", "RESOURCE_GONE", "INVALID_PARAMS", "TIMEOUT", "CANCELLED", "INTERNAL"];
|
|
1258
|
+
};
|
|
1204
1259
|
readonly "models.downloads.list": {
|
|
1205
1260
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
1206
1261
|
readonly result: z.ZodObject<{
|
|
@@ -1391,6 +1446,78 @@ declare const OPS: {
|
|
|
1391
1446
|
readonly since: "1.81";
|
|
1392
1447
|
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "INTERNAL"];
|
|
1393
1448
|
};
|
|
1449
|
+
readonly "models.wake.status": {
|
|
1450
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
1451
|
+
readonly result: z.ZodObject<{
|
|
1452
|
+
runtime_ready: z.ZodBoolean;
|
|
1453
|
+
models: z.ZodArray<z.ZodObject<{
|
|
1454
|
+
id: z.ZodString;
|
|
1455
|
+
size_bytes: z.ZodInt;
|
|
1456
|
+
installed: z.ZodBoolean;
|
|
1457
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
1458
|
+
}, z.core.$strict>>;
|
|
1459
|
+
whisper: z.ZodNullable<z.ZodObject<{
|
|
1460
|
+
id: z.ZodString;
|
|
1461
|
+
size_bytes: z.ZodInt;
|
|
1462
|
+
installed: z.ZodBoolean;
|
|
1463
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
1464
|
+
}, z.core.$strict>>;
|
|
1465
|
+
error: z.ZodNullable<z.ZodString>;
|
|
1466
|
+
}, z.core.$strict>;
|
|
1467
|
+
readonly kind: "unary";
|
|
1468
|
+
readonly since: "1.89";
|
|
1469
|
+
readonly errors: readonly ["RESOURCE_BUSY", "INTERNAL"];
|
|
1470
|
+
};
|
|
1471
|
+
readonly "models.wake.install": {
|
|
1472
|
+
readonly params: z.ZodObject<{
|
|
1473
|
+
engine: z.ZodEnum<{
|
|
1474
|
+
whisper: "whisper";
|
|
1475
|
+
oww: "oww";
|
|
1476
|
+
}>;
|
|
1477
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1478
|
+
}, z.core.$strict>;
|
|
1479
|
+
readonly result: z.ZodObject<{
|
|
1480
|
+
model: z.ZodString;
|
|
1481
|
+
elapsed_ms: z.ZodInt;
|
|
1482
|
+
}, z.core.$strict>;
|
|
1483
|
+
readonly kind: "unary";
|
|
1484
|
+
readonly since: "1.89";
|
|
1485
|
+
readonly errors: readonly ["NOT_FOUND", "RESOURCE_BUSY", "RESOURCE_GONE", "TIMEOUT", "CANCELLED", "INTERNAL"];
|
|
1486
|
+
};
|
|
1487
|
+
readonly "models.wake.detect": {
|
|
1488
|
+
readonly params: z.ZodObject<{
|
|
1489
|
+
stream: z.ZodString;
|
|
1490
|
+
engine: z.ZodEnum<{
|
|
1491
|
+
whisper: "whisper";
|
|
1492
|
+
oww: "oww";
|
|
1493
|
+
}>;
|
|
1494
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1495
|
+
keyword: z.ZodOptional<z.ZodString>;
|
|
1496
|
+
threshold: z.ZodOptional<z.ZodNumber>;
|
|
1497
|
+
pcm: z.ZodString;
|
|
1498
|
+
}, z.core.$strict>;
|
|
1499
|
+
readonly result: z.ZodObject<{
|
|
1500
|
+
detected: z.ZodBoolean;
|
|
1501
|
+
score: z.ZodNullable<z.ZodNumber>;
|
|
1502
|
+
heard: z.ZodNullable<z.ZodString>;
|
|
1503
|
+
rms: z.ZodNumber;
|
|
1504
|
+
elapsed_ms: z.ZodInt;
|
|
1505
|
+
}, z.core.$strict>;
|
|
1506
|
+
readonly kind: "unary";
|
|
1507
|
+
readonly since: "1.89";
|
|
1508
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "RESOURCE_BUSY", "RESOURCE_GONE", "INTERNAL"];
|
|
1509
|
+
};
|
|
1510
|
+
readonly "models.wake.close": {
|
|
1511
|
+
readonly params: z.ZodObject<{
|
|
1512
|
+
stream: z.ZodString;
|
|
1513
|
+
}, z.core.$strict>;
|
|
1514
|
+
readonly result: z.ZodObject<{
|
|
1515
|
+
closed: z.ZodBoolean;
|
|
1516
|
+
}, z.core.$strict>;
|
|
1517
|
+
readonly kind: "unary";
|
|
1518
|
+
readonly since: "1.89";
|
|
1519
|
+
readonly errors: readonly ["INTERNAL"];
|
|
1520
|
+
};
|
|
1394
1521
|
readonly "apps.list": {
|
|
1395
1522
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
1396
1523
|
readonly result: z.ZodObject<{
|
|
@@ -2506,8 +2633,8 @@ declare const OPS: {
|
|
|
2506
2633
|
key: z.ZodString;
|
|
2507
2634
|
main: z.ZodBoolean;
|
|
2508
2635
|
status: z.ZodEnum<{
|
|
2509
|
-
open: "open";
|
|
2510
2636
|
closed: "closed";
|
|
2637
|
+
open: "open";
|
|
2511
2638
|
wrong_account: "wrong_account";
|
|
2512
2639
|
update_waiting: "update_waiting";
|
|
2513
2640
|
folder_missing: "folder_missing";
|
|
@@ -7645,6 +7772,112 @@ declare const OPS: {
|
|
|
7645
7772
|
readonly since: "1.40";
|
|
7646
7773
|
readonly errors: readonly ["INVALID_PARAMS", "AUTH_REQUIRED", "RESOURCE_BUSY", "CANCELLED", "INTERNAL"];
|
|
7647
7774
|
};
|
|
7775
|
+
readonly "web.home_fetch": {
|
|
7776
|
+
readonly params: z.ZodObject<{
|
|
7777
|
+
url: z.ZodString;
|
|
7778
|
+
method: z.ZodDefault<z.ZodEnum<{
|
|
7779
|
+
GET: "GET";
|
|
7780
|
+
HEAD: "HEAD";
|
|
7781
|
+
}>>;
|
|
7782
|
+
headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7783
|
+
name: z.ZodString;
|
|
7784
|
+
value: z.ZodString;
|
|
7785
|
+
}, z.core.$strict>>>;
|
|
7786
|
+
reason: z.ZodString;
|
|
7787
|
+
request_id: z.ZodString;
|
|
7788
|
+
queue: z.ZodDefault<z.ZodBoolean>;
|
|
7789
|
+
timeout_s: z.ZodDefault<z.ZodInt>;
|
|
7790
|
+
}, z.core.$strict>;
|
|
7791
|
+
readonly result: z.ZodObject<{
|
|
7792
|
+
state: z.ZodEnum<{
|
|
7793
|
+
queued: "queued";
|
|
7794
|
+
fetched: "fetched";
|
|
7795
|
+
}>;
|
|
7796
|
+
fetch: z.ZodNullable<z.ZodObject<{
|
|
7797
|
+
status: z.ZodInt;
|
|
7798
|
+
reason: z.ZodString;
|
|
7799
|
+
url: z.ZodString;
|
|
7800
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
7801
|
+
headers: z.ZodArray<z.ZodObject<{
|
|
7802
|
+
name: z.ZodString;
|
|
7803
|
+
value: z.ZodString;
|
|
7804
|
+
}, z.core.$strict>>;
|
|
7805
|
+
body: z.ZodString;
|
|
7806
|
+
truncated: z.ZodBoolean;
|
|
7807
|
+
bytes: z.ZodInt;
|
|
7808
|
+
elapsed_ms: z.ZodInt;
|
|
7809
|
+
}, z.core.$strict>>;
|
|
7810
|
+
item: z.ZodNullable<z.ZodObject<{
|
|
7811
|
+
queue_id: z.ZodString;
|
|
7812
|
+
request_id: z.ZodString;
|
|
7813
|
+
url: z.ZodString;
|
|
7814
|
+
reason: z.ZodString;
|
|
7815
|
+
state: z.ZodEnum<{
|
|
7816
|
+
failed: "failed";
|
|
7817
|
+
pending: "pending";
|
|
7818
|
+
in_progress: "in_progress";
|
|
7819
|
+
succeeded: "succeeded";
|
|
7820
|
+
dead_letter: "dead_letter";
|
|
7821
|
+
}>;
|
|
7822
|
+
attempts: z.ZodInt;
|
|
7823
|
+
max_attempts: z.ZodInt;
|
|
7824
|
+
created_at_ms: z.ZodInt;
|
|
7825
|
+
next_attempt_at_ms: z.ZodNullable<z.ZodInt>;
|
|
7826
|
+
last_error: z.ZodNullable<z.ZodString>;
|
|
7827
|
+
}, z.core.$strict>>;
|
|
7828
|
+
message: z.ZodString;
|
|
7829
|
+
}, z.core.$strict>;
|
|
7830
|
+
readonly kind: "unary";
|
|
7831
|
+
readonly since: "1.90";
|
|
7832
|
+
readonly errors: readonly ["INVALID_PARAMS", "AUTH_FORBIDDEN", "RATE_LIMITED", "TIMEOUT", "INTERNAL"];
|
|
7833
|
+
};
|
|
7834
|
+
readonly "web.home.status": {
|
|
7835
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
7836
|
+
readonly result: z.ZodObject<{
|
|
7837
|
+
enabled: z.ZodBoolean;
|
|
7838
|
+
max_per_hour: z.ZodInt;
|
|
7839
|
+
max_body_bytes: z.ZodInt;
|
|
7840
|
+
timeout_s: z.ZodInt;
|
|
7841
|
+
used_last_hour: z.ZodInt;
|
|
7842
|
+
queue: z.ZodArray<z.ZodObject<{
|
|
7843
|
+
queue_id: z.ZodString;
|
|
7844
|
+
request_id: z.ZodString;
|
|
7845
|
+
url: z.ZodString;
|
|
7846
|
+
reason: z.ZodString;
|
|
7847
|
+
state: z.ZodEnum<{
|
|
7848
|
+
failed: "failed";
|
|
7849
|
+
pending: "pending";
|
|
7850
|
+
in_progress: "in_progress";
|
|
7851
|
+
succeeded: "succeeded";
|
|
7852
|
+
dead_letter: "dead_letter";
|
|
7853
|
+
}>;
|
|
7854
|
+
attempts: z.ZodInt;
|
|
7855
|
+
max_attempts: z.ZodInt;
|
|
7856
|
+
created_at_ms: z.ZodInt;
|
|
7857
|
+
next_attempt_at_ms: z.ZodNullable<z.ZodInt>;
|
|
7858
|
+
last_error: z.ZodNullable<z.ZodString>;
|
|
7859
|
+
}, z.core.$strict>>;
|
|
7860
|
+
history: z.ZodArray<z.ZodObject<{
|
|
7861
|
+
at_ms: z.ZodInt;
|
|
7862
|
+
url: z.ZodString;
|
|
7863
|
+
reason: z.ZodString;
|
|
7864
|
+
outcome: z.ZodEnum<{
|
|
7865
|
+
failed: "failed";
|
|
7866
|
+
queued: "queued";
|
|
7867
|
+
fetched: "fetched";
|
|
7868
|
+
refused: "refused";
|
|
7869
|
+
}>;
|
|
7870
|
+
status: z.ZodNullable<z.ZodInt>;
|
|
7871
|
+
bytes: z.ZodInt;
|
|
7872
|
+
elapsed_ms: z.ZodInt;
|
|
7873
|
+
detail: z.ZodString;
|
|
7874
|
+
}, z.core.$strict>>;
|
|
7875
|
+
summary: z.ZodString;
|
|
7876
|
+
}, z.core.$strict>;
|
|
7877
|
+
readonly kind: "unary";
|
|
7878
|
+
readonly since: "1.90";
|
|
7879
|
+
readonly errors: readonly ["INTERNAL"];
|
|
7880
|
+
};
|
|
7648
7881
|
readonly "account.agents.list": {
|
|
7649
7882
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
7650
7883
|
readonly result: z.ZodObject<{
|