Skip to content

abso-core

Public

abso is version control for agents: the client, the engine and a server you can run on your own Cloudflare account.

Check passed
MCP
blame on this site's /mcp
CLI
abso blame worker/project/memory-store.ts --json
JSON
/christopher/abso-core/blame/worker/project/memory-store.ts?format=json
10 linesFirst import 100%Last change First import in version 0,

10 lines from 1 change in 1 version.

init0Start the project1import type { Entry, ProjectStore } from "./project-types.ts";
2
3/** A store that keeps entries in memory, for tests and local runs. */
4export class MemoryStore implements ProjectStore {
5 readonly entries: Entry[] = [];
6 append(entries: readonly Entry[]): void {
7 // A round trip through JSON, so tests catch anything that wouldn't survive storage.
8 for (const e of entries) this.entries.push(JSON.parse(JSON.stringify(e)) as Entry);
9 }