feat(inspector): improve session UI, skills dropdown, and visual polish (#179)

- Add delete button on ended sessions (visible on hover)
- Darken ended sessions with opacity and "ended" pill badge
- Sort ended sessions to bottom of list
- Add token usage pill in chat header
- Disable input when session ended
- Add Official Skills dropdown with SDK and Rivet presets
- Format session IDs shorter with full ID on hover
- Add arrow icon to "Configure persistence" link
- Add agent logo SVGs
This commit is contained in:
NicholasKissel 2026-02-13 05:54:53 +00:00
parent 1c381c552a
commit e134012955
22 changed files with 2283 additions and 395 deletions

View file

@ -16,3 +16,9 @@ export const formatTime = (value: string) => {
};
export const escapeSingleQuotes = (value: string) => value.replace(/'/g, `'\\''`);
export const formatShortId = (value: string, head = 8, tail = 4) => {
if (!value) return "";
if (value.length <= head + tail + 1) return value;
return `${value.slice(0, head)}...${value.slice(-tail)}`;
};