Skip to content

[FEATURE]: opentui: Replace subcommands attach, spawn, thread with flags #3607

Closed

Description

@veracioux

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

In the current design, the spawn and attach subcommands are lacking in options compared to the main opencode command (currently defined in thread.ts). I think it would make more sense to have a single command with all those variants exposed as CLI flag(s).

I personally use all those variants during development depending on the use case, and I would like to have all the options available for each of them.

I am aware that the attach command is also in mainline OC. We can keep that command for backward compat.

The following issue would be addressed by this: #3188
We can implement it only in the opentui branch, since opentui should become mainline soon.

I volunteer to implement.

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Oct 31, 2025
  2. github-actions commented on Oct 31, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    • opencode run --attach <server> #3188: Requests adding --attach flag to 'opencode run' command - this is specifically mentioned in your issue description as being addressed by your proposal, so there may be overlap in the solution space

    Feel free to ignore if none of these address your specific case.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionUsed for feature requests, proposals, ideas, etc. Open discussion

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions