snow-flow 1.1.74 → 1.1.76

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 (161) hide show
  1. package/.claude-flow/queen/queen-memory.db +0 -0
  2. package/.claude-flow/queen-test/test-memory.db +0 -0
  3. package/.claude-flow/queen-test/test-memory.db-agents +0 -0
  4. package/.claude-flow/queen-test/test-memory.db-import +0 -0
  5. package/.claude-flow/queen-test/test-memory.db-memory +0 -0
  6. package/.claude-flow/queen-test/test-memory.db-neural +0 -0
  7. package/CLAUDE.md +111 -8
  8. package/README.md +117 -50
  9. package/deploy.sh +366 -0
  10. package/dist/cli.js +226 -0
  11. package/dist/cli.js.map +1 -1
  12. package/dist/mcp/http-transport-wrapper.d.ts +29 -0
  13. package/dist/mcp/http-transport-wrapper.d.ts.map +1 -0
  14. package/dist/mcp/http-transport-wrapper.js +318 -0
  15. package/dist/mcp/http-transport-wrapper.js.map +1 -0
  16. package/dist/mcp/service-discovery-client.d.ts +83 -0
  17. package/dist/mcp/service-discovery-client.d.ts.map +1 -0
  18. package/dist/mcp/service-discovery-client.js +211 -0
  19. package/dist/mcp/service-discovery-client.js.map +1 -0
  20. package/dist/mcp/servicenow-deployment-mcp.js +262 -29
  21. package/dist/mcp/servicenow-deployment-mcp.js.map +1 -1
  22. package/dist/mcp/servicenow-intelligent-mcp.js +252 -18
  23. package/dist/mcp/servicenow-intelligent-mcp.js.map +1 -1
  24. package/dist/mcp/servicenow-operations-mcp.js +274 -46
  25. package/dist/mcp/servicenow-operations-mcp.js.map +1 -1
  26. package/dist/orchestration/discovery/service-discovery.d.ts +81 -0
  27. package/dist/orchestration/discovery/service-discovery.d.ts.map +1 -0
  28. package/dist/orchestration/discovery/service-discovery.js +808 -0
  29. package/dist/orchestration/discovery/service-discovery.js.map +1 -0
  30. package/dist/orchestration/distributed-orchestrator.d.ts +131 -0
  31. package/dist/orchestration/distributed-orchestrator.d.ts.map +1 -0
  32. package/dist/orchestration/distributed-orchestrator.js +712 -0
  33. package/dist/orchestration/distributed-orchestrator.js.map +1 -0
  34. package/dist/orchestration/distribution/task-distribution-engine.d.ts +53 -0
  35. package/dist/orchestration/distribution/task-distribution-engine.d.ts.map +1 -0
  36. package/dist/orchestration/distribution/task-distribution-engine.js +586 -0
  37. package/dist/orchestration/distribution/task-distribution-engine.js.map +1 -0
  38. package/dist/orchestration/interfaces/distributed-orchestration.interface.d.ts +606 -0
  39. package/dist/orchestration/interfaces/distributed-orchestration.interface.d.ts.map +1 -0
  40. package/dist/orchestration/interfaces/distributed-orchestration.interface.js +65 -0
  41. package/dist/orchestration/interfaces/distributed-orchestration.interface.js.map +1 -0
  42. package/dist/orchestration/protocols/mcpx-protocol.d.ts +71 -0
  43. package/dist/orchestration/protocols/mcpx-protocol.d.ts.map +1 -0
  44. package/dist/orchestration/protocols/mcpx-protocol.js +668 -0
  45. package/dist/orchestration/protocols/mcpx-protocol.js.map +1 -0
  46. package/dist/orchestration/state/distributed-state-manager.d.ts +89 -0
  47. package/dist/orchestration/state/distributed-state-manager.d.ts.map +1 -0
  48. package/dist/orchestration/state/distributed-state-manager.js +716 -0
  49. package/dist/orchestration/state/distributed-state-manager.js.map +1 -0
  50. package/dist/queen/advanced-integration-test.d.ts +48 -0
  51. package/dist/queen/advanced-integration-test.d.ts.map +1 -0
  52. package/dist/queen/advanced-integration-test.js +474 -0
  53. package/dist/queen/advanced-integration-test.js.map +1 -0
  54. package/dist/queen/agent-factory.d.ts +40 -0
  55. package/dist/queen/agent-factory.d.ts.map +1 -0
  56. package/dist/queen/agent-factory.js +433 -0
  57. package/dist/queen/agent-factory.js.map +1 -0
  58. package/dist/queen/index.d.ts +58 -0
  59. package/dist/queen/index.d.ts.map +1 -0
  60. package/dist/queen/index.js +79 -0
  61. package/dist/queen/index.js.map +1 -0
  62. package/dist/queen/integration-example.d.ts +82 -0
  63. package/dist/queen/integration-example.d.ts.map +1 -0
  64. package/dist/queen/integration-example.js +220 -0
  65. package/dist/queen/integration-example.js.map +1 -0
  66. package/dist/queen/integration-test.d.ts +72 -0
  67. package/dist/queen/integration-test.d.ts.map +1 -0
  68. package/dist/queen/integration-test.js +564 -0
  69. package/dist/queen/integration-test.js.map +1 -0
  70. package/dist/queen/mock-mcp-client.d.ts +66 -0
  71. package/dist/queen/mock-mcp-client.d.ts.map +1 -0
  72. package/dist/queen/mock-mcp-client.js +297 -0
  73. package/dist/queen/mock-mcp-client.js.map +1 -0
  74. package/dist/queen/neural-learning.d.ts +28 -0
  75. package/dist/queen/neural-learning.d.ts.map +1 -0
  76. package/dist/queen/neural-learning.js +244 -0
  77. package/dist/queen/neural-learning.js.map +1 -0
  78. package/dist/queen/queen-memory.d.ts +25 -0
  79. package/dist/queen/queen-memory.d.ts.map +1 -0
  80. package/dist/queen/queen-memory.js +273 -0
  81. package/dist/queen/queen-memory.js.map +1 -0
  82. package/dist/queen/run-integration-tests.d.ts +9 -0
  83. package/dist/queen/run-integration-tests.d.ts.map +1 -0
  84. package/dist/queen/run-integration-tests.js +28 -0
  85. package/dist/queen/run-integration-tests.js.map +1 -0
  86. package/dist/queen/servicenow-queen.d.ts +56 -0
  87. package/dist/queen/servicenow-queen.d.ts.map +1 -0
  88. package/dist/queen/servicenow-queen.js +659 -0
  89. package/dist/queen/servicenow-queen.js.map +1 -0
  90. package/dist/queen/types.d.ts +58 -0
  91. package/dist/queen/types.d.ts.map +1 -0
  92. package/dist/queen/types.js +7 -0
  93. package/dist/queen/types.js.map +1 -0
  94. package/dist/version.d.ts +3 -1
  95. package/dist/version.d.ts.map +1 -1
  96. package/dist/version.js +27 -2
  97. package/dist/version.js.map +1 -1
  98. package/docker/base/Dockerfile.base +45 -0
  99. package/docker/generate-services.js +244 -0
  100. package/docker/nginx/Dockerfile +71 -0
  101. package/docker/nginx/consul-template.hcl +64 -0
  102. package/docker/nginx/healthcheck.sh +178 -0
  103. package/docker/nginx/nginx.conf +210 -0
  104. package/docker/nginx/supervisord.conf +57 -0
  105. package/docker/nginx/templates/upstreams.conf.tpl +48 -0
  106. package/docker/services/automation-mcp/Dockerfile +32 -0
  107. package/docker/services/automation-mcp/config/service.json +28 -0
  108. package/docker/services/automation-mcp/entrypoint.js +51 -0
  109. package/docker/services/deployment-mcp/Dockerfile +32 -0
  110. package/docker/services/deployment-mcp/entrypoint.js +51 -0
  111. package/docker/services/flow-composer-mcp/Dockerfile +32 -0
  112. package/docker/services/flow-composer-mcp/config/service.json +28 -0
  113. package/docker/services/flow-composer-mcp/entrypoint.js +51 -0
  114. package/docker/services/graph-memory-mcp/Dockerfile +32 -0
  115. package/docker/services/graph-memory-mcp/config/service.json +28 -0
  116. package/docker/services/graph-memory-mcp/entrypoint.js +51 -0
  117. package/docker/services/integration-mcp/Dockerfile +32 -0
  118. package/docker/services/integration-mcp/config/service.json +28 -0
  119. package/docker/services/integration-mcp/entrypoint.js +51 -0
  120. package/docker/services/intelligent-mcp/Dockerfile +32 -0
  121. package/docker/services/intelligent-mcp/config/service.json +28 -0
  122. package/docker/services/intelligent-mcp/entrypoint.js +51 -0
  123. package/docker/services/operations-mcp/Dockerfile +32 -0
  124. package/docker/services/operations-mcp/config/service.json +28 -0
  125. package/docker/services/operations-mcp/entrypoint.js +51 -0
  126. package/docker/services/platform-development-mcp/Dockerfile +32 -0
  127. package/docker/services/platform-development-mcp/config/service.json +28 -0
  128. package/docker/services/platform-development-mcp/entrypoint.js +51 -0
  129. package/docker/services/reporting-analytics-mcp/Dockerfile +32 -0
  130. package/docker/services/reporting-analytics-mcp/config/service.json +28 -0
  131. package/docker/services/reporting-analytics-mcp/entrypoint.js +51 -0
  132. package/docker/services/security-compliance-mcp/Dockerfile +32 -0
  133. package/docker/services/security-compliance-mcp/config/service.json +28 -0
  134. package/docker/services/security-compliance-mcp/entrypoint.js +51 -0
  135. package/docker/services/update-set-mcp/Dockerfile +32 -0
  136. package/docker/services/update-set-mcp/config/service.json +28 -0
  137. package/docker/services/update-set-mcp/entrypoint.js +51 -0
  138. package/docker-compose.override.yml +132 -0
  139. package/docker-compose.prod.yml +340 -0
  140. package/docker-compose.yml +579 -0
  141. package/k8s/automation-mcp.yaml +232 -0
  142. package/k8s/configmap.yaml +237 -0
  143. package/k8s/deployment-mcp.yaml +232 -0
  144. package/k8s/flow-composer-mcp.yaml +232 -0
  145. package/k8s/generate-k8s-manifests.js +453 -0
  146. package/k8s/graph-memory-mcp.yaml +232 -0
  147. package/k8s/infrastructure.yaml +456 -0
  148. package/k8s/ingress.yaml +361 -0
  149. package/k8s/integration-mcp.yaml +232 -0
  150. package/k8s/intelligent-mcp.yaml +232 -0
  151. package/k8s/kustomization.yaml +111 -0
  152. package/k8s/mcp-services.yaml +2552 -0
  153. package/k8s/monitoring.yaml +515 -0
  154. package/k8s/namespace.yaml +80 -0
  155. package/k8s/operations-mcp.yaml +232 -0
  156. package/k8s/platform-development-mcp.yaml +232 -0
  157. package/k8s/rbac.yaml +140 -0
  158. package/k8s/reporting-analytics-mcp.yaml +232 -0
  159. package/k8s/security-compliance-mcp.yaml +232 -0
  160. package/k8s/update-set-mcp.yaml +232 -0
  161. package/package.json +2 -2
