Repository navigation
herdr core
herdr-core is the small background program that runs your terminals and agents. Its command is hc. Canopy is a window onto it: the window draws terminals and sends your keystrokes, but the programs themselves live in the core.
Splitting the window from the terminals is what makes Canopy dependable for long-running agents:
- Your agents survive the window. Close Canopy, update it, or let it crash, and every terminal keeps running. Open Canopy again and everything is where you left it.
- Other machines work the same way. A server runs its own core, and Canopy shows its terminals next to yours. Those agents keep working while your laptop sleeps. See Machines.
-
Terminals can drive each other. Any terminal can read another's screen, send it a line or wait for it with
hc. This is how agents talk to their peers. See Wiring.
Terminals stop when you close them in Canopy, when their program exits, or when the computer shuts down.
You do not need hc to use Canopy, but it is handy in a terminal:
hc ls # list running terminals with their addresses (t1, t2, ...)
hc attach t3 # put this terminal on t3, from any terminal app (ctrl+\ detaches)
hc read t3 # print t3's screen
hc --help # everything elseThe Canopy installer installs the core if it is missing. The Canopy app itself never installs or updates the core.
To update the core, run:
hc updateYour terminals keep running through the update.
Canopy needs core version 0.1.20 or newer, as recorded in distribution/core-version. On start, it also checks that the core supports the protocol and operations it uses.
From a source checkout, scripts/core-check /absolute/path/to/hc checks a core's compatibility using a throwaway core, then stops it.
-
Canopy says it needs herdr-core. Canopy cannot find the core. Follow the install instructions it shows, or click I have it somewhere to point it at the
hcexecutable. -
Canopy says it needs a newer herdr-core. The core is too old or lacks something Canopy needs. Run
hc update, then click Retry.
These pages come from docs/wiki. Change them with a pull request. Edits made on the wiki are overwritten.
Get started
Guides
The canvas
Panes
Agents
Make it yours
Reference
Help