fix(tui): clarify tool grouping setting (#45470)

Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
This commit is contained in:
opencode-agent[bot]
2026-08-26 23:02:27 -05:00
committed by GitHub
Unverified
parent 5cc81a497c
commit 1c66cd7832
2 changed files with 11 additions and 2 deletions
+2 -2
View File
@@ -86,12 +86,12 @@ export const settings: Setting[] = [
keywords: ["syntax", "concealment", "rendering"],
},
{
title: "Grouping",
title: "Tool grouping",
category: "Session",
path: ["session", "grouping"],
default: "auto",
values: ["none", "auto"],
keywords: ["transcript", "messages"],
keywords: ["transcript", "messages", "reads", "searches"],
},
{
title: "Transcript images",
+9
View File
@@ -75,6 +75,15 @@ test("shows the TPS default in session settings", () => {
expect(setting?.default).toBe(true)
})
test("names tool grouping explicitly in settings", () => {
expect(settings.find((setting) => setting.path.join(".") === "session.grouping")).toMatchObject({
title: "Tool grouping",
category: "Session",
default: "auto",
values: ["none", "auto"],
})
})
test("validates terminal copy behavior", () => {
expect(decodeInfo({ terminal: { copy: "manual" } })).toEqual({ terminal: { copy: "manual" } })
expect(decodeInfo({ terminal: { copy: "select" } })).toEqual({ terminal: { copy: "select" } })