@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.
Files changed (319) hide show
  1. package/README.md +40 -121
  2. package/TARGET.bound +85 -14
  3. package/assets/wasm/guest.js +4 -0
  4. package/assets/wasm/manifest.json +27 -0
  5. package/assets/wasm/runtime.js +6 -0
  6. package/assets/wasm/runtime.wasm +0 -0
  7. package/dist/cli/pass.js +3 -3
  8. package/dist/cli/place.js +7 -4
  9. package/dist/cli/standing-result.js +4 -3
  10. package/dist/cli/verb.js +79 -9
  11. package/dist/engine/encoding.js +2 -0
  12. package/dist/engine/index.d.ts +13 -0
  13. package/dist/engine/index.js +11 -0
  14. package/dist/engine/object.js +38 -0
  15. package/dist/engine/ports.d.ts +32 -0
  16. package/dist/engine/ports.js +103 -0
  17. package/dist/fold/closed.js +22 -5
  18. package/dist/fold/digests.js +3 -2
  19. package/dist/fold/object.js +2 -38
  20. package/dist/fold/resolved.js +1 -1
  21. package/dist/host/admitted-place.js +10 -1
  22. package/dist/host/cell-receipts.js +1 -1
  23. package/dist/host/contextual-place.js +2 -2
  24. package/dist/host/io.js +2 -2
  25. package/dist/host/objects.js +24 -4
  26. package/dist/host/reading-closures.js +11 -13
  27. package/dist/host/reference-authenticated.d.ts +40 -0
  28. package/dist/host/reference-authenticated.js +100 -0
  29. package/dist/host/reference-contracts.js +6 -0
  30. package/dist/host/reference-export.d.ts +33 -0
  31. package/dist/host/reference-export.js +81 -0
  32. package/dist/host/reference-native-api.d.ts +3 -0
  33. package/dist/host/reference-native-api.js +3 -0
  34. package/dist/host/reference-native.d.ts +30 -0
  35. package/dist/host/reference-native.js +74 -0
  36. package/dist/host/reference-profile.d.ts +23 -0
  37. package/dist/host/reference-profile.js +63 -0
  38. package/dist/host/reference-standing.js +18 -0
  39. package/dist/host/reference.js +24 -0
  40. package/dist/host/refusals.d.ts +14 -0
  41. package/dist/host/refusals.js +43 -0
  42. package/dist/host/selected-topos.js +9 -1
  43. package/dist/host/signing.js +7 -1
  44. package/dist/observe/files.js +11 -1
  45. package/dist/observe/regions.js +109 -1
  46. package/dist/wasm/adapter.d.ts +51 -0
  47. package/dist/wasm/adapter.js +180 -0
  48. package/dist/wasm/node-worker.js +13 -0
  49. package/dist/wasm/object.js +76 -0
  50. package/dist/wasm/worker.js +7 -0
  51. package/docs/contracts/authenticated-reference.publication.json +25 -0
  52. package/docs/contracts/engine-object-projection.publication.json +25 -0
  53. package/docs/contracts/engine.md +39 -0
  54. package/docs/contracts/host-ports.md +23 -0
  55. package/docs/contracts/host-ports.publication.json +25 -0
  56. package/docs/contracts/native-publication.inventory.json +14 -0
  57. package/docs/contracts/optional-wasm-adapter.publication.json +25 -0
  58. package/docs/contracts/publication-additions.inventory.json +8 -0
  59. package/docs/contracts/readme.publication.json +25 -0
  60. package/docs/contracts/reference-backend.md +24 -0
  61. package/docs/contracts/reference-backend.publication.json +25 -0
  62. package/docs/contracts/reference-export.md +31 -0
  63. package/docs/contracts/reference-export.publication.json +25 -0
  64. package/docs/contracts/reference-port.md +40 -0
  65. package/docs/contracts/reference-port.publication.json +25 -0
  66. package/docs/contracts/refusals.bound +94 -0
  67. package/docs/contracts/refusals.md +47 -0
  68. package/docs/contracts/refusals.publication.json +25 -0
  69. package/docs/contracts/standing.bound +9 -0
  70. package/docs/contracts/standing.md +24 -0
  71. package/docs/contracts/standing.publication.json +25 -0
  72. package/licenses/wasm/bound.txt +21 -0
  73. package/licenses/wasm/fast-text-encoding.txt +201 -0
  74. package/licenses/wasm/jitl-quickjs-ffi-types.txt +21 -0
  75. package/licenses/wasm/jitl-quickjs-wasmfile-release-sync.txt +47 -0
  76. package/licenses/wasm/obligations.txt +21 -0
  77. package/licenses/wasm/quickjs-emscripten-core.txt +21 -0
  78. package/licenses/wasm/topos.txt +21 -0
  79. package/package.json +141 -6
  80. package/receipts.bound +9554 -613
  81. package/samples/authenticated-reference/compatibility.json +306 -0
  82. package/samples/authenticated-reference/no.json +31 -0
  83. package/samples/authenticated-reference/yes/editorial-state/TARGET.bound +57 -0
  84. package/samples/authenticated-reference/yes/editorial-state/inputs/arrival.json +1 -0
  85. package/samples/authenticated-reference/yes/editorial-state/inputs/coverage.json +1 -0
  86. package/samples/authenticated-reference/yes/editorial-state/inputs/era.json +1 -0
  87. package/samples/authenticated-reference/yes/editorial-state/inputs/order.json +1 -0
  88. package/samples/authenticated-reference/yes/editorial-state/inputs/signature.json +1 -0
  89. package/samples/authenticated-reference/yes/editorial-state/inputs/transport.arrival.json +1 -0
  90. package/samples/authenticated-reference/yes/editorial-state/inputs/transport.coverage.json +1 -0
  91. package/samples/authenticated-reference/yes/editorial-state/inputs/transport.era.json +1 -0
  92. package/samples/authenticated-reference/yes/editorial-state/inputs/transport.order.json +1 -0
  93. package/samples/authenticated-reference/yes/editorial-state/inputs/transport.signature.json +1 -0
  94. package/samples/authenticated-reference/yes/editorial-state/inputs/transport.yes.json +1 -0
  95. package/samples/authenticated-reference/yes/editorial-state/inputs/yes.json +1 -0
  96. package/samples/authenticated-reference/yes/weather-reading/TARGET.bound +57 -0
  97. package/samples/authenticated-reference/yes/weather-reading/inputs/arrival.json +1 -0
  98. package/samples/authenticated-reference/yes/weather-reading/inputs/coverage.json +1 -0
  99. package/samples/authenticated-reference/yes/weather-reading/inputs/era.json +1 -0
  100. package/samples/authenticated-reference/yes/weather-reading/inputs/order.json +1 -0
  101. package/samples/authenticated-reference/yes/weather-reading/inputs/signature.json +1 -0
  102. package/samples/authenticated-reference/yes/weather-reading/inputs/transport.arrival.json +1 -0
  103. package/samples/authenticated-reference/yes/weather-reading/inputs/transport.coverage.json +1 -0
  104. package/samples/authenticated-reference/yes/weather-reading/inputs/transport.era.json +1 -0
  105. package/samples/authenticated-reference/yes/weather-reading/inputs/transport.order.json +1 -0
  106. package/samples/authenticated-reference/yes/weather-reading/inputs/transport.signature.json +1 -0
  107. package/samples/authenticated-reference/yes/weather-reading/inputs/transport.yes.json +1 -0
  108. package/samples/authenticated-reference/yes/weather-reading/inputs/yes.json +1 -0
  109. package/samples/authenticated-reference/yes.json +19 -0
  110. package/samples/engine-alphabet/TARGET.bound +29 -0
  111. package/samples/engine-alphabet/inputs/sample.json +323 -0
  112. package/samples/engine-alphabet/package.json +1 -0
  113. package/samples/engine-alphabet/reader.js +1457 -0
  114. package/samples/engine-alphabet/receipts.bound +12 -0
  115. package/samples/engine-interval/TARGET.bound +29 -0
  116. package/samples/engine-interval/inputs/sample.json +277 -0
  117. package/samples/engine-interval/package.json +1 -0
  118. package/samples/engine-interval/reader.js +1457 -0
  119. package/samples/engine-interval/receipts.bound +12 -0
  120. package/samples/host-ports/no.json +16 -0
  121. package/samples/host-ports/yes.json +9 -0
  122. package/samples/no/engine-order/TARGET.bound +29 -0
  123. package/samples/no/engine-order/inputs/sample.json +277 -0
  124. package/samples/no/engine-order/package.json +1 -0
  125. package/samples/no/engine-order/reader.js +1457 -0
  126. package/samples/readme/no.json +1 -0
  127. package/samples/readme/yes.json +1 -0
  128. package/samples/reference-backend/no.json +1 -0
  129. package/samples/reference-backend/world-fixture.json +8 -0
  130. package/samples/reference-backend/yes.json +1 -0
  131. package/samples/reference-export/no.json +5 -0
  132. package/samples/reference-export/yes.json +15 -0
  133. package/samples/reference-port/no/catalog/TARGET.bound +33 -0
  134. package/samples/reference-port/no/catalog/standing.json +1 -0
  135. package/samples/reference-port/no/catalog/transport.json +1 -0
  136. package/samples/reference-port/no/route-notes/TARGET.bound +33 -0
  137. package/samples/reference-port/no/route-notes/standing.json +1 -0
  138. package/samples/reference-port/no/route-notes/transport.json +1 -0
  139. package/samples/reference-port/yes/catalog/TARGET.bound +33 -0
  140. package/samples/reference-port/yes/catalog/standing.json +1 -0
  141. package/samples/reference-port/yes/catalog/transport.json +1 -0
  142. package/samples/reference-port/yes/route-notes/TARGET.bound +33 -0
  143. package/samples/reference-port/yes/route-notes/standing.json +1 -0
  144. package/samples/reference-port/yes/route-notes/transport.json +1 -0
  145. package/samples/refusals/no.json +4 -0
  146. package/samples/refusals/yes.json +9 -0
  147. package/samples/standing/no.json +4 -0
  148. package/samples/standing/yes.json +21 -0
  149. package/samples/wasm/editorial-notes/TARGET.bound +65 -0
  150. package/samples/wasm/editorial-notes/esm.bound +59 -0
  151. package/samples/wasm/editorial-notes/no-deadline.bound +65 -0
  152. package/samples/wasm/editorial-notes/no-memory.bound +65 -0
  153. package/samples/wasm/editorial-notes/no-missing-limit.bound +64 -0
  154. package/samples/wasm/editorial-notes/receipts.bound +1 -0
  155. package/samples/wasm/water-level/TARGET.bound +65 -0
  156. package/samples/wasm/water-level/esm.bound +59 -0
  157. package/samples/wasm/water-level/no-deadline.bound +65 -0
  158. package/samples/wasm/water-level/no-memory.bound +65 -0
  159. package/samples/wasm/water-level/no-missing-limit.bound +64 -0
  160. package/samples/wasm/water-level/receipts.bound +1 -0
  161. package/vectors/engine-object.cli.json +548 -0
  162. package/vectors/native/authenticated-reference-formation.vector.json +107 -0
  163. package/vectors/native/authenticated-reference.cli.json +157 -0
  164. package/vectors/native/authenticated-reference.vector.json +76 -0
  165. package/vectors/native/host-ports.vector.json +107 -0
  166. package/vectors/native/readme.vector.json +76 -0
  167. package/vectors/native/reference-backend.vector.json +84 -0
  168. package/vectors/native/reference-export.vector.json +78 -0
  169. package/vectors/native/refusals.vector.json +95 -0
  170. package/vectors/native/standing.vector.json +116 -0
  171. package/vectors/reference-port.cli.json +688 -0
  172. package/vectors/wasm-object.cli.json +407 -0
  173. package/dist/cli/accept.d.ts +0 -28
  174. package/dist/cli/act-result.d.ts +0 -12
  175. package/dist/cli/args.d.ts +0 -11
  176. package/dist/cli/custodian.d.ts +0 -1
  177. package/dist/cli/host.d.ts +0 -1
  178. package/dist/cli/names.d.ts +0 -25
  179. package/dist/cli/native-descendant.d.ts +0 -1
  180. package/dist/cli/native.d.ts +0 -1
  181. package/dist/cli/observe.d.ts +0 -1
  182. package/dist/cli/owner.d.ts +0 -37
  183. package/dist/cli/pass.d.ts +0 -6
  184. package/dist/cli/place.d.ts +0 -74
  185. package/dist/cli/release-result.d.ts +0 -5
  186. package/dist/cli/standing-result.d.ts +0 -5
  187. package/dist/cli/takes.d.ts +0 -30
  188. package/dist/fold/admission-history.d.ts +0 -6
  189. package/dist/fold/ceilings.d.ts +0 -24
  190. package/dist/fold/claims.d.ts +0 -29
  191. package/dist/fold/closed.d.ts +0 -15
  192. package/dist/fold/configures.d.ts +0 -4
  193. package/dist/fold/digests.d.ts +0 -29
  194. package/dist/fold/evidence.d.ts +0 -32
  195. package/dist/fold/fold-worker.d.ts +0 -1
  196. package/dist/fold/kept.d.ts +0 -29
  197. package/dist/fold/keys.d.ts +0 -17
  198. package/dist/fold/laid.d.ts +0 -17
  199. package/dist/fold/nos.d.ts +0 -8
  200. package/dist/fold/observed.d.ts +0 -35
  201. package/dist/fold/opened.d.ts +0 -5
  202. package/dist/fold/own.d.ts +0 -24
  203. package/dist/fold/paid.d.ts +0 -11
  204. package/dist/fold/place-inputs.d.ts +0 -17
  205. package/dist/fold/places.d.ts +0 -24
  206. package/dist/fold/rank.d.ts +0 -3
  207. package/dist/fold/reach.d.ts +0 -18
  208. package/dist/fold/readers.d.ts +0 -47
  209. package/dist/fold/receipts.d.ts +0 -8
  210. package/dist/fold/region-declarations.d.ts +0 -2
  211. package/dist/fold/region.d.ts +0 -72
  212. package/dist/fold/release-policy.d.ts +0 -67
  213. package/dist/fold/resolved.d.ts +0 -18
  214. package/dist/fold/roles.d.ts +0 -17
  215. package/dist/fold/second.d.ts +0 -18
  216. package/dist/fold/shards.d.ts +0 -29
  217. package/dist/fold/signed.d.ts +0 -23
  218. package/dist/fold/signers.d.ts +0 -24
  219. package/dist/fold/stranger.d.ts +0 -3
  220. package/dist/fold/views.d.ts +0 -27
  221. package/dist/fold/wire.d.ts +0 -19
  222. package/dist/fold/zoom.d.ts +0 -16
  223. package/dist/host/act-cost.d.ts +0 -13
  224. package/dist/host/adapters/keys/ed25519.d.ts +0 -7
  225. package/dist/host/adapters/modules/javascript.d.ts +0 -3
  226. package/dist/host/adapters/transport/http.d.ts +0 -5
  227. package/dist/host/admitted-place.d.ts +0 -5
  228. package/dist/host/archive.d.ts +0 -11
  229. package/dist/host/capsule-process.d.ts +0 -21
  230. package/dist/host/capsule.d.ts +0 -19
  231. package/dist/host/cell-receipts.d.ts +0 -2
  232. package/dist/host/content-needed.d.ts +0 -5
  233. package/dist/host/content-store.d.ts +0 -8
  234. package/dist/host/contextual-place.d.ts +0 -59
  235. package/dist/host/digest.d.ts +0 -3
  236. package/dist/host/hash.d.ts +0 -9
  237. package/dist/host/io.d.ts +0 -11
  238. package/dist/host/lifetime.d.ts +0 -1
  239. package/dist/host/located.d.ts +0 -4
  240. package/dist/host/native/bounded-file.d.ts +0 -8
  241. package/dist/host/native/command.d.ts +0 -36
  242. package/dist/host/native/control-bridge-worker.d.ts +0 -1
  243. package/dist/host/native/control-bridge.d.ts +0 -30
  244. package/dist/host/native/control-selection.d.ts +0 -29
  245. package/dist/host/native/custody.d.ts +0 -5
  246. package/dist/host/native/deadline.d.ts +0 -12
  247. package/dist/host/native/descendants.d.ts +0 -1
  248. package/dist/host/native/generated-custodian.d.ts +0 -122
  249. package/dist/host/native/generated.d.ts +0 -217
  250. package/dist/host/native/image.d.ts +0 -36
  251. package/dist/host/native/jobs.d.ts +0 -75
  252. package/dist/host/native/loader.d.ts +0 -80
  253. package/dist/host/native/materialize.d.ts +0 -22
  254. package/dist/host/native/module-closure.d.ts +0 -27
  255. package/dist/host/native/module-syntax.d.ts +0 -8
  256. package/dist/host/native/native-binary.d.ts +0 -54
  257. package/dist/host/native/native-program.d.ts +0 -56
  258. package/dist/host/native/node-jobs.d.ts +0 -84
  259. package/dist/host/native/node-launch.d.ts +0 -72
  260. package/dist/host/native/preload.d.ts +0 -1
  261. package/dist/host/native/reading.d.ts +0 -91
  262. package/dist/host/native/receipt-environment.d.ts +0 -3
  263. package/dist/host/native/references.d.ts +0 -5
  264. package/dist/host/native/root.d.ts +0 -17
  265. package/dist/host/native/route.d.ts +0 -66
  266. package/dist/host/native/runtime.d.ts +0 -4
  267. package/dist/host/native-reader-context.d.ts +0 -3
  268. package/dist/host/objects.d.ts +0 -5
  269. package/dist/host/place-clock-selection.d.ts +0 -55
  270. package/dist/host/ports/ingress.d.ts +0 -24
  271. package/dist/host/ports/local-act.d.ts +0 -44
  272. package/dist/host/ports/place-act.d.ts +0 -46
  273. package/dist/host/ports/publication.d.ts +0 -10
  274. package/dist/host/ports/signing.d.ts +0 -31
  275. package/dist/host/ports/store.d.ts +0 -2
  276. package/dist/host/ports/transport.d.ts +0 -1
  277. package/dist/host/process-lifetime.d.ts +0 -11
  278. package/dist/host/provide.d.ts +0 -48
  279. package/dist/host/read-only.d.ts +0 -3
  280. package/dist/host/reading-closures.d.ts +0 -45
  281. package/dist/host/reading-context.d.ts +0 -29
  282. package/dist/host/release.d.ts +0 -14
  283. package/dist/host/root-clock-source.d.ts +0 -85
  284. package/dist/host/selected-capsules.d.ts +0 -8
  285. package/dist/host/selected-topos.d.ts +0 -24
  286. package/dist/host/signing.d.ts +0 -3
  287. package/dist/host/source-content.d.ts +0 -12
  288. package/dist/host/timing.d.ts +0 -2
  289. package/dist/host/walk.d.ts +0 -6
  290. package/dist/judge/late.d.ts +0 -7
  291. package/dist/judge/take.d.ts +0 -59
  292. package/dist/judge/widening.d.ts +0 -1
  293. package/dist/land/act.d.ts +0 -30
  294. package/dist/land/alias.d.ts +0 -10
  295. package/dist/land/held.d.ts +0 -7
  296. package/dist/land/inert.d.ts +0 -26
  297. package/dist/land/leaving.d.ts +0 -14
  298. package/dist/land/ledger.d.ts +0 -33
  299. package/dist/land/owned.d.ts +0 -23
  300. package/dist/land/sign.d.ts +0 -15
  301. package/dist/land/standing-pin.d.ts +0 -3
  302. package/dist/land/vouched.d.ts +0 -21
  303. package/dist/land/withdraw.d.ts +0 -14
  304. package/dist/observe/files.d.ts +0 -14
  305. package/dist/observe/identity.d.ts +0 -21
  306. package/dist/observe/match.d.ts +0 -1
  307. package/dist/observe/regions.d.ts +0 -29
  308. package/dist/observe/run.d.ts +0 -31
  309. package/dist/observe/runner.d.ts +0 -20
  310. package/dist/render/capsule.d.ts +0 -24
  311. package/dist/render/field.d.ts +0 -3
  312. package/dist/render/names.d.ts +0 -3
  313. package/dist/render/open.d.ts +0 -27
  314. package/dist/render/page.d.ts +0 -3
  315. package/dist/render/receipts.d.ts +0 -3
  316. package/dist/render/shape.d.ts +0 -16
  317. package/dist/render/target.d.ts +0 -18
  318. package/dist/render/view.d.ts +0 -22
  319. /package/dist/{fold → engine}/object.d.ts +0 -0
