mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
feat(chat): group exploration tool calls
Collapse consecutive read, search and fetch tool calls in the chat transcript into one expandable summary line, matching the OpenCode TUI. Adds a groupToolCalls preference (default on) with a Settings toggle.
This commit is contained in:
1 parent
81dd00e89f
commit
02d2e89bca
8 files changed
+242
-10
No files matched your search
@@ -55,6 +55,7 @@ export const AssistantSettingsPatchSchema = UserPreferencesSchema.pick({
|
||||
autoScroll: true,
|
||||
expandDiffs: true,
|
||||
expandToolCalls: true,
|
||||
groupToolCalls: true,
|
||||
showReasoning: true,
|
||||
simpleChatMode: true,
|
||||
leaderKey: true,
|
||||
|
||||
@@ -173,6 +173,7 @@ export const UserPreferencesSchema = z.object({
|
||||
autoScroll: z.boolean(),
|
||||
expandDiffs: z.boolean(),
|
||||
expandToolCalls: z.boolean(),
|
||||
groupToolCalls: z.boolean(),
|
||||
showReasoning: z.boolean(),
|
||||
simpleChatMode: z.boolean(),
|
||||
leaderKey: z.string().optional(),
|
||||
@@ -228,6 +229,7 @@ export const DEFAULT_USER_PREFERENCES = {
|
||||
autoScroll: true,
|
||||
expandDiffs: true,
|
||||
expandToolCalls: false,
|
||||
groupToolCalls: true,
|
||||
showReasoning: false,
|
||||
simpleChatMode: false,
|
||||
leaderKey: DEFAULT_LEADER_KEY,
|
||||
|
||||
Reference in new issue
Block a user