@aigne/doc-smith 0.7.1 → 0.7.2
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/.github/workflows/ci.yml
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.7.2](https://github.com/AIGNE-io/aigne-doc-smith/compare/v0.7.1...v0.7.2) (2025-09-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* release 0.7.2 ([c3be232](https://github.com/AIGNE-io/aigne-doc-smith/commit/c3be2323e885cf5d11d654629fe30cc3720f79d3))
|
|
9
|
+
|
|
3
10
|
## [0.7.1](https://github.com/AIGNE-io/aigne-doc-smith/compare/v0.7.0...v0.7.1) (2025-08-31)
|
|
4
11
|
|
|
5
12
|
|
package/agents/check-detail.mjs
CHANGED
|
@@ -81,8 +81,9 @@ export default async function checkDetail(
|
|
|
81
81
|
|
|
82
82
|
// If file exists, check content validation
|
|
83
83
|
let contentValidationFailed = false;
|
|
84
|
+
let validationResult = {};
|
|
84
85
|
if (detailGenerated && fileContent && structurePlan) {
|
|
85
|
-
|
|
86
|
+
validationResult = await checkDetailResult({
|
|
86
87
|
structurePlan,
|
|
87
88
|
reviewContent: fileContent,
|
|
88
89
|
docsDir,
|
|
@@ -121,6 +122,7 @@ export default async function checkDetail(
|
|
|
121
122
|
sourceIds,
|
|
122
123
|
originalStructurePlan,
|
|
123
124
|
structurePlan,
|
|
125
|
+
detailFeedback: contentValidationFailed ? validationResult.detailFeedback : "",
|
|
124
126
|
});
|
|
125
127
|
|
|
126
128
|
return {
|
package/codecov.yml
ADDED
package/package.json
CHANGED
|
@@ -300,7 +300,7 @@ function checkContentStructure(markdown, source, errorMessages) {
|
|
|
300
300
|
}
|
|
301
301
|
|
|
302
302
|
// Check if content ends with proper punctuation (indicating completeness)
|
|
303
|
-
const validEndingPunctuation = [".", "。", ")", "|", "*"];
|
|
303
|
+
const validEndingPunctuation = [".", "。", ")", "|", "*", ">"];
|
|
304
304
|
const trimmedText = markdown.trim();
|
|
305
305
|
const hasValidEnding = validEndingPunctuation.some((punct) => trimmedText.endsWith(punct));
|
|
306
306
|
|