Skip to content

Cairn 0.6.0

Pre-release
Pre-release

Choose a tag to compare

@sonald sonald released this 27 Nov 06:24

Sixth preview build of Cairn, a native, read-only code reader for macOS.

Highlights since 0.5.0

  • Remote folders over ssh: File → Open Remote Folder… (⇧⌘O) takes host:/absolute/path and reads that folder on the host without copying it to this Mac. Authentication is left to the system ssh and your own ssh config; Cairn stores no credentials. The file tree, reading, index, project search, outline, symbols, syntactic context, Ask AI and File Guide work on remote folders; exact analysis and Git history do not yet. After a dropped connection the status bar offers Reconnect.
  • Overview skeletons now cover TypeScript/TSX and Go as well as Rust and Python. JavaScript files (JS/JSX/MJS/CJS) now open in the reader with colour, folds, outline and the Overview skeleton, without index or exact analysis.
  • With a Jev key, a statement Jev keeps now brings along the declarations it reads, and returning Go if err != nil checks are always left out. Scores are cached separately for .ts and .tsx.
  • Ask AI and File Guide can use a ChatGPT plan through Sign in with ChatGPT (Settings → AI), as well as an API key.
  • AI answers follow the language the question is asked in.
  • When a project's build configuration changes after indexing, exact analysis explains it and re-indexes once instead of showing a profile mismatch error.
  • Snapshots no longer hold file contents: commit files are read by object ID, workspace files are re-read and checked against the captured hash, and source bytes share one memory budget.

Network: Cairn still makes no network access by default. A remote folder connects only to the ssh host you open. AI questions and guides go only to the address you configure, or to OpenAI when you sign in with ChatGPT, after you allow it for each project (a model on localhost is not asked about). Overview sends a file's code (comments and docstrings removed) to api.typesafe.ai only when a Jev key is saved.

Requirements: macOS 14 or later, Apple silicon (arm64).

Install: unzip Cairn-0.6.0-macOS-arm64.zip and move Cairn.app to Applications.

First launch: this build is ad-hoc signed and not notarized, so macOS will block it the first time. Either right-click Cairn.app and choose Open, or run:

xattr -dr com.apple.quarantine /Applications/Cairn.app

Verify the download with shasum -a 256 -c Cairn-0.6.0-macOS-arm64.zip.sha256.

Homepage: https://cairn.sonald.me