mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
docs: relocate ocm CLI guide, update references, remove test.getfit.us config
This commit is contained in:
1 parent
36b8f1453f
commit
f1d2d39318
18 files changed
+50
-96
No files matched your search
@@ -40,13 +40,13 @@ To browse all available models:
|
||||
|
||||
You can switch models at any point during a session without losing context. The new model is used for all subsequent messages.
|
||||
|
||||
## Provider Credentials
|
||||
## Providers
|
||||
|
||||
Configure API keys or OAuth for AI providers.
|
||||
|
||||
### API Key Method
|
||||
|
||||
1. Go to **Settings > Provider Credentials**
|
||||
1. Go to **Settings > Providers**
|
||||
2. Select a provider (OpenAI, Anthropic, etc.)
|
||||
3. Enter your API key
|
||||
4. Click **Save**
|
||||
@@ -55,7 +55,7 @@ Configure API keys or OAuth for AI providers.
|
||||
|
||||
For providers that support OAuth (Anthropic, GitHub Copilot):
|
||||
|
||||
1. Go to **Settings > Provider Credentials**
|
||||
1. Go to **Settings > Providers**
|
||||
2. Select a provider with the OAuth badge
|
||||
3. Click **Add OAuth**
|
||||
4. Choose authorization method:
|
||||
|
||||
@@ -27,13 +27,13 @@ OpenCode Manager scans that folder for nested git repositories and links each on
|
||||
|
||||
For private repositories, configure a GitHub Personal Access Token:
|
||||
|
||||
1. Go to **Settings > Credentials**
|
||||
1. Go to **Settings > Git > Credentials**
|
||||
2. Enter your GitHub PAT
|
||||
3. Ensure the token has `repo` scope
|
||||
|
||||
### SSH Repositories
|
||||
|
||||
SSH key authentication added for git repositories. Configure SSH keys in Settings > Credentials.
|
||||
SSH key authentication added for git repositories. Configure SSH keys in Settings > Git > Credentials.
|
||||
|
||||
## Git Worktrees
|
||||
|
||||
|
||||
+11
-43
@@ -131,15 +131,6 @@ Toggle servers on/off:
|
||||
|
||||
Disabled servers won't be started or connected.
|
||||
|
||||
### Edit Configuration
|
||||
|
||||
Modify server settings:
|
||||
|
||||
1. Click the **Edit** button on a server
|
||||
2. Update configuration
|
||||
3. Click **Save**
|
||||
4. Server will restart with new settings
|
||||
|
||||
### Delete Server
|
||||
|
||||
Remove a server:
|
||||
@@ -147,14 +138,9 @@ Remove a server:
|
||||
1. Click the **Delete** button
|
||||
2. Confirm deletion
|
||||
|
||||
### Restart Server
|
||||
### Refresh Status
|
||||
|
||||
Force restart a server:
|
||||
|
||||
1. Click the **Restart** button
|
||||
2. Server process is stopped and restarted
|
||||
|
||||
Useful after configuration changes or if a server becomes unresponsive.
|
||||
Use the refresh button in **Settings > MCP Servers** to reload the current connection status after changing a server outside the UI or completing OAuth.
|
||||
|
||||
## Server Status
|
||||
|
||||
@@ -162,33 +148,15 @@ Monitor server health:
|
||||
|
||||
| Status | Description |
|
||||
|--------|-------------|
|
||||
| Running | Server is active and connected |
|
||||
| Starting | Server is launching |
|
||||
| Stopped | Server is disabled |
|
||||
| Error | Server failed to start |
|
||||
|
||||
Click on a server to see detailed status and logs.
|
||||
| Connected | Server is active and connected |
|
||||
| Disabled | Server is configured but disabled |
|
||||
| Auth Required | Remote server needs OAuth authentication |
|
||||
| Registration Required | Remote server needs OAuth client registration |
|
||||
| Failed | Server failed to start or connect |
|
||||
|
||||
## Tool Permissions
|
||||
|
||||
Control which tools AI can access:
|
||||
|
||||
### Global Settings
|
||||
|
||||
In **Settings > MCP Servers**:
|
||||
|
||||
- **Allow All Tools** - AI can use any tool
|
||||
- **Require Confirmation** - Ask before using tools
|
||||
- **Deny by Default** - Block tools unless allowed
|
||||
|
||||
### Per-Agent Settings
|
||||
|
||||
Configure tool access for custom agents:
|
||||
|
||||
1. Go to **Settings > Agents**
|
||||
2. Edit an agent
|
||||
3. Set **Allowed Tools**
|
||||
4. Save changes
|
||||
The MCP server manager adds, toggles, authenticates, and deletes server configurations. Tool access is controlled by the active OpenCode configuration and any custom agent configuration, not by a separate global MCP permission mode in this screen.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
@@ -196,14 +164,14 @@ Configure tool access for custom agents:
|
||||
|
||||
1. Check the command is installed: `npx -y @modelcontextprotocol/server-<name>`
|
||||
2. Verify environment variables are set
|
||||
3. Check server logs for errors
|
||||
3. Check the displayed status error
|
||||
4. Try running the command manually
|
||||
|
||||
### Tools Not Appearing
|
||||
|
||||
1. Verify server status is "Running"
|
||||
1. Verify server status is "Connected"
|
||||
2. Check server provides the expected tools
|
||||
3. Restart the server
|
||||
3. Refresh server status
|
||||
4. Check AI model supports tool use
|
||||
|
||||
### Connection Issues
|
||||
|
||||
@@ -50,7 +50,7 @@ Apple's Push Notification Service (APNs) has strict requirements:
|
||||
Generate VAPID public/private key pair:
|
||||
|
||||
```bash
|
||||
npx web-push generate-vapid-keys
|
||||
pnpm dlx web-push generate-vapid-keys
|
||||
```
|
||||
|
||||
Output:
|
||||
@@ -113,4 +113,3 @@ Control which events trigger notifications:
|
||||
- **Question Asked** - Get notified when agent has a question (default: on)
|
||||
- **Session Error** - Get notified on session errors (default: on)
|
||||
- **Session Complete** - Get notified when session finishes (default: off)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# OpenCode Workspaces (Repo Targets)
|
||||
|
||||
> This page has been relocated to [opencode-manager-workspaces.md](../opencode-manager-workspaces.md) per Phase 6 requirements.
|
||||
> This page has been relocated to the [`ocm` CLI guide](../ocm-cli.md).
|
||||
|
||||
See the full documentation at [docs/opencode-manager-workspaces.md](../opencode-manager-workspaces.md).
|
||||
See the full documentation at [docs/ocm-cli.md](../ocm-cli.md).
|
||||
+3
-16
@@ -17,11 +17,6 @@ Each skill is a `SKILL.md` file with YAML frontmatter and a markdown body:
|
||||
---
|
||||
name: my-skill
|
||||
description: Short description of what this skill does
|
||||
license: MIT
|
||||
compatibility: opencode >= 1.0
|
||||
metadata:
|
||||
author: your-name
|
||||
version: 1.0.0
|
||||
---
|
||||
Your skill instructions go here. This is the content that gets
|
||||
injected into the AI agent's context when the skill is loaded.
|
||||
@@ -33,9 +28,6 @@ injected into the AI agent's context when the skill is loaded.
|
||||
|-------|----------|-------------|
|
||||
| `name` | Yes | Lowercase alphanumeric with hyphens (e.g., `my-skill`). Max 64 characters. |
|
||||
| `description` | Yes | What the skill does. Max 1024 characters. |
|
||||
| `license` | No | License identifier (e.g., `MIT`) |
|
||||
| `compatibility` | No | Version compatibility note |
|
||||
| `metadata` | No | Key-value pairs for additional context |
|
||||
|
||||
### Naming Rules
|
||||
|
||||
@@ -69,11 +61,7 @@ All endpoints are under `/api/settings/skills`.
|
||||
"name": "my-skill",
|
||||
"description": "Runs type check and lint",
|
||||
"body": "Instructions for the AI agent...",
|
||||
"scope": "global",
|
||||
"license": "MIT",
|
||||
"compatibility": "opencode >= 1.0",
|
||||
"metadata": { "author": "your-name" },
|
||||
"repoId": 1
|
||||
"scope": "global"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -81,12 +69,11 @@ All endpoints are under `/api/settings/skills`.
|
||||
|
||||
### Update Request
|
||||
|
||||
All fields are optional. Set a field to `null` to clear it.
|
||||
All fields are optional. Omit fields you do not want to change.
|
||||
|
||||
```json
|
||||
{
|
||||
"description": "Updated description",
|
||||
"body": "Updated instructions",
|
||||
"license": null
|
||||
"body": "Updated instructions"
|
||||
}
|
||||
```
|
||||
@@ -34,7 +34,7 @@ Works in modern browsers:
|
||||
|
||||
### Setup
|
||||
|
||||
1. Go to **Settings > TTS**
|
||||
1. Go to **Settings > Voice**
|
||||
2. Enable **TTS**
|
||||
3. Select **Built-in Browser** provider
|
||||
4. Choose a voice from available browser voices
|
||||
@@ -74,7 +74,7 @@ Connect to OpenAI-compatible TTS endpoints for higher quality voices.
|
||||
|
||||
### Setup
|
||||
|
||||
1. Go to **Settings > TTS**
|
||||
1. Go to **Settings > Voice**
|
||||
2. Enable **TTS**
|
||||
3. Select **External API** provider
|
||||
4. Enter the **TTS Server URL**:
|
||||
|
||||
Reference in new issue
Block a user