Versions 11 to 12
Lines 75–82 at 12 (were 75–80 at 11)
7777
79+
7981
Lines 93–102 at 12 (were 91–96 at 11)
96+ /** Text files sent that hold what looks like a git conflict (a merge git left unfinished, or markers typed by hand). */
98+ /** Sent files whose path is long enough to fail on Windows, here or in another agent's folder. */
95101
96102/** The warning for text files that turned binary: what, where, and what to do. Empty when there are none. */
Lines 245–307 at 12 (were 239–252 at 11)
242− return { sent, paths, deleted, added, changed: answer.changed, news: answer.news, leftOut, turnedBinary };
244271
272+/** A note per file that holds what looks like a git conflict: abso records it as it is, as text, and does not call it a collision. */
273+export function gitMarkerText(list: readonly { path: string; line: number }[] | undefined): string[] {
276+ `Note: ${m.path} has lines that look like a git conflict (from line ${m.line}). abso records them as ordinary text and will publish them as they are. If a merge was left unfinished, fix the file first.`,
279+
280+/** Windows stops at 260 characters for a whole path, and another agent's folder may sit deeper than this one. */
283+
284+/** The sent files whose path will likely fail to write on Windows: the whole path is near its limit here, or the part inside the folder is already long. */
285+export function longPathsOf(root: string, paths: Iterable<string>): { path: string; length: number }[] {
291+
292+/** A note per long path: abso keeps it, but a Windows agent may not be able to write the file. */
293+export function longPathText(list: readonly { path: string; length: number }[] | undefined): string[] {
296+ `Note: ${p.path} is ${p.path.length} characters inside the folder (${p.length} with this folder's location). Windows stops at 260 for a whole path, so an agent on Windows may be unable to write it. A shorter path avoids that.`,
299+
245300/** "Recorded 3 files first: a, b, c." (names cut short past 8), or a word that the folder is paused. Empty when nothing was sent. */
247302 if (r.paused) return ["Recording is paused (abso resume): your folder's changes were not sent first."];
249− return [`Recorded first: ${recordedList(r)}.`];
304+ return [`Recorded first: ${recordedList(r)}.`, ...gitMarkerText(r.gitMarkers), ...longPathText(r.longPaths)];
251306
252307/** "2 changed (a, b), 3 deleted (x, y, z)": deletions said as such (#37, Builder 2 read its rm'd files as edits). */
Lines 362–382 at 12 (were 307–319 at 11)
307362 : `Recorded ${recordedList(r)}${changed === undefined ? "" : `; ${changed} changed on the server`}.`;
310− text: [...turnedBinaryText(r.turnedBinary), text, ...leftOutText(r.leftOut)].join("\n"),
- MCP
- compare on this site's /mcp
- CLI
- abso diff 11 12 client/src/commands.ts --json
- JSON
- /christopher/abso-core/compare/11..12?file=client%2Fsrc%2Fcommands.ts&format=json