Skip to content

📦 chore: Bump librechat-data-provider and @librechat/data-schemas#64

Merged
danny-avila merged 2 commits into
mainfrom
chore/bump-librechat-pkgs
May 23, 2026
Merged

📦 chore: Bump librechat-data-provider and @librechat/data-schemas#64
danny-avila merged 2 commits into
mainfrom
chore/bump-librechat-pkgs

Conversation

@dustinhealy
Copy link
Copy Markdown
Contributor

@dustinhealy dustinhealy commented May 23, 2026

Summary

Bumps librechat-data-provider 0.8.407 → 0.8.502 and @librechat/data-schemas 0.0.48 → 0.0.51. Both packages had three published releases since April 3 (~6 weeks) that we hadn't picked up.

What this brings in

  • New web-search provider config (Tavily)
  • New top-level cloudfront config block for CloudFront-backed file delivery
  • New endpoints.agents.remoteApi.auth.oidc block (issuer, audience, jwksUri) for OIDC-authenticated remote agents
  • New interface toggles (skills, autoSubmitFromUrl, thinkingDisplay, defaultActiveOnShare)
  • New allowedAddresses arrays under mcpSettings, actions, and endpoints
  • New SKILLS value in PermissionTypes
  • New READ_SKILLS / MANAGE_SKILLS values in SystemCapabilities (auto-categorized under "content")
  • Tighter validators on existing fields (URL validators on cloudfront.domain, OIDC URLs; host:port requirement on allowedAddresses entries; summarizationTriggerSchema is now a discriminated union)

Admin-panel changes required by the bump

  • PERMISSION_TYPE_SCHEMA is Record<PermissionTypes, Permissions[]> so the new SKILLS PermissionType forced a schema entry (USE / CREATE / SHARE / SHARE_PUBLIC) and a slot in PERMISSION_TYPE_ORDER, plus the matching com_perm_type_SKILLS / com_perm_desc_SKILLS keys
  • New cloudfront top-level section wired into SECTION_META under the Files tab (otherwise it falls into the catch-all "Other" tab)
  • New com_cap_{read,manage}_skills (+ _desc) locale keys so the grants/capabilities page stops rendering raw locale keys for the new content-category capabilities
  • 41 new com_config_field_* locale keys and 3 _item keys covering the new schema fields (Tavily, CloudFront, OIDC remoteApi, allowedAddresses, skills toggle, etc.) so the field-localization coverage test passes
  • src/server/config.test.ts round-trip test gained a SAMPLE_OVERRIDES map so per-field samples satisfy the new stricter validators (URLs, host:port, discriminated-union shape)

Tavily search fields auto-render in the existing Web Search section, OIDC remoteApi nests under the Providers → agents accordion, and the interface toggles surface inside the Interface section, so those needed only locale keys.

Test plan

  • bunx tsc --noEmit clean
  • bun run lint clean
  • bun run build succeeds
  • bun run test: 615/615 passing (baseline on main: 570/570; the 45-test delta is the new schema fields)
  • Manual smoke against local LibreChat (0.8.502 / 0.0.51 resolved): edit a config value, add/delete an MCP server, both reflected in LibreChat
  • Manual check: open an existing role and confirm Save succeeds with the new SKILLS permission row visible
  • Manual check: open the Files tab and confirm CloudFront section renders, open grants page and confirm Read/Manage skills capabilities render with proper labels

Note

Medium Risk
Primarily a dependency bump, but it propagates new config/permission surface area and tighter schema validation that could break config editing or role saves if mismatched.

Overview
Updates librechat-data-provider and @librechat/data-schemas, pulling in new schema fields and validators (including updated axios transitive deps via the provider).

Aligns the admin panel with the new schema by adding SKILLS permissions (schema + UI ordering + locale labels/descriptions), wiring a new cloudfront config section into the Files tab, and expanding English locale keys for newly introduced config fields/capabilities.

Adjusts src/server/config.test.ts round-trip tests to handle stricter validation by introducing per-path SAMPLE_OVERRIDES (e.g., URL and host:port formats, and the new summarization trigger union shape).

Reviewed by Cursor Bugbot for commit 654e62f. Bugbot is set up for automated code reviews on this repo. Configure here.

Bump librechat-data-provider 0.8.407 → 0.8.502 and @librechat/data-schemas 0.0.48 → 0.0.51 to catch up with three upstream releases (~6 weeks).

Adjustments required by the upstream changes:

* Register the new SKILLS PermissionType in PERMISSION_TYPE_SCHEMA so the role-permissions Record stays exhaustive (UI rendering not wired up — separate decision).
* Add locale keys for new config fields (Tavily web search, CloudFront storage, agents remoteApi OIDC, allowedAddresses, skills toggles, summarization-related additions) so the config-field localization-coverage test passes.
* Update the config round-trip test sample generator with path-specific overrides for stricter schemas (URL validators, host:port for allowedAddresses, summarizationTriggerSchema discriminated union shape).
…ility Labels

Surface the new admin-panel-facing pieces introduced by the librechat-data-provider and @librechat/data-schemas bump so they render with proper labels instead of being hidden or showing raw i18n keys.

Render the new SKILLS PermissionType in the role editor by adding it to PERMISSION_TYPE_ORDER and contributing com_perm_type_SKILLS / com_perm_desc_SKILLS locale keys.

Route the new top-level cloudfront config block to the Files tab via a SECTION_META entry (plus com_config_section_cloudfront title/description) so it no longer lands in the catch-all "Other" tab.

Add com_cap_{read,manage}_skills and matching _desc locale keys so the grants/capabilities page renders the new READ_SKILLS / MANAGE_SKILLS system capabilities (auto-categorized under "content" by data-schemas) with proper labels.
@dustinhealy dustinhealy requested a review from danny-avila May 23, 2026 04:16
@danny-avila
Copy link
Copy Markdown
Contributor

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danny-avila danny-avila merged commit 39dded8 into main May 23, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants