export function executeMemoryAction(memory, action, args) {
    switch (action) {
        case "save":
            return memory.save(args.key, args.title, args.content);
        case "read":
            return memory.read(args.key);
        case "list":
            return memory.list();
        default:
            return `Unknown memory action: ${action}`;
    }
}
//# sourceMappingURL=memory-executor.js.map