@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 CHANGED
@@ -1,8 +1,9 @@
1
1
  <p align="center">
2
- <h1 align="center">Zapcode</h1>
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unchartedfr/zapcode-darwin-arm64",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "cpu": [
5
5
  "arm64"
6
6
  ],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unchartedfr/zapcode-darwin-x64",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "cpu": [
5
5
  "x64"
6
6
  ],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unchartedfr/zapcode-linux-arm64-gnu",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "cpu": [
5
5
  "arm64"
6
6
  ],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unchartedfr/zapcode-linux-x64-gnu",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "cpu": [
5
5
  "x64"
6
6
  ],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unchartedfr/zapcode-linux-x64-musl",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "cpu": [
5
5
  "x64"
6
6
  ],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unchartedfr/zapcode-win32-arm64-msvc",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "cpu": [
5
5
  "arm64"
6
6
  ],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unchartedfr/zapcode-win32-x64-msvc",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "cpu": [
5
5
  "x64"
6
6
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unchartedfr/zapcode",
3
- "version": "1.0.0",
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.0.0",
66
- "@unchartedfr/zapcode-linux-x64-musl": "1.0.0",
67
- "@unchartedfr/zapcode-linux-arm64-gnu": "1.0.0",
68
- "@unchartedfr/zapcode-darwin-x64": "1.0.0",
69
- "@unchartedfr/zapcode-darwin-arm64": "1.0.0",
70
- "@unchartedfr/zapcode-win32-x64-msvc": "1.0.0",
71
- "@unchartedfr/zapcode-win32-arm64-msvc": "1.0.0"
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
  }