package/CLAUDE.md CHANGED
@@ -1,5 +1,87 @@
1
1
  # Snow-Flow Development with Claude Code
2
2
 
3
+ ## 👑 Queen Agent - The claude-flow Revolution
4
+
5
+ **The future of ServiceNow development is here!** The ServiceNow Queen Agent embodies the claude-flow philosophy: **elegant simplicity through hive-mind intelligence**.
6
+
7
+ ### 🧠 Claude-Flow Philosophy
8
+
9
+ Inspired by Claude's natural language capabilities, the Queen Agent transforms complex multi-agent orchestration into simple, intuitive commands. Just as Claude understands human intent from natural language, the Queen Agent understands development objectives and automatically orchestrates the perfect team.
10
+
11
+ **Core Principles:**
12
+ - **Hive-Mind Intelligence**: All agents share knowledge and learn collectively
13
+ - **Intent-Driven Development**: Describe what you want, not how to build it
14
+ - **Memory-Driven Patterns**: Learn from every execution, improve over time
15
+ - **Elegant Simplicity**: One command replaces complex coordination
16
+
17
+ ### 🚀 Primary Development Interface (RECOMMENDED)
18
+
19
+ ```bash
20
+ # The Queen Agent - One Command Does Everything!
21
+ snow-flow queen "create incident dashboard with charts and real-time data"
22
+ snow-flow queen "build approval workflow for equipment requests"
23
+ snow-flow queen "deploy mobile-responsive widget with accessibility features"
24
+ snow-flow queen "create complete ITSM solution with custom tables and workflows"
25
+ ```
26
+
27
+ #### Queen Commands Overview
28
+
29
+ | Command | Purpose | Example |
30
+ |---------|---------|----------|
31
+ | `snow-flow queen "<objective>"` | Primary development command | `snow-flow queen "create incident widget"` |
32
+ | `snow-flow queen-memory export [file]` | Export learning patterns | `snow-flow queen-memory export patterns.json` |
33
+ | `snow-flow queen-memory import [file]` | Import previous learning | `snow-flow queen-memory import patterns.json` |
34
+ | `snow-flow queen-memory clear --confirm` | Reset all learning | `snow-flow queen-memory clear --confirm` |
35
+ | `snow-flow queen-status [--detailed]` | View hive-mind status | `snow-flow queen-status --detailed` |
36
+ | `snow-flow queen-insights` | Get AI recommendations | `snow-flow queen-insights` |
37
+
38
+ ### 🔄 Enhanced Backward Compatibility
39
+
40
+ ```bash
41
+ # Queen intelligence can enhance existing commands
42
+ snow-flow swarm "create widget" --queen # Adds Queen intelligence to swarm
43
+ snow-flow sparc "create flow" --queen # Queen-powered SPARC execution
44
+ ```
45
+
46
+ ### Queen vs Traditional Development
47
+
48
+ | Traditional Approach | Queen Agent Approach |
49
+ |---------------------|----------------------|
50
+ | `snow-flow swarm "objective" --strategy development --mode hierarchical --max-agents 8 --parallel --monitor --shared-memory --validation --auto-deploy` | `snow-flow queen "objective" --monitor` |
51
+ | `snow-flow sparc team widget "dashboard" --shared-memory --validation` | `snow-flow queen "create dashboard"` |
52
+ | Complex team assembly and coordination | Automatic hive-mind orchestration |
53
+ | Manual memory management | Memory-driven pattern learning |
54
+ | Separate commands for different artifact types | Universal objective understanding |
55
+
56
+ ### 🧠 Queen Intelligence Features
57
+
58
+ - **🎯 Automatic Agent Spawning**: Analyzes objectives and spawns optimal specialist teams
59
+ - **📊 Memory-Driven Development**: Learns successful patterns and applies them automatically
60
+ - **🔄 Graceful Fallbacks**: Falls back to traditional methods when needed
61
+ - **👑 Hive-Mind Coordination**: All agents share context and learn collectively
62
+ - **🚀 One Command Philosophy**: Analyze → Spawn → Coordinate → Deploy in one step
63
+
64
+ ### 🎯 Quick Start with Queen (RECOMMENDED)
65
+
66
+ ```bash
67
+ # 1. Initialize project
68
+ snow-flow init --sparc
69
+
70
+ # 2. Authenticate
71
+ snow-flow auth login
72
+
73
+ # 3. Start developing with Queen!
74
+ snow-flow queen "create incident management dashboard with charts"
75
+
76
+ # 4. Check learning status
77
+ snow-flow queen-status --detailed
78
+
79
+ # 5. Export learning for reuse
80
+ snow-flow queen-memory export my-patterns.json
81
+ ```
82
+
83
+ ---
84
+
3
85
  ## 🚀 Core Development Principles
