mirror of
https://github.com/bendtherules/opencode-multi-model.git
synced 2026-08-18 21:52:11 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
49da7c4219 | ||
|
|
41757e712f |
@@ -13,7 +13,7 @@ Add to your OpenCode config (`opencode.json`):
|
||||
|
||||
```json
|
||||
{
|
||||
"plugin": ["@bendtherules/opencode-multi-model"]
|
||||
"plugin": ["opencode-multi-model"]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -21,10 +21,10 @@ Add to your OpenCode config (`opencode.json`):
|
||||
|
||||
```bash
|
||||
# Using bunx (no install)
|
||||
bunx @bendtherules/opencode-multi-model open my-session -m openai/gpt-5.2 anthropic/claude-3-5-sonnet
|
||||
bunx opencode-multi-model open my-session -m openai/gpt-5.2 anthropic/claude-3-5-sonnet
|
||||
|
||||
# Or install globally
|
||||
bun install -g @bendtherules/opencode-multi-model
|
||||
bun install -g opencode-multi-model
|
||||
opencode-multi-model open my-session -m openai/gpt-5.2
|
||||
```
|
||||
|
||||
@@ -34,7 +34,7 @@ If you installed it via bun and want to use it as a project tool, import it from
|
||||
|
||||
```typescript
|
||||
// .opencode/tools/multi-model.ts
|
||||
import { openTool as open, closeTool as close } from "@bendtherules/opencode-multi-model"
|
||||
import { openTool as open, closeTool as close } from "opencode-multi-model"
|
||||
export { open, close }
|
||||
```
|
||||
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@bendtherules/opencode-multi-model",
|
||||
"version": "0.0.2",
|
||||
"name": "opencode-multi-model",
|
||||
"version": "0.0.3",
|
||||
"description": "Launch multiple AI models in tmux sessions - OpenCode Plugin, CLI, and Project Tool",
|
||||
"type": "module",
|
||||
"main": "./dist/index.js",
|
||||
|
||||
Reference in New Issue
Block a user