@cogitator-ai/wasm-tools 0.7.5 → 0.7.7
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 +2 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -385,6 +385,8 @@ const calcPath = getWasmPath('calc'); // Path to calc.wasm
|
|
|
385
385
|
const jsonPath = getWasmPath('json'); // Path to json.wasm
|
|
386
386
|
```
|
|
387
387
|
|
|
388
|
+
The result is an absolute path, so it works as `wasmModule` everywhere, whatever the package manager layout. With `@cogitator-ai/sandbox` you can also pass the package path `@cogitator-ai/wasm-tools/wasm/calc.wasm`: the WASM executor resolves it from your application (working directory first, then the entry script's directory).
|
|
389
|
+
|
|
388
390
|
### WasmToolManager
|
|
389
391
|
|
|
390
392
|
Manage WASM tools with hot-reload support.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cogitator-ai/wasm-tools",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.7",
|
|
4
4
|
"description": "WASM-based tools for Cogitator agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"node": ">=22.12.0"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@cogitator-ai/types": "0.
|
|
22
|
+
"@cogitator-ai/types": "0.31.0",
|
|
23
23
|
"@extism/extism": "^2.0.0-rc13",
|
|
24
24
|
"chokidar": "^5.0.0",
|
|
25
25
|
"zod": "^4.6.5"
|