LibreChat/api
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
..
app 🛶 chore: Include Latest Canary Features in Sync 2026-09-28 01:31:41 +00:00
cache 🧯 fix: Outlast Failed Auth Cache Eviction on Credential Changes (#16435) 2026-09-28 21:21:53 +02:00
config 🛬 fix: Land MCP OAuth Callbacks on Waiting Connections (#15876) 2026-09-13 01:46:41 -04:00
db 🛬 fix: Land MCP OAuth Callbacks on Waiting Connections (#15876) 2026-09-13 01:46:41 -04:00
models 🥢 fix: Fit MCP App Snapshots Within Message Documents (#16299) 2026-09-24 09:56:40 -04:00
server 🚦 feat: Show Exit Status and Stderr for Attached Workspace Commands (#16556) 2026-09-30 15:20:49 +02:00
strategies 🔑 feat: Passkey Authentication with WebAuthn Sign-In and Management (#14715) 2026-09-23 13:19:32 -04:00
test 🧨 fix: Reject Invalid AES Credentials Before Startup (#16402) 2026-09-26 20:28:47 -04:00
utils
jest.config.js 🧩 feat: MCP Apps support (#13831) 2026-09-23 21:24:50 -04:00
jsconfig.json
package.json 📦 chore: bump agents SDK to v3.9.7 (#16425) 2026-09-27 22:13:29 -04:00
typedefs.js 🏦 fix: Reserve Credits for In-Flight Requests (#15879) 2026-09-13 12:53:19 -04:00