⛴️ chore: Include Latest Canary Features in Sync

This commit is contained in:
Lia 2026-09-30 01:09:14 +00:00
commit 7fe6eab03e
311 changed files with 22419 additions and 3387 deletions

View file

@ -1591,7 +1591,8 @@ function designMetadataIsFresh(): boolean {
* every string leaf of `exports`, kept to the ones inside `dist`. These are what
* a caller — and so the design rules, resolving `@librechat/client` — actually
* loads, which is what makes their absence a build that did not happen rather
* than a build that is merely old.
* than a build that is merely old. A subpath pattern (`./dist/fonts/*`) names no
* file a caller loads as an entry, so it is not one of them.
*/
function declaredBundleFiles(): string[] {
let manifest: Record<string, unknown>;
@ -1606,7 +1607,7 @@ function declaredBundleFiles(): string[] {
const collect = (value: unknown): void => {
if (typeof value === 'string') {
const path = value.replace(/^\.\//, '');
if (path.startsWith('dist/')) declared.push(path);
if (path.startsWith('dist/') && !path.includes('*')) declared.push(path);
return;
}
if (typeof value === 'object' && value !== null) Object.values(value).forEach(collect);