🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
fix(wasm): bump default Sonnet from 20250514 to 4.6 (closes #1810) (#1812)
rUv2fd38f4dedc4
diff --git a/v3/@claude-flow/cli/__tests__/ruvector/agent-wasm.test.ts b/v3/@claude-flow/cli/__tests__/ruvector/agent-wasm.test.tsindex e9868b478a..0caff82576 100644--- a/v3/@claude-flow/cli/__tests__/ruvector/agent-wasm.test.ts+++ b/v3/@claude-flow/cli/__tests__/ruvector/agent-wasm.test.ts@@ -154,7 +154,7 @@ describe('agent-wasm integration', () => {agentId = info.id;expect(info.id).toMatch(/^wasm-agent-/);expect(info.state).toBe('idle');- expect(info.model).toBe('anthropic:claude-sonnet-4-20250514');+ expect(info.model).toBe('anthropic:claude-sonnet-4-6');expect(info.fileCount).toBe(0);expect(info.isStopped).toBe(false);});@@ -325,6 +325,11 @@ describe('agent-wasm integration', () => {it('creates agent from template', async () => {const info = await createAgentFromTemplate('coder');expect(info.id).toMatch(/^wasm-agent-/);+ // #1810 — gallery templates pass `model: undefined` and must+ // inherit the current default. Pin the assertion here so a+ // future regression of the default surfaces in the gallery path+ // too, not just in the bare `createWasmAgent` path.+ expect(info.model).toBe('anthropic:claude-sonnet-4-6');terminateWasmAgent(info.id);});diff --git a/v3/@claude-flow/cli/src/commands/agent-wasm.ts b/v3/@claude-flow/cli/src/commands/agent-wasm.tsindex a3ceed412b..080caf0873 100644--- a/v3/@claude-flow/cli/src/commands/agent-wasm.ts+++ b/v3/@claude-flow/cli/src/commands/agent-wasm.ts@@ -119,7 +119,7 @@ export const wasmCreateCommand: Command = {{name: 'model',short: 'm',- description: 'Model identifier (default: anthropic:claude-sonnet-4-20250514)',+ description: 'Model identifier (default: anthropic:claude-sonnet-4-6)',type: 'string',},{@@ -138,7 +138,7 @@ export const wasmCreateCommand: Command = {examples: [{ command: 'claude-flow agent wasm-create', description: 'Create a default WASM agent' },{ command: 'claude-flow agent wasm-create -t coder', description: 'Create from gallery template' },- { command: 'claude-flow agent wasm-create -m "anthropic:claude-sonnet-4-20250514" -i "You are a security auditor"', description: 'Create with custom config' },+ { command: 'claude-flow agent wasm-create -m "anthropic:claude-sonnet-4-6" -i "You are a security auditor"', description: 'Create with custom config' },],action: async (ctx: CommandContext): Promise<CommandResult> => {try {diff --git a/v3/@claude-flow/cli/src/mcp-tools/wasm-agent-tools.ts b/v3/@claude-flow/cli/src/mcp-tools/wasm-agent-tools.tsindex c73399167a..629d3f3054 100644--- a/v3/@claude-flow/cli/src/mcp-tools/wasm-agent-tools.ts+++ b/v3/@claude-flow/cli/src/mcp-tools/wasm-agent-tools.ts@@ -21,7 +21,7 @@ export const wasmAgentTools: MCPTool[] = [type: 'object' as const,properties: {template: { type: 'string', description: 'Gallery template name (coder, researcher, tester, reviewer, security, swarm)' },- model: { type: 'string', description: 'Model identifier (default: anthropic:claude-sonnet-4-20250514)' },+ model: { type: 'string', description: 'Model identifier (default: anthropic:claude-sonnet-4-6)' },instructions: { type: 'string', description: 'System instructions for the agent' },maxTurns: { type: 'number', description: 'Max conversation turns (default: 50)' },},diff --git a/v3/@claude-flow/cli/src/ruvector/agent-wasm.ts b/v3/@claude-flow/cli/src/ruvector/agent-wasm.tsindex 3966381e24..26ae02c359 100644--- a/v3/@claude-flow/cli/src/ruvector/agent-wasm.ts+++ b/v3/@claude-flow/cli/src/ruvector/agent-wasm.ts@@ -110,8 +110,11 @@ export async function createWasmAgent(config: WasmAgentConfig = {}): Promise<Wasawait initAgentWasm();const mod = await import('@ruvector/rvagent-wasm');+ // #1810 — was hardcoded `anthropic:claude-sonnet-4-20250514`. Updated to+ // current Sonnet (4.6) so new gallery agents don't silently inherit a+ // year-old model. Callers can still override via `config.model`.const configJson = JSON.stringify({- model: config.model ?? 'anthropic:claude-sonnet-4-20250514',+ model: config.model ?? 'anthropic:claude-sonnet-4-6',instructions: config.instructions ?? 'You are a helpful coding assistant.',max_turns: config.maxTurns ?? 50,});diff --git a/v3/@claude-flow/mcp/.claude/settings.json b/v3/@claude-flow/mcp/.claude/settings.jsonindex 0c370d2877..afb922e067 100644--- a/v3/@claude-flow/mcp/.claude/settings.json+++ b/v3/@claude-flow/mcp/.claude/settings.json@@ -142,8 +142,8 @@"version": "3.0.0","enabled": true,"modelPreferences": {- "default": "claude-opus-4-5-20251101",- "routing": "claude-3-5-haiku-20241022"+ "default": "claude-opus-4-7",+ "routing": "claude-haiku-4-5-20251001"},"swarm": {"topology": "hierarchical-mesh",diff --git a/v3/@claude-flow/plugins/README.md b/v3/@claude-flow/plugins/README.mdindex 051f0ed73d..83364272c5 100644--- a/v3/@claude-flow/plugins/README.md+++ b/v3/@claude-flow/plugins/README.md@@ -168,7 +168,7 @@ registry.register(new ClaudeProvider());// Execute with automatic fallbackconst response = await registry.execute({- model: 'claude-sonnet-4-20250514',+ model: 'claude-sonnet-4-6',messages: [{ role: 'user', content: 'Hello!' }]});```diff --git a/v3/@claude-flow/plugins/examples/plugin-creator/index.ts b/v3/@claude-flow/plugins/examples/plugin-creator/index.tsindex 0c60b59d86..627b6ef3ac 100644--- a/v3/@claude-flow/plugins/examples/plugin-creator/index.ts+++ b/v3/@claude-flow/plugins/examples/plugin-creator/index.ts@@ -251,7 +251,7 @@ function generateAgentTypeCode(agentType: string): { definition: AgentTypeDefininame: `${sanitizedType} Agent`,description: `Generated agent type: ${sanitizedType}`,capabilities: ['general'],- model: 'claude-sonnet-4-20250514',+ model: 'claude-sonnet-4-6',systemPrompt: `You are a ${sanitizedType} agent.`,};@@ -261,7 +261,7 @@ const ${camelCase(sanitizedType)}Agent: AgentTypeDefinition = {name: '${sanitizedType} Agent',description: 'Generated agent type: ${sanitizedType}',capabilities: ['general'],- model: 'claude-sonnet-4-20250514',+ model: 'claude-sonnet-4-6',systemPrompt: 'You are a ${sanitizedType} agent.',};`;diff --git a/v3/@claude-flow/plugins/examples/plugin-creator/plugin-creator.test.ts b/v3/@claude-flow/plugins/examples/plugin-creator/plugin-creator.test.tsindex 8b8b1529d4..87de6d9e0e 100644--- a/v3/@claude-flow/plugins/examples/plugin-creator/plugin-creator.test.ts+++ b/v3/@claude-flow/plugins/examples/plugin-creator/plugin-creator.test.ts@@ -232,7 +232,7 @@ describe('Plugin Creator Plugin', () => {expect(definition.type).toBe('coordinator');expect(definition.name).toBe('coordinator Agent');- expect(definition.model).toBe('claude-sonnet-4-20250514');+ expect(definition.model).toBe('claude-sonnet-4-6');expect(code).toContain('AgentTypeDefinition');});diff --git a/v3/@claude-flow/plugins/src/collections/official/index.ts b/v3/@claude-flow/plugins/src/collections/official/index.tsindex 8a0e02c1f3..0263225631 100644--- a/v3/@claude-flow/plugins/src/collections/official/index.ts+++ b/v3/@claude-flow/plugins/src/collections/official/index.ts@@ -112,7 +112,7 @@ export const coderAgentPlugin = new PluginBuilder('coder-agent', '3.0.0')description: 'Writes clean, efficient code following best practices',capabilities: ['code-generation', 'refactoring', 'debugging'],systemPrompt: 'You are an expert software engineer...',- model: 'claude-sonnet-4-20250514',+ model: 'claude-sonnet-4-6',temperature: 0.3,},])@@ -132,7 +132,7 @@ export const testerAgentPlugin = new PluginBuilder('tester-agent', '3.0.0')description: 'Writes comprehensive tests and validates code quality',capabilities: ['unit-testing', 'integration-testing', 'test-coverage'],systemPrompt: 'You are an expert QA engineer...',- model: 'claude-sonnet-4-20250514',+ model: 'claude-sonnet-4-6',temperature: 0.2,},])@@ -152,7 +152,7 @@ export const reviewerAgentPlugin = new PluginBuilder('reviewer-agent', '3.0.0')description: 'Reviews code for quality, security, and best practices',capabilities: ['code-review', 'security-audit', 'performance-review'],systemPrompt: 'You are an expert code reviewer...',- model: 'claude-sonnet-4-20250514',+ model: 'claude-sonnet-4-6',temperature: 0.1,},])@@ -420,7 +420,7 @@ export const coordinatorAgentPlugin = new PluginBuilder('coordinator-agent', '3.description: 'Coordinates multi-agent swarm operations',capabilities: ['task-distribution', 'progress-tracking', 'conflict-resolution'],systemPrompt: 'You are a swarm coordinator...',- model: 'claude-sonnet-4-20250514',+ model: 'claude-sonnet-4-6',temperature: 0.2,},])diff --git a/v3/@claude-flow/plugins/src/providers/index.ts b/v3/@claude-flow/plugins/src/providers/index.tsindex e1ce5c415b..4ed5991e4f 100644--- a/v3/@claude-flow/plugins/src/providers/index.ts+++ b/v3/@claude-flow/plugins/src/providers/index.ts@@ -532,10 +532,12 @@ export class ProviderFactory {return {name: 'anthropic',displayName: options?.displayName ?? 'Anthropic Claude',+ // #1810 — bumped to current Claude 4.x model IDs (Opus 4.7,+ // Sonnet 4.6, Haiku 4.5). Was pinning a year-old set.models: options?.models ?? [- 'claude-opus-4-5-20251101',- 'claude-sonnet-4-20250514',- 'claude-3-5-haiku-20241022',+ 'claude-opus-4-7',+ 'claude-sonnet-4-6',+ 'claude-haiku-4-5-20251001',],capabilities: ['completion',