Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Python agent-contextagent-memoryagent-pluginsagentic-ragcontext-databasedsh-pluginknowledge-basememorymemory-managementself-evolvingvector-database
#!/usr/bin/env node
import { runUriGuardHook } from "../../memory-plugin-shared/lib/uri-guard.mjs";
import { HOSTS } from "../hosts/index.mjs";
// The envelope is the host's: Cursor answers its own permission shape,
// TRAE and ZCode the PreToolUse one.
export function evaluateHostUriGuard(clientId, input = {}) {
return HOSTS[clientId] ? HOSTS[clientId].guard(input) : {};
}
const client = process.argv[2] || process.env.OPENVIKING_HOOK_SOURCE || "";
runUriGuardHook(import.meta.url, (input) => evaluateHostUriGuard(client, input));