Skip to content

[FEATURE]: Enable sending messageID to shell commands #20656

Closed

Description

@noamzbr

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

PromptInput has messageID so that callers can determine the created messageID rather than opencode generating it on the spot. This is useful for bookkeeping on the client side - let's the client own the messageID and use it with other SDK methods - e.g. revert, or matching ACP updates / JRPC logs to client-owned message entities.

ShellInput on the other hand lacks this, and there the message ID is always opencode-generated. Adding this is 2 locs and will help clients do the type of matching described above also for shell messages.

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Apr 2, 2026
  2. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Apr 2, 2026
  3. added a commit that references this issue on Apr 2, 2026
    2d427b2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

acpcoreAnything pertaining to core functionality of the application (opencode server stuff)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