diff --git a/packages/tui/src/component/dialog-config.tsx b/packages/tui/src/component/dialog-config.tsx index d7b72827432..710c2d7713c 100644 --- a/packages/tui/src/component/dialog-config.tsx +++ b/packages/tui/src/component/dialog-config.tsx @@ -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", diff --git a/packages/tui/test/config-v2.test.tsx b/packages/tui/test/config-v2.test.tsx index cb3f732f2a8..234e993d83a 100644 --- a/packages/tui/test/config-v2.test.tsx +++ b/packages/tui/test/config-v2.test.tsx @@ -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" } })