byollm 0.1.1 → 0.1.3
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/README.md +39 -20
- package/dist/bin.js +1 -1
- package/dist/{chunk-OOC3ASS6.js → chunk-PXL5HY2O.js} +328 -84
- package/dist/chunk-PXL5HY2O.js.map +1 -0
- package/dist/index.d.ts +24 -4
- package/dist/index.js +1 -1
- package/package.json +3 -3
- package/dist/chunk-OOC3ASS6.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -647,6 +647,25 @@ type ServiceState =
|
|
|
647
647
|
| {
|
|
648
648
|
readonly kind: "unstartable";
|
|
649
649
|
readonly model: string;
|
|
650
|
+
/**
|
|
651
|
+
* The type byollm WOULD start at this service's address — B098's offer,
|
|
652
|
+
* carried to the screen people look at.
|
|
653
|
+
*
|
|
654
|
+
* Todd, 10-05, after a reboot: `glm-5.2` is `openai-http` at
|
|
655
|
+
* `127.0.0.1:11434`, and this line told him only "start it yourself".
|
|
656
|
+
* He read it as on-demand start having broken. It had not — only
|
|
657
|
+
* `type: "ollama"` is ever started, ruled 09-10, offered not inferred —
|
|
658
|
+
* and `byollm diagnose` already printed the one-field fix. `status`
|
|
659
|
+
* did not, and `status` is what people read.
|
|
660
|
+
*
|
|
661
|
+
* Set by the daemon from `startableAt` (local-server.ts), the same function
|
|
662
|
+
* diagnose asks, and only when that provider is installed here: an
|
|
663
|
+
* offer to retype a service into one that would then read "not found"
|
|
664
|
+
* is a remedy that moves the problem. Optional, and absent means no
|
|
665
|
+
* offer — a file written before this field existed says what it always
|
|
666
|
+
* said.
|
|
667
|
+
*/
|
|
668
|
+
readonly startableAs?: BackendId | undefined;
|
|
650
669
|
} | {
|
|
651
670
|
readonly kind: "stopped";
|
|
652
671
|
readonly model: string;
|
|
@@ -995,6 +1014,7 @@ declare const DaemonConfig: z.ZodObject<{
|
|
|
995
1014
|
}> & z.core.$partial, z.ZodString>>;
|
|
996
1015
|
concurrency: z.ZodDefault<z.ZodNumber>;
|
|
997
1016
|
autoUpdate: z.ZodDefault<z.ZodBoolean>;
|
|
1017
|
+
updateAuthority: z.ZodOptional<z.ZodString>;
|
|
998
1018
|
minAvailableMemoryBytes: z.ZodDefault<z.ZodNumber>;
|
|
999
1019
|
community: z.ZodPrefault<z.ZodObject<{
|
|
1000
1020
|
maxJobsPerHour: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1355,8 +1375,8 @@ declare const OutcomeEntry: z.ZodObject<{
|
|
|
1355
1375
|
site: z.ZodOptional<z.ZodString>;
|
|
1356
1376
|
outcome: z.ZodEnum<{
|
|
1357
1377
|
error: "error";
|
|
1358
|
-
refused: "refused";
|
|
1359
1378
|
ok: "ok";
|
|
1379
|
+
refused: "refused";
|
|
1360
1380
|
canceled: "canceled";
|
|
1361
1381
|
}>;
|
|
1362
1382
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1399,8 +1419,8 @@ declare const IngressEntry: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1399
1419
|
site: z.ZodOptional<z.ZodString>;
|
|
1400
1420
|
outcome: z.ZodEnum<{
|
|
1401
1421
|
error: "error";
|
|
1402
|
-
refused: "refused";
|
|
1403
1422
|
ok: "ok";
|
|
1423
|
+
refused: "refused";
|
|
1404
1424
|
canceled: "canceled";
|
|
1405
1425
|
}>;
|
|
1406
1426
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2530,7 +2550,7 @@ declare const BASE_URL_REFUSAL_MESSAGES: Readonly<Record<BaseUrlRefusal, string>
|
|
|
2530
2550
|
/**
|
|
2531
2551
|
* `byollm` — what end users run.
|
|
2532
2552
|
*
|
|
2533
|
-
* The CLI (`byollm connect`, `status`, `log`, `
|
|
2553
|
+
* The CLI (`byollm connect`, `status`, `log`, `services`, `offer`) is the
|
|
2534
2554
|
* product surface; this module is the same machinery as a library, so the
|
|
2535
2555
|
* conformance kit can drive a real daemon in-process instead of shelling out.
|
|
2536
2556
|
*
|
|
@@ -2544,7 +2564,7 @@ declare const BASE_URL_REFUSAL_MESSAGES: Readonly<Record<BaseUrlRefusal, string>
|
|
|
2544
2564
|
* define: an app's runner list shows this string, so a stale one is a lie
|
|
2545
2565
|
* told to every user, and a literal that a test pins cannot drift quietly.
|
|
2546
2566
|
*/
|
|
2547
|
-
declare const DAEMON_VERSION = "0.1.
|
|
2567
|
+
declare const DAEMON_VERSION = "0.1.3";
|
|
2548
2568
|
/**
|
|
2549
2569
|
* Everything needed to reason about one daemon — byollm_010 §5.
|
|
2550
2570
|
*
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "byollm",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Bring Your Own LLM — run an app's LLM jobs on your own models.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"node": ">=22.14"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"zod": "
|
|
27
|
-
"@byollm/protocol": "0.1.
|
|
26
|
+
"zod": "4.4.3",
|
|
27
|
+
"@byollm/protocol": "0.1.3"
|
|
28
28
|
},
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"access": "public"
|