mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-26 02:05:31 +00:00
* feat(providers): add docs links, sign-in facts and a tidier provider page A user whose Antigravity models looked stale had no way to find out why without asking in chat. agy 1.5.14 picks its sign-in from the environment: with SSH_CONNECTION, SSH_CLIENT or SSH_TTY set it reads a token file, otherwise the OS keyring (google-antigravity/antigravity-cli#1336). The daemon is often started outside SSH while the user tests agy over SSH, so the two can be signed in to different accounts and list different models. - The Antigravity status reports whether agy runs in an SSH session, and the diagnostic report for plugin providers now includes the resolved command, path and version like built-in providers do. - Providers carry an optional docsUrl (protocol field, plugin SDK registration, built-in definitions). The provider page links it from Troubleshooting, and the Antigravity page documents the sign-in mismatch. - Provider and project settings get a breadcrumb title. Refresh moves to the Models header, the model list scrolls inside a fixed height with a full-width search, and section headers keep one spacing whether or not they hold an action. - A switch no longer makes its row taller than the track, and every settings row is at least as tall as one with a switch, so a switch row and a text row line up. * fix(providers): report Antigravity's sign-in when ACP does not start A sign-in problem can be what stops agy's ACP server from starting, so the diagnostic report now shows the SSH session rows in that case too. The plugin provider diagnostic test no longer compares the daemon PATH and shell rows, which differ per host (Windows reports ComSpec). * fix(server): show the same provider version in the report and Installation The plugin diagnostic read the version by calling the provider's inspect itself with a 10s deadline, while the Installation row reads it through the installation service with a 20s deadline and a cache. A version check between 10 and 20 seconds showed in Installation and as an error in the report. The snapshot manager now hands getDiagnostic an inspectInstallation that reads through the installation service, so both show one answer and agy --version runs once for both. * feat(app): give rows that open something the same height as other rows Detail rows and collapsible row headers reserved a button's height so a list where only some rows held a switch kept one height. Now that every settings row is at least as tall as a switch row, that reserve only made rows like Diagnostic report and Docs taller than their neighbours. * test(app): compare rows that open something with text and switch rows * feat(app): size the provider icon to the page title * fix(app): scale the provider title icon with the interface size
Voice Assistant
A voice-controlled terminal assistant that runs as a single local service.
Quick Start
# Install dependencies
npm install
# Copy environment variables
cp .env.example .env
# Edit .env and add your API keys (OpenAI, Deepgram)
# Run development servers
npm run dev
# Open browser to http://localhost:5173
Architecture
- Express Server (port 3000) - Serves API and built UI in production
- Vite Dev Server (port 5173) - Hot-reload React UI in development
- WebSocket (
/ws) - Real-time bidirectional communication - Agent - STT → LLM → TTS pipeline with terminal control
- Daemon - tmux-based terminal management (in-process)
Development
# Run both servers (recommended)
npm run dev
# Or run separately:
npm run dev:server # Express on port 3000
npm run dev:ui # Vite on port 5173
# Type checking
npm run typecheck
# Build for production
npm run build
# Start production server
npm start
Project Status
✅ Completed (Phases 1-2):
- Package setup and configuration
- Express server with WebSocket
- React UI with Vite
- WebSocket client with ping/pong testing
⏳ In Progress (Phase 3):
- Terminal control (tmux integration)
📋 Planned (Phases 4-9):
- LLM integration (OpenAI GPT-4)
- Agent orchestrator
- Speech-to-Text (Deepgram)
- Text-to-Speech (OpenAI)
- Audio streaming
- UI polish
See IMPLEMENTATION_PLAN.md for complete details.
Environment Variables
OPENAI_API_KEY=your-openai-key-here # GPT-4 and TTS
DEEPGRAM_API_KEY=your-deepgram-key-here # Streaming STT
STT_MODEL=whisper-1 # Optional: override to gpt-4o-transcribe, etc.
STT_CONFIDENCE_THRESHOLD=-3.0 # Optional: reject low-confidence clips
STT_DEBUG_AUDIO_DIR=.stt-debug # Optional: persist raw dictation audio for debugging
PASEO_HOME=~/.paseo # Runtime state directory (agents/, etc.)
PASEO_LISTEN=127.0.0.1:6767 # Listen address (host:port or /path/to/socket)
PASEO_HOME defaults to ~/.paseo and isolates runtime artifacts like agents/. PASEO_LISTEN controls the daemon listen address. For blue/green testing you can run a parallel server without touching production state:
PASEO_HOME=~/.paseo-blue PASEO_LISTEN=127.0.0.1:7777 npm run dev
Tech Stack
- Server: Express, TypeScript, ws (WebSocket)
- Client: React 18, Vite, TypeScript
- Terminal: tmux (via child_process)
- AI: OpenAI (LLM + TTS), Deepgram (STT)
Testing
Currently manual testing via:
- Start servers:
npm run dev - Open http://localhost:5173
- Test WebSocket connection (green status indicator)
- Click "Send Ping" button to test communication
More testing guidance as features are implemented.
License
MIT