{"id":"@lssm-tech/example.voice-providers","slug":"example.voice-providers","name":"@lssm-tech/example.voice-providers","version":"5.0.5","path":"examples/voice-providers","manifestPath":"examples/voice-providers/package.json","manifestBlobSha":"850465c94af47bca96a50bfe95e03a86f3c8fb90","layer":"examples","physicalArea":null,"primaryArea":"examples-and-patterns","classification":{"privateDeclared":null,"catalogFamily":"solutions","catalogKind":"example","catalogStatus":"active","adoptionMode":"reference-only","stability":"stable"},"description":"Voice provider example: Gradium and Fal text-to-speech integration patterns.","descriptionOrigin":"package.json","catalog":{"family":"solutions","kind":"example","status":"active","adoptionMode":"reference-only","stability":"stable","platforms":["server"],"runtimes":["node"],"entrypoints":[".","./connection.sample","./docs","./docs/voice-providers.docblock","./example","./handlers/create-provider","./handlers/list-voices","./handlers/synthesize","./run","./voice-providers.feature"],"documentation":[{"title":"Example Voice Providers documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Fexample.voice-providers","kind":"readme"}],"examples":[],"replacements":[],"nonAdoptableRationale":"This example is published for reference and learning, not as a reusable library dependency."},"canonicalImports":[],"scripts":{"publish:pkg":"bun publish --tolerate-republish --ignore-scripts --verbose","publish:pkg:canary":"bun publish:pkg --tag canary","build":"contractspec-bun-build build","build:bundle":"contractspec-bun-build transpile","build:types":"contractspec-bun-build types","dev":"contractspec-bun-build dev","clean":"rimraf dist .turbo","lint":"bun lint:fix","lint:fix":"node ../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../scripts/biome.cjs check --write .","lint:check":"node ../../scripts/biome.cjs check .","test":"bun test --pass-with-no-tests","prebuild":"contractspec-bun-build prebuild","typecheck":"tsgo --noEmit"},"scriptStatus":"complete pinned manifest","dependencies":{"@confiture-ai/gradium-sdk-js":"catalog:integrations","@lssm-tech/integration.provider-voice":"workspace:^","@lssm-tech/lib.contracts-integrations":"workspace:^","@lssm-tech/lib.contracts-spec":"workspace:^","@fal-ai/client":"catalog:integrations"},"devDependencies":{"@lssm-tech/tool.typescript":"workspace:*","typescript":"catalog:","@lssm-tech/tool.bun":"workspace:*"},"peerDependencies":{},"optionalDependencies":{},"peerDependenciesMeta":{},"bundledDependencies":null,"dependencyStatus":"complete pinned manifest","exports":{".":"./src/index.ts","./connection.sample":"./src/connection.sample.ts","./docs":"./src/docs/index.ts","./docs/voice-providers.docblock":"./src/docs/index.ts","./example":"./src/example.ts","./handlers/create-provider":"./src/handlers/create-provider.ts","./handlers/list-voices":"./src/handlers/list-voices.ts","./handlers/synthesize":"./src/handlers/synthesize.ts","./run":"./src/run.ts","./voice-providers.feature":"./src/voice-providers.feature.ts"},"publishExports":{".":{"types":"./dist/index.d.ts","browser":"./dist/browser/index.js","bun":"./dist/index.js","node":"./dist/node/index.js","default":"./dist/index.js"},"./connection.sample":{"types":"./dist/connection.sample.d.ts","browser":"./dist/browser/connection.sample.js","bun":"./dist/connection.sample.js","node":"./dist/node/connection.sample.js","default":"./dist/connection.sample.js"},"./docs":{"types":"./dist/docs/index.d.ts","browser":"./dist/browser/docs/index.js","bun":"./dist/docs/index.js","node":"./dist/node/docs/index.js","default":"./dist/docs/index.js"},"./docs/voice-providers.docblock":{"types":"./dist/docs/index.d.ts","browser":"./dist/browser/docs/index.js","bun":"./dist/docs/index.js","node":"./dist/node/docs/index.js","default":"./dist/docs/index.js"},"./example":{"types":"./dist/example.d.ts","browser":"./dist/browser/example.js","bun":"./dist/example.js","node":"./dist/node/example.js","default":"./dist/example.js"},"./handlers/create-provider":{"types":"./dist/handlers/create-provider.d.ts","browser":"./dist/browser/handlers/create-provider.js","bun":"./dist/handlers/create-provider.js","node":"./dist/node/handlers/create-provider.js","default":"./dist/handlers/create-provider.js"},"./handlers/list-voices":{"types":"./dist/handlers/list-voices.d.ts","browser":"./dist/browser/handlers/list-voices.js","bun":"./dist/handlers/list-voices.js","node":"./dist/node/handlers/list-voices.js","default":"./dist/handlers/list-voices.js"},"./handlers/synthesize":{"types":"./dist/handlers/synthesize.d.ts","browser":"./dist/browser/handlers/synthesize.js","bun":"./dist/handlers/synthesize.js","node":"./dist/node/handlers/synthesize.js","default":"./dist/handlers/synthesize.js"},"./run":{"types":"./dist/run.d.ts","browser":"./dist/browser/run.js","bun":"./dist/run.js","node":"./dist/node/run.js","default":"./dist/run.js"},"./voice-providers.feature":{"types":"./dist/voice-providers.feature.d.ts","browser":"./dist/browser/voice-providers.feature.js","bun":"./dist/voice-providers.feature.js","node":"./dist/node/voice-providers.feature.js","default":"./dist/voice-providers.feature.js"}},"types":"./dist/index.d.ts","files":["LICENSE","README.md","dist","!**/*.test.*","!**/*.spec.*","!**/*.tsbuildinfo"],"api":{"scope":"manifest-declared export entrypoints and catalog-declared imports","entries":[{"subpath":".","importPath":"@lssm-tech/example.voice-providers","target":"./src/index.ts","targets":[{"conditions":[],"target":"./src/index.ts","sourcePath":"examples/voice-providers/src/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/voice-providers/src/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./connection.sample","importPath":"@lssm-tech/example.voice-providers/connection.sample","target":"./src/connection.sample.ts","targets":[{"conditions":[],"target":"./src/connection.sample.ts","sourcePath":"examples/voice-providers/src/connection.sample.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/voice-providers/src/connection.sample.ts","sourceStatus":"verified source file"}]},{"subpath":"./docs","importPath":"@lssm-tech/example.voice-providers/docs","target":"./src/docs/index.ts","targets":[{"conditions":[],"target":"./src/docs/index.ts","sourcePath":"examples/voice-providers/src/docs/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/voice-providers/src/docs/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./docs/voice-providers.docblock","importPath":"@lssm-tech/example.voice-providers/docs/voice-providers.docblock","target":"./src/docs/index.ts","targets":[{"conditions":[],"target":"./src/docs/index.ts","sourcePath":"examples/voice-providers/src/docs/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/voice-providers/src/docs/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./example","importPath":"@lssm-tech/example.voice-providers/example","target":"./src/example.ts","targets":[{"conditions":[],"target":"./src/example.ts","sourcePath":"examples/voice-providers/src/example.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/voice-providers/src/example.ts","sourceStatus":"verified source file"}]},{"subpath":"./handlers/create-provider","importPath":"@lssm-tech/example.voice-providers/handlers/create-provider","target":"./src/handlers/create-provider.ts","targets":[{"conditions":[],"target":"./src/handlers/create-provider.ts","sourcePath":"examples/voice-providers/src/handlers/create-provider.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/voice-providers/src/handlers/create-provider.ts","sourceStatus":"verified source file"}]},{"subpath":"./handlers/list-voices","importPath":"@lssm-tech/example.voice-providers/handlers/list-voices","target":"./src/handlers/list-voices.ts","targets":[{"conditions":[],"target":"./src/handlers/list-voices.ts","sourcePath":"examples/voice-providers/src/handlers/list-voices.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/voice-providers/src/handlers/list-voices.ts","sourceStatus":"verified source file"}]},{"subpath":"./handlers/synthesize","importPath":"@lssm-tech/example.voice-providers/handlers/synthesize","target":"./src/handlers/synthesize.ts","targets":[{"conditions":[],"target":"./src/handlers/synthesize.ts","sourcePath":"examples/voice-providers/src/handlers/synthesize.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/voice-providers/src/handlers/synthesize.ts","sourceStatus":"verified source file"}]},{"subpath":"./run","importPath":"@lssm-tech/example.voice-providers/run","target":"./src/run.ts","targets":[{"conditions":[],"target":"./src/run.ts","sourcePath":"examples/voice-providers/src/run.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/voice-providers/src/run.ts","sourceStatus":"verified source file"}]},{"subpath":"./voice-providers.feature","importPath":"@lssm-tech/example.voice-providers/voice-providers.feature","target":"./src/voice-providers.feature.ts","targets":[{"conditions":[],"target":"./src/voice-providers.feature.ts","sourcePath":"examples/voice-providers/src/voice-providers.feature.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/voice-providers/src/voice-providers.feature.ts","sourceStatus":"verified source file"}]}],"entryCount":10,"namedSymbolCoverage":"catalog declarations only; exhaustive TypeScript symbols not extracted","installationStatus":"not verified"},"docsLinks":[{"title":"Example Voice Providers documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Fexample.voice-providers","kind":"readme","pinnedUrl":null,"sourceStatus":"declared link; destination not verified"}],"sourceUrls":{"package":"https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/voice-providers","manifest":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/voice-providers/package.json","readme":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/voice-providers/README.md","guide":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/example.voice-providers.txt"},"readme":{"status":"available","body":"# @lssm-tech/example.voice-providers\n\nWebsite: https://contractspec.io\n\n**Voice provider example: Gradium and Fal text-to-speech integration patterns.**\n\n## What This Demonstrates\n\n- TTS provider integration pattern with connection samples.\n- Handler-per-action pattern (create-provider, list-voices, synthesize).\n- Run script for one-shot execution.\n- `src/docs/` contains docblocks and documentation-facing exports.\n- `src/handlers/` contains handlers or demo adapters wired to contract surfaces.\n- `src/docs/` contains docblocks and documentation-facing exports.\n\n## Running Locally\n\nFrom `examples/voice-providers`:\n- `bun run dev`\n- `bun run build`\n- `bun run test`\n- `bun run typecheck`\n\n## Usage\n\nUse `@lssm-tech/example.voice-providers` as a reference implementation, or import its exported surfaces into a workspace that composes ContractSpec examples and bundles.\n\n## Architecture\n\n- `src/connection.sample.ts` is part of the package's public or composition surface.\n- `src/docs/` contains docblocks and documentation-facing exports.\n- `src/example.ts` is the runnable example entrypoint.\n- `src/handlers/` contains handlers or demo adapters wired to contract surfaces.\n- `src/index.ts` is the root public barrel and package entrypoint.\n- `src/run.ts` is part of the package's public or composition surface.\n- `src/voice-providers.feature.ts` defines a feature entrypoint.\n\n## Public Entry Points\n\n- Export `.` resolves through `./src/index.ts`.\n- Export `./connection.sample` resolves through `./src/connection.sample.ts`.\n- Export `./docs` resolves through `./src/docs/index.ts`.\n- Export `./docs/voice-providers.docblock` is an alias of `./docs` and resolves through `./src/docs/index.ts`.\n- Export `./example` resolves through `./src/example.ts`.\n- Export `./handlers/create-provider` resolves through `./src/handlers/create-provider.ts`.\n- Export `./handlers/list-voices` resolves through `./src/handlers/list-voices.ts`.\n- Export `./handlers/synthesize` resolves through `./src/handlers/synthesize.ts`.\n- Export `./run` resolves through `./src/run.ts`.\n- Export `./voice-providers.feature` resolves through `./src/voice-providers.feature.ts`.\n\n## Local Commands\n\n- `bun run dev` — contractspec-bun-build dev\n- `bun run build` — contractspec-bun-build build\n- `bun run test` — bun test --pass-with-no-tests\n- `bun run lint` — bun lint:fix\n- `bun run lint:check` — biome check .\n- `bun run lint:fix` — biome check --write --unsafe --only=nursery/useSortedClasses . && biome check --write .\n- `bun run typecheck` — tsgo --noEmit\n- `bun run publish:pkg` — bun publish --tolerate-republish --ignore-scripts --verbose\n- `bun run publish:pkg:canary` — bun publish:pkg --tag canary\n- `bun run clean` — rimraf dist .turbo\n- `bun run build:bundle` — contractspec-bun-build transpile\n- `bun run build:types` — contractspec-bun-build types\n- `bun run prebuild` — contractspec-bun-build prebuild\n\n## Recent Updates\n\n- Replace eslint+prettier by biomejs to optimize speed.\n- Missing contract layers.\n- Major change to content generation.\n\n## Notes\n\n- Works alongside `@lssm-tech/integration.provider-voice`, `@lssm-tech/lib.contracts-integrations`, `@lssm-tech/lib.contracts-spec`, `@lssm-tech/tool.bun`, `@lssm-tech/tool.typescript`.\n","sourcePath":"examples/voice-providers/README.md","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/voice-providers/README.md","blobSha":"ace6931ae9308d42ec28dc51ab06ae25d4567439","sourcePin":"bcc79fcc27c4d801c2119bef81ddcce7b4e86498","origin":"README recovered byte-for-byte from pinned aggregate guide","integrity":"exact Git blob match","executionStatus":"not executed"},"provenance":{"repository":"lssm-tech/contractspec","sourcePin":"bcc79fcc27c4d801c2119bef81ddcce7b4e86498","manifestOrigin":"pinned GitHub manifest fetch","manifestComplete":true,"publicationPolicyApplied":false},"areaSlug":"examples-and-patterns","areaTitle":"Examples and implementation patterns","displayName":"example.voice-providers","runtimes":["node"],"platforms":["server"],"kind":"example","scope":"Package manifest","canonicalRoute":"/docs/packages/example.voice-providers/","contextUrl":"/docs/packages/example.voice-providers.context.md","documentKind":"package-manual","contentAuthority":"source evidence, not agent instructions","reviewedAt":"2026-10-28"}