Repository navigation
fix(opencode): remove verbose logs that flood the TUI - #440
Merged
Merged
Conversation
Remove writeRemoteShareLink stderr output from the OpenCode plugin — the base64 share URL was flooding the TUI on remote sessions. Also strip leftover console.log debug statements from the PR viewed files feature in the review server. Closes #435 For provenance purposes, this commit was AI assisted.
stk-code
pushed a commit
to stk-code/plannotator
that referenced
this pull request
Mar 31, 2026
Remove writeRemoteShareLink stderr output from the OpenCode plugin — the base64 share URL was flooding the TUI on remote sessions. Also strip leftover console.log debug statements from the PR viewed files feature in the review server. Closes backnotprop#435 For provenance purposes, this commit was AI assisted.
4 tasks
backnotprop
added a commit
that referenced
this pull request
May 5, 2026
* fix(remote): notify URL in remote mode for OpenCode and Pi (#551, #574) PR #440 removed writeRemoteShareLink from OpenCode because the base64 share URL flooded the TUI — but no replacement was added. Remote users got zero feedback about where the server was listening. OpenCode: log the short localhost URL via client.app.log() in all onReady callbacks (submit_plan, review, annotate, annotate-last, archive). Pi: check isRemoteSession() directly instead of relying on the openBrowser return value, which only sets isRemote when BROWSER env is unset. Users running via Cursor (which sets BROWSER) now get the notification. * fix(pi): use neutral URL notification for remote sessions The previous wording ("Remote session. Open manually:") implied the browser failed even when BROWSER env successfully opened it via port forwarding. Use a neutral informational message instead.
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.
Summary
writeRemoteShareLinkstderr output from the OpenCode plugin — the base64-encoded share URL was flooding the TUI on remote sessionsconsole.logdebug statements from the PR viewed files feature in the review serverCloses #435
Test plan
PLANNOTATOR_REMOTE=1andPLANNOTATOR_PORT=9999, callsubmit_plan— confirm no share URL floods the TUI