@42ailab/42plugin 0.2.31 → 0.2.32

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/bin/42plugin +2 -1
  2. package/package.json +11 -6
package/bin/42plugin CHANGED
@@ -147,7 +147,8 @@ if (binPath) {
147
147
  }
148
148
 
149
149
  if (!resolvedPath) {
150
- console.error(`错误: 找不到平台二进制包 ${binPath.split("/")[0]}`);
150
+ const packageName = binPath.split("/bin/")[0];
151
+ console.error(`错误: 找不到平台二进制包 ${packageName}`);
151
152
  console.error("");
152
153
 
153
154
  if (argv.includes("--diagnose") || argv.includes("--debug")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@42ailab/42plugin",
3
- "version": "0.2.31",
3
+ "version": "0.2.32",
4
4
  "description": "42plugin CLI - AI 插件管理工具",
5
5
  "bin": {
6
6
  "42plugin": "bin/42plugin",
@@ -13,6 +13,11 @@
13
13
  "scripts": {
14
14
  "postinstall": "node postinstall.js"
15
15
  },
16
+ "os": [
17
+ "darwin",
18
+ "linux",
19
+ "win32"
20
+ ],
16
21
  "keywords": [
17
22
  "claude",
18
23
  "claude-code",
@@ -31,10 +36,10 @@
31
36
  "node": ">=18.0.0"
32
37
  },
33
38
  "optionalDependencies": {
34
- "@42ailab/42plugin-darwin-arm64": "0.2.31",
35
- "@42ailab/42plugin-darwin-x64": "0.2.31",
36
- "@42ailab/42plugin-linux-arm64": "0.2.31",
37
- "@42ailab/42plugin-linux-x64": "0.2.31",
38
- "@42ailab/42plugin-win32-x64": "0.2.31"
39
+ "@42ailab/42plugin-darwin-arm64": "0.2.32",
40
+ "@42ailab/42plugin-darwin-x64": "0.2.32",
41
+ "@42ailab/42plugin-linux-arm64": "0.2.32",
42
+ "@42ailab/42plugin-linux-x64": "0.2.32",
43
+ "@42ailab/42plugin-win32-x64": "0.2.32"
39
44
  }
40
45
  }