[PR #11216] feat(tui): move some experimental keys from config to ENV as well #13702

Open
opened 2026-02-16 18:18:32 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/11216

State: open
Merged: No


Motivation

currently there are two ways to enable experimental features in OpenCode, one via the config file and another using ENV variables, there are some features which can only be enabled via config right now but those are not documented anywhere in the docs, however ENV based experimental feature toggle is documented well enough.

What does this PR do?

migrates these feature flags: disable_paste_summary, batch_tool, openTelemetry, continue_loop_on_deny and mcp_timeout to the ENV based feature flags as well, with config values getting priority over ENV for compatibility.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/11216 **State:** open **Merged:** No --- ### Motivation currently there are two ways to enable experimental features in OpenCode, one via the config file and another using ENV variables, there are some features which can only be enabled via config right now but those are not documented anywhere in the docs, however ENV based experimental feature toggle is documented well enough. ### What does this PR do? migrates these feature flags: `disable_paste_summary`, `batch_tool`, `openTelemetry`, `continue_loop_on_deny` and `mcp_timeout` to the ENV based feature flags as well, with config values getting priority over ENV for compatibility.
yindo added the pull-request label 2026-02-16 18:18:32 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13702