Repository navigation
Description
Short summary
Extension canvases never appear in the side panel for sessions running on a WSL remote host
Affected version or release
Copilot CLI runtime 1.0.89-1 (linux-x64, running in WSL Ubuntu); GitHub Copilot app on Windows
Installation context
Windows desktop app, worktree-backed project session with execution_location: remote (remote_host_id: wsl:Ubuntu). WSL2 networkingMode=Mirrored. User-level canvas extension in ~/.copilot/extensions.
What happened?
Calling open_canvas for a user extension canvas succeeds, but nothing appears in the app side panel. The panel only shows the default launcher (Changes / Browser / Terminal / Files / Canvas) and no canvas tab is created.
Evidence that everything up to the app UI works:
extensions_manage inspectreports the extension asrunning; the log reaches=== ready ===with no errors.open_canvasreturns success with a url likehttp://127.0.0.1:<port>/?token=....session.canvas.recordedevents are written to the session events.jsonl for each instance.- The extension HTTP server responds (200) to the page, assets, and API from inside WSL.
- Opening the same URL in Windows Edge (headless) loads and renders the editor correctly, and the extension sees the client connect. Mirrored networking means Windows can reach the loopback port.
- The app side panel never requests the URL at all: the extension never sees a client connection from the panel (state stays
connection: connecting,clientId: null).
Re-opening the same instanceId, opening a new instanceId, and restarting the app did not help.
Steps to reproduce
- On Windows, create a project session that runs on a WSL remote host (wsl:Ubuntu).
- Install a user canvas extension in WSL
~/.copilot/extensions/<name>/extension.mjsthat registers a canvas viajoinSession({ canvases: [...], requestCanvasRenderer: true })and returns a loopbackurlfromopen. - Ask the agent to open the canvas (
open_canvas). - Observe that the tool call succeeds, but the side panel shows no canvas.
Expected behavior
The canvas opens as a tab in the side panel and loads the extension URL, the same way it does for local (non-remote) sessions.
Additional context
open_canvasresult status is success; nosession.canvas.unavailableis seen.- Workaround: open the returned URL manually in a browser.
- Side panel after
open_canvasshows only the empty launcher with "Canvas" listed.
Activity
Chuxel commentedon Oct 2, 2026
Canvases are not yet available in WSL.
oschingka commentedon Oct 2, 2026
Update: the workaround is confirmed to work.
Opening the URL returned by
open_canvasin the app's built-in Browser tab loads the canvas page, and the extension sees the client connect. The agent can then drive the page through the extension's canvas actions on that instance (both read-only queries and UI actions), and the results show up live in the Browser tab.So the extension, its loopback server, and the Windows-to-WSL networking all work. Only the side panel fails to create and load the canvas for the remote (WSL) session.
oschingka commentedon Oct 2, 2026
Would be an amazing feature to have
khowling commentedon Oct 14, 2026
extension-management and canvas-opening tools are absent entirely for me, using WSL 3.0.3.0, & 1.0.90-6. Works when opening in windows.
I'd also love this. always use WSL for dev on windows.
oschingka commentedon Oct 15, 2026
I am now trying to have the agent in windows and using the tooling through WSL with wsl.exe, so it picks my node, java etc from the WSL side, I hope to avoid setting up all the tooling on the Windows side as well. The canvas feature is so good, lets hope its supported with WSL some day soon.