Skip to content

Commit c668164

Browse files
committed
chore: bump version to 0.5.0
1 parent e434c87 commit c668164

5 files changed

Lines changed: 106 additions & 53 deletions

File tree

README.md

Lines changed: 102 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p align="center">
2-
<img src="icon.png" alt="claude-code-trace" width="128" />
2+
<img src="icon.png" alt="Claude Code Trace app icon" width="128" />
33
</p>
44

55
# Claude Code Trace
@@ -11,37 +11,54 @@
1111
[![Tauri](https://img.shields.io/badge/tauri-v2-24C8D8?logo=tauri&logoColor=white)](https://v2.tauri.app/)
1212
[![Platform](https://img.shields.io/badge/platform-macOS%20%7C%20Linux%20%7C%20Windows-blue)](https://github.com/delexw/claude-code-trace/releases)
1313

14-
Browse, tail, and search Claude Code session logs in real time. Reads `~/.claude/projects/` JSONL files and renders them as scrollable conversations with expandable tool calls, token counts, and live tailing. Runs as a **native desktop app** (macOS, Linux, Windows), **web app**, or **TUI** — built with Tauri v2 (Rust) + React.
14+
**Claude Code Trace** is a **Claude Code session log viewer** for local JSONL files stored in `~/.claude/projects/`.
15+
16+
Browse, tail, and inspect Claude Code conversations in real time. Claude Code Trace renders Claude Code JSONL session files as readable conversations with expandable tool calls, token counts, timestamps, MCP tool call detection, and live log tailing. It also helps you find sessions by user message. It runs as a **native desktop app** for macOS, Linux, and Windows, a **web app**, or a **terminal UI**.
17+
18+
Use Claude Code Trace when you want to:
19+
20+
- View Claude Code conversation history from `~/.claude/projects/`
21+
- Find Claude Code sessions by user message
22+
- Inspect Claude Code tool calls, MCP calls, timestamps, and token usage
23+
- Monitor live Claude Code sessions while they are running
24+
- Debug long-running Claude Code workflows without reading raw JSONL files
25+
- Browse Claude Code session logs from a desktop, browser, or terminal interface
1526

1627
> Also check out [**Codex Trace**](https://github.com/PixelPaw-Labs/codex-trace) — a session viewer for OpenAI Codex.
1728
1829
<p align="center">
19-
<img src="demo.gif" alt="Demo" />
30+
<img src="demo.gif" alt="Claude Code Trace desktop app showing Claude Code JSONL session logs, messages, and expandable tool calls" />
2031
</p>
2132

22-
## Install
33+
## Features
2334

24-
### Build from source (any platform with Rust + Node.js)
35+
- **Claude Code JSONL viewer** — reads local Claude Code session files from `~/.claude/projects/`
36+
- **Conversation browser** — renders raw JSONL logs as scrollable Claude Code conversations
37+
- **Live tailing** — monitor active Claude Code sessions in real time
38+
- **Session search** — find sessions by user message
39+
- **Tool call inspection** — expand Claude Code tool calls for detailed debugging
40+
- **MCP support** — detects Model Context Protocol tool calls and displays human-friendly names
41+
- **Token visibility** — shows token counts where available in Claude Code session data
42+
- **Desktop, web, and TUI modes** — choose the interface that fits your workflow
43+
- **Cross-platform builds** — supports macOS, Linux, and Windows
2544

26-
```bash
27-
git clone git@github.com:delexw/claude-code-trace.git
28-
cd claude-code-trace
29-
./script/install.sh # builds everything + installs to PATH
45+
## Why use Claude Code Trace?
3046

31-
cctrace # desktop app (default)
32-
cctrace --web # web mode (opens browser)
33-
cctrace --tui # terminal UI
34-
```
47+
Claude Code stores local session history as JSONL files. Those files are useful for debugging and reviewing AI coding sessions, but they are difficult to read directly. Claude Code Trace turns those JSONL logs into an interactive session viewer so you can find sessions by user message, inspect conversations, understand tool usage, and debug Claude Code workflows faster.
48+
49+
Unlike general observability platforms, Claude Code Trace focuses on local Claude Code session logs. It does not require sending traces to an external service.
3550

36-
### Download pre-built
51+
## Install
52+
53+
### Download pre-built app
3754

3855
Grab the latest release from [Releases](https://github.com/delexw/claude-code-trace/releases):
3956

40-
| Platform | File |
41-
| -------- | ------------------------------- |
42-
| macOS | `.dmg` |
43-
| Linux | `.deb`, `.rpm`, `.AppImage` |
44-
| Windows | `.msi`, `.exe` (NSIS installer) |
57+
| Platform | File |
58+
| -------- | --------------------------- |
59+
| macOS | `.dmg` |
60+
| Linux | `.deb`, `.rpm`, `.AppImage` |
61+
| Windows | `.msi`, `.exe` |
4562

4663
> [!IMPORTANT]
4764
> **macOS:** The app is unsigned. After installing, remove the quarantine attribute:
@@ -50,7 +67,21 @@ Grab the latest release from [Releases](https://github.com/delexw/claude-code-tr
5067
> xattr -cr /Applications/Claude\ Code\ Trace.app
5168
> ```
5269
53-
### Run from source (no install)
70+
### Build from source
71+
72+
Use this option if you want to build Claude Code Trace locally on macOS, Linux, or Windows with Rust and Node.js installed.
73+
74+
```bash
75+
git clone git@github.com:delexw/claude-code-trace.git
76+
cd claude-code-trace
77+
./script/install.sh # builds everything + installs to PATH
78+
79+
cctrace # desktop app (default)
80+
cctrace --web # web mode (opens browser)
81+
cctrace --tui # terminal UI
82+
```
83+
84+
### Run from source without installing
5485
5586
```bash
5687
git clone git@github.com:delexw/claude-code-trace.git
@@ -62,7 +93,9 @@ npm run dev:web # web mode (opens browser)
6293
npm run dev:tui # TUI (starts backend + terminal UI)
6394
```
6495
65-
### Run in Docker (web mode only)
96+
### Run in Docker
97+
98+
Docker is supported for web mode only.
6699
67100
```bash
68101
docker build -t claude-code-trace .
@@ -72,17 +105,21 @@ docker run --rm -p 1421:1421 \
72105
# then open http://localhost:1421
73106
```
74107
75-
Or with compose: `docker compose up --build`. See
76-
[docs/docker.md](docs/docker.md) for runtime env vars, volume layout, and
77-
troubleshooting.
108+
Or with Docker Compose:
109+
110+
```bash
111+
docker compose up --build
112+
```
113+
114+
See [docs/docker.md](docs/docker.md) for runtime environment variables, volume layout, and troubleshooting.
78115
79116
## Requirements
80117
81118
- [Rust](https://rustup.rs/) 1.77+
82119
- Node.js 18+
83120
- macOS: Xcode Command Line Tools (`xcode-select --install`)
84121
- Linux: `libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev libxdo-dev libssl-dev`
85-
- Windows: [WebView2](https://developer.microsoft.com/en-us/microsoft-edge/webview2/) (pre-installed on Windows 10/11)
122+
- Windows: [WebView2](https://developer.microsoft.com/en-us/microsoft-edge/webview2/) is required and is pre-installed on Windows 10 and Windows 11
86123
87124
## Usage
88125
@@ -92,41 +129,47 @@ cctrace --web # web mode (opens browser at http://localhost:1420)
92129
cctrace --tui # terminal UI (starts backend + TUI together)
93130
```
94131
95-
> **Note:** The TUI is functional but has a few UX rough edges — contributions welcome.
132+
Launch Claude Code Trace to open the session picker. It automatically discovers Claude Code sessions from `~/.claude/projects/`.
96133
97-
Launch to open the session picker. It auto-discovers all sessions from `~/.claude/projects/`.
134+
Select a session to view the conversation. Click messages to expand tool calls, or open the detail view for full inspection.
98135
99-
In desktop mode, click **Open in Browser** in the toolbar to switch to browser mode — this opens `http://localhost:1420` in your default browser and hides the desktop window.
136+
In desktop mode, click **Open in Browser** in the toolbar to switch to browser mode. This opens `http://localhost:1420` in your default browser and hides the desktop window.
100137
101-
If you installed the pre-built `.dmg`/`.deb`/`.msi`, you can also launch the desktop app directly and pass `--web` to the binary:
138+
If you installed the pre-built `.dmg`, `.deb`, or `.msi`, you can also launch the desktop app directly and pass `--web` to the binary:
102139
103140
```bash
104141
# macOS
105142
/Applications/Claude\ Code\ Trace.app/Contents/MacOS/Claude\ Code\ Trace --web
106143
```
107144
108-
Select a session to view the conversation. Click messages to expand tool calls, or open the detail view for full inspection.
145+
> **Note:** The TUI is functional but has a few UX rough edges. Contributions are welcome.
146+
147+
## MCP tool call support
148+
149+
MCP (Model Context Protocol) tool calls are automatically detected and displayed with human-friendly names.
150+
151+
For example, `mcp__chrome-devtools__take_screenshot` renders as **MCP chrome-devtools** with the summary `take screenshot`.
109152
110-
MCP (Model Context Protocol) tool calls are automatically detected and displayed with human-friendly names. For example, `mcp__chrome-devtools__take_screenshot` renders as **MCP chrome-devtools** with the summary "take screenshot". Supported MCP servers include chrome-devtools, figma, atlassian, buildkite, cloudflare, and any other server following the `mcp__<server>__<tool>` naming convention.
153+
Supported MCP servers include chrome-devtools, figma, atlassian, buildkite, cloudflare, and any other server following the `mcp__<server>__<tool>` naming convention.
111154
112-
### Keybindings
155+
## Keybindings
113156
114157
`?` toggles keybind hints in any view.
115158
116-
**List view**
159+
### List view
117160
118-
| Key | Action |
119-
| ----------------- | --------------------------------------- |
120-
| `j` / `k` | Move cursor down / up |
121-
| `G` / `g` | Jump to last / first message |
122-
| `Tab` | Toggle expand/collapse current message |
123-
| `e` / `c` | Expand / collapse all Claude messages |
124-
| `Enter` | Open detail view |
125-
| `d` | Open debug log viewer |
126-
| `t` | Open team task board (when teams exist) |
127-
| `s` / `q` / `Esc` | Open session picker |
161+
| Key | Action |
162+
| ----------------- | -------------------------------------- |
163+
| `j` / `k` | Move cursor down / up |
164+
| `G` / `g` | Jump to last / first message |
165+
| `Tab` | Toggle expand/collapse current message |
166+
| `e` / `c` | Expand / collapse all Claude messages |
167+
| `Enter` | Open detail view |
168+
| `d` | Open debug log viewer |
169+
| `t` | Open team task board when teams exist |
170+
| `s` / `q` / `Esc` | Open session picker |
128171
129-
**Detail view**
172+
### Detail view
130173
131174
| Key | Action |
132175
| ----------- | ------------------------------ |
@@ -136,15 +179,15 @@ MCP (Model Context Protocol) tool calls are automatically detected and displayed
136179
| `h` / `l` | Switch panels left / right |
137180
| `q` / `Esc` | Back to list |
138181
139-
**Session picker**
182+
### Session picker
140183
141184
| Key | Action |
142185
| ----------- | --------------------- |
143186
| `j` / `k` | Navigate sessions |
144187
| `Enter` | Open selected session |
145188
| `q` / `Esc` | Back to list |
146189
147-
**Debug log viewer**
190+
### Debug log viewer
148191
149192
| Key | Action |
150193
| ----------- | ------------ |
@@ -155,12 +198,12 @@ MCP (Model Context Protocol) tool calls are automatically detected and displayed
155198
```bash
156199
npm install
157200
npm run tauri dev # desktop app with hot reload
158-
npm run dev:web # web mode (opens browser, no desktop window)
159-
npm run dev:tui # TUI (starts backend + terminal UI together)
201+
npm run dev:web # web mode, no desktop window
202+
npm run dev:tui # TUI, starts backend + terminal UI together
160203
npm run tauri build # production build
161204
```
162205
163-
### Check & Test
206+
### Check and test
164207
165208
```bash
166209
npm run check # run all checks at once
@@ -184,6 +227,16 @@ git push origin v0.4.0
184227
185228
This creates a draft release with macOS, Linux, and Windows artifacts attached. Review and publish it from the [Releases](https://github.com/delexw/claude-code-trace/releases) page.
186229
230+
## Related search terms
231+
232+
Claude Code Trace may also be useful if you are looking for a Claude Code log viewer, Claude Code JSONL viewer, Claude Code session viewer, Claude Code conversation history browser, Claude Code user message search tool, Claude Code tool call viewer, Claude Code MCP call inspector, or a local Claude Code debugging tool.
233+
234+
## Recommended GitHub topics
235+
236+
Add these topics to the repository to improve discoverability in GitHub search:
237+
238+
`claude-code`, `claude`, `anthropic`, `jsonl`, `session-viewer`, `log-viewer`, `developer-tools`, `tauri`, `react`, `rust`, `tui`, `desktop-app`, `ai-tools`, `llm-tools`, `mcp`
239+
187240
## Contributing
188241
189242
Bug reports, feature requests, and pull requests are welcome. See [Development](#development) for how to build and run locally. For significant changes, open an issue first to align on scope.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "claude-code-trace",
3-
"version": "0.4.13",
3+
"version": "0.5.0",
44
"private": true,
55
"bin": {
66
"cctrace": "./bin/cctrace.mjs"

src-tauri/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "claude-code-trace"
3-
version = "0.4.13"
3+
version = "0.5.0"
44
edition = "2021"
55
rust-version = "1.77.2"
66

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"productName": "Claude Code Trace",
3-
"version": "0.4.13",
3+
"version": "0.5.0",
44
"identifier": "com.claudecodetrace.app",
55
"build": {
66
"devUrl": "http://localhost:1420",

0 commit comments

Comments
 (0)