multimodel-dev-os 0.5.1 → 0.6.1
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/docs/.vitepress/config.js +57 -0
- package/docs/CLI.md +50 -0
- package/docs/index.md +55 -0
- package/docs/templates/index.md +30 -0
- package/package.json +10 -2
- package/scripts/verify.js +17 -16
- package/scripts/verify.sh +15 -12
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
base: '/multimodel-dev-os/',
|
|
3
|
+
title: 'MultiModel Dev OS',
|
|
4
|
+
description: 'Portable, vendor-neutral AI Developer OS for multi-agent coding workflows.',
|
|
5
|
+
ignoreDeadLinks: true,
|
|
6
|
+
themeConfig: {
|
|
7
|
+
logo: '/logo.png',
|
|
8
|
+
nav: [
|
|
9
|
+
{ text: 'Home', link: '/' },
|
|
10
|
+
{ text: 'Quickstart', link: '/quickstart' },
|
|
11
|
+
{ text: 'Templates', link: '/templates/' },
|
|
12
|
+
{ text: 'GitHub', link: 'https://github.com/rizvee/multimodel-dev-os' }
|
|
13
|
+
],
|
|
14
|
+
sidebar: [
|
|
15
|
+
{
|
|
16
|
+
text: 'Getting Started',
|
|
17
|
+
items: [
|
|
18
|
+
{ text: 'Introduction', link: '/' },
|
|
19
|
+
{ text: 'Quickstart', link: '/quickstart' },
|
|
20
|
+
{ text: 'FAQ', link: '/faq' }
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
text: 'Core Features',
|
|
25
|
+
items: [
|
|
26
|
+
{ text: 'Command Line Reference', link: '/CLI' },
|
|
27
|
+
{ text: 'Architecture Specifications', link: '/architecture' },
|
|
28
|
+
{ text: 'Adapters Setup Guide', link: '/adapters' },
|
|
29
|
+
{ text: 'Caveman Mode Specifications', link: '/caveman-mode' }
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
text: 'Templates & Use Cases',
|
|
34
|
+
items: [
|
|
35
|
+
{ text: 'Template Gallery', link: '/templates/' },
|
|
36
|
+
{ text: 'Use Cases Guide', link: '/use-cases' },
|
|
37
|
+
{ text: 'Templates Architecture', link: '/templates-guide' }
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
text: 'Operations & Publishing',
|
|
42
|
+
items: [
|
|
43
|
+
{ text: 'CLI Roadmap', link: '/cli-roadmap' },
|
|
44
|
+
{ text: 'NPM Publishing Runbook', link: '/npm-publishing' },
|
|
45
|
+
{ text: 'Pre-flight Release Testing', link: '/testing-v0.2' }
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
socialLinks: [
|
|
50
|
+
{ icon: 'github', link: 'https://github.com/rizvee/multimodel-dev-os' }
|
|
51
|
+
],
|
|
52
|
+
footer: {
|
|
53
|
+
message: 'Released under the MIT License.',
|
|
54
|
+
copyright: 'Copyright © 2026-present MultiModel Dev OS team.'
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
package/docs/CLI.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# CLI Command Reference
|
|
2
|
+
|
|
3
|
+
`multimodel-dev-os` features a lightweight, dependency-free local CLI utility. It allows standard bootstraps, structural integrity checks, and rule validations natively.
|
|
4
|
+
|
|
5
|
+
## Execution
|
|
6
|
+
|
|
7
|
+
Execute the CLI globally or inside target folder contexts using `npx`:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx multimodel-dev-os@latest <command> [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Or execute locally within a cloned workspace:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
node bin/multimodel-dev-os.js <command> [options]
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Commands
|
|
22
|
+
|
|
23
|
+
### 1. `init`
|
|
24
|
+
Scaffold `multimodel-dev-os` files and adapters cleanly.
|
|
25
|
+
* **Usage:** `node bin/multimodel-dev-os.js init [options]`
|
|
26
|
+
* **Options:**
|
|
27
|
+
- `-t, --target <path>`: Specifies target destination (default: current working directory).
|
|
28
|
+
- `--template <name>`: Stack blueprint: `nextjs-saas`, `wordpress-site`, `ecommerce-store`, `seo-landing-page`, `general-app`.
|
|
29
|
+
- `-a, --adapter <name>`: Inject rules file directly (`cursor`, `claude`, `vscode`, `gemini`, `antigravity`, `codex`).
|
|
30
|
+
- `--caveman`: Installs ultra-lightweight variant profiles.
|
|
31
|
+
- `-d, --dry-run`: Previews actions without mutated files.
|
|
32
|
+
- `-f, --force`: Overwrites conflicts.
|
|
33
|
+
|
|
34
|
+
### 2. `validate`
|
|
35
|
+
Strict directory schema compliance gate checks.
|
|
36
|
+
* **Usage:** `node bin/multimodel-dev-os.js validate [options]`
|
|
37
|
+
* **Assertions:** Checks for the presence of crucial root files and enabled adapters' rule targets. If assertions fail, exits with status 1.
|
|
38
|
+
|
|
39
|
+
### 3. `doctor`
|
|
40
|
+
Advisory checkups for gitignores and large token-sinks.
|
|
41
|
+
* **Usage:** `node bin/multimodel-dev-os.js doctor [options]`
|
|
42
|
+
* **Audits:** Missing `.env` gates in gitignores, missing build steps inside `AGENTS.md`, and large unignored directories (e.g. `node_modules`, `.next`). Reports warnings without blocking execution.
|
|
43
|
+
|
|
44
|
+
### 4. `templates` / `list-templates`
|
|
45
|
+
Inspection map of all built-in stacks.
|
|
46
|
+
* **Usage:** `node bin/multimodel-dev-os.js templates`
|
|
47
|
+
|
|
48
|
+
### 5. `show-template <name>`
|
|
49
|
+
Detailed layout specifications and skill blueprints audit.
|
|
50
|
+
* **Usage:** `node bin/multimodel-dev-os.js show-template nextjs-saas`
|
package/docs/index.md
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: home
|
|
3
|
+
|
|
4
|
+
hero:
|
|
5
|
+
name: "MultiModel Dev OS"
|
|
6
|
+
text: "Standardize your AI pair-programmers"
|
|
7
|
+
tagline: "Portable, vendor-neutral workspace configurations for multi-agent coding loops."
|
|
8
|
+
image:
|
|
9
|
+
src: /logo.png
|
|
10
|
+
alt: MultiModel Dev OS Logo
|
|
11
|
+
actions:
|
|
12
|
+
- theme: brand
|
|
13
|
+
text: Get Started Quick
|
|
14
|
+
link: /quickstart
|
|
15
|
+
- theme: alt
|
|
16
|
+
text: View Template Gallery
|
|
17
|
+
link: /templates/
|
|
18
|
+
- theme: alt
|
|
19
|
+
text: View on GitHub
|
|
20
|
+
link: https://github.com/rizvee/multimodel-dev-os
|
|
21
|
+
|
|
22
|
+
features:
|
|
23
|
+
- icon: 🧠
|
|
24
|
+
title: Universal Portability
|
|
25
|
+
details: Supports Codex, Antigravity, Cursor, Claude Code, Gemini, and VS Code with dynamic adapters sync.
|
|
26
|
+
- icon: ⚡
|
|
27
|
+
title: Ultra-Low Token Footprint
|
|
28
|
+
details: Includes Caveman Mode to slash model context footprint by ~79%, saving massive API bill budgets.
|
|
29
|
+
- icon: 🛡️
|
|
30
|
+
title: Local Quality Gates
|
|
31
|
+
details: Build-in zero-dependency validate and doctor checkups ensure pristine workspace rules layout.
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
<style>
|
|
35
|
+
:root {
|
|
36
|
+
--vp-home-hero-name-color: transparent;
|
|
37
|
+
--vp-home-hero-name-background: linear-gradient(135deg, #646cff 0%, #42b883 100%);
|
|
38
|
+
}
|
|
39
|
+
</style>
|
|
40
|
+
|
|
41
|
+
## 10-Second Quickstart
|
|
42
|
+
|
|
43
|
+
Bootstrap your project instantly via `npx`:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
npx multimodel-dev-os@latest init
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Why MultiModel Dev OS?
|
|
50
|
+
|
|
51
|
+
AI coding tools are incredibly fast, but switching between them introduces context fragmentation:
|
|
52
|
+
1. **Context Loss:** You use **Cursor** for quick code completions, **Claude Code** for command-line implementations, and **Gemini/Antigravity** for auditing large code volumes. Every context switch drops your operational parameters.
|
|
53
|
+
2. **Instruction Drift:** Different tools look for different files (`.cursorrules`, `CLAUDE.md`, `.vscode/settings.json`, `.gemini/settings.json`). If you modify build scripts or styling rules in one place, they quickly drift across others, causing confusing compile failures.
|
|
54
|
+
|
|
55
|
+
`multimodel-dev-os` establishes a single source of truth inside your repository using a standardized root structure (`AGENTS.md`, `MEMORY.md`, `TASKS.md`, `RUNBOOK.md`) and a `.ai/` context configuration directory.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Scaffolding Template Gallery
|
|
2
|
+
|
|
3
|
+
`multimodel-dev-os` provides high-fidelity, real-world scaffolding profiles for common architectural targets.
|
|
4
|
+
|
|
5
|
+
## Stacks Blueprints
|
|
6
|
+
|
|
7
|
+
### [Next.js SaaS Stack](/use-cases.html#_1-next-js-saas-stack)
|
|
8
|
+
- **Tech Stack:** Next.js 14 App Router, TypeScript, React Server Actions, Prisma, Stripe.
|
|
9
|
+
- **Skill File:** `.ai/skills/nextjs-action-build.md` (form parameters validation and isolation conventions).
|
|
10
|
+
- **Audit Target:** `npx multimodel-dev-os init --template nextjs-saas`
|
|
11
|
+
|
|
12
|
+
### [WordPress Theme & Plugin Custom Site](/use-cases.html#_4-wordpress-custom-site)
|
|
13
|
+
- **Tech Stack:** WordPress Core, PHP 8.1+, Gutenberg custom blocks, MySQL.
|
|
14
|
+
- **Skill File:** `.ai/skills/plugin-boilerplate.md` (database escape statements and esc_html gates).
|
|
15
|
+
- **Audit Target:** `npx multimodel-dev-os init --template wordpress-site`
|
|
16
|
+
|
|
17
|
+
### [Headless E-commerce Cart](/use-cases.html#_2-headless-e-commerce-store)
|
|
18
|
+
- **Tech Stack:** MedusaJS, Stripe API, cart session structures.
|
|
19
|
+
- **Skill File:** `.ai/skills/webhook-handler.md` (Checkout validation loops and webhook signatures auditing).
|
|
20
|
+
- **Audit Target:** `npx multimodel-dev-os init --template ecommerce-store`
|
|
21
|
+
|
|
22
|
+
### [SEO Astro Landing Layout](/use-cases.html#_3-seo-landing-page)
|
|
23
|
+
- **Tech Stack:** Astro, Tailwind, HTML5, structured JSON-LD schemas.
|
|
24
|
+
- **Skill File:** `.ai/skills/seo-audit.md` (Image compression parameters and meta validations).
|
|
25
|
+
- **Audit Target:** `npx multimodel-dev-os init --template seo-landing-page`
|
|
26
|
+
|
|
27
|
+
### [General Universal App API](/use-cases.html#_5-general-application-scaffolding)
|
|
28
|
+
- **Tech Stack:** Node, Express, PostgreSQL, Jest.
|
|
29
|
+
- **Skill File:** `.ai/skills/example-skill.md` (Standardized environment variables and validation middleware).
|
|
30
|
+
- **Audit Target:** `npx multimodel-dev-os init --template general-app`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "multimodel-dev-os",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"bin": {
|
|
5
5
|
"multimodel-dev-os": "bin/multimodel-dev-os.js"
|
|
6
6
|
},
|
|
@@ -31,6 +31,8 @@
|
|
|
31
31
|
"adapters/",
|
|
32
32
|
"scripts/",
|
|
33
33
|
"docs/",
|
|
34
|
+
"!docs/.vitepress/dist/",
|
|
35
|
+
"!docs/.vitepress/cache/",
|
|
34
36
|
"examples/",
|
|
35
37
|
"bin/"
|
|
36
38
|
],
|
|
@@ -39,6 +41,12 @@
|
|
|
39
41
|
"verify:bash": "bash scripts/verify.sh",
|
|
40
42
|
"test:cli": "node bin/multimodel-dev-os.js verify",
|
|
41
43
|
"pack:template": "bash scripts/pack-template.sh",
|
|
42
|
-
"pack": "bash scripts/pack-template.sh"
|
|
44
|
+
"pack": "bash scripts/pack-template.sh",
|
|
45
|
+
"docs:dev": "vitepress dev docs",
|
|
46
|
+
"docs:build": "vitepress build docs",
|
|
47
|
+
"docs:preview": "vitepress preview docs"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"vitepress": "^1.6.4"
|
|
43
51
|
}
|
|
44
52
|
}
|
package/scripts/verify.js
CHANGED
|
@@ -198,14 +198,16 @@ checkFile('docs/templates-guide.md');
|
|
|
198
198
|
// --- CLI & Packaging Pre-Flight Tests ---
|
|
199
199
|
console.log('\nRunning CLI & Packaging Pre-Flight Tests...');
|
|
200
200
|
|
|
201
|
-
// Verify package.json version
|
|
201
|
+
// Verify package.json version dynamically
|
|
202
|
+
let expectedVersion = '';
|
|
202
203
|
try {
|
|
203
204
|
const pkgData = JSON.parse(readFileSync(join(projectRoot, 'package.json'), 'utf8'));
|
|
204
|
-
|
|
205
|
-
|
|
205
|
+
expectedVersion = pkgData.version;
|
|
206
|
+
if (!expectedVersion || !/^\d+\.\d+\.\d+/.test(expectedVersion)) {
|
|
207
|
+
console.error(` ${RED}✗${NC} package.json version is invalid (found ${expectedVersion})`);
|
|
206
208
|
fail++;
|
|
207
209
|
} else {
|
|
208
|
-
console.log(` ${GREEN}✓${NC} package.json version is
|
|
210
|
+
console.log(` ${GREEN}✓${NC} package.json version is valid: ${expectedVersion}`);
|
|
209
211
|
pass++;
|
|
210
212
|
}
|
|
211
213
|
} catch (e) {
|
|
@@ -213,14 +215,14 @@ try {
|
|
|
213
215
|
fail++;
|
|
214
216
|
}
|
|
215
217
|
|
|
216
|
-
// Verify CLI help displays
|
|
218
|
+
// Verify CLI help displays current version dynamically
|
|
217
219
|
try {
|
|
218
220
|
const helpOutput = execSync('node bin/multimodel-dev-os.js --help', { cwd: projectRoot, encoding: 'utf8' });
|
|
219
|
-
if (!helpOutput.includes(
|
|
220
|
-
console.error(` ${RED}✗${NC} CLI help does not display
|
|
221
|
+
if (!helpOutput.includes(`v${expectedVersion}`)) {
|
|
222
|
+
console.error(` ${RED}✗${NC} CLI help does not display v${expectedVersion}`);
|
|
221
223
|
fail++;
|
|
222
224
|
} else {
|
|
223
|
-
console.log(` ${GREEN}✓${NC} CLI help displays
|
|
225
|
+
console.log(` ${GREEN}✓${NC} CLI help displays v${expectedVersion}`);
|
|
224
226
|
pass++;
|
|
225
227
|
}
|
|
226
228
|
} catch (e) {
|
|
@@ -228,25 +230,24 @@ try {
|
|
|
228
230
|
fail++;
|
|
229
231
|
}
|
|
230
232
|
|
|
231
|
-
// Verify npm pack dry-run shows
|
|
233
|
+
// Verify npm pack dry-run shows current version dynamically
|
|
232
234
|
try {
|
|
233
235
|
const packOutput = execSync('npm pack --dry-run', { cwd: projectRoot, encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'] });
|
|
234
|
-
if (packOutput.includes(
|
|
235
|
-
console.log(` ${GREEN}✓${NC} npm pack --dry-run reports version
|
|
236
|
+
if (packOutput.includes(`multimodel-dev-os@${expectedVersion}`) || packOutput.includes(`multimodel-dev-os-${expectedVersion}.tgz`) || packOutput.includes(`version: ${expectedVersion}`)) {
|
|
237
|
+
console.log(` ${GREEN}✓${NC} npm pack --dry-run reports version ${expectedVersion}`);
|
|
236
238
|
pass++;
|
|
237
239
|
} else {
|
|
238
|
-
|
|
239
|
-
console.error(` ${RED}✗${NC} npm pack --dry-run did not report 0.5.1 in stdout`);
|
|
240
|
+
console.error(` ${RED}✗${NC} npm pack --dry-run did not report ${expectedVersion} in stdout`);
|
|
240
241
|
fail++;
|
|
241
242
|
}
|
|
242
243
|
} catch (e) {
|
|
243
244
|
const stdErrOut = e.stderr ? e.stderr.toString() : '';
|
|
244
245
|
const stdOutOut = e.stdout ? e.stdout.toString() : '';
|
|
245
|
-
if (stdErrOut.includes(
|
|
246
|
-
console.log(` ${GREEN}✓${NC} npm pack --dry-run reports version
|
|
246
|
+
if (stdErrOut.includes(`multimodel-dev-os@${expectedVersion}`) || stdErrOut.includes(`multimodel-dev-os-${expectedVersion}.tgz`) || stdOutOut.includes(`multimodel-dev-os-${expectedVersion}.tgz`)) {
|
|
247
|
+
console.log(` ${GREEN}✓${NC} npm pack --dry-run reports version ${expectedVersion}`);
|
|
247
248
|
pass++;
|
|
248
249
|
} else {
|
|
249
|
-
console.error(` ${RED}✗${NC} npm pack --dry-run failed or did not report
|
|
250
|
+
console.error(` ${RED}✗${NC} npm pack --dry-run failed or did not report ${expectedVersion}: ${e.message}`);
|
|
250
251
|
fail++;
|
|
251
252
|
}
|
|
252
253
|
}
|
package/scripts/verify.sh
CHANGED
|
@@ -197,30 +197,33 @@ check_file "docs/npm-publishing.md"
|
|
|
197
197
|
echo ""
|
|
198
198
|
echo "Running CLI & Packaging Pre-Flight Tests..."
|
|
199
199
|
|
|
200
|
-
#
|
|
201
|
-
|
|
202
|
-
|
|
200
|
+
# Extract version dynamically from package.json
|
|
201
|
+
VERSION=$(node -e "import fs from 'fs'; console.log(JSON.parse(fs.readFileSync('package.json')).version)")
|
|
202
|
+
|
|
203
|
+
# Verify package.json version exists and is valid
|
|
204
|
+
if [ -z "$VERSION" ]; then
|
|
205
|
+
echo -e " ${RED}✗${NC} package.json version could not be resolved"
|
|
203
206
|
FAIL=$((FAIL + 1))
|
|
204
207
|
else
|
|
205
|
-
echo -e " ${GREEN}✓${NC} package.json version
|
|
208
|
+
echo -e " ${GREEN}✓${NC} package.json version dynamically resolved: $VERSION"
|
|
206
209
|
PASS=$((PASS + 1))
|
|
207
210
|
fi
|
|
208
211
|
|
|
209
|
-
# Verify CLI version matches
|
|
210
|
-
if ! node bin/multimodel-dev-os.js --help | grep -q
|
|
211
|
-
echo -e " ${RED}✗${NC} CLI help does not display
|
|
212
|
+
# Verify CLI version matches dynamically
|
|
213
|
+
if ! node bin/multimodel-dev-os.js --help | grep -q "v$VERSION"; then
|
|
214
|
+
echo -e " ${RED}✗${NC} CLI help does not display v$VERSION"
|
|
212
215
|
FAIL=$((FAIL + 1))
|
|
213
216
|
else
|
|
214
|
-
echo -e " ${GREEN}✓${NC} CLI help displays
|
|
217
|
+
echo -e " ${GREEN}✓${NC} CLI help displays v$VERSION"
|
|
215
218
|
PASS=$((PASS + 1))
|
|
216
219
|
fi
|
|
217
220
|
|
|
218
|
-
# Verify npm pack dry-run shows
|
|
219
|
-
if ! npm pack --dry-run 2>&1 | grep -q
|
|
220
|
-
echo -e " ${RED}✗${NC} npm pack --dry-run does not report version
|
|
221
|
+
# Verify npm pack dry-run shows correct version dynamically
|
|
222
|
+
if ! npm pack --dry-run 2>&1 | grep -q "multimodel-dev-os@$VERSION\|multimodel-dev-os-$VERSION.tgz"; then
|
|
223
|
+
echo -e " ${RED}✗${NC} npm pack --dry-run does not report version $VERSION"
|
|
221
224
|
FAIL=$((FAIL + 1))
|
|
222
225
|
else
|
|
223
|
-
echo -e " ${GREEN}✓${NC} npm pack --dry-run reports version
|
|
226
|
+
echo -e " ${GREEN}✓${NC} npm pack --dry-run reports version $VERSION"
|
|
224
227
|
PASS=$((PASS + 1))
|
|
225
228
|
fi
|
|
226
229
|
|