@juspay/neurolink 12.49.6 → 12.49.8

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,12 @@
1
- ## [12.49.6](https://github.com/juspay/neurolink/compare/v12.49.5...v12.49.6) (2026-10-08)
1
+ ## [12.49.8](https://github.com/juspay/neurolink/compare/v12.49.7...v12.49.8) (2026-10-08)
2
2
 
3
3
  ### Bug Fixes
4
4
 
5
- - **(types):** declare baseURL in the per-request Vertex credentials ([c45b4f1](https://github.com/juspay/neurolink/commit/c45b4f12bec9da0487f806529213dd792c6aadae))
5
+ - **(providers):** move Cartesia text-to-speech to sonic-3.6 before October 20 ([38ca055](https://github.com/juspay/neurolink/commit/38ca0557c2787cee7bd047c6a72a63aabe092e7d))
6
+
7
+ ### Performance Improvements
8
+
9
+ - **(decision):** compact JEV routing and context requests ([94eb852](https://github.com/juspay/neurolink/commit/94eb852c85930a343c64a09b116278165d235978))
6
10
 
7
11
  ## [11.2.3](https://github.com/juspay/neurolink/compare/v11.2.2...v11.2.3) (2026-08-19)
8
12
 
package/README.md CHANGED
@@ -318,10 +318,11 @@ text provider (`cloudflare`) reads**, so setting them for it also configures
318
318
  `decide`: built-in features then use Clef whenever none of TypeSafe, Laya, XOR or
319
319
  Perplexity is configured, and it never displaces one that is. No switch turns
320
320
  that off while the two variables are set, and `credentials.cloudflare` does not
321
- configure `decide`. **The Workers AI endpoint ignores text past about 2,048
322
- tokens without an error (hosted service or model: unknown)**; NeuroLink refuses a state it estimates at more
323
- than 1,500 tokens with `max_tokens_exceeded`, which each built-in consumer treats
324
- as "carry on as before". The guide covers
321
+ configure `decide`. **The Workers AI endpoint ignored text past about 2,048
322
+ tokens until 2026-10-04 and read states of at least 190,153 tokens on
323
+ 2026-10-07 (hosted service or model: unknown)**; NeuroLink refuses a state it
324
+ estimates at more than 16,000 tokens with `max_tokens_exceeded`, which each
325
+ built-in consumer treats as "carry on as before". The guide covers
325
326
  [the limits](docs/getting-started/providers/cloudflare-clef.md#limits) and
326
327
  [when NeuroLink uses it](docs/getting-started/providers/cloudflare-clef.md#when-neurolink-uses-it).
327
328
 
@@ -416,7 +417,7 @@ The [guide's limits section](docs/getting-started/providers/perplexity-decider.m
416
417
 
417
418
  Cloudflare Clef, measured on a real account in October 2026: the follow-up of 133 probe calls checked structured-text cuts and four-image/JPG cases on both models; ids, options, score levels, formats and natural scripts were checked on `clef` only. The guide records each model and date.
418
419
 
419
- - The Workers AI endpoint ignores state text past about 2,048 tokens without an error (hosted service or model: unknown; Cloudflare documents 64K). NeuroLink refuses a state it estimates over 1,500 tokens (digits count 1 token each, punctuation 0.75, emoji 3, other non-ASCII text 1.5 per character, other text about 4 characters a token) with `max_tokens_exceeded`.
420
+ - Until 2026-10-04 the Workers AI endpoint ignored state text past about 2,048 tokens without an error (hosted service or model: unknown; Cloudflare documents 64K); on 2026-10-07 it read states of at least 190,153 tokens (`clef-flash`) and 52,154 (`clef`, which answered HTTP 529 for the 190,153-token one). NeuroLink refuses a state it estimates over 16,000 tokens, at most about 18,400 real ones (digits count 1 token each, punctuation 0.75, emoji 3, other non-ASCII text 1.5 per character, other text about 4 characters a token), with `max_tokens_exceeded`, and its default timeout adds 250 ms for each 1,000 estimated tokens.
420
421
  - 64 questions and 4 images per request (both Cloudflare's documented limits; the 65th question and a fifth image were refused; `tryDecide()` splits a larger question map into batches of 64). NeuroLink caps the encoded request at 256,000 bytes. On 2026-10-03, `clef-flash` accepted 262,000 text characters and refused 270,000. On 2026-10-04 both models accepted 520,000 text characters and refused 525,000 with 413/code 5021; the smaller local cap is retained. Exactly four images and the `image/jpg` alias were also accepted on both models.
421
422
  - On 2026-10-03, latency was 0.3 to 1.0 s for a small request and 1.1 s (`clef-flash`) / 1.3 s (`clef`) for 64 questions. A 64-question request with the same questions and a shorter state took 1.5 s / 2.3 s on 2026-10-04. The price is $0.24 per million input tokens for `clef` and $0.09 for `clef-flash`; no output price is listed on Cloudflare's Workers AI pricing page.
422
423