豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit d0945a9

Browse files
OregandCopilot
andcommitted
Align Cloud Agent with Mission Control PR-decouple behavior
The VS Code Cloud Agent experience was out of sync with Mission Control's CCA PR-decoupling flow. This aligns VS Code with MC behavior: - Drop the delegate / commit / push modal. Codex and Claude don't show one; Mission Control doesn't either. Permissive GitHub auth now uses the standard non-modal sign-in prompt via createIfNone. - Send the raw user prompt as problem_statement (no chat-history summary injection). This fixes the 'agent invents its own prompt' behavior Luke reported. - Send a minimal pull_request block (title/base_ref/[head_ref]) to match what sweagentd + Mission Control send. Drop body_placeholder and the 'Created from VS Code' body_suffix. - Drop the pre-delegation git preflight (uncommitted-changes detection, remote base-branch check, branch push). delegate() already falls back to the repo's default_branch when base_ref is not supplied. - Delete the now-unreachable CopilotCloudGitOperationsManager and the unused body_suffix / formatBodyPlaceholder helpers. Server-side verified: sweagentd v1 API (docs/adr/0001-create-job-api.md) makes pull_request optional and returns job_id + session_id before the PR exists; Mission Control's sweagentd client sends the minimal pull_request shape used here. Full no-PR (non-PR) workflow is on the sweagentd roadmap; this change is compatible with it. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 9e668cb commit d0945a9

File tree

3 files changed

+28
-555
lines changed

3 files changed

+28
-555
lines changed

src/extension/chatSessions/vscode-node/copilotCloudGitOperationsManager.ts

Lines changed: 0 additions & 231 deletions
This file was deleted.

0 commit comments

Comments
 (0)