4
86
 
5
87
  ### Concurrent Execution Strategy
@@ -357,6 +439,7 @@ snow-flow swarm "complex integration" \
357
439
  --auto-permissions
358
440
  ```
359
441
 
442
+
360
443
  ## New MCP Tools (v1.1.44+)
361
444
 
362
445
  ### Catalog Item Search
@@ -647,7 +730,9 @@ snow-flow sparc team app "design app"
647
730
 
648
731
  ## 🎯 Quick Start Workflows
649
732
 
650
- ### 🚀 Team-Based Development (v1.1.62+)
733
+ ### 🚀 Advanced Development Approaches
734
+
735
+ #### Team-Based Development (v1.1.62+)
651
736
 
652
737
  ```bash
653
738
  # Widget Development Team
@@ -668,12 +753,26 @@ snow-flow sparc backend "API optimization"
668
753
  snow-flow sparc security "access control review"
669
754
  ```
670
755
 
671
- ### 🎯 Quick Start
672
- 1. `snow-flow init --sparc` - Initialize project with SPARC environment
673
- 2. Configure ServiceNow credentials in .env file
674
- 3. `snow-flow auth login` - Authenticate with ServiceNow OAuth
675
- 4. `snow-flow swarm "create a widget for incident management"` - Everything automatic!
676
- 5. `snow-flow sparc team widget "create dashboard"` - NEW: Use specialized teams!
756
+ ### 🎯 Quick Start Comparison
757
+
758
+ #### **👑 RECOMMENDED: Queen Agent (Primary)**
759
+ ```bash
760
+ # 1-3: Same setup
761
+ # 4. Queen does everything automatically!
762
+ snow-flow queen "create incident management widget"
763
+ ```
764
+
765
+ #### **🤖 Alternative: Enhanced Swarm**
766
+ ```bash
767
+ # 4. Use Queen intelligence with swarm
768
+ snow-flow swarm "create widget" --queen
769
+ ```
770
+
771
+ #### **⚙️ Traditional: Team-Based**
772
+ ```bash
773
+ # 4. Manual team coordination
774
+ snow-flow sparc team widget "create dashboard"
775
+ ```
677
776
 
678
777
  ## 💡 Important Notes
679
778
 
@@ -702,7 +801,11 @@ With concurrent execution and batch operations:
702
801
  - **Bulk Deployment**: Up to 5x faster with parallel mode
703
802
  - **Search Operations**: 4x faster with concurrent queries
704
803
 
705
- ## 📚 Additional Resources
804
+ ---
805
+
806
+ ## 📚 Advanced Reference (MCP Tools & Traditional Approaches)
807
+
808
+ *Note: The sections below contain advanced MCP tools and traditional approaches. For most users, the Queen Agent above is the recommended primary interface.*
706
809
 
707
810
  ### MCP Server Documentation
708
811
  - **servicenow-deployment**: Widget, flow, and application deployment
package/README.md CHANGED
@@ -1,6 +1,14 @@
1
- # Snow-Flow: Multi-Agent ServiceNow Development Platform 🚀
1
+ # Snow-Flow: The claude-flow ServiceNow Revolution 🚀
2
2
 
3
- Snow-Flow is a powerful multi-agent AI platform that revolutionizes ServiceNow development through intelligent automation, natural language processing, and autonomous deployment capabilities. Built with 11 specialized MCP (Model Context Protocol) servers, Snow-Flow enables developers to create, manage, and deploy ServiceNow artifacts using simple natural language commands.
3
+ **Snow-Flow** transforms ServiceNow development through the revolutionary **Queen Agent** and **claude-flow philosophy**. Experience **hive-mind intelligence** where one elegant command replaces complex multi-agent orchestration.
4
+
5
+ **The claude-flow Philosophy:**
6
+ - 🧠 **Hive-Mind Intelligence**: All agents share knowledge and learn collectively
7
+ - 🎯 **Intent-Driven Development**: Describe what you want, not how to build it
8
+ - 📊 **Memory-Driven Patterns**: Learn from every execution, improve over time
9
+ - 👑 **Elegant Simplicity**: One command replaces complex coordination
10
+
11
+ Powered by 11 specialized MCP (Model Context Protocol) servers and inspired by Claude's natural language understanding, Snow-Flow makes ServiceNow development as simple as having a conversation.
4
12
 
5
13
  ## 🆕 What's New in v1.1.50
6
14
 
@@ -31,7 +39,16 @@ Most intelligent features are now **enabled by default** - één command voor al
31
39
 
32
40
  ## 🌟 Key Features
33
41
 
34
- ### 🤖 11 Specialized MCP Servers
42
+ ### 👑 Revolutionary Queen Agent
43
+
44
+ - **🧠 Hive-Mind Intelligence**: All agents share knowledge and learn collectively from every execution
45
+ - **🎯 Intent-Driven Development**: Natural language understanding converts objectives into perfect solutions
46
+ - **📊 Memory-Driven Patterns**: Learns successful patterns and automatically applies them to new projects
47
+ - **🚀 One-Command Orchestration**: Replaces complex multi-step workflows with single elegant commands
48
+ - **🔄 Graceful Fallbacks**: Automatically falls back to traditional methods when needed
49
+ - **💾 Persistent Learning**: Export/import patterns for team sharing and backup
50
+
51
+ ### 🤖 11 Specialized MCP Servers (Orchestrated by Queen)
35
52
  Each server provides autonomous capabilities for different aspects of ServiceNow development:
36
53
 
37
54
  1. **Deployment MCP** - Autonomous widget, flow, and application deployment
@@ -46,15 +63,15 @@ Each server provides autonomous capabilities for different aspects of ServiceNow
46
63
  10. **Security & Compliance MCP** - Security auditing and compliance
47
64
  11. **Reporting & Analytics MCP** - Data analysis and reporting
48
65
 
49
- ### 🎯 Core Capabilities
66
+ ### 🎯 Core Capabilities (Enhanced by Queen Intelligence)
50
67
 
51
68
  - **Natural Language Processing**: Create complex ServiceNow artifacts using plain English/Dutch commands
52
- - **Intelligent Decision Making**: Automatically determines optimal architecture (flow vs subflow)
69
+ - **Hive-Mind Decision Making**: Collectively learns optimal architectures and applies them automatically
53
70
  - **Zero Configuration**: All values dynamically discovered from your ServiceNow instance
54
- - **Autonomous Deployment**: Direct deployment to ServiceNow with automatic error handling
71
+ - **Autonomous Deployment**: Direct deployment to ServiceNow with automatic error handling and learning
55
72
  - **Update Set Management**: Professional change tracking like ServiceNow pros use
56
73
  - **Global Scope Strategy**: Intelligent scope selection with fallback mechanisms
57
- - **Multi-Agent Coordination**: Parallel execution for complex tasks
74
+ - **Memory-Driven Coordination**: Parallel execution optimized by learned patterns
58
75
 
59
76
  ## 🚀 Quick Start
60
77
 
@@ -63,14 +80,21 @@ Each server provides autonomous capabilities for different aspects of ServiceNow
63
80
  - ServiceNow instance with admin access
64
81
  - OAuth application configured in ServiceNow
65
82
 
66
- ### Installation
83
+ ### Installation & Queen Agent Setup
67
84
 
68
85
  ```bash
