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": "Ferramenta",
"eventErrorTitle": "Erro do agente",
"notificationTurnComplete": "{agent} terminou de responder",
"notificationError": "{agent} erro: {message}"
"notificationError": "{agent} erro: {message}",
"claudeApiRetry": {
"fallbackError": "authentication_failed",
"retryingWithMax": "tentando novamente {attempt}/{max}",
"retryingAttempt": "tentando novamente tentativa {attempt}",
"retrying": "tentando novamente",
"nextRetryIn": "próxima em {seconds}s",
"line": "{error}{status} · {retry}",
"lineWithDelay": "{error}{status} · {retry}, {delay}",
"httpStatus": " (HTTP {status})"
}
},
"connectionLifecycle": {
"tasks": {