@botbotgo/agent-harness 0.0.388 → 0.0.389
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.389";
|
|
2
2
|
export declare const AGENT_HARNESS_RELEASE_DATE = "2026-05-01";
|
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.389";
|
|
2
2
|
export const AGENT_HARNESS_RELEASE_DATE = "2026-05-01";
|
|
@@ -626,14 +626,10 @@ function buildFallbackEvidenceToolArgs(toolName, input) {
|
|
|
626
626
|
return { targetPath: ".", cwd: ".", timeoutMs: 10000 };
|
|
627
627
|
}
|
|
628
628
|
if (toolName === "finance_stock_report") {
|
|
629
|
-
const
|
|
630
|
-
const isApple = /\b(aapl|apple)\b|苹果/u.test(prompt);
|
|
631
|
-
const symbol = isWorkday ? "WDAY" : isApple ? "AAPL" : undefined;
|
|
632
|
-
const company = isWorkday ? "Workday Inc." : isApple ? "Apple Inc." : undefined;
|
|
629
|
+
const symbol = prompt.match(/\b[A-Z]{1,5}(?:\.[A-Z])?\b/u)?.[0];
|
|
633
630
|
return {
|
|
634
631
|
...(symbol ? { symbol } : {}),
|
|
635
|
-
|
|
636
|
-
query: symbol ? `${company} ${symbol} stock briefing` : "public company stock briefing",
|
|
632
|
+
query: symbol ? `${symbol} stock briefing` : "public company stock briefing",
|
|
637
633
|
market: "us",
|
|
638
634
|
count: 5,
|
|
639
635
|
};
|