🌊 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
Checkpoint: File edits
rUv1a721bf312d6
diff --git a/.claude/helpers/context-persistence-hook.mjs b/.claude/helpers/context-persistence-hook.mjsindex b87343c2b6..d7774f06b2 100644--- a/.claude/helpers/context-persistence-hook.mjs+++ b/.claude/helpers/context-persistence-hook.mjs@@ -1288,7 +1288,27 @@ async function autoOptimize(backend, backendType) {} catch { /* RuVector sync is best-effort */ }}- return { pruned, synced };+ return { pruned, synced, decayed, embedded };+}++// ============================================================================+// Cross-session semantic retrieval+// ============================================================================++/**+ * Find relevant context from OTHER sessions using semantic similarity.+ * This enables "What did we discuss about auth?" across sessions.+ */+function crossSessionSearch(backend, queryText, currentSessionId, k = 5) {+ if (!backend.semanticSearch) return [];+ try {+ const queryEmb = createHashEmbedding(queryText);+ const results = backend.semanticSearch(queryEmb, k * 2, NAMESPACE);+ // Filter out current session entries (we already have those)+ return results+ .filter(r => r.sessionId !== currentSessionId)+ .slice(0, k);+ } catch { return []; }}// ============================================================================