Spaces:
Paused
Paused
Download apps/widget-board/src/mcpClient.ts from Kraft102/widgettdc-api: direct link, hf CLI and curl.
- Browser
- Download file 271 Bytes
-
https://huggingface.co/spaces/Kraft102/widgettdc-api/resolve/main/apps/widget-board/src/mcpClient.ts
- Command line
-
hf download hf://spaces/Kraft102/widgettdc-api/apps/widget-board/src/mcpClient.ts
-
curl -L -o mcpClient.ts https://huggingface.co/spaces/Kraft102/widgettdc-api/resolve/main/apps/widget-board/src/mcpClient.ts
271 Bytes
| export const mcpClient = { | |
| call: async (tool: string, args?: any) => ({ payload: {} }), | |
| emit: async (event: string, data?: any) => { }, | |
| on: (event: string, handler: (data: any) => void) => { }, | |
| off: (event: string, handler: (data: any) => void) => { } | |
| }; | |