hcom 0.1.8__tar.gz → 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of hcom might be problematic. Click here for more details.

@@ -3,6 +3,7 @@ include pyproject.toml
3
3
  recursive-include src/hcom *.py
4
4
  global-exclude __pycache__
5
5
  global-exclude *.py[co]
6
+ prune test
6
7
  prune tests
7
8
  prune docs
8
9
  prune old
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hcom
3
- Version: 0.1.8
3
+ Version: 0.2.0
4
4
  Summary: Lightweight CLI tool for real-time communication between Claude Code subagents using hooks
5
5
  Author-email: aannoo <your@email.com>
6
6
  License: MIT
@@ -66,7 +66,7 @@ uv tool install hcom
66
66
  # or pip
67
67
  pip install hcom
68
68
  # then use with:
69
- hcom open 3
69
+ hcom open
70
70
  ```
71
71
 
72
72
 
@@ -85,15 +85,18 @@ hcom open 2 backend-coder frontend-coder
85
85
  # Launch multiple of the same agent
86
86
  hcom open reviewer reviewer reviewer # 3 separate reviewers
87
87
 
88
- # Launch agents in background with specific prompts
89
- hcom open test-writer --claude-args "-p 'write tests for any new code'"
88
+ # Launch instances as background processes (no terminal window, managed with 'hcom kill')
89
+ hcom open --background
90
+ hcom open -p 2 code-writer # -p is shorthand for --background
90
91
 
91
- # Launch watchers that respond to notifications
92
- hcom open reviewer --claude-args "-p 'review when @mentioned'"
92
+ # Launch agent with specific prompt
93
+ HCOM_INITIAL_PROMPT='write tests' hcom open test-writer
94
+
95
+ # Resume instance (hcom chat will continue)
96
+ hcom open --claude-args "--resume session_id" # get session_id from hcom watch
93
97
 
94
98
  # Pass multiple Claude flags
95
- hcom open orchestrator --claude-args "--model sonnet
96
- --resume session_id"
99
+ hcom open orchestrator --claude-args "--model sonnet --resume session_id"
97
100
 
98
101
  # Launch in specific directories
99
102
  cd backend && hcom open api-specialist
@@ -114,9 +117,11 @@ hcom send "@hovoa7 can you check this?" # Message specific instance by name
114
117
  | Command | Description |
115
118
  |---------|-------------|
116
119
  | `hcom open [n]` | Launch n Claude instances (or named agents) |
120
+ | `hcom open -p` | Launch instances as background processes |
117
121
  | `hcom watch` | Conversation/status dashboard |
118
122
  | `hcom clear` | Clear and archive conversation |
119
123
  | `hcom cleanup` | Remove HCOM hooks from current directory |
124
+ | `hcom kill [name]` | Kill specific instance or all with --all |
120
125
 
121
126
  ### Automation Commands
122
127
  | Command | Description |
@@ -167,10 +172,10 @@ HCOM_INSTANCE_HINTS="always update chat with progress" hcom open nice-subagent-b
167
172
 
168
173
  ```bash
169
174
  # Change your name for one command
170
- HCOM_SENDER_NAME="reviewer" hcom send "LGTM!"
175
+ HCOM_SENDER_NAME="coolguy" hcom send "LGTM!"
171
176
 
172
- # Make instances wait 30 minutes instead of 10
173
- HCOM_WAIT_TIMEOUT=1800 hcom open 3
177
+ # Make instances timeout after 60 seconds instead of 30 minutes
178
+ HCOM_WAIT_TIMEOUT=60 hcom open 3
174
179
 
175
180
  # Custom welcome message
176
181
  HCOM_FIRST_USE_TEXT="Debug session for issue #123" hcom open 2
@@ -186,6 +191,7 @@ HCOM_MAX_MESSAGE_SIZE=8192 hcom send "$(cat long_report.txt)"
186
191
  - ◉ **waiting** (blue) - Waiting for messages
187
192
  - ■ **blocked** (yellow) - Permission blocked
188
193
  - ○ **inactive** (red) - Timed out/dead
194
+ - **(bg)** suffix - Instance running in background mode
189
195
 
190
196
  </details>
191
197
 
@@ -214,8 +220,10 @@ hcom adds hooks to your project directory's `.claude/settings.local.json`:
214
220
  ```
215
221
  ~/.hcom/
216
222
  ├── hcom.log # Conversation log
217
- ├── hcom.json # Instance tracking
218
- └── config.json # Configuration
223
+ ├── instances/ # Instance tracking
224
+ ├── logs/ # Background process logs
225
+ ├── config.json # Configuration
226
+ └── archive/ # Archived sessions
219
227
 
220
228
  your-project/
221
229
  └── .claude/
@@ -308,6 +316,15 @@ Configure `terminal_command` in `~/.hcom/config.json` to use your preferred term
308
316
  hcom clear
309
317
  ```
310
318
 
319
+ ### Kill Running Instances
320
+ ```bash
321
+ # Kill specific instance
322
+ hcom kill hovoa7
323
+
324
+ # Kill all instances
325
+ hcom kill --all
326
+ ```
327
+
311
328
  ### Remove HCOM hooks from current directory
