Skip to content

Clair 0.9.0

Choose a tag to compare

@github-actions github-actions released this 04 Oct 03:14
· 16 commits to main since this release

Added

  • Claude Code can connect to Clair as its IDE: it opens files, reads your selection, open editors and diagnostics, and shows proposed edits as a diff you accept or reject.
  • Settings can install Clair as Claude Code's Ctrl+G editor, and clair open --wait blocks until the file's tab closes.
  • Hand work to the agent: "Fix with Agent" in quick fixes, send the selection or a file reference to the running agent, and paste a terminal selection into it.
  • Agents can read diagnostics and post review comments and multi-line suggestions on your files.
  • Language-server hover, parameter hints, rename (F2), quick fixes (⌘.), formatting (including format on save), Go to Symbol in File (⌘⇧O) and Show Problems (⌘⇧M), with servers for many more languages.
  • Syntax highlighting for HTML, YAML, CSS, TOML and C.
  • A conflict bar for conflicted files: take ours, theirs or both per block, step between blocks, and mark resolved.
  • Stage or unstage a single change block from the diff.
  • Merge the base branch into a worktree to resolve conflicts there.
  • Open or create AGENTS.md and CLAUDE.md instruction files from commands.
  • Tab cycling moves across project groups and switches project.

Fixed

  • Conflicts in files with CRLF line endings are now detected.
  • Tab cycling and open tabs survive switching between projects that were not yet scanned.
  • A single pane no longer sends duplicate agent notifications.

Added

  • Agents can read the editor's diagnostics (editor.diagnostics) and review comments (review.threads) through MCP or the clair command.
  • Agents can post review comments (review.comment) and change suggestions (review.suggest) that show on the diff; suggestions can span several lines and carry a reason.
  • "Review this file / Project" asks the agent to post its findings as review comments; Claude Code runs it with only those Clair commands allowed.
  • Hover information: rest the pointer on a word (or run Show Hover) to see the language server's description.
  • Parameter hints while typing a call.
  • Rename Symbol (F2) across the workspace, and Quick Fix (⌘.) for the language server's code actions.
  • Format Document uses the language server, and format on save works for every language whose server formats.
  • Go to Symbol in File (⌘⇧O) and Show Problems (⌘⇧M).
  • Completions expand snippets and apply auto-imports in the same undo step.
  • Language servers for C, Ruby, Java, PHP, Terraform, shell, JSON, HTML, CSS, YAML, TOML and Markdown, used when installed.
  • Merge conflicts: a conflicted file's editor shows a conflict bar to take the current, incoming or both sides block by block, step between conflicts, ask the agent to resolve them, and mark the file resolved.
  • Stage or unstage a single change block from the diff.
  • Merge Base Branch brings the base into a managed worktree whose adoption conflicted.
  • "Fix with Agent" in the quick-fix list, Send Selection to Agent, and Ask Agent About Terminal Selection.
  • Edit AGENTS.md / CLAUDE.md (Project or user) from the command palette; missing files start from a template.
  • Claude Code started in a Clair terminal connects to Clair as its IDE: it sees your selection, open files and diagnostics, and its proposed edits open as a diff tab you accept or reject. ⌥⌘K sends the selection to Claude Code.

Fixed

  • Cycling tabs works before any Project is registered, and switching away from a Project before its file tree loaded no longer closes its tabs on return.