@juspay/neurolink 13.2.0 → 13.4.0
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 -6
- package/dist/browser/neurolink.min.js +411 -411
- package/dist/core/baseProvider.d.ts +0 -1
- package/dist/core/baseProvider.js +5 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/middleware/defaults.d.ts +68 -0
- package/dist/middleware/defaults.js +225 -0
- package/dist/middleware/factory.js +4 -15
- package/dist/middleware/presets.d.ts +12 -0
- package/dist/middleware/presets.js +29 -0
- package/dist/neurolink.d.ts +9 -0
- package/dist/neurolink.js +31 -0
- package/dist/types/config.d.ts +22 -0
- package/dist/types/livekit.d.ts +37 -11
- package/dist/voice/livekit/config.d.ts +13 -8
- package/dist/voice/livekit/config.js +72 -8
- package/dist/voice/livekit/index.d.ts +1 -0
- package/dist/voice/livekit/index.js +1 -0
- package/dist/voice/livekit/realtimeMcpTools.d.ts +8 -7
- package/dist/voice/livekit/realtimeMcpTools.js +10 -9
- package/dist/voice/livekit/realtimeMemory.d.ts +11 -3
- package/dist/voice/livekit/realtimeMemory.js +23 -5
- package/dist/voice/livekit/realtimeModel.d.ts +33 -0
- package/dist/voice/livekit/realtimeModel.js +89 -0
- package/dist/voice/livekit/realtimeVoiceAgent.d.ts +10 -6
- package/dist/voice/livekit/realtimeVoiceAgent.js +42 -39
- package/dist/voice/livekit/schemaSanitizer.d.ts +2 -0
- package/dist/voice/livekit/schemaSanitizer.js +2 -0
- package/docs-site/static/search-index.json +47 -36
- package/package.json +7 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juspay/neurolink",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.4.0",
|
|
4
4
|
"packageManager": "pnpm@10.15.1",
|
|
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": {
|
|
@@ -115,12 +115,14 @@
|
|
|
115
115
|
"test:forced-tool-declared": "pnpm exec tsx test/continuous-test-suite-forced-tool-declared.ts",
|
|
116
116
|
"test:span-content-redaction": "pnpm exec tsx test/continuous-test-suite-span-content-redaction.ts",
|
|
117
117
|
"test:voice-turn-memory": "pnpm exec tsx test/continuous-test-suite-voice-turn-memory.ts",
|
|
118
|
+
"test:realtime-voice": "pnpm exec tsx test/continuous-test-suite-realtime-voice.ts",
|
|
118
119
|
"test:error-classification-e2e": "pnpm exec tsx test/continuous-test-suite-error-classification-e2e.ts",
|
|
119
120
|
"test:error-classifier-contract": "pnpm exec tsx test/continuous-test-suite-error-classifier-contract.ts",
|
|
120
121
|
"test:bedrock-inference-profile": "pnpm exec tsx test/continuous-test-suite-bedrock-inference-profile.ts",
|
|
121
122
|
"test:retired-model-defaults": "pnpm exec tsx test/continuous-test-suite-retired-model-defaults.ts",
|
|
122
123
|
"test:loop-engine": "pnpm exec tsx test/continuous-test-suite-loop-engine.ts",
|
|
123
124
|
"test:middleware": "pnpm exec tsx test/continuous-test-suite-middleware.ts",
|
|
125
|
+
"test:middleware-defaults": "pnpm exec tsx test/continuous-test-suite-middleware-defaults.ts",
|
|
124
126
|
"test:stream-middleware": "pnpm exec tsx test/continuous-test-suite-stream-middleware.ts",
|
|
125
127
|
"test:guardrails-regex-safety": "pnpm exec tsx test/continuous-test-suite-guardrails-regex-safety.ts",
|
|
126
128
|
"test:stream-tool-telemetry": "pnpm exec tsx test/continuous-test-suite-stream-tool-telemetry.ts",
|
|
@@ -234,7 +236,7 @@
|
|
|
234
236
|
"// CI tier — fast, no live AI calls, safe for every commit (test:unit; also see the separate provider-safety-net CI job, which runs build + test:providers-mocked + test:provider-structure + test:error-classifier-contract on every PR)": "",
|
|
235
237
|
"test:tool-routing": "pnpm exec tsx test/continuous-test-suite-tool-routing.ts",
|
|
236
238
|
"test:tool-routing-semantic": "pnpm exec tsx test/continuous-test-suite-tool-routing-semantic.ts",
|
|
237
|
-
"test:unit": "pnpm run test:bugfixes && pnpm run test:mcp:infra && pnpm run test:mcp:registry && pnpm run test:mcp:spans && pnpm run test:tool-routing && pnpm run test:tool-routing-cli && pnpm run test:tool-dedup && pnpm run test:model-pool && pnpm run test:classifier-router && pnpm run test:tool-routing-semantic && pnpm run test:mcp-result-cache && pnpm run test:mcp-direct-name-repair && pnpm run test:mcp-breaker-resolved-errors && pnpm run test:archive:security && pnpm run test:office:security && pnpm run test:image-exif && pnpm run test:vector-chroma && pnpm run test:vector-pgvector && pnpm run test:vector-pinecone && pnpm run test:provider-wiring && pnpm run test:docs-mcp && pnpm run test:retired-model-defaults && pnpm run test:cli-fallback && pnpm run test:embedding-response-validation && pnpm run test:xiaomi-mimo-pilot && pnpm run test:rag-bounds && pnpm run test:longcat-pilot && pnpm run test:runinfra-pilot && pnpm run test:catalog-output-ceiling && pnpm run test:package-declarations",
|
|
239
|
+
"test:unit": "pnpm run test:bugfixes && pnpm run test:mcp:infra && pnpm run test:mcp:registry && pnpm run test:mcp:spans && pnpm run test:tool-routing && pnpm run test:tool-routing-cli && pnpm run test:tool-dedup && pnpm run test:model-pool && pnpm run test:classifier-router && pnpm run test:tool-routing-semantic && pnpm run test:mcp-result-cache && pnpm run test:mcp-direct-name-repair && pnpm run test:mcp-breaker-resolved-errors && pnpm run test:archive:security && pnpm run test:office:security && pnpm run test:image-exif && pnpm run test:vector-chroma && pnpm run test:vector-pgvector && pnpm run test:vector-pinecone && pnpm run test:provider-wiring && pnpm run test:docs-mcp && pnpm run test:retired-model-defaults && pnpm run test:cli-fallback && pnpm run test:embedding-response-validation && pnpm run test:xiaomi-mimo-pilot && pnpm run test:rag-bounds && pnpm run test:longcat-pilot && pnpm run test:runinfra-pilot && pnpm run test:catalog-output-ceiling && pnpm run test:package-declarations && pnpm run test:realtime-voice",
|
|
238
240
|
"// CI tier — live providers, runs only when API keys are present (test:credentials and test:dynamic make real provider calls when keys are set, so they live here, not in test:unit; test:matrix, a different suite covering the full provider capability matrix, runs nightly via .github/workflows/live-matrix.yml — test:providers itself is still only wired into test:live, not any GitHub Actions workflow)": "",
|
|
239
241
|
"test:live": "pnpm run test:providers && pnpm run test:mcp:http && pnpm run test:mcp:sdk && pnpm run test:mcp:cli && pnpm run test:observability && pnpm run test:context && pnpm run test:memory && pnpm run test:tool-reliability && pnpm run test:evaluation && pnpm run test:autoresearch && pnpm run test:credentials && pnpm run test:dynamic && pnpm run test:model-not-found-retryable",
|
|
240
242
|
"// CI tier — product output (image/video/TTS/PPT) — costs $$ per run (not wired into any GitHub Actions workflow as of this comment; run manually or add to live-matrix.yml if nightly coverage is needed)": "",
|
|
@@ -559,14 +561,16 @@
|
|
|
559
561
|
"@hono/node-server": "^1.19.15",
|
|
560
562
|
"@koa/cors": "^5.0.0",
|
|
561
563
|
"@koa/router": "^15.3.1",
|
|
562
|
-
"@livekit/agents": "^1.4.
|
|
564
|
+
"@livekit/agents": "^1.4.6",
|
|
563
565
|
"@livekit/agents-plugin-cartesia": "^1.4.5",
|
|
564
566
|
"@livekit/agents-plugin-deepgram": "^1.4.5",
|
|
565
567
|
"@livekit/agents-plugin-elevenlabs": "^1.4.5",
|
|
566
568
|
"@livekit/agents-plugin-google": "^1.4.5",
|
|
567
569
|
"@livekit/agents-plugin-livekit": "^1.4.5",
|
|
570
|
+
"@livekit/agents-plugin-openai": "^1.4.6",
|
|
568
571
|
"@livekit/agents-plugin-silero": "^1.4.5",
|
|
569
572
|
"@livekit/agents-plugin-soniox": "^1.4.5",
|
|
573
|
+
"@livekit/agents-plugin-xai": "^1.4.6",
|
|
570
574
|
"@livekit/rtc-node": "^0.13.29",
|
|
571
575
|
"@picovoice/cobra-node": "^3.0.2",
|
|
572
576
|
"bullmq": "^5.52.2",
|