Skip to content

Releases: swchen44/claude-code-log-trajectory

v1.6.1 — $CLAUDE_CONFIG_DIR support + headless coverage docs

Choose a tag to compare

@swchen44 swchen44 released this 17 Aug 04:09

Added

  • $CLAUDE_CONFIG_DIR support — the Claude projects dir, the claude provider, and the settings.json read all follow Claude Code's own config-home override, so sessions from isolated headless claude -p environments are found without --projects-dir
  • Environment Variables docs (README en/zh-TW + --help): per-provider env overrides (CLAUDE_CONFIG_DIR / CODEX_HOME / XDG_DATA_HOME) and headless-run coverage — claude -p, codex exec, opencode run all persist by default; source-side opt-outs listed (codex exec --ephemeral, CLAUDE_CODE_SKIP_PROMPT_HISTORY, cleanupPeriodDays: 0, OPENCODE_DB=:memory:)
uvx claude-code-log-trajectory --open-browser

📦 PyPI: https://pypi.org/project/claude-code-log-trajectory/1.6.1/

v1.6.0 — multi-format/multi-provider CLI, category swimlanes, offline output, 繁中 README

Choose a tag to compare

@swchen44 swchen44 released this 16 Aug 23:03

Added

  • Comma-separated multi-value --format / --provider-f html,trajectory,md,json and --provider claude,codex,opencode; repeating a flag errors loudly instead of click's silent last-one-wins
  • New defaults: -fhtml,trajectory,json; a bare run renders every provider (claude,opencode,codex), extras under DIR/<provider>/
  • Trajectory: per-category swimlanes + multi-select filter (user / async result / system / assistant / thinking / sub-assistant / tool use / tool result / memory), classification aligned with the transcript view
  • Trajectory: Regex search toggle
  • Fully offline output — vis-timeline vendored + inlined, zero CDN fetches (intranet / air-gapped safe), pinned by tests
  • Example 2 docs page — the fork's own development session, self-rendered
  • Traditional Chinese README (README.zh-TW.md)

Breaking

  • -f all removed — use -f html,trajectory (same cross-linked output)

Install

uvx claude-code-log-trajectory --open-browser

📦 PyPI: https://pypi.org/project/claude-code-log-trajectory/1.6.0/
📄 Docs & demos: https://swchen44.github.io/claude-code-log-trajectory/

v1.5.0 — trajectory view + opencode provider

Choose a tag to compare

@swchen44 swchen44 released this 16 Aug 03:01

First release of the claude-code-log-trajectory fork of daaain/claude-code-log, based on upstream 1.5.0.

Added

  • --format trajectory — self-contained swimlane timeline HTML per session (user/agent/tool lanes, event ledger, details panel, light/dark, wheel-zoom, drag-select range filtering, time/sequence projections)
  • --format all — standard HTML + trajectory rendered together and cross-linked; the index lists both
  • --provider opencode — renders opencode session archives (SQLite + legacy JSON storage), including tool calls/results, reasoning, token usage, and sub-agent child sessions as sidechains

Install

uvx claude-code-log-trajectory --open-browser

📦 PyPI: https://pypi.org/project/claude-code-log-trajectory/
📄 Docs & live demo: https://swchen44.github.io/claude-code-log-trajectory/example/