@quo-systems/quo 0.2.1 → 0.2.2
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/SPEC.md +13 -14
- package/package.json +1 -1
package/SPEC.md
CHANGED
|
@@ -851,10 +851,14 @@ One ward is one runtime and one language, and every being in it shares both.
|
|
|
851
851
|
A harbor that wants two languages starts two wards at least. Under
|
|
852
852
|
`src/being/`, `src/ward/`, `src/harbor/` and `src/conformance/` no runtime is
|
|
853
853
|
named. The whole
|
|
854
|
-
platform surface is the language plus
|
|
855
|
-
`TextDecoder`, `structuredClone`, `setTimeout
|
|
856
|
-
|
|
857
|
-
|
|
854
|
+
platform surface is the language plus ten globals. Six are the ward's own:
|
|
855
|
+
`crypto`, `TextEncoder`, `TextDecoder`, `structuredClone`, `setTimeout` and
|
|
856
|
+
`atob`. Four more came with the harbor, and are the whole of what a reach
|
|
857
|
+
costs: `fetch` and `WebSocket`, the two kinds of reach; `DataView`, the frame
|
|
858
|
+
id on a socket; and `clearTimeout`, the dialer's reconnect called off. That
|
|
859
|
+
list is a promise, not an accident: `test/terrain.test.ts` fails the build
|
|
860
|
+
both when a file names a platform and when it reaches for a global outside
|
|
861
|
+
the list, and when the list names one the tree has stopped using.
|
|
858
862
|
|
|
859
863
|
The package exports raw TypeScript, extension and all, on every specifier, so
|
|
860
864
|
Node loads it directly and every other terrain reaches a ward through a
|
|
@@ -891,7 +895,8 @@ partition
|
|
|
891
895
|
bind key -> her bind table
|
|
892
896
|
standings id -> { ward, heir | null, current, next, seq } her keys for a standing
|
|
893
897
|
occupants id -> heir pk
|
|
894
|
-
knocks <ward>:<heir> | public:<ward> -> { current, next, spoke, seq } before take
|
|
898
|
+
knocks <ward>:<heir> | public:<ward> -> { current, next, spoke, sent, seq } before take
|
|
899
|
+
spoke: bytes came back once. sent: bytes went out once, answered or not
|
|
895
900
|
answered <ward>:<heir> | public:<ward> -> true knocked and answered
|
|
896
901
|
minted the last eight pks her side minted
|
|
897
902
|
heirs heir pk -> { being, id, current, announced, fresh, mark, spent } the door's view of every occupant
|
|
@@ -1185,8 +1190,7 @@ way waits out the ceiling before asking again, because a suite does not
|
|
|
1185
1190
|
become speakable by asking sooner. Its wait returns to the first second
|
|
1186
1191
|
where the far side announced and was taken, and not where the line merely
|
|
1187
1192
|
opened: a listener that opens and then refuses would otherwise be dialed at
|
|
1188
|
-
a fixed two seconds for good
|
|
1189
|
-
code was read. Absent is this suite,
|
|
1193
|
+
a fixed two seconds for good. Absent is this suite,
|
|
1190
1194
|
because a caller older than the header is this one. Present and different is
|
|
1191
1195
|
refused as it is written: the number is compared as it was sent, so a suite
|
|
1192
1196
|
is one spelling and not a family of them.
|
|
@@ -1436,8 +1440,8 @@ alone, one JavaScript file and one declaration file per source file with
|
|
|
1436
1440
|
every relative import rewritten, and the exports map points there, types
|
|
1437
1441
|
beside default. The
|
|
1438
1442
|
build runs before every gate and every publish and is never tracked;
|
|
1439
|
-
nothing
|
|
1440
|
-
|
|
1443
|
+
nothing in this repository imports it except through the package name,
|
|
1444
|
+
which is how a consumer does. `test/package.test.ts` is the one
|
|
1441
1445
|
suite that meets the package as a stranger: it packs the tarball,
|
|
1442
1446
|
installs it into an empty folder, and imports every entry point under
|
|
1443
1447
|
plain Node. `npm pack --dry-run` shows what ships: `dist/`, the four
|
|
@@ -1456,11 +1460,6 @@ test/ the suites.
|
|
|
1456
1460
|
vectors/ fixed inputs and outputs: the arithmetic, Quo's own framing, the frames on the wire.
|
|
1457
1461
|
```
|
|
1458
1462
|
|
|
1459
|
-
`dock/` sits beside `src` and is not Quo: the beings, screens, model sides
|
|
1460
|
-
and real harbors built on it, each folder with its own document. This
|
|
1461
|
-
document does not read them, and they may not add a word to it. Its one
|
|
1462
|
-
claim on them is that every harbor there passes `src/conformance/` untouched.
|
|
1463
|
-
|
|
1464
1463
|
The hand to a kit in another language is two things, and they are of two
|
|
1465
1464
|
kinds. `vectors/` is the byte-level hand: fixed inputs and outputs for
|
|
1466
1465
|
everything a stranger can observe, the arithmetic, the ward pk, the digest,
|