@unchartedfr/zapcode 1.0.0 → 1.1.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/npm/darwin-arm64/package.json +1 -1
- package/npm/darwin-arm64/zapcode.darwin-arm64.node +0 -0
- package/npm/darwin-x64/package.json +1 -1
- package/npm/darwin-x64/zapcode.darwin-x64.node +0 -0
- package/npm/linux-arm64-gnu/package.json +1 -1
- package/npm/linux-arm64-gnu/zapcode.linux-arm64-gnu.node +0 -0
- package/npm/linux-x64-gnu/package.json +1 -1
- package/npm/linux-x64-gnu/zapcode.linux-x64-gnu.node +0 -0
- package/npm/linux-x64-musl/package.json +1 -1
- package/npm/linux-x64-musl/zapcode.linux-x64-musl.node +0 -0
- package/npm/win32-arm64-msvc/package.json +1 -1
- package/npm/win32-arm64-msvc/zapcode.win32-arm64-msvc.node +0 -0
- package/npm/win32-x64-msvc/package.json +1 -1
- package/npm/win32-x64-msvc/zapcode.win32-x64-msvc.node +0 -0
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<
|
|
3
|
-
<p align="center"><strong>Run AI code. Safely. Instantly.</strong></p>
|
|
4
|
-
<p align="center">A minimal, secure TypeScript interpreter written in Rust for use by AI agents</p>
|
|
2
|
+
<img src="assets/logo.png" alt="Zapcode" width="160" />
|
|
5
3
|
</p>
|
|
4
|
+
<h1 align="center">Zapcode</h1>
|
|
5
|
+
<p align="center"><strong>Run AI code. Safely. Instantly.</strong></p>
|
|
6
|
+
<p align="center">A minimal, secure TypeScript interpreter written in Rust for use by AI agents</p>
|
|
6
7
|
|
|
7
8
|
<p align="center">
|
|
8
9
|
<a href="https://github.com/TheUncharted/zapcode/actions"><img src="https://img.shields.io/github/actions/workflow/status/TheUncharted/zapcode/ci.yml?branch=master&label=CI" alt="CI"></a>
|
|
@@ -248,6 +249,10 @@ See [`examples/wasm/index.html`](examples/wasm/index.html) for a full playground
|
|
|
248
249
|
|
|
249
250
|
### Vercel AI SDK (@unchartedfr/zapcode-ai)
|
|
250
251
|
|
|
252
|
+
```bash
|
|
253
|
+
npm install @unchartedfr/zapcode-ai ai @ai-sdk/anthropic # or @ai-sdk/amazon-bedrock, @ai-sdk/openai
|
|
254
|
+
```
|
|
255
|
+
|
|
251
256
|
The recommended way — one call gives you `{ system, tools }` that plug directly into `generateText` / `streamText`:
|
|
252
257
|
|
|
253
258
|
```typescript
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unchartedfr/zapcode",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "A minimal, secure TypeScript interpreter for AI agents — Node.js bindings",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.js",
|
|
@@ -62,12 +62,12 @@
|
|
|
62
62
|
"@napi-rs/cli": "^3.5.1"
|
|
63
63
|
},
|
|
64
64
|
"optionalDependencies": {
|
|
65
|
-
"@unchartedfr/zapcode-linux-x64-gnu": "1.
|
|
66
|
-
"@unchartedfr/zapcode-linux-x64-musl": "1.
|
|
67
|
-
"@unchartedfr/zapcode-linux-arm64-gnu": "1.
|
|
68
|
-
"@unchartedfr/zapcode-darwin-x64": "1.
|
|
69
|
-
"@unchartedfr/zapcode-darwin-arm64": "1.
|
|
70
|
-
"@unchartedfr/zapcode-win32-x64-msvc": "1.
|
|
71
|
-
"@unchartedfr/zapcode-win32-arm64-msvc": "1.
|
|
65
|
+
"@unchartedfr/zapcode-linux-x64-gnu": "1.1.1",
|
|
66
|
+
"@unchartedfr/zapcode-linux-x64-musl": "1.1.1",
|
|
67
|
+
"@unchartedfr/zapcode-linux-arm64-gnu": "1.1.1",
|
|
68
|
+
"@unchartedfr/zapcode-darwin-x64": "1.1.1",
|
|
69
|
+
"@unchartedfr/zapcode-darwin-arm64": "1.1.1",
|
|
70
|
+
"@unchartedfr/zapcode-win32-x64-msvc": "1.1.1",
|
|
71
|
+
"@unchartedfr/zapcode-win32-arm64-msvc": "1.1.1"
|
|
72
72
|
}
|
|
73
73
|
}
|