snow-flow 4.5.8 → 4.5.11
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/dist/cli.js +6 -14
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -555,26 +555,18 @@ async function executeClaudeCode(prompt) {
|
|
|
555
555
|
cliLogger.info(`🔍 Working Directory: ${process.cwd()}`);
|
|
556
556
|
cliLogger.info(`🔍 MCP Config: ${mcpConfigPath}`);
|
|
557
557
|
}
|
|
558
|
-
// Start Claude Code process
|
|
558
|
+
// Start Claude Code process in interactive mode with stdin piping
|
|
559
559
|
const claudeProcess = (0, child_process_1.spawn)('claude', claudeArgs, {
|
|
560
|
-
stdio: ['pipe', 'inherit', 'inherit'], // pipe stdin
|
|
560
|
+
stdio: ['pipe', 'inherit', 'inherit'], // pipe stdin, inherit stdout/stderr
|
|
561
561
|
cwd: process.cwd(),
|
|
562
|
-
env: {
|
|
563
|
-
...process.env,
|
|
564
|
-
// Prevent raw mode issues in non-interactive environments
|
|
565
|
-
FORCE_COLOR: '0',
|
|
566
|
-
NO_COLOR: '1'
|
|
567
|
-
}
|
|
562
|
+
env: { ...process.env }
|
|
568
563
|
});
|
|
569
564
|
// Send the prompt via stdin
|
|
570
565
|
cliLogger.info('📝 Sending orchestration prompt to Claude Code...');
|
|
571
|
-
cliLogger.info('🚀 Claude Code interface opening
|
|
572
|
-
cliLogger.info('🛠️ All 20+ MCP servers with 235+ tools are now available!');
|
|
566
|
+
cliLogger.info('🚀 Claude Code interface opening...\n');
|
|
573
567
|
// Write prompt to stdin
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
claudeProcess.stdin.end();
|
|
577
|
-
}
|
|
568
|
+
claudeProcess.stdin.write(prompt);
|
|
569
|
+
claudeProcess.stdin.end();
|
|
578
570
|
// Set up process monitoring
|
|
579
571
|
return new Promise((resolve) => {
|
|
580
572
|
claudeProcess.on('close', async (code) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "snow-flow",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.11",
|
|
4
4
|
"description": "Conversational ServiceNow development platform using Claude Code. Multi-agent orchestration with 20+ MCP servers providing 200+ ServiceNow tools for comprehensive platform development.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "commonjs",
|