@zhixuan92/multi-model-agent-mcp 2.7.5 → 2.8.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.
Files changed (54) hide show
  1. package/README.md +11 -133
  2. package/dist/cli.js +6 -584
  3. package/package.json +8 -48
  4. package/dist/cli.d.ts +0 -58
  5. package/dist/cli.d.ts.map +0 -1
  6. package/dist/cli.js.map +0 -1
  7. package/dist/headline.d.ts +0 -25
  8. package/dist/headline.d.ts.map +0 -1
  9. package/dist/headline.js +0 -58
  10. package/dist/headline.js.map +0 -1
  11. package/dist/index.d.ts +0 -4
  12. package/dist/index.d.ts.map +0 -1
  13. package/dist/index.js +0 -3
  14. package/dist/index.js.map +0 -1
  15. package/dist/routing/render-provider-routing-matrix.d.ts +0 -7
  16. package/dist/routing/render-provider-routing-matrix.d.ts.map +0 -1
  17. package/dist/routing/render-provider-routing-matrix.js +0 -153
  18. package/dist/routing/render-provider-routing-matrix.js.map +0 -1
  19. package/dist/tools/audit-document.d.ts +0 -23
  20. package/dist/tools/audit-document.d.ts.map +0 -1
  21. package/dist/tools/audit-document.js +0 -123
  22. package/dist/tools/audit-document.js.map +0 -1
  23. package/dist/tools/batch-response.d.ts +0 -14
  24. package/dist/tools/batch-response.d.ts.map +0 -1
  25. package/dist/tools/batch-response.js +0 -42
  26. package/dist/tools/batch-response.js.map +0 -1
  27. package/dist/tools/confirm-clarifications.d.ts +0 -15
  28. package/dist/tools/confirm-clarifications.d.ts.map +0 -1
  29. package/dist/tools/confirm-clarifications.js +0 -95
  30. package/dist/tools/confirm-clarifications.js.map +0 -1
  31. package/dist/tools/debug-task.d.ts +0 -13
  32. package/dist/tools/debug-task.d.ts.map +0 -1
  33. package/dist/tools/debug-task.js +0 -63
  34. package/dist/tools/debug-task.js.map +0 -1
  35. package/dist/tools/execute-plan.d.ts +0 -12
  36. package/dist/tools/execute-plan.d.ts.map +0 -1
  37. package/dist/tools/execute-plan.js +0 -123
  38. package/dist/tools/execute-plan.js.map +0 -1
  39. package/dist/tools/review-code.d.ts +0 -17
  40. package/dist/tools/review-code.d.ts.map +0 -1
  41. package/dist/tools/review-code.js +0 -108
  42. package/dist/tools/review-code.js.map +0 -1
  43. package/dist/tools/shared.d.ts +0 -72
  44. package/dist/tools/shared.d.ts.map +0 -1
  45. package/dist/tools/shared.js +0 -160
  46. package/dist/tools/shared.js.map +0 -1
  47. package/dist/tools/truncation.d.ts +0 -18
  48. package/dist/tools/truncation.d.ts.map +0 -1
  49. package/dist/tools/truncation.js +0 -62
  50. package/dist/tools/truncation.js.map +0 -1
  51. package/dist/tools/verify-work.d.ts +0 -12
  52. package/dist/tools/verify-work.d.ts.map +0 -1
  53. package/dist/tools/verify-work.js +0 -85
  54. package/dist/tools/verify-work.js.map +0 -1
package/README.md CHANGED
@@ -1,143 +1,21 @@
1
- # @zhixuan92/multi-model-agent-mcp
1
+ # @zhixuan92/multi-model-agent-mcp — DEPRECATED
2
2
 
3
- **MCP server for multi-model-agent.** Your AI assistant gets 10 tools for delegating work to cheaper agents — parallel execution, cross-agent review, 90% cost savings.
3
+ This package has been replaced by **[`@zhixuan92/multi-model-agent`](https://www.npmjs.com/package/@zhixuan92/multi-model-agent)** in 3.0.0.
4
4
 
5
- Works with Claude Code, Codex CLI, Cursor, Gemini CLI, and Claude Desktop.
5
+ The 3.0.0 release removes all MCP server support. Use the new standalone HTTP service + client-installable skills instead.
6
6
 
7
- ## Install
8
-
9
- Requires Node >= 22 and a config file at `~/.multi-model/config.json`.
10
-
11
- **1. Create config** — define your two agent slots. Three agent types are supported:
12
-
13
- | Type | Auth | API key needed? |
14
- |---|---|---|
15
- | `claude` | Your existing Claude Code / Claude subscription | No — uses local OAuth |
16
- | `codex` | Your existing Codex subscription (`codex login`) | No — reads `~/.codex/auth.json` |
17
- | `openai-compatible` | Any OpenAI-compatible API (GPT, MiniMax, DeepSeek, Groq, local vLLM) | Yes — `apiKeyEnv` or `apiKey` |
18
-
19
- **Example — Claude + Codex (no API keys):**
7
+ ## Migration
20
8
 
21
9
  ```bash
22
- mkdir -p ~/.multi-model && cat > ~/.multi-model/config.json << 'EOF'
23
- {
24
- "agents": {
25
- "standard": { "type": "codex", "model": "codex-mini-latest" },
26
- "complex": { "type": "claude", "model": "claude-sonnet-4-20250514" }
27
- },
28
- "defaults": { "timeoutMs": 1800000, "maxCostUSD": 10, "tools": "full" }
29
- }
30
- EOF
31
- ```
10
+ npm uninstall -g @zhixuan92/multi-model-agent-mcp
11
+ npm install -g @zhixuan92/multi-model-agent
32
12
 
33
- **Example OpenAI-compatible endpoints (API keys required):**
34
-
35
- ```bash
36
- mkdir -p ~/.multi-model && cat > ~/.multi-model/config.json << 'EOF'
37
- {
38
- "agents": {
39
- "standard": {
40
- "type": "openai-compatible",
41
- "model": "MiniMax-M2",
42
- "baseUrl": "https://api.minimax.io/v1",
43
- "apiKeyEnv": "MINIMAX_API_KEY"
44
- },
45
- "complex": {
46
- "type": "openai-compatible",
47
- "model": "gpt-5",
48
- "baseUrl": "https://api.openai.com/v1",
49
- "apiKeyEnv": "OPENAI_API_KEY"
50
- }
51
- },
52
- "defaults": { "timeoutMs": 1800000, "maxCostUSD": 10, "tools": "full", "parentModel": "claude-opus-4-6" }
53
- }
54
- EOF
13
+ mmagent serve # start the daemon
14
+ mmagent install-skill # install skills for your AI client
55
15
  ```
56
16
 
57
- > **`parentModel`** (optional): When set, headlines show `$Y saved vs model (Zx ROI)`. When omitted, headlines show `$X actual`.
58
-
59
- Mix and match freely — e.g., `claude` for complex + `openai-compatible` for standard.
60
-
61
- **2. Register the MCP server:**
62
-
63
- ```bash
64
- # Claude/Codex agents (no env vars needed):
65
- claude mcp add multi-model-agent -s user \
66
- -- npx -y @zhixuan92/multi-model-agent-mcp serve
67
-
68
- # OpenAI-compatible agents (pass API keys):
69
- claude mcp add multi-model-agent -s user \
70
- -e MINIMAX_API_KEY=... -e OPENAI_API_KEY=... \
71
- -- npx -y @zhixuan92/multi-model-agent-mcp serve
72
- ```
73
-
74
- No install step, no long-running process. Your MCP client spawns it on demand via `npx`.
75
-
76
- For Codex CLI, Claude Desktop, and Cursor setup, see the [full guide](https://github.com/zhixuan312/multi-model-agent#quick-start).
77
-
78
- ## What you get
79
-
80
- | Tool | What it does |
81
- |---|---|
82
- | `delegate_tasks` | Dispatch tasks in parallel with minimal input: `prompt` plus optional `agentType`, `filePaths`, `done`, and `contextBlockIds`. The MCP interprets your request and infers missing details — if confused, it returns a proposed interpretation for confirmation. |
83
- | `audit_document` | Audit docs/files for issues — parallel per file. Accepts `contextBlockIds` for delta audits (round 2+). |
84
- | `review_code` | Code review with spec + quality pipeline — parallel per file. Accepts `contextBlockIds` for diff-scoped/delta reviews. |
85
- | `verify_work` | Verify work against a checklist — parallel per file. Accepts `contextBlockIds` for shared context. |
86
- | `debug_task` | Hypothesis-driven debugging with file context. Accepts `contextBlockIds` for shared context. |
87
- | `execute_plan` | Execute tasks from a plan document — worker reads plan files, finds matching task by descriptor, implements it. Multiple tasks run in parallel. |
88
- | `register_context_block` | Store reusable context for later tasks |
89
- | `retry_tasks` | Re-run specific tasks from a previous batch |
90
- | `get_batch_slice` | Fetch output or telemetry from a previous batch |
91
- | `confirm_clarifications` | Resume a clarification set by confirming or editing proposed interpretations |
92
-
93
- ## Diagnostic logging
94
-
95
- Diagnostic logging is OFF by default.
96
-
97
- It stays disabled when the `diagnostics` block is absent or when `diagnostics.log` is `false` in `~/.multi-model/config.json`.
98
-
99
- To capture a crash/disconnect log to send us, add a `diagnostics` block to your config.
100
-
101
- Minimal example:
102
-
103
- ```json
104
- {
105
- "diagnostics": { "log": true }
106
- }
107
- ```
108
-
109
- Full config shape example:
110
-
111
- ```json
112
- {
113
- "agents": {
114
- "standard": { "type": "codex", "model": "codex-mini-latest" },
115
- "complex": { "type": "claude", "model": "claude-sonnet-4-20250514" }
116
- },
117
- "defaults": {
118
- "timeoutMs": 1800000,
119
- "maxCostUSD": 10,
120
- "tools": "full"
121
- },
122
- "diagnostics": {
123
- "log": true,
124
- "logDir": "/some/path"
125
- }
126
- }
127
- ```
128
-
129
- `diagnostics.logDir` is optional; when omitted, logs default to `~/.multi-model/logs/`.
130
-
131
- When enabled, the server appends JSONL records to `mcp-YYYY-MM-DD.jsonl` in append mode.
132
-
133
- Only crash/disconnect diagnostic events are logged: `startup`, `request_start`, `request_complete`, `shutdown`, and `error`. This is a crash-diagnosis log, not a progress feed.
134
-
135
- ## Setup & Configuration
136
-
137
- See the full setup guide with config examples, client-specific instructions, and auth details:
138
-
139
- → **[github.com/zhixuan312/multi-model-agent](https://github.com/zhixuan312/multi-model-agent#quick-start)**
17
+ See the [3.0.0 CHANGELOG](https://github.com/zhixuan312/multi-model-agent/blob/master/CHANGELOG.md#300) for details.
140
18
 
141
- ## License
19
+ ## About this version (2.8.1)
142
20
 
143
- [MIT](./LICENSE) Copyright (c) 2026 Zhang Zhixuan
21
+ `2.8.1` ships a 10-line stub that prints a migration notice and exits with code 1. It does not function as an MCP server. Installing or invoking `mmagent` / `multi-model-agent` from this package will redirect users to the new package.