Files
opencode-manager/docs/features/overview.md
T
Chris Scott dacde879d6 feat(opencode): migrate OpenCode Manager to OpenCode 2 (#359)
* feat(opencode): migrate OpenCode Manager to OpenCode 2

Port the backend lifecycle, generated plugins, event aggregation,
schedules, worktrees, provider credentials, MCP, config handling, the
frontend chat model, and the ocm CLI to OpenCode 2.

Adopt @opencode/client 2.0.15 as the single typed V2 API contract,
require OpenCode 2.0.0 or newer (pinned 2.0.15), and delete every
V1-only code path.

* refactor(opencode): reload config in place and drop v1 compatibility shims

Route config/skill/AGENTS.md changes through the OpenCode location reload
API instead of a full server restart, stop auto-resuming interrupted
sessions, remove the restart coordinator and v1 MCP/version shims, and pin
support to OpenCode >=2.0.15 <3.0.0. Adds integration-ready retries,
service-mode launch, ocm-cli repo proxy, and new frontend form/MCP helpers.

* refactor(opencode): consolidate v2 migration helpers and harden install, proxy, and session flows

- extract shared semver and model-ref utilities, reuse across version checks
- share the OpenCode release download script across Docker, entrypoint, dev setup
- unify install/upgrade failure recovery and guard externally managed OPENCODE_BIN
- scope the repo proxy location rewrite and surface ocm proxy errors
- rework frontend session projection, permission lookup, and cache invalidation

* fix(schedules): reject unavailable agents before creating a session

* feat(opencode): add ocm install, schedule agent fallback, and session move guards
2026-09-26 13:16:45 -04:00

125 lines
4.9 KiB
Markdown

# Features Overview
OpenCode Manager provides a comprehensive web interface for managing OpenCode AI agents.
## Core Features
### Repository & Git
- **Multi-Repository Support** - Clone and manage multiple git repos with private repo support via GitHub PAT
- **SSH Authentication** - SSH key authentication for git repositories
- **Git Worktrees** - Work on multiple branches simultaneously
- **Source Control Panel** - View changes, commits, and branches in a unified interface
- **Diff Viewer** - Unified diffs with line numbers and change counts
[Learn more →](git.md)
### File Management
- **Directory Browser** - Navigate files with tree view and search
- **Syntax Highlighting** - Code preview with highlighting for 100+ languages
- **File Operations** - Create, rename, delete, and drag-and-drop upload
- **ZIP Download** - Download repos as ZIP (respects .gitignore)
[Learn more →](files.md)
### Chat & Sessions
- **Real-time Streaming** - Live message streaming with SSE
- **Slash Commands** - Built-in (`/help`, `/new`, `/compact`) and custom commands
- **File Mentions** - Reference files with `@filename` autocomplete
- **Plan/Build Modes** - Toggle between read-only and file-change modes
- **Per-Agent Model Selection** — Each agent retains its own model selection independently
- **Session Pinning** — Pin important sessions to a dedicated section at the top of the session list
- **Mermaid Diagrams** - Visual diagram rendering in chat
[Learn more →](chat.md)
### Schedules & Recurring Jobs
- **Recurring Repo Jobs** - Run reusable prompts against a repository on an interval or cron schedule
- **Prompt Templates** - Start with built-in reviews for repo health, dependencies, release readiness, docs drift, and more
- **Run History** - Inspect statuses, logs, errors, and assistant output from past runs
- **Session Handoff** - Open the linked OpenCode session for any run and continue from there
- **Manual Runs** - Trigger the same job on demand when you want a fresh report immediately
[Learn more →](schedules.md)
### AI Configuration
- **Model Selection** - Browse and filter available AI models
- **Provider Management** - Configure API keys or OAuth for providers
- **OAuth Support** - Secure OAuth login for Anthropic and GitHub Copilot
- **Custom Agents** - Create agents with custom system prompts and tool permissions
[Learn more →](ai-config.md)
### MCP Servers
- **Local Servers** - Add command-based MCP servers
- **Remote Servers** - Connect to HTTP-based MCP servers
- **Templates** - Pre-built configurations for common servers
- **Management** - Enable, disable, and configure servers
[Learn more →](mcp.md)
### Text-to-Speech
- **Browser TTS** - Built-in Web Speech API support
- **External TTS** - Connect to OpenAI-compatible endpoints
- **Audio Caching** - 24-hour cache with 200MB limit
- **Voice Controls** - Configurable voice and speed settings
[Learn more →](tts.md)
### Speech-to-Text
- **Browser STT** - Built-in Web Speech API support
- **External STT** - Connect to OpenAI-compatible Whisper endpoints
- **Voice Input** - Dictate messages with microphone button
[Learn more →](stt.md)
### Mobile & PWA
- **Mobile-First Design** - Responsive UI optimized for mobile
- **PWA Installable** - Add to home screen on any device
- **iOS Optimized** - Proper keyboard handling and swipe navigation
[Learn more →](mobile.md)
### Push Notifications
- **Background Alerts** - Receive notifications when the app is closed
- **Agent Events** - Get alerted for permissions, questions, errors, and completions
- **Multi-Device** - Subscribe multiple devices (phone, tablet, desktop)
- **Customizable** - Control which events trigger notifications
[Learn more →](notifications.md)
### Assistant Mode
- **Dedicated AI Workspace** — Isolated assistant directory with managed configuration and a built-in bearer-token API
- **Auto-Provisioned Skills** — Schedule management, notifications, settings, and repo listing skills available out of the box
- **Session Continuity** — Navigating to the assistant always resumes the most recent session or creates one automatically
[Learn more →](assistant-mode.md)
### OpenCode Server Health
- **Live Status** — Server health indicator in Settings (Healthy/Unhealthy/Starting)
- **Graceful Restart** — Interrupted sessions resume natively after restart
- **Auto-Recovery** — Configurable health monitoring with automatic recovery on failure
- **Version Management** — View current versions and trigger OpenCode 2 upgrades from the UI
[Learn more →](server-health.md)
### Manager Logs
- **In-App Log Viewer** — Manager and OpenCode server output in the Settings Logs tab, no shell access needed
- **Filtering** — Minimum severity, source, and case-insensitive text search
- **Live Controls** — Pause/resume, clear, copy, and automatic follow scrolling
- **Bounded Memory** — In-memory ring buffer with explicit dropped-entry notice
[Learn more →](logs.md)