tuna-agent 0.1.60 → 0.1.61
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.
|
@@ -973,7 +973,7 @@ export class ClaudeCodeAdapter {
|
|
|
973
973
|
const nextSection = sectionContent.indexOf('\n## ');
|
|
974
974
|
const rulesText = nextSection !== -1 ? sectionContent.substring(0, nextSection) : sectionContent;
|
|
975
975
|
const rules = [];
|
|
976
|
-
const ruleRegex = /^-
|
|
976
|
+
const ruleRegex = /^-{1,2}\s+(.+?)(?:\s*\(confidence:\s*([\d.]+)\))?$/;
|
|
977
977
|
// First pass: collect raw confidence values
|
|
978
978
|
const rawEntries = [];
|
|
979
979
|
for (const line of rulesText.split('\n')) {
|