Skip to content

v0.3.0 — Syntax Highlighting, Background Permissions & Windows Support

Pre-release
Pre-release

Choose a tag to compare

@OpenSource03 OpenSource03 released this 21 Feb 15:39
· 150 commits to master since this release

✨ New Features

Syntax Highlighting Everywhere

  • Diff viewer: Inline syntax highlighting on added/removed/context lines
  • Code blocks: Auto-detect language for untagged fenced code blocks (TypeScript, Python, Rust, Go, JSON, bash, HTML, and more)
  • Bash commands: Shell syntax highlighting in Bash tool cards
  • Write tool: Full-file scrollable code viewer with glass island border (no more truncation)
  • Shared language detection utilities covering 40+ file extensions and smart content-based guessing

Background Permission Notifications

  • Toast notifications (via sonner) when a background session needs tool approval — persistent until resolved
  • Pulsing amber dot in sidebar for sessions with pending permissions
  • "Switch" action on toast to jump directly to the blocked session
  • Permission state preserved across session switches — no lost approvals

Windows Platform Support

  • Terminal uses COMSPEC/PowerShell on Windows with proper USERPROFILE home dir
  • Mica transparency with native binary verification (falls back to solid background)
  • Platform-specific CSS: smaller border radius, no traffic-light padding on Windows
  • Cross-platform dev script (replaced Unix sleep with Node delay script)

Auto-Updater

  • Update banner in sidebar: shows update-available → download progress → restart-to-install
  • Wired to electron-updater events with currentVersion IPC

WebSearch & WebFetch Tool Renderers

  • WebSearch: Clean link list with domain labels, external link icons, and markdown summary
  • WebFetch: Source URL with domain badge and rendered markdown content

Task/Agent Result Improvements

  • Expandable result blocks with fade-out gradient and "Show full result" toggle (no more 3000-char truncation)
  • Full markdown rendering of agent results

🐛 Bug Fixes

  • Space icons: Fixed lucide icon lookup — PascalCase keys now resolve correctly (was showing "?" fallback)
  • Code block detection: Fixed react-markdown v10 inline vs block code detection using React Context (replaces removed inline prop)
  • Typography backticks: Disabled Tailwind Typography's backtick pseudo-elements on <code> elements
  • Tool result normalization: Skip empty {} objects from SDK so stdout content is properly extracted
  • CC import: Link tool results back to matching tool_call messages for completed state in UI

🔧 Improvements

  • ThinkingBlock auto-scroll: Streams content with auto-scroll that respects manual scroll-up
  • ChatView ResizeObserver: Auto-scrolls on collapsible expansion (thinking blocks, tool details)
  • Space gradient overlay: Refactored from per-component React state to CSS custom prop — all islands inherit the tint
  • Model preloading: Fetch supported models from eager session immediately (removed hardcoded fallback list)
  • App icons: Multi-resolution icons (16px–1024px) with dock icon in dev mode
  • Upgraded @anthropic-ai/claude-agent-sdk to 0.2.50