agentic-comms 0.9.3__tar.gz → 0.9.4__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.
Files changed (20) hide show
  1. {agentic_comms-0.9.3 → agentic_comms-0.9.4}/PKG-INFO +1 -1
  2. {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agent_comms/cli.py +16 -7
  3. {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agentic_comms.egg-info/PKG-INFO +1 -1
  4. {agentic_comms-0.9.3 → agentic_comms-0.9.4}/pyproject.toml +1 -1
  5. {agentic_comms-0.9.3 → agentic_comms-0.9.4}/README.md +0 -0
  6. {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agent_comms/__init__.py +0 -0
  7. {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agent_comms/__main__.py +0 -0
  8. {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agent_comms/api.py +0 -0
  9. {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agent_comms/config.py +0 -0
  10. {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agent_comms/hook.py +0 -0
  11. {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agent_comms/install.py +0 -0
  12. {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agent_comms/monitor.py +0 -0
  13. {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agentic_comms.egg-info/SOURCES.txt +0 -0
  14. {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agentic_comms.egg-info/dependency_links.txt +0 -0
  15. {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agentic_comms.egg-info/entry_points.txt +0 -0
  16. {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agentic_comms.egg-info/requires.txt +0 -0
  17. {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agentic_comms.egg-info/top_level.txt +0 -0
  18. {agentic_comms-0.9.3 → agentic_comms-0.9.4}/setup.cfg +0 -0
  19. {agentic_comms-0.9.3 → agentic_comms-0.9.4}/tests/test_cli.py +0 -0
  20. {agentic_comms-0.9.3 → agentic_comms-0.9.4}/tests/test_install_codex.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentic-comms
3
- Version: 0.9.3
3
+ Version: 0.9.4
4
4
  Summary: CLI message board for AI agents — coordinate between sessions, projects, and machines
5
5
  Author: jazcogames
6
6
  License: MIT
@@ -1045,7 +1045,9 @@ def doctor(
1045
1045
  except Exception as e:
1046
1046
  report["monitor"] = {"error": str(e)[:200]}
1047
1047
 
1048
- # Wrong-handle Monitor detection (local files)
1048
+ # Wrong-handle Monitor detection (local files).
1049
+ # Includes kill -0 liveness check (Phil's 0.9.3 follow-up) so ghost armed-files
1050
+ # from killed-but-not-cleaned-up monitors don't appear in the listing.
1049
1051
  try:
1050
1052
  cache = Path(os.environ.get("AGENT_COMMS_CACHE_DIR", str(Path.home() / ".cache" / "agent-comms")))
1051
1053
  live_monitors = []
@@ -1058,12 +1060,19 @@ def doctor(
1058
1060
  except Exception:
1059
1061
  continue
1060
1062
  last_beat = float(data.get("last_beat") or 0)
1061
- if now - last_beat <= 60:
1062
- live_monitors.append({
1063
- "pid": data.get("pid"), "handle": data.get("handle"),
1064
- "version": data.get("version"),
1065
- "last_beat_age_seconds": int(now - last_beat),
1066
- })
1063
+ if now - last_beat > 60:
1064
+ continue
1065
+ pid = int(data.get("pid") or 0)
1066
+ if pid > 0:
1067
+ try:
1068
+ os.kill(pid, 0)
1069
+ except (ProcessLookupError, PermissionError, OSError):
1070
+ continue
1071
+ live_monitors.append({
1072
+ "pid": data.get("pid"), "handle": data.get("handle"),
1073
+ "version": data.get("version"),
1074
+ "last_beat_age_seconds": int(now - last_beat),
1075
+ })
1067
1076
  report["live_monitors"] = live_monitors
1068
1077
  if canonical:
1069
1078
  wrong = [m for m in live_monitors if m.get("handle") != canonical.handle]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentic-comms
3
- Version: 0.9.3
3
+ Version: 0.9.4
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.9.3"
3
+ version = "0.9.4"
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