Add diff expansion controls with ContentDiffViewer and CodePreview components

This commit is contained in:
Chris Scott committed 2025-12-26 18:07:33 -05:00
1 parent 55b6ab3c87
commit 4fd658fc7d
11 files changed
+549 -53

No files matched your search

+2
View File
@@ -68,6 +68,7 @@ export const UserPreferencesSchema = z.object({
autoScroll: z.boolean(),
showReasoning: z.boolean(),
expandToolCalls: z.boolean(),
expandDiffs: z.boolean(),
keyboardShortcuts: z.record(z.string(), z.string()),
customCommands: z.array(CustomCommandSchema),
customAgents: z.array(CustomAgentSchema),
@@ -95,6 +96,7 @@ export const DEFAULT_USER_PREFERENCES = {
autoScroll: true,
showReasoning: false,
expandToolCalls: false,
expandDiffs: true,
keyboardShortcuts: DEFAULT_KEYBOARD_SHORTCUTS,
customCommands: [],
customAgents: [],