A bug for VSCode Extension: unknown variant `on-request`

Resolved 💬 1 comment Opened Dec 18, 2025 by guzy0324 Closed Dec 18, 2025

What version of Codex is running?

codex-cli: 0.73.0
codex extension: 0.4.52

What subscription do you have?

plus

Which model were you using?

_No response_

What platform is your computer?

_No response_

What issue are you seeing?

When using the extension, the Output panel shows the following error and the local task fails to be created:

2025-12-18 11:39:22.012 [error] Error creating local task: {"code":-32600,"message":"Invalid request: unknown variant `on-request`, expected one of `unlessTrusted`, `onFailure`, `onRequest`, `never`"}

What steps can reproduce the bug?

  1. Open VS Code with the extension installed/enabled.
  2. Trigger Codex from the extension UI.
  3. Ask Codex to perform any action.

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