Skip to content

#1 Persistent memory for AI coding agents based on real-world benchmarks

229 B
Raw Blame
import type { Session } from "./types.js";

export function sessionText(session: Session): string {
  return session.timestamp
    ? "[Source session date: " + session.timestamp + "]\n" + session.content
    : session.content;
}