mirror of
https://github.com/abhinavxd/libredesk.git
synced 2026-10-12 16:08:01 +00:00
c659e30eca
- recover from panics in the AI reply and FAQ-mining workers so one bad run can't crash the process - guard image decode with a pixel-count cap to block image bombs - hand off (not silently drop) when the confirmation reply fails to send - give the model a generic tool-failure message instead of the raw error - log Redis Expire and assistant-cache refresh failures instead of ignoring them - drop chunk text from RAG debug logs - refetch the assistant when the edit route's id changes
Libredesk frontend
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
Customize configuration
See Vite Configuration Reference.
Project Setup
npm install
Compile and Hot-Reload for Development
npm run dev
Compile and Minify for Production
npm run build
Run Headed Component Tests with Cypress Component Testing
npm run test:unit:dev # or `npm run test:unit` for headless testing
Run End-to-End Tests with Cypress
npm run test:e2e:dev
This runs the end-to-end tests against the Vite development server. It is much faster than the production build.
But it's still recommended to test the production build with test:e2e before deploying (e.g. in CI environments):
npm run build
npm run test:e2e
Lint with ESLint
npm run lint