Upgrade Copilot SDK to 1.x with current permission vocabulary

未关闭
#372 1 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
重构
描述清晰度
基本清楚
活跃度
活跃
技术栈
github, typescript

调研方向

Start by comparing the root CLI and VS Code extension manifests and locks, then read PR #171 for the permission adapter and timeout behavior. Keep both bundled SDK shims aligned, regenerate locks only with a working registry, and run the root tests/build plus extension lint, typecheck, bundle, and Windows/macOS login and probe checks.

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

描述

Problem

AgentRC still pins @github/copilot-sdk 0.2.x in both the CLI and VS Code extension. The current SDK uses a different permission-response vocabulary (approve-once, user-not-available, reject) and benefits from longer headless probe and instruction-generation timeouts.

PR #171 contains a well-tested compatibility implementation, but merging that behavior without upgrading the dependency would break the current 0.2.x runtime. The dependency upgrade must update root and extension manifests/locks together.

Proposed scope

  • upgrade @github/copilot-sdk in the root CLI and VS Code extension together
  • port the permission-response adapter and timeout changes from #171
  • verify both bundled SDK shims remain correct
  • run root tests/build and extension lint/typecheck/bundle
  • confirm CLI and extension login/probe behavior on Windows and macOS

Current blocker

The migration was prepared locally, but package-lock regeneration was blocked because the configured npm feed did not contain @oxc-project/[email protected], while direct npmjs access was unavailable. Regenerate the locks when registry access is healthy rather than hand-editing them.

🤖 Posted by GitHub Copilot on Harald's behalf.

主要语言
TypeScript
星标
1.1k
派生
96
平均合并
2 天 21 小时
30 天内合并 PR
14

环境准备

从这里开始

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

microsoft/agentrc 的其他 Issue

查看 microsoft/agentrc 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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