Support Foundry Canvas in VS Code
I maintainer di solito rispondono entro 1 giorno
@qinezh ci sta già lavorando.
Dal 13/10/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
The microsoft-foundry plugin hard-codes a check for
process.env.AI_AGENT === "github_copilot_app_agent"
This is causing it only to work in the GitHub Copilot App.
As we add Canvas support to VS Code, could you please also allow for VS Code as well?
process.env.AI_AGENT === "github_copilot_app_agent" || AI_AGENT === "github_copilot_vscode_agent"
Verbose AI-generated details below:
Problem
The microsoft-foundry plugin is discovered and synchronized into VS Code Agent Host sessions, but it contributes no canvases because its bundled extension only enables its tools, companion instructions, and canvases when:
process.env.AI_AGENT === "github_copilot_app_agent"
VS Code intentionally identifies its Copilot agent processes as:
github_copilot_vscode_agent
See AiAgentEnvValue in microsoft/vscode.
The host check is visible in microsoft-foundry/com.github.copilot/extensions/microsoft-foundry/extension.mjs: when the check is false, the extension joins the session with an empty canvases array.
Reproduction
- Install the
microsoft-foundryplugin in VS Code. - Enable
chat.canvases.enabled. - Create a new local Copilot Agent Host session.
- Confirm the plugin is enabled and synchronized into the session.
- List available canvases.
The Foundry agent-builder canvas is absent because VS Code supplies AI_AGENT=github_copilot_vscode_agent.
Requested behavior
Please support github_copilot_vscode_agent in addition to github_copilot_app_agent, so the Foundry canvases can be registered in VS Code when the host provides the required Canvas capabilities.
For example, the host admission check could accept both known identifiers, or preferably feature-detect the specific Canvas/RPC capabilities the extension needs. The latter would allow App-specific integrations such as terminal and browser canvases to degrade explicitly if a host does not provide them.
Expected result
With canvases enabled, a new VS Code Copilot Agent Host session discovers the agent-builder canvas and can open it through the normal Canvas extension APIs without changing existing GitHub Copilot App behavior.
🤖 Written by GitHub Copilot on behalf of @jruales.
- Lingua principale
- JavaScript
- Stelle
- 2.1k
- Fork
- 260
- Merge medio
- 1g 6m
- PR unite (30g)
- 33
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/foundry-dev-tools
-
needs attention
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
microsoft/foundry-dev-tools#864 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
yApertaneeds attention
Difficoltà 4/5 1-2 giorni Idoneità per principianti 18/100
microsoft/foundry-dev-tools#863 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Foundry Toolkit and Foundry Local Model issueForse già presa @a1exwang l’ha presa 2 giorni fa. Apertaneeds attention
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
microsoft/foundry-dev-tools#854 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Unable to open Foundary Project In VS CodeForse già presa @JerryYangKai l’ha presa 1 giorno fa. Apertainvestigating
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
microsoft/foundry-dev-tools#848 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
azure ai vscode connection issueForse già presa @JerryYangKai l’ha presa 13 giorni fa. Apertainvestigating
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
microsoft/foundry-dev-tools#844 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di microsoft/foundry-dev-tools
Issue simili
-
Four problem loader browser tests fail on WindowsForse già presa @Patriciaath999 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
juice-shop/juice-shop#3686 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ScottKirvan/GOMAC#56 ·
-
area:install bug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
yetone/magpie#2406 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno