[Bug]: ACP sign-in replaces the agent's error message with a generic one
维护者通常 1 天内回复
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 85/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
从 packages/provider-acp-registry/src/server/auth.ts 中的 failure() 和登录后的会话验证路径开始,查看固定的详细信息字符串在哪里使用,以及 AcpRequestError 如何通过 cause 传递。通过 Settings → Providers 使用一个 authenticate 返回 JSON-RPC 错误消息的本地命令 ACP 提供程序复现问题。完成标准是:登录失败和登录后的验证错误都显示代理的消息以及通用详细信息。
由索引模型根据 Issue 内容生成。
描述
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
- Add a local-command ACP provider whose
authenticateanswers with a JSON-RPC error that has a message, e.g. {"code": -32000, "message": "Connect to the VPN, then sign in again."} - Open Settings → Providers, select the provider, and press Sign in.
Expected behavior
The card shows the agent's message, so the user knows what to do, e.g. "The ACP agent could not complete sign-in. Connect to the VPN, then sign in again."
Actual behavior
The card shows only "The ACP agent could not complete sign-in." The agent's message is kept on the error's cause but never shown, because failure() in packages/provider-acp-registry/src/server/auth.ts uses the fixed detail string for every failure. The post-sign-in verify step ("The provider could not create a session after sign-in.") hides it the same way.
Appending the AcpRequestError's message to the detail in failure() would fix both.
Impact
Minor bug or occasional failure
Version or commit
main @ cefb544af3
Environment
macOS 26, desktop app, a local-command ACP agent
Logs or stack traces
Screenshots, recordings, or supporting files
No response
Workaround
None in the app; the reason only appears in the server's logs.
- 主要语言
- TypeScript
- 星标
- 24.8k
- 派生
- 6.4k
- 平均合并
- 7 小时 39 分钟
- 30 天内合并 PR
- 123
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pingdotgg/t3code 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
pingdotgg/t3code#30228 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
[Bug]: iOS: typing a custom answer on a question card doesn't autocorrect可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
相似的 Issue
-
Add: Yichang TV未关闭check:passed streams:add
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
vtselect: data race in Tempo search tags APIs for invalid TraceQL queries可能已有人在做 @Shubham19032004 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
VictoriaMetrics/VictoriaTraces#304 ·
维护者通常 1 天内回复
-
test: claim-conflict drop leaves both facts active and is never re-proposed (untested review cell)未关闭
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
microsoft/vscode-pull-request-github#9159 ·
维护者通常 1 天内回复
-
[Feature]: Usage page should show API-equivalent cost and say when a connected plan shows info only未关闭enhancement from-x
难度 2/5 1-3 小时 新手友好度 66/100
nightly-labs/openbot#4867 ·
维护者通常 1 天内回复