spritecook-mcp 0.2.12 → 0.2.13

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/skill.mjs +5 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spritecook-mcp",
3
- "version": "0.2.12",
3
+ "version": "0.2.13",
4
4
  "mcpName": "ai.spritecook/generate",
5
5
  "description": "SpriteCook MCP Server - Connect your AI agent (Cursor, VS Code, Claude) to SpriteCook for pixel art and game asset generation.",
6
6
  "keywords": [
package/src/skill.mjs CHANGED
@@ -78,7 +78,7 @@ async function fallbackInstall(editors) {
78
78
  /**
79
79
  * Install or update the SpriteCook agent skill.
80
80
  *
81
- * Primary: `npx skills add SpriteCook/skills` (requires git).
81
+ * Primary: `npx skills add SpriteCook/skills --skill '*'` (requires git).
82
82
  * Fallback: download SKILL.md directly from GitHub and place it
83
83
  * in each selected editor's skill directory.
84
84
  *
@@ -97,15 +97,15 @@ export async function maybeInstallSkill(selectedEditors = []) {
97
97
  return;
98
98
  }
99
99
 
100
- info('Installing skill via npx skills add SpriteCook/skills...');
100
+ info('Installing skills via npx skills add SpriteCook/skills --skill "*" ...');
101
101
 
102
102
  try {
103
103
  const npxCmd = platform() === 'win32' ? 'npx.cmd' : 'npx';
104
- execSync(`${npxCmd} -y skills add SpriteCook/skills`, {
104
+ execSync(`${npxCmd} -y skills add SpriteCook/skills --skill "*"`, {
105
105
  stdio: 'inherit',
106
106
  timeout: 60_000,
107
107
  });
108
- success('Agent skill installed.');
108
+ success('Agent skills installed.');
109
109
  return;
110
110
  } catch {
111
111
  // Primary method failed -- try fallback
@@ -119,6 +119,6 @@ export async function maybeInstallSkill(selectedEditors = []) {
119
119
 
120
120
  warn('Skill install failed (git may not be installed).');
121
121
  console.log(' You can install it manually later:');
122
- console.log(' npx skills add SpriteCook/skills');
122
+ console.log(' npx skills add SpriteCook/skills --skill "*"');
123
123
  console.log(' Or install git and re-run this setup.');
124
124
  }