Skip to content

v2.0.0 — VS Code Agent Compatibility

Choose a tag to compare

@Echo2f13 Echo2f13 released this 04 Sep 10:14
· 4 commits to main since this release

What's new in v2.0.0

First-class VS Code support for both VS Code Stable (Code) and VS Code Insiders (Code - Insiders).

VS Code Agent Compatibility

  • Added Code and Code - Insiders as built-in default whitelist targets — no manual config needed.
  • Window-title pattern "Visual Studio Code" (contains) scopes all clicks to VS Code windows only, preventing false positives on other processes named Code.
  • Strict window-title check enforced on the keyboard fallback path as well — an unmatched title is always rejected before any key is sent.
  • Context safety checks applied before all keyboard fallback actions — Yes and other ambiguous labels require a safe-context keyword in the surrounding dialog text.
  • VS Code webview diagnostics added to debug instrumentation output for easier troubleshooting of Electron/webview panels.
  • Pane-level context extraction capped to prevent walking large VS Code UI trees (consistent with the existing Electron performance fix).
  • New VsCodeCompatibilityTests suite: covers label acceptance for both process names, wrong-title rejection, Yes context gating on both the SafetyFilter and KeyboardFallback paths, and presence of both entries in DefaultConfig.

Upgrade notes

  • Default config.json now includes Code and Code - Insiders entries automatically on fresh install. Existing installs can add them manually — see the Configuration docs.
  • Enable "enableKeyboardFallback": true for full coverage of VS Code agent webview panels.
  • Use "dryRun": true + "enableDebugInstrumentation": true to verify detection before going live.