@byollm/protocol 0.1.3 → 0.1.4
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 +1 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +16 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- release-note 0.1.1 -->
|
|
2
|
-
> **`0.1.
|
|
2
|
+
> **`0.1.4` is documentation only — nothing to upgrade.** `PROTOCOL_VERSION`
|
|
3
3
|
> is still `2`, so a 0.1.0 party and a 0.1.1 party talk to each other in both
|
|
4
4
|
> directions. No dependency, schema, wire field or on-disk shape moved.
|
|
5
5
|
>
|
package/dist/index.d.ts
CHANGED
|
@@ -45,7 +45,16 @@ export { C as CONSOLE_FRAME_VERSION, a as CONSOLE_MAX_DATA_BYTES, b as ConsoleBy
|
|
|
45
45
|
* unchanged by the move.
|
|
46
46
|
*/
|
|
47
47
|
/**
|
|
48
|
-
* The hub fence, verbatim — ruled by Todd, 2026-
|
|
48
|
+
* The hub fence, verbatim — ruled by Todd, 2026-10-22 (#4058), replacing the
|
|
49
|
+
* 2026-09-04 wording.
|
|
50
|
+
*
|
|
51
|
+
* It says what the hub sees and stops there. The old sentence opened "sees
|
|
52
|
+
* only what routing and metering need", and that opening is why the sentence
|
|
53
|
+
* was ruled three times: a justification fails every new fact that serves
|
|
54
|
+
* neither — the device that did each job is kept for the team card, not for
|
|
55
|
+
* routing (which has it in Valkey) or billing (unchanged). Without it, the
|
|
56
|
+
* fence is the mapping below: a column that fits a clause is a release, and
|
|
57
|
+
* one that fits none is a ruling.
|
|
49
58
|
*
|
|
50
59
|
* Asserted whole rather than by keyword wherever it is checked: "close
|
|
51
60
|
* enough" is not a standard a page about what we can see gets to use, and a
|
package/dist/index.js
CHANGED
|
@@ -22,18 +22,29 @@ import {
|
|
|
22
22
|
} from "./chunk-J3HTAGMX.js";
|
|
23
23
|
|
|
24
24
|
// src/hub-fence.ts
|
|
25
|
-
var HUB_FENCE = "byollm.cloud sees
|
|
25
|
+
var HUB_FENCE = "byollm.cloud sees who asked, which devices and sites are connected, which device did each job, and each job's kind, size, outcome and time. Never prompts, never answers, never credentials.";
|
|
26
26
|
var HUB_FENCE_CLAUSES = Object.freeze([
|
|
27
27
|
{
|
|
28
|
-
says: "
|
|
29
|
-
covers: Object.freeze(["owner_id", "
|
|
28
|
+
says: "who asked",
|
|
29
|
+
covers: Object.freeze(["owner_id", "member_id"])
|
|
30
|
+
},
|
|
31
|
+
/*
|
|
32
|
+
* The pair row's device owner — the hub's one row per (requester, device
|
|
33
|
+
* owner), #4058's shape (c). Ruled into "devices and sites"; the clause runs
|
|
34
|
+
* on through "which device did each job" because that is the phrase the
|
|
35
|
+
* column makes true, and a clause that stopped short would map the column
|
|
36
|
+
* to words that do not mention it.
|
|
37
|
+
*/
|
|
38
|
+
{
|
|
39
|
+
says: "which devices and sites are connected, which device did each job",
|
|
40
|
+
covers: Object.freeze(["site_id", "served_by_owner_id"])
|
|
30
41
|
},
|
|
31
42
|
{
|
|
32
|
-
says: "each job's kind, size,
|
|
43
|
+
says: "each job's kind, size, outcome",
|
|
33
44
|
covers: Object.freeze(["kind", "size_class", "disposition", "bytes"])
|
|
34
45
|
},
|
|
35
46
|
{
|
|
36
|
-
says: "and
|
|
47
|
+
says: "and time",
|
|
37
48
|
covers: Object.freeze(["at", "month", "updated_at"])
|
|
38
49
|
},
|
|
39
50
|
/*
|