@byollm/protocol 0.1.0-alpha.66 → 0.1.0-alpha.67
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 +2 -2
- package/dist/index.d.ts +6 -0
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
> [!WARNING]
|
|
2
|
-
> **Alpha (`0.1.0-alpha.
|
|
2
|
+
> **Alpha (`0.1.0-alpha.67`) — under active development. Don't use this yet.**
|
|
3
3
|
>
|
|
4
4
|
> Install it deliberately: `npm install @byollm/protocol@alpha`.
|
|
5
5
|
>
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
> packages published and `@byollm/server` did not: a Sigstore
|
|
84
84
|
> transparency-log 409 on its provenance attestation. The workflow's
|
|
85
85
|
> "already published" guard correctly refuses to resume a partial publish,
|
|
86
|
-
> so `0.1.0-alpha.
|
|
86
|
+
> so `0.1.0-alpha.67` is that release, whole.
|
|
87
87
|
>
|
|
88
88
|
> If you run the Supabase adapter, `alpha.21` needs
|
|
89
89
|
> `20260819010000_completed_by_lease_id.sql`: alpha.19 shipped §3.6's
|
package/dist/index.d.ts
CHANGED
|
@@ -2110,6 +2110,7 @@ declare const Capability: z.ZodObject<{
|
|
|
2110
2110
|
process: "process";
|
|
2111
2111
|
}>;
|
|
2112
2112
|
model: z.ZodString;
|
|
2113
|
+
knownModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2113
2114
|
offerScope: z.ZodEnum<{
|
|
2114
2115
|
private: "private";
|
|
2115
2116
|
team: "team";
|
|
@@ -2149,6 +2150,7 @@ declare const CapabilityMatrix: z.ZodArray<z.ZodObject<{
|
|
|
2149
2150
|
process: "process";
|
|
2150
2151
|
}>;
|
|
2151
2152
|
model: z.ZodString;
|
|
2153
|
+
knownModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2152
2154
|
offerScope: z.ZodEnum<{
|
|
2153
2155
|
private: "private";
|
|
2154
2156
|
team: "team";
|
|
@@ -2255,6 +2257,7 @@ declare const PairStartRequest: z.ZodObject<{
|
|
|
2255
2257
|
process: "process";
|
|
2256
2258
|
}>;
|
|
2257
2259
|
model: z.ZodString;
|
|
2260
|
+
knownModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2258
2261
|
offerScope: z.ZodEnum<{
|
|
2259
2262
|
private: "private";
|
|
2260
2263
|
team: "team";
|
|
@@ -2344,6 +2347,7 @@ declare const PairRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2344
2347
|
process: "process";
|
|
2345
2348
|
}>;
|
|
2346
2349
|
model: z.ZodString;
|
|
2350
|
+
knownModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2347
2351
|
offerScope: z.ZodEnum<{
|
|
2348
2352
|
private: "private";
|
|
2349
2353
|
team: "team";
|
|
@@ -2390,6 +2394,7 @@ declare const ClaimRequest: z.ZodObject<{
|
|
|
2390
2394
|
process: "process";
|
|
2391
2395
|
}>;
|
|
2392
2396
|
model: z.ZodString;
|
|
2397
|
+
knownModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2393
2398
|
offerScope: z.ZodEnum<{
|
|
2394
2399
|
private: "private";
|
|
2395
2400
|
team: "team";
|
|
@@ -2477,6 +2482,7 @@ declare const HeartbeatRequest: z.ZodObject<{
|
|
|
2477
2482
|
process: "process";
|
|
2478
2483
|
}>;
|
|
2479
2484
|
model: z.ZodString;
|
|
2485
|
+
knownModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2480
2486
|
offerScope: z.ZodEnum<{
|
|
2481
2487
|
private: "private";
|
|
2482
2488
|
team: "team";
|
package/dist/index.js
CHANGED
|
@@ -1817,6 +1817,26 @@ var Capability = z11.object({
|
|
|
1817
1817
|
backendId: BackendIdSchema,
|
|
1818
1818
|
backendClass: BackendClass,
|
|
1819
1819
|
model: z11.string().min(1),
|
|
1820
|
+
/**
|
|
1821
|
+
* Models this device's CLI knows about — byollm_017 ruling 3.
|
|
1822
|
+
*
|
|
1823
|
+
* **Suggestions, not a vocabulary.** Free text is always allowed: the
|
|
1824
|
+
* promise is that a model released this morning works this morning, and a
|
|
1825
|
+
* frozen list anywhere a person picks from breaks that on the first day
|
|
1826
|
+
* it matters. What makes free text safe is ruling 2 — a model is probed
|
|
1827
|
+
* before it is stored, so "found is not works" is answered by the device
|
|
1828
|
+
* rather than by a list.
|
|
1829
|
+
*
|
|
1830
|
+
* Announced with the capability rather than kept in the dashboard,
|
|
1831
|
+
* because the answer is "what does THIS device's CLI know" and only the
|
|
1832
|
+
* device can say. A list held cloud-side would be one more thing to
|
|
1833
|
+
* update on release day, and wrong for anybody who had not upgraded.
|
|
1834
|
+
*
|
|
1835
|
+
* Optional, and empty is legal. A backend with nothing to suggest — a
|
|
1836
|
+
* local server serving one model — is not a backend in an error state,
|
|
1837
|
+
* and a reader must not render an absent list as "no models available".
|
|
1838
|
+
*/
|
|
1839
|
+
knownModels: z11.array(z11.string().min(1)).optional(),
|
|
1820
1840
|
offerScope: OfferScope
|
|
1821
1841
|
}).strict();
|
|
1822
1842
|
var CapabilityMatrix = z11.array(Capability);
|