LibreChat/api/server/controllers
Marco Beretta abc9285523
🚦 feat: Show Exit Status and Stderr for Attached Workspace Commands (#16556)
* feat: Show Exit Status for Attached Workspace Commands

Parse the exit trailer the attached-workspace bash_tool writes so the card
fails a non-zero exit, a signal or a timeout, names the reason beside the
failure suffix, and renders stderr distinctly. The group outcome reads the
same parser so its failed count matches the card. Sandbox output without the
trailer keeps the existing heuristics.

* fix: Parse Exit Status Only for Attached Workspace Calls

The sandbox and attached-workspace tools are both named bash_tool, and the
sandbox output is trimmed, so a sandbox command that printed
"[exit code: 1]" last was read as a failed attached-workspace run by the
card and the group outcome.

The execute handler now records a run step when the resolved tool instance
is the one createAttachedWorkspaceBashTool built (tracked by object
identity), and the step-completed handler stamps executor:
'attached_workspace' on the streamed tool call and the aggregated part.
Redis replay and the client SSE merge carry the field through. BashCall
and outcome.ts parse the trailer only when the marker is set.

* fix: Count Styled Terminal Lines Like Plain Ones When Output Ends in a Newline
2026-09-30 15:20:49 +02:00
..
__tests__ 🔑 feat: Passkey Authentication with WebAuthn Sign-In and Management (#14715) 2026-09-23 13:19:32 -04:00
agents 🚦 feat: Show Exit Status and Stderr for Attached Workspace Commands (#16556) 2026-09-30 15:20:49 +02:00
assistants 🎒 feat: Carry Project Context Across Conversations (#15684) 2026-09-30 00:12:35 +02:00
auth ⚙️ feat: Make the Per-User Passkey Cap Configurable (#16259) 2026-09-25 11:34:06 +02:00
AuthController.js 🧯 fix: Outlast Failed Auth Cache Eviction on Credential Changes (#16435) 2026-09-28 21:21:53 +02:00
AuthController.spec.js 🧯 fix: Outlast Failed Auth Cache Eviction on Credential Changes (#16435) 2026-09-28 21:21:53 +02:00
avatar.contentFilter.spec.js 🛍️ fix: Discover Managed Agents in Marketplace Search (#16324) 2026-09-24 22:48:56 -04:00
Balance.js
Balance.spec.js
EndpointController.js
FavoritesController.js
FavoritesController.spec.js
mcp.js 🫗 fix: Bound MCP App Responses and In-Flight Work (#16300) 2026-09-24 22:53:15 -04:00
mcpApps.js 🫗 fix: Bound MCP App Responses and In-Flight Work (#16300) 2026-09-24 22:53:15 -04:00
mcpApps.test.js 🫗 fix: Bound MCP App Responses and In-Flight Work (#16300) 2026-09-24 22:53:15 -04:00
ModelController.js
ModelController.spec.js
PermissionsController.js 🚥 fix: Preserve Insights With Guarded ACL Role Updates (#16170) 2026-09-21 23:40:52 -04:00
PluginController.js
PluginController.spec.js
SkillStatesController.js
TokenConfigController.js
tools.js ⏳ fix: Separate Temporary and General Chat Retention (#15734) 2026-09-08 11:22:54 -04:00
TwoFactorController.js
UserController.js 🔑 feat: Passkey Authentication with WebAuthn Sign-In and Management (#14715) 2026-09-23 13:19:32 -04:00
UserController.spec.js 🔑 feat: Passkey Authentication with WebAuthn Sign-In and Management (#14715) 2026-09-23 13:19:32 -04:00