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

Versions 257 to 258

Compare

+9 −1 in 2 places
Lines 255–262 at 258 (were 255–260 at 257)
255255const WRITER_CACHE_ROWS = 16_384;
256256/** The biggest row the writer cache keeps (abso Capacity): an agent and all the news it was told can be 100 KB. */
257257const WRITER_CACHE_ROW_BYTES = 16_384;
258+/** A file's packed line pages: read only to lay it out, and the view keeps the layout (abso Capacity). */
259+const LAYOUT_PAGES: ReadonlySet<string> = new Set(["file-lines:pages", "file-texts:pages", "file-deletes:pages"]);
258260export interface WriterSource {
259261 readonly generation: number;
260262 readonly logLength: number;
Lines 407–419 at 258 (were 405–411 at 257)
405407 throw Error("accepted atom indexing requires writer storage");
406408 this.#store = store;
407409 this.#writerStorage = options.writerStorage
408− ? new CachedStateStorage(options.writerStorage, WRITER_CACHE_BYTES, WRITER_CACHE_ROWS, WRITER_CACHE_ROW_BYTES)
410+ ? new CachedStateStorage(
411+ options.writerStorage,
412+ WRITER_CACHE_BYTES,
413+ WRITER_CACHE_ROWS,
414+ WRITER_CACHE_ROW_BYTES,
415+ (collection) => LAYOUT_PAGES.has(collection),
416+ )
409417 : undefined;
410418 if (this.#writerStorage) {
411419 const storage = this.#writerStorage;
MCP
compare on this site's /mcp
CLI
abso diff 257 258 worker/project/project.ts --json
JSON
/christopher/abso-core/compare/257..258?file=worker%2Fproject%2Fproject.ts&format=json