🌊 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
Merge origin/main into fix/config-default-isolation (reset(): project selection + defaults clone)
ruv798044828dd3
diff --cc v3/@claude-flow/cli/src/services/config-file-manager.tsindex 0b3cc0c7da,a93ff89c99..8965881de2--- a/v3/@claude-flow/cli/src/services/config-file-manager.ts+++ b/v3/@claude-flow/cli/src/services/config-file-manager.ts@@@ -145,8 -149,9 +149,9 @@@ export class ConfigFileManagerif (fs.existsSync(targetPath) && !force) {throw new Error(`Config file already exists: ${targetPath}. Use --force to overwrite.`);}- const config = { ...DEFAULT_CONFIG, ...overrides };+ const config = { ...structuredClone(DEFAULT_CONFIG), ...overrides };this.writeAtomic(targetPath, config);+ this.selectProject(cwd);this.config = config;this.configPath = targetPath;return targetPath;@@@ -154,10 -159,10 +159,11 @@@/** Reset config to defaults */reset(cwd: string): string {- const targetPath = this.configPath ?? path.resolve(cwd, CONFIG_FILENAMES[0]);+ this.selectProject(cwd);+ const targetPath = this.findConfig(cwd) ?? path.resolve(cwd, CONFIG_FILENAMES[0]);- this.writeAtomic(targetPath, DEFAULT_CONFIG);- this.config = { ...DEFAULT_CONFIG };+ const config = structuredClone(DEFAULT_CONFIG);+ this.writeAtomic(targetPath, config);+ this.config = config;this.configPath = targetPath;return targetPath;}@@@ -198,9 -204,19 +205,19 @@@/** Get default config */getDefaults(): Record<string, unknown> {- return { ...DEFAULT_CONFIG };+ return structuredClone(DEFAULT_CONFIG);}+ /** Cached values and file paths belong to one resolved project directory. */+ private selectProject(cwd: string): void {+ const resolved = path.resolve(cwd);+ if (this.configCwd !== resolved) {+ this.configCwd = resolved;+ this.config = null;+ this.configPath = null;+ }+ }+/** Atomic write: write to .tmp then rename */private writeAtomic(filePath: string, data: Record<string, unknown>): void {const dir = path.dirname(filePath);