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": {