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 251 to 252

Compare

+12 −0 in 1 place
Lines 898–915 at 252 (were 898–903 at 251)
898898
899899 /** Files with at least one visible line, sorted. */
900900 paths(): string[] {
901+ // Without walking every file the graph has ever had (abso Capacity): a draft's view over its base's has the base's
902+ // files, with the ones its draft touches checked here; a published version's are kept (knowPaths).
903+ const shared = this.#filesFrom === undefined ? null : this.#sharedFiles();
904+ if (shared) {
905+ const out = shared.from.paths().filter((p) => !shared.except.has(p));
906+ for (const p of shared.except) if (this.hasFile(p)) out.push(p);
907+ return out.sort();
908+ }
909+ if (this.#pathsFrom !== undefined) {
910+ if (this.#knownPaths === undefined) this.#knownPaths = this.#pathsFrom() ?? null;
911+ if (this.#knownPaths) return [...this.#knownPaths].sort();
912+ }
901913 if (this.#stable) {
902914 const paths: string[] = [];
903915 for (const path of this.graph.knownFiles()) {
MCP
compare on this site's /mcp
CLI
abso diff 251 252 src/engine/view.ts --json
JSON
/christopher/abso-core/compare/251..252?file=src%2Fengine%2Fview.ts&format=json