The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
refactor(plugins/google_meet): unlink(missing_ok) + hoist uuid import in process_manager
Tekniume1694de7ed50
diff --git a/plugins/google_meet/process_manager.py b/plugins/google_meet/process_manager.pyindex afd4ce40b87..30e9030e337 100644--- a/plugins/google_meet/process_manager.py+++ b/plugins/google_meet/process_manager.py@@ -14,6 +14,7 @@ import signalimport subprocessimport sysimport time+import uuidfrom pathlib import Pathfrom typing import Any, Dict, Optional@@ -132,7 +133,6 @@ def transcript(last: Optional[int] = None) -> Dict[str, Any]:def enqueue_say(text: str) -> Dict[str, Any]:"""Append a ``say`` request to ``<out_dir>/say_queue.jsonl``.Refused when no meeting is active or the active bot is transcribe-only."""- import uuidtext = (text or "").strip()if not text:return {"ok": False, "reason": "text is required"}@@ -167,9 +167,6 @@ def stop(*, reason: str = "requested") -> Dict[str, Any]:time.sleep(0.5)if _pid_alive(pid):_kill(pid, signal.SIGKILL) # windows-footgun: ok — POSIX-only plugin (google_meet registers no-op on Windows; see __init__.py)- try:- (_root() / ".active.json").unlink()- except FileNotFoundError:- pass+ (_root() / ".active.json").unlink(missing_ok=True)return {"ok": True, "reason": reason, "meetingId": active.get("meeting_id"),"transcriptPath": str(Path(out_dir) / "transcript.txt") if out_dir else None}