@ai-matrx/desktop-protocol 0.21.42 → 0.21.44
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 +23 -2
- package/dist/client.cjs +59 -17
- 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 +59 -17
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +78 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +23 -8
- package/dist/index.d.ts +23 -8
- package/dist/index.js +78 -19
- package/dist/index.js.map +1 -1
- package/dist/{models-Ut2nuRzV.d.cts → models-CCRnwbz8.d.cts} +305 -606
- package/dist/{models-Ut2nuRzV.d.ts → models-CCRnwbz8.d.ts} +305 -606
- package/dist/react.d.cts +22 -120
- package/dist/react.d.ts +22 -120
- package/generated/desktop-protocol.schema.json +239 -31
- package/package.json +4 -4
|
@@ -1504,22 +1504,12 @@ declare const OPS: {
|
|
|
1504
1504
|
cuda: "cuda";
|
|
1505
1505
|
}>;
|
|
1506
1506
|
models: z.ZodArray<z.ZodObject<{
|
|
1507
|
-
id: z.
|
|
1508
|
-
tiny: "tiny";
|
|
1509
|
-
base: "base";
|
|
1510
|
-
small: "small";
|
|
1511
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
1512
|
-
}>;
|
|
1507
|
+
id: z.ZodString;
|
|
1513
1508
|
size_bytes: z.ZodInt;
|
|
1514
1509
|
multilingual: z.ZodBoolean;
|
|
1515
1510
|
installed: z.ZodBoolean;
|
|
1516
1511
|
}, z.core.$strict>>;
|
|
1517
|
-
default_model: z.
|
|
1518
|
-
tiny: "tiny";
|
|
1519
|
-
base: "base";
|
|
1520
|
-
small: "small";
|
|
1521
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
1522
|
-
}>;
|
|
1512
|
+
default_model: z.ZodString;
|
|
1523
1513
|
}, z.core.$strict>>;
|
|
1524
1514
|
}, z.core.$strict>;
|
|
1525
1515
|
readonly kind: "unary";
|
|
@@ -1528,20 +1518,10 @@ declare const OPS: {
|
|
|
1528
1518
|
};
|
|
1529
1519
|
readonly "models.install": {
|
|
1530
1520
|
readonly params: z.ZodObject<{
|
|
1531
|
-
model: z.ZodOptional<z.
|
|
1532
|
-
tiny: "tiny";
|
|
1533
|
-
base: "base";
|
|
1534
|
-
small: "small";
|
|
1535
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
1536
|
-
}>>;
|
|
1521
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1537
1522
|
}, z.core.$strict>;
|
|
1538
1523
|
readonly result: z.ZodObject<{
|
|
1539
|
-
model: z.
|
|
1540
|
-
tiny: "tiny";
|
|
1541
|
-
base: "base";
|
|
1542
|
-
small: "small";
|
|
1543
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
1544
|
-
}>;
|
|
1524
|
+
model: z.ZodString;
|
|
1545
1525
|
elapsed_ms: z.ZodInt;
|
|
1546
1526
|
}, z.core.$strict>;
|
|
1547
1527
|
readonly kind: "unary";
|
|
@@ -1551,12 +1531,7 @@ declare const OPS: {
|
|
|
1551
1531
|
readonly "models.transcribe": {
|
|
1552
1532
|
readonly params: z.ZodObject<{
|
|
1553
1533
|
path: z.ZodString;
|
|
1554
|
-
model: z.ZodOptional<z.
|
|
1555
|
-
tiny: "tiny";
|
|
1556
|
-
base: "base";
|
|
1557
|
-
small: "small";
|
|
1558
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
1559
|
-
}>>;
|
|
1534
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1560
1535
|
language: z.ZodOptional<z.ZodString>;
|
|
1561
1536
|
task: z.ZodDefault<z.ZodEnum<{
|
|
1562
1537
|
transcribe: "transcribe";
|
|
@@ -1568,12 +1543,7 @@ declare const OPS: {
|
|
|
1568
1543
|
language: z.ZodString;
|
|
1569
1544
|
language_probability: z.ZodNumber;
|
|
1570
1545
|
duration_s: z.ZodNumber;
|
|
1571
|
-
model: z.
|
|
1572
|
-
tiny: "tiny";
|
|
1573
|
-
base: "base";
|
|
1574
|
-
small: "small";
|
|
1575
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
1576
|
-
}>;
|
|
1546
|
+
model: z.ZodString;
|
|
1577
1547
|
segments: z.ZodArray<z.ZodObject<{
|
|
1578
1548
|
start_s: z.ZodNumber;
|
|
1579
1549
|
end_s: z.ZodNumber;
|
|
@@ -1595,48 +1565,18 @@ declare const OPS: {
|
|
|
1595
1565
|
starting: "starting";
|
|
1596
1566
|
}>;
|
|
1597
1567
|
models: z.ZodArray<z.ZodObject<{
|
|
1598
|
-
id: z.
|
|
1599
|
-
"smollm2-135m": "smollm2-135m";
|
|
1600
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
1601
|
-
"phi-4-mini": "phi-4-mini";
|
|
1602
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
1603
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
1604
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1605
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
1606
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
1607
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1608
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1609
|
-
}>;
|
|
1568
|
+
id: z.ZodString;
|
|
1610
1569
|
size_bytes: z.ZodInt;
|
|
1611
1570
|
installed: z.ZodBoolean;
|
|
1612
1571
|
}, z.core.$strict>>;
|
|
1613
1572
|
running: z.ZodNullable<z.ZodObject<{
|
|
1614
|
-
id: z.
|
|
1615
|
-
"smollm2-135m": "smollm2-135m";
|
|
1616
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
1617
|
-
"phi-4-mini": "phi-4-mini";
|
|
1618
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
1619
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
1620
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1621
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
1622
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
1623
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1624
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1625
|
-
}>;
|
|
1573
|
+
id: z.ZodString;
|
|
1626
1574
|
port: z.ZodInt;
|
|
1575
|
+
context_length: z.ZodOptional<z.ZodInt>;
|
|
1576
|
+
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
1577
|
+
threads: z.ZodOptional<z.ZodInt>;
|
|
1627
1578
|
}, z.core.$strict>>;
|
|
1628
|
-
starting: z.ZodNullable<z.
|
|
1629
|
-
"smollm2-135m": "smollm2-135m";
|
|
1630
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
1631
|
-
"phi-4-mini": "phi-4-mini";
|
|
1632
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
1633
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
1634
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1635
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
1636
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
1637
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1638
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1639
|
-
}>>;
|
|
1579
|
+
starting: z.ZodNullable<z.ZodString>;
|
|
1640
1580
|
install: z.ZodNullable<z.ZodObject<{
|
|
1641
1581
|
phase: z.ZodEnum<{
|
|
1642
1582
|
model: "model";
|
|
@@ -1655,32 +1595,10 @@ declare const OPS: {
|
|
|
1655
1595
|
};
|
|
1656
1596
|
readonly "models.llm.install": {
|
|
1657
1597
|
readonly params: z.ZodObject<{
|
|
1658
|
-
model: z.
|
|
1659
|
-
"smollm2-135m": "smollm2-135m";
|
|
1660
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
1661
|
-
"phi-4-mini": "phi-4-mini";
|
|
1662
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
1663
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
1664
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1665
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
1666
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
1667
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1668
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1669
|
-
}>;
|
|
1598
|
+
model: z.ZodString;
|
|
1670
1599
|
}, z.core.$strict>;
|
|
1671
1600
|
readonly result: z.ZodObject<{
|
|
1672
|
-
model: z.
|
|
1673
|
-
"smollm2-135m": "smollm2-135m";
|
|
1674
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
1675
|
-
"phi-4-mini": "phi-4-mini";
|
|
1676
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
1677
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
1678
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1679
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
1680
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
1681
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1682
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1683
|
-
}>;
|
|
1601
|
+
model: z.ZodString;
|
|
1684
1602
|
elapsed_ms: z.ZodInt;
|
|
1685
1603
|
}, z.core.$strict>;
|
|
1686
1604
|
readonly kind: "unary";
|
|
@@ -1689,35 +1607,19 @@ declare const OPS: {
|
|
|
1689
1607
|
};
|
|
1690
1608
|
readonly "models.llm.start": {
|
|
1691
1609
|
readonly params: z.ZodObject<{
|
|
1692
|
-
model: z.
|
|
1693
|
-
"smollm2-135m": "smollm2-135m";
|
|
1694
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
1695
|
-
"phi-4-mini": "phi-4-mini";
|
|
1696
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
1697
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
1698
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1699
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
1700
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
1701
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1702
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1703
|
-
}>;
|
|
1610
|
+
model: z.ZodString;
|
|
1704
1611
|
context_length: z.ZodOptional<z.ZodInt>;
|
|
1612
|
+
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
1613
|
+
threads: z.ZodOptional<z.ZodInt>;
|
|
1614
|
+
load_timeout_s: z.ZodOptional<z.ZodInt>;
|
|
1705
1615
|
}, z.core.$strict>;
|
|
1706
1616
|
readonly result: z.ZodObject<{
|
|
1707
1617
|
running: z.ZodObject<{
|
|
1708
|
-
id: z.
|
|
1709
|
-
"smollm2-135m": "smollm2-135m";
|
|
1710
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
1711
|
-
"phi-4-mini": "phi-4-mini";
|
|
1712
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
1713
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
1714
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1715
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
1716
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
1717
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1718
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1719
|
-
}>;
|
|
1618
|
+
id: z.ZodString;
|
|
1720
1619
|
port: z.ZodInt;
|
|
1620
|
+
context_length: z.ZodOptional<z.ZodInt>;
|
|
1621
|
+
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
1622
|
+
threads: z.ZodOptional<z.ZodInt>;
|
|
1721
1623
|
}, z.core.$strict>;
|
|
1722
1624
|
elapsed_ms: z.ZodInt;
|
|
1723
1625
|
}, z.core.$strict>;
|
|
@@ -8181,52 +8083,27 @@ declare const SERVICES: {
|
|
|
8181
8083
|
cuda: "cuda";
|
|
8182
8084
|
}>;
|
|
8183
8085
|
models: z.ZodArray<z.ZodObject<{
|
|
8184
|
-
id: z.
|
|
8185
|
-
tiny: "tiny";
|
|
8186
|
-
base: "base";
|
|
8187
|
-
small: "small";
|
|
8188
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
8189
|
-
}>;
|
|
8086
|
+
id: z.ZodString;
|
|
8190
8087
|
size_bytes: z.ZodInt;
|
|
8191
8088
|
multilingual: z.ZodBoolean;
|
|
8192
8089
|
installed: z.ZodBoolean;
|
|
8193
8090
|
}, z.core.$strict>>;
|
|
8194
|
-
default_model: z.
|
|
8195
|
-
tiny: "tiny";
|
|
8196
|
-
base: "base";
|
|
8197
|
-
small: "small";
|
|
8198
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
8199
|
-
}>;
|
|
8091
|
+
default_model: z.ZodString;
|
|
8200
8092
|
}, z.core.$strict>;
|
|
8201
8093
|
};
|
|
8202
8094
|
readonly "ml.install": {
|
|
8203
8095
|
readonly params: z.ZodObject<{
|
|
8204
|
-
model: z.ZodOptional<z.
|
|
8205
|
-
tiny: "tiny";
|
|
8206
|
-
base: "base";
|
|
8207
|
-
small: "small";
|
|
8208
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
8209
|
-
}>>;
|
|
8096
|
+
model: z.ZodOptional<z.ZodString>;
|
|
8210
8097
|
}, z.core.$strict>;
|
|
8211
8098
|
readonly result: z.ZodObject<{
|
|
8212
|
-
model: z.
|
|
8213
|
-
tiny: "tiny";
|
|
8214
|
-
base: "base";
|
|
8215
|
-
small: "small";
|
|
8216
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
8217
|
-
}>;
|
|
8099
|
+
model: z.ZodString;
|
|
8218
8100
|
elapsed_ms: z.ZodInt;
|
|
8219
8101
|
}, z.core.$strict>;
|
|
8220
8102
|
};
|
|
8221
8103
|
readonly "ml.transcribe": {
|
|
8222
8104
|
readonly params: z.ZodObject<{
|
|
8223
8105
|
path: z.ZodString;
|
|
8224
|
-
model: z.ZodOptional<z.
|
|
8225
|
-
tiny: "tiny";
|
|
8226
|
-
base: "base";
|
|
8227
|
-
small: "small";
|
|
8228
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
8229
|
-
}>>;
|
|
8106
|
+
model: z.ZodOptional<z.ZodString>;
|
|
8230
8107
|
language: z.ZodOptional<z.ZodString>;
|
|
8231
8108
|
task: z.ZodDefault<z.ZodEnum<{
|
|
8232
8109
|
transcribe: "transcribe";
|
|
@@ -8238,12 +8115,7 @@ declare const SERVICES: {
|
|
|
8238
8115
|
language: z.ZodString;
|
|
8239
8116
|
language_probability: z.ZodNumber;
|
|
8240
8117
|
duration_s: z.ZodNumber;
|
|
8241
|
-
model: z.
|
|
8242
|
-
tiny: "tiny";
|
|
8243
|
-
base: "base";
|
|
8244
|
-
small: "small";
|
|
8245
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
8246
|
-
}>;
|
|
8118
|
+
model: z.ZodString;
|
|
8247
8119
|
segments: z.ZodArray<z.ZodObject<{
|
|
8248
8120
|
start_s: z.ZodNumber;
|
|
8249
8121
|
end_s: z.ZodNumber;
|
|
@@ -8262,48 +8134,18 @@ declare const SERVICES: {
|
|
|
8262
8134
|
starting: "starting";
|
|
8263
8135
|
}>;
|
|
8264
8136
|
models: z.ZodArray<z.ZodObject<{
|
|
8265
|
-
id: z.
|
|
8266
|
-
"smollm2-135m": "smollm2-135m";
|
|
8267
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
8268
|
-
"phi-4-mini": "phi-4-mini";
|
|
8269
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
8270
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
8271
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
8272
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
8273
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
8274
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
8275
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
8276
|
-
}>;
|
|
8137
|
+
id: z.ZodString;
|
|
8277
8138
|
size_bytes: z.ZodInt;
|
|
8278
8139
|
installed: z.ZodBoolean;
|
|
8279
8140
|
}, z.core.$strict>>;
|
|
8280
8141
|
running: z.ZodNullable<z.ZodObject<{
|
|
8281
|
-
id: z.
|
|
8282
|
-
"smollm2-135m": "smollm2-135m";
|
|
8283
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
8284
|
-
"phi-4-mini": "phi-4-mini";
|
|
8285
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
8286
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
8287
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
8288
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
8289
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
8290
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
8291
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
8292
|
-
}>;
|
|
8142
|
+
id: z.ZodString;
|
|
8293
8143
|
port: z.ZodInt;
|
|
8144
|
+
context_length: z.ZodOptional<z.ZodInt>;
|
|
8145
|
+
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
8146
|
+
threads: z.ZodOptional<z.ZodInt>;
|
|
8294
8147
|
}, z.core.$strict>>;
|
|
8295
|
-
starting: z.ZodNullable<z.
|
|
8296
|
-
"smollm2-135m": "smollm2-135m";
|
|
8297
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
8298
|
-
"phi-4-mini": "phi-4-mini";
|
|
8299
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
8300
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
8301
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
8302
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
8303
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
8304
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
8305
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
8306
|
-
}>>;
|
|
8148
|
+
starting: z.ZodNullable<z.ZodString>;
|
|
8307
8149
|
install: z.ZodNullable<z.ZodObject<{
|
|
8308
8150
|
phase: z.ZodEnum<{
|
|
8309
8151
|
model: "model";
|
|
@@ -8319,66 +8161,28 @@ declare const SERVICES: {
|
|
|
8319
8161
|
};
|
|
8320
8162
|
readonly "ml.llm_install": {
|
|
8321
8163
|
readonly params: z.ZodObject<{
|
|
8322
|
-
model: z.
|
|
8323
|
-
"smollm2-135m": "smollm2-135m";
|
|
8324
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
8325
|
-
"phi-4-mini": "phi-4-mini";
|
|
8326
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
8327
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
8328
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
8329
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
8330
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
8331
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
8332
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
8333
|
-
}>;
|
|
8164
|
+
model: z.ZodString;
|
|
8334
8165
|
}, z.core.$strict>;
|
|
8335
8166
|
readonly result: z.ZodObject<{
|
|
8336
|
-
model: z.
|
|
8337
|
-
"smollm2-135m": "smollm2-135m";
|
|
8338
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
8339
|
-
"phi-4-mini": "phi-4-mini";
|
|
8340
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
8341
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
8342
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
8343
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
8344
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
8345
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
8346
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
8347
|
-
}>;
|
|
8167
|
+
model: z.ZodString;
|
|
8348
8168
|
elapsed_ms: z.ZodInt;
|
|
8349
8169
|
}, z.core.$strict>;
|
|
8350
8170
|
};
|
|
8351
8171
|
readonly "ml.llm_start": {
|
|
8352
8172
|
readonly params: z.ZodObject<{
|
|
8353
|
-
model: z.
|
|
8354
|
-
"smollm2-135m": "smollm2-135m";
|
|
8355
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
8356
|
-
"phi-4-mini": "phi-4-mini";
|
|
8357
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
8358
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
8359
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
8360
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
8361
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
8362
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
8363
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
8364
|
-
}>;
|
|
8173
|
+
model: z.ZodString;
|
|
8365
8174
|
context_length: z.ZodOptional<z.ZodInt>;
|
|
8175
|
+
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
8176
|
+
threads: z.ZodOptional<z.ZodInt>;
|
|
8177
|
+
load_timeout_s: z.ZodOptional<z.ZodInt>;
|
|
8366
8178
|
}, z.core.$strict>;
|
|
8367
8179
|
readonly result: z.ZodObject<{
|
|
8368
8180
|
running: z.ZodObject<{
|
|
8369
|
-
id: z.
|
|
8370
|
-
"smollm2-135m": "smollm2-135m";
|
|
8371
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
8372
|
-
"phi-4-mini": "phi-4-mini";
|
|
8373
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
8374
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
8375
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
8376
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
8377
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
8378
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
8379
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
8380
|
-
}>;
|
|
8181
|
+
id: z.ZodString;
|
|
8381
8182
|
port: z.ZodInt;
|
|
8183
|
+
context_length: z.ZodOptional<z.ZodInt>;
|
|
8184
|
+
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
8185
|
+
threads: z.ZodOptional<z.ZodInt>;
|
|
8382
8186
|
}, z.core.$strict>;
|
|
8383
8187
|
elapsed_ms: z.ZodInt;
|
|
8384
8188
|
}, z.core.$strict>;
|
|
@@ -8422,6 +8226,48 @@ declare const SERVICES: {
|
|
|
8422
8226
|
cancelled: z.ZodBoolean;
|
|
8423
8227
|
}, z.core.$strict>;
|
|
8424
8228
|
};
|
|
8229
|
+
readonly "ml.catalog_set": {
|
|
8230
|
+
readonly params: z.ZodObject<{
|
|
8231
|
+
text: z.ZodArray<z.ZodObject<{
|
|
8232
|
+
key: z.ZodString;
|
|
8233
|
+
variant: z.ZodString;
|
|
8234
|
+
revision: z.ZodString;
|
|
8235
|
+
multilingual: z.ZodBoolean;
|
|
8236
|
+
files: z.ZodArray<z.ZodObject<{
|
|
8237
|
+
path: z.ZodString;
|
|
8238
|
+
url: z.ZodString;
|
|
8239
|
+
size_bytes: z.ZodInt;
|
|
8240
|
+
sha256: z.ZodString;
|
|
8241
|
+
role: z.ZodString;
|
|
8242
|
+
}, z.core.$strict>>;
|
|
8243
|
+
}, z.core.$strict>>;
|
|
8244
|
+
transcription: z.ZodArray<z.ZodObject<{
|
|
8245
|
+
key: z.ZodString;
|
|
8246
|
+
variant: z.ZodString;
|
|
8247
|
+
revision: z.ZodString;
|
|
8248
|
+
multilingual: z.ZodBoolean;
|
|
8249
|
+
files: z.ZodArray<z.ZodObject<{
|
|
8250
|
+
path: z.ZodString;
|
|
8251
|
+
url: z.ZodString;
|
|
8252
|
+
size_bytes: z.ZodInt;
|
|
8253
|
+
sha256: z.ZodString;
|
|
8254
|
+
role: z.ZodString;
|
|
8255
|
+
}, z.core.$strict>>;
|
|
8256
|
+
}, z.core.$strict>>;
|
|
8257
|
+
llama_server: z.ZodNullable<z.ZodObject<{
|
|
8258
|
+
version: z.ZodString;
|
|
8259
|
+
url: z.ZodString;
|
|
8260
|
+
size_bytes: z.ZodInt;
|
|
8261
|
+
sha256: z.ZodString;
|
|
8262
|
+
}, z.core.$strict>>;
|
|
8263
|
+
default_transcription: z.ZodString;
|
|
8264
|
+
catalog_updated_at: z.ZodString;
|
|
8265
|
+
}, z.core.$strict>;
|
|
8266
|
+
readonly result: z.ZodObject<{
|
|
8267
|
+
text: z.ZodInt;
|
|
8268
|
+
transcription: z.ZodInt;
|
|
8269
|
+
}, z.core.$strict>;
|
|
8270
|
+
};
|
|
8425
8271
|
};
|
|
8426
8272
|
};
|
|
8427
8273
|
readonly coding: {
|
|
@@ -10152,12 +9998,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
10152
9998
|
control: "control";
|
|
10153
9999
|
}>;
|
|
10154
10000
|
}, z.core.$strict>;
|
|
10155
|
-
readonly TranscriptionModelId: z.
|
|
10156
|
-
tiny: "tiny";
|
|
10157
|
-
base: "base";
|
|
10158
|
-
small: "small";
|
|
10159
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
10160
|
-
}>;
|
|
10001
|
+
readonly TranscriptionModelId: z.ZodString;
|
|
10161
10002
|
readonly MlRuntimeState: z.ZodEnum<{
|
|
10162
10003
|
not_installed: "not_installed";
|
|
10163
10004
|
installing: "installing";
|
|
@@ -10180,12 +10021,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
10180
10021
|
bytes_total: z.ZodNullable<z.ZodInt>;
|
|
10181
10022
|
}, z.core.$strict>;
|
|
10182
10023
|
readonly TranscriptionModelInfo: z.ZodObject<{
|
|
10183
|
-
id: z.
|
|
10184
|
-
tiny: "tiny";
|
|
10185
|
-
base: "base";
|
|
10186
|
-
small: "small";
|
|
10187
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
10188
|
-
}>;
|
|
10024
|
+
id: z.ZodString;
|
|
10189
10025
|
size_bytes: z.ZodInt;
|
|
10190
10026
|
multilingual: z.ZodBoolean;
|
|
10191
10027
|
installed: z.ZodBoolean;
|
|
@@ -10219,48 +10055,23 @@ declare const NAMED_SCHEMAS: {
|
|
|
10219
10055
|
cuda: "cuda";
|
|
10220
10056
|
}>;
|
|
10221
10057
|
models: z.ZodArray<z.ZodObject<{
|
|
10222
|
-
id: z.
|
|
10223
|
-
tiny: "tiny";
|
|
10224
|
-
base: "base";
|
|
10225
|
-
small: "small";
|
|
10226
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
10227
|
-
}>;
|
|
10058
|
+
id: z.ZodString;
|
|
10228
10059
|
size_bytes: z.ZodInt;
|
|
10229
10060
|
multilingual: z.ZodBoolean;
|
|
10230
10061
|
installed: z.ZodBoolean;
|
|
10231
10062
|
}, z.core.$strict>>;
|
|
10232
|
-
default_model: z.
|
|
10233
|
-
tiny: "tiny";
|
|
10234
|
-
base: "base";
|
|
10235
|
-
small: "small";
|
|
10236
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
10237
|
-
}>;
|
|
10063
|
+
default_model: z.ZodString;
|
|
10238
10064
|
}, z.core.$strict>;
|
|
10239
10065
|
readonly ModelsInstallParams: z.ZodObject<{
|
|
10240
|
-
model: z.ZodOptional<z.
|
|
10241
|
-
tiny: "tiny";
|
|
10242
|
-
base: "base";
|
|
10243
|
-
small: "small";
|
|
10244
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
10245
|
-
}>>;
|
|
10066
|
+
model: z.ZodOptional<z.ZodString>;
|
|
10246
10067
|
}, z.core.$strict>;
|
|
10247
10068
|
readonly ModelsInstallResult: z.ZodObject<{
|
|
10248
|
-
model: z.
|
|
10249
|
-
tiny: "tiny";
|
|
10250
|
-
base: "base";
|
|
10251
|
-
small: "small";
|
|
10252
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
10253
|
-
}>;
|
|
10069
|
+
model: z.ZodString;
|
|
10254
10070
|
elapsed_ms: z.ZodInt;
|
|
10255
10071
|
}, z.core.$strict>;
|
|
10256
10072
|
readonly ModelsTranscribeParams: z.ZodObject<{
|
|
10257
10073
|
path: z.ZodString;
|
|
10258
|
-
model: z.ZodOptional<z.
|
|
10259
|
-
tiny: "tiny";
|
|
10260
|
-
base: "base";
|
|
10261
|
-
small: "small";
|
|
10262
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
10263
|
-
}>>;
|
|
10074
|
+
model: z.ZodOptional<z.ZodString>;
|
|
10264
10075
|
language: z.ZodOptional<z.ZodString>;
|
|
10265
10076
|
task: z.ZodDefault<z.ZodEnum<{
|
|
10266
10077
|
transcribe: "transcribe";
|
|
@@ -10272,12 +10083,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
10272
10083
|
language: z.ZodString;
|
|
10273
10084
|
language_probability: z.ZodNumber;
|
|
10274
10085
|
duration_s: z.ZodNumber;
|
|
10275
|
-
model: z.
|
|
10276
|
-
tiny: "tiny";
|
|
10277
|
-
base: "base";
|
|
10278
|
-
small: "small";
|
|
10279
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
10280
|
-
}>;
|
|
10086
|
+
model: z.ZodString;
|
|
10281
10087
|
segments: z.ZodArray<z.ZodObject<{
|
|
10282
10088
|
start_s: z.ZodNumber;
|
|
10283
10089
|
end_s: z.ZodNumber;
|
|
@@ -10365,22 +10171,12 @@ declare const NAMED_SCHEMAS: {
|
|
|
10365
10171
|
cuda: "cuda";
|
|
10366
10172
|
}>;
|
|
10367
10173
|
models: z.ZodArray<z.ZodObject<{
|
|
10368
|
-
id: z.
|
|
10369
|
-
tiny: "tiny";
|
|
10370
|
-
base: "base";
|
|
10371
|
-
small: "small";
|
|
10372
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
10373
|
-
}>;
|
|
10174
|
+
id: z.ZodString;
|
|
10374
10175
|
size_bytes: z.ZodInt;
|
|
10375
10176
|
multilingual: z.ZodBoolean;
|
|
10376
10177
|
installed: z.ZodBoolean;
|
|
10377
10178
|
}, z.core.$strict>>;
|
|
10378
|
-
default_model: z.
|
|
10379
|
-
tiny: "tiny";
|
|
10380
|
-
base: "base";
|
|
10381
|
-
small: "small";
|
|
10382
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
10383
|
-
}>;
|
|
10179
|
+
default_model: z.ZodString;
|
|
10384
10180
|
}, z.core.$strict>>;
|
|
10385
10181
|
}, z.core.$strict>;
|
|
10386
10182
|
readonly ModelsProgressEvent: z.ZodObject<{
|
|
@@ -10408,34 +10204,80 @@ declare const NAMED_SCHEMAS: {
|
|
|
10408
10204
|
}, z.core.$strict>>;
|
|
10409
10205
|
}, z.core.$strict>;
|
|
10410
10206
|
}, z.core.$strict>;
|
|
10411
|
-
readonly TextModelId: z.
|
|
10412
|
-
"smollm2-135m": "smollm2-135m";
|
|
10413
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
10414
|
-
"phi-4-mini": "phi-4-mini";
|
|
10415
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
10416
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
10417
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
10418
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
10419
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
10420
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
10421
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
10422
|
-
}>;
|
|
10207
|
+
readonly TextModelId: z.ZodString;
|
|
10423
10208
|
readonly TextModelInfo: z.ZodObject<{
|
|
10424
|
-
id: z.
|
|
10425
|
-
"smollm2-135m": "smollm2-135m";
|
|
10426
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
10427
|
-
"phi-4-mini": "phi-4-mini";
|
|
10428
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
10429
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
10430
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
10431
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
10432
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
10433
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
10434
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
10435
|
-
}>;
|
|
10209
|
+
id: z.ZodString;
|
|
10436
10210
|
size_bytes: z.ZodInt;
|
|
10437
10211
|
installed: z.ZodBoolean;
|
|
10438
10212
|
}, z.core.$strict>;
|
|
10213
|
+
readonly ModelKey: z.ZodString;
|
|
10214
|
+
readonly Sha256Hex: z.ZodString;
|
|
10215
|
+
readonly CatalogFile: z.ZodObject<{
|
|
10216
|
+
path: z.ZodString;
|
|
10217
|
+
url: z.ZodString;
|
|
10218
|
+
size_bytes: z.ZodInt;
|
|
10219
|
+
sha256: z.ZodString;
|
|
10220
|
+
role: z.ZodString;
|
|
10221
|
+
}, z.core.$strict>;
|
|
10222
|
+
readonly CatalogModelEntry: z.ZodObject<{
|
|
10223
|
+
key: z.ZodString;
|
|
10224
|
+
variant: z.ZodString;
|
|
10225
|
+
revision: z.ZodString;
|
|
10226
|
+
multilingual: z.ZodBoolean;
|
|
10227
|
+
files: z.ZodArray<z.ZodObject<{
|
|
10228
|
+
path: z.ZodString;
|
|
10229
|
+
url: z.ZodString;
|
|
10230
|
+
size_bytes: z.ZodInt;
|
|
10231
|
+
sha256: z.ZodString;
|
|
10232
|
+
role: z.ZodString;
|
|
10233
|
+
}, z.core.$strict>>;
|
|
10234
|
+
}, z.core.$strict>;
|
|
10235
|
+
readonly LlamaServerBuild: z.ZodObject<{
|
|
10236
|
+
version: z.ZodString;
|
|
10237
|
+
url: z.ZodString;
|
|
10238
|
+
size_bytes: z.ZodInt;
|
|
10239
|
+
sha256: z.ZodString;
|
|
10240
|
+
}, z.core.$strict>;
|
|
10241
|
+
readonly MlCatalogSetParams: z.ZodObject<{
|
|
10242
|
+
text: z.ZodArray<z.ZodObject<{
|
|
10243
|
+
key: z.ZodString;
|
|
10244
|
+
variant: z.ZodString;
|
|
10245
|
+
revision: z.ZodString;
|
|
10246
|
+
multilingual: z.ZodBoolean;
|
|
10247
|
+
files: z.ZodArray<z.ZodObject<{
|
|
10248
|
+
path: z.ZodString;
|
|
10249
|
+
url: z.ZodString;
|
|
10250
|
+
size_bytes: z.ZodInt;
|
|
10251
|
+
sha256: z.ZodString;
|
|
10252
|
+
role: z.ZodString;
|
|
10253
|
+
}, z.core.$strict>>;
|
|
10254
|
+
}, z.core.$strict>>;
|
|
10255
|
+
transcription: z.ZodArray<z.ZodObject<{
|
|
10256
|
+
key: z.ZodString;
|
|
10257
|
+
variant: z.ZodString;
|
|
10258
|
+
revision: z.ZodString;
|
|
10259
|
+
multilingual: z.ZodBoolean;
|
|
10260
|
+
files: z.ZodArray<z.ZodObject<{
|
|
10261
|
+
path: z.ZodString;
|
|
10262
|
+
url: z.ZodString;
|
|
10263
|
+
size_bytes: z.ZodInt;
|
|
10264
|
+
sha256: z.ZodString;
|
|
10265
|
+
role: z.ZodString;
|
|
10266
|
+
}, z.core.$strict>>;
|
|
10267
|
+
}, z.core.$strict>>;
|
|
10268
|
+
llama_server: z.ZodNullable<z.ZodObject<{
|
|
10269
|
+
version: z.ZodString;
|
|
10270
|
+
url: z.ZodString;
|
|
10271
|
+
size_bytes: z.ZodInt;
|
|
10272
|
+
sha256: z.ZodString;
|
|
10273
|
+
}, z.core.$strict>>;
|
|
10274
|
+
default_transcription: z.ZodString;
|
|
10275
|
+
catalog_updated_at: z.ZodString;
|
|
10276
|
+
}, z.core.$strict>;
|
|
10277
|
+
readonly MlCatalogSetResult: z.ZodObject<{
|
|
10278
|
+
text: z.ZodInt;
|
|
10279
|
+
transcription: z.ZodInt;
|
|
10280
|
+
}, z.core.$strict>;
|
|
10439
10281
|
readonly LlmServerState: z.ZodEnum<{
|
|
10440
10282
|
running: "running";
|
|
10441
10283
|
failed: "failed";
|
|
@@ -10443,19 +10285,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
10443
10285
|
starting: "starting";
|
|
10444
10286
|
}>;
|
|
10445
10287
|
readonly LlmRunning: z.ZodObject<{
|
|
10446
|
-
id: z.
|
|
10447
|
-
"smollm2-135m": "smollm2-135m";
|
|
10448
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
10449
|
-
"phi-4-mini": "phi-4-mini";
|
|
10450
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
10451
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
10452
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
10453
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
10454
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
10455
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
10456
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
10457
|
-
}>;
|
|
10288
|
+
id: z.ZodString;
|
|
10458
10289
|
port: z.ZodInt;
|
|
10290
|
+
context_length: z.ZodOptional<z.ZodInt>;
|
|
10291
|
+
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
10292
|
+
threads: z.ZodOptional<z.ZodInt>;
|
|
10459
10293
|
}, z.core.$strict>;
|
|
10460
10294
|
readonly ModelsLlmStatusParams: z.ZodObject<{}, z.core.$strict>;
|
|
10461
10295
|
readonly ModelsLlmStatusResult: z.ZodObject<{
|
|
@@ -10466,48 +10300,18 @@ declare const NAMED_SCHEMAS: {
|
|
|
10466
10300
|
starting: "starting";
|
|
10467
10301
|
}>;
|
|
10468
10302
|
models: z.ZodArray<z.ZodObject<{
|
|
10469
|
-
id: z.
|
|
10470
|
-
"smollm2-135m": "smollm2-135m";
|
|
10471
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
10472
|
-
"phi-4-mini": "phi-4-mini";
|
|
10473
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
10474
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
10475
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
10476
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
10477
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
10478
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
10479
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
10480
|
-
}>;
|
|
10303
|
+
id: z.ZodString;
|
|
10481
10304
|
size_bytes: z.ZodInt;
|
|
10482
10305
|
installed: z.ZodBoolean;
|
|
10483
10306
|
}, z.core.$strict>>;
|
|
10484
10307
|
running: z.ZodNullable<z.ZodObject<{
|
|
10485
|
-
id: z.
|
|
10486
|
-
"smollm2-135m": "smollm2-135m";
|
|
10487
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
10488
|
-
"phi-4-mini": "phi-4-mini";
|
|
10489
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
10490
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
10491
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
10492
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
10493
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
10494
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
10495
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
10496
|
-
}>;
|
|
10308
|
+
id: z.ZodString;
|
|
10497
10309
|
port: z.ZodInt;
|
|
10310
|
+
context_length: z.ZodOptional<z.ZodInt>;
|
|
10311
|
+
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
10312
|
+
threads: z.ZodOptional<z.ZodInt>;
|
|
10498
10313
|
}, z.core.$strict>>;
|
|
10499
|
-
starting: z.ZodNullable<z.
|
|
10500
|
-
"smollm2-135m": "smollm2-135m";
|
|
10501
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
10502
|
-
"phi-4-mini": "phi-4-mini";
|
|
10503
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
10504
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
10505
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
10506
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
10507
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
10508
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
10509
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
10510
|
-
}>>;
|
|
10314
|
+
starting: z.ZodNullable<z.ZodString>;
|
|
10511
10315
|
install: z.ZodNullable<z.ZodObject<{
|
|
10512
10316
|
phase: z.ZodEnum<{
|
|
10513
10317
|
model: "model";
|
|
@@ -10521,64 +10325,26 @@ declare const NAMED_SCHEMAS: {
|
|
|
10521
10325
|
error: z.ZodNullable<z.ZodString>;
|
|
10522
10326
|
}, z.core.$strict>;
|
|
10523
10327
|
readonly ModelsLlmInstallParams: z.ZodObject<{
|
|
10524
|
-
model: z.
|
|
10525
|
-
"smollm2-135m": "smollm2-135m";
|
|
10526
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
10527
|
-
"phi-4-mini": "phi-4-mini";
|
|
10528
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
10529
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
10530
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
10531
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
10532
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
10533
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
10534
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
10535
|
-
}>;
|
|
10328
|
+
model: z.ZodString;
|
|
10536
10329
|
}, z.core.$strict>;
|
|
10537
10330
|
readonly ModelsLlmInstallResult: z.ZodObject<{
|
|
10538
|
-
model: z.
|
|
10539
|
-
"smollm2-135m": "smollm2-135m";
|
|
10540
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
10541
|
-
"phi-4-mini": "phi-4-mini";
|
|
10542
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
10543
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
10544
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
10545
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
10546
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
10547
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
10548
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
10549
|
-
}>;
|
|
10331
|
+
model: z.ZodString;
|
|
10550
10332
|
elapsed_ms: z.ZodInt;
|
|
10551
10333
|
}, z.core.$strict>;
|
|
10552
10334
|
readonly ModelsLlmStartParams: z.ZodObject<{
|
|
10553
|
-
model: z.
|
|
10554
|
-
"smollm2-135m": "smollm2-135m";
|
|
10555
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
10556
|
-
"phi-4-mini": "phi-4-mini";
|
|
10557
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
10558
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
10559
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
10560
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
10561
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
10562
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
10563
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
10564
|
-
}>;
|
|
10335
|
+
model: z.ZodString;
|
|
10565
10336
|
context_length: z.ZodOptional<z.ZodInt>;
|
|
10337
|
+
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
10338
|
+
threads: z.ZodOptional<z.ZodInt>;
|
|
10339
|
+
load_timeout_s: z.ZodOptional<z.ZodInt>;
|
|
10566
10340
|
}, z.core.$strict>;
|
|
10567
10341
|
readonly ModelsLlmStartResult: z.ZodObject<{
|
|
10568
10342
|
running: z.ZodObject<{
|
|
10569
|
-
id: z.
|
|
10570
|
-
"smollm2-135m": "smollm2-135m";
|
|
10571
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
10572
|
-
"phi-4-mini": "phi-4-mini";
|
|
10573
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
10574
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
10575
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
10576
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
10577
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
10578
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
10579
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
10580
|
-
}>;
|
|
10343
|
+
id: z.ZodString;
|
|
10581
10344
|
port: z.ZodInt;
|
|
10345
|
+
context_length: z.ZodOptional<z.ZodInt>;
|
|
10346
|
+
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
10347
|
+
threads: z.ZodOptional<z.ZodInt>;
|
|
10582
10348
|
}, z.core.$strict>;
|
|
10583
10349
|
elapsed_ms: z.ZodInt;
|
|
10584
10350
|
}, z.core.$strict>;
|
|
@@ -14266,9 +14032,9 @@ declare const NAMED_SCHEMAS: {
|
|
|
14266
14032
|
}, z.core.$strict>>;
|
|
14267
14033
|
}, z.core.$strict>;
|
|
14268
14034
|
readonly ToolLevel: z.ZodEnum<{
|
|
14035
|
+
protocol: "protocol";
|
|
14269
14036
|
chat: "chat";
|
|
14270
14037
|
programmatic: "programmatic";
|
|
14271
|
-
protocol: "protocol";
|
|
14272
14038
|
}>;
|
|
14273
14039
|
readonly ToolOutcome: z.ZodEnum<{
|
|
14274
14040
|
pass: "pass";
|
|
@@ -14290,9 +14056,9 @@ declare const NAMED_SCHEMAS: {
|
|
|
14290
14056
|
readonly ToolLevelResult: z.ZodObject<{
|
|
14291
14057
|
tool: z.ZodString;
|
|
14292
14058
|
level: z.ZodEnum<{
|
|
14059
|
+
protocol: "protocol";
|
|
14293
14060
|
chat: "chat";
|
|
14294
14061
|
programmatic: "programmatic";
|
|
14295
|
-
protocol: "protocol";
|
|
14296
14062
|
}>;
|
|
14297
14063
|
platform: z.ZodEnum<{
|
|
14298
14064
|
darwin: "darwin";
|
|
@@ -14323,9 +14089,9 @@ declare const NAMED_SCHEMAS: {
|
|
|
14323
14089
|
results: z.ZodArray<z.ZodObject<{
|
|
14324
14090
|
tool: z.ZodString;
|
|
14325
14091
|
level: z.ZodEnum<{
|
|
14092
|
+
protocol: "protocol";
|
|
14326
14093
|
chat: "chat";
|
|
14327
14094
|
programmatic: "programmatic";
|
|
14328
|
-
protocol: "protocol";
|
|
14329
14095
|
}>;
|
|
14330
14096
|
platform: z.ZodEnum<{
|
|
14331
14097
|
darwin: "darwin";
|
|
@@ -18522,12 +18288,7 @@ declare const MlInstallProgress: z.ZodObject<{
|
|
|
18522
18288
|
bytes_total: z.ZodNullable<z.ZodInt>;
|
|
18523
18289
|
}, z.core.$strict>;
|
|
18524
18290
|
declare const TranscriptionModelInfo: z.ZodObject<{
|
|
18525
|
-
id: z.
|
|
18526
|
-
tiny: "tiny";
|
|
18527
|
-
base: "base";
|
|
18528
|
-
small: "small";
|
|
18529
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
18530
|
-
}>;
|
|
18291
|
+
id: z.ZodString;
|
|
18531
18292
|
size_bytes: z.ZodInt;
|
|
18532
18293
|
multilingual: z.ZodBoolean;
|
|
18533
18294
|
installed: z.ZodBoolean;
|
|
@@ -18535,18 +18296,7 @@ declare const TranscriptionModelInfo: z.ZodObject<{
|
|
|
18535
18296
|
/** What the `ml` service itself reports (the core adds the supervisor's view in ModelsStatusResult). */
|
|
18536
18297
|
declare const MlStatusParams: z.ZodObject<{}, z.core.$strict>;
|
|
18537
18298
|
declare const TextModelInfo: z.ZodObject<{
|
|
18538
|
-
id: z.
|
|
18539
|
-
"smollm2-135m": "smollm2-135m";
|
|
18540
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
18541
|
-
"phi-4-mini": "phi-4-mini";
|
|
18542
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
18543
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
18544
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
18545
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
18546
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
18547
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
18548
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
18549
|
-
}>;
|
|
18299
|
+
id: z.ZodString;
|
|
18550
18300
|
size_bytes: z.ZodInt;
|
|
18551
18301
|
installed: z.ZodBoolean;
|
|
18552
18302
|
}, z.core.$strict>;
|
|
@@ -18560,54 +18310,29 @@ declare const LlmServerState: z.ZodEnum<{
|
|
|
18560
18310
|
declare const ModelsLlmStatusParams: z.ZodObject<{}, z.core.$strict>;
|
|
18561
18311
|
/** Download the model server program (if missing) and one model's weights. Progress: models.progress. */
|
|
18562
18312
|
declare const ModelsLlmInstallParams: z.ZodObject<{
|
|
18563
|
-
model: z.
|
|
18564
|
-
"smollm2-135m": "smollm2-135m";
|
|
18565
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
18566
|
-
"phi-4-mini": "phi-4-mini";
|
|
18567
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
18568
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
18569
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
18570
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
18571
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
18572
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
18573
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
18574
|
-
}>;
|
|
18313
|
+
model: z.ZodString;
|
|
18575
18314
|
}, z.core.$strict>;
|
|
18576
18315
|
declare const ModelsLlmInstallResult: z.ZodObject<{
|
|
18577
|
-
model: z.
|
|
18578
|
-
"smollm2-135m": "smollm2-135m";
|
|
18579
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
18580
|
-
"phi-4-mini": "phi-4-mini";
|
|
18581
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
18582
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
18583
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
18584
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
18585
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
18586
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
18587
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
18588
|
-
}>;
|
|
18316
|
+
model: z.ZodString;
|
|
18589
18317
|
elapsed_ms: z.ZodInt;
|
|
18590
18318
|
}, z.core.$strict>;
|
|
18591
18319
|
/** Load one downloaded model (stopping any other). Resolves once the server answers its health check. */
|
|
18592
18320
|
declare const ModelsLlmStartParams: z.ZodObject<{
|
|
18593
|
-
model: z.
|
|
18594
|
-
"smollm2-135m": "smollm2-135m";
|
|
18595
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
18596
|
-
"phi-4-mini": "phi-4-mini";
|
|
18597
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
18598
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
18599
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
18600
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
18601
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
18602
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
18603
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
18604
|
-
}>;
|
|
18321
|
+
model: z.ZodString;
|
|
18605
18322
|
context_length: z.ZodOptional<z.ZodInt>;
|
|
18323
|
+
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
18324
|
+
threads: z.ZodOptional<z.ZodInt>;
|
|
18325
|
+
load_timeout_s: z.ZodOptional<z.ZodInt>;
|
|
18606
18326
|
}, z.core.$strict>;
|
|
18607
18327
|
declare const ModelsLlmStopParams: z.ZodObject<{}, z.core.$strict>;
|
|
18608
18328
|
declare const ModelsLlmStopResult: z.ZodObject<{
|
|
18609
18329
|
stopped: z.ZodBoolean;
|
|
18610
18330
|
}, z.core.$strict>;
|
|
18331
|
+
declare const Sha256Hex: z.ZodString;
|
|
18332
|
+
declare const MlCatalogSetResult: z.ZodObject<{
|
|
18333
|
+
text: z.ZodInt;
|
|
18334
|
+
transcription: z.ZodInt;
|
|
18335
|
+
}, z.core.$strict>;
|
|
18611
18336
|
/** What a download fetches: a speech model, a language model, or a runtime (speech runtime, model server program). */
|
|
18612
18337
|
declare const DownloadKind: z.ZodEnum<{
|
|
18613
18338
|
runtime: "runtime";
|
|
@@ -18644,13 +18369,8 @@ declare const MlServiceStatus: z.ZodObject<{
|
|
|
18644
18369
|
error: z.ZodNullable<z.ZodString>;
|
|
18645
18370
|
}, z.core.$strict>;
|
|
18646
18371
|
declare const ModelsStatusParams: z.ZodObject<{}, z.core.$strict>;
|
|
18647
|
-
/** Whisper
|
|
18648
|
-
declare const TranscriptionModelId: z.
|
|
18649
|
-
tiny: "tiny";
|
|
18650
|
-
base: "base";
|
|
18651
|
-
small: "small";
|
|
18652
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
18653
|
-
}>;
|
|
18372
|
+
/** A Whisper model's catalog key (1.49: a string key; 1.48 sizes tiny/base/small/large-v3-turbo stay valid). */
|
|
18373
|
+
declare const TranscriptionModelId: z.ZodString;
|
|
18654
18374
|
type TranscriptionModelId = z.output<typeof TranscriptionModelId>;
|
|
18655
18375
|
declare const MlStatusResult: z.ZodObject<{
|
|
18656
18376
|
runtime: z.ZodEnum<{
|
|
@@ -18675,22 +18395,12 @@ declare const MlStatusResult: z.ZodObject<{
|
|
|
18675
18395
|
cuda: "cuda";
|
|
18676
18396
|
}>;
|
|
18677
18397
|
models: z.ZodArray<z.ZodObject<{
|
|
18678
|
-
id: z.
|
|
18679
|
-
tiny: "tiny";
|
|
18680
|
-
base: "base";
|
|
18681
|
-
small: "small";
|
|
18682
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
18683
|
-
}>;
|
|
18398
|
+
id: z.ZodString;
|
|
18684
18399
|
size_bytes: z.ZodInt;
|
|
18685
18400
|
multilingual: z.ZodBoolean;
|
|
18686
18401
|
installed: z.ZodBoolean;
|
|
18687
18402
|
}, z.core.$strict>>;
|
|
18688
|
-
default_model: z.
|
|
18689
|
-
tiny: "tiny";
|
|
18690
|
-
base: "base";
|
|
18691
|
-
small: "small";
|
|
18692
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
18693
|
-
}>;
|
|
18403
|
+
default_model: z.ZodString;
|
|
18694
18404
|
}, z.core.$strict>;
|
|
18695
18405
|
type MlStatusResult = z.output<typeof MlStatusResult>;
|
|
18696
18406
|
/** A progress report while `ml.install` / `ml.transcribe` runs. */
|
|
@@ -18754,22 +18464,12 @@ declare const ModelsStatusResult: z.ZodObject<{
|
|
|
18754
18464
|
cuda: "cuda";
|
|
18755
18465
|
}>;
|
|
18756
18466
|
models: z.ZodArray<z.ZodObject<{
|
|
18757
|
-
id: z.
|
|
18758
|
-
tiny: "tiny";
|
|
18759
|
-
base: "base";
|
|
18760
|
-
small: "small";
|
|
18761
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
18762
|
-
}>;
|
|
18467
|
+
id: z.ZodString;
|
|
18763
18468
|
size_bytes: z.ZodInt;
|
|
18764
18469
|
multilingual: z.ZodBoolean;
|
|
18765
18470
|
installed: z.ZodBoolean;
|
|
18766
18471
|
}, z.core.$strict>>;
|
|
18767
|
-
default_model: z.
|
|
18768
|
-
tiny: "tiny";
|
|
18769
|
-
base: "base";
|
|
18770
|
-
small: "small";
|
|
18771
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
18772
|
-
}>;
|
|
18472
|
+
default_model: z.ZodString;
|
|
18773
18473
|
}, z.core.$strict>>;
|
|
18774
18474
|
}, z.core.$strict>;
|
|
18775
18475
|
type ModelsStatusResult = z.output<typeof ModelsStatusResult>;
|
|
@@ -18779,12 +18479,7 @@ type ModelsStatusResult = z.output<typeof ModelsStatusResult>;
|
|
|
18779
18479
|
*/
|
|
18780
18480
|
declare const ModelsTranscribeParams: z.ZodObject<{
|
|
18781
18481
|
path: z.ZodString;
|
|
18782
|
-
model: z.ZodOptional<z.
|
|
18783
|
-
tiny: "tiny";
|
|
18784
|
-
base: "base";
|
|
18785
|
-
small: "small";
|
|
18786
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
18787
|
-
}>>;
|
|
18482
|
+
model: z.ZodOptional<z.ZodString>;
|
|
18788
18483
|
language: z.ZodOptional<z.ZodString>;
|
|
18789
18484
|
task: z.ZodDefault<z.ZodEnum<{
|
|
18790
18485
|
transcribe: "transcribe";
|
|
@@ -18797,12 +18492,7 @@ declare const ModelsTranscribeResult: z.ZodObject<{
|
|
|
18797
18492
|
language: z.ZodString;
|
|
18798
18493
|
language_probability: z.ZodNumber;
|
|
18799
18494
|
duration_s: z.ZodNumber;
|
|
18800
|
-
model: z.
|
|
18801
|
-
tiny: "tiny";
|
|
18802
|
-
base: "base";
|
|
18803
|
-
small: "small";
|
|
18804
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
18805
|
-
}>;
|
|
18495
|
+
model: z.ZodString;
|
|
18806
18496
|
segments: z.ZodArray<z.ZodObject<{
|
|
18807
18497
|
start_s: z.ZodNumber;
|
|
18808
18498
|
end_s: z.ZodNumber;
|
|
@@ -18813,21 +18503,11 @@ declare const ModelsTranscribeResult: z.ZodObject<{
|
|
|
18813
18503
|
type ModelsTranscribeResult = z.output<typeof ModelsTranscribeResult>;
|
|
18814
18504
|
/** Install the runtime (if missing) and one model's weights (default: the default model). */
|
|
18815
18505
|
declare const ModelsInstallParams: z.ZodObject<{
|
|
18816
|
-
model: z.ZodOptional<z.
|
|
18817
|
-
tiny: "tiny";
|
|
18818
|
-
base: "base";
|
|
18819
|
-
small: "small";
|
|
18820
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
18821
|
-
}>>;
|
|
18506
|
+
model: z.ZodOptional<z.ZodString>;
|
|
18822
18507
|
}, z.core.$strict>;
|
|
18823
18508
|
type ModelsInstallParams = z.output<typeof ModelsInstallParams>;
|
|
18824
18509
|
declare const ModelsInstallResult: z.ZodObject<{
|
|
18825
|
-
model: z.
|
|
18826
|
-
tiny: "tiny";
|
|
18827
|
-
base: "base";
|
|
18828
|
-
small: "small";
|
|
18829
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
18830
|
-
}>;
|
|
18510
|
+
model: z.ZodString;
|
|
18831
18511
|
elapsed_ms: z.ZodInt;
|
|
18832
18512
|
}, z.core.$strict>;
|
|
18833
18513
|
type ModelsInstallResult = z.output<typeof ModelsInstallResult>;
|
|
@@ -18858,39 +18538,96 @@ declare const ModelsProgressEvent: z.ZodObject<{
|
|
|
18858
18538
|
}, z.core.$strict>;
|
|
18859
18539
|
}, z.core.$strict>;
|
|
18860
18540
|
type ModelsProgressEvent = z.output<typeof ModelsProgressEvent>;
|
|
18861
|
-
/**
|
|
18862
|
-
declare const TextModelId: z.
|
|
18863
|
-
"smollm2-135m": "smollm2-135m";
|
|
18864
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
18865
|
-
"phi-4-mini": "phi-4-mini";
|
|
18866
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
18867
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
18868
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
18869
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
18870
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
18871
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
18872
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
18873
|
-
}>;
|
|
18541
|
+
/** A language model's catalog key (1.49: a string key; the ten 1.48 ids stay valid). */
|
|
18542
|
+
declare const TextModelId: z.ZodString;
|
|
18874
18543
|
type TextModelId = z.output<typeof TextModelId>;
|
|
18544
|
+
/**
|
|
18545
|
+
* (1.49) A downloadable model's key in the platform catalog (ai.model_definition name, optionally
|
|
18546
|
+
* `/<variant key>`): `llama-3.2-3b`, `llama-3.2-3b/q4_k_m`. Was a closed enum until 1.48; every 1.48
|
|
18547
|
+
* id is still a valid key (a bare model name means its default variant). The catalog gives every
|
|
18548
|
+
* later variant a `min_app_version` at or above the first string-key app, so an older peer never
|
|
18549
|
+
* receives a key its enum refuses.
|
|
18550
|
+
*/
|
|
18551
|
+
declare const ModelKey: z.ZodString;
|
|
18552
|
+
type ModelKey = z.output<typeof ModelKey>;
|
|
18553
|
+
declare const CatalogFile: z.ZodObject<{
|
|
18554
|
+
path: z.ZodString;
|
|
18555
|
+
url: z.ZodString;
|
|
18556
|
+
size_bytes: z.ZodInt;
|
|
18557
|
+
sha256: z.ZodString;
|
|
18558
|
+
role: z.ZodString;
|
|
18559
|
+
}, z.core.$strict>;
|
|
18560
|
+
type CatalogFile = z.output<typeof CatalogFile>;
|
|
18561
|
+
declare const CatalogModelEntry: z.ZodObject<{
|
|
18562
|
+
key: z.ZodString;
|
|
18563
|
+
variant: z.ZodString;
|
|
18564
|
+
revision: z.ZodString;
|
|
18565
|
+
multilingual: z.ZodBoolean;
|
|
18566
|
+
files: z.ZodArray<z.ZodObject<{
|
|
18567
|
+
path: z.ZodString;
|
|
18568
|
+
url: z.ZodString;
|
|
18569
|
+
size_bytes: z.ZodInt;
|
|
18570
|
+
sha256: z.ZodString;
|
|
18571
|
+
role: z.ZodString;
|
|
18572
|
+
}, z.core.$strict>>;
|
|
18573
|
+
}, z.core.$strict>;
|
|
18574
|
+
type CatalogModelEntry = z.output<typeof CatalogModelEntry>;
|
|
18575
|
+
/** The llama-server build for this computer, from ai.runtime_build. */
|
|
18576
|
+
declare const LlamaServerBuild: z.ZodObject<{
|
|
18577
|
+
version: z.ZodString;
|
|
18578
|
+
url: z.ZodString;
|
|
18579
|
+
size_bytes: z.ZodInt;
|
|
18580
|
+
sha256: z.ZodString;
|
|
18581
|
+
}, z.core.$strict>;
|
|
18582
|
+
type LlamaServerBuild = z.output<typeof LlamaServerBuild>;
|
|
18583
|
+
declare const MlCatalogSetParams: z.ZodObject<{
|
|
18584
|
+
text: z.ZodArray<z.ZodObject<{
|
|
18585
|
+
key: z.ZodString;
|
|
18586
|
+
variant: z.ZodString;
|
|
18587
|
+
revision: z.ZodString;
|
|
18588
|
+
multilingual: z.ZodBoolean;
|
|
18589
|
+
files: z.ZodArray<z.ZodObject<{
|
|
18590
|
+
path: z.ZodString;
|
|
18591
|
+
url: z.ZodString;
|
|
18592
|
+
size_bytes: z.ZodInt;
|
|
18593
|
+
sha256: z.ZodString;
|
|
18594
|
+
role: z.ZodString;
|
|
18595
|
+
}, z.core.$strict>>;
|
|
18596
|
+
}, z.core.$strict>>;
|
|
18597
|
+
transcription: z.ZodArray<z.ZodObject<{
|
|
18598
|
+
key: z.ZodString;
|
|
18599
|
+
variant: z.ZodString;
|
|
18600
|
+
revision: z.ZodString;
|
|
18601
|
+
multilingual: z.ZodBoolean;
|
|
18602
|
+
files: z.ZodArray<z.ZodObject<{
|
|
18603
|
+
path: z.ZodString;
|
|
18604
|
+
url: z.ZodString;
|
|
18605
|
+
size_bytes: z.ZodInt;
|
|
18606
|
+
sha256: z.ZodString;
|
|
18607
|
+
role: z.ZodString;
|
|
18608
|
+
}, z.core.$strict>>;
|
|
18609
|
+
}, z.core.$strict>>;
|
|
18610
|
+
llama_server: z.ZodNullable<z.ZodObject<{
|
|
18611
|
+
version: z.ZodString;
|
|
18612
|
+
url: z.ZodString;
|
|
18613
|
+
size_bytes: z.ZodInt;
|
|
18614
|
+
sha256: z.ZodString;
|
|
18615
|
+
}, z.core.$strict>>;
|
|
18616
|
+
default_transcription: z.ZodString;
|
|
18617
|
+
catalog_updated_at: z.ZodString;
|
|
18618
|
+
}, z.core.$strict>;
|
|
18619
|
+
type MlCatalogSetParams = z.output<typeof MlCatalogSetParams>;
|
|
18875
18620
|
/**
|
|
18876
18621
|
* The model that answers now and the loopback port it listens on. Never a URL: the only caller that
|
|
18877
18622
|
* talks to it (the app's own main process) builds http://127.0.0.1:<port> itself, so no status
|
|
18878
18623
|
* payload can choose where text goes.
|
|
18879
18624
|
*/
|
|
18880
18625
|
declare const LlmRunning: z.ZodObject<{
|
|
18881
|
-
id: z.
|
|
18882
|
-
"smollm2-135m": "smollm2-135m";
|
|
18883
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
18884
|
-
"phi-4-mini": "phi-4-mini";
|
|
18885
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
18886
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
18887
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
18888
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
18889
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
18890
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
18891
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
18892
|
-
}>;
|
|
18626
|
+
id: z.ZodString;
|
|
18893
18627
|
port: z.ZodInt;
|
|
18628
|
+
context_length: z.ZodOptional<z.ZodInt>;
|
|
18629
|
+
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
18630
|
+
threads: z.ZodOptional<z.ZodInt>;
|
|
18894
18631
|
}, z.core.$strict>;
|
|
18895
18632
|
type LlmRunning = z.output<typeof LlmRunning>;
|
|
18896
18633
|
declare const ModelsLlmStatusResult: z.ZodObject<{
|
|
@@ -18901,48 +18638,18 @@ declare const ModelsLlmStatusResult: z.ZodObject<{
|
|
|
18901
18638
|
starting: "starting";
|
|
18902
18639
|
}>;
|
|
18903
18640
|
models: z.ZodArray<z.ZodObject<{
|
|
18904
|
-
id: z.
|
|
18905
|
-
"smollm2-135m": "smollm2-135m";
|
|
18906
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
18907
|
-
"phi-4-mini": "phi-4-mini";
|
|
18908
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
18909
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
18910
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
18911
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
18912
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
18913
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
18914
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
18915
|
-
}>;
|
|
18641
|
+
id: z.ZodString;
|
|
18916
18642
|
size_bytes: z.ZodInt;
|
|
18917
18643
|
installed: z.ZodBoolean;
|
|
18918
18644
|
}, z.core.$strict>>;
|
|
18919
18645
|
running: z.ZodNullable<z.ZodObject<{
|
|
18920
|
-
id: z.
|
|
18921
|
-
"smollm2-135m": "smollm2-135m";
|
|
18922
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
18923
|
-
"phi-4-mini": "phi-4-mini";
|
|
18924
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
18925
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
18926
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
18927
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
18928
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
18929
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
18930
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
18931
|
-
}>;
|
|
18646
|
+
id: z.ZodString;
|
|
18932
18647
|
port: z.ZodInt;
|
|
18648
|
+
context_length: z.ZodOptional<z.ZodInt>;
|
|
18649
|
+
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
18650
|
+
threads: z.ZodOptional<z.ZodInt>;
|
|
18933
18651
|
}, z.core.$strict>>;
|
|
18934
|
-
starting: z.ZodNullable<z.
|
|
18935
|
-
"smollm2-135m": "smollm2-135m";
|
|
18936
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
18937
|
-
"phi-4-mini": "phi-4-mini";
|
|
18938
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
18939
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
18940
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
18941
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
18942
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
18943
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
18944
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
18945
|
-
}>>;
|
|
18652
|
+
starting: z.ZodNullable<z.ZodString>;
|
|
18946
18653
|
install: z.ZodNullable<z.ZodObject<{
|
|
18947
18654
|
phase: z.ZodEnum<{
|
|
18948
18655
|
model: "model";
|
|
@@ -18958,19 +18665,11 @@ declare const ModelsLlmStatusResult: z.ZodObject<{
|
|
|
18958
18665
|
type ModelsLlmStatusResult = z.output<typeof ModelsLlmStatusResult>;
|
|
18959
18666
|
declare const ModelsLlmStartResult: z.ZodObject<{
|
|
18960
18667
|
running: z.ZodObject<{
|
|
18961
|
-
id: z.
|
|
18962
|
-
"smollm2-135m": "smollm2-135m";
|
|
18963
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
18964
|
-
"phi-4-mini": "phi-4-mini";
|
|
18965
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
18966
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
18967
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
18968
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
18969
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
18970
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
18971
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
18972
|
-
}>;
|
|
18668
|
+
id: z.ZodString;
|
|
18973
18669
|
port: z.ZodInt;
|
|
18670
|
+
context_length: z.ZodOptional<z.ZodInt>;
|
|
18671
|
+
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
18672
|
+
threads: z.ZodOptional<z.ZodInt>;
|
|
18974
18673
|
}, z.core.$strict>;
|
|
18975
18674
|
elapsed_ms: z.ZodInt;
|
|
18976
18675
|
}, z.core.$strict>;
|
|
@@ -19026,4 +18725,4 @@ declare const TranscriptSegment: z.ZodObject<{
|
|
|
19026
18725
|
}, z.core.$strict>;
|
|
19027
18726
|
type TranscriptSegment = z.output<typeof TranscriptSegment>;
|
|
19028
18727
|
|
|
19029
|
-
export {
|
|
18728
|
+
export { ModelKey as $, type ErrorReasonName as A, BEARER_PREFIX as B, type CloseOutcome as C, DesktopProtocolError as D, EndReason as E, EventMsg as F, type EventName as G, FsPatchEditFailure as H, HelloMsg as I, LlamaServerBuild as J, LlmRunning as K, Limits as L, ModelsTranscribeResult as M, LlmServerState as N, type OpName as O, MlCatalogSetParams as P, MlCatalogSetResult as Q, MlInstallPhase as R, StreamMeta as S, TranscriptionModelId as T, MlInstallProgress as U, MlRuntimeState as V, Welcome as W, MlServiceState as X, MlServiceStatus as Y, MlStatusParams as Z, MlStatusResult as _, type OpParams as a, ModelsDownloadsCancelParams as a0, ModelsDownloadsCancelResult as a1, ModelsDownloadsListParams as a2, ModelsDownloadsListResult as a3, ModelsInstallParams as a4, ModelsInstallResult as a5, ModelsLlmInstallParams as a6, ModelsLlmInstallResult as a7, ModelsLlmStartParams as a8, ModelsLlmStartResult as a9, TextModelId as aA, TextModelInfo as aB, TranscriptSegment as aC, TranscriptionModelInfo as aD, closeRule as aE, isTerminalClose as aF, ModelsLlmStatusParams as aa, ModelsLlmStatusResult as ab, ModelsLlmStopParams as ac, ModelsLlmStopResult as ad, ModelsProgressEvent as ae, ModelsStatusParams as af, ModelsStatusResult as ag, ModelsTranscribeParams as ah, NAMED_SCHEMAS as ai, type NamedSchemaId as aj, OpDescriptor as ak, type OpSpec as al, PING_TEXT as am, PONG_TEXT as an, ProtocolErrorBody as ao, RelayMsg as ap, RequestMsg as aq, ResponseMsg as ar, SERVICES as as, SUBPROTOCOL as at, type ServiceId as au, type ServiceOpName as av, type ServiceOpSpec as aw, type ServiceSpec as ax, Sha256Hex as ay, StreamMsg as az, 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, CatalogFile as j, CatalogModelEntry as k, ClientToCoreMsg as l, type CloseAction as m, CloseCode as n, CloseCodeValue as o, type CloseRule as p, CoreToClientMsg as q, CreditMsg as r, DownloadKind as s, DownloadRow as t, EndMsg as u, ErrorCode as v, type ErrorCodeName as w, type ErrorData as x, ErrorMsg as y, ErrorReason as z };
|