feat(#2067): choom takes optional session id to resume, else blank session
This commit is contained in:
parent
09b83c9d1e
commit
c5847e25ea
3 changed files with 51 additions and 23 deletions
|
|
@ -379,13 +379,14 @@ Generate the federation peer-config block for THIS hive — the nix a peer opera
|
|||
|
||||
Open an interactive Claude session inside an agent container.
|
||||
|
||||
Execs `machinectl shell <name>@h-<name>` running claude as the agent user from its state dir, with the same settings / MCP config / system prompt the harness uses. Each launch starts a fresh, named ("choom") session so it never collides with the harness's live session in the same project dir. Requires root + a running container.
|
||||
Execs `machinectl shell <name>@h-<name>` running claude as the agent user from its state dir, with the same settings / MCP config / system prompt the harness uses. Without a session id you get a fresh blank session each launch; pass one to resume an earlier choom session (`--resume <id>`). Either way it never collides with the harness's live session — the harness pins its own session id via `--resume`, so a blank choom session is invisible to it. Requires root + a running container.
|
||||
|
||||
**Usage:** `hivectl choom <NAME>`
|
||||
**Usage:** `hivectl choom <NAME> [SESSION]`
|
||||
|
||||
###### **Arguments:**
|
||||
|
||||
* `<NAME>` — Agent name (e.g. `damocles`, `iris`)
|
||||
* `<SESSION>` — Optional session id to resume (`claude --resume <id>`). Omit for a fresh blank session
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue