Support Foundry Canvas in VS Code
メンテナーはふだん 1 日以内に返信
@qinezh がすでに取り組んでいます。
2026年10月13日 から。
評価
この issue はまだ評価されていません。
説明
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.
- 主要言語
- JavaScript
- スター
- 2.1k
- フォーク
- 260
- 平均マージ
- 1日 2時間
- マージ済み PR(30日)
- 31
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/foundry-dev-tools のほかの issue
-
verificar este errorオープンneeds attention
難易度 4/5 3〜5日 初心者へのやさしさ 18/100
microsoft/foundry-dev-tools#870 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
issueオープンneeds attention
難易度 3/5 半日 初心者へのやさしさ 22/100
microsoft/foundry-dev-tools#868 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
needs attention
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
microsoft/foundry-dev-tools#867 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
needs attention
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
microsoft/foundry-dev-tools#864 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
yオープンneeds attention
難易度 4/5 1〜2日 初心者へのやさしさ 18/100
microsoft/foundry-dev-tools#863 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
microsoft/foundry-dev-tools の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
SasanLabs/VulnerableApp#836 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
keyxmakerx/Chronicle#1469 ·
メンテナーはふだん 1 日以内に返信
-
Connection.prototype.bulkWrite() with ordered: false resolves null when a write fails対応中かも @maxymlyskov が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Automattic/mongoose#16601 ·
メンテナーはふだん 2 日以内に返信
-
sandbox-vercel: persistent: false is dropped for live sandboxes created from a template, so every stop writes a snapshot対応中かも @jvg123 が今日担当しました。 オープンfactory-active task-identify-harness-labels-done task-identify-issue-type-done
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信