Commit graph

4 commits

Author SHA1 Message Date
Marco Beretta
f7d95f0f1c
📮 refactor: Derive a Send's Code Decision Inside @librechat/chat (#17797)
* refactor: Derive a Send's Code Decision Inside @librechat/chat

TurnServices.resolveCode computed the code workspace and approval a send
carries in the app. It becomes readCodeInputs, a storage read of the raw values,
and the package derives the decision through resolveTurnCode. The read goes
through a ref updated each render, so a captured adapter still reads the newest
render's values.

* test: Close Mocked Readers Over Each Render in the Freshness Spec

* test: Close the Mobile Drawer Through the Race-Tolerant Helper in Two Agent Specs

Two specs closed the drawer after selecting an agent with a bare click on
Close sidebar. The drawer closes itself as the selection lands, so the click
waited on a button that stopped being visible and ran into the 120 s test
timeout on phones. closeMobileDrawer, which #17764 added for this, handles that
race and keeps the inert check.
2026-11-07 18:51:32 +01:00
Marco Beretta
ed85f15735
🏷️ refactor: Resolve the Turn Sender, Reasoning Override and Launch in @librechat/chat (#17762)
* refactor: Resolve the Turn Sender and Reasoning Override in @librechat/chat

* refactor: Publish the Turn Launch as a Package Atom and Cover the Moved Resolvers
2026-11-03 21:43:31 +01:00
Marco Beretta
e64ef7ec25
🎯 refactor: Let useTurns Own Response Binding, Regenerated Focus and the History Guard (#17750)
* refactor: Move the History Revalidation Guard into @librechat/chat

* refactor: Let useTurns Own Response Binding, Regenerated Focus and the History Guard
2026-11-03 21:43:02 +01:00
Marco Beretta
658712c2df
🪝 refactor: Own Ask and Regenerate in the Chat Package (#17540) 2026-10-28 19:15:42 +01:00