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 摘要。