[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 を介してどのように伝播するかを調べます。authenticate が JSON-RPC エラーメッセージを返すローカルコマンド ACP プロバイダーを使い、Settings → Providers から再現します。サインイン失敗とサインイン後の検証エラーの両方に、一般的な詳細とともにエージェントのメッセージが表示されれば完了です。
索引モデルが 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分
- マージ済み PR(30日)
- 123
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
pingdotgg/t3code の issue をすべて見る
似ている issue
-
Phone app shows Unknown for a remote machine whose key changed対応中かも @janicduplessis が今日担当しました。 オープンarea: mobile priority: P3 type: bug
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
appandflow/stim#5006 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Area - Local to Cloud Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
microsoft/vscode-mssql#23209 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
code-yeongyu/senpi#5713 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
A-linter
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
oxc-project/oxc#28783 ·
メンテナーはふだん 1 日以内に返信
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
lingdojo/kana-dojo#33553 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信