voice: switch internal MCP path to stdio unix-socket bridge

This commit is contained in:
Mohamed Boudra
2026-02-06 19:05:45 +07:00
parent 9f5b1ec087
commit e782fdd35d
9 changed files with 473 additions and 25 deletions
+9
View File
@@ -14,6 +14,7 @@ import { runInspectCommand } from './commands/agent/inspect.js'
import { runWaitCommand } from './commands/agent/wait.js'
import { runAttachCommand } from './commands/agent/attach.js'
import { withOutput } from './output/index.js'
import { runVoiceMcpBridgeCommand } from './commands/voice-mcp-bridge.js'
const VERSION = '0.1.0'
@@ -141,5 +142,13 @@ export function createCli(): Command {
// Worktree commands
program.addCommand(createWorktreeCommand())
// Internal voice MCP stdio bridge command (hidden).
program
.command('__paseo_voice_mcp_bridge')
.description('Internal voice MCP bridge command')
.argument('<callerAgentId>')
.requiredOption('--socket <path>')
.action(runVoiceMcpBridgeCommand)
return program
}
@@ -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,
]);
}