Something went wrong. Try again.
The agent that grows with you
Something went wrong. Try again.
1.7 kB · 54 lines
Python
at bb/theme
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455"""Remote 'node host' primitive for the google_meet plugin.
Lets the Meet bot (Playwright + Chrome) run on a different machine thanthe hermes-agent gateway. The gateway speaks a small JSON-over-WebSocketRPC protocol to the remote node; the node wraps the existing``plugins.google_meet.process_manager`` API.
Topology-------- gateway (Linux) ── ws://mac.local:18789 ──▶ node server (Mac) └─ process_manager └─ meet_bot (Playwright)
Why: Google sign-in + Chrome profile live on the user's laptop. Runningthe bot there reuses that profile without shipping credentials to theserver.
Public surface-------------- NodeClient — gateway-side RPC client (short-lived sync WS per call) NodeServer — long-running server that hosts the bot NodeRegistry — local JSON registry of approved nodes (name → url+token) protocol — message envelope helpers (make_request, encode, decode, ...)"""
from __future__ import annotations
from plugins.google_meet.node import protocolfrom plugins.google_meet.node.client import NodeClientfrom plugins.google_meet.node.protocol import ( VALID_REQUEST_TYPES, decode, encode, make_error, make_request, make_response, validate_request,)from plugins.google_meet.node.registry import NodeRegistryfrom plugins.google_meet.node.server import NodeServer
__all__ = [ "NodeClient", "NodeServer", "NodeRegistry", "protocol", "make_request", "make_response", "make_error", "encode", "decode", "validate_request", "VALID_REQUEST_TYPES",]