diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-31 06:28:48 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-31 06:28:48 -0300 |
| commit | a479792a1ab2b593642d7f648194bfa23ce01dba (patch) | |
| tree | 96ddee7d879a9084daa07db43b0b7910b072a785 /src/CHANGELOG.md | |
| parent | e179cc44fe5060c76a5b00c41e53f11209f5acd9 (diff) | |
| parent | 4c761893e5b3fdae422622cfa02104ab36633045 (diff) | |
| download | pardes-a479792a1ab2b593642d7f648194bfa23ce01dba.tar.gz pardes-a479792a1ab2b593642d7f648194bfa23ce01dba.zip | |
Merge the upstream daemon and replicated client/server refactor
Diffstat (limited to 'src/CHANGELOG.md')
| -rw-r--r-- | src/CHANGELOG.md | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md index 4466ad26..86cc8733 100644 --- a/src/CHANGELOG.md +++ b/src/CHANGELOG.md @@ -2,6 +2,41 @@ ## Unreleased +- A mount keeps its connection, and sends each walk, open and first + read or write together: an operation through it is one round trip + (two for a directory or a file of no stated length) where it was six + or seven, and a file of known length is read ahead. A large remote + file opens however slow the link (reads are timed by their progress; + 1.3 MB at 80 ms used to time out). docs/next-daemon.md, phase 6. +- The daemon also listens on `pardes-replica.sock`, a stream socket `ssh + -L` can forward, for the replicated clients to come (docs/next-daemon.md, + phase 5): a hello names a session and the client's build, another + build is refused in words, and an accepted connection is handed to its + session, which so far only welcomes it and answers pings. + `pardes --version` prints that build's semantics hash on a second line. +- One `pardes --daemon` per user keeps sessions, started by the first + session and gone once it keeps nothing. `pardes` in a terminal forks + its session off and stays as its stub: `Detach` (`SPC s D`), or a + terminal that closes, puts the terminal back and leaves the session + running in place (no fork of the core, no dump), and the stub ends. + `pardes --attach[=name]` in any terminal takes it back there. A + window's Detach closes the window and keeps the process; + `pardes-gui --attach[=name]` opens it again. A terminal session takes a + terminal and a window session a window, and the other is refused in + words. The daemon holds a dup of every shell's pty: a session killed + outright leaves its shells running, and `Adopt` in another session + takes them in as terminal panes (what they showed is gone; a resize + makes them redraw). A hangup never ends a session the daemon keeps (it + is the terminal's end); TERM and INT do, its shells with it. + `PARDES_DAEMON=off` runs a session as before. +- The frame wire goes: `src/detached/server.zig`, `client.zig` and the + cell frames of `wire.zig`, the frontends that drew a session's screen + from them, the smallest-common-grid rule, and the `Attach` word that + switched a session's own terminal to another. A `--detach` session is + now a terminal (or window) session with none attached yet. Attaching + from another machine is gone until the replicated clients + (docs/next-daemon.md, phase 5); `wire.zig` keeps the framing, the hello + and the input events for them. - One PNG and one JPEG decoder in a binary: images decode through wuffs, the decoders ghostty uses (ghostty-vt already links them), and stb_image keeps only the other formats. stb's own inflate and image writer go, as |
