snow-flow 3.2.0 โ†’ 3.2.1

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 CHANGED
@@ -1,4 +1,4 @@
1
- # ๐Ÿ”๏ธ Snow-Flow: AI-Powered ServiceNow Development Platform
1
+ # Snow-Flow: ServiceNow Development Platform
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/snow-flow.svg)](https://www.npmjs.com/package/snow-flow)
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
@@ -8,453 +8,307 @@
8
8
  [![ServiceNow Compatible](https://img.shields.io/badge/ServiceNow-Compatible-00A1E0?logo=servicenow)](https://www.servicenow.com)
9
9
  [![GitHub Stars](https://img.shields.io/github/stars/groeimetai/snow-flow?style=social)](https://github.com/groeimetai/snow-flow)
10
10
 
11
- Snow-Flow revolutionizes ServiceNow development by bringing the power of AI orchestration directly to your platform. With 100+ MCP tools and intelligent multi-agent coordination, Snow-Flow transforms how developers and administrators work with ServiceNow.
11
+ Snow-Flow is an AI-powered development platform for ServiceNow that provides 180+ MCP tools and multi-agent coordination. It enables developers and administrators to interact with ServiceNow through natural language commands and automated workflows.
12
12
 
13
- ## ๐Ÿš€ Why Snow-Flow?
13
+ ## Core Functionality
14
14
 
15
- ### **Accelerate Development by 10x**
16
- Traditional ServiceNow development requires deep platform knowledge, manual coding, and countless hours of configuration. Snow-Flow changes this paradigm by understanding your intent and automatically orchestrating the right tools and agents to achieve your goals.
15
+ Snow-Flow connects directly to ServiceNow instances through OAuth 2.0 authentication and provides:
17
16
 
18
- ### **Learn While You Build**
19
- Every interaction with Snow-Flow provides insights into ServiceNow best practices, platform capabilities, and optimal implementation patterns. It's like having a ServiceNow expert guiding you through every step.
17
+ - Direct API integration with ServiceNow REST endpoints
18
+ - Multi-agent system with specialized agents for different tasks
19
+ - Natural language interface for ServiceNow operations
20
+ - Machine learning capabilities using TensorFlow.js
21
+ - Process automation and workflow optimization
20
22
 
21
- ### **Real Integration, Real Results**
22
- Unlike mock tools or simulations, Snow-Flow connects directly to your ServiceNow instance through secure OAuth authentication. Every operation is real, every deployment is functional, and every result is production-ready.
23
+ ## ServiceNow API Integration
23
24
 
24
- ## ๐ŸŽ‰ Version 3.0.2 - Init Command Fixed
25
+ ### Authentication
26
+ Snow-Flow uses OAuth 2.0 for secure authentication with ServiceNow:
25
27
 
26
- ### **Latest Fix (v3.0.2)**
27
- - ๐Ÿ”ง **Init Command Fixed** - Now correctly uses .env.template with v3.0.1 timeout configuration
28
- - ๐ŸŽฏ **No Timeouts by Default** - Operations run until completion for maximum reliability
29
- - ๐ŸŽ›๏ธ **Optional Timeout Configuration** - All timeouts commented out in generated .env file
30
- - ๐Ÿš€ **100% Completion Rate** - No artificial timeout limitations
31
-
32
- ### **What's New in v3.0.0**
33
- - โœ… **100% Real Implementation** - No more simulated/mock/demo code
34
- - โœ… **Fixed MCP Transport Layer** - Resolved memory_usage hanging issues
35
- - โœ… **Real TensorFlow.js ML** - Actual neural networks, not regex matching
36
- - โœ… **Direct ServiceNow API** - Widget deployment bypasses broken MCP
37
- - โœ… **Reliable Memory Manager** - In-memory storage with timeout protection
38
- - โœ… **Proper Error Handling** - All operations have timeout protection
39
- - โœ… **Production Ready** - All integration tests passing
40
-
41
- ### **Critical Issues Fixed**
42
- - **Memory Operations**: No more hanging on memory_usage calls
43
- - **Widget Deployment**: Direct API implementation that actually works
44
- - **ML Accuracy**: Real neural networks delivering actual predictions
45
- - **Process Management**: No more zombie MCP processes
46
- - **Error Messages**: Clear, actionable error messages throughout
47
-
48
- ## ๐Ÿ” ServiceNow API Integration & Security
49
-
50
- ### **Direct ServiceNow API Connection**
51
- All 100+ MCP tools use **official ServiceNow REST APIs** exclusively:
52
- - **No third-party services** - Your data stays between you and ServiceNow
53
- - **Standard OAuth 2.0** - Industry-standard authentication protocol
54
- - **ServiceNow ACLs respected** - Only access what your ServiceNow user can access
55
- - **Real-time operations** - Direct API calls, no data caching or storage
56
-
57
- ### **How OAuth Authentication Works**
58
28
  ```bash
59
29
  snow-flow auth login
60
- # 1. Opens ServiceNow OAuth consent screen in your browser
61
- # 2. You authenticate with YOUR ServiceNow credentials
62
- # 3. ServiceNow returns OAuth token directly to Snow-Flow
63
- # 4. Token stored locally in ~/.snow-flow/auth.json (encrypted)
64
- # 5. All API calls use this token with proper ServiceNow permissions
30
+ # Opens ServiceNow OAuth consent screen
31
+ # Authenticate with ServiceNow credentials
32
+ # Token stored locally in ~/.snow-flow/auth.json
65
33
  ```
66
34
 
67
- ### **Data Privacy & Security**
68
- - โœ… **Zero data collection** - Snow-Flow doesn't collect or store your ServiceNow data
69
- - โœ… **Local processing** - All operations happen on your machine
70
- - โœ… **No external servers** - Direct ServiceNow โ†” Snow-Flow communication only
71
- - โœ… **Audit compliance** - All actions logged in ServiceNow audit trails
72
- - โœ… **Role-based access** - Respects your ServiceNow user permissions exactly
35
+ ### Security
36
+ - OAuth 2.0 authentication protocol
37
+ - Respects ServiceNow ACLs and user permissions
38
+ - Local token storage with encryption
39
+ - No external data transmission
40
+ - All operations logged in ServiceNow audit trails
73
41
 
74
- ### **Network Architecture**
42
+ ### Network Architecture
75
43
  ```
76
44
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” OAuth 2.0 + REST APIs โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
77
45
  โ”‚ Snow-Flow โ”‚ โ—„โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บ โ”‚ Your ServiceNow โ”‚
78
46
  โ”‚ (Local) โ”‚ HTTPS Only โ”‚ Instance โ”‚
79
47
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
80
- โ–ฒ
81
- โ”‚ No external connections
82
- โ–ผ
83
- โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
84
- โ”‚ Claude Code โ”‚ โ—„โ”€โ”€ Local AI processing only
85
- โ”‚ (Local) โ”‚
86
- โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
87
48
  ```
88
49
 
89
- ## โœจ Core Capabilities
50
+ ## Available Tools
90
51
 
91
- ### ๐Ÿค– **Intelligent Multi-Agent System**
92
- - **38 Specialized Agents**: From architects to testers, each agent brings specific expertise
93
- - **Swarm Coordination**: Agents work together using hierarchical, mesh, or adaptive topologies
94
- - **Shared Memory**: Persistent knowledge base ensures consistency across all operations
95
- - **Neural Learning**: Pattern recognition improves suggestions and automation over time
52
+ Snow-Flow provides 180+ tools across 17 specialized MCP servers:
96
53
 
97
- ### ๐Ÿ”ง **100+ ServiceNow MCP Tools**
98
-
99
- #### ๐ŸŽฏ **Universal Query Tool** - One Tool for ALL Tables
100
- The revolutionary `snow_query_table` replaces all table-specific query tools with intelligent performance optimization:
54
+ ### Table Operations
55
+ The universal `snow_query_table` tool works with all ServiceNow tables:
101
56
 
102
57
  ```javascript
103
- // Smart Performance Modes - System auto-detects the best approach:
104
-
105
- // 1. Analytics mode - OMIT limit for ALL records with minimal fields
58
+ // Query any table with optimized performance
106
59
  snow_query_table({
107
- table: "incident",
60
+ table: "incident", // Works with any table
108
61
  query: "state!=7",
109
- fields: ["sys_created_on", "priority"] // Get ALL records, minimal data
62
+ fields: ["number", "short_description", "priority"],
63
+ limit: 100
110
64
  })
111
- // Auto-detects analytics context and returns ALL records!
112
65
 
113
- // 2. Count-only mode - Ultra efficient for large datasets
66
+ // Analytics mode - retrieve all records with minimal fields
114
67
  snow_query_table({
115
- table: "sc_request",
116
- include_content: false // Just counts, no data
68
+ table: "incident",
69
+ fields: ["sys_created_on", "priority"] // Omit limit for all records
117
70
  })
118
- // Returns: {total_results: 15234} - Maximum efficiency!
119
71
 
120
- // 3. Display mode - Limited records with full details
72
+ // Count-only mode for large datasets
121
73
  snow_query_table({
122
- table: "problem",
123
- limit: 50, // Explicitly limit for display
124
- include_display_values: true
74
+ table: "sc_request",
75
+ include_content: false // Returns count only
125
76
  })
126
77
 
127
- // 4. Group by aggregation - Server-side analytics
78
+ // Server-side aggregation
128
79
  snow_query_table({
129
80
  table: "change_request",
130
81
  group_by: "risk",
131
- order_by: "-count" // Sorted by frequency
82
+ order_by: "-count"
132
83
  })
133
84
  ```
134
85
 
135
- Works with ANY table: `incident`, `sc_request`, `problem`, `cmdb_ci`, even `u_custom_table`!
136
-
137
- - **Operations**: Incident, Request, Problem, and Change management with AI analysis
138
- - **Development**: Create widgets, flows, scripts, and business rules with natural language
139
- - **Integration**: REST/SOAP endpoints, data transformation, and external system connectivity
140
- - **Analytics**: Real-time dashboards, KPIs, and predictive insights
141
- - **Security**: Compliance rules, audit trails, and vulnerability scanning
142
-
143
- ### ๐Ÿง  **Natural Language Interface**
144
- Simply describe what you want to achieve:
145
- - "Create an incident management dashboard with SLA tracking"
146
- - "Build an employee onboarding workflow with approval steps"
147
- - "Analyze our incident resolution patterns from the last quarter"
148
-
149
- Snow-Flow understands your intent and orchestrates the entire implementation.
150
-
151
- ### ๐Ÿค– **Machine Learning & Neural Networks**
152
- Snow-Flow includes real neural network capabilities powered by TensorFlow.js:
153
-
154
- #### **Incident Classification & Prediction**
155
- Train LSTM neural networks on your historical incident data to:
156
- - Automatically classify incidents with 95%+ accuracy
157
- - Predict categories, priorities, and assignment groups
158
- - Identify patterns in incident descriptions
159
- - Recommend resolution steps based on similar past incidents
160
-
86
+ ### Development Tools
87
+ - Widget creation and deployment
88
+ - Business rule development
89
+ - Script include management
90
+ - Flow Designer automation
91
+ - UI Page creation
92
+ - Portal configuration
93
+
94
+ ### Service Management
95
+ - Incident management
96
+ - Change management with CAB scheduling
97
+ - Problem management
98
+ - Request fulfillment
99
+ - Knowledge management
100
+
101
+ ### Enterprise APIs
102
+ - Performance Analytics (PA) with KPI management
103
+ - Virtual Agent configuration
104
+ - Agent Workspace customization
105
+ - Mobile platform deployment
106
+ - CMDB and Discovery
107
+ - Event Management
108
+ - HR Service Delivery
109
+ - Customer Service Management
110
+ - DevOps integration
111
+
112
+ ### Machine Learning
113
+
114
+ Snow-Flow includes TensorFlow.js for neural network capabilities:
115
+
116
+ #### Incident Classification
117
+ Train LSTM networks on historical incident data:
161
118
  ```bash
162
- # Train incident classifier on historical data
163
119
  snow-flow ml train-incident-classifier --sample-size 5000 --epochs 100
164
-
165
- # Classify new incidents automatically
166
120
  snow-flow ml classify-incident INC0123456
167
- # Output: Category: Software (98% confidence), Priority: 2, Assignment: Application Support
168
121
  ```
169
122
 
170
- #### **Change Risk Prediction**
171
- Neural networks analyze change requests to predict implementation risk:
172
- - Risk scoring based on historical success/failure patterns
173
- - Identify high-risk changes before implementation
174
- - Recommend additional testing or approval steps
175
- - Learn from past deployment outcomes
176
-
123
+ #### Change Risk Prediction
124
+ Analyze change requests to predict implementation risk:
177
125
  ```bash
178
- # Train change risk model
179
126
  snow-flow ml train-change-risk --include-failed-changes
180
-
181
- # Predict risk for upcoming change
182
127
  snow-flow ml predict-change-risk CHG0123456
183
- # Output: Risk Level: Medium (72% confidence), Recommendation: Additional UAT required
184
128
  ```
185
129
 
186
- #### **Incident Volume Forecasting**
187
- LSTM time series models predict future incident volumes:
188
- - Forecast daily/weekly incident counts
189
- - Identify upcoming peak periods
190
- - Plan staffing and resources proactively
191
- - Category-specific predictions
192
-
130
+ #### Time Series Forecasting
131
+ Predict future incident volumes:
193
132
  ```bash
194
- # Forecast next 7 days of incidents
195
133
  snow-flow ml forecast-incidents --days 7 --category network
196
- # Output: Day 3 peak expected (145 incidents), recommend 20% additional staff
197
134
  ```
198
135
 
199
- #### **Anomaly Detection**
200
- Autoencoder neural networks detect unusual patterns:
201
- - Identify abnormal incident spikes or drops
202
- - Detect unusual user behavior patterns
203
- - Find system performance anomalies
204
- - Alert on potential security incidents
205
-
136
+ #### Anomaly Detection
137
+ Detect unusual patterns using autoencoder networks:
206
138
  ```bash
207
- # Monitor for anomalies in real-time
208
139
  snow-flow ml detect-anomalies --metric incident_patterns --sensitivity 0.9
209
- # Output: Anomaly detected: 300% increase in password reset requests from Building A
210
140
  ```
211
141
 
212
- #### **ML Model Management**
213
- - Train models on your actual ServiceNow data
214
- - No external data leaves your instance
215
- - Models improve with more data over time
216
- - Export/import trained models between instances
217
- - Performance metrics and accuracy tracking
218
-
219
- ### ๐Ÿ”„ **Hybrid ML: Best of Both Worlds**
220
- Snow-Flow uniquely combines ServiceNow's native ML capabilities with custom neural networks:
142
+ ### ServiceNow Native ML Integration
221
143
 
222
- **๐Ÿšจ REAL APIs ONLY - NO MOCK DATA**
223
- Snow-Flow requires proper ServiceNow ML licensing for native ML features:
224
- - ๐Ÿ” **PA Required**: Performance Analytics plugin for KPI forecasting and analytics
225
- - ๐Ÿ” **PI Required**: Predictive Intelligence plugin for clustering and similarity
226
- - โœ… **Always Available**: Custom TensorFlow.js neural networks work regardless of ServiceNow plugins
144
+ Access ServiceNow's native ML capabilities when licensed:
227
145
 
228
- Proper error messages guide you when licenses are not available.
229
-
230
- #### **ServiceNow Native ML Integration**
231
- Access powerful platform ML features through Snow-Flow:
232
-
233
- **Performance Analytics ML**
146
+ #### Performance Analytics ML
234
147
  ```bash
235
- # Use PA's predictive models for KPI forecasting
236
148
  snow-flow ml performance-analytics --indicator "Incident Resolution Time" --forecast-days 90
237
- # Output: Trend analysis, seasonality detection, anomaly alerts
238
149
  ```
239
150
 
240
- **Predictive Intelligence Framework**
151
+ #### Predictive Intelligence
241
152
  ```bash
242
- # Find similar incidents using ServiceNow's clustering
243
153
  snow-flow ml predictive-intelligence --operation similar_incidents --incident INC0123456
244
- # Output: Top 10 similar incidents with resolution patterns
245
-
246
- # Get solution recommendations
247
- snow-flow ml predictive-intelligence --operation solution_recommendation --incident INC0123456
248
- # Output: KB articles, past resolutions, confidence scores
249
154
  ```
250
155
 
251
- **Agent Intelligence Work Assignment**
156
+ #### Agent Intelligence
252
157
  ```bash
253
- # Get AI-powered assignment recommendations
254
158
  snow-flow ml agent-intelligence --task incident --id INC0123456 --auto-assign
255
- # Output: Best agent match based on skills, workload, and success rate
256
- ```
257
-
258
- **Process Optimization ML**
259
- ```bash
260
- # Analyze and optimize business processes
261
- snow-flow ml process-optimization --process "Incident Management" --goal reduce_time
262
- # Output: Bottlenecks identified, 30% reduction possible, implementation steps
263
159
  ```
264
160
 
265
- #### **Hybrid Recommendations**
266
- Combine both approaches for superior results:
267
- ```bash
268
- # Use both ServiceNow ML and custom neural networks
269
- snow-flow ml hybrid-recommendation --use-case incident_resolution --native-weight 0.6 --custom-weight 0.4
270
- # Output: Combined insights from both systems, higher accuracy than either alone
271
- ```
161
+ Note: Native ML features require appropriate ServiceNow plugin licenses (PA, PI, Agent Intelligence).
272
162
 
273
- **Benefits of Hybrid Approach:**
274
- - โœ… **Higher Accuracy**: Ensemble learning from multiple models
275
- - โœ… **Fallback Options**: Works even if one system is unavailable
276
- - โœ… **Complementary Insights**: Platform knowledge + custom patterns
277
- - โœ… **License Clarity**: Clear error messages when PA/PI licenses needed
278
- - โœ… **Best Tool for Each Job**: Native for platform features, custom for specific needs
163
+ ## Multi-Agent System
279
164
 
280
- ## ๐ŸŽฏ Key Benefits
165
+ Snow-Flow includes 38 specialized agents that work together:
281
166
 
282
- ### **For Developers**
283
- - **Rapid Prototyping**: Build complex solutions in minutes instead of days
284
- - **Best Practices Built-In**: Every generated artifact follows ServiceNow standards
285
- - **Continuous Learning**: Discover new platform capabilities through AI suggestions
286
- - **Error Prevention**: Intelligent validation catches issues before deployment
167
+ ### Agent Types
168
+ - **Architect**: System design and architecture planning
169
+ - **Developer**: Code generation and implementation
170
+ - **Tester**: Test creation and execution
171
+ - **Analyst**: Data analysis and reporting
172
+ - **Security**: Compliance and security validation
173
+ - **Optimizer**: Performance optimization
174
+ - **Documenter**: Documentation generation
287
175
 
288
- ### **For Administrators**
289
- - **Process Optimization**: AI analyzes workflows and suggests improvements
290
- - **Predictive Insights**: Anticipate issues before they impact users
291
- - **Compliance Automation**: Ensure security and regulatory requirements are met
292
- - **Knowledge Capture**: Document institutional knowledge in the graph database
176
+ ### Coordination Modes
177
+ - **Hierarchical**: Top-down task delegation
178
+ - **Mesh**: Peer-to-peer collaboration
179
+ - **Swarm**: Distributed problem solving
180
+ - **Adaptive**: Dynamic reorganization based on task requirements
293
181
 
294
- ### **For Organizations**
295
- - **Reduced Time-to-Value**: Deploy solutions 80% faster
296
- - **Lower Training Costs**: New team members become productive immediately
297
- - **Consistent Quality**: AI ensures standardized, maintainable implementations
298
- - **Innovation Enablement**: Focus on business logic, not technical complexity
182
+ ## Installation
299
183
 
300
- ## ๐Ÿš€ Getting Started
184
+ ### Prerequisites
185
+ - Node.js 18.0 or higher
186
+ - npm 8.0 or higher
187
+ - ServiceNow instance with admin access
188
+ - OAuth application configured in ServiceNow
301
189
 
302
- ### 1. Installation
190
+ ### Install via npm
303
191
  ```bash
304
192
  npm install -g snow-flow
305
193
  ```
306
194
 
307
- ### 2. Initialize Snow-Flow
195
+ ### Initial Setup
308
196
  ```bash
197
+ # Initialize configuration
309
198
  snow-flow init
310
- ```
311
- This creates:
312
- - `.env` file for your credentials
313
- - `.mcp.json` for Claude Code integration
314
- - Project configuration files
315
199
 
316
- ### 3. Configure OAuth Credentials
317
- Edit the generated `.env` file with your ServiceNow OAuth details:
318
- ```env
319
- SNOW_INSTANCE=your-instance.service-now.com
320
- SNOW_CLIENT_ID=your-oauth-client-id
321
- SNOW_CLIENT_SECRET=your-oauth-client-secret
322
- ```
323
-
324
- ### 4. Authenticate
325
- ```bash
200
+ # Configure authentication
326
201
  snow-flow auth login
327
- ```
328
- This opens your browser for OAuth authentication.
329
-
330
- ### 5. Start Building!
331
- ```bash
332
- snow-flow swarm "Create an incident management dashboard with real-time updates"
333
- ```
334
202
 
335
- ### ๐Ÿ’ก Quick Examples
336
- ```bash
337
- # Analyze your ServiceNow instance
338
- snow-flow swarm "Give me a health check of my ServiceNow instance"
339
-
340
- # Build a widget
341
- snow-flow swarm "Create a widget showing open incidents by priority"
342
-
343
- # Optimize performance
344
- snow-flow swarm "Find and fix performance issues in my incident table"
345
-
346
- # ML-Powered Incident Solver Widget
347
- snow-flow swarm "Create a Service Portal widget that uses ML to suggest incident solutions based on historical data"
348
- # This will:
349
- # - First check if Predictive Intelligence (PI) is available (BEST: 95%+ accuracy)
350
- # - If PI available: Use native incident similarity & solution recommendations
351
- # - If not: Train custom LSTM neural network (FALLBACK: 80-85% accuracy)
352
- # - Build widget with real-time classification
353
- # - Suggest top 5 similar resolved incidents with confidence scores
354
-
355
- # Change Risk Assessment Dashboard
356
- snow-flow swarm "Build a dashboard that predicts change implementation risk using machine learning"
357
- # Intelligent approach:
358
- # - With PI license: Uses native change risk scoring (superior results)
359
- # - Without PI: Falls back to TensorFlow.js neural networks
360
- # - Hybrid option: Combines both for maximum accuracy
203
+ # Verify connection
204
+ snow-flow auth test
361
205
  ```
362
206
 
363
- ### โš ๏ธ Troubleshooting
364
-
365
- **OAuth Issues?**
366
- - Ensure your OAuth client has the necessary scopes in ServiceNow
367
- - Check that the redirect URI is set to `http://localhost:3000/callback`
368
- - Try `snow-flow auth logout` then `snow-flow auth login` again
369
-
370
- **MCP Connection Failed?**
371
- - Run `snow-flow init --force` to regenerate configuration
372
- - Restart Claude Code after configuration changes
373
- - Check logs with `snow-flow logs`
374
-
375
- ## ๐Ÿ“Š Real-World Impact
207
+ ## Usage Examples
376
208
 
377
- ### **80% Faster Development**
378
- AI orchestration eliminates repetitive tasks and automates complex workflows.
379
-
380
- ### **90% Error Reduction**
381
- Intelligent validation and best practice enforcement prevent common mistakes.
382
-
383
- ### **100% Platform Coverage**
384
- Every ServiceNow module and capability is accessible through natural language.
385
-
386
- ### **โˆž Learning Potential**
387
- Continuous pattern analysis reveals optimization opportunities you didn't know existed.
209
+ ### Natural Language Commands
210
+ ```bash
211
+ # Create an incident dashboard
212
+ snow-flow sparc "Create incident management dashboard with SLA tracking"
388
213
 
389
- ## ๐Ÿ›ฃ๏ธ Roadmap: Snow-Flow Pro (Coming Soon)
214
+ # Build a workflow
215
+ snow-flow sparc "Create employee onboarding workflow with approval steps"
390
216
 
391
- ### **Co-Op Mode** ๐Ÿค
392
- Perfect for environments where direct instance access isn't possible:
393
- - **No OAuth Required**: Work entirely offline with your table schemas
394
- - **Schema Import**: Provide your custom tables and field definitions
395
- - **Smart Development**: Snow-Flow develops against your exact configuration
396
- - **Export Ready**: Receive complete Update Sets or Import Sets
397
- - **Full Compatibility**: Generated artifacts work perfectly in your instance
217
+ # Analyze data
218
+ snow-flow sparc "Analyze incident resolution patterns from last quarter"
219
+ ```
398
220
 
399
- Example workflow:
221
+ ### Direct Tool Usage
400
222
  ```bash
401
- # Import your instance schema
402
- snow-flow coop import --tables incident,change_request,custom_table
223
+ # Query incidents
224
+ snow-flow query --table incident --limit 10
403
225
 
404
- # Develop without connection
405
- snow-flow coop develop "Create approval workflow for custom_table"
226
+ # Create a widget
227
+ snow-flow deploy widget --name "SLA Dashboard" --template dashboard
406
228
 
407
- # Export ready-to-import package
408
- snow-flow coop export --format update-set
229
+ # Generate documentation
230
+ snow-flow generate docs --scope "incident_management"
409
231
  ```
410
232
 
411
- ### **Bring Your Own LLM** ๐Ÿง 
412
- Choose your preferred AI backend:
413
- - **OpenAI GPT**: For maximum capability
414
- - **Anthropic Claude**: For nuanced understanding
415
- - **Local Models**: For complete data privacy
416
- - **Custom Fine-tuned**: For organization-specific patterns
233
+ ### Swarm Coordination
234
+ ```bash
235
+ # Multi-agent development
236
+ snow-flow swarm "Build complete HR service portal" \
237
+ --strategy development \
238
+ --mode hierarchical \
239
+ --max-agents 8
240
+
241
+ # Analysis swarm
242
+ snow-flow swarm "Analyze system performance bottlenecks" \
243
+ --strategy analysis \
244
+ --mode mesh \
245
+ --parallel
246
+ ```
417
247
 
418
- ### **Enterprise Features** ๐Ÿข
419
- - **Multi-Instance Management**: Develop once, deploy everywhere
420
- - **Team Collaboration**: Shared knowledge graphs and patterns
421
- - **Audit & Compliance**: Full tracking of AI-generated changes
422
- - **SLA Guarantees**: Priority support and uptime commitments
248
+ ## Configuration
423
249
 
424
- ## ๐ŸŒŸ Why Snow-Flow Transforms ServiceNow Development
250
+ Configuration file location: `~/.snow-flow/.env`
425
251
 
426
- ### **Democratizes Expertise**
427
- You don't need 10 years of ServiceNow experience to build enterprise-grade solutions. Snow-Flow bridges the knowledge gap, making expert-level development accessible to everyone.
252
+ ### Required Settings
253
+ ```env
254
+ SNOW_INSTANCE=your-instance.service-now.com
255
+ SNOW_CLIENT_ID=your-oauth-client-id
256
+ SNOW_CLIENT_SECRET=your-oauth-client-secret
257
+ ```
428
258
 
429
- ### **Accelerates Innovation**
430
- Stop spending time on boilerplate code and configuration. Focus on solving business problems while Snow-Flow handles the implementation details.
259
+ ### Optional Settings
260
+ ```env
261
+ # Timeout configuration (milliseconds)
262
+ # SNOW_FLOW_INIT_TIMEOUT=30000
263
+ # SNOW_FLOW_OPERATION_TIMEOUT=60000
264
+ # SNOW_FLOW_MEMORY_TIMEOUT=5000
265
+
266
+ # Agent configuration
267
+ SNOW_FLOW_MAX_AGENTS=10
268
+ SNOW_FLOW_AGENT_MODE=hierarchical
269
+
270
+ # ML configuration
271
+ SNOW_FLOW_ML_ENABLED=true
272
+ SNOW_FLOW_ML_MODEL_PATH=./models
273
+ ```
431
274
 
432
- ### **Ensures Quality**
433
- Every line of code, every configuration, and every deployment follows ServiceNow best practices. AI review catches issues human reviewers might miss.
275
+ ## Project Structure
276
+ ```
277
+ snow-flow/
278
+ โ”œโ”€โ”€ src/ # Source code
279
+ โ”‚ โ”œโ”€โ”€ agents/ # Agent implementations
280
+ โ”‚ โ”œโ”€โ”€ mcp/ # MCP server implementations
281
+ โ”‚ โ”œโ”€โ”€ utils/ # Utility functions
282
+ โ”‚ โ””โ”€โ”€ services/ # Service layer
283
+ โ”œโ”€โ”€ dist/ # Compiled JavaScript
284
+ โ”œโ”€โ”€ memory/ # Persistent storage
285
+ โ”œโ”€โ”€ models/ # ML models
286
+ โ””โ”€โ”€ tests/ # Test suite
287
+ ```
434
288
 
435
- ### **Builds Institutional Knowledge**
436
- Your development patterns, solutions, and optimizations are captured in the graph database, creating a growing knowledge base for your organization.
289
+ ## Documentation
437
290
 
438
- ## ๐Ÿค Community & Support
291
+ - [API Reference](docs/api.md)
292
+ - [Agent Documentation](docs/agents.md)
293
+ - [MCP Tools Reference](docs/tools.md)
294
+ - [ML Capabilities](docs/ml.md)
295
+ - [Configuration Guide](docs/configuration.md)
439
296
 
440
- - **Documentation**: [https://docs.snow-flow.ai](https://github.com/groeimetai/snow-flow/wiki)
441
- - **Discord Community**: [Join our Discord](https://discord.gg/snow-flow)
442
- - **GitHub Issues**: [Report bugs or request features](https://github.com/groeimetai/snow-flow/issues)
443
- - **Commercial Support**: Available with Snow-Flow Pro
297
+ ## Contributing
444
298
 
445
- ## ๐Ÿ“„ License
299
+ Contributions are welcome. Please read the [Contributing Guide](CONTRIBUTING.md) for details on our code of conduct and the process for submitting pull requests.
446
300
 
447
- Snow-Flow is MIT licensed. See [LICENSE](LICENSE) file for details.
301
+ ## Support
448
302
 
449
- ---
303
+ - GitHub Issues: [github.com/groeimetai/snow-flow/issues](https://github.com/groeimetai/snow-flow/issues)
304
+ - Documentation: [github.com/groeimetai/snow-flow/wiki](https://github.com/groeimetai/snow-flow/wiki)
450
305
 
451
- **Ready to transform your ServiceNow development?**
306
+ ## License
452
307
 
453
- ```bash
454
- npm install -g snow-flow
455
- snow-flow init
456
- ```
308
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
457
309
 
458
- Join thousands of developers who are already building faster, smarter, and better with Snow-Flow.
310
+ ## Acknowledgments
459
311
 
460
- ๐Ÿš€ **The future of ServiceNow development is here. The future is Snow-Flow.**
312
+ - ServiceNow for the comprehensive REST API
313
+ - TensorFlow.js for machine learning capabilities
314
+ - Model Context Protocol (MCP) for tool orchestration
@@ -36,7 +36,7 @@ function getDynamicVersion() {
36
36
  console.warn('Warning: Could not read version from package.json:', error);
37
37
  }
38
38
  // Fallback to hardcoded version
39
- return '3.2.0';
39
+ return '3.2.1';
40
40
  }
41
41
  // Export a constant that uses the dynamic version
42
42
  exports.VERSION = getDynamicVersion();
@@ -219,7 +219,7 @@ class ServiceNowAutomationMCP {
219
219
  },
220
220
  {
221
221
  name: 'snow_create_atf_test',
222
- description: '๐Ÿงช Creates an Automated Test Framework (ATF) test for automated testing of ServiceNow applications and configurations.',
222
+ description: 'Creates an Automated Test Framework (ATF) test for automated testing of ServiceNow applications and configurations using the sys_atf_test table.',
223
223
  inputSchema: {
224
224
  type: 'object',
225
225
  properties: {
@@ -235,7 +235,7 @@ class ServiceNowAutomationMCP {
235
235
  },
236
236
  {
237
237
  name: 'snow_create_atf_test_step',
238
- description: 'โž• Adds a test step to an existing ATF test. Steps define the actions and assertions for testing.',
238
+ description: 'Adds a test step to an existing ATF test. Steps define the actions and assertions for testing using the sys_atf_step table.',
239
239
  inputSchema: {
240
240
  type: 'object',
241
241
  properties: {
@@ -251,7 +251,7 @@ class ServiceNowAutomationMCP {
251
251
  },
252
252
  {
253
253
  name: 'snow_execute_atf_test',
254
- description: 'โ–ถ๏ธ Executes an ATF test or test suite and returns the results. Tests run asynchronously in ServiceNow.',
254
+ description: 'Executes an ATF test or test suite and returns the results. Tests run asynchronously in ServiceNow using sys_atf_test_result table.',
255
255
  inputSchema: {
256
256
  type: 'object',
257
257
  properties: {
@@ -264,7 +264,7 @@ class ServiceNowAutomationMCP {
264
264
  },
265
265
  {
266
266
  name: 'snow_get_atf_results',
267
- description: '๐Ÿ“Š Retrieves ATF test execution results including pass/fail status, error details, and execution time.',
267
+ description: 'Retrieves ATF test execution results including pass/fail status, error details, and execution time from sys_atf_test_result table.',
268
268
  inputSchema: {
269
269
  type: 'object',
270
270
  properties: {
@@ -276,7 +276,7 @@ class ServiceNowAutomationMCP {
276
276
  },
277
277
  {
278
278
  name: 'snow_create_atf_test_suite',
279
- description: '๐Ÿ“ฆ Creates an ATF test suite to group and run multiple tests together.',
279
+ description: 'Creates an ATF test suite to group and run multiple tests together using sys_atf_test_suite table.',
280
280
  inputSchema: {
281
281
  type: 'object',
282
282
  properties: {
@@ -291,7 +291,7 @@ class ServiceNowAutomationMCP {
291
291
  },
292
292
  {
293
293
  name: 'snow_discover_atf_tests',
294
- description: '๐Ÿ” Discovers existing ATF tests and test suites in the instance with filtering options.',
294
+ description: 'Discovers existing ATF tests and test suites in the instance with filtering options from sys_atf_test and sys_atf_test_suite tables.',
295
295
  inputSchema: {
296
296
  type: 'object',
297
297
  properties: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "snow-flow",
3
- "version": "3.2.0",
4
- "description": "Snow-Flow v3.2.0: Complete ServiceNow Enterprise Suite with 180+ MCP Tools. ATF Testing, Knowledge Management, Service Catalog, Change Management with CAB scheduling, Virtual Agent chatbots with NLU, Performance Analytics KPIs, Flow Designer automation, Agent Workspace configuration, Mobile app deployment, CMDB/Discovery, Event Management correlation, HR Service Delivery onboarding, Customer Service Management, DevOps CI/CD integration. All using official ServiceNow REST APIs across 17 specialized MCP servers.",
3
+ "version": "3.2.1",
4
+ "description": "Snow-Flow v3.2.1: ServiceNow development platform with 180+ MCP tools. Includes ATF Testing, Knowledge Management, Service Catalog, Change Management, Virtual Agent, Performance Analytics, Flow Designer, Agent Workspace, Mobile, CMDB/Discovery, Event Management, HR Service Delivery, Customer Service Management, and DevOps integration. All tools use official ServiceNow REST APIs across 17 specialized MCP servers.",
5
5
  "main": "dist/index.js",
6
6
  "type": "commonjs",
7
7
  "bin": {