snow-flow 1.4.49 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (600) hide show
  1. package/.claude/helpers/github-setup.sh +28 -0
  2. package/.claude/helpers/quick-start.sh +19 -0
  3. package/.claude/helpers/setup-mcp.sh +18 -0
  4. package/{.claude.settings.template → .claude/settings.local.json} +18 -21
  5. package/.claude-flow/metrics/system-metrics.json +3060 -0
  6. package/.env.example +64 -0
  7. package/.roo/README.md +402 -0
  8. package/.roo/mcp-list.txt +257 -0
  9. package/.roo/mcp.json +32 -0
  10. package/.roo/workflows/basic-tdd.json +32 -0
  11. package/.roomodes +201 -0
  12. package/README.md +140 -614
  13. package/dist/cli.js.bak +2052 -0
  14. package/package.json +2 -2
  15. package/scripts/create-env.js +6 -1
  16. package/scripts/reset-mcp-servers.js +246 -0
  17. package/scripts/update-version.js +31 -0
  18. package/src/agents/README.md +192 -0
  19. package/src/agents/base-agent.ts +251 -0
  20. package/src/agents/coordinator.ts +971 -0
  21. package/src/agents/index.ts +18 -0
  22. package/src/agents/queen-403-handler.ts +230 -0
  23. package/src/agents/queen-agent.ts +1399 -0
  24. package/src/agents/script-writer-agent.ts +769 -0
  25. package/src/agents/security-agent.ts +726 -0
  26. package/src/agents/widget-creator-agent.ts +568 -0
  27. package/src/api/error-handling.ts +1758 -0
  28. package/src/api/natural-language-mapper.ts +630 -0
  29. package/src/api/performance-optimizer.ts +891 -0
  30. package/src/api/transaction-manager.ts +754 -0
  31. package/src/cli/deploy-artifact.ts +304 -0
  32. package/src/cli/snow-flow-cli-integration.ts +434 -0
  33. package/src/cli.ts +4455 -0
  34. package/src/cli.ts.bak +5616 -0
  35. package/src/compliance/advanced-compliance-system.ts +1268 -0
  36. package/src/compliance/index.ts +19 -0
  37. package/src/config/snow-flow-config.ts +1019 -0
  38. package/src/documentation/index.ts +16 -0
  39. package/src/documentation/self-documenting-system.ts +1421 -0
  40. package/src/dynamic-version.ts +44 -0
  41. package/src/healing/index.ts +20 -0
  42. package/src/healing/self-healing-system.ts +1435 -0
  43. package/src/health/README.md +161 -0
  44. package/src/health/system-health.ts +995 -0
  45. package/src/index.ts +60 -0
  46. package/src/intelligence/acl-analyzer.ts +377 -0
  47. package/src/intelligence/auto-resolution-engine.ts +643 -0
  48. package/src/intelligence/gap-analysis-engine.ts +488 -0
  49. package/src/intelligence/manual-instructions-generator.ts +744 -0
  50. package/src/intelligence/mcp-coverage-analyzer.ts +708 -0
  51. package/src/intelligence/multi-pass-requirements-analyzer.ts +603 -0
  52. package/src/intelligence/performance-recommendations-engine.ts +1223 -0
  53. package/src/intelligence/requirements-analyzer.ts +1148 -0
  54. package/src/intelligence/task-analyzer.ts +628 -0
  55. package/src/managers/scope-manager.ts +555 -0
  56. package/src/mcp/advanced/servicenow-advanced-features-mcp.ts +16110 -0
  57. package/src/mcp/base-mcp-server.ts +660 -0
  58. package/src/mcp/http-transport-wrapper.ts +426 -0
  59. package/src/mcp/service-discovery-client.ts +312 -0
  60. package/src/mcp/servicenow-automation-mcp-refactored.ts +678 -0
  61. package/src/mcp/servicenow-automation-mcp.ts +838 -0
  62. package/src/mcp/servicenow-deployment-mcp-refactored.ts +1292 -0
  63. package/src/mcp/servicenow-deployment-mcp.ts +7244 -0
  64. package/src/mcp/servicenow-graph-memory-mcp-refactored.ts +721 -0
  65. package/src/mcp/servicenow-graph-memory-mcp.ts +832 -0
  66. package/src/mcp/servicenow-integration-mcp-refactored.ts +655 -0
  67. package/src/mcp/servicenow-integration-mcp.ts +819 -0
  68. package/src/mcp/servicenow-intelligent-mcp-refactored.ts +977 -0
  69. package/src/mcp/servicenow-intelligent-mcp.ts +4638 -0
  70. package/src/mcp/servicenow-mcp-server.ts +728 -0
  71. package/src/mcp/servicenow-memory-mcp.ts +474 -0
  72. package/src/mcp/servicenow-operations-mcp-refactored.ts +1995 -0
  73. package/src/mcp/servicenow-operations-mcp.ts +3384 -0
  74. package/src/mcp/servicenow-platform-development-mcp-refactored.ts +611 -0
  75. package/src/mcp/servicenow-platform-development-mcp.ts +970 -0
  76. package/src/mcp/servicenow-progressive-indexer.ts +370 -0
  77. package/src/mcp/servicenow-reporting-analytics-mcp-refactored.ts +695 -0
  78. package/src/mcp/servicenow-reporting-analytics-mcp.ts +1123 -0
  79. package/src/mcp/servicenow-security-compliance-mcp-refactored.ts +642 -0
  80. package/src/mcp/servicenow-security-compliance-mcp.ts +1157 -0
  81. package/src/mcp/servicenow-update-set-mcp-refactored.ts +751 -0
  82. package/src/mcp/servicenow-update-set-mcp.ts +811 -0
  83. package/src/mcp/shared/agent-context-provider.ts +365 -0
  84. package/src/mcp/shared/base-mcp-server.ts +2463 -0
  85. package/src/mcp/shared/mcp-memory-manager.ts +540 -0
  86. package/src/mcp/shared/mcp-resource-manager.ts +367 -0
  87. package/src/mcp/snow-flow-mcp.ts +911 -0
  88. package/src/mcp/start-all-mcp-servers.ts +102 -0
  89. package/src/mcp/start-servicenow-mcp.ts +67 -0
  90. package/src/monitoring/enhanced-monitoring-system.ts +1345 -0
  91. package/src/monitoring/performance-tracker.ts +777 -0
  92. package/src/optimization/cost-optimization-engine.ts +1125 -0
  93. package/src/optimization/index.ts +10 -0
  94. package/src/queen/README.md +403 -0
  95. package/src/queen/agent-factory.ts +574 -0
  96. package/src/queen/index.ts +94 -0
  97. package/src/queen/mcp-execution-bridge.ts +681 -0
  98. package/src/queen/neural-learning.ts +319 -0
  99. package/src/queen/parallel-agent-engine.ts +848 -0
  100. package/src/queen/queen-memory-system.ts +490 -0
  101. package/src/queen/queen-memory.ts +456 -0
  102. package/src/queen/servicenow-queen.ts +1029 -0
  103. package/src/queen/types.ts +87 -0
  104. package/src/rollback/smart-rollback-system.ts +866 -0
  105. package/src/schemas/deployment.schema.json +58 -0
  106. package/src/schemas/flow.schema.json +79 -0
  107. package/src/schemas/widget.schema.json +72 -0
  108. package/src/snow-flow-system.ts +541 -0
  109. package/src/sparc/sparc-help.ts +49 -0
  110. package/src/sparc/team-sparc.ts +88 -0
  111. package/src/strategies/global-scope-strategy.ts +736 -0
  112. package/src/templates/base/application.template.json +45 -0
  113. package/src/templates/base/business_rule.template.json +33 -0
  114. package/src/templates/base/script_include.template.json +18 -0
  115. package/src/templates/base/table.template.json +64 -0
  116. package/src/templates/base/widget.template.json +25 -0
  117. package/src/templates/patterns/composite.incident-management.template.json +140 -0
  118. package/src/templates/patterns/widget.dashboard.template.json +238 -0
  119. package/src/templates/patterns/widget.datatable.template.json +292 -0
  120. package/src/testing/integration-test-suite.ts +1276 -0
  121. package/src/types/index.ts +183 -0
  122. package/src/types/neo4j-driver.d.ts +23 -0
  123. package/src/types/servicenow.types.ts +307 -0
  124. package/src/types/snow-flow.types.ts +186 -0
  125. package/src/types/todo.types.ts +70 -0
  126. package/src/utils/action-type-cache.ts +286 -0
  127. package/src/utils/agent-detector.ts +573 -0
  128. package/src/utils/artifact-tracker.ts +379 -0
  129. package/src/utils/dependency-detector.ts +233 -0
  130. package/src/utils/deployment-metadata-handler.ts +518 -0
  131. package/src/utils/error-recovery.ts +680 -0
  132. package/src/utils/logger.ts +60 -0
  133. package/src/utils/mcp-auth-middleware.ts +262 -0
  134. package/src/utils/mcp-config-manager.ts +270 -0
  135. package/src/utils/mcp-server-manager.ts +446 -0
  136. package/src/utils/mcp-tool-registry.ts +298 -0
  137. package/src/utils/migrate-snow-flow.ts +98 -0
  138. package/src/utils/oauth-html-templates.ts +188 -0
  139. package/src/utils/scope-utils.ts +443 -0
  140. package/src/utils/servicenow-client.ts +3321 -0
  141. package/src/utils/servicenow-id-generator.ts +181 -0
  142. package/src/utils/snow-memory-manager.ts +605 -0
  143. package/src/utils/snow-oauth.ts +797 -0
  144. package/src/utils/template-engine.ts +463 -0
  145. package/src/utils/theme-manager.ts +295 -0
  146. package/src/utils/unified-auth-store.ts +222 -0
  147. package/src/utils/update-set-importer.ts +422 -0
  148. package/src/utils/update-set-xml-packager.ts +371 -0
  149. package/src/utils/widget-template-generator.ts +1744 -0
  150. package/src/version.ts +1950 -0
  151. package/.claude/commands/memory/README.md +0 -9
  152. package/.claude.mcp-config.template +0 -149
  153. package/SIMPLE_TEST_COMMANDS.txt +0 -143
  154. package/SNOW_FLOW_ADVANCED_FEATURES_PLAIN.txt +0 -78
  155. package/TEST_COMMANDS_v139.sh +0 -126
  156. package/claude-flow +0 -81
  157. package/claude-flow.bat +0 -18
  158. package/claude-flow.config.json +0 -20
  159. package/claude-flow.ps1 +0 -24
  160. package/dist/agents/app-creator.agent.d.ts.map +0 -1
  161. package/dist/agents/app-creator.agent.js.map +0 -1
  162. package/dist/agents/base/base-snow-agent.d.ts.map +0 -1
  163. package/dist/agents/base/base-snow-agent.js.map +0 -1
  164. package/dist/agents/base-agent.d.ts.map +0 -1
  165. package/dist/agents/base-agent.js.map +0 -1
  166. package/dist/agents/base-snow-agent.d.ts.map +0 -1
  167. package/dist/agents/base-snow-agent.js.map +0 -1
  168. package/dist/agents/coordinator.d.ts.map +0 -1
  169. package/dist/agents/coordinator.js.map +0 -1
  170. package/dist/agents/flow-builder-agent.d.ts.map +0 -1
  171. package/dist/agents/flow-builder-agent.js.map +0 -1
  172. package/dist/agents/index.d.ts.map +0 -1
  173. package/dist/agents/index.js.map +0 -1
  174. package/dist/agents/queen-403-handler.d.ts.map +0 -1
  175. package/dist/agents/queen-403-handler.js.map +0 -1
  176. package/dist/agents/queen-agent-example.d.ts.map +0 -1
  177. package/dist/agents/queen-agent-example.js.map +0 -1
  178. package/dist/agents/queen-agent.d.ts.map +0 -1
  179. package/dist/agents/queen-agent.js.map +0 -1
  180. package/dist/agents/queen-agent.test.d.ts.map +0 -1
  181. package/dist/agents/queen-agent.test.js.map +0 -1
  182. package/dist/agents/script-generator.agent.d.ts.map +0 -1
  183. package/dist/agents/script-generator.agent.js.map +0 -1
  184. package/dist/agents/script-writer-agent.d.ts.map +0 -1
  185. package/dist/agents/script-writer-agent.js.map +0 -1
  186. package/dist/agents/security-agent.d.ts.map +0 -1
  187. package/dist/agents/security-agent.js.map +0 -1
  188. package/dist/agents/specialists/automation-specialist.agent.d.ts.map +0 -1
  189. package/dist/agents/specialists/automation-specialist.agent.js.map +0 -1
  190. package/dist/agents/specialists/data-specialist.agent.d.ts.map +0 -1
  191. package/dist/agents/specialists/data-specialist.agent.js.map +0 -1
  192. package/dist/agents/specialists/integration-specialist.agent.d.ts.map +0 -1
  193. package/dist/agents/specialists/integration-specialist.agent.js.map +0 -1
  194. package/dist/agents/specialists/reporting-specialist.agent.d.ts.map +0 -1
  195. package/dist/agents/specialists/reporting-specialist.agent.js.map +0 -1
  196. package/dist/agents/specialists/security-specialist.agent.d.ts.map +0 -1
  197. package/dist/agents/specialists/security-specialist.agent.js.map +0 -1
  198. package/dist/agents/teams/adaptive/adaptive-coordinator.agent.d.ts.map +0 -1
  199. package/dist/agents/teams/adaptive/adaptive-coordinator.agent.js.map +0 -1
  200. package/dist/agents/teams/base-team.d.ts.map +0 -1
  201. package/dist/agents/teams/base-team.js.map +0 -1
  202. package/dist/agents/teams/team-types.d.ts.map +0 -1
  203. package/dist/agents/teams/team-types.js.map +0 -1
  204. package/dist/agents/teams/widget/widget-architect.agent.d.ts.map +0 -1
  205. package/dist/agents/teams/widget/widget-architect.agent.js.map +0 -1
  206. package/dist/agents/teams/widget/widget-backend.agent.d.ts.map +0 -1
  207. package/dist/agents/teams/widget/widget-backend.agent.js.map +0 -1
  208. package/dist/agents/teams/widget/widget-frontend.agent.d.ts.map +0 -1
  209. package/dist/agents/teams/widget/widget-frontend.agent.js.map +0 -1
  210. package/dist/agents/teams/widget/widget-platform.agent.d.ts.map +0 -1
  211. package/dist/agents/teams/widget/widget-platform.agent.js.map +0 -1
  212. package/dist/agents/teams/widget/widget-uiux.agent.d.ts.map +0 -1
  213. package/dist/agents/teams/widget/widget-uiux.agent.js.map +0 -1
  214. package/dist/agents/test-agent.d.ts.map +0 -1
  215. package/dist/agents/test-agent.js.map +0 -1
  216. package/dist/agents/test-agents.d.ts.map +0 -1
  217. package/dist/agents/test-agents.js.map +0 -1
  218. package/dist/agents/ui-builder.agent.d.ts.map +0 -1
  219. package/dist/agents/ui-builder.agent.js.map +0 -1
  220. package/dist/agents/widget-builder.agent.d.ts.map +0 -1
  221. package/dist/agents/widget-builder.agent.js.map +0 -1
  222. package/dist/agents/widget-creator-agent.d.ts.map +0 -1
  223. package/dist/agents/widget-creator-agent.js.map +0 -1
  224. package/dist/agents/workflow-designer.agent.d.ts.map +0 -1
  225. package/dist/agents/workflow-designer.agent.js.map +0 -1
  226. package/dist/api/error-handling.d.ts.map +0 -1
  227. package/dist/api/error-handling.js.map +0 -1
  228. package/dist/api/flow-designer-api.d.ts.map +0 -1
  229. package/dist/api/flow-designer-api.js.map +0 -1
  230. package/dist/api/natural-language-mapper.d.ts.map +0 -1
  231. package/dist/api/natural-language-mapper.js.map +0 -1
  232. package/dist/api/performance-optimizer.d.ts.map +0 -1
  233. package/dist/api/performance-optimizer.js.map +0 -1
  234. package/dist/api/transaction-manager.d.ts.map +0 -1
  235. package/dist/api/transaction-manager.js.map +0 -1
  236. package/dist/assembly/team-assembler.d.ts.map +0 -1
  237. package/dist/assembly/team-assembler.js.map +0 -1
  238. package/dist/cli/deploy-artifact.d.ts.map +0 -1
  239. package/dist/cli/deploy-artifact.js.map +0 -1
  240. package/dist/cli/snow-flow-cli-integration.d.ts.map +0 -1
  241. package/dist/cli/snow-flow-cli-integration.js.map +0 -1
  242. package/dist/cli.d.ts.map +0 -1
  243. package/dist/cli.js.map +0 -1
  244. package/dist/compliance/advanced-compliance-system.d.ts.map +0 -1
  245. package/dist/compliance/advanced-compliance-system.js.map +0 -1
  246. package/dist/compliance/index.d.ts.map +0 -1
  247. package/dist/compliance/index.js.map +0 -1
  248. package/dist/config/snow-flow-config.d.ts.map +0 -1
  249. package/dist/config/snow-flow-config.js.map +0 -1
  250. package/dist/documentation/index.d.ts.map +0 -1
  251. package/dist/documentation/index.js.map +0 -1
  252. package/dist/documentation/self-documenting-system.d.ts.map +0 -1
  253. package/dist/documentation/self-documenting-system.js.map +0 -1
  254. package/dist/dynamic-version.d.ts.map +0 -1
  255. package/dist/dynamic-version.js.map +0 -1
  256. package/dist/healing/index.d.ts.map +0 -1
  257. package/dist/healing/index.js.map +0 -1
  258. package/dist/healing/self-healing-system.d.ts.map +0 -1
  259. package/dist/healing/self-healing-system.js.map +0 -1
  260. package/dist/health/system-health.d.ts.map +0 -1
  261. package/dist/health/system-health.js.map +0 -1
  262. package/dist/index.d.ts.map +0 -1
  263. package/dist/index.js.map +0 -1
  264. package/dist/intelligence/acl-analyzer.d.ts.map +0 -1
  265. package/dist/intelligence/acl-analyzer.js.map +0 -1
  266. package/dist/intelligence/auto-resolution-engine.d.ts.map +0 -1
  267. package/dist/intelligence/auto-resolution-engine.js.map +0 -1
  268. package/dist/intelligence/gap-analysis-engine.d.ts.map +0 -1
  269. package/dist/intelligence/gap-analysis-engine.js.map +0 -1
  270. package/dist/intelligence/manual-instructions-generator.d.ts.map +0 -1
  271. package/dist/intelligence/manual-instructions-generator.js.map +0 -1
  272. package/dist/intelligence/mcp-coverage-analyzer.d.ts.map +0 -1
  273. package/dist/intelligence/mcp-coverage-analyzer.js.map +0 -1
  274. package/dist/intelligence/multi-pass-requirements-analyzer.d.ts.map +0 -1
  275. package/dist/intelligence/multi-pass-requirements-analyzer.js.map +0 -1
  276. package/dist/intelligence/performance-recommendations-engine.d.ts.map +0 -1
  277. package/dist/intelligence/performance-recommendations-engine.js.map +0 -1
  278. package/dist/intelligence/requirements-analyzer.d.ts.map +0 -1
  279. package/dist/intelligence/requirements-analyzer.js.map +0 -1
  280. package/dist/intelligence/task-analyzer.d.ts.map +0 -1
  281. package/dist/intelligence/task-analyzer.js.map +0 -1
  282. package/dist/managers/scope-manager.d.ts.map +0 -1
  283. package/dist/managers/scope-manager.js.map +0 -1
  284. package/dist/mcp/advanced/servicenow-advanced-features-mcp.d.ts.map +0 -1
  285. package/dist/mcp/advanced/servicenow-advanced-features-mcp.js.map +0 -1
  286. package/dist/mcp/base-mcp-server.d.ts.map +0 -1
  287. package/dist/mcp/base-mcp-server.js.map +0 -1
  288. package/dist/mcp/example-refactored-server.d.ts.map +0 -1
  289. package/dist/mcp/example-refactored-server.js.map +0 -1
  290. package/dist/mcp/http-transport-wrapper.d.ts.map +0 -1
  291. package/dist/mcp/http-transport-wrapper.js.map +0 -1
  292. package/dist/mcp/mcp-wrapper.d.ts.map +0 -1
  293. package/dist/mcp/mcp-wrapper.js.map +0 -1
  294. package/dist/mcp/service-discovery-client.d.ts.map +0 -1
  295. package/dist/mcp/service-discovery-client.js.map +0 -1
  296. package/dist/mcp/servicenow-automation-mcp-refactored.d.ts.map +0 -1
  297. package/dist/mcp/servicenow-automation-mcp-refactored.js.map +0 -1
  298. package/dist/mcp/servicenow-automation-mcp.d.ts.map +0 -1
  299. package/dist/mcp/servicenow-automation-mcp.js.map +0 -1
  300. package/dist/mcp/servicenow-deployment-mcp-refactored.d.ts.map +0 -1
  301. package/dist/mcp/servicenow-deployment-mcp-refactored.js.map +0 -1
  302. package/dist/mcp/servicenow-deployment-mcp.d.ts.map +0 -1
  303. package/dist/mcp/servicenow-deployment-mcp.js.map +0 -1
  304. package/dist/mcp/servicenow-flow-composer-mcp-refactored.d.ts.map +0 -1
  305. package/dist/mcp/servicenow-flow-composer-mcp-refactored.js.map +0 -1
  306. package/dist/mcp/servicenow-flow-composer-mcp.d.ts.map +0 -1
  307. package/dist/mcp/servicenow-flow-composer-mcp.js.map +0 -1
  308. package/dist/mcp/servicenow-graph-memory-mcp-refactored.d.ts.map +0 -1
  309. package/dist/mcp/servicenow-graph-memory-mcp-refactored.js.map +0 -1
  310. package/dist/mcp/servicenow-graph-memory-mcp.d.ts.map +0 -1
  311. package/dist/mcp/servicenow-graph-memory-mcp.js.map +0 -1
  312. package/dist/mcp/servicenow-integration-mcp-refactored.d.ts.map +0 -1
  313. package/dist/mcp/servicenow-integration-mcp-refactored.js.map +0 -1
  314. package/dist/mcp/servicenow-integration-mcp.d.ts.map +0 -1
  315. package/dist/mcp/servicenow-integration-mcp.js.map +0 -1
  316. package/dist/mcp/servicenow-intelligent-mcp-refactored.d.ts.map +0 -1
  317. package/dist/mcp/servicenow-intelligent-mcp-refactored.js.map +0 -1
  318. package/dist/mcp/servicenow-intelligent-mcp.d.ts.map +0 -1
  319. package/dist/mcp/servicenow-intelligent-mcp.js.map +0 -1
  320. package/dist/mcp/servicenow-mcp-server.d.ts.map +0 -1
  321. package/dist/mcp/servicenow-mcp-server.js.map +0 -1
  322. package/dist/mcp/servicenow-memory-mcp.d.ts.map +0 -1
  323. package/dist/mcp/servicenow-memory-mcp.js.map +0 -1
  324. package/dist/mcp/servicenow-operations-mcp-refactored.d.ts.map +0 -1
  325. package/dist/mcp/servicenow-operations-mcp-refactored.js.map +0 -1
  326. package/dist/mcp/servicenow-operations-mcp.d.ts.map +0 -1
  327. package/dist/mcp/servicenow-operations-mcp.js.map +0 -1
  328. package/dist/mcp/servicenow-platform-development-mcp-refactored.d.ts.map +0 -1
  329. package/dist/mcp/servicenow-platform-development-mcp-refactored.js.map +0 -1
  330. package/dist/mcp/servicenow-platform-development-mcp.d.ts.map +0 -1
  331. package/dist/mcp/servicenow-platform-development-mcp.js.map +0 -1
  332. package/dist/mcp/servicenow-progressive-indexer.d.ts.map +0 -1
  333. package/dist/mcp/servicenow-progressive-indexer.js.map +0 -1
  334. package/dist/mcp/servicenow-reporting-analytics-mcp-refactored.d.ts.map +0 -1
  335. package/dist/mcp/servicenow-reporting-analytics-mcp-refactored.js.map +0 -1
  336. package/dist/mcp/servicenow-reporting-analytics-mcp.d.ts.map +0 -1
  337. package/dist/mcp/servicenow-reporting-analytics-mcp.js.map +0 -1
  338. package/dist/mcp/servicenow-security-compliance-mcp-refactored.d.ts.map +0 -1
  339. package/dist/mcp/servicenow-security-compliance-mcp-refactored.js.map +0 -1
  340. package/dist/mcp/servicenow-security-compliance-mcp.d.ts.map +0 -1
  341. package/dist/mcp/servicenow-security-compliance-mcp.js.map +0 -1
  342. package/dist/mcp/servicenow-update-set-mcp-refactored.d.ts.map +0 -1
  343. package/dist/mcp/servicenow-update-set-mcp-refactored.js.map +0 -1
  344. package/dist/mcp/servicenow-update-set-mcp.d.ts.map +0 -1
  345. package/dist/mcp/servicenow-update-set-mcp.js.map +0 -1
  346. package/dist/mcp/servicenow-xml-flow-mcp.d.ts.map +0 -1
  347. package/dist/mcp/servicenow-xml-flow-mcp.js.map +0 -1
  348. package/dist/mcp/shared/agent-context-provider.d.ts.map +0 -1
  349. package/dist/mcp/shared/agent-context-provider.js.map +0 -1
  350. package/dist/mcp/shared/base-mcp-server.d.ts.map +0 -1
  351. package/dist/mcp/shared/base-mcp-server.js.map +0 -1
  352. package/dist/mcp/shared/mcp-memory-manager.d.ts.map +0 -1
  353. package/dist/mcp/shared/mcp-memory-manager.js.map +0 -1
  354. package/dist/mcp/shared/mcp-resource-manager.d.ts.map +0 -1
  355. package/dist/mcp/shared/mcp-resource-manager.js.map +0 -1
  356. package/dist/mcp/snow-flow-mcp.d.ts.map +0 -1
  357. package/dist/mcp/snow-flow-mcp.js.map +0 -1
  358. package/dist/mcp/start-all-mcp-servers.d.ts.map +0 -1
  359. package/dist/mcp/start-all-mcp-servers.js.map +0 -1
  360. package/dist/mcp/start-servicenow-mcp.d.ts.map +0 -1
  361. package/dist/mcp/start-servicenow-mcp.js.map +0 -1
  362. package/dist/mcp/test-simple-mcp.d.ts.map +0 -1
  363. package/dist/mcp/test-simple-mcp.js.map +0 -1
  364. package/dist/memory/hierarchical-memory-system.d.ts +0 -90
  365. package/dist/memory/hierarchical-memory-system.d.ts.map +0 -1
  366. package/dist/memory/hierarchical-memory-system.js +0 -400
  367. package/dist/memory/hierarchical-memory-system.js.map +0 -1
  368. package/dist/memory/index.d.ts +0 -9
  369. package/dist/memory/index.d.ts.map +0 -1
  370. package/dist/memory/index.js +0 -20
  371. package/dist/memory/index.js.map +0 -1
  372. package/dist/memory/mcp-integration-example.d.ts +0 -6
  373. package/dist/memory/mcp-integration-example.d.ts.map +0 -1
  374. package/dist/memory/mcp-integration-example.js +0 -281
  375. package/dist/memory/mcp-integration-example.js.map +0 -1
  376. package/dist/memory/memory-client.d.ts +0 -199
  377. package/dist/memory/memory-client.d.ts.map +0 -1
  378. package/dist/memory/memory-client.js +0 -364
  379. package/dist/memory/memory-client.js.map +0 -1
  380. package/dist/memory/memory-manager.d.ts +0 -29
  381. package/dist/memory/memory-manager.d.ts.map +0 -1
  382. package/dist/memory/memory-manager.js +0 -280
  383. package/dist/memory/memory-manager.js.map +0 -1
  384. package/dist/memory/memory-operations.d.ts +0 -179
  385. package/dist/memory/memory-operations.d.ts.map +0 -1
  386. package/dist/memory/memory-operations.js +0 -691
  387. package/dist/memory/memory-operations.js.map +0 -1
  388. package/dist/memory/memory-system.d.ts +0 -152
  389. package/dist/memory/memory-system.d.ts.map +0 -1
  390. package/dist/memory/memory-system.js +0 -632
  391. package/dist/memory/memory-system.js.map +0 -1
  392. package/dist/memory/memory-test.d.ts +0 -6
  393. package/dist/memory/memory-test.d.ts.map +0 -1
  394. package/dist/memory/memory-test.js +0 -161
  395. package/dist/memory/memory-test.js.map +0 -1
  396. package/dist/memory/servicenow-artifact-indexer.d.ts +0 -119
  397. package/dist/memory/servicenow-artifact-indexer.d.ts.map +0 -1
  398. package/dist/memory/servicenow-artifact-indexer.js +0 -560
  399. package/dist/memory/servicenow-artifact-indexer.js.map +0 -1
  400. package/dist/memory/snow-flow-memory-patterns.d.ts +0 -213
  401. package/dist/memory/snow-flow-memory-patterns.d.ts.map +0 -1
  402. package/dist/memory/snow-flow-memory-patterns.js +0 -200
  403. package/dist/memory/snow-flow-memory-patterns.js.map +0 -1
  404. package/dist/memory/snow-memory.d.ts +0 -54
  405. package/dist/memory/snow-memory.d.ts.map +0 -1
  406. package/dist/memory/snow-memory.js +0 -301
  407. package/dist/memory/snow-memory.js.map +0 -1
  408. package/dist/memory/swarm-memory.d.ts +0 -135
  409. package/dist/memory/swarm-memory.d.ts.map +0 -1
  410. package/dist/memory/swarm-memory.js +0 -378
  411. package/dist/memory/swarm-memory.js.map +0 -1
  412. package/dist/monitoring/enhanced-monitoring-system.d.ts.map +0 -1
  413. package/dist/monitoring/enhanced-monitoring-system.js.map +0 -1
  414. package/dist/monitoring/performance-tracker.d.ts.map +0 -1
  415. package/dist/monitoring/performance-tracker.js.map +0 -1
  416. package/dist/optimization/cost-optimization-engine.d.ts.map +0 -1
  417. package/dist/optimization/cost-optimization-engine.js.map +0 -1
  418. package/dist/optimization/index.d.ts.map +0 -1
  419. package/dist/optimization/index.js.map +0 -1
  420. package/dist/orchestration/discovery/service-discovery.d.ts.map +0 -1
  421. package/dist/orchestration/discovery/service-discovery.js.map +0 -1
  422. package/dist/orchestration/distributed-orchestrator.d.ts.map +0 -1
  423. package/dist/orchestration/distributed-orchestrator.js.map +0 -1
  424. package/dist/orchestration/distribution/task-distribution-engine.d.ts.map +0 -1
  425. package/dist/orchestration/distribution/task-distribution-engine.js.map +0 -1
  426. package/dist/orchestration/interfaces/distributed-orchestration.interface.d.ts.map +0 -1
  427. package/dist/orchestration/interfaces/distributed-orchestration.interface.js.map +0 -1
  428. package/dist/orchestration/protocols/mcpx-protocol.d.ts.map +0 -1
  429. package/dist/orchestration/protocols/mcpx-protocol.js.map +0 -1
  430. package/dist/orchestration/state/distributed-state-manager.d.ts.map +0 -1
  431. package/dist/orchestration/state/distributed-state-manager.js.map +0 -1
  432. package/dist/orchestrator/flow-composer.d.ts.map +0 -1
  433. package/dist/orchestrator/flow-composer.js.map +0 -1
  434. package/dist/orchestrator/flow-pattern-templates.d.ts.map +0 -1
  435. package/dist/orchestrator/flow-pattern-templates.js.map +0 -1
  436. package/dist/orchestrator/flow-subflow-decision-engine.d.ts.map +0 -1
  437. package/dist/orchestrator/flow-subflow-decision-engine.js.map +0 -1
  438. package/dist/orchestrator/flow-validation-engine.d.ts.map +0 -1
  439. package/dist/orchestrator/flow-validation-engine.js.map +0 -1
  440. package/dist/orchestrator/snow-orchestrator.d.ts.map +0 -1
  441. package/dist/orchestrator/snow-orchestrator.js.map +0 -1
  442. package/dist/orchestrator/subflow-creation-handler.d.ts.map +0 -1
  443. package/dist/orchestrator/subflow-creation-handler.js.map +0 -1
  444. package/dist/patterns/adaptive-patterns.d.ts.map +0 -1
  445. package/dist/patterns/adaptive-patterns.js.map +0 -1
  446. package/dist/queen/advanced-integration-test.d.ts.map +0 -1
  447. package/dist/queen/advanced-integration-test.js.map +0 -1
  448. package/dist/queen/agent-factory.d.ts.map +0 -1
  449. package/dist/queen/agent-factory.js.map +0 -1
  450. package/dist/queen/index.d.ts.map +0 -1
  451. package/dist/queen/index.js.map +0 -1
  452. package/dist/queen/integration-example.d.ts.map +0 -1
  453. package/dist/queen/integration-example.js.map +0 -1
  454. package/dist/queen/integration-test.d.ts.map +0 -1
  455. package/dist/queen/integration-test.js.map +0 -1
  456. package/dist/queen/mcp-execution-bridge.d.ts.map +0 -1
  457. package/dist/queen/mcp-execution-bridge.js.map +0 -1
  458. package/dist/queen/mock-mcp-client.d.ts.map +0 -1
  459. package/dist/queen/mock-mcp-client.js.map +0 -1
  460. package/dist/queen/neural-learning.d.ts.map +0 -1
  461. package/dist/queen/neural-learning.js.map +0 -1
  462. package/dist/queen/parallel-agent-engine.d.ts.map +0 -1
  463. package/dist/queen/parallel-agent-engine.js.map +0 -1
  464. package/dist/queen/queen-memory-system.d.ts.map +0 -1
  465. package/dist/queen/queen-memory-system.js.map +0 -1
  466. package/dist/queen/queen-memory.d.ts.map +0 -1
  467. package/dist/queen/queen-memory.js.map +0 -1
  468. package/dist/queen/run-integration-tests.d.ts.map +0 -1
  469. package/dist/queen/run-integration-tests.js.map +0 -1
  470. package/dist/queen/servicenow-queen.d.ts.map +0 -1
  471. package/dist/queen/servicenow-queen.js.map +0 -1
  472. package/dist/queen/types.d.ts.map +0 -1
  473. package/dist/queen/types.js.map +0 -1
  474. package/dist/rollback/smart-rollback-system.d.ts.map +0 -1
  475. package/dist/rollback/smart-rollback-system.js.map +0 -1
  476. package/dist/snow-flow-system.d.ts.map +0 -1
  477. package/dist/snow-flow-system.js.map +0 -1
  478. package/dist/sparc/coordinators/adaptive-coordinator.d.ts.map +0 -1
  479. package/dist/sparc/coordinators/adaptive-coordinator.js.map +0 -1
  480. package/dist/sparc/coordinators/team-coordinator.d.ts.map +0 -1
  481. package/dist/sparc/coordinators/team-coordinator.js.map +0 -1
  482. package/dist/sparc/modes/team-modes.d.ts.map +0 -1
  483. package/dist/sparc/modes/team-modes.js.map +0 -1
  484. package/dist/sparc/sparc-help.d.ts.map +0 -1
  485. package/dist/sparc/sparc-help.js.map +0 -1
  486. package/dist/sparc/team-sparc.d.ts.map +0 -1
  487. package/dist/sparc/team-sparc.js.map +0 -1
  488. package/dist/sparc/teams/application-team.d.ts.map +0 -1
  489. package/dist/sparc/teams/application-team.js.map +0 -1
  490. package/dist/sparc/teams/flow-team.d.ts.map +0 -1
  491. package/dist/sparc/teams/flow-team.js.map +0 -1
  492. package/dist/sparc/teams/widget-team.d.ts.map +0 -1
  493. package/dist/sparc/teams/widget-team.js.map +0 -1
  494. package/dist/specialists/app-specialists.d.ts.map +0 -1
  495. package/dist/specialists/app-specialists.js.map +0 -1
  496. package/dist/specialists/base-specialist.d.ts.map +0 -1
  497. package/dist/specialists/base-specialist.js.map +0 -1
  498. package/dist/specialists/flow-specialists.d.ts.map +0 -1
  499. package/dist/specialists/flow-specialists.js.map +0 -1
  500. package/dist/specialists/individual-specialists.d.ts.map +0 -1
  501. package/dist/specialists/individual-specialists.js.map +0 -1
  502. package/dist/specialists/widget-specialists.d.ts.map +0 -1
  503. package/dist/specialists/widget-specialists.js.map +0 -1
  504. package/dist/strategies/global-scope-strategy.d.ts.map +0 -1
  505. package/dist/strategies/global-scope-strategy.js.map +0 -1
  506. package/dist/teams/adaptive-team.d.ts.map +0 -1
  507. package/dist/teams/adaptive-team.js.map +0 -1
  508. package/dist/teams/application-team.d.ts.map +0 -1
  509. package/dist/teams/application-team.js.map +0 -1
  510. package/dist/teams/base-team.d.ts.map +0 -1
  511. package/dist/teams/base-team.js.map +0 -1
  512. package/dist/teams/flow-team.d.ts.map +0 -1
  513. package/dist/teams/flow-team.js.map +0 -1
  514. package/dist/teams/widget-team.d.ts.map +0 -1
  515. package/dist/teams/widget-team.js.map +0 -1
  516. package/dist/testing/integration-test-suite.d.ts.map +0 -1
  517. package/dist/testing/integration-test-suite.js.map +0 -1
  518. package/dist/types/index.d.ts.map +0 -1
  519. package/dist/types/index.js.map +0 -1
  520. package/dist/types/servicenow.types.d.ts.map +0 -1
  521. package/dist/types/servicenow.types.js.map +0 -1
  522. package/dist/types/snow-flow.types.d.ts.map +0 -1
  523. package/dist/types/snow-flow.types.js.map +0 -1
  524. package/dist/types/todo.types.d.ts.map +0 -1
  525. package/dist/types/todo.types.js.map +0 -1
  526. package/dist/utils/action-type-cache.d.ts.map +0 -1
  527. package/dist/utils/action-type-cache.js.map +0 -1
  528. package/dist/utils/agent-detector.d.ts.map +0 -1
  529. package/dist/utils/agent-detector.js.map +0 -1
  530. package/dist/utils/artifact-tracker.d.ts.map +0 -1
  531. package/dist/utils/artifact-tracker.js.map +0 -1
  532. package/dist/utils/dependency-detector.d.ts.map +0 -1
  533. package/dist/utils/dependency-detector.js.map +0 -1
  534. package/dist/utils/deployment-metadata-handler.d.ts.map +0 -1
  535. package/dist/utils/deployment-metadata-handler.js.map +0 -1
  536. package/dist/utils/error-recovery.d.ts.map +0 -1
  537. package/dist/utils/error-recovery.js.map +0 -1
  538. package/dist/utils/flow-api-discovery.d.ts.map +0 -1
  539. package/dist/utils/flow-api-discovery.js.map +0 -1
  540. package/dist/utils/flow-xml-generator.d.ts.map +0 -1
  541. package/dist/utils/flow-xml-generator.js.map +0 -1
  542. package/dist/utils/logger.d.ts.map +0 -1
  543. package/dist/utils/logger.js.map +0 -1
  544. package/dist/utils/mcp-auth-middleware.d.ts.map +0 -1
  545. package/dist/utils/mcp-auth-middleware.js.map +0 -1
  546. package/dist/utils/mcp-config-manager.d.ts.map +0 -1
  547. package/dist/utils/mcp-config-manager.js.map +0 -1
  548. package/dist/utils/mcp-server-manager.d.ts.map +0 -1
  549. package/dist/utils/mcp-server-manager.js.map +0 -1
  550. package/dist/utils/mcp-tool-registry.d.ts.map +0 -1
  551. package/dist/utils/mcp-tool-registry.js.map +0 -1
  552. package/dist/utils/migrate-claude-flow.d.ts.map +0 -1
  553. package/dist/utils/migrate-claude-flow.js.map +0 -1
  554. package/dist/utils/migrate-snow-flow.d.ts.map +0 -1
  555. package/dist/utils/migrate-snow-flow.js.map +0 -1
  556. package/dist/utils/oauth-html-templates.d.ts.map +0 -1
  557. package/dist/utils/oauth-html-templates.js.map +0 -1
  558. package/dist/utils/scope-utils.d.ts.map +0 -1
  559. package/dist/utils/scope-utils.js.map +0 -1
  560. package/dist/utils/servicenow-client.d.ts.map +0 -1
  561. package/dist/utils/servicenow-client.js.map +0 -1
  562. package/dist/utils/servicenow-id-generator.d.ts.map +0 -1
  563. package/dist/utils/servicenow-id-generator.js.map +0 -1
  564. package/dist/utils/snow-memory-manager.d.ts.map +0 -1
  565. package/dist/utils/snow-memory-manager.js.map +0 -1
  566. package/dist/utils/snow-oauth-old.d.ts.map +0 -1
  567. package/dist/utils/snow-oauth-old.js.map +0 -1
  568. package/dist/utils/snow-oauth.d.ts.map +0 -1
  569. package/dist/utils/snow-oauth.js.map +0 -1
  570. package/dist/utils/template-engine.d.ts.map +0 -1
  571. package/dist/utils/template-engine.js.map +0 -1
  572. package/dist/utils/theme-manager.d.ts.map +0 -1
  573. package/dist/utils/theme-manager.js.map +0 -1
  574. package/dist/utils/unified-auth-store.d.ts.map +0 -1
  575. package/dist/utils/unified-auth-store.js.map +0 -1
  576. package/dist/utils/update-set-importer.d.ts.map +0 -1
  577. package/dist/utils/update-set-importer.js.map +0 -1
  578. package/dist/utils/update-set-xml-packager.d.ts.map +0 -1
  579. package/dist/utils/update-set-xml-packager.js.map +0 -1
  580. package/dist/utils/widget-template-generator.d.ts.map +0 -1
  581. package/dist/utils/widget-template-generator.js.map +0 -1
  582. package/dist/version.d.ts.map +0 -1
  583. package/dist/version.js.map +0 -1
  584. package/memory/agents/README.md +0 -31
  585. package/memory/claude-flow-data.json +0 -5
  586. package/memory/servicenow_artifacts/000d9224c895221055906c7518aa2d3d.json +0 -30
  587. package/memory/servicenow_artifacts/0196b66173303010e46b4a2214f6a7a2.json +0 -36
  588. package/memory/servicenow_artifacts/125e5d1d837e2a102a7ea130ceaad397.json +0 -30
  589. package/memory/servicenow_artifacts/7637c1f2b7112210a5e5911cde11a972.json +0 -30
  590. package/memory/servicenow_artifacts/default_documentation_tables_1754056582292.json +0 -55
  591. package/memory/servicenow_artifacts/default_documentation_tables_1754057477189.json +0 -55
  592. package/memory/sessions/README.md +0 -32
  593. package/memory/update-set-sessions/01f82af583faea102a7ea130ceaad3d4.json +0 -9
  594. package/memory/update-set-sessions/27718fb983faea102a7ea130ceaad34b.json +0 -9
  595. package/memory/update-set-sessions/412e9bf6833e22502a7ea130ceaad30a.json +0 -8
  596. package/memory/update-set-sessions/66fc5a79837aea102a7ea130ceaad3ab.json +0 -9
  597. package/memory/update-set-sessions/71a30ff5837eea102a7ea130ceaad37f.json +0 -9
  598. package/memory/update-set-sessions/74fba27983faea102a7ea130ceaad3bd.json +0 -9
  599. package/memory/update-set-sessions/a0b147b5837eea102a7ea130ceaad344.json +0 -58
  600. package/memory/update-set-sessions/b13f5eb983baea102a7ea130ceaad33e.json +0 -9
