github / github/app

Plugin-provided extension canvases are unavailable in general chat sessions

未关闭
#2,158 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Bugs
主要语言
没有语言数据
星标
2.1k
派生
153
PR 合并指标
30 天内没有已合并 PR

描述

### Feature summary

_No response_

### What problem are you trying to solve?

### Summary

A canvas extension bundled with an installed Copilot plugin cannot be opened from a general chat session. The extension is only discovered when the chat runs inside a project containing the extension under `.github/extensions`.

The plugin and its skills load successfully, but its bundled canvas does not.

### Reproduction

1. Install and enable a plugin containing a canvas extension such as `.github/extensions/report-viewer/extension.mjs`.
2. Declare the extension directory in the plugin manifest.
3. Start a general Copilot chat not attached to a project session.
4. Invoke a plugin skill that calls `open_canvas`.
5. The call fails:

```text
Canvas "project:report-viewer/report-viewer" is not registered.
No canvas "report-viewer" is registered.

### Proposed solution

_No response_

### Workflow impact

_No response_

### Installation context

_No response_

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

首先跟踪插件清单如何暴露 .github/extensions/report-viewer/extension.mjs,以及通用聊天如何处理 open_canvas 调用。将该路径与能够发现 canvas 的项目会话进行比较。完成的标准是:启用插件中捆绑的 canvas 已注册,并且可以从通用聊天中打开,同时现有的项目会话行为保持不变。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
desktop, developer-experience
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。