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 179 to 180

Compare

+7 −1 in 1 place
Lines 3–16 at 180 (were 3–10 at 179)
33import git from "isomorphic-git";
44import { absoVersion } from "../src/ingest.ts";
55import { MemoryFS } from "../src/memory-fs.ts";
6−import { commitShared, projectOfRepo, readTreeFiles, repoName } from "../src/push.ts";
6+import { blobOid, commitShared, projectOfRepo, readTreeFiles, repoName } from "../src/push.ts";
77
8+it("hashes exact Git blob bytes including a nonzero buffer offset", async () => {
9+ assert.equal(await blobOid(new Uint8Array()), "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391");
10+ const bytes = new TextEncoder().encode("prefixhello\nsuffix");
11+ assert.equal(await blobOid(bytes.subarray(6, 12)), "ce013625030ba8dba906f756967f9e9ca394464a");
12+});
814describe("repo names", () => {
915 it("names a project's Artifacts repo abso-<project>, and back", () => {
1016 assert.equal(repoName("game"), "abso-game");
MCP
compare on this site's /mcp
CLI
abso diff 179 180 server/test/push.test.ts --json
JSON
/christopher/abso-core/compare/179..180?file=server%2Ftest%2Fpush.test.ts&format=json