Based on the git diff, this commit makes three distinct improvements to terminal management:

```
feat: improve terminal state tracking and creation reliability

- Switch to ElevenLabs TTS (eleven_turbo_v2_5) in voice agent
- Add current command tracking to terminal listings
- Use session prefix '__voice-dev' to avoid conflicts
- Create windows with working directory and run initial commands atomically
- Disable automatic window renaming to preserve user-set names
- Improve working directory detection with lsof fallback
- Enhance command detection to show full command with arguments
```
This commit is contained in:
Mohamed Boudra
2025-10-14 13:11:57 +02:00
parent 605e5c3e87
commit f3b8cc689d
3 changed files with 96 additions and 41 deletions

View File

@@ -18,6 +18,7 @@ from livekit.agents import (
cli,
llm,
voice,
inference,
)
from livekit.agents.llm.mcp import MCPServerHTTP
@@ -67,7 +68,11 @@ async def entrypoint(ctx: JobContext):
session = voice.AgentSession(
stt="assemblyai/universal-streaming:en",
llm="openai/gpt-4.1-mini",
tts="cartesia/sonic-2:9626c31c-bec5-4cca-baa8-f8ba9e84c8bc",
tts= inference.TTS(
model="elevenlabs/eleven_turbo_v2_5",
voice="Xb7hH8MSUJpSbSDYk0k2",
language="en"
),
)
# Start the session