Versions 190 to 318
Lines 1–15 at 318 (were 1–13 at 190)
1−// Ask Jev how to settle each marker block in one file (#19), the way abso pull
2−// leaves a held push's file. Prints Jev's pick and its probabilities; changes nothing.
4−// node scripts/autosettle/settle-one.ts <file> [--message "<your held push's message>"] [--issue "..."] [--name <path in the project>] [--json]
4+// node scripts/autosettle/settle-one.ts <file> [--via workers-ai|clef|jev] [--model <id>] [--message "<your held push's message>"] [--issue "..."] [--name <path in the project>] [--json]
6−// Needs JEV_API_KEY in the environment.
6+// --via workers-ai (the default) needs workers-ai/ running under wrangler dev; --via jev needs JEV_API_KEY.
77
1113
Lines 59–85 at 318 (were 57–64 at 190)
61− const v = await ask(h);
65+ const c = await askClef(h, { model: (flag(args, "--model") as "clef" | "clef-flash" | undefined) ?? "clef" });
69+ `Block ${i + 1} of ${holds.length} in ${h.file}: ${c.pick}, confidence ${c.confidence.toFixed(2)} (${c.by}${c.modelPick ? `, Clef said ${c.modelPick}` : ""})\n probabilities: ${PICKS.map((k) => `${k} ${(c.probabilities[k] * 100).toFixed(0)}%`).join(", ")}\n ${c.model}, ${c.ms.toFixed(0)} ms`,
78+ `Block ${i + 1} of ${holds.length} in ${h.file}: ${w.pick}, confidence ${w.confidence.toFixed(2)}\n ${w.reason}\n ${w.model}, ${w.ms.toFixed(0)} ms (model ${w.modelMs} ms), ${w.inputTokens} input tokens`,
- MCP
- compare on this site's /mcp
- CLI
- abso diff 190 318 scripts/autosettle/settle-one.ts --json
- JSON
- /christopher/abso-core/compare/190..318?file=scripts%2Fautosettle%2Fsettle-one.ts&format=json