Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,18 @@ as in the editor:
- **A definition at a time.** An edit is split into the definitions it touches - imports first,
then what it adds, then what it changes, then what it removes - so a replay builds the change up
one function, type or constant at a time, in the order the agent staged it.
- **Looks too.** `find`, `references`, `file` and `dependencies` calls land as looks at what they
named, so you can see what an agent read before it wrote anything.
- **Inspects too.** What an agent reads lands as an inspect of what it read, so you can see what
it looked at before it wrote anything: `find`, `references`, `file` and `dependencies` calls as
ccc answers them, and its own reads - Claude Code's `Read`, a `cat`, `sed -n` or `grep` of a
file in its shell, a subagent's too - from its transcript, as it writes them.
- **Follow live changes.** The switch on the right is green while each change is shown as it lands
(`L` turns it on and off). While it is on, the step controls fold away to the left behind `»`,
and they open again by themselves once it is off.
- **At your pace.** Live keeps the time between steps as it was; ½×, ¼×, ⅛× and ⅒× stretch it, and
following runs behind by however many steps are still waiting.
- **One step on its own.** While a step is on show (◎), what it did not touch fades back, and a big
- **Big views in groups.** A view of 50 or more components or functions is laid out a group at a
time
- **Granular Changes.** While a step is on show (◎), what it did not touch fades back, and a big
scene draws only what is wired to it, laid out together to fit the screen. Click the canvas to
bring the rest back.

Expand Down
279 changes: 244 additions & 35 deletions assets/vis/vis.css

Large diffs are not rendered by default.

17 changes: 12 additions & 5 deletions assets/vis/vis.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@
</defs>
<g id="wire-layer"></g>
</svg>
<svg class="wires lit" id="lit-wires" xmlns="http://www.w3.org/2000/svg"></svg>
<div class="labels" id="labels"></div>
<div id="nodes"></div>
<div class="groups" id="groups"></div>
<svg class="wires group-wires" id="group-wires" xmlns="http://www.w3.org/2000/svg"></svg>
</div>
</main>

Expand All @@ -58,12 +61,16 @@
<button id="layout-reset" title="Forget dragged positions in this view">Re-layout</button>
</div>
<div class="legend" id="legend"></div>
<div class="note-bar" id="note" hidden></div>
<!-- what the view is, and under it what a proposed or replayed step on show is, centred at the top -->
<div class="top-notes">
<div class="note-bar" id="note" hidden></div>
<div class="replay-badge" id="replay-badge" hidden></div>
</div>
<div class="message" id="message" hidden></div>
<div class="replay-badge" id="replay-badge" hidden></div>

<section class="timeline" id="timeline" aria-label="edit timeline" hidden>
<div class="tl-controls">
<button class="tl-unfold" id="tl-unfold" title="Show the step controls" aria-label="show the step controls" aria-expanded="false" hidden>»</button>
<div class="tl-controls" id="tl-controls">
<button id="tl-prev" title="Previous step (,)" aria-label="previous step">‹</button>
<button id="tl-play" title="Replay the steps from here" aria-label="replay">▶</button>
<button id="tl-next" title="Next step (.)" aria-label="next step">›</button>
Expand All @@ -76,9 +83,9 @@
<button data-side="after" title="The code as this step left it">after</button>
</div>
<button class="tl-speed" id="tl-speed" title="Replay speed - Live keeps the time between steps as it was, slower stretches it (shift-click goes back up)" aria-label="replay speed">Live</button>
<button class="tl-focus" id="tl-focus" title="See each step on its own - what it did not touch fades back, and a big scene keeps only what is wired to it" aria-label="see each step on its own" aria-pressed="true">◎</button>
<button class="tl-focus" id="tl-focus" title="Granular Changes - each step seen on its own: what it did not touch fades back, and a big scene keeps only what is wired to it" aria-label="granular changes" aria-pressed="true">◎</button>
<button class="tl-ws" id="tl-ws" title="Show whitespace changes - steps that only move whitespace or wrap lines" aria-label="show whitespace changes" aria-pressed="false">¶</button>
<button class="tl-follow" id="tl-follow" title="Follow each edit as it lands (L)" aria-pressed="true">Following</button>
<button class="tl-follow" id="tl-follow" role="switch" aria-checked="true" title="Follow live changes - each edit shown as it lands (L)"><span class="switch" aria-hidden="true"></span><span>Follow<span class="tl-follow-more"> live changes</span></span><span id="tl-behind"></span></button>
</section>

<script>/*__CCC_VIS_JS__*/</script>
Expand Down
Loading
Loading