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