snow-flow 4.3.4 → 4.3.6

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 (2) hide show
  1. package/dist/cli.js +7 -4
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -816,10 +816,13 @@ TodoWrite([
816
816
  ### 4. Agent Spawning Strategy
817
817
  Based on the task analysis, spawn ${taskAnalysis.estimatedAgentCount} agents in smart batches:
818
818
 
819
- **Agent Spawn Order:**
820
- 1. **Primary Agent**: Spawn ${taskAnalysis.primaryAgent} first
821
- 2. **Supporting Agents**: Spawn ${taskAnalysis.supportingAgents.join(', ')} after primary is established
822
- 3. **Use Task tool**: \`Task("agent description", "agent prompt")\` for each agent
819
+ **Dynamic Agent Discovery & Spawning (Use Snow-Flow MCP Tools):**
820
+ 1. **Initialize Swarm**: \`swarm_init({ topology: 'hierarchical', maxAgents: ${parseInt(options.maxAgents)} })\`
821
+ 2. **Discover Agents Dynamically**: \`agent_discover({ task_analysis: ${JSON.stringify(taskAnalysis)}, required_capabilities: [], context: { max_agents: ${parseInt(options.maxAgents)}, include_new_types: true } })\`
822
+ 3. **Spawn Discovered Agents**: Use \`agent_spawn({ type: 'agent_type_from_discovery', name: 'Agent Name', capabilities: ['discovered_capabilities'] })\` for each discovered agent
823
+ 4. **Coordination**: \`task_orchestrate({ task: '${objective}', strategy: 'adaptive' })\`
824
+
825
+ **IMPORTANT**: Do NOT use hardcoded agent types like 'widget-creator', 'specialist' etc. Let \`agent_discover\` determine the optimal agent types for this specific task!
823
826
 
824
827
  ### 5. Memory Coordination Pattern
825
828
  All agents MUST use this simple memory coordination:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snow-flow",
3
- "version": "4.3.4",
3
+ "version": "4.3.6",
4
4
  "description": "Conversational ServiceNow development platform using Claude Code. Multi-agent orchestration with 20+ MCP servers providing 200+ ServiceNow tools for comprehensive platform development.",
5
5
  "main": "dist/index.js",
6
6
  "type": "commonjs",