Versions 4 to 318
new file, 247 lines
7+
15+
52+ const rows = sql.exec(`SELECT rowid AS id FROM ${table} WHERE ${condition} LIMIT 256`, ...bindings).toArray() as {
56+ sql.exec(`DELETE FROM ${table} WHERE rowid IN (${rows.map(() => "?").join(",")})`, ...rows.map((row) => row.id));
62+
63+ prepare(log: SqliteLog, root: WriterRoot, currentRoot: () => WriterRoot, authority: () => void) {
200+ this.#meta.write("history", "cursor", { root: committed, next: from, digest } satisfies Cursor);
223+ if (!cursor || !same(cursor.root, root) || cursor.next !== root.logLength || cursor.digest !== root.digest)
- MCP
- compare on this site's /mcp
- CLI
- abso diff 4 318 server/src/history-host.ts --json
- JSON
- /christopher/abso-core/compare/4..318?file=server%2Fsrc%2Fhistory-host.ts&format=json