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 83 to 84

Compare

+5 −5 in 3 places
Lines 39–45 at 84 (were 39–45 at 83)
3939} from "./commands.ts";
4040import { configPath, findRoot, installKey, readConfig, readToken } from "./config.ts";
4141import { newsBlockLines, newsShown, TOKEN_SERVERS } from "./core.ts";
42−import { doctor, doctorText, plainError, realProbe, whoami } from "./doctor.ts";
42+import { checkServer, doctor, doctorText, plainError, realProbe, whoami } from "./doctor.ts";
4343import { runDraftSync, runLand, runSwitch } from "./drafts.ts";
4444import { runExport } from "./export.ts";
4545import { runBlame, runWhere, runWho, runWhy } from "./history.ts";
Lines 208–216 at 84 (were 208–216 at 83)
208208 flags: { server: "string" },
209209 usage: "abso whoami [--server <url>]",
210210 about:
211− "Who and where you're signed in: this box's sign-in, as the server sees it (so a revoked one shows), its projects, roles and expiry, and this folder's project, agent and kind of key. Never a credential.",
211+ "Who and where you're signed in: this box's sign-in, as the server sees it (so a revoked one shows), its projects, roles and expiry, and this folder's project, agent and kind of key. Never a credential. The server is --server, else ABSO_SERVER, else this folder's, else the one this box signed in to with abso login, else https://api.abso.dev.",
212212 run: async (args, env) => {
213− const out = await whoami(boxServer(args, env), env.cwd, env.env, realProbe());
213+ const out = await whoami(checkServer(str(args, "server"), env.cwd, env.env), env.cwd, env.env, realProbe());
214214 return { text: out.text, json: out.json };
215215 },
216216 },
Lines 218–226 at 84 (were 218–226 at 83)
218218 flags: { server: "string" },
219219 usage: "abso doctor [--server <url>]",
220220 about:
221− "Checks what commands need, one line each: Node's version, that the server answers, this box's sign-in (present, unexpired, accepted), and this folder's key against its project. A failed check says what to do next, and the exit is 1. Never prints a credential.",
221+ "Checks what commands need, one line each: Node's version, that the server answers, this box's sign-in (present, unexpired, accepted), and this folder's key against its project. A failed check says what to do next, and the exit is 1. Never prints a credential. It picks the server as whoami does.",
222222 run: async (args, env) => {
223− const checks = await doctor(boxServer(args, env), env.cwd, env.env, realProbe());
223+ const checks = await doctor(checkServer(str(args, "server"), env.cwd, env.env), env.cwd, env.env, realProbe());
224224 const failed = checks.some((c) => c.result === "fail");
225225 return { text: doctorText(checks), json: { checks }, ...(failed ? { exit: EXIT.error } : {}) };
226226 },
MCP
compare on this site's /mcp
CLI
abso diff 83 84 client/src/main.ts --json
JSON
/christopher/abso-core/compare/83..84?file=client%2Fsrc%2Fmain.ts&format=json