scpl-updated-mcp-server 1.0.6 → 1.0.7

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/index.js CHANGED
@@ -239,10 +239,40 @@ function setupClaudeDesktop() {
239
239
  }
240
240
 
241
241
  console.log("✅ Claude Desktop setup complete!\n");
242
- console.log("ℹ️ Note: Claude Desktop doesn't have plugins/skills.\n");
243
- console.log(" The MCP tools (create_shortcut, validate_scpl, list_actions)");
244
- console.log(" will be available, but Claude won't have the full ScPL reference");
245
- console.log(" loaded as context. Consider using Claude Code for best results.\n");
242
+
243
+ // Copy skill ZIP to a user-accessible location
244
+ const skillZipSrc = join(__dirname, "claude-desktop-skill", "scpl-shortcuts.zip");
245
+ if (existsSync(skillZipSrc)) {
246
+ // Try Downloads, then Desktop
247
+ const destinations = [
248
+ join(homedir(), "Downloads", "scpl-shortcuts.zip"),
249
+ join(homedir(), "Desktop", "scpl-shortcuts.zip")
250
+ ];
251
+ let copied = false;
252
+ for (const dest of destinations) {
253
+ try {
254
+ const zipContent = readFileSync(skillZipSrc);
255
+ writeFileSync(dest, zipContent);
256
+ const shortPath = dest.replace(homedir(), "~");
257
+ console.log(`📦 Skill package copied to ${shortPath}\n`);
258
+ console.log(" To add the skill to Claude Desktop:");
259
+ console.log(" 1. Open Claude Desktop → Settings → Skills");
260
+ console.log(" 2. Click '+ Add' and import the ZIP file");
261
+ console.log(" 3. Enable the skill\n");
262
+ copied = true;
263
+ break;
264
+ } catch (e) {
265
+ continue;
266
+ }
267
+ }
268
+ if (!copied) {
269
+ console.log("ℹ️ Skill ZIP available in npm package at:");
270
+ console.log(" node_modules/scpl-updated-mcp-server/claude-desktop-skill/scpl-shortcuts.zip\n");
271
+ }
272
+ } else {
273
+ console.log("ℹ️ For the full ScPL reference skill, download from:");
274
+ console.log(" https://github.com/cavingraves/scpl-macos-updated/tree/master/mcp-server/claude-desktop-skill\n");
275
+ }
246
276
  }
247
277
 
248
278
  function setupCodex(codexDir) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scpl-updated-mcp-server",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "AI-powered Apple Shortcuts creation with Claude Code! Generate macOS shortcuts using natural language. 493 actions available. MCP server for text-based shortcut programming. Vibe code your automation workflows.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -10,7 +10,8 @@
10
10
  "files": [
11
11
  "index.js",
12
12
  "SCPL_REFERENCE.md",
13
- "README.md"
13
+ "README.md",
14
+ "claude-desktop-skill/scpl-shortcuts.zip"
14
15
  ],
15
16
  "scripts": {
16
17
  "start": "node index.js"