Local-first 🧠memory for Hermes Agent that lives in your Obsidian vault and remembers project context. Nightly 😴 dream passes turn repeat corrections into confirmed preferences with measurable confidence. Adapters ship for Claude Code, Codex, and OpenClaw, with an MCP server for anything else.
TypeScript
/**
* `signal-exit` 3.x ships no types. The one call this codebase makes:
* register a handler that runs on any process exit, a fatal signal
* included, and get back a function that removes it.
*/
declare module "signal-exit" {
export default function onExit(
callback: (code: number | null, signal: string | null) => void,
options?: { readonly alwaysLast?: boolean },
): () => void;
}