mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-09-16 13:20:39 -07:00
Mounts FastMCP at /mcp (Streamable HTTP) so Claude Code, Cursor, Windsurf, and the VS Code MCP extensions can call voicebox.speak, voicebox.transcribe, voicebox.list_captures, and voicebox.list_profiles against the running Voicebox server. Backend - new backend/mcp_server package (tools, middleware, profile resolve, pub/sub events); named mcp_server to avoid shadowing the installed mcp PyPI package FastMCP imports internally - app.py migrated from @app.on_event to lifespan= so FastMCP's session manager cohabits with Voicebox's startup/shutdown - new MCPClientBinding table + /mcp/bindings CRUD; ClientIdMiddleware reads X-Voicebox-Client-Id into a ContextVar and stamps last_seen_at - profile resolution precedence: explicit -> per-client binding -> capture_settings.default_playback_voice_id - POST /speak REST wrapper for non-MCP callers (shell, ACP, A2A) - GET /events/speak SSE broadcasts speak-start / speak-end so the pill surfaces agent-initiated speech - backend/mcp_shim proxy (plain httpx) for stdio-only MCP clients - PyInstaller spec updates + new --shim build target (~18 MB) Frontend - Settings -> MCP page with HTTP / stdio / claude-mcp-add copy snippets, default voice picker, per-client bindings table, connection status - useMCPBindings, useSpeakEvents hooks - CapturePill gains 'speaking' state; DictateWindow subscribes to SSE and emits dictate:show so the Rust side surfaces the pill window Native - tauri.conf.json externalBin now includes voicebox-mcp - show_dictate_window helper + dictate:show listener in main.rs - (also in this commit: InputMonitoringGate UX, hotkey_monitor tweaks, landing footer/navbar updates, new overview docs for captures / dictation / mcp-server / voice-personalities) Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
68 lines
1.7 KiB
JSON
68 lines
1.7 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "Voicebox",
|
|
"version": "0.5.0",
|
|
"identifier": "sh.voicebox.app",
|
|
"build": {
|
|
"beforeDevCommand": "bun run dev",
|
|
"beforeBuildCommand": "bun run build",
|
|
"frontendDist": "../dist",
|
|
"devUrl": "http://localhost:5173"
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"createUpdaterArtifacts": "v1Compatible",
|
|
"externalBin": ["binaries/voicebox-server", "binaries/voicebox-mcp"],
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/[email protected]",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
],
|
|
"macOS": {
|
|
"frameworks": [],
|
|
"minimumSystemVersion": "11.0",
|
|
"infoPlist": "Info.plist",
|
|
"entitlements": "Entitlements.plist"
|
|
},
|
|
"resources": {
|
|
"gen/Assets.car": "./",
|
|
"gen/voicebox.icns": "./",
|
|
"gen/partial.plist": "./"
|
|
}
|
|
},
|
|
"app": {
|
|
"macOSPrivateApi": true,
|
|
"security": {
|
|
"csp": null,
|
|
"capabilities": ["default"]
|
|
},
|
|
"windows": [
|
|
{
|
|
"title": "",
|
|
"width": 1200,
|
|
"height": 800,
|
|
"minWidth": 800,
|
|
"minHeight": 600,
|
|
"resizable": true,
|
|
"fullscreen": false,
|
|
"devtools": true,
|
|
"userAgent": null,
|
|
"titleBarStyle": "Overlay"
|
|
}
|
|
],
|
|
"withGlobalTauri": true
|
|
},
|
|
"plugins": {
|
|
"shell": {
|
|
"open": ".*"
|
|
},
|
|
"updater": {
|
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEUxRENBQkRBQjdBNTM1OTIKUldTU05hVzMycXZjNGJGcUxmcVVocll2QjdSaTJNdlFxR2M3VDJsMnVvbDdyZGRPMmRlOW9aWTcK",
|
|
"endpoints": ["https://github.com/jamiepine/voicebox/releases/latest/download/latest.json"]
|
|
}
|
|
}
|
|
}
|