Skip to content

feat(unstable): Add boolean config option capabilities#1490

Open
benbrandt wants to merge 1 commit into
mainfrom
boolean-config-capability
Open

feat(unstable): Add boolean config option capabilities#1490
benbrandt wants to merge 1 commit into
mainfrom
boolean-config-capability

Conversation

@benbrandt

Copy link
Copy Markdown
Member

Thinking about this more with a mind towards stabilizing, I am a bit
worried about deserialization errors causing extreme breakage.

If a client or SDK does not gracefully skip options it doesn't
recognize, it may fail the whole response, which would break
session/new, session/load, session/resume, etc. While no one would call
set_config_option without understanding the option, the deserialization
part, because it is on the main path and not a new notification that can
be ignored, has me concerned.

Given an agent can always fallback to providing a select with values
"true" and "false" I think this should be a reasonable compromise.

Thinking about this more with a mind towards stabilizing, I am a bit
worried about deserialization errors causing extreme breakage.

If a client or SDK does not gracefully skip options it doesn't
recognize, it may fail the whole response, which would break
session/new, session/load, session/resume, etc. While no one would call
set_config_option without understanding the option, the deserialization
part, because it is on the main path and not a new notification that can
be ignored, has me concerned.

Given an agent can always fallback to providing a select with values
"true" and "false" I think this should be a reasonable compromise.
@mintlify

mintlify Bot commented Jun 23, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
acp-docs 🟢 Ready View Preview Jun 23, 2026, 2:53 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@benbrandt benbrandt marked this pull request as ready for review June 23, 2026 15:46
@benbrandt benbrandt requested a review from a team as a code owner June 23, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant