skills-x 0.2.21 → 0.2.23

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.
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skills-x",
3
- "version": "0.2.21",
3
+ "version": "0.2.23",
4
4
  "description": "AI Agent Skills management tool - Install and manage Claude/AI agent skills",
5
5
  "keywords": [
6
6
  "ai",
package/bin/skills-x.js DELETED
@@ -1,38 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- const { spawn } = require('child_process');
4
- const path = require('path');
5
- const fs = require('fs');
6
-
7
- // Determine binary path
8
- const isWindows = process.platform === 'win32';
9
- const binaryName = isWindows ? 'skills-x.exe' : 'skills-x';
10
- const binaryPath = path.join(__dirname, binaryName);
11
-
12
- // Check if binary exists
13
- if (!fs.existsSync(binaryPath)) {
14
- console.error('Error: skills-x binary not found.');
15
- console.error('');
16
- console.error('Try reinstalling:');
17
- console.error(' npm uninstall -g skills-x && npm install -g skills-x');
18
- console.error('');
19
- console.error('Or install via Go:');
20
- console.error(' go install github.com/anthropics/skills-x/cmd/skills-x@latest');
21
- process.exit(1);
22
- }
23
-
24
- // Run the binary with all arguments
25
- const args = process.argv.slice(2);
26
- const child = spawn(binaryPath, args, {
27
- stdio: 'inherit',
28
- env: process.env,
29
- });
30
-
31
- child.on('error', (err) => {
32
- console.error('Failed to start skills-x:', err.message);
33
- process.exit(1);
34
- });
35
-
36
- child.on('exit', (code) => {
37
- process.exit(code || 0);
38
- });