geospec-engine 0.0.0 → 0.1.0-next.19
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/LICENSE +201 -0
- package/NOTICE +99 -0
- package/README.md +150 -0
- package/dist/bindings/mixed-wasm/geospec_engine_native.mjs +2 -0
- package/dist/bindings/mixed-wasm/geospec_engine_native.wasm +0 -0
- package/dist/host-types.d.mts +48 -0
- package/dist/host-types.mjs +1 -0
- package/dist/index.d.mts +3 -0
- package/dist/index.mjs +1 -0
- package/dist/mixed-wasm-loader.d.mts +16 -0
- package/dist/mixed-wasm-loader.mjs +3 -0
- package/dist/native/index.js +708 -0
- package/dist/node.d.mts +97 -0
- package/dist/node.mjs +1 -0
- package/dist/wasm.d.mts +93 -0
- package/dist/wasm.mjs +1 -0
- package/licenses/FreeType-FTL.txt +169 -0
- package/licenses/GeoSpec-LICENSE.txt +201 -0
- package/licenses/Manifold-Rust-LICENSE.txt +201 -0
- package/licenses/NOTICE.txt +99 -0
- package/licenses/OCCT-LGPL-2.1.txt +502 -0
- package/licenses/OCCT-LGPL-exception.txt +10 -0
- package/licenses/RapidJSON-LICENSE.txt +57 -0
- package/licenses/SOURCE-RELINK.json +152 -0
- package/licenses/SOURCE-RELINK.md +22 -0
- package/licenses/THIRD-PARTY-NOTICES.txt +1088 -0
- package/licenses/cargo/01c266bced4a434da0051174d6bee16a4c82cf634e2679b6155d40d75012390f-COPYING +3 -0
- package/licenses/cargo/0621878e61f0d0fda054bcbe02df75192c28bde1ecc8289cbd86aeba2dd72720-LICENSE-MIT +25 -0
- package/licenses/cargo/0d542e0c8804e39aa7f37eb00da5a762149dc682d7829451287e11b938e94594-LICENSE-APACHE +177 -0
- package/licenses/cargo/0e6c282dfcb08a031c37b8f851fe5813fad63612e88a29dbe5121d727d67bbf2-LICENSE-MIT +26 -0
- package/licenses/cargo/0f96a83840e146e43c0ec96a22ec1f392e0680e6c1226e6f3ba87e0740af850f-LICENSE-MIT +21 -0
- package/licenses/cargo/123a331b5dbf04c30097fa43b8f858bc85df671fe776de498d01f3d6b7c1f69e-LICENSE-MIT +25 -0
- package/licenses/cargo/13ce2fb7da9c6c3a5a16e86877a604e80237f076b9258115d8f0444127f6a281-NOTICE.md +41 -0
- package/licenses/cargo/20fe7b00e904ed690e3b9fd6073784d3fc428141dbd10b81c01fd143d0797f58-LICENSE-APACHE +176 -0
- package/licenses/cargo/23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3-LICENSE-MIT +23 -0
- package/licenses/cargo/275c491d6d1160553c32fd6127061d7f9606c3ea25abfad6ca3f6ed088785427-LICENSE-APACHE +202 -0
- package/licenses/cargo/27995d58ad5c1145c1a8cd86244ce844886958a35eb2b78c6b772748669999ac-LICENSE-MIT +25 -0
- package/licenses/cargo/30fefc3a7d6a0041541858293bcbea2dde4caa4c0a5802f996a7f7e8c0085652-LICENSE-MIT +23 -0
- package/licenses/cargo/3521672491a3479422d5fe1aca6645dd2984090f85da6e5205abfb18fb7a6897-LICENSE-MIT +25 -0
- package/licenses/cargo/36516aefdc84c5d5a1e7485425913a22dbda69eb1930c5e84d6ae4972b5194b9-LICENSE-MIT +23 -0
- package/licenses/cargo/3708458dee7f359ac6c9c5558023ed481be87e5372c43ebd7f2ca7ad23c12026-LICENSE-APACHE +202 -0
- package/licenses/cargo/378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397-LICENSE-MIT +25 -0
- package/licenses/cargo/3f8a05fc8617c5ce569fa5a4f2301cd847fe00fa011bdaa8f353fd55a2691a54-LICENSE-MIT +21 -0
- package/licenses/cargo/42fa16951ce7f24b5a467a40e5b449a1d41e662f97ca779864f053f39e097737-LICENSE-MIT +26 -0
- package/licenses/cargo/4455bf75a91154108304cb283e0fea9948c14f13e20d60887cf2552449dea3b1-LICENSE-MIT +21 -0
- package/licenses/cargo/516b24e051bf5630880ebbd55c40a25ce9552ebaf8970a53e8976eb70e522406-LICENSE-APACHE +201 -0
- package/licenses/cargo/553fffcd9b1cb158bc3e9edc35da85ca5c3b3d7d2e61c883ebcfa8a65814b583-LICENSE-APACHE +13 -0
- package/licenses/cargo/62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a-LICENSE-APACHE +176 -0
- package/licenses/cargo/6485b8ed310d3f0340bf1ad1f47645069ce4069dcc6bb46c7d5c6faf41de1fdb-LICENSE-MIT +25 -0
- package/licenses/cargo/6652c868f35dfe5e8ef636810a4e576b9d663f3a17fb0f5613ad73583e1b88fd-LICENSE-MIT +26 -0
- package/licenses/cargo/7365cc8878a1d7ce155a58c4ca09c3d7a6be413efa5334a80ea842912b669349-LICENSE-MIT +25 -0
- package/licenses/cargo/7b63ecd5f1902af1b63729947373683c32745c16a10e8e6292e2e2dcd7e90ae0-LICENSE-MIT +25 -0
- package/licenses/cargo/7e12e5df4bae12cb21581ba157ced20e1986a0508dd10d0e8a4ab9a4cf94e85c-UNLICENSE +24 -0
- package/licenses/cargo/8ce0830173fdac609dfb4ea603fdc002c2f4af0dc9b1a005653f5da9cf534b18-LICENSE +25 -0
- package/licenses/cargo/95bd3988beee069fa2848f648dab43cc6e0b2add2ad6bcb17360caf749802bcc-LICENSE-APACHE +176 -0
- package/licenses/cargo/98b52ccf20010b67d8fd3bdf151f50ecdfc01f25d6de190e015dd436d9f7ea0b-LICENSE +201 -0
- package/licenses/cargo/9e0dfd2dd4173a530e238cb6adb37aa78c34c6bc7444e0e10c1ab5d8881f63ba-LICENSE-MIT +25 -0
- package/licenses/cargo/a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2-LICENSE-APACHE +201 -0
- package/licenses/cargo/a825bd853ab71619a4923d7b4311221427848070ff44d990da39b0b274c1683f-LICENSE-MIT +21 -0
- package/licenses/cargo/a8ad31b1c3f40dca5a84119351b8fa8ddc868edd77fad8a8ebf6d8f2d16fa4ae-LICENSE-APACHE +201 -0
- package/licenses/cargo/a9040321c3712d8fd0b09cf52b17445de04a23a10165049ae187cd39e5c86be5-LICENSE-APACHE +201 -0
- package/licenses/cargo/aaff376532ea30a0cd5330b9502ad4a4c8bf769c539c87ffe78819d188a18ebf-LICENSE-APACHE +201 -0
- package/licenses/cargo/ae9baa7beea910273c2f384c2a6b721fb7bd02bda3436074a1072e4ee689f985-LICENSE-MIT +25 -0
- package/licenses/cargo/aed7b1758e35afa0cd0fde059d61950747ca11cd0e5e169cb21c11608daed772-LICENSE +21 -0
- package/licenses/cargo/b1181a40b2a7b25cf66fd01481713bc1005df082c53ef73e851e55071b102744-LICENSE +19 -0
- package/licenses/cargo/b29f8b01452350c20dd1af16ef83b598fea3053578ccc1c7a0ef40e57be2620f-LICENSE +12 -0
- package/licenses/cargo/b4eb00df6e2a4d22518fcaa6a2b4646f249b3a3c9814509b22bd2091f1392ff1-LICENSE-MIT +27 -0
- package/licenses/cargo/b7e650f3fce5c53249d1cdc608b54df156a97edd636cf9d23498d0cfe7aec63e-LICENSE-MIT +19 -0
- package/licenses/cargo/bccaa8b6c09f94e81f06696e179dbe058464bbdfbc823b6d49cada1d71e84ac3-LICENSE-MIT +5 -0
- package/licenses/cargo/beb8e42e9d6b4284e03304d05a81a0755200a965fc8d0a5e0aea1e84cf805d6e-LICENSE +23 -0
- package/licenses/cargo/c09aae9d3c77b531f56351a9947bc7446511d6b025b3255312d3e3442a9a7583-LICENSE +21 -0
- package/licenses/cargo/c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4-LICENSE +201 -0
- package/licenses/cargo/c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566-LICENSE-BOOST +23 -0
- package/licenses/cargo/cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30-LICENSE-APACHE +202 -0
- package/licenses/cargo/d1fc1bc0d155df60b2e7705b6b2ae02a05c96f948e1cec6e2fb86360b09f346b-LICENSE +29 -0
- package/licenses/cargo/d5c22aa3118d240e877ad41c5d9fa232f9c77d757d4aac0c2f943afc0a95e0ef-LICENSE-MIT +25 -0
- package/licenses/cargo/db11fec9946737df39ca3898d9cd8c10ec6f6c3a884a6802b0ad0b81b4e8f23a-LICENSE +1 -0
- package/licenses/cargo/e36d55837170195cdf934aa6a48c0ad6efba1bde3f5b4a1b9259c171d5aeb647-LICENSE-APACHE +201 -0
- package/licenses/cargo/ea084a2373ebc1f0902c09266e7bf25a05ab3814c1805bb017ffa7308f90c061-LICENSE-MIT +21 -0
- package/licenses/cargo/ec353d4fecf7963b4c054384557e5dbc3c7a717997eb4a3815b315721a6aa75a-LICENSE-MIT +18 -0
- package/licenses/cargo/f71fd5946d6674af304514dc7b3b4272aa9117052dd347fb3a9dc9679f33d95f-LICENSE-MIT +26 -0
- package/licenses/cargo/f7db81051789b729fea528a63ec4c938fdcb93d9d61d97dc8cc2e9df6d47f2a1-LICENSE-UNICODE +39 -0
- package/licenses/cargo/fe5c9498374de7953275f83f35565b289f377ceab4a28d04c7da87723e02a372-LICENSE +20 -0
- package/licenses/cargo/ff8f68cb076caf8cefe7a6430d4ac086ce6af2ca8ce2c4e5a2004d4552ef52a2-LICENSE-MIT +25 -0
- package/licenses/components.json +5897 -0
- package/licenses/fallback/MIT.txt +21 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/backtrace/LICENSE-APACHE +201 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/backtrace/LICENSE-MIT +25 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/compiler-builtins/LICENSE.txt +275 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/compiler-builtins/libm/LICENSE.txt +258 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/portable-simd/LICENSE-APACHE +202 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/portable-simd/LICENSE-MIT +19 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/portable-simd/crates/core_simd/LICENSE-APACHE +202 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/portable-simd/crates/core_simd/LICENSE-MIT +19 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/stdarch/LICENSE-APACHE +201 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/stdarch/LICENSE-MIT +25 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/stdarch/crates/core_arch/LICENSE-APACHE +201 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/stdarch/crates/core_arch/LICENSE-MIT +25 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/stdarch/crates/intrinsic-test/LICENSE-APACHE +201 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/stdarch/crates/intrinsic-test/LICENSE-MIT +25 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/addr2line-0.27.1/LICENSE-APACHE +201 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/addr2line-0.27.1/LICENSE-MIT +25 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/adler2-2.0.1/LICENSE-0BSD +12 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/adler2-2.0.1/LICENSE-APACHE +201 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/adler2-2.0.1/LICENSE-MIT +23 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/cc-1.2.0/LICENSE-APACHE +201 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/cc-1.2.0/LICENSE-MIT +25 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/cfg-if-1.0.4/LICENSE-APACHE +201 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/cfg-if-1.0.4/LICENSE-MIT +25 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/dlmalloc-0.2.14/LICENSE-APACHE +201 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/dlmalloc-0.2.14/LICENSE-MIT +25 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/foldhash-0.2.0/LICENSE +19 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/getopts-0.2.24/LICENSE-APACHE +201 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/getopts-0.2.24/LICENSE-MIT +25 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/gimli-0.34.0/LICENSE-APACHE +201 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/gimli-0.34.0/LICENSE-MIT +25 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/hashbrown-0.17.1/LICENSE-APACHE +201 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/hashbrown-0.17.1/LICENSE-MIT +25 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/hermit-abi-0.5.2/LICENSE-APACHE +201 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/hermit-abi-0.5.2/LICENSE-MIT +23 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/libc-0.2.189/LICENSE-APACHE +176 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/libc-0.2.189/LICENSE-MIT +25 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/memchr-2.8.3/COPYING +3 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/memchr-2.8.3/LICENSE-MIT +21 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/memchr-2.8.3/UNLICENSE +24 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/miniz_oxide-0.9.1/LICENSE +25 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/miniz_oxide-0.9.1/LICENSE-APACHE.md +177 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/miniz_oxide-0.9.1/LICENSE-MIT.md +24 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/miniz_oxide-0.9.1/LICENSE-ZLIB.md +14 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/moto-rt-0.16.3/LICENSE-APACHE +201 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/moto-rt-0.16.3/LICENSE-MIT +25 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/object-0.39.1/LICENSE-APACHE +201 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/object-0.39.1/LICENSE-MIT +25 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/r-efi-5.3.0/AUTHORS +74 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/r-efi-alloc-2.1.0/AUTHORS +62 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/rand-0.9.5/COPYRIGHT +12 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/rand-0.9.5/LICENSE-APACHE +176 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/rand-0.9.5/LICENSE-MIT +26 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/rand_core-0.9.5/COPYRIGHT +12 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/rand_core-0.9.5/LICENSE-APACHE +187 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/rand_core-0.9.5/LICENSE-MIT +26 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/rand_xorshift-0.4.0/COPYRIGHT +12 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/rand_xorshift-0.4.0/LICENSE-APACHE +176 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/rand_xorshift-0.4.0/LICENSE-MIT +26 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/rustc-demangle-0.1.28/LICENSE-APACHE +201 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/rustc-demangle-0.1.28/LICENSE-MIT +25 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/rustc-literal-escaper-0.0.8/LICENSE-APACHE +176 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/rustc-literal-escaper-0.0.8/LICENSE-MIT +23 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/shlex-1.3.0/LICENSE-APACHE +13 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/shlex-1.3.0/LICENSE-MIT +21 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/unwinding-0.2.10/LICENSE-APACHE +176 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/unwinding-0.2.10/LICENSE-MIT +23 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/wasip2-1.0.4+wasi-0.2.12/LICENSE-APACHE +201 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/wasip2-1.0.4+wasi-0.2.12/LICENSE-Apache-2.0_WITH_LLVM-exception +220 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/wasip2-1.0.4+wasi-0.2.12/LICENSE-MIT +23 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/wasip3-0.7.1+wasi-0.3.0/LICENSE-APACHE +201 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/wasip3-0.7.1+wasi-0.3.0/LICENSE-Apache-2.0_WITH_LLVM-exception +220 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/wasip3-0.7.1+wasi-0.3.0/LICENSE-MIT +23 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/wit-bindgen-0.57.1/LICENSE-APACHE +201 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/wit-bindgen-0.57.1/LICENSE-Apache-2.0_WITH_LLVM-exception +220 -0
- package/licenses/mixed-tools/rustPrefix/lib/rustlib/src/rust/library/vendor/wit-bindgen-0.57.1/LICENSE-MIT +23 -0
- package/licenses/mixed-tools/rustPrefix/share/doc/rust/COPYRIGHT-library.html +29378 -0
- package/licenses/mixed-tools/sdkPrefix/emscripten/AUTHORS +607 -0
- package/licenses/mixed-tools/sdkPrefix/emscripten/LICENSE +102 -0
- package/licenses/mixed-tools/sdkPrefix/emscripten/system/include/SDL/COPYING +24 -0
- package/licenses/mixed-tools/sdkPrefix/emscripten/system/lib/compiler-rt/LICENSE.TXT +311 -0
- package/licenses/mixed-tools/sdkPrefix/emscripten/system/lib/libc/musl/COPYRIGHT +193 -0
- package/licenses/mixed-tools/sdkPrefix/emscripten/system/lib/libcxx/LICENSE.TXT +311 -0
- package/licenses/mixed-tools/sdkPrefix/emscripten/system/lib/libcxxabi/LICENSE.TXT +311 -0
- package/licenses/mixed-tools/sdkPrefix/emscripten/system/lib/libunwind/LICENSE.TXT +311 -0
- package/licenses/mixed-tools/sdkPrefix/emscripten/system/lib/llvm-libc/LICENSE.TXT +278 -0
- package/licenses/mixed-tools/sdkPrefix/emscripten/system/lib/mimalloc/LICENSE +21 -0
- package/licenses/mixed-tools/sdkPrefix/emscripten/system/lib/openmp/LICENSE.TXT +361 -0
- package/licenses/mixed-tools/sdkPrefix/emscripten/system/lib/openmp/src/thirdparty/ittnotify/LICENSE.txt +8 -0
- package/package.json +83 -4
- package/trust/README.md +42 -0
- package/trust/canonicalize.mjs +37 -0
- package/trust/evaluate-worker.mjs +164 -0
- package/trust/index.d.mts +112 -0
- package/trust/run.mjs +850 -0
- package/trust/verify.py +470 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
//#region src/host-types.d.ts
|
|
2
|
+
/** Bytes accepted and returned by a GeoSpec host facade. @public */
|
|
3
|
+
type HostBytes = Uint8Array<ArrayBuffer>;
|
|
4
|
+
/** Stable protocol failure surfaced by every GeoSpec host facade. @public */
|
|
5
|
+
declare class ProtocolError extends Error {
|
|
6
|
+
/** Machine-readable core error code. */
|
|
7
|
+
readonly code: string;
|
|
8
|
+
constructor(code: string, message: string, options?: ErrorOptions);
|
|
9
|
+
}
|
|
10
|
+
/** Byte-only stateful engine surface shared by Node and WASM hosts. @public */
|
|
11
|
+
type HostEngine = {
|
|
12
|
+
/** Non-mutating cumulative diagnostics; absent on unqualified historical bindings. */
|
|
13
|
+
observations?: () => HostBytes;
|
|
14
|
+
close(): void;
|
|
15
|
+
ingestSubject(request: HostBytes, primary: HostBytes, resources: readonly HostBytes[]): HostBytes;
|
|
16
|
+
ingestMesh(request: HostBytes, mesh: HostBytes): HostBytes;
|
|
17
|
+
processRequest(request: HostBytes): HostBytes;
|
|
18
|
+
canonicalPlan(request: HostBytes): HostBytes;
|
|
19
|
+
evaluatePlan(plan: HostBytes): HostBytes;
|
|
20
|
+
evaluateClaim(request: HostBytes): HostClaimEvaluation;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Exact canonical bytes of one claim evaluated in one engine call: the bytes `canonicalPlan`,
|
|
24
|
+
* `canonicalize` of that plan's claim and `evaluatePlan` of that plan return. @public
|
|
25
|
+
*/
|
|
26
|
+
type HostClaimEvaluation = {
|
|
27
|
+
readonly canonicalPlan: HostBytes;
|
|
28
|
+
readonly canonicalClaim: HostBytes;
|
|
29
|
+
readonly canonicalResult: HostBytes;
|
|
30
|
+
};
|
|
31
|
+
/** Node lifecycle operations over opaque core control bytes. @public */
|
|
32
|
+
type HostSubjectLifecycle = {
|
|
33
|
+
subjectHandle(request: HostBytes): HostBytes;
|
|
34
|
+
releaseSubject(request: HostBytes): HostBytes;
|
|
35
|
+
};
|
|
36
|
+
/** Explicit Node filesystem cache construction options. @public */
|
|
37
|
+
type HostCacheOptions = {
|
|
38
|
+
readonly root: string;
|
|
39
|
+
readonly projectRoot: string;
|
|
40
|
+
};
|
|
41
|
+
/** Optional authenticated overlap-cache lifecycle. @public */
|
|
42
|
+
type HostCacheLifecycle = {
|
|
43
|
+
flushCache(): HostBytes;
|
|
44
|
+
clearOverlapCache(): boolean;
|
|
45
|
+
cacheProducerIdentity(): HostBytes;
|
|
46
|
+
};
|
|
47
|
+
//#endregion
|
|
48
|
+
export { HostBytes, HostCacheLifecycle, HostCacheOptions, HostClaimEvaluation, HostEngine, HostSubjectLifecycle, ProtocolError };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=class extends Error{code;constructor(e,t,n){super(t,n),this.name=`ProtocolError`,this.code=e}};const t=e=>typeof e==`object`&&!!e,n=n=>{if(n instanceof e)return n;if(t(n)&&typeof n.code==`string`&&typeof n.message==`string`)return new e(n.code,n.message,{cause:n});throw n},r=t=>{if(!(t instanceof Uint8Array))throw new e(`invalid-request`,`Host binding returned a non-byte value.`);return Uint8Array.from(t)},i=t=>{if(t.byteLength>=8){let e=new DataView(t.buffer,t.byteOffset,8),n=8+e.getUint32(0,!0),r=n+e.getUint32(4,!0);if(r<=t.byteLength)return{canonicalPlan:t.subarray(8,n),canonicalClaim:t.subarray(n,r),canonicalResult:t.subarray(r)}}throw new e(`invalid-request`,`Host binding returned a malformed claim evaluation.`)},a=e=>{try{return e()}catch(e){throw n(e)}},o=(e,t,n)=>{if(n===0)return;let r=t===`input`?`inputCopies`:`outputCopies`,i=t===`input`?`inputBytes`:`outputBytes`,a=e[i]+BigInt(n),o=18446744073709551615n;e[r]===o||a>o?e.exact=!1:(e[r]+=1n,e[i]=a)},s=(e,t)=>{let n=JSON.parse(new TextDecoder().decode(e));if(n.schema!==`geospec-engine-observations-v1`)throw Error(`Unsupported engine observation schema.`);n.exact=n.exact&&t.exact;for(let e of[`inputCopies`,`inputBytes`,`outputCopies`,`outputBytes`])n.copies[e]=(BigInt(n.copies[e])+t[e]).toString();return new TextEncoder().encode(JSON.stringify(n))};export{e as ProtocolError,s as appendHostObservationCopies,n as asProtocolError,a as callHost,o as observeHostCopy,r as toHostBytes,i as toHostClaimEvaluation};
|
package/dist/index.d.mts
ADDED
package/dist/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ProtocolError as e}from"./host-types.mjs";import{Engine as t,canonicalize as n,initialize as r}from"./wasm.mjs";export{t as Engine,e as ProtocolError,n as canonicalize,r as initialize};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { HostBytes } from "./host-types.mjs";
|
|
2
|
+
//#region src/mixed-wasm-loader.d.ts
|
|
3
|
+
/** Input accepted by the compiled Emscripten module. @public */
|
|
4
|
+
type WasmInput = ArrayBuffer | HostBytes | Response | URL | string | Promise<ArrayBuffer | HostBytes | Response | URL | string>;
|
|
5
|
+
/** Ordered external binary resources paired with request metadata. @public */
|
|
6
|
+
type WasmResources = readonly HostBytes[];
|
|
7
|
+
/** Requested WASM product and caller-inclusive execution budget. @public */
|
|
8
|
+
type WasmExecution = {
|
|
9
|
+
readonly variant: 'st';
|
|
10
|
+
} | {
|
|
11
|
+
readonly variant: 'mt';
|
|
12
|
+
readonly permits: number;
|
|
13
|
+
readonly receipt: URL | string;
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
export { WasmExecution, WasmInput, WasmResources };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{ProtocolError as e,appendHostObservationCopies as t,observeHostCopy as n}from"./host-types.mjs";const r=new TextDecoder(`utf-8`,{fatal:!0}),i=new TextEncoder().encode(`{"_tauNativeExactClusterCandidateV1":`);function a(e){return e.length>=i.length&&i.every((t,n)=>e[n]===t)}const o=t=>{if(!(t instanceof Uint8Array)||!(t.buffer instanceof ArrayBuffer))throw new e(`invalid-request`,`Host input must use an ordinary ArrayBuffer.`);return t},s=t=>{if(!Array.isArray(t))throw new e(`invalid-request`,`Host resources must be an array of ordinary ArrayBuffer views.`);return t.map(e=>o(e))},c=async e=>{let t=await e;if(t!==void 0)return t instanceof Uint8Array?{wasmBinary:o(t)}:t instanceof ArrayBuffer?{wasmBinary:new Uint8Array(t)}:t instanceof Response?{wasmBinary:new Uint8Array(await t.arrayBuffer())}:{locateFile:()=>t.toString()}};let l,u;const d=/* @__PURE__ */ new Map,f=t=>{if(t?.variant!==`mt`)return;if(!Number.isSafeInteger(t.permits)||t.permits<1||t.permits>4294967295)throw new e(`invalid-request`,`MT execution permits must be a positive wasm32 integer.`);let n=typeof process<`u`&&typeof process.versions.node==`string`;if(typeof SharedArrayBuffer>`u`||!n&&!globalThis.crossOriginIsolated)throw new e(`unsupported-capability`,`GeoSpec MT WASM requires a cross-origin-isolated browser worker.`);if(!t.receipt)throw new e(`unsupported-capability`,`No MT build receipt was supplied for mt-permits-${t.permits}.`);let r;try{r=new URL(t.receipt)}catch{throw new e(`invalid-request`,`MT build receipt must be an absolute URL.`)}if(n?r.protocol!==`file:`:r.origin!==location.origin)throw new e(`unsupported-capability`,`MT assets must use a local Node file or same-origin browser URL.`);return r},p=e=>typeof e==`object`&&!!e&&!Array.isArray(e),m=(t,n)=>{if(!p(t)||t.file!==n||typeof t.bytes!=`number`||!Number.isSafeInteger(t.bytes)||t.bytes<1||typeof t.sha256!=`string`||!/^[\da-f]{64}$/.test(t.sha256))throw new e(`unsupported-capability`,`MT receipt has no valid ${n} asset.`);return{file:n,bytes:t.bytes,sha256:t.sha256}},h=async t=>{if(t.protocol===`file:`){let{readFile:e}=await import(`node:fs/promises`);return Uint8Array.from(await e(t))}let n=await fetch(t);if(!n.ok)throw new e(`unsupported-capability`,`MT asset is unavailable: ${t.href}`);return new Uint8Array(await n.arrayBuffer())},g=async(t,n)=>{let{file:r}=n,i=await h(new URL(r,t)),a=Array.from(new Uint8Array(await crypto.subtle.digest(`SHA-256`,i)),e=>e.toString(16).padStart(2,`0`)).join(``);if(i.byteLength!==n.bytes||a!==n.sha256)throw new e(`unsupported-capability`,`MT asset does not match its build receipt: ${r}`);return i},_=async(t,n)=>{let i=JSON.parse(r.decode(await h(t)));if(!p(i)||i.schema!==`geospec-mixed-mt-assets-v1`||typeof i.permits!=`number`||!Number.isSafeInteger(i.permits)||i.permits<n)throw new e(`unsupported-capability`,`MT receipt does not describe mt-permits-${n}.`);let a=i.permits,o=m(i.glue,`geospec_engine_native.mjs`),s=m(i.wasm,`geospec_engine_native.wasm`),c=m(i.worker,`geospec_engine_native.mjs`),l=m(i.buildReceipt,`build-receipt.json`);if(c.bytes!==o.bytes||c.sha256!==o.sha256)throw new e(`unsupported-capability`,`MT receipt does not describe mt-permits-${n}.`);let u=new URL(`.`,t),d=await g(u,l),f=JSON.parse(r.decode(d));if(!p(f)||f.schema!==`geospec-mixed-build-receipt-mt-v1`||!p(f.mtSettings)||f.mtSettings.executionPermits!==a||!Array.isArray(f.artifacts)||![o,s].every(e=>f.artifacts.some(t=>p(t)&&typeof t.path==`string`&&t.path.endsWith(`/${e.file}`)&&t.bytes===e.bytes&&t.sha256===e.sha256)))throw new e(`unsupported-capability`,`MT assets do not match their qualified build receipt.`);await g(u,o);let _=await g(u,s),v=await import(
|
|
2
|
+
/* @vite-ignore */
|
|
3
|
+
new URL(o.file,u).href);if(typeof v.default!=`function`)throw new e(`unsupported-capability`,`MT module has no initializer.`);let y=await v.default({wasmBinary:_});if(typeof y._geospec_engine_native_engine_new_with_execution_permits!=`function`)throw new e(`unsupported-capability`,`MT module has no execution-permits constructor.`);if(!(y.wasmMemory?.buffer instanceof SharedArrayBuffer))throw new e(`unsupported-capability`,`MT module does not export wasmMemory; relink the MT product.`);return y},v=async(t,n)=>{let r=f(n);if(r!==void 0&&n?.variant===`mt`){if(t!==void 0)throw new e(`invalid-request`,`MT WASM bytes are selected by the build receipt.`);let i=`${n.permits}:${r.href}`,a=d.get(i);if(a===void 0){let e={promise:_(r,n.permits),module:void 0};a=e,d.set(i,e)}try{a.module=await a.promise}catch(e){throw d.get(i)===a&&d.delete(i),e}return}l??=(async()=>{let n=await import(`#mixed-wasm-binding`);if(typeof n.default!=`function`)throw new e(`invalid-request`,`Compiled GeoSpec WASM module has no initializer.`);return u=await n.default(await c(t)),u})();let i=l;try{await i}catch(e){throw l===i&&(l=void 0),e}},y=t=>{let n=f(t);if(n!==void 0&&t?.variant===`mt`){let r=d.get(`${t.permits}:${n.href}`);if(r?.module===void 0)throw new e(`invalid-request`,`Initialize the selected MT product before constructing an engine.`);return r.module}if(l===void 0)throw new e(`invalid-request`,`Call initialize() before using the GeoSpec WASM engine.`);if(u===void 0)throw new e(`invalid-request`,`Wait for initialize() before using the GeoSpec WASM engine.`);return u},b=e=>{let t=e.wasmMemory?.buffer;return t===void 0||t===e.HEAPU8.buffer?e.HEAPU8:new Uint8Array(t)},x=(e,t,n)=>{try{b(e).set(n,t)}catch(r){throw t!==0&&e._geospec_engine_native_input_free(t,n.byteLength),r}},S=(t,r,i)=>{let a=t._geospec_engine_native_input_alloc(r.byteLength);if(r.byteLength!==0&&a===0)throw new e(`limit-exceeded`,`Compiled GeoSpec WASM module could not register input bytes.`);return x(t,a,r),i&&n(i,`input`,r.byteLength),a},C=(t,r,i)=>{let a=t._geospec_engine_native_input_alloc(r.byteLength);if(r.byteLength!==0&&a===0)throw new e(`limit-exceeded`,`Compiled GeoSpec WASM module could not allocate binary input bytes.`);return x(t,a,r),i&&n(i,`input`,r.byteLength),a},w=(t,r,i)=>{let a=i.length(r)>>>0,o=i.pointer(r)>>>0;if(a===0)return/* @__PURE__ */ new Uint8Array;let s=b(t);if(o===0||o>s.byteLength||a>s.byteLength-o)throw new e(`invalid-request`,`Compiled GeoSpec WASM module returned an inconsistent byte range.`);let c=Uint8Array.from(s.subarray(o,o+a));return i.copies&&n(i.copies,`output`,a),c},T=(t,n,i)=>{if(n===0)throw new e(`invalid-request`,`Compiled GeoSpec WASM module returned no result.`);try{if(t._geospec_engine_native_result_is_error(n)!==0){let a=w(t,n,{copies:i,length:e=>t._geospec_engine_native_result_code_length(e),pointer:e=>t._geospec_engine_native_result_code_pointer(e)}),o=w(t,n,{copies:i,length:e=>t._geospec_engine_native_result_message_length(e),pointer:e=>t._geospec_engine_native_result_message_pointer(e)});throw new e(r.decode(a),r.decode(o))}return w(t,n,{copies:i,length:e=>t._geospec_engine_native_result_length(e),pointer:e=>t._geospec_engine_native_result_pointer(e)})}finally{t._geospec_engine_native_result_drop(n)}},E=(e,t,n)=>{let r=S(e,o(t.bytes),t.copies);try{return T(e,n(r,t.bytes.byteLength),t.copies)}finally{r!==0&&e._geospec_engine_native_input_free(r,t.bytes.byteLength)}};var D=class{#e;#t={exact:!0,inputCopies:0n,inputBytes:0n,outputCopies:0n,outputBytes:0n};#n;#r;constructor(t){if(this.#e=y(t),this.#r=t?.variant!==`mt`,this.#n=t?.variant===`mt`?this.#e._geospec_engine_native_engine_new_with_execution_permits?.(t.permits)??0:this.#e._geospec_engine_native_engine_new(),this.#n===0)throw new e(`invalid-request`,`Compiled GeoSpec WASM module could not create an engine.`)}close(){this.#n!==0&&(this.#e._geospec_engine_native_engine_drop(this.#n),this.#n=0)}ingestMesh(e,t){let n=o(t),r=this.engine();return E(this.#e,{bytes:e,copies:this.#t},(e,t)=>{let i=C(this.#e,n,this.#t),a=!1;try{return a=!0,this.#e._geospec_engine_native_ingest_mesh(r,e,t,i,n.byteLength)}finally{!a&&i!==0&&this.#e._geospec_engine_native_input_free(i,n.byteLength)}})}ingestSubject(t,n,r){let i=o(n),a=s(r),c=this.engine();return E(this.#e,{bytes:t,copies:this.#t},(t,n)=>{let r=[],o=0,s=0,l=!1;try{r.push({pointer:C(this.#e,i,this.#t),length:i.byteLength});for(let e of a)r.push({pointer:C(this.#e,e,this.#t),length:e.byteLength});if(s=a.length*8,o=this.#e._geospec_engine_native_input_alloc(s),s!==0&&o===0)throw new e(`limit-exceeded`,`Compiled GeoSpec WASM module could not allocate the resource table.`);let u=new DataView(b(this.#e).buffer);for(let t=1;t<r.length;t+=1){let n=r[t];if(n===void 0)throw new e(`invalid-request`,`Compiled GeoSpec WASM resource table is incomplete.`);let i=o+(t-1)*8;u.setUint32(i,n.pointer,!0),u.setUint32(i+4,n.length,!0)}let d=r[0];if(d===void 0)throw new e(`invalid-request`,`Compiled GeoSpec WASM primary input is missing.`);return l=!0,this.#e._geospec_engine_native_ingest_subject(c,t,n,d.pointer,d.length,o,a.length)}finally{if(o!==0&&this.#e._geospec_engine_native_input_free(o,s),!l)for(let e of r)e.pointer!==0&&this.#e._geospec_engine_native_input_free(e.pointer,e.length)}})}subjectHandle(e){return E(this.#e,{bytes:e,copies:this.#t},(e,t)=>this.#e._geospec_engine_native_subject_handle(this.engine(),e,t))}releaseSubject(e){return E(this.#e,{bytes:e,copies:this.#t},(e,t)=>this.#e._geospec_engine_native_release_subject(this.engine(),e,t))}processRequest(e){return E(this.#e,{bytes:e,copies:this.#t},(t,n)=>this.#r&&a(e)?this.#e._geospec_engine_native_exact_cluster_candidate_control(this.engine(),t,n):this.#e._geospec_engine_native_process_request(this.engine(),t,n))}canonicalPlan(e){return E(this.#e,{bytes:e,copies:this.#t},(e,t)=>this.#e._geospec_engine_native_canonical_plan(this.engine(),e,t))}evaluatePlan(e){return E(this.#e,{bytes:e,copies:this.#t},(e,t)=>this.#e._geospec_engine_native_evaluate_plan(this.engine(),e,t))}evaluateClaim(e){return E(this.#e,{bytes:e,copies:this.#t},(e,t)=>this.#e._geospec_engine_native_evaluate_claim(this.engine(),e,t))}observations(){let e=T(this.#e,this.#e._geospec_engine_native_observations(this.engine()));return t(e,this.#t)}engine(){if(this.#n===0)throw new e(`invalid-request`,`GeoSpec WASM engine is closed.`);return this.#n}};const O=e=>{let t=u??[...d.values()].find(e=>e.module!==void 0)?.module??y();return E(t,{bytes:e},(e,n)=>t._geospec_engine_native_canonicalize(e,n))};export{D as MixedWasmBinding,O as canonicalizeMixedWasm,v as initializeMixedWasm};
|