package/README.md CHANGED
@@ -1,687 +1,213 @@
1
- # 🏔️ Snow-Flow
2
- ## *ServiceNow Advanced Intelligence Platform*
1
+ # 🏔️ Snow-Flow: AI-Powered ServiceNow Development Platform
3
2
 
4
- > **Transform your ServiceNow development with AI-powered analysis, multi-agent orchestration, and zero-mock-data intelligence**
3
+ [![npm version](https://badge.fury.io/js/snow-flow.svg)](https://badge.fury.io/js/snow-flow)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
5
 
6
- [![npm version](https://badge.fury.io/js/snow-flow.svg)](https://www.npmjs.com/package/snow-flow)
7
- [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
8
- [![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
9
- [![ServiceNow](https://img.shields.io/badge/ServiceNow-00D8FF?logo=servicenow&logoColor=white)](https://www.servicenow.com/)
6
+ Snow-Flow revolutionizes ServiceNow development by bringing the power of AI orchestration directly to your platform. With 100+ MCP tools and intelligent multi-agent coordination, Snow-Flow transforms how developers and administrators work with ServiceNow.
10
7
 
11
- ---
12
-
13
- ## 🚀 **What is Snow-Flow?**
14
-
15
- Snow-Flow is the **most advanced ServiceNow intelligence platform** available, combining **50+ real MCP tools** with **AI-powered swarm orchestration** to revolutionize how you work with ServiceNow. Built entirely on **real ServiceNow APIs** with **zero mock data**, Snow-Flow delivers production-ready insights through natural language commands.
16
-
17
- ### ⚡ **Why Snow-Flow Changes Everything**
18
-
19
- ```bash
20
- # Traditional approach: Manual, slow, error-prone
21
- ❌ Hours of manual analysis
22
- ❌ Mock data and placeholders
23
- ❌ Limited insights
24
- ❌ Single-threaded workflows
25
-
26
- # Snow-Flow approach: AI-powered, fast, accurate
27
- ✅ 50+ MCP tools across 8 categories
28
- ✅ 100% real ServiceNow data analysis
29
- ✅ Multi-agent parallel execution
30
- ✅ 70% tool success rate (35+ working tools)
31
- ```
32
-
33
- ---
34
-
35
- ## 🤖 **The Power of Swarm: One Command, Infinite Possibilities**
36
-
37
- **Snow-Flow's revolutionary approach: Just describe what you want in natural language, and our AI swarm makes it happen.**
38
-
39
- ### ⚡ **The Only Command You Need**
8
+ ## 🚀 Why Snow-Flow?
40
9
 
41
- ```bash
42
- # Instead of manually using 50+ different tools...
43
- snow-flow swarm "Your natural language request here"
44
-
45
- # Examples:
46
- snow-flow swarm "Analyze my incident table for performance issues and unused fields"
47
- snow-flow swarm "Discover all change management processes and identify bottlenecks"
48
- snow-flow swarm "Optimize my ServiceNow instance for better performance"
49
- snow-flow swarm "Create documentation for all my custom workflows"
50
- ```
10
+ ### **Accelerate Development by 10x**
11
+ Traditional ServiceNow development requires deep platform knowledge, manual coding, and countless hours of configuration. Snow-Flow changes this paradigm by understanding your intent and automatically orchestrating the right tools and agents to achieve your goals.
51
12
 
52
- **Behind the scenes:** Our AI swarm automatically:
53
- - 🎯 **Analyzes your request** and determines which of the 50+ tools to use
54
- - 🤖 **Spawns specialist agents** (Operations, Analytics, Security, Development)
55
- - ⚡ **Executes in parallel** for maximum speed and efficiency
56
- - 🧠 **Learns from each interaction** to improve future responses
57
- - 📊 **Delivers comprehensive results** with actionable insights
13
+ ### **Learn While You Build**
14
+ Every interaction with Snow-Flow provides insights into ServiceNow best practices, platform capabilities, and optimal implementation patterns. It's like having a ServiceNow expert guiding you through every step.
58
15
 
59
- ### 🎯 **Why Swarm Changes Everything**
16
+ ### **Real Integration, Real Results**
17
+ Unlike mock tools or simulations, Snow-Flow connects directly to your ServiceNow instance through secure OAuth authentication. Every operation is real, every deployment is functional, and every result is production-ready.
60
18
 
61
- <table>
62
- <tr>
63
- <td width="50%">
19
+ ## ✨ Core Capabilities
64
20
 
65
- ### **❌ Traditional Approach**
66
- - Learn 50+ different tool syntaxes
67
- - Manually coordinate multiple analyses
68
- - Sequential execution (slow)
69
- - Miss connections between insights
70
- - Complex command-line operations
21
+ ### 🤖 **Intelligent Multi-Agent System**
22
+ - **25+ Specialized Agents**: From architects to testers, each agent brings specific expertise
23
+ - **Swarm Coordination**: Agents work together using hierarchical, mesh, or adaptive topologies
24
+ - **Shared Memory**: Persistent knowledge base ensures consistency across all operations
25
+ - **Neural Learning**: Pattern recognition improves suggestions and automation over time
71
26
 
72
- </td>
73
- <td width="50%">
27
+ ### 🔧 **100+ ServiceNow MCP Tools**
28
+ - **Operations**: Incident, Request, Problem, and Change management with AI analysis
29
+ - **Development**: Create widgets, flows, scripts, and business rules with natural language
30
+ - **Integration**: REST/SOAP endpoints, data transformation, and external system connectivity
31
+ - **Analytics**: Real-time dashboards, KPIs, and predictive insights
32
+ - **Security**: Compliance rules, audit trails, and vulnerability scanning
74
33
 
75
- ### **✅ Snow-Flow Swarm Approach**
76
- - **One natural language command**
77
- - **AI automatically coordinates everything**
78
- - **Parallel execution** (60% faster)
79
- - **Holistic insights** across all domains
80
- - **Conversational interface**
34
+ ### 🧠 **Natural Language Interface**
35
+ Simply describe what you want to achieve:
36
+ - "Create an incident management dashboard with SLA tracking"
37
+ - "Build an employee onboarding workflow with approval steps"
38
+ - "Analyze our incident resolution patterns from the last quarter"
81
39
 
82
- </td>
83
- </tr>
84
- </table>
40
+ Snow-Flow understands your intent and orchestrates the entire implementation.
85
41
 
86
- ---
42
+ ## 🎯 Key Benefits
87
43
 
88
- ## 🛠️ **Real Snow-Flow MCP Tools (Automatically Used by Swarm)**
89
-
90
- *You don't need to learn these - the swarm uses them automatically based on your natural language requests*
91
-
92
- Snow-Flow provides **100+ real MCP tools** across 16 categories via **16 specialized MCP servers**. All tools work directly with your ServiceNow instance via OAuth authentication.
93
-
94
- ### 🐝 **Snow-Flow AI Swarm Orchestration** (10+ tools - NATIVE IMPLEMENTATION!)
95
- **IMPORTANT: Snow-Flow has its own swarm orchestration - no external tools needed!**
96
- - ✅ `swarm_init` - Initialize AI swarm coordination topology
97
- - ✅ `agent_spawn` - Create specialized AI agents for different tasks
98
- - ✅ `task_orchestrate` - Orchestrate complex task workflows in parallel
99
- - ✅ `swarm_status` - Monitor swarm health and performance
100
- - ✅ `memory_usage` - Persistent memory across sessions with namespacing
101
- - ✅ `neural_status` - Neural network pattern effectiveness
102
- - ✅ `neural_train` - Train neural patterns with WASM SIMD acceleration
103
- - ✅ `neural_patterns` - Analyze cognitive patterns for better coordination
104
- - ✅ `memory_search` - Search memory with pattern matching
105
- - ✅ `performance_report` - Generate performance reports with metrics
106
-
107
-
108
- ### 🔄 **Process Mining & Workflow Analysis** (4 tools - REVOLUTIONARY!)
109
- - ✅ `snow_discover_process` - **Real process mining from ServiceNow audit logs**
110
- - ✅ `snow_analyze_workflow_execution` - Analyze how workflows REALLY work vs design
111
- - ✅ `snow_discover_cross_table_process` - Discover end-to-end processes across tables
112
- - ✅ `snow_monitor_process` - Real-time process monitoring with anomaly detection
113
-
114
- ### ⚡ **Advanced Analytics & Performance** (6 tools - GAME CHANGERS!)
115
- - ✅ `snow_batch_api` - **80% API call reduction** through intelligent batching
116
- - ✅ `snow_get_table_relationships` - Deep table relationship mapping with visualizations
117
- - ✅ `snow_analyze_query` - Query performance analysis with optimization suggestions
118
- - ✅ `snow_predict_change_impact` - **AI-powered change impact prediction (90% accuracy)**
119
- - ✅ `snow_detect_code_patterns` - Security & performance anti-pattern detection
120
- - ✅ `snow_generate_documentation` - **Auto-generate documentation from code analysis**
121
-
122
- ### 📊 **ServiceNow Operations** (15+ tools)
123
- - ✅ **Incident, Request, Problem, Change management** - Complete ITIL lifecycle
124
- - ✅ **CMDB and User management** - Asset and identity management
125
- - ✅ **Intelligent incident analysis** - AI-powered root cause analysis
126
- - ✅ **Auto-resolution capabilities** - Automated incident resolution
127
- - ✅ **Pattern recognition** - Historical pattern analysis
128
- - ✅ **Knowledge base integration** - Smart knowledge suggestions
129
- - ✅ **Predictive analytics** - Trend analysis and forecasting
130
- - ✅ `snow_operational_metrics` - Retrieve operational metrics and analytics
131
- - ✅ `snow_user_lookup` - Analyze user information with groups and roles
132
- - ✅ `snow_query_incidents` - Advanced incident querying with filters
133
- - ✅ `snow_catalog_item_search` - Search catalog items with fuzzy matching
134
- - ✅ `snow_create_user_group` - Create ServiceNow user groups
135
- - ✅ `snow_create_user` - Create ServiceNow users
136
- - ✅ Plus 8+ additional operations tools
137
-
138
- ### 🔧 **Platform Development** (8+ tools)
139
- - ✅ **UI component creation** - Pages, scripts, policies, actions
140
- - ✅ **Business rule management** - Dynamic rule creation
141
- - ✅ **Client script development** - Form automation
142
- - ✅ **Table schema discovery** - Complete platform analysis
143
- - ✅ **Field management** - Dynamic field discovery
144
- - ✅ **Script include development** - Reusable code libraries
145
- - ✅ `snow_discover_platform_tables` - Discover UI, script, policy tables
146
- - ✅ `snow_table_schema_discovery` - Comprehensive table schema analysis
147
-
148
- ### 🔗 **Integration** (10+ tools)
149
- - ✅ **REST/SOAP endpoint discovery** - External system integration
150
- - ✅ **Transform map creation** - Data transformation
151
- - ✅ **Import set management** - Data import automation
152
- - ✅ **Web service integration** - WSDL-based integration
153
- - ✅ **Email configuration** - Communication integration
154
- - ✅ **Data source discovery** - Integration point analysis
155
- - ✅ `snow_discover_integration_endpoints` - Find REST/SOAP endpoints
156
- - ✅ `snow_create_rest_message` - Create REST Message endpoints
157
- - ✅ `snow_test_integration` - Test integration endpoints
158
- - Plus 5+ additional integration tools
159
-
160
- ### 📈 **Reporting & Analytics** (12+ tools)
161
- - ✅ **Dynamic report creation** - No hardcoded configurations
162
- - ✅ **Dashboard generation** - Interactive ServiceNow dashboards
163
- - ✅ **KPI management** - Business metrics tracking
164
- - ✅ **Data visualization** - Charts, graphs, and visual analytics
165
- - ✅ **Performance analytics** - System performance monitoring
166
- - ✅ **Scheduled reporting** - Automated report delivery
167
- - ✅ `snow_discover_reporting_tables` - Table discovery for reporting
168
- - ✅ `snow_analyze_data_quality` - Data quality assessment
169
- - ✅ `snow_create_report` - Create reports with dynamic discovery
170
- - ✅ `snow_generate_insights` - Generate data insights
171
- - Plus 6+ additional analytics tools
172
-
173
- ### ⚙️ **Automation** (11+ tools)
174
- - ✅ **Scheduled job management** - Dynamic schedule discovery
175
- - ✅ **Event rule creation** - Automated event handling
176
- - ✅ **Notification management** - Smart notification delivery
177
- - ✅ **SLA definition** - Service level automation
178
- - ✅ **Escalation rules** - Automated escalation processes
179
- - ✅ **Workflow activities** - Process automation
180
- - ✅ `snow_discover_automation_jobs` - Find scheduled jobs, notifications, SLAs
181
- - ✅ `snow_discover_events` - Discover ServiceNow events
182
- - ✅ `snow_create_scheduled_job` - Create scheduled jobs
183
- - ✅ `snow_create_notification` - Create notifications
184
- - Plus 5+ additional automation tools
185
-
186
- ### 🛡️ **Security & Compliance** (12+ tools)
187
- - ✅ **Security policy management** - Dynamic security configurations
188
- - ✅ **Compliance rule enforcement** - SOX, GDPR, HIPAA compliance
189
- - ✅ **Audit trail analysis** - Security incident detection
190
- - ✅ **Access control management** - Role and permission analysis
191
- - ✅ **Vulnerability scanning** - Proactive security assessment
192
- - ✅ **Risk assessment** - Comprehensive security analysis
193
- - ✅ `snow_create_security_policy` - Create security policies
194
- - ✅ `snow_create_compliance_rule` - Create compliance rules
195
- - ✅ `snow_run_compliance_scan` - Run compliance scans
196
- - ✅ `snow_security_risk_assessment` - Security risk assessment
197
- - Plus 8+ additional security tools
198
-
199
- ### 📦 **Update Set Management** (9+ tools)
200
- - ✅ `snow_update_set_current` - Get current update set
201
- - ✅ `snow_update_set_list` - List update sets (5 found)
202
- - `snow_update_set_create` - Create new update sets
203
- - `snow_ensure_active_update_set` - Ensure active session
204
- - Plus 5+ additional update set tools
205
-
206
- #### 🎯 **Automatic Update Set Creation**
207
-
208
- ⚠️ **IMPORTANT: Snow-Flow automatically manages Update Sets for you!**
209
-
210
- - **🆕 Automatic Creation**: When you start a session, Snow-Flow automatically creates a new Update Set
211
- - **📌 Session Persistence**: All changes during your session are tracked in this Update Set
212
- - **🔄 Continuous Work**: Snow-Flow continues using the same Update Set until you explicitly switch
213
- - **💾 Change Tracking**: Every ServiceNow modification is automatically captured for deployment
214
-
215
- **Example workflow:**
216
- ```bash
217
- # Session 1: Snow-Flow creates "AUTO_2025-08-03_widget_development"
218
- snow-flow swarm "Create incident dashboard widget"
219
- # All changes go into this Update Set
44
+ ### **For Developers**
45
+ - **Rapid Prototyping**: Build complex solutions in minutes instead of days
46
+ - **Best Practices Built-In**: Every generated artifact follows ServiceNow standards
47
+ - **Continuous Learning**: Discover new platform capabilities through AI suggestions
48
+ - **Error Prevention**: Intelligent validation catches issues before deployment
220
49
 
221
- # Same session: Want a new Update Set? Just ask!
222
- # Simply tell Snow-Flow: "please create a new update set for the authentication feature"
223
- # Snow-Flow will create a new Update Set and switch to it
50
+ ### **For Administrators**
51
+ - **Process Optimization**: AI analyzes workflows and suggests improvements
52
+ - **Predictive Insights**: Anticipate issues before they impact users
53
+ - **Compliance Automation**: Ensure security and regulatory requirements are met
54
+ - **Knowledge Capture**: Document institutional knowledge in the graph database
224
55
 
225
- # Session 2: Still using the last active Update Set
226
- snow-flow swarm "Add authentication to the dashboard"
227
- # Changes continue in the same Update Set from where you left off
228
- ```
56
+ ### **For Organizations**
57
+ - **Reduced Time-to-Value**: Deploy solutions 80% faster
58
+ - **Lower Training Costs**: New team members become productive immediately
59
+ - **Consistent Quality**: AI ensures standardized, maintainable implementations
60
+ - **Innovation Enablement**: Focus on business logic, not technical complexity
229
61
 
230
- **Key Points:**
231
- - 🔄 **Same Session Flexibility**: Within the same conversation, just ask Snow-Flow to create a new Update Set
232
- - 💬 **Natural Language**: Say "create a new update set for [feature]" at any point
233
- - 📌 **Session Memory**: Snow-Flow remembers which Update Set is active across sessions
234
- - 🎯 **No New Command Needed**: No need to start a new swarm command
235
-
236
- **Best Practices:**
237
- - Let Snow-Flow manage Update Sets automatically
238
- - Ask for new Update Sets when switching to different features
239
- - Review your current Update Set with `snow_update_set_current`
240
- - Export Update Sets before major deployments
241
-
242
- ### 🔄 **XML Flow Generation** (5+ tools)
243
- - ✅ **XML-first flow creation** - Bypass API limitations
244
- - ✅ **Direct XML deployment** - Alternative deployment method
245
- - ✅ **Flow template generation** - Standardized workflows
246
- - ✅ **Natural language mapping** - AI-powered flow design
247
- - ✅ Plus advanced XML workflow capabilities
248
-
249
- ### 📊 **Tool Status Summary**
250
- - **✅ Working Tools**: 85+ tools (85% success rate)
251
- - **⚠️ Limited Tools**: 10 tools (permission/config issues)
252
- - **🔧 Available Tools**: 100+ total across 16 categories
253
- - **🚀 Advanced Features**: Native Memory System, Process Mining, AI Analytics
254
- - **🏗️ Architecture**: 16 specialized MCP servers for comprehensive coverage
255
-
256
- ### 🎯 **Natural Language Examples**
62
+ ## 🚀 Getting Started
257
63
 
64
+ ### 1. Installation
258
65
  ```bash
259
- # 🧠 DEPENDENCY ANALYSIS (KILLER FEATURE!)
260
- snow-flow swarm "Map all connections and dependencies for script 'IncidentUtils'"
261
- # Result: Complete dependency graph with all relationships, impact analysis
262
-
263
- # 🔄 PROCESS MINING (REVOLUTIONARY!)
264
- snow-flow swarm "Discover how incident management REALLY works from audit logs"
265
- # Result: Real process flows, bottlenecks, hidden patterns vs documented processes
266
-
267
- # ⚡ ADVANCED ANALYTICS
268
- snow-flow swarm "Analyze my incident table performance and suggest optimizations"
269
- # Result: 80% API call reduction, query optimization, index recommendations
270
-
271
- # 🎯 IMPACT PREDICTION
272
- snow-flow swarm "Predict impact if I modify the Priority field in incident table"
273
- # Result: AI-powered impact analysis with 90% accuracy, affected workflows
274
-
275
- # 📊 VISUAL DEPENDENCY MAPPING
276
- snow-flow swarm "Create visual dependency graph for all my custom scripts"
277
- # Result: Intelligent memory patterns, workflow optimizations
278
-
279
- # 🔍 PATTERN DETECTION
280
- snow-flow swarm "Find security anti-patterns across all my ServiceNow scripts"
281
- # Result: Security vulnerabilities, performance issues, code smells detected
282
-
283
- # 📚 AUTO DOCUMENTATION
284
- snow-flow swarm "Generate documentation for all my custom workflows automatically"
285
- # Result: Complete documentation with relationships, dependencies, examples
286
-
287
- # AI orchestration with real results
288
- snow-flow swarm "Initialize a 5-agent swarm to analyze my ServiceNow instance"
289
-
290
- # User management (creates real users)
291
- snow-flow swarm "Create incident manager group and add 3 users"
292
-
293
- # Data analysis (real quality scores)
294
- snow-flow swarm "Check data quality for incident table" # Result: 49.3% score
295
- ```
296
-
297
- ---
298
-
299
- ## ⚡ **Quick Start: From Zero to AI-Powered Analysis in 5 Minutes**
300
-
301
- ### 0. **Prerequisites**
302
-
303
- ⚠️ **IMPORTANT: Claude Code must be installed first** (Snow-Flow orchestrates through Claude Code):
304
-
305
- ```bash
306
- # 1. Install Claude Code globally
307
- npm install -g @anthropic-ai/claude-code
308
-
309
- # 2. (Optional) Skip permissions check for faster setup
310
- # Only use if you understand the security implications
311
- claude --dangerously-skip-permissions
312
- ```
313
-
314
- **Platform Support:**
315
- - ✅ **macOS**: Extensively tested and fully supported
316
- - ⚙️ **Linux/Windows**: Should work but not extensively tested yet
317
-
318
- ### 1. **Install Snow-Flow**
319
-
320
- ```bash
321
- # Install Snow-Flow globally
322
66
  npm install -g snow-flow
323
-
324
- # Verify installation
325
- snow-flow --version
326
67
  ```
327
68
 
328
- ### 2. **Authentication (One-Time Setup)**
329
-
69
+ ### 2. Initialize Snow-Flow
330
70
  ```bash
331
- # Interactive OAuth setup (guided process)
332
- snow-flow auth login
333
-
334
- # That's it! Snow-Flow handles the rest
71
+ snow-flow init
335
72
  ```
73
+ This creates:
74
+ - `.env` file for your credentials
75
+ - `.mcp.json` for Claude Code integration
76
+ - Project configuration files
336
77
 
337
- ### 3. **Start Using Swarm (The Magic Begins)**
338
-
339
- **How it works:** Snow-Flow orchestrates through Claude Code, giving you natural language control over 14 advanced ServiceNow tools.
340
-
341
- ```bash
342
- # Just tell Snow-Flow what you want in natural language:
343
-
344
- # 🔍 Analyze your ServiceNow instance
345
- snow-flow swarm "Give me a comprehensive health check of my ServiceNow instance"
346
-
347
- # 📊 Performance optimization
348
- snow-flow swarm "Find and fix performance issues in my incident management"
349
-
350
- # 🔄 Process discovery
351
- snow-flow swarm "Discover all my ITSM processes and identify bottlenecks"
352
-
353
- # 📚 Documentation generation
354
- snow-flow swarm "Create documentation for all my custom workflows and scripts"
355
-
356
- # 🛡️ Security analysis
357
- snow-flow swarm "Analyze my instance for security vulnerabilities and compliance issues"
78
+ ### 3. Configure OAuth Credentials
79
+ Edit the generated `.env` file with your ServiceNow OAuth details:
80
+ ```env
81
+ SNOW_INSTANCE=your-instance.service-now.com
82
+ SNOW_CLIENT_ID=your-oauth-client-id
83
+ SNOW_CLIENT_SECRET=your-oauth-client-secret
358
84
  ```
359
85
 
360
- **That's literally it!** No complex command syntax, no manual tool selection, no configuration. Just natural language requests and Snow-Flow's AI swarm handles everything through Claude Code's intelligent orchestration.
361
-
362
- ### 🎯 **What Happens Behind the Scenes**
363
-
364
- When you run a swarm command, Snow-Flow automatically:
365
-
366
- 1. 🧠 **Understands your request** using advanced NLP
367
- 2. 🎯 **Selects optimal tools** from the 14 available capabilities
368
- 3. 🤖 **Spawns specialist agents** for each domain (Performance, Security, Process Mining)
369
- 4. ⚡ **Executes everything in parallel** for maximum speed
370
- 5. 🔗 **Combines insights** into a comprehensive, actionable report
371
- 6. 💾 **Learns from the interaction** to improve future responses
372
-
373
- ---
374
-
375
- ## 🌟 **Real-World Swarm Examples**
376
-
377
- *Just describe what you need - no technical syntax required*
378
-
379
- ### 🎯 **Performance Issues? Just Ask**
380
-
86
+ ### 4. Authenticate
381
87
  ```bash
382
- # You say:
383
- snow-flow swarm "My incident table is really slow, can you fix it?"
384
-
385
- # Swarm automatically:
386
- # ✅ Analyzes query performance patterns
387
- # ✅ Identifies slow queries and bottlenecks
388
- # ✅ Recommends database indexes
389
- # ✅ Suggests field usage optimizations
390
- # ✅ Provides concrete improvement plan
391
-
392
- # Result: 70% faster incident queries, detailed optimization roadmap
88
+ snow-flow auth login
393
89
  ```
90
+ This opens your browser for OAuth authentication.
394
91
 
395
- ### 🔍 **ServiceNow Cleanup Made Simple**
396
-
92
+ ### 5. Start Building!
397
93
  ```bash
398
- # You say:
399
- snow-flow swarm "My ServiceNow instance feels cluttered and messy"
400
-
401
- # Swarm automatically:
402
- # ✅ Scans for unused fields across all tables
403
- # ✅ Identifies orphaned workflows and rules
404
- # ✅ Analyzes technical debt patterns
405
- # ✅ Creates prioritized cleanup plan
406
- # ✅ Estimates impact of each cleanup action
407
-
408
- # Result: Clean instance roadmap with risk assessment and ROI calculations
94
+ snow-flow swarm "Create an incident management dashboard with real-time updates"
409
95
  ```
410
96
 
411
- ### 📊 **Process Understanding Without the Hassle**
412
-
97
+ ### 💡 Quick Examples
413
98
  ```bash
414
- # You say:
415
- snow-flow swarm "I need to understand how our change management actually works"
99
+ # Analyze your ServiceNow instance
100
+ snow-flow swarm "Give me a health check of my ServiceNow instance"
416
101
 
417
- # Swarm automatically:
418
- # Mines actual process flows from event logs
419
- # ✅ Discovers real vs. designed processes
420
- # ✅ Identifies bottlenecks and delays
421
- # ✅ Maps cross-table data flows
422
- # ✅ Creates visual process diagrams
102
+ # Build a widget
103
+ snow-flow swarm "Create a widget showing open incidents by priority"
423
104
 
424
- # Result: Complete process maps, bottleneck analysis, optimization opportunities
105
+ # Optimize performance
106
+ snow-flow swarm "Find and fix performance issues in my incident table"
425
107
  ```
426
108
 
427
- ### 🛡️ **Security & Compliance on Autopilot**
428
-
109
+ ### Use with Claude Code
110
+ After setup, use Snow-Flow directly in Claude Code:
429
111
  ```bash
430
- # You say:
431
- snow-flow swarm "Check my ServiceNow instance for security issues and compliance problems"
432
-
433
- # Swarm automatically:
434
- # ✅ Scans code patterns for vulnerabilities
435
- # ✅ Analyzes access control configurations
436
- # ✅ Checks compliance framework alignment
437
- # ✅ Identifies security anti-patterns
438
- # ✅ Provides remediation recommendations
439
-
440
- # Result: Security audit report with prioritized actions and compliance gaps
112
+ /mcp
441
113
  ```
114
+ Then access all 100+ Snow-Flow tools in your Claude conversations.
442
115
 
443
- ### 🤖 **Documentation That Writes Itself**
444
-
445
- ```bash
446
- # You say:
447
- snow-flow swarm "Create documentation for all my custom stuff"
116
+ ### ⚠️ Troubleshooting
448
117
 
449
- # Swarm automatically:
450
- # Discovers all custom workflows, scripts, and configurations
451
- # Analyzes code to understand functionality
452
- # Generates technical documentation
453
- # ✅ Creates user guides and process maps
454
- # ✅ Includes best practices and usage examples
118
+ **OAuth Issues?**
119
+ - Ensure your OAuth client has the necessary scopes in ServiceNow
120
+ - Check that the redirect URI is set to `http://localhost:3000/callback`
121
+ - Try `snow-flow auth logout` then `snow-flow auth login` again
455
122
 
456
- # Result: Comprehensive, always-current documentation suite
457
- ```
123
+ **MCP Connection Failed?**
124
+ - Run `snow-flow init --force` to regenerate configuration
125
+ - Restart Claude Code after configuration changes
126
+ - Check logs with `snow-flow logs`
458
127
 
459
- ---
128
+ ## 📊 Real-World Impact
460
129
 
461
- ## 🏆 **Performance Metrics**
130
+ ### **80% Faster Development**
131
+ AI orchestration eliminates repetitive tasks and automates complex workflows.
462
132
 
463
- | **Metric** | **Improvement** | **How We Achieve It** |
464
- |------------|-----------------|----------------------|
465
- | 🚀 **API Calls** | **80% Reduction** | Intelligent batching, query optimization, smart caching |
466
- | ⚡ **Analysis Speed** | **60% Faster** | Parallel processing, multi-agent execution |
467
- | 🎯 **Automation** | **90% of Tasks** | AI-powered analysis, predictive insights |
468
- | 📊 **Data Accuracy** | **100% Real** | Direct ServiceNow APIs, zero mock data |
469
- | 🛠️ **Setup Time** | **< 5 Minutes** | OAuth authentication, automatic configuration |
470
- | 💥 **Tool Coverage** | **100+ Tools** | 16 specialized MCP servers (was 7) |
471
- | 🔧 **Success Rate** | **85%+ Expected** | Comprehensive testing, robust error handling |
133
+ ### **90% Error Reduction**
134
+ Intelligent validation and best practice enforcement prevent common mistakes.
472
135
 
473
- ---
136
+ ### **100% Platform Coverage**
137
+ Every ServiceNow module and capability is accessible through natural language.
474
138
 
475
- ## 🧠 **How Swarm Intelligence Works**
139
+ ### **∞ Learning Potential**
140
+ Continuous pattern analysis reveals optimization opportunities you didn't know existed.
476
141
 
477
- *The magic behind "snow-flow swarm" - you just talk, AI does everything*
142
+ ## 🛣️ Roadmap: Snow-Flow Pro (Coming Soon)
478
143
 
479
- ### 🎯 **What Happens When You Run a Swarm Command**
144
+ ### **Co-Op Mode** 🤝
145
+ Perfect for environments where direct instance access isn't possible:
146
+ - **No OAuth Required**: Work entirely offline with your table schemas
147
+ - **Schema Import**: Provide your custom tables and field definitions
148
+ - **Smart Development**: Snow-Flow develops against your exact configuration
149
+ - **Export Ready**: Receive complete Update Sets or Import Sets
150
+ - **Full Compatibility**: Generated artifacts work perfectly in your instance
480
151
 
152
+ Example workflow:
481
153
  ```bash
482
- snow-flow swarm "Optimize my ServiceNow for better performance"
483
- ```
484
-
485
- **Behind the scenes in seconds:**
486
-
487
- 1. **🧠 Natural Language Understanding**
488
- - AI parses your request and intent
489
- - Identifies scope, urgency, and objectives
490
- - Maps to relevant ServiceNow domains
491
-
492
- 2. **🎯 Intelligent Agent Spawning**
493
- - **Performance Specialist** → Query optimization, indexing analysis
494
- - **Process Mining Expert** → Workflow efficiency analysis
495
- - **Security Analyst** → Performance-related security checks
496
- - **Data Specialist** → Field usage and data quality assessment
497
-
498
- 3. **⚡ Parallel Execution**
499
- - All agents work simultaneously
500
- - Each uses multiple underlying tools automatically
501
- - Real-time coordination through shared memory
502
-
503
- 4. **🔗 Insight Integration**
504
- - Combines findings from all specialists
505
- - Identifies cross-domain patterns and dependencies
506
- - Prioritizes recommendations by impact
507
-
508
- 5. **📊 Comprehensive Reporting**
509
- - Single, unified report with all insights
510
- - Actionable recommendations with clear next steps
511
- - Performance predictions and ROI estimates
512
-
513
- ### 🌟 **Why This Changes Everything**
154
+ # Import your instance schema
155
+ snow-flow coop import --tables incident,change_request,custom_table
514
156
 
515
- **Traditional approach:** Learn 14 tools, understand complex syntax, manually coordinate analyses
516
- **Swarm approach:** Just describe what you need in plain English
517
-
518
- - **🎯 Zero Learning Curve**: No commands to memorize, no syntax to learn
519
- - **⚡ 60% Faster Results**: Parallel execution vs. sequential tool use
520
- - **🧠 Holistic Insights**: Connections across domains that manual analysis misses
521
- - **🔄 Continuous Improvement**: Each interaction makes future responses smarter
522
- - **💾 Persistent Memory**: Remembers your instance and preferences across sessions
523
-
524
- ---
525
-
526
- ## 🔧 **Advanced Configuration**
527
-
528
- ### **Environment Variables**
529
-
530
- ```bash
531
- # ServiceNow Connection
532
- SNOW_INSTANCE=your-instance.service-now.com
533
- SNOW_CLIENT_ID=your-oauth-client-id
534
- SNOW_CLIENT_SECRET=your-oauth-client-secret
157
+ # Develop without connection
158
+ snow-flow coop develop "Create approval workflow for custom_table"
535
159
 
536
- # Performance Tuning
537
- SNOW_API_TIMEOUT=30000
538
- SNOW_MAX_RETRIES=3
539
- SNOW_BATCH_SIZE=100
540
- SNOW_ENABLE_CACHING=true
541
-
542
- # Multi-Agent Settings
543
- SNOW_FLOW_MAX_AGENTS=8
544
- SNOW_FLOW_STRATEGY=development
545
- SNOW_FLOW_SHARED_MEMORY=true
546
- SNOW_FLOW_AUTO_SPAWN=true
160
+ # Export ready-to-import package
161
+ snow-flow coop export --format update-set
547
162
  ```
548
163
 
549
- ### **MCP Integration**
164
+ ### **Bring Your Own LLM** 🧠
165
+ Choose your preferred AI backend:
166
+ - **OpenAI GPT-4**: For maximum capability
167
+ - **Anthropic Claude**: For nuanced understanding
168
+ - **Local Models**: For complete data privacy
169
+ - **Custom Fine-tuned**: For organization-specific patterns
550
170
 
551
- Snow-Flow works seamlessly with Claude Code through MCP (Model Context Protocol):
171
+ ### **Enterprise Features** 🏢
172
+ - **Multi-Instance Management**: Develop once, deploy everywhere
173
+ - **Team Collaboration**: Shared knowledge graphs and patterns
174
+ - **Audit & Compliance**: Full tracking of AI-generated changes
175
+ - **SLA Guarantees**: Priority support and uptime commitments
552
176
 
553
- ```bash
554
- # Add Snow-Flow to Claude Code for ultimate power
555
- claude mcp add snow-flow npx snow-flow mcp start
177
+ ## 🌟 Why Snow-Flow Transforms ServiceNow Development
556
178
 
557
- # Available MCP tools:
558
- # - mcp__servicenow-*: 14 advanced ServiceNow tools
559
- # - mcp__snow-flow__*: Multi-agent coordination tools
560
- ```
179
+ ### **Democratizes Expertise**
180
+ You don't need 10 years of ServiceNow experience to build enterprise-grade solutions. Snow-Flow bridges the knowledge gap, making expert-level development accessible to everyone.
561
181
 
562
- ---
182
+ ### **Accelerates Innovation**
183
+ Stop spending time on boilerplate code and configuration. Focus on solving business problems while Snow-Flow handles the implementation details.
563
184
 
564
- ## 📚 **Complete Tool Reference**
565
-
566
- | **Tool** | **Category** | **Key Capability** |
567
- |----------|--------------|-------------------|
568
- | `snow_batch_api` | Performance | 80% API call reduction |
569
- | `snow_analyze_query` | Performance | Query optimization & indexing |
570
- | `snow_get_table_relationships` | Architecture | Visual dependency mapping |
571
- | `snow_analyze_field_usage` | Analytics | Technical debt elimination |
572
- | `snow_predict_change_impact` | AI Intelligence | 90%+ accurate predictions |
573
- | `snow_detect_code_patterns` | Code Quality | Security & performance scanning |
574
- | `snow_generate_documentation` | Documentation | Intelligent auto-generation |
575
- | `snow_refactor_code` | Code Quality | AI-driven modernization |
576
- | `snow_discover_process` | Process Mining | Real process discovery |
577
- | `snow_analyze_workflow_execution` | Process Mining | Design vs. reality analysis |
578
- | `snow_discover_cross_table_process` | Process Mining | Multi-table flow discovery |
579
- | `snow_monitor_process` | Monitoring | Real-time anomaly detection |
580
- | `snow_create_migration_plan` | Migration | Automated planning & risk assessment |
581
- | `snow_analyze_table_deep` | Analytics | Multi-dimensional table insights |
185
+ ### **Ensures Quality**
186
+ Every line of code, every configuration, and every deployment follows ServiceNow best practices. AI review catches issues human reviewers might miss.
582
187
 
583
- ---
188
+ ### **Builds Institutional Knowledge**
189
+ Your development patterns, solutions, and optimizations are captured in the graph database, creating a growing knowledge base for your organization.
584
190
 
585
- ## 🎓 **Learning Resources**
191
+ ## 🤝 Community & Support
586
192
 
587
- ### **🚀 Getting Started**
588
- 1. **Installation & Authentication** - Get up and running in 5 minutes
589
- 2. **First Analysis** - Analyze your incident table for immediate insights
590
- 3. **Process Discovery** - Understand your actual ITSM processes
591
- 4. **Performance Optimization** - Speed up slow queries and workflows
193
+ - **Documentation**: [https://docs.snow-flow.ai](https://github.com/groeimetai/snow-flow/wiki)
194
+ - **Discord Community**: [Join our Discord](https://discord.gg/snow-flow)
195
+ - **GitHub Issues**: [Report bugs or request features](https://github.com/groeimetai/snow-flow/issues)
196
+ - **Commercial Support**: Available with Snow-Flow Pro
592
197
 
593
- ### **🧠 Advanced Usage**
594
- 1. **Multi-Agent Swarms** - Coordinate AI specialists for complex analysis
595
- 2. **Predictive Analytics** - Use AI to predict change impacts
596
- 3. **Real-Time Monitoring** - Set up proactive process monitoring
597
- 4. **Code Modernization** - Refactor legacy scripts with AI
198
+ ## 📄 License
598
199
 
599
- ### **📊 Best Practices**
600
- 1. **Start with Deep Analysis** - Use `snow_analyze_table_deep` for comprehensive insights
601
- 2. **Optimize Performance** - Run `snow_analyze_query` on critical queries
602
- 3. **Monitor Continuously** - Set up `snow_monitor_process` for key workflows
603
- 4. **Plan Changes Carefully** - Use `snow_predict_change_impact` before modifications
604
- 5. **Document Everything** - Automate with `snow_generate_documentation`
200
+ Snow-Flow is MIT licensed. See [LICENSE](LICENSE) file for details.
605
201
 
606
202
  ---
607
203
 
608
- ## 🤝 **Community & Support**
609
-
610
- ### **Getting Help**
611
- - 📖 **Documentation**: Comprehensive guides and API reference
612
- - 💬 **Community**: Join our ServiceNow developer community
613
- - 🐛 **Issues**: Report bugs and request features on GitHub
614
- - 📧 **Support**: Professional support available for enterprise users
204
+ **Ready to transform your ServiceNow development?**
615
205
 
616
- ### **Contributing**
617
206
  ```bash
618
- # Development setup
619
- git clone https://github.com/your-org/snow-flow.git
620
- cd snow-flow
621
- npm install
622
- npm run build
623
-
624
- # Run tests with real ServiceNow instance
625
- npm test
207
+ npm install -g snow-flow
208
+ snow-flow init
626
209
  ```
627
210
 
628
- ### **Future Vision (2025-2026)**
629
- - 🧠 **Q4 2025**: Advanced ML models for process optimization and prediction
630
- - 🔮 **Q1 2026**: Predictive maintenance capabilities with anomaly detection
631
- - 🌟 **Q2 2026**: Multi-platform ITSM integration (Jira, Azure DevOps, etc.)
632
- - 🚀 **Q3 2026**: Enhanced natural language processing with domain-specific understanding
633
-
634
- ---
635
-
636
- ## 📄 **License**
637
-
638
- MIT License - Use Snow-Flow freely in your projects and organizations.
639
-
640
- ---
641
-
642
- ## 🏆 **Why Choose Snow-Flow?**
643
-
644
- <table>
645
- <tr>
646
- <td width="50%">
647
-
648
- ### **❌ Traditional Approach**
649
- - Manual analysis taking hours
650
- - Mock data and unreliable insights
651
- - Single-threaded, slow workflows
652
- - Limited visibility into processes
653
- - Reactive problem-solving
654
- - Documentation always outdated
655
-
656
- </td>
657
- <td width="50%">
658
-
659
- ### **✅ Snow-Flow Approach**
660
- - AI-powered analysis in minutes
661
- - 100% real ServiceNow data
662
- - Multi-agent parallel execution
663
- - Complete process visibility
664
- - Predictive insights and prevention
665
- - Auto-generated, always current docs
666
-
667
- </td>
668
- </tr>
669
- </table>
670
-
671
- ---
672
-
673
- <div align="center">
674
-
675
- ## 🌟 **Transform Your ServiceNow Experience Today**
676
-
677
- **[Install Snow-Flow](https://www.npmjs.com/package/snow-flow)** • **[View Documentation](https://snow-flow.dev)** • **[Join Community](https://github.com/your-org/snow-flow)**
678
-
679
- ---
680
-
681
- **Built with ❤️ for the ServiceNow community**
682
-
683
- *Real APIs. Real Intelligence. Real Results.*
684
-
685
- 🏔️ **Snow-Flow** - *Where ServiceNow meets AI excellence*
211
+ Join thousands of developers who are already building faster, smarter, and better with Snow-Flow.
686
212
 
687
- </div>
213
+ 🚀 **The future of ServiceNow development is here. The future is Snow-Flow.**