Skip to content

v0.6.18

Choose a tag to compare

@aannoo aannoo released this 11 Feb 23:57
· 7 commits to main since this release

hcom 0.6.18

Resume improvements, request-watch, sleep/wake detection, fatcow script.

  • Resume flag pass-throughhcom r luna --model opus passes 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 request auto-watches the recipient. Sender notified if recipient goes idle or stops without responding. Auto-cancels on reply.

  • Structured event filtersapi.events(agent="nova", type="message", sender="luna") — kwargs mirror CLI flags. AND across filters, OR within.

  • Fatcow scripthcom run fatcow --path src/tools launches 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_id when pane_id missing. 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.