69
86
  # Install Snow-Flow globally
70
87
  npm install -g snow-flow
71
88
 
72
- # Initialize Snow-Flow in your project directory
89
+ # Initialize Snow-Flow with claude-flow intelligence
73
90
  snow-flow init --sparc
91
+
92
+ # Configure ServiceNow credentials (see Configuration section below)
93
+ # Then authenticate
94
+ snow-flow auth login
95
+
96
+ # 🎉 Start developing with the Queen Agent!
97
+ snow-flow queen "create incident dashboard with real-time charts"
74
98
  ```
75
99
 
76
100
  #### Alternative: Install from source
@@ -107,6 +131,18 @@ SNOW_PASSWORD=your-password
107
131
  snow-flow auth login
108
132
  ```
109
133
 
134
+ 4. **Start developing with Queen Agent:**
135
+ ```bash
136
+ # Your first Queen command - creates everything you need!
137
+ snow-flow queen "create incident management dashboard"
138
+
139
+ # Check what the Queen learned
140
+ snow-flow queen-status --detailed
141
+
142
+ # Get AI insights for your next project
143
+ snow-flow queen-insights
144
+ ```
145
+
110
146
  ### 🎯 MCP Server Activation (v1.1.25+)
111
147
 
112
148
  Snow-Flow now includes **automatic MCP server activation** for Claude Code! During initialization, you'll be prompted to automatically start Claude Code with all 11 MCP servers pre-loaded:
