🌊 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(session): return explicit success from import validator
Rudy Celekliae781261fa9f
diff --git a/v3/@claude-flow/cli/src/mcp-tools/session-tools.ts b/v3/@claude-flow/cli/src/mcp-tools/session-tools.tsindex 7ca673397f..91f06c1bed 100644--- a/v3/@claude-flow/cli/src/mcp-tools/session-tools.ts+++ b/v3/@claude-flow/cli/src/mcp-tools/session-tools.ts@@ -28,7 +28,7 @@ function validateImportedSession(value: unknown): string | undefined {if (value.name !== undefined && typeof value.name !== 'string') {return 'Invalid session: name must be a string';}- if (value.data === undefined) return;+ if (value.data === undefined) return undefined;if (!isRecord(value.data)) return 'Invalid session: data must be an object';for (const [component, collection] of [['tasks', 'tasks'], ['agents', 'agents'], ['memory', 'entries']]) {const store = value.data[component];@@ -38,6 +38,7 @@ function validateImportedSession(value: unknown): string | undefined {return `Invalid session: data.${component}.${collection} must be a record map`;}}+ return undefined;}// Storage paths