Download src/constants/canvas-ui.ts from SaylorTwift/openhands: direct link, hf CLI and curl.
- Browser
- Download file 464 Bytes
-
https://huggingface.co/SaylorTwift/openhands/resolve/main/src/constants/canvas-ui.ts
- Command line
-
hf download hf://SaylorTwift/openhands/src/constants/canvas-ui.ts
-
curl -L -o canvas-ui.ts https://huggingface.co/SaylorTwift/openhands/resolve/main/src/constants/canvas-ui.ts
464 Bytes
| export const LEGACY_CANVAS_UI_TOOL_NAME = "canvas_ui"; | |
| export const CANVAS_UI_CLIENT_TOOL_NAME = "canvas_ui_control"; | |
| /** | |
| * Action discriminator generated by the SDK for the client-defined Canvas UI | |
| * tool (`ClientAction_<tool-name>`). Keep the SDK naming convention contained | |
| * here instead of repeating its generated class name throughout the frontend. | |
| */ | |
| export const CANVAS_UI_CLIENT_ACTION_KIND = | |
| `ClientAction_${CANVAS_UI_CLIENT_TOOL_NAME}` as const; | |