@botbotgo/agent-harness 0.0.396 → 0.0.397
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.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const AGENT_HARNESS_VERSION = "0.0.
|
|
1
|
+
export declare const AGENT_HARNESS_VERSION = "0.0.397";
|
|
2
2
|
export declare const AGENT_HARNESS_RELEASE_DATE = "2026-05-02";
|
package/dist/package-version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const AGENT_HARNESS_VERSION = "0.0.
|
|
1
|
+
export const AGENT_HARNESS_VERSION = "0.0.397";
|
|
2
2
|
export const AGENT_HARNESS_RELEASE_DATE = "2026-05-02";
|
|
@@ -196,6 +196,9 @@ function hasUsefulVisibleSynthesis(value) {
|
|
|
196
196
|
if (/\b(?:must|need|needs|should|will)\s+(?:now\s+)?call\s+[A-Za-z_][A-Za-z0-9_]*\b/iu.test(trimmed)) {
|
|
197
197
|
return false;
|
|
198
198
|
}
|
|
199
|
+
if (/\b(?:let'?s\s+try|we\s+can(?:not|'t)?\s+(?:run|call|use|try)|cannot\s+.+\btry\b|can\s+run\s+[A-Za-z_][A-Za-z0-9_]*)/iu.test(trimmed)) {
|
|
200
|
+
return false;
|
|
201
|
+
}
|
|
199
202
|
try {
|
|
200
203
|
const parsed = JSON.parse(trimmed);
|
|
201
204
|
if (typeof parsed === "object" && parsed !== null) {
|