@@ -136,44 +172,60 @@ claude.exe --mcp-config .mcp.json .
136
172
 
137
173
  ## 💡 Usage Examples
138
174
 
139
- ### Create a Complex Flow with Natural Language
140
- ```bash
141
- snow-flow sparc "Create an approval workflow for iPhone 6 orders that notifies managers, creates tasks, and updates inventory"
142
- ```
175
+ ### 👑 Primary Interface: Queen Agent (RECOMMENDED)
143
176
 
144
- ### Deploy a Widget Directly to ServiceNow
177
+ **The Transformation:**
145
178
  ```bash
146
- snow-flow sparc "Create and deploy a widget that shows all critical incidents with real-time updates"
179
+ # Before: Complex multi-agent coordination
180
+ snow-flow swarm "Build incident system" --strategy development --mode hierarchical --max-agents 8 --parallel --monitor --shared-memory --validation --auto-deploy
181
+
182
+ # After: Elegant Queen Agent - ONE COMMAND DOES EVERYTHING!
183
+ snow-flow queen "Build a complete incident management system"
147
184
  ```
148
185
 
149
- ### Start a Multi-Agent Swarm for Complex Projects
186
+ **Examples:**
150
187
  ```bash
151
- # Most intelligent features are enabled by default!
152
- snow-flow swarm "Build a complete incident management system with dashboard, workflows, and notifications"
153
-
154
- # Default settings:
155
- # --smart-discovery (true) - Reuses existing artifacts
156
- # ✅ --live-testing (true) - Tests in real-time
157
- # --auto-deploy (true) - Deploys automatically (safe with update sets)
158
- # --auto-rollback (true) - Rollbacks on failures
159
- # ✅ --shared-memory (true) - Agents share context
160
- # --progress-monitoring (true) - Real-time status
161
-
162
- # Add --auto-permissions to enable automatic permission escalation
163
- snow-flow swarm "Create enterprise workflow" --auto-permissions
164
-
165
- # Disable specific features with --no- prefix
166
- snow-flow swarm "Test workflow" --no-auto-deploy --no-live-testing
188
+ # Create complex flows with natural language
189
+ snow-flow queen "Create an approval workflow for iPhone orders with manager notifications"
190
+
191
+ # Deploy widgets directly to ServiceNow
192
+ snow-flow queen "Create and deploy a widget showing critical incidents with real-time updates"
193
+
194
+ # Build complete ITSM solutions
195
+ snow-flow queen "Build complete incident management with dashboard, workflows, and notifications"
196
+
197
+ # Intelligent artifact discovery and modification
198
+ snow-flow queen "Find and modify the approval workflow to add extra approval step for orders over $1000"
199
+
200
+ # Multi-language support
201
+ snow-flow queen "Maak een flow voor automatisch toewijzen van incidenten aan groepen"
167
202
  ```
