From 3e1677f526baa02179c5646223f48b316e5152e0 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 6 Nov 2026 18:31:03 -0300 Subject: kinds #40, rasters as bounded messages on the wire (ยง17.3 C): a placement over PA_RASTER_MAX is dropped at paint and said once, a kind's frame names its placements by key and their pixels cross before it as `raster` strips of at most 4 MiB over the rows its `src` shows (only those the peer was not sent with the frame before), the peer assembles them by name in a 64 MiB cache let go by least recent use but for what a Shadow shows, a frame naming one it lacks draws its cells and asks once for its pane again, the sender checks every message against wire.max_payload (Debug's panic, release's drop and log) and a reader names an oversized one (said on the client as it joins again, logged at the session) instead of reading it as the link's end, so kinds #21's byte budget goes; wire 23; and pdf.c lays out for a view with pictures over a glyph view until an input chooses (one layout until 7c), so the 110-column window of the stall's repro shows its page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- src/wire.zig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/wire.zig') diff --git a/src/wire.zig b/src/wire.zig index 65b93bf1..3dd08b29 100644 --- a/src/wire.zig +++ b/src/wire.zig @@ -9,6 +9,10 @@ const builtin = @import("builtin"); const pardes = @import("pardes.zig"); const config = @import("pardes_config"); +/// 23: a pane of a kind's frame names its rasters by key, their pixels +/// crossing before it as strips of 4 MiB at most over the rows it shows +/// (screen kind 5), and a replica lacking one asks for its pane again +/// (kind 4); a tick's prefix is on the tape, out of the frame; /// 22: a PDF's pixel scroll (0x1a) is gone with the core's PDF, the pdf /// addon's panes scrolled by the wheel as any kind's are; /// 21: a session's views are `Pardes.views` in its dump and its digest @@ -31,7 +35,7 @@ const config = @import("pardes_config"); /// part B); 14: the hello names a session and /// carries the semantics hash, and a ping is answered (phase 5's /// groundwork); 13: the frames went (phase 3). -pub const version: u16 = 22; +pub const version: u16 = 23; /// The terminal's build and the window's step alike (`semantics`). const family = switch (config.platform) { -- cgit v1.3