Repository navigation
Description
Problem
Three user-facing pages tell readers the non-OpenCode adapters are not in the published package. They are. Measured against the tarball npm actually serves for 0.40.0 (https://registry.npmjs.org/opencode-self-improvement/-/opencode-self-improvement-0.40.0.tgz): 11 files under src/adapters/pi/, 11 under src/adapters/oh-my-pi/, and both README.pi.md and README.oh-my-pi.md. The published manifest exports ., ./tui, ./pi and ./oh-my-pi.
The stale claims, verbatim:
README.pi.md— "This adapter is unreleased; use this checkout or a packed copy, not the existing npm release of opencode-self-improvement."README.oh-my-pi.md— "The implementation is under consideration in [PR feat: add oh-my-pi adapter for the shared host interface #561]…; it is not yet in the published npm release."docs/reference/oh-my-pi.md— "It is an unreleased adapter… These changes are not yet in the published npm release; install from this work branch or a package built from it."
Each is followed by install instructions that assume a checkout. A reader who trusts them does the slower, less reproducible install and is told, in the same document, that the easy one does not exist.
Why this is not just a wording fix
The status sentence is straightforward to correct. The install sections are not, because nobody has established what the correct command is on each host: neither page can say "install opencode-self-improvement/pi" until someone has run that against a real Pi and a real oh-my-pi install and seen the tools register. Guessing an install command in a setup guide is worse than the current stale one, because the current one at least works.
Required
- Verify on a real host, for Pi and for oh-my-pi: does the published package's subpath entry point load through the host's own install mechanism? Record the command that worked, verbatim, plus the host and Bun versions. If the answer is no, say so in the page and keep the checkout route as the documented one — that is a real finding, not a failure.
- Replace the "unreleased / not in the published npm release" sentences with what is true: the adapters ship in the published package, they are new, and support means the version they were tested against, which the same paragraph already names.
- Keep the version pins. "Tested with upstream Pi 1.7.0" and "oh-my-pi 19.2.1" are the honest boundary and should get more prominent, not less, once the release claim is corrected.
Acceptance
No user-facing page states that these adapters are absent from the published package. Each install section carries either a command that was run on a real host in this repository's presence, or an explicit "install from a checkout, because ". The tested-version pin is stated in the same section as the status sentence.
Non-goals
Not a claim of support beyond the pinned versions, and no change to which hosts are supported. Related: #596 asks for a Pi page under docs/reference/, which this ticket should not duplicate — if #596 lands first, apply the same corrections there.
Activity
ocsi-architect commentedon Nov 29, 2026
Resolution content for this ticket, verified on a machine with a throwaway
HOMEcontaining nothing but amodels.json— no~/.config, no OpenCode, no checkout.That one line is the whole install. It writes
{"packages":["npm:opencode-self-improvement"]}into~/.pi/agent/settings.jsonand unpacks the published package to~/.pi/agent/npm/node_modules/opencode-self-improvementwith its three runtime dependencies only (@babel/parser,@lezer/markdown,zod). Observed:Installed npm:opencode-self-improvement.The host SDK is not needed at install or at run time.
@earendil-works/pi-coding-agentis a devDependency, and every import of it undersrc/adapters/pi/isimport type, so it is erased during transpile. The installed tree contained no@earendil-worksdirectory and the shipped entry point still loaded and registered its tools in a live session:The store creates itself on first use, no OpenCode present:
$HOME/.config/opencode/memory, modedrwx------, containingevidence/,status/,status.json. Reads and writes both work from there — a session that read a file first gotRemembered: learning in build, stampedrepo=bbafce6053b6. A ref-free write in a session with no engagement was blocked withambiguous_memory(src/gate/gate.ts:881), which is the ordinary grounding rule rather than a cold-start defect;status="open"and/repo-initare the documented ways in.The equivalent for oh-my-pi resolves too —
omp plugin install --dry-run opencode-self-improvementprinted[dry-run] Would install opencode-self-improvement— but it is not executed evidence, so the page must not claim it until someone runs it for real.What this means for the prose
README.pi.mdandREADME.oh-my-pi.mdcurrently document only the local-directory route (pi install .,omp plugin install .) — the developer route, which requires a git checkout that has to stay where it was cloned. The front page already shows the registry route for OpenCode (opencode plugin add opencode-self-improvement,README.md:18) and shows nothing of the kind for the other two hosts, so a person who has never cloned the repository finds no command they can run, plus the stale not-published wording this ticket is about.The replacement sections should lead with the registry install, keep the checkout route under a "working on the plugin" heading, and state the two prerequisites where the install command appears rather than further down: Bun for the shared engine, and for Pi specifically that the session has to start on Bun (#610 and #613 are what make that not the user's problem). Publishing is not blocked by anything here — the package is on the registry and installs from it today.