snow-flow 4.5.12 → 4.5.14

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 +27 -27
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -198,7 +198,7 @@ program
198
198
  }
199
199
  // Always show essential info
200
200
  cliLogger.info(`\nšŸš€ Snow-Flow v${version_js_1.VERSION}`);
201
- cliLogger.info(`šŸ“‹ Objective: ${objective}`);
201
+ console.log(chalk_1.default.blue(`šŸ“‹ ${objective}`));
202
202
  // Only show detailed config in verbose mode
203
203
  if (options.verbose) {
204
204
  cliLogger.info(`āš™ļø Strategy: ${options.strategy} | Mode: ${options.mode} | Max Agents: ${options.maxAgents}`);
@@ -251,7 +251,7 @@ program
251
251
  else {
252
252
  // In non-verbose mode, only show critical info
253
253
  if (options.autoDeploy) {
254
- cliLogger.info(`šŸš€ Auto-Deploy: ENABLED - Will create real artifacts in ServiceNow`);
254
+ console.log(chalk_1.default.green(`āœ… ServiceNow integration active - will create real artifacts`));
255
255
  }
256
256
  // Calculate autonomous systems for non-verbose mode (same logic as verbose)
257
257
  const noAutonomousAll = options.autonomousAll === false;
@@ -334,7 +334,7 @@ program
334
334
  }
335
335
  else if (!isAuthenticated) {
336
336
  // In non-verbose mode, only warn if not authenticated
337
- cliLogger.warn('āš ļø Not authenticated. Run "snow-flow auth login" for ServiceNow integration');
337
+ console.log(chalk_1.default.yellow('āš ļø Not authenticated - run ') + chalk_1.default.cyan('snow-flow auth login') + chalk_1.default.yellow(' first'));
338
338
  }
339
339
  // Initialize Queen Agent memory system
340
340
  if (options.verbose) {
@@ -344,7 +344,10 @@ program
344
344
  const memorySystem = new QueenMemorySystem();
345
345
  // Generate swarm session ID
346
346
  const sessionId = `swarm_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`;
347
- cliLogger.info(`\nšŸ”– Session: ${sessionId}`);
347
+ // Session ID only in verbose mode
348
+ if (options.verbose) {
349
+ cliLogger.info(`šŸ”– Session: ${sessionId}`);
350
+ }
348
351
  // Store swarm session in memory
349
352
  memorySystem.storeLearning(`session_${sessionId}`, {
350
353
  objective,
@@ -411,10 +414,9 @@ program
411
414
  }
412
415
  else {
413
416
  cliLogger.info('\nšŸ”— Live ServiceNow integration: āŒ Disabled');
414
- cliLogger.info('šŸ“ Artifacts will be saved to servicenow/ directory');
415
417
  }
416
418
  }
417
- cliLogger.info('šŸš€ Launching Claude Code...');
419
+ console.log(chalk_1.default.blue('\nšŸš€ Starting Claude Code with 235+ ServiceNow tools...'));
418
420
  // Try to execute Claude Code directly with the prompt
419
421
  const success = await executeClaudeCode(orchestrationPrompt);
420
422
  if (success) {
@@ -510,20 +512,19 @@ async function executeClaudeCode(prompt) {
510
512
  await manager.initialize();
511
513
  const systemStatus = manager.getSystemStatus();
512
514
  if (systemStatus.running === 0) {
513
- cliLogger.info('šŸš€ Starting MCP servers automatically for swarm operation...');
515
+ console.log(chalk_1.default.yellow('šŸ”§ Starting ServiceNow MCP servers...'));
514
516
  await manager.startAllServers();
515
517
  const newStatus = manager.getSystemStatus();
516
- cliLogger.info(`āœ… Started ${newStatus.running}/${newStatus.total} MCP servers`);
518
+ console.log(chalk_1.default.green(`āœ… ${newStatus.running} MCP servers ready`));
517
519
  }
518
520
  else if (systemStatus.running < systemStatus.total) {
519
- cliLogger.info(`āš ļø Only ${systemStatus.running}/${systemStatus.total} MCP servers running`);
520
- cliLogger.info('šŸ”„ Starting remaining servers...');
521
+ console.log(chalk_1.default.yellow('šŸ”„ Starting additional MCP servers...'));
521
522
  await manager.startAllServers();
522
523
  const newStatus = manager.getSystemStatus();
523
- cliLogger.info(`āœ… All ${newStatus.running}/${newStatus.total} MCP servers running`);
524
+ console.log(chalk_1.default.green(`āœ… All ${newStatus.running} MCP servers ready`));
524
525
  }
525
526
  else {
526
- cliLogger.info(`āœ… All ${systemStatus.running} MCP servers already running`);
527
+ console.log(chalk_1.default.green(`āœ… All ${systemStatus.running} MCP servers ready`));
527
528
  }
528
529
  }
529
530
  catch (error) {
@@ -1073,7 +1074,7 @@ Remember: You are the Queen Agent - the master coordinator. Your role is to ensu
1073
1074
 
1074
1075
  ## šŸ“Š Session Information
1075
1076
  - **Session ID**: ${sessionId}
1076
- - **Snow-Flow Version**: v3.3.4
1077
+ - **Snow-Flow Version**: v${version_js_1.VERSION}
1077
1078
  - **Authentication**: ${isAuthenticated ? 'Active' : 'Required'}
1078
1079
  - **Deployment Mode**: ${options.autoDeploy ? 'Live deployment enabled' : 'Planning mode'}
1079
1080
  - **Estimated Agents**: ${taskAnalysis.estimatedAgentCount}
@@ -1550,7 +1551,7 @@ program
1550
1551
  .option('--skip-mcp', 'Skip MCP server activation prompt')
1551
1552
  .option('--force', 'Overwrite existing files without prompting')
1552
1553
  .action(async (options) => {
1553
- console.log(chalk_1.default.blue.bold(`\nšŸš€ Initializing Snow-Flow Project v${version_js_1.VERSION}...`));
1554
+ console.log(chalk_1.default.blue.bold(`\nšŸ”ļø Snow-Flow v${version_js_1.VERSION} - Conversational ServiceNow Development`));
1554
1555
  console.log('='.repeat(60));
1555
1556
  const targetDir = process.cwd();
1556
1557
  try {
@@ -1575,15 +1576,12 @@ program
1575
1576
  // Create README files
1576
1577
  await createReadmeFiles(targetDir, options.force);
1577
1578
  console.log(chalk_1.default.green.bold('\nāœ… Snow-Flow project initialized successfully!'));
1578
- console.log('\nšŸ“‹ Created files and directories:');
1579
- console.log(' āœ“ .claude/ - Claude Code configuration');
1580
- console.log(' āœ“ .swarm/ - Swarm session management');
1581
- console.log(' āœ“ .snow-flow/ - Snow-Flow project data (Queen, memory, tests)');
1582
- console.log(' āœ“ memory/ - Persistent memory storage');
1583
- console.log(' āœ“ .env - ServiceNow OAuth configuration');
1584
- console.log(' āœ“ .mcp.json - MCP server configuration');
1585
- console.log(' āœ“ CLAUDE.md - Development documentation');
1586
- console.log(' āœ“ README.md - Project documentation');
1579
+ console.log('\nšŸ“‹ Created Snow-Flow configuration:');
1580
+ console.log(' āœ“ .claude/ - Claude Code MCP configuration');
1581
+ console.log(' āœ“ .mcp.json - 20+ ServiceNow MCP servers (235+ tools)');
1582
+ console.log(' āœ“ CLAUDE.md - Complete development guide');
1583
+ console.log(' āœ“ README.md - Current capabilities documentation');
1584
+ console.log(' āœ“ .snow-flow/ - Project workspace and memory');
1587
1585
  if (!options.skipMcp) {
1588
1586
  // Start MCP servers automatically
1589
1587
  console.log(chalk_1.default.yellow.bold('\nšŸš€ Starting MCP servers in the background...'));
@@ -1606,10 +1604,12 @@ program
1606
1604
  }
1607
1605
  }
1608
1606
  console.log(chalk_1.default.blue.bold('\nšŸŽÆ Next steps:'));
1609
- console.log('1. Edit .env file with your ServiceNow credentials');
1610
- console.log('2. Run: ' + chalk_1.default.cyan('snow-flow auth login'));
1611
- console.log('3. Start developing: ' + chalk_1.default.cyan('snow-flow swarm "your objective"'));
1612
- console.log('\nšŸ“š Full documentation: https://github.com/groeimetai/snow-flow');
1607
+ console.log(chalk_1.default.red.bold('āš ļø IMPORTANT: Ensure Claude Code is running first!'));
1608
+ console.log('1. Start Claude Code: ' + chalk_1.default.cyan('claude --dangerously-skip-permissions'));
1609
+ console.log('2. Authenticate Snow-Flow: ' + chalk_1.default.cyan('snow-flow auth login'));
1610
+ console.log('3. Start developing: ' + chalk_1.default.cyan('snow-flow swarm "create incident dashboard"'));
1611
+ console.log('\nšŸ“š Complete documentation: ' + chalk_1.default.blue('https://snow-flow.dev'));
1612
+ console.log('šŸ’” UI Builder, Agent Workspaces, and 235+ tools now available');
1613
1613
  // Force exit to prevent hanging
1614
1614
  process.exit(0);
1615
1615
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snow-flow",
3
- "version": "4.5.12",
3
+ "version": "4.5.14",
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",