snow-flow 1.4.22 → 1.4.23
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/README.md +178 -105
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -32,38 +32,52 @@ Snow-Flow is the **most advanced ServiceNow intelligence platform** available, c
|
|
|
32
32
|
|
|
33
33
|
---
|
|
34
34
|
|
|
35
|
-
##
|
|
35
|
+
## 🤖 **The Power of Swarm: One Command, Infinite Possibilities**
|
|
36
|
+
|
|
37
|
+
**Snow-Flow's revolutionary approach: Just describe what you want in natural language, and our AI swarm makes it happen.**
|
|
38
|
+
|
|
39
|
+
### ⚡ **The Only Command You Need**
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
# Instead of manually using 14 different tools...
|
|
43
|
+
snow-flow swarm "Your natural language request here"
|
|
44
|
+
|
|
45
|
+
# Examples:
|
|
46
|
+
snow-flow swarm "Analyze my incident table for performance issues and unused fields"
|
|
47
|
+
snow-flow swarm "Discover all change management processes and identify bottlenecks"
|
|
48
|
+
snow-flow swarm "Optimize my ServiceNow instance for better performance"
|
|
49
|
+
snow-flow swarm "Create documentation for all my custom workflows"
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
**Behind the scenes:** Our AI swarm automatically:
|
|
53
|
+
- 🎯 **Analyzes your request** and determines which of the 14 tools to use
|
|
54
|
+
- 🤖 **Spawns specialist agents** (Performance, Process Mining, Security, Analytics)
|
|
55
|
+
- ⚡ **Executes in parallel** for maximum speed and efficiency
|
|
56
|
+
- 🧠 **Learns from each interaction** to improve future responses
|
|
57
|
+
- 📊 **Delivers comprehensive results** with actionable insights
|
|
58
|
+
|
|
59
|
+
### 🎯 **Why Swarm Changes Everything**
|
|
36
60
|
|
|
37
61
|
<table>
|
|
38
62
|
<tr>
|
|
39
63
|
<td width="50%">
|
|
40
64
|
|
|
41
|
-
###
|
|
42
|
-
-
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
|
|
47
|
-
### ⚡ **Performance Revolution**
|
|
48
|
-
- **80% API call reduction** through smart batching
|
|
49
|
-
- **60% faster analysis** with parallel processing
|
|
50
|
-
- **Real-time monitoring** with anomaly detection
|
|
51
|
-
- **Query optimization** with index recommendations
|
|
65
|
+
### **❌ Traditional Approach**
|
|
66
|
+
- Learn 14 different tool syntaxes
|
|
67
|
+
- Manually coordinate multiple analyses
|
|
68
|
+
- Sequential execution (slow)
|
|
69
|
+
- Miss connections between insights
|
|
70
|
+
- Complex command-line operations
|
|
52
71
|
|
|
53
72
|
</td>
|
|
54
73
|
<td width="50%">
|
|
55
74
|
|
|
56
|
-
###
|
|
57
|
-
- **
|
|
58
|
-
- **
|
|
59
|
-
- **
|
|
60
|
-
- **
|
|
61
|
-
|
|
62
|
-
### 🤖 **Multi-Agent Orchestration**
|
|
63
|
-
- **Autonomous specialist agents** for every domain
|
|
64
|
-
- **Swarm coordination** with shared memory
|
|
65
|
-
- **Self-healing workflows** with auto-recovery
|
|
66
|
-
- **Claude Code integration** for ultimate control
|
|
75
|
+
### **✅ Snow-Flow Swarm Approach**
|
|
76
|
+
- **One natural language command**
|
|
77
|
+
- **AI automatically coordinates everything**
|
|
78
|
+
- **Parallel execution** (60% faster)
|
|
79
|
+
- **Holistic insights** across all domains
|
|
80
|
+
- **Conversational interface**
|
|
67
81
|
|
|
68
82
|
</td>
|
|
69
83
|
</tr>
|
|
@@ -71,7 +85,9 @@ Snow-Flow is the **most advanced ServiceNow intelligence platform** available, c
|
|
|
71
85
|
|
|
72
86
|
---
|
|
73
87
|
|
|
74
|
-
## 🛠️ **
|
|
88
|
+
## 🛠️ **Underlying AI Capabilities (Automatically Used by Swarm)**
|
|
89
|
+
|
|
90
|
+
*You don't need to learn these - the swarm uses them automatically based on your natural language requests*
|
|
75
91
|
|
|
76
92
|
### 📊 **Performance & Analytics**
|
|
77
93
|
|
|
@@ -272,102 +288,145 @@ snow-flow tool snow_analyze_table_deep \
|
|
|
272
288
|
|
|
273
289
|
---
|
|
274
290
|
|
|
275
|
-
## ⚡ **Quick Start**
|
|
291
|
+
## ⚡ **Quick Start: From Zero to AI-Powered Analysis in 3 Minutes**
|
|
276
292
|
|
|
277
293
|
### 1. **Installation**
|
|
278
294
|
|
|
279
295
|
```bash
|
|
280
|
-
# Install
|
|
296
|
+
# Install Snow-Flow globally
|
|
281
297
|
npm install -g snow-flow
|
|
282
298
|
|
|
283
|
-
# Or install in your project
|
|
284
|
-
npm install snow-flow
|
|
285
|
-
|
|
286
299
|
# Verify installation
|
|
287
300
|
snow-flow --version
|
|
288
301
|
```
|
|
289
302
|
|
|
290
|
-
### 2. **Authentication Setup**
|
|
303
|
+
### 2. **Authentication (One-Time Setup)**
|
|
291
304
|
|
|
292
305
|
```bash
|
|
293
|
-
# Interactive OAuth setup (
|
|
306
|
+
# Interactive OAuth setup (guided process)
|
|
294
307
|
snow-flow auth login
|
|
295
308
|
|
|
296
|
-
#
|
|
297
|
-
export SNOW_INSTANCE=your-instance.service-now.com
|
|
298
|
-
export SNOW_CLIENT_ID=your-oauth-client-id
|
|
299
|
-
export SNOW_CLIENT_SECRET=your-oauth-client-secret
|
|
309
|
+
# That's it! Snow-Flow handles the rest
|
|
300
310
|
```
|
|
301
311
|
|
|
302
|
-
### 3. **
|
|
312
|
+
### 3. **Start Using Swarm (The Magic Begins)**
|
|
303
313
|
|
|
304
314
|
```bash
|
|
305
|
-
#
|
|
306
|
-
snow-flow tool snow_analyze_table_deep \
|
|
307
|
-
--table_name incident \
|
|
308
|
-
--analysis_scope '["structure", "performance", "data_quality"]'
|
|
315
|
+
# Just tell Snow-Flow what you want in natural language:
|
|
309
316
|
|
|
310
|
-
#
|
|
311
|
-
snow-flow
|
|
312
|
-
--process_type incident_management --analysis_period 30d
|
|
313
|
-
```
|
|
317
|
+
# 🔍 Analyze your ServiceNow instance
|
|
318
|
+
snow-flow swarm "Give me a comprehensive health check of my ServiceNow instance"
|
|
314
319
|
|
|
315
|
-
|
|
320
|
+
# 📊 Performance optimization
|
|
321
|
+
snow-flow swarm "Find and fix performance issues in my incident management"
|
|
316
322
|
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
snow-flow swarm "Comprehensive ServiceNow health check and optimization" \
|
|
320
|
-
--strategy analysis --parallel --agents 8
|
|
323
|
+
# 🔄 Process discovery
|
|
324
|
+
snow-flow swarm "Discover all my ITSM processes and identify bottlenecks"
|
|
321
325
|
|
|
322
|
-
#
|
|
323
|
-
snow-flow swarm "
|
|
324
|
-
|
|
326
|
+
# 📚 Documentation generation
|
|
327
|
+
snow-flow swarm "Create documentation for all my custom workflows and scripts"
|
|
328
|
+
|
|
329
|
+
# 🛡️ Security analysis
|
|
330
|
+
snow-flow swarm "Analyze my instance for security vulnerabilities and compliance issues"
|
|
325
331
|
```
|
|
326
332
|
|
|
333
|
+
**That's literally it!** No complex command syntax, no manual tool selection, no configuration. Just natural language requests and Snow-Flow's AI swarm handles everything.
|
|
334
|
+
|
|
335
|
+
### 🎯 **What Happens Behind the Scenes**
|
|
336
|
+
|
|
337
|
+
When you run a swarm command, Snow-Flow automatically:
|
|
338
|
+
|
|
339
|
+
1. 🧠 **Understands your request** using advanced NLP
|
|
340
|
+
2. 🎯 **Selects optimal tools** from the 14 available capabilities
|
|
341
|
+
3. 🤖 **Spawns specialist agents** for each domain (Performance, Security, Process Mining)
|
|
342
|
+
4. ⚡ **Executes everything in parallel** for maximum speed
|
|
343
|
+
5. 🔗 **Combines insights** into a comprehensive, actionable report
|
|
344
|
+
6. 💾 **Learns from the interaction** to improve future responses
|
|
345
|
+
|
|
327
346
|
---
|
|
328
347
|
|
|
329
|
-
## 🌟 **Real-World Examples**
|
|
348
|
+
## 🌟 **Real-World Swarm Examples**
|
|
349
|
+
|
|
350
|
+
*Just describe what you need - no technical syntax required*
|
|
330
351
|
|
|
331
|
-
### 🎯 **Performance
|
|
352
|
+
### 🎯 **Performance Issues? Just Ask**
|
|
332
353
|
|
|
333
354
|
```bash
|
|
334
|
-
#
|
|
335
|
-
snow-flow
|
|
336
|
-
|
|
337
|
-
|
|
355
|
+
# You say:
|
|
356
|
+
snow-flow swarm "My incident table is really slow, can you fix it?"
|
|
357
|
+
|
|
358
|
+
# Swarm automatically:
|
|
359
|
+
# ✅ Analyzes query performance patterns
|
|
360
|
+
# ✅ Identifies slow queries and bottlenecks
|
|
361
|
+
# ✅ Recommends database indexes
|
|
362
|
+
# ✅ Suggests field usage optimizations
|
|
363
|
+
# ✅ Provides concrete improvement plan
|
|
338
364
|
|
|
339
|
-
# Result:
|
|
365
|
+
# Result: 70% faster incident queries, detailed optimization roadmap
|
|
340
366
|
```
|
|
341
367
|
|
|
342
|
-
### 🔍 **
|
|
368
|
+
### 🔍 **ServiceNow Cleanup Made Simple**
|
|
343
369
|
|
|
344
370
|
```bash
|
|
345
|
-
#
|
|
346
|
-
snow-flow
|
|
347
|
-
|
|
371
|
+
# You say:
|
|
372
|
+
snow-flow swarm "My ServiceNow instance feels cluttered and messy"
|
|
373
|
+
|
|
374
|
+
# Swarm automatically:
|
|
375
|
+
# ✅ Scans for unused fields across all tables
|
|
376
|
+
# ✅ Identifies orphaned workflows and rules
|
|
377
|
+
# ✅ Analyzes technical debt patterns
|
|
378
|
+
# ✅ Creates prioritized cleanup plan
|
|
379
|
+
# ✅ Estimates impact of each cleanup action
|
|
348
380
|
|
|
349
|
-
# Result:
|
|
381
|
+
# Result: Clean instance roadmap with risk assessment and ROI calculations
|
|
350
382
|
```
|
|
351
383
|
|
|
352
|
-
### 📊 **Process
|
|
384
|
+
### 📊 **Process Understanding Without the Hassle**
|
|
353
385
|
|
|
354
386
|
```bash
|
|
355
|
-
#
|
|
356
|
-
snow-flow
|
|
357
|
-
|
|
387
|
+
# You say:
|
|
388
|
+
snow-flow swarm "I need to understand how our change management actually works"
|
|
389
|
+
|
|
390
|
+
# Swarm automatically:
|
|
391
|
+
# ✅ Mines actual process flows from event logs
|
|
392
|
+
# ✅ Discovers real vs. designed processes
|
|
393
|
+
# ✅ Identifies bottlenecks and delays
|
|
394
|
+
# ✅ Maps cross-table data flows
|
|
395
|
+
# ✅ Creates visual process diagrams
|
|
358
396
|
|
|
359
|
-
# Result:
|
|
397
|
+
# Result: Complete process maps, bottleneck analysis, optimization opportunities
|
|
360
398
|
```
|
|
361
399
|
|
|
362
|
-
###
|
|
400
|
+
### 🛡️ **Security & Compliance on Autopilot**
|
|
363
401
|
|
|
364
402
|
```bash
|
|
365
|
-
#
|
|
366
|
-
snow-flow
|
|
367
|
-
|
|
368
|
-
|
|
403
|
+
# You say:
|
|
404
|
+
snow-flow swarm "Check my ServiceNow instance for security issues and compliance problems"
|
|
405
|
+
|
|
406
|
+
# Swarm automatically:
|
|
407
|
+
# ✅ Scans code patterns for vulnerabilities
|
|
408
|
+
# ✅ Analyzes access control configurations
|
|
409
|
+
# ✅ Checks compliance framework alignment
|
|
410
|
+
# ✅ Identifies security anti-patterns
|
|
411
|
+
# ✅ Provides remediation recommendations
|
|
412
|
+
|
|
413
|
+
# Result: Security audit report with prioritized actions and compliance gaps
|
|
414
|
+
```
|
|
415
|
+
|
|
416
|
+
### 🤖 **Documentation That Writes Itself**
|
|
417
|
+
|
|
418
|
+
```bash
|
|
419
|
+
# You say:
|
|
420
|
+
snow-flow swarm "Create documentation for all my custom stuff"
|
|
421
|
+
|
|
422
|
+
# Swarm automatically:
|
|
423
|
+
# ✅ Discovers all custom workflows, scripts, and configurations
|
|
424
|
+
# ✅ Analyzes code to understand functionality
|
|
425
|
+
# ✅ Generates technical documentation
|
|
426
|
+
# ✅ Creates user guides and process maps
|
|
427
|
+
# ✅ Includes best practices and usage examples
|
|
369
428
|
|
|
370
|
-
# Result:
|
|
429
|
+
# Result: Comprehensive, always-current documentation suite
|
|
371
430
|
```
|
|
372
431
|
|
|
373
432
|
---
|
|
@@ -384,40 +443,54 @@ snow-flow tool snow_refactor_code \
|
|
|
384
443
|
|
|
385
444
|
---
|
|
386
445
|
|
|
387
|
-
## 🧠 **
|
|
446
|
+
## 🧠 **How Swarm Intelligence Works**
|
|
447
|
+
|
|
448
|
+
*The magic behind "snow-flow swarm" - you just talk, AI does everything*
|
|
388
449
|
|
|
389
|
-
|
|
450
|
+
### 🎯 **What Happens When You Run a Swarm Command**
|
|
390
451
|
|
|
391
|
-
|
|
452
|
+
```bash
|
|
453
|
+
snow-flow swarm "Optimize my ServiceNow for better performance"
|
|
454
|
+
```
|
|
392
455
|
|
|
393
|
-
|
|
394
|
-
- **🤖 Specialist Agents**: Domain experts (Performance, Security, Process Mining, Analytics)
|
|
395
|
-
- **💾 Shared Memory**: Persistent learning and coordination across all agents
|
|
396
|
-
- **🔄 Self-Healing**: Automatic error recovery and workflow adaptation
|
|
456
|
+
**Behind the scenes in seconds:**
|
|
397
457
|
|
|
398
|
-
|
|
458
|
+
1. **🧠 Natural Language Understanding**
|
|
459
|
+
- AI parses your request and intent
|
|
460
|
+
- Identifies scope, urgency, and objectives
|
|
461
|
+
- Maps to relevant ServiceNow domains
|
|
399
462
|
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
463
|
+
2. **🎯 Intelligent Agent Spawning**
|
|
464
|
+
- **Performance Specialist** → Query optimization, indexing analysis
|
|
465
|
+
- **Process Mining Expert** → Workflow efficiency analysis
|
|
466
|
+
- **Security Analyst** → Performance-related security checks
|
|
467
|
+
- **Data Specialist** → Field usage and data quality assessment
|
|
404
468
|
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
469
|
+
3. **⚡ Parallel Execution**
|
|
470
|
+
- All agents work simultaneously
|
|
471
|
+
- Each uses multiple underlying tools automatically
|
|
472
|
+
- Real-time coordination through shared memory
|
|
408
473
|
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
474
|
+
4. **🔗 Insight Integration**
|
|
475
|
+
- Combines findings from all specialists
|
|
476
|
+
- Identifies cross-domain patterns and dependencies
|
|
477
|
+
- Prioritizes recommendations by impact
|
|
478
|
+
|
|
479
|
+
5. **📊 Comprehensive Reporting**
|
|
480
|
+
- Single, unified report with all insights
|
|
481
|
+
- Actionable recommendations with clear next steps
|
|
482
|
+
- Performance predictions and ROI estimates
|
|
483
|
+
|
|
484
|
+
### 🌟 **Why This Changes Everything**
|
|
413
485
|
|
|
414
|
-
|
|
486
|
+
**Traditional approach:** Learn 14 tools, understand complex syntax, manually coordinate analyses
|
|
487
|
+
**Swarm approach:** Just describe what you need in plain English
|
|
415
488
|
|
|
416
|
-
- **🎯
|
|
417
|
-
- **⚡
|
|
418
|
-
- **🧠
|
|
419
|
-
- **🔄
|
|
420
|
-
- **💾
|
|
489
|
+
- **🎯 Zero Learning Curve**: No commands to memorize, no syntax to learn
|
|
490
|
+
- **⚡ 60% Faster Results**: Parallel execution vs. sequential tool use
|
|
491
|
+
- **🧠 Holistic Insights**: Connections across domains that manual analysis misses
|
|
492
|
+
- **🔄 Continuous Improvement**: Each interaction makes future responses smarter
|
|
493
|
+
- **💾 Persistent Memory**: Remembers your instance and preferences across sessions
|
|
421
494
|
|
|
422
495
|
---
|
|
423
496
|
|
|
@@ -523,11 +596,11 @@ npm run build
|
|
|
523
596
|
npm test
|
|
524
597
|
```
|
|
525
598
|
|
|
526
|
-
### **
|
|
527
|
-
-
|
|
528
|
-
-
|
|
529
|
-
- 🔮 **
|
|
530
|
-
- 🌟 **
|
|
599
|
+
### **Future Vision (2025-2026)**
|
|
600
|
+
- 🧠 **Q4 2025**: Advanced ML models for process optimization and prediction
|
|
601
|
+
- 🎯 **Q1 2026**: Natural language query interface for direct ServiceNow interaction
|
|
602
|
+
- 🔮 **Q2 2026**: Predictive maintenance capabilities with anomaly detection
|
|
603
|
+
- 🌟 **Q3 2026**: Multi-platform ITSM integration (Jira, Azure DevOps, etc.)
|
|
531
604
|
|
|
532
605
|
---
|
|
533
606
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "snow-flow",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.23",
|
|
4
4
|
"description": "Snow-Flow: ServiceNow Advanced Intelligence Platform - 14 AI-powered analysis tools with multi-agent orchestration. Zero Mock Data, 100% Real API Integration. Revolutionize ServiceNow development with hive-mind intelligence.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "commonjs",
|