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 246 to 247

Compare

+11 −0 in 1 place
Lines 2811–2827 at 247 (were 2811–2816 at 246)
28112811 return this.#viewAt(this.#shared, last(this.#shared));
28122812 }
28132813
2814+ /**
2815+ * After each read of a reader kept between calls, one that changed nothing (abso Capacity): the cached views back
2816+ * under their budget, since views grow while a call lays files out and the cache weighs them only when they are
2817+ * asked for again (on abso, a tree with authors left 38 MB of views held against the 24 MB budget), and the agents
2818+ * the read decoded let go, read again from storage by the next call (7 MB on abso, every agent's news told).
2819+ */
2820+ afterRead(): void {
2821+ this.#views.trim();
2822+ if (this.#agents instanceof WriterAgents) this.#agents.release();
2823+ }
28142825 /** A view of a set, cached by the set's exact contents (views.ts). */
28152826 #view(set: ReadonlySet<AtomId>): ReadView {
28162827 this.#views.assertUnkeyedAllowed();
MCP
compare on this site's /mcp
CLI
abso diff 246 247 worker/project/project.ts --json
JSON
/christopher/abso-core/compare/246..247?file=worker%2Fproject%2Fproject.ts&format=json