Download apps/desktop/src/components/chat/widget-shell.ts from SaylorTwift/hermes-agent: direct link, hf CLI and curl.
- Browser
- Download file 672 Bytes
-
https://huggingface.co/SaylorTwift/hermes-agent/resolve/main/apps/desktop/src/components/chat/widget-shell.ts
- Command line
-
hf download hf://SaylorTwift/hermes-agent/apps/desktop/src/components/chat/widget-shell.ts
-
curl -L -o widget-shell.ts https://huggingface.co/SaylorTwift/hermes-agent/resolve/main/apps/desktop/src/components/chat/widget-shell.ts
672 Bytes
| /** | |
| * Inline transcript widgets — the few tool results that render as a panel the | |
| * user reads or acts on (a clarify question, an artifact card) rather than as | |
| * a scaffold line. | |
| * | |
| * They share one shell so they cannot drift apart. They used to each pick their | |
| * own: clarify sat on a 2px radius over the chat backdrop's own color (a card | |
| * you could only see by its hairline), the artifact card on a hardcoded 10px | |
| * over nothing. One radius one rung above the composer, one mode-derived fill, | |
| * no border — the surface reads as a surface on the fill alone. | |
| */ | |
| export const WIDGET_SHELL_CLASS = 'rounded-3xl bg-(--ui-widget-surface-background) px-3.5 py-3' | |