Versions 14 to 15
Lines 31–39 at 15 (were 31–36 at 14)
3333 const json = (o: unknown) => res.writeHead(200, { "content-type": "application/json" }).end(JSON.stringify(o));
36+ return res.writeHead(400, { "content-type": "application/json" }).end('{"error":"the body is JSON"}');
Lines 116–138 at 15 (were 113–118 at 14)
115118
119+ it("says plainly when the server doesn't take attachments yet, and writes nothing", async () => {
122+ const init = await avcs(dir, ["init", "--server", fake.url, "--project", "old", "--agent", "ann"]);
128+ assert.match(r.out, /doesn't take attachments yet, so shot.png wasn't sent and nothing was written/);
135+
- MCP
- compare on this site's /mcp
- CLI
- abso diff 14 15 client/test/attach.test.ts --json
- JSON
- /christopher/abso-core/compare/14..15?file=client%2Ftest%2Fattach.test.ts&format=json