aboutsummaryrefslogtreecommitdiff
path: root/docs/next/website
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@hey.com>2026-09-27 19:06:33 +0200
committerGitHub <noreply@github.com>2026-09-27 20:06:33 +0300
commit316d176768e99bd80b81696c4e1f310f0643e744 (patch)
treed723283bc10f95d47dfc148136dbdd93d9d6c677 /docs/next/website
parentfff6c820aa45f4eabb9b2e0456326dc74cca5a25 (diff)
feat: default machine add label to the ssh host (#4678)
* feat: default machine add label to the ssh host `herdr machine add <ssh-target>` no longer requires `--label`. Without one, the machine is named after the SSH host with any `user@` prefix removed, so `herdr machine add dev@workbox` shows up as `workbox`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Apply suggestion from @greptile-apps[bot] Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * fix: make default machine labels unique per session and handle ssh urls --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com>
Diffstat (limited to 'docs/next/website')
-rw-r--r--docs/next/website/src/content/docs/cli-reference.mdx1
-rw-r--r--docs/next/website/src/content/docs/connecting-machines.mdx8
2 files changed, 6 insertions, 3 deletions
diff --git a/docs/next/website/src/content/docs/cli-reference.mdx b/docs/next/website/src/content/docs/cli-reference.mdx
index 52c39f40..f9aff8fe 100644
--- a/docs/next/website/src/content/docs/cli-reference.mdx
+++ b/docs/next/website/src/content/docs/cli-reference.mdx
@@ -51,6 +51,7 @@ with the installed binary. Use `--json` for the full JSON Schema document, or
```bash
herdr machine list
+herdr machine add workbox
herdr machine add workbox --label "Build machine"
herdr machine rename <profile-id> --label "New name"
herdr machine disable <profile-id>
diff --git a/docs/next/website/src/content/docs/connecting-machines.mdx b/docs/next/website/src/content/docs/connecting-machines.mdx
index 9be796f3..2ce18b06 100644
--- a/docs/next/website/src/content/docs/connecting-machines.mdx
+++ b/docs/next/website/src/content/docs/connecting-machines.mdx
@@ -32,17 +32,19 @@ Multi-machine connections support Linux, macOS, and Windows clients connecting t
Run setup in an interactive terminal so Herdr can ask before installing or replacing anything:
```bash
-herdr machine add workbox --label "Build machine"
+herdr machine add workbox
```
-This uses the remote default session. A machine profile targets one remote session; it does not combine every session on the host.
+The sidebar shows the machine as `workbox`, the SSH host without any `user@` prefix. Add `--label "Build machine"` to choose a different name. This uses the remote default session. A machine profile targets one remote session; it does not combine every session on the host.
To use a named session instead, add the optional `--remote-session` flag:
```bash
-herdr machine add workbox --label "Build machine" --remote-session agents
+herdr machine add workbox --remote-session agents
```
+Without `--label`, this machine shows as `workbox/agents`. If the default name is already taken, `machine add` asks you to pass `--label`.
+
Herdr checks both the installed binary and the running server. It starts the requested background server before saving the profile. Compatible client and server versions do not have to match. Missing or incompatible installations go through an approval-based setup. When the running server needs replacement, setup asks before stopping it and its pane processes, then starts the compatible server. The default answer is No. If installation and replacement are both needed, one confirmation covers them. `machine add` does not use experimental live handoff. Cancelling or failing setup leaves the profile unsaved.
Run `herdr` to open the UI. If a local client is already open, added and enabled machines normally appear within a second and connect in the background without changing your selection. An in-progress machine switch finishes before profile changes are applied. The remote server keeps running after setup exits.