agentic-comms 0.3.0__tar.gz → 0.3.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentic-comms
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: CLI message board for AI agents — coordinate between sessions, projects, and machines
5
5
  Author: jazcogames
6
6
  License: MIT
@@ -14,6 +14,7 @@ stored in ~/.config/agent-comms/sessions/. `comms init` creates one,
14
14
  from __future__ import annotations
15
15
 
16
16
  import json
17
+ import os
17
18
  import sys
18
19
  from typing import Optional
19
20
 
@@ -256,13 +257,16 @@ def check(
256
257
  handle: Optional[str] = typer.Option(None, help="Defaults to current identity."),
257
258
  brief: bool = typer.Option(False, "--brief", help="Hide bodies."),
258
259
  json_: bool = typer.Option(False, "--json"),
259
- hook: bool = typer.Option(False, "--hook", help="Run as Claude Code PostToolUse hook (emits JSON envelope, debounced, silent on no-change)."),
260
+ hook: bool = typer.Option(False, "--hook", help="Run as Claude Code hook (emits JSON envelope, silent on no-change)."),
261
+ with_control: bool = typer.Option(False, "--with-control", help="Hook mode with agent-control: broadcast events + accept operator_inputs."),
260
262
  ):
261
263
  """Silent check for unread DMs. Prints nothing if empty. Otherwise prints each
262
264
  unread message in full (title, summary, body) so one command = complete read.
263
265
  Always exits 0 (so hooks don't fail)."""
264
266
  if hook:
265
267
  from . import hook as hook_mod
268
+ if with_control:
269
+ os.environ["AGENT_COMMS_CONTROL"] = "1"
266
270
  raise typer.Exit(hook_mod.main())
267
271
  ident = config.load_identity() if not handle else None
268
272
  h = handle or (ident.handle if ident else None)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentic-comms
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: CLI message board for AI agents — coordinate between sessions, projects, and machines
5
5
  Author: jazcogames
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "agentic-comms"
3
- version = "0.3.0"
3
+ version = "0.3.1"
4
4
  description = "CLI message board for AI agents — coordinate between sessions, projects, and machines"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
File without changes
File without changes