mirroir-mcp 0.43.0 → 0.44.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/install-cmd.js +17 -0
- package/install.js +1 -1
- package/package.json +1 -1
package/install-cmd.js
CHANGED
|
@@ -102,6 +102,7 @@ function configureClaudeCode() {
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
console.log("Claude Code configured.");
|
|
105
|
+
installSkill();
|
|
105
106
|
return;
|
|
106
107
|
}
|
|
107
108
|
|
|
@@ -134,6 +135,20 @@ function configureClaudeCode() {
|
|
|
134
135
|
|
|
135
136
|
fs.writeFileSync(configPath, JSON.stringify(config, null, 2) + "\n");
|
|
136
137
|
console.log(`Claude Code configured: ${configPath}`);
|
|
138
|
+
installSkill();
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
// --- Agent Skill ---
|
|
142
|
+
|
|
143
|
+
// Writes the operating manual (how to drive the iPhone with the mirroir tools)
|
|
144
|
+
// where Claude Code and Codex load skills: `mirroir-mcp skill --install`.
|
|
145
|
+
function installSkill() {
|
|
146
|
+
const nativeBin = path.join(BIN_DIR, "mirroir-mcp-native");
|
|
147
|
+
try {
|
|
148
|
+
execSync(`"${nativeBin}" skill --install`, { stdio: "inherit" });
|
|
149
|
+
} catch (skillErr) {
|
|
150
|
+
console.log(" Could not install the mirroir skill. Run: npx -y mirroir-mcp skill --install");
|
|
151
|
+
}
|
|
137
152
|
}
|
|
138
153
|
|
|
139
154
|
function configureCursor() {
|
|
@@ -209,6 +224,7 @@ function configureCodex() {
|
|
|
209
224
|
{ stdio: "inherit" }
|
|
210
225
|
);
|
|
211
226
|
console.log("Codex configured.");
|
|
227
|
+
installSkill();
|
|
212
228
|
return;
|
|
213
229
|
} catch (noCli) {
|
|
214
230
|
// codex CLI not in PATH — fall back to TOML append
|
|
@@ -237,6 +253,7 @@ function configureCodex() {
|
|
|
237
253
|
fs.mkdirSync(codexDir, { recursive: true });
|
|
238
254
|
fs.appendFileSync(configPath, tomlBlock);
|
|
239
255
|
console.log("Codex configured via ~/.codex/config.toml");
|
|
256
|
+
installSkill();
|
|
240
257
|
}
|
|
241
258
|
|
|
242
259
|
// --- Main ---
|
package/install.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mirroir-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.44.0",
|
|
4
4
|
"description": "MCP server that drives a real, stock iPhone (and macOS apps) through macOS iPhone Mirroring — no Developer Mode, Xcode or WebDriverAgent. AI-authored skills with LLM-free replay, from any MCP client.",
|
|
5
5
|
"mcpName": "io.github.jfarcand/mirroir-mcp",
|
|
6
6
|
"license": "Apache-2.0",
|