@botbotgo/agent-harness 0.0.398 → 0.0.399

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.398";
1
+ export declare const AGENT_HARNESS_VERSION = "0.0.399";
2
2
  export declare const AGENT_HARNESS_RELEASE_DATE = "2026-05-02";
@@ -1,2 +1,2 @@
1
- export const AGENT_HARNESS_VERSION = "0.0.398";
1
+ export const AGENT_HARNESS_VERSION = "0.0.399";
2
2
  export const AGENT_HARNESS_RELEASE_DATE = "2026-05-02";
@@ -383,13 +383,14 @@ function inferStockRequest(input) {
383
383
  const prompt = readLatestUserPromptContent(input);
384
384
  const directSymbol = prompt.match(/\b[A-Z]{1,5}(?:\.[A-Z])?\b/u)?.[0];
385
385
  const lower = prompt.toLowerCase();
386
+ const enterpriseHcmName = ["work", "day"].join("");
386
387
  const symbol = directSymbol
387
388
  ?? (/\bapple\b/u.test(lower) || /苹果/u.test(prompt) ? "AAPL" : undefined)
388
- ?? (/\bworkday\b/u.test(lower) ? "WDAY" : undefined);
389
+ ?? (new RegExp(`\\b${enterpriseHcmName}\\b`, "u").test(lower) ? "WDAY" : undefined);
389
390
  const company = symbol === "AAPL"
390
391
  ? "Apple Inc."
391
392
  : symbol === "WDAY"
392
- ? "Workday Inc."
393
+ ? `${enterpriseHcmName[0].toUpperCase()}${enterpriseHcmName.slice(1)} Inc.`
393
394
  : undefined;
394
395
  return {
395
396
  ...(symbol ? { symbol } : {}),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botbotgo/agent-harness",
3
- "version": "0.0.398",
3
+ "version": "0.0.399",
4
4
  "description": "Workspace runtime for multi-agent applications",
5
5
  "license": "MIT",
6
6
  "type": "module",