Skip to content

attach does not accept --auto permission mode #48142

Description

@thisisryanswift

Description

opencode attach rejects --auto, although the regular TUI supports that flag and an attached TUI can enable the same mode from the command palette. Attach should accept --auto and initialize the TUI permission mode consistently.

Plugins

None

OpenCode version

1.17.13

Steps to reproduce

  1. Start an OpenCode server.
  2. Run opencode attach <url> --auto.
  3. Observe that attach prints its help and exits because --auto is unknown.

opencode <project> --auto accepts the same option.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions