v0.6.0 — Terminal UI, Named Chats, Embedded Dashboard
What's New
Terminal UI (agentd-tui)
A full Bubble Tea terminal client for agentruntime. Glamour markdown rendering, scroll-follow mode, session history loaded from logs API, auto-reconnect on dead sessions, and --create for auto-provisioning chats. Marked experimental — known gaps documented in the repo.
Named Persistent Chats
Full chat session lifecycle: REST API, CLI (agentd chat attach), daemon-integrated registry/manager. Sessions respawn automatically, resume Claude context across restarts, and support deep-merge config PATCH.
Dashboard Embedded
Dashboard assets are now go:embed'd into the agentd binary. No external file dependency. Adds a session history tab backed by NDJSON logs.
Cost Estimation
Token-based cost estimation on result events. Captures cost_usd directly from Claude's native event output when present.
Config Auto-Discovery
Full replication of Claude Code and Codex CLI config discovery cascade — project root walk, home dir, XDG, env overrides.
Install & Service Scripts
install.sh / uninstall.sh with launchd (macOS) and systemd (Linux) service wiring. Expands ~ in plist, adds ~/.local/bin to PATH.
Bug Fixes
- Docker AGENT_PROMPT newlines — base64-encode prompt in env var; sidecar decodes. Fixes Docker rejecting multi-line prompts (closes #2).
- Interactive sidecar: route stdin through
SendPrompt, disable result grace period, guard concurrent floods. - Replay: coalesce deltas, filter heartbeat/hook noise, handle raw NDJSON in stdout frames.
- TUI: arrow keys and mouse scroll, ctrl+c reliability, event noise suppression.
- Codex: disable bubblewrap sandbox inside Docker containers.