Skip to content

Preserve metadata on session message chunks#107

Merged
anna239 merged 1 commit into
agentclientprotocol:masterfrom
nikita-ashihmin:preserve-message-chunk-meta
Jul 11, 2026
Merged

Preserve metadata on session message chunks#107
anna239 merged 1 commit into
agentclientprotocol:masterfrom
nikita-ashihmin:preserve-message-chunk-meta

Conversation

@nikita-ashihmin

Copy link
Copy Markdown
Contributor

Summary

  • make user, agent, and thought message chunks implement AcpWithMeta
  • preserve nested provider metadata during serialization and active prompt delivery
  • add generic round-trip and nested SessionNotification regression coverage

This enables clients to consume optional provider extensions such as the phase metadata introduced by agentclientprotocol/codex-acp#267 without adding provider-specific handling to the SDK.

Verification

  • ./gradlew check (JDK 21)
  • 161 actionable tasks completed successfully

Make user, agent, and thought message chunks implement AcpWithMeta so provider metadata survives serialization and active prompt delivery. Add round-trip coverage for nested session notification metadata.
@anna239 anna239 merged commit 3a56116 into agentclientprotocol:master Jul 11, 2026
1 check passed
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.

2 participants