spawn-skill 1.3.2 → 1.3.3
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/bin/cli.js +3 -11
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -474,7 +474,8 @@ class SpawnAgent:
|
|
|
474
474
|
}
|
|
475
475
|
|
|
476
476
|
function getMoltbotBridge(token, agentName, moltbotAgent = '') {
|
|
477
|
-
|
|
477
|
+
// moltbot agent command doesn't need --agent flag, just --message and --thinking
|
|
478
|
+
const agentFlag = '';
|
|
478
479
|
return `/**
|
|
479
480
|
* Spawn.wtf → Moltbot Bridge
|
|
480
481
|
* Routes messages from Spawn iOS app to your Moltbot backend
|
|
@@ -779,17 +780,8 @@ async function main() {
|
|
|
779
780
|
language = language || answers.language;
|
|
780
781
|
const useMoltbot = answers.useMoltbot || false;
|
|
781
782
|
|
|
782
|
-
//
|
|
783
|
+
// Moltbot doesn't need an agent name - it uses --message and --thinking flags
|
|
783
784
|
let moltbotAgent = '';
|
|
784
|
-
if (useMoltbot) {
|
|
785
|
-
const moltbotAnswers = await inquirer.prompt([{
|
|
786
|
-
type: 'input',
|
|
787
|
-
name: 'moltbotAgent',
|
|
788
|
-
message: 'Moltbot/Clawdbot agent name (from your config):',
|
|
789
|
-
default: ''
|
|
790
|
-
}]);
|
|
791
|
-
moltbotAgent = moltbotAnswers.moltbotAgent;
|
|
792
|
-
}
|
|
793
785
|
|
|
794
786
|
console.log('');
|
|
795
787
|
|