glasspane-harness 0.7.0 → 0.7.3
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 +16 -9
- package/README.zh-CN.md +10 -5
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -52,14 +52,14 @@ That is a measured claim, not a promise. The fork tracks upstream
|
|
|
52
52
|
change:
|
|
53
53
|
|
|
54
54
|
```
|
|
55
|
-
fork-diff vs v1.18.32:
|
|
55
|
+
fork-diff vs v1.18.32: 4668/6713 byte-identical, 259 edited, 81 added, 1705 deleted
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
config/paths/branding, the `gp_*` tool surface, the kernel
|
|
60
|
-
and the packaging scripts. The deleted files are upstream's own
|
|
61
|
-
channels this product does not use (ghcr images, AUR, a Homebrew tap, a
|
|
62
|
-
account) — plus, in 0.4.0, the first-party account surface described below.
|
|
58
|
+
Most of what upstream ships is still byte-for-byte upstream — 4,668 of its 6,632 files. The
|
|
59
|
+
259 edits are concentrated in config/paths/branding, the `gp_*` tool surface, the kernel
|
|
60
|
+
binding, the compaction hook, and the packaging scripts. The deleted files are upstream's own
|
|
61
|
+
publish plumbing for channels this product does not use (ghcr images, AUR, a Homebrew tap, a
|
|
62
|
+
hosted console account) — plus, in 0.4.0, the first-party account surface described below.
|
|
63
63
|
|
|
64
64
|
What "additive" means in practice: if upstream ships a feature in a later release, this
|
|
65
65
|
fork can take it, because the feature is still here to take.
|
|
@@ -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
|
|
@@ -183,8 +189,9 @@ Details: [`docs/evidence.md`](docs/evidence.md).
|
|
|
183
189
|
customisation changed, and what deliberately stayed
|
|
184
190
|
- [`docs/release.md`](docs/release.md) — cutting a release, and the npm trusted-publisher
|
|
185
191
|
setup
|
|
186
|
-
- [`docs/kernel-integration.md`](docs/kernel-integration.md) — the shared kernel,
|
|
187
|
-
|
|
192
|
+
- [`docs/kernel-integration.md`](docs/kernel-integration.md) — the shared kernel, how it
|
|
193
|
+
reaches this fork as a pinned `iterate-kernel` dependency, and how much of the two-way
|
|
194
|
+
integration exists today
|
|
188
195
|
- [`docs/troubleshooting.md`](docs/troubleshooting.md) — engine unreachable, permission
|
|
189
196
|
denials, the `GP_E_*` codes
|
|
190
197
|
- [`FORK.md`](FORK.md) / [`SYNCLOG.md`](SYNCLOG.md) — the fork's coordinates, discipline
|
|
@@ -202,7 +209,7 @@ bun run build --single # product build: CLI + TUI + embedded web app
|
|
|
202
209
|
```
|
|
203
210
|
|
|
204
211
|
The repo-side gates live in the GlassPane repository under `harness/` (hook-liveness,
|
|
205
|
-
fork-diff, kernel-
|
|
212
|
+
fork-diff, kernel-pin, tool-surface, surface-semantics, product-surface,
|
|
206
213
|
brand-surface); their rationale, negative controls and known boundaries are documented in
|
|
207
214
|
`harness/README.md`. Every customisation commit carries the `[gp]` prefix.
|
|
208
215
|
|
package/README.zh-CN.md
CHANGED
|
@@ -45,12 +45,12 @@ SDK 与 plugin API。为了塞下内核,没有任何功能被砍掉。
|
|
|
45
45
|
`harness/tools/fork-diff.mjs` 每次改动都会把本树与那个 tag 逐文件对比:
|
|
46
46
|
|
|
47
47
|
```
|
|
48
|
-
fork-diff vs v1.18.32:
|
|
48
|
+
fork-diff vs v1.18.32: 4668/6713 byte-identical, 259 edited, 81 added, 1705 deleted
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
上游发来的 6,632 个文件里 4,668 个仍逐字节保持上游原样。改动(259 个)集中在 config/paths/品牌、
|
|
52
|
+
`gp_*` 工具面、内核绑定、压缩钩子和打包脚本;删掉的是上游**自己的**发布管道(ghcr 镜像、AUR、
|
|
53
|
+
Homebrew tap、托管 console 账号)——外加 0.4.0 里下面说的第一方账号面。
|
|
54
54
|
|
|
55
55
|
"加法"在实践中的含义:上游后续版本发布的功能,这个 fork 接得住——因为功能还在那里。
|
|
56
56
|
|
|
@@ -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 构建,这是决定,不是遗漏。**
|
|
@@ -161,7 +166,7 @@ bun test --timeout 30000 # 固定点测试(在 packages/opencode 里跑)
|
|
|
161
166
|
bun run build --single # 产品构建:CLI + TUI + 内嵌 web 应用
|
|
162
167
|
```
|
|
163
168
|
|
|
164
|
-
仓侧的闸住在 GlassPane 仓的 `harness/`(hook-liveness、fork-diff、kernel-
|
|
169
|
+
仓侧的闸住在 GlassPane 仓的 `harness/`(hook-liveness、fork-diff、kernel-pin、
|
|
165
170
|
tool-surface、surface-semantics、product-surface、brand-surface),理由、反向控制与已知边界
|
|
166
171
|
写在 `harness/README.md`。我们每个定制提交都带 `[gp]` 前缀。
|
|
167
172
|
|
package/package.json
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"scripts": {
|
|
26
26
|
"postinstall": "node ./postinstall.mjs"
|
|
27
27
|
},
|
|
28
|
-
"version": "0.7.
|
|
28
|
+
"version": "0.7.3",
|
|
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.
|
|
48
|
-
"glasspane-harness-darwin-x64": "0.7.
|
|
47
|
+
"glasspane-harness-darwin-arm64": "0.7.3",
|
|
48
|
+
"glasspane-harness-darwin-x64": "0.7.3"
|
|
49
49
|
}
|
|
50
50
|
}
|