snow-flow 4.3.5 → 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 +5 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -816,12 +816,14 @@ 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 (Use Snow-Flow MCP Tools):**
819
+ **Dynamic Agent Discovery & Spawning (Use Snow-Flow MCP Tools):**
820
820
  1. **Initialize Swarm**: \`swarm_init({ topology: 'hierarchical', maxAgents: ${parseInt(options.maxAgents)} })\`
821
- 2. **Primary Agent**: \`agent_spawn({ type: '${taskAnalysis.primaryAgent}', name: 'Primary${taskAnalysis.primaryAgent.split('-').map(w => w.charAt(0).toUpperCase() + w.slice(1)).join('')}' })\`
822
- 3. **Supporting Agents**: Use \`agent_spawn\` for each: ${taskAnalysis.supportingAgents.map(agent => `'${agent}'`).join(', ')}
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
823
  4. **Coordination**: \`task_orchestrate({ task: '${objective}', strategy: 'adaptive' })\`
824
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!
826
+
825
827
  ### 5. Memory Coordination Pattern
826
828
  All agents MUST use this simple memory coordination:
827
829
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snow-flow",
3
- "version": "4.3.5",
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",