/** * Fixed-palette plugin artwork for the plugin management surfaces. Unlike the * ic_ds_* set these glyphs carry their own brand colors and gradients instead * of riding currentColor; all draw on a 36×36 viewBox and take {size, className}. */ import { useId } from 'react' import type { IconProps } from './icons/props.ts' /** * A per-instance SVG def id prefix: the artwork repeats across cards and rows, * and duplicate document ids would make every `url(#…)` resolve to the first instance. */ const useArtworkId = (): string => `dsh_plugin_art_${useId().replaceAll(':', '')}` /** Light-blue terminal artwork shared by plugin cards and sidebar guide entries. */ export const PluginArtworkTerminal = ({ size = 36, className }: IconProps) => ( ) /** Agent-loop plugin artwork (four leaves circling a center). */ export const PluginArtworkLoop = ({ size = 36, className }: IconProps) => { const uid = useArtworkId() return ( ) } /** Subagent plugin artwork (two stacked rounded squares); also marks every row inside a bundle. */ export const PluginArtworkSubagent = ({ size = 36, className }: IconProps) => { const uid = useArtworkId() return ( ) } /** * Web-search plugin artwork (conic-gradient ring and handle). SVG has no * native conic gradient, so the ring clips an HTML div painted with CSS * `conic-gradient` — the same emulation Figma exports; it renders inline in * the browser UI but would stay empty in an `` or mask context. */ export const PluginArtworkSearch = ({ size = 36, className }: IconProps) => { const uid = useArtworkId() return (
) } /** Default plugin artwork for plugins without one of their own (connector blocks and a node). */ export const PluginArtworkDefault = ({ size = 36, className }: IconProps) => { const uid = useArtworkId() return ( ) }