@lazyingart/agintiflow 0.20.326 → 0.20.327
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/package.json +1 -1
- package/src/scs-evidence.js +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lazyingart/agintiflow",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.327",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "AgInTiFlow is a project-aware agent workspace for hybrid wet-dry R&D, hardware-aware intelligence, software automation, and industrial workflows.",
|
|
6
6
|
"license": "Apache-2.0",
|
package/src/scs-evidence.js
CHANGED
|
@@ -1378,6 +1378,12 @@ function stripHostManagedResponseNarration(goal = "") {
|
|
|
1378
1378
|
return String(goal || "").replace(
|
|
1379
1379
|
/\b(?:and\s+)?(?:write|return|provide)\s+(?:(?:a|the)\s+)?(?:(?:concise|final|normal|structured)\s+)?(?:(?:agent|task)\s+)?(?:answer|response|result)\b(?!\s+(?:as|at|file|in|into|json|markdown|pdf|text|to|under)\b)/gi,
|
|
1380
1380
|
""
|
|
1381
|
+
).replace(
|
|
1382
|
+
/\b(?:create|draft|generate|produce|prepare)\s+(?:(?:a|an|the|one)\s+)?[^.\n;]{0,120}?\b(?:answer|response|reply|message|inspiration(?:\s+point)?|summary|chat\s+text)\b/gi,
|
|
1383
|
+
""
|
|
1384
|
+
).replace(
|
|
1385
|
+
/\b(?:correct|fix|repair|replace|revise|rewrite|regenerate|update)\s+(?:(?:a|an|the)\s+)?(?:(?:prior|previous|earlier|last|current|invalid|incorrect|bad|old|failed)\s+)*(?:answer|response|reply|message|inspiration|summary|chat\s+text)\b/gi,
|
|
1386
|
+
""
|
|
1381
1387
|
);
|
|
1382
1388
|
}
|
|
1383
1389
|
|
|
@@ -1734,6 +1740,10 @@ function inferRequiredToolCalls(goal = "") {
|
|
|
1734
1740
|
|
|
1735
1741
|
function stripForbiddenLanguage(goal = "") {
|
|
1736
1742
|
return normalizeSoftLineWraps(goal)
|
|
1743
|
+
.replace(
|
|
1744
|
+
/\b(?:create|attach|return|send|write|generate|produce)(?:\s*,?\s*(?:and|or)\s*(?:create|attach|return|send|write|generate|produce))*\s+no\s+(?:files?|attachments?|artifacts?)\b/gi,
|
|
1745
|
+
""
|
|
1746
|
+
)
|
|
1737
1747
|
.replace(/\b(do not|don't|dont|must not|should not|never|no need to)\s+([^.\n;]+)/gi, "")
|
|
1738
1748
|
.replace(/\bwithout\s+([^.,:\uFF1A\n;]+)/gi, "")
|
|
1739
1749
|
.replace(/不要([^。\n;]+)/g, "")
|