Versions 95 to 96
Lines 604–630 at 96 (were 604–614 at 95)
607+ // Refused before anything goes up: an objection is one comment, and a part of one would read as a whole.
610+ `an objection holds up to ${COMMENT_MAX} characters, and this one has ${object.length}: say it shorter, and put the rest in a --comment`,
608− const r = await api.issueComment(id, (comment ?? object)!, object !== undefined, attachments);
617+ ids.push((await api.issueComment(id, part, object !== undefined, i === 0 ? attachments : [])).id);
619+ const inParts = parts.length > 1 ? ` in ${parts.length} parts (comments ${ids.join(", ")})` : "";
610− text: `${object !== undefined ? "Objected" : "Commented"} on issue ${id}${attachments.length > 0 ? ` with ${plural(attachments.length, "attachment")} (${attachments.join(", ")})` : ""}. Its agents hear it.`,
611− json: { id: r.id, issue: id, ...(attachments.length > 0 ? { attachments } : {}) },
621+ text: `${object !== undefined ? "Objected" : "Commented"} on issue ${id}${inParts}${attachments.length > 0 ? ` with ${plural(attachments.length, "attachment")} (${attachments.join(", ")})` : ""}. Its agents hear it.`,
Lines 893–958 at 96 (were 877–879 at 95)
896+
899+
900+/** Room a part keeps for its "(i/n)" line and blank line, and for closing a code block it ends inside. */
903+
905+ * A comment too long for one, as parts that each fit, each starting with "(i/n)". A part ends at the last
906+ * paragraph break that fits, else the last line break, else the last space, else at the limit. A part that
907+ * would end inside a fenced code block closes it, and the next part opens it again with the same fence line.
937+
938+/** Where to end a part of at most `room` characters of `text`: a paragraph break, a line break, a space, or the limit. */
942+ for (const at of [head.lastIndexOf("\n\n"), head.lastIndexOf("\n"), head.lastIndexOf(" ")]) if (at > floor) return at;
947+
948+/** The fence line of a code block still open at the end of `text`, and the marker that closes it, or undefined. */
- MCP
- compare on this site's /mcp
- CLI
- abso diff 95 96 client/src/issues.ts --json
- JSON
- /christopher/abso-core/compare/95..96?file=client%2Fsrc%2Fissues.ts&format=json