Skip to content

feat: negotiate client-independent prompt suggestions - #764

Open
milad-alizadeh wants to merge 2 commits into
agentclientprotocol:mainfrom
milad-alizadeh:feat/shared-prompt-suggestions
Open

milad-alizadeh wants to merge 2 commits into
agentclientprotocol:mainfrom
milad-alizadeh:feat/shared-prompt-suggestions

Conversation

@milad-alizadeh

@milad-alizadeh milad-alizadeh commented Nov 14, 2026 •

Copy link
Copy Markdown

Summary

Adds the experimental client-independent promptSuggestions capability to ACP v1 and v2. Each Prompt supplies explicit consent and an opaque correlation identifier. Existing AIR behavior remains available.

negotiate capability → consent per Prompt → sample after completion → correlated optional prediction

Refs #763. Uses the existing authenticated sample path. New Prompts invalidate older samples.

Evidence

  • 43 focused suggestion tests passed; typecheck and build passed.
  • A signed-in raw ACP run negotiated the extension and received a nonempty prediction carrying its original Prompt identifier.
  • Full adapter unit suite passed after updating the initialize protocol baselines for the new capability.

Merge Danger

Door: two-way

Blast Radius: suggestions

Experimental metadata extension; no generation without negotiation and per-Prompt consent.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant