Skip to content

Versioned encoding names in the handshake - #23

Merged
Kinflou merged 1 commit into
mainfrom
feat/versioned-encoding-names
Oct 20, 2026
Merged

Kinflou merged 1 commit into
mainfrom
feat/versioned-encoding-names

Conversation

@Kinflou

@Kinflou Kinflou commented Oct 20, 2026

Copy link
Copy Markdown
Member

Follows ComlineProject/runtime#20 (runtime#14).

  • Runtime pin → c168c49.
  • The simulator's Json / MsgPack / Codec and JSON-RPC framing take their wire names from the runtime's constants (json@1, msgpack@1, jsonrpc@1; datagram was already FRAMING_DATAGRAM, now datagram@1). The frame inspector shows the versioned names.
  • New Codec::label() keeps json / msgpack as the UI and session-link key (what Codec::parse reads), separate from the wire name. Compare labels stay datagram/json etc.

Host tests (137) and the wasm32 check pass.

@Kinflou
Kinflou merged commit 4c064d8 into main Oct 20, 2026
1 check passed
@Kinflou
Kinflou deleted the feat/versioned-encoding-names branch October 20, 2026 03:51
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