@mcploom/codexec-quickjs 0.1.0 → 0.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.
Files changed (2) hide show
  1. package/README.md +20 -4
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,6 +1,24 @@
1
1
  # @mcploom/codexec-quickjs
2
2
 
3
- QuickJS executor package for `@mcploom/codexec`.
3
+ QuickJS executor backend for `@mcploom/codexec`.
4
+
5
+ [![npm version](https://img.shields.io/npm/v/%40mcploom%2Fcodexec--quickjs?style=flat-square)](https://www.npmjs.com/package/@mcploom/codexec-quickjs)
6
+ [![License](https://img.shields.io/github/license/aallam/mcploom?style=flat-square)](https://github.com/aallam/mcploom/blob/main/LICENSE)
7
+ [![Examples](https://img.shields.io/badge/examples-codexec-0ea5e9?style=flat-square)](https://github.com/aallam/mcploom/tree/main/examples)
8
+ [![CI](https://img.shields.io/github/actions/workflow/status/aallam/mcploom/ci.yml?branch=main&style=flat-square&label=CI)](https://github.com/aallam/mcploom/actions/workflows/ci.yml)
9
+
10
+ ## Choose QuickJS When
11
+
12
+ - you want the easiest codexec backend to install
13
+ - you do not want a native addon in CI or local development
14
+ - you want fresh runtimes, captured `console.*` output, and JSON-only tool boundaries
15
+
16
+ ## Examples
17
+
18
+ - [Basic provider execution](https://github.com/aallam/mcploom/blob/main/examples/codexec-basic.ts)
19
+ - [MCP provider wrapping](https://github.com/aallam/mcploom/blob/main/examples/codexec-mcp-provider.ts)
20
+ - [MCP server wrapper](https://github.com/aallam/mcploom/blob/main/examples/codexec-mcp-server.ts)
21
+ - [Full examples index](https://github.com/aallam/mcploom/tree/main/examples)
4
22
 
5
23
  ## Install
6
24
 
@@ -8,8 +26,6 @@ QuickJS executor package for `@mcploom/codexec`.
8
26
  npm install @mcploom/codexec @mcploom/codexec-quickjs
9
27
  ```
10
28
 
11
- Use this package when you want the smallest, easiest-to-install executor backend for codexec.
12
-
13
29
  ## Usage
14
30
 
15
31
  ```ts
@@ -30,4 +46,4 @@ const result = await executor.execute("await codemode.echo({ ok: true })", [
30
46
  ]);
31
47
  ```
32
48
 
33
- Each execution runs in a fresh QuickJS runtime with captured `console.*` output, timeout handling, and JSON-only tool/result boundaries.
49
+ Each execution runs in a fresh QuickJS runtime with timeout handling, captured logs, and JSON-only result and tool boundaries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcploom/codexec-quickjs",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "QuickJS executor for the mcploom codexec core package.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -41,7 +41,7 @@
41
41
  "homepage": "https://github.com/aallam/mcploom/tree/main/packages/codexec-quickjs#readme",
42
42
  "bugs": "https://github.com/aallam/mcploom/issues",
43
43
  "dependencies": {
44
- "@mcploom/codexec": "^0.1.0",
44
+ "@mcploom/codexec": "^0.2.0",
45
45
  "quickjs-emscripten": "^0.31.0"
46
46
  }
47
47
  }