mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 12:54:20 +01:00
feat: add assistant mode, SSE streaming, and OpenCode server integration (#214)
This commit is contained in:
1 parent
3cc24288a6
commit
c3d6549f01
133 files changed
+7284
-6293
No files matched your search
+35
-21
@@ -2,7 +2,6 @@
|
||||
|
||||
Mobile-first web interface for [OpenCode](https://opencode.ai) AI agents. Manage, control, and code from any device - your phone, tablet, or desktop.
|
||||
|
||||
<!-- Replace with your hero GIF -->
|
||||

|
||||
|
||||
## Quick Start
|
||||
@@ -19,37 +18,52 @@ Open [http://localhost:5003](http://localhost:5003) and create your admin accoun
|
||||
|
||||
## What is OpenCode Manager?
|
||||
|
||||
OpenCode Manager provides a web-based interface for OpenCode AI agents, allowing you to:
|
||||
OpenCode Manager is a mobile-first web interface for [OpenCode](https://opencode.ai) AI agents. It combines repository management, chat/session control, Git and file tools, schedules, AI configuration, MCP server management, push notifications, and full PWA support into a single responsive application.
|
||||
|
||||
- **Manage repositories** - Clone repos or discover existing local repos from a parent folder
|
||||
- **Chat with AI** - Real-time streaming chat with file mentions and slash commands
|
||||
- **Run recurring jobs** - Schedule repo reviews, health checks, and other reusable prompts
|
||||
- **View diffs** - See code changes with syntax highlighting
|
||||
- **Control from anywhere** - Mobile-first PWA with push notifications
|
||||
- **Configure AI** - Manage models, providers, and MCP servers
|
||||
- **Repository management** — Clone, discover, and manage multiple Git repos with SSH authentication and worktree support
|
||||
- **Chat & sessions** — Real-time SSE streaming with slash commands, `@file` mentions, and Plan/Build modes
|
||||
- **Schedules** — Recurring repo jobs with reusable prompts, run history, and linked sessions
|
||||
- **AI configuration** — Model/provider setup, OAuth for Anthropic/GitHub Copilot, custom agents
|
||||
- **MCP & Skills** — MCP server management and skill support
|
||||
- **Audio** — Text-to-speech and speech-to-text (browser + OpenAI-compatible)
|
||||
- **Mobile & notifications** — Installable PWA with push notifications and mobile-first navigation
|
||||
|
||||
## How It Works
|
||||
|
||||
OpenCode Manager runs as a pnpm workspace:
|
||||
|
||||
- The Bun/Hono backend initializes SQLite, Better Auth, settings, schedules, notifications, and an OpenCode client.
|
||||
- A supervised OpenCode server handles agent sessions while the backend proxies API calls and streams events over SSE.
|
||||
- The React/Vite frontend uses React Router and TanStack Query to render repositories, sessions, schedules, settings, and mobile navigation.
|
||||
- The shared package keeps config, schemas, and TypeScript types aligned between backend and frontend.
|
||||
|
||||
## Key Features
|
||||
|
||||
- **Multi-Repository Support** - Clone repos, discover local repo folders, and reconnect existing OpenCode chats
|
||||
- **Git Integration** - View diffs, manage branches, create PRs directly from the UI
|
||||
- **Real-time Chat** - Stream responses with file mentions and custom slash commands
|
||||
- **Scheduled Repo Jobs** - Run recurring prompts with linked sessions, logs, and reviewable output
|
||||
- **Mobile-First PWA** - Install as an app on any device with push notifications
|
||||
- **Push Notifications** - Get background alerts for agent events when app is closed
|
||||
- **AI Configuration** - Configure models, providers, OAuth, and custom agents
|
||||
- **MCP Servers** - Add local or remote MCP servers with OAuth support
|
||||
- **Memory Plugin (Optional)** — Persistent project knowledge with semantic search ([GitHub](https://github.com/chriswritescode-dev/opencode-memory))
|
||||
- **Repositories & Git** — Multi-repo management, local discovery, SSH auth, worktrees, unified diffs, branch/commit management — [Learn more](features/git.md)
|
||||
- **Chat & Sessions** — Real-time SSE streaming, slash commands, `@file` mentions, Plan/Build modes, Mermaid diagrams — [Learn more](features/chat.md)
|
||||
- **Files** — Directory browser with tree view, syntax highlighting, create/rename/delete, ZIP download — [Learn more](features/files.md)
|
||||
- **Schedules** — Recurring repo jobs with reusable prompts, run history, linked sessions — [Learn more](features/schedules.md)
|
||||
- **AI Configuration** — Model/provider setup, OAuth for Anthropic/GitHub Copilot, custom agents — [Learn more](features/ai-config.md)
|
||||
- **MCP Servers** — Add local or remote MCP servers with OAuth support — [Learn more](features/mcp.md)
|
||||
- **Skills** — Skill support for extended agent capabilities — [Learn more](features/skills.md)
|
||||
- **Mobile & PWA** — Responsive UI, installable on any device, iOS-optimized — [Learn more](features/mobile.md)
|
||||
- **Push Notifications** — Background alerts for agent events — [Learn more](features/notifications.md)
|
||||
- **Audio** — Text-to-speech and speech-to-text (browser + OpenAI-compatible) — [Learn more](features/tts.md) | [Learn more](features/stt.md)
|
||||
|
||||
!!! tip "Memory Plugin — Persistent Project Knowledge"
|
||||
Store and retrieve project knowledge across sessions using vector embeddings and semantic search. Works as a standalone plugin with any OpenCode installation.
|
||||
## Project Layout
|
||||
|
||||
**[Learn more →](features/memory.md)** | **[GitHub →](https://github.com/chriswritescode-dev/opencode-memory)**
|
||||
- `backend/` — Bun + Hono API routes, services, database migrations, auth, schedules, and OpenCode integration.
|
||||
- `frontend/` — React + Vite app, pages, components, hooks, API clients, stores, contexts, and PWA assets.
|
||||
- `shared/` — Workspace package for schemas, types, config, and utilities.
|
||||
- `docs/` — MkDocs Material documentation.
|
||||
- `scripts/`, `Dockerfile`, `docker-compose.yml` — Setup, build, and deployment support.
|
||||
|
||||
## Next Steps
|
||||
|
||||
- [Installation Guide](getting-started/installation.md) - Detailed setup instructions
|
||||
- [Quick Start](getting-started/quickstart.md) - Get up and running fast
|
||||
- [Development Setup](development/setup.md) - Local environment, scripts, and testing
|
||||
- [Contributing](development/contributing.md) - How to contribute to OpenCode Manager
|
||||
- [Features Overview](features/overview.md) - Explore all features
|
||||
- [Schedules & Recurring Jobs](features/schedules.md) - Automate recurring repo reviews and follow-ups
|
||||
- [Memory Plugin](features/memory.md) - Persistent project knowledge with semantic search ([GitHub](https://github.com/chriswritescode-dev/opencode-memory))
|
||||
- [Configuration](configuration/environment.md) - Environment variables and setup
|
||||
Reference in new issue
Block a user