@juspay/neurolink 13.8.17 → 13.8.18

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 (192) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/README.md +1 -1
  3. package/dist/action/actionExecutor.d.ts +33 -3
  4. package/dist/action/actionExecutor.js +71 -15
  5. package/dist/action/actionInputs.js +4 -1
  6. package/dist/action/cliVersion.d.ts +25 -0
  7. package/dist/action/cliVersion.js +26 -0
  8. package/dist/action/index.d.ts +2 -1
  9. package/dist/action/index.js +2 -1
  10. package/dist/adapters/video/directorPipeline.js +46 -36
  11. package/dist/adapters/video/ffmpegAdapter.d.ts +17 -0
  12. package/dist/adapters/video/ffmpegAdapter.js +32 -5
  13. package/dist/adapters/video/frameExtractor.js +1 -1
  14. package/dist/adapters/video/videoMerger.js +5 -2
  15. package/dist/agent/arithmeticEvaluator.d.ts +32 -0
  16. package/dist/agent/arithmeticEvaluator.js +349 -0
  17. package/dist/agent/directTools.d.ts +6 -18
  18. package/dist/agent/directTools.js +17 -56
  19. package/dist/artifacts/artifactStore.d.ts +22 -1
  20. package/dist/artifacts/artifactStore.js +66 -6
  21. package/dist/auth/anthropicOAuth.d.ts +26 -1
  22. package/dist/auth/anthropicOAuth.js +81 -5
  23. package/dist/auth/secureFiles.d.ts +37 -0
  24. package/dist/auth/secureFiles.js +95 -0
  25. package/dist/auth/tokenStore.d.ts +43 -6
  26. package/dist/auth/tokenStore.js +260 -79
  27. package/dist/avatar/providers/DIDAvatar.js +49 -45
  28. package/dist/avatar/providers/ReplicateAvatar.js +33 -40
  29. package/dist/browser/neurolink.min.js +485 -558
  30. package/dist/cli/commands/auth.js +112 -70
  31. package/dist/cli/commands/proxy.d.ts +4 -0
  32. package/dist/cli/commands/proxy.js +128 -13
  33. package/dist/cli/commands/serve.d.ts +10 -1
  34. package/dist/cli/commands/serve.js +98 -17
  35. package/dist/cli/commands/server.js +17 -5
  36. package/dist/cli/index.js +146 -5
  37. package/dist/cli/loop/optionsSchema.d.ts +1 -1
  38. package/dist/cli/utils/envManager.js +17 -3
  39. package/dist/cli/utils/serverUtils.d.ts +39 -3
  40. package/dist/cli/utils/serverUtils.js +63 -6
  41. package/dist/core/baseProvider.js +7 -1
  42. package/dist/core/modules/MessageBuilder.js +5 -0
  43. package/dist/core/modules/ToolsManager.d.ts +46 -1
  44. package/dist/core/modules/ToolsManager.js +190 -43
  45. package/dist/files/fileReferenceRegistry.d.ts +2 -23
  46. package/dist/files/fileReferenceRegistry.js +55 -5
  47. package/dist/hitl/hitlManager.js +1 -0
  48. package/dist/index.d.ts +2 -1
  49. package/dist/index.js +6 -1
  50. package/dist/mcp/auth/tokenStorage.d.ts +7 -0
  51. package/dist/mcp/auth/tokenStorage.js +23 -4
  52. package/dist/mcp/externalServerManager.d.ts +13 -3
  53. package/dist/mcp/externalServerManager.js +154 -136
  54. package/dist/mcp/index.d.ts +2 -0
  55. package/dist/mcp/index.js +3 -0
  56. package/dist/mcp/mcpClientFactory.d.ts +14 -0
  57. package/dist/mcp/mcpClientFactory.js +70 -7
  58. package/dist/mcp/projectConfigTrust.d.ts +72 -0
  59. package/dist/mcp/projectConfigTrust.js +237 -0
  60. package/dist/mcp/transportUrlPolicy.d.ts +39 -0
  61. package/dist/mcp/transportUrlPolicy.js +172 -0
  62. package/dist/music/providers/BeatovenMusic.js +35 -46
  63. package/dist/music/providers/ReplicateMusic.js +33 -40
  64. package/dist/neurolink.d.ts +16 -1
  65. package/dist/neurolink.js +64 -11
  66. package/dist/processors/archive/ArchiveProcessor.js +15 -1
  67. package/dist/processors/archive/zipEntryIndex.d.ts +22 -0
  68. package/dist/processors/archive/zipEntryIndex.js +33 -0
  69. package/dist/processors/base/BaseFileProcessor.d.ts +9 -21
  70. package/dist/processors/base/BaseFileProcessor.js +40 -111
  71. package/dist/processors/data/YamlProcessor.d.ts +13 -1
  72. package/dist/processors/data/YamlProcessor.js +93 -2
  73. package/dist/processors/document/OpenDocumentProcessor.js +7 -2
  74. package/dist/processors/document/PptxProcessor.js +12 -7
  75. package/dist/processors/media/VideoProcessor.js +93 -15
  76. package/dist/proxy/inboundAuth.d.ts +89 -0
  77. package/dist/proxy/inboundAuth.js +219 -0
  78. package/dist/proxy/tokenRefresh.d.ts +6 -0
  79. package/dist/proxy/tokenRefresh.js +13 -1
  80. package/dist/proxy/updateState.js +4 -4
  81. package/dist/rag/document/loaders.d.ts +0 -6
  82. package/dist/rag/document/loaders.js +16 -10
  83. package/dist/rag/ragIntegration.d.ts +2 -2
  84. package/dist/rag/ragIntegration.js +35 -10
  85. package/dist/rag/retrieval/vectorQueryTool.d.ts +7 -0
  86. package/dist/rag/retrieval/vectorQueryTool.js +54 -17
  87. package/dist/server/abstract/baseServerAdapter.d.ts +43 -0
  88. package/dist/server/abstract/baseServerAdapter.js +119 -6
  89. package/dist/server/adapters/expressAdapter.d.ts +3 -0
  90. package/dist/server/adapters/expressAdapter.js +78 -6
  91. package/dist/server/adapters/fastifyAdapter.d.ts +3 -0
  92. package/dist/server/adapters/fastifyAdapter.js +165 -70
  93. package/dist/server/adapters/honoAdapter.d.ts +9 -1
  94. package/dist/server/adapters/honoAdapter.js +99 -21
  95. package/dist/server/adapters/koaAdapter.d.ts +1 -0
  96. package/dist/server/adapters/koaAdapter.js +153 -74
  97. package/dist/server/index.d.ts +2 -0
  98. package/dist/server/index.js +4 -0
  99. package/dist/server/middleware/auth.js +6 -2
  100. package/dist/server/middleware/cache.js +6 -1
  101. package/dist/server/middleware/rateLimit.js +29 -4
  102. package/dist/server/routes/agentRoutes.js +24 -11
  103. package/dist/server/routes/claudeProxyRoutes.d.ts +1 -0
  104. package/dist/server/routes/claudeProxyRoutes.js +273 -84
  105. package/dist/server/routes/codexProxyRoutes.d.ts +2 -2
  106. package/dist/server/routes/codexProxyRoutes.js +125 -40
  107. package/dist/server/routes/index.d.ts +4 -0
  108. package/dist/server/routes/index.js +35 -4
  109. package/dist/server/routes/mcpRoutes.d.ts +6 -2
  110. package/dist/server/routes/mcpRoutes.js +21 -7
  111. package/dist/server/routes/memoryRoutes.js +7 -6
  112. package/dist/server/routes/toolRoutes.d.ts +12 -2
  113. package/dist/server/routes/toolRoutes.js +33 -3
  114. package/dist/server/routes/transcribeRoutes.js +60 -13
  115. package/dist/server/utils/clientAddress.d.ts +23 -0
  116. package/dist/server/utils/clientAddress.js +65 -0
  117. package/dist/server/utils/clientError.d.ts +35 -0
  118. package/dist/server/utils/clientError.js +129 -0
  119. package/dist/server/utils/pathMatch.d.ts +21 -0
  120. package/dist/server/utils/pathMatch.js +41 -0
  121. package/dist/server/utils/validation.d.ts +9 -0
  122. package/dist/server/utils/validation.js +9 -0
  123. package/dist/server/websocket/WebSocketHandler.js +22 -3
  124. package/dist/server/websocket/frameQueue.d.ts +19 -0
  125. package/dist/server/websocket/frameQueue.js +41 -3
  126. package/dist/server/websocket/transcribeWebSocket.d.ts +8 -1
  127. package/dist/server/websocket/transcribeWebSocket.js +223 -34
  128. package/dist/skills/skillStores.js +5 -0
  129. package/dist/tasks/store/fileTaskStore.d.ts +2 -0
  130. package/dist/tasks/store/fileTaskStore.js +11 -4
  131. package/dist/types/attachments.d.ts +117 -0
  132. package/dist/types/attachments.js +15 -0
  133. package/dist/types/auth.d.ts +6 -0
  134. package/dist/types/cli.d.ts +4 -0
  135. package/dist/types/config.d.ts +56 -0
  136. package/dist/types/file.d.ts +8 -0
  137. package/dist/types/hitl.d.ts +8 -0
  138. package/dist/types/index.d.ts +1 -0
  139. package/dist/types/index.js +1 -0
  140. package/dist/types/mcp.d.ts +98 -0
  141. package/dist/types/multimodal.js +0 -41
  142. package/dist/types/processor.d.ts +14 -1
  143. package/dist/types/proxy.d.ts +62 -3
  144. package/dist/types/rag.d.ts +9 -0
  145. package/dist/types/safeFetch.d.ts +40 -0
  146. package/dist/types/server.d.ts +206 -10
  147. package/dist/types/tools.d.ts +57 -0
  148. package/dist/types/transcribe.d.ts +6 -0
  149. package/dist/utils/attachmentPolicy.d.ts +89 -0
  150. package/dist/utils/attachmentPolicy.js +327 -0
  151. package/dist/utils/dotenvBootstrap.d.ts +48 -19
  152. package/dist/utils/dotenvBootstrap.js +172 -31
  153. package/dist/utils/fileDetector.js +115 -65
  154. package/dist/utils/json/coerce.js +11 -1
  155. package/dist/utils/logSanitize.d.ts +5 -0
  156. package/dist/utils/logSanitize.js +8 -0
  157. package/dist/utils/logger.js +73 -1
  158. package/dist/utils/messageBuilder.d.ts +2 -2
  159. package/dist/utils/messageBuilder.js +118 -105
  160. package/dist/utils/multimodalOptionsBuilder.d.ts +1 -0
  161. package/dist/utils/multimodalOptionsBuilder.js +2 -0
  162. package/dist/utils/redis.d.ts +12 -0
  163. package/dist/utils/redis.js +72 -0
  164. package/dist/utils/safeFetch.d.ts +22 -1
  165. package/dist/utils/safeFetch.js +132 -38
  166. package/dist/utils/safeStoreId.d.ts +19 -0
  167. package/dist/utils/safeStoreId.js +29 -0
  168. package/dist/utils/schemaConversion.d.ts +30 -3
  169. package/dist/utils/schemaConversion.js +457 -84
  170. package/dist/utils/sizeGuard.js +2 -2
  171. package/dist/utils/ssrfGuard.d.ts +3 -3
  172. package/dist/utils/ssrfGuard.js +71 -39
  173. package/dist/voice/eval/sttEvalStore.d.ts +26 -3
  174. package/dist/voice/eval/sttEvalStore.js +77 -12
  175. package/dist/voice/livekit/agentDefinition.d.ts +18 -0
  176. package/dist/voice/livekit/agentDefinition.js +22 -0
  177. package/dist/voice/livekit/realtimeMcpTools.d.ts +1 -1
  178. package/dist/voice/livekit/realtimeMcpTools.js +8 -7
  179. package/dist/voice/livekit/realtimeVoiceAgent.d.ts +2 -4
  180. package/dist/voice/livekit/realtimeVoiceAgent.js +18 -7
  181. package/dist/voice/livekit/voiceAgent.d.ts +2 -2
  182. package/dist/voice/livekit/voiceAgent.js +2 -1
  183. package/dist/voice/livekit/xaiSessionWatch.d.ts +0 -5
  184. package/dist/voice/livekit/xaiSessionWatch.js +30 -0
  185. package/dist/voice/providers/GeminiLive.js +21 -6
  186. package/dist/voice/providers/GoogleSTT.js +8 -5
  187. package/dist/voice/transcribe.d.ts +2 -2
  188. package/dist/voice/transcribe.js +34 -18
  189. package/dist/voice/whistle/audio.js +11 -5
  190. package/docs-site/static/search-index.json +71 -49
  191. package/package.json +171 -156
  192. package/scripts/observability/import-openobserve-dashboard.mjs +11 -3
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@juspay/neurolink",
3
- "version": "13.8.17",
4
- "packageManager": "pnpm@10.28.2",
3
+ "version": "13.8.18",
4
+ "packageManager": "pnpm@10.34.7+sha512.upirxYVTmTM3W1lx9LxtbHOhtLftxKh559EC/lQj0eAjCdZ8YKEfBJVQk6luUhrZw7E4zdZUylvlY/N4s65IvQ==",
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": {
7
7
  "name": "Juspay Technologies",
