mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-16 13:00:55 +00:00
* 📝 docs: Describe Attached-Workspace Lanes, Sandbox Scratch, and Skill Files in Tool Descriptions - Lane-mode `cwd` now states that any call outside `.worktrees/<name>` (with or without cwd, and file tools on such paths) is checkout-wide: it waits for running worktree calls and blocks new ones until it finishes, so checkout-wide calls are reserved for creating, pruning or removing worktrees. - `command`/`cwd` state that the command starts in cwd, so the model does not also cd into it; the lane-mode cd hint says the call ran checkout-wide. - Workers advertising the native SRT sandbox profile (`anthropic-srt`, `anthropic-srt:<preset>`) get a bash bullet that / and /tmp are read-only and scratch files belong in $TMPDIR or the workspace. Carried as `codeWorkspace.nativeSandbox` into tool definitions and the bash tool. - The attached skill-aware `read_file` description says skill files are not on the attached machine and must be written into the workspace to run there. - Tightened the attached bash description so the native variant stays within the 1024-character tool description limit. * 📝 fix: Keep the Skill-Copy Warning on the Command-Only Workspace's Skill read_file A workspace that offers execute_command but not read_file falls back to the skill-only read_file definition. It now carries the same sentence as the attached skill-aware definition, so the model knows bash_tool cannot reach skill files by path there. * 📝 fix: Name bash_tool in the Skill-File Warning Only When It Is Registered The skill-copy sentence on attached read_file definitions now depends on the attached bash_tool being registered beside it (includeBash and an advertised execute_command), for the attached skill-aware definition, its custom line-limit variant, and the skill-only fallback. Workspaces without commands keep the plain skill description. |
||
|---|---|---|
| .. | ||
| app | ||
| cache | ||
| config | ||
| db | ||
| models | ||
| server | ||
| strategies | ||
| test | ||
| utils | ||
| jest.config.js | ||
| jsconfig.json | ||
| package.json | ||
| typedefs.js | ||