chore(ui): remove orphaned ROLE_STYLES and RoleStyle from pretty messages view

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
mateo 2026-09-17 20:04:02 +00:00
parent decbb96382
commit be74d2b01f
2 changed files with 0 additions and 39 deletions

View file

@ -31,10 +31,3 @@ export interface ParsedMessages {
requestMessages: ParsedMessage[];
responseMessage: ParsedMessage | null;
}
export interface RoleStyle {
background: string;
borderColor: string;
label: string;
labelColor: string;
}

View file

@ -8,41 +8,9 @@ import {
ParsedMessages,
RequestPayload,
ResponsePayload,
RoleStyle,
ToolCall,
} from "./prettyMessagesTypes";
/**
* Role color styles for message cards - minimal, professional design
* Color only used for labels and left border accent
*/
export const ROLE_STYLES: Record<string, RoleStyle> = {
system: {
background: "transparent",
borderColor: "var(--color-muted-foreground)",
label: "SYSTEM",
labelColor: "var(--color-muted-foreground)",
},
user: {
background: "transparent",
borderColor: "var(--color-info)",
label: "USER",
labelColor: "var(--color-info)",
},
assistant: {
background: "transparent",
borderColor: "var(--color-success)",
label: "ASSISTANT",
labelColor: "var(--color-success)",
},
tool: {
background: "transparent",
borderColor: "var(--color-warning)",
label: "TOOL RESULT",
labelColor: "var(--color-warning)",
},
};
type UnknownRecord = Record<string, unknown>;
const isRecord = (value: unknown): value is UnknownRecord =>