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.
Files changed (2) hide show
  1. package/dist/cli.js +20 -21
  2. 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 in interactive mode with stdin piping
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: ['pipe', 'inherit', 'inherit'], // pipe stdin, inherit stdout/stderr
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
- // Send the prompt via stdin
565
- cliLogger.info('šŸ“ Sending orchestration prompt to Claude Code...');
566
- cliLogger.info('šŸš€ Claude Code interface opening...\n');
567
- // Write prompt to stdin
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šŸ”ļø Snow-Flow v${version_js_1.VERSION} - Conversational ServiceNow Development`));
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 Snow-Flow configuration:');
1579
- console.log(' āœ“ .claude/ - Claude Code MCP configuration');
1580
- console.log(' āœ“ .mcp.json - 20+ ServiceNow MCP servers (235+ tools)');
1581
- console.log(' āœ“ CLAUDE.md - Complete development guide');
1582
- console.log(' āœ“ README.md - Current capabilities documentation');
1583
- console.log(' āœ“ .snow-flow/ - Project workspace and memory');
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(chalk_1.default.red.bold('āš ļø IMPORTANT: Ensure Claude Code is running first!'));
1607
- console.log('1. Start Claude Code: ' + chalk_1.default.cyan('claude --dangerously-skip-permissions'));
1608
- console.log('2. Authenticate Snow-Flow: ' + chalk_1.default.cyan('snow-flow auth login'));
1609
- console.log('3. Start developing: ' + chalk_1.default.cyan('snow-flow swarm "create incident dashboard"'));
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.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",