Download extensions/googlechat/src/runtime.ts from quinnz/openclaw: direct link, hf CLI and curl.
- Browser
- Download file 341 Bytes
-
https://huggingface.co/spaces/quinnz/openclaw/resolve/main/extensions/googlechat/src/runtime.ts
- Command line
-
hf download hf://spaces/quinnz/openclaw/extensions/googlechat/src/runtime.ts
-
curl -L -o runtime.ts https://huggingface.co/spaces/quinnz/openclaw/resolve/main/extensions/googlechat/src/runtime.ts
341 Bytes
| import type { PluginRuntime } from "openclaw/plugin-sdk"; | |
| let runtime: PluginRuntime | null = null; | |
| export function setGoogleChatRuntime(next: PluginRuntime) { | |
| runtime = next; | |
| } | |
| export function getGoogleChatRuntime(): PluginRuntime { | |
| if (!runtime) { | |
| throw new Error("Google Chat runtime not initialized"); | |
| } | |
| return runtime; | |
| } | |