mumucc 0.1.4 → 0.1.6
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/bin/mumucc +14 -3
- package/defaults/mcp-servers.json +44 -0
- package/defaults/settings.json +0 -43
- package/package.json +7 -6
- package/shims/globals.ts +1 -1
- package/src/tools/shared/spawnMultiAgent.ts +3 -1
- package/src/utils/swarm/spawnUtils.ts +14 -0
package/bin/mumucc
CHANGED
|
@@ -32,12 +32,23 @@ export CLAUDE_CONFIG_DIR="${CLAUDE_CONFIG_DIR:-$HOME/.mumucc}"
|
|
|
32
32
|
# ── First-run: auto-initialize default config if config dir doesn't exist ──
|
|
33
33
|
if [[ ! -d "$CLAUDE_CONFIG_DIR" ]]; then
|
|
34
34
|
mkdir -p "$CLAUDE_CONFIG_DIR"
|
|
35
|
-
|
|
35
|
+
|
|
36
|
+
# Copy settings (permissions, env, etc.) — mcpServers NOT here
|
|
36
37
|
if [[ -f "$PROJECT_ROOT/defaults/settings.json" ]]; then
|
|
37
38
|
cp "$PROJECT_ROOT/defaults/settings.json" "$CLAUDE_CONFIG_DIR/settings.json"
|
|
38
|
-
echo "mumucc: Initialized default config at $CLAUDE_CONFIG_DIR/"
|
|
39
|
-
echo " Run 'mumucc /login' to configure your API provider."
|
|
40
39
|
fi
|
|
40
|
+
|
|
41
|
+
# Write MCP servers to the global config file (.mumucc.json)
|
|
42
|
+
# This is where getMcpConfigsByScope('user') reads from via getGlobalConfig()
|
|
43
|
+
GLOBAL_CONFIG="$CLAUDE_CONFIG_DIR/.mumucc.json"
|
|
44
|
+
if [[ -f "$PROJECT_ROOT/defaults/mcp-servers.json" ]]; then
|
|
45
|
+
cp "$PROJECT_ROOT/defaults/mcp-servers.json" "$GLOBAL_CONFIG"
|
|
46
|
+
elif [[ ! -f "$GLOBAL_CONFIG" ]]; then
|
|
47
|
+
echo '{"mcpServers":{}}' > "$GLOBAL_CONFIG"
|
|
48
|
+
fi
|
|
49
|
+
|
|
50
|
+
echo "mumucc: Initialized default config at $CLAUDE_CONFIG_DIR/"
|
|
51
|
+
echo " Run 'mumucc /login' to configure your API provider."
|
|
41
52
|
fi
|
|
42
53
|
|
|
43
54
|
# ── Disable Anthropic-specific traffic (version checks, telemetry) ──
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"mcpServers": {
|
|
3
|
+
"sequential-thinking": {
|
|
4
|
+
"type": "stdio",
|
|
5
|
+
"command": "npx",
|
|
6
|
+
"args": ["-y", "@modelcontextprotocol/server-sequential-thinking"]
|
|
7
|
+
},
|
|
8
|
+
"fetch": {
|
|
9
|
+
"type": "stdio",
|
|
10
|
+
"command": "npx",
|
|
11
|
+
"args": ["-y", "@modelcontextprotocol/server-fetch"]
|
|
12
|
+
},
|
|
13
|
+
"filesystem": {
|
|
14
|
+
"type": "stdio",
|
|
15
|
+
"command": "npx",
|
|
16
|
+
"args": ["-y", "@modelcontextprotocol/server-filesystem", "."]
|
|
17
|
+
},
|
|
18
|
+
"memory": {
|
|
19
|
+
"type": "stdio",
|
|
20
|
+
"command": "npx",
|
|
21
|
+
"args": ["-y", "@modelcontextprotocol/server-memory"]
|
|
22
|
+
},
|
|
23
|
+
"git": {
|
|
24
|
+
"type": "stdio",
|
|
25
|
+
"command": "npx",
|
|
26
|
+
"args": ["-y", "@modelcontextprotocol/server-git", "--repository", "."]
|
|
27
|
+
},
|
|
28
|
+
"time": {
|
|
29
|
+
"type": "stdio",
|
|
30
|
+
"command": "npx",
|
|
31
|
+
"args": ["-y", "@modelcontextprotocol/server-time"]
|
|
32
|
+
},
|
|
33
|
+
"context7": {
|
|
34
|
+
"type": "stdio",
|
|
35
|
+
"command": "npx",
|
|
36
|
+
"args": ["-y", "@upstash/context7-mcp@latest"]
|
|
37
|
+
},
|
|
38
|
+
"playwright": {
|
|
39
|
+
"type": "stdio",
|
|
40
|
+
"command": "npx",
|
|
41
|
+
"args": ["-y", "@playwright/mcp@latest"]
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
package/defaults/settings.json
CHANGED
|
@@ -20,48 +20,5 @@
|
|
|
20
20
|
"mcp__plugin_playwright_playwright__*"
|
|
21
21
|
],
|
|
22
22
|
"defaultMode": "acceptEdits"
|
|
23
|
-
},
|
|
24
|
-
|
|
25
|
-
"mcpServers": {
|
|
26
|
-
"sequential-thinking": {
|
|
27
|
-
"type": "stdio",
|
|
28
|
-
"command": "npx",
|
|
29
|
-
"args": ["-y", "@modelcontextprotocol/server-sequential-thinking"]
|
|
30
|
-
},
|
|
31
|
-
"fetch": {
|
|
32
|
-
"type": "stdio",
|
|
33
|
-
"command": "npx",
|
|
34
|
-
"args": ["-y", "@modelcontextprotocol/server-fetch"]
|
|
35
|
-
},
|
|
36
|
-
"filesystem": {
|
|
37
|
-
"type": "stdio",
|
|
38
|
-
"command": "npx",
|
|
39
|
-
"args": ["-y", "@modelcontextprotocol/server-filesystem", "."]
|
|
40
|
-
},
|
|
41
|
-
"memory": {
|
|
42
|
-
"type": "stdio",
|
|
43
|
-
"command": "npx",
|
|
44
|
-
"args": ["-y", "@modelcontextprotocol/server-memory"]
|
|
45
|
-
},
|
|
46
|
-
"git": {
|
|
47
|
-
"type": "stdio",
|
|
48
|
-
"command": "npx",
|
|
49
|
-
"args": ["-y", "@modelcontextprotocol/server-git", "--repository", "."]
|
|
50
|
-
},
|
|
51
|
-
"time": {
|
|
52
|
-
"type": "stdio",
|
|
53
|
-
"command": "npx",
|
|
54
|
-
"args": ["-y", "@modelcontextprotocol/server-time"]
|
|
55
|
-
},
|
|
56
|
-
"context7": {
|
|
57
|
-
"type": "stdio",
|
|
58
|
-
"command": "npx",
|
|
59
|
-
"args": ["-y", "@upstash/context7-mcp@latest"]
|
|
60
|
-
},
|
|
61
|
-
"playwright": {
|
|
62
|
-
"type": "stdio",
|
|
63
|
-
"command": "npx",
|
|
64
|
-
"args": ["-y", "@playwright/mcp@latest"]
|
|
65
|
-
}
|
|
66
23
|
}
|
|
67
24
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mumucc",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Open-source AI coding assistant CLI with multi-model support (Anthropic, OpenAI/GPT, DeepSeek, GLM, Ollama, etc.), MCP integration, agent swarms, and out-of-the-box developer experience.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -42,7 +42,6 @@
|
|
|
42
42
|
"@ant/computer-use-mcp": "file:./stubs/@ant/computer-use-mcp",
|
|
43
43
|
"@ant/computer-use-swift": "file:./stubs/@ant/computer-use-swift",
|
|
44
44
|
"@anthropic-ai/bedrock-sdk": "^0.27.0",
|
|
45
|
-
"@anthropic-ai/claude-agent-sdk": "^0.2.90",
|
|
46
45
|
"@anthropic-ai/foundry-sdk": "^0.2.3",
|
|
47
46
|
"@anthropic-ai/mcpb": "file:./stubs/@anthropic-ai/mcpb",
|
|
48
47
|
"@anthropic-ai/sandbox-runtime": "file:./stubs/@anthropic-ai/sandbox-runtime",
|
|
@@ -51,7 +50,7 @@
|
|
|
51
50
|
"@aws-sdk/client-bedrock": "^3",
|
|
52
51
|
"@aws-sdk/client-bedrock-runtime": "^3",
|
|
53
52
|
"@aws-sdk/client-sts": "^3",
|
|
54
|
-
"@azure/identity": "^
|
|
53
|
+
"@azure/identity": "^4",
|
|
55
54
|
"@commander-js/extra-typings": "12",
|
|
56
55
|
"@growthbook/growthbook": "^1",
|
|
57
56
|
"@modelcontextprotocol/sdk": "^1",
|
|
@@ -108,7 +107,6 @@
|
|
|
108
107
|
"qrcode": "^1",
|
|
109
108
|
"react": "^19.2.4",
|
|
110
109
|
"react-compiler-runtime": "^1.0.0",
|
|
111
|
-
"react-devtools-core": "^7.0.1",
|
|
112
110
|
"react-reconciler": "0.33.0",
|
|
113
111
|
"semver": "^7",
|
|
114
112
|
"sharp": "^0.33",
|
|
@@ -131,9 +129,12 @@
|
|
|
131
129
|
"yaml": "^2",
|
|
132
130
|
"zod": "^3.24"
|
|
133
131
|
},
|
|
134
|
-
"
|
|
132
|
+
"peerDependencies": {
|
|
133
|
+
"@anthropic-ai/claude-agent-sdk": ">=0.2.0"
|
|
134
|
+
},
|
|
135
|
+
"peerDependenciesMeta": {
|
|
135
136
|
"@anthropic-ai/claude-agent-sdk": {
|
|
136
|
-
"
|
|
137
|
+
"optional": true
|
|
137
138
|
}
|
|
138
139
|
},
|
|
139
140
|
"devDependencies": {
|
package/shims/globals.ts
CHANGED
|
@@ -78,7 +78,9 @@ function getDefaultTeammateModel(leaderModel: string | null): string {
|
|
|
78
78
|
if (configured !== undefined) {
|
|
79
79
|
return parseUserSpecifiedModel(configured)
|
|
80
80
|
}
|
|
81
|
-
|
|
81
|
+
// No teammateDefaultModel configured — prefer the leader's model so that
|
|
82
|
+
// third-party model users don't unexpectedly fall back to Anthropic Opus.
|
|
83
|
+
return leaderModel ?? getHardcodedTeammateModelFallback()
|
|
82
84
|
}
|
|
83
85
|
|
|
84
86
|
/**
|
|
@@ -111,6 +111,20 @@ const TEAMMATE_ENV_VARS = [
|
|
|
111
111
|
// disable memory on ephemeral CCR filesystems. Forwarding REMOTE alone
|
|
112
112
|
// would flip teammates to memory-off when the parent has it on.
|
|
113
113
|
'CLAUDE_CODE_REMOTE_MEMORY_DIR',
|
|
114
|
+
// Third-party provider API keys — tmux login shells don't inherit these
|
|
115
|
+
'ANTHROPIC_API_KEY',
|
|
116
|
+
'OPENAI_API_KEY',
|
|
117
|
+
'DEEPSEEK_API_KEY',
|
|
118
|
+
'GEMINI_API_KEY',
|
|
119
|
+
'GROQ_API_KEY',
|
|
120
|
+
'TOGETHER_API_KEY',
|
|
121
|
+
'SILICONFLOW_API_KEY',
|
|
122
|
+
'OPENROUTER_API_KEY',
|
|
123
|
+
'CODEX_API_KEY',
|
|
124
|
+
// Feature flags — ensure sub-agents get the same feature toggles
|
|
125
|
+
'ENABLED_FEATURES',
|
|
126
|
+
// API timeout — third-party providers may respond slower
|
|
127
|
+
'API_TIMEOUT_MS',
|
|
114
128
|
// Upstream proxy — the parent's MITM relay is reachable from teammates
|
|
115
129
|
// (same container network). Forward the proxy vars so teammates route
|
|
116
130
|
// customer-configured upstream traffic through the relay for credential
|