168
203
 
169
- ### Intelligent Artifact Discovery
204
+ ### 🧠 Queen Memory Management
170
205
  ```bash
171
- snow-flow sparc "Find and modify the approval workflow to add an extra approval step for orders over $1000"
206
+ # Export learned patterns for backup
207
+ snow-flow queen-memory export my-patterns.json
208
+
209
+ # Import previous learning patterns
210
+ snow-flow queen-memory import my-patterns.json
211
+
212
+ # View hive-mind intelligence status
213
+ snow-flow queen-status --detailed
214
+
215
+ # Get AI-driven insights and recommendations
216
+ snow-flow queen-insights
217
+
218
+ # Reset learning (requires confirmation)
219
+ snow-flow queen-memory clear --confirm
172
220
  ```
173
221
 
174
- ### Create Flows in Dutch
222
+ ### 🚀 Enhanced Legacy Commands (with Queen Intelligence)
175
223
  ```bash
176
- snow-flow sparc "Maak een flow voor het automatisch toewijzen van incidenten aan de juiste groep op basis van categorie"
224
+ # Add Queen intelligence to existing swarm commands
225
+ snow-flow swarm "Create enterprise workflow" --queen --auto-permissions
226
+
227
+ # Queen-enhanced SPARC modes
228
+ snow-flow sparc "Create widget" --queen
177
229
  ```
