feat(acp): surface Claude API retry state in chat input

Enable raw Claude SDK forwarding for ACP sessions and emit only system/api_retry events to the frontend.

Show a localized single-line retry banner with loading under the conversation input, including error details and retry progress.
This commit is contained in:
xintaofei
2026-04-14 14:59:32 +08:00
parent 77e46d80f8
commit f9923df1fe
17 changed files with 492 additions and 17 deletions

View File

@@ -1449,7 +1449,17 @@
"toolFallbackTitle": "ツール",
"eventErrorTitle": "エージェントエラー",
"notificationTurnComplete": "{agent} の応答が完了しました",
"notificationError": "{agent} エラー:{message}"
"notificationError": "{agent} エラー:{message}",
"claudeApiRetry": {
"fallbackError": "authentication_failed",
"retryingWithMax": "再試行中 {attempt}/{max}",
"retryingAttempt": "再試行中({attempt} 回目)",
"retrying": "再試行中",
"nextRetryIn": "{seconds}秒後に再試行",
"line": "{error}{status} · {retry}",
"lineWithDelay": "{error}{status} · {retry}、{delay}",
"httpStatus": " (HTTP {status})"
}
},
"connectionLifecycle": {
"tasks": {