@zhin.js/adapter-sandbox 1.1.8 → 1.1.9

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/CHANGELOG.md +23 -0
  2. package/package.json +21 -22
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @zhin.js/adapter-process
2
2
 
3
+ ## 1.1.9
4
+
5
+ ### Patch Changes
6
+
7
+ - 75e26a6: Raise the supported Node.js range to `>=22.19.0` (was `^20.19.0 || >=22.12.0`). `@zhin.js/ai` depends on undici 8, whose `engines` require Node >=22.19.0; on Node 20 it crashes at import (`webidl.util.markAsUncloneable is not a function`). CI already tests only Node 22 / 24 / 26. `zhin doctor`, `zhin new`, `zhin migrate` and `create-zhin-app` now check for and write the same range.
8
+ - fdc2148: Unblock external plugin authors.
9
+
10
+ - Published manifests no longer expose the source-only `development` export condition (it pointed at `./src/*.ts`, which is not in the tarball, so Vitest 4 and other tools that enable `development` failed to import Zhin packages). Each package now carries `publishConfig.exports` without that condition; `pnpm publish` swaps it in when packing, and the monorepo keeps source-level development.
11
+ - `zhin new` no longer crashes without arguments (uses inquirer `select` instead of the removed `list` prompt; same fix for `zhin onboard` and `zhin pub`). The generated package.json uses `^x.y.z` ranges derived from installed versions instead of `latest`, declares capability packages as optional peers (plus devDependencies for local tests) instead of dependencies, sets `zhin.entry` to `./plugin.js` and builds sibling JavaScript on `prepack`, fixes the adapter template test, and adds `--package-name`. `--skip-install` now also skips the project-root install.
12
+
13
+ - Updated dependencies [75e26a6]
14
+ - Updated dependencies [fdc2148]
15
+ - @zhin.js/adapter@1.1.19
16
+ - @zhin.js/client@1.1.11
17
+ - @zhin.js/console-contract@1.1.2
18
+ - @zhin.js/core@1.1.44
19
+ - @zhin.js/feature-kit@1.1.5
20
+ - @zhin.js/host-http@1.1.6
21
+ - @zhin.js/im-contract@1.1.4
22
+ - @zhin.js/page@1.1.6
23
+ - @zhin.js/skill@1.1.6
24
+ - @zhin.js/logger@1.1.2
25
+
3
26
  ## 1.1.8
4
27
 
5
28
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhin.js/adapter-sandbox",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "Zhin.js Sandbox adapter for Plugin Runtime (WebSocket /sandbox)",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -8,7 +8,6 @@
8
8
  "exports": {
9
9
  ".": {
10
10
  "types": "./lib/index.d.ts",
11
- "development": "./src/index.ts",
12
11
  "import": "./lib/index.js"
13
12
  }
14
13
  },
@@ -48,16 +47,16 @@
48
47
  "dependencies": {
49
48
  "lucide-react": "^0.525.0",
50
49
  "react": "^19.2.8",
51
- "@zhin.js/adapter": "1.1.18",
52
- "@zhin.js/client": "1.1.10",
53
- "@zhin.js/console-contract": "1.1.1",
54
- "@zhin.js/core": "1.1.43",
55
- "@zhin.js/feature-kit": "1.1.4",
56
- "@zhin.js/host-http": "1.1.5",
57
- "@zhin.js/im-contract": "1.1.3",
58
- "@zhin.js/logger": "1.1.1",
59
- "@zhin.js/page": "1.1.5",
60
- "@zhin.js/skill": "1.1.5"
50
+ "@zhin.js/adapter": "1.1.19",
51
+ "@zhin.js/client": "1.1.11",
52
+ "@zhin.js/console-contract": "1.1.2",
53
+ "@zhin.js/core": "1.1.44",
54
+ "@zhin.js/feature-kit": "1.1.5",
55
+ "@zhin.js/host-http": "1.1.6",
56
+ "@zhin.js/im-contract": "1.1.4",
57
+ "@zhin.js/logger": "1.1.2",
58
+ "@zhin.js/page": "1.1.6",
59
+ "@zhin.js/skill": "1.1.6"
61
60
  },
62
61
  "devDependencies": {
63
62
  "@types/react": "^19.2.18",
@@ -65,18 +64,18 @@
65
64
  "typescript": "^6.0.3",
66
65
  "vitest": "^4.1.10",
67
66
  "ws": "^8.21.1",
68
- "@zhin.js/pagemanager": "1.1.6",
69
- "@zhin.js/runtime": "1.1.6",
70
- "zhin.js": "1.1.8"
67
+ "@zhin.js/pagemanager": "1.1.7",
68
+ "@zhin.js/runtime": "1.1.7",
69
+ "zhin.js": "1.1.9"
71
70
  },
72
71
  "peerDependencies": {
73
72
  "react": "^19.0.0",
74
- "@zhin.js/adapter": "^1.1.18",
75
- "@zhin.js/console-contract": "^1.1.1",
76
- "@zhin.js/core": "^1.1.43",
77
- "@zhin.js/host-http": "^1.1.5",
78
- "@zhin.js/page": "^1.1.5",
79
- "zhin.js": "^1.1.8"
73
+ "@zhin.js/adapter": "^1.1.19",
74
+ "@zhin.js/console-contract": "^1.1.2",
75
+ "@zhin.js/core": "^1.1.44",
76
+ "@zhin.js/host-http": "^1.1.6",
77
+ "@zhin.js/page": "^1.1.6",
78
+ "zhin.js": "^1.1.9"
80
79
  },
81
80
  "peerDependenciesMeta": {
82
81
  "react": {
@@ -88,7 +87,7 @@
88
87
  "registry": "https://registry.npmjs.org"
89
88
  },
90
89
  "engines": {
91
- "node": "^20.19.0 || >=22.12.0"
90
+ "node": ">=22.19.0"
92
91
  },
93
92
  "zhin": {
94
93
  "protocol": 1,