GitHub Copilot 在 VS Code 推出 Universe 版本更新
GitHub Copilot in VS Code, Universe releases
GitHub 在 VS Code 中更新 GitHub Copilot,新增跨客户端续接的云智能体会话、隔离会话的 Agent Host,以及可读取并操作桌面应用的 computer use 实验功能。
原文列出云会话跨端续接、Agent Host 后台运行和 computer use 等多项能力,读者可据此判断 Copilot 的智能体工作流边界。
This year, we focused on giving you more choice in how you work with GitHub Copilot in Visual Studio Code: which models you use, where your agents run, and how you stay involved.
Keep work moving without staying at your desk or in one tool. With GitHub Copilot in Visual Studio Code, start a cloud agent session from your phone at standup, steer it from VS Code at your desk, and check on it from github.com at lunch. Session continuity lets you pick up the same session across these clients while your agent keeps working in the cloud.
Start and follow cloud sessions across Copilot clients
Hand off work without keeping your computer on. Start a cloud agent session from the Agents window in VS Code. The work runs on GitHub’s infrastructure, so closing your laptop doesn’t stop it.
Find and continue the same session in VS Code, the GitHub Copilot app, GitHub Mobile, github.com, or Copilot CLI. Sessions started in a Slack or Microsoft Teams DM can also be continued in these clients.
Keep agents working on your own machines
Move on to another task or project without worrying about losing your session. The new Agent Host isolates your Copilot sessions from individual VS Code windows, so work continues in the background after you close the project folder or window.
You can also run agents on a separate machine while you use your primary development machine for other work. The power and flexibility of VS Code’s Remote SSH and dev tunnels extends to the Agents window. The remote agent works with the same code, tools, and dependencies, and can keep running when you disconnect or quit VS Code locally. The remote machine and its Agent Host must remain running.
Move between the editor and Agents windows
Switch between the editor and the Agents window without starting over. Both views stay in sync with the same live Copilot session.
Control agents on your machine from your phone
Check progress, give direction, or start a new task on your development machine from GitHub Mobile. Your phone provides the controls, and the agent does the work on your development machine. To get started, open a terminal on that machine and run the VS Code CLI command code agent host --github-environment from your project folder. Keep the machine and its Agent Host running while you use it from your phone.
Get a more consistent GitHub Copilot
Get more consistent agent behavior across VS Code, Copilot CLI, and the GitHub Copilot app. The Copilot harness, built on the Microsoft Copilot SDK, is now the default for new sessions in both the editor and the Agents window.
Install GitHub Copilot CLI with VS Code
Bring Copilot to your terminal with less setup. Install GitHub Copilot CLI through the VS Code installer on Windows, when adding VS Code to your path on macOS, or by running copilot on Linux.
Compare model results
Explore different approaches to the same coding task. Run models and harnesses in parallel in the Agents window, then review their results side by side. You can ask a Judge model to recommend a solution and choose Synthesize to combine ideas from the other attempts. This is in preview.
Let your agent use your desktop apps
Give your agent tasks that need more than code or terminal commands. With computer use, Copilot can read and interact with desktop apps, including clicking controls and editing text.
On macOS or Windows, open VS Code Settings, search for chat.agentHost.computerUse.enabled, and enable it. Restart VS Code, then run /computer on in a Copilot session running on your computer.
Each application requires your approval. Computer use shares its setup with Copilot CLI and the GitHub Copilot app, so on macOS you grant the required system permissions once. Organizations can disable computer use through policy.
This is an experimental feature.
Build your own client
Bring session continuity to your own app. Build a client that connects to an Agent Host and works with the same live sessions as VS Code.
The open Agent Host Protocol (AHP) lets connected clients stay in sync and catch up after reconnecting. Run code agent host, then connect with a client library for TypeScript, Rust, Go, Kotlin, or Swift.
Discover marketplace customizations
Create, discover, and manage agent customizations from one place in VS Code. Open Customizations in the Agents window sidebar or run Chat: Open Customizations. Its “Browse” page brings together skills, MCP servers, plugins, and other customizations from available sources.
The Customization Marketplace is in preview and enabled by default. Business and Enterprise administrators need to allow Editor preview features. Learn more about the Agent Customizations editor and marketplace.
Strengthen existing plugin and marketplace controls
Make existing plugin and marketplace controls more reliable. In VS Code, administrators can use policies to require or block named plugins, add marketplaces, and restrict installation to approved sources. Enterprise-managed strict marketplace settings can also turn off built-in marketplaces. Policy-managed plugin toggles are locked in Customize > Plugins. For controls across Copilot clients, administrators can use enterprise-managed settings.
At the repository level, .github/copilot/settings.json can register plugin marketplaces and enable default plugins. These are defaults, not enforcement: contributors can turn plugins off unless enterprise policy requires them. Learn more about plugin marketplaces and workspace recommendations.
Connect services with Copilot connectors
Bring context from services such as Slack, Notion, and Microsoft Learn into agent sessions without installing or managing an MCP server. Connect once from “Browse” and reuse the connection across supported Copilot clients signed in with the same account.
Connectors are in preview, available on all Copilot plans, and work with the Copilot harness. Business and Enterprise administrators need to allow Editor preview features. Learn more about Copilot connectors in VS Code.
Learn more
Learn more in the VS Code release notes, the Agent Host deep dive, and About computer use in GitHub Copilot.
Happy coding! 💙
The post GitHub Copilot in VS Code, Universe releases appeared first on The GitHub Blog.
来源:GitHub Changelog · github.blog