Approval Required
The agent wants to perform: {action}
diff --git a/frontend/src/components/chat/tool-call-display.tsx b/frontend/src/components/chat/tool-call-display.tsx
index 05e35b90..22a53713 100644
--- a/frontend/src/components/chat/tool-call-display.tsx
+++ b/frontend/src/components/chat/tool-call-display.tsx
@@ -18,9 +18,9 @@ export function ToolCallDisplay({ toolCall, className }: ToolCallDisplayProps) {
const statusIcon = {
pending: block. Intentionally has no
- * syntax-highlighter dependency — it surfaces run/job JSONB payloads as-is.
+ * otherwise a scrollable, syntax-highlighted
block surfacing run/job
+ * JSONB payloads.
*/
export function JsonBlock({ value, className }: JsonBlockProps) {
if (value === null || value === undefined) {
@@ -22,7 +65,7 @@ export function JsonBlock({ value, className }: JsonBlockProps) {
className,
)}
>
- {JSON.stringify(value, null, 2)}
+ {highlightJson(JSON.stringify(value, null, 2))}
)
}
diff --git a/frontend/src/components/common/status-badge.tsx b/frontend/src/components/common/status-badge.tsx
index 5340ce7d..ee4de6fc 100644
--- a/frontend/src/components/common/status-badge.tsx
+++ b/frontend/src/components/common/status-badge.tsx
@@ -7,11 +7,11 @@ const statusBadgeVariants = cva(
variants: {
variant: {
default: 'bg-secondary text-secondary-foreground',
- success: 'bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-400',
- warning: 'bg-yellow-100 text-yellow-800 dark:bg-yellow-900/30 dark:text-yellow-400',
- error: 'bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-400',
- info: 'bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-400',
- pending: 'bg-gray-100 text-gray-800 dark:bg-gray-700/30 dark:text-gray-400',
+ success: 'bg-success text-success-foreground',
+ warning: 'bg-warning text-warning-foreground',
+ error: 'bg-destructive text-destructive-foreground',
+ info: 'bg-info text-info-foreground',
+ pending: 'bg-muted text-muted-foreground',
},
},
defaultVariants: {
diff --git a/frontend/src/components/data-table/data-table.tsx b/frontend/src/components/data-table/data-table.tsx
index 08379a78..858ff375 100644
--- a/frontend/src/components/data-table/data-table.tsx
+++ b/frontend/src/components/data-table/data-table.tsx
@@ -77,7 +77,9 @@ export function DataTable