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
show on this site's /mcp
CLI
abso show 87 --json
JSON
/christopher/abso-core/versions/87?format=json

A folder that reads signed out asks fetch only to follow no redirect: credentials isn't in the Workers fetch types, and Node's fetch keeps no cookies to send.

of shared·pinch··Not checked

Version 86 · Files at version 87

3 files, 2 lines added, 4 removed.

--- a/client/src/api.ts
+++ b/client/src/api.ts
@@ -201,7 +201,7 @@
201201 method,
202202 headers: this.headers(sent === undefined ? undefined : "application/json"),
203203 ...(sent === undefined ? {} : { body: sent }),
204− ...(visitor ? { redirect: "error" as const, credentials: "omit" as const } : {}),
204+ ...(visitor ? { redirect: "error" as const } : {}),
205205 signal: AbortSignal.timeout(timeoutMs),
206206 });
207207 } catch (err) {
--- a/client/src/join-commands.ts
+++ b/client/src/join-commands.ts
@@ -135,7 +135,6 @@
135135 try {
136136 const response = await fetch(new URL(`/p/${encodeURIComponent(project)}/status`, server), {
137137 redirect: "error",
138− credentials: "omit",
139138 signal: AbortSignal.timeout(3000),
140139 });
141140 return response.status === 200;
--- a/client/test/visitor.test.ts
+++ b/client/test/visitor.test.ts
@@ -217,7 +217,7 @@
217217 assert.equal(elsewhereHeard, 0);
218218 });
219219
220− it("asks fetch for no redirect and no credentials, join's public check too (a fetch spy)", async () => {
220+ it("asks fetch to follow no redirect and sends no credential, join's public check too (a fetch spy)", async () => {
221221 const root = temp("spy");
222222 writeConfig(root, { server: url, project: "abso-core", agent: "", visitor: true });
223223 const real = globalThis.fetch;
@@ -236,7 +236,6 @@
236236 assert.equal(calls.length, 2);
237237 for (const init of calls) {
238238 assert.equal(init.redirect, "error");
239− assert.equal(init.credentials, "omit");
240239 const headers = new Headers(init.headers);
241240 assert.equal(headers.get("authorization"), null);
242241 assert.equal(headers.get("cookie"), null);