micode 0.3.3 → 0.3.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/INSTALL_CLAUDE.md +10 -10
- package/README.md +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/INSTALL_CLAUDE.md
CHANGED
|
@@ -4,7 +4,7 @@ This document guides AI assistants through the micode plugin installation proces
|
|
|
4
4
|
|
|
5
5
|
## Step 0: Ask User About Setup
|
|
6
6
|
|
|
7
|
-
micode uses Claude Opus 4.5 for its primary agents (
|
|
7
|
+
micode uses Claude Opus 4.5 for its primary agents (commander, brainstormer, project-initializer). Ask the user:
|
|
8
8
|
|
|
9
9
|
### Question 1: Claude Subscription
|
|
10
10
|
|
|
@@ -22,8 +22,8 @@ micode uses Claude Opus 4.5 for its primary agents (Commander, Brainstormer, pro
|
|
|
22
22
|
```json
|
|
23
23
|
{
|
|
24
24
|
"agents": {
|
|
25
|
-
"
|
|
26
|
-
"
|
|
25
|
+
"commander": { "model": "opencode/big-pickle" },
|
|
26
|
+
"brainstormer": { "model": "opencode/big-pickle" },
|
|
27
27
|
"project-initializer": { "model": "opencode/big-pickle" }
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -98,7 +98,7 @@ opencode auth login
|
|
|
98
98
|
## Step 5: Verify Everything Works
|
|
99
99
|
|
|
100
100
|
1. Run `opencode` in terminal
|
|
101
|
-
2. Check that
|
|
101
|
+
2. Check that commander agent is available
|
|
102
102
|
3. Try `/init` command to test project-initializer
|
|
103
103
|
|
|
104
104
|
## Step 6: Congratulate User
|
|
@@ -108,8 +108,8 @@ Say to user:
|
|
|
108
108
|
> Congratulations! 🎉 You have successfully set up micode!
|
|
109
109
|
>
|
|
110
110
|
> **What you can do now:**
|
|
111
|
-
> - Use **
|
|
112
|
-
> - Use **
|
|
111
|
+
> - Use **commander** as your main orchestrator
|
|
112
|
+
> - Use **brainstormer** for design exploration
|
|
113
113
|
> - Run `/init` to generate ARCHITECTURE.md and CODE_STYLE.md
|
|
114
114
|
>
|
|
115
115
|
> **Workflow:** Brainstorm → Research → Plan → Implement → Review
|
|
@@ -137,8 +137,8 @@ Never run this automatically without consent.
|
|
|
137
137
|
|
|
138
138
|
| Agent | Model | Purpose |
|
|
139
139
|
|-------|-------|---------|
|
|
140
|
-
|
|
|
141
|
-
|
|
|
140
|
+
| commander | claude-opus-4-5 | Main orchestrator |
|
|
141
|
+
| brainstormer | claude-opus-4-5 | Design exploration |
|
|
142
142
|
| project-initializer | claude-opus-4-5 | Generate docs |
|
|
143
143
|
| codebase-locator | - | Find files |
|
|
144
144
|
| codebase-analyzer | - | Analyze code |
|
|
@@ -168,8 +168,8 @@ To use different models, create `~/.config/opencode/micode.json`:
|
|
|
168
168
|
```json
|
|
169
169
|
{
|
|
170
170
|
"agents": {
|
|
171
|
-
"
|
|
172
|
-
"
|
|
171
|
+
"commander": { "model": "your-preferred-model" },
|
|
172
|
+
"brainstormer": { "model": "your-preferred-model" }
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
```
|
package/README.md
CHANGED
|
@@ -195,8 +195,8 @@ Save/resume session state for continuity:
|
|
|
195
195
|
|
|
196
196
|
| Agent | Mode | Model | Purpose |
|
|
197
197
|
|-------|------|-------|---------|
|
|
198
|
-
|
|
|
199
|
-
|
|
|
198
|
+
| commander | primary | claude-opus-4-5 | Orchestrator, delegates to specialists |
|
|
199
|
+
| brainstormer | primary | claude-opus-4-5 | Design exploration through questioning |
|
|
200
200
|
| project-initializer | subagent | claude-opus-4-5 | Generate ARCHITECTURE.md and CODE_STYLE.md |
|
|
201
201
|
| codebase-locator | subagent | claude-sonnet | Find file locations |
|
|
202
202
|
| codebase-analyzer | subagent | claude-sonnet | Deep code analysis |
|
package/dist/index.js
CHANGED
|
@@ -1117,7 +1117,7 @@ var primaryAgent = {
|
|
|
1117
1117
|
prompt: PROMPT,
|
|
1118
1118
|
tools: { ask: true }
|
|
1119
1119
|
};
|
|
1120
|
-
var PRIMARY_AGENT_NAME = process.env.OPENCODE_AGENT_NAME || "
|
|
1120
|
+
var PRIMARY_AGENT_NAME = process.env.OPENCODE_AGENT_NAME || "commander";
|
|
1121
1121
|
|
|
1122
1122
|
// src/agents/project-initializer.ts
|
|
1123
1123
|
var PROMPT2 = `
|
|
@@ -16083,7 +16083,7 @@ var OpenCodeConfigPlugin = async (ctx) => {
|
|
|
16083
16083
|
};
|
|
16084
16084
|
const mergedAgents = mergeAgentConfigs(agents, userConfig);
|
|
16085
16085
|
config2.agent = {
|
|
16086
|
-
|
|
16086
|
+
[PRIMARY_AGENT_NAME]: mergedAgents[PRIMARY_AGENT_NAME],
|
|
16087
16087
|
...Object.fromEntries(Object.entries(mergedAgents).filter(([k]) => k !== PRIMARY_AGENT_NAME)),
|
|
16088
16088
|
...config2.agent,
|
|
16089
16089
|
build: { ...config2.agent?.build, mode: "subagent" },
|