{"draft":null,"from":51,"to":52,"files":[{"path":"client/src/changes.ts","added":19,"removed":0,"diff":"--- a/client/src/changes.ts\n+++ b/client/src/changes.ts\n@@ -141,6 +141,25 @@\n \t\t\t.filter((p) => only.length > 1 || !existsHere(root, p))\n \t\t\t.map((p) => nothingAt(root, p));\n \n+\t// --agent: someone else's draft, to review it. What they've recorded, not their folder; nothing here is recorded.\n+\tconst other = str(args, \"agent\");\n+\tif (other !== undefined) {\n+\t\tif (between || str(args, \"draft\") !== undefined)\n+\t\t\tthrow new UsageError(\"--agent shows that agent's unpublished changes: abso diff [file...] --agent <name>\");\n+\t\tconst answer = await api.diffOf(other);\n+\t\tconst files = pick(answer.files);\n+\t\tconst d = diffs(files);\n+\t\tconst where = `${spaceName(answer.draft)}${answer.base === null ? \"\" : ` (on version ${answer.base})`}`;\n+\t\tconst head =\n+\t\t\tfiles.length === 0\n+\t\t\t\t? `${other} has no recorded, unpublished changes${inPaths(only, \"to\")} in ${where}.`\n+\t\t\t\t: `${other}'s recorded, unpublished changes${inPaths(only, \"to\")} in ${where}: ${totals(files)}.`;\n+\t\treturn {\n+\t\t\ttext: [head, ...d.text].join(\"\\n\"),\n+\t\t\tjson: { agent: other, draft: answer.draft, base: answer.base, files: d.json, unmatched: unmatched(files) },\n+\t\t};\n+\t}\n+\n \tif (between) {\n \t\tconst from = version(words[0]!);\n \t\tconst to = version(words[1]!);"}],"unmatched":[]}