- tqdm hook emits progress every 0.3s with backend rate (bytes/sec) - Frontend uses backend rate for instant speed display, no 2s warmup - Shows 'Connecting to HuggingFace…' during connect phase - Shows 'measuring speed…' before rate is available - Re-check button moved to top-right header in system preflight - Retry + Clean & Retry buttons on failed splash screen - Smart error hints (missing README, network timeout, port in use) - README.md + omnivoice/ source package copied during bootstrap - desktop-prod.sh wipes HF cache + all app data for fresh testing
36 lines
1.5 KiB
JSON
36 lines
1.5 KiB
JSON
{
|
|
"name": "omnivoice-studio-monorepo",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"packageManager": "bun@1.3.11",
|
|
"scripts": {
|
|
"setup:api": "uv sync && uv run python scripts/setup_cudnn.py",
|
|
"dev:api": "uv run uvicorn main:app --app-dir backend --host 0.0.0.0 --port 3900 --reload",
|
|
"dev:frontend": "bun run --cwd frontend dev",
|
|
"dev:desktop": "bun run --cwd frontend desktop",
|
|
"wait:api": "wait-on -t 300000 http-get://localhost:3900/system/info",
|
|
"wait:frontend": "wait-on -t 120000 http://localhost:5173",
|
|
"predev": "kill-port 3900 3901 || true",
|
|
"dev": "bun run setup:api && concurrently -n api,fe -c green,cyan --kill-others-on-fail \"bun run dev:api\" \"bun run wait:api && bun run dev:frontend\"",
|
|
"predesktop": "kill-port 3900 3901 || true",
|
|
"desktop": "bun run setup:api && concurrently -n api,app -c green,magenta --kill-others-on-fail \"bun run dev:api\" \"bun run wait:api && bun run dev:desktop\"",
|
|
"desktop-prod": "bash scripts/desktop-prod.sh",
|
|
"desktop-prod:run": "bash scripts/desktop-prod.sh --skip-build",
|
|
"desktop-prod:upgrade": "bash scripts/desktop-prod.sh --keep-data",
|
|
"build": "turbo run build",
|
|
"start": "turbo run start",
|
|
"test:frontend": "node --test tests/frontend/*.test.mjs"
|
|
},
|
|
"workspaces": [
|
|
"frontend"
|
|
],
|
|
"devDependencies": {
|
|
"concurrently": "^9.2.1",
|
|
"kill-port-process": "^4.0.2",
|
|
"playwright": "^1.59.1",
|
|
"turbo": "^2.9.6",
|
|
"typescript": "^6.0.3",
|
|
"wait-on": "^9.0.5"
|
|
}
|
|
}
|