snow-flow 3.2.1 → 3.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +233 -3
- package/dist/dynamic-version.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -10,6 +10,31 @@
|
|
|
10
10
|
|
|
11
11
|
Snow-Flow is an AI-powered development platform for ServiceNow that provides 180+ MCP tools and multi-agent coordination. It enables developers and administrators to interact with ServiceNow through natural language commands and automated workflows.
|
|
12
12
|
|
|
13
|
+
## Quick Start - One Command to Rule Them All
|
|
14
|
+
|
|
15
|
+
### 🚀 The Swarm Command
|
|
16
|
+
The simplest way to use Snow-Flow is with the swarm command. Just describe what you want in natural language:
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
# Basic usage - no flags needed!
|
|
20
|
+
snow-flow swarm "Create an incident dashboard with real-time updates"
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
This single command automatically:
|
|
24
|
+
- Spawns multiple specialized AI agents
|
|
25
|
+
- Discovers existing ServiceNow artifacts
|
|
26
|
+
- Creates complete working solutions
|
|
27
|
+
- Deploys directly to your instance
|
|
28
|
+
- Handles all technical complexity
|
|
29
|
+
|
|
30
|
+
More examples:
|
|
31
|
+
```bash
|
|
32
|
+
snow-flow swarm "Build employee onboarding workflow"
|
|
33
|
+
snow-flow swarm "Create knowledge base for IT support"
|
|
34
|
+
snow-flow swarm "Set up change management process"
|
|
35
|
+
snow-flow swarm "Analyze last month's incident patterns"
|
|
36
|
+
```
|
|
37
|
+
|
|
13
38
|
## Core Functionality
|
|
14
39
|
|
|
15
40
|
Snow-Flow connects directly to ServiceNow instances through OAuth 2.0 authentication and provides:
|
|
@@ -51,6 +76,171 @@ snow-flow auth login
|
|
|
51
76
|
|
|
52
77
|
Snow-Flow provides 180+ tools across 17 specialized MCP servers:
|
|
53
78
|
|
|
79
|
+
## Complete Tool Reference
|
|
80
|
+
|
|
81
|
+
### MCP Server Overview
|
|
82
|
+
|
|
83
|
+
| Server | Tools | Primary Focus |
|
|
84
|
+
|--------|-------|---------------|
|
|
85
|
+
| servicenow-operations | 15 | CRUD operations, data management |
|
|
86
|
+
| servicenow-deployment | 20 | Widget, portal, and application deployment |
|
|
87
|
+
| servicenow-platform-development | 12 | Table creation, field management |
|
|
88
|
+
| servicenow-machine-learning | 15 | Neural networks, predictions, anomaly detection |
|
|
89
|
+
| servicenow-reporting-analytics | 18 | Dashboards, reports, KPIs |
|
|
90
|
+
| servicenow-security-compliance | 14 | Security scanning, ACLs, compliance |
|
|
91
|
+
| servicenow-update-set | 10 | Change packaging, version control |
|
|
92
|
+
| servicenow-automation | 22 | Business rules, scheduled jobs, ATF testing |
|
|
93
|
+
| servicenow-integration | 10 | REST/SOAP, data import/export |
|
|
94
|
+
| servicenow-advanced-features | 15 | Process mining, advanced analytics |
|
|
95
|
+
| servicenow-knowledge-catalog | 15 | Knowledge management, service catalog |
|
|
96
|
+
| servicenow-change-virtualagent-pa | 19 | Change management, virtual agent, PA |
|
|
97
|
+
| servicenow-flow-workspace-mobile | 20 | Flow Designer, agent workspace, mobile |
|
|
98
|
+
| servicenow-cmdb-event-hr-csm-devops | 23 | CMDB, events, HR, CSM, DevOps |
|
|
99
|
+
| servicenow-performance-optimization | 8 | Query optimization, batch operations |
|
|
100
|
+
| servicenow-process-intelligence | 10 | Process mining and discovery |
|
|
101
|
+
| snow-flow | 12 | Orchestration, memory management |
|
|
102
|
+
|
|
103
|
+
### Detailed Tool Listing by Server
|
|
104
|
+
|
|
105
|
+
#### 1. ATF Testing Tools (servicenow-automation)
|
|
106
|
+
| Tool | Description | ServiceNow Table |
|
|
107
|
+
|------|-------------|------------------|
|
|
108
|
+
| snow_create_atf_test | Create automated test | sys_atf_test |
|
|
109
|
+
| snow_create_atf_test_step | Add test steps | sys_atf_step |
|
|
110
|
+
| snow_execute_atf_test | Execute tests | sys_atf_test_result |
|
|
111
|
+
| snow_get_atf_results | Get test results | sys_atf_test_result |
|
|
112
|
+
| snow_create_atf_test_suite | Create test suite | sys_atf_test_suite |
|
|
113
|
+
| snow_discover_atf_tests | Find existing tests | sys_atf_test, sys_atf_test_suite |
|
|
114
|
+
|
|
115
|
+
#### 2. Knowledge Management (servicenow-knowledge-catalog)
|
|
116
|
+
| Tool | Description | ServiceNow Table |
|
|
117
|
+
|------|-------------|------------------|
|
|
118
|
+
| snow_create_knowledge_article | Create KB article | kb_knowledge |
|
|
119
|
+
| snow_search_knowledge | Search articles | kb_knowledge |
|
|
120
|
+
| snow_update_knowledge_article | Update article | kb_knowledge |
|
|
121
|
+
| snow_retire_knowledge_article | Retire article | kb_knowledge |
|
|
122
|
+
| snow_create_knowledge_base | Create KB | kb_knowledge_base |
|
|
123
|
+
| snow_discover_knowledge_bases | List KBs | kb_knowledge_base |
|
|
124
|
+
| snow_get_knowledge_stats | Article statistics | kb_knowledge |
|
|
125
|
+
| snow_knowledge_feedback | Manage feedback | kb_feedback |
|
|
126
|
+
|
|
127
|
+
#### 3. Service Catalog (servicenow-knowledge-catalog)
|
|
128
|
+
| Tool | Description | ServiceNow Table |
|
|
129
|
+
|------|-------------|------------------|
|
|
130
|
+
| snow_create_catalog_item | Create catalog item | sc_cat_item |
|
|
131
|
+
| snow_create_catalog_variable | Create variables | item_option_new |
|
|
132
|
+
| snow_create_catalog_ui_policy | Create UI policies | catalog_ui_policy |
|
|
133
|
+
| snow_order_catalog_item | Submit order | sc_req_item |
|
|
134
|
+
| snow_search_catalog | Search catalog | sc_cat_item |
|
|
135
|
+
| snow_get_catalog_item_details | Get item details | sc_cat_item |
|
|
136
|
+
| snow_discover_catalogs | List catalogs | sc_catalog |
|
|
137
|
+
|
|
138
|
+
#### 4. Change Management (servicenow-change-virtualagent-pa)
|
|
139
|
+
| Tool | Description | ServiceNow Table |
|
|
140
|
+
|------|-------------|------------------|
|
|
141
|
+
| snow_create_change_request | Create change | change_request |
|
|
142
|
+
| snow_create_change_task | Create task | change_task |
|
|
143
|
+
| snow_get_change_request | Get change details | change_request |
|
|
144
|
+
| snow_update_change_state | Update state | change_request |
|
|
145
|
+
| snow_schedule_cab_meeting | Schedule CAB | cab_meeting |
|
|
146
|
+
| snow_search_change_requests | Search changes | change_request |
|
|
147
|
+
|
|
148
|
+
#### 5. Virtual Agent (servicenow-change-virtualagent-pa)
|
|
149
|
+
| Tool | Description | ServiceNow Table |
|
|
150
|
+
|------|-------------|------------------|
|
|
151
|
+
| snow_create_va_topic | Create topic | sys_cs_topic |
|
|
152
|
+
| snow_create_va_topic_block | Create blocks | sys_cs_topic_block |
|
|
153
|
+
| snow_get_va_conversation | Get conversation | sys_cs_conversation |
|
|
154
|
+
| snow_send_va_message | Send message | sys_cs_conversation |
|
|
155
|
+
| snow_handoff_to_agent | Escalate to agent | sys_cs_conversation |
|
|
156
|
+
| snow_discover_va_topics | List topics | sys_cs_topic |
|
|
157
|
+
|
|
158
|
+
#### 6. Performance Analytics (servicenow-change-virtualagent-pa)
|
|
159
|
+
| Tool | Description | ServiceNow Table |
|
|
160
|
+
|------|-------------|------------------|
|
|
161
|
+
| snow_create_pa_indicator | Create KPI | pa_indicators |
|
|
162
|
+
| snow_create_pa_widget | Create widget | pa_widgets |
|
|
163
|
+
| snow_create_pa_breakdown | Create breakdown | pa_breakdowns |
|
|
164
|
+
| snow_create_pa_threshold | Set threshold | pa_thresholds |
|
|
165
|
+
| snow_get_pa_scores | Get scores | pa_scores |
|
|
166
|
+
| snow_create_pa_target | Set target | pa_targets |
|
|
167
|
+
| snow_analyze_pa_trends | Analyze trends | pa_scores |
|
|
168
|
+
|
|
169
|
+
#### 7. Flow Designer (servicenow-flow-workspace-mobile)
|
|
170
|
+
| Tool | Description | ServiceNow Table |
|
|
171
|
+
|------|-------------|------------------|
|
|
172
|
+
| snow_create_flow | Create flow | sys_hub_flow |
|
|
173
|
+
| snow_create_flow_action | Create action | sys_hub_action_instance |
|
|
174
|
+
| snow_create_subflow | Create subflow | sys_hub_sub_flow |
|
|
175
|
+
| snow_add_flow_trigger | Add trigger | sys_hub_trigger_instance |
|
|
176
|
+
| snow_publish_flow | Publish flow | sys_hub_flow |
|
|
177
|
+
| snow_test_flow | Test flow | sys_flow_context |
|
|
178
|
+
| snow_get_flow_execution_details | Get execution | sys_flow_context |
|
|
179
|
+
|
|
180
|
+
#### 8. Agent Workspace (servicenow-flow-workspace-mobile)
|
|
181
|
+
| Tool | Description | ServiceNow Table |
|
|
182
|
+
|------|-------------|------------------|
|
|
183
|
+
| snow_create_workspace | Create workspace | sys_aw_workspace |
|
|
184
|
+
| snow_configure_workspace_tab | Configure tabs | sys_aw_tab |
|
|
185
|
+
| snow_add_workspace_list | Add lists | sys_aw_list |
|
|
186
|
+
| snow_create_workspace_form | Create forms | sys_aw_form |
|
|
187
|
+
| snow_configure_workspace_ui_action | Add UI actions | sys_aw_ui_action |
|
|
188
|
+
| snow_deploy_workspace | Deploy workspace | sys_aw_workspace |
|
|
189
|
+
|
|
190
|
+
#### 9. Mobile Platform (servicenow-flow-workspace-mobile)
|
|
191
|
+
| Tool | Description | ServiceNow Table |
|
|
192
|
+
|------|-------------|------------------|
|
|
193
|
+
| snow_create_mobile_app_config | Configure app | sys_mobile_config |
|
|
194
|
+
| snow_configure_mobile_layout | Configure layout | sys_mobile_layout |
|
|
195
|
+
| snow_create_mobile_applet | Create applet | sys_mobile_applet |
|
|
196
|
+
| snow_configure_offline_tables | Offline sync | sys_mobile_offline |
|
|
197
|
+
| snow_set_mobile_security | Security settings | sys_mobile_security |
|
|
198
|
+
| snow_push_notification_config | Push notifications | sys_push_notification |
|
|
199
|
+
| snow_deploy_mobile_app | Deploy app | sys_mobile_deployment |
|
|
200
|
+
|
|
201
|
+
#### 10. CMDB & Discovery (servicenow-cmdb-event-hr-csm-devops)
|
|
202
|
+
| Tool | Description | ServiceNow Table |
|
|
203
|
+
|------|-------------|------------------|
|
|
204
|
+
| snow_create_cmdb_ci | Create CI | cmdb_ci_* |
|
|
205
|
+
| snow_create_ci_relationship | Create relationship | cmdb_rel_ci |
|
|
206
|
+
| snow_discover_ci_dependencies | Find dependencies | cmdb_rel_ci |
|
|
207
|
+
| snow_run_discovery | Run discovery | discovery_status |
|
|
208
|
+
| snow_get_discovery_status | Get status | discovery_status |
|
|
209
|
+
| snow_import_cmdb_data | Import data | sys_import_set |
|
|
210
|
+
|
|
211
|
+
#### 11. Event Management (servicenow-cmdb-event-hr-csm-devops)
|
|
212
|
+
| Tool | Description | ServiceNow Table |
|
|
213
|
+
|------|-------------|------------------|
|
|
214
|
+
| snow_create_event | Create event | em_event |
|
|
215
|
+
| snow_create_alert_rule | Create rule | em_alert_rule |
|
|
216
|
+
| snow_correlate_alerts | Correlate alerts | em_alert |
|
|
217
|
+
| snow_get_event_metrics | Get metrics | em_event |
|
|
218
|
+
|
|
219
|
+
#### 12. HR Service Delivery (servicenow-cmdb-event-hr-csm-devops)
|
|
220
|
+
| Tool | Description | ServiceNow Table |
|
|
221
|
+
|------|-------------|------------------|
|
|
222
|
+
| snow_create_hr_case | Create HR case | sn_hr_core_case |
|
|
223
|
+
| snow_manage_onboarding | Onboarding | sn_hr_core_task |
|
|
224
|
+
| snow_manage_offboarding | Offboarding | sn_hr_core_task |
|
|
225
|
+
| snow_get_hr_analytics | HR analytics | sn_hr_core_case |
|
|
226
|
+
|
|
227
|
+
#### 13. Customer Service Management (servicenow-cmdb-event-hr-csm-devops)
|
|
228
|
+
| Tool | Description | ServiceNow Table |
|
|
229
|
+
|------|-------------|------------------|
|
|
230
|
+
| snow_create_csm_case | Create case | sn_customerservice_case |
|
|
231
|
+
| snow_manage_customer_account | Manage account | sn_customerservice_account |
|
|
232
|
+
| snow_create_csm_communication | Communications | sn_customerservice_communication |
|
|
233
|
+
| snow_get_customer_satisfaction | Get CSAT | sn_customerservice_csat |
|
|
234
|
+
|
|
235
|
+
#### 14. DevOps (servicenow-cmdb-event-hr-csm-devops)
|
|
236
|
+
| Tool | Description | ServiceNow Table |
|
|
237
|
+
|------|-------------|------------------|
|
|
238
|
+
| snow_create_devops_pipeline | Create pipeline | sn_devops_pipeline |
|
|
239
|
+
| snow_track_deployment | Track deployment | sn_devops_deployment |
|
|
240
|
+
| snow_manage_devops_change | DevOps change | sn_devops_change |
|
|
241
|
+
| snow_get_velocity_metrics | Team velocity | sn_devops_velocity |
|
|
242
|
+
| snow_create_devops_artifact | Build artifacts | sn_devops_artifact |
|
|
243
|
+
|
|
54
244
|
### Table Operations
|
|
55
245
|
The universal `snow_query_table` tool works with all ServiceNow tables:
|
|
56
246
|
|
|
@@ -204,8 +394,43 @@ snow-flow auth login
|
|
|
204
394
|
snow-flow auth test
|
|
205
395
|
```
|
|
206
396
|
|
|
397
|
+
### Troubleshooting: Claude Code stdio Error
|
|
398
|
+
|
|
399
|
+
If you encounter a stdio/permissions error when using Snow-Flow with Claude Code:
|
|
400
|
+
|
|
401
|
+
```bash
|
|
402
|
+
# 1. Fix Claude permissions
|
|
403
|
+
claude --dangerously-skip-permissions
|
|
404
|
+
|
|
405
|
+
# 2. Activate Claude Code
|
|
406
|
+
# Open Claude Code and ensure it's activated with your account
|
|
407
|
+
|
|
408
|
+
# 3. Login to Claude
|
|
409
|
+
# Sign in with your Claude account in the Claude Code interface
|
|
410
|
+
|
|
411
|
+
# 4. Close Claude Code completely
|
|
412
|
+
# Make sure Claude Code is fully closed before proceeding
|
|
413
|
+
|
|
414
|
+
# 5. Now run Snow-Flow swarm
|
|
415
|
+
snow-flow swarm "Your ServiceNow task here"
|
|
416
|
+
```
|
|
417
|
+
|
|
418
|
+
This resolves the common "stdio" error that occurs when Claude Code doesn't have proper permissions to communicate with MCP servers.
|
|
419
|
+
|
|
207
420
|
## Usage Examples
|
|
208
421
|
|
|
422
|
+
### Swarm Command (Recommended)
|
|
423
|
+
```bash
|
|
424
|
+
# The simplest way - just describe what you want!
|
|
425
|
+
snow-flow swarm "Create incident management dashboard"
|
|
426
|
+
|
|
427
|
+
# No flags needed for basic usage
|
|
428
|
+
snow-flow swarm "Build service catalog for laptop requests"
|
|
429
|
+
|
|
430
|
+
# Advanced usage with optional flags
|
|
431
|
+
snow-flow swarm "Optimize incident resolution process" --monitor --parallel
|
|
432
|
+
```
|
|
433
|
+
|
|
209
434
|
### Natural Language Commands
|
|
210
435
|
```bash
|
|
211
436
|
# Create an incident dashboard
|
|
@@ -230,19 +455,24 @@ snow-flow deploy widget --name "SLA Dashboard" --template dashboard
|
|
|
230
455
|
snow-flow generate docs --scope "incident_management"
|
|
231
456
|
```
|
|
232
457
|
|
|
233
|
-
### Swarm
|
|
458
|
+
### Advanced Swarm Options
|
|
234
459
|
```bash
|
|
235
|
-
#
|
|
460
|
+
# With specific strategy
|
|
236
461
|
snow-flow swarm "Build complete HR service portal" \
|
|
237
462
|
--strategy development \
|
|
238
463
|
--mode hierarchical \
|
|
239
464
|
--max-agents 8
|
|
240
465
|
|
|
241
|
-
#
|
|
466
|
+
# Parallel analysis
|
|
242
467
|
snow-flow swarm "Analyze system performance bottlenecks" \
|
|
243
468
|
--strategy analysis \
|
|
244
469
|
--mode mesh \
|
|
245
470
|
--parallel
|
|
471
|
+
|
|
472
|
+
# With monitoring
|
|
473
|
+
snow-flow swarm "Deploy production changes" \
|
|
474
|
+
--monitor \
|
|
475
|
+
--auto-rollback
|
|
246
476
|
```
|
|
247
477
|
|
|
248
478
|
## Configuration
|
package/dist/dynamic-version.js
CHANGED
|
@@ -36,7 +36,7 @@ function getDynamicVersion() {
|
|
|
36
36
|
console.warn('Warning: Could not read version from package.json:', error);
|
|
37
37
|
}
|
|
38
38
|
// Fallback to hardcoded version
|
|
39
|
-
return '3.2.
|
|
39
|
+
return '3.2.3';
|
|
40
40
|
}
|
|
41
41
|
// Export a constant that uses the dynamic version
|
|
42
42
|
exports.VERSION = getDynamicVersion();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "snow-flow",
|
|
3
|
-
"version": "3.2.
|
|
4
|
-
"description": "Snow-Flow v3.2.
|
|
3
|
+
"version": "3.2.3",
|
|
4
|
+
"description": "Snow-Flow v3.2.3: ServiceNow development platform with 180+ MCP tools. One command to rule them all: 'snow-flow swarm'. Includes ATF Testing, Knowledge Management, Service Catalog, Change Management, Virtual Agent, Performance Analytics, Flow Designer, Agent Workspace, Mobile, CMDB/Discovery, Event Management, HR Service Delivery, Customer Service Management, and DevOps integration. All tools use official ServiceNow REST APIs across 17 specialized MCP servers.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "commonjs",
|
|
7
7
|
"bin": {
|