Skip to content

Smalti doesn't have a public release yet. These docs describe the first one, which is on its way.

Integrations

Claude Code, Neovim, Codex, Antigravity, OpenCode, Ollama, smalti img and shareable layouts.

Smalti is a full terminal and works without any integration. The ones below switch on when you need them, mostly from ⌘K.

Claude Code

Instalar integración con Claude Code (install the Claude Code integration, in ⌘K) registers a Smalti plugin in Claude Code with hooks for session start and end, every prompt, every tool, permissions and notifications. That's how Smalti knows what Claude is doing in each pane, when it's waiting on you (⌘J takes you there) and which files it edited.

  • Outside a Smalti pane, the hooks do nothing.
  • Smalti needs to find claude in your login shell.
  • Desinstalar integración con Claude Code (uninstall) removes it.

Sessions resume with claude --resume <id>, or with claude --continue when there's no id.

Telemetry for the Observatory

With [extras] otlp = true (the default), Smalti opens a receiver on 127.0.0.1, on a different port every launch and with its own token, and asks the Claude Code instances in its panes to send their telemetry there. That's where the Observatory's requests, latency, errors and cost line come from. None of it leaves your Mac.

If you already set up Claude Code telemetry yourself (CLAUDE_CODE_ENABLE_TELEMETRY or OTEL_* variables, or the env block of ~/.claude/settings.json), Smalti leaves it alone.

Neovim: diffs you approve with :w

With this integration, every Claude Code edit reaches your Neovim as a diff. :w approves it and :q rejects it.

Requirements:

  • An NvChad-style Neovim config: a lua/plugins/ folder and import = "plugins" in init.lua.
  • lazy.nvim, which downloads the plugin the next time Neovim starts.

Instalar claudecode.nvim en Neovim (in ⌘K) adds lua/plugins/smalti-claudecode.lua with claudecode.nvim pinned to v0.4.0. From then on Smalti starts Claude with --ide. Desinstalar claudecode.nvim deletes that file.

Shortcuts: ⇧⌘E opens Neovim next to the agent and ⇧⌘L opens the last file Claude edited. Edited files also show up in ⌘K.

Codex, Antigravity and OpenCode

Smalti reads the sessions these agents store, to offer resuming them at launch and for session search (⇧⌘O). It only reads them.

Agent Resume Continue the last one Fork
Claude Code claude --resume <id> claude --continue yes
Codex codex resume <id> codex resume --last yes
Antigravity agy --conversation <id> agy -c no
OpenCode opencode -s <id> opencode -c no

In session search, ↩ opens and ⌘↩ forks.

Ollama

If Ollama is running on 127.0.0.1:11434, the Observatory shows your local models: the ones loaded in memory and the ones on disk.

smalti img and Quick Look

Inside a Smalti pane you have the smalti command:

smalti img              # thumbnails of the images in the current folder
smalti img photos/      # another folder
smalti img a.png b.jpg  # specific files

Hovering an image name in the output shows a thumbnail; ⌘Y opens it in Quick Look. Formats: png, jpg, gif, heic, webp, tiff and bmp.

Shareable layouts

Save the current layout from ⌘K and export it with Exportar layout (export layout). The file is a .smalti-layout.json with the layout, the folders (relative to the project root) and what runs in each pane: a command, an agent or a file open in the editor. It never includes session ids, titles or scrollback. Up to 9 panes.

Importar layout… (import layout) shows you the commands it will run and asks for confirmation before opening anything.