Repository navigation
Trust answers before the prompt draws; Subagents answers permissions - #52
Merged
Merged
Conversation
… /trust keeps up - Trust (OpenCode 2): the agent half answers in permission.evaluate, before a request exists, so OpenCode's card no longer flickers in bursts. The interface publishes its rules for it. - Subagents: a permission card in the pane (y / Y / n), an always-visible message box (tab or click), and a drag passes through as a selection. - Trust: folders outside the project are counted and suggested ($TMPDIR as one family), never learned; a family is the same in every folder; placed commands read command-first. - Trust: /trust repaints in 3-4ms instead of ~470ms on a 13k-command ledger. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Air inside the permission card, its keys in the card's warning tone rather than the accent, the message box two rows under a card, a gap before the hints, and the box no longer repeats the footer's [tab] Message. Seen on the first real run: three panels edge to edge read as one wall. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
For 0.11.1.
Trust
permission.evaluatebefore a request exists, so OpenCode's card no longer flickers when prompts come in bursts. The hook andtool.execute.beforewere read from the 2.0.18 binary. The interface writes a rules snapshot (rules.json, permission fields only) for the agent half to use. If the agent half can't decide, the interface answers as before. OpenCode 1 is unchanged.external_directory) are counted by folder. All temp folders count as one family,$TMPDIR/. They are suggested, never learned. Home,~/.ssh,/etcand the like are never suggested.(in x)place. Widenings recorded with a place before now fold into the plain family./trustspeed: repaints went from about 470 ms to 3–4 ms on a 13k-command ledger. Pure readers are memoized, and the model is cached by ledger revision.Subagents
yallows once,Yalways,nrejects. Works on OpenCode 1 and 2.tabor a click starts typing.mis removed.Checks
bun run check: 2,554 pass, 0 fail.🤖 Generated with Claude Code