@ai-matrx/desktop-protocol 0.21.25 → 0.21.27
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 +12 -0
- package/dist/client.cjs +100 -1
- 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 +100 -1
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +183 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +145 -8
- package/dist/index.d.ts +145 -8
- package/dist/index.js +183 -12
- package/dist/index.js.map +1 -1
- package/dist/{models-CXjW101n.d.cts → models-BJsUM5sC.d.cts} +841 -14
- package/dist/{models-CXjW101n.d.ts → models-BJsUM5sC.d.ts} +841 -14
- package/dist/react.d.cts +239 -2
- package/dist/react.d.ts +239 -2
- package/generated/desktop-protocol.schema.json +576 -1
- package/package.json +2 -2
package/dist/react.d.cts
CHANGED
|
@@ -389,6 +389,82 @@ declare const OPS: {
|
|
|
389
389
|
readonly since: "1.0";
|
|
390
390
|
readonly errors: readonly ["NOT_FOUND", "PERMISSION_DENIED_OS", "INVALID_PARAMS", "RESOURCE_BUSY", "INTERNAL", "CONFLICT"];
|
|
391
391
|
};
|
|
392
|
+
readonly "fs.copy": {
|
|
393
|
+
readonly params: z.ZodObject<{
|
|
394
|
+
from_path: z.ZodString;
|
|
395
|
+
to_path: z.ZodString;
|
|
396
|
+
overwrite: z.ZodDefault<z.ZodBoolean>;
|
|
397
|
+
}, z.core.$strict>;
|
|
398
|
+
readonly result: z.ZodObject<{
|
|
399
|
+
from_path: z.ZodString;
|
|
400
|
+
to_path: z.ZodString;
|
|
401
|
+
}, z.core.$strict>;
|
|
402
|
+
readonly kind: "unary";
|
|
403
|
+
readonly since: "1.30";
|
|
404
|
+
readonly errors: readonly ["NOT_FOUND", "PERMISSION_DENIED_OS", "INVALID_PARAMS", "RESOURCE_BUSY", "INTERNAL", "CONFLICT"];
|
|
405
|
+
};
|
|
406
|
+
readonly "fs.info": {
|
|
407
|
+
readonly params: z.ZodObject<{
|
|
408
|
+
path: z.ZodString;
|
|
409
|
+
}, z.core.$strict>;
|
|
410
|
+
readonly result: z.ZodObject<{
|
|
411
|
+
entry: z.ZodObject<{
|
|
412
|
+
name: z.ZodString;
|
|
413
|
+
path: z.ZodString;
|
|
414
|
+
kind: z.ZodEnum<{
|
|
415
|
+
file: "file";
|
|
416
|
+
dir: "dir";
|
|
417
|
+
symlink: "symlink";
|
|
418
|
+
}>;
|
|
419
|
+
size: z.ZodInt;
|
|
420
|
+
mtime: z.ZodNumber;
|
|
421
|
+
mode: z.ZodInt;
|
|
422
|
+
target: z.ZodNullable<z.ZodString>;
|
|
423
|
+
}, z.core.$strict>;
|
|
424
|
+
created: z.ZodNullable<z.ZodNumber>;
|
|
425
|
+
owner: z.ZodNullable<z.ZodString>;
|
|
426
|
+
group: z.ZodNullable<z.ZodString>;
|
|
427
|
+
total_size: z.ZodNullable<z.ZodInt>;
|
|
428
|
+
size_on_disk: z.ZodNullable<z.ZodInt>;
|
|
429
|
+
items: z.ZodNullable<z.ZodInt>;
|
|
430
|
+
hidden: z.ZodBoolean;
|
|
431
|
+
locked: z.ZodNullable<z.ZodBoolean>;
|
|
432
|
+
read_only: z.ZodBoolean;
|
|
433
|
+
}, z.core.$strict>;
|
|
434
|
+
readonly kind: "unary";
|
|
435
|
+
readonly since: "1.30";
|
|
436
|
+
readonly errors: readonly ["NOT_FOUND", "PERMISSION_DENIED_OS", "INVALID_PARAMS", "RESOURCE_BUSY", "INTERNAL"];
|
|
437
|
+
};
|
|
438
|
+
readonly "fs.search_index": {
|
|
439
|
+
readonly params: z.ZodObject<{
|
|
440
|
+
query: z.ZodString;
|
|
441
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
442
|
+
max_results: z.ZodDefault<z.ZodInt>;
|
|
443
|
+
}, z.core.$strict>;
|
|
444
|
+
readonly result: z.ZodObject<{
|
|
445
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
446
|
+
name: z.ZodString;
|
|
447
|
+
path: z.ZodString;
|
|
448
|
+
kind: z.ZodEnum<{
|
|
449
|
+
file: "file";
|
|
450
|
+
dir: "dir";
|
|
451
|
+
symlink: "symlink";
|
|
452
|
+
}>;
|
|
453
|
+
size: z.ZodInt;
|
|
454
|
+
mtime: z.ZodNumber;
|
|
455
|
+
mode: z.ZodInt;
|
|
456
|
+
target: z.ZodNullable<z.ZodString>;
|
|
457
|
+
}, z.core.$strict>>;
|
|
458
|
+
truncated: z.ZodBoolean;
|
|
459
|
+
source: z.ZodEnum<{
|
|
460
|
+
index: "index";
|
|
461
|
+
walk: "walk";
|
|
462
|
+
}>;
|
|
463
|
+
}, z.core.$strict>;
|
|
464
|
+
readonly kind: "unary";
|
|
465
|
+
readonly since: "1.30";
|
|
466
|
+
readonly errors: readonly ["NOT_FOUND", "PERMISSION_DENIED_OS", "INVALID_PARAMS", "RESOURCE_BUSY", "INTERNAL", "TIMEOUT"];
|
|
467
|
+
};
|
|
392
468
|
readonly "fs.delete": {
|
|
393
469
|
readonly params: z.ZodObject<{
|
|
394
470
|
path: z.ZodString;
|
|
@@ -676,8 +752,8 @@ declare const OPS: {
|
|
|
676
752
|
readonly params: z.ZodObject<{
|
|
677
753
|
resource_id: z.ZodString;
|
|
678
754
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
679
|
-
control: "control";
|
|
680
755
|
read_only: "read_only";
|
|
756
|
+
control: "control";
|
|
681
757
|
}>>;
|
|
682
758
|
since_seq: z.ZodOptional<z.ZodInt>;
|
|
683
759
|
window_bytes: z.ZodOptional<z.ZodInt>;
|
|
@@ -914,6 +990,155 @@ declare const OPS: {
|
|
|
914
990
|
readonly since: "1.2";
|
|
915
991
|
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "PERMISSION_DENIED_OS", "RESOURCE_BUSY", "RESOURCE_GONE", "CANCELLED", "PAYLOAD_TOO_LARGE", "INTERNAL"];
|
|
916
992
|
};
|
|
993
|
+
readonly "models.llm.status": {
|
|
994
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
995
|
+
readonly result: z.ZodObject<{
|
|
996
|
+
state: z.ZodEnum<{
|
|
997
|
+
running: "running";
|
|
998
|
+
starting: "starting";
|
|
999
|
+
failed: "failed";
|
|
1000
|
+
stopped: "stopped";
|
|
1001
|
+
}>;
|
|
1002
|
+
models: z.ZodArray<z.ZodObject<{
|
|
1003
|
+
id: z.ZodEnum<{
|
|
1004
|
+
"smollm2-135m": "smollm2-135m";
|
|
1005
|
+
"llama-3.2-3b": "llama-3.2-3b";
|
|
1006
|
+
"phi-4-mini": "phi-4-mini";
|
|
1007
|
+
"gemma-3-4b": "gemma-3-4b";
|
|
1008
|
+
"llama-3.1-8b": "llama-3.1-8b";
|
|
1009
|
+
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1010
|
+
"mistral-small-3.1": "mistral-small-3.1";
|
|
1011
|
+
"gpt-oss-20b": "gpt-oss-20b";
|
|
1012
|
+
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1013
|
+
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1014
|
+
}>;
|
|
1015
|
+
size_bytes: z.ZodInt;
|
|
1016
|
+
installed: z.ZodBoolean;
|
|
1017
|
+
}, z.core.$strict>>;
|
|
1018
|
+
running: z.ZodNullable<z.ZodObject<{
|
|
1019
|
+
id: z.ZodEnum<{
|
|
1020
|
+
"smollm2-135m": "smollm2-135m";
|
|
1021
|
+
"llama-3.2-3b": "llama-3.2-3b";
|
|
1022
|
+
"phi-4-mini": "phi-4-mini";
|
|
1023
|
+
"gemma-3-4b": "gemma-3-4b";
|
|
1024
|
+
"llama-3.1-8b": "llama-3.1-8b";
|
|
1025
|
+
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1026
|
+
"mistral-small-3.1": "mistral-small-3.1";
|
|
1027
|
+
"gpt-oss-20b": "gpt-oss-20b";
|
|
1028
|
+
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1029
|
+
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1030
|
+
}>;
|
|
1031
|
+
port: z.ZodInt;
|
|
1032
|
+
}, z.core.$strict>>;
|
|
1033
|
+
starting: z.ZodNullable<z.ZodEnum<{
|
|
1034
|
+
"smollm2-135m": "smollm2-135m";
|
|
1035
|
+
"llama-3.2-3b": "llama-3.2-3b";
|
|
1036
|
+
"phi-4-mini": "phi-4-mini";
|
|
1037
|
+
"gemma-3-4b": "gemma-3-4b";
|
|
1038
|
+
"llama-3.1-8b": "llama-3.1-8b";
|
|
1039
|
+
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1040
|
+
"mistral-small-3.1": "mistral-small-3.1";
|
|
1041
|
+
"gpt-oss-20b": "gpt-oss-20b";
|
|
1042
|
+
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1043
|
+
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1044
|
+
}>>;
|
|
1045
|
+
install: z.ZodNullable<z.ZodObject<{
|
|
1046
|
+
phase: z.ZodEnum<{
|
|
1047
|
+
model: "model";
|
|
1048
|
+
packages: "packages";
|
|
1049
|
+
verifying: "verifying";
|
|
1050
|
+
}>;
|
|
1051
|
+
item: z.ZodString;
|
|
1052
|
+
bytes_done: z.ZodInt;
|
|
1053
|
+
bytes_total: z.ZodNullable<z.ZodInt>;
|
|
1054
|
+
}, z.core.$strict>>;
|
|
1055
|
+
error: z.ZodNullable<z.ZodString>;
|
|
1056
|
+
}, z.core.$strict>;
|
|
1057
|
+
readonly kind: "unary";
|
|
1058
|
+
readonly since: "1.31";
|
|
1059
|
+
readonly errors: readonly ["INTERNAL"];
|
|
1060
|
+
};
|
|
1061
|
+
readonly "models.llm.install": {
|
|
1062
|
+
readonly params: z.ZodObject<{
|
|
1063
|
+
model: z.ZodEnum<{
|
|
1064
|
+
"smollm2-135m": "smollm2-135m";
|
|
1065
|
+
"llama-3.2-3b": "llama-3.2-3b";
|
|
1066
|
+
"phi-4-mini": "phi-4-mini";
|
|
1067
|
+
"gemma-3-4b": "gemma-3-4b";
|
|
1068
|
+
"llama-3.1-8b": "llama-3.1-8b";
|
|
1069
|
+
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1070
|
+
"mistral-small-3.1": "mistral-small-3.1";
|
|
1071
|
+
"gpt-oss-20b": "gpt-oss-20b";
|
|
1072
|
+
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1073
|
+
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1074
|
+
}>;
|
|
1075
|
+
}, z.core.$strict>;
|
|
1076
|
+
readonly result: z.ZodObject<{
|
|
1077
|
+
model: z.ZodEnum<{
|
|
1078
|
+
"smollm2-135m": "smollm2-135m";
|
|
1079
|
+
"llama-3.2-3b": "llama-3.2-3b";
|
|
1080
|
+
"phi-4-mini": "phi-4-mini";
|
|
1081
|
+
"gemma-3-4b": "gemma-3-4b";
|
|
1082
|
+
"llama-3.1-8b": "llama-3.1-8b";
|
|
1083
|
+
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1084
|
+
"mistral-small-3.1": "mistral-small-3.1";
|
|
1085
|
+
"gpt-oss-20b": "gpt-oss-20b";
|
|
1086
|
+
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1087
|
+
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1088
|
+
}>;
|
|
1089
|
+
elapsed_ms: z.ZodInt;
|
|
1090
|
+
}, z.core.$strict>;
|
|
1091
|
+
readonly kind: "unary";
|
|
1092
|
+
readonly since: "1.31";
|
|
1093
|
+
readonly errors: readonly ["RESOURCE_BUSY", "RESOURCE_GONE", "TIMEOUT", "CANCELLED", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1094
|
+
};
|
|
1095
|
+
readonly "models.llm.start": {
|
|
1096
|
+
readonly params: z.ZodObject<{
|
|
1097
|
+
model: z.ZodEnum<{
|
|
1098
|
+
"smollm2-135m": "smollm2-135m";
|
|
1099
|
+
"llama-3.2-3b": "llama-3.2-3b";
|
|
1100
|
+
"phi-4-mini": "phi-4-mini";
|
|
1101
|
+
"gemma-3-4b": "gemma-3-4b";
|
|
1102
|
+
"llama-3.1-8b": "llama-3.1-8b";
|
|
1103
|
+
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1104
|
+
"mistral-small-3.1": "mistral-small-3.1";
|
|
1105
|
+
"gpt-oss-20b": "gpt-oss-20b";
|
|
1106
|
+
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1107
|
+
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1108
|
+
}>;
|
|
1109
|
+
context_length: z.ZodOptional<z.ZodInt>;
|
|
1110
|
+
}, z.core.$strict>;
|
|
1111
|
+
readonly result: z.ZodObject<{
|
|
1112
|
+
running: z.ZodObject<{
|
|
1113
|
+
id: z.ZodEnum<{
|
|
1114
|
+
"smollm2-135m": "smollm2-135m";
|
|
1115
|
+
"llama-3.2-3b": "llama-3.2-3b";
|
|
1116
|
+
"phi-4-mini": "phi-4-mini";
|
|
1117
|
+
"gemma-3-4b": "gemma-3-4b";
|
|
1118
|
+
"llama-3.1-8b": "llama-3.1-8b";
|
|
1119
|
+
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1120
|
+
"mistral-small-3.1": "mistral-small-3.1";
|
|
1121
|
+
"gpt-oss-20b": "gpt-oss-20b";
|
|
1122
|
+
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1123
|
+
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1124
|
+
}>;
|
|
1125
|
+
port: z.ZodInt;
|
|
1126
|
+
}, z.core.$strict>;
|
|
1127
|
+
elapsed_ms: z.ZodInt;
|
|
1128
|
+
}, z.core.$strict>;
|
|
1129
|
+
readonly kind: "unary";
|
|
1130
|
+
readonly since: "1.31";
|
|
1131
|
+
readonly errors: readonly ["NOT_FOUND", "RESOURCE_BUSY", "RESOURCE_GONE", "TIMEOUT", "CANCELLED", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1132
|
+
};
|
|
1133
|
+
readonly "models.llm.stop": {
|
|
1134
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
1135
|
+
readonly result: z.ZodObject<{
|
|
1136
|
+
stopped: z.ZodBoolean;
|
|
1137
|
+
}, z.core.$strict>;
|
|
1138
|
+
readonly kind: "unary";
|
|
1139
|
+
readonly since: "1.31";
|
|
1140
|
+
readonly errors: readonly ["INTERNAL"];
|
|
1141
|
+
};
|
|
917
1142
|
readonly "apps.list": {
|
|
918
1143
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
919
1144
|
readonly result: z.ZodObject<{
|
|
@@ -1798,6 +2023,7 @@ declare const OPS: {
|
|
|
1798
2023
|
window: z.ZodString;
|
|
1799
2024
|
take_off: z.ZodDefault<z.ZodBoolean>;
|
|
1800
2025
|
group: z.ZodDefault<z.ZodBoolean>;
|
|
2026
|
+
pin: z.ZodOptional<z.ZodBoolean>;
|
|
1801
2027
|
dry_run: z.ZodDefault<z.ZodBoolean>;
|
|
1802
2028
|
}, z.core.$strict>;
|
|
1803
2029
|
readonly result: z.ZodObject<{
|
|
@@ -1833,6 +2059,17 @@ declare const OPS: {
|
|
|
1833
2059
|
from_other_groups: z.ZodOptional<z.ZodInt>;
|
|
1834
2060
|
group_exists: z.ZodOptional<z.ZodBoolean>;
|
|
1835
2061
|
}, z.core.$strict>>;
|
|
2062
|
+
pin: z.ZodOptional<z.ZodObject<{
|
|
2063
|
+
ok: z.ZodBoolean;
|
|
2064
|
+
when: z.ZodEnum<{
|
|
2065
|
+
now: "now";
|
|
2066
|
+
next_close: "next_close";
|
|
2067
|
+
}>;
|
|
2068
|
+
pinned: z.ZodInt;
|
|
2069
|
+
already: z.ZodInt;
|
|
2070
|
+
queued: z.ZodInt;
|
|
2071
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2072
|
+
}, z.core.$strict>>;
|
|
1836
2073
|
message: z.ZodString;
|
|
1837
2074
|
}, z.core.$strict>;
|
|
1838
2075
|
readonly kind: "unary";
|
|
@@ -3992,8 +4229,8 @@ declare const EVENTS: {
|
|
|
3992
4229
|
readonly "session.control_changed": z.ZodObject<{
|
|
3993
4230
|
controller_client_id: z.ZodNullable<z.ZodString>;
|
|
3994
4231
|
your_mode: z.ZodEnum<{
|
|
3995
|
-
control: "control";
|
|
3996
4232
|
read_only: "read_only";
|
|
4233
|
+
control: "control";
|
|
3997
4234
|
}>;
|
|
3998
4235
|
}, z.core.$strict>;
|
|
3999
4236
|
readonly "models.progress": z.ZodObject<{
|
package/dist/react.d.ts
CHANGED
|
@@ -389,6 +389,82 @@ declare const OPS: {
|
|
|
389
389
|
readonly since: "1.0";
|
|
390
390
|
readonly errors: readonly ["NOT_FOUND", "PERMISSION_DENIED_OS", "INVALID_PARAMS", "RESOURCE_BUSY", "INTERNAL", "CONFLICT"];
|
|
391
391
|
};
|
|
392
|
+
readonly "fs.copy": {
|
|
393
|
+
readonly params: z.ZodObject<{
|
|
394
|
+
from_path: z.ZodString;
|
|
395
|
+
to_path: z.ZodString;
|
|
396
|
+
overwrite: z.ZodDefault<z.ZodBoolean>;
|
|
397
|
+
}, z.core.$strict>;
|
|
398
|
+
readonly result: z.ZodObject<{
|
|
399
|
+
from_path: z.ZodString;
|
|
400
|
+
to_path: z.ZodString;
|
|
401
|
+
}, z.core.$strict>;
|
|
402
|
+
readonly kind: "unary";
|
|
403
|
+
readonly since: "1.30";
|
|
404
|
+
readonly errors: readonly ["NOT_FOUND", "PERMISSION_DENIED_OS", "INVALID_PARAMS", "RESOURCE_BUSY", "INTERNAL", "CONFLICT"];
|
|
405
|
+
};
|
|
406
|
+
readonly "fs.info": {
|
|
407
|
+
readonly params: z.ZodObject<{
|
|
408
|
+
path: z.ZodString;
|
|
409
|
+
}, z.core.$strict>;
|
|
410
|
+
readonly result: z.ZodObject<{
|
|
411
|
+
entry: z.ZodObject<{
|
|
412
|
+
name: z.ZodString;
|
|
413
|
+
path: z.ZodString;
|
|
414
|
+
kind: z.ZodEnum<{
|
|
415
|
+
file: "file";
|
|
416
|
+
dir: "dir";
|
|
417
|
+
symlink: "symlink";
|
|
418
|
+
}>;
|
|
419
|
+
size: z.ZodInt;
|
|
420
|
+
mtime: z.ZodNumber;
|
|
421
|
+
mode: z.ZodInt;
|
|
422
|
+
target: z.ZodNullable<z.ZodString>;
|
|
423
|
+
}, z.core.$strict>;
|
|
424
|
+
created: z.ZodNullable<z.ZodNumber>;
|
|
425
|
+
owner: z.ZodNullable<z.ZodString>;
|
|
426
|
+
group: z.ZodNullable<z.ZodString>;
|
|
427
|
+
total_size: z.ZodNullable<z.ZodInt>;
|
|
428
|
+
size_on_disk: z.ZodNullable<z.ZodInt>;
|
|
429
|
+
items: z.ZodNullable<z.ZodInt>;
|
|
430
|
+
hidden: z.ZodBoolean;
|
|
431
|
+
locked: z.ZodNullable<z.ZodBoolean>;
|
|
432
|
+
read_only: z.ZodBoolean;
|
|
433
|
+
}, z.core.$strict>;
|
|
434
|
+
readonly kind: "unary";
|
|
435
|
+
readonly since: "1.30";
|
|
436
|
+
readonly errors: readonly ["NOT_FOUND", "PERMISSION_DENIED_OS", "INVALID_PARAMS", "RESOURCE_BUSY", "INTERNAL"];
|
|
437
|
+
};
|
|
438
|
+
readonly "fs.search_index": {
|
|
439
|
+
readonly params: z.ZodObject<{
|
|
440
|
+
query: z.ZodString;
|
|
441
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
442
|
+
max_results: z.ZodDefault<z.ZodInt>;
|
|
443
|
+
}, z.core.$strict>;
|
|
444
|
+
readonly result: z.ZodObject<{
|
|
445
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
446
|
+
name: z.ZodString;
|
|
447
|
+
path: z.ZodString;
|
|
448
|
+
kind: z.ZodEnum<{
|
|
449
|
+
file: "file";
|
|
450
|
+
dir: "dir";
|
|
451
|
+
symlink: "symlink";
|
|
452
|
+
}>;
|
|
453
|
+
size: z.ZodInt;
|
|
454
|
+
mtime: z.ZodNumber;
|
|
455
|
+
mode: z.ZodInt;
|
|
456
|
+
target: z.ZodNullable<z.ZodString>;
|
|
457
|
+
}, z.core.$strict>>;
|
|
458
|
+
truncated: z.ZodBoolean;
|
|
459
|
+
source: z.ZodEnum<{
|
|
460
|
+
index: "index";
|
|
461
|
+
walk: "walk";
|
|
462
|
+
}>;
|
|
463
|
+
}, z.core.$strict>;
|
|
464
|
+
readonly kind: "unary";
|
|
465
|
+
readonly since: "1.30";
|
|
466
|
+
readonly errors: readonly ["NOT_FOUND", "PERMISSION_DENIED_OS", "INVALID_PARAMS", "RESOURCE_BUSY", "INTERNAL", "TIMEOUT"];
|
|
467
|
+
};
|
|
392
468
|
readonly "fs.delete": {
|
|
393
469
|
readonly params: z.ZodObject<{
|
|
394
470
|
path: z.ZodString;
|
|
@@ -676,8 +752,8 @@ declare const OPS: {
|
|
|
676
752
|
readonly params: z.ZodObject<{
|
|
677
753
|
resource_id: z.ZodString;
|
|
678
754
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
679
|
-
control: "control";
|
|
680
755
|
read_only: "read_only";
|
|
756
|
+
control: "control";
|
|
681
757
|
}>>;
|
|
682
758
|
since_seq: z.ZodOptional<z.ZodInt>;
|
|
683
759
|
window_bytes: z.ZodOptional<z.ZodInt>;
|
|
@@ -914,6 +990,155 @@ declare const OPS: {
|
|
|
914
990
|
readonly since: "1.2";
|
|
915
991
|
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "PERMISSION_DENIED_OS", "RESOURCE_BUSY", "RESOURCE_GONE", "CANCELLED", "PAYLOAD_TOO_LARGE", "INTERNAL"];
|
|
916
992
|
};
|
|
993
|
+
readonly "models.llm.status": {
|
|
994
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
995
|
+
readonly result: z.ZodObject<{
|
|
996
|
+
state: z.ZodEnum<{
|
|
997
|
+
running: "running";
|
|
998
|
+
starting: "starting";
|
|
999
|
+
failed: "failed";
|
|
1000
|
+
stopped: "stopped";
|
|
1001
|
+
}>;
|
|
1002
|
+
models: z.ZodArray<z.ZodObject<{
|
|
1003
|
+
id: z.ZodEnum<{
|
|
1004
|
+
"smollm2-135m": "smollm2-135m";
|
|
1005
|
+
"llama-3.2-3b": "llama-3.2-3b";
|
|
1006
|
+
"phi-4-mini": "phi-4-mini";
|
|
1007
|
+
"gemma-3-4b": "gemma-3-4b";
|
|
1008
|
+
"llama-3.1-8b": "llama-3.1-8b";
|
|
1009
|
+
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1010
|
+
"mistral-small-3.1": "mistral-small-3.1";
|
|
1011
|
+
"gpt-oss-20b": "gpt-oss-20b";
|
|
1012
|
+
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1013
|
+
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1014
|
+
}>;
|
|
1015
|
+
size_bytes: z.ZodInt;
|
|
1016
|
+
installed: z.ZodBoolean;
|
|
1017
|
+
}, z.core.$strict>>;
|
|
1018
|
+
running: z.ZodNullable<z.ZodObject<{
|
|
1019
|
+
id: z.ZodEnum<{
|
|
1020
|
+
"smollm2-135m": "smollm2-135m";
|
|
1021
|
+
"llama-3.2-3b": "llama-3.2-3b";
|
|
1022
|
+
"phi-4-mini": "phi-4-mini";
|
|
1023
|
+
"gemma-3-4b": "gemma-3-4b";
|
|
1024
|
+
"llama-3.1-8b": "llama-3.1-8b";
|
|
1025
|
+
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1026
|
+
"mistral-small-3.1": "mistral-small-3.1";
|
|
1027
|
+
"gpt-oss-20b": "gpt-oss-20b";
|
|
1028
|
+
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1029
|
+
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1030
|
+
}>;
|
|
1031
|
+
port: z.ZodInt;
|
|
1032
|
+
}, z.core.$strict>>;
|
|
1033
|
+
starting: z.ZodNullable<z.ZodEnum<{
|
|
1034
|
+
"smollm2-135m": "smollm2-135m";
|
|
1035
|
+
"llama-3.2-3b": "llama-3.2-3b";
|
|
1036
|
+
"phi-4-mini": "phi-4-mini";
|
|
1037
|
+
"gemma-3-4b": "gemma-3-4b";
|
|
1038
|
+
"llama-3.1-8b": "llama-3.1-8b";
|
|
1039
|
+
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1040
|
+
"mistral-small-3.1": "mistral-small-3.1";
|
|
1041
|
+
"gpt-oss-20b": "gpt-oss-20b";
|
|
1042
|
+
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1043
|
+
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1044
|
+
}>>;
|
|
1045
|
+
install: z.ZodNullable<z.ZodObject<{
|
|
1046
|
+
phase: z.ZodEnum<{
|
|
1047
|
+
model: "model";
|
|
1048
|
+
packages: "packages";
|
|
1049
|
+
verifying: "verifying";
|
|
1050
|
+
}>;
|
|
1051
|
+
item: z.ZodString;
|
|
1052
|
+
bytes_done: z.ZodInt;
|
|
1053
|
+
bytes_total: z.ZodNullable<z.ZodInt>;
|
|
1054
|
+
}, z.core.$strict>>;
|
|
1055
|
+
error: z.ZodNullable<z.ZodString>;
|
|
1056
|
+
}, z.core.$strict>;
|
|
1057
|
+
readonly kind: "unary";
|
|
1058
|
+
readonly since: "1.31";
|
|
1059
|
+
readonly errors: readonly ["INTERNAL"];
|
|
1060
|
+
};
|
|
1061
|
+
readonly "models.llm.install": {
|
|
1062
|
+
readonly params: z.ZodObject<{
|
|
1063
|
+
model: z.ZodEnum<{
|
|
1064
|
+
"smollm2-135m": "smollm2-135m";
|
|
1065
|
+
"llama-3.2-3b": "llama-3.2-3b";
|
|
1066
|
+
"phi-4-mini": "phi-4-mini";
|
|
1067
|
+
"gemma-3-4b": "gemma-3-4b";
|
|
1068
|
+
"llama-3.1-8b": "llama-3.1-8b";
|
|
1069
|
+
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1070
|
+
"mistral-small-3.1": "mistral-small-3.1";
|
|
1071
|
+
"gpt-oss-20b": "gpt-oss-20b";
|
|
1072
|
+
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1073
|
+
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1074
|
+
}>;
|
|
1075
|
+
}, z.core.$strict>;
|
|
1076
|
+
readonly result: z.ZodObject<{
|
|
1077
|
+
model: z.ZodEnum<{
|
|
1078
|
+
"smollm2-135m": "smollm2-135m";
|
|
1079
|
+
"llama-3.2-3b": "llama-3.2-3b";
|
|
1080
|
+
"phi-4-mini": "phi-4-mini";
|
|
1081
|
+
"gemma-3-4b": "gemma-3-4b";
|
|
1082
|
+
"llama-3.1-8b": "llama-3.1-8b";
|
|
1083
|
+
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1084
|
+
"mistral-small-3.1": "mistral-small-3.1";
|
|
1085
|
+
"gpt-oss-20b": "gpt-oss-20b";
|
|
1086
|
+
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1087
|
+
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1088
|
+
}>;
|
|
1089
|
+
elapsed_ms: z.ZodInt;
|
|
1090
|
+
}, z.core.$strict>;
|
|
1091
|
+
readonly kind: "unary";
|
|
1092
|
+
readonly since: "1.31";
|
|
1093
|
+
readonly errors: readonly ["RESOURCE_BUSY", "RESOURCE_GONE", "TIMEOUT", "CANCELLED", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1094
|
+
};
|
|
1095
|
+
readonly "models.llm.start": {
|
|
1096
|
+
readonly params: z.ZodObject<{
|
|
1097
|
+
model: z.ZodEnum<{
|
|
1098
|
+
"smollm2-135m": "smollm2-135m";
|
|
1099
|
+
"llama-3.2-3b": "llama-3.2-3b";
|
|
1100
|
+
"phi-4-mini": "phi-4-mini";
|
|
1101
|
+
"gemma-3-4b": "gemma-3-4b";
|
|
1102
|
+
"llama-3.1-8b": "llama-3.1-8b";
|
|
1103
|
+
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1104
|
+
"mistral-small-3.1": "mistral-small-3.1";
|
|
1105
|
+
"gpt-oss-20b": "gpt-oss-20b";
|
|
1106
|
+
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1107
|
+
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1108
|
+
}>;
|
|
1109
|
+
context_length: z.ZodOptional<z.ZodInt>;
|
|
1110
|
+
}, z.core.$strict>;
|
|
1111
|
+
readonly result: z.ZodObject<{
|
|
1112
|
+
running: z.ZodObject<{
|
|
1113
|
+
id: z.ZodEnum<{
|
|
1114
|
+
"smollm2-135m": "smollm2-135m";
|
|
1115
|
+
"llama-3.2-3b": "llama-3.2-3b";
|
|
1116
|
+
"phi-4-mini": "phi-4-mini";
|
|
1117
|
+
"gemma-3-4b": "gemma-3-4b";
|
|
1118
|
+
"llama-3.1-8b": "llama-3.1-8b";
|
|
1119
|
+
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1120
|
+
"mistral-small-3.1": "mistral-small-3.1";
|
|
1121
|
+
"gpt-oss-20b": "gpt-oss-20b";
|
|
1122
|
+
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1123
|
+
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1124
|
+
}>;
|
|
1125
|
+
port: z.ZodInt;
|
|
1126
|
+
}, z.core.$strict>;
|
|
1127
|
+
elapsed_ms: z.ZodInt;
|
|
1128
|
+
}, z.core.$strict>;
|
|
1129
|
+
readonly kind: "unary";
|
|
1130
|
+
readonly since: "1.31";
|
|
1131
|
+
readonly errors: readonly ["NOT_FOUND", "RESOURCE_BUSY", "RESOURCE_GONE", "TIMEOUT", "CANCELLED", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1132
|
+
};
|
|
1133
|
+
readonly "models.llm.stop": {
|
|
1134
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
1135
|
+
readonly result: z.ZodObject<{
|
|
1136
|
+
stopped: z.ZodBoolean;
|
|
1137
|
+
}, z.core.$strict>;
|
|
1138
|
+
readonly kind: "unary";
|
|
1139
|
+
readonly since: "1.31";
|
|
1140
|
+
readonly errors: readonly ["INTERNAL"];
|
|
1141
|
+
};
|
|
917
1142
|
readonly "apps.list": {
|
|
918
1143
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
919
1144
|
readonly result: z.ZodObject<{
|
|
@@ -1798,6 +2023,7 @@ declare const OPS: {
|
|
|
1798
2023
|
window: z.ZodString;
|
|
1799
2024
|
take_off: z.ZodDefault<z.ZodBoolean>;
|
|
1800
2025
|
group: z.ZodDefault<z.ZodBoolean>;
|
|
2026
|
+
pin: z.ZodOptional<z.ZodBoolean>;
|
|
1801
2027
|
dry_run: z.ZodDefault<z.ZodBoolean>;
|
|
1802
2028
|
}, z.core.$strict>;
|
|
1803
2029
|
readonly result: z.ZodObject<{
|
|
@@ -1833,6 +2059,17 @@ declare const OPS: {
|
|
|
1833
2059
|
from_other_groups: z.ZodOptional<z.ZodInt>;
|
|
1834
2060
|
group_exists: z.ZodOptional<z.ZodBoolean>;
|
|
1835
2061
|
}, z.core.$strict>>;
|
|
2062
|
+
pin: z.ZodOptional<z.ZodObject<{
|
|
2063
|
+
ok: z.ZodBoolean;
|
|
2064
|
+
when: z.ZodEnum<{
|
|
2065
|
+
now: "now";
|
|
2066
|
+
next_close: "next_close";
|
|
2067
|
+
}>;
|
|
2068
|
+
pinned: z.ZodInt;
|
|
2069
|
+
already: z.ZodInt;
|
|
2070
|
+
queued: z.ZodInt;
|
|
2071
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2072
|
+
}, z.core.$strict>>;
|
|
1836
2073
|
message: z.ZodString;
|
|
1837
2074
|
}, z.core.$strict>;
|
|
1838
2075
|
readonly kind: "unary";
|
|
@@ -3992,8 +4229,8 @@ declare const EVENTS: {
|
|
|
3992
4229
|
readonly "session.control_changed": z.ZodObject<{
|
|
3993
4230
|
controller_client_id: z.ZodNullable<z.ZodString>;
|
|
3994
4231
|
your_mode: z.ZodEnum<{
|
|
3995
|
-
control: "control";
|
|
3996
4232
|
read_only: "read_only";
|
|
4233
|
+
control: "control";
|
|
3997
4234
|
}>;
|
|
3998
4235
|
}, z.core.$strict>;
|
|
3999
4236
|
readonly "models.progress": z.ZodObject<{
|