open-agents-ai 0.185.9 → 0.185.10

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.
Files changed (2) hide show
  1. package/dist/index.js +13 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -50646,7 +50646,12 @@ async function handleSponsoredEndpoint(ctx, local) {
50646
50646
  tpd: ns.limits?.maxTokensPerDay || 1e5
50647
50647
  },
50648
50648
  source: "nexus",
50649
- banner: { preset: ns.banner?.preset, message: ns.message }
50649
+ banner: ns.banner ? {
50650
+ preset: typeof ns.banner === "string" ? ns.banner : ns.banner?.preset,
50651
+ message: ns.message,
50652
+ linkUrl: ns.linkUrl ?? ns.link_url,
50653
+ linkText: ns.linkText ?? ns.link_text
50654
+ } : void 0
50650
50655
  });
50651
50656
  }
50652
50657
  if (nexusSponsors.length > 0) {
@@ -50698,7 +50703,13 @@ async function handleSponsoredEndpoint(ctx, local) {
50698
50703
  tpd: ks.limits?.maxTokensPerDay || 1e5
50699
50704
  },
50700
50705
  source: "nexus",
50701
- banner: ks.banner ? { preset: ks.banner?.preset, message: ks.message } : void 0
50706
+ // KV data has banner as a string (preset name), message/linkUrl/linkText at top level
50707
+ banner: ks.banner ? {
50708
+ preset: typeof ks.banner === "string" ? ks.banner : ks.banner?.preset,
50709
+ message: ks.message,
50710
+ linkUrl: ks.linkUrl ?? ks.link_url,
50711
+ linkText: ks.linkText ?? ks.link_text
50712
+ } : void 0
50702
50713
  });
50703
50714
  kvAdded++;
50704
50715
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.185.9",
3
+ "version": "0.185.10",
4
4
  "description": "AI coding agent powered by open-source models (Ollama/vLLM) — interactive TUI with agentic tool-calling loop",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",