@@ -1,29 +0,0 @@
1
- export declare const OBSERVED: RegExp;
2
- export declare const LEVEL: RegExp;
3
- export declare const readerOf: (line: string) => string | undefined;
4
- type Latest = {
5
- readonly at: string;
6
- readonly line: string;
7
- };
8
- export declare const trimmed: (where: string) => string;
9
- export { sha } from '../host/hash.ts';
10
- /**
11
- * What a reader said is kept by region: the region a place lies in is the longest a reader's lock names that holds it,
12
- * the stamps and digests it was observed at are lines of that region's shard, and what the reader answered for the
13
- * region is one observation, stored under its reader's extension, the region, the digest of the region's places and
14
- * the resolution it was read at. A fold opens the shards of the regions it reaches and reads each observation by its
15
- * key: nothing is scanned, the same bytes are never read twice, and an observation found under its key is the reading.
16
- */
17
- export declare function regionIn(regions: readonly string[], place: string): string;
18
- export declare const keyOf: (by: string, region: string, pairs: readonly string[], resolution?: string) => string;
19
- export declare const observed: (store: string, key: string) => boolean;
20
- export declare function observation(store: string, key: string): readonly string[] | undefined;
21
- export declare function keepObservation(store: string, key: string, lines: readonly string[]): void;
22
- export declare function opened(store: string, speaker: string, region: string, alive: ReadonlySet<string>): {
23
- readonly region: string;
24
- readonly places: ReadonlyMap<string, Latest>;
25
- readonly keys: Map<string, string>;
26
- };
27
- export declare const pointer: (speaker: string, by: string, region: string, key: string, pairs: readonly string[]) => string;
28
- export declare function legacyOf(store: string, speaker: string, regions: readonly string[]): ReadonlyMap<string, readonly string[]> | undefined;
29
- export declare function setAside(store: string, speaker: string): void;
@@ -1,23 +0,0 @@
1
- import { authorityFor } from './signers.ts';
2
- /** Lines told to a place's own lock for a preview: folded as if the file held them, and standing only as its signed lines do. */
3
- export declare const tellOwn: (place: string, lines: readonly string[]) => void;
4
- /**
5
- * A place's own lock, folded as the tree folds its own: a line that carries a signature stands only when a key the
6
- * tree's lock admits signed it, inside the window that key held at the epoch it signed and inside its coverage of the
7
- * place, the line's scope read as a region of the place; a line that carries none is the place's target text until the
8
- * place signs its lock, and never stands where only signed lines are asked for.
9
- */
10
- export declare function ownLockOf(root: string, place: string, signedOnly?: boolean): readonly string[];
11
- /**
12
- * What a place's own lock holds by signature — a key the tree admits signed the line, inside its window and its coverage
13
- * of the place — withdrawal or not: whether one line stands there so, the lines that do, and how many were written into
14
- * the lock rather than applied to it.
15
- */
16
- export declare const admittedIn: (root: string, place: string, line: string) => boolean;
17
- export declare const appliedIn: (root: string, place: string) => readonly string[];
18
- export declare const forksIn: (root: string, place: string) => readonly string[];
19
- export declare const writtenIn: (root: string, place: string) => number;
20
- /** Authenticated history excludes prospective lines told only for admission. */
21
- export declare const appliedHistoryIn: (root: string, place: string) => readonly string[];
22
- /** Shared signature/window/coordinate coverage boundary for own history. */
23
- export declare function ownRecordAdmitted(line: string, place: string, family: string, signers: ReturnType<typeof authorityFor>['admitted'], algorithms: readonly string[]): boolean;
@@ -1,24 +0,0 @@
1
- import type { Published, Signer, SignerVerdict } from '@lapxo/topos/wire';
2
- /** A lock line about the signers: the authority fold reads it. */
3
- export declare function isSignerLock(line: string): boolean;
4
- /** The authority view of a ledger: which signers the lock admits from its root, and what each line carries. */
5
- export declare function authorityFor(lines: readonly string[], root: Signer, admitted: readonly string[], published?: Published): {
6
- readonly admitted: readonly Signer[];
7
- readonly potential: readonly string[];
8
- readonly of: (line: string) => SignerVerdict;
9
- };
10
- /** The key this lock admits for a class of writing: the fold is kept by whoever runs it, and the lock says who that is. */
11
- export declare function writerFor(standing: readonly string[], kind: string): string | undefined;
12
- export declare function publicKeyOf(root: string, keyId: string): string | undefined;
13
- export declare function releaseSigner(lines: readonly string[]): Signer;
14
- export declare function rootSigner(root: string): {
15
- id: string;
16
- keyClass: 'authorize';
17
- publicKey: string;
18
- coverage: string[];
19
- depth: {
20
- lo: number;
21
- hi: number;
22
- };
23
- admittedBy: string[];
24
- };
@@ -1,3 +0,0 @@
1
- /** A clone that holds a lock and no ledger: receipts none, one place opened, the needs the lock names, each uses/ pin still open, and README.md to render. Nothing is folded and nothing is written. */
2
- export declare function emptyLedger(store: string): boolean;
3
- export declare function sayStranger(root: string): void;
@@ -1,27 +0,0 @@
1
- interface Asked {
2
- readonly name: string;
3
- readonly at: number;
4
- readonly called?: boolean;
5
- }
6
- export interface View {
7
- readonly name: string;
8
- readonly regions: readonly Asked[];
9
- readonly shape: string;
10
- }
11
- /**
12
- * A view is a signed line `view/<name>` whose value lists regions in the order they are written, each at the resolution
13
- * it asks for (`region@n`, the steps of each line it keeps, three when it asks for none, and the one the view is called
14
- * at for `region@*`), and whose shape, when it has one, names the coordinate the view renders into. What renders a region is
15
- * read where the fold is known, and a view asking one nothing renders is refused there, by name.
16
- */
17
- export declare function viewsOf(standing: readonly string[]): ReadonlyMap<string, View>;
18
- /**
19
- * A view the wire's views/world list names writes at a world that holds no view of that name of its own: the tree's line
20
- * of the name, at the shape it names. A place's own view of a shape shadows the list at that shape: own over root, one
21
- * writer. Two views naming the same shape in one place is a refuse at rank, before any render.
22
- */
23
- export declare const defaulted: (standing: readonly string[], view: View, own: readonly string[], tree: ReadonlyMap<string, View>) => boolean;
24
- /** Shapes two standing views of one place both name: rank refuses before a render, one path, one writer. */
25
- export declare function sharedShapes(standing: readonly string[]): readonly string[];
26
- export declare function placesOf(standing: readonly string[], view: View): readonly string[];
27
- export {};
@@ -1,19 +0,0 @@
1
- import type { RoleClaim } from '@lapxo/topos/wire';
2
- export type CoordinateRole = 'source' | 'derived' | 'observed' | 'foreign';
3
- export declare const namesAt: (at: string, name: string) => boolean;
4
- export declare const roleAt: (at: string, claims: readonly RoleClaim[]) => CoordinateRole;
5
- /** The standing line that names a wire list, under `wire/`, else the older `audit/wire/` for one era. A word the wire names is read from the lock by the list it belongs to: the instrument asks for one and refuses if the lock no longer lists it, so an alphabet is never frozen here and a family that moves is a refusal, not a silence. */
6
- export declare const wireLine: (standing: readonly string[], list: string) => string | undefined;
7
- export declare function wordsOf(standing: readonly string[], list: string): readonly string[];
8
- /**
9
- * A word asked in its eras, newest first, is read in the lock it is asked of: the first era that lock's own wire lists
10
- * is the word there, so a place published under an older wire is read in the word it was written in, and none is a
11
- * refusal. A list that names exactly one word is read as that word; a list that names none, or more than one, is a
12
- * refusal. The older `audit/wire/` prefix is one era of `wire/`, not a fall-back to another lock.
13
- */
14
- export declare function wordOf(standing: readonly string[], list: string, name: string | readonly string[]): string;
15
- export declare function theWord(standing: readonly string[], list: string): string;
16
- export declare const wordOn: (standing: readonly string[], list: string, fallback: readonly string[]) => string;
17
- /** A named word, read from the standing that lists it, else from the fallback lock. */
18
- export declare function wordFrom(standing: readonly string[], list: string, name: string | readonly string[], fallback: readonly string[]): string;
19
- export declare const said: (lines: readonly string[], scope: string) => readonly string[];
@@ -1,16 +0,0 @@
1
- /**
2
- * A line of the tree seen from inside a place: every path it names under the place is read from the place's root, and
3
- * a path outside it is dropped, since the place alone cannot read it. The place's name drops out of the scope, the condition
4
- * and the policy a line is held at, and a cone names the coordinates it covers the same way; the place itself is `./`. In a
5
- * scope the name drops out of the step after the family, or after the one word that qualifies it (prose/en, hazard/<kind>,
6
- * source/<measure>); a deeper step that spells it is inside a name, such as a package a module imports, and stays.
7
- */
8
- export declare function zoomed(line: string, place: string): string;
9
- /** The lines of each place's own lock that still name the place: seen from inside a place, no scope carries its name. */
10
- export declare function namingTheirPlace(root: string): number;
11
- /**
12
- * What a zoom rewrote that is not the place: over each place the lock publishes, every scope and condition of the tree
13
- * and of the place's receipts that spells the place as a step, zoomed from inside it. Losing the place's step after the
14
- * family, or after the one word qualifying it, is the zoom; any other rewrite took a value for the place.
15
- */
16
- export declare function zoomedOutsideThePlace(root: string, standing: readonly string[]): number;
@@ -1,13 +0,0 @@
1
- /** A sequence of declared acts is not one act. Unpartitioned host work still has a cost. */
2
- export declare class ActCosts {
3
- private readonly began;
4
- private occupied;
5
- private largest;
6
- private depth;
7
- private readonly clock;
8
- constructor(clock?: () => number);
9
- begin(): () => void;
10
- measure<T>(work: () => T): T;
11
- seconds(): number;
12
- }
13
- export declare const actCosts: ActCosts;
@@ -1,7 +0,0 @@
1
- /**
2
- * The act of signing: canonical bytes, a private key and the algorithm the wire names for this era in; a signature
3
- * value out, whose form is the algebra's. The host runs the act and knows no name: which algorithms a signature may
4
- * carry, this era's and the ones the lines before it were signed under, is told by whoever read the lock.
5
- */
6
- export declare const signBytes: (bytes: string, privateKeyPem: string, algorithm: string) => string;
7
- export declare function verifyBytes(bytes: string, publicKeyPem: string, signature: string, admitted: readonly string[]): boolean;
@@ -1,3 +0,0 @@
1
- export declare function moduleImports(source: string, coordinate: string): readonly string[];
2
- /** A JavaScript literal value; syntax inventory never executes it. */
3
- export declare const stringLiteral: (node: unknown) => string | undefined;
@@ -1,5 +0,0 @@
1
- /** Reference HTTP adapter. Location and budgets are already selected by admitted host policy. */
2
- export declare function fetchBytes(location: string, limits: {
3
- readonly timeoutMs: number;
4
- readonly responseBytes: number;
5
- }): Promise<Uint8Array>;
@@ -1,5 +0,0 @@
1
- /** Existing admission-snapshot authentication and folded live projection.
2
- * Consumer configuration evidence only; never a new authority lock. */
3
- export declare function authenticatedRootStanding(root: string): readonly string[];
4
- /** Legacy Root lines remain unchanged; contextual public output has its own carrier. */
5
- export declare const authenticatedStanding: typeof authenticatedRootStanding;
@@ -1,11 +0,0 @@
1
- export interface Member {
2
- readonly name: string;
3
- readonly bytes: Uint8Array;
4
- }
5
- /** POSIX archive coordinates; normalization cannot make two members share one destination. */
6
- export declare function archiveCoordinate(name: string): string;
7
- /** The gzip/POSIX tar adapter reads regular files, directories and PAX attributes, or rejects the whole archive. */
8
- export declare function members(archive: Uint8Array): readonly Member[];
9
- /** Existing links or files are never followed or overwritten by extraction. */
10
- export declare function archiveDestination(into: string, name: string): string;
11
- export declare function unpack(archive: Uint8Array, into: string): readonly string[];
@@ -1,21 +0,0 @@
1
- import type { ReaderLifetime } from '@lapxo/topos/wire';
2
- import type { SpawnSyncOptionsWithStringEncoding } from 'node:child_process';
3
- import type { Request, Response } from '@lapxo/topos/contract';
4
- /** Operational process failure, distinct from a valid contract refusal or abstention. */
5
- export declare class CapsuleProcessError extends Error {
6
- readonly stdout: string;
7
- readonly stderr: string;
8
- readonly status: number | null;
9
- readonly signal: NodeJS.Signals | null;
10
- readonly cause: unknown;
11
- constructor(reason: string, result: {
12
- stdout?: string;
13
- stderr?: string;
14
- status: number | null;
15
- signal: NodeJS.Signals | null;
16
- error?: unknown;
17
- });
18
- }
19
- export declare function validResponse(value: unknown, request: Request): value is Response;
20
- /** Last-line JSON is the wire framing. No partial batch, failed exit or synthetic missing response is accepted. */
21
- export declare function executeCapsule(command: string, args: readonly string[], requests: readonly Request[], limits?: Pick<SpawnSyncOptionsWithStringEncoding, 'timeout' | 'maxBuffer' | 'env' | 'cwd'>, lifetime?: ReaderLifetime): readonly Response[];
@@ -1,19 +0,0 @@
1
- import type { ReaderReference } from '@lapxo/topos/wire';
2
- import type { Declaration } from '@lapxo/topos/capsule';
3
- import type { Request, Response } from '@lapxo/topos/contract';
4
- export interface Capsule {
5
- readonly selectedWorld?: {
6
- readonly standing: import("@lapxo/topos/standing").StandingTopos;
7
- readonly offer: string;
8
- };
9
- readonly selection?: string;
10
- readonly digest: string;
11
- readonly declaration: Declaration;
12
- readonly lines: readonly string[];
13
- readonly ask: (requests: readonly Request[], reader?: ReaderReference) => readonly (Response | undefined)[];
14
- }
15
- /** A blob is loaded once in an act. A later ask for the same digest reads that capsule, and does not hash or unpack it again. */
16
- export declare function capsuleAt(digest: string, entry: string, store?: string): Capsule | undefined;
17
- export declare const childFlags: (argv?: readonly string[]) => readonly string[];
18
- /** The host may supply its cache store independently of the located executable. */
19
- export declare function locatedAt(tree: string, place: string, cacheStore?: string): Capsule | undefined;
@@ -1,2 +0,0 @@
1
- /** Native count/bytes receipt lines; carried render blobs are separate verified cache payloads. */
2
- export declare function cellsWithReceipts(root: string, history: readonly string[], emit: (text: string) => void): Promise<void>;
@@ -1,5 +0,0 @@
1
- /** The synchronous host names unavailable content; the enclosing fold resolves exactly that request. */
2
- export declare class ContentNeeded extends Error {
3
- readonly digest: string;
4
- constructor(digest: string, why?: string);
5
- }
@@ -1,8 +0,0 @@
1
- export declare const withContentStore: <T>(store: string, run: () => T, policy?: () => readonly string[]) => T;
2
- export declare const contentPolicy: () => readonly string[];
3
- export declare const contentStore: () => string;
4
- /** Only immutable verified bytes may be shared with the instrument. Local corruption is never hidden by fallback. */
5
- export declare function verifiedContent(digest: string, store?: string, instrument?: string): {
6
- readonly bytes: Uint8Array;
7
- readonly path: string;
8
- };
@@ -1,59 +0,0 @@
1
- import { type PlaceReceipt } from '@lapxo/topos/core';
2
- export declare function hasContextualPlace(root: string): boolean;
3
- /** Exact selected SDK frame plus complete pre-signed receiver statements. No
4
- * executable/verifier/epoch selection can be supplied by this envelope. */
5
- export declare function landContextualPlace(root: string, file: string): Promise<import("./ports/place-act.ts").PlaceActBundle & {
6
- readonly kind: "landed" | "once";
7
- readonly identity: string;
8
- }>;
9
- export declare function contextualAct(root: string, identity: string): {
10
- profile: string;
11
- identity: string;
12
- context: string;
13
- receipts: readonly PlaceReceipt[];
14
- contexts: {
15
- identity: string;
16
- context: string;
17
- receipts: readonly PlaceReceipt[];
18
- authority: ReturnType<(encoded: string) => {
19
- anchor: import("@lapxo/topos/wire").Signer;
20
- history: readonly string[];
21
- checkpoint: string;
22
- }>;
23
- }[];
24
- } | undefined;
25
- /** Carriers retain exact originals and authenticated context/receipts. Each
26
- * namespace folds independently; labels assert no statistical independence. */
27
- export declare function contextualStanding(root: string): {
28
- profile: string;
29
- root: readonly string[];
30
- legacyPlaces: {
31
- namespace: string;
32
- place: string;
33
- standing: string[];
34
- history: readonly string[];
35
- }[];
36
- contexts: {
37
- identity: string;
38
- context: string;
39
- receipts: readonly PlaceReceipt[];
40
- authority: {
41
- anchor: import("@lapxo/topos/wire").Signer;
42
- history: readonly string[];
43
- checkpoint: string;
44
- };
45
- }[];
46
- places: {
47
- namespace: string;
48
- place: string;
49
- standing: string[];
50
- retracted: readonly string[];
51
- superseded: readonly string[];
52
- forks: readonly import("../fold/claims.ts").Fork[];
53
- contexts: {
54
- identity: string;
55
- context: string;
56
- receipts: readonly PlaceReceipt[];
57
- }[];
58
- }[];
59
- };
@@ -1,3 +0,0 @@
1
- /** Sorted by UTF-8 bytes; the algorithm is a field (`sha256:…`), never bare hex. */
2
- export declare function fullDigest(input: string | readonly string[], algorithm: string): string;
3
- export declare function bytesDigest(bytes: Uint8Array, algorithm: string): string;
@@ -1,9 +0,0 @@
1
- import { type Hash } from 'node:crypto';
2
- /** SHA-256 byte hashing for host formats that explicitly name this algorithm. */
3
- export declare const sha: (bytes: string | Uint8Array) => string;
4
- /** Typed digest spelling shared by fixed host boundaries; hashes identical bytes. */
5
- export declare const sha256: (bytes: string | Uint8Array) => string;
6
- /** Length-delimited UTF-8 fields for existing host history identities. */
7
- export declare function hashText(hash: Hash, value: string): void;
8
- /** Exact typed SHA-256 spelling used by fixed host declarations. */
9
- export declare const isSha256: (value: unknown) => value is string;
package/dist/host/io.d.ts DELETED
@@ -1,11 +0,0 @@
1
- /** The host's node surface: kernel folders import here, never `node:`. World reads still go through observeFile. */
2
- export { spawn, spawnSync } from 'node:child_process';
3
- export { createHash } from 'node:crypto';
4
- export { appendFileSync, closeSync, existsSync, linkSync, lstatSync, mkdirSync, mkdtempSync, openSync, readFileSync, readSync, readdirSync, realpathSync, renameSync, rmSync, statSync, writeFileSync, } from 'node:fs';
5
- export { tmpdir } from 'node:os';
6
- export { basename, dirname, join, relative, resolve } from 'node:path';
7
- export { fileURLToPath } from 'node:url';
8
- export { parentPort, workerData } from 'node:worker_threads';
9
- export { gzipSync } from 'node:zlib';
10
- /** UTF-8 encoding for host byte formats. */
11
- export declare const encodeUTF8: (text: string) => Uint8Array;
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- type Module = Readonly<Record<string, unknown>>;
2
- export declare const locate: (root: string, dir: string, ext: string) => Promise<Module>;
3
- export declare const load: () => Promise<Module>;
4
- export {};
@@ -1,8 +0,0 @@
1
- /** The opened descriptor is bounded before allocation/read. Growth after fstat
2
- * is detected with one sentinel byte; no oversized buffer reaches decode/hash.
3
- */
4
- export declare function readBoundedFile(path: string, remaining: number, coordinate: string): Buffer;
5
- export declare function readBoundedBatch(paths: readonly {
6
- path: string;
7
- coordinate: string;
8
- }[], budget: number): readonly Buffer[];
@@ -1,36 +0,0 @@
1
- import type { CommandPort, CommandLot } from '@lapxo/topos/contract';
2
- type Phase = 'selection' | 'help' | 'check' | 'preview' | 'sign' | 'act';
3
- export interface Invocation {
4
- readonly command: string;
5
- readonly args: readonly string[];
6
- readonly cwd: string;
7
- readonly hostEnvelope?: Uint8Array;
8
- readonly envelopeBytes?: number;
9
- }
10
- export interface HostBoundary {
11
- readonly admitsDeclaration: (port: CommandPort) => boolean;
12
- readonly covers: (coordinate: string) => boolean;
13
- readonly verifies: (digest: string) => boolean;
14
- /** Host chooses a verified invocation. A capsule cannot supply a program. */
15
- readonly resolve: (port: CommandPort) => Invocation;
16
- /** Independent loader-closure proof, not a digest-list membership test. */
17
- readonly loaderClosure: (port: CommandPort, invocation: Invocation) => 'verified' | 'unmeasured';
18
- }
19
- /** macOS prototype: bounded async invocation with POSIX child-group cancellation.
20
- * No acquisition or persistence on prospective paths; no partial success frames.
21
- * Host callbacks are trusted admission/verification operations, never signatures
22
- * or authority assertions supplied by the command's own output. */
23
- export declare function executeLot(options: {
24
- port: CommandPort;
25
- lot: CommandLot;
26
- host: HostBoundary;
27
- phase: Phase;
28
- environment: Readonly<Record<string, string>>;
29
- signal?: AbortSignal;
30
- accepts: (member: unknown, index: number) => boolean;
31
- }): Promise<{
32
- readonly members: readonly unknown[];
33
- readonly stderr: string;
34
- readonly invocations: 1;
35
- }>;
36
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,30 +0,0 @@
1
- export interface ControlEndpoint {
2
- readonly socket: string;
3
- readonly timeoutMs: number;
4
- readonly deadlineMs: number;
5
- readonly responseBytes: number;
6
- }
7
- export interface FixedControlBinding {
8
- readonly endpoint: ControlEndpoint;
9
- readonly workerBytes: Uint8Array;
10
- readonly worker: {
11
- readonly digest: string;
12
- readonly coordinate: string;
13
- readonly bytes: number;
14
- };
15
- readonly runtime: {
16
- readonly path: string;
17
- readonly digest: string;
18
- readonly bytes: number;
19
- };
20
- readonly resources: {
21
- readonly inputBytes: number;
22
- readonly outputBytes: number;
23
- readonly sharedBytes: number;
24
- };
25
- readonly deadlineMs: number;
26
- }
27
- export declare function createFixedControlBridge(inputBinding: FixedControlBinding): {
28
- exchange(frame: string): string;
29
- close(): Promise<void>;
30
- };
@@ -1,29 +0,0 @@
1
- import { type RootStanding, type PortProfile } from './reading.ts';
2
- export interface HostControlProfile {
3
- readonly profile: 'host-control-transport@1';
4
- readonly realm: 'main-thread';
5
- readonly coordinate: string;
6
- readonly selector: {
7
- readonly port: string;
8
- readonly implementation: string;
9
- };
10
- readonly worker: {
11
- readonly coordinate: string;
12
- readonly digest: string;
13
- readonly bytes: number;
14
- };
15
- readonly runtime: {
16
- readonly coordinate: string;
17
- readonly digest: string;
18
- };
19
- readonly limits: {
20
- readonly workersPerProcess: 1;
21
- readonly inFlight: 1;
22
- readonly sharedBytes: number;
23
- };
24
- }
25
- export interface HostControlSelection {
26
- readonly line: string;
27
- readonly profile: HostControlProfile;
28
- }
29
- export declare function selectedHostControl(root: RootStanding, parent: PortProfile): HostControlSelection | undefined;
@@ -1,5 +0,0 @@
1
- import { type RootStanding, type PortProfile } from './reading.ts';
2
- import type { RootJobCustody, NodeImage } from './node-jobs.ts';
3
- import type { Handoff } from './jobs.ts';
4
- import type { LogicalLoader } from './image.ts';
5
- export declare function nativeRootJobCustody(root: RootStanding, profile: PortProfile, handoff: Handoff, image: NodeImage, logical: LogicalLoader): RootJobCustody;
@@ -1,12 +0,0 @@
1
- /** Remaining monotonic lease, rounded up for host APIs that accept milliseconds. */
2
- export declare function remainingDeadlineMs(deadline: bigint): number;
3
- interface Clock {
4
- readonly now: () => bigint;
5
- readonly schedule: (callback: () => void, delayMs: number) => unknown;
6
- readonly cancel: (handle: unknown) => void;
7
- }
8
- /** The admitted deadline is never clamped to the platform timer range. Each
9
- * timer is merely a wake-up slice; expiry checks the original monotonic clock.
10
- * Injected clock exists only for deterministic platform-boundary vectors. */
11
- export declare function scheduleDeadline(deadline: bigint, expire: () => void, clock?: Clock): () => void;
12
- export {};
@@ -1 +0,0 @@
1
- export declare function installDescendantBoundary(config: any): void;
@@ -1,122 +0,0 @@
1
- import { type NativeBinaryProjection } from './native-binary.ts';
2
- import { type GeneratedProducer, type LiteralSnapshot, type DescendantInvocation, type ProducerLimits, type ProducerCandidates } from './generated.ts';
3
- import { type NativeEvalActual } from './node-launch.ts';
4
- export interface ProducerEndpoint {
5
- socket: string;
6
- token: string;
7
- coordinate: string;
8
- implementation: string;
9
- identity: string;
10
- timeoutMs: number;
11
- deadlineMs: number;
12
- responseBytes: number;
13
- interpretations: readonly string[];
14
- limits: Readonly<ProducerLimits>;
15
- }
16
- /** Refusal transport is bounded too; an undersized channel closes without a
17
- * frame while the parent retains the named refusal. No truncation is success. */
18
- export declare function boundedRefusalFrame(endpoint: ProducerEndpoint, why: string): string | undefined;
19
- export interface EntryRequest {
20
- candidates?: readonly ProducerCandidates[];
21
- kind: 'file' | 'eval';
22
- path?: string;
23
- interpretation?: string;
24
- mode: 'module' | 'commonjs';
25
- argv?: readonly string[];
26
- rootPrefix?: readonly string[];
27
- invocation: DescendantInvocation;
28
- }
29
- export interface NativeProgramGrant {
30
- readonly identity: string;
31
- readonly program: NativeBinaryProjection;
32
- }
33
- export interface NativeProgramRequest {
34
- alias: string;
35
- path: string;
36
- invocation: DescendantInvocation;
37
- }
38
- export interface EmissionBatchRequest {
39
- outputs: readonly {
40
- path: string;
41
- digest: string;
42
- }[];
43
- invocation: DescendantInvocation;
44
- }
45
- export interface EmissionRequest {
46
- path: string;
47
- invocation: DescendantInvocation;
48
- }
49
- export interface InterpretationRequest {
50
- path: string;
51
- interpretation: string;
52
- invocation: DescendantInvocation;
53
- }
54
- export declare function startProducerCustodian(handle: GeneratedProducer, snapshot: LiteralSnapshot, nativeImplementations: ReadonlySet<string>, directory: string, inputNativePrograms?: readonly NativeProgramGrant[]): Promise<{
55
- endpoint: ProducerEndpoint;
56
- readonly contexts: any[];
57
- retention: () => {
58
- bytes: number;
59
- contexts: any[];
60
- values: any[][];
61
- };
62
- assertClosed: () => void;
63
- refusals: string[];
64
- usage: () => Readonly<{
65
- members: number;
66
- bytes: number;
67
- work: number;
68
- retainedContents: number;
69
- codeBytes: number;
70
- limits: {
71
- members: number;
72
- bytes: number;
73
- work: number;
74
- argvBytes: number;
75
- argvItems: number;
76
- };
77
- }>;
78
- close: () => Promise<void>;
79
- }>;
80
- /** Asynchronous client for original async native APIs. Original sync APIs use
81
- * the fixed client executable; both address this SAME custodian/counters. */
82
- export declare function requestRetainedEvalContext(endpoint: ProducerEndpoint, actual: NativeEvalActual): Promise<any>;
83
- export declare function requestProducerEntry(endpoint: ProducerEndpoint, request: EntryRequest): Promise<any>;
84
- export declare function requestProducerInterpretation(endpoint: ProducerEndpoint, request: InterpretationRequest): Promise<any>;
85
- export declare function requestNativeProgram(endpoint: ProducerEndpoint, request: NativeProgramRequest): Promise<any>;
86
- export declare function requestProducerEmission(endpoint: ProducerEndpoint, request: EmissionRequest): Promise<any>;
87
- export declare function requestProducerEmissionBatch(endpoint: ProducerEndpoint, request: EmissionBatchRequest): Promise<any>;
88
- /** Bound's guarded host constructs this factory, not a world. The transport path
89
- * is selected by the sealed native preload configuration, not a grant in data.
90
- * A shared context file cannot be multiplexed across simultaneous bindings. */
91
- export declare function createProducerJobCustody(input: {
92
- root: import('./reading.ts').RootStanding;
93
- coordinate: string;
94
- implementationBytes: Uint8Array;
95
- snapshot: LiteralSnapshot;
96
- nativeImplementations: ReadonlySet<string>;
97
- directory: string;
98
- contextFile: string;
99
- nativeBinaries?: readonly {
100
- coordinate: string;
101
- privateBinding: {
102
- coordinate: string;
103
- path: string;
104
- digest: string;
105
- };
106
- }[];
107
- programSelections?: readonly {
108
- coordinate: string;
109
- runtimeBinding: {
110
- coordinate: string;
111
- path: string;
112
- digest: string;
113
- members: readonly {
114
- coordinate: string;
115
- path: string;
116
- }[];
117
- };
118
- }[];
119
- }): import('./node-jobs.ts').RootJobCustody;
120
- /** Fixed Root preload reports a local before-entry refusal to the SAME parent
121
- * custodian. A caught child error therefore cannot become a success receipt. */
122
- export declare function reportProducerViolation(endpoint: ProducerEndpoint, why: string): Promise<never>;