@agentcontextdistributionprotocol/acdp-wasm 0.14.5 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -3
- package/acdp_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# acdp-wasm — ACDP WebAssembly verification core
|
|
2
2
|
|
|
3
|
-
The **browser / edge
|
|
3
|
+
The **browser / edge** member of the ACDP binding family
|
|
4
4
|
(`bindings/acdp-py`, `bindings/acdp-node`). A pure, **offline**
|
|
5
5
|
cryptographic verifier: it lets a consumer render an ACDP context and
|
|
6
6
|
independently reach a real verification **verdict** — the producer
|
|
@@ -15,7 +15,12 @@ verdicts consume.
|
|
|
15
15
|
It is a standalone Cargo package (its own `[workspace]`) that depends on
|
|
16
16
|
the umbrella `acdp` crate with `default-features = false`, so
|
|
17
17
|
`reqwest` / `tokio` / `rustls` never enter the `.wasm` binary. See
|
|
18
|
-
`docs/research/wasm-target.md` for the design rationale.
|
|
18
|
+
`docs/research/wasm-target.md` for the (historical) design rationale. The
|
|
19
|
+
package is released at the same version as the `acdp` crate; which protocol
|
|
20
|
+
lines each release implements is recorded in the spec's
|
|
21
|
+
[version matrix](https://github.com/agentcontextdistributionprotocol/agentcontextdistributionprotocol/blob/main/docs/version-matrix.md).
|
|
22
|
+
Only `wasm32-unknown-unknown` (browser / bundler / Node via wasm-pack) is
|
|
23
|
+
built and tested; WASI targets are untested.
|
|
19
24
|
|
|
20
25
|
## Design (same rules as the Python / Node bindings)
|
|
21
26
|
|
|
@@ -184,7 +189,7 @@ The backend is the getrandom **`wasm_js` feature** (on the
|
|
|
184
189
|
inert at 0.4.3 and kept for forward compatibility. `uuid` additionally
|
|
185
190
|
needs its own **`js` feature** for its v4 RNG shim. (An older direct
|
|
186
191
|
`getrandom 0.2` dependency with the `js` feature, for the former
|
|
187
|
-
`rand_core 0.6` / `OsRng` path,
|
|
192
|
+
`rand_core 0.6` / `OsRng` path, has been removed; nothing in this
|
|
188
193
|
binding's graph uses 0.2 any more.)
|
|
189
194
|
|
|
190
195
|
Both are wired here, **target-gated to `wasm32` only** (see
|
package/acdp_wasm_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@agentcontextdistributionprotocol/acdp-wasm",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"description": "Agent Context Distribution Protocol — WebAssembly verification core",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.15.1",
|
|
6
6
|
"license": "MIT OR Apache-2.0",
|
|
7
7
|
"files": [
|
|
8
8
|
"acdp_wasm_bg.wasm",
|