multimodel-dev-os 0.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.
Files changed (105) hide show
  1. package/.ai/agents/README.md +23 -0
  2. package/.ai/agents/coder.md +11 -0
  3. package/.ai/agents/devops.md +8 -0
  4. package/.ai/agents/multimodel-orchestrator.md +105 -0
  5. package/.ai/agents/planner.md +11 -0
  6. package/.ai/agents/qa-tester.md +8 -0
  7. package/.ai/agents/reviewer.md +11 -0
  8. package/.ai/agents/security-auditor.md +8 -0
  9. package/.ai/agents/seo-auditor.md +8 -0
  10. package/.ai/checks/README.md +38 -0
  11. package/.ai/checks/context-budget.md +7 -0
  12. package/.ai/checks/pre-commit.md +8 -0
  13. package/.ai/checks/pre-deploy.md +8 -0
  14. package/.ai/checks/pre-implementation.md +7 -0
  15. package/.ai/checks/regression-checklist.md +8 -0
  16. package/.ai/config.yaml +60 -0
  17. package/.ai/context/README.md +18 -0
  18. package/.ai/context/architecture.md +15 -0
  19. package/.ai/context/business-rules.md +12 -0
  20. package/.ai/context/context-budget.md +12 -0
  21. package/.ai/context/deployment-rules.md +15 -0
  22. package/.ai/context/model-map.md +11 -0
  23. package/.ai/context/project-brief.md +17 -0
  24. package/.ai/context/seo-rules.md +15 -0
  25. package/.ai/prompts/README.md +37 -0
  26. package/.ai/prompts/generate-tests.md +5 -0
  27. package/.ai/prompts/handoff-to-next-model.md +5 -0
  28. package/.ai/prompts/implement-safely.md +5 -0
  29. package/.ai/prompts/plan-first.md +5 -0
  30. package/.ai/prompts/review-diff.md +5 -0
  31. package/.ai/prompts/summarize-session.md +5 -0
  32. package/.ai/session-logs/.gitkeep +1 -0
  33. package/.ai/session-logs/README.md +49 -0
  34. package/.ai/skills/README.md +34 -0
  35. package/.ai/skills/bug-fix.md +9 -0
  36. package/.ai/skills/caveman-bug-fix.md +2 -0
  37. package/.ai/skills/caveman-context-handoff.md +2 -0
  38. package/.ai/skills/caveman-feature-build.md +2 -0
  39. package/.ai/skills/context-routing.md +8 -0
  40. package/.ai/skills/cpanel-deploy.md +9 -0
  41. package/.ai/skills/example-skill.md +38 -0
  42. package/.ai/skills/landing-page-optimization.md +8 -0
  43. package/.ai/skills/model-routing.md +7 -0
  44. package/.ai/skills/nextjs-feature-build.md +9 -0
  45. package/.ai/skills/refactor.md +9 -0
  46. package/.ai/skills/seo-implementation.md +8 -0
  47. package/.ai/templates/AGENTS.caveman.md +12 -0
  48. package/.ai/templates/MEMORY.caveman.md +14 -0
  49. package/.ai/templates/RUNBOOK.caveman.md +22 -0
  50. package/.ai/templates/TASKS.caveman.md +7 -0
  51. package/.ai/templates/bug-report-template.md +14 -0
  52. package/.ai/templates/feature-spec-template.md +14 -0
  53. package/.ai/templates/project-memory-template.md +12 -0
  54. package/.ai/templates/session-log-template.md +16 -0
  55. package/.ai/templates/task-template.md +16 -0
  56. package/AGENTS.md +79 -0
  57. package/LICENSE +21 -0
  58. package/MEMORY.md +42 -0
  59. package/README.md +197 -0
  60. package/RUNBOOK.md +73 -0
  61. package/TASKS.md +28 -0
  62. package/adapters/antigravity/.gemini/settings.json +13 -0
  63. package/adapters/antigravity/AGENTS.md +29 -0
  64. package/adapters/antigravity/setup.md +36 -0
  65. package/adapters/claude/CLAUDE.md +31 -0
  66. package/adapters/claude/setup.md +35 -0
  67. package/adapters/codex/AGENTS.md +27 -0
  68. package/adapters/codex/setup.md +25 -0
  69. package/adapters/cursor/.cursorrules +30 -0
  70. package/adapters/cursor/setup.md +35 -0
  71. package/adapters/gemini/GEMINI.md +31 -0
  72. package/adapters/gemini/setup.md +34 -0
  73. package/adapters/vscode/.vscode/settings.json +21 -0
  74. package/adapters/vscode/setup.md +40 -0
  75. package/bin/multimodel-dev-os.js +267 -0
  76. package/docs/adapters.md +79 -0
  77. package/docs/architecture.md +64 -0
  78. package/docs/caveman-mode.md +74 -0
  79. package/docs/cli-roadmap.md +44 -0
  80. package/docs/faq.md +66 -0
  81. package/docs/installers.md +58 -0
  82. package/docs/multimodel-workflow.md +121 -0
  83. package/docs/npm-publishing.md +74 -0
  84. package/docs/quickstart.md +85 -0
  85. package/docs/testing-v0.2.md +73 -0
  86. package/examples/ecommerce-store/.ai/config.yaml +4 -0
  87. package/examples/ecommerce-store/AGENTS.md +5 -0
  88. package/examples/ecommerce-store/MEMORY.md +4 -0
  89. package/examples/general-app/.ai/config.yaml +4 -0
  90. package/examples/general-app/AGENTS.md +5 -0
  91. package/examples/general-app/MEMORY.md +4 -0
  92. package/examples/nextjs-saas/.ai/config.yaml +4 -0
  93. package/examples/nextjs-saas/AGENTS.md +13 -0
  94. package/examples/nextjs-saas/MEMORY.md +5 -0
  95. package/examples/seo-landing-page/.ai/config.yaml +4 -0
  96. package/examples/seo-landing-page/AGENTS.md +5 -0
  97. package/examples/seo-landing-page/MEMORY.md +5 -0
  98. package/examples/wordpress-site/.ai/config.yaml +4 -0
  99. package/examples/wordpress-site/AGENTS.md +5 -0
  100. package/examples/wordpress-site/MEMORY.md +4 -0
  101. package/package.json +43 -0
  102. package/scripts/install.ps1 +230 -0
  103. package/scripts/install.sh +237 -0
  104. package/scripts/pack-template.sh +39 -0
  105. package/scripts/verify.sh +271 -0