@@ -22,8 +22,8 @@
22
22
  "url": "https://github.com/sponsors/juspay"
23
23
  },
24
24
  "engines": {
25
- "node": ">=22.0.0",
26
- "pnpm": ">=10.0.0"
25
+ "node": ">=22.23.4 <23 || >=24.22.1 <25 || >=26.12.1",
26
+ "pnpm": ">=10.34.7"
27
27
  },
28
28
  "scripts": {
29
29
  "dev": "vite dev",
@@ -372,7 +372,14 @@
372
372
  "test:cli-json-output": "pnpm exec tsx test/continuous-test-suite-cli-json-output.ts",
373
373
  "test:logging-guidelines": "pnpm exec tsx test/continuous-test-suite-logging-guidelines.ts",
374
374
  "test:proxy-polyfills": "pnpm exec tsx test/continuous-test-suite-proxy-polyfills.ts",
375
- "test:mcp:startup-readiness": "pnpm exec tsx test/continuous-test-suite-mcp-startup-readiness.ts"
375
+ "test:mcp:startup-readiness": "pnpm exec tsx test/continuous-test-suite-mcp-startup-readiness.ts",
376
+ "test:security:cwd-trust": "tsx test/continuous-test-suite-security-cwd-trust.ts",
377
+ "test:security:server": "tsx test/continuous-test-suite-security-server.ts",
378
+ "test:security:proxy": "tsx test/continuous-test-suite-security-proxy.ts",
379
+ "test:security:tools": "tsx test/continuous-test-suite-security-tools.ts",
380
+ "test:security:ingestion": "tsx test/continuous-test-suite-security-ingestion.ts",
381
+ "test:security:supply-chain": "tsx test/continuous-test-suite-security-supply-chain.ts",
382
+ "test:security": "pnpm run test:security:cwd-trust && pnpm run test:security:server && pnpm run test:security:proxy && pnpm run test:security:tools && pnpm run test:security:ingestion && pnpm run test:security:supply-chain"
376
383
  },
