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 195 to 196

Compare

+15 −1 in 1 place
Lines 88–108 at 196 (were 88–94 at 195)
8888 }
8989 /** With the merge queue on (#39): queued, not landed yet; `ahead` publishes wait in front of it. */
9090 | { ok: true; queued: number; position: number; ahead: number; changes: number; settled?: readonly Settled[] }
91− | { ok: false; collisions: readonly Collision[]; reason?: string };
91+ | { ok: false; collisions: readonly Collision[]; reason?: string; advice?: readonly (Advice | null)[] };
92+/**
93+ * A server's first opinion on one collision of a held push (#19), when it runs AUTOSETTLE: which settle fits,
94+ * how sure, and why. `by`: rule (code decided), model (Workers AI), or turned down (the model's pick would break
95+ * the file, so an agent settles).
96+ */
97+export interface Advice {
98+ readonly pick: "yours" | "theirs" | "both" | "agent";
99+ readonly confidence: number;
100+ readonly reason: string;
101+ readonly by: "rule" | "model" | "turned down";
102+ readonly modelPick?: string;
103+ readonly model?: string;
104+ readonly ms: number;
105+}
92106/** A note on lines (#44): where its lines are now, or null when they're all gone. */
93107export interface NoteAnswer {
94108 readonly id: number;
MCP
compare on this site's /mcp
CLI
abso diff 195 196 client/src/api-answers.ts --json
JSON
/christopher/abso-core/compare/195..196?file=client%2Fsrc%2Fapi-answers.ts&format=json