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.
- {agentic_comms-0.9.3 → agentic_comms-0.9.4}/PKG-INFO +1 -1
- {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agent_comms/cli.py +16 -7
- {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agentic_comms.egg-info/PKG-INFO +1 -1
- {agentic_comms-0.9.3 → agentic_comms-0.9.4}/pyproject.toml +1 -1
- {agentic_comms-0.9.3 → agentic_comms-0.9.4}/README.md +0 -0
- {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agent_comms/__init__.py +0 -0
- {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agent_comms/__main__.py +0 -0
- {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agent_comms/api.py +0 -0
- {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agent_comms/config.py +0 -0
- {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agent_comms/hook.py +0 -0
- {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agent_comms/install.py +0 -0
- {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agent_comms/monitor.py +0 -0
- {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agentic_comms.egg-info/SOURCES.txt +0 -0
- {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agentic_comms.egg-info/dependency_links.txt +0 -0
- {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agentic_comms.egg-info/entry_points.txt +0 -0
- {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agentic_comms.egg-info/requires.txt +0 -0
- {agentic_comms-0.9.3 → agentic_comms-0.9.4}/agentic_comms.egg-info/top_level.txt +0 -0
- {agentic_comms-0.9.3 → agentic_comms-0.9.4}/setup.cfg +0 -0
- {agentic_comms-0.9.3 → agentic_comms-0.9.4}/tests/test_cli.py +0 -0
- {agentic_comms-0.9.3 → agentic_comms-0.9.4}/tests/test_install_codex.py +0 -0
|
@@ -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
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
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]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|