Skip to content

Releases

Cairn 0.6.0

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

Cairn 0.5.0

Cairn 0.5.0 Pre-release
Pre-release

Choose a tag to compare

@sonald sonald released this 22 Nov 05:50

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

Highlights since 0.4.0

  • Ask AI: an AI panel answers questions about the open snapshot with a model you configure in Settings → AI (OpenAI-compatible or Anthropic API, key kept in the Keychain). The model reads code only through Cairn's read-only tools — files, search, symbols backed by the language server where available, and Git history. Its reading steps fold into one line above the answer, and every cited path:line opens in the reader. Select code and press ⌘I (or click the gutter icon) to ask about that code; the Resolution Inspector moves to ⌥⌘I.
  • File Guide: a Guide panel follows the open file and writes how it is put together — flows with step-by-step playback in the reader, the role of each part, a sequence diagram and follow-up questions. Every code anchor is checked against the file's real lines. Guides are saved locally by file content and marked out of date when the file changes.
  • Overview is now a skeleton for Rust and Python: functions on the file's main line keep their key statements, the others shrink to signatures, all in source order and numbered with their source lines. Clicking a line number reads that line in Full. With a Jev key saved in Settings → AI, TypeSafe's Jev helps choose what the skeleton keeps.
  • The overview ruler can color lines by Git change age (optional, in Settings), and hovering it previews the code.
  • Markdown previews keep embedded HTML headings, paragraphs and tables.

Network: Cairn still makes no network access by default. AI questions and guides go only to the address you configure, 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.5.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.5.0-macOS-arm64.zip.sha256.

Homepage: https://cairn.sonald.me

Cairn 0.4.0

Cairn 0.4.0 Pre-release
Pre-release

Choose a tag to compare

@sonald sonald released this 13 Nov 03:16

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

Highlights since 0.3.0

  • Go support: .go sources are detected and indexed (declarations, imports, calls, packages and receiver methods), with highlighting, folding, outline, block-end labels, function-level diffs and hover docs from Go doc comments
  • Precise Go analysis through a sandboxed gopls, one session per go.mod / go.work unit; missing modules are named, and can be downloaded from the analysis status without touching the repository
  • The CLI accepts --language go
  • The enclosing-function context lens follows plain clicks and jumps in the reader
  • Hover cards stay put when the pointer moves onto them, and keep their scroll position while you point at a link
  • The Documentation panel shows a symbol's own hover documentation when Dash has no exact entry for it

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

Install: unzip Cairn-0.4.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.4.0-macOS-arm64.zip.sha256.

Homepage: https://cairn.sonald.me

Cairn 0.3.0

Cairn 0.3.0 Pre-release
Pre-release

Choose a tag to compare

@sonald sonald released this 11 Nov 03:39

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

Highlights since 0.2.0

  • Mixed-language projects: languages are detected from the worktree, each Cargo/Python/TypeScript unit gets its own analysis session, and projects with no analyzed language open in browse-only mode
  • Project symbols panel (⌃⌘S) with filters; enum variants, macros and Python module variables are listed
  • Read any commit with precise analysis: it runs in the window's own checkout, switches warm between snapshots and borrows node_modules / virtualenvs
  • Version picker searches refs, resolves revisions and pages through long histories
  • Previews fold JSON, YAML and Markdown headings, render Jupyter notebooks and colour unanalyzed languages
  • base16 themes, an Auto light/dark pair, quiet syntax colouring and relative line numbers
  • Show Implementations & Subtypes lists direct subtypes; .d.ts and .pyi dependency files open as jump targets; missing dependencies can be installed from the analysis status
  • Many fixes: the shared index cache is no longer wiped when another window holds its lock, commands follow the focused reference pane, nested folds and previews keep their state across refreshes, faster command palette and large-preview folding

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

Install: unzip Cairn-0.3.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.3.0-macOS-arm64.zip.sha256.

Homepage: https://cairn.sonald.me

Cairn 0.2.0

Cairn 0.2.0 Pre-release
Pre-release

Choose a tag to compare

@sonald sonald released this 08 Oct 09:50

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

Highlights since 0.1.0

  • Documentation panel backed by Dash, plus Open in Dash for the symbol under the cursor
  • Movable side panels, a bottom panel zone, View > Panels and Restore Default Layout
  • Composable project queries with docked results; whole-word matching and include/exclude path filters
  • Per-project exclusion rules for tree, index and search
  • Symbol hover docs (syntactic, pyright and typescript-language-server), jump to type definition, split reference pane
  • Overview ruler, multi-color name highlights, bracket matching, block-end labels
  • Central key binding table with a Shortcuts settings page and user overrides

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

Install: unzip Cairn-0.2.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.2.0-macOS-arm64.zip.sha256.

Homepage: https://cairn.sonald.me

Cairn 0.1.0

Cairn 0.1.0 Pre-release
Pre-release

Choose a tag to compare

@sonald sonald released this 29 Sep 01:31

First public build of Cairn, a native, read-only code reader for macOS.

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

Install: unzip Cairn-0.1.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.1.0-macOS-arm64.zip.sha256.

Homepage: https://cairn.sonald.me