[FEATURE]: Support ACP annotation.audience by mapping to ignored & synthetic #6918

Closed
opened 2026-02-16 18:05:36 -05:00 by yindo · 1 comment
Owner

Originally created by @noamzbr on GitHub (Jan 20, 2026).

Originally assigned to: @rekram1-node on GitHub.

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

ACP defines an audience field for their ContentBlock Annotations.

This field can have an array of one or both of two Roles:

  • assistant
  • user

This ACP feature maps exactly to opencode TextPartInput synthetic and ignored fields:

  • An assistant only message should only be shown to the agent - maps to synthetic
  • An user only message should only be shown to the user - maps to ignored
Originally created by @noamzbr on GitHub (Jan 20, 2026). Originally assigned to: @rekram1-node on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request ACP defines an audience field for their [ContentBlock](https://agentclientprotocol.com/protocol/schema#contentblock) [Annotations](https://agentclientprotocol.com/protocol/schema#annotations). This field can have an array of one or both of two [Roles](https://agentclientprotocol.com/protocol/schema#role): - `assistant` - `user` This ACP feature maps exactly to opencode TextPartInput synthetic and ignored fields: - An `assistant` only message should only be shown to the agent - maps to synthetic - An `user` only message should only be shown to the user - maps to ignored
yindo added the discussion label 2026-02-16 18:05:36 -05:00
yindo closed this issue 2026-02-16 18:05:36 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 20, 2026):

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

  • #8766: Migrate synthetic message detection to metadata-based approach - proposes infrastructure for synthetic field handling
  • #9217: ACP session replay drops file attachment metadata - discusses synthetic field usage in ACP context
  • #8700: GH Copilot | synthetic user messages burn premium requests - describes the problem synthetic field addresses
  • #8030: Copilot auth now sets far too many requests as 'user' - related to synthetic message mishandling

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

@github-actions[bot] commented on GitHub (Jan 20, 2026): This issue might be a duplicate of existing issues. Please check: - #8766: Migrate synthetic message detection to metadata-based approach - proposes infrastructure for synthetic field handling - #9217: ACP session replay drops file attachment metadata - discusses synthetic field usage in ACP context - #8700: GH Copilot | synthetic user messages burn premium requests - describes the problem synthetic field addresses - #8030: Copilot auth now sets far too many requests as 'user' - related to synthetic message mishandling Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6918