zenox 1.0.2 → 1.0.4
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/LICENSE +21 -0
- package/README.md +86 -133
- package/dist/index.js +6 -6
- package/package.json +1 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Ayush
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,192 +1,145 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://res.cloudinary.com/dyetf2h9n/image/upload/v1768073623/ZENOX_e4boob.png" alt="Zenox" width="600" />
|
|
3
|
+
</p>
|
|
2
4
|
|
|
3
|
-
|
|
5
|
+
<h1 align="center">ZENOX</h1>
|
|
4
6
|
|
|
5
|
-
|
|
7
|
+
<p align="center">
|
|
8
|
+
<strong>Intelligent agent orchestration for OpenCode</strong>
|
|
9
|
+
</p>
|
|
6
10
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
- **CLI Installer**: Easy setup with model configuration via `bunx zenox install`
|
|
11
|
+
<p align="center">
|
|
12
|
+
<a href="https://www.npmjs.com/package/zenox"><img src="https://img.shields.io/npm/v/zenox.svg?style=flat-square" alt="npm version" /></a>
|
|
13
|
+
<!-- <a href="https://www.npmjs.com/package/zenox"><img src="https://img.shields.io/npm/dm/zenox.svg?style=flat-square" alt="npm downloads" /></a> -->
|
|
14
|
+
<a href="https://github.com/CYBERBOYAYUSH/zenox/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square" alt="license" /></a>
|
|
15
|
+
</p>
|
|
13
16
|
|
|
14
|
-
|
|
17
|
+
---
|
|
15
18
|
|
|
16
|
-
|
|
19
|
+
Zenox supercharges [OpenCode](https://opencode.ai) with specialized AI agents that handle different aspects of development. Instead of one agent doing everything, you get a team of experts — each optimized for their domain.
|
|
17
20
|
|
|
18
|
-
|
|
19
|
-
bunx zenox install
|
|
20
|
-
```
|
|
21
|
+
## Why Zenox?
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
- Create `opencode.json` if it doesn't exist
|
|
24
|
-
- Add zenox to your plugins array
|
|
25
|
-
- Let you configure custom models for each agent (optional)
|
|
26
|
-
- Detect models from your existing opencode.json config
|
|
23
|
+
Most AI coding assistants use a single model for everything. Zenox takes a different approach:
|
|
27
24
|
|
|
28
|
-
|
|
25
|
+
- **Explorer** finds code fast — optimized for codebase search with a lightweight model
|
|
26
|
+
- **Librarian** digs deep into docs — researches libraries, finds GitHub examples, citations included
|
|
27
|
+
- **Oracle** thinks strategically — architecture decisions, debugging, technical trade-offs
|
|
28
|
+
- **UI Planner** designs beautifully — CSS, animations, interfaces that don't look AI-generated
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
The main agent automatically delegates to specialists when needed. You don't have to manage them.
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
{
|
|
34
|
-
"plugins": ["zenox"]
|
|
35
|
-
}
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
> **Note**: Don't pin the version (e.g., `zenox@1.0.0`) if you want automatic updates.
|
|
39
|
-
|
|
40
|
-
Restart OpenCode and the plugin is ready to use.
|
|
41
|
-
|
|
42
|
-
## CLI Commands
|
|
32
|
+
## Quick Start
|
|
43
33
|
|
|
44
34
|
```bash
|
|
45
|
-
# Interactive install with model configuration
|
|
46
35
|
bunx zenox install
|
|
47
|
-
|
|
48
|
-
# Non-interactive mode (uses default models)
|
|
49
|
-
bunx zenox install --no-tui
|
|
50
|
-
|
|
51
|
-
# Reconfigure agent models later
|
|
52
|
-
bunx zenox config
|
|
53
|
-
bunx zenox models # alias
|
|
54
|
-
|
|
55
|
-
# Specify config path
|
|
56
|
-
bunx zenox install --config ./path/to/opencode.json
|
|
57
|
-
|
|
58
|
-
# Help
|
|
59
|
-
bunx zenox --help
|
|
60
36
|
```
|
|
61
37
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
During installation, you can choose to customize models for each agent:
|
|
65
|
-
|
|
66
|
-
1. **Use recommended defaults** - No config file needed
|
|
67
|
-
2. **Customize models** - Pick from:
|
|
68
|
-
- Recommended default model
|
|
69
|
-
- Models defined in your opencode.json
|
|
70
|
-
- Enter a custom model name (see [models.dev](https://models.dev))
|
|
71
|
-
|
|
72
|
-
Custom models are saved to `~/.config/opencode/zenox.json`.
|
|
38
|
+
That's it. Restart OpenCode and the agents are ready.
|
|
73
39
|
|
|
74
40
|
## Agents
|
|
75
41
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
**Default Model**: `anthropic/claude-haiku-4-5`
|
|
42
|
+
| Agent | What it does | Default Model |
|
|
43
|
+
|-------|-------------|---------------|
|
|
44
|
+
| **Explorer** | Codebase search, file discovery, pattern matching | `claude-haiku-4-5` |
|
|
45
|
+
| **Librarian** | Library research, docs lookup, GitHub examples | `claude-sonnet-4-5` |
|
|
46
|
+
| **Oracle** | Architecture decisions, debugging strategy, code review | `gpt-5.2` |
|
|
47
|
+
| **UI Planner** | Frontend design, CSS, animations, visual polish | `gemini-3-pro-high` |
|
|
83
48
|
|
|
84
|
-
###
|
|
85
|
-
Open-source research agent.
|
|
86
|
-
- "How does library X work?"
|
|
87
|
-
- "Show me implementation examples"
|
|
88
|
-
- Finding official documentation
|
|
49
|
+
### How delegation works
|
|
89
50
|
|
|
90
|
-
|
|
51
|
+
You don't need to call agents directly. The main agent (Build/Plan) automatically delegates:
|
|
91
52
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
- Code review and debugging strategy
|
|
96
|
-
- Technical trade-offs analysis
|
|
53
|
+
```
|
|
54
|
+
You: "Where's the authentication logic?"
|
|
55
|
+
→ Explorer searches the codebase
|
|
97
56
|
|
|
98
|
-
|
|
57
|
+
You: "How does React Query handle caching?"
|
|
58
|
+
→ Librarian fetches official docs + real examples
|
|
99
59
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
- Beautiful UI/UX implementation
|
|
103
|
-
- Frontend aesthetics and animations
|
|
104
|
-
- Visual design without mockups
|
|
60
|
+
You: "Should I use Redux or Zustand here?"
|
|
61
|
+
→ Oracle analyzes trade-offs for your codebase
|
|
105
62
|
|
|
106
|
-
|
|
63
|
+
You: "Make this dashboard look better"
|
|
64
|
+
→ UI Planner redesigns with proper aesthetics
|
|
65
|
+
```
|
|
107
66
|
|
|
108
67
|
## Background Tasks
|
|
109
68
|
|
|
110
|
-
|
|
69
|
+
Need comprehensive research? Fire multiple agents in parallel:
|
|
111
70
|
|
|
112
71
|
```
|
|
113
|
-
// Launch parallel research (all run simultaneously)
|
|
114
72
|
background_task(agent="explorer", description="Find auth code", prompt="...")
|
|
115
|
-
background_task(agent="
|
|
116
|
-
background_task(agent="librarian", description="Best practices", prompt="...")
|
|
73
|
+
background_task(agent="librarian", description="JWT best practices", prompt="...")
|
|
117
74
|
|
|
118
|
-
//
|
|
119
|
-
//
|
|
120
|
-
|
|
121
|
-
// Retrieve results
|
|
122
|
-
background_output(task_id="bg_abc123")
|
|
75
|
+
// Both run simultaneously while you keep working
|
|
76
|
+
// You're notified when all tasks complete
|
|
123
77
|
```
|
|
124
78
|
|
|
125
|
-
### When to Use
|
|
126
|
-
|
|
127
|
-
| Scenario | Use Background Tasks |
|
|
128
|
-
|----------|---------------------|
|
|
129
|
-
| Comprehensive exploration | YES - fire 3-4 agents in parallel |
|
|
130
|
-
| Codebase + external docs | YES - explore + librarian in parallel |
|
|
131
|
-
| Result A needed before B | NO - use sequential Task |
|
|
132
|
-
|
|
133
|
-
## Auto-Update
|
|
134
|
-
|
|
135
|
-
Zenox automatically checks for updates on startup:
|
|
136
|
-
|
|
137
|
-
1. **Startup Toast**: Shows current version when plugin loads
|
|
138
|
-
2. **Update Check**: Queries npm registry for latest version
|
|
139
|
-
3. **Cache Invalidation**: If update available, clears Bun cache
|
|
140
|
-
4. **Update Toast**: Notifies you to restart OpenCode
|
|
141
|
-
|
|
142
|
-
To disable auto-updates, pin your version: `"zenox@1.0.0"`
|
|
143
|
-
|
|
144
79
|
## Configuration
|
|
145
80
|
|
|
146
|
-
###
|
|
81
|
+
### Custom Models
|
|
82
|
+
|
|
83
|
+
During installation, choose "Customize models" to pick your own. Or run later:
|
|
147
84
|
|
|
148
85
|
```bash
|
|
149
86
|
bunx zenox config
|
|
150
87
|
```
|
|
151
88
|
|
|
152
|
-
|
|
89
|
+
Config saves to `~/.config/opencode/zenox.json`:
|
|
153
90
|
|
|
154
|
-
|
|
91
|
+
```json
|
|
92
|
+
{
|
|
93
|
+
"agents": {
|
|
94
|
+
"explorer": { "model": "anthropic/claude-sonnet-4.5" },
|
|
95
|
+
"oracle": { "model": "openai/gpt-5.2" }
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
```
|
|
155
99
|
|
|
156
|
-
|
|
100
|
+
### Disable Agents or MCPs
|
|
157
101
|
|
|
158
102
|
```json
|
|
159
103
|
{
|
|
160
|
-
"
|
|
161
|
-
|
|
162
|
-
"oracle": { "model": "openai/gpt-4o" }
|
|
163
|
-
},
|
|
164
|
-
"disabled_agents": [],
|
|
165
|
-
"disabled_mcps": []
|
|
104
|
+
"disabled_agents": ["ui-planner"],
|
|
105
|
+
"disabled_mcps": ["grep_app"]
|
|
166
106
|
}
|
|
167
107
|
```
|
|
168
108
|
|
|
169
|
-
##
|
|
109
|
+
## Included MCP Servers
|
|
110
|
+
|
|
111
|
+
Zenox auto-loads these tools for agents to use:
|
|
170
112
|
|
|
171
|
-
|
|
|
172
|
-
|
|
173
|
-
|
|
|
174
|
-
|
|
|
175
|
-
|
|
|
113
|
+
| Server | Purpose |
|
|
114
|
+
|--------|---------|
|
|
115
|
+
| **exa** | Web search, docs lookup, URL crawling |
|
|
116
|
+
| **grep_app** | Search millions of GitHub repos instantly |
|
|
117
|
+
| **sequential-thinking** | Step-by-step reasoning for complex problems |
|
|
176
118
|
|
|
177
|
-
##
|
|
119
|
+
## CLI
|
|
178
120
|
|
|
179
121
|
```bash
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
122
|
+
bunx zenox install # Add to opencode.json + configure models
|
|
123
|
+
bunx zenox install --no-tui # Non-interactive (uses defaults)
|
|
124
|
+
bunx zenox config # Reconfigure models anytime
|
|
125
|
+
bunx zenox --help # Show all commands
|
|
183
126
|
```
|
|
184
127
|
|
|
128
|
+
## Auto-Update
|
|
129
|
+
|
|
130
|
+
Zenox checks for updates on startup. When a new version drops:
|
|
131
|
+
|
|
132
|
+
1. You see a toast notification
|
|
133
|
+
2. Bun cache is invalidated
|
|
134
|
+
3. Restart to get the update
|
|
135
|
+
|
|
136
|
+
Pin a version to disable: `"zenox@1.0.3"` in your plugins array.
|
|
137
|
+
|
|
185
138
|
## Credits
|
|
186
139
|
|
|
187
|
-
-
|
|
188
|
-
-
|
|
140
|
+
- [OpenCode](https://opencode.ai) — The CLI this extends
|
|
141
|
+
- [oh-my-opencode](https://github.com/code-yeongyu/oh-my-opencode) — Inspiration for orchestration patterns
|
|
189
142
|
|
|
190
143
|
## License
|
|
191
144
|
|
|
192
|
-
MIT
|
|
145
|
+
[MIT](LICENSE)
|
package/dist/index.js
CHANGED
|
@@ -17460,9 +17460,9 @@ function createAutoUpdateHook(ctx, options = {}) {
|
|
|
17460
17460
|
await invalidatePackageCache();
|
|
17461
17461
|
await ctx.client.tui.showToast({
|
|
17462
17462
|
body: {
|
|
17463
|
-
title:
|
|
17464
|
-
message: `
|
|
17465
|
-
variant: "
|
|
17463
|
+
title: `\uD83C\uDD95 ${PACKAGE_NAME} v${updateInfo.latestVersion}`,
|
|
17464
|
+
message: `Fresh update dropped! Restart to level up.`,
|
|
17465
|
+
variant: "success",
|
|
17466
17466
|
duration: TOAST_DURATION
|
|
17467
17467
|
}
|
|
17468
17468
|
}).catch(() => {});
|
|
@@ -17473,9 +17473,9 @@ function createAutoUpdateHook(ctx, options = {}) {
|
|
|
17473
17473
|
async function showVersionToast(ctx, version2) {
|
|
17474
17474
|
await ctx.client.tui.showToast({
|
|
17475
17475
|
body: {
|
|
17476
|
-
title:
|
|
17477
|
-
message: "
|
|
17478
|
-
variant: "
|
|
17476
|
+
title: `\u26A1 ${PACKAGE_NAME} v${version2}`,
|
|
17477
|
+
message: "Agents assembled. Let's build!",
|
|
17478
|
+
variant: "success",
|
|
17479
17479
|
duration: TOAST_DURATION
|
|
17480
17480
|
}
|
|
17481
17481
|
}).catch(() => {});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zenox",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "OpenCode plugin with specialized agents (explorer, librarian, oracle, ui-planner), background tasks for parallel execution, and smart orchestration",
|
|
5
5
|
"author": "Ayush",
|
|
6
6
|
"license": "MIT",
|