mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-16 21:08:17 +00:00
* 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 |
||
|---|---|---|
| .. | ||
| api | ||
| chat | ||
| client | ||
| data-provider | ||
| data-schemas | ||