maxsimcli 3.2.1 → 3.3.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 +157 -35
- package/dist/.tsbuildinfo +1 -1
- package/dist/assets/CHANGELOG.md +14 -0
- package/dist/assets/dashboard/server.js +20 -7
- package/dist/cli.cjs +3 -1
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +2 -0
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,6 +55,41 @@ Add `--local` instead of `--global` for project-scoped installs.
|
|
|
55
55
|
|
|
56
56
|
---
|
|
57
57
|
|
|
58
|
+
## Live Dashboard
|
|
59
|
+
|
|
60
|
+
MAXSIM ships with a real-time web dashboard — bundled inside the CLI, no separate setup needed.
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
npx maxsimcli dashboard
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
The dashboard opens in your browser and updates instantly as `.planning/` files change via WebSocket.
|
|
67
|
+
|
|
68
|
+
**Dashboard features:**
|
|
69
|
+
- **Phase overview** — progress bars, milestone stats, and completion percentage
|
|
70
|
+
- **Phase drill-down** — expand any phase to see individual plan tasks with toggleable checkboxes
|
|
71
|
+
- **Inline Markdown editor** — edit plan files directly in the browser (CodeMirror, Ctrl+S to save)
|
|
72
|
+
- **Todos panel** — create, complete, and delete todos
|
|
73
|
+
- **Blockers panel** — view and resolve blockers from STATE.md
|
|
74
|
+
- **STATE.md editor** — edit project state inline
|
|
75
|
+
- **Auto-launches** during `/maxsim:execute-phase` so you always have a live view
|
|
76
|
+
- **Idempotent** — running the command again when a server is already up does nothing
|
|
77
|
+
- **LAN sharing** — share your dashboard with teammates on the same network
|
|
78
|
+
|
|
79
|
+
### Network / LAN Sharing
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
npx maxsimcli dashboard --network
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Enables LAN sharing so anyone on your local network (or Tailscale VPN) can open the dashboard in their browser. MAXSIM:
|
|
86
|
+
|
|
87
|
+
- Detects your local IP and Tailscale IP automatically
|
|
88
|
+
- Configures firewall rules on Windows (`netsh`) and Linux (`ufw`/`iptables`) with one command
|
|
89
|
+
- Generates a **QR code** so you can open the dashboard on your phone in seconds
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
58
93
|
## How It Works
|
|
59
94
|
|
|
60
95
|
### 1. Initialize Project
|
|
@@ -128,51 +163,56 @@ Loop **discuss → plan → execute → verify** until done. Archive the milesto
|
|
|
128
163
|
|---------|-------------|
|
|
129
164
|
| `/maxsim:progress` | Where am I? What's next? |
|
|
130
165
|
| `/maxsim:help` | Show all commands |
|
|
131
|
-
| `/maxsim:quick` | Ad-hoc task with atomic commits |
|
|
166
|
+
| `/maxsim:quick` | Ad-hoc task with atomic commits (skips optional agents) |
|
|
132
167
|
| `/maxsim:debug [desc]` | Systematic debugging with persistent state |
|
|
133
|
-
| `/maxsim:map-codebase` | Analyze existing codebase |
|
|
168
|
+
| `/maxsim:map-codebase` | Analyze existing codebase with parallel mapper agents |
|
|
134
169
|
| `/maxsim:pause-work` | Create handoff when stopping mid-phase |
|
|
135
170
|
| `/maxsim:resume-work` | Restore from last session |
|
|
171
|
+
| `/maxsim:roadmap` | Display the full project roadmap |
|
|
172
|
+
| `/maxsim:health [--repair]` | Diagnose and auto-repair `.planning/` directory |
|
|
173
|
+
| `/maxsim:update` | Check and install MAXSIM updates |
|
|
136
174
|
|
|
137
|
-
###
|
|
175
|
+
### Phase Management
|
|
138
176
|
|
|
139
177
|
| Command | Description |
|
|
140
178
|
|---------|-------------|
|
|
141
|
-
| `
|
|
179
|
+
| `/maxsim:add-phase` | Append phase to roadmap |
|
|
180
|
+
| `/maxsim:insert-phase [N]` | Insert urgent work between phases (decimal numbering) |
|
|
181
|
+
| `/maxsim:remove-phase [N]` | Remove future phase, renumber |
|
|
182
|
+
| `/maxsim:list-phase-assumptions [N]` | Surface Claude's assumptions before planning |
|
|
183
|
+
| `/maxsim:research-phase [N]` | Standalone phase research |
|
|
142
184
|
|
|
143
|
-
|
|
144
|
-
and allows inline plan editing.
|
|
185
|
+
### Milestone & Quality
|
|
145
186
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
187
|
+
| Command | Description |
|
|
188
|
+
|---------|-------------|
|
|
189
|
+
| `/maxsim:audit-milestone` | Audit completion against original intent before archiving |
|
|
190
|
+
| `/maxsim:plan-milestone-gaps` | Create phases for all gaps found by audit |
|
|
191
|
+
| `/maxsim:add-tests <N>` | Generate tests from UAT criteria and implementation |
|
|
192
|
+
| `/maxsim:cleanup` | Archive accumulated phase directories |
|
|
193
|
+
|
|
194
|
+
### Todos
|
|
149
195
|
|
|
150
|
-
|
|
151
|
-
|
|
196
|
+
| Command | Description |
|
|
197
|
+
|---------|-------------|
|
|
198
|
+
| `/maxsim:add-todo` | Capture idea as a todo from current conversation |
|
|
199
|
+
| `/maxsim:check-todos` | List pending todos and select one to work on |
|
|
152
200
|
|
|
153
|
-
|
|
154
|
-
- **Works with both global and local installs**
|
|
155
|
-
- **Auto-opens browser** on launch
|
|
156
|
-
- **Detects running instances** -- won't start a duplicate server
|
|
157
|
-
- **Auto-launches** during `/maxsim:execute-phase`
|
|
201
|
+
### Live Dashboard
|
|
158
202
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
- Todos panel -- create, complete, and manage todos
|
|
165
|
-
- Blockers panel -- view and resolve blockers from STATE.md
|
|
166
|
-
- Swiss Style Design dark theme
|
|
203
|
+
| Command | Description |
|
|
204
|
+
|---------|-------------|
|
|
205
|
+
| `npx maxsimcli dashboard` | Launch the real-time web dashboard |
|
|
206
|
+
| `npx maxsimcli dashboard --network` | Launch with LAN/Tailscale sharing + QR code |
|
|
207
|
+
| `npx maxsimcli dashboard --stop` | Shut down the running dashboard server |
|
|
167
208
|
|
|
168
|
-
###
|
|
209
|
+
### Settings
|
|
169
210
|
|
|
170
211
|
| Command | Description |
|
|
171
212
|
|---------|-------------|
|
|
172
|
-
| `/maxsim:
|
|
173
|
-
| `/maxsim:
|
|
174
|
-
| `/maxsim:
|
|
175
|
-
| `/maxsim:settings` | Configure model profile and workflow agents |
|
|
213
|
+
| `/maxsim:settings` | Configure model profile and workflow agent toggles |
|
|
214
|
+
| `/maxsim:set-profile <profile>` | Switch model profile |
|
|
215
|
+
| `/maxsim:reapply-patches` | Reapply local modifications after a MAXSIM update |
|
|
176
216
|
|
|
177
217
|
---
|
|
178
218
|
|
|
@@ -180,15 +220,97 @@ It watches `.planning/` for changes and updates in real-time via WebSocket.
|
|
|
180
220
|
|
|
181
221
|
Project settings live in `.planning/config.json`, created during `/maxsim:new-project` or editable via `/maxsim:settings`.
|
|
182
222
|
|
|
183
|
-
|
|
223
|
+
```json
|
|
224
|
+
{
|
|
225
|
+
"model_profile": "balanced",
|
|
226
|
+
"branching_strategy": "none",
|
|
227
|
+
"commit_docs": true,
|
|
228
|
+
"research": true,
|
|
229
|
+
"plan_checker": true,
|
|
230
|
+
"verifier": true,
|
|
231
|
+
"parallelization": true,
|
|
232
|
+
"brave_search": false
|
|
233
|
+
}
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
| Key | Values | Default | Description |
|
|
237
|
+
|-----|--------|---------|-------------|
|
|
238
|
+
| `model_profile` | `quality` \| `balanced` \| `budget` \| `tokenburner` | `balanced` | Which models agents use |
|
|
239
|
+
| `branching_strategy` | `none` \| `phase` \| `milestone` | `none` | Git branch creation per phase or milestone |
|
|
240
|
+
| `commit_docs` | boolean | `true` | Commit documentation changes separately |
|
|
241
|
+
| `research` | boolean | `true` | Enable research agent before planning |
|
|
242
|
+
| `plan_checker` | boolean | `true` | Enable plan-checker agent before execution |
|
|
243
|
+
| `verifier` | boolean | `true` | Enable verifier agent after execution |
|
|
244
|
+
| `parallelization` | boolean | `true` | Enable wave-based parallel plan execution |
|
|
245
|
+
| `brave_search` | boolean | `false` | Enable Brave Search API in research agents |
|
|
246
|
+
|
|
247
|
+
### Model Profiles
|
|
248
|
+
|
|
249
|
+
MAXSIM has **4 model profiles** that control which Claude model each of the 11 specialized agents uses:
|
|
184
250
|
|
|
185
|
-
| Profile |
|
|
186
|
-
|
|
251
|
+
| Profile | Planners & Executors | Researchers | Orchestrators |
|
|
252
|
+
|---------|---------------------|-------------|---------------|
|
|
187
253
|
| `quality` | Opus | Opus | Sonnet |
|
|
188
|
-
| `balanced` (default) |
|
|
189
|
-
| `budget` | Sonnet |
|
|
254
|
+
| `balanced` *(default)* | Sonnet | Sonnet | Haiku |
|
|
255
|
+
| `budget` | Sonnet | Haiku | Haiku |
|
|
256
|
+
| `tokenburner` | **Opus everywhere** | **Opus everywhere** | **Opus everywhere** |
|
|
257
|
+
|
|
258
|
+
> `tokenburner` assigns Opus to every single agent. Use it when cost is no concern and you want maximum quality end-to-end.
|
|
259
|
+
|
|
260
|
+
Switch profiles at any time:
|
|
261
|
+
|
|
262
|
+
```bash
|
|
263
|
+
/maxsim:set-profile quality
|
|
264
|
+
/maxsim:set-profile balanced
|
|
265
|
+
/maxsim:set-profile budget
|
|
266
|
+
/maxsim:set-profile tokenburner
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
You can also override individual agents in `config.json`:
|
|
270
|
+
|
|
271
|
+
```json
|
|
272
|
+
{
|
|
273
|
+
"model_profile": "balanced",
|
|
274
|
+
"model_overrides": {
|
|
275
|
+
"maxsim-planner": "opus",
|
|
276
|
+
"maxsim-executor": "opus"
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
---
|
|
282
|
+
|
|
283
|
+
## Hook System
|
|
284
|
+
|
|
285
|
+
MAXSIM installs three compiled hooks into Claude Code:
|
|
286
|
+
|
|
287
|
+
| Hook | Function |
|
|
288
|
+
|------|----------|
|
|
289
|
+
| `maxsim-statusline` | Status bar: model · task · directory · context usage bar |
|
|
290
|
+
| `maxsim-context-monitor` | Warns when context window is running low (35% / 25% thresholds) |
|
|
291
|
+
| `maxsim-check-update` | Periodic npm update check with statusline notification |
|
|
292
|
+
|
|
293
|
+
The context bar in the statusline shows a 10-segment progress indicator that turns red and blinks when context is above 95% — giving you a clear signal to spawn a new session before quality degrades.
|
|
294
|
+
|
|
295
|
+
---
|
|
190
296
|
|
|
191
|
-
|
|
297
|
+
## Agents
|
|
298
|
+
|
|
299
|
+
11 specialized subagents, each with fresh context and a single responsibility:
|
|
300
|
+
|
|
301
|
+
| Agent | Role |
|
|
302
|
+
|-------|------|
|
|
303
|
+
| `maxsim-phase-researcher` | Researches how to implement a phase |
|
|
304
|
+
| `maxsim-project-researcher` | Domain research before roadmap creation |
|
|
305
|
+
| `maxsim-research-synthesizer` | Synthesizes parallel research outputs |
|
|
306
|
+
| `maxsim-planner` | Creates executable plans with task breakdown |
|
|
307
|
+
| `maxsim-roadmapper` | Creates project roadmaps with phase breakdown |
|
|
308
|
+
| `maxsim-plan-checker` | Verifies plans will achieve the phase goal |
|
|
309
|
+
| `maxsim-executor` | Implements plans with atomic commits |
|
|
310
|
+
| `maxsim-verifier` | Goal-backward verification after execution |
|
|
311
|
+
| `maxsim-debugger` | Scientific-method debugging with persistent state |
|
|
312
|
+
| `maxsim-integration-checker` | Verifies cross-phase integration and E2E flows |
|
|
313
|
+
| `maxsim-codebase-mapper` | Explores codebase and writes structured analysis |
|
|
192
314
|
|
|
193
315
|
---
|
|
194
316
|
|