mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
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:
1 parent
b61a3c83d1
commit
adf77516e5
12 files changed
+493
-221
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user