178
230
 
179
231
  ## 🛠️ Advanced Features
@@ -339,26 +391,32 @@ We welcome contributions! Please see our contributing guidelines (coming soon).
339
391
  ## 🎯 Use Cases
340
392
 
341
393
  ### For ServiceNow Developers
342
- - Rapidly prototype flows and workflows
343
- - Automate repetitive development tasks
344
- - Ensure consistency across implementations
345
- - Reduce development time by 80%
394
+ - **🚀 Rapid Development**: One Queen command replaces hours of manual coordination
395
+ - **📚 Pattern Learning**: Queen learns your preferences and applies them automatically
396
+ - **🔄 Instant Prototyping**: Natural language to working artifacts in minutes
397
+ - **📈 Productivity Boost**: Reduce development time by 90% with hive-mind intelligence
346
398
 
347
399
  ### For ServiceNow Architects
348
- - Validate architectural decisions
349
- - Ensure best practices are followed
350
- - Analyze impact of changes
351
- - Optimize performance and maintainability
400
+ - **🧠 Intelligent Architecture**: Queen applies learned architectural patterns automatically
401
+ - **🎯 Best Practice Enforcement**: Hive-mind ensures consistency across all projects
402
+ - **🔍 Impact Analysis**: Graph memory tracks relationships and dependencies
403
+ - **📊 Performance Optimization**: Memory-driven decisions optimize for performance
352
404
 
