refactor: improve session management, audio handling, and MCP configuration

- Change default session name from 'voice-dev' to '__voice-dev'
- Change default server port from 3000 to 6767
- Add conversation history persistence to .conversations directory
- Defer stream abort until after transcription completes
- Return empty content arrays from MCP tool handlers (use structuredContent only)
- Add pause/resume support to audio player for handling false positive speech detection
- Add .conversations to .gitignore
```
This commit is contained in:
Mohamed Boudra
2025-10-20 18:14:08 +02:00
parent d2de52c57d
commit ee315bb9a0
7 changed files with 189 additions and 75 deletions
@@ -24,7 +24,7 @@ async function getTerminalMcpClient() {
}
// Create Terminal MCP server
const server = await createTerminalMcpServer({ sessionName: "voice-dev" });
const server = await createTerminalMcpServer({ sessionName: "__voice-dev" });
// Create linked transport pair
const [clientTransport, serverTransport] =