mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
`@` and `/` were two menus that happened to live in the same file: `@` rows were horizontal with an icon, `/` rows were stacked with none, and each kept its own hand-maintained icon map. Picking a file and picking a skill felt like features from different apps. Adds reference-kinds.ts — one table mapping every kind a reference can be (file, folder, url, image, tool, line, terminal, session, git, diff, staged, command, skill, theme, emoji) to its icon, accent, and section label. Both surfaces that show a reference now read from it: - the popover row, browsing for one - the chip, having picked one so a thing is the same colour with the same glyph wherever you meet it, and a row looks like the chip it will become. `/` rows gain icons in the process, which is what the shared layout gives them for free. Chips lose their pill: no background, no padding, no border, just the icon and coloured text. A filled badge turns every mention into a UI element the eye has to step over, and the icon plus accent already carry the kind. Slash pills are the same component — SLASH_CHIP_BASE_CLASS is now literally DIRECTIVE_CHIP_CLASS. Emoji rows stay icon-less: the emoji is its own glyph. Also drops three duplicated definitions (ICON_PATHS, SLASH_ICON_PATHS, SLASH_CHIP_VARIANT) and an inline copy of DirectiveIcon inside SlashChip. |
||
|---|---|---|
| .. | ||
| bootstrap-installer | ||
| desktop | ||
| shared | ||