@corbat-tech/coco 2.14.0 → 2.14.1
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/cli/index.js +22 -4
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +12 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -20846,7 +20846,18 @@ Examples:
|
|
|
20846
20846
|
required,
|
|
20847
20847
|
suggestions,
|
|
20848
20848
|
maturity,
|
|
20849
|
-
diff
|
|
20849
|
+
// Include full diff for skill access, but strip raw content from files
|
|
20850
|
+
// to prevent dumping thousands of lines into the LLM tool result.
|
|
20851
|
+
// Skills that need file content can access diff.files[].hunks,
|
|
20852
|
+
// but the serialised output stays lean (stats + file names only).
|
|
20853
|
+
diff: {
|
|
20854
|
+
...diff,
|
|
20855
|
+
files: diff.files.map((f) => ({
|
|
20856
|
+
...f,
|
|
20857
|
+
hunks: []
|
|
20858
|
+
// strip raw diff hunks — findings already extracted above
|
|
20859
|
+
}))
|
|
20860
|
+
}
|
|
20850
20861
|
};
|
|
20851
20862
|
if (diffWarnings.length > 0) {
|
|
20852
20863
|
result.warnings = diffWarnings;
|