snow-flow 4.5.5 ā 4.5.7
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 +20 -21
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -555,18 +555,16 @@ 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 - inherit all stdio to prevent raw mode issues
|
|
559
559
|
const claudeProcess = (0, child_process_1.spawn)('claude', claudeArgs, {
|
|
560
|
-
stdio:
|
|
560
|
+
stdio: 'inherit', // inherit all streams to prevent raw mode errors in Codespaces
|
|
561
561
|
cwd: process.cwd(),
|
|
562
562
|
env: { ...process.env }
|
|
563
563
|
});
|
|
564
|
-
//
|
|
565
|
-
cliLogger.info('
|
|
566
|
-
cliLogger.info('
|
|
567
|
-
|
|
568
|
-
claudeProcess.stdin.write(prompt);
|
|
569
|
-
claudeProcess.stdin.end();
|
|
564
|
+
// Claude Code will open with MCP servers ready
|
|
565
|
+
cliLogger.info('š Claude Code interface opening with Snow-Flow MCP servers...\n');
|
|
566
|
+
cliLogger.info('š” Tell Claude Code: ' + chalk_1.default.green(`"${prompt.slice(0, 100)}..."`));
|
|
567
|
+
cliLogger.info('š ļø All 20+ MCP servers with 235+ tools are now available!');
|
|
570
568
|
// Set up process monitoring
|
|
571
569
|
return new Promise((resolve) => {
|
|
572
570
|
claudeProcess.on('close', async (code) => {
|
|
@@ -1550,7 +1548,7 @@ program
|
|
|
1550
1548
|
.option('--skip-mcp', 'Skip MCP server activation prompt')
|
|
1551
1549
|
.option('--force', 'Overwrite existing files without prompting')
|
|
1552
1550
|
.action(async (options) => {
|
|
1553
|
-
console.log(chalk_1.default.blue.bold(`\n
|
|
1551
|
+
console.log(chalk_1.default.blue.bold(`\nš Initializing Snow-Flow Project v${version_js_1.VERSION}...`));
|
|
1554
1552
|
console.log('='.repeat(60));
|
|
1555
1553
|
const targetDir = process.cwd();
|
|
1556
1554
|
try {
|
|
@@ -1575,12 +1573,15 @@ program
|
|
|
1575
1573
|
// Create README files
|
|
1576
1574
|
await createReadmeFiles(targetDir, options.force);
|
|
1577
1575
|
console.log(chalk_1.default.green.bold('\nā
Snow-Flow project initialized successfully!'));
|
|
1578
|
-
console.log('\nš Created
|
|
1579
|
-
console.log(' ā .claude/ - Claude Code
|
|
1580
|
-
console.log(' ā .
|
|
1581
|
-
console.log(' ā
|
|
1582
|
-
console.log(' ā
|
|
1583
|
-
console.log(' ā .
|
|
1576
|
+
console.log('\nš Created files and directories:');
|
|
1577
|
+
console.log(' ā .claude/ - Claude Code configuration');
|
|
1578
|
+
console.log(' ā .swarm/ - Swarm session management');
|
|
1579
|
+
console.log(' ā .snow-flow/ - Snow-Flow project data (Queen, memory, tests)');
|
|
1580
|
+
console.log(' ā memory/ - Persistent memory storage');
|
|
1581
|
+
console.log(' ā .env - ServiceNow OAuth configuration');
|
|
1582
|
+
console.log(' ā .mcp.json - MCP server configuration');
|
|
1583
|
+
console.log(' ā CLAUDE.md - Development documentation');
|
|
1584
|
+
console.log(' ā README.md - Project documentation');
|
|
1584
1585
|
if (!options.skipMcp) {
|
|
1585
1586
|
// Start MCP servers automatically
|
|
1586
1587
|
console.log(chalk_1.default.yellow.bold('\nš Starting MCP servers in the background...'));
|
|
@@ -1603,12 +1604,10 @@ program
|
|
|
1603
1604
|
}
|
|
1604
1605
|
}
|
|
1605
1606
|
console.log(chalk_1.default.blue.bold('\nšÆ Next steps:'));
|
|
1606
|
-
console.log(
|
|
1607
|
-
console.log('
|
|
1608
|
-
console.log('
|
|
1609
|
-
console.log('
|
|
1610
|
-
console.log('\nš Complete documentation: ' + chalk_1.default.blue('https://snow-flow.dev'));
|
|
1611
|
-
console.log('š” UI Builder, Agent Workspaces, and 235+ tools now available');
|
|
1607
|
+
console.log('1. Edit .env file with your ServiceNow credentials');
|
|
1608
|
+
console.log('2. Run: ' + chalk_1.default.cyan('snow-flow auth login'));
|
|
1609
|
+
console.log('3. Start developing: ' + chalk_1.default.cyan('snow-flow swarm "your objective"'));
|
|
1610
|
+
console.log('\nš Full documentation: https://github.com/groeimetai/snow-flow');
|
|
1612
1611
|
// Force exit to prevent hanging
|
|
1613
1612
|
process.exit(0);
|
|
1614
1613
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "snow-flow",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.7",
|
|
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",
|