multimodel-dev-os 3.0.0 → 3.1.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 +6 -2
- package/bin/multimodel-dev-os.js +3433 -3565
- package/docs/.vitepress/config.js +3 -3
- package/docs/catalog.md +1 -1
- package/docs/npm-publishing.md +6 -6
- package/docs/package-safety.md +8 -0
- package/docs/public/llms-full.txt +2 -2
- package/docs/public/llms.txt +1 -1
- package/docs/public/sitemap.xml +5 -0
- package/docs/registry-policy.md +4 -0
- package/docs/registry-security.md +8 -1
- package/docs/registry-sync.md +6 -0
- package/docs/testing.md +123 -0
- package/docs/trusted-registries.md +4 -0
- package/docs/v3-roadmap.md +97 -0
- package/package.json +7 -3
- package/scripts/build-cli.js +17 -0
- package/scripts/install.ps1 +1 -1
- package/scripts/install.sh +1 -1
- package/scripts/verify.js +101 -10
- package/scripts/verify.sh +1 -1
- package/docs/testing-v0.2.md +0 -73
- package/docs/v2-roadmap.md +0 -116
package/docs/testing-v0.2.md
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
# multimodel-dev-os v0.2.0 Testing Documentation
|
|
2
|
-
|
|
3
|
-
This document describes how to execute local test cases to verify the `bin/multimodel-dev-os.js` CLI tool and installer scripts.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## 1. Platform Requirements
|
|
8
|
-
* **Node.js:** v18.0.0 or higher.
|
|
9
|
-
* **Unix-like Shell (Git Bash, macOS Terminal, Linux Bash):** Required for executing `.sh` scripts.
|
|
10
|
-
* **Windows PowerShell:** Required for executing `.ps1` scripts.
|
|
11
|
-
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
## 2. CLI Validation Tests
|
|
15
|
-
|
|
16
|
-
### Test Case A: Help Command
|
|
17
|
-
Ensures the argument parser and help outputs render correctly.
|
|
18
|
-
```bash
|
|
19
|
-
# Git Bash / macOS / Linux / PowerShell
|
|
20
|
-
node bin/multimodel-dev-os.js --help
|
|
21
|
-
```
|
|
22
|
-
* **Expected Output:** Displays correct option flags, commands (`init`, `verify`), and versions.
|
|
23
|
-
|
|
24
|
-
### Test Case B: Structural Verification Check
|
|
25
|
-
Verifies structural presence of 20 critical files inside the repository.
|
|
26
|
-
```bash
|
|
27
|
-
# Git Bash / macOS / Linux / PowerShell
|
|
28
|
-
node bin/multimodel-dev-os.js verify
|
|
29
|
-
```
|
|
30
|
-
* **Expected Output:** Outputs `✓` indicators for each file and returns a `PASSED` status with exit code `0`.
|
|
31
|
-
|
|
32
|
-
### Test Case C: Dry-Run Scaffolding Check
|
|
33
|
-
Validates loading of custom templates (e.g. `nextjs-saas`) and adapter boundaries without actual writes.
|
|
34
|
-
```bash
|
|
35
|
-
# Git Bash / macOS / Linux / PowerShell
|
|
36
|
-
node bin/multimodel-dev-os.js init --target ./test-project --template nextjs-saas --adapter cursor --dry-run
|
|
37
|
-
```
|
|
38
|
-
* **Expected Output:** Outputs 61 `[DRY-RUN] WOULD CREATE` operation logs and a final `Project initialized successfully!` success message.
|
|
39
|
-
|
|
40
|
-
### Test Case D: Conflict Prevention Check
|
|
41
|
-
Verifies that the CLI protects existing files from overwrites.
|
|
42
|
-
```bash
|
|
43
|
-
# 1. Create a dummy file
|
|
44
|
-
mkdir -p test-conflict && touch test-conflict/AGENTS.md
|
|
45
|
-
|
|
46
|
-
# 2. Run init without force
|
|
47
|
-
node bin/multimodel-dev-os.js init --target ./test-conflict
|
|
48
|
-
```
|
|
49
|
-
* **Expected Output:** Safely aborts, prints a red `CONFLICT` warning, and exits with code `1`.
|
|
50
|
-
|
|
51
|
-
### Test Case E: Overwrite Override Check
|
|
52
|
-
Verifies that `--force` successfully bypasses conflict protection.
|
|
53
|
-
```bash
|
|
54
|
-
# Run init with force
|
|
55
|
-
node bin/multimodel-dev-os.js init --target ./test-conflict --force
|
|
56
|
-
```
|
|
57
|
-
* **Expected Output:** Overwrites conflicting files and completes successfully.
|
|
58
|
-
|
|
59
|
-
---
|
|
60
|
-
|
|
61
|
-
## 3. Script Installer Validation Tests
|
|
62
|
-
|
|
63
|
-
### macOS / Linux / WSL (bash):
|
|
64
|
-
```bash
|
|
65
|
-
# Run dry-run installation
|
|
66
|
-
bash scripts/install.sh --dry-run
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
### Windows (PowerShell):
|
|
70
|
-
```powershell
|
|
71
|
-
# Run dry-run installation
|
|
72
|
-
.\scripts\install.ps1 -DryRun
|
|
73
|
-
```
|
package/docs/v2-roadmap.md
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
# MultiModel Dev OS — Roadmap: v2.x → v3.0
|
|
2
|
-
|
|
3
|
-
This document outlines the development path, completed milestones, and future plans for MultiModel Dev OS.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## 1. Current Status
|
|
8
|
-
|
|
9
|
-
> [!IMPORTANT]
|
|
10
|
-
> **v2.9.0 is the active stable release** on the public npm registry. All features below marked ✅ are shipped and production-ready.
|
|
11
|
-
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
## 2. Completed Milestones
|
|
15
|
-
|
|
16
|
-
### v2.0.0 — Template Galaxy & Model Registry ✅
|
|
17
|
-
- Standardized model registries under `.ai/models/` (registry, providers, routing presets, local models)
|
|
18
|
-
- Adapter registry expansion under `.ai/adapters/registry.yaml`
|
|
19
|
-
- Android Expo mobile template (`examples/expo-react-native-android/`)
|
|
20
|
-
- CLI registry subcommands: `models`, `show-model`, `providers`, `route-model`, `adapters`, `show-adapter`, `skills`, `show-skill`
|
|
21
|
-
- Stable npm publication resumed
|
|
22
|
-
|
|
23
|
-
### v2.2.0 — Codebase Scanner & Memory Engine ✅
|
|
24
|
-
- `scan` command to inspect frameworks, package managers, and AI Dev OS files
|
|
25
|
-
- `memory build`, `memory refresh`, and `memory diff` commands
|
|
26
|
-
- Hash-compressed memory indexing to `.ai/intelligence/memory.hash.json`
|
|
27
|
-
- Secret-safety exclusions for `.env`, `.npmrc`, `.keystore` files
|
|
28
|
-
|
|
29
|
-
### v2.3.0 — Feedback Learning & Proposal Engine ✅
|
|
30
|
-
- `feedback add`, `feedback list`, `feedback summarize` commands
|
|
31
|
-
- `improve propose`, `improve review`, `improve status` commands
|
|
32
|
-
- Read-only proposal drafting with safety gates
|
|
33
|
-
- Feedback logs and learning rules compilation
|
|
34
|
-
|
|
35
|
-
### v2.4.0 — Approved Proposal Application Engine ✅
|
|
36
|
-
- `improve validate`, `improve diff`, `improve apply` subcommands
|
|
37
|
-
- 12 strict safety gates including path boundary, protected paths, idempotency
|
|
38
|
-
- Applied Proposals Audit Log (`apply-log.jsonl`) with SHA-256 hashing
|
|
39
|
-
- Deterministic operations: `create_file`, `append_line`, `replace_text`
|
|
40
|
-
|
|
41
|
-
### v2.5.0 — Repository Intelligence Command Center ✅
|
|
42
|
-
- `status` command — compact operational dashboard
|
|
43
|
-
- `workflow list`, `show`, `plan`, `run` — multi-agent workflow orchestration
|
|
44
|
-
- `handoff build`, `handoff show` — token-compressed session context
|
|
45
|
-
- Safe execution boundaries — no destructive operations from workflows
|
|
46
|
-
|
|
47
|
-
### v2.6.0 — Real-Repo Onboarding & Adapter Sync ✅
|
|
48
|
-
- `onboard analyze`, `recommend`, `plan`, `apply`, `status` — existing repo onboarding
|
|
49
|
-
- `adapter status`, `diff`, `sync` — IDE adapter rule file synchronization
|
|
50
|
-
- Template recommendation heuristics with confidence scores
|
|
51
|
-
- Safety overwrites with automatic `.bak` backups
|
|
52
|
-
- `doctor --onboarding` diagnostics
|
|
53
|
-
|
|
54
|
-
### v2.7.0 — Website, Demo & Distribution System ✅
|
|
55
|
-
- Restructured homepage as a product conversion funnel
|
|
56
|
-
- Created 5 structured, copy-paste interactive demo workflow pages
|
|
57
|
-
- Documented comprehensive distribution and release workflows
|
|
58
|
-
- Added new SVG visual assets for onboarding and adapter sync flows
|
|
59
|
-
- Created docs-first examples for key developer workflows
|
|
60
|
-
- Updated sitemaps, model registries, and search indices
|
|
61
|
-
|
|
62
|
-
### v2.8.0 / v2.8.1 — Interactive TUI Dashboard & Plugin Hooks ✅
|
|
63
|
-
- **Interactive TUI Dashboard**: Added `dashboard`/`ui` command launching a zero-dependency keyboard-interactive command center built with Node's native `readline` module.
|
|
64
|
-
- **Declarative Plugin Hooks**: Added `plugin` command suite (`list`, `show`, `validate`, `install`, `status`) and JSON schema to securely extend workspace templates, workflows, and skills.
|
|
65
|
-
- **Secure Plugin Installer**: Supports `--approved` execution gate, path whitelisting to `.ai/` and `adapters/` directories, and automatic conflict `.bak` backups.
|
|
66
|
-
- **Headless Fallback & CI Polish**: Polish dry-run outputs and added `--list-actions` parameter to prevent TUI hangs in CI.
|
|
67
|
-
- **Path Traversal Hardening**: Enforce alphanumeric slug checks (`/^[a-z0-9-_]+$/i`) and pattern validation bounds to block traversal vectors.
|
|
68
|
-
|
|
69
|
-
### v2.9.0 — Local Workflow Marketplace & Plugin Catalog ✅
|
|
70
|
-
- **Workflow Marketplace**: Curated index catalog (`catalog.yaml` and `.ai/plugins/catalog/`) packaging 6 first-party plugins for Git, SEO, WordPress, Next.js, E-commerce, and releases.
|
|
71
|
-
- **Catalog CLI Commands**: Added `catalog list`, `catalog search`, `catalog show`, `catalog categories`, `catalog recommend`, `catalog install`, and `catalog status` to the zero-dependency CLI.
|
|
72
|
-
- **Recommendation Engine**: Automatically ranks and recommends marketplace plugins using package scripts, frameworks, languages, and repo type heuristics.
|
|
73
|
-
- **TUI Dashboard Integration**: Integrated read-only catalog actions (list, search, recommend, status) directly into the interactive command center.
|
|
74
|
-
- **Robust Safety Boundaries**: Reuses the plugin installer validations (traversal protection, whitelist directories, backup overwrites, and exit code 1 gates).
|
|
75
|
-
|
|
76
|
-
---
|
|
77
|
-
|
|
78
|
-
## 3. Publishing Workflow
|
|
79
|
-
|
|
80
|
-
All releases follow this strict publishing checklist:
|
|
81
|
-
|
|
82
|
-
1. Bump version in `package.json`
|
|
83
|
-
2. Run `npm run verify` (220+ assertions must pass)
|
|
84
|
-
3. Run `npm run docs:build` to verify documentation
|
|
85
|
-
4. Run `npm publish --dry-run` to review package hygiene
|
|
86
|
-
5. Set `MMDO_ALLOW_PUBLISH=true` and publish:
|
|
87
|
-
```bash
|
|
88
|
-
MMDO_ALLOW_PUBLISH=true npm publish --access public
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
---
|
|
92
|
-
|
|
93
|
-
## 4. Upcoming: v3.0.0 — Unified Autonomous Co-Pilot Ecosystem
|
|
94
|
-
|
|
95
|
-
* **Full Multi-Agent Orchestration**: Dynamic task handoffs between specialized agents.
|
|
96
|
-
* **Distributed Registry Syncing**: Team-wide configuration synchronization.
|
|
97
|
-
* **Cryptographic Proposal Signing**: Tamper-proof improvement proposals.
|
|
98
|
-
* **Real-Time Collaboration**: Live workspace state sharing between agents and developers.
|
|
99
|
-
|
|
100
|
-
---
|
|
101
|
-
|
|
102
|
-
## 5. Future: v3.0.0 — Unified Autonomous Co-Pilot Ecosystem
|
|
103
|
-
|
|
104
|
-
* **Full Multi-Agent Orchestration**: Dynamic task handoffs between specialized agents
|
|
105
|
-
* **Distributed Registry Syncing**: Team-wide configuration synchronization
|
|
106
|
-
* **Cryptographic Proposal Signing**: Tamper-proof improvement proposals
|
|
107
|
-
* **Real-Time Collaboration**: Live workspace state sharing between agents and developers
|
|
108
|
-
* **Cloud-Native Intelligence**: Optional cloud-backed memory and feedback aggregation
|
|
109
|
-
|
|
110
|
-
---
|
|
111
|
-
|
|
112
|
-
## 6. Migration Notes
|
|
113
|
-
|
|
114
|
-
* **From any v2.x**: Run `npx multimodel-dev-os@latest init --force` to pull latest configuration files. Existing files are backed up automatically.
|
|
115
|
-
* **From v1.x**: See the [Migration Guide](/migration-guide) for the upgrade path.
|
|
116
|
-
* **Fresh install**: Simply run `npx multimodel-dev-os@latest init` — no prior setup required.
|