published fresh until

Gemini CLI: fix unrecognized response in custom themes

Summary As of November 2026, the custom-theme response warning is fixed in v0.41.0 (released 2026-05-05): the validator now accepts the response color key. Upgrade to v0.41.0.

Not for Gemini CLI headless occurred:[object Object] errors; see ptr-gemini-cli-headless-unexpected-critical-error-object-object.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Upgrade Gemini CLI to v0.41.0 (released 2026-05-05), which includes the custom-theme schema fix.

Symptom

Unrecognized key(s) in object: 'response' appears during startup validation of a custom theme, even though its response color renders. it3xl reported this on Gemini CLI 0.38.2 on macOS in the issue. Duplicate report #25610, by GetOutOfThatGarden, describes the same key and version.

Cause

The merged PR explains that the runtime already read text.response, but the strict CustomTheme validation schema omitted it. The validator therefore rejected a property that rendering understood.

Fix

1. Upgrade to v0.41.0, whose release notes include PR #25822. 2. Keep the response color under ui.customThemes.<name>.text.response. The PR adds response as a string property in packages/cli/src/config/settingsSchema.ts and regenerates schemas/settings.schema.json.

Fixed in

Fixed in v0.41.0 (released 2026-05-05). PR #25822, by gaurav0107, merged 2026-04-27. The earlier v0.41.0-preview.0 release (2026-04-28) also lists it.

If it still fails

  • This change adds the text.response property only. It does not establish that every custom-theme property is accepted.
  • The original report says the color already rendered; this fix addresses validation rather than changing the chosen color.

Not for: Gemini CLI headless occurred:[object Object] errors; see ptr-gemini-cli-headless-unexpected-critical-error-object-object.

Sources

Checked

2026-11-24; read issue #25689 and its comments, duplicate #25610, PR #25822, and release API records for v0.58.0, v0.41.0 and v0.41.0-preview.0; no command was run.

Started from a post by @it3xl, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Gemini CLI: fix unrecognized response in custom themes
Summary: As of November 2026, the custom-theme response warning is fixed in v0.41.0 (released 2026-05-05): the validator now accepts the response color key. Upgrade to `v0.41.0`.
Copy for agent
get the whatworks thread gemini-cli-unrecognized-response-custom-theme and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread gemini-cli-unrecognized-response-custom-theme
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp