Repository navigation
folk 0.1.12 — cancel that cancels
What's new in 0.1.12
A reliability + polish release focused on cancellation, the empty-session view, large file writes, and the macOS app shell.
Cancel that actually cancels
- Esc anywhere stops the turn. Global hotkey works from the timeline, sidebar, and inside the composer textarea. Sidebar rows show an inline Stop on every running session — no need to switch in first.
- Instant feedback. Cancel no longer waits for the SDK to unwind a long-running tool. The session flips to
cancelledimmediately and a "Stopped by you" pill confirms it inline. - Permission cards now respond to Esc → Deny.
/clear clears, doesn't fork
/clear wipes the conversation history on the same session — same folder, same model, same MCP set, fresh context. Matches Claude Code CLI behavior. /new is reserved for spinning up a new session.
Big-file writes don't drown the chat
Write tool cards collapse by default when the diff is larger than 12 lines and show a +N −M chip. Click to expand. Small Edits stay inline.
Inline visualization fixes
- Charts using Chart.js /
responsive: truecould push the iframe into infinite vertical growth — fixed with a bounded init window and a hard 4000px cap. - Default-inline
<canvas>descender bug eliminated. - Nested scrollbars hidden — the iframe is sized to fit content, so the rails were just noise.
Hero & branding
- Empty-session view picks up a subtle drifting aurora, dot grid, and shimmering greeting (all gated behind
prefers-reduced-motion). - Composer in hero anchored to the top third with a roomier textarea.
- New macOS app icon (italic ascender on purple) — no more default Electron diamond in the Dock.
Under the hood
- Per-session-row Stop button + new
useGlobalCancelHotkeyhook. - Synthetic
cancellederror event so the renderer never gets stuck in a "running" state. - Eager DB flip + detached transcript balance keep cancel paths fast.