377
384
  "files": [
378
385
  "dist",
@@ -515,58 +522,57 @@
515
522
  }
516
523
  },
517
524
  "dependencies": {
518
- "@anthropic-ai/sdk": "^0.102.0",
519
- "@anthropic-ai/vertex-sdk": "^0.16.0",
520
- "@aws-sdk/types": "^3.862.0",
521
- "@cfworker/json-schema": "^4.1.1",
522
- "@google/genai": "^2.23.0",
523
- "@langfuse/core": "^5.13.1",
524
- "@langfuse/tracing": "^5.13.1",
525
- "@modelcontextprotocol/sdk": "^1.31.0",
526
- "@opentelemetry/api-logs": "^0.214.0",
527
- "@opentelemetry/context-async-hooks": "^2.6.1",
528
- "@opentelemetry/core": "^2.8.0",
529
- "@opentelemetry/exporter-logs-otlp-http": "^0.214.0",
530
- "@opentelemetry/exporter-metrics-otlp-http": "^0.214.0",
531
- "@opentelemetry/exporter-trace-otlp-http": "^0.214.0",
532
- "@opentelemetry/otlp-transformer": "^0.214.0",
533
- "@opentelemetry/resources": "^2.6.0",
534
- "@opentelemetry/sdk-logs": "^0.214.0",
535
- "@opentelemetry/sdk-metrics": "^2.6.1",
536
- "@opentelemetry/sdk-trace-base": "^2.6.0",
537
- "@opentelemetry/sdk-trace-node": "^2.6.0",
538
- "@opentelemetry/semantic-conventions": "^1.40.0",
539
- "@types/json-schema": "^7.0.15",
540
- "@types/ws": "^8.18.1",
541
- "adm-zip": "^0.6.0",
542
- "chalk": "^5.6.2",
525
+ "@anthropic-ai/sdk": "0.102.0",
526
+ "@anthropic-ai/vertex-sdk": "0.16.0",
527
+ "@aws-sdk/types": "3.973.7",
528
+ "@cfworker/json-schema": "4.1.1",
529
+ "@google/genai": "2.31.0",
530
+ "@langfuse/core": "5.13.1",
531
+ "@langfuse/tracing": "5.13.1",
532
+ "@modelcontextprotocol/sdk": "1.32.1",
533
+ "@opentelemetry/api-logs": "0.214.0",
534
+ "@opentelemetry/context-async-hooks": "2.6.1",
535
+ "@opentelemetry/core": "2.8.0",
536
+ "@opentelemetry/exporter-logs-otlp-http": "0.214.0",
537
+ "@opentelemetry/exporter-metrics-otlp-http": "0.214.0",
538
+ "@opentelemetry/exporter-trace-otlp-http": "0.214.0",
539
+ "@opentelemetry/otlp-transformer": "0.214.0",
540
+ "@opentelemetry/resources": "2.6.1",
541
+ "@opentelemetry/sdk-logs": "0.214.0",
542
+ "@opentelemetry/sdk-metrics": "2.6.1",
543
+ "@opentelemetry/sdk-trace-base": "2.6.1",
544
+ "@opentelemetry/sdk-trace-node": "2.6.1",
545
+ "@opentelemetry/semantic-conventions": "1.40.0",
546
+ "@types/json-schema": "7.0.15",
547
+ "@types/ws": "8.18.1",
548
+ "adm-zip": "0.6.1",
549
+ "chalk": "5.6.2",
543
550
  "chardet": "2.1.1",
544
- "croner": "^9.1.0",
545
- "csv-parser": "^3.2.0",
546
- "diff": "^9.0.0",
547
- "dotenv": "^17.3.1",
548
- "eventsource-parser": "^3.0.8",
549
- "fast-xml-parser": "^5.7.0",
550
- "google-auth-library": "^10.6.1",
551
+ "croner": "9.1.0",
552
+ "csv-parser": "3.2.0",
553
+ "diff": "9.0.0",
554
+ "dotenv": "17.3.1",
555
+ "eventsource-parser": "3.0.8",
556
+ "fast-xml-parser": "5.7.3",
557
+ "google-auth-library": "10.6.2",
551
558
  "hono": "4.13.13",
552
559
  "iconv-lite": "0.7.2",
553
- "inquirer": "^13.3.0",
554
- "jose": "^6.1.3",
555
- "js-yaml": "^4.3.2",
556
- "json-schema-to-zod": "^2.7.0",
557
- "jsonrepair": "^3.14.0",
558
- "minisearch": "^7.2.0",
559
- "nanoid": "^5.1.16",
560
- "ora": "^9.3.0",
561
- "p-limit": "^7.3.0",
562
- "redis": "^5.11.0",
563
- "tar-stream": "^3.1.8",
564
- "type-decoder": "^2.3.1",
565
- "undici": ">=7.30.1 <8.0.0",
566
- "ws": "^8.20.1",
567
- "yargs": "^18.0.0",
568
- "zod": "^4.6.7",
569
- "zod-to-json-schema": "^3.25.1"
560
+ "inquirer": "13.3.2",
561
+ "jose": "6.2.2",
562
+ "js-yaml": "4.3.2",
563
+ "jsonrepair": "3.14.0",
564
+ "minisearch": "7.2.0",
565
+ "nanoid": "5.1.16",
566
+ "ora": "9.3.0",
567
+ "p-limit": "7.3.0",
568
+ "redis": "5.11.0",
569
+ "tar-stream": "3.1.8",
570
+ "type-decoder": "2.3.1",
571
+ "undici": "7.30.1",
572
+ "ws": "8.21.0",
573
+ "yargs": "18.0.0",
574
+ "zod": "4.6.7",
575
+ "zod-to-json-schema": "3.25.2"
570
576
  },
