glasspane-harness 0.4.0 → 0.5.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 +8 -9
- package/README.zh-CN.md +7 -7
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ did what it asked. It sees its own tool output, guesses from prose, and reports
|
|
|
27
27
|
Screenshots don't help: they show *a* moment, not a *change*, and they cannot say whether
|
|
28
28
|
the change was caused by the click.
|
|
29
29
|
|
|
30
|
-
**GlassPane Harness** is a coding agent (an [opencode](https://github.com/anomalyco/opencode)
|
|
30
|
+
**GlassPane Harness** is a coding agent (an [opencode](https://github.com/anomalyco/opencode) upstream fork
|
|
31
31
|
fork) wired to a Swift verification engine through a native `gp_*` tool surface. Every
|
|
32
32
|
action is measured — accessibility-tree diff, pixel diff, crash and responsiveness
|
|
33
33
|
signals — and the engine reports **its own** attribution (`strong` / `soft` / `none`,
|
|
@@ -42,7 +42,7 @@ agent side of it.
|
|
|
42
42
|
## This is a complete coding agent, not a stripped one
|
|
43
43
|
|
|
44
44
|
The verification wiring is the point of this fork, but it is **additive**. Everything
|
|
45
|
-
opencode does, this harness still does — same agents, same tools, same models, same
|
|
45
|
+
upstream opencode does, this harness still does — same agents, same tools, same models, same
|
|
46
46
|
permissions, same LSP and MCP support, same TUI and web app, same SDK and plugin API.
|
|
47
47
|
Nothing was cut to make room for the kernel.
|
|
48
48
|
|
|
@@ -70,10 +70,10 @@ Upstream lets you `auth login` to an opencode account, which unlocks opencode's
|
|
|
70
70
|
model gateway (a first-party provider in the catalog) and remote session sharing. This
|
|
71
71
|
product has no such account, so that surface is removed rather than shipped broken:
|
|
72
72
|
|
|
73
|
-
-
|
|
73
|
+
- upstream's `opencode` provider entry is filtered out of the model catalog
|
|
74
74
|
- `auth login` / `logout` / `switch`, the `/org` command and the org switcher are gone
|
|
75
75
|
- the `/experimental/console*` endpoints and the console-managed-provider state are gone
|
|
76
|
-
- session sharing to opencode's cloud is gone (`share` / `autoshare` config keys too)
|
|
76
|
+
- session sharing to opencode's upstream cloud is gone (`share` / `autoshare` config keys too)
|
|
77
77
|
|
|
78
78
|
**Everything else in the catalog is untouched.** Anthropic, OpenAI, Google, GitHub
|
|
79
79
|
Copilot, Amazon Bedrock, Azure, OpenRouter and the rest are all still there — hundreds of
|
|
@@ -94,10 +94,9 @@ dialog. There is nothing to sign up for and nothing to log into. See
|
|
|
94
94
|
Not shipped, on purpose: the upstream hosted console / enterprise stack (a private harness
|
|
95
95
|
has no use for an organisation-and-quota back office), the Electron desktop app (a second
|
|
96
96
|
batch — it needs signing and notarisation accounts), and the upstream docs *site*
|
|
97
|
-
(
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
stay honest.
|
|
97
|
+
(upstream's Astro/Starlight tree) is **gone from this repository**; the documentation is
|
|
98
|
+
`docs/`, and the console/enterprise/stats trees went with it. They were never part of
|
|
99
|
+
this product, and keeping them meant keeping someone else's product surface in our repo.
|
|
101
100
|
|
|
102
101
|
## Install
|
|
103
102
|
|
|
@@ -180,7 +179,7 @@ Details: [`docs/evidence.md`](docs/evidence.md).
|
|
|
180
179
|
your own API keys
|
|
181
180
|
- [`docs/tools.md`](docs/tools.md) — the `gp_*` surface, argument by argument
|
|
182
181
|
- [`docs/evidence.md`](docs/evidence.md) — attribution, diagnosis, the decision log
|
|
183
|
-
- [`docs/migrate-from-opencode.md`](docs/migrate-from-opencode.md) — what the
|
|
182
|
+
- [`docs/migrate-from-opencode.md`](docs/migrate-from-opencode.md) — what the fork changed versus upstream
|
|
184
183
|
customisation changed, and what deliberately stayed
|
|
185
184
|
- [`docs/release.md`](docs/release.md) — cutting a release, and the npm trusted-publisher
|
|
186
185
|
setup
|
package/README.zh-CN.md
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
|
|
37
37
|
## 这是一个完整的编程 harness,不是被削过头的 fork
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
验证接线是这次分叉的落点,但它是**加法**:上游 opencode 会做的每一件事,这个 harness 都会做——
|
|
40
40
|
同样的 agent、工具、模型、权限,同样的 LSP 与 MCP 支持,同样的 TUI 与 web 应用,同样的
|
|
41
41
|
SDK 与 plugin API。为了塞下内核,没有任何功能被砍掉。
|
|
42
42
|
|
|
@@ -59,10 +59,10 @@ fork-diff vs v1.18.32: 6527/6687 byte-identical, 51 edited, 55 added, 54 deleted
|
|
|
59
59
|
上游可以 `auth login` 登录 opencode 账号,用来解锁 opencode 自家的模型网关(目录里的第一方
|
|
60
60
|
provider)和云端会话分享。本产品没有这个账号,所以这片面是**删掉**而不是留一个跑不通的壳:
|
|
61
61
|
|
|
62
|
-
-
|
|
62
|
+
- 上游目录里的 `opencode` provider 条目被过滤掉
|
|
63
63
|
- `auth login` / `logout` / `switch`、`/org` 命令、组织切换器全部移除
|
|
64
64
|
- `/experimental/console*` 端点与 console 托管 provider 状态全部移除
|
|
65
|
-
-
|
|
65
|
+
- 分享会话到上游 opencode 云端的能力移除(`share` / `autoshare` 配置键一并移除)
|
|
66
66
|
|
|
67
67
|
**目录里其他一切都原封不动。** Anthropic、OpenAI、Google、GitHub Copilot、Amazon Bedrock、
|
|
68
68
|
Azure、OpenRouter 等等全在——几百个模型——每一个都用**你自己的 API key** 解锁:环境变量、
|
|
@@ -79,9 +79,9 @@ Azure、OpenRouter 等等全在——几百个模型——每一个都用**你
|
|
|
79
79
|
| **SDK** | TypeScript SDK 与 plugin SDK,用来写自己的 `gp_*` 式工具 | 工作区包,随树发布 |
|
|
80
80
|
|
|
81
81
|
**刻意不发**:上游的托管 console / enterprise 栈(私有 harness 不需要"组织与额度后台"这种形态)、
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
上游的**文档站**(`packages/web`)——这两片树已**从本仓删除**;本产品的 canonical 文档是 `docs/`。
|
|
83
|
+
它们从来不属于这个产品,把别人的产品面留在自己仓里只会让私有化变成自欺。Electron 桌面 app 保留在
|
|
84
|
+
树里(产品面,第二批——需要签名与公证账号)。
|
|
85
85
|
|
|
86
86
|
## 安装
|
|
87
87
|
|
|
@@ -147,7 +147,7 @@ glasspane-harness --help
|
|
|
147
147
|
- [`docs/install.md`](docs/install.md) — 安装通道、权限、自检
|
|
148
148
|
- [`docs/tools.md`](docs/tools.md) — 逐个参数的 `gp_*` 参考
|
|
149
149
|
- [`docs/evidence.md`](docs/evidence.md) — 归因、诊断、决策日志
|
|
150
|
-
- [`docs/migrate-from-opencode.md`](docs/migrate-from-opencode.md) —
|
|
150
|
+
- [`docs/migrate-from-opencode.md`](docs/migrate-from-opencode.md) — 相对上游改了什么、刻意留了什么
|
|
151
151
|
- [`docs/troubleshooting.md`](docs/troubleshooting.md) — 引擎不可达、权限拒绝、`GP_E_*` 码表
|
|
152
152
|
- [`FORK.md`](FORK.md) / [`SYNCLOG.md`](SYNCLOG.md) — 分叉坐标、纪律、每批实测数字;
|
|
153
153
|
[`NOTICE`](NOTICE) — 署名;[`CHANGELOG.md`](CHANGELOG.md) — 每个版本发了什么
|
package/package.json
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"scripts": {
|
|
26
26
|
"postinstall": "node ./postinstall.mjs"
|
|
27
27
|
},
|
|
28
|
-
"version": "0.
|
|
28
|
+
"version": "0.5.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.
|
|
48
|
-
"glasspane-harness-darwin-x64": "0.
|
|
47
|
+
"glasspane-harness-darwin-arm64": "0.5.1",
|
|
48
|
+
"glasspane-harness-darwin-x64": "0.5.1"
|
|
49
49
|
}
|
|
50
50
|
}
|