Skip to content

folk 0.1.12 — cancel that cancels

Choose a tag to compare

@barockok barockok released this 02 May 06:45
· 100 commits to main since this release

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 cancelled immediately 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: true could 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 useGlobalCancelHotkey hook.
  • Synthetic cancelled error event so the renderer never gets stuck in a "running" state.
  • Eager DB flip + detached transcript balance keep cancel paths fast.