Chris Scott f0c87ffa5d refactor(frontend): rework speech-to-text to tap-first interaction (#207)
* refactor(frontend): extract VoiceStatusOverlay component and improve swipe tracking

- Extract voice status overlay to dedicated VoiceStatusOverlay.tsx component
- Move pointer event handlers from button to container for larger swipe surface area
- Users can now initiate swipe gesture from anywhere in the container, not just the button

* refactor(frontend): add SSE delta support and improve status synchronization

- Add SSEMessagePartDeltaEvent type for streaming delta updates
- Add SSESessionCreatedEvent type for session creation events
- Implement directory filtering for SSE events to prevent cross-contamination
- Add version tracking for status snapshots to ignore stale responses
- Replace individual status updates with atomic replaceStatuses operation
- Refactor parts batcher to use unified operation queue with delta support
- Clear stale statuses on initial snapshot and directory changes
- Add tests for status snapshot clearing and stale response handling

* refactor: remove auto-restart from assistant mode and fix mobile sheet close behavior

Stop restarting OpenCode after assistant mode initialization since the
startup error logic is no longer needed. Also fix the repo quick switch
sheet to stay open when launched from the mobile tab bar, preventing
unwanted navigation away from the sheet.

* refactor(frontend): improve speech-to-text UI
2026-04-29 12:26:41 -04:00
2025-11-23 23:25:27 -05:00
2025-11-23 22:17:21 -05:00

OpenCode Manager

Mobile-first web interface for OpenCode AI agents. Manage, control, and code from any device.

License Stars Latest Release PRs Welcome

OpenCode Manager Demo Git Commit Demo

Quick Start

git clone https://github.com/chriswritescode-dev/opencode-manager.git
cd opencode-manager
cp .env.example .env
echo "AUTH_SECRET=$(openssl rand -base64 32)" >> .env
docker-compose up -d
# Open http://localhost:5003

On first launch, you'll be prompted to create an admin account. That's it!

For local development setup, see the Development Guide.

Screenshots

Chat (Mobile)
chat-mobile
File Browser (Mobile)
files-mobile
Inline Diff View
inline-diff-view

Features

  • Git — Multi-repo support, SSH authentication, worktrees, unified diffs with line numbers, PR creation
  • Files — Directory browser with tree view, syntax highlighting, create/rename/delete, ZIP download
  • Chat — Real-time streaming (SSE), slash commands, @file mentions, Plan/Build modes, Mermaid diagrams
  • Schedules — Recurring repo jobs with reusable prompts, run history, linked sessions, and markdown-rendered output
  • Audio — Text-to-speech (browser + OpenAI-compatible), speech-to-text (browser + OpenAI-compatible)
  • AI — Model selection, provider config, OAuth for Anthropic/GitHub Copilot, custom agents with system prompts
  • MCP — Local and remote MCP server support with pre-built templates
  • Memory — Persistent project knowledge with semantic search (plugin repo) and compaction awareness
  • Mobile — Responsive UI, PWA installable, iOS-optimized with proper keyboard handling and swipe navigation

Configuration

# Required for production
AUTH_SECRET=your-secure-random-secret  # Generate with: openssl rand -base64 32

# Pre-configured admin (optional)
ADMIN_EMAIL=admin@example.com
ADMIN_PASSWORD=your-secure-password

# For LAN/remote access
AUTH_TRUSTED_ORIGINS=http://localhost:5003,https://yourl33tdomain.com
AUTH_SECURE_COOKIES=false  # Set to true when using HTTPS

For OAuth, Passkeys, Push Notifications (VAPID), and advanced configuration, see the Configuration Guide.

Documentation

License

MIT

Languages
TypeScript 99.5%
Shell 0.3%
CSS 0.1%