@botbotgo/agent-harness 0.0.397 → 0.0.398
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.398";
|
|
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.398";
|
|
2
2
|
export const AGENT_HARNESS_RELEASE_DATE = "2026-05-02";
|
|
@@ -193,6 +193,12 @@ function hasUsefulVisibleSynthesis(value) {
|
|
|
193
193
|
if (/^(?:model_request|tool_call|call_tool)/iu.test(trimmed)) {
|
|
194
194
|
return false;
|
|
195
195
|
}
|
|
196
|
+
if (/^\{\s*"(?:name|arguments|todos|symbol|query|market|count)"\s*:/iu.test(trimmed)) {
|
|
197
|
+
return false;
|
|
198
|
+
}
|
|
199
|
+
if (/^(?:stdout|stderr|exitCode)\s*:/iu.test(trimmed)) {
|
|
200
|
+
return false;
|
|
201
|
+
}
|
|
196
202
|
if (/\b(?:must|need|needs|should|will)\s+(?:now\s+)?call\s+[A-Za-z_][A-Za-z0-9_]*\b/iu.test(trimmed)) {
|
|
197
203
|
return false;
|
|
198
204
|
}
|
|
@@ -33,11 +33,21 @@ function shouldSuppressVisibleToolCallText(value) {
|
|
|
33
33
|
if (!trimmed) {
|
|
34
34
|
return false;
|
|
35
35
|
}
|
|
36
|
+
if (/^(?:model_request|tool_call|call_tool)\b/iu.test(trimmed)) {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
if (/\b(?:must|need|needs|should|will)\s+(?:now\s+)?(?:call|use|run|produce)\s+[A-Za-z_][A-Za-z0-9_]*\b/iu.test(trimmed)) {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
if (/^\{\s*"(?:name|arguments|todos|symbol|query|market|count)"\s*:/iu.test(trimmed)) {
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
36
45
|
try {
|
|
37
46
|
const parsed = JSON.parse(trimmed);
|
|
38
47
|
if (typeof parsed === "object"
|
|
39
48
|
&& parsed !== null
|
|
40
49
|
&& ("symbol" in parsed
|
|
50
|
+
|| "todos" in parsed
|
|
41
51
|
|| "query" in parsed
|
|
42
52
|
|| "market" in parsed
|
|
43
53
|
|| "count" in parsed
|