571
577
  "peerDependencies": {
572
578
  "@juspay/hippocampus": ">=0.2.1",
@@ -586,104 +592,104 @@
586
592
  }
587
593
  },
588
594
  "optionalDependencies": {
589
- "@aws-sdk/client-bedrock": "^3.1000.0",
590
- "@aws-sdk/client-bedrock-runtime": "^3.1000.0",
591
- "@aws-sdk/client-sagemaker": "^3.1000.0",
592
- "@aws-sdk/client-sagemaker-runtime": "^3.1000.0",
593
- "@aws-sdk/credential-provider-node": "^3.886.0",
594
- "@fastify/cors": "^11.2.0",
595
- "@fastify/rate-limit": "^10.3.0",
596
- "@google-cloud/text-to-speech": "^6.4.0",
597
- "@hono/node-server": "^1.19.15",
598
- "@koa/cors": "^5.0.0",
599
- "@koa/router": "^15.3.1",
600
- "@livekit/agents": "^1.4.6",
601
- "@livekit/agents-plugin-cartesia": "^1.4.6",
602
- "@livekit/agents-plugin-deepgram": "^1.4.6",
603
- "@livekit/agents-plugin-elevenlabs": "^1.4.6",
604
- "@livekit/agents-plugin-google": "^1.4.6",
605
- "@livekit/agents-plugin-livekit": "^1.4.6",
606
- "@livekit/agents-plugin-openai": "^1.4.6",
607
- "@livekit/agents-plugin-silero": "^1.4.6",
608
- "@livekit/agents-plugin-soniox": "^1.4.6",
609
- "@livekit/agents-plugin-xai": "^1.4.6",
610
- "@livekit/rtc-node": "^0.13.29",
611
- "@picovoice/cobra-node": "^3.0.2",
612
- "bullmq": "^5.52.2",
613
- "cors": "^2.8.5",
614
- "exceljs": "^4.4.0",
615
- "express": "^5.1.0",
616
- "express-rate-limit": "^8.2.1",
617
- "fastify": "^5.12.5",
618
- "ffmpeg-static": "^5.3.0",
619
- "fluent-ffmpeg": "^2.1.3",
620
- "koa": "^3.1.1",
621
- "koa-bodyparser": "^4.4.1",
622
- "livekit-server-sdk": "^2.15.4",
595
+ "@aws-sdk/client-bedrock": "3.1019.0",
596
+ "@aws-sdk/client-bedrock-runtime": "3.1019.0",
597
+ "@aws-sdk/client-sagemaker": "3.1019.0",
598
+ "@aws-sdk/client-sagemaker-runtime": "3.1019.0",
599
+ "@aws-sdk/credential-provider-node": "3.972.30",
600
+ "@fastify/cors": "11.3.1",
601
+ "@fastify/rate-limit": "10.3.0",
602
+ "@google-cloud/text-to-speech": "6.4.0",
603
+ "@hono/node-server": "1.19.17",
604
+ "@koa/cors": "5.0.0",
605
+ "@koa/router": "15.4.0",
606
+ "@livekit/agents": "1.9.3",
607
+ "@livekit/agents-plugin-cartesia": "1.9.3",
608
+ "@livekit/agents-plugin-deepgram": "1.9.3",
609
+ "@livekit/agents-plugin-elevenlabs": "1.9.3",
610
+ "@livekit/agents-plugin-google": "1.9.3",
611
+ "@livekit/agents-plugin-livekit": "1.9.3",
612
+ "@livekit/agents-plugin-openai": "1.9.3",
613
+ "@livekit/agents-plugin-silero": "1.9.3",
614
+ "@livekit/agents-plugin-soniox": "1.9.3",
615
+ "@livekit/agents-plugin-xai": "1.9.3",
616
+ "@livekit/rtc-node": "0.13.35",
617
+ "@picovoice/cobra-node": "3.0.2",
618
+ "bullmq": "5.81.5",
619
+ "cors": "2.8.6",
620
+ "exceljs": "4.4.0",
621
+ "express": "5.2.1",
622
+ "express-rate-limit": "8.7.1",
623
+ "fastify": "5.12.7",
624
+ "ffmpeg-static": "5.3.0",
625
+ "fluent-ffmpeg": "2.1.3",
626
+ "koa": "3.2.0",
627
+ "koa-bodyparser": "4.4.1",
628
+ "livekit-server-sdk": "2.19.2",
623
629
  "mammoth": "1.12.0",
624
- "mediabunny": "^1.40.1",
625
- "music-metadata": "^11.16.1",
626
- "onnxruntime-node": "^1.24.3",
627
- "pdf-parse": "^2.4.5",
628
- "pptxgenjs": "^4.0.1",
629
- "sharp": "^0.35.3"
630
+ "mediabunny": "1.40.1",
631
+ "music-metadata": "11.16.1",
632
+ "onnxruntime-node": "1.30.0",
633
+ "pdf-parse": "2.4.5",
634
+ "pptxgenjs": "4.0.1",
635
+ "sharp": "0.35.5"
630
636
  },
