@fullstackhouse/cerber 0.27.1 → 0.27.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/core/diff.js CHANGED
@@ -107,3 +107,10 @@ export function unclaimedFiles(diff, chapters) {
107
107
  .map((p) => p.path)
108
108
  .filter((p) => !claimed.has(p));
109
109
  }
110
+ /**
111
+ * How many diff lines each file contributes, by path. The cockpit renders one
112
+ * table row per line, so this is what a chapter costs a browser to draw.
113
+ */
114
+ export function diffLineCounts(diff) {
115
+ return new Map(splitDiffByFile(diff).map((p) => [p.path, p.patch.split("\n").length]));
116
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fullstackhouse/cerber",
3
- "version": "0.27.1",
3
+ "version": "0.27.3",
4
4
  "description": "AI code-review cockpit: Claude reviews your PRs into local artifacts; nothing reaches GitHub until you say so.",
5
5
  "license": "MIT",
6
6
  "author": "Full Stack House (https://fullstack.house)",