Files
hermes-agent/apps/shared
unsupportedpastels fe6b7dc93d feat(gateway): clients announce themselves once per connection
`client.capabilities` takes an optional `client` label
(`{name, version?, kind?}`): a client sends it as its own call once per
connection, so an older backend refuses only that call. A valid label
is kept on the WebSocket transport (`client_identity`) with an unknown
kind removed; a malformed one answers 4001 before anything else in the
call takes effect, and the connection keeps the label it had. A later
call without `client` keeps it too. Transports that keep no identity
(stdio) ignore it.

The label grants nothing; it is attribution only. Its contract class
moves to contracts/common.py so the liveness contracts can use it
without importing the canonical catalog early.
2026-11-23 11:34:19 -05:00
..