The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(desktop): return an accepted-identity on the stale-transcript submit refusal
Brooklyn Nicholsona928f049f82a
diff --git a/apps/desktop/src/app/contrib/hooks/use-session-tile-delegate.ts b/apps/desktop/src/app/contrib/hooks/use-session-tile-delegate.tsindex 4bfe5da7398..b6d8ae894e2 100644--- a/apps/desktop/src/app/contrib/hooks/use-session-tile-delegate.ts+++ b/apps/desktop/src/app/contrib/hooks/use-session-tile-delegate.ts@@ -495,7 +495,12 @@ export function useSessionTileDelegate({title: translateNow('desktop.staleSessionTitle')})- return+ // Nothing was dispatched: the transcript was stale, so the prompt+ // never reached a backend. Report an unprovable binding rather than+ // success — the accepted-identity contract has no "refused" case,+ // and a null storedSessionId can never equal the requested session,+ // so callers never report delivery for this refusal.+ return { runtimeSessionId: runtimeId, storedSessionId: null }}}