Skip to main content

Personal Claude Code session browser, fork-from-message tool, and history navigator.

Project description

cctree

Personal Claude Code session browser, fork-from-message tool, and history navigator.

Status

Phase 0: scaffolded. Implementation pending /plan-eng-review.

What it does

cctree reads your existing Claude Code session JSONL files in ~/.claude/projects/ and gives you what the built-in TUI doesn't:

  • Browse all sessions across all projects, including ones the resume picker hides (50-cap, custom-titled, etc.)
  • Read pre-compaction history that the TUI stops showing after /compact (the data is in the JSONL — we just render it)
  • Hierarchical navigation of tool calls and subagent transcripts (collapsible, drillable)
  • Task evolution scrubbing — watch your task list change over the course of a session
  • Fork from any message — not just the session HEAD like claude --fork-session — start a fresh Claude Code session from any historical point in any conversation
  • Search across all sessions by keyword/phrase
  • Tags, stars, custom names in a local SQLite metadata layer

Phase 1 ships a CLI. Phase 2 adds a Textual TUI sharing the same core.

Why

The Claude Code TUI access layer has gaps tracked in #27242 and related issues. The data layer is intact — JSONLs are append-only and crash-safe — but the TUI doesn't expose it. cctree is the missing reading lamp.

See docs/ceo-plan.md for the full strategic plan and rationale.

Install

pipx install -e ~/projects/cctree

Layout

cctree/
├── pyproject.toml
├── README.md
├── cctree/
│   ├── __init__.py
│   ├── core/         # JSONL parser, model, tree, forge, tasks, search, export
│   ├── cli/          # Phase 1 — Click-based subcommands
│   └── storage/      # SQLite metadata layer
├── tests/
└── docs/
    └── ceo-plan.md   # Full CEO plan from /plan-ceo-review

License

Personal use.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cctree-0.5.0.tar.gz (259.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cctree-0.5.0-py3-none-any.whl (96.6 kB view details)

Uploaded Python 3

File details

Details for the file cctree-0.5.0.tar.gz.

File metadata

  • Download URL: cctree-0.5.0.tar.gz
  • Upload date:
  • Size: 259.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for cctree-0.5.0.tar.gz
Algorithm Hash digest
SHA256 39efe96c5e030c8695b1781d4f7e908bc84d00ff8d5b7861bf8cfbbf44fe6b4b
MD5 9afd27a31188ad80e68e1bc2e6ee698d
BLAKE2b-256 7c596429bbca9b6be8ed138d366a4108d1c9d986fd1a55e4783654831e58a952

See more details on using hashes here.

File details

Details for the file cctree-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: cctree-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 96.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for cctree-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ac57550b3ef85063d950a11eafe4bb1e75318161c9df87a179502778cd3eab2
MD5 d133dae68e68c92ee5b951f1fe73d260
BLAKE2b-256 69b30a11f6f805c003c0474f356e422e7bea67c0f35b037c47fbd5aefaa742ff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page