---
title: v0.21.0 — Single-Stream Chat & Linux Support
date: 2026-03-16
version: v0.21.0
---

## New features

**Single-Stream Chat Architecture** — replaced the dual-source merge model with a single-stream source selection pattern. User messages now echo back through the WebSocket, giving one source of truth for the full conversation. Auto-connect on page load, replay-complete signaling, and graceful buffer exhaustion make live sessions rock-solid.

**Linux Keychain Credentials** — added a `secret-tool` backend for reading Claude credentials from GNOME Keyring / Secret Service on Linux. Path scanning is now platform-universal.

**Session Integrity** — one WebSocket per session enforced (second connection closes the first with code 4001). No more stale state from duplicate connections.

**Token & Cost Attribution** — token/cost totals and sub-agent cost breakdowns are now visible in the session UI. Context window breakdown shows Used total and Available capacity.

## Improvements

- Install tracking worker at `get.claudeview.ai` for download analytics
- Cross-platform release script (replaced BSD-only `sed -i`)
- Sidecar rebuilds correctly in preview, start, and dist:test scripts
- Removed macOS-specific `/opt/homebrew` from NPX path scan

## Getting started

```bash
npx claude-view@latest
```