312
329
  ```bash
313
330
  hcom cleanup
@@ -38,7 +38,7 @@ uv tool install hcom
38
38
  # or pip
39
39
  pip install hcom
40
40
  # then use with:
41
- hcom open 3
41
+ hcom open
42
42
  ```
43
43
 
44
44
 
@@ -57,15 +57,18 @@ hcom open 2 backend-coder frontend-coder
57
57
  # Launch multiple of the same agent
58
58
  hcom open reviewer reviewer reviewer # 3 separate reviewers
59
59
 
60
- # Launch agents in background with specific prompts
61
- hcom open test-writer --claude-args "-p 'write tests for any new code'"
60
+ # Launch instances as background processes (no terminal window, managed with 'hcom kill')
61
+ hcom open --background
62
+ hcom open -p 2 code-writer # -p is shorthand for --background
62
63
 
63
- # Launch watchers that respond to notifications
64
- hcom open reviewer --claude-args "-p 'review when @mentioned'"
64
+ # Launch agent with specific prompt
65
+ HCOM_INITIAL_PROMPT='write tests' hcom open test-writer
66
+
67
+ # Resume instance (hcom chat will continue)
68
+ hcom open --claude-args "--resume session_id" # get session_id from hcom watch
65
69
 
66
70
  # Pass multiple Claude flags
67
- hcom open orchestrator --claude-args "--model sonnet
68
- --resume session_id"
71
+ hcom open orchestrator --claude-args "--model sonnet --resume session_id"
69
72
 
70
73
  # Launch in specific directories
71
74
  cd backend && hcom open api-specialist
@@ -86,9 +89,11 @@ hcom send "@hovoa7 can you check this?" # Message specific instance by name
86
89
  | Command | Description |
87
90
  |---------|-------------|
88
91
  | `hcom open [n]` | Launch n Claude instances (or named agents) |
92
+ | `hcom open -p` | Launch instances as background processes |
89
93
  | `hcom watch` | Conversation/status dashboard |
90
94
  | `hcom clear` | Clear and archive conversation |
91
95
  | `hcom cleanup` | Remove HCOM hooks from current directory |
96
+ | `hcom kill [name]` | Kill specific instance or all with --all |
92
97
 
93
98
  ### Automation Commands
94
99
  | Command | Description |
@@ -139,10 +144,10 @@ HCOM_INSTANCE_HINTS="always update chat with progress" hcom open nice-subagent-b
139
144
 
140
145
  ```bash
141
146
  # Change your name for one command
142
- HCOM_SENDER_NAME="reviewer" hcom send "LGTM!"
147
+ HCOM_SENDER_NAME="coolguy" hcom send "LGTM!"
143
148
 
144
- # Make instances wait 30 minutes instead of 10
145
- HCOM_WAIT_TIMEOUT=1800 hcom open 3
149
+ # Make instances timeout after 60 seconds instead of 30 minutes
150
+ HCOM_WAIT_TIMEOUT=60 hcom open 3
146
151
 
147
152
  # Custom welcome message
148
153
  HCOM_FIRST_USE_TEXT="Debug session for issue #123" hcom open 2
@@ -158,6 +163,7 @@ HCOM_MAX_MESSAGE_SIZE=8192 hcom send "$(cat long_report.txt)"
158
163
  - ◉ **waiting** (blue) - Waiting for messages
159
164
  - ■ **blocked** (yellow) - Permission blocked
160
165
  - ○ **inactive** (red) - Timed out/dead
166
+ - **(bg)** suffix - Instance running in background mode
161
167
 
162
168
  </details>
163
169
 
@@ -186,8 +192,10 @@ hcom adds hooks to your project directory's `.claude/settings.local.json`:
186
192
  ```
187
193
  ~/.hcom/
188
194
  ├── hcom.log # Conversation log
189
- ├── hcom.json # Instance tracking
190
- └── config.json # Configuration
195
+ ├── instances/ # Instance tracking
196
+ ├── logs/ # Background process logs
197
+ ├── config.json # Configuration
198
+ └── archive/ # Archived sessions
191
199
 
192
200
  your-project/
193
201
  └── .claude/
@@ -280,6 +288,15 @@ Configure `terminal_command` in `~/.hcom/config.json` to use your preferred term
280
288
  hcom clear
281
289
  ```
282
290
 
291
+ ### Kill Running Instances
292
+ ```bash
293
+ # Kill specific instance
294
+ hcom kill hovoa7
295
+
296
+ # Kill all instances
297
+ hcom kill --all
298
+ ```
299
+
283
300
  ### Remove HCOM hooks from current directory
284
301
  ```bash
285
302
  hcom cleanup
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "hcom"
7
- version = "0.1.8"
7
+ version = "0.2.0"
8
8
  description = "Lightweight CLI tool for real-time communication between Claude Code subagents using hooks"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.6"
@@ -1,3 +1,3 @@
1
1
  """Claude Hook Comms - Real-time messaging between Claude Code agents."""
2
2
 
3
- __version__ = "0.1.8"
3
+ __version__ = "0.2.0"