mini: add monochrome ASCII mode (#38173)

This commit is contained in:
Simon Klee 2026-07-21 22:01:09 +02:00 committed by GitHub
commit e8d273ae5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 550 additions and 292 deletions

View file

@ -103,11 +103,19 @@ describe("run runtime boot", () => {
expect(result.theme).toEqual({ mode: "light" })
expect(result.leader.timeout).toBe(450)
expect(result.session?.thinking).toBe("show")
expect(resolveMiniSettings(result)).toEqual({ thinking: "hide", shell_output: "hide", turn_summary: "show" })
expect(resolveMiniSettings({ mini: { thinking: "show", shell_output: "show", turn_summary: "hide" } })).toEqual({
expect(resolveMiniSettings(result)).toEqual({
thinking: "hide",
shell_output: "hide",
turn_summary: "show",
mono: false,
})
expect(
resolveMiniSettings({ mini: { thinking: "show", shell_output: "show", turn_summary: "hide", mono: true } }),
).toEqual({
thinking: "show",
shell_output: "show",
turn_summary: "hide",
mono: true,
})
})