snow-flow 3.4.15 → 3.4.17

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.
@@ -15,7 +15,7 @@
15
15
  <nav class="navbar">
16
16
  <div class="container">
17
17
  <div class="nav-brand">
18
- <span class="logo">🏔️❄️</span>
18
+ <span class="logo">🏔️</span>
19
19
  <span class="brand-name">Snow-Flow</span>
20
20
  </div>
21
21
  <ul class="nav-menu">
@@ -39,7 +39,7 @@
39
39
  <section id="home" class="hero">
40
40
  <div class="container">
41
41
  <div class="hero-content">
42
- <div class="hero-logo">🏔️❄️</div>
42
+ <div class="hero-logo">🏔️</div>
43
43
  <h1 class="hero-title">Snow-Flow</h1>
44
44
  <p class="hero-subtitle">Advanced ServiceNow Development Framework with AI-Powered Automation</p>
45
45
  <p class="hero-description">
@@ -52,7 +52,7 @@
52
52
  </div>
53
53
  <div class="hero-stats">
54
54
  <div class="stat">
55
- <span class="stat-number">16+</span>
55
+ <span class="stat-number">17</span>
56
56
  <span class="stat-label">MCP Servers</span>
57
57
  </div>
58
58
  <div class="stat">
@@ -90,7 +90,7 @@
90
90
  <div class="what-is-card">
91
91
  <div class="card-icon">⚡</div>
92
92
  <h3>MCP Integration</h3>
93
- <p>Built on the Model Context Protocol, Snow-Flow provides 16+ specialized MCP servers that handle everything from widget deployment to machine learning, each with dedicated tools for ServiceNow operations.</p>
93
+ <p>Built on the Model Context Protocol, Snow-Flow provides 17 specialized MCP servers that handle everything from widget deployment to machine learning, each with dedicated tools for ServiceNow operations.</p>
94
94
  </div>
95
95
  <div class="what-is-card">
96
96
  <div class="card-icon">📊</div>
@@ -144,248 +144,18 @@
144
144
  <section id="mcp-servers" class="mcp-servers">
145
145
  <div class="container">
146
146
  <h2 class="section-title">MCP Servers & Tools</h2>
147
- <p class="section-subtitle">Snow-Flow includes 16+ specialized MCP servers, each providing powerful tools for ServiceNow development</p>
147
+ <p class="section-subtitle">Snow-Flow includes 17 specialized MCP servers with 200+ comprehensive tools for ServiceNow development</p>
148
148
 
149
- <div class="mcp-grid">
150
- <!-- ServiceNow Deployment MCP -->
151
- <div class="mcp-card">
152
- <div class="mcp-header">
153
- <h3>🚀 Deployment Server</h3>
154
- <span class="mcp-badge">40+ Tools</span>
155
- </div>
156
- <p class="mcp-description">Widget and artifact deployment with automatic coherence validation</p>
157
- <div class="mcp-tools">
158
- <h4>Key Tools:</h4>
159
- <ul>
160
- <li><code>snow_deploy_widget</code> - Deploy widgets with validation</li>
161
- <li><code>snow_deploy_portal_page</code> - Deploy portal pages</li>
162
- <li><code>snow_deploy_flow</code> - Deploy Flow Designer flows</li>
163
- <li><code>snow_create_update_set</code> - Create update sets</li>
164
- <li><code>snow_validate_deployment</code> - Validate deployments</li>
165
- <li><code>snow_rollback_deployment</code> - Rollback on failure</li>
166
- </ul>
167
- </div>
168
- </div>
169
-
170
- <!-- ServiceNow Operations MCP -->
171
- <div class="mcp-card">
172
- <div class="mcp-header">
173
- <h3>⚙️ Operations Server</h3>
174
- <span class="mcp-badge">30+ Tools</span>
175
- </div>
176
- <p class="mcp-description">Core ServiceNow operations and CRUD functionality</p>
177
- <div class="mcp-tools">
178
- <h4>Key Tools:</h4>
179
- <ul>
180
- <li><code>snow_query_table</code> - Universal table querying</li>
181
- <li><code>snow_create_incident</code> - Create incidents</li>
182
- <li><code>snow_update_record</code> - Update any record</li>
183
- <li><code>snow_discover_table_fields</code> - Discover schema</li>
184
- <li><code>snow_cmdb_search</code> - Search CMDB</li>
185
- <li><code>snow_get_by_sysid</code> - Get record by sys_id</li>
186
- </ul>
187
- </div>
188
- </div>
189
-
190
- <!-- ServiceNow Automation MCP -->
191
- <div class="mcp-card">
192
- <div class="mcp-header">
193
- <h3>🤖 Automation Server</h3>
194
- <span class="mcp-badge">25+ Tools</span>
195
- </div>
196
- <p class="mcp-description">Script execution and automation with output capture</p>
197
- <div class="mcp-tools">
198
- <h4>Key Tools:</h4>
199
- <ul>
200
- <li><code>snow_execute_script_with_output</code> - Execute with output</li>
201
- <li><code>snow_get_script_output</code> - Retrieve execution history</li>
202
- <li><code>snow_execute_script_sync</code> - Synchronous execution</li>
203
- <li><code>snow_get_logs</code> - Access system logs</li>
204
- <li><code>snow_test_rest_connection</code> - Test REST APIs</li>
205
- <li><code>snow_trace_execution</code> - Trace execution</li>
206
- </ul>
207
- </div>
208
- </div>
209
-
210
- <!-- ServiceNow Machine Learning MCP -->
211
- <div class="mcp-card">
212
- <div class="mcp-header">
213
- <h3>🧠 Machine Learning Server</h3>
214
- <span class="mcp-badge">20+ Tools</span>
215
- </div>
216
- <p class="mcp-description">AI/ML capabilities with TensorFlow.js integration</p>
217
- <div class="mcp-tools">
218
- <h4>Key Tools:</h4>
219
- <ul>
220
- <li><code>snow_train_classifier</code> - Train incident classifier</li>
221
- <li><code>snow_predict_change_risk</code> - Predict risks</li>
222
- <li><code>snow_detect_anomalies</code> - Anomaly detection</li>
223
- <li><code>snow_forecast_incidents</code> - Incident forecasting</li>
224
- <li><code>snow_optimize_process</code> - Process optimization</li>
225
- <li><code>snow_sentiment_analysis</code> - Analyze sentiment</li>
226
- </ul>
227
- </div>
228
- </div>
229
-
230
- <!-- ServiceNow Platform Development MCP -->
231
- <div class="mcp-card">
232
- <div class="mcp-header">
233
- <h3>💻 Platform Development Server</h3>
234
- <span class="mcp-badge">20+ Tools</span>
235
- </div>
236
- <p class="mcp-description">Create platform artifacts and custom applications</p>
237
- <div class="mcp-tools">
238
- <h4>Key Tools:</h4>
239
- <ul>
240
- <li><code>snow_create_script_include</code> - Create Script Includes</li>
241
- <li><code>snow_create_business_rule</code> - Create Business Rules</li>
242
- <li><code>snow_create_client_script</code> - Create Client Scripts</li>
243
- <li><code>snow_create_ui_policy</code> - Create UI Policies</li>
244
- <li><code>snow_create_ui_action</code> - Create UI Actions</li>
245
- <li><code>snow_create_ui_page</code> - Create UI Pages</li>
246
- </ul>
247
- </div>
248
- </div>
249
-
250
- <!-- ServiceNow Integration MCP -->
251
- <div class="mcp-card">
252
- <div class="mcp-header">
253
- <h3>🔗 Integration Server</h3>
254
- <span class="mcp-badge">15+ Tools</span>
255
- </div>
256
- <p class="mcp-description">REST/SOAP integrations and data transformations</p>
257
- <div class="mcp-tools">
258
- <h4>Key Tools:</h4>
259
- <ul>
260
- <li><code>snow_create_rest_message</code> - Create REST integrations</li>
261
- <li><code>snow_create_transform_map</code> - Data transformations</li>
262
- <li><code>snow_create_import_set</code> - Manage import sets</li>
263
- <li><code>snow_test_web_service</code> - Test web services</li>
264
- <li><code>snow_configure_email</code> - Email configuration</li>
265
- <li><code>snow_create_oauth_profile</code> - OAuth setup</li>
266
- </ul>
267
- </div>
268
- </div>
269
-
270
- <!-- ServiceNow System Properties MCP -->
271
- <div class="mcp-card">
272
- <div class="mcp-header">
273
- <h3>⚙️ System Properties Server</h3>
274
- <span class="mcp-badge">10+ Tools</span>
275
- </div>
276
- <p class="mcp-description">System property management and configuration</p>
277
- <div class="mcp-tools">
278
- <h4>Key Tools:</h4>
279
- <ul>
280
- <li><code>snow_property_get</code> - Get property values</li>
281
- <li><code>snow_property_set</code> - Set property values</li>
282
- <li><code>snow_property_list</code> - List by pattern</li>
283
- <li><code>snow_property_bulk_update</code> - Bulk operations</li>
284
- <li><code>snow_property_export</code> - Export to JSON</li>
285
- <li><code>snow_property_import</code> - Import from JSON</li>
286
- </ul>
287
- </div>
288
- </div>
289
-
290
- <!-- ServiceNow Update Set MCP -->
291
- <div class="mcp-card">
292
- <div class="mcp-header">
293
- <h3>📦 Update Set Server</h3>
294
- <span class="mcp-badge">10+ Tools</span>
295
- </div>
296
- <p class="mcp-description">Change management and update set operations</p>
297
- <div class="mcp-tools">
298
- <h4>Key Tools:</h4>
299
- <ul>
300
- <li><code>snow_create_update_set</code> - Create update sets</li>
301
- <li><code>snow_switch_update_set</code> - Switch active set</li>
302
- <li><code>snow_complete_update_set</code> - Mark complete</li>
303
- <li><code>snow_preview_update_set</code> - Preview changes</li>
304
- <li><code>snow_export_update_set</code> - Export as XML</li>
305
- <li><code>snow_import_update_set</code> - Import XML</li>
306
- </ul>
307
- </div>
308
- </div>
309
-
310
- <!-- ServiceNow Development Assistant MCP -->
311
- <div class="mcp-card">
312
- <div class="mcp-header">
313
- <h3>🎯 Development Assistant Server</h3>
314
- <span class="mcp-badge">15+ Tools</span>
315
- </div>
316
- <p class="mcp-description">Code generation and best practices enforcement</p>
317
- <div class="mcp-tools">
318
- <h4>Key Tools:</h4>
319
- <ul>
320
- <li><code>snow_generate_code</code> - Generate ServiceNow code</li>
321
- <li><code>snow_suggest_pattern</code> - Design patterns</li>
322
- <li><code>snow_review_code</code> - Code review</li>
323
- <li><code>snow_optimize_performance</code> - Performance tips</li>
324
- <li><code>snow_convert_to_es5</code> - ES5 conversion</li>
325
- <li><code>snow_generate_documentation</code> - Auto docs</li>
326
- </ul>
327
- </div>
328
- </div>
329
-
330
- <!-- ServiceNow Security & Compliance MCP -->
331
- <div class="mcp-card">
332
- <div class="mcp-header">
333
- <h3>🔒 Security & Compliance Server</h3>
334
- <span class="mcp-badge">15+ Tools</span>
335
- </div>
336
- <p class="mcp-description">Security scanning and compliance validation</p>
337
- <div class="mcp-tools">
338
- <h4>Key Tools:</h4>
339
- <ul>
340
- <li><code>snow_create_security_policy</code> - Security policies</li>
341
- <li><code>snow_audit_compliance</code> - Compliance audit</li>
342
- <li><code>snow_scan_vulnerabilities</code> - Vulnerability scan</li>
343
- <li><code>snow_assess_risk</code> - Risk assessment</li>
344
- <li><code>snow_review_access_control</code> - ACL review</li>
345
- <li><code>snow_gdpr_compliance_check</code> - GDPR check</li>
346
- </ul>
347
- </div>
348
- </div>
349
-
350
- <!-- ServiceNow Reporting & Analytics MCP -->
351
- <div class="mcp-card">
352
- <div class="mcp-header">
353
- <h3>📊 Reporting & Analytics Server</h3>
354
- <span class="mcp-badge">20+ Tools</span>
355
- </div>
356
- <p class="mcp-description">Advanced reporting and data visualization</p>
357
- <div class="mcp-tools">
358
- <h4>Key Tools:</h4>
359
- <ul>
360
- <li><code>snow_create_report</code> - Create reports</li>
361
- <li><code>snow_create_dashboard</code> - Build dashboards</li>
362
- <li><code>snow_define_kpi</code> - Define KPIs</li>
363
- <li><code>snow_schedule_report</code> - Schedule delivery</li>
364
- <li><code>snow_analyze_data_quality</code> - Data quality</li>
365
- <li><code>snow_create_performance_dashboard</code> - Performance</li>
366
- </ul>
367
- </div>
368
- </div>
369
-
370
- <!-- Snow-Flow Orchestration MCP -->
371
- <div class="mcp-card">
372
- <div class="mcp-header">
373
- <h3>👑 Orchestration Server</h3>
374
- <span class="mcp-badge">25+ Tools</span>
375
- </div>
376
- <p class="mcp-description">Multi-agent coordination and task management</p>
377
- <div class="mcp-tools">
378
- <h4>Key Tools:</h4>
379
- <ul>
380
- <li><code>snow_swarm_init</code> - Initialize agent swarms</li>
381
- <li><code>snow_agent_spawn</code> - Create specialized agents</li>
382
- <li><code>snow_task_orchestrate</code> - Orchestrate tasks</li>
383
- <li><code>snow_memory_store</code> - Persistent memory</li>
384
- <li><code>snow_neural_train</code> - Train neural networks</li>
385
- <li><code>snow_performance_analyze</code> - Performance analysis</li>
386
- </ul>
387
- </div>
388
- </div>
149
+ <div class="mcp-filter">
150
+ <button class="filter-btn active" data-filter="all">All Servers (17)</button>
151
+ <button class="filter-btn" data-filter="deployment">Deployment</button>
152
+ <button class="filter-btn" data-filter="automation">Automation</button>
153
+ <button class="filter-btn" data-filter="ml">Machine Learning</button>
154
+ <button class="filter-btn" data-filter="security">Security</button>
155
+ </div>
156
+
157
+ <div id="mcp-grid" class="mcp-grid-dynamic">
158
+ <!-- MCP cards will be dynamically generated here -->
389
159
  </div>
390
160
  </div>
391
161
  </section>
@@ -712,7 +482,7 @@ console.log('Confidence:', prediction.confidence);</code></pre>
712
482
  <div class="footer-section">
713
483
  <h4>Snow-Flow</h4>
714
484
  <p>Advanced ServiceNow Development Framework</p>
715
- <div class="footer-logo">🏔️❄️</div>
485
+ <div class="footer-logo">🏔️</div>
716
486
  </div>
717
487
  <div class="footer-section">
718
488
  <h4>Quick Links</h4>
@@ -734,7 +504,7 @@ console.log('Confidence:', prediction.confidence);</code></pre>
734
504
  </div>
735
505
  <div class="footer-section">
736
506
  <h4>Version</h4>
737
- <p>v3.4.14</p>
507
+ <p>v3.4.16</p>
738
508
  <p>MIT License</p>
739
509
  <p>&copy; 2024 Snow-Flow Team</p>
740
510
  </div>
@@ -742,6 +512,7 @@ console.log('Confidence:', prediction.confidence);</code></pre>
742
512
  </div>
743
513
  </footer>
744
514
 
515
+ <script src="tools.js"></script>
745
516
  <script src="js/main.js"></script>
746
517
  <script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js"></script>
747
518
  <script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-javascript.min.js"></script>
@@ -315,9 +315,165 @@ document.addEventListener('DOMContentLoaded', function() {
315
315
  document.body.classList.add('loaded');
316
316
  });
317
317
 
318
+ // Dynamic MCP Server Generation
319
+ function generateMCPCards() {
320
+ const mcpGrid = document.getElementById('mcp-grid');
321
+ if (!mcpGrid || !window.snowFlowTools) return;
322
+
323
+ mcpGrid.innerHTML = '';
324
+
325
+ Object.keys(window.snowFlowTools).forEach(serverId => {
326
+ const server = window.snowFlowTools[serverId];
327
+
328
+ const mcpCard = document.createElement('div');
329
+ mcpCard.className = 'mcp-card-dynamic';
330
+ mcpCard.setAttribute('data-server', serverId);
331
+
332
+ mcpCard.innerHTML = `
333
+ <div class="mcp-card-header">
334
+ <div class="mcp-title">
335
+ <h3>${server.name}</h3>
336
+ <span class="mcp-badge">${server.badge}</span>
337
+ </div>
338
+ <button class="mcp-expand-btn" aria-label="Toggle tools">
339
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
340
+ <polyline points="6,9 12,15 18,9"></polyline>
341
+ </svg>
342
+ </button>
343
+ </div>
344
+ <p class="mcp-description">${server.description}</p>
345
+ <div class="mcp-tools-container" style="display: none;">
346
+ <div class="mcp-tools-grid">
347
+ ${server.tools.map(tool => `
348
+ <div class="tool-item">
349
+ <div class="tool-header">
350
+ <code class="tool-name">${tool.name}</code>
351
+ </div>
352
+ <p class="tool-description">${tool.description}</p>
353
+ </div>
354
+ `).join('')}
355
+ </div>
356
+ </div>
357
+ `;
358
+
359
+ mcpGrid.appendChild(mcpCard);
360
+ });
361
+
362
+ // Add click handlers for expand/collapse
363
+ const expandButtons = document.querySelectorAll('.mcp-expand-btn');
364
+ expandButtons.forEach(btn => {
365
+ btn.addEventListener('click', function() {
366
+ const card = this.closest('.mcp-card-dynamic');
367
+ const toolsContainer = card.querySelector('.mcp-tools-container');
368
+ const isExpanded = toolsContainer.style.display !== 'none';
369
+
370
+ if (isExpanded) {
371
+ toolsContainer.style.display = 'none';
372
+ this.classList.remove('expanded');
373
+ card.classList.remove('expanded');
374
+ } else {
375
+ toolsContainer.style.display = 'block';
376
+ this.classList.add('expanded');
377
+ card.classList.add('expanded');
378
+
379
+ // Smooth animation
380
+ toolsContainer.style.maxHeight = '0px';
381
+ toolsContainer.style.overflow = 'hidden';
382
+ toolsContainer.style.transition = 'max-height 0.4s ease-in-out';
383
+
384
+ setTimeout(() => {
385
+ toolsContainer.style.maxHeight = toolsContainer.scrollHeight + 'px';
386
+ }, 10);
387
+
388
+ setTimeout(() => {
389
+ toolsContainer.style.maxHeight = 'none';
390
+ toolsContainer.style.overflow = 'visible';
391
+ }, 450);
392
+ }
393
+ });
394
+ });
395
+
396
+ // Add observer for new cards
397
+ const newCards = document.querySelectorAll('.mcp-card-dynamic');
398
+ newCards.forEach(el => {
399
+ el.style.opacity = '0';
400
+ el.style.transform = 'translateY(20px)';
401
+ el.style.transition = 'opacity 0.6s ease, transform 0.6s ease';
402
+ observer.observe(el);
403
+ });
404
+ }
405
+
406
+ // MCP Filter Functionality
407
+ function setupMCPFilter() {
408
+ const filterButtons = document.querySelectorAll('.filter-btn');
409
+
410
+ filterButtons.forEach(btn => {
411
+ btn.addEventListener('click', function() {
412
+ const filter = this.getAttribute('data-filter');
413
+
414
+ // Update active button
415
+ filterButtons.forEach(b => b.classList.remove('active'));
416
+ this.classList.add('active');
417
+
418
+ // Filter cards
419
+ const cards = document.querySelectorAll('.mcp-card-dynamic');
420
+ cards.forEach(card => {
421
+ const serverId = card.getAttribute('data-server');
422
+ const shouldShow = filter === 'all' ||
423
+ (filter === 'deployment' && serverId.includes('deployment')) ||
424
+ (filter === 'automation' && (serverId.includes('automation') || serverId.includes('flow'))) ||
425
+ (filter === 'ml' && serverId.includes('machine-learning')) ||
426
+ (filter === 'security' && serverId.includes('security'));
427
+
428
+ if (shouldShow) {
429
+ card.style.display = 'block';
430
+ card.style.animation = 'fadeIn 0.3s ease';
431
+ } else {
432
+ card.style.display = 'none';
433
+ }
434
+ });
435
+ });
436
+ });
437
+ }
438
+
439
+ // Enhanced Search for Dynamic Cards
440
+ function updateSearchForDynamicCards() {
441
+ if (searchInput) {
442
+ searchInput.addEventListener('input', function(e) {
443
+ const searchTerm = e.target.value.toLowerCase();
444
+ const mcpCards = document.querySelectorAll('.mcp-card-dynamic');
445
+
446
+ mcpCards.forEach(card => {
447
+ const text = card.textContent.toLowerCase();
448
+ if (text.includes(searchTerm)) {
449
+ card.style.display = 'block';
450
+ card.style.animation = 'fadeIn 0.3s ease';
451
+ } else {
452
+ card.style.display = 'none';
453
+ }
454
+ });
455
+ });
456
+ }
457
+ }
458
+
459
+ // Initialize MCP functionality when tools are loaded
460
+ function initializeMCP() {
461
+ if (window.snowFlowTools) {
462
+ generateMCPCards();
463
+ setupMCPFilter();
464
+ updateSearchForDynamicCards();
465
+ } else {
466
+ // Retry after a short delay if tools aren't loaded yet
467
+ setTimeout(initializeMCP, 100);
468
+ }
469
+ }
470
+
471
+ // Initialize MCP functionality
472
+ initializeMCP();
473
+
318
474
  // Console Easter Egg
319
- console.log('%c🏔️❄️ Snow-Flow', 'font-size: 30px; font-weight: bold; background: linear-gradient(135deg, #0066cc 0%, #00d4ff 100%); color: white; padding: 10px 20px; border-radius: 10px;');
475
+ console.log('%c🏔️ Snow-Flow', 'font-size: 30px; font-weight: bold; background: linear-gradient(135deg, #0066cc 0%, #00d4ff 100%); color: white; padding: 10px 20px; border-radius: 10px;');
320
476
  console.log('%cAdvanced ServiceNow Development Framework', 'font-size: 14px; color: #666;');
321
- console.log('%cVersion 3.4.14 | MIT License', 'font-size: 12px; color: #999;');
477
+ console.log('%cVersion 3.4.16 | MIT License', 'font-size: 12px; color: #999;');
322
478
  console.log('%cInterested in contributing? Visit: https://github.com/groeimetai/snow-flow', 'font-size: 12px; color: #0066cc;');
323
479
  });