opencode-model-router 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -4
- package/package.json +1 -1
- package/tiers.json +5 -6
package/README.md
CHANGED
|
@@ -16,7 +16,29 @@ The agent automatically delegates via the Task tool when it recognizes the task
|
|
|
16
16
|
|
|
17
17
|
## Installation
|
|
18
18
|
|
|
19
|
-
### Option A:
|
|
19
|
+
### Option A: npm package (recommended)
|
|
20
|
+
|
|
21
|
+
Add the plugin package in your `opencode.json`:
|
|
22
|
+
|
|
23
|
+
```json
|
|
24
|
+
{
|
|
25
|
+
"plugin": [
|
|
26
|
+
"opencode-model-router@1.0.0"
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
If you prefer always getting the latest release, use:
|
|
32
|
+
|
|
33
|
+
```json
|
|
34
|
+
{
|
|
35
|
+
"plugin": [
|
|
36
|
+
"opencode-model-router"
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Option B: Local plugin clone
|
|
20
42
|
|
|
21
43
|
Clone directly into your OpenCode plugins directory:
|
|
22
44
|
|
|
@@ -35,7 +57,7 @@ Then add it to your `opencode.json`:
|
|
|
35
57
|
}
|
|
36
58
|
```
|
|
37
59
|
|
|
38
|
-
### Option
|
|
60
|
+
### Option C: Reference from anywhere
|
|
39
61
|
|
|
40
62
|
Clone wherever you want:
|
|
41
63
|
|
|
@@ -74,8 +96,8 @@ The plugin ships with two presets:
|
|
|
74
96
|
| Tier | Model | Notes |
|
|
75
97
|
|------|-------|-------|
|
|
76
98
|
| fast | `openai/gpt-5.3-codex-spark` | Cheapest, fastest |
|
|
77
|
-
| medium | `openai/
|
|
78
|
-
| heavy | `openai/
|
|
99
|
+
| medium | `openai/gpt-5.3-codex` | Default settings (no variant/reasoning override) |
|
|
100
|
+
| heavy | `openai/gpt-5.3-codex` | Variant: `xhigh` |
|
|
79
101
|
|
|
80
102
|
Switch presets with the `/preset` command:
|
|
81
103
|
|
package/package.json
CHANGED
package/tiers.json
CHANGED
|
@@ -55,9 +55,8 @@
|
|
|
55
55
|
]
|
|
56
56
|
},
|
|
57
57
|
"medium": {
|
|
58
|
-
"model": "openai/
|
|
59
|
-
"
|
|
60
|
-
"description": "o3 medium reasoning for implementation and standard coding",
|
|
58
|
+
"model": "openai/gpt-5.3-codex",
|
|
59
|
+
"description": "GPT-5.3 Codex default settings for implementation and standard coding",
|
|
61
60
|
"steps": 50,
|
|
62
61
|
"prompt": "You are an implementation agent. Write clean, production-quality code matching existing project patterns. Run linters/tests after changes when possible.",
|
|
63
62
|
"whenToUse": [
|
|
@@ -68,9 +67,9 @@
|
|
|
68
67
|
]
|
|
69
68
|
},
|
|
70
69
|
"heavy": {
|
|
71
|
-
"model": "openai/
|
|
72
|
-
"
|
|
73
|
-
"description": "
|
|
70
|
+
"model": "openai/gpt-5.3-codex",
|
|
71
|
+
"variant": "xhigh",
|
|
72
|
+
"description": "GPT-5.3 Codex xhigh for architecture and complex tasks",
|
|
74
73
|
"steps": 30,
|
|
75
74
|
"prompt": "You are a senior architecture consultant. Analyze deeply, consider tradeoffs, and provide thorough reasoning.",
|
|
76
75
|
"whenToUse": [
|