evidence-mcp-dev 1.0.6 → 1.0.7

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 +7 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3301,7 +3301,8 @@ var google = {
3301
3301
  // AQ.: the newer AI Studio keys
3302
3302
  modelPrefix: "gemini-",
3303
3303
  matches: (host3) => host3 === "generativelanguage.googleapis.com",
3304
- windowChars: () => 8e5,
3304
+ windowChars: () => 4e5,
3305
+ // as Perplexity hosted: 800,000-character windows went over a 262k-token limit there (dense papers, 1.7 characters a token)
3305
3306
  request: ({ base_url, api_key, model, state, questions }) => ({
3306
3307
  url: `${base_url}/v1beta/decisions`,
3307
3308
  headers: { "content-type": "application/json", ...api_key ? { "x-goog-api-key": api_key } : {} },
@@ -3384,11 +3385,14 @@ var perplexity = {
3384
3385
  keyPrefixes: ["pplx-"],
3385
3386
  modelPrefix: "pplx-",
3386
3387
  matches: (host3) => host3 === "api.perplexity.ai",
3387
- // Hosted takes 256k tokens in one request (a 50k-token paper in 2 s); the
3388
+ // Hosted takes 262,144 tokens in one request (a 50k-token paper in 2 s); the
3388
3389
  // Mac app is limited to 32k and slows steeply beyond 25k, so it windows.
3390
+ // Hosted windows of 400,000 characters: a paper's Markdown ran as dense as 1.7
3391
+ // characters a token (tables, numbers) — 800,000-character windows went over
3392
+ // the limit, 367 claims on live 2026-11-11–16 ("requires 470509 tokens").
3389
3393
  windowChars: (baseUrl) => {
3390
3394
  try {
3391
- return new URL(baseUrl).hostname === "api.perplexity.ai" ? 8e5 : 9e4;
3395
+ return new URL(baseUrl).hostname === "api.perplexity.ai" ? 4e5 : 9e4;
3392
3396
  } catch {
3393
3397
  return 9e4;
3394
3398
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evidence-mcp-dev",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Internal development build of evidence-mcp. Not for public use.",
5
5
  "type": "module",
6
6
  "bin": {