voice: harden local voice stack and enforce UUID agent ids

This commit is contained in:
Mohamed Boudra
2026-02-06 21:27:50 +07:00
parent a1008c3668
commit 8c70b3d86b
23 changed files with 574 additions and 249 deletions
+2 -2
View File
@@ -144,10 +144,10 @@ export function createCli(): Command {
// Internal voice MCP stdio bridge command (hidden).
program
.command('__paseo_voice_mcp_bridge')
.command('__paseo_voice_mcp_bridge', { hidden: true })
.description('Internal voice MCP bridge command')
.argument('<callerAgentId>')
.requiredOption('--socket <path>')
.requiredOption('--caller-agent-id <id>')
.action(runVoiceMcpBridgeCommand)
return program
@@ -2,16 +2,16 @@ import { runVoiceMcpBridgeCli } from "@getpaseo/server";
type VoiceBridgeOptions = {
socket: string;
callerAgentId: string;
};
export async function runVoiceMcpBridgeCommand(
callerAgentId: string,
options: VoiceBridgeOptions
): Promise<void> {
await runVoiceMcpBridgeCli([
"--socket",
options.socket,
"--caller-agent-id",
callerAgentId,
options.callerAgentId,
]);
}