micode 0.9.0 → 0.10.0

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 CHANGED
@@ -79,7 +79,7 @@ Maintain context across sessions with structured compaction. Run `/ledger` to cr
79
79
 
80
80
  ## Hooks
81
81
 
82
- - **Think Mode** - Keywords like "think hard" enable 32k token thinking budget
82
+ - **Think Mode** - Keywords like "think hard" enable 128k token thinking budget
83
83
  - **Ledger Loader** - Injects continuity ledger into system prompt
84
84
  - **Auto-Compact** - At 50% context usage, automatically summarizes session to reduce context
85
85
  - **File Ops Tracker** - Tracks read/write/edit for deterministic logging
@@ -106,11 +106,15 @@ All micode agents will use this model automatically.
106
106
 
107
107
  Create `~/.config/opencode/micode.json` for micode-specific settings:
108
108
 
109
- ```json
109
+ ```jsonc
110
110
  {
111
111
  "agents": {
112
112
  "brainstormer": { "model": "openai/gpt-4o", "temperature": 0.8 },
113
- "commander": { "maxTokens": 8192 }
113
+ "commander": {
114
+ "maxTokens": 8192,
115
+ // Configure reasoning effort per agent
116
+ "thinking": { "type": "enabled", "budgetTokens": 100000 }
117
+ }
114
118
  },
115
119
  "features": {
116
120
  "mindmodelInjection": true
@@ -122,11 +126,13 @@ Create `~/.config/opencode/micode.json` for micode-specific settings:
122
126
  }
123
127
  ```
124
128
 
129
+ > **Note:** Both `.json` and `.jsonc` formats are supported. JSONC allows comments and trailing commas.
130
+
125
131
  #### Options
126
132
 
127
133
  | Option | Type | Description |
128
134
  |--------|------|-------------|
129
- | `agents` | object | Per-agent overrides (model, temperature, maxTokens) |
135
+ | `agents` | object | Per-agent overrides (model, temperature, maxTokens, thinking) |
130
136
  | `features.mindmodelInjection` | boolean | Enable mindmodel context injection |
131
137
  | `compactionThreshold` | number | Context usage threshold (0-1) for auto-compaction. Default: 0.5 |
132
138
  | `fragments` | object | Additional prompt fragments per agent |
@@ -182,6 +188,36 @@ git push --follow-tags
182
188
  6. **Continuous verification** - Implementer + Reviewer per task
183
189
  7. **Session continuity** - Never lose context
184
190
 
191
+ ## micode vs oh-my-opencode
192
+
193
+ Both are OpenCode plugins, but with different philosophies:
194
+
195
+ | Aspect | micode | oh-my-opencode |
196
+ |--------|--------|----------------|
197
+ | **Philosophy** | Opinionated workflow (brainstorm→plan→implement) | Batteries-included framework |
198
+ | **Agent Design** | Role-based (Brainstormer, Planner, Executor) | Greek mythology theme (Sisyphus, Atlas, Prometheus) |
199
+ | **Parallelism** | Batch-first: 10-20 concurrent micro-tasks (2-5 min each) | Background tasks with tmux visual monitoring |
200
+ | **Code Guidance** | Mindmodel system with project-specific patterns | Comment checker, keyword modes (ultrawork) |
201
+ | **Context Recovery** | Ledger system (CONTINUITY files) | AGENTS.md hierarchy, preemptive compaction |
202
+ | **Workflow** | TDD-enforced with adaptation over escalation | Category-based delegation (visual-engineering, ultrabrain) |
203
+ | **Configuration** | Focused options | Extensive (34 hooks, 11 agents, fallback chains) |
204
+
205
+ ### When to Choose micode
206
+
207
+ - You want a **structured brainstorm→plan→implement workflow**
208
+ - You prefer **TDD-driven implementation** with test-first development
209
+ - You need **project-specific pattern enforcement** via mindmodel
210
+ - You want **high parallelism on granular tasks** (10-20 concurrent micro-tasks)
211
+ - You value **session continuity** via structured ledgers
212
+
213
+ ### When to Choose oh-my-opencode
214
+
215
+ - You want **maximum flexibility** and configuration options
216
+ - You prefer **keyword-driven modes** (e.g., "ultrawork", "analyze")
217
+ - You need **extensive model fallback chains** with subscription detection
218
+ - You like **category-based task delegation** (visual-engineering, infrastructure)
219
+ - You want **visual monitoring** via tmux integration
220
+
185
221
  ## Inspiration
186
222
 
187
223
  - [oh-my-opencode](https://github.com/code-yeongyu/oh-my-opencode) - Plugin architecture