Address PR #1211 code review feedback

1. ServerCard: import ConnectionStatus and ServerType from core instead
   of inline union types
2. ResourcePreviewPanel: move ContentBlock import to top of file
3. ContentViewer: remove dead annotation mimeType check in isJsonText
4. ProgressDisplay: use Pick to exclude progressToken from params type;
   remove fake tokens from callers and stories
5. AnnotationBadge: restore human-readable priority labels (high/medium/low)
   and remove unused --inspector-annotation-* CSS vars from App.css
6. MessageBubble: add fallback rendering for resource, resource_link,
   tool_use, and tool_result content block types
7. TaskControls: import TaskStatus directly from SDK instead of via TaskCard

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
cliffhall 2026-04-18 11:48:21 -04:00
commit 3e2e44ccfc

View file

@ -49,15 +49,6 @@
--inspector-log-alert: var(--mantine-color-red-9);
--inspector-log-emergency: var(--mantine-color-red-9);
/* ── Annotations ───────────────────────────────────────── */
--inspector-annotation-destructive: var(--mantine-color-red-6);
--inspector-annotation-long-run: var(--mantine-color-yellow-6);
--inspector-annotation-read-only: var(--mantine-color-dark-6);
--inspector-annotation-audience: var(--mantine-color-gray-6);
--inspector-annotation-priority-high: var(--mantine-color-orange-6);
--inspector-annotation-priority-medium: var(--mantine-color-yellow-6);
--inspector-annotation-priority-low: var(--mantine-color-green-6);
/* ── Task status ───────────────────────────────────────── */
--inspector-task-waiting: var(--mantine-color-gray-5);
--inspector-task-running: var(--mantine-color-blue-6);