spawn-skill 1.2.1 → 1.2.2

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/bin/cli.js +3 -2
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -718,10 +718,11 @@ async function main() {
718
718
  const moltbotCheck = ora('Checking for Moltbot...').start();
719
719
  try {
720
720
  const { execSync } = await import('child_process');
721
- execSync('which moltbot', { stdio: 'pipe' });
721
+ // Use moltbot --version instead of 'which' for cross-platform support
722
+ execSync('moltbot --version', { stdio: 'pipe', shell: true });
722
723
  moltbotCheck.succeed('Moltbot found');
723
724
  } catch {
724
- moltbotCheck.warn('Moltbot not installed');
725
+ moltbotCheck.warn('Moltbot not found in PATH');
725
726
  console.log(dim(' Install with: npm install -g moltbot@latest'));
726
727
  console.log(dim(' Then run: moltbot onboard'));
727
728
  console.log('');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spawn-skill",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Connect your AI agent to Spawn.wtf",
5
5
  "bin": {
6
6
  "spawn-skill": "./bin/cli.js"