@ai-matrx/desktop-protocol 0.21.35 → 0.21.37
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 +29 -1
- package/dist/client.cjs +39 -2
- 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 +39 -2
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +91 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +45 -11
- package/dist/index.d.ts +45 -11
- package/dist/index.js +91 -13
- package/dist/index.js.map +1 -1
- package/dist/{models-Sz1BEet6.d.cts → models-B7jYxupg.d.cts} +210 -9
- package/dist/{models-Sz1BEet6.d.ts → models-B7jYxupg.d.ts} +210 -9
- package/dist/react.d.cts +50 -5
- package/dist/react.d.ts +50 -5
- package/generated/desktop-protocol.schema.json +249 -1
- package/package.json +2 -2
|
@@ -711,7 +711,7 @@ type OpSpec = {
|
|
|
711
711
|
readonly params: z.ZodType;
|
|
712
712
|
readonly result: z.ZodType;
|
|
713
713
|
readonly kind: "unary" | "stream" | "resource";
|
|
714
|
-
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";
|
|
714
|
+
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";
|
|
715
715
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
716
716
|
};
|
|
717
717
|
declare const OPS: {
|
|
@@ -820,6 +820,13 @@ declare const OPS: {
|
|
|
820
820
|
os_name: z.ZodNullable<z.ZodString>;
|
|
821
821
|
os_version: z.ZodNullable<z.ZodString>;
|
|
822
822
|
os_build: z.ZodNullable<z.ZodString>;
|
|
823
|
+
graphics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
824
|
+
name: z.ZodString;
|
|
825
|
+
vendor: z.ZodNullable<z.ZodString>;
|
|
826
|
+
memory_bytes: z.ZodNullable<z.ZodInt>;
|
|
827
|
+
memory_approximate: z.ZodBoolean;
|
|
828
|
+
unified: z.ZodBoolean;
|
|
829
|
+
}, z.core.$strict>>>;
|
|
823
830
|
}, z.core.$strict>;
|
|
824
831
|
readonly kind: "unary";
|
|
825
832
|
readonly since: "1.24";
|
|
@@ -1727,6 +1734,44 @@ declare const OPS: {
|
|
|
1727
1734
|
readonly since: "1.31";
|
|
1728
1735
|
readonly errors: readonly ["INTERNAL"];
|
|
1729
1736
|
};
|
|
1737
|
+
readonly "models.downloads.list": {
|
|
1738
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
1739
|
+
readonly result: z.ZodObject<{
|
|
1740
|
+
downloads: z.ZodArray<z.ZodObject<{
|
|
1741
|
+
key: z.ZodString;
|
|
1742
|
+
kind: z.ZodEnum<{
|
|
1743
|
+
runtime: "runtime";
|
|
1744
|
+
speech_model: "speech_model";
|
|
1745
|
+
text_model: "text_model";
|
|
1746
|
+
}>;
|
|
1747
|
+
model: z.ZodNullable<z.ZodString>;
|
|
1748
|
+
state: z.ZodEnum<{
|
|
1749
|
+
running: "running";
|
|
1750
|
+
stopped: "stopped";
|
|
1751
|
+
}>;
|
|
1752
|
+
step: z.ZodNullable<z.ZodString>;
|
|
1753
|
+
bytes_done: z.ZodInt;
|
|
1754
|
+
bytes_total: z.ZodNullable<z.ZodInt>;
|
|
1755
|
+
fraction: z.ZodNullable<z.ZodNumber>;
|
|
1756
|
+
started_at: z.ZodNullable<z.ZodInt>;
|
|
1757
|
+
path: z.ZodNullable<z.ZodString>;
|
|
1758
|
+
}, z.core.$strict>>;
|
|
1759
|
+
}, z.core.$strict>;
|
|
1760
|
+
readonly kind: "unary";
|
|
1761
|
+
readonly since: "1.45";
|
|
1762
|
+
readonly errors: readonly ["INTERNAL"];
|
|
1763
|
+
};
|
|
1764
|
+
readonly "models.downloads.cancel": {
|
|
1765
|
+
readonly params: z.ZodObject<{
|
|
1766
|
+
key: z.ZodString;
|
|
1767
|
+
}, z.core.$strict>;
|
|
1768
|
+
readonly result: z.ZodObject<{
|
|
1769
|
+
cancelled: z.ZodBoolean;
|
|
1770
|
+
}, z.core.$strict>;
|
|
1771
|
+
readonly kind: "unary";
|
|
1772
|
+
readonly since: "1.45";
|
|
1773
|
+
readonly errors: readonly ["NOT_FOUND", "INTERNAL"];
|
|
1774
|
+
};
|
|
1730
1775
|
readonly "apps.list": {
|
|
1731
1776
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
1732
1777
|
readonly result: z.ZodObject<{
|
|
@@ -6132,9 +6177,9 @@ declare const OPS: {
|
|
|
6132
6177
|
id: z.ZodString;
|
|
6133
6178
|
name: z.ZodString;
|
|
6134
6179
|
kind: z.ZodEnum<{
|
|
6180
|
+
key: "key";
|
|
6135
6181
|
login: "login";
|
|
6136
6182
|
passkey: "passkey";
|
|
6137
|
-
key: "key";
|
|
6138
6183
|
other: "other";
|
|
6139
6184
|
}>;
|
|
6140
6185
|
definition: z.ZodString;
|
|
@@ -6237,9 +6282,9 @@ declare const OPS: {
|
|
|
6237
6282
|
waiting: "waiting";
|
|
6238
6283
|
}>>;
|
|
6239
6284
|
sort: z.ZodOptional<z.ZodEnum<{
|
|
6285
|
+
started_at: "started_at";
|
|
6240
6286
|
status: "status";
|
|
6241
6287
|
cost: "cost";
|
|
6242
|
-
started_at: "started_at";
|
|
6243
6288
|
duration: "duration";
|
|
6244
6289
|
}>>;
|
|
6245
6290
|
descending: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -8260,6 +8305,38 @@ declare const SERVICES: {
|
|
|
8260
8305
|
stopped: z.ZodBoolean;
|
|
8261
8306
|
}, z.core.$strict>;
|
|
8262
8307
|
};
|
|
8308
|
+
readonly "ml.downloads": {
|
|
8309
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
8310
|
+
readonly result: z.ZodObject<{
|
|
8311
|
+
downloads: z.ZodArray<z.ZodObject<{
|
|
8312
|
+
key: z.ZodString;
|
|
8313
|
+
kind: z.ZodEnum<{
|
|
8314
|
+
runtime: "runtime";
|
|
8315
|
+
speech_model: "speech_model";
|
|
8316
|
+
text_model: "text_model";
|
|
8317
|
+
}>;
|
|
8318
|
+
model: z.ZodNullable<z.ZodString>;
|
|
8319
|
+
state: z.ZodEnum<{
|
|
8320
|
+
running: "running";
|
|
8321
|
+
stopped: "stopped";
|
|
8322
|
+
}>;
|
|
8323
|
+
step: z.ZodNullable<z.ZodString>;
|
|
8324
|
+
bytes_done: z.ZodInt;
|
|
8325
|
+
bytes_total: z.ZodNullable<z.ZodInt>;
|
|
8326
|
+
fraction: z.ZodNullable<z.ZodNumber>;
|
|
8327
|
+
started_at: z.ZodNullable<z.ZodInt>;
|
|
8328
|
+
path: z.ZodNullable<z.ZodString>;
|
|
8329
|
+
}, z.core.$strict>>;
|
|
8330
|
+
}, z.core.$strict>;
|
|
8331
|
+
};
|
|
8332
|
+
readonly "ml.download_cancel": {
|
|
8333
|
+
readonly params: z.ZodObject<{
|
|
8334
|
+
key: z.ZodString;
|
|
8335
|
+
}, z.core.$strict>;
|
|
8336
|
+
readonly result: z.ZodObject<{
|
|
8337
|
+
cancelled: z.ZodBoolean;
|
|
8338
|
+
}, z.core.$strict>;
|
|
8339
|
+
};
|
|
8263
8340
|
};
|
|
8264
8341
|
};
|
|
8265
8342
|
readonly coding: {
|
|
@@ -9232,6 +9309,20 @@ declare const NAMED_SCHEMAS: {
|
|
|
9232
9309
|
os_name: z.ZodNullable<z.ZodString>;
|
|
9233
9310
|
os_version: z.ZodNullable<z.ZodString>;
|
|
9234
9311
|
os_build: z.ZodNullable<z.ZodString>;
|
|
9312
|
+
graphics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9313
|
+
name: z.ZodString;
|
|
9314
|
+
vendor: z.ZodNullable<z.ZodString>;
|
|
9315
|
+
memory_bytes: z.ZodNullable<z.ZodInt>;
|
|
9316
|
+
memory_approximate: z.ZodBoolean;
|
|
9317
|
+
unified: z.ZodBoolean;
|
|
9318
|
+
}, z.core.$strict>>>;
|
|
9319
|
+
}, z.core.$strict>;
|
|
9320
|
+
readonly SysinfoGraphicsAdapter: z.ZodObject<{
|
|
9321
|
+
name: z.ZodString;
|
|
9322
|
+
vendor: z.ZodNullable<z.ZodString>;
|
|
9323
|
+
memory_bytes: z.ZodNullable<z.ZodInt>;
|
|
9324
|
+
memory_approximate: z.ZodBoolean;
|
|
9325
|
+
unified: z.ZodBoolean;
|
|
9235
9326
|
}, z.core.$strict>;
|
|
9236
9327
|
readonly FsKind: z.ZodEnum<{
|
|
9237
9328
|
file: "file";
|
|
@@ -10261,6 +10352,58 @@ declare const NAMED_SCHEMAS: {
|
|
|
10261
10352
|
readonly ModelsLlmStopResult: z.ZodObject<{
|
|
10262
10353
|
stopped: z.ZodBoolean;
|
|
10263
10354
|
}, z.core.$strict>;
|
|
10355
|
+
readonly DownloadKind: z.ZodEnum<{
|
|
10356
|
+
runtime: "runtime";
|
|
10357
|
+
speech_model: "speech_model";
|
|
10358
|
+
text_model: "text_model";
|
|
10359
|
+
}>;
|
|
10360
|
+
readonly DownloadRow: z.ZodObject<{
|
|
10361
|
+
key: z.ZodString;
|
|
10362
|
+
kind: z.ZodEnum<{
|
|
10363
|
+
runtime: "runtime";
|
|
10364
|
+
speech_model: "speech_model";
|
|
10365
|
+
text_model: "text_model";
|
|
10366
|
+
}>;
|
|
10367
|
+
model: z.ZodNullable<z.ZodString>;
|
|
10368
|
+
state: z.ZodEnum<{
|
|
10369
|
+
running: "running";
|
|
10370
|
+
stopped: "stopped";
|
|
10371
|
+
}>;
|
|
10372
|
+
step: z.ZodNullable<z.ZodString>;
|
|
10373
|
+
bytes_done: z.ZodInt;
|
|
10374
|
+
bytes_total: z.ZodNullable<z.ZodInt>;
|
|
10375
|
+
fraction: z.ZodNullable<z.ZodNumber>;
|
|
10376
|
+
started_at: z.ZodNullable<z.ZodInt>;
|
|
10377
|
+
path: z.ZodNullable<z.ZodString>;
|
|
10378
|
+
}, z.core.$strict>;
|
|
10379
|
+
readonly ModelsDownloadsListParams: z.ZodObject<{}, z.core.$strict>;
|
|
10380
|
+
readonly ModelsDownloadsListResult: z.ZodObject<{
|
|
10381
|
+
downloads: z.ZodArray<z.ZodObject<{
|
|
10382
|
+
key: z.ZodString;
|
|
10383
|
+
kind: z.ZodEnum<{
|
|
10384
|
+
runtime: "runtime";
|
|
10385
|
+
speech_model: "speech_model";
|
|
10386
|
+
text_model: "text_model";
|
|
10387
|
+
}>;
|
|
10388
|
+
model: z.ZodNullable<z.ZodString>;
|
|
10389
|
+
state: z.ZodEnum<{
|
|
10390
|
+
running: "running";
|
|
10391
|
+
stopped: "stopped";
|
|
10392
|
+
}>;
|
|
10393
|
+
step: z.ZodNullable<z.ZodString>;
|
|
10394
|
+
bytes_done: z.ZodInt;
|
|
10395
|
+
bytes_total: z.ZodNullable<z.ZodInt>;
|
|
10396
|
+
fraction: z.ZodNullable<z.ZodNumber>;
|
|
10397
|
+
started_at: z.ZodNullable<z.ZodInt>;
|
|
10398
|
+
path: z.ZodNullable<z.ZodString>;
|
|
10399
|
+
}, z.core.$strict>>;
|
|
10400
|
+
}, z.core.$strict>;
|
|
10401
|
+
readonly ModelsDownloadsCancelParams: z.ZodObject<{
|
|
10402
|
+
key: z.ZodString;
|
|
10403
|
+
}, z.core.$strict>;
|
|
10404
|
+
readonly ModelsDownloadsCancelResult: z.ZodObject<{
|
|
10405
|
+
cancelled: z.ZodBoolean;
|
|
10406
|
+
}, z.core.$strict>;
|
|
10264
10407
|
readonly CodingServiceCredentials: z.ZodObject<{
|
|
10265
10408
|
access_token: z.ZodString;
|
|
10266
10409
|
user_id: z.ZodString;
|
|
@@ -13936,6 +14079,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
13936
14079
|
suite: z.ZodString;
|
|
13937
14080
|
test: z.ZodString;
|
|
13938
14081
|
run_at_ms: z.ZodInt;
|
|
14082
|
+
calls_made: z.ZodOptional<z.ZodInt>;
|
|
13939
14083
|
}, z.core.$strict>;
|
|
13940
14084
|
readonly ToolResultsFile: z.ZodObject<{
|
|
13941
14085
|
schema: z.ZodLiteral<"matrx.tool-results.v1">;
|
|
@@ -13968,6 +14112,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
13968
14112
|
suite: z.ZodString;
|
|
13969
14113
|
test: z.ZodString;
|
|
13970
14114
|
run_at_ms: z.ZodInt;
|
|
14115
|
+
calls_made: z.ZodOptional<z.ZodInt>;
|
|
13971
14116
|
}, z.core.$strict>>;
|
|
13972
14117
|
}, z.core.$strict>;
|
|
13973
14118
|
readonly AppKey: z.ZodString;
|
|
@@ -16421,9 +16566,9 @@ declare const NAMED_SCHEMAS: {
|
|
|
16421
16566
|
}, z.core.$strict>>;
|
|
16422
16567
|
}, z.core.$strict>;
|
|
16423
16568
|
readonly VaultItemKind: z.ZodEnum<{
|
|
16569
|
+
key: "key";
|
|
16424
16570
|
login: "login";
|
|
16425
16571
|
passkey: "passkey";
|
|
16426
|
-
key: "key";
|
|
16427
16572
|
other: "other";
|
|
16428
16573
|
}>;
|
|
16429
16574
|
readonly VaultFieldSummary: z.ZodObject<{
|
|
@@ -16439,9 +16584,9 @@ declare const NAMED_SCHEMAS: {
|
|
|
16439
16584
|
id: z.ZodString;
|
|
16440
16585
|
name: z.ZodString;
|
|
16441
16586
|
kind: z.ZodEnum<{
|
|
16587
|
+
key: "key";
|
|
16442
16588
|
login: "login";
|
|
16443
16589
|
passkey: "passkey";
|
|
16444
|
-
key: "key";
|
|
16445
16590
|
other: "other";
|
|
16446
16591
|
}>;
|
|
16447
16592
|
definition: z.ZodString;
|
|
@@ -16474,9 +16619,9 @@ declare const NAMED_SCHEMAS: {
|
|
|
16474
16619
|
id: z.ZodString;
|
|
16475
16620
|
name: z.ZodString;
|
|
16476
16621
|
kind: z.ZodEnum<{
|
|
16622
|
+
key: "key";
|
|
16477
16623
|
login: "login";
|
|
16478
16624
|
passkey: "passkey";
|
|
16479
|
-
key: "key";
|
|
16480
16625
|
other: "other";
|
|
16481
16626
|
}>;
|
|
16482
16627
|
definition: z.ZodString;
|
|
@@ -16626,9 +16771,9 @@ declare const NAMED_SCHEMAS: {
|
|
|
16626
16771
|
has_transcript: z.ZodBoolean;
|
|
16627
16772
|
}, z.core.$strict>;
|
|
16628
16773
|
readonly AccountAgentRunSort: z.ZodEnum<{
|
|
16774
|
+
started_at: "started_at";
|
|
16629
16775
|
status: "status";
|
|
16630
16776
|
cost: "cost";
|
|
16631
|
-
started_at: "started_at";
|
|
16632
16777
|
duration: "duration";
|
|
16633
16778
|
}>;
|
|
16634
16779
|
readonly AccountAgentsRunsParams: z.ZodObject<{
|
|
@@ -16642,9 +16787,9 @@ declare const NAMED_SCHEMAS: {
|
|
|
16642
16787
|
waiting: "waiting";
|
|
16643
16788
|
}>>;
|
|
16644
16789
|
sort: z.ZodOptional<z.ZodEnum<{
|
|
16790
|
+
started_at: "started_at";
|
|
16645
16791
|
status: "status";
|
|
16646
16792
|
cost: "cost";
|
|
16647
|
-
started_at: "started_at";
|
|
16648
16793
|
duration: "duration";
|
|
16649
16794
|
}>>;
|
|
16650
16795
|
descending: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -18227,6 +18372,20 @@ declare const ModelsLlmStopParams: z.ZodObject<{}, z.core.$strict>;
|
|
|
18227
18372
|
declare const ModelsLlmStopResult: z.ZodObject<{
|
|
18228
18373
|
stopped: z.ZodBoolean;
|
|
18229
18374
|
}, z.core.$strict>;
|
|
18375
|
+
/** What a download fetches: a speech model, a language model, or a runtime (speech runtime, model server program). */
|
|
18376
|
+
declare const DownloadKind: z.ZodEnum<{
|
|
18377
|
+
runtime: "runtime";
|
|
18378
|
+
speech_model: "speech_model";
|
|
18379
|
+
text_model: "text_model";
|
|
18380
|
+
}>;
|
|
18381
|
+
declare const ModelsDownloadsListParams: z.ZodObject<{}, z.core.$strict>;
|
|
18382
|
+
/** Cancel one running download (every caller waiting on it gets CANCELLED); its half-done file stays for Resume. */
|
|
18383
|
+
declare const ModelsDownloadsCancelParams: z.ZodObject<{
|
|
18384
|
+
key: z.ZodString;
|
|
18385
|
+
}, z.core.$strict>;
|
|
18386
|
+
declare const ModelsDownloadsCancelResult: z.ZodObject<{
|
|
18387
|
+
cancelled: z.ZodBoolean;
|
|
18388
|
+
}, z.core.$strict>;
|
|
18230
18389
|
/** The supervisor's view of the `ml` service process. */
|
|
18231
18390
|
declare const MlServiceState: z.ZodEnum<{
|
|
18232
18391
|
failed: "failed";
|
|
@@ -18580,6 +18739,48 @@ declare const ModelsLlmStartResult: z.ZodObject<{
|
|
|
18580
18739
|
elapsed_ms: z.ZodInt;
|
|
18581
18740
|
}, z.core.$strict>;
|
|
18582
18741
|
type ModelsLlmStartResult = z.output<typeof ModelsLlmStartResult>;
|
|
18742
|
+
declare const DownloadRow: z.ZodObject<{
|
|
18743
|
+
key: z.ZodString;
|
|
18744
|
+
kind: z.ZodEnum<{
|
|
18745
|
+
runtime: "runtime";
|
|
18746
|
+
speech_model: "speech_model";
|
|
18747
|
+
text_model: "text_model";
|
|
18748
|
+
}>;
|
|
18749
|
+
model: z.ZodNullable<z.ZodString>;
|
|
18750
|
+
state: z.ZodEnum<{
|
|
18751
|
+
running: "running";
|
|
18752
|
+
stopped: "stopped";
|
|
18753
|
+
}>;
|
|
18754
|
+
step: z.ZodNullable<z.ZodString>;
|
|
18755
|
+
bytes_done: z.ZodInt;
|
|
18756
|
+
bytes_total: z.ZodNullable<z.ZodInt>;
|
|
18757
|
+
fraction: z.ZodNullable<z.ZodNumber>;
|
|
18758
|
+
started_at: z.ZodNullable<z.ZodInt>;
|
|
18759
|
+
path: z.ZodNullable<z.ZodString>;
|
|
18760
|
+
}, z.core.$strict>;
|
|
18761
|
+
type DownloadRow = z.output<typeof DownloadRow>;
|
|
18762
|
+
declare const ModelsDownloadsListResult: z.ZodObject<{
|
|
18763
|
+
downloads: z.ZodArray<z.ZodObject<{
|
|
18764
|
+
key: z.ZodString;
|
|
18765
|
+
kind: z.ZodEnum<{
|
|
18766
|
+
runtime: "runtime";
|
|
18767
|
+
speech_model: "speech_model";
|
|
18768
|
+
text_model: "text_model";
|
|
18769
|
+
}>;
|
|
18770
|
+
model: z.ZodNullable<z.ZodString>;
|
|
18771
|
+
state: z.ZodEnum<{
|
|
18772
|
+
running: "running";
|
|
18773
|
+
stopped: "stopped";
|
|
18774
|
+
}>;
|
|
18775
|
+
step: z.ZodNullable<z.ZodString>;
|
|
18776
|
+
bytes_done: z.ZodInt;
|
|
18777
|
+
bytes_total: z.ZodNullable<z.ZodInt>;
|
|
18778
|
+
fraction: z.ZodNullable<z.ZodNumber>;
|
|
18779
|
+
started_at: z.ZodNullable<z.ZodInt>;
|
|
18780
|
+
path: z.ZodNullable<z.ZodString>;
|
|
18781
|
+
}, z.core.$strict>>;
|
|
18782
|
+
}, z.core.$strict>;
|
|
18783
|
+
type ModelsDownloadsListResult = z.output<typeof ModelsDownloadsListResult>;
|
|
18583
18784
|
declare const TranscriptSegment: z.ZodObject<{
|
|
18584
18785
|
start_s: z.ZodNumber;
|
|
18585
18786
|
end_s: z.ZodNumber;
|
|
@@ -18587,4 +18788,4 @@ declare const TranscriptSegment: z.ZodObject<{
|
|
|
18587
18788
|
}, z.core.$strict>;
|
|
18588
18789
|
type TranscriptSegment = z.output<typeof TranscriptSegment>;
|
|
18589
18790
|
|
|
18590
|
-
export {
|
|
18791
|
+
export { ModelsInstallResult as $, type EventName as A, BEARER_PREFIX as B, type CloseOutcome as C, DesktopProtocolError as D, EndReason as E, FsPatchEditFailure as F, LlmRunning as G, HelloMsg as H, LlmServerState as I, MlInstallPhase as J, MlInstallProgress as K, Limits as L, ModelsTranscribeResult as M, MlRuntimeState as N, type OpName as O, MlServiceState as P, MlServiceStatus as Q, MlStatusParams as R, StreamMeta as S, TranscriptionModelId as T, MlStatusResult as U, ModelsDownloadsCancelParams as V, Welcome as W, ModelsDownloadsCancelResult as X, ModelsDownloadsListParams as Y, ModelsDownloadsListResult as Z, ModelsInstallParams as _, type OpParams as a, ModelsLlmInstallParams as a0, ModelsLlmInstallResult as a1, ModelsLlmStartParams as a2, ModelsLlmStartResult as a3, ModelsLlmStatusParams as a4, ModelsLlmStatusResult as a5, ModelsLlmStopParams as a6, ModelsLlmStopResult as a7, ModelsProgressEvent as a8, ModelsStatusParams as a9, ModelsStatusResult as aa, ModelsTranscribeParams as ab, NAMED_SCHEMAS as ac, type NamedSchemaId as ad, OpDescriptor as ae, type OpSpec as af, PING_TEXT as ag, PONG_TEXT as ah, ProtocolErrorBody as ai, RelayMsg as aj, RequestMsg as ak, ResponseMsg as al, SERVICES as am, SUBPROTOCOL as an, type ServiceId as ao, type ServiceOpName as ap, type ServiceOpSpec as aq, type ServiceSpec as ar, StreamMsg as as, TextModelId as at, TextModelInfo as au, TranscriptSegment as av, TranscriptionModelInfo as aw, closeRule as ax, isTerminalClose as ay, type OpResult as b, OPS as c, EVENTS as d, ClientType as e, MlProgress as f, CLOSE_RULES as g, CancelMsg as h, isDesktopProtocolError as i, ClientToCoreMsg as j, type CloseAction as k, CloseCode as l, CloseCodeValue as m, type CloseRule as n, CoreToClientMsg as o, CreditMsg as p, DownloadKind as q, DownloadRow as r, EndMsg as s, ErrorCode as t, type ErrorCodeName as u, type ErrorData as v, ErrorMsg as w, ErrorReason as x, type ErrorReasonName as y, EventMsg as z };
|
package/dist/react.d.cts
CHANGED
|
@@ -256,6 +256,13 @@ declare const OPS: {
|
|
|
256
256
|
os_name: z.ZodNullable<z.ZodString>;
|
|
257
257
|
os_version: z.ZodNullable<z.ZodString>;
|
|
258
258
|
os_build: z.ZodNullable<z.ZodString>;
|
|
259
|
+
graphics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
260
|
+
name: z.ZodString;
|
|
261
|
+
vendor: z.ZodNullable<z.ZodString>;
|
|
262
|
+
memory_bytes: z.ZodNullable<z.ZodInt>;
|
|
263
|
+
memory_approximate: z.ZodBoolean;
|
|
264
|
+
unified: z.ZodBoolean;
|
|
265
|
+
}, z.core.$strict>>>;
|
|
259
266
|
}, z.core.$strict>;
|
|
260
267
|
readonly kind: "unary";
|
|
261
268
|
readonly since: "1.24";
|
|
@@ -1163,6 +1170,44 @@ declare const OPS: {
|
|
|
1163
1170
|
readonly since: "1.31";
|
|
1164
1171
|
readonly errors: readonly ["INTERNAL"];
|
|
1165
1172
|
};
|
|
1173
|
+
readonly "models.downloads.list": {
|
|
1174
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
1175
|
+
readonly result: z.ZodObject<{
|
|
1176
|
+
downloads: z.ZodArray<z.ZodObject<{
|
|
1177
|
+
key: z.ZodString;
|
|
1178
|
+
kind: z.ZodEnum<{
|
|
1179
|
+
runtime: "runtime";
|
|
1180
|
+
speech_model: "speech_model";
|
|
1181
|
+
text_model: "text_model";
|
|
1182
|
+
}>;
|
|
1183
|
+
model: z.ZodNullable<z.ZodString>;
|
|
1184
|
+
state: z.ZodEnum<{
|
|
1185
|
+
running: "running";
|
|
1186
|
+
stopped: "stopped";
|
|
1187
|
+
}>;
|
|
1188
|
+
step: z.ZodNullable<z.ZodString>;
|
|
1189
|
+
bytes_done: z.ZodInt;
|
|
1190
|
+
bytes_total: z.ZodNullable<z.ZodInt>;
|
|
1191
|
+
fraction: z.ZodNullable<z.ZodNumber>;
|
|
1192
|
+
started_at: z.ZodNullable<z.ZodInt>;
|
|
1193
|
+
path: z.ZodNullable<z.ZodString>;
|
|
1194
|
+
}, z.core.$strict>>;
|
|
1195
|
+
}, z.core.$strict>;
|
|
1196
|
+
readonly kind: "unary";
|
|
1197
|
+
readonly since: "1.45";
|
|
1198
|
+
readonly errors: readonly ["INTERNAL"];
|
|
1199
|
+
};
|
|
1200
|
+
readonly "models.downloads.cancel": {
|
|
1201
|
+
readonly params: z.ZodObject<{
|
|
1202
|
+
key: z.ZodString;
|
|
1203
|
+
}, z.core.$strict>;
|
|
1204
|
+
readonly result: z.ZodObject<{
|
|
1205
|
+
cancelled: z.ZodBoolean;
|
|
1206
|
+
}, z.core.$strict>;
|
|
1207
|
+
readonly kind: "unary";
|
|
1208
|
+
readonly since: "1.45";
|
|
1209
|
+
readonly errors: readonly ["NOT_FOUND", "INTERNAL"];
|
|
1210
|
+
};
|
|
1166
1211
|
readonly "apps.list": {
|
|
1167
1212
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
1168
1213
|
readonly result: z.ZodObject<{
|
|
@@ -3663,9 +3708,9 @@ declare const OPS: {
|
|
|
3663
3708
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3664
3709
|
readonly result: z.ZodObject<{
|
|
3665
3710
|
state: z.ZodEnum<{
|
|
3711
|
+
cancelled: "cancelled";
|
|
3666
3712
|
done: "done";
|
|
3667
3713
|
blocked: "blocked";
|
|
3668
|
-
cancelled: "cancelled";
|
|
3669
3714
|
}>;
|
|
3670
3715
|
blocked: z.ZodNullable<z.ZodEnum<{
|
|
3671
3716
|
signed_out: "signed_out";
|
|
@@ -5673,9 +5718,9 @@ declare const OPS: {
|
|
|
5673
5718
|
warned: "warned";
|
|
5674
5719
|
}>>;
|
|
5675
5720
|
sort: z.ZodOptional<z.ZodEnum<{
|
|
5721
|
+
started_at: "started_at";
|
|
5676
5722
|
status: "status";
|
|
5677
5723
|
cost: "cost";
|
|
5678
|
-
started_at: "started_at";
|
|
5679
5724
|
duration: "duration";
|
|
5680
5725
|
}>>;
|
|
5681
5726
|
descending: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6717,8 +6762,8 @@ declare const OPS: {
|
|
|
6717
6762
|
created_at_ms: z.ZodInt;
|
|
6718
6763
|
next_run_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6719
6764
|
state: z.ZodEnum<{
|
|
6720
|
-
done: "done";
|
|
6721
6765
|
cancelled: "cancelled";
|
|
6766
|
+
done: "done";
|
|
6722
6767
|
active: "active";
|
|
6723
6768
|
}>;
|
|
6724
6769
|
recent: z.ZodArray<z.ZodObject<{
|
|
@@ -6750,8 +6795,8 @@ declare const OPS: {
|
|
|
6750
6795
|
created_at_ms: z.ZodInt;
|
|
6751
6796
|
next_run_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6752
6797
|
state: z.ZodEnum<{
|
|
6753
|
-
done: "done";
|
|
6754
6798
|
cancelled: "cancelled";
|
|
6799
|
+
done: "done";
|
|
6755
6800
|
active: "active";
|
|
6756
6801
|
}>;
|
|
6757
6802
|
recent: z.ZodArray<z.ZodObject<{
|
|
@@ -6783,8 +6828,8 @@ declare const OPS: {
|
|
|
6783
6828
|
created_at_ms: z.ZodInt;
|
|
6784
6829
|
next_run_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6785
6830
|
state: z.ZodEnum<{
|
|
6786
|
-
done: "done";
|
|
6787
6831
|
cancelled: "cancelled";
|
|
6832
|
+
done: "done";
|
|
6788
6833
|
active: "active";
|
|
6789
6834
|
}>;
|
|
6790
6835
|
recent: z.ZodArray<z.ZodObject<{
|
package/dist/react.d.ts
CHANGED
|
@@ -256,6 +256,13 @@ declare const OPS: {
|
|
|
256
256
|
os_name: z.ZodNullable<z.ZodString>;
|
|
257
257
|
os_version: z.ZodNullable<z.ZodString>;
|
|
258
258
|
os_build: z.ZodNullable<z.ZodString>;
|
|
259
|
+
graphics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
260
|
+
name: z.ZodString;
|
|
261
|
+
vendor: z.ZodNullable<z.ZodString>;
|
|
262
|
+
memory_bytes: z.ZodNullable<z.ZodInt>;
|
|
263
|
+
memory_approximate: z.ZodBoolean;
|
|
264
|
+
unified: z.ZodBoolean;
|
|
265
|
+
}, z.core.$strict>>>;
|
|
259
266
|
}, z.core.$strict>;
|
|
260
267
|
readonly kind: "unary";
|
|
261
268
|
readonly since: "1.24";
|
|
@@ -1163,6 +1170,44 @@ declare const OPS: {
|
|
|
1163
1170
|
readonly since: "1.31";
|
|
1164
1171
|
readonly errors: readonly ["INTERNAL"];
|
|
1165
1172
|
};
|
|
1173
|
+
readonly "models.downloads.list": {
|
|
1174
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
1175
|
+
readonly result: z.ZodObject<{
|
|
1176
|
+
downloads: z.ZodArray<z.ZodObject<{
|
|
1177
|
+
key: z.ZodString;
|
|
1178
|
+
kind: z.ZodEnum<{
|
|
1179
|
+
runtime: "runtime";
|
|
1180
|
+
speech_model: "speech_model";
|
|
1181
|
+
text_model: "text_model";
|
|
1182
|
+
}>;
|
|
1183
|
+
model: z.ZodNullable<z.ZodString>;
|
|
1184
|
+
state: z.ZodEnum<{
|
|
1185
|
+
running: "running";
|
|
1186
|
+
stopped: "stopped";
|
|
1187
|
+
}>;
|
|
1188
|
+
step: z.ZodNullable<z.ZodString>;
|
|
1189
|
+
bytes_done: z.ZodInt;
|
|
1190
|
+
bytes_total: z.ZodNullable<z.ZodInt>;
|
|
1191
|
+
fraction: z.ZodNullable<z.ZodNumber>;
|
|
1192
|
+
started_at: z.ZodNullable<z.ZodInt>;
|
|
1193
|
+
path: z.ZodNullable<z.ZodString>;
|
|
1194
|
+
}, z.core.$strict>>;
|
|
1195
|
+
}, z.core.$strict>;
|
|
1196
|
+
readonly kind: "unary";
|
|
1197
|
+
readonly since: "1.45";
|
|
1198
|
+
readonly errors: readonly ["INTERNAL"];
|
|
1199
|
+
};
|
|
1200
|
+
readonly "models.downloads.cancel": {
|
|
1201
|
+
readonly params: z.ZodObject<{
|
|
1202
|
+
key: z.ZodString;
|
|
1203
|
+
}, z.core.$strict>;
|
|
1204
|
+
readonly result: z.ZodObject<{
|
|
1205
|
+
cancelled: z.ZodBoolean;
|
|
1206
|
+
}, z.core.$strict>;
|
|
1207
|
+
readonly kind: "unary";
|
|
1208
|
+
readonly since: "1.45";
|
|
1209
|
+
readonly errors: readonly ["NOT_FOUND", "INTERNAL"];
|
|
1210
|
+
};
|
|
1166
1211
|
readonly "apps.list": {
|
|
1167
1212
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
1168
1213
|
readonly result: z.ZodObject<{
|
|
@@ -3663,9 +3708,9 @@ declare const OPS: {
|
|
|
3663
3708
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3664
3709
|
readonly result: z.ZodObject<{
|
|
3665
3710
|
state: z.ZodEnum<{
|
|
3711
|
+
cancelled: "cancelled";
|
|
3666
3712
|
done: "done";
|
|
3667
3713
|
blocked: "blocked";
|
|
3668
|
-
cancelled: "cancelled";
|
|
3669
3714
|
}>;
|
|
3670
3715
|
blocked: z.ZodNullable<z.ZodEnum<{
|
|
3671
3716
|
signed_out: "signed_out";
|
|
@@ -5673,9 +5718,9 @@ declare const OPS: {
|
|
|
5673
5718
|
warned: "warned";
|
|
5674
5719
|
}>>;
|
|
5675
5720
|
sort: z.ZodOptional<z.ZodEnum<{
|
|
5721
|
+
started_at: "started_at";
|
|
5676
5722
|
status: "status";
|
|
5677
5723
|
cost: "cost";
|
|
5678
|
-
started_at: "started_at";
|
|
5679
5724
|
duration: "duration";
|
|
5680
5725
|
}>>;
|
|
5681
5726
|
descending: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6717,8 +6762,8 @@ declare const OPS: {
|
|
|
6717
6762
|
created_at_ms: z.ZodInt;
|
|
6718
6763
|
next_run_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6719
6764
|
state: z.ZodEnum<{
|
|
6720
|
-
done: "done";
|
|
6721
6765
|
cancelled: "cancelled";
|
|
6766
|
+
done: "done";
|
|
6722
6767
|
active: "active";
|
|
6723
6768
|
}>;
|
|
6724
6769
|
recent: z.ZodArray<z.ZodObject<{
|
|
@@ -6750,8 +6795,8 @@ declare const OPS: {
|
|
|
6750
6795
|
created_at_ms: z.ZodInt;
|
|
6751
6796
|
next_run_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6752
6797
|
state: z.ZodEnum<{
|
|
6753
|
-
done: "done";
|
|
6754
6798
|
cancelled: "cancelled";
|
|
6799
|
+
done: "done";
|
|
6755
6800
|
active: "active";
|
|
6756
6801
|
}>;
|
|
6757
6802
|
recent: z.ZodArray<z.ZodObject<{
|
|
@@ -6783,8 +6828,8 @@ declare const OPS: {
|
|
|
6783
6828
|
created_at_ms: z.ZodInt;
|
|
6784
6829
|
next_run_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6785
6830
|
state: z.ZodEnum<{
|
|
6786
|
-
done: "done";
|
|
6787
6831
|
cancelled: "cancelled";
|
|
6832
|
+
done: "done";
|
|
6788
6833
|
active: "active";
|
|
6789
6834
|
}>;
|
|
6790
6835
|
recent: z.ZodArray<z.ZodObject<{
|