Repository navigation
docs: OpenCode 2.x usage — recommend bili paths, fix stale /acp note - #986
Conversation
📦 Built Package ArtifactBranch: Option A — Install from npm PR tag (recommended)npm install -g billion-context@pr-986Each push to this PR publishes a new version under the Option B — Download artifact
tar xzf billion-context-pr986.tgz
npm install -g packageInstall instructions are refreshed on each push. |
[bot] 🏷 Received — this is the docs PR for #985. I'm reviewing the branch ( |
[bot] 🏷 Review complete — verified against current code, one typo fixed in-place, CI fully green. Mergeable. Diff scope ✅ Docs only: Claim verification (against
Fixed directly on the branch (per review discipline, small fix inside a line this PR already rewrote):
Reported, not touched (kept out of the diff to stay clean):
CI on new head 中文摘要:核对了 PR 里三处文档声明与 |
54d1ee6 to
dac9b8a
Compare
What
Consolidate all scattered OpenCode content in both READMEs into ONE
## OpenCodesection, and document the client-native install paths besidebili plugin install(per review feedback on #985). Rebased onto current master — resolves the previous merge conflict.Changes (README.md + README.zh-CN.md, docs-only)
1. One
## OpenCodesection replaces six scattered spots.### OpenCode 1.xsection, and the### OpenCode 专属说明section.## OpenCodesection before "Running the proxy" with subsections Launcher / Native / Pure proxy / Status (/acp+acp_status) / Legacy opencode-acp sessions (opencode v1: keep opencode-acp legacy sessions working after switching to bili #920) / Caveats. All previously-documented mechanics are preserved (dual-shape V1server()+ V2setup(), entry form by bili install source incl. git-checkout shim dir, self-spawn + watchdog, runtime-info catalog reporting [native] runtime-info protocol: plugins report real model config (model / contextWindow / maxOutput) to the proxy #955, legacy session routing opencode v1: keep opencode-acp legacy sessions working after switching to bili #920, verified versions 2.0.3 / 1.14.46 / 1.18.31).[OpenCode](#opencode).2. Option 1 now documents client-native installs (not only
bili plugin install).dsh plugin --profile <name> add billion-context— the very command the installer drives per profile; same end state, remove through the same channel."plugin": ["billion-context"](bare npm name) into your real config — the package publishesexports["./server"]→dist/agent/opencode-native.js, so opencode loads it via its own Npm.add machinery. With the two caveats the bili installer would have handled: set"compaction": { "auto": false }yourself (the V1/V2 plugins only report compaction boundaries, they never disable auto-compaction — verified insrc/agent/opencode-v2.ts/opencode-native.ts) and back up the file first.bili plugin install <client>writes their config entries for you.3. Structural cleanup from the consolidation: the now-orphaned
#### dshand#### Kimi Codesections are re-leveled to###.Verification
.tmp/rewrite-readme-r3.py, not committed); failed-marker runs restored viagit checkout --before retry.## OpenCode, no leftover### OpenCode 1.x/### OpenCode 专属说明, no stale cross-references (grep clean).package.jsonexports, compaction handling in agent files,PI_NPM_ENTRY(pi usesnpm:form, not bare name — deliberately not claimed as hand-installable).Closes #985