phiat/claude-esp

115 stars · Last commit 2026-04-08

Stream Claude Code's hidden output (thinking, tool calls, subagents) to a separate terminal in real-time

README preview

# claude-esp

[![Go Reference](https://pkg.go.dev/badge/github.com/phiat/claude-esp.svg)](https://pkg.go.dev/github.com/phiat/claude-esp)

Stream Claude Code's hidden output (thinking, tool calls, subagents) to a separate terminal in real-time.

![claude-esp screenshot](docs/screenshot.png)

Looking for the Rust port? See: [claude-esp-rs](https://github.com/phiat/claude-esp-rs)

## The Problem

When using Claude Code interactively, tool outputs and thinking are collapsed by default and require pressing `Ctrl+O` to toggle visibility. This tool lets you watch all that output in a **separate terminal** with a nice TUI, without interrupting your main Claude Code session.

## Features

- **Multi-session support** - Watch all active Claude sessions simultaneously
- **Hierarchical tree view** - Sessions with nested Main/Agent nodes
- **Real-time streaming** - See thinking, tool calls, and outputs as they happen
- **Subagent tracking** - Automatically discovers and displays subagent activity

View full repository on GitHub →