Skip to content

Extensions

macOS only

An extension adds a panel to the sidebar and commands to the palette. It’s a folder with a manifest (extension.toml) and one executable, written in any language. Cortland runs the executable as a separate process and draws the JSON it prints: the rows to show, the actions you can take, and what each action does (open a terminal tab, open a link, or copy text). A broken extension can’t take the terminal down.

Each extension lives in its own git repository. Install one with Install from URL… in Preferences → Extensions, or:

Terminal window
cortland-ctl extension install https://github.com/you/cortland-docker

Then check Enabled next to it. Extensions start disabled. Update pulls the latest version, and Remove moves the extension to the Trash. An extension whose code changes during an update is disabled until you enable it again.

The extension guide walks through a first extension, the manifest, and the rules for a well-behaved panel. cortland-ctl extension validate <folder> checks a folder against the contract, and the cortland-extension-builder skill teaches an AI agent to build one for you.