631
637
  "devDependencies": {
632
- "@actions/core": "^3.0.0",
633
- "@actions/exec": "^3.0.0",
634
- "@actions/github": "^9.0.0",
635
- "@changesets/changelog-github": "^0.6.0",
636
- "@changesets/cli": "^2.29.8",
637
- "@electric-sql/pglite": "^0.4.6",
638
- "@eslint/js": "^10.0.1",
639
- "@langfuse/otel": "^5.13.1",
640
- "@opentelemetry/api": "^1.9.0",
641
- "@semantic-release/changelog": "^6.0.3",
642
- "@semantic-release/commit-analyzer": "^13.0.1",
643
- "@semantic-release/github": "^12.0.6",
644
- "@semantic-release/npm": "^13.1.4",
645
- "@semantic-release/release-notes-generator": "^14.1.0",
646
- "@smithy/types": "^4.13.0",
647
- "@sveltejs/adapter-auto": "^7.0.1",
648
- "@sveltejs/kit": "^2.70.3",
649
- "@sveltejs/package": "^2.5.7",
650
- "@sveltejs/vite-plugin-svelte": "^7.0.0",
651
- "@types/cors": "^2.8.19",
652
- "@types/diff": "^8.0.0",
653
- "@types/emscripten": "^1.41.6",
654
- "@types/express": "^5.0.6",
655
- "@types/fluent-ffmpeg": "^2.1.28",
656
- "@types/js-yaml": "^4.0.9",
657
- "@types/koa": "^3.0.1",
658
- "@types/koa-bodyparser": "^4.3.13",
659
- "@types/koa__cors": "^5.0.1",
660
- "@types/node": "^22.20.0",
661
- "@types/react": "^19.2.10",
662
- "@types/tar-stream": "^3.1.4",
663
- "@types/yargs": "^17.0.35",
664
- "@typescript-eslint/eslint-plugin": "^8.57.2",
665
- "@typescript-eslint/parser": "^8.57.2",
666
- "@vercel/ncc": "^0.38.4",
667
- "concurrently": "^9.2.1",
668
- "conventional-changelog-conventionalcommits": "^9.1.0",
669
- "esbuild": "^0.28.1",
670
- "eslint": "^10.0.2",
671
- "glob": "^13.0.6",
672
- "husky": "^9.1.7",
673
- "playwright": "^1.58.2",
674
- "prettier": "^3.8.1",
675
- "publint": "^0.3.17",
676
- "react": "^19.2.4",
677
- "react-dom": "^19.2.4",
678
- "semantic-release": "^25.0.3",
679
- "svelte": "^5.55.7",
680
- "svelte-check": "^4.4.4",
681
- "tsx": "^4.21.0",
682
- "typedoc": "^0.28.17",
683
- "typedoc-plugin-markdown": "^4.10.0",
684
- "typescript": "^5.9.3",
685
- "vite": "^8.2.2",
686
- "vitest": "^4.1.0"
638
+ "@actions/core": "3.0.0",
639
+ "@actions/exec": "3.0.0",
640
+ "@actions/github": "9.0.0",
641
+ "@changesets/changelog-github": "0.6.0",
642
+ "@changesets/cli": "2.30.0",
643
+ "@electric-sql/pglite": "0.4.6",
644
+ "@eslint/js": "10.0.1",
645
+ "@langfuse/otel": "5.13.1",
646
+ "@opentelemetry/api": "1.9.1",
647
+ "@semantic-release/changelog": "6.0.3",
648
+ "@semantic-release/commit-analyzer": "13.0.1",
649
+ "@semantic-release/github": "12.0.6",
650
+ "@semantic-release/npm": "13.1.5",
651
+ "@semantic-release/release-notes-generator": "14.1.0",
652
+ "@smithy/types": "4.13.1",
653
+ "@sveltejs/adapter-auto": "7.0.1",
654
+ "@sveltejs/kit": "2.70.3",
655
+ "@sveltejs/package": "2.5.7",
656
+ "@sveltejs/vite-plugin-svelte": "7.0.0",
657
+ "@types/cors": "2.8.19",
658
+ "@types/diff": "8.0.0",
659
+ "@types/emscripten": "1.41.6",
660
+ "@types/express": "5.0.6",
661
+ "@types/fluent-ffmpeg": "2.1.28",
662
+ "@types/js-yaml": "4.0.9",
663
+ "@types/koa": "3.0.2",
664
+ "@types/koa-bodyparser": "4.3.13",
665
+ "@types/koa__cors": "5.0.1",
666
+ "@types/node": "22.20.1",
667
+ "@types/react": "19.2.14",
668
+ "@types/tar-stream": "3.1.4",
669
+ "@types/yargs": "17.0.35",
670
+ "@typescript-eslint/eslint-plugin": "8.57.2",
671
+ "@typescript-eslint/parser": "8.57.2",
672
+ "@vercel/ncc": "0.38.4",
673
+ "concurrently": "9.2.1",
674
+ "conventional-changelog-conventionalcommits": "9.3.0",
675
+ "esbuild": "0.28.1",
676
+ "eslint": "10.1.0",
677
+ "glob": "13.0.6",
678
+ "husky": "9.1.7",
679
+ "playwright": "1.58.2",
680
+ "prettier": "3.8.1",
681
+ "publint": "0.3.18",
682
+ "react": "19.2.4",
683
+ "react-dom": "19.2.4",
684
+ "semantic-release": "25.0.3",
685
+ "svelte": "5.55.7",
686
+ "svelte-check": "4.4.5",
687
+ "tsx": "4.21.0",
688
+ "typedoc": "0.28.18",
689
+ "typedoc-plugin-markdown": "4.11.0",
690
+ "typescript": "5.9.3",
691
+ "vite": "8.3.5",
692
+ "vitest": "4.1.12"
687
693
  },
