Repository navigation
fix: document contributor command surface, published surface, and OPENCODE_VIEWER_HOST (#239) - #289
Merged
Merged
Conversation
…nd OPENCODE_VIEWER_HOST row (#239)
WhollyMindless
approved these changes
Nov 4, 2026
WhollyMindless
left a comment
Contributor
There was a problem hiding this comment.
APPROVE, scoped to documentation at bot head e71bf02c6fdff1940ee85b39973136a2d9efb539 against #239. No blocking finding.
Independently checked the new statements against the tree and live repository settings:
ci.ymlruns typecheck + lint inlint, unit tests in both OS jobs, and E2E insmoke. The live main ruleset requires exactlylint,test,smoke;test-windowsis currently informational.- Both documented exports match
package.json;srcis infiles. The packed-load test usesinstallPacked(), which installs the artifact with--omit=dev. - Viewer bind uses
OPENCODE_VIEWER_HOST || "127.0.0.1"; the new warning matches this head's unauthenticated implementation.
The #277 authentication-documentation dependency is already explicitly identified in the PR body; no duplicate finding. That warning should be reconciled with whichever behavior is merged. I reviewed source/configuration only and did not rerun tests for these five README additions.
|
🎉 This PR is included in version 0.15.30 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #239
What changed
README only — three additions, all inside the ticket's fix direction:
bun run typecheckruns inside the CI job namedlint, so a greenlintcheck silently implies tsc — the trap the ticket named. The sentence also mapstest→ thetestjob (re-run intest-windows, informational) andtest:e2e→ thesmokejob. Verified against.github/workflows/ci.ymlat the merge-base: thelintjob's steps arebun run typecheckthenbun run lint.exportsis the only import surface (.→index.ts,./tui→src/tui/panel.tsx);filesis the packaging list; a new top-level file or runtime-read path missing fromfilesworks from the checkout and vanishes from the npm artifact, and the packed-artifact load ine2e/turns that miss red.OPENCODE_VIEWER_HOSTrow in the env table, with the same plain-HTTP warning theOPENCODE_VIEWER_ALLOWED_HOSTSrow and the Surfaces section use. Semantics read fromsrc/viewer/server.ts:48(process.env.OPENCODE_VIEWER_HOST || "127.0.0.1").Ticket state at the checked sha
Reproduced at main
cb68647c6301a85dc766d12f91ac90a0c5c9042e. The Finding's claim that "bun run gateappears nowhere" is now stale — the Development section already documentsgate/gate:hooks. The three fix-direction items above were all still absent, so the ticket was built, not closed.Acceptance criteria and evidence
grep -c "bun run typecheck" README.md→ 1 at head, 0 at merge-base; the mapping sentence names thelint,test,test-windowsandsmokejobs.package.json,exportsandfiles; absent at merge-base (grep -n '"exports"\|"files"\|package.json' README.md→ none atcb68647).OPENCODE_VIEWER_HOSTrow: present with the plain-HTTP warning; at merge-base the table had onlyOPENCODE_VIEWER_PORTandOPENCODE_VIEWER_ALLOWED_HOSTS.Docs-only change — no behaviour change, so no new failing test applies; the criteria are README presence checks measured above.
Commands run (measured)
bun run typecheck— clean.bun run lint— clean (biome lint exit 0, warnings advisory;format:check224 files clean).bun run test— 942 pass / 19 skip / 0 fail (92 files).bun run test:e2e— 30 pass / 0 fail (8 files), run by the pre-push merge gate (src/untouched, so e2e was not required; it ran anyway and is reported).Deliberately not changed
package.jsonedits — README only.Selection note
The
239 in:bodyopen-PR check returned #277, which is the PR for #223 and only cross-references this ticket ("README … belong to #239") — it closes #223, not #239, and touches no README line, so there is no duplicate-PR conflict here.