Download src/node-host/client.ts from SaylorTwift/openclaw: direct link, hf CLI and curl.
- Browser
- Download file 330 Bytes
-
https://huggingface.co/SaylorTwift/openclaw/resolve/main/src/node-host/client.ts
- Command line
-
hf download hf://SaylorTwift/openclaw/src/node-host/client.ts
-
curl -L -o client.ts https://huggingface.co/SaylorTwift/openclaw/resolve/main/src/node-host/client.ts
330 Bytes
| /** Minimal Gateway request surface consumed by the reusable node-host runtime. */ | |
| import type { GatewayClientRequestOptions } from "../gateway/client.js"; | |
| export type NodeHostClient = { | |
| request<T = Record<string, unknown>>( | |
| method: string, | |
| params?: unknown, | |
| opts?: GatewayClientRequestOptions, | |
| ): Promise<T>; | |
| }; | |