docs: comprehensive documentation updates for v2 infrastructure changes

This commit is contained in:
Chris Scott committed 2026-02-06 23:59:58 -05:00
1 parent 67ace0ae89
commit a513712745
18 files changed
+226 -159

No files matched your search

+6 -24
View File
@@ -6,19 +6,9 @@ Configure AI models, providers, and custom agents.
Browse and select from available AI models:
1. Go to **Settings > Models**
2. Browse models by provider
3. Filter by capability (chat, code, vision)
4. Click a model to set as default
### Model Capabilities
| Capability | Description |
|------------|-------------|
| Chat | General conversation |
| Code | Code generation and analysis |
| Vision | Image understanding |
| Function Calling | Tool use support |
1. Click the **model selector** in the chat interface
2. Browse available models
3. Click a model to set it for the current session
### Changing Models Mid-Session
@@ -57,7 +47,7 @@ For providers that support OAuth (Anthropic, GitHub Copilot):
After adding credentials:
1. Go to **Settings > Models**
1. Open a chat session and click the model selector
2. Models from that provider should appear
3. Select a model and try sending a message
@@ -134,14 +124,6 @@ When context is running low:
3. Be more concise in prompts
4. Remove unnecessary file mentions
### Context Limits by Model
### Context Limits
Different models have different context limits:
| Model | Context Limit |
|-------|---------------|
| GPT-4 | 8K - 128K tokens |
| Claude 3 | 200K tokens |
| GPT-3.5 | 4K - 16K tokens |
Check your model's documentation for exact limits.
Different models have different context limits. Check your provider's documentation for exact limits per model.
-11
View File
@@ -29,10 +29,7 @@ Type `/` to see available commands:
|---------|-------------|
| `/help` | Show available commands |
| `/new` | Start a new session |
| `/models` | List available AI models |
| `/export` | Export session history |
| `/compact` | Compact session context |
| `/clear` | Clear current session |
### Custom Commands
@@ -53,14 +50,6 @@ template: |
Use with `/review` in chat.
#### Template Variables
| Variable | Description |
|----------|-------------|
| `{{selection}}` | Currently selected text |
| `{{file}}` | Current file path |
| `{{clipboard}}` | Clipboard contents |
## File Mentions
Reference files in your prompts with `@`:
+11 -15
View File
@@ -52,30 +52,26 @@ Syntax highlighting is provided for common languages including:
### Create File
1. Right-click in the file browser
2. Select **New File**
3. Enter filename with extension
4. File is created and opened for editing
1. Click the **New File** button in the file browser toolbar
2. Enter filename with extension
3. File is created and opened for editing
### Create Folder
1. Right-click in the file browser
2. Select **New Folder**
3. Enter folder name
4. Folder is created in current directory
1. Click the **New Folder** button in the file browser toolbar
2. Enter folder name
3. Folder is created in current directory
### Rename
1. Right-click a file or folder
2. Select **Rename**
3. Enter new name
4. Press Enter to confirm
1. Click the **rename** action on a file or folder
2. Enter new name
3. Press Enter to confirm
### Delete
1. Right-click a file or folder
2. Select **Delete**
3. Confirm deletion
1. Click the **delete** action on a file or folder
2. Confirm deletion
!!! warning
Deletion is permanent and cannot be undone through the UI. Use git to recover deleted files if needed.
-15
View File
@@ -82,21 +82,6 @@ View file changes with a unified diff format:
![Diff Viewer](../images/git/git-diffview.png)
## Pull Requests
Create and push PRs directly from the UI:
1. Make your changes and commit them
2. Open **Source Control > Branches**
3. Click **Create PR**
4. Fill in:
- Title
- Description
- Target branch (usually `main`)
5. Click **Create**
The PR is created on GitHub and you'll receive a link to view it.
## Repository Actions
### Pull
+8 -9
View File
@@ -46,15 +46,15 @@ The UI is optimized for mobile devices:
## PWA Features
### Offline Support
### App Shell Caching
Limited offline functionality:
Static assets are cached for faster loads:
- View cached sessions
- Browse cached files
- Queue messages for later
- App shell (HTML, CSS, JS)
- Icons and images
- Fonts and static assets
Full functionality requires network connection.
Full functionality requires network connection to the backend.
### Background Updates
@@ -112,9 +112,8 @@ Swipe from the left edge to go back:
### Swipe Requirements
- Start from the left edge (first 20px)
- Swipe at least 50px right
- Swipe quickly (within 300ms)
- Start from the left edge (first 30px)
- Swipe at least 80px right
## Touch Optimizations
+8 -1
View File
@@ -10,7 +10,6 @@ OpenCode Manager provides a comprehensive web interface for managing OpenCode AI
- **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
- **Push PRs** - Create and push pull requests directly from the UI
[Learn more →](git.md)
@@ -60,6 +59,14 @@ OpenCode Manager provides a comprehensive web interface for managing OpenCode AI
[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
+88
View File
@@ -0,0 +1,88 @@
# Speech-to-Text
Dictate messages to AI agents using voice input.
## Overview
OpenCode Manager supports two STT providers:
1. **Built-in Browser** - Uses your browser's Web Speech API
2. **External API** - OpenAI-compatible STT endpoints (Whisper)
## Built-in Browser STT
Uses your browser's built-in speech recognition via the Web Speech API.
### Advantages
- No API key required
- Works without server communication
- Free to use
- Interim results while speaking
### Limitations
- Voice recognition quality varies by browser/OS
- Not supported in all browsers
- Language support depends on browser
### Setup
1. Go to **Settings > Voice**
2. Under **Speech-to-Text**, select **Built-in Browser** provider
3. Optionally configure language
4. Click the microphone button in the chat input to test
## External API STT
Connect to OpenAI-compatible STT endpoints for higher accuracy transcription.
### Advantages
- Higher accuracy transcription
- Consistent across devices
- Supports many languages
### Limitations
- Requires API key and endpoint
- Requires network connection
- Server-side processing
### Setup
1. Go to **Settings > Voice**
2. Under **Speech-to-Text**, select **External API** provider
3. Enter the **STT Server URL**:
- OpenAI: `https://api.openai.com`
4. Enter your **API Key**
5. Wait for model discovery
6. Choose a model (e.g., `whisper-1`)
7. Optionally set language
### Compatible Services
Any OpenAI-compatible transcription API works:
- OpenAI Whisper
- Azure OpenAI
- Self-hosted Whisper servers
- Local STT servers with OpenAI-compatible API
## Using Voice Input
### Recording
1. Click the **microphone** button in the chat input
2. Speak your message
3. Click the **stop** button when finished
4. Your speech is transcribed into the input field
5. Review and send
### Recording Overlay
While recording, a visual overlay indicates active recording status.
### Aborting
Click the **cancel** button during recording to discard without transcribing.