{"_id":"@agevine/voice","_rev":"3-704ced984e7d85592fcf9bc9490e6fb3","name":"@agevine/voice","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@agevine/voice","version":"0.1.0","_id":"@agevine/voice@0.1.0","maintainers":[{"name":"kilopal","email":"kilopalisme@gmail.com"}],"dist":{"shasum":"c9880fb76555314a2054f8c3ba228b9115d103cb","tarball":"https://registry.npmjs.org/@agevine/voice/-/voice-0.1.0.tgz","fileCount":4,"integrity":"sha512-sHsipsHmkIMwK4WzHnb2bLevIYcKmZgI+kkb1JVUwomYBZhrH/bPKKDkPcTT4/75PryWFUhNVPd05lbGhYGUoQ==","signatures":[{"sig":"MEUCIQCGqaJFLXrDo8NXakpE1mA/BHPW+oNwDP80bkjD35segQIgBwssAzOM5bHJx3n1q7XYAu1agdb3NbUnfBAXJVwajcg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3237},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"9ddaf76171cebcf707e25a3af0349a4aca5853f6","scripts":{"dev":"tsc --watch","build":"tsc"},"_npmUser":{"name":"kilopal","email":"kilopalisme@gmail.com"},"_npmVersion":"11.12.1","description":"The open-source Agevine SDK for Voice AI integration","directories":{},"_nodeVersion":"24.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/voice_0.1.0_1785995751254_0.5664468465975103","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@agevine/voice","version":"0.1.1","license":"MIT","_id":"@agevine/voice@0.1.1","maintainers":[{"name":"kilopal","email":"kilopalisme@gmail.com"}],"dist":{"shasum":"1eddf72a53e1f09c38ffcea13494c1163cab9b8d","tarball":"https://registry.npmjs.org/@agevine/voice/-/voice-0.1.1.tgz","fileCount":5,"integrity":"sha512-XS6zspCPqkAT7Uy9Hi/gsHGqu3OteqxpVUZnpjze8aiNGgsD6paENq+R5uzwNAiASFcfirUzZisGJHSxucvuYA==","signatures":[{"sig":"MEUCIHYzYXjMTuvfA4xBnTTXgsJDx+3rWXs/uQx8iAgtaRudAiEA0t1ZkJyDsyaOxvnVu76FMAkgmcBqLFLhCFtQYE5uUxk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4052},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"9ddaf76171cebcf707e25a3af0349a4aca5853f6","scripts":{"dev":"tsc --watch","build":"tsc"},"_npmUser":{"name":"kilopal","email":"kilopalisme@gmail.com"},"_npmVersion":"11.12.1","description":"The open-source Agevine SDK for Voice AI integration","directories":{},"_nodeVersion":"24.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/voice_0.1.1_1785996496766_0.626057730347207","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@agevine/voice","version":"0.2.0","description":"The open-source Agevine Voice SDK","license":"MIT","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","dev":"tsc --watch"},"devDependencies":{"typescript":"^5.0.0"},"publishConfig":{"access":"public"},"gitHead":"8b96283595a9b24508efd96fa2041e29ba6914ac","_id":"@agevine/voice@0.2.0","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-i2c0L2oBj9znhQ6nXdCLGmy1u8in/5C1S1BjL2xXs8/SKlP3ucISFMNBgZhJR4igppAGCQtHl8ST263bw94oqA==","shasum":"848484ed3a013717262156f5fbcf05239bc9a0f9","tarball":"https://registry.npmjs.org/@agevine/voice/-/voice-0.2.0.tgz","fileCount":5,"unpackedSize":7215,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCL5f8+1dDK4Vnysi89IhQNl25OUrWXIf81gQyr2rlfoAIgHv4OhJChFYstkt2rxl3qcxh+XcFMFj35PNczKRkKqDw="}]},"_npmUser":{"name":"kilopal","email":"kilopalisme@gmail.com"},"directories":{},"maintainers":[{"name":"kilopal","email":"kilopalisme@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/voice_0.2.0_1786081239607_0.34957641652000215"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-06T05:55:51.062Z","modified":"2026-08-07T05:40:39.952Z","0.1.0":"2026-08-06T05:55:51.387Z","0.1.1":"2026-08-06T06:08:16.938Z","0.2.0":"2026-08-07T05:40:39.771Z"},"license":"MIT","description":"The open-source Agevine Voice SDK","maintainers":[{"name":"kilopal","email":"kilopalisme@gmail.com"}],"readme":"# @agevine/voice\n\nThe official Node.js SDK for integrating Voice AI providers (Retell AI, Vapi, Bland AI, etc.) into the Agevine platform. \n\n## Installation\n\n```bash\nnpm install @agevine/voice\n```\n\n## Usage\n\nUse this SDK to push call transcripts, summaries, and sentiment scores into your Agevine dashboard after an AI voice call completes, and generate photorealistic speech using the built-in TTS adapters.\n\n```typescript\nimport { AgevineVoiceClient, OpenAIVoiceAdapter } from '@agevine/voice';\n\nconst client = new AgevineVoiceClient({\n  endpoint: 'http://localhost:3001', // Your Agevine API Gateway URL\n  openAiApiKey: process.env.OPENAI_API_KEY // Enables real TTS synthesis\n});\n\n// 1. Log a completed voice call\nawait client.logCall({\n  patientId: 1,\n  durationSeconds: 180,\n  sentimentScore: 85,\n  transcript: \"AI: Hello, how are you feeling today?\\nPatient: I am doing well, thank you.\",\n  summary: \"Patient reported feeling well and took their medication.\"\n});\n\n// 2. Generate Audio Buffer from text\nconst audioBuffer = await client.synthesizeSpeech(\"Hello, how are you feeling today?\");\n// audioBuffer is an MP3 Buffer ready to be streamed to a client\n```\n\n## License\nMIT\n","readmeFilename":"README.md"}