Skip to content

v0.34.27

Choose a tag to compare

@github-actions github-actions released this 01 Dec 08:11
· 8 commits to main since this release
e496246

Changed

  • A running sessionwiki mcp server picks up an upgraded binary without a
    restart (macOS and Linux; #147). An MCP client keeps its server for the whole
    agent session, so after an upgrade every session started earlier kept
    answering, and kept syncing, with the old build until someone restarted the
    server by hand. Before answering each request, the server now checks the
    executable it was started from; when that file was replaced and has not
    changed for two seconds, the server re-executes it in the same process, so
    the connection stays open, and the new build answers the request and tells
    the client to re-read the tool list (the server now advertises
    tools.listChanged). It waits while a background sync is writing the index
    or while more requests are already queued, and a replacement that fails to
    start leaves the running version answering. Set
    SESSIONWIKI_MCP_NO_RELOAD=1 to keep the running version. Servers started
    from 0.34.26 or earlier need one more restart to get this behavior.

Fixed

  • Small plain session files decode invalid UTF-8 lossily and continue reading
    subsequent records. File read errors still propagate.

Added

  • Shared session readers support concatenated .zstd frames, with explicit
    opt-in helpers for concatenated .zst files. When a trailing frame is torn,
    complete lines already decoded are kept and the final partial line is
    discarded, including after a torn block that follows complete blocks of
    the same frame, and a window of head and tail lines never repeats a line.
    An empty .zst or .zstd file is an error. Existing .zst readers,
    including Codex, read the first frame.