@lapxo/bound 0.1.9 → 0.2.1
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 +40 -121
- package/TARGET.bound +85 -14
- package/assets/wasm/guest.js +4 -0
- package/assets/wasm/manifest.json +27 -0
- package/assets/wasm/runtime.js +6 -0
- package/assets/wasm/runtime.wasm +0 -0
- package/dist/cli/pass.js +3 -3
- package/dist/cli/place.js +7 -4
- package/dist/cli/standing-result.js +4 -3
- package/dist/cli/verb.js +79 -9
- package/dist/engine/encoding.js +2 -0
- package/dist/engine/index.d.ts +13 -0
- package/dist/engine/index.js +11 -0
- package/dist/engine/object.js +38 -0
- package/dist/engine/ports.d.ts +32 -0
- package/dist/engine/ports.js +103 -0
- package/dist/fold/closed.js +22 -5
- package/dist/fold/digests.js +3 -2
- package/dist/fold/object.js +2 -38
- package/dist/fold/resolved.js +1 -1
- package/dist/host/admitted-place.js +10 -1
- package/dist/host/cell-receipts.js +1 -1
- package/dist/host/contextual-place.js +2 -2
- package/dist/host/io.js +2 -2
- package/dist/host/objects.js +24 -4
- package/dist/host/reading-closures.js +11 -13
- package/dist/host/reference-authenticated.d.ts +40 -0
- package/dist/host/reference-authenticated.js +100 -0
- package/dist/host/reference-contracts.js +6 -0
- package/dist/host/reference-export.d.ts +33 -0
- package/dist/host/reference-export.js +81 -0
- package/dist/host/reference-native-api.d.ts +3 -0
- package/dist/host/reference-native-api.js +3 -0
- package/dist/host/reference-native.d.ts +30 -0
- package/dist/host/reference-native.js +74 -0
- package/dist/host/reference-profile.d.ts +23 -0
- package/dist/host/reference-profile.js +63 -0
- package/dist/host/reference-standing.js +18 -0
- package/dist/host/reference.js +24 -0
- package/dist/host/refusals.d.ts +14 -0
- package/dist/host/refusals.js +43 -0
- package/dist/host/selected-topos.js +9 -1
- package/dist/host/signing.js +7 -1
- package/dist/observe/files.js +11 -1
- package/dist/observe/regions.js +109 -1
- package/dist/wasm/adapter.d.ts +51 -0
- package/dist/wasm/adapter.js +180 -0
- package/dist/wasm/node-worker.js +13 -0
- package/dist/wasm/object.js +76 -0
- package/dist/wasm/worker.js +7 -0
- package/docs/contracts/authenticated-reference.publication.json +25 -0
- package/docs/contracts/engine-object-projection.publication.json +25 -0
- package/docs/contracts/engine.md +39 -0
- package/docs/contracts/host-ports.md +23 -0
- package/docs/contracts/host-ports.publication.json +25 -0
- package/docs/contracts/native-publication.inventory.json +14 -0
- package/docs/contracts/optional-wasm-adapter.publication.json +25 -0
- package/docs/contracts/publication-additions.inventory.json +8 -0
- package/docs/contracts/readme.publication.json +25 -0
- package/docs/contracts/reference-backend.md +24 -0
- package/docs/contracts/reference-backend.publication.json +25 -0
- package/docs/contracts/reference-export.md +31 -0
- package/docs/contracts/reference-export.publication.json +25 -0
- package/docs/contracts/reference-port.md +40 -0
- package/docs/contracts/reference-port.publication.json +25 -0
- package/docs/contracts/refusals.bound +94 -0
- package/docs/contracts/refusals.md +47 -0
- package/docs/contracts/refusals.publication.json +25 -0
- package/docs/contracts/standing.bound +9 -0
- package/docs/contracts/standing.md +24 -0
- package/docs/contracts/standing.publication.json +25 -0
- package/licenses/wasm/bound.txt +21 -0
- package/licenses/wasm/fast-text-encoding.txt +201 -0
- package/licenses/wasm/jitl-quickjs-ffi-types.txt +21 -0
- package/licenses/wasm/jitl-quickjs-wasmfile-release-sync.txt +47 -0
- package/licenses/wasm/obligations.txt +21 -0
- package/licenses/wasm/quickjs-emscripten-core.txt +21 -0
- package/licenses/wasm/topos.txt +21 -0
- package/package.json +141 -6
- package/receipts.bound +9554 -613
- package/samples/authenticated-reference/compatibility.json +306 -0
- package/samples/authenticated-reference/no.json +31 -0
- package/samples/authenticated-reference/yes/editorial-state/TARGET.bound +57 -0
- package/samples/authenticated-reference/yes/editorial-state/inputs/arrival.json +1 -0
- package/samples/authenticated-reference/yes/editorial-state/inputs/coverage.json +1 -0
- package/samples/authenticated-reference/yes/editorial-state/inputs/era.json +1 -0
- package/samples/authenticated-reference/yes/editorial-state/inputs/order.json +1 -0
- package/samples/authenticated-reference/yes/editorial-state/inputs/signature.json +1 -0
- package/samples/authenticated-reference/yes/editorial-state/inputs/transport.arrival.json +1 -0
- package/samples/authenticated-reference/yes/editorial-state/inputs/transport.coverage.json +1 -0
- package/samples/authenticated-reference/yes/editorial-state/inputs/transport.era.json +1 -0
- package/samples/authenticated-reference/yes/editorial-state/inputs/transport.order.json +1 -0
- package/samples/authenticated-reference/yes/editorial-state/inputs/transport.signature.json +1 -0
- package/samples/authenticated-reference/yes/editorial-state/inputs/transport.yes.json +1 -0
- package/samples/authenticated-reference/yes/editorial-state/inputs/yes.json +1 -0
- package/samples/authenticated-reference/yes/weather-reading/TARGET.bound +57 -0
- package/samples/authenticated-reference/yes/weather-reading/inputs/arrival.json +1 -0
- package/samples/authenticated-reference/yes/weather-reading/inputs/coverage.json +1 -0
- package/samples/authenticated-reference/yes/weather-reading/inputs/era.json +1 -0
- package/samples/authenticated-reference/yes/weather-reading/inputs/order.json +1 -0
- package/samples/authenticated-reference/yes/weather-reading/inputs/signature.json +1 -0
- package/samples/authenticated-reference/yes/weather-reading/inputs/transport.arrival.json +1 -0
- package/samples/authenticated-reference/yes/weather-reading/inputs/transport.coverage.json +1 -0
- package/samples/authenticated-reference/yes/weather-reading/inputs/transport.era.json +1 -0
- package/samples/authenticated-reference/yes/weather-reading/inputs/transport.order.json +1 -0
- package/samples/authenticated-reference/yes/weather-reading/inputs/transport.signature.json +1 -0
- package/samples/authenticated-reference/yes/weather-reading/inputs/transport.yes.json +1 -0
- package/samples/authenticated-reference/yes/weather-reading/inputs/yes.json +1 -0
- package/samples/authenticated-reference/yes.json +19 -0
- package/samples/engine-alphabet/TARGET.bound +29 -0
- package/samples/engine-alphabet/inputs/sample.json +323 -0
- package/samples/engine-alphabet/package.json +1 -0
- package/samples/engine-alphabet/reader.js +1457 -0
- package/samples/engine-alphabet/receipts.bound +12 -0
- package/samples/engine-interval/TARGET.bound +29 -0
- package/samples/engine-interval/inputs/sample.json +277 -0
- package/samples/engine-interval/package.json +1 -0
- package/samples/engine-interval/reader.js +1457 -0
- package/samples/engine-interval/receipts.bound +12 -0
- package/samples/host-ports/no.json +16 -0
- package/samples/host-ports/yes.json +9 -0
- package/samples/no/engine-order/TARGET.bound +29 -0
- package/samples/no/engine-order/inputs/sample.json +277 -0
- package/samples/no/engine-order/package.json +1 -0
- package/samples/no/engine-order/reader.js +1457 -0
- package/samples/readme/no.json +1 -0
- package/samples/readme/yes.json +1 -0
- package/samples/reference-backend/no.json +1 -0
- package/samples/reference-backend/world-fixture.json +8 -0
- package/samples/reference-backend/yes.json +1 -0
- package/samples/reference-export/no.json +5 -0
- package/samples/reference-export/yes.json +15 -0
- package/samples/reference-port/no/catalog/TARGET.bound +33 -0
- package/samples/reference-port/no/catalog/standing.json +1 -0
- package/samples/reference-port/no/catalog/transport.json +1 -0
- package/samples/reference-port/no/route-notes/TARGET.bound +33 -0
- package/samples/reference-port/no/route-notes/standing.json +1 -0
- package/samples/reference-port/no/route-notes/transport.json +1 -0
- package/samples/reference-port/yes/catalog/TARGET.bound +33 -0
- package/samples/reference-port/yes/catalog/standing.json +1 -0
- package/samples/reference-port/yes/catalog/transport.json +1 -0
- package/samples/reference-port/yes/route-notes/TARGET.bound +33 -0
- package/samples/reference-port/yes/route-notes/standing.json +1 -0
- package/samples/reference-port/yes/route-notes/transport.json +1 -0
- package/samples/refusals/no.json +4 -0
- package/samples/refusals/yes.json +9 -0
- package/samples/standing/no.json +4 -0
- package/samples/standing/yes.json +21 -0
- package/samples/wasm/editorial-notes/TARGET.bound +65 -0
- package/samples/wasm/editorial-notes/esm.bound +59 -0
- package/samples/wasm/editorial-notes/no-deadline.bound +65 -0
- package/samples/wasm/editorial-notes/no-memory.bound +65 -0
- package/samples/wasm/editorial-notes/no-missing-limit.bound +64 -0
- package/samples/wasm/editorial-notes/receipts.bound +1 -0
- package/samples/wasm/water-level/TARGET.bound +65 -0
- package/samples/wasm/water-level/esm.bound +59 -0
- package/samples/wasm/water-level/no-deadline.bound +65 -0
- package/samples/wasm/water-level/no-memory.bound +65 -0
- package/samples/wasm/water-level/no-missing-limit.bound +64 -0
- package/samples/wasm/water-level/receipts.bound +1 -0
- package/vectors/engine-object.cli.json +548 -0
- package/vectors/native/authenticated-reference-formation.vector.json +107 -0
- package/vectors/native/authenticated-reference.cli.json +157 -0
- package/vectors/native/authenticated-reference.vector.json +76 -0
- package/vectors/native/host-ports.vector.json +107 -0
- package/vectors/native/readme.vector.json +76 -0
- package/vectors/native/reference-backend.vector.json +84 -0
- package/vectors/native/reference-export.vector.json +78 -0
- package/vectors/native/refusals.vector.json +95 -0
- package/vectors/native/standing.vector.json +116 -0
- package/vectors/reference-port.cli.json +688 -0
- package/vectors/wasm-object.cli.json +407 -0
- package/dist/cli/accept.d.ts +0 -28
- package/dist/cli/act-result.d.ts +0 -12
- package/dist/cli/args.d.ts +0 -11
- package/dist/cli/custodian.d.ts +0 -1
- package/dist/cli/host.d.ts +0 -1
- package/dist/cli/names.d.ts +0 -25
- package/dist/cli/native-descendant.d.ts +0 -1
- package/dist/cli/native.d.ts +0 -1
- package/dist/cli/observe.d.ts +0 -1
- package/dist/cli/owner.d.ts +0 -37
- package/dist/cli/pass.d.ts +0 -6
- package/dist/cli/place.d.ts +0 -74
- package/dist/cli/release-result.d.ts +0 -5
- package/dist/cli/standing-result.d.ts +0 -5
- package/dist/cli/takes.d.ts +0 -30
- package/dist/fold/admission-history.d.ts +0 -6
- package/dist/fold/ceilings.d.ts +0 -24
- package/dist/fold/claims.d.ts +0 -29
- package/dist/fold/closed.d.ts +0 -15
- package/dist/fold/configures.d.ts +0 -4
- package/dist/fold/digests.d.ts +0 -29
- package/dist/fold/evidence.d.ts +0 -32
- package/dist/fold/fold-worker.d.ts +0 -1
- package/dist/fold/kept.d.ts +0 -29
- package/dist/fold/keys.d.ts +0 -17
- package/dist/fold/laid.d.ts +0 -17
- package/dist/fold/nos.d.ts +0 -8
- package/dist/fold/observed.d.ts +0 -35
- package/dist/fold/opened.d.ts +0 -5
- package/dist/fold/own.d.ts +0 -24
- package/dist/fold/paid.d.ts +0 -11
- package/dist/fold/place-inputs.d.ts +0 -17
- package/dist/fold/places.d.ts +0 -24
- package/dist/fold/rank.d.ts +0 -3
- package/dist/fold/reach.d.ts +0 -18
- package/dist/fold/readers.d.ts +0 -47
- package/dist/fold/receipts.d.ts +0 -8
- package/dist/fold/region-declarations.d.ts +0 -2
- package/dist/fold/region.d.ts +0 -72
- package/dist/fold/release-policy.d.ts +0 -67
- package/dist/fold/resolved.d.ts +0 -18
- package/dist/fold/roles.d.ts +0 -17
- package/dist/fold/second.d.ts +0 -18
- package/dist/fold/shards.d.ts +0 -29
- package/dist/fold/signed.d.ts +0 -23
- package/dist/fold/signers.d.ts +0 -24
- package/dist/fold/stranger.d.ts +0 -3
- package/dist/fold/views.d.ts +0 -27
- package/dist/fold/wire.d.ts +0 -19
- package/dist/fold/zoom.d.ts +0 -16
- package/dist/host/act-cost.d.ts +0 -13
- package/dist/host/adapters/keys/ed25519.d.ts +0 -7
- package/dist/host/adapters/modules/javascript.d.ts +0 -3
- package/dist/host/adapters/transport/http.d.ts +0 -5
- package/dist/host/admitted-place.d.ts +0 -5
- package/dist/host/archive.d.ts +0 -11
- package/dist/host/capsule-process.d.ts +0 -21
- package/dist/host/capsule.d.ts +0 -19
- package/dist/host/cell-receipts.d.ts +0 -2
- package/dist/host/content-needed.d.ts +0 -5
- package/dist/host/content-store.d.ts +0 -8
- package/dist/host/contextual-place.d.ts +0 -59
- package/dist/host/digest.d.ts +0 -3
- package/dist/host/hash.d.ts +0 -9
- package/dist/host/io.d.ts +0 -11
- package/dist/host/lifetime.d.ts +0 -1
- package/dist/host/located.d.ts +0 -4
- package/dist/host/native/bounded-file.d.ts +0 -8
- package/dist/host/native/command.d.ts +0 -36
- package/dist/host/native/control-bridge-worker.d.ts +0 -1
- package/dist/host/native/control-bridge.d.ts +0 -30
- package/dist/host/native/control-selection.d.ts +0 -29
- package/dist/host/native/custody.d.ts +0 -5
- package/dist/host/native/deadline.d.ts +0 -12
- package/dist/host/native/descendants.d.ts +0 -1
- package/dist/host/native/generated-custodian.d.ts +0 -122
- package/dist/host/native/generated.d.ts +0 -217
- package/dist/host/native/image.d.ts +0 -36
- package/dist/host/native/jobs.d.ts +0 -75
- package/dist/host/native/loader.d.ts +0 -80
- package/dist/host/native/materialize.d.ts +0 -22
- package/dist/host/native/module-closure.d.ts +0 -27
- package/dist/host/native/module-syntax.d.ts +0 -8
- package/dist/host/native/native-binary.d.ts +0 -54
- package/dist/host/native/native-program.d.ts +0 -56
- package/dist/host/native/node-jobs.d.ts +0 -84
- package/dist/host/native/node-launch.d.ts +0 -72
- package/dist/host/native/preload.d.ts +0 -1
- package/dist/host/native/reading.d.ts +0 -91
- package/dist/host/native/receipt-environment.d.ts +0 -3
- package/dist/host/native/references.d.ts +0 -5
- package/dist/host/native/root.d.ts +0 -17
- package/dist/host/native/route.d.ts +0 -66
- package/dist/host/native/runtime.d.ts +0 -4
- package/dist/host/native-reader-context.d.ts +0 -3
- package/dist/host/objects.d.ts +0 -5
- package/dist/host/place-clock-selection.d.ts +0 -55
- package/dist/host/ports/ingress.d.ts +0 -24
- package/dist/host/ports/local-act.d.ts +0 -44
- package/dist/host/ports/place-act.d.ts +0 -46
- package/dist/host/ports/publication.d.ts +0 -10
- package/dist/host/ports/signing.d.ts +0 -31
- package/dist/host/ports/store.d.ts +0 -2
- package/dist/host/ports/transport.d.ts +0 -1
- package/dist/host/process-lifetime.d.ts +0 -11
- package/dist/host/provide.d.ts +0 -48
- package/dist/host/read-only.d.ts +0 -3
- package/dist/host/reading-closures.d.ts +0 -45
- package/dist/host/reading-context.d.ts +0 -29
- package/dist/host/release.d.ts +0 -14
- package/dist/host/root-clock-source.d.ts +0 -85
- package/dist/host/selected-capsules.d.ts +0 -8
- package/dist/host/selected-topos.d.ts +0 -24
- package/dist/host/signing.d.ts +0 -3
- package/dist/host/source-content.d.ts +0 -12
- package/dist/host/timing.d.ts +0 -2
- package/dist/host/walk.d.ts +0 -6
- package/dist/judge/late.d.ts +0 -7
- package/dist/judge/take.d.ts +0 -59
- package/dist/judge/widening.d.ts +0 -1
- package/dist/land/act.d.ts +0 -30
- package/dist/land/alias.d.ts +0 -10
- package/dist/land/held.d.ts +0 -7
- package/dist/land/inert.d.ts +0 -26
- package/dist/land/leaving.d.ts +0 -14
- package/dist/land/ledger.d.ts +0 -33
- package/dist/land/owned.d.ts +0 -23
- package/dist/land/sign.d.ts +0 -15
- package/dist/land/standing-pin.d.ts +0 -3
- package/dist/land/vouched.d.ts +0 -21
- package/dist/land/withdraw.d.ts +0 -14
- package/dist/observe/files.d.ts +0 -14
- package/dist/observe/identity.d.ts +0 -21
- package/dist/observe/match.d.ts +0 -1
- package/dist/observe/regions.d.ts +0 -29
- package/dist/observe/run.d.ts +0 -31
- package/dist/observe/runner.d.ts +0 -20
- package/dist/render/capsule.d.ts +0 -24
- package/dist/render/field.d.ts +0 -3
- package/dist/render/names.d.ts +0 -3
- package/dist/render/open.d.ts +0 -27
- package/dist/render/page.d.ts +0 -3
- package/dist/render/receipts.d.ts +0 -3
- package/dist/render/shape.d.ts +0 -16
- package/dist/render/target.d.ts +0 -18
- package/dist/render/view.d.ts +0 -22
- /package/dist/{fold → engine}/object.d.ts +0 -0
|
@@ -0,0 +1,407 @@
|
|
|
1
|
+
{
|
|
2
|
+
"scope": "optional-wasm-adapter/conformance",
|
|
3
|
+
"measure": "count",
|
|
4
|
+
"result": "failures",
|
|
5
|
+
"execution": "independent",
|
|
6
|
+
"cases": [
|
|
7
|
+
{
|
|
8
|
+
"program": "runtime",
|
|
9
|
+
"args": [
|
|
10
|
+
"../../../dist/cli/verb.js",
|
|
11
|
+
"fold",
|
|
12
|
+
"TARGET.bound",
|
|
13
|
+
"--as",
|
|
14
|
+
"object"
|
|
15
|
+
],
|
|
16
|
+
"cwd": "samples/wasm/water-level",
|
|
17
|
+
"inputs": [
|
|
18
|
+
"dist/cli/verb.js",
|
|
19
|
+
"dist/wasm/node-worker.js",
|
|
20
|
+
"package.json",
|
|
21
|
+
"assets/wasm/manifest.json",
|
|
22
|
+
"assets/wasm/runtime.js",
|
|
23
|
+
"assets/wasm/runtime.wasm",
|
|
24
|
+
"assets/wasm/guest.js",
|
|
25
|
+
"samples/wasm/water-level/TARGET.bound"
|
|
26
|
+
],
|
|
27
|
+
"timeoutMs": 20000,
|
|
28
|
+
"maxBytes": 1048576,
|
|
29
|
+
"exit": 0,
|
|
30
|
+
"matches": [
|
|
31
|
+
{
|
|
32
|
+
"stream": "stdout",
|
|
33
|
+
"pattern": "^CELL \\{\"cell\":\"B\",\"state\":\"REQUIRED\"",
|
|
34
|
+
"flags": "m"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"stream": "stdout",
|
|
38
|
+
"pattern": "^CELL \\{\"cell\":\"C\",\"state\":\"FORBIDDEN\"",
|
|
39
|
+
"flags": "m"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"stream": "stdout",
|
|
43
|
+
"pattern": "^CELL \\{\"cell\":\"G\",\"state\":\"CONFLICT\"",
|
|
44
|
+
"flags": "m"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"stream": "stdout",
|
|
48
|
+
"pattern": "^CELL \\{\"cell\":\"D\",\"state\":\"REQUIRED\"",
|
|
49
|
+
"flags": "m"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"stream": "stdout",
|
|
53
|
+
"pattern": "FACT\\s+object fold 4 cells",
|
|
54
|
+
"flags": "m"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"program": "runtime",
|
|
60
|
+
"args": [
|
|
61
|
+
"../../../dist/cli/verb.js",
|
|
62
|
+
"fold",
|
|
63
|
+
"esm.bound",
|
|
64
|
+
"--as",
|
|
65
|
+
"object"
|
|
66
|
+
],
|
|
67
|
+
"cwd": "samples/wasm/water-level",
|
|
68
|
+
"inputs": [
|
|
69
|
+
"dist/cli/verb.js",
|
|
70
|
+
"dist/wasm/node-worker.js",
|
|
71
|
+
"package.json",
|
|
72
|
+
"assets/wasm/manifest.json",
|
|
73
|
+
"assets/wasm/runtime.js",
|
|
74
|
+
"assets/wasm/runtime.wasm",
|
|
75
|
+
"assets/wasm/guest.js",
|
|
76
|
+
"samples/wasm/water-level/esm.bound"
|
|
77
|
+
],
|
|
78
|
+
"timeoutMs": 20000,
|
|
79
|
+
"maxBytes": 1048576,
|
|
80
|
+
"exit": 0,
|
|
81
|
+
"matches": [
|
|
82
|
+
{
|
|
83
|
+
"stream": "stdout",
|
|
84
|
+
"pattern": "^CELL \\{\"cell\":\"B\",\"state\":\"REQUIRED\"",
|
|
85
|
+
"flags": "m"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"stream": "stdout",
|
|
89
|
+
"pattern": "^CELL \\{\"cell\":\"C\",\"state\":\"FORBIDDEN\"",
|
|
90
|
+
"flags": "m"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"stream": "stdout",
|
|
94
|
+
"pattern": "^CELL \\{\"cell\":\"G\",\"state\":\"CONFLICT\"",
|
|
95
|
+
"flags": "m"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"stream": "stdout",
|
|
99
|
+
"pattern": "^CELL \\{\"cell\":\"D\",\"state\":\"REQUIRED\"",
|
|
100
|
+
"flags": "m"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"stream": "stdout",
|
|
104
|
+
"pattern": "FACT\\s+object fold 4 cells",
|
|
105
|
+
"flags": "m"
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"program": "runtime",
|
|
111
|
+
"args": [
|
|
112
|
+
"../../../dist/cli/verb.js",
|
|
113
|
+
"fold",
|
|
114
|
+
"no-missing-limit.bound",
|
|
115
|
+
"--as",
|
|
116
|
+
"object"
|
|
117
|
+
],
|
|
118
|
+
"cwd": "samples/wasm/water-level",
|
|
119
|
+
"inputs": [
|
|
120
|
+
"dist/cli/verb.js",
|
|
121
|
+
"dist/wasm/node-worker.js",
|
|
122
|
+
"package.json",
|
|
123
|
+
"assets/wasm/manifest.json",
|
|
124
|
+
"assets/wasm/runtime.js",
|
|
125
|
+
"assets/wasm/runtime.wasm",
|
|
126
|
+
"assets/wasm/guest.js",
|
|
127
|
+
"samples/wasm/water-level/no-missing-limit.bound"
|
|
128
|
+
],
|
|
129
|
+
"timeoutMs": 20000,
|
|
130
|
+
"maxBytes": 1048576,
|
|
131
|
+
"exit": 1,
|
|
132
|
+
"matches": [
|
|
133
|
+
{
|
|
134
|
+
"stream": "stderr",
|
|
135
|
+
"pattern": "^[^\\s:]+: REFUSE\u00b7wasm object missing or ambiguous stack limit",
|
|
136
|
+
"flags": "m"
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"program": "runtime",
|
|
142
|
+
"args": [
|
|
143
|
+
"../../../dist/cli/verb.js",
|
|
144
|
+
"fold",
|
|
145
|
+
"no-memory.bound",
|
|
146
|
+
"--as",
|
|
147
|
+
"object"
|
|
148
|
+
],
|
|
149
|
+
"cwd": "samples/wasm/water-level",
|
|
150
|
+
"inputs": [
|
|
151
|
+
"dist/cli/verb.js",
|
|
152
|
+
"dist/wasm/node-worker.js",
|
|
153
|
+
"package.json",
|
|
154
|
+
"assets/wasm/manifest.json",
|
|
155
|
+
"assets/wasm/runtime.js",
|
|
156
|
+
"assets/wasm/runtime.wasm",
|
|
157
|
+
"assets/wasm/guest.js",
|
|
158
|
+
"samples/wasm/water-level/no-memory.bound"
|
|
159
|
+
],
|
|
160
|
+
"timeoutMs": 20000,
|
|
161
|
+
"maxBytes": 1048576,
|
|
162
|
+
"exit": 1,
|
|
163
|
+
"matches": [
|
|
164
|
+
{
|
|
165
|
+
"stream": "stderr",
|
|
166
|
+
"pattern": "^[^\\s:]+: REFUSE\u00b7wasm initialized memory [0-9]+ exceeds declared memory 1",
|
|
167
|
+
"flags": "m"
|
|
168
|
+
}
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"program": "runtime",
|
|
173
|
+
"args": [
|
|
174
|
+
"../../../dist/cli/verb.js",
|
|
175
|
+
"fold",
|
|
176
|
+
"no-deadline.bound",
|
|
177
|
+
"--as",
|
|
178
|
+
"object"
|
|
179
|
+
],
|
|
180
|
+
"cwd": "samples/wasm/water-level",
|
|
181
|
+
"inputs": [
|
|
182
|
+
"dist/cli/verb.js",
|
|
183
|
+
"dist/wasm/node-worker.js",
|
|
184
|
+
"package.json",
|
|
185
|
+
"assets/wasm/manifest.json",
|
|
186
|
+
"assets/wasm/runtime.js",
|
|
187
|
+
"assets/wasm/runtime.wasm",
|
|
188
|
+
"assets/wasm/guest.js",
|
|
189
|
+
"samples/wasm/water-level/no-deadline.bound"
|
|
190
|
+
],
|
|
191
|
+
"timeoutMs": 20000,
|
|
192
|
+
"maxBytes": 1048576,
|
|
193
|
+
"exit": 1,
|
|
194
|
+
"matches": [
|
|
195
|
+
{
|
|
196
|
+
"stream": "stderr",
|
|
197
|
+
"pattern": "^[^\\s:]+: REFUSE\u00b7wasm worker lifetime",
|
|
198
|
+
"flags": "m"
|
|
199
|
+
}
|
|
200
|
+
]
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"program": "runtime",
|
|
204
|
+
"args": [
|
|
205
|
+
"../../../dist/cli/verb.js",
|
|
206
|
+
"fold",
|
|
207
|
+
"TARGET.bound",
|
|
208
|
+
"--as",
|
|
209
|
+
"object"
|
|
210
|
+
],
|
|
211
|
+
"cwd": "samples/wasm/editorial-notes",
|
|
212
|
+
"inputs": [
|
|
213
|
+
"dist/cli/verb.js",
|
|
214
|
+
"dist/wasm/node-worker.js",
|
|
215
|
+
"package.json",
|
|
216
|
+
"assets/wasm/manifest.json",
|
|
217
|
+
"assets/wasm/runtime.js",
|
|
218
|
+
"assets/wasm/runtime.wasm",
|
|
219
|
+
"assets/wasm/guest.js",
|
|
220
|
+
"samples/wasm/editorial-notes/TARGET.bound"
|
|
221
|
+
],
|
|
222
|
+
"timeoutMs": 20000,
|
|
223
|
+
"maxBytes": 1048576,
|
|
224
|
+
"exit": 0,
|
|
225
|
+
"matches": [
|
|
226
|
+
{
|
|
227
|
+
"stream": "stdout",
|
|
228
|
+
"pattern": "^CELL \\{\"cell\":\"B\",\"state\":\"REQUIRED\"",
|
|
229
|
+
"flags": "m"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"stream": "stdout",
|
|
233
|
+
"pattern": "^CELL \\{\"cell\":\"C\",\"state\":\"FORBIDDEN\"",
|
|
234
|
+
"flags": "m"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"stream": "stdout",
|
|
238
|
+
"pattern": "^CELL \\{\"cell\":\"G\",\"state\":\"CONFLICT\"",
|
|
239
|
+
"flags": "m"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"stream": "stdout",
|
|
243
|
+
"pattern": "^CELL \\{\"cell\":\"D\",\"state\":\"REQUIRED\"",
|
|
244
|
+
"flags": "m"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"stream": "stdout",
|
|
248
|
+
"pattern": "FACT\\s+object fold 4 cells",
|
|
249
|
+
"flags": "m"
|
|
250
|
+
}
|
|
251
|
+
]
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"program": "runtime",
|
|
255
|
+
"args": [
|
|
256
|
+
"../../../dist/cli/verb.js",
|
|
257
|
+
"fold",
|
|
258
|
+
"esm.bound",
|
|
259
|
+
"--as",
|
|
260
|
+
"object"
|
|
261
|
+
],
|
|
262
|
+
"cwd": "samples/wasm/editorial-notes",
|
|
263
|
+
"inputs": [
|
|
264
|
+
"dist/cli/verb.js",
|
|
265
|
+
"dist/wasm/node-worker.js",
|
|
266
|
+
"package.json",
|
|
267
|
+
"assets/wasm/manifest.json",
|
|
268
|
+
"assets/wasm/runtime.js",
|
|
269
|
+
"assets/wasm/runtime.wasm",
|
|
270
|
+
"assets/wasm/guest.js",
|
|
271
|
+
"samples/wasm/editorial-notes/esm.bound"
|
|
272
|
+
],
|
|
273
|
+
"timeoutMs": 20000,
|
|
274
|
+
"maxBytes": 1048576,
|
|
275
|
+
"exit": 0,
|
|
276
|
+
"matches": [
|
|
277
|
+
{
|
|
278
|
+
"stream": "stdout",
|
|
279
|
+
"pattern": "^CELL \\{\"cell\":\"B\",\"state\":\"REQUIRED\"",
|
|
280
|
+
"flags": "m"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"stream": "stdout",
|
|
284
|
+
"pattern": "^CELL \\{\"cell\":\"C\",\"state\":\"FORBIDDEN\"",
|
|
285
|
+
"flags": "m"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"stream": "stdout",
|
|
289
|
+
"pattern": "^CELL \\{\"cell\":\"G\",\"state\":\"CONFLICT\"",
|
|
290
|
+
"flags": "m"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"stream": "stdout",
|
|
294
|
+
"pattern": "^CELL \\{\"cell\":\"D\",\"state\":\"REQUIRED\"",
|
|
295
|
+
"flags": "m"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"stream": "stdout",
|
|
299
|
+
"pattern": "FACT\\s+object fold 4 cells",
|
|
300
|
+
"flags": "m"
|
|
301
|
+
}
|
|
302
|
+
]
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"program": "runtime",
|
|
306
|
+
"args": [
|
|
307
|
+
"../../../dist/cli/verb.js",
|
|
308
|
+
"fold",
|
|
309
|
+
"no-missing-limit.bound",
|
|
310
|
+
"--as",
|
|
311
|
+
"object"
|
|
312
|
+
],
|
|
313
|
+
"cwd": "samples/wasm/editorial-notes",
|
|
314
|
+
"inputs": [
|
|
315
|
+
"dist/cli/verb.js",
|
|
316
|
+
"dist/wasm/node-worker.js",
|
|
317
|
+
"package.json",
|
|
318
|
+
"assets/wasm/manifest.json",
|
|
319
|
+
"assets/wasm/runtime.js",
|
|
320
|
+
"assets/wasm/runtime.wasm",
|
|
321
|
+
"assets/wasm/guest.js",
|
|
322
|
+
"samples/wasm/editorial-notes/no-missing-limit.bound"
|
|
323
|
+
],
|
|
324
|
+
"timeoutMs": 20000,
|
|
325
|
+
"maxBytes": 1048576,
|
|
326
|
+
"exit": 1,
|
|
327
|
+
"matches": [
|
|
328
|
+
{
|
|
329
|
+
"stream": "stderr",
|
|
330
|
+
"pattern": "^[^\\s:]+: REFUSE\u00b7wasm object missing or ambiguous stack limit",
|
|
331
|
+
"flags": "m"
|
|
332
|
+
}
|
|
333
|
+
]
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"program": "runtime",
|
|
337
|
+
"args": [
|
|
338
|
+
"../../../dist/cli/verb.js",
|
|
339
|
+
"fold",
|
|
340
|
+
"no-memory.bound",
|
|
341
|
+
"--as",
|
|
342
|
+
"object"
|
|
343
|
+
],
|
|
344
|
+
"cwd": "samples/wasm/editorial-notes",
|
|
345
|
+
"inputs": [
|
|
346
|
+
"dist/cli/verb.js",
|
|
347
|
+
"dist/wasm/node-worker.js",
|
|
348
|
+
"package.json",
|
|
349
|
+
"assets/wasm/manifest.json",
|
|
350
|
+
"assets/wasm/runtime.js",
|
|
351
|
+
"assets/wasm/runtime.wasm",
|
|
352
|
+
"assets/wasm/guest.js",
|
|
353
|
+
"samples/wasm/editorial-notes/no-memory.bound"
|
|
354
|
+
],
|
|
355
|
+
"timeoutMs": 20000,
|
|
356
|
+
"maxBytes": 1048576,
|
|
357
|
+
"exit": 1,
|
|
358
|
+
"matches": [
|
|
359
|
+
{
|
|
360
|
+
"stream": "stderr",
|
|
361
|
+
"pattern": "^[^\\s:]+: REFUSE\u00b7wasm initialized memory [0-9]+ exceeds declared memory 1",
|
|
362
|
+
"flags": "m"
|
|
363
|
+
}
|
|
364
|
+
]
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"program": "runtime",
|
|
368
|
+
"args": [
|
|
369
|
+
"../../../dist/cli/verb.js",
|
|
370
|
+
"fold",
|
|
371
|
+
"no-deadline.bound",
|
|
372
|
+
"--as",
|
|
373
|
+
"object"
|
|
374
|
+
],
|
|
375
|
+
"cwd": "samples/wasm/editorial-notes",
|
|
376
|
+
"inputs": [
|
|
377
|
+
"dist/cli/verb.js",
|
|
378
|
+
"dist/wasm/node-worker.js",
|
|
379
|
+
"package.json",
|
|
380
|
+
"assets/wasm/manifest.json",
|
|
381
|
+
"assets/wasm/runtime.js",
|
|
382
|
+
"assets/wasm/runtime.wasm",
|
|
383
|
+
"assets/wasm/guest.js",
|
|
384
|
+
"samples/wasm/editorial-notes/no-deadline.bound"
|
|
385
|
+
],
|
|
386
|
+
"timeoutMs": 20000,
|
|
387
|
+
"maxBytes": 1048576,
|
|
388
|
+
"exit": 1,
|
|
389
|
+
"matches": [
|
|
390
|
+
{
|
|
391
|
+
"stream": "stderr",
|
|
392
|
+
"pattern": "^[^\\s:]+: REFUSE\u00b7wasm worker lifetime",
|
|
393
|
+
"flags": "m"
|
|
394
|
+
}
|
|
395
|
+
]
|
|
396
|
+
}
|
|
397
|
+
],
|
|
398
|
+
"preparation": {
|
|
399
|
+
"vector": "vectors/native/authenticated-reference-formation.vector.json",
|
|
400
|
+
"phase": "before timed independent readings",
|
|
401
|
+
"places": [
|
|
402
|
+
"samples/wasm/water-level",
|
|
403
|
+
"samples/wasm/editorial-notes"
|
|
404
|
+
],
|
|
405
|
+
"operation": "keyless native land of existing signed TARGET; original two land cases retained there with unchanged budgets"
|
|
406
|
+
}
|
|
407
|
+
}
|
package/dist/cli/accept.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export type Batch = {
|
|
2
|
-
readonly kind: 'signed';
|
|
3
|
-
readonly signed: readonly string[];
|
|
4
|
-
readonly records?: readonly string[];
|
|
5
|
-
readonly epoch: number;
|
|
6
|
-
readonly base: {
|
|
7
|
-
readonly digest: string;
|
|
8
|
-
readonly places: readonly string[];
|
|
9
|
-
};
|
|
10
|
-
readonly keyId?: string;
|
|
11
|
-
} | {
|
|
12
|
-
readonly kind: 'once';
|
|
13
|
-
readonly proposed: readonly string[];
|
|
14
|
-
} | {
|
|
15
|
-
readonly kind: 'exit';
|
|
16
|
-
readonly code: number;
|
|
17
|
-
};
|
|
18
|
-
/** A batch signed as accept signs it: at the next epoch, by the key it names, each line read by the wire it would land under. */
|
|
19
|
-
export declare function signedBatch(root: string, args: readonly string[], files: readonly string[]): Promise<Batch>;
|
|
20
|
-
/**
|
|
21
|
-
* accept is one act under the descent of its lines. Every place, then the root where they join, only when those lines
|
|
22
|
-
* rest on every place; a line in one place's own lock is that place. It signs the batch at the epoch the lock
|
|
23
|
-
* stands at, folds it, judges every take of it, and lands only when all of it holds. A batch refused lands nothing.
|
|
24
|
-
* What a batch would move is read before it with `--as rank <batch>`. A cycle's lanes each sign
|
|
25
|
-
* their batch with `bound sign` at the epoch the act lands at, and one land takes them all, each line in its signer's
|
|
26
|
-
* ledger once it verifies against that signer: one signer never forks itself, and one act never forks itself.
|
|
27
|
-
*/
|
|
28
|
-
export declare function accept(root: string, args: readonly string[]): Promise<number>;
|
package/dist/cli/act-result.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type ActResult } from '@lapxo/topos/wire';
|
|
2
|
-
import { type LocalActBundle } from '../host/ports/local-act.ts';
|
|
3
|
-
/** Public query of a committed identity, using the same admission authority.
|
|
4
|
-
* Native fold evidence has store provenance; it never grants coverage. */
|
|
5
|
-
export declare function verifiedLegacyActResult(root: string, identity: string): {
|
|
6
|
-
result: ActResult;
|
|
7
|
-
bundle: LocalActBundle;
|
|
8
|
-
records: readonly string[];
|
|
9
|
-
epoch: number;
|
|
10
|
-
history: readonly string[];
|
|
11
|
-
};
|
|
12
|
-
export declare function printActResult(root: string, identity: string | undefined): void;
|
package/dist/cli/args.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { VALUED } from './names.ts';
|
|
2
|
-
export { VALUED };
|
|
3
|
-
/** What the loop runs that is not source: its entry, the packages it imports and the readers it loads, read by where they lie. */
|
|
4
|
-
export declare function entryOf(root: string): string;
|
|
5
|
-
export declare function valueOf(args: readonly string[], flag: string): string | undefined;
|
|
6
|
-
export declare const valuesOf: (args: readonly string[], flag: string) => readonly string[];
|
|
7
|
-
export declare const namedPlaces: (args: readonly string[]) => readonly string[];
|
|
8
|
-
export declare function positionalIndexes(args: readonly string[]): number[];
|
|
9
|
-
export declare function positionalsOf(args: readonly string[]): string[];
|
|
10
|
-
export declare const placesOfFile: (file: string) => readonly string[];
|
|
11
|
-
export declare function claimLinesIn(file: string): string[];
|
package/dist/cli/custodian.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/cli/host.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/cli/names.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/** The verbs bound answers by name: fold reads, land writes signed lines, sign is a key's act. A directory with no verb is a fold of that place. */
|
|
2
|
-
export declare const VERB_NAMES: readonly ["fold", "land", "sign"];
|
|
3
|
-
export type VerbName = (typeof VERB_NAMES)[number];
|
|
4
|
-
/** Every flag the CLI reads, spelled once; a valued flag takes the argument after it. */
|
|
5
|
-
export declare const FLAGS: {
|
|
6
|
-
readonly as: "--as";
|
|
7
|
-
readonly check: "--check";
|
|
8
|
-
readonly key: "--key";
|
|
9
|
-
readonly keyFile: "--key-file";
|
|
10
|
-
readonly signer: "--signer";
|
|
11
|
-
readonly place: "--place";
|
|
12
|
-
};
|
|
13
|
-
export declare const VALUED: readonly string[];
|
|
14
|
-
/** Views the CLI renders from these names, never from a handwritten usage string. */
|
|
15
|
-
export declare const NAMED_VIEWS: {
|
|
16
|
-
readonly help: "help";
|
|
17
|
-
readonly lines: "lines";
|
|
18
|
-
readonly because: "because";
|
|
19
|
-
};
|
|
20
|
-
export declare const EXIT: {
|
|
21
|
-
readonly closed: 0;
|
|
22
|
-
readonly refuse: 1;
|
|
23
|
-
readonly usage: 2;
|
|
24
|
-
};
|
|
25
|
-
export declare const helpLines: () => readonly string[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/cli/native.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/cli/observe.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/cli/owner.d.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { renderTarget } from '../render/target.ts';
|
|
2
|
-
export declare const ownerOf: (store: string, told?: readonly string[]) => string;
|
|
3
|
-
/** The signed lines standing in the lock: the owner's, and those of every key it admits to authorize, each in its own ledger. */
|
|
4
|
-
export declare function signedOwnerLines(store: string): string[];
|
|
5
|
-
export declare function standingDemands(store: string): string[];
|
|
6
|
-
/**
|
|
7
|
-
* A demand is history when it asks about a place that is gone: one the tree once held and holds no more. It paid, or
|
|
8
|
-
* did not, in its own time; whoever wants it again signs it against the region as it is. A place never held is not
|
|
9
|
-
* gone — it is still to be made, and its demand stays live.
|
|
10
|
-
*/
|
|
11
|
-
export declare function historyOf(root: string, store: string, demands: readonly string[]): {
|
|
12
|
-
readonly live: string[];
|
|
13
|
-
readonly history: string[];
|
|
14
|
-
};
|
|
15
|
-
export declare function signedDemands(store: string, root?: string): string[];
|
|
16
|
-
export declare function forkedScopes(store: string): Set<string>;
|
|
17
|
-
/** Import receipts are local acts; foreign evidence and sender epochs never enter this input. */
|
|
18
|
-
export declare function localActLines(root: string, placed?: readonly string[]): readonly string[];
|
|
19
|
-
export declare function epochOf(lines: readonly string[]): number;
|
|
20
|
-
export declare function targetFile(root: string): string;
|
|
21
|
-
export declare function renderInto(root: string, store: string): {
|
|
22
|
-
readonly standing: number;
|
|
23
|
-
readonly superseded: readonly string[];
|
|
24
|
-
readonly forks: readonly {
|
|
25
|
-
readonly key: string;
|
|
26
|
-
}[];
|
|
27
|
-
readonly grey: readonly string[];
|
|
28
|
-
readonly refused: readonly string[];
|
|
29
|
-
readonly vacuous: readonly string[];
|
|
30
|
-
};
|
|
31
|
-
export declare function renderedLock(root: string, store: string, told?: readonly string[]): ReturnType<typeof renderTarget>;
|
|
32
|
-
export declare function forksJoinedBy(store: string, signed: readonly string[]): readonly {
|
|
33
|
-
readonly key: string;
|
|
34
|
-
readonly lines: readonly string[];
|
|
35
|
-
}[];
|
|
36
|
-
export declare function forksItself(lines: readonly string[]): boolean;
|
|
37
|
-
export declare function sideOf(line: string, landed: readonly string[]): string;
|
package/dist/cli/pass.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare function pass(root: string, entry: string, under: string | undefined, check: boolean): Promise<number>;
|
|
2
|
-
export type Journal = Map<string, {
|
|
3
|
-
readonly held: Uint8Array | undefined;
|
|
4
|
-
readonly made: string | undefined;
|
|
5
|
-
}>;
|
|
6
|
-
export declare function landSaid(store: string, folder: string | undefined, lines: readonly string[]): void;
|
package/dist/cli/place.d.ts
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import type { ReleasePolicyResult } from '../fold/release-policy.ts';
|
|
2
|
-
import type { Fork } from '../fold/claims.ts';
|
|
3
|
-
import type { Packed } from '../fold/region.ts';
|
|
4
|
-
import type { OpenCell } from '../render/open.ts';
|
|
5
|
-
import type { SecondHead } from '../fold/second.ts';
|
|
6
|
-
import { renderTarget } from '../render/target.ts';
|
|
7
|
-
/**
|
|
8
|
-
* Everything the fold knows about one place of the tree, or about the whole tree: what every region is rendered from,
|
|
9
|
-
* whether it was read back from a key already answered rather than taken again, and the middle of the last ten folds
|
|
10
|
-
* of this place, those that had to fold apart from those that read. A region whose points are ledger lines that move
|
|
11
|
-
* at every beat is judged when it is read and never kept: a kept fold answers for the regions whose digest is in its
|
|
12
|
-
* key and for no others.
|
|
13
|
-
*/
|
|
14
|
-
export interface PlaceFold {
|
|
15
|
-
readonly release?: ReleasePolicyResult;
|
|
16
|
-
readonly root: string;
|
|
17
|
-
readonly store: string;
|
|
18
|
-
readonly under?: string;
|
|
19
|
-
readonly epoch: number;
|
|
20
|
-
readonly standing: readonly string[];
|
|
21
|
-
readonly claims: number;
|
|
22
|
-
readonly forks: readonly Fork[];
|
|
23
|
-
readonly grey: readonly string[];
|
|
24
|
-
readonly refused: readonly string[];
|
|
25
|
-
readonly vacuous: number;
|
|
26
|
-
readonly demands: readonly string[];
|
|
27
|
-
readonly paid: readonly string[];
|
|
28
|
-
readonly missing: readonly string[];
|
|
29
|
-
readonly history: readonly string[];
|
|
30
|
-
readonly observed: readonly string[];
|
|
31
|
-
readonly ceilings: {
|
|
32
|
-
readonly read: number;
|
|
33
|
-
readonly total: number;
|
|
34
|
-
readonly unread: readonly string[];
|
|
35
|
-
readonly vacuous: readonly string[];
|
|
36
|
-
readonly short: readonly string[];
|
|
37
|
-
readonly over: readonly string[];
|
|
38
|
-
};
|
|
39
|
-
readonly orphans: readonly string[];
|
|
40
|
-
readonly lock: number;
|
|
41
|
-
readonly signed: ReadonlyMap<string, number>;
|
|
42
|
-
readonly second: SecondHead;
|
|
43
|
-
readonly effects: string;
|
|
44
|
-
readonly costs: readonly number[];
|
|
45
|
-
readonly landed: number;
|
|
46
|
-
readonly kept?: boolean;
|
|
47
|
-
readonly key: string;
|
|
48
|
-
readonly instrument: string;
|
|
49
|
-
readonly own: Readonly<Record<string, number>>;
|
|
50
|
-
readonly open: readonly OpenCell[];
|
|
51
|
-
readonly beats: {
|
|
52
|
-
readonly kept: number;
|
|
53
|
-
readonly folded: number;
|
|
54
|
-
};
|
|
55
|
-
readonly regions?: Packed;
|
|
56
|
-
}
|
|
57
|
-
export declare function standingOf(root: string, under?: string, told?: readonly string[]): {
|
|
58
|
-
readonly standing: readonly string[];
|
|
59
|
-
readonly lock: readonly string[];
|
|
60
|
-
readonly rendered: ReturnType<typeof renderTarget>;
|
|
61
|
-
readonly owned: readonly string[];
|
|
62
|
-
};
|
|
63
|
-
export declare function coneOf(root: string, entry: string, ceilings: readonly string[], descent?: readonly string[]): {
|
|
64
|
-
readonly standing: readonly string[];
|
|
65
|
-
readonly observed: readonly string[];
|
|
66
|
-
readonly own: Readonly<Record<string, number>>;
|
|
67
|
-
readonly kept: boolean;
|
|
68
|
-
};
|
|
69
|
-
export declare const ownCeilings: (under?: string) => readonly string[];
|
|
70
|
-
export declare function foldPlace(root: string, entry: string, under?: string, look?: boolean, given?: {
|
|
71
|
-
readonly standing: ReturnType<typeof standingOf>;
|
|
72
|
-
readonly observed?: readonly string[];
|
|
73
|
-
readonly free?: boolean;
|
|
74
|
-
}): PlaceFold;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/** Judge an external signed approval without landing it, fetching its source,
|
|
2
|
-
* executing a provider, or changing the release-policy verdict of the place.
|
|
3
|
-
* The anchor is the place's key, never a key offered by the approval. */
|
|
4
|
-
export declare function releaseApproval(lock: readonly string[], lines: readonly string[]): string;
|
|
5
|
-
export declare function printReleaseApproval(root: string, file: string): void;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/** An evidence projection, never a new authority lock. Authentication uses
|
|
2
|
-
* the admission snapshot at each local epoch; the existing fold applies
|
|
3
|
-
* supersessions and withdrawals across all declared classes. Storage layout
|
|
4
|
-
* and delivery mode do not enter this public boundary. */
|
|
5
|
-
export declare function printStandingResult(root: string): void;
|
package/dist/cli/takes.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { judgeTake } from '../judge/take.ts';
|
|
2
|
-
import type { Gate } from '../judge/take.ts';
|
|
3
|
-
export type Judged = {
|
|
4
|
-
readonly kind: 'refused';
|
|
5
|
-
readonly scope: string;
|
|
6
|
-
readonly why: string;
|
|
7
|
-
} | {
|
|
8
|
-
readonly kind: 'owed';
|
|
9
|
-
readonly scope: string;
|
|
10
|
-
readonly why: string;
|
|
11
|
-
} | {
|
|
12
|
-
readonly kind: 'conditioned';
|
|
13
|
-
readonly scope: string;
|
|
14
|
-
readonly demand: string;
|
|
15
|
-
readonly receipt: string;
|
|
16
|
-
readonly condition: string;
|
|
17
|
-
} | {
|
|
18
|
-
readonly kind: 'judged';
|
|
19
|
-
readonly scope: string;
|
|
20
|
-
readonly demand: string;
|
|
21
|
-
readonly locations: readonly string[];
|
|
22
|
-
readonly before: ReadonlyMap<string, string>;
|
|
23
|
-
readonly after: ReadonlyMap<string, string>;
|
|
24
|
-
readonly verdict: ReturnType<typeof judgeTake>;
|
|
25
|
-
readonly ignored: ReadonlyMap<string, number>;
|
|
26
|
-
readonly started: number;
|
|
27
|
-
};
|
|
28
|
-
export declare function judgeDemand(root: string, demand: string): Judged;
|
|
29
|
-
/** A take its batch let land: its receipt sealed with the gates the batch passed, its cone vouched, its fact landed. */
|
|
30
|
-
export declare function landTake(root: string, one: Judged, gates: readonly Gate[]): void;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { Signer } from '@lapxo/topos/wire';
|
|
2
|
-
/** Local admission history only. Foreign ingress is evidence, never coverage.
|
|
3
|
-
* The clock cutoff is meaningful for configuration; object clocks stay intact. */
|
|
4
|
-
export declare function admissionHistoryAt(root: string, epoch: number): readonly string[];
|
|
5
|
-
/** The existing bootstrap's public root of trust, not today's key selection. */
|
|
6
|
-
export declare function admissionAnchor(root: string): Signer;
|