🌊 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
rUv59e7b96411c7
diff --git a/.claude/helpers/context-persistence-hook.mjs b/.claude/helpers/context-persistence-hook.mjsindex 483c08440e..27c2054828 100644--- a/.claude/helpers/context-persistence-hook.mjs+++ b/.claude/helpers/context-persistence-hook.mjs@@ -219,6 +219,30 @@ class SQLiteBackend {return this._stmts.listSessions.all(namespace || NAMESPACE);}+ markAccessed(ids) {+ const now = Date.now();+ for (const id of ids) {+ this._stmts.markAccessed.run(now, id);+ }+ }++ pruneStale(namespace, maxAgeDays) {+ const cutoff = Date.now() - (maxAgeDays * 24 * 60 * 60 * 1000);+ const result = this._stmts.pruneStale.run(namespace || NAMESPACE, cutoff);+ return result.changes;+ }++ queryByImportance(namespace, sessionId) {+ const now = Date.now();+ const rows = this._stmts.queryByImportance.all(now, namespace, sessionId);+ return rows.map(r => ({ ...this._rowToEntry(r), importanceScore: r.importance_score }));+ }++ allForSync(namespace) {+ const rows = this._stmts.allForSync.all(namespace || NAMESPACE);+ return rows.map(r => this._rowToEntry(r));+ }+async shutdown() {if (this.db) {this.db.pragma('optimize');