|
@@ -281,6 +281,8 @@ Code implementation, refactoring, testing, verification. *Execute the plan - no
|
|
|
|
|
|
|
|
### Tmux Integration
|
|
### Tmux Integration
|
|
|
|
|
|
|
|
|
|
+> ⚠️ **Temporary workaround:** Start OpenCode with `--port 4096` to enable tmux integration. This is required until the upstream issue is resolved.
|
|
|
|
|
+
|
|
|
> ⚠️ **Known Issue:** When the server port is enabled, only one OpenCode instance can be opened at a time. We're tracking this in [issue #15](https://github.com/alvinunreal/oh-my-opencode-slim/issues/15), and there's an upstream PR to OpenCode: [opencode#9099](https://github.com/anomalyco/opencode/issues/9099).
|
|
> ⚠️ **Known Issue:** When the server port is enabled, only one OpenCode instance can be opened at a time. We're tracking this in [issue #15](https://github.com/alvinunreal/oh-my-opencode-slim/issues/15), and there's an upstream PR to OpenCode: [opencode#9099](https://github.com/anomalyco/opencode/issues/9099).
|
|
|
|
|
|
|
|
<img src="img/tmux.png" alt="Tmux Integration" width="800">
|
|
<img src="img/tmux.png" alt="Tmux Integration" width="800">
|
|
@@ -305,8 +307,6 @@ Code implementation, refactoring, testing, verification. *Execute the plan - no
|
|
|
|
|
|
|
|
#### Quick Setup
|
|
#### Quick Setup
|
|
|
|
|
|
|
|
-> ⚠️ **Temporary workaround:** Start OpenCode with `--port 4096` to enable tmux integration. This is required until the upstream issue is resolved.
|
|
|
|
|
-
|
|
|
|
|
1. **Enable tmux integration** in `oh-my-opencode-slim.json` (see [Plugin Config](#plugin-config-oh-my-opencode-slimjson)).
|
|
1. **Enable tmux integration** in `oh-my-opencode-slim.json` (see [Plugin Config](#plugin-config-oh-my-opencode-slimjson)).
|
|
|
2. **Run OpenCode inside tmux with port 4096**:
|
|
2. **Run OpenCode inside tmux with port 4096**:
|
|
|
```bash
|
|
```bash
|
|
@@ -363,6 +363,8 @@ Language Server Protocol integration for code intelligence:
|
|
|
| `lsp_diagnostics` | Get errors/warnings from the language server |
|
|
| `lsp_diagnostics` | Get errors/warnings from the language server |
|
|
|
| `lsp_rename` | Rename a symbol across all files |
|
|
| `lsp_rename` | Rename a symbol across all files |
|
|
|
|
|
|
|
|
|
|
+> **Built-in LSP Servers:** OpenCode includes pre-configured LSP servers for 30+ languages (TypeScript, Python, Rust, Go, etc.). See the [official documentation](https://opencode.ai/docs/lsp/#built-in) for the full list and requirements.
|
|
|
|
|
+
|
|
|
---
|
|
---
|
|
|
|
|
|
|
|
### Code Search Tools
|
|
### Code Search Tools
|
|
@@ -377,6 +379,14 @@ Fast code search and refactoring:
|
|
|
|
|
|
|
|
---
|
|
---
|
|
|
|
|
|
|
|
|
|
+### Formatters
|
|
|
|
|
+
|
|
|
|
|
+OpenCode automatically formats files after they're written or edited using language-specific formatters.
|
|
|
|
|
+
|
|
|
|
|
+> **Built-in Formatters:** Includes support for Prettier, Biome, gofmt, rustfmt, ruff, and 20+ others. See the [official documentation](https://opencode.ai/docs/formatters/#built-in) for the complete list.
|
|
|
|
|
+
|
|
|
|
|
+---
|
|
|
|
|
+
|
|
|
## 🧩 Skills
|
|
## 🧩 Skills
|
|
|
|
|
|
|
|
Skills are specialized capabilities that agents can use. Each agent has a default set of skills, which you can override in the agent config.
|
|
Skills are specialized capabilities that agents can use. Each agent has a default set of skills, which you can override in the agent config.
|
|
@@ -526,6 +536,23 @@ The installer generates presets for different provider combinations. Switch betw
|
|
|
| `zen-free` | Free models (GLM-4.7 + Grok Code) |
|
|
| `zen-free` | Free models (GLM-4.7 + Grok Code) |
|
|
|
| `antigravity-openai` | Mixed: Antigravity for most agents, OpenAI for Oracle |
|
|
| `antigravity-openai` | Mixed: Antigravity for most agents, OpenAI for Oracle |
|
|
|
|
|
|
|
|
|
|
+#### Author's Preset
|
|
|
|
|
+
|
|
|
|
|
+The author's personal configuration using Cerebras for the Orchestrator:
|
|
|
|
|
+
|
|
|
|
|
+```json
|
|
|
|
|
+{
|
|
|
|
|
+ "cerebras": {
|
|
|
|
|
+ "orchestrator": { "model": "cerebras/zai-glm-4.7", "skills": ["*"] },
|
|
|
|
|
+ "oracle": { "model": "openai/gpt-5.2-codex", "variant": "high", "skills": [] },
|
|
|
|
|
+ "librarian": { "model": "google/gemini-3-flash", "variant": "low", "skills": [] },
|
|
|
|
|
+ "explorer": { "model": "google/gemini-3-flash", "variant": "low", "skills": [] },
|
|
|
|
|
+ "designer": { "model": "google/gemini-3-flash", "variant": "medium", "skills": ["playwright"] },
|
|
|
|
|
+ "fixer": { "model": "google/gemini-3-flash", "variant": "low", "skills": [] }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+```
|
|
|
|
|
+
|
|
|
**Environment Variable Override:**
|
|
**Environment Variable Override:**
|
|
|
|
|
|
|
|
You can override the preset using an environment variable:
|
|
You can override the preset using an environment variable:
|