LibreChat/packages
Marco Beretta b657c40e4c
🧪 test: Prove the @librechat/chat Public Entries With a Consumer Spec (#17522)
* feat: Add a Minimal Consumer Example for @librechat/chat

A Vite React page under packages/chat/example renders a themed chat from the package's public entries and the @librechat/client theme, with an in-memory transport standing in for the server. Its jsdom smoke test runs in the package's jest suite, the package typecheck covers it, and ESLint keeps it to public imports and semantic theme roles.

* fix: Let Enter Confirm an IME Composition in the Example Composer

* fix: Report a Failed Turn in the Example and Restore Its Text

* fix: Localize the Example Copy and Guard the Safari IME Enter

* fix: Drop a Rejected Turn, Load the Component CSS, and Keep the i18n Instance in the Example Build

* refactor: Replace the Example App With a Public-Entry Consumer Spec

The owner does not want an example app in the repository. packages/chat/test/consumer.spec.tsx keeps what it proved: a chat built only from @librechat/chat, /react, /components and @librechat/client, over an in-memory transport, streams a reply into the message list under the ClickHouse theme. It sits outside src because chat/boundary rejects self-imports there; jest maps the entry names to the sources and the package typecheck covers it. The example app, its Vite, Tailwind and PostCSS config, its lint block, script and dependency lines are removed.

* chore: Declare the Consumer Spec's i18next Dev Dependencies

* chore: Retest Against Current Dev
2026-10-29 09:54:20 +01:00
..
api 📊 feat: Let Deployments Skip the Analytics Consent Prompt (#17552) 2026-10-29 08:55:00 +01:00
chat 🧪 test: Prove the @librechat/chat Public Entries With a Consumer Spec (#17522) 2026-10-29 09:54:20 +01:00
client 🧱 refactor: Move Message Row Leaves into @librechat/chat (#17523) 2026-10-28 22:54:25 +01:00
data-provider 📊 feat: Let Deployments Skip the Analytics Consent Prompt (#17552) 2026-10-29 08:55:00 +01:00
data-schemas 📊 feat: Let Deployments Skip the Analytics Consent Prompt (#17552) 2026-10-29 08:55:00 +01:00