688
694
  "keywords": [
689
695
  "ai",
@@ -805,23 +811,32 @@
805
811
  "body-parser@<1.20.9": ">=1.20.9 <2",
806
812
  "body-parser@>=2.0.0 <2.4.0": ">=2.4.0 <3",
807
813
  "fast-uri@<3.1.9": ">=3.1.9 <4",
808
- "ip-address@<10.1.1": ">=10.1.1",
809
814
  "basic-ftp@<5.2.2": ">=5.2.2",
810
815
  "fast-xml-builder@<1.1.7": ">=1.1.7",
811
816
  "esbuild@>=0.17.0 <0.28.1": ">=0.28.1",
812
817
  "rollup@>=4.0.0 <4.59.0": ">=4.59.0",
813
818
  "shell-quote@<1.11.0": ">=1.11.0",
814
819
  "@modelcontextprotocol/sdk@<1.31.0": ">=1.31.0",
815
- "undici@>=8.0.0": ">=7.30.1 <8.0.0",
816
- "markdown-it@<14.2.0": ">=14.2.0",
817
820
  "@xmldom/xmldom@<0.9.12": ">=0.9.12",
818
821
  "protobufjs@<7.6.5": ">=7.6.5",
819
822
  "brace-expansion@>=5.0.0 <5.0.12": ">=5.0.12",
820
823
  "@opentelemetry/core@>=2.0.0 <2.8.0": ">=2.8.0",
821
- "qs": "6.16.0",
822
- "fastify": "5.12.5",
823
- "fast-uri": "3.1.9",
824
- "@xmldom/xmldom": "0.9.12"
824
+ "adm-zip@<0.6.1": ">=0.6.1",
825
+ "ip-address@<10.7.4": ">=10.7.4",
826
+ "image-size@<2.0.3": ">=2.0.3",
827
+ "sharp@<0.35.5": ">=0.35.5",
828
+ "form-data@>=4.0.0 <4.0.6": ">=4.0.6",
829
+ "find-my-way@<9.7.0": ">=9.7.0",
830
+ "uuid@<11.1.1": ">=11.1.1 <12",
831
+ "fastify@<5.12.7": ">=5.12.7",
832
+ "qs@<6.16.1": ">=6.16.1",
833
+ "devalue@<5.9.3": ">=5.9.3 <6",
834
+ "source-map-js@<1.2.2": ">=1.2.2",
835
+ "@humanfs/node@<0.16.8": ">=0.16.8 <0.17.0",
836
+ "vite@>=8.2.0 <8.2.4": ">=8.2.4",
837
+ "@vitest/mocker@<4.1.12": ">=4.1.12",
838
+ "vitest@>=2.1.0 <4.1.12": ">=4.1.12 <5",
839
+ "markdown-it@<15.0.3": ">=15.0.3 <16"
825
840
  },
826
841
  "patchedDependencies": {
827
842
  "hono@4.13.13": "patches/hono@4.13.13.patch",
@@ -32,9 +32,12 @@ function parseArgs(argv) {
32
32
  dashboard: defaultDashboardPath,
33
33
  openobserveUrl: process.env.NEUROLINK_OPENOBSERVE_URL ?? "http://localhost:5080",
34
34
  org: process.env.NEUROLINK_OPENOBSERVE_ORG ?? "default",
35
- user: process.env.NEUROLINK_OPENOBSERVE_USER ?? "root@example.com",
36
- password:
37
- process.env.NEUROLINK_OPENOBSERVE_PASSWORD ?? "Complexpass#123",
35
+ user: process.env.NEUROLINK_OPENOBSERVE_USER,
36
+ // No default. The previous fallback was OpenObserve's documented dev
37
+ // credential, shipped in the npm package (scripts/observability is in
38
+ // `files`); a script that logs into a dashboard host must be given its
39
+ // password, never assume one.
40
+ password: process.env.NEUROLINK_OPENOBSERVE_PASSWORD,
38
41
  replaceByTitle: false,
39
42
  dryRun: false,
40
43
  };
@@ -78,6 +81,11 @@ function parseArgs(argv) {
78
81
  }
79
82
  }
80
83
 
84
+ if (!options.user || !options.password) {
85
+ throw new Error(
86
+ "OpenObserve credentials are required: pass --user/--password or set NEUROLINK_OPENOBSERVE_USER and NEUROLINK_OPENOBSERVE_PASSWORD (there is no default).",
87
+ );
88
+ }
81
89
  return options;
82
90
  }
83
91