Files
llm-in-text/package.json
ydy0615 7985fe9641 feat(tts): add api endpoints and optimization for apple silicon
Introduce a comprehensive TTS/ASR module that:
- Adds /v1/tts-asr/config, /status, /warmup, /tts, /asr endpoints with detailed JSON responses
- Implements Apple‑Silicon detection, device selection (MPS/CUDA/CPU), and memory limiting logic
- Supports selectable model size, quantization, and offline mode via environment variables
- Adds robust audio validation and multi‑path resampling fallback
- Provides new README sections for API usage, device detection, and performance benchmarking
- Includes a full testing suite: unit tests, integration tests, macOS simulation and performance reports
- Updates backend dependencies and CI scripts
- Adds new front‑end views and components for Univer editor integration

All changes are backward compatible; new features are exposed through environment variables and new API routes.
2026-04-06 11:14:09 +08:00

45 lines
1.2 KiB
JSON

{
"name": "llm-in-text",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"test": "echo 'No tests configured yet'",
"check": "npm run build"
},
"dependencies": {
"@blocknote/xl-docx-exporter": "^0.47.3",
"@milkdown/core": "^7.18.0",
"@milkdown/crepe": "^7.18.0",
"@milkdown/kit": "^7.18.0",
"@milkdown/theme-nord": "^7.18.0",
"@milkdown/vue": "^7.18.0",
"@univerjs/preset-docs-core": "^0.20.0",
"@univerjs/preset-sheets-core": "^0.20.0",
"@univerjs/presets": "^0.20.0",
"@univerjs/slides": "^0.20.0",
"@univerjs/slides-ui": "^0.20.0",
"docx": "^9.6.0",
"docx-preview": "^0.3.7",
"docx2pdf-converter": "^2.1.1",
"html2pdf.js": "^0.14.0",
"jspdf": "^4.2.1",
"katex": "^0.16.9",
"markdown-it": "^13.0.0",
"markdown-it-math": "^3.0.2",
"mermaid": "^11.12.3",
"pinia": "^2.3.1",
"prismjs": "^1.29.0",
"vue": "^3.5.24",
"vue-router": "^4.6.4"
},
"devDependencies": {
"@vitejs/plugin-vue": "^6.0.1",
"@vue/language-server": "^3.2.6",
"vite": "^7.2.4"
}
}