feat(geminiLive): rewrite with GoogleGenAI SDK (vertexai: true, apiKey) replaces raw WebSocket to generativelanguage.googleapis.com feat(geminiLive): restore full setup config (systemInstruction, inputAudioTranscription, outputAudioTranscription, VAD) fix(geminiLive): buildSetupFrame → SDK config object (no manual JSON) fix(useT2LiveSession): cancelTokenRef for idempotent startDialogue, closeAllRef for stable unmount cleanup chore: add @google/genai@^1.50.1 dependency test: 11 geminiLive tests rewritten with SDK mock 292/292 backend tests green
31 lines
737 B
JSON
31 lines
737 B
JSON
{
|
|
"name": "expria-backend",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tsx watch src/index.ts",
|
|
"build": "tsc",
|
|
"start": "node dist/index.js",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage"
|
|
},
|
|
"dependencies": {
|
|
"@google/genai": "^1.50.1",
|
|
"@hono/node-server": "^1.13.7",
|
|
"@hono/node-ws": "^1.3.0",
|
|
"@supabase/supabase-js": "^2.49.4",
|
|
"dotenv": "^17.4.2",
|
|
"hono": "^4.7.7",
|
|
"stripe": "^17.7.0",
|
|
"ws": "^8.20.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.15.3",
|
|
"@types/ws": "^8.18.1",
|
|
"@vitest/coverage-v8": "^3.1.2",
|
|
"tsx": "^4.19.3",
|
|
"typescript": "^5.8.3",
|
|
"vitest": "^3.1.2"
|
|
}
|
|
}
|