-
Notifications
You must be signed in to change notification settings - Fork 4
CLI Herdr
Live Herdr sessions on this Mac and on the SSH machines Edith already knows.
ed herdr runs herdr locally and, over the shared SSH control socket, on
every configured machine. Reach for it when you want a list of panes, or the
exact attach line the Herdr page copies.
A missing herdr binary is not a failure. That host is listed with herdr
false and an empty agent list, and the command still exits 0. Unknown machines
are the only not-found case.
The Herdr extension does not have to be on for these commands to run. They talk
to the herdr CLI, not to the Edith window.
| Command | What it does |
|---|---|
ed herdr |
Runs ls, which is the default subcommand |
ed herdr ls |
Live sessions on this Mac and every SSH machine |
ed herdr command <pane> |
The attach line for one pane |
ed herdr list is an alias for ed herdr ls.
| Code | When |
|---|---|
| 0 | The listing printed, including when Herdr is missing or no panes are live |
| 2 | The command line was wrong: an unknown flag, or command with no pane |
| 3 |
--machine named no configured machine, or command named no pane |
Nothing in this group exits 1 or 4. A down SSH machine is an error string on that host, not an unavailable CLI.
- This Mac is
--machine local.this-mac,thismacandmacare the same thing. Any other value is resolved the wayed machines showresolves a name: exact name, SSH alias, UUID, or a unique prefix. - Session names come from
herdr session list. If that command prints nothing useful, Edith tries thedefaultsession. - The attach line for a remote pane is
ssh -tt <target> -- herdr --session <session> agent attach <pane>. Detach inside Herdr withctrl+b q. The server stays up. - PATH on the far side is prefixed with
$HOME/.local/bin,$HOME/.cargo/bin,/opt/homebrew/binand/usr/local/binbeforeherdris called, which is where a curl-installed binary usually lives. - The extension switch is
tabHerdrEnabled. Prefered extensions enable herdrso the sidebar item appears.
-
ed machinesfor the SSH directory these commands walk -
ed extensionsto turn the Herdr page on - All
edcommands
Auto-generated from docs/, edit the docs in the repo, not the wiki.
CLI reference
Companion
- Deploy
- Concepts
- Concepts Memory
- Concepts Ingestion
- Concepts Search
- Concepts Chat
- Concepts Learning
- Concepts Brain
- Concepts Friend
- Hosts
- Stack
- Status
- Doctor
- Search
- Index
- Ingest
- Episodes
- Sync
- Observations
- Reflect
- Beliefs
- Ask
- Extract
- Claims
- Corroborate
- Runs
- Chat
- Conversations
- Forget
- Export
- Import
- Erase
- Wipe
- Episode
- Nightly
- Reason
- Personas
- Council
- Lenses
- Core
- Why
- Hypotheses
- Predictions
- Commitments
- Discrepancies
- Calibration
- Inquire
- Entities
- Eval
- Standup
- Machines
- Baselines
- Connectors
- Facts
- Correct
- Weekly
- Db
Guides