@@ -0,0 +1,271 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ # multimodel-dev-os strict release verification script
5
+ # Checks that all required files exist in their exact locations
6
+
7
+ RED='\033[0;31m'
8
+ GREEN='\033[0;32m'
9
+ YELLOW='\033[0;33m'
10
+ NC='\033[0m'
11
+
12
+ PASS=0
13
+ FAIL=0
14
+ WARN=0
15
+
16
+ check_file() {
17
+ local path="$1"
18
+ local required="${2:-true}"
19
+
20
+ if [ -f "$path" ]; then
21
+ echo -e " ${GREEN}✓${NC} $path"
22
+ PASS=$((PASS + 1))
23
+ elif [ "$required" = "true" ]; then
24
+ echo -e " ${RED}✗${NC} $path (missing)"
25
+ FAIL=$((FAIL + 1))
26
+ else
27
+ echo -e " ${YELLOW}?${NC} $path (optional, not found)"
28
+ WARN=$((WARN + 1))
29
+ fi
30
+ }
31
+
32
+ check_dir() {
33
+ local path="$1"
34
+
35
+ if [ -d "$path" ]; then
36
+ echo -e " ${GREEN}✓${NC} $path/"
37
+ PASS=$((PASS + 1))
38
+ else
39
+ echo -e " ${RED}✗${NC} $path/ (missing)"
40
+ FAIL=$((FAIL + 1))
41
+ fi
42
+ }
43
+
44
+ echo "multimodel-dev-os - Strict Release Audit Verification"
45
+ echo "====================================================="
46
+ echo ""
47
+
48
+ # --- Root Files ---
49
+ echo "Root files:"
50
+ check_file "AGENTS.md"
51
+ check_file "MEMORY.md"
52
+ check_file "TASKS.md"
53
+ check_file "RUNBOOK.md"
54
+ check_file "README.md"
55
+ check_file "LICENSE"
56
+ check_file "CONTRIBUTING.md"
57
+ check_file "CODE_OF_CONDUCT.md"
58
+ check_file "SECURITY.md"
59
+ check_file "CHANGELOG.md"
60
+ check_file "package.json"
61
+ check_file ".gitignore"
62
+ check_file ".gitattributes"
63
+ check_file ".editorconfig" "false"
64
+
65
+ # --- .ai/ Core Directory & YAML ---
66
+ echo ""
67
+ echo ".ai/ directory & config:"
68
+ check_dir ".ai"
69
+ check_file ".ai/config.yaml"
70
+
71
+ # --- .ai/context/ ---
72
+ echo ""
73
+ echo ".ai/context/ files:"
74
+ check_file ".ai/context/project-brief.md"
75
+ check_file ".ai/context/architecture.md"
76
+ check_file ".ai/context/business-rules.md"
77
+ check_file ".ai/context/seo-rules.md"
78
+ check_file ".ai/context/deployment-rules.md"
79
+ check_file ".ai/context/model-map.md"
80
+ check_file ".ai/context/context-budget.md"
81
+
82
+ # --- .ai/agents/ ---
83
+ echo ""
84
+ echo ".ai/agents/ files:"
85
+ check_file ".ai/agents/multimodel-orchestrator.md"
86
+ check_file ".ai/agents/planner.md"
87
+ check_file ".ai/agents/coder.md"
88
+ check_file ".ai/agents/reviewer.md"
89
+ check_file ".ai/agents/qa-tester.md"
90
+ check_file ".ai/agents/security-auditor.md"
91
+ check_file ".ai/agents/seo-auditor.md"
92
+ check_file ".ai/agents/devops.md"
93
+
94
+ # --- .ai/skills/ ---
95
+ echo ""
96
+ echo ".ai/skills/ files:"
97
+ check_file ".ai/skills/model-routing.md"
98
+ check_file ".ai/skills/context-routing.md"
99
+ check_file ".ai/skills/nextjs-feature-build.md"
100
+ check_file ".ai/skills/bug-fix.md"
101
+ check_file ".ai/skills/refactor.md"
102
+ check_file ".ai/skills/seo-implementation.md"
103
+ check_file ".ai/skills/landing-page-optimization.md"
104
+ check_file ".ai/skills/cpanel-deploy.md"
105
+ check_file ".ai/skills/caveman-bug-fix.md"
106
+ check_file ".ai/skills/caveman-feature-build.md"
107
+ check_file ".ai/skills/caveman-context-handoff.md"
108
+
109
+ # --- .ai/prompts/ ---
110
+ echo ""
111
+ echo ".ai/prompts/ files:"
112
+ check_file ".ai/prompts/plan-first.md"
113
+ check_file ".ai/prompts/implement-safely.md"
114
+ check_file ".ai/prompts/review-diff.md"
115
+ check_file ".ai/prompts/generate-tests.md"
116
+ check_file ".ai/prompts/summarize-session.md"
117
+ check_file ".ai/prompts/handoff-to-next-model.md"
118
+
119
+ # --- .ai/checks/ ---
120
+ echo ""
121
+ echo ".ai/checks/ files:"
122
+ check_file ".ai/checks/pre-implementation.md"
123
+ check_file ".ai/checks/pre-commit.md"
124
+ check_file ".ai/checks/pre-deploy.md"
125
+ check_file ".ai/checks/regression-checklist.md"
126
+ check_file ".ai/checks/context-budget.md"
127
+
128
+ # --- .ai/templates/ ---
129
+ echo ""
130
+ echo ".ai/templates/ files:"
131
+ check_file ".ai/templates/task-template.md"
132
+ check_file ".ai/templates/feature-spec-template.md"
133
+ check_file ".ai/templates/bug-report-template.md"
134
+ check_file ".ai/templates/session-log-template.md"
135
+ check_file ".ai/templates/project-memory-template.md"
136
+
137
+ # --- Adapters ---
138
+ echo ""
139
+ echo "Adapters:"
140
+ check_file "adapters/codex/AGENTS.md"
141
+ check_file "adapters/codex/setup.md"
142
+ check_file "adapters/antigravity/AGENTS.md"
143
+ check_file "adapters/antigravity/.gemini/settings.json"
144
+ check_file "adapters/antigravity/setup.md"
145
+ check_file "adapters/cursor/.cursorrules"
146
+ check_file "adapters/cursor/setup.md"
147
+ check_file "adapters/claude/CLAUDE.md"
148
+ check_file "adapters/claude/setup.md"
149
+ check_file "adapters/gemini/GEMINI.md"
150
+ check_file "adapters/gemini/setup.md"
151
+ check_file "adapters/vscode/.vscode/settings.json"
152
+ check_file "adapters/vscode/setup.md"
153
+
154
+ # --- Examples ---
155
+ echo ""
156
+ echo "Examples:"
157
+ check_file "examples/nextjs-saas/AGENTS.md"
158
+ check_file "examples/nextjs-saas/MEMORY.md"
159
+ check_file "examples/wordpress-site/AGENTS.md"
160
+ check_file "examples/wordpress-site/MEMORY.md"
161
+ check_file "examples/ecommerce-store/AGENTS.md"
162
+ check_file "examples/ecommerce-store/MEMORY.md"
163
+ check_file "examples/seo-landing-page/AGENTS.md"
164
+ check_file "examples/seo-landing-page/MEMORY.md"
165
+ check_file "examples/general-app/AGENTS.md"
166
+ check_file "examples/general-app/MEMORY.md"
167
+
168
+ # --- Scripts & bin ---
169
+ echo ""
170
+ echo "Scripts & Executables:"
171
+ check_file "scripts/install.sh"
172
+ check_file "scripts/install.ps1"
173
+ check_file "scripts/verify.sh"
174
+ check_file "scripts/pack-template.sh"
175
+ check_file "bin/multimodel-dev-os.js"
176
+
177
+ # --- GitHub Integration ---
178
+ echo ""
179
+ echo "GitHub Workflows:"
180
+ check_file ".github/workflows/verify.yml"
181
+
182
+ # --- Documentation ---
183
+ echo ""
184
+ echo "Extended Documentation:"
185
+ check_file "docs/quickstart.md"
186
+ check_file "docs/architecture.md"
187
+ check_file "docs/multimodel-workflow.md"
188
+ check_file "docs/caveman-mode.md"
189
+ check_file "docs/adapters.md"
190
+ check_file "docs/installers.md"
191
+ check_file "docs/cli-roadmap.md"
192
+ check_file "docs/faq.md"
193
+ check_file "docs/testing-v0.2.md"
194
+ check_file "docs/npm-publishing.md"
195
+
196
+ # --- CLI & Packaging Pre-Flight Tests ---
197
+ echo ""
198
+ echo "Running CLI & Packaging Pre-Flight Tests..."
199
+
200
+ # Verify package.json version is exactly 0.3.0
201
+ if ! grep -q '"version": "0.3.0"' package.json; then
202
+ echo -e " ${RED}✗${NC} package.json version is not 0.3.0"
203
+ FAIL=$((FAIL + 1))
204
+ else
205
+ echo -e " ${GREEN}✓${NC} package.json version is exactly 0.3.0"
206
+ PASS=$((PASS + 1))
207
+ fi
208
+
209
+ # Verify CLI version matches v0.3.0
210
+ if ! node bin/multimodel-dev-os.js --help | grep -q 'v0.3.0'; then
211
+ echo -e " ${RED}✗${NC} CLI help does not display v0.3.0"
212
+ FAIL=$((FAIL + 1))
213
+ else
214
+ echo -e " ${GREEN}✓${NC} CLI help displays v0.3.0"
215
+ PASS=$((PASS + 1))
216
+ fi
217
+
218
+ # Verify npm pack dry-run shows v0.3.0
219
+ if ! npm pack --dry-run 2>&1 | grep -q 'multimodel-dev-os@0.3.0'; then
220
+ echo -e " ${RED}✗${NC} npm pack --dry-run does not report version 0.3.0"
221
+ FAIL=$((FAIL + 1))
222
+ else
223
+ echo -e " ${GREEN}✓${NC} npm pack --dry-run reports version 0.3.0"
224
+ PASS=$((PASS + 1))
225
+ fi
226
+
227
+ if ! node bin/multimodel-dev-os.js --help >/dev/null; then
228
+ echo -e " ${RED}✗${NC} node bin/multimodel-dev-os.js --help failed"
229
+ FAIL=$((FAIL + 1))
230
+ else
231
+ echo -e " ${GREEN}✓${NC} node bin/multimodel-dev-os.js --help"
232
+ PASS=$((PASS + 1))
233
+ fi
234
+
235
+ if ! node bin/multimodel-dev-os.js init --dry-run --force >/dev/null; then
236
+ echo -e " ${RED}✗${NC} node bin/multimodel-dev-os.js init --dry-run failed"
237
+ FAIL=$((FAIL + 1))
238
+ else
239
+ echo -e " ${GREEN}✓${NC} node bin/multimodel-dev-os.js init --dry-run"
240
+ PASS=$((PASS + 1))
241
+ fi
242
+
243
+ if ! node bin/multimodel-dev-os.js verify >/dev/null; then
244
+ echo -e " ${RED}✗${NC} node bin/multimodel-dev-os.js verify failed"
245
+ FAIL=$((FAIL + 1))
246
+ else
247
+ echo -e " ${GREEN}✓${NC} node bin/multimodel-dev-os.js verify"
248
+ PASS=$((PASS + 1))
249
+ fi
250
+
251
+ if ! npm pack --dry-run >/dev/null 2>&1; then
252
+ echo -e " ${RED}✗${NC} npm pack --dry-run failed"
253
+ FAIL=$((FAIL + 1))
254
+ else
255
+ echo -e " ${GREEN}✓${NC} npm pack --dry-run"
256
+ PASS=$((PASS + 1))
257
+ fi
258
+
259
+ # --- Summary ---
260
+ echo ""
261
+ echo "====================================================="
262
+ TOTAL=$((PASS + FAIL + WARN))
263
+ echo -e " ${GREEN}Pass: $PASS${NC} ${RED}Fail: $FAIL${NC} ${YELLOW}Warn: $WARN${NC} Total: $TOTAL"
264
+
265
+ if [ "$FAIL" -gt 0 ]; then
266
+ echo -e "\n${RED}Verification failed. Fix issues listed above.${NC}"
267
+ exit 1
268
+ else
269
+ echo -e "\n${GREEN}Verification passed successfully.${NC}"
270
+ exit 0
271
+ fi