fix(core,web): retry transport and quota LLM errors, disable dead sessions on auth failure (#82)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c369e089a7
commit
3d3495528c
54 files changed
+2278
-161
No files matched your search
@@ -32,6 +32,15 @@ export interface StreamRenderContext {
|
||||
taskRunning: boolean;
|
||||
/** Converts this turn's stats into cost (USD) using the current Model pricing; returns null when no price is configured (cost is hidden). */
|
||||
taskCost?: (stats: TaskStats) => number | null;
|
||||
/**
|
||||
* "Retry now" on the live reconnect countdown: skips the remaining backoff wait
|
||||
* server-side (POST /retry-now); the line flips to "retrying" when the request_begin
|
||||
* arrives. Only honored on main-session items — a subagent's backoff belongs to the
|
||||
* child session, which the route does not target.
|
||||
*/
|
||||
onRetryNow?: () => void;
|
||||
/** "Give up" on the live reconnect countdown: the ordinary session abort (same call as the Stop button). */
|
||||
onGiveUp?: () => void;
|
||||
/** Opens the Files panel and navigates to this file (triggered by clicking the file-summary card at the end of a message; takes a Workspace-relative path); the card doesn't render if this isn't wired up. */
|
||||
onOpenFile?: (path: string) => void;
|
||||
/** Absolute Workspace path of the current Session (used by the file-summary card to normalize body paths). */
|
||||
|
||||
Reference in new issue
Block a user