@ai-matrx/desktop-protocol 0.21.43 → 0.21.45
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 +13 -1
- package/dist/client.cjs +43 -14
- 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 +43 -14
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +60 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -8
- package/dist/index.d.ts +13 -8
- package/dist/index.js +60 -16
- package/dist/index.js.map +1 -1
- package/dist/{models-HrUx_KP2.d.cts → models-BFAtNMgx.d.cts} +263 -606
- package/dist/{models-HrUx_KP2.d.ts → models-BFAtNMgx.d.ts} +263 -606
- package/dist/react.d.cts +13 -120
- package/dist/react.d.ts +13 -120
- package/generated/desktop-protocol.schema.json +206 -31
- package/package.json +2 -2
|
@@ -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,51 +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;
|
|
1627
1575
|
context_length: z.ZodOptional<z.ZodInt>;
|
|
1628
1576
|
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
1629
1577
|
threads: z.ZodOptional<z.ZodInt>;
|
|
1630
1578
|
}, z.core.$strict>>;
|
|
1631
|
-
starting: z.ZodNullable<z.
|
|
1632
|
-
"smollm2-135m": "smollm2-135m";
|
|
1633
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
1634
|
-
"phi-4-mini": "phi-4-mini";
|
|
1635
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
1636
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
1637
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1638
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
1639
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
1640
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1641
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1642
|
-
}>>;
|
|
1579
|
+
starting: z.ZodNullable<z.ZodString>;
|
|
1643
1580
|
install: z.ZodNullable<z.ZodObject<{
|
|
1644
1581
|
phase: z.ZodEnum<{
|
|
1645
1582
|
model: "model";
|
|
@@ -1658,32 +1595,10 @@ declare const OPS: {
|
|
|
1658
1595
|
};
|
|
1659
1596
|
readonly "models.llm.install": {
|
|
1660
1597
|
readonly params: z.ZodObject<{
|
|
1661
|
-
model: z.
|
|
1662
|
-
"smollm2-135m": "smollm2-135m";
|
|
1663
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
1664
|
-
"phi-4-mini": "phi-4-mini";
|
|
1665
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
1666
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
1667
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1668
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
1669
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
1670
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1671
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1672
|
-
}>;
|
|
1598
|
+
model: z.ZodString;
|
|
1673
1599
|
}, z.core.$strict>;
|
|
1674
1600
|
readonly result: z.ZodObject<{
|
|
1675
|
-
model: z.
|
|
1676
|
-
"smollm2-135m": "smollm2-135m";
|
|
1677
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
1678
|
-
"phi-4-mini": "phi-4-mini";
|
|
1679
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
1680
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
1681
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1682
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
1683
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
1684
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1685
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1686
|
-
}>;
|
|
1601
|
+
model: z.ZodString;
|
|
1687
1602
|
elapsed_ms: z.ZodInt;
|
|
1688
1603
|
}, z.core.$strict>;
|
|
1689
1604
|
readonly kind: "unary";
|
|
@@ -1692,18 +1607,7 @@ declare const OPS: {
|
|
|
1692
1607
|
};
|
|
1693
1608
|
readonly "models.llm.start": {
|
|
1694
1609
|
readonly params: z.ZodObject<{
|
|
1695
|
-
model: z.
|
|
1696
|
-
"smollm2-135m": "smollm2-135m";
|
|
1697
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
1698
|
-
"phi-4-mini": "phi-4-mini";
|
|
1699
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
1700
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
1701
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1702
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
1703
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
1704
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1705
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1706
|
-
}>;
|
|
1610
|
+
model: z.ZodString;
|
|
1707
1611
|
context_length: z.ZodOptional<z.ZodInt>;
|
|
1708
1612
|
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
1709
1613
|
threads: z.ZodOptional<z.ZodInt>;
|
|
@@ -1711,18 +1615,7 @@ declare const OPS: {
|
|
|
1711
1615
|
}, z.core.$strict>;
|
|
1712
1616
|
readonly result: z.ZodObject<{
|
|
1713
1617
|
running: z.ZodObject<{
|
|
1714
|
-
id: z.
|
|
1715
|
-
"smollm2-135m": "smollm2-135m";
|
|
1716
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
1717
|
-
"phi-4-mini": "phi-4-mini";
|
|
1718
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
1719
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
1720
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
1721
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
1722
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
1723
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
1724
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
1725
|
-
}>;
|
|
1618
|
+
id: z.ZodString;
|
|
1726
1619
|
port: z.ZodInt;
|
|
1727
1620
|
context_length: z.ZodOptional<z.ZodInt>;
|
|
1728
1621
|
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
@@ -8190,52 +8083,27 @@ declare const SERVICES: {
|
|
|
8190
8083
|
cuda: "cuda";
|
|
8191
8084
|
}>;
|
|
8192
8085
|
models: z.ZodArray<z.ZodObject<{
|
|
8193
|
-
id: z.
|
|
8194
|
-
tiny: "tiny";
|
|
8195
|
-
base: "base";
|
|
8196
|
-
small: "small";
|
|
8197
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
8198
|
-
}>;
|
|
8086
|
+
id: z.ZodString;
|
|
8199
8087
|
size_bytes: z.ZodInt;
|
|
8200
8088
|
multilingual: z.ZodBoolean;
|
|
8201
8089
|
installed: z.ZodBoolean;
|
|
8202
8090
|
}, z.core.$strict>>;
|
|
8203
|
-
default_model: z.
|
|
8204
|
-
tiny: "tiny";
|
|
8205
|
-
base: "base";
|
|
8206
|
-
small: "small";
|
|
8207
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
8208
|
-
}>;
|
|
8091
|
+
default_model: z.ZodString;
|
|
8209
8092
|
}, z.core.$strict>;
|
|
8210
8093
|
};
|
|
8211
8094
|
readonly "ml.install": {
|
|
8212
8095
|
readonly params: z.ZodObject<{
|
|
8213
|
-
model: z.ZodOptional<z.
|
|
8214
|
-
tiny: "tiny";
|
|
8215
|
-
base: "base";
|
|
8216
|
-
small: "small";
|
|
8217
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
8218
|
-
}>>;
|
|
8096
|
+
model: z.ZodOptional<z.ZodString>;
|
|
8219
8097
|
}, z.core.$strict>;
|
|
8220
8098
|
readonly result: z.ZodObject<{
|
|
8221
|
-
model: z.
|
|
8222
|
-
tiny: "tiny";
|
|
8223
|
-
base: "base";
|
|
8224
|
-
small: "small";
|
|
8225
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
8226
|
-
}>;
|
|
8099
|
+
model: z.ZodString;
|
|
8227
8100
|
elapsed_ms: z.ZodInt;
|
|
8228
8101
|
}, z.core.$strict>;
|
|
8229
8102
|
};
|
|
8230
8103
|
readonly "ml.transcribe": {
|
|
8231
8104
|
readonly params: z.ZodObject<{
|
|
8232
8105
|
path: z.ZodString;
|
|
8233
|
-
model: z.ZodOptional<z.
|
|
8234
|
-
tiny: "tiny";
|
|
8235
|
-
base: "base";
|
|
8236
|
-
small: "small";
|
|
8237
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
8238
|
-
}>>;
|
|
8106
|
+
model: z.ZodOptional<z.ZodString>;
|
|
8239
8107
|
language: z.ZodOptional<z.ZodString>;
|
|
8240
8108
|
task: z.ZodDefault<z.ZodEnum<{
|
|
8241
8109
|
transcribe: "transcribe";
|
|
@@ -8247,12 +8115,7 @@ declare const SERVICES: {
|
|
|
8247
8115
|
language: z.ZodString;
|
|
8248
8116
|
language_probability: z.ZodNumber;
|
|
8249
8117
|
duration_s: z.ZodNumber;
|
|
8250
|
-
model: z.
|
|
8251
|
-
tiny: "tiny";
|
|
8252
|
-
base: "base";
|
|
8253
|
-
small: "small";
|
|
8254
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
8255
|
-
}>;
|
|
8118
|
+
model: z.ZodString;
|
|
8256
8119
|
segments: z.ZodArray<z.ZodObject<{
|
|
8257
8120
|
start_s: z.ZodNumber;
|
|
8258
8121
|
end_s: z.ZodNumber;
|
|
@@ -8271,51 +8134,18 @@ declare const SERVICES: {
|
|
|
8271
8134
|
starting: "starting";
|
|
8272
8135
|
}>;
|
|
8273
8136
|
models: z.ZodArray<z.ZodObject<{
|
|
8274
|
-
id: z.
|
|
8275
|
-
"smollm2-135m": "smollm2-135m";
|
|
8276
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
8277
|
-
"phi-4-mini": "phi-4-mini";
|
|
8278
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
8279
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
8280
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
8281
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
8282
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
8283
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
8284
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
8285
|
-
}>;
|
|
8137
|
+
id: z.ZodString;
|
|
8286
8138
|
size_bytes: z.ZodInt;
|
|
8287
8139
|
installed: z.ZodBoolean;
|
|
8288
8140
|
}, z.core.$strict>>;
|
|
8289
8141
|
running: z.ZodNullable<z.ZodObject<{
|
|
8290
|
-
id: z.
|
|
8291
|
-
"smollm2-135m": "smollm2-135m";
|
|
8292
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
8293
|
-
"phi-4-mini": "phi-4-mini";
|
|
8294
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
8295
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
8296
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
8297
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
8298
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
8299
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
8300
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
8301
|
-
}>;
|
|
8142
|
+
id: z.ZodString;
|
|
8302
8143
|
port: z.ZodInt;
|
|
8303
8144
|
context_length: z.ZodOptional<z.ZodInt>;
|
|
8304
8145
|
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
8305
8146
|
threads: z.ZodOptional<z.ZodInt>;
|
|
8306
8147
|
}, z.core.$strict>>;
|
|
8307
|
-
starting: z.ZodNullable<z.
|
|
8308
|
-
"smollm2-135m": "smollm2-135m";
|
|
8309
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
8310
|
-
"phi-4-mini": "phi-4-mini";
|
|
8311
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
8312
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
8313
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
8314
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
8315
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
8316
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
8317
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
8318
|
-
}>>;
|
|
8148
|
+
starting: z.ZodNullable<z.ZodString>;
|
|
8319
8149
|
install: z.ZodNullable<z.ZodObject<{
|
|
8320
8150
|
phase: z.ZodEnum<{
|
|
8321
8151
|
model: "model";
|
|
@@ -8331,49 +8161,16 @@ declare const SERVICES: {
|
|
|
8331
8161
|
};
|
|
8332
8162
|
readonly "ml.llm_install": {
|
|
8333
8163
|
readonly params: z.ZodObject<{
|
|
8334
|
-
model: z.
|
|
8335
|
-
"smollm2-135m": "smollm2-135m";
|
|
8336
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
8337
|
-
"phi-4-mini": "phi-4-mini";
|
|
8338
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
8339
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
8340
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
8341
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
8342
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
8343
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
8344
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
8345
|
-
}>;
|
|
8164
|
+
model: z.ZodString;
|
|
8346
8165
|
}, z.core.$strict>;
|
|
8347
8166
|
readonly result: z.ZodObject<{
|
|
8348
|
-
model: z.
|
|
8349
|
-
"smollm2-135m": "smollm2-135m";
|
|
8350
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
8351
|
-
"phi-4-mini": "phi-4-mini";
|
|
8352
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
8353
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
8354
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
8355
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
8356
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
8357
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
8358
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
8359
|
-
}>;
|
|
8167
|
+
model: z.ZodString;
|
|
8360
8168
|
elapsed_ms: z.ZodInt;
|
|
8361
8169
|
}, z.core.$strict>;
|
|
8362
8170
|
};
|
|
8363
8171
|
readonly "ml.llm_start": {
|
|
8364
8172
|
readonly params: z.ZodObject<{
|
|
8365
|
-
model: z.
|
|
8366
|
-
"smollm2-135m": "smollm2-135m";
|
|
8367
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
8368
|
-
"phi-4-mini": "phi-4-mini";
|
|
8369
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
8370
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
8371
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
8372
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
8373
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
8374
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
8375
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
8376
|
-
}>;
|
|
8173
|
+
model: z.ZodString;
|
|
8377
8174
|
context_length: z.ZodOptional<z.ZodInt>;
|
|
8378
8175
|
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
8379
8176
|
threads: z.ZodOptional<z.ZodInt>;
|
|
@@ -8381,18 +8178,7 @@ declare const SERVICES: {
|
|
|
8381
8178
|
}, z.core.$strict>;
|
|
8382
8179
|
readonly result: z.ZodObject<{
|
|
8383
8180
|
running: z.ZodObject<{
|
|
8384
|
-
id: z.
|
|
8385
|
-
"smollm2-135m": "smollm2-135m";
|
|
8386
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
8387
|
-
"phi-4-mini": "phi-4-mini";
|
|
8388
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
8389
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
8390
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
8391
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
8392
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
8393
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
8394
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
8395
|
-
}>;
|
|
8181
|
+
id: z.ZodString;
|
|
8396
8182
|
port: z.ZodInt;
|
|
8397
8183
|
context_length: z.ZodOptional<z.ZodInt>;
|
|
8398
8184
|
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
@@ -8440,6 +8226,48 @@ declare const SERVICES: {
|
|
|
8440
8226
|
cancelled: z.ZodBoolean;
|
|
8441
8227
|
}, z.core.$strict>;
|
|
8442
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.ZodNullable<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
|
+
};
|
|
8443
8271
|
};
|
|
8444
8272
|
};
|
|
8445
8273
|
readonly coding: {
|
|
@@ -10170,12 +9998,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
10170
9998
|
control: "control";
|
|
10171
9999
|
}>;
|
|
10172
10000
|
}, z.core.$strict>;
|
|
10173
|
-
readonly TranscriptionModelId: z.
|
|
10174
|
-
tiny: "tiny";
|
|
10175
|
-
base: "base";
|
|
10176
|
-
small: "small";
|
|
10177
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
10178
|
-
}>;
|
|
10001
|
+
readonly TranscriptionModelId: z.ZodString;
|
|
10179
10002
|
readonly MlRuntimeState: z.ZodEnum<{
|
|
10180
10003
|
not_installed: "not_installed";
|
|
10181
10004
|
installing: "installing";
|
|
@@ -10198,12 +10021,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
10198
10021
|
bytes_total: z.ZodNullable<z.ZodInt>;
|
|
10199
10022
|
}, z.core.$strict>;
|
|
10200
10023
|
readonly TranscriptionModelInfo: z.ZodObject<{
|
|
10201
|
-
id: z.
|
|
10202
|
-
tiny: "tiny";
|
|
10203
|
-
base: "base";
|
|
10204
|
-
small: "small";
|
|
10205
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
10206
|
-
}>;
|
|
10024
|
+
id: z.ZodString;
|
|
10207
10025
|
size_bytes: z.ZodInt;
|
|
10208
10026
|
multilingual: z.ZodBoolean;
|
|
10209
10027
|
installed: z.ZodBoolean;
|
|
@@ -10237,48 +10055,23 @@ declare const NAMED_SCHEMAS: {
|
|
|
10237
10055
|
cuda: "cuda";
|
|
10238
10056
|
}>;
|
|
10239
10057
|
models: z.ZodArray<z.ZodObject<{
|
|
10240
|
-
id: z.
|
|
10241
|
-
tiny: "tiny";
|
|
10242
|
-
base: "base";
|
|
10243
|
-
small: "small";
|
|
10244
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
10245
|
-
}>;
|
|
10058
|
+
id: z.ZodString;
|
|
10246
10059
|
size_bytes: z.ZodInt;
|
|
10247
10060
|
multilingual: z.ZodBoolean;
|
|
10248
10061
|
installed: z.ZodBoolean;
|
|
10249
10062
|
}, z.core.$strict>>;
|
|
10250
|
-
default_model: z.
|
|
10251
|
-
tiny: "tiny";
|
|
10252
|
-
base: "base";
|
|
10253
|
-
small: "small";
|
|
10254
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
10255
|
-
}>;
|
|
10063
|
+
default_model: z.ZodString;
|
|
10256
10064
|
}, z.core.$strict>;
|
|
10257
10065
|
readonly ModelsInstallParams: z.ZodObject<{
|
|
10258
|
-
model: z.ZodOptional<z.
|
|
10259
|
-
tiny: "tiny";
|
|
10260
|
-
base: "base";
|
|
10261
|
-
small: "small";
|
|
10262
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
10263
|
-
}>>;
|
|
10066
|
+
model: z.ZodOptional<z.ZodString>;
|
|
10264
10067
|
}, z.core.$strict>;
|
|
10265
10068
|
readonly ModelsInstallResult: z.ZodObject<{
|
|
10266
|
-
model: z.
|
|
10267
|
-
tiny: "tiny";
|
|
10268
|
-
base: "base";
|
|
10269
|
-
small: "small";
|
|
10270
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
10271
|
-
}>;
|
|
10069
|
+
model: z.ZodString;
|
|
10272
10070
|
elapsed_ms: z.ZodInt;
|
|
10273
10071
|
}, z.core.$strict>;
|
|
10274
10072
|
readonly ModelsTranscribeParams: z.ZodObject<{
|
|
10275
10073
|
path: z.ZodString;
|
|
10276
|
-
model: z.ZodOptional<z.
|
|
10277
|
-
tiny: "tiny";
|
|
10278
|
-
base: "base";
|
|
10279
|
-
small: "small";
|
|
10280
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
10281
|
-
}>>;
|
|
10074
|
+
model: z.ZodOptional<z.ZodString>;
|
|
10282
10075
|
language: z.ZodOptional<z.ZodString>;
|
|
10283
10076
|
task: z.ZodDefault<z.ZodEnum<{
|
|
10284
10077
|
transcribe: "transcribe";
|
|
@@ -10290,12 +10083,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
10290
10083
|
language: z.ZodString;
|
|
10291
10084
|
language_probability: z.ZodNumber;
|
|
10292
10085
|
duration_s: z.ZodNumber;
|
|
10293
|
-
model: z.
|
|
10294
|
-
tiny: "tiny";
|
|
10295
|
-
base: "base";
|
|
10296
|
-
small: "small";
|
|
10297
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
10298
|
-
}>;
|
|
10086
|
+
model: z.ZodString;
|
|
10299
10087
|
segments: z.ZodArray<z.ZodObject<{
|
|
10300
10088
|
start_s: z.ZodNumber;
|
|
10301
10089
|
end_s: z.ZodNumber;
|
|
@@ -10383,22 +10171,12 @@ declare const NAMED_SCHEMAS: {
|
|
|
10383
10171
|
cuda: "cuda";
|
|
10384
10172
|
}>;
|
|
10385
10173
|
models: z.ZodArray<z.ZodObject<{
|
|
10386
|
-
id: z.
|
|
10387
|
-
tiny: "tiny";
|
|
10388
|
-
base: "base";
|
|
10389
|
-
small: "small";
|
|
10390
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
10391
|
-
}>;
|
|
10174
|
+
id: z.ZodString;
|
|
10392
10175
|
size_bytes: z.ZodInt;
|
|
10393
10176
|
multilingual: z.ZodBoolean;
|
|
10394
10177
|
installed: z.ZodBoolean;
|
|
10395
10178
|
}, z.core.$strict>>;
|
|
10396
|
-
default_model: z.
|
|
10397
|
-
tiny: "tiny";
|
|
10398
|
-
base: "base";
|
|
10399
|
-
small: "small";
|
|
10400
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
10401
|
-
}>;
|
|
10179
|
+
default_model: z.ZodString;
|
|
10402
10180
|
}, z.core.$strict>>;
|
|
10403
10181
|
}, z.core.$strict>;
|
|
10404
10182
|
readonly ModelsProgressEvent: z.ZodObject<{
|
|
@@ -10426,34 +10204,80 @@ declare const NAMED_SCHEMAS: {
|
|
|
10426
10204
|
}, z.core.$strict>>;
|
|
10427
10205
|
}, z.core.$strict>;
|
|
10428
10206
|
}, z.core.$strict>;
|
|
10429
|
-
readonly TextModelId: z.
|
|
10430
|
-
"smollm2-135m": "smollm2-135m";
|
|
10431
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
10432
|
-
"phi-4-mini": "phi-4-mini";
|
|
10433
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
10434
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
10435
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
10436
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
10437
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
10438
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
10439
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
10440
|
-
}>;
|
|
10207
|
+
readonly TextModelId: z.ZodString;
|
|
10441
10208
|
readonly TextModelInfo: z.ZodObject<{
|
|
10442
|
-
id: z.
|
|
10443
|
-
"smollm2-135m": "smollm2-135m";
|
|
10444
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
10445
|
-
"phi-4-mini": "phi-4-mini";
|
|
10446
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
10447
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
10448
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
10449
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
10450
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
10451
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
10452
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
10453
|
-
}>;
|
|
10209
|
+
id: z.ZodString;
|
|
10454
10210
|
size_bytes: z.ZodInt;
|
|
10455
10211
|
installed: z.ZodBoolean;
|
|
10456
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.ZodNullable<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>;
|
|
10457
10281
|
readonly LlmServerState: z.ZodEnum<{
|
|
10458
10282
|
running: "running";
|
|
10459
10283
|
failed: "failed";
|
|
@@ -10461,18 +10285,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
10461
10285
|
starting: "starting";
|
|
10462
10286
|
}>;
|
|
10463
10287
|
readonly LlmRunning: z.ZodObject<{
|
|
10464
|
-
id: z.
|
|
10465
|
-
"smollm2-135m": "smollm2-135m";
|
|
10466
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
10467
|
-
"phi-4-mini": "phi-4-mini";
|
|
10468
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
10469
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
10470
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
10471
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
10472
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
10473
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
10474
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
10475
|
-
}>;
|
|
10288
|
+
id: z.ZodString;
|
|
10476
10289
|
port: z.ZodInt;
|
|
10477
10290
|
context_length: z.ZodOptional<z.ZodInt>;
|
|
10478
10291
|
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
@@ -10487,51 +10300,18 @@ declare const NAMED_SCHEMAS: {
|
|
|
10487
10300
|
starting: "starting";
|
|
10488
10301
|
}>;
|
|
10489
10302
|
models: z.ZodArray<z.ZodObject<{
|
|
10490
|
-
id: z.
|
|
10491
|
-
"smollm2-135m": "smollm2-135m";
|
|
10492
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
10493
|
-
"phi-4-mini": "phi-4-mini";
|
|
10494
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
10495
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
10496
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
10497
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
10498
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
10499
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
10500
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
10501
|
-
}>;
|
|
10303
|
+
id: z.ZodString;
|
|
10502
10304
|
size_bytes: z.ZodInt;
|
|
10503
10305
|
installed: z.ZodBoolean;
|
|
10504
10306
|
}, z.core.$strict>>;
|
|
10505
10307
|
running: z.ZodNullable<z.ZodObject<{
|
|
10506
|
-
id: z.
|
|
10507
|
-
"smollm2-135m": "smollm2-135m";
|
|
10508
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
10509
|
-
"phi-4-mini": "phi-4-mini";
|
|
10510
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
10511
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
10512
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
10513
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
10514
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
10515
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
10516
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
10517
|
-
}>;
|
|
10308
|
+
id: z.ZodString;
|
|
10518
10309
|
port: z.ZodInt;
|
|
10519
10310
|
context_length: z.ZodOptional<z.ZodInt>;
|
|
10520
10311
|
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
10521
10312
|
threads: z.ZodOptional<z.ZodInt>;
|
|
10522
10313
|
}, z.core.$strict>>;
|
|
10523
|
-
starting: z.ZodNullable<z.
|
|
10524
|
-
"smollm2-135m": "smollm2-135m";
|
|
10525
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
10526
|
-
"phi-4-mini": "phi-4-mini";
|
|
10527
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
10528
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
10529
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
10530
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
10531
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
10532
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
10533
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
10534
|
-
}>>;
|
|
10314
|
+
starting: z.ZodNullable<z.ZodString>;
|
|
10535
10315
|
install: z.ZodNullable<z.ZodObject<{
|
|
10536
10316
|
phase: z.ZodEnum<{
|
|
10537
10317
|
model: "model";
|
|
@@ -10545,47 +10325,14 @@ declare const NAMED_SCHEMAS: {
|
|
|
10545
10325
|
error: z.ZodNullable<z.ZodString>;
|
|
10546
10326
|
}, z.core.$strict>;
|
|
10547
10327
|
readonly ModelsLlmInstallParams: z.ZodObject<{
|
|
10548
|
-
model: z.
|
|
10549
|
-
"smollm2-135m": "smollm2-135m";
|
|
10550
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
10551
|
-
"phi-4-mini": "phi-4-mini";
|
|
10552
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
10553
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
10554
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
10555
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
10556
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
10557
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
10558
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
10559
|
-
}>;
|
|
10328
|
+
model: z.ZodString;
|
|
10560
10329
|
}, z.core.$strict>;
|
|
10561
10330
|
readonly ModelsLlmInstallResult: z.ZodObject<{
|
|
10562
|
-
model: z.
|
|
10563
|
-
"smollm2-135m": "smollm2-135m";
|
|
10564
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
10565
|
-
"phi-4-mini": "phi-4-mini";
|
|
10566
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
10567
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
10568
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
10569
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
10570
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
10571
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
10572
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
10573
|
-
}>;
|
|
10331
|
+
model: z.ZodString;
|
|
10574
10332
|
elapsed_ms: z.ZodInt;
|
|
10575
10333
|
}, z.core.$strict>;
|
|
10576
10334
|
readonly ModelsLlmStartParams: z.ZodObject<{
|
|
10577
|
-
model: z.
|
|
10578
|
-
"smollm2-135m": "smollm2-135m";
|
|
10579
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
10580
|
-
"phi-4-mini": "phi-4-mini";
|
|
10581
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
10582
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
10583
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
10584
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
10585
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
10586
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
10587
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
10588
|
-
}>;
|
|
10335
|
+
model: z.ZodString;
|
|
10589
10336
|
context_length: z.ZodOptional<z.ZodInt>;
|
|
10590
10337
|
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
10591
10338
|
threads: z.ZodOptional<z.ZodInt>;
|
|
@@ -10593,18 +10340,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
10593
10340
|
}, z.core.$strict>;
|
|
10594
10341
|
readonly ModelsLlmStartResult: z.ZodObject<{
|
|
10595
10342
|
running: z.ZodObject<{
|
|
10596
|
-
id: z.
|
|
10597
|
-
"smollm2-135m": "smollm2-135m";
|
|
10598
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
10599
|
-
"phi-4-mini": "phi-4-mini";
|
|
10600
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
10601
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
10602
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
10603
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
10604
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
10605
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
10606
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
10607
|
-
}>;
|
|
10343
|
+
id: z.ZodString;
|
|
10608
10344
|
port: z.ZodInt;
|
|
10609
10345
|
context_length: z.ZodOptional<z.ZodInt>;
|
|
10610
10346
|
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
@@ -14296,9 +14032,9 @@ declare const NAMED_SCHEMAS: {
|
|
|
14296
14032
|
}, z.core.$strict>>;
|
|
14297
14033
|
}, z.core.$strict>;
|
|
14298
14034
|
readonly ToolLevel: z.ZodEnum<{
|
|
14035
|
+
protocol: "protocol";
|
|
14299
14036
|
chat: "chat";
|
|
14300
14037
|
programmatic: "programmatic";
|
|
14301
|
-
protocol: "protocol";
|
|
14302
14038
|
}>;
|
|
14303
14039
|
readonly ToolOutcome: z.ZodEnum<{
|
|
14304
14040
|
pass: "pass";
|
|
@@ -14320,9 +14056,9 @@ declare const NAMED_SCHEMAS: {
|
|
|
14320
14056
|
readonly ToolLevelResult: z.ZodObject<{
|
|
14321
14057
|
tool: z.ZodString;
|
|
14322
14058
|
level: z.ZodEnum<{
|
|
14059
|
+
protocol: "protocol";
|
|
14323
14060
|
chat: "chat";
|
|
14324
14061
|
programmatic: "programmatic";
|
|
14325
|
-
protocol: "protocol";
|
|
14326
14062
|
}>;
|
|
14327
14063
|
platform: z.ZodEnum<{
|
|
14328
14064
|
darwin: "darwin";
|
|
@@ -14353,9 +14089,9 @@ declare const NAMED_SCHEMAS: {
|
|
|
14353
14089
|
results: z.ZodArray<z.ZodObject<{
|
|
14354
14090
|
tool: z.ZodString;
|
|
14355
14091
|
level: z.ZodEnum<{
|
|
14092
|
+
protocol: "protocol";
|
|
14356
14093
|
chat: "chat";
|
|
14357
14094
|
programmatic: "programmatic";
|
|
14358
|
-
protocol: "protocol";
|
|
14359
14095
|
}>;
|
|
14360
14096
|
platform: z.ZodEnum<{
|
|
14361
14097
|
darwin: "darwin";
|
|
@@ -18552,12 +18288,7 @@ declare const MlInstallProgress: z.ZodObject<{
|
|
|
18552
18288
|
bytes_total: z.ZodNullable<z.ZodInt>;
|
|
18553
18289
|
}, z.core.$strict>;
|
|
18554
18290
|
declare const TranscriptionModelInfo: z.ZodObject<{
|
|
18555
|
-
id: z.
|
|
18556
|
-
tiny: "tiny";
|
|
18557
|
-
base: "base";
|
|
18558
|
-
small: "small";
|
|
18559
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
18560
|
-
}>;
|
|
18291
|
+
id: z.ZodString;
|
|
18561
18292
|
size_bytes: z.ZodInt;
|
|
18562
18293
|
multilingual: z.ZodBoolean;
|
|
18563
18294
|
installed: z.ZodBoolean;
|
|
@@ -18565,18 +18296,7 @@ declare const TranscriptionModelInfo: z.ZodObject<{
|
|
|
18565
18296
|
/** What the `ml` service itself reports (the core adds the supervisor's view in ModelsStatusResult). */
|
|
18566
18297
|
declare const MlStatusParams: z.ZodObject<{}, z.core.$strict>;
|
|
18567
18298
|
declare const TextModelInfo: z.ZodObject<{
|
|
18568
|
-
id: z.
|
|
18569
|
-
"smollm2-135m": "smollm2-135m";
|
|
18570
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
18571
|
-
"phi-4-mini": "phi-4-mini";
|
|
18572
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
18573
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
18574
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
18575
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
18576
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
18577
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
18578
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
18579
|
-
}>;
|
|
18299
|
+
id: z.ZodString;
|
|
18580
18300
|
size_bytes: z.ZodInt;
|
|
18581
18301
|
installed: z.ZodBoolean;
|
|
18582
18302
|
}, z.core.$strict>;
|
|
@@ -18590,48 +18310,15 @@ declare const LlmServerState: z.ZodEnum<{
|
|
|
18590
18310
|
declare const ModelsLlmStatusParams: z.ZodObject<{}, z.core.$strict>;
|
|
18591
18311
|
/** Download the model server program (if missing) and one model's weights. Progress: models.progress. */
|
|
18592
18312
|
declare const ModelsLlmInstallParams: 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
|
-
}>;
|
|
18313
|
+
model: z.ZodString;
|
|
18605
18314
|
}, z.core.$strict>;
|
|
18606
18315
|
declare const ModelsLlmInstallResult: z.ZodObject<{
|
|
18607
|
-
model: z.
|
|
18608
|
-
"smollm2-135m": "smollm2-135m";
|
|
18609
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
18610
|
-
"phi-4-mini": "phi-4-mini";
|
|
18611
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
18612
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
18613
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
18614
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
18615
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
18616
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
18617
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
18618
|
-
}>;
|
|
18316
|
+
model: z.ZodString;
|
|
18619
18317
|
elapsed_ms: z.ZodInt;
|
|
18620
18318
|
}, z.core.$strict>;
|
|
18621
18319
|
/** Load one downloaded model (stopping any other). Resolves once the server answers its health check. */
|
|
18622
18320
|
declare const ModelsLlmStartParams: z.ZodObject<{
|
|
18623
|
-
model: z.
|
|
18624
|
-
"smollm2-135m": "smollm2-135m";
|
|
18625
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
18626
|
-
"phi-4-mini": "phi-4-mini";
|
|
18627
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
18628
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
18629
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
18630
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
18631
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
18632
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
18633
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
18634
|
-
}>;
|
|
18321
|
+
model: z.ZodString;
|
|
18635
18322
|
context_length: z.ZodOptional<z.ZodInt>;
|
|
18636
18323
|
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
18637
18324
|
threads: z.ZodOptional<z.ZodInt>;
|
|
@@ -18641,6 +18328,11 @@ declare const ModelsLlmStopParams: z.ZodObject<{}, z.core.$strict>;
|
|
|
18641
18328
|
declare const ModelsLlmStopResult: z.ZodObject<{
|
|
18642
18329
|
stopped: z.ZodBoolean;
|
|
18643
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>;
|
|
18644
18336
|
/** What a download fetches: a speech model, a language model, or a runtime (speech runtime, model server program). */
|
|
18645
18337
|
declare const DownloadKind: z.ZodEnum<{
|
|
18646
18338
|
runtime: "runtime";
|
|
@@ -18677,13 +18369,8 @@ declare const MlServiceStatus: z.ZodObject<{
|
|
|
18677
18369
|
error: z.ZodNullable<z.ZodString>;
|
|
18678
18370
|
}, z.core.$strict>;
|
|
18679
18371
|
declare const ModelsStatusParams: z.ZodObject<{}, z.core.$strict>;
|
|
18680
|
-
/** Whisper
|
|
18681
|
-
declare const TranscriptionModelId: z.
|
|
18682
|
-
tiny: "tiny";
|
|
18683
|
-
base: "base";
|
|
18684
|
-
small: "small";
|
|
18685
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
18686
|
-
}>;
|
|
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;
|
|
18687
18374
|
type TranscriptionModelId = z.output<typeof TranscriptionModelId>;
|
|
18688
18375
|
declare const MlStatusResult: z.ZodObject<{
|
|
18689
18376
|
runtime: z.ZodEnum<{
|
|
@@ -18708,22 +18395,12 @@ declare const MlStatusResult: z.ZodObject<{
|
|
|
18708
18395
|
cuda: "cuda";
|
|
18709
18396
|
}>;
|
|
18710
18397
|
models: z.ZodArray<z.ZodObject<{
|
|
18711
|
-
id: z.
|
|
18712
|
-
tiny: "tiny";
|
|
18713
|
-
base: "base";
|
|
18714
|
-
small: "small";
|
|
18715
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
18716
|
-
}>;
|
|
18398
|
+
id: z.ZodString;
|
|
18717
18399
|
size_bytes: z.ZodInt;
|
|
18718
18400
|
multilingual: z.ZodBoolean;
|
|
18719
18401
|
installed: z.ZodBoolean;
|
|
18720
18402
|
}, z.core.$strict>>;
|
|
18721
|
-
default_model: z.
|
|
18722
|
-
tiny: "tiny";
|
|
18723
|
-
base: "base";
|
|
18724
|
-
small: "small";
|
|
18725
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
18726
|
-
}>;
|
|
18403
|
+
default_model: z.ZodString;
|
|
18727
18404
|
}, z.core.$strict>;
|
|
18728
18405
|
type MlStatusResult = z.output<typeof MlStatusResult>;
|
|
18729
18406
|
/** A progress report while `ml.install` / `ml.transcribe` runs. */
|
|
@@ -18787,22 +18464,12 @@ declare const ModelsStatusResult: z.ZodObject<{
|
|
|
18787
18464
|
cuda: "cuda";
|
|
18788
18465
|
}>;
|
|
18789
18466
|
models: z.ZodArray<z.ZodObject<{
|
|
18790
|
-
id: z.
|
|
18791
|
-
tiny: "tiny";
|
|
18792
|
-
base: "base";
|
|
18793
|
-
small: "small";
|
|
18794
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
18795
|
-
}>;
|
|
18467
|
+
id: z.ZodString;
|
|
18796
18468
|
size_bytes: z.ZodInt;
|
|
18797
18469
|
multilingual: z.ZodBoolean;
|
|
18798
18470
|
installed: z.ZodBoolean;
|
|
18799
18471
|
}, z.core.$strict>>;
|
|
18800
|
-
default_model: z.
|
|
18801
|
-
tiny: "tiny";
|
|
18802
|
-
base: "base";
|
|
18803
|
-
small: "small";
|
|
18804
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
18805
|
-
}>;
|
|
18472
|
+
default_model: z.ZodString;
|
|
18806
18473
|
}, z.core.$strict>>;
|
|
18807
18474
|
}, z.core.$strict>;
|
|
18808
18475
|
type ModelsStatusResult = z.output<typeof ModelsStatusResult>;
|
|
@@ -18812,12 +18479,7 @@ type ModelsStatusResult = z.output<typeof ModelsStatusResult>;
|
|
|
18812
18479
|
*/
|
|
18813
18480
|
declare const ModelsTranscribeParams: z.ZodObject<{
|
|
18814
18481
|
path: z.ZodString;
|
|
18815
|
-
model: z.ZodOptional<z.
|
|
18816
|
-
tiny: "tiny";
|
|
18817
|
-
base: "base";
|
|
18818
|
-
small: "small";
|
|
18819
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
18820
|
-
}>>;
|
|
18482
|
+
model: z.ZodOptional<z.ZodString>;
|
|
18821
18483
|
language: z.ZodOptional<z.ZodString>;
|
|
18822
18484
|
task: z.ZodDefault<z.ZodEnum<{
|
|
18823
18485
|
transcribe: "transcribe";
|
|
@@ -18830,12 +18492,7 @@ declare const ModelsTranscribeResult: z.ZodObject<{
|
|
|
18830
18492
|
language: z.ZodString;
|
|
18831
18493
|
language_probability: z.ZodNumber;
|
|
18832
18494
|
duration_s: z.ZodNumber;
|
|
18833
|
-
model: z.
|
|
18834
|
-
tiny: "tiny";
|
|
18835
|
-
base: "base";
|
|
18836
|
-
small: "small";
|
|
18837
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
18838
|
-
}>;
|
|
18495
|
+
model: z.ZodString;
|
|
18839
18496
|
segments: z.ZodArray<z.ZodObject<{
|
|
18840
18497
|
start_s: z.ZodNumber;
|
|
18841
18498
|
end_s: z.ZodNumber;
|
|
@@ -18846,21 +18503,11 @@ declare const ModelsTranscribeResult: z.ZodObject<{
|
|
|
18846
18503
|
type ModelsTranscribeResult = z.output<typeof ModelsTranscribeResult>;
|
|
18847
18504
|
/** Install the runtime (if missing) and one model's weights (default: the default model). */
|
|
18848
18505
|
declare const ModelsInstallParams: z.ZodObject<{
|
|
18849
|
-
model: z.ZodOptional<z.
|
|
18850
|
-
tiny: "tiny";
|
|
18851
|
-
base: "base";
|
|
18852
|
-
small: "small";
|
|
18853
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
18854
|
-
}>>;
|
|
18506
|
+
model: z.ZodOptional<z.ZodString>;
|
|
18855
18507
|
}, z.core.$strict>;
|
|
18856
18508
|
type ModelsInstallParams = z.output<typeof ModelsInstallParams>;
|
|
18857
18509
|
declare const ModelsInstallResult: z.ZodObject<{
|
|
18858
|
-
model: z.
|
|
18859
|
-
tiny: "tiny";
|
|
18860
|
-
base: "base";
|
|
18861
|
-
small: "small";
|
|
18862
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
18863
|
-
}>;
|
|
18510
|
+
model: z.ZodString;
|
|
18864
18511
|
elapsed_ms: z.ZodInt;
|
|
18865
18512
|
}, z.core.$strict>;
|
|
18866
18513
|
type ModelsInstallResult = z.output<typeof ModelsInstallResult>;
|
|
@@ -18891,38 +18538,92 @@ declare const ModelsProgressEvent: z.ZodObject<{
|
|
|
18891
18538
|
}, z.core.$strict>;
|
|
18892
18539
|
}, z.core.$strict>;
|
|
18893
18540
|
type ModelsProgressEvent = z.output<typeof ModelsProgressEvent>;
|
|
18894
|
-
/**
|
|
18895
|
-
declare const TextModelId: z.
|
|
18896
|
-
"smollm2-135m": "smollm2-135m";
|
|
18897
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
18898
|
-
"phi-4-mini": "phi-4-mini";
|
|
18899
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
18900
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
18901
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
18902
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
18903
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
18904
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
18905
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
18906
|
-
}>;
|
|
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;
|
|
18907
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.ZodNullable<z.ZodString>;
|
|
18617
|
+
catalog_updated_at: z.ZodString;
|
|
18618
|
+
}, z.core.$strict>;
|
|
18619
|
+
type MlCatalogSetParams = z.output<typeof MlCatalogSetParams>;
|
|
18908
18620
|
/**
|
|
18909
18621
|
* The model that answers now and the loopback port it listens on. Never a URL: the only caller that
|
|
18910
18622
|
* talks to it (the app's own main process) builds http://127.0.0.1:<port> itself, so no status
|
|
18911
18623
|
* payload can choose where text goes.
|
|
18912
18624
|
*/
|
|
18913
18625
|
declare const LlmRunning: z.ZodObject<{
|
|
18914
|
-
id: z.
|
|
18915
|
-
"smollm2-135m": "smollm2-135m";
|
|
18916
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
18917
|
-
"phi-4-mini": "phi-4-mini";
|
|
18918
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
18919
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
18920
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
18921
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
18922
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
18923
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
18924
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
18925
|
-
}>;
|
|
18626
|
+
id: z.ZodString;
|
|
18926
18627
|
port: z.ZodInt;
|
|
18927
18628
|
context_length: z.ZodOptional<z.ZodInt>;
|
|
18928
18629
|
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
@@ -18937,51 +18638,18 @@ declare const ModelsLlmStatusResult: z.ZodObject<{
|
|
|
18937
18638
|
starting: "starting";
|
|
18938
18639
|
}>;
|
|
18939
18640
|
models: z.ZodArray<z.ZodObject<{
|
|
18940
|
-
id: z.
|
|
18941
|
-
"smollm2-135m": "smollm2-135m";
|
|
18942
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
18943
|
-
"phi-4-mini": "phi-4-mini";
|
|
18944
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
18945
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
18946
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
18947
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
18948
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
18949
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
18950
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
18951
|
-
}>;
|
|
18641
|
+
id: z.ZodString;
|
|
18952
18642
|
size_bytes: z.ZodInt;
|
|
18953
18643
|
installed: z.ZodBoolean;
|
|
18954
18644
|
}, z.core.$strict>>;
|
|
18955
18645
|
running: z.ZodNullable<z.ZodObject<{
|
|
18956
|
-
id: z.
|
|
18957
|
-
"smollm2-135m": "smollm2-135m";
|
|
18958
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
18959
|
-
"phi-4-mini": "phi-4-mini";
|
|
18960
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
18961
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
18962
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
18963
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
18964
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
18965
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
18966
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
18967
|
-
}>;
|
|
18646
|
+
id: z.ZodString;
|
|
18968
18647
|
port: z.ZodInt;
|
|
18969
18648
|
context_length: z.ZodOptional<z.ZodInt>;
|
|
18970
18649
|
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
18971
18650
|
threads: z.ZodOptional<z.ZodInt>;
|
|
18972
18651
|
}, z.core.$strict>>;
|
|
18973
|
-
starting: z.ZodNullable<z.
|
|
18974
|
-
"smollm2-135m": "smollm2-135m";
|
|
18975
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
18976
|
-
"phi-4-mini": "phi-4-mini";
|
|
18977
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
18978
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
18979
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
18980
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
18981
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
18982
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
18983
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
18984
|
-
}>>;
|
|
18652
|
+
starting: z.ZodNullable<z.ZodString>;
|
|
18985
18653
|
install: z.ZodNullable<z.ZodObject<{
|
|
18986
18654
|
phase: z.ZodEnum<{
|
|
18987
18655
|
model: "model";
|
|
@@ -18997,18 +18665,7 @@ declare const ModelsLlmStatusResult: z.ZodObject<{
|
|
|
18997
18665
|
type ModelsLlmStatusResult = z.output<typeof ModelsLlmStatusResult>;
|
|
18998
18666
|
declare const ModelsLlmStartResult: z.ZodObject<{
|
|
18999
18667
|
running: z.ZodObject<{
|
|
19000
|
-
id: z.
|
|
19001
|
-
"smollm2-135m": "smollm2-135m";
|
|
19002
|
-
"llama-3.2-3b": "llama-3.2-3b";
|
|
19003
|
-
"phi-4-mini": "phi-4-mini";
|
|
19004
|
-
"gemma-3-4b": "gemma-3-4b";
|
|
19005
|
-
"llama-3.1-8b": "llama-3.1-8b";
|
|
19006
|
-
"qwen-2.5-7b": "qwen-2.5-7b";
|
|
19007
|
-
"mistral-small-3.1": "mistral-small-3.1";
|
|
19008
|
-
"gpt-oss-20b": "gpt-oss-20b";
|
|
19009
|
-
"qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
|
|
19010
|
-
"qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
|
|
19011
|
-
}>;
|
|
18668
|
+
id: z.ZodString;
|
|
19012
18669
|
port: z.ZodInt;
|
|
19013
18670
|
context_length: z.ZodOptional<z.ZodInt>;
|
|
19014
18671
|
gpu_layers: z.ZodOptional<z.ZodInt>;
|
|
@@ -19068,4 +18725,4 @@ declare const TranscriptSegment: z.ZodObject<{
|
|
|
19068
18725
|
}, z.core.$strict>;
|
|
19069
18726
|
type TranscriptSegment = z.output<typeof TranscriptSegment>;
|
|
19070
18727
|
|
|
19071
|
-
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 };
|