🌊 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: browser --args flag + AppArmor detect + guidance ab-test executor (v3.6.7)
Reuvenc2c21f6ae558
diff --git a/package.json b/package.jsonindex 56348982ba..c58c09486b 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "claude-flow",- "version": "3.6.6",+ "version": "3.6.7","description": "Ruflo - Enterprise AI agent orchestration for Claude Code. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration","main": "dist/index.js","type": "module",diff --git a/ruflo/package.json b/ruflo/package.jsonindex 7c9b9750de..51afd2c634 100644--- a/ruflo/package.json+++ b/ruflo/package.json@@ -1,6 +1,6 @@{"name": "ruflo",- "version": "3.6.6",+ "version": "3.6.7","description": "Ruflo - Enterprise AI agent orchestration platform. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration","main": "bin/ruflo.js","type": "module",diff --git a/v3/@claude-flow/cli/package.json b/v3/@claude-flow/cli/package.jsonindex c2aaa4ea75..c6734d27e9 100644--- a/v3/@claude-flow/cli/package.json+++ b/v3/@claude-flow/cli/package.json@@ -1,6 +1,6 @@{"name": "@claude-flow/cli",- "version": "3.6.6",+ "version": "3.6.7","type": "module","description": "Ruflo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code","main": "dist/src/index.js",diff --git a/v3/@claude-flow/cli/src/mcp-tools/browser-tools.ts b/v3/@claude-flow/cli/src/mcp-tools/browser-tools.tsindex a63cf8968a..8bcb95c6dd 100644--- a/v3/@claude-flow/cli/src/mcp-tools/browser-tools.ts+++ b/v3/@claude-flow/cli/src/mcp-tools/browser-tools.ts@@ -87,18 +87,25 @@ async function execBrowserCommand(args: string[], session = 'default'): Promise<}/**- * Detect if Linux needs --no-sandbox for Chrome.+ * Read a sysctl value, returning the trimmed string or null.*/-function needsNoSandbox(): boolean {+function readSysctl(name: string): string | null {try {const { readFileSync, existsSync } = require('fs');- if (process.platform !== 'linux') return false;- const clonePath = '/proc/sys/kernel/unprivileged_userns_clone';- if (existsSync(clonePath)) {- return readFileSync(clonePath, 'utf-8').trim() === '0';- }+ const p = `/proc/sys/kernel/${name}`;+ if (existsSync(p)) return readFileSync(p, 'utf-8').trim();} catch { /* not Linux or can't read */ }- return false;+ return null;+}++/**+ * Detect if Linux needs --no-sandbox for Chrome.+ * Checks both legacy userns flag and Ubuntu 24.04+ AppArmor restriction.+ */+function needsNoSandbox(): boolean {+ if (process.platform !== 'linux') return false;+ return readSysctl('unprivileged_userns_clone') === '0' ||+ readSysctl('apparmor_restrict_unprivileged_userns') === '1';}/**@@ -146,7 +153,7 @@ export const browserTools: MCPTool[] = [}const args = ['open', url];if (waitUntil) args.push('--wait-until', waitUntil);- for (const a of launchArgs) args.push('--arg', a);+ if (launchArgs.length > 0) args.push('--args', launchArgs.join(' '));// Create session if newconst sessionId = session || 'default';diff --git a/v3/@claude-flow/guidance/package.json b/v3/@claude-flow/guidance/package.jsonindex 0545868dcb..711db727c1 100644--- a/v3/@claude-flow/guidance/package.json+++ b/v3/@claude-flow/guidance/package.json@@ -1,6 +1,6 @@{"name": "@claude-flow/guidance",- "version": "3.0.0-alpha.1",+ "version": "3.0.0-alpha.2","description": "Guidance Control Plane - Compiles, retrieves, enforces, and evolves guidance rules for Claude Code sessions","type": "module","main": "./dist/index.js",diff --git a/v3/@claude-flow/guidance/src/analyzer.ts b/v3/@claude-flow/guidance/src/analyzer.tsindex fb481b3cd9..117a862453 100644--- a/v3/@claude-flow/guidance/src/analyzer.ts+++ b/v3/@claude-flow/guidance/src/analyzer.ts@@ -605,13 +605,35 @@ interface HeadlessBenchmarkTask {expectPresent: string[];}-class DefaultHeadlessExecutor implements IHeadlessExecutor {+class DefaultHeadlessExecutor implements IContentAwareExecutor {+ private contextContent: string | null = null;++ setContext(claudeMdContent: string): void {+ this.contextContent = claudeMdContent;+ }+async execute(prompt: string, workDir: string): Promise<{ stdout: string; stderr: string; exitCode: number }> {const { execFile } = await import('node:child_process');const { promisify } = await import('node:util');+ const fs = await import('node:fs/promises');+ const { join } = await import('node:path');const execFileAsync = promisify(execFile);- // Pass prompt as a direct argument array — no shell interpretation.+ const claudeMdPath = join(workDir, 'CLAUDE.md');+ const backupPath = join(workDir, '.CLAUDE.md.ab-backup');+ let swapped = false;++ if (this.contextContent !== null) {+ try { await fs.copyFile(claudeMdPath, backupPath); } catch { /* no file to back up */ }++ if (this.contextContent.length > 0) {+ await fs.writeFile(claudeMdPath, this.contextContent, 'utf-8');+ } else {+ await fs.unlink(claudeMdPath).catch(() => {});+ }+ swapped = true;+ }+try {const { stdout, stderr } = await execFileAsync('claude',@@ -621,6 +643,15 @@ class DefaultHeadlessExecutor implements IHeadlessExecutor {return { stdout, stderr, exitCode: 0 };} catch (error: any) {return { stdout: error.stdout ?? '', stderr: error.stderr ?? '', exitCode: error.code ?? 1 };+ } finally {+ if (swapped) {+ try {+ await fs.copyFile(backupPath, claudeMdPath);+ await fs.unlink(backupPath);+ } catch {+ await fs.unlink(claudeMdPath).catch(() => {});+ }+ }}}}