feat(frontend): add simple chat mode (#190)

* loop: simple-chat-mode completed after 1 iterations

* feat(frontend): add simple chat mode for user messages and clean up redundant optimistic filtering

* refactor(frontend): consolidate status indicators and simplify simple chat mode

- Merge MiniScanner and CompactStatusIndicator into SessionStatusIndicator with size and showLabel props
- Hide step-finish cost/token display in simpleChatMode
- Update SessionCard and PromptInput to use unified SessionStatusIndicator
- Add tests for step-finish rendering in simpleChatMode
This commit is contained in:
Chris Scott authored and GitHub committed 2026-04-23 11:37:24 -04:00
1 parent b61a3c83d1
commit adf77516e5
12 files changed
+493 -221

No files matched your search

+6 -4
View File
@@ -114,9 +114,10 @@ export const UserPreferencesSchema = z.object({
defaultModel: z.string().optional(),
defaultAgent: z.string().optional(),
autoScroll: z.boolean(),
showReasoning: z.boolean(),
expandToolCalls: z.boolean(),
expandDiffs: z.boolean(),
expandToolCalls: z.boolean(),
showReasoning: z.boolean(),
simpleChatMode: z.boolean(),
leaderKey: z.string().optional(),
directShortcuts: z.array(z.string()).optional(),
keyboardShortcuts: z.record(z.string(), z.string()),
@@ -161,9 +162,10 @@ export const DEFAULT_USER_PREFERENCES = {
theme: "dark" as const,
mode: "build" as const,
autoScroll: true,
showReasoning: false,
expandToolCalls: false,
expandDiffs: true,
expandToolCalls: false,
showReasoning: false,
simpleChatMode: false,
leaderKey: DEFAULT_LEADER_KEY,
directShortcuts: ['submit', 'abort'],
keyboardShortcuts: DEFAULT_KEYBOARD_SHORTCUTS,