Skip to content

fix: support compress permission 'ask' on OpenCode V2 - #681

Open
Tarquinen wants to merge 1 commit into
devfrom
fix/compress-ask
Open

Tarquinen wants to merge 1 commit into
devfrom
fix/compress-ask

Conversation

@Tarquinen

Copy link
Copy Markdown
Owner

Fixes #655

  • The V2 compress tool asks for approval through OpenCode's permission.assert (added in 2.0.29) when the permission is 'ask', instead of failing. Older hosts still get a clear error.
  • /dcp compress and the TUI status no longer treat 'ask' as blocked.

Tested: unit tests + sandbox on OpenCode 2.3.0: the TUI shows the permission prompt, Allow once compresses (the next request has the compressed block) and Reject stops the step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant