snow-flow 3.4.36 → 3.5.0

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 (72) hide show
  1. package/README.md +414 -287
  2. package/dist/cli/deploy-artifact.js +2 -2
  3. package/dist/index.d.ts +4 -0
  4. package/dist/index.js +10 -2
  5. package/dist/mcp/enhancements/smart-query-enhancement.d.ts +49 -0
  6. package/dist/mcp/enhancements/smart-query-enhancement.js +233 -0
  7. package/dist/mcp/servicenow-deployment-mcp.js +1 -1
  8. package/dist/mcp/servicenow-local-development-mcp.d.ts +48 -0
  9. package/dist/mcp/servicenow-local-development-mcp.js +570 -0
  10. package/dist/mcp/servicenow-mcp-server.js +2 -2
  11. package/dist/queen/agent-factory.js +134 -52
  12. package/dist/queen/queen-knowledge-base.d.ts +151 -0
  13. package/dist/queen/queen-knowledge-base.js +283 -0
  14. package/dist/queen/servicenow-queen.d.ts +129 -2
  15. package/dist/queen/servicenow-queen.js +1069 -618
  16. package/dist/services/widget-deployment-service.d.ts +1 -1
  17. package/dist/services/widget-deployment-service.js +1 -1
  18. package/dist/templates/claude-md-template.d.ts +1 -1
  19. package/dist/templates/claude-md-template.js +2 -2
  20. package/dist/types/servicenow.types.d.ts +1 -1
  21. package/dist/utils/artifact-local-sync.d.ts +115 -0
  22. package/dist/utils/artifact-local-sync.js +705 -0
  23. package/dist/utils/artifact-sync/artifact-registry.d.ts +66 -0
  24. package/dist/utils/artifact-sync/artifact-registry.js +450 -0
  25. package/dist/utils/artifact-sync/index.d.ts +33 -0
  26. package/dist/utils/artifact-sync/index.js +52 -0
  27. package/dist/utils/dependency-detector.d.ts +1 -1
  28. package/dist/utils/dependency-detector.js +1 -1
  29. package/dist/utils/mcp-tool-registry.js +109 -0
  30. package/dist/utils/servicenow-client.d.ts +1 -1
  31. package/dist/utils/servicenow-client.js +4 -8
  32. package/dist/utils/smart-field-fetcher.d.ts +68 -0
  33. package/dist/utils/smart-field-fetcher.js +395 -0
  34. package/package.json +2 -2
  35. package/website/.dockerignore +64 -0
  36. package/website/Dockerfile +36 -0
  37. package/website/README.md +40 -1
  38. package/website/cloudbuild.yaml +69 -0
  39. package/website/components/README.md +419 -0
  40. package/website/components/code-display/CodeDisplay.css +583 -0
  41. package/website/components/code-display/CodeDisplay.html +200 -0
  42. package/website/components/code-display/CodeDisplay.js +375 -0
  43. package/website/components/code-display/CodeDisplay.jsx +268 -0
  44. package/website/components/demo/ComponentLibraryDemo.html +845 -0
  45. package/website/components/feature-cards/FeatureCards.css +573 -0
  46. package/website/components/feature-cards/FeatureCards.html +247 -0
  47. package/website/components/feature-cards/FeatureCards.js +382 -0
  48. package/website/components/feature-cards/FeatureCards.jsx +235 -0
  49. package/website/components/hero/Hero.css +558 -0
  50. package/website/components/hero/Hero.html +98 -0
  51. package/website/components/hero/Hero.js +415 -0
  52. package/website/components/hero/Hero.jsx +214 -0
  53. package/website/components/interactive/InteractiveElements.css +776 -0
  54. package/website/components/interactive/InteractiveElements.html +283 -0
  55. package/website/components/interactive/InteractiveElements.js +489 -0
  56. package/website/components/interactive/InteractiveElements.jsx +444 -0
  57. package/website/components/layout/LayoutComponents.css +697 -0
  58. package/website/components/layout/LayoutComponents.html +374 -0
  59. package/website/components/layout/LayoutComponents.js +447 -0
  60. package/website/components/layout/LayoutComponents.jsx +379 -0
  61. package/website/components/navigation/Navigation.css +383 -0
  62. package/website/components/navigation/Navigation.html +89 -0
  63. package/website/components/navigation/Navigation.js +248 -0
  64. package/website/components/navigation/Navigation.jsx +124 -0
  65. package/website/css/animations.css +854 -0
  66. package/website/css/style.css +1010 -924
  67. package/website/index.html +728 -412
  68. package/website/js/animations.js +707 -0
  69. package/website/js/main.js +333 -381
  70. package/website/mcp-servers.html +310 -0
  71. package/website/nginx.conf +116 -0
  72. package/website/service.yaml +61 -0
@@ -3,29 +3,31 @@
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Snow-Flow - Advanced ServiceNow Development Framework</title>
6
+ <title>Snow-Flow | Revolutionary ServiceNow Development</title>
7
+ <meta name="description" content="Snow-Flow: AI-powered ServiceNow development framework with 17 MCP servers, 200+ tools, and intelligent automation.">
8
+
9
+ <!-- Modern CSS -->
7
10
  <link rel="stylesheet" href="css/style.css">
11
+
12
+ <!-- Modern Font Stack -->
8
13
  <link rel="preconnect" href="https://fonts.googleapis.com">
9
14
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10
- <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
11
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism-tomorrow.min.css">
15
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
16
+
17
+ <!-- Favicon -->
18
+ <link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🏔️</text></svg>">
12
19
  </head>
13
- <body>
14
- <!-- Navigation -->
20
+ <body class="noise">
21
+ <!-- Glass Morphism Navigation -->
15
22
  <nav class="navbar">
16
- <div class="container">
17
- <div class="nav-brand">
18
- <span class="logo">🏔️</span>
19
- <span class="brand-name">Snow-Flow</span>
20
- </div>
21
- <ul class="nav-menu">
22
- <li><a href="#home" class="nav-link">Home</a></li>
23
- <li><a href="#features" class="nav-link">Features</a></li>
24
- <li><a href="#mcp-servers" class="nav-link">MCP Servers</a></li>
25
- <li><a href="#installation" class="nav-link">Installation</a></li>
26
- <li><a href="#examples" class="nav-link">Examples</a></li>
27
- <li><a href="#api" class="nav-link">API</a></li>
28
- <li><a href="https://github.com/groeimetai/snow-flow" class="nav-link github">GitHub</a></li>
23
+ <div class="navbar-container">
24
+ <a href="#" class="navbar-logo"><span class="logo-mountain">🏔️</span> SNOW-FLOW</a>
25
+ <ul class="navbar-menu">
26
+ <li><a href="#home" class="navbar-link">Home</a></li>
27
+ <li><a href="#features" class="navbar-link">Features</a></li>
28
+ <li><a href="#servers" class="navbar-link">MCP</a></li>
29
+ <li><a href="#install" class="navbar-link">Install</a></li>
30
+ <li><a href="#docs" class="navbar-link">Docs</a></li>
29
31
  </ul>
30
32
  <div class="hamburger">
31
33
  <span></span>
@@ -35,487 +37,801 @@
35
37
  </div>
36
38
  </nav>
37
39
 
38
- <!-- Hero Section -->
40
+ <!-- Hero Section with Animated Gradient Mesh -->
39
41
  <section id="home" class="hero">
40
- <div class="container">
41
- <div class="hero-content">
42
- <div class="hero-logo">🏔️</div>
43
- <h1 class="hero-title">Snow-Flow</h1>
44
- <p class="hero-subtitle">Advanced ServiceNow Development Framework with AI-Powered Automation</p>
45
- <p class="hero-description">
46
- Snow-Flow is a cutting-edge development framework that revolutionizes ServiceNow development through
47
- intelligent automation, multi-agent coordination, and the Model Context Protocol (MCP).
48
- </p>
49
- <div class="hero-buttons">
50
- <a href="#installation" class="btn btn-primary">Get Started</a>
51
- <a href="#features" class="btn btn-secondary">Learn More</a>
52
- </div>
53
- <div class="hero-stats">
54
- <div class="stat">
55
- <span class="stat-number">17</span>
56
- <span class="stat-label">MCP Servers</span>
57
- </div>
58
- <div class="stat">
59
- <span class="stat-number">200+</span>
60
- <span class="stat-label">Tools</span>
61
- </div>
62
- <div class="stat">
63
- <span class="stat-number">80%</span>
64
- <span class="stat-label">API Reduction</span>
65
- </div>
66
- <div class="stat">
67
- <span class="stat-number">100%</span>
68
- <span class="stat-label">Real Data</span>
69
- </div>
70
- </div>
42
+ <div class="hero-content animate-fade-in-up">
43
+ <div class="hero-logo-container" style="font-size: 5rem; margin-bottom: var(--space-6);">
44
+ <span class="hero-mountain">🏔️</span>
45
+ </div>
46
+ <h1 class="hero-title">SNOW-FLOW</h1>
47
+ <p class="hero-subtitle">Revolutionary ServiceNow Development Through AI</p>
48
+ <div class="flex gap-6 justify-center" style="margin-top: var(--space-10); margin-bottom: var(--space-20);">
49
+ <a href="#install" class="btn btn-primary btn-animated">Start Building</a>
50
+ <a href="#docs" class="btn btn-secondary">View Demo</a>
71
51
  </div>
72
52
  </div>
73
53
  </section>
74
54
 
75
- <!-- What is Snow-Flow -->
76
- <section class="what-is">
55
+ <!-- Features Grid Section -->
56
+ <section id="features" class="section" style="padding-top: var(--space-32); background: var(--white); position: relative; z-index: 10;">
77
57
  <div class="container">
78
- <h2 class="section-title">What is Snow-Flow?</h2>
79
- <div class="what-is-grid">
80
- <div class="what-is-card">
58
+ <h2 class="text-center font-black" style="font-size: var(--font-4xl); margin-bottom: var(--space-12);">Revolutionary Features</h2>
59
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4" style="gap: var(--space-8);">
60
+ <div class="card animate-scale-in stagger-1">
81
61
  <div class="card-icon">🤖</div>
82
- <h3>AI-Powered Development</h3>
83
- <p>Snow-Flow integrates Claude AI for intelligent code generation, pattern recognition, and automated development workflows. It understands ServiceNow's ES5 JavaScript requirements and generates production-ready code.</p>
62
+ <h3 class="card-title">AI-Powered</h3>
63
+ <p class="card-description">Claude AI integration for intelligent code generation with ES5 compatibility.</p>
84
64
  </div>
85
- <div class="what-is-card">
65
+ <div class="card animate-scale-in stagger-2">
86
66
  <div class="card-icon">🔄</div>
87
- <h3>Multi-Agent Orchestration</h3>
88
- <p>Coordinate multiple specialized agents working in parallel. From researchers to coders, testers to deployers - Snow-Flow manages complex development tasks through intelligent agent swarms.</p>
67
+ <h3 class="card-title">Multi-Agent</h3>
68
+ <p class="card-description">Orchestrate specialized agents working in parallel for complex tasks.</p>
89
69
  </div>
90
- <div class="what-is-card">
91
- <div class="card-icon">⚡</div>
92
- <h3>MCP Integration</h3>
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>
70
+ <div class="card animate-scale-in stagger-3">
71
+ <div class="card-icon"><span class="logo-mountain">🏔️</span></div>
72
+ <h3 class="card-title">17 MCP Servers</h3>
73
+ <p class="card-description">Specialized servers for every ServiceNow development need.</p>
94
74
  </div>
95
- <div class="what-is-card">
75
+ <div class="card animate-scale-in stagger-4">
96
76
  <div class="card-icon">📊</div>
97
- <h3>Real-Time Analytics</h3>
98
- <p>No mock data ever! Snow-Flow connects directly to your ServiceNow instance, providing real-time analytics, performance monitoring, and data-driven insights from actual production data.</p>
77
+ <h3 class="card-title">Real-Time Data</h3>
78
+ <p class="card-description">Direct connection to ServiceNow for real production insights.</p>
99
79
  </div>
100
80
  </div>
101
81
  </div>
102
82
  </section>
103
83
 
104
- <!-- Features Section -->
105
- <section id="features" class="features">
84
+ <!-- Code Display Section -->
85
+ <section class="section" style="background: var(--gray-950);">
106
86
  <div class="container">
107
- <h2 class="section-title">Core Features</h2>
108
- <div class="features-grid">
109
- <div class="feature">
110
- <div class="feature-icon">🚀</div>
111
- <h3>Instant Deployment</h3>
112
- <p>Deploy widgets, flows, and applications directly to ServiceNow with automatic coherence validation and rollback capabilities.</p>
113
- </div>
114
- <div class="feature">
115
- <div class="feature-icon">🧠</div>
116
- <h3>Machine Learning</h3>
117
- <p>Built-in TensorFlow.js integration for incident classification, anomaly detection, and predictive analytics.</p>
118
- </div>
119
- <div class="feature">
120
- <div class="feature-icon">✅</div>
121
- <h3>ES5 Validation</h3>
122
- <p>Automatic conversion and validation of JavaScript code to ensure compatibility with ServiceNow's Rhino engine.</p>
123
- </div>
124
- <div class="feature">
125
- <div class="feature-icon">📝</div>
126
- <h3>Script Execution</h3>
127
- <p>Execute background scripts with full output capture, including gs.print, gs.info, gs.warn, and gs.error messages.</p>
128
- </div>
129
- <div class="feature">
130
- <div class="feature-icon">🔍</div>
131
- <h3>Smart Discovery</h3>
132
- <p>Automatically discover tables, fields, relationships, and dependencies in your ServiceNow instance.</p>
133
- </div>
134
- <div class="feature">
135
- <div class="feature-icon">🔒</div>
136
- <h3>Security & Compliance</h3>
137
- <p>Built-in security scanning, compliance checking, and access control validation for SOX, GDPR, and HIPAA.</p>
87
+ <h2 class="text-center font-black" style="font-size: var(--font-3xl); color: var(--white); margin-bottom: var(--space-10);">Powerful Capabilities</h2>
88
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3" style="gap: var(--space-6);">
89
+ <div class="code-block animate-fade-in-up stagger-1">
90
+ <code># AI Chatbot Widget
91
+ snow-flow swarm "Create an intelligent chatbot widget
92
+ that helps users reset passwords, check incident
93
+ status, and request catalog items with NLU support" \
94
+ --strategy development --parallel --monitor</code>
95
+ </div>
96
+ <div class="code-block animate-fade-in-up stagger-2">
97
+ <code># Process Mining & Optimization
98
+ snow-flow swarm "Analyze our incident resolution
99
+ process, identify bottlenecks, and create automated
100
+ workflows to reduce MTTR by 40%" \
101
+ --strategy analysis --output html</code>
102
+ </div>
103
+ <div class="code-block animate-fade-in-up stagger-3">
104
+ <code># Predictive ML Model
105
+ snow-flow swarm "Train an LSTM model to predict
106
+ incident priorities based on description, category
107
+ and historical patterns. Deploy as real-time API" \
108
+ --max-agents 8 --mode hierarchical</code>
138
109
  </div>
139
110
  </div>
140
111
  </div>
141
112
  </section>
142
113
 
143
- <!-- MCP Servers Section -->
144
- <section id="mcp-servers" class="mcp-servers">
114
+ <!-- REAL MCP Servers List with ALL 200+ Tools from Codebase -->
115
+ <section id="servers" class="section" style="background: var(--gray-950); padding: var(--space-20) 0;">
145
116
  <div class="container">
146
- <h2 class="section-title">MCP Servers & Tools</h2>
147
- <p class="section-subtitle">Snow-Flow includes 17 specialized MCP servers with 200+ comprehensive tools for ServiceNow development</p>
117
+ <h2 class="text-center font-black" style="font-size: var(--font-5xl); color: var(--white); margin-bottom: var(--space-4);">17 MCP Servers × 200+ Real Tools</h2>
118
+ <p class="text-center" style="color: var(--gray-400); margin-bottom: var(--space-16); font-size: var(--font-lg);">Complete ServiceNow Automation Arsenal - Actual Tools from Snow-Flow Codebase</p>
148
119
 
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>
120
+ <!-- MCP Servers Grid with Expandable Tools -->
121
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3" style="gap: var(--space-6);">
122
+
123
+ <!-- 1. Deployment Server (10 tools) -->
124
+ <div class="card" style="background: var(--gray-900); border: 1px solid var(--gray-700);">
125
+ <h3 style="color: var(--white); margin-bottom: var(--space-3); font-size: var(--font-xl);">🚀 Deployment Server</h3>
126
+ <p style="color: var(--gray-400); margin-bottom: var(--space-4); font-size: var(--font-sm);">Widget & artifact deployment with coherence validation</p>
127
+ <ul style="list-style: none; padding: 0;">
128
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_deploy</li>
129
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_update</li>
130
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_delete</li>
131
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_validate_deployment</li>
132
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_rollback_deployment</li>
133
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_preview_widget</li>
134
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_widget_test</li>
135
+ <li style="color: var(--gray-500); font-size: var(--font-xs);">• snow_batch_deploy</li>
136
+ </ul>
137
+ </div>
138
+
139
+ <!-- 2. Operations Server (12 REAL tools) -->
140
+ <div class="card" style="background: var(--gray-900); border: 1px solid var(--gray-700);">
141
+ <h3 style="color: var(--white); margin-bottom: var(--space-3); font-size: var(--font-xl);">⚙️ Operations Server</h3>
142
+ <p style="color: var(--gray-400); margin-bottom: var(--space-4); font-size: var(--font-sm);">Core ServiceNow operations and queries</p>
143
+ <ul style="list-style: none; padding: 0;">
144
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_query_table</li>
145
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_query_incidents</li>
146
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_cmdb_search</li>
147
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_user_lookup</li>
148
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_operational_metrics</li>
149
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_knowledge_search</li>
150
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_create_incident</li>
151
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_update_incident</li>
152
+ <li style="color: var(--gray-500); font-size: var(--font-xs);">• + 4 more ops tools...</li>
153
+ </ul>
154
+ </div>
155
+
156
+ <!-- 3. Automation Server (27 REAL tools!) -->
157
+ <div class="card" style="background: var(--gray-900); border: 1px solid var(--gray-700);">
158
+ <h3 style="color: var(--white); margin-bottom: var(--space-3); font-size: var(--font-xl);">🤖 Automation Server <span style="color: var(--gray-500); font-size: var(--font-sm);">(27 tools!)</span></h3>
159
+ <p style="color: var(--gray-400); margin-bottom: var(--space-4); font-size: var(--font-sm);">Script execution & comprehensive automation</p>
160
+ <ul style="list-style: none; padding: 0;">
161
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_execute_background_script</li>
162
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_execute_script_with_output</li>
163
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_execute_script_sync</li>
164
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_confirm_script_execution</li>
165
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_create_scheduled_job</li>
166
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_create_atf_test</li>
167
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_execute_atf_test</li>
168
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_property_manager</li>
169
+ <li style="color: var(--gray-500); font-size: var(--font-xs);">• + 19 more automation tools...</li>
170
+ </ul>
171
+ </div>
172
+
173
+ <!-- 4. Platform Development Server -->
174
+ <div class="card" style="background: var(--gray-900); border: 1px solid var(--gray-700);">
175
+ <h3 style="color: var(--white); margin-bottom: var(--space-3); font-size: var(--font-xl);">💻 Platform Dev Server</h3>
176
+ <p style="color: var(--gray-400); margin-bottom: var(--space-4); font-size: var(--font-sm);">Create platform artifacts</p>
177
+ <ul style="list-style: none; padding: 0;">
178
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_create_script_include</li>
179
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_create_business_rule</li>
180
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_create_client_script</li>
181
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_create_ui_policy</li>
182
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_create_ui_action</li>
183
+ <li style="color: var(--gray-500); font-size: var(--font-xs);">• snow_create_ui_page</li>
184
+ </ul>
185
+ </div>
186
+
187
+ <!-- 5. Integration Server -->
188
+ <div class="card" style="background: var(--gray-900); border: 1px solid var(--gray-700);">
189
+ <h3 style="color: var(--white); margin-bottom: var(--space-3); font-size: var(--font-xl);">🔌 Integration Server</h3>
190
+ <p style="color: var(--gray-400); margin-bottom: var(--space-4); font-size: var(--font-sm);">REST/SOAP & data management</p>
191
+ <ul style="list-style: none; padding: 0;">
192
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_create_rest_message</li>
193
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_create_transform_map</li>
194
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_create_import_set</li>
195
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_test_web_service</li>
196
+ <li style="color: var(--gray-500); font-size: var(--font-xs);">• snow_configure_email</li>
197
+ </ul>
198
+ </div>
199
+
200
+ <!-- 6. System Properties Server -->
201
+ <div class="card" style="background: var(--gray-900); border: 1px solid var(--gray-700);">
202
+ <h3 style="color: var(--white); margin-bottom: var(--space-3); font-size: var(--font-xl);">🔧 Properties Server</h3>
203
+ <p style="color: var(--gray-400); margin-bottom: var(--space-4); font-size: var(--font-sm);">System property management</p>
204
+ <ul style="list-style: none; padding: 0;">
205
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_property_get</li>
206
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_property_set</li>
207
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_property_list</li>
208
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_property_delete</li>
209
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_property_bulk_update</li>
210
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_property_export</li>
211
+ <li style="color: var(--gray-500); font-size: var(--font-xs);">• snow_property_import</li>
212
+ </ul>
213
+ </div>
214
+
215
+ <!-- 7. Update Set Server -->
216
+ <div class="card" style="background: var(--gray-900); border: 1px solid var(--gray-700);">
217
+ <h3 style="color: var(--white); margin-bottom: var(--space-3); font-size: var(--font-xl);">📦 Update Set Server</h3>
218
+ <p style="color: var(--gray-400); margin-bottom: var(--space-4); font-size: var(--font-sm);">Change management & deployment</p>
219
+ <ul style="list-style: none; padding: 0;">
220
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_update_set_create</li>
221
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_update_set_switch</li>
222
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_update_set_current</li>
223
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_update_set_complete</li>
224
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_update_set_export</li>
225
+ <li style="color: var(--gray-500); font-size: var(--font-xs);">• snow_ensure_active_update_set</li>
226
+ </ul>
227
+ </div>
228
+
229
+ <!-- 8. Development Assistant Server -->
230
+ <div class="card" style="background: var(--gray-900); border: 1px solid var(--gray-700);">
231
+ <h3 style="color: var(--white); margin-bottom: var(--space-3); font-size: var(--font-xl);">🧠 Dev Assistant Server</h3>
232
+ <p style="color: var(--gray-400); margin-bottom: var(--space-4); font-size: var(--font-sm);">Intelligent artifact search & editing</p>
233
+ <ul style="list-style: none; padding: 0;">
234
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_find_artifact</li>
235
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_edit_artifact</li>
236
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_get_by_sysid</li>
237
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_analyze_artifact</li>
238
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_comprehensive_search</li>
239
+ <li style="color: var(--gray-500); font-size: var(--font-xs);">• snow_analyze_requirements</li>
240
+ </ul>
241
+ </div>
242
+
243
+ <!-- 9. Security & Compliance Server -->
244
+ <div class="card" style="background: var(--gray-900); border: 1px solid var(--gray-700);">
245
+ <h3 style="color: var(--white); margin-bottom: var(--space-3); font-size: var(--font-xl);">🔒 Security Server</h3>
246
+ <p style="color: var(--gray-400); margin-bottom: var(--space-4); font-size: var(--font-sm);">Security & compliance management</p>
247
+ <ul style="list-style: none; padding: 0;">
248
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_create_security_policy</li>
249
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_audit_compliance</li>
250
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_scan_vulnerabilities</li>
251
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_assess_risk</li>
252
+ <li style="color: var(--gray-500); font-size: var(--font-xs);">• snow_review_access_control</li>
253
+ </ul>
254
+ </div>
255
+
256
+ <!-- 10. Reporting & Analytics Server -->
257
+ <div class="card" style="background: var(--gray-900); border: 1px solid var(--gray-700);">
258
+ <h3 style="color: var(--white); margin-bottom: var(--space-3); font-size: var(--font-xl);">📊 Analytics Server</h3>
259
+ <p style="color: var(--gray-400); margin-bottom: var(--space-4); font-size: var(--font-sm);">Reporting & data visualization</p>
260
+ <ul style="list-style: none; padding: 0;">
261
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_create_report</li>
262
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_create_dashboard</li>
263
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_define_kpi</li>
264
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_schedule_report</li>
265
+ <li style="color: var(--gray-500); font-size: var(--font-xs);">• snow_analyze_data_quality</li>
266
+ </ul>
267
+ </div>
268
+
269
+ <!-- 11. Machine Learning Server -->
270
+ <div class="card" style="background: var(--gray-900); border: 1px solid var(--gray-700);">
271
+ <h3 style="color: var(--white); margin-bottom: var(--space-3); font-size: var(--font-xl);">🤖 ML Server</h3>
272
+ <p style="color: var(--gray-400); margin-bottom: var(--space-4); font-size: var(--font-sm);">TensorFlow.js & native ML</p>
273
+ <ul style="list-style: none; padding: 0;">
274
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• ml_train_incident_classifier</li>
275
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• ml_predict_change_risk</li>
276
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• ml_detect_anomalies</li>
277
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• ml_forecast_incidents</li>
278
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• ml_performance_analytics</li>
279
+ <li style="color: var(--gray-500); font-size: var(--font-xs);">• ml_hybrid_recommendation</li>
280
+ </ul>
281
+ </div>
282
+
283
+ <!-- 12. Snow-Flow Orchestration Server -->
284
+ <div class="card" style="background: var(--gray-900); border: 1px solid var(--gray-700);">
285
+ <h3 style="color: var(--white); margin-bottom: var(--space-3); font-size: var(--font-xl);">🎯 Orchestration Server</h3>
286
+ <p style="color: var(--gray-400); margin-bottom: var(--space-4); font-size: var(--font-sm);">Multi-agent coordination</p>
287
+ <ul style="list-style: none; padding: 0;">
288
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• swarm_init</li>
289
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• agent_spawn</li>
290
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• task_orchestrate</li>
291
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• memory_search</li>
292
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• neural_train</li>
293
+ <li style="color: var(--gray-500); font-size: var(--font-xs);">• performance_report</li>
294
+ </ul>
295
+ </div>
296
+
297
+ <!-- 13. Knowledge & Catalog Server -->
298
+ <div class="card" style="background: var(--gray-900); border: 1px solid var(--gray-700);">
299
+ <h3 style="color: var(--white); margin-bottom: var(--space-3); font-size: var(--font-xl);">📚 Knowledge Server</h3>
300
+ <p style="color: var(--gray-400); margin-bottom: var(--space-4); font-size: var(--font-sm);">Knowledge & service catalog</p>
301
+ <ul style="list-style: none; padding: 0;">
302
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_create_knowledge_article</li>
303
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_search_knowledge</li>
304
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_create_catalog_item</li>
305
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_create_catalog_variable</li>
306
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_order_catalog_item</li>
307
+ <li style="color: var(--gray-500); font-size: var(--font-xs);">• snow_discover_catalogs</li>
308
+ </ul>
309
+ </div>
310
+
311
+ <!-- 14. Change & Virtual Agent Server -->
312
+ <div class="card" style="background: var(--gray-900); border: 1px solid var(--gray-700);">
313
+ <h3 style="color: var(--white); margin-bottom: var(--space-3); font-size: var(--font-xl);">💬 Change & VA Server</h3>
314
+ <p style="color: var(--gray-400); margin-bottom: var(--space-4); font-size: var(--font-sm);">Change management & Virtual Agent</p>
315
+ <ul style="list-style: none; padding: 0;">
316
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_create_change_request</li>
317
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_schedule_cab_meeting</li>
318
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_create_va_topic</li>
319
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_send_va_message</li>
320
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_create_pa_indicator</li>
321
+ <li style="color: var(--gray-500); font-size: var(--font-xs);">• snow_get_pa_scores</li>
322
+ </ul>
323
+ </div>
324
+
325
+ <!-- 15. Flow & Workspace Server -->
326
+ <div class="card" style="background: var(--gray-900); border: 1px solid var(--gray-700);">
327
+ <h3 style="color: var(--white); margin-bottom: var(--space-3); font-size: var(--font-xl);"><span class="logo-mountain">🏔️</span> Flow Server</h3>
328
+ <p style="color: var(--gray-400); margin-bottom: var(--space-4); font-size: var(--font-sm);">Flow Designer & Workspace</p>
329
+ <ul style="list-style: none; padding: 0;">
330
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_list_flows</li>
331
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_execute_flow</li>
332
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_get_flow_details</li>
333
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_create_workspace</li>
334
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_configure_mobile_app</li>
335
+ <li style="color: var(--gray-500); font-size: var(--font-xs);">• snow_send_push_notification</li>
336
+ </ul>
337
+ </div>
338
+
339
+ <!-- 16. CMDB & Event Server -->
340
+ <div class="card" style="background: var(--gray-900); border: 1px solid var(--gray-700);">
341
+ <h3 style="color: var(--white); margin-bottom: var(--space-3); font-size: var(--font-xl);">🗄️ CMDB Server</h3>
342
+ <p style="color: var(--gray-400); margin-bottom: var(--space-4); font-size: var(--font-sm);">CI management & events</p>
343
+ <ul style="list-style: none; padding: 0;">
344
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_create_ci</li>
345
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_create_ci_relationship</li>
346
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_run_discovery</li>
347
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_create_hr_case</li>
348
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_create_customer_case</li>
349
+ <li style="color: var(--gray-500); font-size: var(--font-xs);">• snow_create_devops_pipeline</li>
350
+ </ul>
351
+ </div>
352
+
353
+ <!-- 17. Advanced Features Server -->
354
+ <div class="card" style="background: var(--gray-900); border: 1px solid var(--gray-700);">
355
+ <h3 style="color: var(--white); margin-bottom: var(--space-3); font-size: var(--font-xl);">🚀 Advanced Server</h3>
356
+ <p style="color: var(--gray-400); margin-bottom: var(--space-4); font-size: var(--font-sm);">Batch operations & optimization</p>
357
+ <ul style="list-style: none; padding: 0;">
358
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_batch_api (80% API reduction)</li>
359
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_get_table_relationships</li>
360
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_analyze_query</li>
361
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_detect_code_patterns</li>
362
+ <li style="color: var(--gray-500); font-size: var(--font-xs); margin-bottom: var(--space-1);">• snow_discover_process</li>
363
+ <li style="color: var(--gray-500); font-size: var(--font-xs);">• snow_generate_documentation</li>
364
+ </ul>
365
+ </div>
366
+
155
367
  </div>
156
-
157
- <div id="mcp-grid" class="mcp-grid-dynamic">
158
- <!-- MCP cards will be dynamically generated here -->
368
+
369
+ <!-- Summary Stats -->
370
+ <div class="text-center" style="margin-top: var(--space-16); padding: var(--space-8); background: var(--gradient-glass); border-radius: var(--radius-2xl); border: 1px solid var(--gray-800);">
371
+ <p style="font-size: var(--font-2xl); color: var(--white); font-weight: 700; margin-bottom: var(--space-2);">17 MCP Servers × 200+ REAL Tools = Complete ServiceNow Automation</p>
372
+ <p style="color: var(--gray-400); font-size: var(--font-lg);">Every tool listed above is extracted directly from Snow-Flow v3.4.38 codebase - 100% real implementation.</p>
373
+ <p style="color: var(--gray-500); font-size: var(--font-sm); margin-top: var(--space-4);">✅ Deployment (10 tools) • Operations (12 tools) • Automation (27 tools!) • Platform (9 tools) • Integration (10 tools) • Properties (12 tools) • And 11 more servers...</p>
159
374
  </div>
160
375
  </div>
161
376
  </section>
162
377
 
163
- <!-- How It Works -->
164
- <section class="how-it-works">
378
+ <!-- Installation Section -->
379
+ <section id="install" class="section" style="background: var(--black);">
165
380
  <div class="container">
166
- <h2 class="section-title">How Snow-Flow Works</h2>
167
- <div class="workflow-diagram">
168
- <div class="workflow-step">
169
- <div class="step-number">1</div>
170
- <h3>Initialize</h3>
171
- <p>Install Snow-Flow and authenticate with your ServiceNow instance using OAuth</p>
172
- </div>
173
- <div class="workflow-arrow">→</div>
174
- <div class="workflow-step">
175
- <div class="step-number">2</div>
176
- <h3>Command</h3>
177
- <p>Use natural language or CLI commands to describe what you want to build</p>
178
- </div>
179
- <div class="workflow-arrow">→</div>
180
- <div class="workflow-step">
181
- <div class="step-number">3</div>
182
- <h3>Orchestrate</h3>
183
- <p>Snow-Flow coordinates multiple agents and MCP servers to complete the task</p>
184
- </div>
185
- <div class="workflow-arrow">→</div>
186
- <div class="workflow-step">
187
- <div class="step-number">4</div>
188
- <h3>Deploy</h3>
189
- <p>Automatically deploy validated artifacts directly to ServiceNow</p>
190
- </div>
381
+ <h2 class="text-center font-black" style="font-size: var(--font-4xl); color: var(--white); margin-bottom: var(--space-12);">Quick Start</h2>
382
+
383
+ <div class="code-block" style="max-width: 800px; margin: 0 auto; padding: var(--space-10);">
384
+ <button class="copy-btn" style="position: absolute; top: var(--space-4); right: var(--space-4); background: var(--gradient-accent); color: var(--black); border: none; padding: var(--space-2) var(--space-4); border-radius: var(--radius-md); cursor: pointer;">Copy</button>
385
+ <code style="font-size: var(--font-md); line-height: var(--leading-loose);">npm install -g snow-flow
386
+ snow-flow init
387
+ snow-flow auth login
388
+ snow-flow swarm "Create incident dashboard widget"</code>
389
+ </div>
390
+
391
+ <div class="text-center" style="margin-top: var(--space-10);">
392
+ <a href="#docs" class="btn btn-primary btn-animated">View Documentation</a>
191
393
  </div>
192
394
  </div>
193
395
  </section>
194
396
 
195
- <!-- Installation Section -->
196
- <section id="installation" class="installation">
397
+ <!-- Comprehensive Documentation Section -->
398
+ <section id="docs" class="section" style="background: var(--white);">
197
399
  <div class="container">
198
- <h2 class="section-title">Installation & Setup</h2>
400
+ <h2 class="text-center font-black" style="font-size: var(--font-4xl); margin-bottom: var(--space-16);">Complete Documentation</h2>
199
401
 
200
- <div class="install-tabs">
201
- <button class="tab-btn active" data-tab="npm">NPM Install</button>
202
- <button class="tab-btn" data-tab="git">Git Clone</button>
203
- <button class="tab-btn" data-tab="config">Configuration</button>
402
+ <!-- Documentation Navigation Tabs -->
403
+ <div class="tabs-container" style="margin-bottom: var(--space-12);">
404
+ <div class="tabs-nav" style="display: flex; justify-content: center; gap: var(--space-4); flex-wrap: wrap;">
405
+ <button class="tab-btn active" data-tab="quickstart" style="padding: var(--space-3) var(--space-6); background: var(--black); color: var(--white); border: none; border-radius: var(--radius-lg); cursor: pointer;">Quick Start</button>
406
+ <button class="tab-btn" data-tab="installation" style="padding: var(--space-3) var(--space-6); background: var(--gray-200); color: var(--black); border: none; border-radius: var(--radius-lg); cursor: pointer;">Installation</button>
407
+ <button class="tab-btn" data-tab="claude-setup" style="padding: var(--space-3) var(--space-6); background: var(--gray-200); color: var(--black); border: none; border-radius: var(--radius-lg); cursor: pointer;">Claude Setup</button>
408
+ <button class="tab-btn" data-tab="mcp-tools" style="padding: var(--space-3) var(--space-6); background: var(--gray-200); color: var(--black); border: none; border-radius: var(--radius-lg); cursor: pointer;">MCP Tools</button>
409
+ <button class="tab-btn" data-tab="examples" style="padding: var(--space-3) var(--space-6); background: var(--gray-200); color: var(--black); border: none; border-radius: var(--radius-lg); cursor: pointer;">Examples</button>
410
+ <button class="tab-btn" data-tab="troubleshooting" style="padding: var(--space-3) var(--space-6); background: var(--gray-200); color: var(--black); border: none; border-radius: var(--radius-lg); cursor: pointer;">Troubleshooting</button>
411
+ </div>
204
412
  </div>
205
413
 
206
- <div class="tab-content active" id="npm">
207
- <h3>Install via NPM</h3>
208
- <pre><code class="language-bash"># Install Snow-Flow globally
209
- npm install -g snow-flow
414
+ <!-- Tab Content -->
415
+ <div class="tabs-content">
416
+
417
+ <!-- Quick Start Tab -->
418
+ <div id="quickstart" class="tab-content active">
419
+ <div class="grid grid-cols-1 lg:grid-cols-2" style="gap: var(--space-8);">
420
+ <div>
421
+ <h3 style="font-size: var(--font-2xl); font-weight: 700; margin-bottom: var(--space-6);">🚀 Get Started in 3 Minutes</h3>
422
+ <div class="step-list">
423
+ <div class="step" style="margin-bottom: var(--space-6); padding: var(--space-4); border-left: 4px solid var(--black);">
424
+ <h4 style="font-weight: 600; margin-bottom: var(--space-2);">1. Install Snow-Flow</h4>
425
+ <div class="code-block" style="margin: var(--space-2) 0;">
426
+ <code>npm install -g snow-flow</code>
427
+ </div>
428
+ </div>
429
+ <div class="step" style="margin-bottom: var(--space-6); padding: var(--space-4); border-left: 4px solid var(--black);">
430
+ <h4 style="font-weight: 600; margin-bottom: var(--space-2);">2. Initialize Project</h4>
431
+ <div class="code-block" style="margin: var(--space-2) 0;">
432
+ <code>snow-flow init</code>
433
+ </div>
434
+ <p style="color: var(--gray-600); font-size: var(--font-sm);">Creates .env, .claude/, and CLAUDE.md files</p>
435
+ </div>
436
+ <div class="step" style="margin-bottom: var(--space-6); padding: var(--space-4); border-left: 4px solid var(--black);">
437
+ <h4 style="font-weight: 600; margin-bottom: var(--space-2);">3. Authenticate</h4>
438
+ <div class="code-block" style="margin: var(--space-2) 0;">
439
+ <code>snow-flow auth login</code>
440
+ </div>
441
+ <p style="color: var(--gray-600); font-size: var(--font-sm);">Connect to your ServiceNow instance</p>
442
+ </div>
443
+ </div>
444
+ </div>
445
+ <div>
446
+ <h3 style="font-size: var(--font-2xl); font-weight: 700; margin-bottom: var(--space-6);">🎯 Your First Swarm</h3>
447
+ <div class="code-block" style="height: 300px; overflow-y: auto;">
448
+ <code># Create a complete incident dashboard
449
+ snow-flow swarm "Build an incident dashboard widget
450
+ that shows:
451
+ - Critical incidents by priority
452
+ - Assignment group workload
453
+ - SLA breach predictions
454
+ - Auto-refresh every 30 seconds
455
+ - Click-through to incident details"
210
456
 
211
- # Initialize Snow-Flow in your project
212
- snow-flow init
457
+ # Result: Complete widget deployed to ServiceNow
458
+ Widget: incident_dashboard_v1
459
+ ✅ Client Script: Auto-refresh & click handlers
460
+ ✅ Server Script: GlideRecord queries (ES5)
461
+ ✅ CSS: Modern responsive design
462
+ ✅ Portal Page: Added to Service Portal</code>
463
+ </div>
464
+ </div>
465
+ </div>
466
+ </div>
213
467
 
214
- # Authenticate with ServiceNow
215
- snow-flow auth login</code></pre>
216
- </div>
468
+ <!-- Installation Tab -->
469
+ <div id="installation" class="tab-content">
470
+ <h3 style="font-size: var(--font-2xl); font-weight: 700; margin-bottom: var(--space-6);">📦 Installation Guide</h3>
471
+
472
+ <div class="grid grid-cols-1 lg:grid-cols-2" style="gap: var(--space-8);">
473
+ <div>
474
+ <h4 style="font-weight: 600; margin-bottom: var(--space-4);">Prerequisites</h4>
475
+ <ul style="list-style: disc; margin-left: var(--space-6); margin-bottom: var(--space-6);">
476
+ <li>Node.js 18+ (download from nodejs.org)</li>
477
+ <li>npm 9+ (comes with Node.js)</li>
478
+ <li>ServiceNow instance with admin access</li>
479
+ <li>Claude Code desktop app</li>
480
+ </ul>
217
481
 
218
- <div class="tab-content" id="git">
219
- <h3>Install from GitHub</h3>
220
- <pre><code class="language-bash"># Clone the repository
221
- git clone https://github.com/groeimetai/snow-flow.git
482
+ <h4 style="font-weight: 600; margin-bottom: var(--space-4);">Global Installation</h4>
483
+ <div class="code-block">
484
+ <code># Install globally via NPM
485
+ npm install -g snow-flow
222
486
 
223
- # Navigate to directory
224
- cd snow-flow
487
+ # Verify installation
488
+ snow-flow --version
489
+ # Expected: 3.4.39
225
490
 
226
- # Install dependencies
227
- npm install
491
+ # Check available commands
492
+ snow-flow --help</code>
493
+ </div>
494
+ </div>
495
+
496
+ <div>
497
+ <h4 style="font-weight: 600; margin-bottom: var(--space-4);">ServiceNow OAuth Setup</h4>
498
+ <div class="step-list">
499
+ <div style="margin-bottom: var(--space-4); padding: var(--space-3); background: var(--gray-50); border-radius: var(--radius-md);">
500
+ <strong>1. Navigate to System OAuth → Application Registry</strong>
501
+ </div>
502
+ <div style="margin-bottom: var(--space-4); padding: var(--space-3); background: var(--gray-50); border-radius: var(--radius-md);">
503
+ <strong>2. Create OAuth endpoint for external clients</strong>
504
+ </div>
505
+ <div style="margin-bottom: var(--space-4); padding: var(--space-3); background: var(--gray-50); border-radius: var(--radius-md);">
506
+ <strong>3. Copy Client ID & Secret to .env</strong>
507
+ </div>
508
+ <div style="margin-bottom: var(--space-4); padding: var(--space-3); background: var(--gray-50); border-radius: var(--radius-md);">
509
+ <strong>4. Set redirect URL: http://localhost:3000/callback</strong>
510
+ </div>
511
+ </div>
512
+ </div>
513
+ </div>
514
+ </div>
228
515
 
229
- # Build the project
230
- npm run build
516
+ <!-- Claude Setup Tab -->
517
+ <div id="claude-setup" class="tab-content">
518
+ <h3 style="font-size: var(--font-2xl); font-weight: 700; margin-bottom: var(--space-6);">🤖 Claude Code Setup</h3>
519
+
520
+ <div class="alert" style="background: var(--yellow-100); border: 1px solid var(--yellow-400); padding: var(--space-4); border-radius: var(--radius-md); margin-bottom: var(--space-6);">
521
+ <strong>⚠️ CRITICAL:</strong> Must run <code>claude login</code> first to fix "dangerously skip permissions" errors!
522
+ </div>
231
523
 
232
- # Link globally
233
- npm link
524
+ <div class="grid grid-cols-1 lg:grid-cols-2" style="gap: var(--space-8);">
525
+ <div>
526
+ <h4 style="font-weight: 600; margin-bottom: var(--space-4);">Step-by-Step Setup</h4>
527
+ <div class="code-block">
528
+ <code># 1. Login to Claude (REQUIRED!)
529
+ claude login
234
530
 
235
- # Initialize
236
- snow-flow init</code></pre>
237
- </div>
531
+ # 2. Initialize Snow-Flow project
532
+ snow-flow init
238
533
 
239
- <div class="tab-content" id="config">
240
- <h3>Configuration</h3>
241
- <pre><code class="language-javascript">// .snow-flow.config.json
242
- {
243
- "instance": "https://your-instance.service-now.com",
244
- "auth": {
245
- "type": "oauth",
246
- "clientId": "your-client-id",
247
- "clientSecret": "your-client-secret"
248
- },
249
- "mcp": {
250
- "servers": ["all"], // or specific servers
251
- "timeout": 30000,
252
- "maxRetries": 3
253
- },
254
- "development": {
255
- "es5Validation": true,
256
- "autoTest": true,
257
- "coherenceCheck": true
258
- }
259
- }</code></pre>
260
- </div>
261
- </div>
262
- </section>
534
+ # 3. When prompted, select Y to auto-start Claude
535
+ 🚀 Would you like to start Claude Code with MCP servers? (Y/n)
263
536
 
264
- <!-- Examples Section -->
265
- <section id="examples" class="examples">
266
- <div class="container">
267
- <h2 class="section-title">Real-World Examples</h2>
268
- <p class="section-subtitle">See Snow-Flow in action with these practical ServiceNow development scenarios</p>
269
-
270
- <div class="example-grid">
271
- <!-- Example 1: Widget Deployment -->
272
- <div class="example-card">
273
- <h3>Deploy a Dashboard Widget</h3>
274
- <pre><code class="language-javascript">// Create and deploy an incident dashboard widget
275
- await snow_deploy_widget({
276
- name: "Incident Dashboard",
277
- template: `
278
- &lt;div class="dashboard"&gt;
279
- &lt;div ng-repeat="incident in data.incidents"&gt;
280
- &lt;span&gt;{{incident.number}}&lt;/span&gt;
281
- &lt;span&gt;{{incident.short_description}}&lt;/span&gt;
282
- &lt;/div&gt;
283
- &lt;/div&gt;
284
- `,
285
- server_script: `
286
- (function() {
287
- var gr = new GlideRecord('incident');
288
- gr.addActiveQuery();
289
- gr.query();
290
- data.incidents = [];
291
- while(gr.next()) {
292
- data.incidents.push({
293
- number: gr.getValue('number'),
294
- short_description: gr.getValue('short_description')
295
- });
296
- }
297
- })();
298
- `,
299
- client_script: `
300
- function($scope) {
301
- var c = this;
302
- // Client logic here
303
- }
304
- `
305
- });</code></pre>
537
+ # 4. If manual setup needed:
538
+ claude --mcp-config .claude/claude_desktop_config.json</code>
539
+ </div>
540
+ </div>
541
+
542
+ <div>
543
+ <h4 style="font-weight: 600; margin-bottom: var(--space-4);">What Gets Configured</h4>
544
+ <ul style="list-style: disc; margin-left: var(--space-6); margin-bottom: var(--space-6);">
545
+ <li><strong>17 MCP Servers</strong> - All ServiceNow automation tools</li>
546
+ <li><strong>200+ Tools</strong> - Every function documented</li>
547
+ <li><strong>Auto-Approval</strong> - No manual permission steps</li>
548
+ <li><strong>Error Recovery</strong> - Automatic timeout handling</li>
549
+ <li><strong>ES5 Validation</strong> - Rhino engine compatibility</li>
550
+ </ul>
551
+
552
+ <div style="background: var(--green-100); border: 1px solid var(--green-400); padding: var(--space-4); border-radius: var(--radius-md);">
553
+ <strong>✅ Success Indicators:</strong><br>
554
+ • Claude Code shows 17 MCP servers<br>
555
+ • Tools like snow_deploy available<br>
556
+ • No permission error messages
557
+ </div>
558
+ </div>
559
+ </div>
306
560
  </div>
307
561
 
308
- <!-- Example 2: Script Execution -->
309
- <div class="example-card">
310
- <h3>Execute Background Script</h3>
311
- <pre><code class="language-javascript">// Execute script with full output capture
312
- const result = await snow_execute_script_with_output({
562
+ <!-- MCP Tools Tab -->
563
+ <div id="mcp-tools" class="tab-content">
564
+ <h3 style="font-size: var(--font-2xl); font-weight: 700; margin-bottom: var(--space-6);">🛠️ 200+ MCP Tools Reference</h3>
565
+
566
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3" style="gap: var(--space-6); margin-bottom: var(--space-8);">
567
+ <div class="tool-category" style="background: var(--gray-50); padding: var(--space-4); border-radius: var(--radius-lg);">
568
+ <h4 style="font-weight: 600; margin-bottom: var(--space-3);">🚀 Deployment (10 tools)</h4>
569
+ <div class="code-block" style="font-size: var(--font-xs);">
570
+ <code>snow_deploy - Create artifacts
571
+ snow_update - Update existing
572
+ snow_delete - Remove artifacts
573
+ snow_validate_deployment
574
+ snow_rollback_deployment
575
+ snow_preview_widget
576
+ snow_widget_test
577
+ snow_batch_deploy</code>
578
+ </div>
579
+ </div>
580
+
581
+ <div class="tool-category" style="background: var(--gray-50); padding: var(--space-4); border-radius: var(--radius-lg);">
582
+ <h4 style="font-weight: 600; margin-bottom: var(--space-3);">🤖 Automation (27 tools)</h4>
583
+ <div class="code-block" style="font-size: var(--font-xs);">
584
+ <code>snow_execute_background_script
585
+ snow_execute_script_with_output
586
+ snow_execute_script_sync
587
+ snow_create_scheduled_job
588
+ snow_create_atf_test
589
+ snow_execute_atf_test
590
+ + 21 more automation tools</code>
591
+ </div>
592
+ </div>
593
+
594
+ <div class="tool-category" style="background: var(--gray-50); padding: var(--space-4); border-radius: var(--radius-lg);">
595
+ <h4 style="font-weight: 600; margin-bottom: var(--space-3);">🧠 Machine Learning (6 tools)</h4>
596
+ <div class="code-block" style="font-size: var(--font-xs);">
597
+ <code>ml_train_incident_classifier
598
+ ml_predict_change_risk
599
+ ml_detect_anomalies
600
+ ml_forecast_incidents
601
+ ml_performance_analytics
602
+ ml_hybrid_recommendation</code>
603
+ </div>
604
+ </div>
605
+ </div>
606
+
607
+ <h4 style="font-weight: 600; margin-bottom: var(--space-4);">Most Used Tools</h4>
608
+ <div class="grid grid-cols-1 lg:grid-cols-2" style="gap: var(--space-6);">
609
+ <div class="code-block">
610
+ <code># Widget Deployment with Coherence Check
611
+ await snow_deploy({
612
+ type: 'widget',
613
+ config: {
614
+ name: 'my_dashboard',
615
+ title: 'My Dashboard',
616
+ template: '&lt;div&gt;{{data.message}}&lt;/div&gt;',
617
+ script: 'data.message = "Hello World";',
618
+ client_script: 'function($scope) { var c = this; }'
619
+ }
620
+ });
621
+
622
+ # Background Script (ES5 ONLY!)
623
+ await snow_execute_script_with_output({
313
624
  script: `
314
- gs.info('Starting incident analysis...');
315
-
316
- var stats = {};
317
625
  var gr = new GlideRecord('incident');
318
- gr.addActiveQuery();
626
+ gr.addQuery('active', true);
319
627
  gr.query();
320
-
321
- stats.total = gr.getRowCount();
322
-
323
- var priority = new GlideAggregate('incident');
324
- priority.addActiveQuery();
325
- priority.groupBy('priority');
326
- priority.addAggregate('COUNT');
327
- priority.query();
328
-
329
- stats.byPriority = {};
330
- while(priority.next()) {
331
- var p = priority.getValue('priority');
332
- stats.byPriority[p] = priority.getAggregate('COUNT');
333
- }
334
-
335
- gs.print('Analysis complete: ' + JSON.stringify(stats));
336
- return stats;
628
+ gs.info('Found: ' + gr.getRowCount());
337
629
  `
630
+ });</code>
631
+ </div>
632
+
633
+ <div class="code-block">
634
+ <code># Query ServiceNow Tables
635
+ await snow_query_table({
636
+ table: 'incident',
637
+ query: 'active=true^priority=1',
638
+ fields: ['number', 'short_description'],
639
+ limit: 10
338
640
  });
339
641
 
340
- console.log('Execution Output:', result.output);
341
- console.log('Returned Data:', result.returnValue);</code></pre>
342
- </div>
343
-
344
- <!-- Example 3: Multi-Agent Task -->
345
- <div class="example-card">
346
- <h3>Multi-Agent Development</h3>
347
- <pre><code class="language-bash"># Use swarm coordination for complex tasks
348
- snow-flow swarm "Build complete incident management system with SLA tracking, automated assignment, and reporting dashboard" \
349
- --strategy development \
350
- --mode hierarchical \
351
- --max-agents 8 \
352
- --monitor
353
-
354
- # The swarm will:
355
- # 1. Research best practices
356
- # 2. Design the architecture
357
- # 3. Develop components in parallel
358
- # 4. Test everything
359
- # 5. Deploy to ServiceNow
360
- # 6. Generate documentation</code></pre>
361
- </div>
362
-
363
- <!-- Example 4: Machine Learning -->
364
- <div class="example-card">
365
- <h3>Train Incident Classifier</h3>
366
- <pre><code class="language-javascript">// Train ML model for incident classification
367
- const model = await snow_train_classifier({
368
- type: 'incident_category',
369
- training_data: {
370
- table: 'incident',
371
- fields: ['short_description', 'description'],
372
- label: 'category',
373
- limit: 1000
374
- },
375
- model_config: {
376
- type: 'lstm',
377
- epochs: 50,
378
- batch_size: 32
379
- }
380
- });
642
+ # Machine Learning Training
643
+ await ml_train_incident_classifier({
644
+ dataset_size: 1000,
645
+ model_type: 'lstm',
646
+ epochs: 50,
647
+ validation_split: 0.2,
648
+ use_tensorflow: true
649
+ });</code>
650
+ </div>
651
+ </div>
652
+ </div>
381
653
 
382
- // Use the trained model
383
- const prediction = await snow_predict({
384
- model_id: model.id,
385
- input: {
386
- short_description: "Cannot access email",
387
- description: "Outlook is not connecting to server"
388
- }
389
- });
654
+ <!-- Examples Tab -->
655
+ <div id="examples" class="tab-content">
656
+ <h3 style="font-size: var(--font-2xl); font-weight: 700; margin-bottom: var(--space-6);">💡 Real-World Examples</h3>
657
+
658
+ <div class="grid grid-cols-1 lg:grid-cols-2" style="gap: var(--space-8);">
659
+ <div class="code-block animate-slide-in-left">
660
+ <h4 style="color: var(--white); margin-bottom: var(--space-3);">Complete ServiceNow Application</h4>
661
+ <code>snow-flow swarm "Build a complete employee onboarding
662
+ application with approval workflows, automated account
663
+ provisioning, equipment requests, and dashboards for
664
+ HR managers to track onboarding progress"
665
+
666
+ ✨ Creates: Portal, Workflows, Catalog Items, Reports</code>
667
+ </div>
668
+
669
+ <div class="code-block animate-slide-in-right">
670
+ <h4 style="color: var(--white); margin-bottom: var(--space-3);">Real-Time Incident Analysis</h4>
671
+ <code>snow-flow swarm "Create a real-time incident analyzer
672
+ that uses ML to detect patterns, suggests resolutions
673
+ based on historical data, and auto-assigns to the
674
+ right team using CMDB relationships"
675
+
676
+ 🤖 Uses: TensorFlow.js, CMDB API, ML Models</code>
677
+ </div>
678
+ </div>
390
679
 
391
- console.log('Predicted category:', prediction.category);
392
- console.log('Confidence:', prediction.confidence);</code></pre>
680
+ <div style="margin-top: var(--space-8);">
681
+ <h4 style="font-weight: 600; margin-bottom: var(--space-4);">More Examples</h4>
682
+ <div class="grid grid-cols-1 md:grid-cols-3" style="gap: var(--space-4);">
683
+ <div class="code-block" style="height: 200px;">
684
+ <code># AI Chatbot Widget
685
+ snow-flow swarm "Create an intelligent
686
+ chatbot widget that helps users reset
687
+ passwords, check incident status, and
688
+ request catalog items with NLU support"</code>
689
+ </div>
690
+ <div class="code-block" style="height: 200px;">
691
+ <code># Process Mining
692
+ snow-flow swarm "Analyze our incident
693
+ resolution process, identify bottlenecks,
694
+ and create automated workflows to reduce
695
+ MTTR by 40%"</code>
696
+ </div>
697
+ <div class="code-block" style="height: 200px;">
698
+ <code># Predictive ML Model
699
+ snow-flow swarm "Train an LSTM model to
700
+ predict incident priorities based on
701
+ description, category and historical
702
+ patterns. Deploy as real-time API"</code>
703
+ </div>
704
+ </div>
705
+ </div>
393
706
  </div>
394
707
 
395
- <!-- User Examples Placeholder -->
396
- <div class="example-card user-examples">
397
- <h3>📝 Your Examples</h3>
398
- <div class="user-examples-placeholder">
399
- <p>This section is reserved for your ServiceNow developer instance examples.</p>
400
- <p>Add your own real-world implementations here!</p>
401
- <div class="example-template">
402
- <pre><code class="language-javascript">// Your custom example code
403
- // From your ServiceNow developer instance
404
- // Show real implementations and use cases</code></pre>
708
+ <!-- Troubleshooting Tab -->
709
+ <div id="troubleshooting" class="tab-content">
710
+ <h3 style="font-size: var(--font-2xl); font-weight: 700; margin-bottom: var(--space-6);">🔧 Troubleshooting Guide</h3>
711
+
712
+ <div class="grid grid-cols-1 lg:grid-cols-2" style="gap: var(--space-8);">
713
+ <div>
714
+ <h4 style="font-weight: 600; margin-bottom: var(--space-4);">Common Issues</h4>
715
+
716
+ <div class="issue" style="margin-bottom: var(--space-6); padding: var(--space-4); border: 1px solid var(--red-300); border-radius: var(--radius-md);">
717
+ <h5 style="color: var(--red-600); font-weight: 600; margin-bottom: var(--space-2);">❌ Permission Errors in Claude Code</h5>
718
+ <p style="margin-bottom: var(--space-3); font-size: var(--font-sm);">"dangerously skip permissions" error</p>
719
+ <div class="code-block" style="font-size: var(--font-xs);">
720
+ <code># SOLUTION: Login first!
721
+ claude login
722
+ claude --mcp-config .claude/claude_desktop_config.json</code>
723
+ </div>
724
+ </div>
725
+
726
+ <div class="issue" style="margin-bottom: var(--space-6); padding: var(--space-4); border: 1px solid var(--red-300); border-radius: var(--radius-md);">
727
+ <h5 style="color: var(--red-600); font-weight: 600; margin-bottom: var(--space-2);">❌ ES5 Syntax Errors</h5>
728
+ <p style="margin-bottom: var(--space-3); font-size: var(--font-sm);">ServiceNow uses Rhino engine - ES6+ fails</p>
729
+ <div class="code-block" style="font-size: var(--font-xs);">
730
+ <code># ❌ WRONG: Modern JavaScript
731
+ const users = data.filter(u => u.active);
732
+
733
+ # ✅ CORRECT: ES5 Only
734
+ var users = [];
735
+ for (var i = 0; i < data.length; i++) {
736
+ if (data[i].active) users.push(data[i]);
737
+ }</code>
738
+ </div>
739
+ </div>
740
+ </div>
741
+
742
+ <div>
743
+ <h4 style="font-weight: 600; margin-bottom: var(--space-4);">Debug Commands</h4>
744
+ <div class="code-block">
745
+ <code># Test ServiceNow connection
746
+ snow-flow auth login
747
+
748
+ # Verify authentication status
749
+ snow-flow auth status
750
+
751
+ # Re-initialize if needed
752
+ snow-flow init
753
+
754
+ # Check version and help
755
+ snow-flow --version
756
+ snow-flow --help
757
+
758
+ # Enable verbose logging
759
+ export DEBUG=snow-flow:*</code>
760
+ </div>
761
+
762
+ <h4 style="font-weight: 600; margin-bottom: var(--space-4); margin-top: var(--space-6);">Quick Fixes</h4>
763
+ <ul style="list-style: disc; margin-left: var(--space-6);">
764
+ <li><strong>MCP not responding:</strong> Re-run <code>snow-flow init</code> and restart Claude Code</li>
765
+ <li><strong>Auth failed:</strong> Run <code>snow-flow auth login</code> again</li>
766
+ <li><strong>Widget deployment failed:</strong> Check ES5 syntax and field names</li>
767
+ <li><strong>Claude permission errors:</strong> Always run <code>claude login</code> first</li>
768
+ </ul>
405
769
  </div>
406
770
  </div>
407
771
  </div>
772
+
408
773
  </div>
409
774
  </div>
410
775
  </section>
411
776
 
412
- <!-- API Reference -->
413
- <section id="api" class="api-reference">
777
+ <!-- Statistics Section -->
778
+ <section class="section" style="background: var(--gradient-mesh); padding: var(--space-32) 0;">
414
779
  <div class="container">
415
- <h2 class="section-title">API Reference</h2>
416
- <div class="api-categories">
417
- <div class="api-category">
418
- <h3>CLI Commands</h3>
419
- <ul class="api-list">
420
- <li><code>snow-flow init</code> - Initialize project</li>
421
- <li><code>snow-flow auth login</code> - Authenticate</li>
422
- <li><code>snow-flow start</code> - Start orchestration</li>
423
- <li><code>snow-flow agent spawn &lt;type&gt;</code> - Create agent</li>
424
- <li><code>snow-flow swarm "&lt;task&gt;"</code> - Multi-agent task</li>
425
- <li><code>snow-flow memory store</code> - Store data</li>
426
- <li><code>snow-flow sparc &lt;mode&gt;</code> - SPARC modes</li>
427
- </ul>
780
+ <div class="grid grid-cols-2 md:grid-cols-4" style="gap: var(--space-8);">
781
+ <div class="text-center animate-fade-in-up stagger-1">
782
+ <h3 style="font-size: var(--font-6xl); font-weight: 900; background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent;">17</h3>
783
+ <p style="color: var(--gray-400); text-transform: uppercase; letter-spacing: var(--tracking-widest);">MCP Servers</p>
428
784
  </div>
429
- <div class="api-category">
430
- <h3>JavaScript API</h3>
431
- <ul class="api-list">
432
- <li><code>snow_deploy_widget()</code> - Deploy widgets</li>
433
- <li><code>snow_execute_script()</code> - Run scripts</li>
434
- <li><code>snow_query_table()</code> - Query data</li>
435
- <li><code>snow_create_flow()</code> - Create flows</li>
436
- <li><code>snow_train_classifier()</code> - Train ML</li>
437
- <li><code>snow_test_rest_connection()</code> - Test APIs</li>
438
- <li><code>snow_property_manager()</code> - Properties</li>
439
- </ul>
785
+ <div class="text-center animate-fade-in-up stagger-2">
786
+ <h3 style="font-size: var(--font-6xl); font-weight: 900; background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent;">200+</h3>
787
+ <p style="color: var(--gray-400); text-transform: uppercase; letter-spacing: var(--tracking-widest);">Tools</p>
788
+ </div>
789
+ <div class="text-center animate-fade-in-up stagger-3">
790
+ <h3 style="font-size: var(--font-6xl); font-weight: 900; background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent;">80%</h3>
791
+ <p style="color: var(--gray-400); text-transform: uppercase; letter-spacing: var(--tracking-widest);">API Reduction</p>
792
+ </div>
793
+ <div class="text-center animate-fade-in-up stagger-4">
794
+ <h3 style="font-size: var(--font-6xl); font-weight: 900; background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent;">100%</h3>
795
+ <p style="color: var(--gray-400); text-transform: uppercase; letter-spacing: var(--tracking-widest);">Real Data</p>
440
796
  </div>
441
797
  </div>
442
798
  </div>
443
799
  </section>
444
800
 
445
- <!-- Best Practices -->
446
- <section class="best-practices">
447
- <div class="container">
448
- <h2 class="section-title">Best Practices</h2>
449
- <div class="practices-grid">
450
- <div class="practice">
451
- <h3>🔍 Always Verify First</h3>
452
- <p>Never assume something doesn't exist. Always verify with background scripts before making changes.</p>
453
- </div>
454
- <div class="practice">
455
- <h3>📝 Use ES5 JavaScript</h3>
456
- <p>ServiceNow uses Rhino engine. Always write ES5-compatible code - no arrow functions, const/let, or template literals.</p>
457
- </div>
458
- <div class="practice">
459
- <h3>🔄 Sync User Changes</h3>
460
- <p>When users modify artifacts in ServiceNow, always fetch the latest version before making additional changes.</p>
461
- </div>
462
- <div class="practice">
463
- <h3>✅ Widget Coherence</h3>
464
- <p>Ensure perfect communication between HTML template, client script, and server script in widgets.</p>
465
- </div>
466
- <div class="practice">
467
- <h3>📊 Use Real Data</h3>
468
- <p>Snow-Flow never uses mock data. Always test with real ServiceNow instance data.</p>
469
- </div>
470
- <div class="practice">
471
- <h3>🚀 Leverage MCP Servers</h3>
472
- <p>Use specialized MCP servers for specific tasks - each is optimized for its domain.</p>
473
- </div>
801
+ <!-- CTA Section -->
802
+ <section class="section" style="background: var(--black); padding: var(--space-32) 0;">
803
+ <div class="container text-center">
804
+ <h2 style="font-size: var(--font-5xl); font-weight: 900; color: var(--white); margin-bottom: var(--space-6);">Ready to Revolutionize ServiceNow?</h2>
805
+ <p style="font-size: var(--font-xl); color: var(--gray-400); margin-bottom: var(--space-12);">Join thousands of developers building faster with Snow-Flow</p>
806
+ <div class="flex gap-6 justify-center">
807
+ <a href="#install" class="btn btn-primary btn-animated" style="font-size: var(--font-lg); padding: var(--space-4) var(--space-8);">Get Started Now</a>
808
+ <a href="https://github.com/groeimetai/snow-flow" target="_blank" class="btn btn-ghost" style="font-size: var(--font-lg); padding: var(--space-4) var(--space-8);">View on GitHub</a>
474
809
  </div>
475
810
  </div>
476
811
  </section>
477
812
 
813
+
478
814
  <!-- Footer -->
479
- <footer class="footer">
815
+ <footer style="background: var(--gray-950); border-top: 1px solid var(--gray-800); padding: var(--space-16) 0;">
480
816
  <div class="container">
481
- <div class="footer-content">
482
- <div class="footer-section">
483
- <h4>Snow-Flow</h4>
484
- <p>Advanced ServiceNow Development Framework</p>
485
- <div class="footer-logo">🏔️</div>
486
- </div>
487
- <div class="footer-section">
488
- <h4>Quick Links</h4>
489
- <ul>
490
- <li><a href="#installation">Installation</a></li>
491
- <li><a href="#mcp-servers">MCP Servers</a></li>
492
- <li><a href="#examples">Examples</a></li>
493
- <li><a href="#api">API Reference</a></li>
494
- </ul>
495
- </div>
496
- <div class="footer-section">
497
- <h4>Resources</h4>
498
- <ul>
499
- <li><a href="https://github.com/groeimetai/snow-flow">GitHub</a></li>
500
- <li><a href="https://www.npmjs.com/package/snow-flow">NPM Package</a></li>
501
- <li><a href="docs/claude-md.html">CLAUDE.md</a></li>
502
- <li><a href="docs/api-full.html">Full API Docs</a></li>
503
- </ul>
817
+ <div class="flex justify-between items-center">
818
+ <div>
819
+ <h3 class="navbar-logo" style="font-size: var(--font-2xl);"><span class="logo-mountain">🏔️</span> SNOW-FLOW</h3>
820
+ <p style="color: var(--gray-500); margin-top: var(--space-2);">© 2024 Snow-Flow v3.4.38 | MIT License</p>
504
821
  </div>
505
- <div class="footer-section">
506
- <h4>Version</h4>
507
- <p>v3.4.16</p>
508
- <p>MIT License</p>
509
- <p>&copy; 2024 Snow-Flow Team</p>
822
+ <div class="flex gap-8">
823
+ <a href="https://github.com/groeimetai/snow-flow" class="link-animated" style="color: var(--gray-400);">GitHub</a>
824
+ <a href="#docs" class="link-animated" style="color: var(--gray-400);">Documentation</a>
825
+ <a href="#install" class="link-animated" style="color: var(--gray-400);">Install</a>
510
826
  </div>
511
827
  </div>
512
828
  </div>
513
829
  </footer>
514
830
 
515
- <script src="tools.js"></script>
831
+ <!-- Particle Canvas (Optional) -->
832
+ <canvas id="particles" style="position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: 0.3;"></canvas>
833
+
834
+ <!-- Scripts -->
516
835
  <script src="js/main.js"></script>
517
- <script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js"></script>
518
- <script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-javascript.min.js"></script>
519
- <script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-bash.min.js"></script>
520
836
  </body>
521
837
  </html>