Unofficial extension that integrates the webview of opencode chat into your IDE.
Please note: This extension used to be published under kwickramasekara.opencode-chat but was renamed to kwickramasekara.opencode-chat-unofficial to avoid confusion with another extension with the same name.
Features
Sidebar Integration: Access the OpenCode chat interface directly from your VS Code activity bar.
Add to Chat Commands: Easily add files to the chat context by right-clicking in the explorer or using the editor title bar context menu. Select code in the editor and right-click to send a precise code reference (e.g. src/index.js:12:5-22) directly to the prompt.
Seamless Clipboard Support: Overcomes typical webview iframe limitations to provide full copy, cut, and paste functionality (including image pasting) within the chat.
Persistent Sessions: Saves your session, port, and user preferences across VS Code restarts.
Local Network Access: Enable the opencode.exposeToNetwork setting to access the same opencode instance from your mobile device or any other device on the same network at http://opencode.local:<port>.