You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Enable sending messageID to shell commands #20656
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
feat: add optional messageID to ShellInput