mirror of
https://github.com/abhinavxd/libredesk.git
synced 2026-10-12 16:08:01 +00:00
8ac465c51a
Tool auth used to be a single header/value pair. It is now a list of headers, each value encrypted at rest and masked in the API. Editing a tool keeps an untouched (masked) value's existing secret, matched by header name. Covered with unit tests. Agent tuning: a full agent run is now capped (90s for livechat since the customer is watching, 3min for email), the per-provider-call timeout drops 90s to 60s with 2 retries, and default worker_count goes 2 to 10 for burst headroom. Idle workers are free; the run cap is what protects the pool. Also adds help text and placeholders across the AI admin pages.
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