The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(google-chat): pin hosted install wiring and document the lazy target
xxxigm1468e98e4823
diff --git a/tests/gateway/test_platform_registry.py b/tests/gateway/test_platform_registry.pyindex 24040c8ba33..bf75dc54c24 100644--- a/tests/gateway/test_platform_registry.py+++ b/tests/gateway/test_platform_registry.py@@ -686,6 +686,7 @@ class TestMigratedPlatformWiring:["teams", "telegram", "discord", "slack","matrix", "dingtalk", "feishu", "wecom_callback",+ "google_chat",],)def test_lazy_installable_platform_has_split_wiring(self, platform_name):diff --git a/tests/test_project_metadata.py b/tests/test_project_metadata.pyindex 2b2ae47a6fd..67de0b57c20 100644--- a/tests/test_project_metadata.py+++ b/tests/test_project_metadata.py@@ -70,7 +70,7 @@ def test_lazy_installable_extras_excluded_from_all():"edge-tts", "tts-premium","voice", # faster-whisper / sounddevice / numpy"modal", "daytona", "vercel",- "messaging", "slack", "matrix", "dingtalk", "feishu",+ "messaging", "slack", "matrix", "dingtalk", "feishu", "google-chat","honcho", "hindsight","supermemory", "mem0","mistral", # mistralai — Voxtral STT/TTS, lazy-installed (stt.mistral / tts.mistral)diff --git a/website/docs/user-guide/messaging/google_chat.md b/website/docs/user-guide/messaging/google_chat.mdindex e47e5a495a1..cc085162c92 100644--- a/website/docs/user-guide/messaging/google_chat.md+++ b/website/docs/user-guide/messaging/google_chat.md@@ -182,6 +182,13 @@ It applies the same pinned security floors used by the runtime checks:python -m plugins.platforms.google_chat.oauth --install-deps```+On Docker / hosted images `/opt/hermes/.venv` is read-only. That installer+routes through `tools.lazy_deps` into `HERMES_LAZY_INSTALL_TARGET`+(`/opt/data/lazy-packages` in the official image) instead of writing+site-packages. Restart the gateway after it finishes. The published image+also bakes the `[google-chat]` extra so a fresh container does not need a+first-boot install.+Start the gateway:```bashdiff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/messaging/google_chat.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/messaging/google_chat.mdindex 722cf35fcce..2c1da9f8755 100644--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/messaging/google_chat.md+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/messaging/google_chat.md@@ -144,6 +144,8 @@ GOOGLE_CHAT_MAX_BYTES=16777216 # 16 MiB — 在途消息字节python -m plugins.platforms.google_chat.oauth --install-deps```+在 Docker / hosted 镜像中 `/opt/hermes/.venv` 只读。该安装程序通过 `tools.lazy_deps` 写入 `HERMES_LAZY_INSTALL_TARGET`(官方镜像为 `/opt/data/lazy-packages`),而不是 site-packages。完成后重启 gateway。发布镜像也会预装 `[google-chat]` extra,新容器不必在首次启动时再装。+启动 gateway(网关):```bash