Built-in computer-use and browser-use plugins missing from native headless sessions

未关闭
#5,613 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
55/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
github, python
领域
api, cli

调研方向

Start with the native headless session setup reached by copilot --headless --no-auto-update --stdio, then trace connect, session.create, session.mcp_servers_loaded, and command discovery. Reproduce with /computer show and compare against copilot plugin list and copilot mcp list --json. Done means enabled computer-use and browser-use servers and tools are loaded, or the protocol capabilities explicitly report their unavailability.

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

描述

area:non-interactive area:plugins

Summary

Built-in computer-use and browser-use plugins are listed as enabled by Copilot CLI, but they are not loaded into sessions started through the native headless protocol used by IDE integrations:

copilot --headless --no-auto-update --stdio

This affects OpenIDEA, which embeds Copilot through that protocol rather than copilot --acp.

Environment

  • Host: OpenIDEA on macOS
  • Copilot CLI native/headless version: 1.0.116 (connect response)
  • Latest public Copilot CLI checkout/changelog: 1.0.117
  • Built-in plugins reported outside the headless session:
    • computer-use 0.1.97, enabled
    • browser-use 0.2.1, enabled
  • Transport: native headless JSON-RPC over stdio (--headless --no-auto-update --stdio)
  • Same plugins load in the interactive Copilot desktop/CLI environment.

Steps to reproduce

  1. Run the embedded CLI in native headless mode:

    copilot --headless --no-auto-update --stdio
    
  2. Send connect, then session.create with a trusted local working directory.

  3. Observe session startup events, including session.mcp_server_tools_loaded and session.mcp_servers_loaded.

  4. Start an authenticated turn.

  5. Send /computer show through session.send as a prompt.

Outside that session, confirm that the plugins are enabled:

copilot plugin list
copilot mcp list --json

Both commands report computer-use and browser-use as enabled, and the MCP inventory marks them as source: builtin.

Actual behavior

The headless session loads configured user MCP servers and an installed plugin MCP server, but session.mcp_servers_loaded does not contain either computer-use or browser-use.

For example, the event includes azure, datadog, linear, mise, slack-official, and workiq, but neither built-in plugin server.

/computer show is not handled as a CLI slash command in the headless session. It reaches the model as ordinary prompt text, and the model reports that no computer tool is available. The command list returned to the host also contains no Computer Use or Browser Use command.

Expected behavior

Enabled built-in plugins should be loaded consistently in native headless sessions:

  • Their MCP servers and tools should be available to the session.
  • Plugin-provided commands/skills should be exposed through the normal command discovery path where the headless protocol supports them.
  • If these plugins are intentionally unavailable in native headless mode, the limitation should be explicit in the protocol/session capabilities rather than advertising them as enabled while omitting them from the session.

Impact

IDE hosts using Copilot CLI cannot access the Copilot-supported desktop/browser integrations through the official runtime. OpenIDEA currently has to configure the internal plugin MCP binaries manually, which uses private/versioned paths and loses full plugin lifecycle behavior, hooks, and command integration.

Related issue

  • #5049 reports the same category of missing Computer Use over --acp mode on Windows. This report is distinct because it reproduces with the preferred native --headless --no-auto-update --stdio transport used by a local IDE, on macOS, and affects both Computer Use and Browser Use.
主要语言
Python
星标
11.5k
派生
2k
平均合并
6 小时 34 分钟
30 天内合并 PR
3

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

github/copilot-cli 的其他 Issue

查看 github/copilot-cli 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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