This optional Linux feature patches Codex webview bundles so Copilot-auth sessions can persist and select reasoning effort defaults for new chats.
By default, upstream Copilot-auth paths only read and write
copilot-default-model, hardcode the loaded reasoning effort to medium, and
collapse Copilot model reasoning effort choices to one medium entry. This
feature keeps those changes local and opt-in instead of shipping them as a core
Linux compatibility patch.
Enable it by copying linux-features/features.example.json to
linux-features/features.json and adding the feature id:
{
"enabled": [
"copilot-reasoning-effort"
]
}Then rerun the install or package build so the ASAR patch step can apply the feature to the generated app.
- The current
...thread-app-shell~cf704xib-*.jsbundle reads and writescopilot-default-reasoning-effortnext tocopilot-default-modeland keeps the model's fullsupportedReasoningEffortslist for Copilot auth. - The current
...~ho~iufn7mg3-*.jsbundle keeps the reasoning effort controls and/reasoningcommand enabled when the normal model and effort prerequisites are present.
Run the feature tests with:
node --test linux-features/copilot-reasoning-effort/test.jsOr run all feature tests with:
node --test linux-features/*/test.jsThe patch is fail-soft. If the upstream minified bundle shape changes, the build logs a warning and leaves the affected bundle unchanged.