Skip to content

v0.15.0

Choose a tag to compare

@github-actions github-actions released this 03 Nov 16:52
· 15 commits to main since this release

v0.15.0 (2026-11-03)

Bug Fixes

  • chat: Align session identities with HTTP URL parsing (977a1bb)

  • chat: Isolate session history and restore conversation state (3f40c76)

  • chat: Preserve drafts and escape literal slash messages (6517905)

  • cli: Handle repeated and oversized watch intervals (380ba69)

  • cli: Reject invalid boolean values and watch intervals (ccf2082)

  • downloads: Write records and sessions through the atomic writer (492c3ab)

write_state used a fixed temp name that write_text would follow and never cleaned up. The record keeps its umask-default mode and exact bytes. The downloader's link check drops the old temp name: the record's directory is still vetted via the record path, and the temp file relies on exclusive creation.

Refs #156.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

  • server: Keep cold starts off the manager lock and re-check idle stops (8153fe8)

A cold start held the global manager lock through the health wait and the prompt-cache restore, so requests for already-loaded models queued behind another model's startup. The idle watcher also checked idleness without the lock and stopped the model after acquiring it without re-checking, so a request claimed in between was cut off.

  • Claim a running, up-to-date model without the lock (no await between the check and the claim; every stop unregisters before its first await). - Release the lock while a started backend waits for health and restores its cache; the model stays registered and marked starting, counts toward capacity, is never evicted, and is not claimable until ready. Further requests for it wait and share it. - Skip the prompt-cache save when stopping a model that never became ready. - Re-check under the lock in the idle watcher before stopping. - Make the model-less fallback wait out a start instead of forwarding to an unready backend.

Refs #115

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

  • server: Never release another task's lock when cancelled mid-relock (9778ce6)

A start or eviction drain that released the manager lock and was cancelled while queued to take it back left without it, and the enclosing async-with then released the lock held by another task. Shield the re-acquire and re-raise the cancellation once the lock is held; a cancelled start still stops its process and settles its waiters.

Plan review finding PC3 on #115.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

  • storage: Close the temp descriptor when fdopen fails (2076e68)

Cleanup only unlinked the path, leaving the exclusively created descriptor open; this shape was copied from the old session and integration writers. Search: grep -rn 'os.fdopen' src -> 2 found, 1 fixed, 1 left

(observe.py:424, the observe record writer, outside #156's scope; deferred).

Refs #156, review B-correctness-1.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

Documentation

  • Consolidate unreleased batch changelog entries (eb9b99b)

  • Record the shared atomic writer (c5ac2dd)

Refs #156.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

  • server: State the lock-free claim contract in ensure_running (e544351)

The ensure_running and _claim_slot docstrings still said a claim needs the manager lock, though the fast path and request_started now claim without it. Describe the no-await rule and the stop-side safeguards.

Code review finding docs-1 on #115.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

Features

  • chat: Keep the message input focused on transcript clicks (115000b)

Clicking a message focused it and clicking empty transcript space focused the scroll container, so typing stopped reaching the composer. Message and the transcript no longer take focus on click (they stay Tab-reachable for Ctrl+Y / Ctrl+B and keyboard scrolling), and a click on the main chat screen that hits no control returns focus to the input. Modal screens and real controls keep their own focus handling; wheel scrolling and mouse text selection are unaffected.

Closes #140

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

Refactoring

  • integrate: Stage agent configs through the atomic writer (23245d2)

_stage keeps its mkdir and copied permissions; stage, commit, backup and rollback are unchanged.

Refs #156.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

  • storage: Add one exclusive-create atomic text writer (c3fffa3)

Readers see the old file or the new one; the temp file has a random, exclusively created name, so a planted file or symlink cannot redirect it, and it is removed on any failure.

Refs #156.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com


Detailed Changes: v0.14.0...v0.15.0