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 26 to 27

Compare

+6 −6 in 4 places
Lines 91–97 at 27 (were 91–97 at 26)
9191 * The servers abso sends the token to on its own (#30): abso's hosted server and its Issues Worker.
9292 * A folder's .avcs/config.json can name any server, and a planted or cloned
9393 * one would otherwise receive every edit with the token. Others are trusted by
94− * this machine's ~/.abso/servers.json (machineServers) or AVCS_TRUSTED_SERVERS
94+ * this machine's ~/.abso/servers.json (machineServers) or ABSO_TRUSTED_SERVERS
9595 * (comma-separated): a server you run yourself, or a test one.
9696 */
9797export const TOKEN_SERVERS: readonly string[] = ["https://api.abso.dev", "https://issues.abso.dev"];
Lines 140–153 at 27 (were 140–153 at 26)
140140 return { trusted, issues };
141141}
142142
143−/** The servers trusted beyond TOKEN_SERVERS, as tokenGoesTo takes them: AVCS_TRUSTED_SERVERS, then this machine's. */
143+/** The servers trusted beyond TOKEN_SERVERS, as tokenGoesTo takes them: ABSO_TRUSTED_SERVERS, then this machine's. */
144144export function trustedList(fromEnv: string | undefined, machine: MachineServers): string {
145145 return [...(fromEnv ?? "").split(","), ...machine.trusted].filter((t) => t.trim() !== "").join(",");
146146}
147147
148148/**
149149 * The Issues Worker beside an avcs server (#54): this machine's servers.json
150− * first, then abso's own. AVCS_ISSUES_SERVER overrides both (issues.ts).
150+ * first, then abso's own. ABSO_ISSUES_SERVER overrides both (issues.ts).
151151 */
152152export function issuesServerFor(server: string, machine?: MachineServers): string | undefined {
153153 const o = serverOrigin(server);
Lines 197–207 at 27 (were 197–207 at 26)
197197
198198// --- ignore rules ---
199199//
200−// git's rules (gitignore(5)), for .gitignore and .avcsignore alike:
200+// git's rules (gitignore(5)), for .gitignore, .avcsignore and .absoignore alike:
201201//
202202// - Every folder may have both files. Their patterns are relative to their
203203// folder and apply only below it. A deeper file beats a shallower one, and
204−// in one folder .avcsignore beats .gitignore.
204+// in one folder .absoignore beats .avcsignore, which beats .gitignore.
205205// - Below those come .git/info/exclude, then git's global excludes file
206206// (core.excludesFile, or ~/.config/git/ignore), both relative to the root.
207207// - Within a file the last matching line wins, and `!` brings a path back.
Lines 214–220 at 27 (were 214–220 at 26)
214214// any number of folders.
215215
216216/** The per-folder ignore files, weakest first. */
217−export const IGNORE_FILES: readonly string[] = [".gitignore", ".avcsignore"];
217+export const IGNORE_FILES: readonly string[] = [".gitignore", ".avcsignore", ".absoignore"];
218218
219219export interface IgnoreRule {
220220 /** Where the line came from: a folder-relative path such as `src/.gitignore`, or the global file's path. */
MCP
compare on this site's /mcp
CLI
abso diff 26 27 client/src/core.ts --json
JSON
/christopher/abso-core/compare/26..27?file=client%2Fsrc%2Fcore.ts&format=json