Repository navigation
Releases
v2.7.1 — auto-gitignore + restore legacy harness rows
Two small, careful changes.
Added
- Auto-
.gitignoreinside.claude/cadence/.bootstrapProjectnow writes a one-line.gitignore(*) into the per-project cadence directory on first hook fire. Git treats every file inside (viewer source,nodes.js, image attachments, bookkeeping) as ignored regardless of the project's root.gitignore. Users can never accidentallygit add4 MB of session log + screenshots. Idempotent.
Changed
- Legacy harness pseudo-prompts visible again, rendered compactly. v2.6.1 silently filtered pre-v2.4 captures of
<task-notification>out of the timeline — but that lost data users wanted to scan. v2.7.1 renders them as a single-linebackground event · <cleaned summary> · HH:MMrow instead of a full editorial hero. Cleaned summary uses the newcleanHarnessSummaryhelper that mirrors the server-sideextractTaskNoticetag preference (<status>→<summary>→<event>→ stripped fallback).
Tests: 78. /reload-plugins to update.
v2.7.0 — UX overhaul + race-safe image extraction
Engineer-first, not magazine-first. Reverses the v2.6.2 centering and fixes a real bug in image extraction.
Changed
- Feed width 980 → 760 px; prose left-aligned again. Short responses don't float as orphaned islands; long responses fill the column; tables get full width.
- Tables / pre / image blocks inside
.responseno longer capped at 95ch. - Command-style prompts (
cd …,git pull, etc.) render in mono with an apricot left rule instead of a 30 pt serif headline. - "(no prompt — system activity)" turns collapse to a thin mono
session event · HH:MMline instead of getting full editorial real estate.
Fixed
- Image-extraction race. UPS fires before the new user-msg JSON is flushed to the transcript. The naive backwards walk was returning the previous turn's image-bearing message — that's why "4 images attached" only rendered 1.
extractAttachedImagesnow polls up to 1.5 s and verifies the user-msg's text matches the prompt we received before accepting its images.
Tests: 78. /reload-plugins to update.
v2.6.2 — center editorial prose
Changed
- Hero h1, lede, full prompt body, and response prose (h3/p/ul/ol) now center within the 980px feed via
margin: autoso the empty width on wide viewports sits symmetrically on both sides instead of all on the right. - Reading-column max-width bumped 80ch → 95ch (still in the editorial readability range).
- Structural elements (phase anchors, ledgers, rollup tables, dispatch fans, session pulse) keep their full feed width for the data layout.
/reload-plugins to update — CSS-only change, no breaking diff.
v2.6.1 — full prompt body + cleaner harness events
Fixed
- Long prompts no longer truncated. Hero h1 is now the first markdown heading or first sentence (capped at 220 chars on a word boundary); the full remainder renders as markdown below the h1. Prompts longer than 1500 chars wrap in a
<details>withshow full prompt · N linesso they don't dominate the turn visually until clicked. Fixes the 104-line spec showing only ~400 chars. - Cleaner Monitor-event status lines.
extractTaskNoticeprefers<status>→<summary>→<event>over the verbose cleaned-text fallback. Monitor events now get readable status lines instead of the entire stripped XML on one row. - Legacy harness prompts hidden. Pre-v2.4
<task-notification>/<command-name>/<autonomous-loop>captures are filtered from the timeline at render time.nodes.jsis untouched.
Tests: 78 (was 75).
v2.6.0 — real image attachments inline
Screenshots and photos attached to a prompt now render inline in the prompt hero, not as a literal [Image #N] placeholder.
How
- Hook reads the transcript backwards from the UPS event, picks the latest user-message with
imagecontent blocks, writes the base64 bytes to.claude/cadence/images/<sid>-<tid>-<idx>.<ext>, and attaches one{type:'image', src}block per file to the prompt node. - Viewer renders each as a
<figure>with a bordered, shadowed<img>directly under the prompt H1. - Caps: 5 MB per image, max 5 per turn, 80-entry transcript lookback. Oversized images are silently skipped.
Tests: 75 (was 68). New test/images.test.js covers latest-wins selection, max-count, oversized skip, media-type default, lookback clamp.
/reload-plugins to update. New prompts with screenshots will render the image inline; older nodes retain the placeholder chip.
v2.5.3 — feature parity with the design prototype
Step 3 of porting the editorial design into the live viewer. Brings the running plugin to feature parity with docs/design/index.html.
Added
- Session pulse — horizontal coordinate plot of every event in the feed, color-coded by kind (prompt / response / read·search / edit·fork / bash / merge / failure). Rendered at the bottom of every feed.
- Lane accordion — click any sub-agent lane to expand it full-width with siblings collapsing to slim bars. Mutex per dispatch group.
- Scroll-snap reading feed — paged TikTok-feel flow between turns.
- Mobile rollup compaction below 640px.
Fixed
- Sage tokens (
--sage-bg/ 300 / 400 / 500) and--violetwere referenced by editorial selectors but never defined in:root. Result: response band un-tinted on light, bash tag rendered as mid-gray instead of violet. Both fixed.
Tests: 68 green.
/reload-plugins to update.
v2.5.1 — editorial turn body
Step 2 of the editorial port. Card chrome gone; each turn is now a flat document with:
- Prompt hero — serif h1, italic eyebrow in apricot
- Phase anchors —
01 · Read & locate,02 · Edit & write,03 · Verify & run, mono numeral / serif heading / mono stat - Ledger bodies for reads / bash / search; rollup tables for edits with
+N −Mdeltas - Response band — sage on light, bone with a sage left rule on dark
- Dispatch fan preserved under a
Plan & dispatchphase
Also fixes a v2.5.0 regression that broke the topbar dropdown (duplicate const selected in renderMultiSession made _timeline.js fail to parse).
/reload-plugins to update.
v2.5.0 — editorial chrome (topbar + filter overlay + session dropdown)
First of three steps porting the editorial design from docs/design/index.html into the live viewer.
Visible changes
- Sticky thin topbar replaces the always-expanded filter strip
filterpill expands to a slide-down overlay (status / agent / time / view / search); active-filter count badge on the pill- Session sidebar is gone; sessions live in a centered dropdown triggered from the topbar — status pips, first-prompt title, turn count, age
- Scrim dims the page when either overlay is open; click outside or
Escto close
Coming next
- Step 2 — port the prompt hero, phase anchors, and response band typography into the live turn renderer
- Step 3 — full-bleed reading-feed layout
CI matrix green. /reload-plugins to update.
v2.4.0 — task-notification grouping + system-injection guard
User-visible
- Task-notification grouping. Long-running background tasks (
Bashwithrun_in_background, scheduled work, Auto-Mode loops) emit a<task-notification>every ~2 minutes. The v2.3 hook captured each one as a fresh prompt — a 10-minute task could spawn 50+ noisy rows that drowned the actual prompt and response. v2.4 folds all notifications for the sametask-idinto ONE row showing the count + latest status. Click the row to see the individual update timeline (capped at 200 to keepnodes.jssane). - Harness chrome filtered out.
<<autonomous-loop-…>>,<command-name>,<command-message>,<command-stdout>,<command-stderr>, and<system-reminder>no longer create timeline entries via UPS. Previously these only got filtered in the catch-up graph derivation; the real-time UPS handler captured everything.
Visual
- New 'task' tool group in turn child-groups, alongside read / edit / bash / web / subagent / failed.
- Info-tinted "N updates" pill on grouped rows, theme-aware on dark.
Companion artifact
docs/design/index.html— the editorial visual prototype we'll port into the live viewer next. Open it locally to see the target language.
Tests: 68 (was 54). +14 in test/taskgroup.test.js covering isSystemInjectionText, extractTaskId, extractTaskNotice. CI matrix (Node 18/20/22 × ubuntu/macos) green.
Install / update: /plugin install claudecadence@claudecadence or /reload-plugins if already installed.
v2.3.0 — stable layout, mid-stream fix, syntax highlighting
User-visible
- Stable layout: only the active turn re-renders on poll. Past turns sit below a divider in a frozen history zone — open cards stay open, the page stops reflowing every 5 s.
- File diffs in Write/Edit cards:
Edit/MultiEditrender a unified-style diff;Writeshows a language-detected preview. - Syntax highlighting: built-in token-based highlighter (~150 LOC, no external dep). Covers JS/TS/JSX, Python, Bash, JSON, YAML, Go, Rust, Java/Kotlin, SQL, HTML, CSS.
- Collapsible code blocks: anything > 12 lines auto-wraps in
<details>. - Long-title tooltips on truncated card titles.
Correctness
- Bug B — mid-stream interrupt fixed: when you submit prompt #2 before Claude finishes #1, prompt #1's response no longer absorbs prompt #2's content.
firstAssistantTextAfteraccepts anupperBoundts derived from the next queued turn's UPS lower-bound. deriveCatchUpNodesno longer emits a premature partial response for the in-flight orchestrator turn.- Malformed
nodes.jsrotates tonodes.js.bakinstead of silently blanking on next save. - CI fix: bash bins are no longer scanned by
node --check.
Tests: 54 cases across 6 files, full CI matrix green (Node 18/20/22 × ubuntu/macos).
Install: /plugin install claudecadence@claudecadence (or /reload-plugins if you already have it).