@juspay/neurolink 12.49.6 → 12.49.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.
- package/CHANGELOG.md +2 -2
- package/README.md +6 -5
- package/dist/browser/neurolink.min.js +308 -308
- package/dist/factories/providerDescriptors.js +26 -17
- package/dist/models/manifests/cloudflareClef.d.ts +4 -3
- package/dist/models/manifests/cloudflareClef.js +4 -3
- package/dist/providers/cloudflareClef.d.ts +4 -3
- package/dist/providers/cloudflareClef.js +20 -3
- package/dist/providers/systemOneDecision.d.ts +4 -2
- package/dist/providers/systemOneDecision.js +8 -5
- package/dist/utils/providerConfig.js +1 -1
- package/docs-site/static/search-index.json +16 -16
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
## [12.49.
|
|
1
|
+
## [12.49.7](https://github.com/juspay/neurolink/compare/v12.49.6...v12.49.7) (2026-10-08)
|
|
2
2
|
|
|
3
3
|
### Bug Fixes
|
|
4
4
|
|
|
5
|
-
- **(
|
|
5
|
+
- **(decide):** raise Clef's state limit to 16,000 tokens and scale its timeout with the state ([df1f87b](https://github.com/juspay/neurolink/commit/df1f87b34d4101f7194a2051a53e6cf68df09333))
|
|
6
6
|
|
|
7
7
|
## [11.2.3](https://github.com/juspay/neurolink/compare/v11.2.2...v11.2.3) (2026-08-19)
|
|
8
8
|
|
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
|
|
322
|
-
tokens
|
|
323
|
-
|
|
324
|
-
|
|
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
|
-
-
|
|
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
|
|