maxsimcli 4.8.0 → 4.9.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/dist/assets/CHANGELOG.md +13 -0
- package/dist/assets/hooks/maxsim-check-update.cjs +38 -0
- package/dist/assets/hooks/maxsim-check-update.cjs.map +1 -1
- package/dist/assets/hooks/maxsim-statusline.cjs +116 -48
- package/dist/assets/hooks/maxsim-statusline.cjs.map +1 -1
- package/dist/assets/hooks/maxsim-sync-reminder.cjs +117 -0
- package/dist/assets/hooks/maxsim-sync-reminder.cjs.map +1 -0
- package/dist/assets/templates/agents/AGENTS.md +78 -106
- package/dist/assets/templates/agents/executor.md +101 -0
- package/dist/assets/templates/agents/planner.md +86 -0
- package/dist/assets/templates/agents/researcher.md +71 -0
- package/dist/assets/templates/agents/verifier.md +88 -0
- package/dist/assets/templates/commands/maxsim/debug.md +7 -7
- package/dist/assets/templates/commands/maxsim/execute.md +45 -0
- package/dist/assets/templates/commands/maxsim/go.md +29 -0
- package/dist/assets/templates/commands/maxsim/help.md +2 -2
- package/dist/assets/templates/commands/maxsim/init.md +52 -0
- package/dist/assets/templates/commands/maxsim/plan.md +50 -0
- package/dist/assets/templates/commands/maxsim/progress.md +4 -3
- package/dist/assets/templates/commands/maxsim/quick.md +6 -4
- package/dist/assets/templates/commands/maxsim/settings.md +4 -3
- package/dist/assets/templates/references/continuation-format.md +16 -16
- package/dist/assets/templates/references/model-profile-resolution.md +1 -1
- package/dist/assets/templates/references/model-profiles.md +12 -19
- package/dist/assets/templates/rules/conventions.md +51 -0
- package/dist/assets/templates/rules/verification-protocol.md +57 -0
- package/dist/assets/templates/skills/agent-system-map/SKILL.md +92 -0
- package/dist/assets/templates/skills/brainstorming/SKILL.md +48 -36
- package/dist/assets/templates/skills/code-review/SKILL.md +40 -61
- package/dist/assets/templates/skills/commit-conventions/SKILL.md +75 -0
- package/dist/assets/templates/skills/evidence-collection/SKILL.md +87 -0
- package/dist/assets/templates/skills/handoff-contract/SKILL.md +70 -0
- package/dist/assets/templates/skills/input-validation/SKILL.md +51 -0
- package/dist/assets/templates/skills/maxsim-batch/SKILL.md +41 -45
- package/dist/assets/templates/skills/maxsim-simplify/SKILL.md +37 -90
- package/dist/assets/templates/skills/memory-management/SKILL.md +32 -67
- package/dist/assets/templates/skills/research-methodology/SKILL.md +137 -0
- package/dist/assets/templates/skills/roadmap-writing/SKILL.md +40 -58
- package/dist/assets/templates/skills/sdd/SKILL.md +34 -69
- package/dist/assets/templates/skills/systematic-debugging/SKILL.md +20 -26
- package/dist/assets/templates/skills/tdd/SKILL.md +25 -33
- package/dist/assets/templates/skills/tool-priority-guide/SKILL.md +80 -0
- package/dist/assets/templates/skills/using-maxsim/SKILL.md +42 -73
- package/dist/assets/templates/skills/verification-before-completion/SKILL.md +12 -24
- package/dist/assets/templates/skills/verification-gates/SKILL.md +169 -0
- package/dist/assets/templates/templates/UAT.md +3 -3
- package/dist/assets/templates/templates/VALIDATION.md +1 -1
- package/dist/assets/templates/templates/context.md +4 -4
- package/dist/assets/templates/templates/debug-subagent-prompt.md +3 -3
- package/dist/assets/templates/templates/discovery.md +2 -2
- package/dist/assets/templates/templates/phase-prompt.md +2 -2
- package/dist/assets/templates/templates/planner-subagent-prompt.md +7 -7
- package/dist/assets/templates/templates/project.md +1 -1
- package/dist/assets/templates/templates/research.md +1 -1
- package/dist/assets/templates/templates/state.md +2 -2
- package/dist/assets/templates/templates/summary.md +41 -0
- package/dist/assets/templates/workflows/batch.md +5 -5
- package/dist/assets/templates/workflows/diagnose-issues.md +2 -2
- package/dist/assets/templates/workflows/discovery-phase.md +3 -3
- package/dist/assets/templates/workflows/discuss-phase.md +11 -11
- package/dist/assets/templates/workflows/execute-phase.md +205 -11
- package/dist/assets/templates/workflows/execute-plan.md +299 -34
- package/dist/assets/templates/workflows/execute.md +421 -0
- package/dist/assets/templates/workflows/go.md +250 -0
- package/dist/assets/templates/workflows/health.md +5 -5
- package/dist/assets/templates/workflows/help.md +165 -435
- package/dist/assets/templates/workflows/init-existing.md +23 -23
- package/dist/assets/templates/workflows/init.md +205 -0
- package/dist/assets/templates/workflows/new-milestone.md +9 -9
- package/dist/assets/templates/workflows/new-project.md +26 -26
- package/dist/assets/templates/workflows/plan-create.md +298 -0
- package/dist/assets/templates/workflows/plan-discuss.md +347 -0
- package/dist/assets/templates/workflows/plan-phase.md +29 -29
- package/dist/assets/templates/workflows/plan-research.md +177 -0
- package/dist/assets/templates/workflows/plan.md +231 -0
- package/dist/assets/templates/workflows/progress.md +46 -42
- package/dist/assets/templates/workflows/quick.md +195 -14
- package/dist/assets/templates/workflows/research-phase.md +5 -5
- package/dist/assets/templates/workflows/sdd.md +20 -12
- package/dist/assets/templates/workflows/settings.md +18 -14
- package/dist/assets/templates/workflows/verify-phase.md +1 -1
- package/dist/assets/templates/workflows/verify-work.md +16 -16
- package/dist/cli.cjs +496 -91
- package/dist/cli.cjs.map +1 -1
- package/dist/core-D5zUr9cb.cjs.map +1 -1
- package/dist/install.cjs +234 -17
- package/dist/install.cjs.map +1 -1
- package/dist/mcp-server.cjs +21 -2
- package/dist/mcp-server.cjs.map +1 -1
- package/dist/skills-CjFWZIGM.cjs.map +1 -1
- package/package.json +1 -1
- package/dist/assets/hooks/maxsim-context-monitor.cjs +0 -121
- package/dist/assets/hooks/maxsim-context-monitor.cjs.map +0 -1
- package/dist/assets/templates/agents/maxsim-code-reviewer.md +0 -239
- package/dist/assets/templates/agents/maxsim-codebase-mapper.md +0 -214
- package/dist/assets/templates/agents/maxsim-debugger.md +0 -572
- package/dist/assets/templates/agents/maxsim-drift-checker.md +0 -522
- package/dist/assets/templates/agents/maxsim-executor.md +0 -504
- package/dist/assets/templates/agents/maxsim-integration-checker.md +0 -273
- package/dist/assets/templates/agents/maxsim-phase-researcher.md +0 -305
- package/dist/assets/templates/agents/maxsim-plan-checker.md +0 -343
- package/dist/assets/templates/agents/maxsim-planner.md +0 -610
- package/dist/assets/templates/agents/maxsim-project-researcher.md +0 -359
- package/dist/assets/templates/agents/maxsim-research-synthesizer.md +0 -263
- package/dist/assets/templates/agents/maxsim-roadmapper.md +0 -324
- package/dist/assets/templates/agents/maxsim-spec-reviewer.md +0 -245
- package/dist/assets/templates/agents/maxsim-verifier.md +0 -393
- package/dist/assets/templates/commands/maxsim/add-phase.md +0 -43
- package/dist/assets/templates/commands/maxsim/add-tests.md +0 -41
- package/dist/assets/templates/commands/maxsim/add-todo.md +0 -57
- package/dist/assets/templates/commands/maxsim/artefakte.md +0 -122
- package/dist/assets/templates/commands/maxsim/audit-milestone.md +0 -36
- package/dist/assets/templates/commands/maxsim/batch.md +0 -42
- package/dist/assets/templates/commands/maxsim/check-drift.md +0 -56
- package/dist/assets/templates/commands/maxsim/check-todos.md +0 -46
- package/dist/assets/templates/commands/maxsim/cleanup.md +0 -18
- package/dist/assets/templates/commands/maxsim/complete-milestone.md +0 -136
- package/dist/assets/templates/commands/maxsim/discuss-phase.md +0 -87
- package/dist/assets/templates/commands/maxsim/discuss.md +0 -70
- package/dist/assets/templates/commands/maxsim/execute-phase.md +0 -41
- package/dist/assets/templates/commands/maxsim/health.md +0 -22
- package/dist/assets/templates/commands/maxsim/init-existing.md +0 -46
- package/dist/assets/templates/commands/maxsim/insert-phase.md +0 -32
- package/dist/assets/templates/commands/maxsim/list-phase-assumptions.md +0 -46
- package/dist/assets/templates/commands/maxsim/map-codebase.md +0 -71
- package/dist/assets/templates/commands/maxsim/new-milestone.md +0 -44
- package/dist/assets/templates/commands/maxsim/new-project.md +0 -46
- package/dist/assets/templates/commands/maxsim/pause-work.md +0 -38
- package/dist/assets/templates/commands/maxsim/plan-milestone-gaps.md +0 -34
- package/dist/assets/templates/commands/maxsim/plan-phase.md +0 -44
- package/dist/assets/templates/commands/maxsim/realign.md +0 -39
- package/dist/assets/templates/commands/maxsim/reapply-patches.md +0 -110
- package/dist/assets/templates/commands/maxsim/remove-phase.md +0 -31
- package/dist/assets/templates/commands/maxsim/research-phase.md +0 -189
- package/dist/assets/templates/commands/maxsim/resume-work.md +0 -40
- package/dist/assets/templates/commands/maxsim/roadmap.md +0 -19
- package/dist/assets/templates/commands/maxsim/sdd.md +0 -39
- package/dist/assets/templates/commands/maxsim/set-profile.md +0 -34
- package/dist/assets/templates/commands/maxsim/update.md +0 -37
- package/dist/assets/templates/commands/maxsim/verify-work.md +0 -38
- package/dist/assets/templates/workflows/add-phase.md +0 -111
- package/dist/assets/templates/workflows/add-tests.md +0 -351
- package/dist/assets/templates/workflows/add-todo.md +0 -247
- package/dist/assets/templates/workflows/audit-milestone.md +0 -297
- package/dist/assets/templates/workflows/check-drift.md +0 -248
- package/dist/assets/templates/workflows/check-todos.md +0 -261
- package/dist/assets/templates/workflows/cleanup.md +0 -153
- package/dist/assets/templates/workflows/complete-milestone.md +0 -701
- package/dist/assets/templates/workflows/discuss.md +0 -343
- package/dist/assets/templates/workflows/insert-phase.md +0 -129
- package/dist/assets/templates/workflows/list-phase-assumptions.md +0 -178
- package/dist/assets/templates/workflows/map-codebase.md +0 -315
- package/dist/assets/templates/workflows/pause-work.md +0 -122
- package/dist/assets/templates/workflows/plan-milestone-gaps.md +0 -274
- package/dist/assets/templates/workflows/realign.md +0 -288
- package/dist/assets/templates/workflows/remove-phase.md +0 -154
- package/dist/assets/templates/workflows/resume-project.md +0 -306
- package/dist/assets/templates/workflows/roadmap.md +0 -130
- package/dist/assets/templates/workflows/set-profile.md +0 -81
- package/dist/assets/templates/workflows/transition.md +0 -544
- package/dist/assets/templates/workflows/update.md +0 -220
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
<purpose>
|
|
2
|
-
Check for MAXSIM updates via npm, display changelog for versions between installed and latest, obtain user confirmation, and execute clean installation with cache clearing.
|
|
3
|
-
</purpose>
|
|
4
|
-
|
|
5
|
-
<required_reading>
|
|
6
|
-
Read all files referenced by the invoking prompt's execution_context before starting.
|
|
7
|
-
@./references/dashboard-bridge.md
|
|
8
|
-
</required_reading>
|
|
9
|
-
|
|
10
|
-
<process>
|
|
11
|
-
|
|
12
|
-
<step name="get_installed_version">
|
|
13
|
-
Detect whether MAXSIM is installed locally or globally by checking both locations and validating install integrity:
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
# Check local first (takes priority only if valid)
|
|
17
|
-
# Paths templated at install time for runtime compatibility
|
|
18
|
-
LOCAL_VERSION_FILE="./.claude/maxsim/VERSION"
|
|
19
|
-
LOCAL_MARKER_FILE="./.claude/maxsim/workflows/update.md"
|
|
20
|
-
GLOBAL_VERSION_FILE="$HOME/.claude/maxsim/VERSION"
|
|
21
|
-
GLOBAL_MARKER_FILE="$HOME/.claude/maxsim/workflows/update.md"
|
|
22
|
-
|
|
23
|
-
if [ -f "$LOCAL_VERSION_FILE" ] && [ -f "$LOCAL_MARKER_FILE" ] && grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+' "$LOCAL_VERSION_FILE"; then
|
|
24
|
-
cat "$LOCAL_VERSION_FILE"
|
|
25
|
-
echo "LOCAL"
|
|
26
|
-
elif [ -f "$GLOBAL_VERSION_FILE" ] && [ -f "$GLOBAL_MARKER_FILE" ] && grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+' "$GLOBAL_VERSION_FILE"; then
|
|
27
|
-
cat "$GLOBAL_VERSION_FILE"
|
|
28
|
-
echo "GLOBAL"
|
|
29
|
-
else
|
|
30
|
-
echo "UNKNOWN"
|
|
31
|
-
fi
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
Parse output:
|
|
35
|
-
- If last line is "LOCAL": local install is valid; installed version is first line; use `--local`
|
|
36
|
-
- If last line is "GLOBAL": local missing/invalid, global install is valid; installed version is first line; use `--global`
|
|
37
|
-
- If "UNKNOWN": proceed to install step (treat as version 0.0.0)
|
|
38
|
-
|
|
39
|
-
**If VERSION file missing:**
|
|
40
|
-
```
|
|
41
|
-
## MAXSIM Update
|
|
42
|
-
|
|
43
|
-
**Installed version:** Unknown
|
|
44
|
-
|
|
45
|
-
Your installation doesn't include version tracking.
|
|
46
|
-
|
|
47
|
-
Running fresh install...
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
Proceed to install step (treat as version 0.0.0 for comparison).
|
|
51
|
-
</step>
|
|
52
|
-
|
|
53
|
-
<step name="check_latest_version">
|
|
54
|
-
Check npm for latest version:
|
|
55
|
-
|
|
56
|
-
```bash
|
|
57
|
-
npm view maxsimcli version 2>/dev/null
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
**If npm check fails:**
|
|
61
|
-
```
|
|
62
|
-
Couldn't check for updates (offline or npm unavailable).
|
|
63
|
-
|
|
64
|
-
To update manually: `npx maxsimcli --global`
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
Exit.
|
|
68
|
-
</step>
|
|
69
|
-
|
|
70
|
-
<step name="compare_versions">
|
|
71
|
-
Compare installed vs latest:
|
|
72
|
-
|
|
73
|
-
**If installed == latest:**
|
|
74
|
-
```
|
|
75
|
-
## MAXSIM Update
|
|
76
|
-
|
|
77
|
-
**Installed:** X.Y.Z
|
|
78
|
-
**Latest:** X.Y.Z
|
|
79
|
-
|
|
80
|
-
You're already on the latest version.
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
Exit.
|
|
84
|
-
|
|
85
|
-
**If installed > latest:**
|
|
86
|
-
```
|
|
87
|
-
## MAXSIM Update
|
|
88
|
-
|
|
89
|
-
**Installed:** X.Y.Z
|
|
90
|
-
**Latest:** A.B.C
|
|
91
|
-
|
|
92
|
-
You're ahead of the latest release (development version?).
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
Exit.
|
|
96
|
-
</step>
|
|
97
|
-
|
|
98
|
-
<step name="show_changes_and_confirm">
|
|
99
|
-
**If update available**, fetch and show what's new BEFORE updating:
|
|
100
|
-
|
|
101
|
-
1. Fetch changelog from GitHub raw URL
|
|
102
|
-
2. Extract entries between installed and latest versions
|
|
103
|
-
3. Display preview and ask for confirmation:
|
|
104
|
-
|
|
105
|
-
```
|
|
106
|
-
## MAXSIM Update Available
|
|
107
|
-
|
|
108
|
-
**Installed:** 1.5.10
|
|
109
|
-
**Latest:** 1.5.15
|
|
110
|
-
|
|
111
|
-
### What's New
|
|
112
|
-
────────────────────────────────────────────────────────────
|
|
113
|
-
|
|
114
|
-
## [1.5.15] - 2026-01-20
|
|
115
|
-
|
|
116
|
-
### Added
|
|
117
|
-
- Feature X
|
|
118
|
-
|
|
119
|
-
## [1.5.14] - 2026-01-18
|
|
120
|
-
|
|
121
|
-
### Fixed
|
|
122
|
-
- Bug fix Y
|
|
123
|
-
|
|
124
|
-
────────────────────────────────────────────────────────────
|
|
125
|
-
|
|
126
|
-
⚠️ **Note:** The installer performs a clean install of MAXSIM folders:
|
|
127
|
-
- `commands/maxsim/` will be wiped and replaced
|
|
128
|
-
- `maxsim/` will be wiped and replaced
|
|
129
|
-
- `agents/maxsim-*` files will be replaced
|
|
130
|
-
|
|
131
|
-
(Paths are relative to your install location: `~/.claude/` for global, `./.claude/` for local)
|
|
132
|
-
|
|
133
|
-
Your custom files in other locations are preserved:
|
|
134
|
-
- Custom commands not in `commands/maxsim/` ✓
|
|
135
|
-
- Custom agents not prefixed with `maxsim-` ✓
|
|
136
|
-
- Custom hooks ✓
|
|
137
|
-
- Your CLAUDE.md files ✓
|
|
138
|
-
|
|
139
|
-
If you've modified any MAXSIM files directly, they'll be automatically backed up to `maxsim-local-patches/` and can be reapplied with `/maxsim:reapply-patches` after the update.
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
Use AskUserQuestion:
|
|
143
|
-
- Question: "Proceed with update?"
|
|
144
|
-
- Options:
|
|
145
|
-
- "Yes, update now"
|
|
146
|
-
- "No, cancel"
|
|
147
|
-
|
|
148
|
-
**If user cancels:** Exit.
|
|
149
|
-
</step>
|
|
150
|
-
|
|
151
|
-
<step name="run_update">
|
|
152
|
-
Run the update using the install type detected in step 1:
|
|
153
|
-
|
|
154
|
-
**If LOCAL install:**
|
|
155
|
-
```bash
|
|
156
|
-
npx -y maxsim@latest --local
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
**If GLOBAL install (or unknown):**
|
|
160
|
-
```bash
|
|
161
|
-
npx -y maxsim@latest --global
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
Capture output. If install fails, show error and exit.
|
|
165
|
-
|
|
166
|
-
Clear the update cache so statusline indicator disappears:
|
|
167
|
-
|
|
168
|
-
**If LOCAL install:**
|
|
169
|
-
```bash
|
|
170
|
-
rm -f ./.claude/cache/maxsim-update-check.json
|
|
171
|
-
```
|
|
172
|
-
|
|
173
|
-
**If GLOBAL install:**
|
|
174
|
-
```bash
|
|
175
|
-
rm -f ~/.claude/cache/maxsim-update-check.json
|
|
176
|
-
```
|
|
177
|
-
(Paths are templated at install time for runtime compatibility)
|
|
178
|
-
</step>
|
|
179
|
-
|
|
180
|
-
<step name="display_result">
|
|
181
|
-
Format completion message (changelog was already shown in confirmation step):
|
|
182
|
-
|
|
183
|
-
```
|
|
184
|
-
╔═══════════════════════════════════════════════════════════╗
|
|
185
|
-
║ MAXSIM Updated: v1.5.10 → v1.5.15 ║
|
|
186
|
-
╚═══════════════════════════════════════════════════════════╝
|
|
187
|
-
|
|
188
|
-
⚠️ Restart Claude Code to pick up the new commands.
|
|
189
|
-
|
|
190
|
-
[View full changelog](https://github.com/maystudios/maxsimcli/blob/main/CHANGELOG.md)
|
|
191
|
-
```
|
|
192
|
-
</step>
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
<step name="check_local_patches">
|
|
196
|
-
After update completes, check if the installer detected and backed up any locally modified files:
|
|
197
|
-
|
|
198
|
-
Check for maxsim-local-patches/backup-meta.json in the config directory.
|
|
199
|
-
|
|
200
|
-
**If patches found:**
|
|
201
|
-
|
|
202
|
-
```
|
|
203
|
-
Local patches were backed up before the update.
|
|
204
|
-
Run /maxsim:reapply-patches to merge your modifications into the new version.
|
|
205
|
-
```
|
|
206
|
-
|
|
207
|
-
**If no patches:** Continue normally.
|
|
208
|
-
</step>
|
|
209
|
-
</process>
|
|
210
|
-
|
|
211
|
-
<success_criteria>
|
|
212
|
-
- [ ] Installed version read correctly
|
|
213
|
-
- [ ] Latest version checked via npm
|
|
214
|
-
- [ ] Update skipped if already current
|
|
215
|
-
- [ ] Changelog fetched and displayed BEFORE update
|
|
216
|
-
- [ ] Clean install warning shown
|
|
217
|
-
- [ ] User confirmation obtained
|
|
218
|
-
- [ ] Update executed successfully
|
|
219
|
-
- [ ] Restart reminder shown
|
|
220
|
-
</success_criteria>
|