@shogo-ai/voice 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +30 -0
- package/dist/chunk-D2EVSUZX.js +27 -0
- package/dist/chunk-Q3TJAJ54.js +165 -0
- package/dist/chunk-QHDIEE7O.js +453 -0
- package/dist/chunk-S3S2RNO6.js +671 -0
- package/dist/chunk-ZGYHDC5G.js +423 -0
- package/dist/index.cjs +1316 -0
- package/dist/index.d.cts +432 -0
- package/dist/index.d.ts +432 -0
- package/dist/index.js +735 -0
- package/dist/native/index.cjs +1667 -0
- package/dist/native/index.d.cts +285 -0
- package/dist/native/index.d.ts +285 -0
- package/dist/native/index.js +949 -0
- package/dist/organicParticlesShaders-DIva0vBO.d.cts +693 -0
- package/dist/organicParticlesShaders-DIva0vBO.d.ts +693 -0
- package/dist/react/index.cjs +1670 -0
- package/dist/react/index.d.cts +423 -0
- package/dist/react/index.d.ts +423 -0
- package/dist/react/index.js +952 -0
- package/dist/route/agent.cjs +981 -0
- package/dist/route/agent.d.cts +20 -0
- package/dist/route/agent.d.ts +20 -0
- package/dist/route/agent.js +17 -0
- package/dist/route/audio-tags.cjs +975 -0
- package/dist/route/audio-tags.d.cts +16 -0
- package/dist/route/audio-tags.d.ts +16 -0
- package/dist/route/audio-tags.js +13 -0
- package/dist/route/index.cjs +987 -0
- package/dist/route/index.d.cts +115 -0
- package/dist/route/index.d.ts +115 -0
- package/dist/route/index.js +12 -0
- package/dist/route/signed-url.cjs +975 -0
- package/dist/route/signed-url.d.cts +12 -0
- package/dist/route/signed-url.d.ts +12 -0
- package/dist/route/signed-url.js +13 -0
- package/dist/route/tts-preview.cjs +975 -0
- package/dist/route/tts-preview.d.cts +17 -0
- package/dist/route/tts-preview.d.ts +17 -0
- package/dist/route/tts-preview.js +13 -0
- package/dist/server.cjs +999 -0
- package/dist/server.d.cts +88 -0
- package/dist/server.d.ts +88 -0
- package/dist/server.js +11 -0
- package/dist/types-BKJtOUbE.d.cts +352 -0
- package/dist/types-BKJtOUbE.d.ts +352 -0
- package/package.json +148 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Drop-in `POST /voice/tts-preview` handler.
|
|
3
|
+
*
|
|
4
|
+
* Note: in runtime-token proxy mode this returns 501 — TTS preview
|
|
5
|
+
* requires a per-user companion context that pod apps don't own.
|
|
6
|
+
* Use `createVoiceRoute({ apiKey, getUser, companionStore })` from
|
|
7
|
+
* `@shogo-ai/sdk/voice/route` for BYO-EL deployments.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* // app/api/voice/tts-preview+api.ts (Expo Router)
|
|
12
|
+
* export { POST } from '@shogo-ai/sdk/voice/route/tts-preview'
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
declare const POST: (req: Request) => Promise<Response>;
|
|
16
|
+
|
|
17
|
+
export { POST };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Drop-in `POST /voice/tts-preview` handler.
|
|
3
|
+
*
|
|
4
|
+
* Note: in runtime-token proxy mode this returns 501 — TTS preview
|
|
5
|
+
* requires a per-user companion context that pod apps don't own.
|
|
6
|
+
* Use `createVoiceRoute({ apiKey, getUser, companionStore })` from
|
|
7
|
+
* `@shogo-ai/sdk/voice/route` for BYO-EL deployments.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* // app/api/voice/tts-preview+api.ts (Expo Router)
|
|
12
|
+
* export { POST } from '@shogo-ai/sdk/voice/route/tts-preview'
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
declare const POST: (req: Request) => Promise<Response>;
|
|
16
|
+
|
|
17
|
+
export { POST };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
defaultHandlers
|
|
3
|
+
} from "../chunk-D2EVSUZX.js";
|
|
4
|
+
import "../chunk-QHDIEE7O.js";
|
|
5
|
+
import "../chunk-ZGYHDC5G.js";
|
|
6
|
+
import "../chunk-Q3TJAJ54.js";
|
|
7
|
+
|
|
8
|
+
// src/route/tts-preview.ts
|
|
9
|
+
var POST = (req) => defaultHandlers().tts(req);
|
|
10
|
+
export {
|
|
11
|
+
POST
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=tts-preview.js.map
|