Skip to content

Commit 3ebe72a

Browse files
committed
v0.7.3: terminal presets, launch/identity fixes, transcript reliability, hook idempotence, blocked approval lifecycle
1 parent 1cb3dcb commit 3ebe72a

97 files changed

Lines changed: 9373 additions & 5811 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Cargo.lock

Lines changed: 1 addition & 176 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hcom"
3-
version = "0.7.2"
3+
version = "0.7.3"
44
edition = "2024"
55
authors = ["hcom"]
66
description = "Connect Claude Code, Gemini CLI, and Codex so agents can message, watch, and spawn each other across terminals"
@@ -28,7 +28,6 @@ chrono = "0.4"
2828
# TUI dependencies
2929
ratatui = { version = "0.30", features = ["scrolling-regions"] }
3030
crossterm = "0.29"
31-
color-eyre = "0.6"
3231
unicode-width = "0.2"
3332
unicode-segmentation = "1.12.0"
3433
shell-words = "1"

README.md

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
[![PyPI](https://img.shields.io/pypi/v/hcom)](https://pypi.org/project/hcom/)
44
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
55
[![Rust](https://img.shields.io/badge/Built_with-Rust-dea584)](https://www.rust-lang.org/)
6+
[![GitHub stars](https://img.shields.io/github/stars/aannoo/hcom)](https://github.com/aannoo/hcom/stargazers)
67

78
Agents running in separate terminals are isolated from each other. Context doesn't transfer, decisions get repeated, file edits collide.
89

@@ -189,7 +190,7 @@ hcom status # diagnostics
189190
<summary>CLI</summary>
190191

191192
```
192-
hcom (hook-comms) v0.7.0 - multi-agent communication
193+
hcom (hook-comms) v0.7.3 - multi-agent communication
193194
194195
Usage:
195196
hcom TUI dashboard
@@ -285,13 +286,18 @@ Usage:
285286
--json JSON array of all agents
286287
--names Just names, one per line
287288
--format TPL Template per agent: --format '{name} {status}'
289+
Fields: name, base_name, status, status_context, status_detail,
290+
status_age_seconds, description, unread_count, tool, tag, directory,
291+
session_id, parent_name, agent_id, headless, created_at,
292+
hooks_bound, process_bound, transcript_path, background_log_file,
293+
launch_context
288294
289295
hcom list [self|<name>] Single agent details
290296
[field] Print specific field (status, directory, session_id, ...)
291297
--json Output as JSON
292298
--sh Shell exports: eval "$(hcom list self --sh)"
293299
294-
hcom list --stopped [name] Stopped instances (from events)
300+
hcom list --stopped [name] Stopped agents (from events)
295301
--all All stopped (default: last 20)
296302
297303
@@ -456,7 +462,7 @@ Keys:
456462
hcom config <key> --info for details
457463
458464
Precedence: defaults < config.toml < env vars
459-
Files: /Users/anno/.hcom/config.toml, /Users/anno/.hcom/.env
465+
Files: ~/.hcom/config.toml, ~/.hcom/config.env
460466
HCOM_DIR: isolate per project (see 'hcom reset --help')
461467
462468
## hooks
@@ -582,7 +588,7 @@ JSON format:
582588
## kill
583589
584590
Usage:
585-
hcom kill <name> [name2 ...] Kill process (+ close terminal pane)
591+
hcom kill <name> Kill process (+ close terminal pane)
586592
hcom kill tag:<name> Kill all with tag
587593
hcom kill all Kill all with tracked PIDs
588594
@@ -917,6 +923,7 @@ Managed (open + close on kill):
917923
kitty auto split/tab/window
918924
wezterm auto tab/split/window
919925
tmux detached sessions
926+
cmux workspaces
920927
921928
Variants:
922929
kitty: kitty-window, kitty-tab, kitty-split
@@ -929,18 +936,25 @@ Other (opens window only):
929936
Ghostty
930937
alacritty
931938
ttab
939+
zellij
940+
waveterm
932941
933942
Custom command (open only):
934943
hcom config terminal "my-terminal -e bash {script}"
935944
936945
Custom preset with close (~/.hcom/config.toml):
937946
[terminal.presets.myterm]
938947
open = "myterm spawn -- bash {script}"
939-
close = "myterm kill --id {id}"
948+
close = "myterm kill --id {pane_id}"
940949
binary = "myterm"
941-
942-
{id} = stdout from the open command.
943-
{pid} and {process_id} also available.
950+
pane_id_env = "MYTERM_PANE_ID"
951+
952+
Placeholders:
953+
{script} = hcom-generated launch wrapper script path
954+
{pane_id} = pane/window/workspace ID from pane_id_env; falls back to {id}
955+
{process_id} = HCOM_PROCESS_ID for the launched agent
956+
{pid} = launched terminal process ID
957+
{id} = first line of stdout captured from the open command
944958
945959
Set: hcom config terminal kitty
946960
Reset: hcom config terminal default

0 commit comments

Comments
 (0)