diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e22cf6..f00a440 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,8 +6,14 @@ All notable changes to cctrace are documented here. Format follows ## [Unreleased] +## [0.7.0] - 2026-07-11 + ### Added +- **Tab title includes the session id** — the browser tab now reads + ` · · cctrace` once the session id is known, + so multiple live UIs (or saved snapshots) of the same project are + distinguishable at a glance. Previously only the project name appeared. - **Session view tails like tail -f** — opening or refreshing a live session lands on the newest turn; re-renders stick to the bottom while you're there and never yank the scroll while you're reading history (new activity @@ -334,7 +340,8 @@ Initial public release. - Partial redaction of sensitive headers in captured output. - Automatic port fallback when the default UI port is busy. -[Unreleased]: https://github.com/thevibeworks/cctrace/compare/v0.6.1...HEAD +[Unreleased]: https://github.com/thevibeworks/cctrace/compare/v0.7.0...HEAD +[0.7.0]: https://github.com/thevibeworks/cctrace/compare/v0.6.1...v0.7.0 [0.6.1]: https://github.com/thevibeworks/cctrace/compare/v0.6.0...v0.6.1 [0.6.0]: https://github.com/thevibeworks/cctrace/compare/v0.5.0...v0.6.0 [0.5.0]: https://github.com/thevibeworks/cctrace/compare/v0.4.0...v0.5.0 diff --git a/package.json b/package.json index c63b036..8b95481 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@thevibeworks/cctrace", - "version": "0.6.1", + "version": "0.7.0", "description": "TLS-intercepting HTTP tracer for Claude Code — captures every API call (messages, OAuth, usage/credits, MCP) with a live categorized web UI", "type": "module", "bin": { diff --git a/src/ui.ts b/src/ui.ts index fddcf17..f16e29b 100644 --- a/src/ui.ts +++ b/src/ui.ts @@ -692,6 +692,10 @@ export function getLiveHtml(port: number, meta: PageMeta = {}): string { const sid = currentSessionId(); if (sid === ctxSid) return; ctxSid = sid; + var t = ''; + if (META.project) t += META.project; + if (sid) { if (t) t += ' \\u00b7 '; t += sid.slice(0, 8); } + document.title = t ? t + ' \\u00b7 cctrace' : (IS_SNAPSHOT ? 'cctrace' : 'cctrace live'); let html = ''; if (META.project) { html += '' + escapeHtml(META.project) + '';