Skip to content

refactor(agui): drop the unenforced protocol_version from the binding handshake - #1685

Merged
edenreich merged 1 commit into
mainfrom
refactor/drop-handshake-protocol-version
Nov 3, 2026
Merged

edenreich merged 1 commit into
mainfrom
refactor/drop-handshake-protocol-version

Conversation

@edenreich

Copy link
Copy Markdown
Contributor

Summary

The daemon binding's handshake carried a protocol_version on the hello and echoed 2 in the ack, but the CLI never enforced it: any hello with a valid token was accepted, a missing field was only logged. This drops it from the hello every CLI client sends (TUI, daemon subcommands, subagents, peer daemons), from the ack, from the missing-field warning and the connect/disconnect log fields, and from docs/browser-extension-protocol.md and docs/ag-ui-output.md.

The protocol_version: 1 inside browser_extension_status is that frame's own schema version and stays.

Closes #1684

Cross-repo

no docs ticket beyond #1079: internal-only refactor of the handshake.

Tests

TestBindingAcksAHelloOfAnyClientKind checks the ack is the type alone, the hello-attr test now reads extension_version, and the e2e daemon test no longer asserts the ack version.

… handshake

The binding never rejected a hello over its version and only logged it, so
the hello and its ack no longer carry one. The browser_extension_status
frame keeps its own schema version.

Closes #1684
@edenreich
edenreich requested a review from a team as a code owner November 3, 2026 00:08
@github-project-automation github-project-automation Bot moved this to Todo in 2026 Nov 3, 2026
@edenreich
edenreich merged commit 6387b46 into main Nov 3, 2026
1 check passed
@edenreich
edenreich deleted the refactor/drop-handshake-protocol-version branch November 3, 2026 00:10
@edenreich edenreich moved this from Todo to Done in 2026 Nov 3, 2026
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.241.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

released Shipped in a release

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[TASK] Refactor remove the unenforced protocol_version from the daemon binding handshake

1 participant