LibreChat/client
Marco Beretta a0aa1f2b9d
🎚️ feat: Explicit "Use All Skills" Toggle in the Skills Section (#14125)
* feat: Add explicit Use All Skills toggle to the Skills section

Adding a skill to an agent could silently mean "all skills enabled"
(skills_enabled on with an empty allowlist), and the only master control
was the Agent Skills kill switch buried in the Advanced panel, which
implied skills required a trip to Advanced at all.

- Add a "Use all skills" switch directly in the builder's Skills
  section: on = the agent gets every skill the user can access,
  including skills added in the future (skills_enabled true, empty
  allowlist). While on, the per-skill list and Add button are hidden
  and the header shows an All badge; turning it off restores the
  previously selected skills.
- Remove the kill switch from the Advanced panel.
- Simplify skillsEnabledTransition so the master flag tracks the
  selection on every edit, which also re-enables agents left with a
  selection but a disabled flag by the old kill switch.

* fix: Normalize legacy disabled allowlists and scope the use-all stash per agent

Agents saved with the removed Advanced kill switch off (or predating the
skills_enabled flag) load a non-empty allowlist with the master flag not
true. The builder rendered that selection as active while the runtime
ignored it, with no control left to re-enable. Normalize on form load so
the flag matches the displayed selection.

The use-all stash lives in a ref and ToolsSection is not remounted when
switching agents (only the form resets), so toggling off on another agent
could restore the previous agent's allowlist. Clear the stash when the
agent id changes.
2026-07-06 09:25:55 -04:00
..
public 🎨 chore: Update Agent Tool with new SVG assets (#12065) 2026-03-04 09:28:19 -05:00
scripts
src 🎚️ feat: Explicit "Use All Skills" Toggle in the Skills Section (#14125) 2026-07-06 09:25:55 -04:00
sw 🛟 fix: Auto-Recover from Stale Service Worker Assets After Deploys (#13686) 2026-06-11 11:57:06 -04:00
test 🧰 feat: Redesign Agent Builder with Unified Tools Marketplace, Skills & Orchestration (#13952) 2026-07-05 11:30:12 -04:00
babel.config.cjs 🧑‍🎨 refactor: Prompts/Sidebar styles for improved UI Consistency (#12426) 2026-04-09 00:02:31 -04:00
check_updates.sh
index.html 📡 feat: add rum browser page-load diagnostics (#14106) 2026-07-05 11:32:53 -04:00
jest.config.cjs ⬆️ chore: Migrate off deprecated @ariakit/react-core to @ariakit/react-components (#13940) 2026-06-24 23:13:57 -04:00
jest.resolver.cjs ⬆️ chore: Migrate off deprecated @ariakit/react-core to @ariakit/react-components (#13940) 2026-06-24 23:13:57 -04:00
nginx.conf 🐳 feat: Bundle Admin Panel in Docker Compose Stacks (#13876) 2026-06-22 16:59:08 -04:00
package.json 📡 feat: add rum browser page-load diagnostics (#14106) 2026-07-05 11:32:53 -04:00
postcss.config.cjs
tailwind.config.cjs ⌨️ feat: Keyboard Shortcuts (#12425) 2026-06-22 17:02:46 -04:00
tsconfig.json 👷 ci: Type-check the Client Workspace (#13560) 2026-06-06 18:40:31 -04:00
vite.config.ts 🛟 fix: Auto-Recover from Stale Service Worker Assets After Deploys (#13686) 2026-06-11 11:57:06 -04:00