LibreChat/client
Marco Beretta 5a6316ec6a
🪗 fix: Open the Lone Tool Call Directly and Label Settled Commands Ran (#16547)
* fix: Open the Sole Tool Call in a Group and Label Finished Commands as Ran

A tool group with exactly one call opened into a second collapsed row, so
reading the result took two clicks. Tool cards now default open when they
are the only call in their group, through SoleToolContext, while nested
subagent messages reset it. The generic finished label for commands reads
Ran command instead of Finished running.

* fix: Open the Sole Tool Call Inside an Activity Phase

The live and settled activity phase card wraps its tool calls without a
ToolCallGroup, so a phase holding one bash call still opened into a second
collapsed row. The phase now sets SoleToolContext for a single call. The
mock tool-steps scenario matches the Ran command label.

* style: Sort Imports in ToolCallGroup Test

* test: Assert Sole Tool Card Disclosure on a Real BashCall

* test: Add Lone Tool Call Scenario

* test: Match Ran Command Label in Exit Status Tests

* fix: Let an Activity Phase Decide Sole Tool State for Its Groups

* fix: Keep the Reader's Tool Card Choice Apart From the Sole Call Default

Every local-state tool card stored its default and the reader's choice in one
sticky boolean. A sole card stayed open after its group gained a second call,
and a card that remounted while a live batch regrouped forgot that the reader
had closed it. Cards now keep the explicit choice in the per-tool disclosure
atom and derive the default on each render. A generic call that returned no
output but has arguments also opens as the sole call.

* test: Add Multi Call Group Scenario

* fix: Keep the Auto Expand Preference Waiting for Output on Generic Calls

* test: Scope the Multi Call Scenario to Its Tool Cards
2026-10-01 17:44:48 +02:00
..
public 🔤 fix: Ship the Theme Font Faces With the Package (#16485) 2026-10-01 03:46:18 +00:00
src 🪗 fix: Open the Lone Tool Call Directly and Label Settled Commands Ran (#16547) 2026-10-01 17:44:48 +02:00
sw
test 🎨 feat: Theme-Adaptive SVG Support for Custom MCP and Group Icons (#13817) 2026-09-04 10:49:43 -04:00
babel.config.cjs
check_updates.sh
index.html 🌅 fix: Paint the Cached Deployment Theme on the First Frame (#16590) 2026-10-01 11:50:53 +00:00
jest.config.cjs 🧩 feat: MCP Apps support (#13831) 2026-10-01 03:46:16 +00:00
jest.resolver.cjs
nginx.conf
package.json 🧩 feat: MCP Apps support (#13831) 2026-10-01 03:46:16 +00:00
postcss.config.cjs 🌊 refactor: Upgrade the Client to Tailwind v4 (#15996) 2026-10-01 03:46:16 +00:00
tailwind.config.cjs 📐 feat: Radius and Font Scales Follow the Theme (#16340) 2026-10-01 03:46:17 +00:00
tsconfig.json
vite.config.ts 🔤 fix: Ship the Theme Font Faces With the Package (#16485) 2026-10-01 03:46:18 +00:00