Support Foundry Canvas in VS Code
Maintainer thường phản hồi trong vòng 1 ngày
@qinezh đang làm issue này rồi.
Từ ngày 13/10/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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.
- Ngôn ngữ chính
- JavaScript
- Star
- 2.1k
- Fork
- 260
- Merge trung bình
- 1 ngày 6 phút
- Pull request đã merge (30 ngày)
- 33
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/foundry-dev-tools
-
needs attention
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
microsoft/foundry-dev-tools#864 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
yĐang mởneeds attention
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 18/100
microsoft/foundry-dev-tools#863 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Foundry Toolkit and Foundry Local Model issueCó thể đã có người làm @a1exwang đã nhận 1 ngày trước. Đang mởneeds attention
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
microsoft/foundry-dev-tools#854 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Unable to open Foundary Project In VS CodeCó thể đã có người làm @JerryYangKai đã nhận hôm nay. Đang mởinvestigating
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
microsoft/foundry-dev-tools#848 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
azure ai vscode connection issueCó thể đã có người làm @JerryYangKai đã nhận 13 ngày trước. Đang mởinvestigating
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
microsoft/foundry-dev-tools#844 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của microsoft/foundry-dev-tools
Issue tương tự
-
feature request
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
docs hacktoberfest help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
pacocartones/free-llm-api-hub#347 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
cytoscape/cytoscape.js#3536 ·
Maintainer thường phản hồi trong vòng 15 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
cuttle-cards/cuttle#1440 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
URL-encoded parser builds nested objects nothing readsCó thể đã có người làm @Senthil455 đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
Janani-bn/CivicFix#168 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày