@juspay/neurolink 13.8.28 → 13.8.29
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.
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
## [13.8.
|
|
1
|
+
## [13.8.29](https://github.com/juspay/neurolink/compare/v13.8.28...v13.8.29) (2026-10-31)
|
|
2
2
|
|
|
3
3
|
### Bug Fixes
|
|
4
4
|
|
|
5
|
-
- **(
|
|
5
|
+
- **(deps):** move glob to 14 and archiver's minimatch to 11 to close two new advisories ([10934ff](https://github.com/juspay/neurolink/commit/10934ffd0db310a55ff86c62b85cce7e12ea73e7))
|
|
6
6
|
|
|
7
7
|
## [11.2.3](https://github.com/juspay/neurolink/compare/v11.2.2...v11.2.3) (2026-08-19)
|
|
8
8
|
|
|
@@ -6557,7 +6557,7 @@
|
|
|
6557
6557
|
{"objectID":"0e9ffbaad88dadb6493a28fd7481227ff45f814672b9224e965f48bf3b8b9e0b","title":"When NeuroLink uses it","url":"/docs/getting-started/providers/scaledown#when-neurolink-uses-it","content":"Every built-in consumer of decide — model routing, relevance-driven\ncompaction, tool routing and RAG planning — asks for the default decision\nprovider. That is the first one that is configured, in the environment or in\nthe credentials passed to the SDK, in the order TypeSafe, Laya,\nXOR, SubQ, Perplexity,\nCloudflare Clef, OpenAI Decisions,\nthen ScaleDown. ScaleDown counts with its key alone. So:\nOnly a ScaleDown key: built-in features use ScaleDown, and each of their\n decisions is then a paid request (see Cost) that still falls back to\n what NeuroLink did before on any failure.\nA ScaleDown key, plus any earlier provider's key: built-in features use\n that earlier provider. ScaleDown runs only where a caller asks for\n provider: \"scaledown\".\nA blank SCALEDOWN_API_KEY: no key. ScaleDown is not configured.\nprovider: \"scaledown\" with no key: an authentication error and no\n request.\n\nScaleDown is last on purpose, and its key is not shared. Apart from ScaleDown, the providers that\ncome after SubQ in the order are the ones whose key is also read by a text\nprovider (Perplexity's, the Cloudflare pair and OpenAI's), placed behind it so\nthat a key set only for a text provider cannot displace a decision provider a\nhost set up on purpose. That reasoning does not cover ScaleDown, whose key\nbelongs to no other provider: it was placed last, after OpenAI Decisions, as a\ndeliberate choice and not by that rule. The effect is that an ambient OPENAI_API_KEY, PERPLEXITY_API_KEY or\nCloudflare pair in the environment outranks a SCALEDOWN_API_KEY set on purpose.\nThe one exception is a gateway's key: an OPENAI_API_KEY found only in the\nenvironment is skipped for the default while OPENAI_BASE_URL, OPENAI_API_BASE\nor credentials.openai.baseURL names a host other than https://api.openai.com,\nso with nothing earlier configured ScaleDown is the default.","hierarchy":{"lvl0":"Getting Started","lvl1":"ScaleDown Provider Guide","lvl2":"When NeuroLink uses it","lvl3":""}},
|
|
6558
6558
|
{"objectID":"b06a4af3a93c004935822bcc4b8c3fa7b19a496460ca3d2a9f8ea72446d6c262","title":"How the catalog entry says this","url":"/docs/getting-started/providers/scaledown#how-the-catalog-entry-says-this","content":"scaledown.json needed two optional keys in its decide block that no earlier\nentry set, both read by the shared catalog engine for any entry that sets them.\nAn entry that omits them behaves exactly as before.\n\n| Key | Value | What it does |\n| --------------- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| authHeader | \"x-api-key\" | The API key is sent as x-api-key: <key> and no Authorization header is sent at all. \"bearer\", the default when the key is omitted, sends Authorization: Bearer <key>. This is the decide request's own setting; quirks.authHeaderStyle belongs to the chat path and is not read here |\n| stateEncoding | \"text\" | The state that goes out is always a string: a string is sent unchanged (not trimmed), any other value as its JSON text, and a state that is blank after trimming is refused before any request as an invalid_request. Omitted means the state goes out as given |\n\nThe rest of the entry is the same kind of data every decide entry carries: the\nsystem-one dialect, order 8, the endpoint {baseURL}/v1/scaledown, the model in\nthe body, trailing slashes dropped from the base URL, and the error rules in the\ntable below. The fields are also described in the generated API reference, under\nDecideBlock.","hierarchy":{"lvl0":"Getting Started","lvl1":"ScaleDown Provider Guide","lvl2":"How the catalog entry says this","lvl3":""}},
|
|
6559
6559
|
{"objectID":"9f3c9d52f412bb381d8f770fa11e1de1c1f66ba5b56c324de62a11d5f6cf35bd","title":"Images and video","url":"/docs/getting-started/providers/scaledown#images-and-video","content":"ScaleDown's endpoint reads text only, and the catalog entry declares no media. An\nimage or a video attached to a decide() call for ScaleDown is refused before any\nrequest, as an invalid_request, and the catalog marks both models\nvision: false. This refusal comes before the blank-state check, so a call that\ncarries media is always refused for the media. To decide over images today, use\nXOR, Perplexity,\nCloudflare Clef or OpenAI Decisions.","hierarchy":{"lvl0":"Getting Started","lvl1":"ScaleDown Provider Guide","lvl2":"Images and video","lvl3":""}},
|
|
6560
|
-
{"objectID":"32661eaf2994628038e0d49fc81ee5e962c42273147ac024b6b6a66c0d2f2142","title":"Timeouts","url":"/docs/getting-started/providers/scaledown#timeouts","content":"The default is 30,000 ms per attempt. The entry declares it (timeouts.decideMs\nin scaledown.json); 30,000 ms is also what the provider base class gives an\nentry that declares none. There is no shared 5,000 ms default: a provider that\nwants a shorter limit declares one, as TypeSafe, Laya and XOR declare 5,000 ms.\n\n30 seconds is not derived from a measurement of ScaleDown, but a 5-second limit\nwould have cut answers off. In the live test of 2026-10-20, with no timeoutMs, 10 identical\n265-token requests were answered in 0.3 to 9.8 s, and two of them (6.1 s and\n9.8 s) took longer than 5 s. A choice question is scored once per option, and the\nmarketing session saw one ScaleDown 504 (Endpoint request timed out) after\nabout 29 seconds. ScaleDown's own latency is otherwise not measured here, so a\ncaller with many options or a long state should pass timeoutMs.\n\nA 504 that ScaleDown sends is classified timeout and is not retried. A timeout\nraised by NeuroLink's own clock is retried once, so a
|
|
6560
|
+
{"objectID":"32661eaf2994628038e0d49fc81ee5e962c42273147ac024b6b6a66c0d2f2142","title":"Timeouts","url":"/docs/getting-started/providers/scaledown#timeouts","content":"The default is 30,000 ms per attempt. The entry declares it (timeouts.decideMs\nin scaledown.json); 30,000 ms is also what the provider base class gives an\nentry that declares none. There is no shared 5,000 ms default: a provider that\nwants a shorter limit declares one, as TypeSafe, Laya and XOR declare 5,000 ms.\n\n30 seconds is not derived from a measurement of ScaleDown, but a 5-second limit\nwould have cut answers off. In the live test of 2026-10-20, with no timeoutMs, 10 identical\n265-token requests were answered in 0.3 to 9.8 s, and two of them (6.1 s and\n9.8 s) took longer than 5 s. A choice question is scored once per option, and the\nmarketing session saw one ScaleDown 504 (Endpoint request timed out) after\nabout 29 seconds. ScaleDown's own latency is otherwise not measured here, so a\ncaller with many options or a long state should pass timeoutMs.\n\nA 504 that ScaleDown sends is classified timeout and is not retried. A timeout\nraised by NeuroLink's own clock before any response arrives is retried once, so a\nrequest that never answers fails after about twice the limit (a loopback\nstand-in, not ScaleDown, that did not answer in 30 s was cut off at 30,000 ms and\nretried, 60.4 s in all). A 200 whose body then stalls past the limit is not\nretried: the body read is cut off, the payload is empty, and the call fails after\none limit with a server error for a response without an answers map; an error\nstatus whose body stalls follows that status's usual retry rule. That is read from\nthe code, which every decision provider shares, not measured.","hierarchy":{"lvl0":"Getting Started","lvl1":"ScaleDown Provider Guide","lvl2":"Timeouts","lvl3":""}},
|
|
6561
6561
|
{"objectID":"a09b830ff06ece8be11a2d4fb2093b734e19a11ba1ba8393b17cce73b3f653b7","title":"Cost","url":"/docs/getting-started/providers/scaledown#cost","content":"List price: USD 0.05 per million input tokens, with output tokens not\ncharged, from ScaleDown's launch post and from the usage.cost in a response, as\nreported to this project by the marketing session on 2026-10-15. This project has\nnot priced a call itself and has not checked the rate since, so check ScaleDown's\ndashboard for the current one.\n\nNeuroLink prices a decision from the input tokens the reply reports, at that one\nrate, and counts output tokens at nothing. It does not read the reply's\nusage.cost. result.usage and the CLI's Cost: line are therefore an estimate\nfrom the list price, not a bill. A reply that reports no usage is priced at zero.\nThe sign-up allowance is a free allowance whose expiry is not established.","hierarchy":{"lvl0":"Getting Started","lvl1":"ScaleDown Provider Guide","lvl2":"Cost","lvl3":""}},
|
|
6562
6562
|
{"objectID":"9fe742ca7befe0c2159befcd8359f9831dcb2b94f4f462faff3e74b86b47fffc","title":"Errors","url":"/docs/getting-started/providers/scaledown#errors","content":"ScaleDown's documentation lists HTTP 402 (insufficient credits), 422 (invalid),\n502 (model service error) and 504 (timeout). The marketing session also saw, on\n2026-10-15, a 429 Max queue length has been reached (no rate-limit headers; it\ncleared after a few seconds) and a 504 Endpoint request timed out, and each\nwas answered when it retried by hand. NeuroLink shows the detail text of an\nerror body, whether it is a plain string, an object with a message, or a list\nof validation errors. A list, which is the form both 422 bodies took in the live\ntest of 2026-10-20, is shown as Request failed validation — <where>: <reason>,\nfor up to five entries and without the input each entry echoes back (that is\nthe request, state included). A body in any other form gives only\nScaleDown request failed with HTTP <status>; the kind and the retry behaviour\ndo not change.\n\n| Reply | Kind | Retried |\n| ---------------------------------------------------- | ------------------------------------------------------------------------- | --------- |\n| 401 | authentication — the provider instance stops retrying | no |\n| 402 | invalid_request — no credit left, or a key ScaleDown does not recognise | no |\n| 422 | invalid_request, with ScaleDown's reason when the body shows one | no |\n| 429 | rate_limit | yes, once |\n| 502 | server | yes, once |\n| 504 | timeout","hierarchy":{"lvl0":"Getting Started","lvl1":"ScaleDown Provider Guide","lvl2":"Errors","lvl3":""}},
|
|
6563
6563
|
{"objectID":"586e2eeaa1cb6c511d8eabf5f8e3aea68d19a0585eef1879b0a8432342bd93a7","title":"Data retention","url":"/docs/getting-started/providers/scaledown#data-retention","content":"NeuroLink has not read ScaleDown's data-handling terms. The state and the questions\nof every request go to api.scaledown.xyz, including the ones the built-in\nconsumers send for model routing, compaction, tool routing and RAG planning\nwhenever ScaleDown is the default decision provider. Read ScaleDown's terms before\nsending anything sensitive.","hierarchy":{"lvl0":"Getting Started","lvl1":"ScaleDown Provider Guide","lvl2":"Data retention","lvl3":""}},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juspay/neurolink",
|
|
3
|
-
"version": "13.8.
|
|
3
|
+
"version": "13.8.29",
|
|
4
4
|
"packageManager": "pnpm@10.34.9+sha512.f49b5a8ea0fdedb44bb3c0c1d6575092a53c2950d95b7ad15df11f17974877a2de3a01c07e934e9b28ce716e51c09a94962c7306d09be2e1e4b18a8c8762fd32",
|
|
5
5
|
"description": "The pipe layer of an AI nervous system: one interface connecting provider neurons to your application, across three inference types — generate, stream and decide. `decide` returns typed, calibrated judgements from a non-generative model (~400ms, ~$0.00002/call) for routing, tool selection and context budgeting. MCP-native (4 transports), voice TTS/STT/realtime, RAG, agents, memory, compaction, 9 observability exporters. OpenAI · Anthropic · Gemini · Bedrock · Azure · Ollama · TypeSafe Jev and more.",
|
|
6
6
|
"author": {
|
|
@@ -677,7 +677,7 @@
|
|
|
677
677
|
"conventional-changelog-conventionalcommits": "9.3.0",
|
|
678
678
|
"esbuild": "0.28.1",
|
|
679
679
|
"eslint": "10.1.0",
|
|
680
|
-
"glob": "
|
|
680
|
+
"glob": "14.0.2",
|
|
681
681
|
"husky": "9.1.7",
|
|
682
682
|
"playwright": "1.58.2",
|
|
683
683
|
"prettier": "3.8.1",
|
|
@@ -785,7 +785,9 @@
|
|
|
785
785
|
"tmp@<0.2.6": ">=0.2.6",
|
|
786
786
|
"axios@<1.13.5": ">=1.13.5",
|
|
787
787
|
"handlebars@<=4.7.9": ">=4.7.10",
|
|
788
|
-
"glob@>=
|
|
788
|
+
"glob@>=9.0.0 <14.0.2": ">=14.0.2",
|
|
789
|
+
"archiver-utils>glob": "14.0.2",
|
|
790
|
+
"readdir-glob>minimatch": "11.0.2",
|
|
789
791
|
"@semantic-release/npm": "^13.1.4",
|
|
790
792
|
"@opentelemetry/sdk-trace-base": "^2.6.0",
|
|
791
793
|
"@opentelemetry/sdk-trace-node": "^2.6.0",
|