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 175 to 318

Compare

+7 −2 in 4 places
Lines 14–20 at 318 (were 14–19 at 175)
1414import {
1515 LISTED,
1616 leftOutText,
17+ pullUnfinishedText,
1718 READER_REFUSES,
1819 readUnwritten,
1920 recordedFirst,
Lines 40–46 at 318 (were 39–44 at 175)
3940} from "./folder.ts";
4041import { fileArg } from "./history.ts";
4142import { modsBehindText } from "./install.ts";
43+import { isLocal } from "./local-store.ts";
4244import { withFolderLock } from "./lock.ts";
4345import { readKnownModes, writeKnownModes } from "./modes.ts";
4446import { queueText } from "./queue.ts";
Lines 326–336 at 318 (were 324–332 at 175)
324326 const space = (draft: string | null | undefined): string => (draft ? `draft ${draft}` : "shared");
325327 const parked = (me?.parked ?? []).filter((p) => p.draftChanges > 0);
326328 const credential = credentialLabel(root, config.server, env.env);
327− const behind = await newerClientNote(config.server);
329+ // A local project reaches for nothing on the network, npm included.
330+ const localProject = isLocal(config.server);
331+ const behind = localProject ? undefined : await newerClientNote(config.server);
328332 const lines = [
329− `Project ${config.project}: shared is at version ${status.version}. This folder is ${config.agent}${config.reader || me?.reader ? ", a reader (it records and pushes nothing)" : ""}, working in ${space(me?.draft)}.${config.follow ? ` It follows label ${config.follow}: pulls take it to the newest version with that label.` : ""} Signed in with ${credential.kind}${credential.id ? ` ${credential.id}` : ""}.`,
333+ `Project ${config.project}: shared is at version ${status.version}. This folder is ${config.agent}${config.reader || me?.reader ? ", a reader (it records and pushes nothing)" : ""}, working in ${space(me?.draft)}.${config.follow ? ` It follows label ${config.follow}: pulls take it to the newest version with that label.` : ""}${localProject ? ` It's a local project, in ${join(config.localStore ?? "", config.project)}.` : ` Signed in with ${credential.kind}${credential.id ? ` ${credential.id}` : ""}.`}`,
330334 ...(behind ? [behind] : []),
331335 // Is shared green (#39)? Right under the first line, since it decides what to do next.
332336 ...ciText(status.ci, status.version),
Lines 353–359 at 318 (were 349–354 at 175)
349353 ...modsBehindText(env.env),
350354 ...missingText(missing),
351355 ...unwrittenText(unwritten),
356+ ...pullUnfinishedText(root),
352357 ...(crlf.length > 0
353358 ? [
354359 `${plural(crlf.length, "file")} differ${crlf.length === 1 ? "s" : ""} from what abso recorded only in line endings (CRLF here; abso records and abso run sends LF). Harmless; abso fix-eol rewrites ${crlf.length === 1 ? "it" : "them"} with LF.`,
MCP
compare on this site's /mcp
CLI
abso diff 175 318 client/src/status-commands.ts --json
JSON
/christopher/abso-core/compare/175..318?file=client%2Fsrc%2Fstatus-commands.ts&format=json