voice: switch internal MCP path to stdio unix-socket bridge
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { runVoiceMcpBridgeCli } from "@getpaseo/server";
|
||||
|
||||
type VoiceBridgeOptions = {
|
||||
socket: string;
|
||||
};
|
||||
|
||||
export async function runVoiceMcpBridgeCommand(
|
||||
callerAgentId: string,
|
||||
options: VoiceBridgeOptions
|
||||
): Promise<void> {
|
||||
await runVoiceMcpBridgeCli([
|
||||
"--socket",
|
||||
options.socket,
|
||||
"--caller-agent-id",
|
||||
callerAgentId,
|
||||
]);
|
||||
}
|
||||
Reference in New Issue
Block a user