{"draft":null,"from":46,"to":47,"files":[{"path":"client/src/issues.ts","added":11,"removed":0,"diff":"--- a/client/src/issues.ts\n+++ b/client/src/issues.ts\n@@ -259,9 +259,20 @@\n \t\t\t? `${i.closed.how === \"done\" ? \"Done\" : \"Dropped\"} by ${i.closed.by}${i.closed.version !== null ? ` in version ${i.closed.version}` : \"\"}, ${shortWhen(i.closed.at)}.`\n \t\t\t: \"\",\n \t].filter((f) => f !== \"\");\n+\t// The links below open for people signed in on the website; an agent's fetch of one is refused. Say the way in\n+\t// before the first link, so an agent reads the files instead of hunting for them.\n+\tconst files =\n+\t\t(i.attachments ?? []).length +\n+\t\tp.comments.reduce((n, c) => n + (c.attachments ?? []).length, 0) +\n+\t\tp.asks.reduce((n, a) => n + (a.attachments ?? []).length + (a.answer?.attachments ?? []).length, 0);\n \treturn [\n \t\t`Issue ${i.id}: ${q(i.title)} [${i.status}]`,\n \t\tfacts.join(\" \"),\n+\t\t...(files > 0\n+\t\t\t? [\n+\t\t\t\t\t`${files === 1 ? \"1 file is\" : `${files} files are`} attached below. To read ${files === 1 ? \"it\" : \"them\"}: abso issue ${i.id} --save-attachments <folder> saves ${files === 1 ? \"it\" : \"every one\"} there, then open the files. The links are for people signed in on the website.`,\n+\t\t\t\t]\n+\t\t\t: []),\n \t\t...(i.lines ? [`From ${i.lines.file} lines ${i.lines.from}-${i.lines.to} at version ${i.lines.version}.`] : []),\n \t\t...(i.description !== \"\" ? [\"\", ...i.description.split(\"\\n\").map((l) => `  ${l}`)] : []),\n \t\t...attachmentLines(api, i.attachments, \"  \"),"}],"unmatched":[]}