Skip to content

[Desktop/Web] Auto-accept permissions gets turned on for every conversation #15589

Closed

Description

@Keyruu

Description

After I enabled auto-accept once for one convo it just gets automatically re-enabled even after I disabled it in the web.

Plugins

No response

OpenCode version

1.2.5

Steps to reproduce

  1. Use opencode web
  2. Enable auto-accept once for a conversation
  3. Create a new conversation and after sending a message the auto-accept gets turned on again

Screenshot and/or share link

No response

Operating System

NixOS Unstable

Terminal

No response

Activity

  1. fmthoma commented on Mar 2, 2026

    @fmthoma

    It's worse than that: Apparently, auto-accept is turned on by default for every new and existing session unless it has been explicitly turned off for that session.

    Here's the problem in the source code:

    This should be return value ?? false, or there should be a global/fallback auto-accept setting that acts as fallback.

  2. kentonv commented on Mar 2, 2026

    @kentonv

    It's even worse: The button is disabled (unclickable) until you submit the first prompt. And then it defaults on. So there is no way to begin a session without auto-accepting permissions. Except I guess to submit the prompt and then very quickly click the toggle before the agent tries to do any commands.

  3. adamdotdevin commented on Mar 2, 2026

    @adamdotdevin
    Member

    We're fixing this. Was a bit of a miscommunication around some core changes that are coming in, and I rushed this change to the frontend. Fix coming shortly.

  4. kentonv commented on Mar 4, 2026

    @kentonv

    Seems to be fixed in 1.2.16, thanks.

  5. adamdotdevin commented on Mar 4, 2026

    @adamdotdevin
    Member

    Fixed in latest

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingnixwebRelates to opencode on web / desktop

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions