glasspane-harness 0.12.2 → 0.12.4
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 +6 -3
- package/README.zh-CN.md +5 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -157,10 +157,13 @@ npm install -g glasspane-harness
|
|
|
157
157
|
bun add -g glasspane-harness
|
|
158
158
|
|
|
159
159
|
# or one-click (npm first, GitHub release asset as fallback)
|
|
160
|
-
curl -fsSL https://raw.githubusercontent.com/jingzhao-l/glasspane-harness/v0.12.
|
|
160
|
+
curl -fsSL https://raw.githubusercontent.com/jingzhao-l/glasspane-harness/v0.12.4/scripts/install.sh | bash
|
|
161
161
|
```
|
|
162
162
|
|
|
163
|
-
Two commands are installed: **`glasspane-harness`** and the short alias **`gp-harness`**.
|
|
163
|
+
Two commands are installed: **`glasspane-harness`** and the short alias **`gp-harness`**. npm and
|
|
164
|
+
bun get the alias from the wrapper's `bin` map; the release asset carries one binary, so on the
|
|
165
|
+
one-click channel `scripts/install.sh` creates the alias beside it and refuses the install if that
|
|
166
|
+
name is not executable.
|
|
164
167
|
|
|
165
168
|
Some package managers do not run install scripts by default, and the wrapper's
|
|
166
169
|
`postinstall` is what places the real binary. Measured on 0.7.0: npm installs fine (npm 11+
|
|
@@ -275,7 +278,7 @@ layer, [`iterate-kernel`](https://www.npmjs.com/package/iterate-kernel), and the
|
|
|
275
278
|
stated honestly: whether the two implementations still agree on a case the corpus never wrote
|
|
276
279
|
down is answered by `scripts/diff_kernel_implementations.py`, an operator command rather than a
|
|
277
280
|
CI step. The exchange from the loop's side is documented in the iterate-harness README
|
|
278
|
-
([
|
|
281
|
+
([Two-way integration with GlassPane](https://github.com/jingzhao-l/iterate-harness#-two-way-integration-with-glasspane)),
|
|
279
282
|
and from the engine's side in [GlassPane's two-way integration section](https://github.com/jingzhao-l/GlassPane#two-way-integration-with-the-review-loop).
|
|
280
283
|
Implementation detail: [`docs/kernel-integration.md`](docs/kernel-integration.md) and
|
|
281
284
|
[`docs/evidence.md`](docs/evidence.md).
|
package/README.zh-CN.md
CHANGED
|
@@ -135,10 +135,12 @@ Azure、OpenRouter 等等全在——几百个模型——每一个都用**你
|
|
|
135
135
|
```bash
|
|
136
136
|
npm install -g glasspane-harness # 推荐
|
|
137
137
|
bun add -g glasspane-harness
|
|
138
|
-
curl -fsSL https://raw.githubusercontent.com/jingzhao-l/glasspane-harness/v0.12.
|
|
138
|
+
curl -fsSL https://raw.githubusercontent.com/jingzhao-l/glasspane-harness/v0.12.4/scripts/install.sh | bash
|
|
139
139
|
```
|
|
140
140
|
|
|
141
|
-
会装出两个命令:**`glasspane-harness`** 与短别名 **`gp-harness`**。
|
|
141
|
+
会装出两个命令:**`glasspane-harness`** 与短别名 **`gp-harness`**。npm 与 bun 从 wrapper 的
|
|
142
|
+
`bin` 映射拿到这个别名;发布资产里只有一个二进制,所以一键通道由 `scripts/install.sh` 在它旁边
|
|
143
|
+
创建这个别名,并且那个名字不可执行时就拒绝这次安装。
|
|
142
144
|
|
|
143
145
|
有的包管理器默认不跑安装脚本,而把真二进制放到位的正是 wrapper 的 `postinstall`。
|
|
144
146
|
0.7.0 实测:npm 这条路是好的(npm 11+ 首次安装会打一条 `allow-scripts` 提示,命令照样能跑);
|
|
@@ -230,7 +232,7 @@ GlassPane Harness 是第二对产品里的一半。引擎回答"这次操作到
|
|
|
230
232
|
[`iterate-kernel`](https://www.npmjs.com/package/iterate-kernel),边界也说清楚:
|
|
231
233
|
"两份实现对语料没写过的案子还一致吗"由 `scripts/diff_kernel_implementations.py` 回答——它是给操作者
|
|
232
234
|
跑的命令,不在 CI 步骤里。回路那一侧的说明见 iterate-harness README 的
|
|
233
|
-
[GlassPane
|
|
235
|
+
[与 GlassPane 的双向集成](https://github.com/jingzhao-l/iterate-harness/blob/main/README.zh-CN.md#-与-glasspane-的双向集成),
|
|
234
236
|
引擎那一侧见 [GlassPane 的双向集成小节](https://github.com/jingzhao-l/GlassPane#two-way-integration-with-the-review-loop)。
|
|
235
237
|
实现细节:[`docs/kernel-integration.md`](docs/kernel-integration.md) 与
|
|
236
238
|
[`docs/evidence.md`](docs/evidence.md)。
|
package/package.json
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"scripts": {
|
|
26
26
|
"postinstall": "node ./postinstall.mjs"
|
|
27
27
|
},
|
|
28
|
-
"version": "0.12.
|
|
28
|
+
"version": "0.12.4",
|
|
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.12.
|
|
48
|
-
"glasspane-harness-darwin-x64": "0.12.
|
|
47
|
+
"glasspane-harness-darwin-arm64": "0.12.4",
|
|
48
|
+
"glasspane-harness-darwin-x64": "0.12.4"
|
|
49
49
|
}
|
|
50
50
|
}
|