@zhin.js/plugin-code-runner 1.0.1 → 2.0.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 +28 -0
  2. package/package.json +3 -3
package/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # @zhin.js/plugin-code-runner
2
+
3
+ Zhin.js plugin for code-runner functionality.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pnpm add @zhin.js/plugin-code-runner
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ Add the plugin to your `zhin.config.yml`:
14
+
15
+ ```yaml
16
+ plugins:
17
+ - @zhin.js/plugin-code-runner
18
+ ```
19
+
20
+ Or via CLI:
21
+
22
+ ```bash
23
+ zhin install @zhin.js/plugin-code-runner
24
+ ```
25
+
26
+ ## Configuration
27
+
28
+ Configure in `zhin.config.yml` under the plugin's key. Refer to the plugin source for available options.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhin.js/plugin-code-runner",
3
- "version": "1.0.1",
3
+ "version": "2.0.1",
4
4
  "description": "Sandboxed code execution plugin for Zhin.js — run code snippets via AI or command",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -36,10 +36,10 @@
36
36
  "dependencies": {},
37
37
  "devDependencies": {
38
38
  "typescript": "^6.0.3",
39
- "zhin.js": "2.0.1"
39
+ "zhin.js": "4.0.1"
40
40
  },
41
41
  "peerDependencies": {
42
- "zhin.js": "2.0.1"
42
+ "zhin.js": "4.0.1"
43
43
  },
44
44
  "repository": {
45
45
  "type": "git",