v0.6.18
hcom 0.6.18
Resume improvements, request-watch, sleep/wake detection, fatcow script.
-
Resume flag pass-through —
hcom r luna --model opuspasses extra flags to the tool. Tag preserved. Messages sent while stopped get delivered on resume (cursor restoration). -
api.launch(resume="name")— API accepts instance names, not just session IDs. Resolves tag-prefixed names, loads snapshot automatically. -
Request-watch —
--intent requestauto-watches the recipient. Sender notified if recipient goes idle or stops without responding. Auto-cancels on reply. -
Structured event filters —
api.events(agent="nova", type="message", sender="luna")— kwargs mirror CLI flags. AND across filters, OR within. -
Fatcow script —
hcom run fatcow --path src/toolslaunches a headless agent that reads every file, memorizes with line refs, answers questions via hcom. Live mode (stays running, tracks file changes) or dead mode (--dead, ingests then stops, resumed on demand with--ask). -
Sleep/wake detection — Detects system sleep via wall-clock drift. 60s grace period after wake skips stale cleanup so agents aren't killed.
-
Stop snapshot race — Log lifecycle event before deleting instance row (was after). Prevents lost snapshots on DB lock contention.
-
Env sanitization — Terminal launcher strips hcom identity/tool vars from subprocess env. Fixes Terminal.app inheriting stale context.
-
Pane close reliability — Falls back to
terminal_idwhenpane_idmissing. Rust PTY retries temp file read with backoff for kitty launch race. -
Cleanup — PTY runner script consumes full env dict (removed individual env construction). Display names (tag-name) used throughout status/hooks. Better CLI error messages with help text.