multimodel-dev-os 2.0.1 → 2.8.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/.ai/intelligence/README.md +14 -0
- package/.ai/intelligence/apply-log.schema.json +65 -0
- package/.ai/intelligence/feedback-log.example.jsonl +2 -0
- package/.ai/intelligence/feedback.schema.json +47 -0
- package/.ai/intelligence/improvement-proposal.schema.json +70 -0
- package/.ai/intelligence/learning-rules.example.md +18 -0
- package/.ai/intelligence/memory.schema.json +97 -0
- package/.ai/plugins/README.md +30 -0
- package/.ai/plugins/plugin.example.yaml +32 -0
- package/.ai/policies/approval-gates.md +35 -0
- package/.ai/policies/memory-policy.md +30 -0
- package/.ai/policies/self-improvement-policy.md +39 -0
- package/.ai/proposals/README.md +44 -0
- package/.ai/proposals/apply-operation.example.json +22 -0
- package/.ai/registries/capabilities.yaml +73 -0
- package/.ai/registries/tools.yaml +84 -0
- package/.ai/registries/workflows.yaml +217 -0
- package/.ai/schema/plugin.schema.json +56 -0
- package/README.md +116 -138
- package/assets/adapter-sync-flow.svg +84 -0
- package/assets/architecture-preview.svg +46 -31
- package/assets/onboarding-flow.svg +79 -0
- package/assets/social-preview.svg +1 -1
- package/assets/terminal-demo.svg +22 -23
- package/bin/multimodel-dev-os.js +3472 -7
- package/docs/.vitepress/config.js +46 -7
- package/docs/5-day-roadmap.md +9 -9
- package/docs/CLI.md +260 -34
- package/docs/adapter-sync.md +27 -0
- package/docs/adapters.md +16 -0
- package/docs/agent-handoff.md +40 -0
- package/docs/approved-proposal-apply.md +156 -0
- package/docs/architecture.md +31 -7
- package/docs/capability-registry.md +24 -0
- package/docs/comparison.md +72 -25
- package/docs/compatibility.md +2 -2
- package/docs/dashboard.md +105 -0
- package/docs/demo.md +23 -60
- package/docs/demos/adapter-sync.md +103 -0
- package/docs/demos/existing-repo-onboarding.md +125 -0
- package/docs/demos/index.md +91 -0
- package/docs/demos/multi-agent-handoff.md +88 -0
- package/docs/demos/release-check.md +109 -0
- package/docs/demos/safe-improvement-loop.md +119 -0
- package/docs/distribution.md +195 -0
- package/docs/faq.md +91 -24
- package/docs/feedback-learning.md +33 -0
- package/docs/future-proof-architecture.md +22 -0
- package/docs/hash-compressed-memory.md +72 -0
- package/docs/improvement-proposals.md +70 -0
- package/docs/index.md +192 -81
- package/docs/installers.md +18 -4
- package/docs/launch-kit.md +97 -49
- package/docs/learning-rules.md +36 -0
- package/docs/npm-publishing.md +6 -6
- package/docs/plugin-authoring.md +99 -0
- package/docs/plugin-hooks.md +80 -0
- package/docs/public/assets/adapter-sync-flow.svg +84 -0
- package/docs/public/assets/onboarding-flow.svg +79 -0
- package/docs/public/llms-full.txt +47 -4
- package/docs/public/llms.txt +55 -2
- package/docs/public/sitemap.xml +85 -0
- package/docs/quickstart.md +82 -22
- package/docs/real-repo-onboarding.md +27 -0
- package/docs/repository-command-center.md +68 -0
- package/docs/self-improving-codebase.md +46 -0
- package/docs/template-recommendation.md +22 -0
- package/docs/templates-guide.md +11 -0
- package/docs/tool-registry.md +21 -0
- package/docs/tui-safety.md +59 -0
- package/docs/use-cases.md +21 -0
- package/docs/v2-roadmap.md +78 -71
- package/docs/workflow-orchestration.md +62 -0
- package/examples/adapter-sync/README.md +45 -0
- package/examples/command-center/README.md +59 -0
- package/examples/real-repo-onboarding/README.md +53 -0
- package/examples/safe-improvement-loop/README.md +48 -0
- package/package.json +1 -1
- package/scripts/install.ps1 +1 -1
- package/scripts/install.sh +1 -1
- package/scripts/verify.js +107 -3
|
@@ -32,7 +32,7 @@ export default {
|
|
|
32
32
|
'license': 'https://opensource.org/licenses/MIT',
|
|
33
33
|
'url': 'https://github.com/rizvee/multimodel-dev-os',
|
|
34
34
|
'downloadUrl': 'https://www.npmjs.com/package/multimodel-dev-os',
|
|
35
|
-
'softwareVersion': '2.0
|
|
35
|
+
'softwareVersion': '2.8.0',
|
|
36
36
|
'description': 'Portable, vendor-neutral AI Developer OS for multi-agent coding workflows.'
|
|
37
37
|
})
|
|
38
38
|
]
|
|
@@ -50,11 +50,30 @@ export default {
|
|
|
50
50
|
text: 'Getting Started',
|
|
51
51
|
items: [
|
|
52
52
|
{ text: 'Introduction', link: '/' },
|
|
53
|
-
{ text: 'Interactive CLI Demo', link: '/demo' },
|
|
54
53
|
{ text: 'Quickstart', link: '/quickstart' },
|
|
54
|
+
{ text: 'Interactive CLI Demo', link: '/demo' },
|
|
55
55
|
{ text: 'FAQ', link: '/faq' }
|
|
56
56
|
]
|
|
57
57
|
},
|
|
58
|
+
{
|
|
59
|
+
text: 'Demo Workflows',
|
|
60
|
+
items: [
|
|
61
|
+
{ text: 'Demo Hub', link: '/demos/' },
|
|
62
|
+
{ text: 'Existing Repo Onboarding', link: '/demos/existing-repo-onboarding' },
|
|
63
|
+
{ text: 'Adapter Sync', link: '/demos/adapter-sync' },
|
|
64
|
+
{ text: 'Safe Improvement Loop', link: '/demos/safe-improvement-loop' },
|
|
65
|
+
{ text: 'Multi-Agent Handoff', link: '/demos/multi-agent-handoff' },
|
|
66
|
+
{ text: 'Release Check', link: '/demos/release-check' }
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
text: 'Repo Onboarding & Adapters',
|
|
71
|
+
items: [
|
|
72
|
+
{ text: 'Real Repo Onboarding', link: '/real-repo-onboarding' },
|
|
73
|
+
{ text: 'IDE Adapter Sync', link: '/adapter-sync' },
|
|
74
|
+
{ text: 'Template Recommendation', link: '/template-recommendation' }
|
|
75
|
+
]
|
|
76
|
+
},
|
|
58
77
|
{
|
|
59
78
|
text: 'Protocol & QA Specifications',
|
|
60
79
|
items: [
|
|
@@ -137,16 +156,36 @@ export default {
|
|
|
137
156
|
]
|
|
138
157
|
},
|
|
139
158
|
{
|
|
140
|
-
text: '
|
|
159
|
+
text: 'Self-Improvement Engine',
|
|
141
160
|
items: [
|
|
142
|
-
{ text: '
|
|
161
|
+
{ text: 'Self-Improving Codebase', link: '/self-improving-codebase' },
|
|
162
|
+
{ text: 'Improvement Proposals', link: '/improvement-proposals' },
|
|
163
|
+
{ text: 'Feedback Learning Loop', link: '/feedback-learning' },
|
|
164
|
+
{ text: 'Hash-Compressed Memory', link: '/hash-compressed-memory' },
|
|
165
|
+
{ text: 'Learning Rules', link: '/learning-rules' },
|
|
166
|
+
{ text: 'Approved Proposal Application', link: '/approved-proposal-apply' },
|
|
167
|
+
{ text: 'Repository Command Center', link: '/repository-command-center' },
|
|
168
|
+
{ text: 'Workflow Orchestration', link: '/workflow-orchestration' },
|
|
169
|
+
{ text: 'Agent Handoff Spec', link: '/agent-handoff' },
|
|
170
|
+
{ text: 'Interactive TUI Dashboard', link: '/dashboard' },
|
|
171
|
+
{ text: 'Declarative Plugin Hooks', link: '/plugin-hooks' },
|
|
172
|
+
{ text: 'Plugin Authoring Guide', link: '/plugin-authoring' },
|
|
173
|
+
{ text: 'TUI & Plugin Safety', link: '/tui-safety' }
|
|
174
|
+
]
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
text: 'Distribution & Release',
|
|
178
|
+
items: [
|
|
179
|
+
{ text: 'Distribution Guide', link: '/distribution' },
|
|
180
|
+
{ text: 'NPM Publishing Runbook', link: '/npm-publishing' },
|
|
143
181
|
{ text: 'Release Playbook Template', link: '/release-template' },
|
|
182
|
+
{ text: 'Public Launch Checklist', link: '/launch-checklist' },
|
|
183
|
+
{ text: 'Launch & Sharing Kit', link: '/launch-kit' },
|
|
144
184
|
{ text: 'CLI Roadmap', link: '/cli-roadmap' },
|
|
145
|
-
{ text: 'v2
|
|
146
|
-
{ text: 'NPM Publishing Runbook', link: '/npm-publishing' },
|
|
147
|
-
{ text: 'Pre-flight Release Testing', link: '/testing-v0.2' },
|
|
185
|
+
{ text: 'v2 Roadmap', link: '/v2-roadmap' },
|
|
148
186
|
{ text: 'Release Policy', link: '/release-policy' },
|
|
149
187
|
{ text: 'Support Policy', link: '/support-policy' },
|
|
188
|
+
{ text: 'Pre-flight Release Testing', link: '/testing-v0.2' },
|
|
150
189
|
{ text: 'Final Launch Guidelines', link: '/final-launch' },
|
|
151
190
|
{ text: 'v1.0.0 Release Checklist', link: '/v1-checklist' }
|
|
152
191
|
]
|
package/docs/5-day-roadmap.md
CHANGED
|
@@ -30,8 +30,8 @@ The timeline maps the progress from a fresh install to automated pull request ve
|
|
|
30
30
|
### Day 2: Fill Project Memory (Core Workspace Contracts)
|
|
31
31
|
- **Objective:** Author the central single source of truth files.
|
|
32
32
|
- **Tasks:**
|
|
33
|
-
1. Edit [AGENTS.md](file:///
|
|
34
|
-
2. Edit [MEMORY.md](file:///
|
|
33
|
+
1. Edit [AGENTS.md](file:///f:/multimodel-dev-os/AGENTS.md) — detail your project overview, technology stack, build commands, and strict directory boundaries (`no-touch` blocks).
|
|
34
|
+
2. Edit [MEMORY.md](file:///f:/multimodel-dev-os/MEMORY.md) — log architectural decisions, third-party credentials rules, and project milestones.
|
|
35
35
|
3. Verify file placement is correct inside the root folder.
|
|
36
36
|
|
|
37
37
|
---
|
|
@@ -39,18 +39,18 @@ The timeline maps the progress from a fresh install to automated pull request ve
|
|
|
39
39
|
### Day 3: Configure Skills & Checks (Custom Prompt Packs)
|
|
40
40
|
- **Objective:** Assemble reusable instructions for common development routines.
|
|
41
41
|
- **Tasks:**
|
|
42
|
-
1. Author specific command workflows inside [.ai/skills/](file:///
|
|
43
|
-
2. Define validation constraints in [.ai/checks/](file:///
|
|
44
|
-
3. Edit [.ai/prompts/](file:///
|
|
42
|
+
1. Author specific command workflows inside [.ai/skills/](file:///f:/multimodel-dev-os/.ai/skills/) (e.g. database setup scripts, feature-specific build guidelines).
|
|
43
|
+
2. Define validation constraints in [.ai/checks/](file:///f:/multimodel-dev-os/.ai/checks/) (e.g. regression checks, test coverage parameters).
|
|
44
|
+
3. Edit [.ai/prompts/](file:///f:/multimodel-dev-os/.ai/prompts/) to establish output formatting expectations.
|
|
45
45
|
|
|
46
46
|
---
|
|
47
47
|
|
|
48
48
|
### Day 4: Mount Adapters & Handoff Logs (Sync Environments)
|
|
49
49
|
- **Objective:** Synchronize the central rules with IDE settings and terminal agents.
|
|
50
50
|
- **Tasks:**
|
|
51
|
-
1.
|
|
51
|
+
1. Synchronize all adapters using the sync command:
|
|
52
52
|
```bash
|
|
53
|
-
npx multimodel-dev-os@latest
|
|
53
|
+
npx multimodel-dev-os@latest adapter sync all --approved
|
|
54
54
|
```
|
|
55
55
|
2. Confirm that `.cursorrules`, `CLAUDE.md`, and `.vscode/settings.json` mirror the central instructions properly.
|
|
56
56
|
3. Execute a local hand-off by creating a session log template inside `.ai/session-logs/` to pass context between agents.
|
|
@@ -62,11 +62,11 @@ The timeline maps the progress from a fresh install to automated pull request ve
|
|
|
62
62
|
- **Tasks:**
|
|
63
63
|
1. Run the local structure verification:
|
|
64
64
|
```bash
|
|
65
|
-
npx multimodel-dev-os validate
|
|
65
|
+
npx multimodel-dev-os@latest validate
|
|
66
66
|
```
|
|
67
67
|
2. Add validation gates to pre-commit hooks or CI workflows (e.g. `.github/workflows/verify.yml`).
|
|
68
68
|
3. Run diagnostic checkups using the `doctor` command:
|
|
69
69
|
```bash
|
|
70
|
-
npx multimodel-dev-os doctor
|
|
70
|
+
npx multimodel-dev-os@latest doctor
|
|
71
71
|
```
|
|
72
72
|
4. Educate the engineering team on executing validations before pushing code blocks.
|
package/docs/CLI.md
CHANGED
|
@@ -1,50 +1,276 @@
|
|
|
1
1
|
# CLI Command Reference
|
|
2
2
|
|
|
3
|
-
`multimodel-dev-os` features a lightweight, dependency-free
|
|
3
|
+
`multimodel-dev-os` features a lightweight, dependency-free CLI utility with **zero third-party runtime dependencies**. All commands work on Windows, macOS, and Linux.
|
|
4
4
|
|
|
5
5
|
## Execution
|
|
6
6
|
|
|
7
|
-
Execute the CLI globally or inside target folder contexts using `npx`:
|
|
8
|
-
|
|
9
7
|
```bash
|
|
8
|
+
# Via npx (recommended — no install needed)
|
|
10
9
|
npx multimodel-dev-os@latest <command> [options]
|
|
10
|
+
|
|
11
|
+
# Via local clone
|
|
12
|
+
node bin/multimodel-dev-os.js <command> [options]
|
|
11
13
|
```
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Commands
|
|
18
|
+
|
|
19
|
+
### 1. `init` — Scaffold Workspace
|
|
20
|
+
|
|
21
|
+
Scaffold MultiModel Dev OS files and adapters cleanly.
|
|
14
22
|
|
|
15
23
|
```bash
|
|
16
|
-
|
|
24
|
+
npx multimodel-dev-os@latest init [options]
|
|
17
25
|
```
|
|
18
26
|
|
|
27
|
+
| Option | Description |
|
|
28
|
+
|:---|:---|
|
|
29
|
+
| `-t, --target <path>` | Target destination (default: current directory) |
|
|
30
|
+
| `--template <name>` | Stack blueprint: `nextjs-saas`, `wordpress-site`, `ecommerce-store`, `seo-landing-page`, `expo-react-native-android`, `general-app` |
|
|
31
|
+
| `-a, --adapter <name>` | Inject adapter rules: `cursor`, `claude`, `vscode`, `gemini`, `antigravity`, `codex` |
|
|
32
|
+
| `--caveman` | Install ultra-lightweight token-optimized variant |
|
|
33
|
+
| `-d, --dry-run` | Preview actions without writing files |
|
|
34
|
+
| `-f, --force` | Overwrite existing files (creates `.bak` backups) |
|
|
35
|
+
|
|
19
36
|
---
|
|
20
37
|
|
|
21
|
-
|
|
38
|
+
### 2. `scan` — Codebase Scanner
|
|
39
|
+
|
|
40
|
+
Scan codebase structure, frameworks, package managers, and security/exclusion risks.
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
npx multimodel-dev-os@latest scan [--target <path>]
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
### 3. `status` — Intelligence Dashboard
|
|
49
|
+
|
|
50
|
+
Display a compact project intelligence dashboard summarizing package metadata, framework signals, memory state, feedback counts, proposals, and recommended next steps. Fully read-only.
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
npx multimodel-dev-os@latest status [--target <path>]
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
### 4. `memory` — Hash-Compressed Memory
|
|
59
|
+
|
|
60
|
+
Manage codebase hash-compressed memory index.
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
npx multimodel-dev-os@latest memory <subcommand> [--target <path>]
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
| Subcommand | Description |
|
|
67
|
+
|:---|:---|
|
|
68
|
+
| `build` | Full codebase scan → writes memory files |
|
|
69
|
+
| `refresh` | Incremental memory update based on file hash diffs |
|
|
70
|
+
| `diff` | Reports modified/added/removed files vs memory index (read-only) |
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
### 5. `feedback` — Developer Feedback Loop
|
|
22
75
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
###
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
76
|
+
Capture developer corrections and compile them into reusable learning rules.
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
npx multimodel-dev-os@latest feedback <subcommand> [options]
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
| Subcommand | Description |
|
|
83
|
+
|:---|:---|
|
|
84
|
+
| `add "<text>"` | Append a structured feedback entry |
|
|
85
|
+
| `list` | View all logged feedback entries |
|
|
86
|
+
| `summarize` | Compile feedback logs into `learning-rules.md` |
|
|
87
|
+
|
|
88
|
+
**Options:** `--type <type>` (correction, preference, bug) · `--tags <list>` · `--files <list>`
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
### 6. `improve` — Proposal Engine
|
|
93
|
+
|
|
94
|
+
Manage codebase optimization proposals and deterministic execution.
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
npx multimodel-dev-os@latest improve <subcommand> [options]
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
| Subcommand | Description |
|
|
101
|
+
|:---|:---|
|
|
102
|
+
| `propose` | Generate a codebase improvement proposal |
|
|
103
|
+
| `review` | List active proposals and their statuses |
|
|
104
|
+
| `status` | Show aggregate proposal status counts |
|
|
105
|
+
| `validate <file>` | Validate safety gates and parse operations |
|
|
106
|
+
| `diff <file>` | Preview changes in grouped diff format |
|
|
107
|
+
| `apply <file> --approved` | Apply approved operations to target codebase |
|
|
108
|
+
| `log` | Display Applied Proposals Audit Log history |
|
|
109
|
+
|
|
110
|
+
**Options:** `--title <text>` (with `propose`) · `--approved` (required for `apply`) · `--target <path>`
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
### 7. `workflow` — Workflow Orchestration
|
|
115
|
+
|
|
116
|
+
Orchestrate read-only development workflow pipelines.
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
npx multimodel-dev-os@latest workflow <subcommand> [options]
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
| Subcommand | Description |
|
|
123
|
+
|:---|:---|
|
|
124
|
+
| `list` | Print all registered workflows |
|
|
125
|
+
| `show <name>` | Display workflow details, risk level, and steps |
|
|
126
|
+
| `plan <name>` | Dry-run preview of workflow steps |
|
|
127
|
+
| `run <name>` | Execute safe, read-only workflow steps |
|
|
128
|
+
|
|
129
|
+
**Built-in workflows:** `repo-health` · `memory-refresh` · `feedback-review` · `proposal-review` · `release-check`
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
### 8. `handoff` — Agent Session Handoff
|
|
134
|
+
|
|
135
|
+
Compile token-compressed agent session handoff context.
|
|
136
|
+
|
|
137
|
+
```bash
|
|
138
|
+
npx multimodel-dev-os@latest handoff <subcommand>
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
| Subcommand | Description |
|
|
142
|
+
|:---|:---|
|
|
143
|
+
| `build` | Generate `.ai/intelligence/handoff.md` (gitignored) |
|
|
144
|
+
| `show` | Print handoff contents to console |
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
### 9. `onboard` — Existing Repo Onboarding
|
|
149
|
+
|
|
150
|
+
Safely onboard an existing repository into MultiModel Dev OS.
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
npx multimodel-dev-os@latest onboard <subcommand> [options]
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
| Subcommand | Description |
|
|
157
|
+
|:---|:---|
|
|
158
|
+
| `analyze` | Scan project structure, frameworks, and risk markers (read-only) |
|
|
159
|
+
| `recommend` | Run diagnostics and recommend templates/adapters (read-only) |
|
|
160
|
+
| `plan` | Generate onboarding plan and report (read-only) |
|
|
161
|
+
| `apply --approved` | Copy configuration templates (creates backups, requires `--force` for overwrites) |
|
|
162
|
+
| `status` | Show onboarding progress and completeness dashboard |
|
|
163
|
+
|
|
164
|
+
---
|
|
165
|
+
|
|
166
|
+
### 10. `adapter` — IDE Adapter Sync
|
|
167
|
+
|
|
168
|
+
Manage and synchronize rule files for IDE and assistant adapters.
|
|
169
|
+
|
|
170
|
+
```bash
|
|
171
|
+
npx multimodel-dev-os@latest adapter <subcommand> [options]
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
| Subcommand | Description |
|
|
175
|
+
|:---|:---|
|
|
176
|
+
| `status` | Show rules files status and enable/disable states |
|
|
177
|
+
| `diff <adapter>` | Show diff between bundled template and target root file |
|
|
178
|
+
| `sync <adapter\|all> --approved` | Synchronize rule files (creates backups, requires `--force` for overwrites) |
|
|
179
|
+
|
|
180
|
+
---
|
|
181
|
+
|
|
182
|
+
### 11. `validate` — Strict Validation
|
|
183
|
+
|
|
184
|
+
Strict directory schema compliance gate. Exits with code 1 on failures — safe for CI/CD.
|
|
185
|
+
|
|
186
|
+
```bash
|
|
187
|
+
npx multimodel-dev-os@latest validate [--target <path>]
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
|
|
192
|
+
### 12. `doctor` — Advisory Diagnostics
|
|
193
|
+
|
|
194
|
+
Advisory checkups for workspace health, gitignores, token-sinks, and intelligence configuration.
|
|
195
|
+
|
|
196
|
+
```bash
|
|
197
|
+
npx multimodel-dev-os@latest doctor [options]
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
| Flag | Description |
|
|
201
|
+
|:---|:---|
|
|
202
|
+
| `--release` | Verify version stability, docs build, and dry-run pack |
|
|
203
|
+
| `--intelligence` | Audit memory freshness, feedback logs, proposals, and `.gitignore` safety |
|
|
204
|
+
| `--onboarding` | Verify crucial root files, configs, and git-ignored plan files for onboarding readiness |
|
|
205
|
+
|
|
206
|
+
---
|
|
207
|
+
|
|
208
|
+
### 13. `verify` — Release Audit
|
|
209
|
+
|
|
210
|
+
Full release verification suite with **214+ structural assertions**. Checks all files, registries, YAML syntax, CLI version matching, npm pack hygiene, and security boundaries.
|
|
211
|
+
|
|
212
|
+
```bash
|
|
213
|
+
npx multimodel-dev-os@latest verify
|
|
214
|
+
# or
|
|
215
|
+
npm run verify
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
---
|
|
219
|
+
|
|
220
|
+
### 14. `templates` — Template Gallery
|
|
221
|
+
|
|
222
|
+
List and inspect all built-in stack templates.
|
|
223
|
+
|
|
224
|
+
```bash
|
|
225
|
+
npx multimodel-dev-os@latest templates # List all templates
|
|
226
|
+
npx multimodel-dev-os@latest show-template <name> # Detailed template inspection
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
---
|
|
230
|
+
|
|
231
|
+
### 15. `dashboard` — Interactive TUI Dashboard
|
|
232
|
+
|
|
233
|
+
Launch the zero-dependency interactive command center to manage all commands.
|
|
234
|
+
|
|
235
|
+
```bash
|
|
236
|
+
npx multimodel-dev-os@latest dashboard
|
|
237
|
+
# or short alias:
|
|
238
|
+
npx multimodel-dev-os@latest ui
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
---
|
|
242
|
+
|
|
243
|
+
### 16. `plugin` — Declarative Plugins Engine
|
|
244
|
+
|
|
245
|
+
Manage declarative plugins safely within the whitelisted `.ai/` and `adapters/` paths.
|
|
246
|
+
|
|
247
|
+
```bash
|
|
248
|
+
npx multimodel-dev-os@latest plugin list
|
|
249
|
+
npx multimodel-dev-os@latest plugin show <slug>
|
|
250
|
+
npx multimodel-dev-os@latest plugin validate <path-to-yaml>
|
|
251
|
+
npx multimodel-dev-os@latest plugin install <path-to-yaml> --approved
|
|
252
|
+
npx multimodel-dev-os@latest plugin status
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
| Subcommand | Description |
|
|
256
|
+
|:---|:---|
|
|
257
|
+
| `list` | Print all installed plugins |
|
|
258
|
+
| `show <slug>` | Inspect detailed plugin capabilities and safety notes |
|
|
259
|
+
| `validate <path>` | Validate a YAML manifest against the plugin JSON schema |
|
|
260
|
+
| `install <path>` | Install plugin configs (creates backups, requires `--approved`) |
|
|
261
|
+
| `status` | Audit workspace to verify plugin asset presence |
|
|
262
|
+
|
|
263
|
+
---
|
|
264
|
+
|
|
265
|
+
### 17. Registry Commands
|
|
266
|
+
|
|
267
|
+
Explore model, adapter, and skill registries.
|
|
268
|
+
|
|
269
|
+
```bash
|
|
270
|
+
npx multimodel-dev-os@latest models # View model registry
|
|
271
|
+
npx multimodel-dev-os@latest models --json # Machine-readable output
|
|
272
|
+
npx multimodel-dev-os@latest show-model <id> # Detailed model info
|
|
273
|
+
npx multimodel-dev-os@latest providers # View API providers
|
|
274
|
+
npx multimodel-dev-os@latest adapters # View adapter registry
|
|
275
|
+
npx multimodel-dev-os@latest skills # View skill registry
|
|
276
|
+
```
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# IDE & Coding Agent Adapter Sync
|
|
2
|
+
|
|
3
|
+
The `adapter` command system synchronizes target IDE configurations and coding agent rule files (e.g. `.cursorrules`, `CLAUDE.md`, `.vscode/settings.json`) from bundled templates based on enabled states in `.ai/config.yaml`.
|
|
4
|
+
|
|
5
|
+
## Adapter Commands
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# 1. Show the synchronization status of all adapters
|
|
9
|
+
npx multimodel-dev-os adapter status --target .
|
|
10
|
+
|
|
11
|
+
# 2. Preview rules to write for a specific adapter
|
|
12
|
+
npx multimodel-dev-os adapter diff cursor --target .
|
|
13
|
+
|
|
14
|
+
# 3. Synchronize rule files for a specific adapter
|
|
15
|
+
npx multimodel-dev-os adapter sync cursor --target . --approved
|
|
16
|
+
|
|
17
|
+
# 4. Synchronize all enabled adapters
|
|
18
|
+
npx multimodel-dev-os adapter sync all --target . --approved
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Overwriting Existing Files
|
|
22
|
+
|
|
23
|
+
By default, the synchronizer skips existing rules files to prevent overwriting user customizations. Use the `--force` option to overwrite, which automatically creates a backup with a `.bak` suffix.
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
npx multimodel-dev-os adapter sync all --target . --approved --force
|
|
27
|
+
```
|
package/docs/adapters.md
CHANGED
|
@@ -77,3 +77,19 @@ See [CONTRIBUTING.md](../CONTRIBUTING.md).
|
|
|
77
77
|
3. **Include only** tool-specific overrides or behavior notes
|
|
78
78
|
4. **Test with the actual tool** — don't guess at file detection behavior
|
|
79
79
|
5. **Document quirks** — if a tool has unusual behavior, note it in `setup.md`
|
|
80
|
+
|
|
81
|
+
## Synchronizing Adapters
|
|
82
|
+
|
|
83
|
+
Use the `adapter` command to automatically synchronize native rule and settings files from the bundled adapter registry templates into your workspace root:
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
# Check status of installed rule files
|
|
87
|
+
npx multimodel-dev-os adapter status
|
|
88
|
+
|
|
89
|
+
# Preview diffs between template and local rule files
|
|
90
|
+
npx multimodel-dev-os adapter diff cursor
|
|
91
|
+
|
|
92
|
+
# Write rule files to target (forces backup if files exist and --force is passed)
|
|
93
|
+
npx multimodel-dev-os adapter sync cursor --approved --force
|
|
94
|
+
npx multimodel-dev-os adapter sync all --approved
|
|
95
|
+
```
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Agent Handoff Specification
|
|
2
|
+
|
|
3
|
+
The `handoff` command parses repository context to build a token-compressed summary document designed to transfer codebase state to a new agent or model session.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 1. CLI Commands
|
|
8
|
+
|
|
9
|
+
### Build Handoff Spec
|
|
10
|
+
Generates the summary document at `.ai/intelligence/handoff.md`:
|
|
11
|
+
```bash
|
|
12
|
+
npx multimodel-dev-os handoff build
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
### Show Handoff Spec
|
|
16
|
+
Prints the handoff content directly to the console (building it first if missing):
|
|
17
|
+
```bash
|
|
18
|
+
npx multimodel-dev-os handoff show
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## 2. Handoff Structure
|
|
24
|
+
|
|
25
|
+
The compiled `.ai/intelligence/handoff.md` file contains the following key sections:
|
|
26
|
+
|
|
27
|
+
1. **Project Context**: Package name, version, detected frameworks, and package dependencies.
|
|
28
|
+
2. **Intelligence Core State**: Tells the incoming agent if the memory is `CURRENT` or `STALE`, feedback loop counts, rules status, proposals status, and last applied proposal run ID.
|
|
29
|
+
3. **Core Learning Summaries**: Provides a snippet of active learning rules from `learning-rules.md`.
|
|
30
|
+
4. **Safety Constraints**: Outlines session boundaries, indicating that workflows are read-only and modifications require explicit user approval.
|
|
31
|
+
5. **Recommended Next Steps**: Provides 2-3 logical starting points for the incoming agent.
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## 3. Safety Controls
|
|
36
|
+
|
|
37
|
+
* **No Source Dumps**: Full source code is never appended.
|
|
38
|
+
* **No Secrets**: Scans target folders and excludes sensitive files, `.env` configs, credentials, or private keys.
|
|
39
|
+
* **Excluded in VCS**: `.ai/intelligence/handoff.md` is ignored by Git, ensuring local state doesn't pollute repository history.
|
|
40
|
+
* **Onboarding Guard**: If the target repository has not been initialized with MultiModel Dev OS, the handoff builder warns the developer/agent and details the onboarding steps in the generated handoff.
|