353
405
  ### For ServiceNow Administrators
354
- - Quick deployments and updates
355
- - Professional change tracking
356
- - Automated testing and validation
357
- - Simplified migration between instances
406
+ - **⚡ One-Command Deployments**: Queen handles entire deployment lifecycle automatically
407
+ - **📋 Professional Change Tracking**: Automatic update set management
408
+ - **🛡️ Automated Testing**: Queen learns testing patterns and applies them
409
+ - **🔄 Intelligent Migration**: Memory-driven migration between instances
358
410
 
359
411
  ## 🚦 Roadmap
360
412
 
361
- - [ ] Visual flow designer integration
413
+ ### 👑 Queen Agent Enhancements
414
+ - [ ] **Advanced Hive-Mind Learning**: Cross-project pattern sharing
415
+ - [ ] **Visual Queen Dashboard**: Real-time hive-mind intelligence visualization
416
+ - [ ] **Queen Teams**: Collaborative Queen agents for enterprise projects
417
+ - [ ] **Predictive Development**: Queen suggests next steps based on learned patterns
418
+
419
+ ### Traditional Feature Enhancements
362
420
  - [ ] Enhanced Neo4j graph visualization
363
421
  - [ ] Multi-instance synchronization
364
422
  - [ ] AI-powered code review
@@ -389,4 +447,13 @@ Built with the power of Claude AI and the ServiceNow platform. Special thanks to
389
447
 
390
448
  ---
391
449
 
392
- **Ready to revolutionize your ServiceNow development?** Start with `snow-flow init --sparc` and experience the future of ServiceNow automation! 🚀
450
+ **Ready to experience the claude-flow revolution?**
451
+
452
+ ```bash
453
+ # Install and start with Queen Agent in under 2 minutes!
454
+ snow-flow init --sparc
455
+ snow-flow auth login
456
+ snow-flow queen "create my first ServiceNow solution"
457
+ ```
458
+
459
+ **Join the hive-mind intelligence revolution!** 👑🚀