From c9fa44e6e51dd08442dbaa0f8bd0fc8e34a9a1ef Mon Sep 17 00:00:00 2001 From: mikael-lovqvists-claude-agent Date: Fri, 27 Mar 2026 02:15:14 +0000 Subject: [PATCH] =?UTF-8?q?docs:=20fix=20frame=20format=20packet=20diagram?= =?UTF-8?q?=20=E2=80=94=2016-bit=20word=20width=20for=20clean=20alignment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- docs/protocol.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/protocol.md b/docs/protocol.md index f46aa80..42f94d8 100644 --- a/docs/protocol.md +++ b/docs/protocol.md @@ -29,10 +29,11 @@ flowchart TD Every message on the wire is a frame: ```mermaid +%%{init: {'packet': {'bitsPerRow': 16}}}%% packet-beta 0-15: "message_type" 16-47: "payload_length" -48-79: "payload …" +48-63: "payload …" ``` Total header size: **6 bytes**. `payload_length` is the byte count of the payload only — it does not include the 6-byte header itself.