LibreChat/packages
Danny Avila bb13d5b9ee 🪜 chore: Plumb allowedTools through resolveManualSkills (#12744)
* 🪜 chore: Plumb `allowedTools` through `resolveManualSkills`

Tiny shape-only precursor shared by Phase 5 (`always-apply`) and Phase 6
(frontmatter runtime enforcement). Adds `allowedTools?: string[]` to
`ResolvedManualSkill` and widens the `getSkillByName` return type in
`ResolveManualSkillsParams` and `InitializeAgentDbMethods` to carry the
same field. The resolver forwards `skill.allowedTools` verbatim when
present.

No runtime behavior change — the field is populated but not yet consumed.
Phase 6 will union the per-skill allowlist into the agent's effective
tool set for the turn; Phase 5's `ResolvedAlwaysApplySkill` will mirror
this shape. Landing this first eliminates the type-shape race between
the two phases.

* 🪜 style: Drop phase-name refs from `allowedTools` JSDoc for longevity

JSDoc that cites "Phase N will X" goes stale the moment that phase ships.
Swap for "future runtime enforcement" so the docs age with the code.
2026-04-25 04:02:00 -04:00
..
api 🪜 chore: Plumb allowedTools through resolveManualSkills (#12744) 2026-04-25 04:02:00 -04:00
client 📦 chore: Update TypeScript Config for TS v7 (#12794) 2026-04-23 12:51:03 -04:00
data-provider 🎬 feat: Prime Manually-Invoked Skills via $ Popover (#12709) 2026-04-25 04:02:00 -04:00
data-schemas 🎬 feat: Prime Manually-Invoked Skills via $ Popover (#12709) 2026-04-25 04:02:00 -04:00