@lapxo/bound 0.2.4 → 0.2.6
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/CITATION.cff +1 -1
- package/README.md +20 -3
- package/TARGET.bound +85 -47
- package/dist/cli/accept.js +61 -590
- package/dist/cli/act-result.js +3 -103
- package/dist/cli/args.js +3 -44
- package/dist/cli/custodian.js +2 -29
- package/dist/cli/host.js +4 -32
- package/dist/cli/names.js +1 -12
- package/dist/cli/native-descendant.js +1 -19
- package/dist/cli/native.js +3 -60
- package/dist/cli/observe.js +1 -13
- package/dist/cli/owner.js +3 -139
- package/dist/cli/pass.js +22 -321
- package/dist/cli/place.js +6 -282
- package/dist/cli/release-result.js +3 -80
- package/dist/cli/retained-judgment.js +1 -25
- package/dist/cli/standing-result.js +4 -19
- package/dist/cli/takes.js +10 -112
- package/dist/cli/verb.d.ts +1 -2
- package/dist/cli/verb.js +85 -684
- package/dist/engine/computation.js +2 -0
- package/dist/engine/conformance.js +4 -0
- package/dist/engine/encoding.js +1 -2
- package/dist/engine/index.d.ts +1 -13
- package/dist/engine/index.js +2 -11
- package/dist/engine/object.js +1 -38
- package/dist/engine/ports.js +2 -117
- package/dist/fold/admission-history.js +1 -17
- package/dist/fold/bootstrap-anchor.js +1 -28
- package/dist/fold/ceilings.js +1 -142
- package/dist/fold/claims.js +2 -132
- package/dist/fold/closed.js +24 -235
- package/dist/fold/configures.js +1 -25
- package/dist/fold/digests.js +10 -226
- package/dist/fold/evidence.js +1 -22
- package/dist/fold/fold-worker.js +1 -13
- package/dist/fold/kept.js +12 -173
- package/dist/fold/keys.js +3 -91
- package/dist/fold/laid.js +3 -90
- package/dist/fold/nos.js +1 -48
- package/dist/fold/object.js +1 -2
- package/dist/fold/observed.js +28 -534
- package/dist/fold/opened.js +1 -33
- package/dist/fold/own.js +3 -217
- package/dist/fold/paid.js +1 -92
- package/dist/fold/place-inputs.js +1 -70
- package/dist/fold/places.js +3 -100
- package/dist/fold/rank.js +1 -9
- package/dist/fold/reach.js +1 -83
- package/dist/fold/readers.js +6 -142
- package/dist/fold/receipts.js +1 -47
- package/dist/fold/region-declarations.js +1 -13
- package/dist/fold/region.js +8 -286
- package/dist/fold/release-policy.js +1 -101
- package/dist/fold/resolved.js +6 -145
- package/dist/fold/roles.js +2 -59
- package/dist/fold/second.js +4 -71
- package/dist/fold/shards.js +12 -100
- package/dist/fold/signed.js +3 -81
- package/dist/fold/signers.js +1 -54
- package/dist/fold/stranger.js +6 -24
- package/dist/fold/views.js +1 -66
- package/dist/fold/wire.js +1 -46
- package/dist/fold/zoom.js +3 -81
- package/dist/host/act-cost.js +1 -25
- package/dist/host/adapters/keys/ed25519.js +1 -30
- package/dist/host/adapters/modules/javascript.js +1 -50
- package/dist/host/adapters/transport/http.js +1 -28
- package/dist/host/admitted-place.js +1 -35
- package/dist/host/archive.js +1 -152
- package/dist/host/call-context.js +1 -14
- package/dist/host/capsule-process.js +2 -62
- package/dist/host/capsule.js +9 -171
- package/dist/host/cell-receipts.js +12 -128
- package/dist/host/command-server.js +4 -0
- package/dist/host/commit-result.js +1 -5
- package/dist/host/content-needed.js +1 -8
- package/dist/host/content-store.js +1 -31
- package/dist/host/contextual-place.js +2 -72
- package/dist/host/digest.js +2 -15
- package/dist/host/hash.js +1 -9
- package/dist/host/host-controls.js +1 -19
- package/dist/host/in-process-act.js +3 -84
- package/dist/host/in-process-context.js +3 -91
- package/dist/host/in-process-root.js +6 -84
- package/dist/host/in-process.js +4 -55
- package/dist/host/index.d.ts +1 -15
- package/dist/host/index.js +1 -7
- package/dist/host/io.js +1 -11
- package/dist/host/lifetime.js +1 -79
- package/dist/host/located.js +6 -105
- package/dist/host/native/authority-card-view.js +5 -0
- package/dist/host/native/authority-card.js +1 -0
- package/dist/host/native/bounded-file.js +1 -32
- package/dist/host/native/command.js +1 -91
- package/dist/host/native/control-bridge-worker.js +2 -88
- package/dist/host/native/control-bridge.js +1 -110
- package/dist/host/native/control-selection.js +1 -32
- package/dist/host/native/custody.js +1 -91
- package/dist/host/native/deadline.js +1 -28
- package/dist/host/native/descendants.js +1 -528
- package/dist/host/native/generated-custodian.js +5 -267
- package/dist/host/native/generated.js +1 -379
- package/dist/host/native/image.js +1 -45
- package/dist/host/native/installed-package.d.ts +1 -0
- package/dist/host/native/installed-package.js +5 -0
- package/dist/host/native/jobs.js +2 -148
- package/dist/host/native/loader.js +1 -269
- package/dist/host/native/materialize.js +1 -175
- package/dist/host/native/module-closure.js +1 -130
- package/dist/host/native/module-delivery.d.ts +1 -62
- package/dist/host/native/module-delivery.js +1 -151
- package/dist/host/native/module-inventory.js +2 -0
- package/dist/host/native/module-syntax.js +1 -69
- package/dist/host/native/native-binary.js +1 -115
- package/dist/host/native/native-program.js +1 -72
- package/dist/host/native/node-jobs.js +3 -187
- package/dist/host/native/node-launch.js +1 -159
- package/dist/host/native/preload.js +1 -45
- package/dist/host/native/probes.js +1 -0
- package/dist/host/native/reading-witness-admission.js +5 -0
- package/dist/host/native/reading.js +1 -249
- package/dist/host/native/receipt-environment.js +1 -41
- package/dist/host/native/references.js +1 -30
- package/dist/host/native/root.js +1 -37
- package/dist/host/native/route.js +1 -216
- package/dist/host/native/runtime.js +1 -9
- package/dist/host/native-place-state.js +1 -0
- package/dist/host/native-reader-context.js +1 -8
- package/dist/host/native-receiver.js +1 -25
- package/dist/host/objects.js +1 -38
- package/dist/host/order.js +1 -2
- package/dist/host/persistent-host.js +1 -0
- package/dist/host/physical-lines.d.ts +1 -0
- package/dist/host/physical-lines.js +1 -0
- package/dist/host/place-act-transaction.js +4 -78
- package/dist/host/place-clock-selection.js +5 -124
- package/dist/host/ports/ingress.js +2 -57
- package/dist/host/ports/local-act.js +5 -183
- package/dist/host/ports/place-act.js +1 -134
- package/dist/host/ports/publication.js +1 -56
- package/dist/host/ports/signing.js +1 -74
- package/dist/host/ports/store.js +1 -18
- package/dist/host/ports/transport.js +1 -48
- package/dist/host/process-lifetime.js +1 -17
- package/dist/host/profile-composition.d.ts +1 -0
- package/dist/host/profile-composition.js +2 -0
- package/dist/host/provide.js +1 -183
- package/dist/host/read-only.js +1 -9
- package/dist/host/reading-closures.js +7 -227
- package/dist/host/reading-context.js +1 -53
- package/dist/host/reading-identity-types.js +0 -0
- package/dist/host/reading-identity.js +3 -0
- package/dist/host/reading-preparation.js +6 -0
- package/dist/host/reference-authenticated.d.ts +1 -40
- package/dist/host/reference-authenticated.js +3 -100
- package/dist/host/reference-contracts.js +1 -6
- package/dist/host/reference-export.js +6 -81
- package/dist/host/reference-native-api.d.ts +1 -3
- package/dist/host/reference-native-api.js +1 -3
- package/dist/host/reference-native.js +1 -74
- package/dist/host/reference-profile.js +1 -63
- package/dist/host/reference-standing.js +2 -18
- package/dist/host/reference.js +1 -24
- package/dist/host/refusals.js +2 -43
- package/dist/host/release.js +4 -256
- package/dist/host/root-clock-source.js +1 -307
- package/dist/host/selected-capsules.js +1 -50
- package/dist/host/selected-topos.js +1 -80
- package/dist/host/signature-era.js +1 -12
- package/dist/host/signing.js +2 -48
- package/dist/host/source-content.js +2 -111
- package/dist/host/standing-carrier.js +1 -18
- package/dist/host/standing-projection.js +1 -50
- package/dist/host/timing.js +1 -7
- package/dist/host/walk.js +20 -193
- package/dist/host/work-trace.js +1 -0
- package/dist/judge/late.js +1 -33
- package/dist/judge/take.js +2 -75
- package/dist/judge/widening.js +1 -25
- package/dist/land/act.js +8 -336
- package/dist/land/alias.js +1 -41
- package/dist/land/held.js +1 -23
- package/dist/land/inert.js +1 -33
- package/dist/land/leaving.js +1 -55
- package/dist/land/ledger.js +6 -188
- package/dist/land/owned.js +4 -66
- package/dist/land/sign.js +1 -53
- package/dist/land/standing-pin.js +1 -49
- package/dist/land/vouched.js +1 -112
- package/dist/land/withdraw.js +1 -24
- package/dist/observe/files.js +1 -88
- package/dist/observe/identity.js +1 -61
- package/dist/observe/match.js +1 -8
- package/dist/observe/regions.js +7 -306
- package/dist/observe/run.js +1 -41
- package/dist/observe/runner.js +4 -101
- package/dist/public-types.d.ts +2019 -0
- package/dist/render/capsule.js +1 -30
- package/dist/render/field.js +1 -40
- package/dist/render/names.js +1 -4
- package/dist/render/open.js +1 -61
- package/dist/render/page.js +1 -7
- package/dist/render/receipt-projection.js +1 -0
- package/dist/render/receipts.js +1 -47
- package/dist/render/shape.js +1 -74
- package/dist/render/target.js +4 -52
- package/dist/render/view.js +7 -197
- package/dist/vendor/bundle.json +1 -0
- package/dist/vendor/library14.js +1 -0
- package/dist/vendor/object-provider.js +42 -0
- package/dist/vendor/runtime.js +61 -0
- package/dist/wasm/adapter.d.ts +1 -51
- package/dist/wasm/adapter.js +1 -180
- package/dist/wasm/node-worker.js +1 -13
- package/dist/wasm/object.js +1 -76
- package/dist/wasm/worker.js +1 -7
- package/docs/contracts/authenticated-reference.publication.json +1 -1
- package/docs/contracts/authority-preflight.md +17 -0
- package/docs/contracts/authority-preflight.publication.json +25 -0
- package/docs/contracts/closure-delivery.md +1 -1
- package/docs/contracts/closure-delivery.publication.json +1 -1
- package/docs/contracts/conformance.json +142 -0
- package/docs/contracts/determinism.bound +9 -0
- package/docs/contracts/engine-object-projection.publication.json +1 -1
- package/docs/contracts/engine.md +21 -1
- package/docs/contracts/installed-package.md +21 -0
- package/docs/contracts/installed-package.publication.json +25 -0
- package/docs/contracts/materialized-leaf-sequence.md +15 -0
- package/docs/contracts/materialized-leaf-sequence.publication.json +25 -0
- package/docs/contracts/module-inventory.md +15 -0
- package/docs/contracts/module-inventory.publication.json +25 -0
- package/docs/contracts/native-host.md +29 -1
- package/docs/contracts/native-host.publication.json +4 -4
- package/docs/contracts/native-probes.md +13 -0
- package/docs/contracts/native-probes.publication.json +25 -0
- package/docs/contracts/native-publication.inventory.json +10 -1
- package/docs/contracts/native-view-batch.md +17 -0
- package/docs/contracts/native-view-batch.publication.json +25 -0
- package/docs/contracts/optional-wasm-adapter.publication.json +1 -1
- package/docs/contracts/physical-lines.md +19 -0
- package/docs/contracts/physical-lines.publication.json +25 -0
- package/docs/contracts/profile-composition.md +17 -0
- package/docs/contracts/profile-composition.publication.json +25 -0
- package/docs/contracts/profile-preparation-native-meaning.md +9 -0
- package/docs/contracts/publication.md +12 -0
- package/docs/contracts/reading-identity.md +61 -0
- package/docs/contracts/reading-identity.publication.json +25 -0
- package/docs/contracts/reading-witness-admission.md +49 -0
- package/docs/contracts/readme.publication.json +1 -1
- package/docs/contracts/reference-port.md +11 -0
- package/docs/contracts/reference-port.publication.json +1 -1
- package/docs/contracts/refusals.bound +346 -94
- package/docs/contracts/refusals.md +119 -39
- package/docs/contracts/refusals.publication.json +2 -2
- package/docs/contracts/views.md +8 -0
- package/docs/reference.md +9 -0
- package/licenses/wasm/{fast-text-encoding.txt → NOTICE.txt} +111 -0
- package/package.json +84 -34
- package/receipts.bound +12952 -10449
- package/samples/authority-preflight/no.json +6 -0
- package/samples/authority-preflight/yes.json +30 -0
- package/samples/engine-alphabet/reader.js +3 -1457
- package/samples/engine-alphabet/receipts.bound +7 -7
- package/samples/engine-interval/reader.js +3 -1457
- package/samples/engine-interval/receipts.bound +7 -7
- package/samples/installed-package/consumer.mjs +29 -0
- package/samples/installed-package/fixture.json +48 -0
- package/samples/installed-package/no.json +10 -0
- package/samples/installed-package/yes.json +52 -0
- package/samples/materialized-leaf-sequence/no.json +11 -0
- package/samples/materialized-leaf-sequence/yes.json +10 -0
- package/samples/module-inventory/yes.json +28 -0
- package/samples/native/physical-line-reader.mjs +1 -0
- package/samples/native/physical-line-reader.source.mjs +13 -0
- package/samples/native-host/no.json +6 -1
- package/samples/native-host/yes.json +18 -1
- package/samples/native-probes/inputs/inspection.json +28 -0
- package/samples/native-probes/no.json +7 -0
- package/samples/native-probes/yes.json +28 -0
- package/samples/native-view-batch/no.json +14 -0
- package/samples/native-view-batch/yes.json +10 -0
- package/samples/no/engine-order/reader.js +3 -1457
- package/samples/no/module-inventory/no.json +10 -0
- package/samples/physical-lines/no.json +5 -0
- package/samples/physical-lines/yes.json +9 -0
- package/samples/profile-composition/no.json +6 -0
- package/samples/profile-composition/yes.json +14 -0
- package/samples/reading-identity/no.json +26 -0
- package/samples/reading-identity/yes.json +69 -0
- package/vectors/native/authority-preflight.vector.json +55 -0
- package/vectors/native/installed-package.vector.json +31 -0
- package/vectors/native/materialized-leaf-sequence.vector.json +31 -0
- package/vectors/native/module-inventory.vector.json +56 -0
- package/vectors/native/native-host.vector.json +214 -0
- package/vectors/native/native-probes.vector.json +31 -0
- package/vectors/native/native-view-batch.vector.json +31 -0
- package/vectors/native/physical-lines.vector.json +105 -0
- package/vectors/native/profile-composition.vector.json +53 -0
- package/vectors/native/reading-identity.vector.json +139 -0
- package/vectors/native/refusals.vector.json +138 -0
- package/vendor/syntax/LICENSE.md +7 -0
- package/vendor/syntax/parser.js +1 -0
- package/.github/workflows/release.yml +0 -67
- package/.github/workflows/test.yml +0 -35
- package/dist/engine/object.d.ts +0 -17
- package/dist/engine/ports.d.ts +0 -37
- package/dist/fold/claims.d.ts +0 -29
- package/dist/host/call-context.d.ts +0 -20
- package/dist/host/commit-result.d.ts +0 -6
- package/dist/host/in-process-act.d.ts +0 -82
- package/dist/host/in-process-context.d.ts +0 -46
- package/dist/host/in-process-root.d.ts +0 -117
- package/dist/host/in-process.d.ts +0 -41
- package/dist/host/native/module-closure.d.ts +0 -35
- package/dist/host/native-receiver.d.ts +0 -19
- package/dist/host/place-act-transaction.d.ts +0 -24
- package/dist/host/place-clock-selection.d.ts +0 -55
- package/dist/host/ports/local-act.d.ts +0 -44
- package/dist/host/ports/place-act.d.ts +0 -49
- package/dist/host/ports/publication.d.ts +0 -10
- package/dist/host/reference-export.d.ts +0 -33
- package/dist/host/reference-native.d.ts +0 -30
- package/dist/host/reference-profile.d.ts +0 -23
- package/dist/host/refusals.d.ts +0 -14
- package/dist/host/root-clock-source.d.ts +0 -86
- package/licenses/wasm/jitl-quickjs-ffi-types.txt +0 -21
- package/licenses/wasm/jitl-quickjs-wasmfile-release-sync.txt +0 -47
- package/licenses/wasm/quickjs-emscripten-core.txt +0 -21
- package/licenses/wasm/topos.txt +0 -21
- /package/{licenses/wasm/bound.txt → dist/vendor/28cba430228db1c04f446c93f81b09a2705d6bf3e222d35adbe5a4cee4061884.LICENSE} +0 -0
- /package/{licenses/wasm/obligations.txt → dist/vendor/7aca161279d14bc0e054dcc281cd110aeb95be2e026b42fdf527a260e58b2aae.LICENSE} +0 -0
|
@@ -0,0 +1,2019 @@
|
|
|
1
|
+
/** Stable code assigned at the cause. Details are diagnostic, never parsed as policy. */
|
|
2
|
+
declare class BoundRefusal extends Error {
|
|
3
|
+
readonly code: string;
|
|
4
|
+
constructor(code: string, diagnostic: string);
|
|
5
|
+
}
|
|
6
|
+
declare const PLACE_ACT_CONTEXT = "place-act-context@1";
|
|
7
|
+
declare const nativeAuthorityRequestIdentity: (action: NativeAuthorityAction) => string;
|
|
8
|
+
declare const profileDigest: (bytes: string) => string;
|
|
9
|
+
/** Snapshot identity, not a new wire, authority algorithm or current permit. */
|
|
10
|
+
declare const rootLotSnapshot: (root: string) => string;
|
|
11
|
+
/** The verifier is the actual rerun above, never a callback from card bytes. */
|
|
12
|
+
declare function answerNativeAuthorityCard(card: AuthorityCard, request: string, context: NativeAuthorityCardContext): Promise<{
|
|
13
|
+
kind: "refuse";
|
|
14
|
+
code: string;
|
|
15
|
+
diagnostic: string;
|
|
16
|
+
} | {
|
|
17
|
+
status: "refused";
|
|
18
|
+
code: "not-in-card";
|
|
19
|
+
next: "request-card-entry";
|
|
20
|
+
needs?: undefined;
|
|
21
|
+
decision?: undefined;
|
|
22
|
+
source?: undefined;
|
|
23
|
+
} | {
|
|
24
|
+
status: "open";
|
|
25
|
+
needs: readonly [
|
|
26
|
+
"authority-card/verified-judgment"
|
|
27
|
+
];
|
|
28
|
+
code?: undefined;
|
|
29
|
+
next?: undefined;
|
|
30
|
+
decision?: undefined;
|
|
31
|
+
source?: undefined;
|
|
32
|
+
} | {
|
|
33
|
+
status: "observed";
|
|
34
|
+
decision: "allow" | "ask" | "deny";
|
|
35
|
+
source: "consumer-verified-judgment";
|
|
36
|
+
code?: undefined;
|
|
37
|
+
next?: undefined;
|
|
38
|
+
needs?: undefined;
|
|
39
|
+
} | {
|
|
40
|
+
status: "refused";
|
|
41
|
+
code: "card-stale";
|
|
42
|
+
next: "refresh-card";
|
|
43
|
+
}>;
|
|
44
|
+
/** Exact result bindings, declared producer authorization, and proof verification are independent checks. */
|
|
45
|
+
declare function authenticatePhysicalLinesWitness(reading: PhysicalLinesReading, line: string, authority: PhysicalLinesWitnessAuthority): string;
|
|
46
|
+
declare function authorityOf(fields: Readonly<Record<string, string>>, signers: readonly Signer[], verify: Verify, published?: Published): SignerVerdict;
|
|
47
|
+
/** Resolve pinned declarations, then reuse the consumer's current signature,
|
|
48
|
+
* window, region coverage and widening judge. This prepares a lot; it never lands it. */
|
|
49
|
+
declare function composeProfile(request: ProfileCompositionRequest): {
|
|
50
|
+
status: "prepared";
|
|
51
|
+
digest: string;
|
|
52
|
+
inspection: {
|
|
53
|
+
status: "declared";
|
|
54
|
+
fields: {
|
|
55
|
+
coordinate: string;
|
|
56
|
+
composition: "compatible" | "incompatible" | "unread";
|
|
57
|
+
transition: string;
|
|
58
|
+
witness: boolean;
|
|
59
|
+
}[];
|
|
60
|
+
pins: CategoryPin[];
|
|
61
|
+
needs: string[];
|
|
62
|
+
authority: "not established";
|
|
63
|
+
};
|
|
64
|
+
lines: string[];
|
|
65
|
+
pins: CategoryPin[];
|
|
66
|
+
releases: readonly string[];
|
|
67
|
+
};
|
|
68
|
+
declare function decodeReference(fragment: string): StandingReference;
|
|
69
|
+
/** The host selects already authenticated snapshots and resolution, never the
|
|
70
|
+
* offered program. This prepares unchanged ESM files, not a JS sandbox, signer,
|
|
71
|
+
* browser host or symbol-pruning bundler. Native loading boundaries remain separately declared.
|
|
72
|
+
*/
|
|
73
|
+
declare function deliverModuleClosure(needs: readonly string[], entries: ReadonlyMap<string, ModuleClosureSnapshot>, library: Library, limits: ClosureDeliveryLimits, notices?: readonly ClosureNotice[]): ClosureDelivery;
|
|
74
|
+
declare function describeRefusal(error: BoundRefusal, catalog: readonly RefusalEntry[]): RefusalEntry;
|
|
75
|
+
declare function digest(bytes: Uint8Array): Promise<string>;
|
|
76
|
+
declare function encodeReference(reference: StandingReference): string;
|
|
77
|
+
declare function evaluateWasm(request: WasmRequest, { workerFactory, signal, lifetimeMs }: {
|
|
78
|
+
readonly workerFactory?: () => WorkerPort;
|
|
79
|
+
readonly signal?: AbortSignal;
|
|
80
|
+
readonly lifetimeMs: number;
|
|
81
|
+
}): Promise<WasmResult>;
|
|
82
|
+
/** Receiver-owned ports only. No private key, clock, filesystem or transport is
|
|
83
|
+
* available to this operation. Each port is separately bounded and cancellable. */
|
|
84
|
+
declare function executeComputation(context: ComputationContext, input: Uint8Array, ports: {
|
|
85
|
+
readonly digest: DigestPort;
|
|
86
|
+
readonly evaluate: ByteComputationPort;
|
|
87
|
+
readonly sign: SigningPort;
|
|
88
|
+
readonly verify: SignatureVerificationPort;
|
|
89
|
+
}, limits: PortLimits, signal?: AbortSignal): Promise<{
|
|
90
|
+
readonly statement: ComputationStatement;
|
|
91
|
+
readonly output: Uint8Array;
|
|
92
|
+
}>;
|
|
93
|
+
/** Signs a public snapshot proof; never lands, refreshes evidence or changes the Root. */
|
|
94
|
+
declare function exportAuthenticatedReference(root: string, source: string, options?: {
|
|
95
|
+
readonly key?: string;
|
|
96
|
+
readonly keyFile?: string;
|
|
97
|
+
readonly signer?: string;
|
|
98
|
+
readonly hostSigner?: {
|
|
99
|
+
readonly name: string;
|
|
100
|
+
readonly sign: SigningPort;
|
|
101
|
+
};
|
|
102
|
+
}): Promise<{
|
|
103
|
+
profile: string;
|
|
104
|
+
reference: string;
|
|
105
|
+
carrier: string;
|
|
106
|
+
context: {
|
|
107
|
+
snapshot: string;
|
|
108
|
+
profile: string;
|
|
109
|
+
semanticIdentity: string;
|
|
110
|
+
epoch: number;
|
|
111
|
+
proofScope: string;
|
|
112
|
+
policy: string;
|
|
113
|
+
formImplementation: string;
|
|
114
|
+
signers: readonly Signer[];
|
|
115
|
+
algorithms: readonly string[];
|
|
116
|
+
contracts: {
|
|
117
|
+
refusals: string;
|
|
118
|
+
standing: string;
|
|
119
|
+
};
|
|
120
|
+
maxBytes: number;
|
|
121
|
+
maxRecords: number;
|
|
122
|
+
};
|
|
123
|
+
}>;
|
|
124
|
+
/** Prospective authenticated-standing@1 host composition; no effects and no authority from transport. */
|
|
125
|
+
declare function inspectAuthenticatedReference(fragment: string, trust: ReferenceTrust): Promise<{
|
|
126
|
+
contracts?: {
|
|
127
|
+
refusals: string;
|
|
128
|
+
standing: string;
|
|
129
|
+
} | undefined;
|
|
130
|
+
reference: StandingReference;
|
|
131
|
+
records: readonly ObjectRecord[];
|
|
132
|
+
semanticIdentity: string;
|
|
133
|
+
authorityContextIdentity: string;
|
|
134
|
+
semanticStanding: string;
|
|
135
|
+
originalRecords: readonly string[];
|
|
136
|
+
}>;
|
|
137
|
+
declare function inspectReference(fragment: string, policy: readonly string[], options?: HTTPOptions): Promise<{
|
|
138
|
+
reference: StandingReference;
|
|
139
|
+
lines: readonly string[];
|
|
140
|
+
standing: string;
|
|
141
|
+
authentication: string;
|
|
142
|
+
} | {
|
|
143
|
+
kind: "needs";
|
|
144
|
+
reference: LocatedReference;
|
|
145
|
+
identity: string;
|
|
146
|
+
needs: string;
|
|
147
|
+
authentication: "not demonstrated; inspect only";
|
|
148
|
+
} | {
|
|
149
|
+
reference: LocatedReference;
|
|
150
|
+
authentication: "not demonstrated; inspect only";
|
|
151
|
+
kind: "present";
|
|
152
|
+
identity: string;
|
|
153
|
+
standing: string;
|
|
154
|
+
lines: readonly string[];
|
|
155
|
+
}>;
|
|
156
|
+
/** A declared preview is inspected independently of content and authority; never fetched or substituted. */
|
|
157
|
+
declare function inspectReferencePreview(line: string, budget: RecordBudget, maxInlineBytes: number): {
|
|
158
|
+
status: "declared";
|
|
159
|
+
referenceIdentity: string;
|
|
160
|
+
projection: {
|
|
161
|
+
readonly profile: string;
|
|
162
|
+
readonly text: string;
|
|
163
|
+
readonly digest: string;
|
|
164
|
+
} | null;
|
|
165
|
+
relations: readonly {
|
|
166
|
+
readonly relation: string;
|
|
167
|
+
readonly target: string;
|
|
168
|
+
}[];
|
|
169
|
+
needs: string[];
|
|
170
|
+
projectionCompleteness: "not demonstrated";
|
|
171
|
+
authentication: "not verified";
|
|
172
|
+
fragmentPrivacy: "not promised";
|
|
173
|
+
};
|
|
174
|
+
/** Receiver-selected complete installed bytes; the physical root never enters this digest. */
|
|
175
|
+
declare function installedHostInstrument(request: InstalledPackageRequest, entry: string): NativeHostInstrument & {
|
|
176
|
+
readonly digest: string;
|
|
177
|
+
};
|
|
178
|
+
/** Identity of a complete installed byte snapshot and its selected consumed module
|
|
179
|
+
* closure. Reuses the package export proof, file closure and verified inventory;
|
|
180
|
+
* no compiler, execution, archive reconstruction or package discovery. */
|
|
181
|
+
declare function installedPackageIdentity(request: InstalledPackageRequest): {
|
|
182
|
+
format: "bound-installed-package/1";
|
|
183
|
+
digest: string;
|
|
184
|
+
lines: string;
|
|
185
|
+
snapshot: string;
|
|
186
|
+
manifest: string;
|
|
187
|
+
members: number;
|
|
188
|
+
bytes: number;
|
|
189
|
+
exportInventory: readonly string[];
|
|
190
|
+
modules: ModuleInventory;
|
|
191
|
+
delivery: ClosureDelivery;
|
|
192
|
+
consumedPins: {
|
|
193
|
+
specifier: string;
|
|
194
|
+
parent: string;
|
|
195
|
+
snapshot: string;
|
|
196
|
+
source: string;
|
|
197
|
+
version: string;
|
|
198
|
+
}[];
|
|
199
|
+
};
|
|
200
|
+
/** Acquire canonical line signatures only. The line protocol is not widened
|
|
201
|
+
* for contextual receipt frames. Both operations share bounds and response checks. */
|
|
202
|
+
declare function invokeSigningPort(lot: SigningLot, sign: SigningPort, limits: PortLimits, signal?: AbortSignal): Promise<readonly SignatureRecord[]>;
|
|
203
|
+
/** This adapter delegates all threshold and widening decisions to the existing Bound judges. */
|
|
204
|
+
declare function judgePhysicalLines(input: {
|
|
205
|
+
readonly reading: PhysicalLinesReading;
|
|
206
|
+
readonly standing: readonly string[];
|
|
207
|
+
readonly proposed: readonly string[];
|
|
208
|
+
readonly witness?: string;
|
|
209
|
+
readonly authority?: PhysicalLinesWitnessAuthority;
|
|
210
|
+
}): {
|
|
211
|
+
status: "BLOCK" | "UNMEASURED" | "READY";
|
|
212
|
+
rejected: string[];
|
|
213
|
+
unmeasured: {
|
|
214
|
+
scope: string;
|
|
215
|
+
cause: string;
|
|
216
|
+
selectors: readonly string[];
|
|
217
|
+
}[];
|
|
218
|
+
stray: any[];
|
|
219
|
+
observations: {
|
|
220
|
+
scope: string;
|
|
221
|
+
file?: string;
|
|
222
|
+
value: string;
|
|
223
|
+
}[];
|
|
224
|
+
thresholds: CeilingFold[];
|
|
225
|
+
reading: string;
|
|
226
|
+
};
|
|
227
|
+
/** Signs receiver receipts through the bounded existing signer protocol. Exact
|
|
228
|
+
* original declarations/proofs remain unchanged. Replay is historical recovery,
|
|
229
|
+
* never a new permission. A refusal after visibility is not a rollback claim. */
|
|
230
|
+
declare function landPlaceActInProcess(context: PlaceActHostContext, ports: PlaceActHostPorts): Promise<{
|
|
231
|
+
kind: "fact";
|
|
232
|
+
value: {
|
|
233
|
+
place: string;
|
|
234
|
+
act: PlaceActBundle & {
|
|
235
|
+
readonly kind: "landed" | "once";
|
|
236
|
+
readonly identity: string;
|
|
237
|
+
};
|
|
238
|
+
reading: string;
|
|
239
|
+
result: string;
|
|
240
|
+
commitment: string;
|
|
241
|
+
};
|
|
242
|
+
identity?: undefined;
|
|
243
|
+
code?: undefined;
|
|
244
|
+
diagnostic?: undefined;
|
|
245
|
+
} | {
|
|
246
|
+
kind: "uncertain";
|
|
247
|
+
identity: string;
|
|
248
|
+
code: string;
|
|
249
|
+
diagnostic: string;
|
|
250
|
+
value?: undefined;
|
|
251
|
+
} | {
|
|
252
|
+
kind: "refuse";
|
|
253
|
+
code: string;
|
|
254
|
+
diagnostic: string;
|
|
255
|
+
value?: undefined;
|
|
256
|
+
identity?: undefined;
|
|
257
|
+
}>;
|
|
258
|
+
declare function landRootLotInProcess(context: RootLotContext, ports: RootLotPorts): Promise<{
|
|
259
|
+
kind: "refuse";
|
|
260
|
+
code: string;
|
|
261
|
+
diagnostics: {
|
|
262
|
+
stream: "out" | "error";
|
|
263
|
+
text: string;
|
|
264
|
+
}[];
|
|
265
|
+
value?: undefined;
|
|
266
|
+
identity?: undefined;
|
|
267
|
+
diagnostic?: undefined;
|
|
268
|
+
} | {
|
|
269
|
+
kind: "fact";
|
|
270
|
+
value: {
|
|
271
|
+
result: string;
|
|
272
|
+
commitment: string;
|
|
273
|
+
conformance: "refused" | "complete";
|
|
274
|
+
reading: string;
|
|
275
|
+
identity?: string | undefined;
|
|
276
|
+
act?: ActResult | undefined;
|
|
277
|
+
place: string;
|
|
278
|
+
status: "once" | "landed" | "already-held";
|
|
279
|
+
};
|
|
280
|
+
diagnostics: {
|
|
281
|
+
stream: "out" | "error";
|
|
282
|
+
text: string;
|
|
283
|
+
}[];
|
|
284
|
+
code?: undefined;
|
|
285
|
+
identity?: undefined;
|
|
286
|
+
diagnostic?: undefined;
|
|
287
|
+
} | {
|
|
288
|
+
kind: "uncertain";
|
|
289
|
+
identity: string;
|
|
290
|
+
code: string;
|
|
291
|
+
diagnostic: string;
|
|
292
|
+
diagnostics: {
|
|
293
|
+
stream: "out" | "error";
|
|
294
|
+
text: string;
|
|
295
|
+
}[];
|
|
296
|
+
value?: undefined;
|
|
297
|
+
} | {
|
|
298
|
+
kind: "fact";
|
|
299
|
+
value: {
|
|
300
|
+
place: string;
|
|
301
|
+
status: "once" | "landed";
|
|
302
|
+
identity: string;
|
|
303
|
+
conformance: "incomplete";
|
|
304
|
+
};
|
|
305
|
+
diagnostic: string;
|
|
306
|
+
diagnostics: {
|
|
307
|
+
stream: "out" | "error";
|
|
308
|
+
text: string;
|
|
309
|
+
}[];
|
|
310
|
+
code?: undefined;
|
|
311
|
+
identity?: undefined;
|
|
312
|
+
} | {
|
|
313
|
+
kind: "refuse";
|
|
314
|
+
code: string;
|
|
315
|
+
diagnostic: string;
|
|
316
|
+
diagnostics: {
|
|
317
|
+
stream: "out" | "error";
|
|
318
|
+
text: string;
|
|
319
|
+
}[];
|
|
320
|
+
value?: undefined;
|
|
321
|
+
identity?: undefined;
|
|
322
|
+
}>;
|
|
323
|
+
/** Project a verified delivery without a second traversal, I/O, compilation,
|
|
324
|
+
* source transformation or execution. Notices remain in the delivery, separate
|
|
325
|
+
* from executable module units. Extra source declarations cannot add modules.
|
|
326
|
+
*/
|
|
327
|
+
declare function moduleInventory(bytes: Uint8Array, expected: string, limits: ClosureDeliveryLimits, sources: readonly ModuleInventorySource[], context: ModuleInventoryContext): ModuleInventory;
|
|
328
|
+
/** Host-selected archive and entry, never a verifier assertion from the program.
|
|
329
|
+
* This proves content identity only; standing admission and runtime capabilities
|
|
330
|
+
* are separate prerequisites. Binary resources are not executable text members.
|
|
331
|
+
*/
|
|
332
|
+
declare function moduleSnapshot(archive: Uint8Array, expected: string, entry: string): ModuleClosureSnapshot;
|
|
333
|
+
/** The receiver supplies Root and implementation. Only authenticated selection
|
|
334
|
+
* chooses a bounded local request; document bytes supply neither authority. */
|
|
335
|
+
declare function nativeAuthorityCardView(root: string, instrument: NativeHostInstrument, scope: string): Promise<{
|
|
336
|
+
kind: "fact";
|
|
337
|
+
value: NativeAuthorityCardValue;
|
|
338
|
+
} | {
|
|
339
|
+
kind: "refuse";
|
|
340
|
+
code: string;
|
|
341
|
+
diagnostic: string;
|
|
342
|
+
}>;
|
|
343
|
+
/** The consumer supplies the environment. Ambient preload/loader and libuv
|
|
344
|
+
* controls cannot cross the fixed host boundary. Values are never logged. */
|
|
345
|
+
declare function nativeHostEnvironment(input: Readonly<Record<string, string | undefined>>): Record<string, string>;
|
|
346
|
+
/** Explicit installed/source ESM selection, never consumer argv or packet data.
|
|
347
|
+
* Identity and public configuration do not certify implementation correctness. */
|
|
348
|
+
declare function nativeHostInstrument(root: string, entry: string): NativeHostInstrument;
|
|
349
|
+
/** Context, exact original bytes and complete signed receipts have one visibility
|
|
350
|
+
* point. Real Root guard exclusion spans final authority/head comparison and
|
|
351
|
+
* publication; this does not activate a CLI profile or reinterpret local-act@1. */
|
|
352
|
+
/** Native persistence adapter. The transaction below is also the CLI path. */
|
|
353
|
+
declare function nativePlaceActPersistence(store: string, storage?: PublicationStorage): PlaceActPersistence;
|
|
354
|
+
/** Bind existing native authority construction to an explicit instrument for
|
|
355
|
+
* every later current/historical observation, not only the constructor call. */
|
|
356
|
+
declare function nativePlaceActReceiver(root: string, instrument: NativeHostInstrument): {
|
|
357
|
+
selection: HostClockSelection;
|
|
358
|
+
trust: {
|
|
359
|
+
current: () => PlaceActSnapshot;
|
|
360
|
+
historical: (encoded: string) => TrustedClockContract;
|
|
361
|
+
contract: TrustedClockContract;
|
|
362
|
+
initialHeads: readonly PlaceActHead[];
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
declare function objectFold(records: readonly ObjectRecord[], context: ObjectContext): readonly ObjectReading[];
|
|
366
|
+
/** Portable byte profile. Context and admission callbacks belong to the
|
|
367
|
+
* receiver, never to a requested vector or downloaded place. */
|
|
368
|
+
declare function objectFoldBytes(input: Uint8Array, context: ObjectContext): Uint8Array;
|
|
369
|
+
declare function openAuthenticatedReference(root: string, fragment: string, options?: {
|
|
370
|
+
readonly signal?: AbortSignal;
|
|
371
|
+
readonly content?: {
|
|
372
|
+
readonly name: string;
|
|
373
|
+
readonly read: ContentReadPort;
|
|
374
|
+
};
|
|
375
|
+
}): Promise<{
|
|
376
|
+
backend: string;
|
|
377
|
+
readings: readonly ObjectReading[];
|
|
378
|
+
contracts?: {
|
|
379
|
+
refusals: string;
|
|
380
|
+
standing: string;
|
|
381
|
+
} | undefined;
|
|
382
|
+
reference: StandingReference;
|
|
383
|
+
records: readonly ObjectRecord[];
|
|
384
|
+
semanticIdentity: string;
|
|
385
|
+
authorityContextIdentity: string;
|
|
386
|
+
semanticStanding: string;
|
|
387
|
+
originalRecords: readonly string[];
|
|
388
|
+
}>;
|
|
389
|
+
declare function parseNativeAuthorityCardRequest(text: string, expectedDigest: string, limits: RecordBudget): NativeAuthorityCardRequest;
|
|
390
|
+
/** Projects region selectors from already admitted standing; parsing grants no authority. */
|
|
391
|
+
declare function physicalLinesRegions(standing: readonly string[]): readonly PhysicalLinesRegion[];
|
|
392
|
+
declare function preflight(request: WasmRequest): void;
|
|
393
|
+
/** Read-only, freshly authenticated native preflight. This does not grant an act. */
|
|
394
|
+
declare function prepareNativeAuthorityCard(context: NativeAuthorityCardContext, issuedAt?: number): Promise<{
|
|
395
|
+
kind: "fact";
|
|
396
|
+
value: NativeAuthorityCardValue;
|
|
397
|
+
} | {
|
|
398
|
+
kind: "refuse";
|
|
399
|
+
code: string;
|
|
400
|
+
diagnostic: string;
|
|
401
|
+
}>;
|
|
402
|
+
/** A recognized public reading of the existing captured native projection.
|
|
403
|
+
* No fold, evaluator, retained-result cache or persistent receipt is entered.
|
|
404
|
+
* A charged attempt stays charged even if the selected projection refuses. */
|
|
405
|
+
declare function prepareNativeProbe(context: NativeProbeContext): NativeProbeResult;
|
|
406
|
+
/** Receiver-selected instrument and admitted Root; no consumer-owned verifier or directory fingerprint. */
|
|
407
|
+
declare function prepareNativeReadingIdentity(context: NativeReadingIdentityContext): Promise<NativeReadingIdentityResult>;
|
|
408
|
+
/** Each view retains its own input identity. A batch shares one fresh observation,
|
|
409
|
+
* never a persistent cache, and returns nothing if any selection or check fails. */
|
|
410
|
+
declare function prepareNativeViewIdentities(context: NativeViewIdentitiesContext): NativeViewIdentitiesResult;
|
|
411
|
+
/** Prepare only native configuration projections. No foldPlace, observation,
|
|
412
|
+
* executable reader, resolver, persistence, lease or Root exclusion is entered.
|
|
413
|
+
* The returned text and identity share one immutable committed observation. */
|
|
414
|
+
declare function prepareNativeViewIdentity(context: NativeViewIdentityContext): NativeViewIdentityResult;
|
|
415
|
+
declare function readContent(source: string, digest: string, ports: {
|
|
416
|
+
readonly read: ContentReadPort;
|
|
417
|
+
readonly digestBytes: DigestPort;
|
|
418
|
+
}, limits: PortLimits, signal?: AbortSignal): Promise<Uint8Array>;
|
|
419
|
+
/** Full contextual carrier, authenticated against receiver inputs only. It is a
|
|
420
|
+
* data projection, not a current admission permit or a signed receipt. */
|
|
421
|
+
declare function readContextualStandingInProcess(context: RootStandingHostContext, ports: {
|
|
422
|
+
readonly read: ContentReadPort;
|
|
423
|
+
}): Promise<{
|
|
424
|
+
kind: "fact";
|
|
425
|
+
value: {
|
|
426
|
+
place: string;
|
|
427
|
+
standing: {
|
|
428
|
+
profile: string;
|
|
429
|
+
root: readonly string[];
|
|
430
|
+
legacyPlaces: {
|
|
431
|
+
namespace: string;
|
|
432
|
+
place: string;
|
|
433
|
+
standing: string[];
|
|
434
|
+
history: readonly string[];
|
|
435
|
+
}[];
|
|
436
|
+
contexts: readonly PortablePlaceContext[];
|
|
437
|
+
places: {
|
|
438
|
+
namespace: string;
|
|
439
|
+
place: string;
|
|
440
|
+
standing: string[];
|
|
441
|
+
retracted: readonly string[];
|
|
442
|
+
superseded: readonly string[];
|
|
443
|
+
forks: readonly Fork[];
|
|
444
|
+
contexts: {
|
|
445
|
+
identity: string;
|
|
446
|
+
context: string;
|
|
447
|
+
receipts: readonly PlaceReceipt[];
|
|
448
|
+
}[];
|
|
449
|
+
}[];
|
|
450
|
+
};
|
|
451
|
+
reading: string;
|
|
452
|
+
result: string;
|
|
453
|
+
commitment: string;
|
|
454
|
+
};
|
|
455
|
+
code?: undefined;
|
|
456
|
+
diagnostic?: undefined;
|
|
457
|
+
} | {
|
|
458
|
+
kind: "refuse";
|
|
459
|
+
code: string;
|
|
460
|
+
diagnostic: string;
|
|
461
|
+
value?: undefined;
|
|
462
|
+
}>;
|
|
463
|
+
/** Reads an actual finite inventory. Links and special files are named rather than silently omitted. */
|
|
464
|
+
declare function readPlacePhysicalLines(input: PhysicalLinesPlaceInput): {
|
|
465
|
+
status: "unmeasured";
|
|
466
|
+
cause: "region-measure/budget";
|
|
467
|
+
required: string;
|
|
468
|
+
workUnit: "declared-input-rows";
|
|
469
|
+
model?: undefined;
|
|
470
|
+
unit?: undefined;
|
|
471
|
+
arithmetic?: undefined;
|
|
472
|
+
readings?: undefined;
|
|
473
|
+
union?: undefined;
|
|
474
|
+
sumOfRegions?: undefined;
|
|
475
|
+
overlapExcess?: undefined;
|
|
476
|
+
disjointBySupport?: undefined;
|
|
477
|
+
overlaps?: undefined;
|
|
478
|
+
unassigned?: undefined;
|
|
479
|
+
work?: undefined;
|
|
480
|
+
} | {
|
|
481
|
+
status: "unmeasured";
|
|
482
|
+
cause: "physical-lines/byte-budget";
|
|
483
|
+
required: string;
|
|
484
|
+
workUnit: "input-bytes";
|
|
485
|
+
profile?: undefined;
|
|
486
|
+
snapshot?: undefined;
|
|
487
|
+
model?: undefined;
|
|
488
|
+
policy?: undefined;
|
|
489
|
+
textDomain?: undefined;
|
|
490
|
+
inputFiles?: undefined;
|
|
491
|
+
regions?: undefined;
|
|
492
|
+
valuation?: undefined;
|
|
493
|
+
work?: undefined;
|
|
494
|
+
verification?: undefined;
|
|
495
|
+
} | {
|
|
496
|
+
status: "unmeasured";
|
|
497
|
+
cause: "physical-lines/selection-budget";
|
|
498
|
+
required: string;
|
|
499
|
+
workUnit: "selector-code-units-times-candidates";
|
|
500
|
+
profile?: undefined;
|
|
501
|
+
snapshot?: undefined;
|
|
502
|
+
model?: undefined;
|
|
503
|
+
policy?: undefined;
|
|
504
|
+
textDomain?: undefined;
|
|
505
|
+
inputFiles?: undefined;
|
|
506
|
+
regions?: undefined;
|
|
507
|
+
valuation?: undefined;
|
|
508
|
+
work?: undefined;
|
|
509
|
+
verification?: undefined;
|
|
510
|
+
} | {
|
|
511
|
+
status: "read";
|
|
512
|
+
identity: string;
|
|
513
|
+
bindings: {
|
|
514
|
+
contract: "sha256:636ace16eeaa46eafb7b07c28d1d57916bc9108b188e96b5a8bf7bed6dc15707";
|
|
515
|
+
model: string;
|
|
516
|
+
params: string;
|
|
517
|
+
inputs: string;
|
|
518
|
+
selection: string;
|
|
519
|
+
unit: string;
|
|
520
|
+
scale: string;
|
|
521
|
+
resolution: string;
|
|
522
|
+
reader: string;
|
|
523
|
+
implementation: string;
|
|
524
|
+
context: string;
|
|
525
|
+
run: string;
|
|
526
|
+
result: string;
|
|
527
|
+
reading: string;
|
|
528
|
+
};
|
|
529
|
+
reading: {
|
|
530
|
+
status: "read";
|
|
531
|
+
profile: "topos-physical-lines/1";
|
|
532
|
+
snapshot: string;
|
|
533
|
+
model: {
|
|
534
|
+
readonly name: "finite-nonnegative-atomic-valuation@1";
|
|
535
|
+
readonly contract: "sha256:636ace16eeaa46eafb7b07c28d1d57916bc9108b188e96b5a8bf7bed6dc15707";
|
|
536
|
+
readonly implementation: "sha256:ef7e39d0ac44b0dd3d4b68220d3c381f737eb2729d0017ed3271ce119d408b13";
|
|
537
|
+
};
|
|
538
|
+
policy: {
|
|
539
|
+
byteBudget: string;
|
|
540
|
+
rowBudget: string;
|
|
541
|
+
};
|
|
542
|
+
textDomain: "utf8-lf-crlf-reject-isolated-cr@1";
|
|
543
|
+
inputFiles: {
|
|
544
|
+
name: any;
|
|
545
|
+
digest: any;
|
|
546
|
+
}[];
|
|
547
|
+
regions: ({
|
|
548
|
+
status: "measured";
|
|
549
|
+
value: Readonly<{
|
|
550
|
+
numerator: string;
|
|
551
|
+
denominator: string;
|
|
552
|
+
}>;
|
|
553
|
+
scope: string;
|
|
554
|
+
selectors: string[];
|
|
555
|
+
selections: ({
|
|
556
|
+
selector: string;
|
|
557
|
+
members: any[];
|
|
558
|
+
status: "selected";
|
|
559
|
+
cause?: undefined;
|
|
560
|
+
} | {
|
|
561
|
+
selector: string;
|
|
562
|
+
members: any[];
|
|
563
|
+
status: "unmeasured";
|
|
564
|
+
cause: "selector-no-match";
|
|
565
|
+
})[];
|
|
566
|
+
members: any[];
|
|
567
|
+
} | {
|
|
568
|
+
status: "unmeasured";
|
|
569
|
+
cause: "selector-no-match";
|
|
570
|
+
scope: string;
|
|
571
|
+
selectors: string[];
|
|
572
|
+
selections: ({
|
|
573
|
+
selector: string;
|
|
574
|
+
members: any[];
|
|
575
|
+
status: "selected";
|
|
576
|
+
cause?: undefined;
|
|
577
|
+
} | {
|
|
578
|
+
selector: string;
|
|
579
|
+
members: any[];
|
|
580
|
+
status: "unmeasured";
|
|
581
|
+
cause: "selector-no-match";
|
|
582
|
+
})[];
|
|
583
|
+
members: any[];
|
|
584
|
+
})[];
|
|
585
|
+
valuation: {
|
|
586
|
+
status: "measured";
|
|
587
|
+
model: "finite-nonnegative-atomic-valuation@1";
|
|
588
|
+
unit: string;
|
|
589
|
+
arithmetic: "exact-rational";
|
|
590
|
+
readings: {
|
|
591
|
+
region: any;
|
|
592
|
+
members: string[];
|
|
593
|
+
value: Readonly<{
|
|
594
|
+
numerator: string;
|
|
595
|
+
denominator: string;
|
|
596
|
+
}>;
|
|
597
|
+
}[];
|
|
598
|
+
union: {
|
|
599
|
+
members: string[];
|
|
600
|
+
value: Readonly<{
|
|
601
|
+
numerator: string;
|
|
602
|
+
denominator: string;
|
|
603
|
+
}>;
|
|
604
|
+
};
|
|
605
|
+
sumOfRegions: Readonly<{
|
|
606
|
+
numerator: string;
|
|
607
|
+
denominator: string;
|
|
608
|
+
}>;
|
|
609
|
+
overlapExcess: Readonly<{
|
|
610
|
+
numerator: string;
|
|
611
|
+
denominator: string;
|
|
612
|
+
}>;
|
|
613
|
+
disjointBySupport: boolean;
|
|
614
|
+
overlaps: {
|
|
615
|
+
atom: string;
|
|
616
|
+
regions: string[];
|
|
617
|
+
}[];
|
|
618
|
+
unassigned: string[];
|
|
619
|
+
work: {
|
|
620
|
+
unit: "declared-input-rows";
|
|
621
|
+
required: string;
|
|
622
|
+
};
|
|
623
|
+
cause?: undefined;
|
|
624
|
+
required?: undefined;
|
|
625
|
+
workUnit?: undefined;
|
|
626
|
+
};
|
|
627
|
+
work: {
|
|
628
|
+
inputBytes: string;
|
|
629
|
+
selectionUnits: string;
|
|
630
|
+
};
|
|
631
|
+
verification: "supplied inventory and snapshot; authority and completeness are consumer obligations";
|
|
632
|
+
cause?: undefined;
|
|
633
|
+
required?: undefined;
|
|
634
|
+
workUnit?: undefined;
|
|
635
|
+
};
|
|
636
|
+
perFile: {
|
|
637
|
+
status: "read";
|
|
638
|
+
profile: "topos-physical-lines/1";
|
|
639
|
+
snapshot: string;
|
|
640
|
+
model: {
|
|
641
|
+
readonly name: "finite-nonnegative-atomic-valuation@1";
|
|
642
|
+
readonly contract: "sha256:636ace16eeaa46eafb7b07c28d1d57916bc9108b188e96b5a8bf7bed6dc15707";
|
|
643
|
+
readonly implementation: "sha256:ef7e39d0ac44b0dd3d4b68220d3c381f737eb2729d0017ed3271ce119d408b13";
|
|
644
|
+
};
|
|
645
|
+
policy: {
|
|
646
|
+
byteBudget: string;
|
|
647
|
+
rowBudget: string;
|
|
648
|
+
};
|
|
649
|
+
textDomain: "utf8-lf-crlf-reject-isolated-cr@1";
|
|
650
|
+
inputFiles: {
|
|
651
|
+
name: any;
|
|
652
|
+
digest: any;
|
|
653
|
+
}[];
|
|
654
|
+
regions: ({
|
|
655
|
+
status: "measured";
|
|
656
|
+
value: Readonly<{
|
|
657
|
+
numerator: string;
|
|
658
|
+
denominator: string;
|
|
659
|
+
}>;
|
|
660
|
+
scope: string;
|
|
661
|
+
selectors: string[];
|
|
662
|
+
selections: ({
|
|
663
|
+
selector: string;
|
|
664
|
+
members: any[];
|
|
665
|
+
status: "selected";
|
|
666
|
+
cause?: undefined;
|
|
667
|
+
} | {
|
|
668
|
+
selector: string;
|
|
669
|
+
members: any[];
|
|
670
|
+
status: "unmeasured";
|
|
671
|
+
cause: "selector-no-match";
|
|
672
|
+
})[];
|
|
673
|
+
members: any[];
|
|
674
|
+
} | {
|
|
675
|
+
status: "unmeasured";
|
|
676
|
+
cause: "selector-no-match";
|
|
677
|
+
scope: string;
|
|
678
|
+
selectors: string[];
|
|
679
|
+
selections: ({
|
|
680
|
+
selector: string;
|
|
681
|
+
members: any[];
|
|
682
|
+
status: "selected";
|
|
683
|
+
cause?: undefined;
|
|
684
|
+
} | {
|
|
685
|
+
selector: string;
|
|
686
|
+
members: any[];
|
|
687
|
+
status: "unmeasured";
|
|
688
|
+
cause: "selector-no-match";
|
|
689
|
+
})[];
|
|
690
|
+
members: any[];
|
|
691
|
+
})[];
|
|
692
|
+
valuation: {
|
|
693
|
+
status: "measured";
|
|
694
|
+
model: "finite-nonnegative-atomic-valuation@1";
|
|
695
|
+
unit: string;
|
|
696
|
+
arithmetic: "exact-rational";
|
|
697
|
+
readings: {
|
|
698
|
+
region: any;
|
|
699
|
+
members: string[];
|
|
700
|
+
value: Readonly<{
|
|
701
|
+
numerator: string;
|
|
702
|
+
denominator: string;
|
|
703
|
+
}>;
|
|
704
|
+
}[];
|
|
705
|
+
union: {
|
|
706
|
+
members: string[];
|
|
707
|
+
value: Readonly<{
|
|
708
|
+
numerator: string;
|
|
709
|
+
denominator: string;
|
|
710
|
+
}>;
|
|
711
|
+
};
|
|
712
|
+
sumOfRegions: Readonly<{
|
|
713
|
+
numerator: string;
|
|
714
|
+
denominator: string;
|
|
715
|
+
}>;
|
|
716
|
+
overlapExcess: Readonly<{
|
|
717
|
+
numerator: string;
|
|
718
|
+
denominator: string;
|
|
719
|
+
}>;
|
|
720
|
+
disjointBySupport: boolean;
|
|
721
|
+
overlaps: {
|
|
722
|
+
atom: string;
|
|
723
|
+
regions: string[];
|
|
724
|
+
}[];
|
|
725
|
+
unassigned: string[];
|
|
726
|
+
work: {
|
|
727
|
+
unit: "declared-input-rows";
|
|
728
|
+
required: string;
|
|
729
|
+
};
|
|
730
|
+
cause?: undefined;
|
|
731
|
+
required?: undefined;
|
|
732
|
+
workUnit?: undefined;
|
|
733
|
+
};
|
|
734
|
+
work: {
|
|
735
|
+
inputBytes: string;
|
|
736
|
+
selectionUnits: string;
|
|
737
|
+
};
|
|
738
|
+
verification: "supplied inventory and snapshot; authority and completeness are consumer obligations";
|
|
739
|
+
cause?: undefined;
|
|
740
|
+
required?: undefined;
|
|
741
|
+
workUnit?: undefined;
|
|
742
|
+
};
|
|
743
|
+
stray: any[];
|
|
744
|
+
} | {
|
|
745
|
+
status: "unmeasured";
|
|
746
|
+
cause: string;
|
|
747
|
+
unavailable: {
|
|
748
|
+
name: string;
|
|
749
|
+
cause: string;
|
|
750
|
+
}[];
|
|
751
|
+
};
|
|
752
|
+
declare function readRefusalCatalog(text: string): readonly RefusalEntry[];
|
|
753
|
+
/** Uses the existing bounded content port, authority evaluator and projection.
|
|
754
|
+
* It projects the Root component of a complete signed Root wire snapshot; it has no persistence callback,
|
|
755
|
+
* current-root global, console output, process entry point or CLI subprocess.
|
|
756
|
+
* Contextual places and their carriers are not this Root-only projection.
|
|
757
|
+
* The returned commitment is unsigned and is not a paid native receipt.
|
|
758
|
+
*/
|
|
759
|
+
declare function readRootStandingInProcess(context: RootStandingHostContext, ports: {
|
|
760
|
+
readonly read: ContentReadPort;
|
|
761
|
+
}): Promise<RootStandingHostResult>;
|
|
762
|
+
/** Historical recovery after a lost response. No signer, current authorization
|
|
763
|
+
* or publication callback is invoked and the result grants no new act. */
|
|
764
|
+
declare function recoverPlaceActInProcess(context: Pick<PlaceActHostContext, "place" | "identity" | "reading" | "storageLimits" | "signal">, ports: Pick<PlaceActHostPorts, "instrumentName" | "trust" | "persistence" | "limits">): {
|
|
765
|
+
kind: "fact";
|
|
766
|
+
value: {
|
|
767
|
+
place: string;
|
|
768
|
+
identity: string;
|
|
769
|
+
act: PlaceActBundle;
|
|
770
|
+
historical: true;
|
|
771
|
+
reading: string;
|
|
772
|
+
result: string;
|
|
773
|
+
commitment: string;
|
|
774
|
+
};
|
|
775
|
+
code?: undefined;
|
|
776
|
+
diagnostic?: undefined;
|
|
777
|
+
} | {
|
|
778
|
+
kind: "refuse";
|
|
779
|
+
code: string;
|
|
780
|
+
diagnostic: string;
|
|
781
|
+
value?: undefined;
|
|
782
|
+
};
|
|
783
|
+
/** Authenticated historical query only; never revives authority or signs. */
|
|
784
|
+
declare function recoverRootActInProcess(identity: string, ports: Pick<RootLotPorts, "root" | "instrumentName" | "runtime">): {
|
|
785
|
+
kind: "fact";
|
|
786
|
+
value: {
|
|
787
|
+
historical: true;
|
|
788
|
+
act: ActResult;
|
|
789
|
+
bundle: LocalActBundle;
|
|
790
|
+
};
|
|
791
|
+
code?: undefined;
|
|
792
|
+
diagnostic?: undefined;
|
|
793
|
+
} | {
|
|
794
|
+
kind: "refuse";
|
|
795
|
+
code: string;
|
|
796
|
+
diagnostic: string;
|
|
797
|
+
value?: undefined;
|
|
798
|
+
};
|
|
799
|
+
/** Exact declared category selection, with no code-family or scope-prefix rule. */
|
|
800
|
+
declare function releaseCategoryPins(pins: readonly CategoryPin[], categories: readonly ReleaseCategory[], standing: readonly string[]): readonly string[];
|
|
801
|
+
/** Verify before invoking retention; no operation automatically writes the projected result. */
|
|
802
|
+
declare function retainContent(digest: string, bytes: Uint8Array, ports: {
|
|
803
|
+
readonly retain: PersistencePort;
|
|
804
|
+
readonly digestBytes: DigestPort;
|
|
805
|
+
}, limits: PortLimits, signal?: AbortSignal): Promise<{
|
|
806
|
+
readonly digest: string;
|
|
807
|
+
readonly bytes: number;
|
|
808
|
+
}>;
|
|
809
|
+
/** A pinned suite is data. Only the receiver chooses its contract, required
|
|
810
|
+
* coverage and candidate; a candidate's own list cannot certify completeness. */
|
|
811
|
+
declare function runConformance(bytes: Uint8Array, receiver: ConformanceReceiver, ports: {
|
|
812
|
+
readonly digest: DigestPort;
|
|
813
|
+
readonly evaluate: ByteComputationPort;
|
|
814
|
+
}, limits: PortLimits & {
|
|
815
|
+
readonly maxCases: number;
|
|
816
|
+
}, signal?: AbortSignal): Promise<ConformanceReport>;
|
|
817
|
+
declare function runWasmRequest(request: WasmRequest): Promise<WasmResult>;
|
|
818
|
+
/** One consumer-owned native dispatcher, not a daemon or a second interpreter.
|
|
819
|
+
* The child exits on IPC disconnect, including an ungraceful client exit. */
|
|
820
|
+
declare function startNativeHost(options: NativeHostOptions): Promise<NativeCommandHost>;
|
|
821
|
+
declare function validateObjectContext(records: readonly ObjectRecord[], context: ObjectContext): Outcome<readonly ObjectRecord[]>;
|
|
822
|
+
/** The receiver supplies the expected implementation, question, policy,
|
|
823
|
+
* environment and verification port. The carrier cannot choose any of them. */
|
|
824
|
+
declare function verifyComputation(context: ComputationContext, input: Uint8Array, output: Uint8Array, claim: ComputationStatement, ports: {
|
|
825
|
+
readonly digest: DigestPort;
|
|
826
|
+
readonly verify: SignatureVerificationPort;
|
|
827
|
+
}, limits: PortLimits, signal?: AbortSignal): Promise<ComputationStatement>;
|
|
828
|
+
/** Verify exact pinned delivery bytes and run the same pre-execution closure
|
|
829
|
+
* verifier again over the delivered set. No callbacks, install paths or verifier
|
|
830
|
+
* chosen by the payload. The returned import map is derived, never trusted input.
|
|
831
|
+
*/
|
|
832
|
+
declare function verifyModuleDelivery(bytes: Uint8Array, expected: string, limits: ClosureDeliveryLimits): ClosureDelivery;
|
|
833
|
+
interface ActResult {
|
|
834
|
+
readonly identity: string;
|
|
835
|
+
readonly epoch: number;
|
|
836
|
+
readonly records: readonly string[];
|
|
837
|
+
readonly receipt: string;
|
|
838
|
+
}
|
|
839
|
+
interface AuthorityCard {
|
|
840
|
+
readonly place: string;
|
|
841
|
+
readonly snapshot: string;
|
|
842
|
+
readonly key: string;
|
|
843
|
+
readonly authority: string;
|
|
844
|
+
readonly coverage: string;
|
|
845
|
+
readonly policy: string;
|
|
846
|
+
readonly budget: string;
|
|
847
|
+
readonly catalog: string;
|
|
848
|
+
readonly standingContract: string;
|
|
849
|
+
readonly grants: readonly string[];
|
|
850
|
+
readonly retirements: readonly string[];
|
|
851
|
+
readonly demands: readonly string[];
|
|
852
|
+
readonly horizon: RegistryHorizon;
|
|
853
|
+
readonly issuedAt: number;
|
|
854
|
+
readonly actions: readonly {
|
|
855
|
+
readonly request: string;
|
|
856
|
+
readonly decision: "allow" | "ask" | "deny";
|
|
857
|
+
}[];
|
|
858
|
+
readonly evidence: string;
|
|
859
|
+
}
|
|
860
|
+
interface CategoryPin {
|
|
861
|
+
readonly category: string;
|
|
862
|
+
readonly class: string;
|
|
863
|
+
readonly algorithm: "sha256";
|
|
864
|
+
readonly digest: string;
|
|
865
|
+
}
|
|
866
|
+
interface CeilingFold {
|
|
867
|
+
readonly read: readonly string[];
|
|
868
|
+
readonly over: readonly {
|
|
869
|
+
readonly ceiling: string;
|
|
870
|
+
readonly question: string;
|
|
871
|
+
readonly got: string;
|
|
872
|
+
readonly side: Side;
|
|
873
|
+
}[];
|
|
874
|
+
readonly unread: readonly string[];
|
|
875
|
+
readonly vacuous: readonly string[];
|
|
876
|
+
readonly readings: ReadonlyMap<string, readonly string[]>;
|
|
877
|
+
}
|
|
878
|
+
interface Cell<T> {
|
|
879
|
+
readonly floor: T;
|
|
880
|
+
readonly ceiling: T;
|
|
881
|
+
readonly origins: readonly Claim<T>[];
|
|
882
|
+
readonly rest: readonly string[];
|
|
883
|
+
readonly required: T;
|
|
884
|
+
readonly signed: T;
|
|
885
|
+
}
|
|
886
|
+
interface Claim<T> {
|
|
887
|
+
readonly origin: string;
|
|
888
|
+
readonly span: T;
|
|
889
|
+
readonly id?: string;
|
|
890
|
+
readonly at?: number;
|
|
891
|
+
readonly sign?: Act;
|
|
892
|
+
readonly takes?: string;
|
|
893
|
+
readonly phase?: number;
|
|
894
|
+
}
|
|
895
|
+
interface ClockBudget {
|
|
896
|
+
readonly bytes: number;
|
|
897
|
+
readonly records: number;
|
|
898
|
+
readonly placements: number;
|
|
899
|
+
readonly policies: number;
|
|
900
|
+
readonly proofs: number;
|
|
901
|
+
readonly signers: number;
|
|
902
|
+
}
|
|
903
|
+
interface ClosureDelivery {
|
|
904
|
+
readonly closure: string;
|
|
905
|
+
readonly digest: string;
|
|
906
|
+
readonly bytes: Uint8Array;
|
|
907
|
+
readonly manifest: ClosureDeliveryManifest;
|
|
908
|
+
readonly files: readonly {
|
|
909
|
+
path: string;
|
|
910
|
+
source: string;
|
|
911
|
+
}[];
|
|
912
|
+
readonly importMap: {
|
|
913
|
+
imports: Record<string, string>;
|
|
914
|
+
scopes: Record<string, Record<string, string>>;
|
|
915
|
+
};
|
|
916
|
+
}
|
|
917
|
+
interface ClosureDeliveryLimits extends Omit<ModuleClosureLimits, "portableESM"> {
|
|
918
|
+
readonly responseBytes: number;
|
|
919
|
+
}
|
|
920
|
+
interface ClosureDeliveryManifest {
|
|
921
|
+
readonly format: "esm-file-closure/1";
|
|
922
|
+
readonly needs: readonly {
|
|
923
|
+
name: string;
|
|
924
|
+
snapshot: string;
|
|
925
|
+
entry: string;
|
|
926
|
+
}[];
|
|
927
|
+
readonly modules: readonly {
|
|
928
|
+
snapshot: string;
|
|
929
|
+
coordinate: string;
|
|
930
|
+
digest: string;
|
|
931
|
+
path: string;
|
|
932
|
+
}[];
|
|
933
|
+
readonly libraries: readonly {
|
|
934
|
+
parent: string;
|
|
935
|
+
specifier: string;
|
|
936
|
+
snapshot: string;
|
|
937
|
+
entry: string;
|
|
938
|
+
}[];
|
|
939
|
+
readonly notices: readonly {
|
|
940
|
+
snapshot: string;
|
|
941
|
+
coordinate: string;
|
|
942
|
+
digest: string;
|
|
943
|
+
path: string;
|
|
944
|
+
}[];
|
|
945
|
+
}
|
|
946
|
+
interface ClosureNotice {
|
|
947
|
+
readonly snapshot: string;
|
|
948
|
+
readonly coordinate: string;
|
|
949
|
+
readonly digest: string;
|
|
950
|
+
readonly source: string;
|
|
951
|
+
}
|
|
952
|
+
interface ComputationContext {
|
|
953
|
+
readonly contract: string;
|
|
954
|
+
readonly numericPolicy: string;
|
|
955
|
+
readonly reading: ReadingIdentityContext;
|
|
956
|
+
readonly keyId: string;
|
|
957
|
+
readonly algorithm: string;
|
|
958
|
+
}
|
|
959
|
+
interface ComputationStatement {
|
|
960
|
+
readonly profile: "bound-computation@1";
|
|
961
|
+
readonly question: string;
|
|
962
|
+
readonly reading: string;
|
|
963
|
+
readonly origin: string;
|
|
964
|
+
readonly result: string;
|
|
965
|
+
readonly commitment: string;
|
|
966
|
+
readonly keyId: string;
|
|
967
|
+
readonly algorithm: string;
|
|
968
|
+
readonly signature: string;
|
|
969
|
+
}
|
|
970
|
+
interface ConformanceCase {
|
|
971
|
+
readonly id: string;
|
|
972
|
+
readonly covers: readonly string[];
|
|
973
|
+
readonly request: string;
|
|
974
|
+
readonly expected: string;
|
|
975
|
+
}
|
|
976
|
+
interface ConformanceReceiver {
|
|
977
|
+
readonly suite: string;
|
|
978
|
+
readonly implementation: string;
|
|
979
|
+
readonly contract: string;
|
|
980
|
+
readonly rules: readonly string[];
|
|
981
|
+
readonly refusals: readonly string[];
|
|
982
|
+
}
|
|
983
|
+
interface ConformanceReport {
|
|
984
|
+
readonly profile: "bound-conformance-report@1";
|
|
985
|
+
readonly suite: string;
|
|
986
|
+
readonly implementation: string;
|
|
987
|
+
readonly contract: string;
|
|
988
|
+
readonly met: boolean;
|
|
989
|
+
readonly cases: readonly {
|
|
990
|
+
readonly id: string;
|
|
991
|
+
readonly met: boolean;
|
|
992
|
+
readonly response: string;
|
|
993
|
+
}[];
|
|
994
|
+
readonly commitment: string;
|
|
995
|
+
}
|
|
996
|
+
interface ConformanceSuite {
|
|
997
|
+
readonly profile: "bound-conformance@1";
|
|
998
|
+
readonly contract: string;
|
|
999
|
+
readonly cases: readonly ConformanceCase[];
|
|
1000
|
+
}
|
|
1001
|
+
interface Fork {
|
|
1002
|
+
readonly key: string;
|
|
1003
|
+
readonly lines: readonly string[];
|
|
1004
|
+
readonly state?: string;
|
|
1005
|
+
}
|
|
1006
|
+
interface HTTPOptions {
|
|
1007
|
+
readonly signal?: AbortSignal;
|
|
1008
|
+
readonly allowedOrigins?: readonly string[];
|
|
1009
|
+
}
|
|
1010
|
+
interface HostClockSelection {
|
|
1011
|
+
readonly profile: typeof PLACE_ACT_CONTEXT;
|
|
1012
|
+
readonly namespace: string;
|
|
1013
|
+
readonly regionFamily: string;
|
|
1014
|
+
readonly receiptSigner: string;
|
|
1015
|
+
readonly receiptScope: string;
|
|
1016
|
+
readonly digestAlgorithm: "sha256";
|
|
1017
|
+
readonly budget: ClockBudget;
|
|
1018
|
+
readonly storageBudget: PlaceActBudget;
|
|
1019
|
+
readonly initial: readonly {
|
|
1020
|
+
place: string;
|
|
1021
|
+
receiver: {
|
|
1022
|
+
identity: string;
|
|
1023
|
+
epoch: string;
|
|
1024
|
+
};
|
|
1025
|
+
origin: {
|
|
1026
|
+
prefix: string;
|
|
1027
|
+
epoch: string;
|
|
1028
|
+
};
|
|
1029
|
+
}[];
|
|
1030
|
+
}
|
|
1031
|
+
/** Native operational selection from the receiver, never the offered content. */
|
|
1032
|
+
interface HostInstrumentRuntime {
|
|
1033
|
+
readonly root: string;
|
|
1034
|
+
readonly entry: string;
|
|
1035
|
+
readonly directory: string;
|
|
1036
|
+
readonly extension: ".ts" | ".js";
|
|
1037
|
+
readonly lock: readonly string[];
|
|
1038
|
+
}
|
|
1039
|
+
interface InstalledPackageMember {
|
|
1040
|
+
readonly coordinate: string;
|
|
1041
|
+
readonly digest: string;
|
|
1042
|
+
}
|
|
1043
|
+
interface InstalledPackagePin extends ModuleInventorySource {
|
|
1044
|
+
readonly specifier: string;
|
|
1045
|
+
readonly parent: string;
|
|
1046
|
+
readonly snapshot: string;
|
|
1047
|
+
readonly module: ModuleClosureSnapshot;
|
|
1048
|
+
}
|
|
1049
|
+
interface InstalledPackageRequest {
|
|
1050
|
+
readonly directory: string;
|
|
1051
|
+
/** Shape selected by the receiving instrument's admitted pin-shape contract. */
|
|
1052
|
+
readonly shape: string;
|
|
1053
|
+
/** Complete authenticated file inventory, relative to the selected package root. */
|
|
1054
|
+
readonly members: readonly InstalledPackageMember[];
|
|
1055
|
+
/** Explicit package export selectors; symbols are never pruning units. */
|
|
1056
|
+
readonly exports: readonly (readonly string[])[];
|
|
1057
|
+
/** Already authenticated snapshots and resolution selected by the host. */
|
|
1058
|
+
readonly pins: readonly InstalledPackagePin[];
|
|
1059
|
+
readonly limits: ClosureDeliveryLimits;
|
|
1060
|
+
}
|
|
1061
|
+
interface JoinSemilattice<T> extends Poset<T> {
|
|
1062
|
+
readonly bottom: T;
|
|
1063
|
+
join(a: T, b: T): T;
|
|
1064
|
+
}
|
|
1065
|
+
interface Lattice<T> extends MeetSemilattice<T>, JoinSemilattice<T> {
|
|
1066
|
+
}
|
|
1067
|
+
interface LocalActBundle {
|
|
1068
|
+
readonly records: string;
|
|
1069
|
+
readonly receipt: string;
|
|
1070
|
+
readonly placements?: readonly {
|
|
1071
|
+
place: string;
|
|
1072
|
+
records: string;
|
|
1073
|
+
}[];
|
|
1074
|
+
}
|
|
1075
|
+
interface LocatedReference {
|
|
1076
|
+
readonly class: "standing";
|
|
1077
|
+
readonly algorithm: "sha256";
|
|
1078
|
+
readonly digest: string;
|
|
1079
|
+
readonly blob: string;
|
|
1080
|
+
readonly location?: string;
|
|
1081
|
+
readonly "location-class"?: "viewer" | "holder";
|
|
1082
|
+
}
|
|
1083
|
+
interface Mark<T> {
|
|
1084
|
+
readonly pole: "floor" | "ceiling";
|
|
1085
|
+
readonly reach: "local" | "travels";
|
|
1086
|
+
readonly span: T;
|
|
1087
|
+
readonly widens?: string;
|
|
1088
|
+
readonly id?: string;
|
|
1089
|
+
readonly at?: number;
|
|
1090
|
+
readonly sign?: Act;
|
|
1091
|
+
readonly takes?: string;
|
|
1092
|
+
}
|
|
1093
|
+
interface MeetSemilattice<T> extends Poset<T> {
|
|
1094
|
+
readonly top: T;
|
|
1095
|
+
meet(a: T, b: T): T;
|
|
1096
|
+
inhabited(x: T): boolean;
|
|
1097
|
+
}
|
|
1098
|
+
interface ModuleClosureLimits {
|
|
1099
|
+
readonly members: number;
|
|
1100
|
+
readonly bytes: number;
|
|
1101
|
+
readonly portableESM?: boolean;
|
|
1102
|
+
readonly signal?: AbortSignal;
|
|
1103
|
+
}
|
|
1104
|
+
interface ModuleClosureMember {
|
|
1105
|
+
readonly digest: string;
|
|
1106
|
+
readonly source: string;
|
|
1107
|
+
}
|
|
1108
|
+
interface ModuleClosureSnapshot {
|
|
1109
|
+
readonly identity: string;
|
|
1110
|
+
readonly entry: string;
|
|
1111
|
+
readonly members: ReadonlyMap<string, ModuleClosureMember>;
|
|
1112
|
+
}
|
|
1113
|
+
interface ModuleInventory {
|
|
1114
|
+
readonly format: "verified-module-inventory/1";
|
|
1115
|
+
readonly delivery: string;
|
|
1116
|
+
readonly closure: string;
|
|
1117
|
+
readonly modules: readonly ModuleInventoryLine[];
|
|
1118
|
+
/** Existing canonical wire; descriptive module metadata stays in about. */
|
|
1119
|
+
readonly lines: string;
|
|
1120
|
+
}
|
|
1121
|
+
interface ModuleInventoryContext {
|
|
1122
|
+
readonly scope: string;
|
|
1123
|
+
readonly by: string;
|
|
1124
|
+
readonly at: string;
|
|
1125
|
+
}
|
|
1126
|
+
interface ModuleInventoryLine extends ModuleInventorySource {
|
|
1127
|
+
readonly unit: "module";
|
|
1128
|
+
readonly module: string;
|
|
1129
|
+
readonly digest: string;
|
|
1130
|
+
/** The verified closure which reached this module, not an immediate importer. */
|
|
1131
|
+
readonly reachedFrom: string;
|
|
1132
|
+
}
|
|
1133
|
+
/** Source names and versions are declarations supplied by the receiving host.
|
|
1134
|
+
* The snapshot pins their bytes; this projection does not authenticate a
|
|
1135
|
+
* publisher's version claim or infer symbol reachability.
|
|
1136
|
+
*/
|
|
1137
|
+
interface ModuleInventorySource {
|
|
1138
|
+
readonly snapshot: string;
|
|
1139
|
+
readonly source: string;
|
|
1140
|
+
readonly version: string;
|
|
1141
|
+
}
|
|
1142
|
+
interface NativeAuthorityAction {
|
|
1143
|
+
readonly kind: "record-coverage" | "admission";
|
|
1144
|
+
readonly records: readonly string[];
|
|
1145
|
+
}
|
|
1146
|
+
interface NativeAuthorityCardContext {
|
|
1147
|
+
readonly root: string;
|
|
1148
|
+
readonly place: string;
|
|
1149
|
+
readonly key: string;
|
|
1150
|
+
readonly instrument: NativeHostInstrument;
|
|
1151
|
+
readonly authorityEpoch: number;
|
|
1152
|
+
readonly clock: {
|
|
1153
|
+
readonly name: string;
|
|
1154
|
+
readonly unit: string;
|
|
1155
|
+
readonly now: number;
|
|
1156
|
+
};
|
|
1157
|
+
readonly horizon: RegistryHorizon;
|
|
1158
|
+
readonly limits: RecordBudget;
|
|
1159
|
+
readonly actions: readonly NativeAuthorityAction[];
|
|
1160
|
+
}
|
|
1161
|
+
interface NativeAuthorityCardValue {
|
|
1162
|
+
readonly card: AuthorityCard;
|
|
1163
|
+
readonly line: string;
|
|
1164
|
+
readonly identity: string;
|
|
1165
|
+
readonly judgments: readonly NativeAuthorityJudgment[];
|
|
1166
|
+
readonly needs: readonly string[];
|
|
1167
|
+
}
|
|
1168
|
+
interface NativeAuthorityJudgment {
|
|
1169
|
+
readonly request: string;
|
|
1170
|
+
readonly decision: "allow" | "ask" | "deny" | "open";
|
|
1171
|
+
readonly evidence: readonly unknown[];
|
|
1172
|
+
readonly needs: readonly string[];
|
|
1173
|
+
}
|
|
1174
|
+
interface NativeCommand {
|
|
1175
|
+
readonly verb: "fold" | "sign" | "land";
|
|
1176
|
+
readonly args: readonly string[];
|
|
1177
|
+
readonly signer?: string;
|
|
1178
|
+
readonly inputs?: readonly {
|
|
1179
|
+
readonly name: string;
|
|
1180
|
+
readonly text: string;
|
|
1181
|
+
}[];
|
|
1182
|
+
}
|
|
1183
|
+
interface NativeCommandHost {
|
|
1184
|
+
readonly pid: number;
|
|
1185
|
+
readonly environment: Readonly<Record<string, string>>;
|
|
1186
|
+
readonly flags: readonly string[];
|
|
1187
|
+
request(command: NativeCommand, signal?: AbortSignal): Promise<NativeCommandResult>;
|
|
1188
|
+
close(): Promise<void>;
|
|
1189
|
+
}
|
|
1190
|
+
interface NativeCommandResult {
|
|
1191
|
+
readonly status: number;
|
|
1192
|
+
readonly stdout: string;
|
|
1193
|
+
readonly stderr: string;
|
|
1194
|
+
}
|
|
1195
|
+
interface NativeHostInstrument {
|
|
1196
|
+
readonly name: string;
|
|
1197
|
+
readonly runtime: HostInstrumentRuntime;
|
|
1198
|
+
readonly installed?: {
|
|
1199
|
+
readonly digest: string;
|
|
1200
|
+
readonly request: InstalledPackageRequest;
|
|
1201
|
+
};
|
|
1202
|
+
}
|
|
1203
|
+
interface NativeHostLimits {
|
|
1204
|
+
readonly requestBytes: number;
|
|
1205
|
+
readonly responseBytes: number;
|
|
1206
|
+
readonly timeoutMs: number;
|
|
1207
|
+
readonly heapMiB: number;
|
|
1208
|
+
readonly queuedRequests: number;
|
|
1209
|
+
}
|
|
1210
|
+
interface NativeHostOptions {
|
|
1211
|
+
readonly place: string;
|
|
1212
|
+
readonly instrument: NativeHostInstrument;
|
|
1213
|
+
readonly expectedInstrument: string;
|
|
1214
|
+
readonly limits: NativeHostLimits;
|
|
1215
|
+
readonly environment: Readonly<Record<string, string | undefined>>;
|
|
1216
|
+
readonly scratchParent?: string;
|
|
1217
|
+
readonly signer?: {
|
|
1218
|
+
readonly keyId: string;
|
|
1219
|
+
readonly name: string;
|
|
1220
|
+
readonly sign: SigningPort;
|
|
1221
|
+
};
|
|
1222
|
+
readonly signers?: ReadonlyMap<string, {
|
|
1223
|
+
readonly name: string;
|
|
1224
|
+
readonly sign: SigningPort;
|
|
1225
|
+
}>;
|
|
1226
|
+
}
|
|
1227
|
+
interface NativeProbeContext extends NativeViewIdentityContext {
|
|
1228
|
+
readonly port: NativeProbePort;
|
|
1229
|
+
readonly counter: NativeProbeCounter;
|
|
1230
|
+
readonly signal?: AbortSignal;
|
|
1231
|
+
}
|
|
1232
|
+
/** This meter belongs to the consumer's operation. Keep it across calls and
|
|
1233
|
+
* share it between requests using the same port. It is never persisted by Bound. */
|
|
1234
|
+
interface NativeProbeCounter {
|
|
1235
|
+
readonly used: Map<string, number>;
|
|
1236
|
+
}
|
|
1237
|
+
interface NativeProbePort {
|
|
1238
|
+
readonly coordinate: string;
|
|
1239
|
+
readonly probes: number;
|
|
1240
|
+
readonly responseBytes: number;
|
|
1241
|
+
}
|
|
1242
|
+
interface NativeReadingIdentityContext {
|
|
1243
|
+
readonly place: string;
|
|
1244
|
+
readonly instrument: NativeHostInstrument;
|
|
1245
|
+
readonly limits: ReadingPreparationLimits;
|
|
1246
|
+
readonly reader?: string;
|
|
1247
|
+
}
|
|
1248
|
+
interface NativeViewIdentitiesContext {
|
|
1249
|
+
readonly place: string;
|
|
1250
|
+
readonly instrument: NativeHostInstrument;
|
|
1251
|
+
readonly views: readonly string[];
|
|
1252
|
+
readonly expectedIdentities?: Readonly<Record<string, string>>;
|
|
1253
|
+
}
|
|
1254
|
+
interface NativeViewIdentityContext {
|
|
1255
|
+
readonly place: string;
|
|
1256
|
+
readonly instrument: NativeHostInstrument;
|
|
1257
|
+
readonly view: string;
|
|
1258
|
+
readonly expectedIdentity?: string;
|
|
1259
|
+
}
|
|
1260
|
+
/** Providers answer declared admission/selection questions; no domain parser lives here. */
|
|
1261
|
+
interface ObjectContext {
|
|
1262
|
+
admit(record: ObjectRecord): boolean;
|
|
1263
|
+
resolve(cell: ObjectRecord): SelectedObjectForm;
|
|
1264
|
+
origin(origin: string, authority: string, scope: string): boolean;
|
|
1265
|
+
witness(reference: string, authority: string, scope: string): boolean;
|
|
1266
|
+
}
|
|
1267
|
+
/** Projection dispatches admitted acts into Obligatory; it defines no meet or propagation. */
|
|
1268
|
+
interface ObjectReading {
|
|
1269
|
+
cell: string;
|
|
1270
|
+
state: string;
|
|
1271
|
+
parts: Cell<unknown>;
|
|
1272
|
+
rest: readonly string[];
|
|
1273
|
+
ownMarks: readonly (string | undefined)[];
|
|
1274
|
+
ownClaims: readonly {
|
|
1275
|
+
id: string | undefined;
|
|
1276
|
+
origin: string;
|
|
1277
|
+
}[];
|
|
1278
|
+
marks: readonly Mark<unknown>[];
|
|
1279
|
+
claims: readonly unknown[];
|
|
1280
|
+
}
|
|
1281
|
+
interface ObjectRecord {
|
|
1282
|
+
readonly record: "cell" | "claim" | "mark";
|
|
1283
|
+
readonly fields: Readonly<Record<string, string>>;
|
|
1284
|
+
}
|
|
1285
|
+
interface PhysicalLinesPlaceInput {
|
|
1286
|
+
readonly root: string;
|
|
1287
|
+
/** Explicit inventory boundaries, also bound into the reading identity. No implicit exclusions. */
|
|
1288
|
+
readonly inventory: readonly string[];
|
|
1289
|
+
readonly regions: readonly PhysicalLinesRegion[];
|
|
1290
|
+
readonly policy: PhysicalLinesPolicy;
|
|
1291
|
+
readonly context: string;
|
|
1292
|
+
readonly reader: string;
|
|
1293
|
+
readonly implementation: string;
|
|
1294
|
+
readonly run: string;
|
|
1295
|
+
}
|
|
1296
|
+
interface PhysicalLinesPolicy {
|
|
1297
|
+
readonly byteBudget: string;
|
|
1298
|
+
readonly rowBudget: string;
|
|
1299
|
+
readonly entryBudget: number;
|
|
1300
|
+
}
|
|
1301
|
+
interface PhysicalLinesRegion {
|
|
1302
|
+
readonly scope: string;
|
|
1303
|
+
readonly selectors: readonly string[];
|
|
1304
|
+
}
|
|
1305
|
+
interface PhysicalLinesWitnessAuthority {
|
|
1306
|
+
/** Supplied by the host from its admitted, current producer policy, never from the witness. */
|
|
1307
|
+
readonly producers: readonly ReadingProducerPolicy[];
|
|
1308
|
+
/** Must verify actual signature/coverage or CI evidence bytes over this exact statement. URL presence is insufficient. */
|
|
1309
|
+
readonly verify: (input: {
|
|
1310
|
+
readonly witness: ReadingWitness;
|
|
1311
|
+
readonly statementBytes: string;
|
|
1312
|
+
readonly producer: ReadingProducerPolicy;
|
|
1313
|
+
}) => boolean;
|
|
1314
|
+
}
|
|
1315
|
+
interface PlaceActBudget {
|
|
1316
|
+
readonly acts: number;
|
|
1317
|
+
readonly bytes: number;
|
|
1318
|
+
}
|
|
1319
|
+
interface PlaceActBundle {
|
|
1320
|
+
readonly context: string;
|
|
1321
|
+
readonly receipts: readonly PlaceReceipt[];
|
|
1322
|
+
readonly originals: readonly (readonly string[])[];
|
|
1323
|
+
}
|
|
1324
|
+
interface PlaceActHead {
|
|
1325
|
+
readonly place: string;
|
|
1326
|
+
readonly identity: string;
|
|
1327
|
+
readonly epoch: string;
|
|
1328
|
+
}
|
|
1329
|
+
interface PlaceActHostContext {
|
|
1330
|
+
readonly place: string;
|
|
1331
|
+
readonly source: string;
|
|
1332
|
+
readonly identity: string;
|
|
1333
|
+
readonly rootSnapshot: string;
|
|
1334
|
+
readonly reading: ReadingIdentityContext;
|
|
1335
|
+
readonly algorithm: string;
|
|
1336
|
+
readonly contentLimits: PortLimits;
|
|
1337
|
+
readonly signingLimits: PortLimits;
|
|
1338
|
+
readonly storageLimits: PlaceActBudget;
|
|
1339
|
+
readonly signal?: AbortSignal;
|
|
1340
|
+
}
|
|
1341
|
+
/** These are receiver-selected host ports, not carrier fields or an offered
|
|
1342
|
+
* verifier. Trust must be constructed from the authenticated receiver snapshot. */
|
|
1343
|
+
interface PlaceActHostPorts {
|
|
1344
|
+
readonly instrumentName: string;
|
|
1345
|
+
readonly read: ContentReadPort;
|
|
1346
|
+
readonly sign: SigningPort;
|
|
1347
|
+
readonly trust: () => PlaceActTrust;
|
|
1348
|
+
readonly persistence: PlaceActPersistence;
|
|
1349
|
+
readonly limits: {
|
|
1350
|
+
readonly storage: PlaceActBudget;
|
|
1351
|
+
readonly signing: PortLimits;
|
|
1352
|
+
readonly content: PortLimits;
|
|
1353
|
+
};
|
|
1354
|
+
}
|
|
1355
|
+
/** Host-selected persistence, never supplied by offered content. exclusive must
|
|
1356
|
+
* share the CLI's region/authority/projection protocol. publish is synchronous
|
|
1357
|
+
* with exactly one atomic visibility point; a thrown reply may follow commit. */
|
|
1358
|
+
interface PlaceActPersistence {
|
|
1359
|
+
readonly exclusive: <T>(regions: readonly string[], run: () => Promise<T>) => Promise<T>;
|
|
1360
|
+
readonly result: (identity: string, trust: PlaceActTrust, limits: PlaceActBudget) => PlaceActBundle | undefined;
|
|
1361
|
+
readonly inventory: (limits: PlaceActBudget) => {
|
|
1362
|
+
readonly names: readonly string[];
|
|
1363
|
+
readonly bytes: number;
|
|
1364
|
+
};
|
|
1365
|
+
readonly heads: (trust: PlaceActTrust, limits: PlaceActBudget) => readonly PlaceActHead[];
|
|
1366
|
+
readonly publish: (identity: string, files: Readonly<Record<string, string>>) => void;
|
|
1367
|
+
}
|
|
1368
|
+
interface PlaceActSnapshot {
|
|
1369
|
+
readonly root: RootContext;
|
|
1370
|
+
readonly heads: readonly PlaceActHead[];
|
|
1371
|
+
}
|
|
1372
|
+
/** Fixed instrument construction, never supplied by world JSON. Historical
|
|
1373
|
+
* authentication permits inspection only; current() is read under Root guards. */
|
|
1374
|
+
interface PlaceActTrust {
|
|
1375
|
+
readonly contract: TrustedClockContract;
|
|
1376
|
+
readonly initialHeads: readonly PlaceActHead[];
|
|
1377
|
+
readonly current: () => PlaceActSnapshot;
|
|
1378
|
+
readonly historical: (encoded: string) => TrustedClockContract;
|
|
1379
|
+
}
|
|
1380
|
+
interface PlaceReceipt {
|
|
1381
|
+
readonly by: string;
|
|
1382
|
+
readonly place: string;
|
|
1383
|
+
readonly signature: string;
|
|
1384
|
+
}
|
|
1385
|
+
interface PolicyField<T> {
|
|
1386
|
+
readonly coordinate: string;
|
|
1387
|
+
readonly mode: "meet" | "exact" | "own";
|
|
1388
|
+
/** Values are interpreted by the selected form. Algebra is supplied by
|
|
1389
|
+
* Obligations, never reconstructed with interval endpoints here. */
|
|
1390
|
+
readonly decode: (value: string) => T;
|
|
1391
|
+
readonly lattice: MeetSemilattice<T>;
|
|
1392
|
+
readonly inhabited: (value: T) => boolean;
|
|
1393
|
+
}
|
|
1394
|
+
interface PortLimits {
|
|
1395
|
+
readonly timeoutMs: number;
|
|
1396
|
+
readonly maxBytes: number;
|
|
1397
|
+
}
|
|
1398
|
+
interface PortablePlaceContext {
|
|
1399
|
+
readonly identity: string;
|
|
1400
|
+
readonly context: string;
|
|
1401
|
+
readonly receipts: readonly PlaceReceipt[];
|
|
1402
|
+
readonly authority: {
|
|
1403
|
+
anchor: Signer;
|
|
1404
|
+
history: readonly string[];
|
|
1405
|
+
checkpoint: string;
|
|
1406
|
+
};
|
|
1407
|
+
}
|
|
1408
|
+
interface Poset<T> {
|
|
1409
|
+
leq(a: T, b: T): boolean;
|
|
1410
|
+
show(x: T): string;
|
|
1411
|
+
}
|
|
1412
|
+
interface ProfileComposition {
|
|
1413
|
+
readonly name: string;
|
|
1414
|
+
readonly parents: readonly string[];
|
|
1415
|
+
readonly fields: readonly {
|
|
1416
|
+
readonly coordinate: string;
|
|
1417
|
+
readonly contract: string;
|
|
1418
|
+
readonly value: string;
|
|
1419
|
+
}[];
|
|
1420
|
+
readonly pins: readonly CategoryPin[];
|
|
1421
|
+
readonly witnesses: readonly {
|
|
1422
|
+
readonly coordinate: string;
|
|
1423
|
+
readonly reading: ReadingWitness;
|
|
1424
|
+
}[];
|
|
1425
|
+
}
|
|
1426
|
+
interface ProfileCompositionRequest {
|
|
1427
|
+
readonly root: string;
|
|
1428
|
+
readonly place: string;
|
|
1429
|
+
readonly profile: ProfileComposition;
|
|
1430
|
+
readonly profiles: ReadonlyMap<string, string>;
|
|
1431
|
+
readonly fields: readonly ProfileFieldBinding[];
|
|
1432
|
+
/** Original signed lines; drafts and parent bytes supply no authority. */
|
|
1433
|
+
readonly statements: readonly string[];
|
|
1434
|
+
readonly budget: RecordBudget;
|
|
1435
|
+
readonly categories: readonly ReleaseCategory[];
|
|
1436
|
+
}
|
|
1437
|
+
interface ProfileFieldBinding {
|
|
1438
|
+
readonly contract: string;
|
|
1439
|
+
readonly field: PolicyField<unknown>;
|
|
1440
|
+
readonly scope: string;
|
|
1441
|
+
readonly role: "reads" | "writes";
|
|
1442
|
+
readonly form: "interval" | "alphabet";
|
|
1443
|
+
readonly measure: string;
|
|
1444
|
+
}
|
|
1445
|
+
interface PublicationStorage {
|
|
1446
|
+
publish(staged: string, committed: string): void;
|
|
1447
|
+
}
|
|
1448
|
+
interface Published {
|
|
1449
|
+
readonly digest: string;
|
|
1450
|
+
readonly pins: readonly string[];
|
|
1451
|
+
}
|
|
1452
|
+
interface ReadingContext {
|
|
1453
|
+
readonly class: "attest";
|
|
1454
|
+
readonly reading: string;
|
|
1455
|
+
readonly contract: string;
|
|
1456
|
+
readonly model: string;
|
|
1457
|
+
readonly params: string;
|
|
1458
|
+
readonly inputs: string;
|
|
1459
|
+
readonly selection: string;
|
|
1460
|
+
readonly unit: string;
|
|
1461
|
+
readonly scale: string;
|
|
1462
|
+
readonly resolution: string;
|
|
1463
|
+
readonly reader: string;
|
|
1464
|
+
readonly implementation: string;
|
|
1465
|
+
readonly context: string;
|
|
1466
|
+
readonly run: string;
|
|
1467
|
+
readonly result: string;
|
|
1468
|
+
}
|
|
1469
|
+
interface ReadingIdentityContext {
|
|
1470
|
+
readonly instrument: string;
|
|
1471
|
+
readonly implementation: string;
|
|
1472
|
+
readonly policy: string;
|
|
1473
|
+
/** The host supplies the complete verified transitive input closure. */
|
|
1474
|
+
readonly inputs: readonly (readonly [
|
|
1475
|
+
coordinate: string,
|
|
1476
|
+
identity: string
|
|
1477
|
+
])[];
|
|
1478
|
+
/** Explicitly empty means no relevant environment; absence is unknown. */
|
|
1479
|
+
readonly environment: readonly (readonly [
|
|
1480
|
+
coordinate: string,
|
|
1481
|
+
identity: string
|
|
1482
|
+
])[];
|
|
1483
|
+
}
|
|
1484
|
+
interface ReadingPreparationLimits {
|
|
1485
|
+
readonly bytes: number;
|
|
1486
|
+
readonly files: number;
|
|
1487
|
+
readonly readings: number;
|
|
1488
|
+
readonly probes: number;
|
|
1489
|
+
readonly signal?: AbortSignal;
|
|
1490
|
+
}
|
|
1491
|
+
interface RecordBudget {
|
|
1492
|
+
readonly bytes: number;
|
|
1493
|
+
readonly items: number;
|
|
1494
|
+
}
|
|
1495
|
+
interface ReferenceTrust {
|
|
1496
|
+
readonly snapshot: string;
|
|
1497
|
+
readonly epoch: number;
|
|
1498
|
+
readonly proofScope: string;
|
|
1499
|
+
readonly policy: string;
|
|
1500
|
+
readonly formImplementation: string;
|
|
1501
|
+
readonly signers: readonly Signer$1[];
|
|
1502
|
+
readonly algorithms: readonly string[];
|
|
1503
|
+
readonly contracts?: {
|
|
1504
|
+
readonly refusals: string;
|
|
1505
|
+
readonly standing: string;
|
|
1506
|
+
};
|
|
1507
|
+
readonly objects: ObjectContext$1;
|
|
1508
|
+
readonly maxBytes: number;
|
|
1509
|
+
readonly maxRecords: number;
|
|
1510
|
+
readonly digestBytes: (bytes: Uint8Array) => string | Promise<string>;
|
|
1511
|
+
readonly verifyBytes: (bytes: string, key: string, signature: string, algorithms: readonly string[]) => boolean | Promise<boolean>;
|
|
1512
|
+
readonly fetchBytes: (source: string, blob: string) => Promise<Uint8Array>;
|
|
1513
|
+
}
|
|
1514
|
+
interface RefusalEntry {
|
|
1515
|
+
readonly code: string;
|
|
1516
|
+
readonly category: string;
|
|
1517
|
+
readonly meaning: string;
|
|
1518
|
+
readonly next: string;
|
|
1519
|
+
}
|
|
1520
|
+
interface RegistryHorizon {
|
|
1521
|
+
readonly clock: string;
|
|
1522
|
+
readonly unit: string;
|
|
1523
|
+
readonly from: number;
|
|
1524
|
+
readonly through: number;
|
|
1525
|
+
}
|
|
1526
|
+
interface ReleaseCategory {
|
|
1527
|
+
readonly category: string;
|
|
1528
|
+
readonly class: string;
|
|
1529
|
+
readonly scope: string;
|
|
1530
|
+
readonly role: "reads" | "writes";
|
|
1531
|
+
readonly measure: "digest";
|
|
1532
|
+
}
|
|
1533
|
+
interface RootContext {
|
|
1534
|
+
readonly namespace: string;
|
|
1535
|
+
readonly snapshot: string;
|
|
1536
|
+
readonly epoch: string;
|
|
1537
|
+
readonly prefix: string;
|
|
1538
|
+
readonly head: string;
|
|
1539
|
+
readonly policies: readonly string[];
|
|
1540
|
+
}
|
|
1541
|
+
interface RootLotContext {
|
|
1542
|
+
readonly place: string;
|
|
1543
|
+
readonly snapshot: string;
|
|
1544
|
+
readonly source: string;
|
|
1545
|
+
readonly digest: string;
|
|
1546
|
+
readonly reading: ReadingIdentityContext;
|
|
1547
|
+
readonly limits: PortLimits & {
|
|
1548
|
+
readonly records: number;
|
|
1549
|
+
};
|
|
1550
|
+
readonly signal?: AbortSignal;
|
|
1551
|
+
}
|
|
1552
|
+
/** The receiver selects the actual native place, instrument and signer. The lot
|
|
1553
|
+
* supplies only canonical unsigned Root configuration, never host capabilities. */
|
|
1554
|
+
interface RootLotPorts {
|
|
1555
|
+
readonly root: string;
|
|
1556
|
+
readonly instrumentName: string;
|
|
1557
|
+
readonly runtime: HostInstrumentRuntime;
|
|
1558
|
+
readonly read: ContentReadPort;
|
|
1559
|
+
readonly signer: {
|
|
1560
|
+
readonly keyId: string;
|
|
1561
|
+
readonly name: string;
|
|
1562
|
+
readonly sign: SigningPort;
|
|
1563
|
+
};
|
|
1564
|
+
readonly storage?: PublicationStorage;
|
|
1565
|
+
readonly prepared?: (identity: string) => void;
|
|
1566
|
+
readonly limits: RootLotContext["limits"] & {
|
|
1567
|
+
readonly diagnostics: number;
|
|
1568
|
+
};
|
|
1569
|
+
}
|
|
1570
|
+
/** Initial read-only host slice. The receiver supplies the original anchor and
|
|
1571
|
+
* verified implementation/policy references; the offered bytes choose none of them.
|
|
1572
|
+
* Context references commit identity, not authority or conformance certification.
|
|
1573
|
+
*/
|
|
1574
|
+
interface RootStandingHostContext {
|
|
1575
|
+
readonly place: string;
|
|
1576
|
+
readonly source: string;
|
|
1577
|
+
readonly snapshot: string;
|
|
1578
|
+
readonly anchor: Signer;
|
|
1579
|
+
readonly reading: ReadingIdentityContext;
|
|
1580
|
+
readonly limits: PortLimits & {
|
|
1581
|
+
readonly records: number;
|
|
1582
|
+
};
|
|
1583
|
+
readonly signal?: AbortSignal;
|
|
1584
|
+
}
|
|
1585
|
+
interface SelectedObjectForm {
|
|
1586
|
+
readonly digest: string;
|
|
1587
|
+
readonly form: WireForm;
|
|
1588
|
+
readonly params: unknown;
|
|
1589
|
+
}
|
|
1590
|
+
interface SignatureRecord {
|
|
1591
|
+
readonly keyId: string;
|
|
1592
|
+
readonly signature: string;
|
|
1593
|
+
}
|
|
1594
|
+
interface Signer {
|
|
1595
|
+
readonly id: string;
|
|
1596
|
+
readonly keyClass: KeyClass;
|
|
1597
|
+
readonly publicKey: string;
|
|
1598
|
+
readonly coverage: readonly string[];
|
|
1599
|
+
readonly spans?: readonly {
|
|
1600
|
+
readonly globs: readonly string[];
|
|
1601
|
+
readonly from: number;
|
|
1602
|
+
readonly to: number | null;
|
|
1603
|
+
}[];
|
|
1604
|
+
readonly depth: {
|
|
1605
|
+
readonly lo: number;
|
|
1606
|
+
readonly hi: number;
|
|
1607
|
+
};
|
|
1608
|
+
readonly admittedBy: readonly string[];
|
|
1609
|
+
readonly epoch?: {
|
|
1610
|
+
readonly start: number;
|
|
1611
|
+
readonly close: number | null;
|
|
1612
|
+
};
|
|
1613
|
+
readonly windows?: readonly {
|
|
1614
|
+
readonly lo: number;
|
|
1615
|
+
readonly hi: number;
|
|
1616
|
+
readonly from: number;
|
|
1617
|
+
readonly to: number | null;
|
|
1618
|
+
}[];
|
|
1619
|
+
}
|
|
1620
|
+
interface SigningLot {
|
|
1621
|
+
readonly bytes: readonly string[];
|
|
1622
|
+
readonly keyId: string;
|
|
1623
|
+
readonly algorithm: string;
|
|
1624
|
+
}
|
|
1625
|
+
interface StandingReference {
|
|
1626
|
+
readonly class: "standing";
|
|
1627
|
+
readonly algorithm: "sha256";
|
|
1628
|
+
readonly digest: string;
|
|
1629
|
+
readonly blob: string;
|
|
1630
|
+
readonly source: string;
|
|
1631
|
+
}
|
|
1632
|
+
interface TrustedClockContract {
|
|
1633
|
+
readonly budget: ClockBudget;
|
|
1634
|
+
readonly root: RootContext;
|
|
1635
|
+
readonly signers: readonly Signer[];
|
|
1636
|
+
readonly places: readonly string[];
|
|
1637
|
+
readonly regionFamily: string;
|
|
1638
|
+
readonly receiptSigner: string;
|
|
1639
|
+
readonly receiptScope: string;
|
|
1640
|
+
/** These functions are instrument-selected, not packet-selected. Never an
|
|
1641
|
+
* arbitrary input boolean. They authenticate complete prefixes and namespaces. */
|
|
1642
|
+
readonly verifiesRootContext: (context: RootContext) => boolean;
|
|
1643
|
+
readonly verifiesNamespaceAdmission: (place: string, root: RootContext) => boolean;
|
|
1644
|
+
readonly verifiesNewLocalPrefix: (place: string, prefix: string, epoch: string, originals: readonly string[]) => boolean;
|
|
1645
|
+
readonly verifiesOriginal: (original: string, signer: Signer, root: RootContext) => boolean;
|
|
1646
|
+
readonly verifiesProof: (bytes: string, signature: string, signer: Signer, root: RootContext) => boolean;
|
|
1647
|
+
readonly digest: (bytes: string) => string;
|
|
1648
|
+
}
|
|
1649
|
+
interface WasmLimits {
|
|
1650
|
+
readonly memoryBytes: number;
|
|
1651
|
+
readonly stackBytes: number;
|
|
1652
|
+
readonly executionMs: number;
|
|
1653
|
+
}
|
|
1654
|
+
interface WasmRequest {
|
|
1655
|
+
readonly trusted: WasmTrust;
|
|
1656
|
+
readonly assets: {
|
|
1657
|
+
readonly runtime: Uint8Array | ArrayBuffer;
|
|
1658
|
+
readonly wasm: Uint8Array | ArrayBuffer;
|
|
1659
|
+
};
|
|
1660
|
+
readonly modules: Readonly<Record<string, string>>;
|
|
1661
|
+
readonly entry: string;
|
|
1662
|
+
readonly aliases?: Readonly<Record<string, string>>;
|
|
1663
|
+
readonly limits: WasmLimits;
|
|
1664
|
+
}
|
|
1665
|
+
interface WasmResult {
|
|
1666
|
+
readonly output: string;
|
|
1667
|
+
readonly initializedMs: number;
|
|
1668
|
+
readonly executionMs: number;
|
|
1669
|
+
}
|
|
1670
|
+
interface WasmTrust {
|
|
1671
|
+
readonly runtime: string;
|
|
1672
|
+
readonly wasm: string;
|
|
1673
|
+
readonly modules: Readonly<Record<string, string>>;
|
|
1674
|
+
readonly entry: string;
|
|
1675
|
+
readonly aliases: Readonly<Record<string, string>>;
|
|
1676
|
+
readonly limits: WasmLimits;
|
|
1677
|
+
readonly byteLengths: {
|
|
1678
|
+
readonly runtime: number;
|
|
1679
|
+
readonly wasm: number;
|
|
1680
|
+
readonly modules: Readonly<Record<string, number>>;
|
|
1681
|
+
};
|
|
1682
|
+
}
|
|
1683
|
+
interface WireForm<T = unknown> {
|
|
1684
|
+
readonly id: string;
|
|
1685
|
+
lattice(params: unknown): Lattice<T>;
|
|
1686
|
+
parse(params: unknown, text: string): T;
|
|
1687
|
+
emit(params: unknown, value: T): string;
|
|
1688
|
+
show(params: unknown, value: T): string;
|
|
1689
|
+
points(params: unknown, seed: number, n: number): readonly T[];
|
|
1690
|
+
}
|
|
1691
|
+
interface WorkerPort {
|
|
1692
|
+
postMessage(message: WasmRequest): void;
|
|
1693
|
+
terminate(): unknown;
|
|
1694
|
+
addEventListener?(type: string, listener: (event: {
|
|
1695
|
+
data?: unknown;
|
|
1696
|
+
message?: string;
|
|
1697
|
+
}) => void): void;
|
|
1698
|
+
on?(type: string, listener: (value: unknown) => void): void;
|
|
1699
|
+
}
|
|
1700
|
+
type Act = 1 | -1;
|
|
1701
|
+
type ByteComputationPort = (bytes: Uint8Array, signal: AbortSignal) => Promise<Uint8Array>;
|
|
1702
|
+
type ContentReadPort = (source: string, digest: string, signal: AbortSignal) => Promise<Uint8Array>;
|
|
1703
|
+
type DigestPort = (bytes: Uint8Array) => string | Promise<string>;
|
|
1704
|
+
type KeyClass = "attest" | "authorize";
|
|
1705
|
+
type Library = (specifier: string, parent: ModuleClosureSnapshot) => ModuleClosureSnapshot | undefined;
|
|
1706
|
+
type NativeAuthorityCardRequest = Omit<NativeAuthorityCardContext, "root" | "instrument"> & {
|
|
1707
|
+
readonly profile: "native-authority-card-request/1";
|
|
1708
|
+
};
|
|
1709
|
+
type NativeProbeForm = "lines" | "evidence";
|
|
1710
|
+
type NativeProbeResult = {
|
|
1711
|
+
readonly kind: "fact";
|
|
1712
|
+
readonly form: NativeProbeForm;
|
|
1713
|
+
readonly port: string;
|
|
1714
|
+
readonly identity: string;
|
|
1715
|
+
readonly text: string;
|
|
1716
|
+
readonly probes: 1;
|
|
1717
|
+
} | {
|
|
1718
|
+
readonly kind: "refuse";
|
|
1719
|
+
readonly code: string;
|
|
1720
|
+
readonly diagnostic: string;
|
|
1721
|
+
};
|
|
1722
|
+
type NativeReadingIdentityResult = {
|
|
1723
|
+
readonly kind: "fact";
|
|
1724
|
+
readonly preparations: readonly ReadingPreparationResult[];
|
|
1725
|
+
} | {
|
|
1726
|
+
readonly kind: "refuse";
|
|
1727
|
+
readonly code: string;
|
|
1728
|
+
readonly diagnostic: string;
|
|
1729
|
+
};
|
|
1730
|
+
type NativeViewIdentitiesResult = {
|
|
1731
|
+
readonly kind: "fact";
|
|
1732
|
+
readonly views: readonly Extract<NativeViewIdentityResult, {
|
|
1733
|
+
kind: "fact";
|
|
1734
|
+
}>[];
|
|
1735
|
+
} | Extract<NativeViewIdentityResult, {
|
|
1736
|
+
kind: "refuse";
|
|
1737
|
+
}>;
|
|
1738
|
+
type NativeViewIdentityResult = {
|
|
1739
|
+
readonly kind: "fact";
|
|
1740
|
+
readonly view: "lines" | "evidence";
|
|
1741
|
+
readonly identity: string;
|
|
1742
|
+
readonly text: string;
|
|
1743
|
+
} | {
|
|
1744
|
+
readonly kind: "refuse";
|
|
1745
|
+
readonly code: string;
|
|
1746
|
+
readonly diagnostic: string;
|
|
1747
|
+
};
|
|
1748
|
+
type ObjectContext$1 = Parameters<typeof validateObjectContext>[1];
|
|
1749
|
+
type Outcome<T> = {
|
|
1750
|
+
readonly kind: "fact";
|
|
1751
|
+
readonly value: T;
|
|
1752
|
+
} | {
|
|
1753
|
+
readonly kind: "abstain";
|
|
1754
|
+
readonly why: string;
|
|
1755
|
+
} | {
|
|
1756
|
+
readonly kind: "refuse";
|
|
1757
|
+
readonly why: string;
|
|
1758
|
+
readonly named?: string;
|
|
1759
|
+
};
|
|
1760
|
+
/** Atomic byte retention supplied by the host. This is neither admission nor a current-answer cache. */
|
|
1761
|
+
type PersistencePort = (digest: string, bytes: Uint8Array, signal: AbortSignal) => Promise<void>;
|
|
1762
|
+
type PhysicalLinesReading = Extract<ReturnType<typeof readPlacePhysicalLines>, {
|
|
1763
|
+
status: "read";
|
|
1764
|
+
}>;
|
|
1765
|
+
type PreparedReading = {
|
|
1766
|
+
readonly scope: string;
|
|
1767
|
+
readonly kind: "ready";
|
|
1768
|
+
readonly identity: string;
|
|
1769
|
+
readonly context: ReadingIdentityContext;
|
|
1770
|
+
readonly receipt?: string;
|
|
1771
|
+
} | {
|
|
1772
|
+
readonly scope: string;
|
|
1773
|
+
readonly kind: "needs";
|
|
1774
|
+
readonly needs: readonly string[];
|
|
1775
|
+
};
|
|
1776
|
+
type ReadingPreparationResult = {
|
|
1777
|
+
readonly kind: "fact";
|
|
1778
|
+
readonly readings: readonly PreparedReading[];
|
|
1779
|
+
readonly probes: number;
|
|
1780
|
+
readonly verifiedBytes: number;
|
|
1781
|
+
readonly retained: number;
|
|
1782
|
+
} | {
|
|
1783
|
+
readonly kind: "needs";
|
|
1784
|
+
readonly needs: readonly string[];
|
|
1785
|
+
} | {
|
|
1786
|
+
readonly kind: "refuse";
|
|
1787
|
+
readonly code: string;
|
|
1788
|
+
readonly diagnostic: string;
|
|
1789
|
+
};
|
|
1790
|
+
type ReadingProducerPolicy = {
|
|
1791
|
+
readonly authentication: "key-covered";
|
|
1792
|
+
readonly key: string;
|
|
1793
|
+
readonly coverage: string;
|
|
1794
|
+
} | {
|
|
1795
|
+
readonly authentication: "ci-run-unkeyed";
|
|
1796
|
+
readonly repository: string;
|
|
1797
|
+
readonly commit: string;
|
|
1798
|
+
readonly workflow: string;
|
|
1799
|
+
readonly run: string;
|
|
1800
|
+
readonly attempt: string;
|
|
1801
|
+
};
|
|
1802
|
+
type ReadingWitness = ReadingContext & ({
|
|
1803
|
+
readonly authentication: "key-covered";
|
|
1804
|
+
readonly key: string;
|
|
1805
|
+
readonly coverage: string;
|
|
1806
|
+
readonly evidence: string;
|
|
1807
|
+
} | {
|
|
1808
|
+
readonly authentication: "ci-run-unkeyed";
|
|
1809
|
+
readonly repository: string;
|
|
1810
|
+
readonly commit: string;
|
|
1811
|
+
readonly workflow: string;
|
|
1812
|
+
readonly attempt: string;
|
|
1813
|
+
readonly evidence: string;
|
|
1814
|
+
});
|
|
1815
|
+
type RootStandingHostResult = {
|
|
1816
|
+
readonly kind: "fact";
|
|
1817
|
+
readonly value: {
|
|
1818
|
+
readonly place: string;
|
|
1819
|
+
readonly rootStanding: readonly string[];
|
|
1820
|
+
readonly reading: string;
|
|
1821
|
+
readonly result: string;
|
|
1822
|
+
readonly commitment: string;
|
|
1823
|
+
};
|
|
1824
|
+
} | {
|
|
1825
|
+
readonly kind: "refuse";
|
|
1826
|
+
readonly code: string;
|
|
1827
|
+
readonly diagnostic: string;
|
|
1828
|
+
};
|
|
1829
|
+
type Side = "short" | "over";
|
|
1830
|
+
type SignatureVerificationPort = (bytes: string, signature: SignatureRecord, algorithm: string, signal: AbortSignal) => Promise<boolean>;
|
|
1831
|
+
type Signer$1 = Parameters<typeof authorityOf>[1][number];
|
|
1832
|
+
type SignerVerdict = {
|
|
1833
|
+
readonly kind: "admitted";
|
|
1834
|
+
readonly signer: string;
|
|
1835
|
+
} | {
|
|
1836
|
+
readonly kind: "grey";
|
|
1837
|
+
readonly why: string;
|
|
1838
|
+
} | {
|
|
1839
|
+
readonly kind: "refuse";
|
|
1840
|
+
readonly why: string;
|
|
1841
|
+
readonly named: string;
|
|
1842
|
+
};
|
|
1843
|
+
type SigningPort = (lot: SigningLot, signal: AbortSignal) => Promise<readonly SignatureRecord[]>;
|
|
1844
|
+
type Verify = (fields: Readonly<Record<string, string>>, publicKey: string) => boolean;
|
|
1845
|
+
|
|
1846
|
+
export {
|
|
1847
|
+
BoundRefusal as public7_BoundRefusal,
|
|
1848
|
+
ByteComputationPort as public1_ByteComputationPort,
|
|
1849
|
+
ClosureDelivery as public4_ClosureDelivery,
|
|
1850
|
+
ClosureDeliveryLimits as public4_ClosureDeliveryLimits,
|
|
1851
|
+
ClosureDeliveryManifest as public4_ClosureDeliveryManifest,
|
|
1852
|
+
ClosureNotice as public4_ClosureNotice,
|
|
1853
|
+
ComputationContext as public1_ComputationContext,
|
|
1854
|
+
ComputationStatement as public1_ComputationStatement,
|
|
1855
|
+
ConformanceCase as public1_ConformanceCase,
|
|
1856
|
+
ConformanceReceiver as public1_ConformanceReceiver,
|
|
1857
|
+
ConformanceReport as public1_ConformanceReport,
|
|
1858
|
+
ConformanceSuite as public1_ConformanceSuite,
|
|
1859
|
+
ContentReadPort as public1_ContentReadPort,
|
|
1860
|
+
ContentReadPort as public7_ContentReadPort,
|
|
1861
|
+
DigestPort as public1_DigestPort,
|
|
1862
|
+
DigestPort as public7_DigestPort,
|
|
1863
|
+
HostInstrumentRuntime as public2_HostInstrumentRuntime,
|
|
1864
|
+
InstalledPackageMember as public2_InstalledPackageMember,
|
|
1865
|
+
InstalledPackageMember as public3_InstalledPackageMember,
|
|
1866
|
+
InstalledPackagePin as public2_InstalledPackagePin,
|
|
1867
|
+
InstalledPackagePin as public3_InstalledPackagePin,
|
|
1868
|
+
InstalledPackageRequest as public2_InstalledPackageRequest,
|
|
1869
|
+
InstalledPackageRequest as public3_InstalledPackageRequest,
|
|
1870
|
+
ModuleClosureSnapshot as public4_ModuleClosureSnapshot,
|
|
1871
|
+
ModuleInventory as public4_ModuleInventory,
|
|
1872
|
+
ModuleInventoryContext as public4_ModuleInventoryContext,
|
|
1873
|
+
ModuleInventoryLine as public4_ModuleInventoryLine,
|
|
1874
|
+
ModuleInventorySource as public4_ModuleInventorySource,
|
|
1875
|
+
NativeAuthorityAction as public2_NativeAuthorityAction,
|
|
1876
|
+
NativeAuthorityCardContext as public2_NativeAuthorityCardContext,
|
|
1877
|
+
NativeAuthorityCardRequest as public2_NativeAuthorityCardRequest,
|
|
1878
|
+
NativeAuthorityCardValue as public2_NativeAuthorityCardValue,
|
|
1879
|
+
NativeAuthorityJudgment as public2_NativeAuthorityJudgment,
|
|
1880
|
+
NativeCommand as public2_NativeCommand,
|
|
1881
|
+
NativeCommandHost as public2_NativeCommandHost,
|
|
1882
|
+
NativeCommandResult as public2_NativeCommandResult,
|
|
1883
|
+
NativeHostInstrument as public2_NativeHostInstrument,
|
|
1884
|
+
NativeHostLimits as public2_NativeHostLimits,
|
|
1885
|
+
NativeHostOptions as public2_NativeHostOptions,
|
|
1886
|
+
NativeProbeContext as public2_NativeProbeContext,
|
|
1887
|
+
NativeProbeCounter as public2_NativeProbeCounter,
|
|
1888
|
+
NativeProbeForm as public2_NativeProbeForm,
|
|
1889
|
+
NativeProbePort as public2_NativeProbePort,
|
|
1890
|
+
NativeProbeResult as public2_NativeProbeResult,
|
|
1891
|
+
NativeReadingIdentityContext as public2_NativeReadingIdentityContext,
|
|
1892
|
+
NativeReadingIdentityResult as public2_NativeReadingIdentityResult,
|
|
1893
|
+
NativeViewIdentitiesContext as public2_NativeViewIdentitiesContext,
|
|
1894
|
+
NativeViewIdentitiesResult as public2_NativeViewIdentitiesResult,
|
|
1895
|
+
NativeViewIdentityContext as public2_NativeViewIdentityContext,
|
|
1896
|
+
NativeViewIdentityResult as public2_NativeViewIdentityResult,
|
|
1897
|
+
ObjectContext as public1_ObjectContext,
|
|
1898
|
+
ObjectReading as public1_ObjectReading,
|
|
1899
|
+
ObjectRecord as public1_ObjectRecord,
|
|
1900
|
+
PersistencePort as public1_PersistencePort,
|
|
1901
|
+
PersistencePort as public7_PersistencePort,
|
|
1902
|
+
PhysicalLinesPlaceInput as public2_PhysicalLinesPlaceInput,
|
|
1903
|
+
PhysicalLinesPlaceInput as public5_PhysicalLinesPlaceInput,
|
|
1904
|
+
PhysicalLinesPolicy as public2_PhysicalLinesPolicy,
|
|
1905
|
+
PhysicalLinesPolicy as public5_PhysicalLinesPolicy,
|
|
1906
|
+
PhysicalLinesReading as public2_PhysicalLinesReading,
|
|
1907
|
+
PhysicalLinesReading as public5_PhysicalLinesReading,
|
|
1908
|
+
PhysicalLinesRegion as public2_PhysicalLinesRegion,
|
|
1909
|
+
PhysicalLinesRegion as public5_PhysicalLinesRegion,
|
|
1910
|
+
PhysicalLinesWitnessAuthority as public2_PhysicalLinesWitnessAuthority,
|
|
1911
|
+
PhysicalLinesWitnessAuthority as public5_PhysicalLinesWitnessAuthority,
|
|
1912
|
+
PlaceActBudget as public2_PlaceActBudget,
|
|
1913
|
+
PlaceActHostContext as public2_PlaceActHostContext,
|
|
1914
|
+
PlaceActHostPorts as public2_PlaceActHostPorts,
|
|
1915
|
+
PlaceActPersistence as public2_PlaceActPersistence,
|
|
1916
|
+
PlaceActTrust as public2_PlaceActTrust,
|
|
1917
|
+
PortLimits as public1_PortLimits,
|
|
1918
|
+
PortLimits as public7_PortLimits,
|
|
1919
|
+
PreparedReading as public2_PreparedReading,
|
|
1920
|
+
ProfileCompositionRequest as public2_ProfileCompositionRequest,
|
|
1921
|
+
ProfileCompositionRequest as public6_ProfileCompositionRequest,
|
|
1922
|
+
ProfileFieldBinding as public2_ProfileFieldBinding,
|
|
1923
|
+
ProfileFieldBinding as public6_ProfileFieldBinding,
|
|
1924
|
+
PublicationStorage as public2_PublicationStorage,
|
|
1925
|
+
ReadingPreparationLimits as public2_ReadingPreparationLimits,
|
|
1926
|
+
ReadingPreparationResult as public2_ReadingPreparationResult,
|
|
1927
|
+
ReadingProducerPolicy as public2_ReadingProducerPolicy,
|
|
1928
|
+
ReadingProducerPolicy as public5_ReadingProducerPolicy,
|
|
1929
|
+
ReferenceTrust as public7_ReferenceTrust,
|
|
1930
|
+
RefusalEntry as public1_RefusalEntry,
|
|
1931
|
+
RefusalEntry as public7_RefusalEntry,
|
|
1932
|
+
ReleaseCategory as public2_ReleaseCategory,
|
|
1933
|
+
ReleaseCategory as public6_ReleaseCategory,
|
|
1934
|
+
RootLotContext as public2_RootLotContext,
|
|
1935
|
+
RootLotPorts as public2_RootLotPorts,
|
|
1936
|
+
RootStandingHostContext as public2_RootStandingHostContext,
|
|
1937
|
+
RootStandingHostResult as public2_RootStandingHostResult,
|
|
1938
|
+
SignatureRecord as public1_SignatureRecord,
|
|
1939
|
+
SignatureRecord as public7_SignatureRecord,
|
|
1940
|
+
SignatureVerificationPort as public1_SignatureVerificationPort,
|
|
1941
|
+
SigningLot as public1_SigningLot,
|
|
1942
|
+
SigningLot as public7_SigningLot,
|
|
1943
|
+
SigningPort as public1_SigningPort,
|
|
1944
|
+
SigningPort as public7_SigningPort,
|
|
1945
|
+
WasmLimits as public9_WasmLimits,
|
|
1946
|
+
WasmRequest as public9_WasmRequest,
|
|
1947
|
+
WasmResult as public9_WasmResult,
|
|
1948
|
+
WasmTrust as public9_WasmTrust,
|
|
1949
|
+
WorkerPort as public9_WorkerPort,
|
|
1950
|
+
answerNativeAuthorityCard as public2_answerNativeAuthorityCard,
|
|
1951
|
+
authenticatePhysicalLinesWitness as public2_authenticatePhysicalLinesWitness,
|
|
1952
|
+
authenticatePhysicalLinesWitness as public5_authenticatePhysicalLinesWitness,
|
|
1953
|
+
composeProfile as public2_composeProfile,
|
|
1954
|
+
composeProfile as public6_composeProfile,
|
|
1955
|
+
decodeReference as public7_decodeReference,
|
|
1956
|
+
deliverModuleClosure as public4_deliverModuleClosure,
|
|
1957
|
+
describeRefusal as public7_describeRefusal,
|
|
1958
|
+
digest as public9_digest,
|
|
1959
|
+
encodeReference as public7_encodeReference,
|
|
1960
|
+
evaluateWasm as public9_evaluateWasm,
|
|
1961
|
+
executeComputation as public1_executeComputation,
|
|
1962
|
+
exportAuthenticatedReference as public8_exportAuthenticatedReference,
|
|
1963
|
+
inspectAuthenticatedReference as public7_inspectAuthenticatedReference,
|
|
1964
|
+
inspectReference as public8_inspectReference,
|
|
1965
|
+
inspectReferencePreview as public8_inspectReferencePreview,
|
|
1966
|
+
installedHostInstrument as public2_installedHostInstrument,
|
|
1967
|
+
installedPackageIdentity as public2_installedPackageIdentity,
|
|
1968
|
+
installedPackageIdentity as public3_installedPackageIdentity,
|
|
1969
|
+
invokeSigningPort as public1_invokeSigningPort,
|
|
1970
|
+
invokeSigningPort as public7_invokeSigningPort,
|
|
1971
|
+
judgePhysicalLines as public2_judgePhysicalLines,
|
|
1972
|
+
judgePhysicalLines as public5_judgePhysicalLines,
|
|
1973
|
+
landPlaceActInProcess as public2_landPlaceActInProcess,
|
|
1974
|
+
landRootLotInProcess as public2_landRootLotInProcess,
|
|
1975
|
+
moduleInventory as public4_moduleInventory,
|
|
1976
|
+
moduleSnapshot as public4_moduleSnapshot,
|
|
1977
|
+
nativeAuthorityCardView as public2_nativeAuthorityCardView,
|
|
1978
|
+
nativeAuthorityRequestIdentity as public2_nativeAuthorityRequestIdentity,
|
|
1979
|
+
nativeHostEnvironment as public2_nativeHostEnvironment,
|
|
1980
|
+
nativeHostInstrument as public2_nativeHostInstrument,
|
|
1981
|
+
nativePlaceActPersistence as public2_nativePlaceActPersistence,
|
|
1982
|
+
nativePlaceActReceiver as public2_nativePlaceActReceiver,
|
|
1983
|
+
objectFold as public1_objectFold,
|
|
1984
|
+
objectFoldBytes as public1_objectFoldBytes,
|
|
1985
|
+
openAuthenticatedReference as public8_openAuthenticatedReference,
|
|
1986
|
+
parseNativeAuthorityCardRequest as public2_parseNativeAuthorityCardRequest,
|
|
1987
|
+
physicalLinesRegions as public2_physicalLinesRegions,
|
|
1988
|
+
physicalLinesRegions as public5_physicalLinesRegions,
|
|
1989
|
+
preflight as public9_preflight,
|
|
1990
|
+
prepareNativeAuthorityCard as public2_prepareNativeAuthorityCard,
|
|
1991
|
+
prepareNativeProbe as public2_prepareNativeProbe,
|
|
1992
|
+
prepareNativeReadingIdentity as public2_prepareNativeReadingIdentity,
|
|
1993
|
+
prepareNativeViewIdentities as public2_prepareNativeViewIdentities,
|
|
1994
|
+
prepareNativeViewIdentity as public2_prepareNativeViewIdentity,
|
|
1995
|
+
profileDigest as public2_profileDigest,
|
|
1996
|
+
profileDigest as public6_profileDigest,
|
|
1997
|
+
readContent as public1_readContent,
|
|
1998
|
+
readContent as public7_readContent,
|
|
1999
|
+
readContextualStandingInProcess as public2_readContextualStandingInProcess,
|
|
2000
|
+
readPlacePhysicalLines as public2_readPlacePhysicalLines,
|
|
2001
|
+
readPlacePhysicalLines as public5_readPlacePhysicalLines,
|
|
2002
|
+
readRefusalCatalog as public1_readRefusalCatalog,
|
|
2003
|
+
readRefusalCatalog as public7_readRefusalCatalog,
|
|
2004
|
+
readRootStandingInProcess as public2_readRootStandingInProcess,
|
|
2005
|
+
recoverPlaceActInProcess as public2_recoverPlaceActInProcess,
|
|
2006
|
+
recoverRootActInProcess as public2_recoverRootActInProcess,
|
|
2007
|
+
releaseCategoryPins as public2_releaseCategoryPins,
|
|
2008
|
+
releaseCategoryPins as public6_releaseCategoryPins,
|
|
2009
|
+
retainContent as public1_retainContent,
|
|
2010
|
+
retainContent as public7_retainContent,
|
|
2011
|
+
rootLotSnapshot as public2_rootLotSnapshot,
|
|
2012
|
+
runConformance as public1_runConformance,
|
|
2013
|
+
runWasmRequest as public9_runWasmRequest,
|
|
2014
|
+
startNativeHost as public2_startNativeHost,
|
|
2015
|
+
verifyComputation as public1_verifyComputation,
|
|
2016
|
+
verifyModuleDelivery as public4_verifyModuleDelivery,
|
|
2017
|
+
};
|
|
2018
|
+
|
|
2019
|
+
export {};
|