mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
feat: integrated terminal, project actions and dev server preview (OM-17, OM-18, OM-19) Integration with #380 and #379: - Adopt the git-config identity model: drop the branch's identity stubs (getShellEnv, getAssignedGitIdentityEnv, repo identity ids, duplicate createGitService and getMainCheckoutPath); terminals receive only the GitHub token env and take their commit identity from git config. - Add RepoWorkspaceService as the single owner of OpenCode workspace side effects: worktree setup commands on create and terminal cleanup on remove, used by the workspace routes, the session launcher (ocm tool and multi-run) and multi-run discard, with one worktree-sibling matcher. - Run repo-delete terminal cleanup inside the worktree branch deletion flow. - Combine the CreateWorktreeDialog tests and update docs for the identity model and setup command coverage.
148 lines
6.7 KiB
Markdown
148 lines
6.7 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, integrate a worktree branch into another branch, and delete worktrees with optional local and remote branch cleanup
|
|
- **Source Control Panel** - View changes, commits, branches, and stashes in a unified interface
|
|
- **Diff Viewer** - Unified diffs with line numbers and change counts
|
|
- **Conflict Resolution** - Continue or abort merge, rebase, and cherry-pick operations, or hand conflicts to an agent session
|
|
- **AI Commit Messages** - Generate commit messages from staged changes using OpenCode's default model
|
|
- **Per-Repository Identities** - A default git identity plus saved presets, written to each repository's git config (shared by its worktrees) for Manager commits and agent shells
|
|
|
|
[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)
|
|
|
|
### Terminal & Dev Loop
|
|
|
|
- **Terminal** — Interactive PTY terminals scoped to a repo or workspace directory, with tabs and reconnect after reload
|
|
- **Project Actions** — Run and stop repo commands from the header menu, with shared `.ocm/project.json` actions and worktree setup commands
|
|
- **Preview** — View a running dev server through an authenticated, same-origin-safe preview gateway with HMR support
|
|
|
|
[Terminal →](terminal.md) · [Project Actions →](project-actions.md) · [Preview →](preview.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
|
|
- **Permission Modes** — Ask every time or Accept everything, per session, with a default for new sessions
|
|
- **Session Goals** — Keep a session working toward an objective until an auditor model says it is done or blocked
|
|
- **Multi-run** — Run one prompt across up to five models at once, optionally each in its own workspace
|
|
- **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)
|
|
|
|
### Appearance & Themes
|
|
|
|
- **Appearance** - Switch between light, dark, or system to match your device
|
|
- **Theme** - Choose the Manager palette or one of 36 bundled OpenCode color themes
|
|
- **Server-Stored** - Appearance preferences are saved on the Manager server, not only in your browser
|
|
|
|
Both pickers live under **Settings → General**.
|
|
|
|
### 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, repo listing, and session management skills available out of the box
|
|
- **Session Management** — List, create, follow up, read the reply of, and fork sessions through the `ocm` tool
|
|
- **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)
|