// Simplified: response parsing and error handling omitted.
async function callTool(endpoint, token, name, args) {
let session = null;
let id = 0;
const post = async (body) => {
const headers = {Birden çok AI aracı için tek bir hafıza
Claude Code, Codex ve Hermes her biri kendi notlarını tutuyordu. İki küçük hook ve tek bir ortak hafıza servisi bunu değiştirdi. Ne kurduk, hook’lar neden MCP araçları yerine HTTP konuşuyor ve ilk gün ne bozuldu.