Versions 34 to 35
Lines 43–74 at 35 (were 43–48 at 34)
55+ return json({ ask: { by: "bob", answer: { by: "ann", words: "w", at: 0, attachments: files } } });
66+ answer: { attachments: [{ id: "a00000000000e", name: "answer.png", type: "image/png", size: 13 }] },
4672 // Issue 8 carries an svg-drawn image on itself and again on a comment, plus one more on the comment.
Lines 205–269 at 35 (were 179–184 at 34)
181207
225+ const ask = JSON.parse(seen.at(-1)!.body.toString()) as { question: string; attachments: string[] };
232+ const answer = JSON.parse(seen.at(-1)!.body.toString()) as { words: string; attachments: string[] };
241+
245+ const init = await avcs(dir, ["init", "--server", fake.url, "--project", "keepless", "--agent", "ann"]);
257+
264+ assert.deepEqual(readdirSync(out).sort(), ["a00000000000d-question.png", "a00000000000e-answer.png"]);
266+
Lines 323–356 at 35 (were 238–242 at 34)
239324 /\n {4}attached a0000000000aa: "logo.png", 4 KB, \S+\/a0000000000aa\n {6}drawn from "logo.svg", 512 B, https:\/\/issues.example\/p\/x\/attachments\/a0000000000aa\/source/,
350+ const asks = issuePage(asked, { attachmentUrl: (id: string) => `https://i.example/${id}` }).join("\n");
353+ /ask 4: .*"Which\?"\n {4}attached a00000000000d: "a.png", 1 KB, https:\/\/i.example\/a00000000000d\n {4}answer: "This"\n {6}attached a00000000000e: "b.png", 1 KB/,
- MCP
- compare on this site's /mcp
- CLI
- abso diff 34 35 client/test/attach.test.ts --json
- JSON
- /christopher/abso-core/compare/34..35?file=client%2Ftest%2Fattach.test.ts&format=json