---
title: "v0.30.0 — On-Device AI, Hook Events & Sub-Agent Pagination"
date: 2026-04-05
version: v0.30.0
---

## New features

**On-Device AI settings** — redesigned settings card with a provider-agnostic architecture. Select models from a dropdown, connect to any OpenAI-compatible endpoint, and manage local LLM integrations without oMLX-specific tooling.

**Hook events in conversation** — hooks now render as conversation blocks across three paths: live WebSocket streaming, historical API, and JSONL replay. See your pre/post tool hooks inline with the rest of the conversation.

**Sub-agent pagination** — sub-agent block views now paginate, so large agent sessions with hundreds of blocks load incrementally instead of all at once.

**Server-side activity aggregation** — the Activity page now uses a dedicated `rich_activity()` database function, replacing client-side computation with faster, more accurate server-driven data.

## Improvements

**Sidecar memory fix** — removed `listSessions()` which spawned a full CLI process (900MB+ per call) on every invocation. The sidecar health endpoint now includes memory diagnostics for easier monitoring.

**Historical sub-agent sessions** — sub-agent WebSocket connections now fall back through live → recently_closed → database, fixing failures for 99% of sessions that aren't currently live.

**CLI plugin stdout fix** — prevented Node.js stdout truncation at 64KB in CLI plugin commands by switching from pipe to tempfile-based output.

**Block accumulator robustness** — string-content user messages (not just array-content) are now correctly parsed by the block accumulator, fixing silent data loss.

**Architecture cleanup** — centralized session mutations into a shared multiplexed WS hook, extracted pagination to a coordinator-level module, and introduced an AppState builder pattern for the server.

## Getting started

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