glasspane-harness 0.7.0 → 0.7.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
@@ -113,6 +113,12 @@ curl -fsSL https://raw.githubusercontent.com/jingzhao-l/glasspane-harness/main/s
113
113
 
114
114
  Two commands are installed: **`glasspane-harness`** and the short alias **`gp-harness`**.
115
115
 
116
+ Some package managers do not run install scripts by default, and the wrapper's
117
+ `postinstall` is what places the real binary. Measured on 0.7.0: npm installs fine (npm 11+
118
+ may print an `allow-scripts` notice on the first install; the command still works), while
119
+ `bun add -g` skips that step and the command then prints its own remedy — run the one line
120
+ it names. See [docs/install.md](docs/install.md#channels).
121
+
116
122
  **macOS only.** The engine, the permission model and the evidence pipeline exist only on
117
123
  macOS, so the npm distribution is macOS-only too: the package declares `os: darwin` and
118
124
  npm refuses the install elsewhere instead of handing you a binary that cannot run. There
package/README.zh-CN.md CHANGED
@@ -93,6 +93,11 @@ curl -fsSL https://raw.githubusercontent.com/jingzhao-l/glasspane-harness/main/s
93
93
 
94
94
  会装出两个命令:**`glasspane-harness`** 与短别名 **`gp-harness`**。
95
95
 
96
+ 有的包管理器默认不跑安装脚本,而把真二进制放到位的正是 wrapper 的 `postinstall`。
97
+ 0.7.0 实测:npm 这条路是好的(npm 11+ 首次安装会打一条 `allow-scripts` 提示,命令照样能跑);
98
+ `bun add -g` 会跳过那一步,命令于是打印它自己的补救——照它点名的一行执行即可。
99
+ 详见 [docs/install.md](docs/install.md)。
100
+
96
101
  **只支持 macOS。** 引擎、权限模型、证据流水线都只存在于 macOS,npm 分发随之收成
97
102
  macOS-only:包声明 `os: darwin`,非 macOS 上 npm 直接拒绝安装,而不是给你一个跑不了的
98
103
  二进制。**没有 Linux / Windows 构建,这是决定,不是遗漏。**
package/package.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "scripts": {
26
26
  "postinstall": "node ./postinstall.mjs"
27
27
  },
28
- "version": "0.7.0",
28
+ "version": "0.7.1",
29
29
  "license": "MIT",
30
30
  "os": [
31
31
  "darwin"
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "sideEffects": false,
46
46
  "optionalDependencies": {
47
- "glasspane-harness-darwin-arm64": "0.7.0",
48
- "glasspane-harness-darwin-x64": "0.7.0"
47
+ "glasspane-harness-darwin-arm64": "0.7.1",
48
+ "glasspane-harness-darwin-x64": "0.7.1"
49
49
  }
50
50
  }