agents
Version:
A home for your AI agents
18 lines (17 loc) • 499 B
JavaScript
//#region src/voice/types.ts
/**
* Shared types for the voice pipeline.
*
* Used by both the server (index.ts) and client (client.ts)
* to ensure protocol consistency.
*/
/**
* Current voice protocol version.
* Bump this when making backwards-incompatible wire protocol changes.
* The server sends this in the initial `welcome` message so clients
* can detect version mismatches.
*/
const VOICE_PROTOCOL_VERSION = 1;
//#endregion
export { VOICE_PROTOCOL_VERSION };
//# sourceMappingURL=types.js.map