@juspay/neurolink 12.58.0 → 12.58.1

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,13 +1,8 @@
1
- ## [12.58.0](https://github.com/juspay/neurolink/compare/v12.57.0...v12.58.0) (2026-10-15)
2
-
3
- ### Features
4
-
5
- - **(decide):** add OpenAI's Decisions API as a catalog provider ([9bdc342](https://github.com/juspay/neurolink/commit/9bdc3428097ab44917aad65239bb28386570b971))
1
+ ## [12.58.1](https://github.com/juspay/neurolink/compare/v12.58.0...v12.58.1) (2026-10-15)
6
2
 
7
3
  ### Bug Fixes
8
4
 
9
- - **(observability):** keep the user's question in trimmed span inputs and make the cap configurable ([2d39413](https://github.com/juspay/neurolink/commit/2d394138094c3b89015975ea3fdce69e4a75a5c9))
10
- - **(security):** make the gitleaks secret scan run, and fail when it cannot ([467c19f](https://github.com/juspay/neurolink/commit/467c19f5e16bac64d7ad00606c32186448386621)), closes [PKCS#8](https://github.com/juspay/PKCS/issues/8)
5
+ - **(package):** ship no .tsx and keep fluent-ffmpeg types out of public declarations ([4591b12](https://github.com/juspay/neurolink/commit/4591b12247922e01756aa2fb933b19a1f4999807)), closes [#1999](https://github.com/juspay/neurolink/issues/1999)
11
6
 
12
7
  ## [11.2.3](https://github.com/juspay/neurolink/compare/v11.2.2...v11.2.3) (2026-08-19)
13
8
 
@@ -44,7 +44,7 @@
44
44
  * ```
45
45
  */
46
46
  import { BaseFileProcessor } from "../base/BaseFileProcessor.js";
47
- import type { FileInfo, ProcessedVideo, ProcessorFileProcessingResult, ProcessOptions, VideoProcessorOptions } from "../../types/index.js";
47
+ import type { FileInfo, ProcessedVideo, ProcessorFileProcessingResult, ProcessorFluentFfmpegModule, ProcessOptions, VideoProcessorOptions } from "../../types/index.js";
48
48
  /**
49
49
  * Narrow a loaded `fluent-ffmpeg` export to the shape this file actually uses:
50
50
  * a callable carrying the `ffprobe` and `setFfmpegPath` statics.
@@ -55,7 +55,7 @@ import type { FileInfo, ProcessedVideo, ProcessorFileProcessingResult, ProcessOp
55
55
  * "Cannot read properties of undefined (reading 'ffprobe')" from inside
56
56
  * probeVideo — blaming the call site instead of the package that is wrong.
57
57
  */
58
- export declare function assertFluentFfmpegShape(mod: unknown): asserts mod is typeof import("fluent-ffmpeg");
58
+ export declare function assertFluentFfmpegShape(mod: unknown): asserts mod is ProcessorFluentFfmpegModule;
59
59
  /**
60
60
  * Video Processor - extracts metadata, keyframes, and subtitles from video files.
61
61
  *
@@ -570,6 +570,16 @@ export type FfprobeData = {
570
570
  [key: string]: unknown;
571
571
  };
572
572
  };
573
+ /**
574
+ * Structural shape of the `fluent-ffmpeg` export: a callable carrying the
575
+ * `ffprobe` and `setFfmpegPath` statics. Public declarations use this instead of
576
+ * `typeof import("fluent-ffmpeg")`, whose types live in a devDependency that
577
+ * consumers do not install.
578
+ */
579
+ export type ProcessorFluentFfmpegModule = ((...args: never[]) => unknown) & {
580
+ ffprobe: (...args: never[]) => unknown;
581
+ setFfmpegPath: (...args: never[]) => unknown;
582
+ };
573
583
  /**
574
584
  * Structural types for exceljs objects.
575
585
  * Defined here so the optional exceljs package is not required at typecheck time.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juspay/neurolink",
3
- "version": "12.58.0",
3
+ "version": "12.58.1",
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": {
@@ -150,6 +150,7 @@
150
150
  "test:decide-contract": "pnpm exec tsx test/continuous-test-suite-decide-provider-contract.ts",
151
151
  "test:acceptance-gate": "pnpm exec tsx test/continuous-test-suite-acceptance-gate.ts",
152
152
  "test:cli-fallback": "pnpm exec tsx test/continuous-test-suite-cli-fallback.ts",
153
+ "test:package-declarations": "pnpm exec tsx test/continuous-test-suite-package-declarations.ts",
153
154
  "scaffold:provider": "pnpm exec tsx tools/scaffold-provider.ts",
154
155
  "verify:provider-onboarding": "pnpm exec tsx tools/verify-provider-onboarding.ts",
155
156
  "test:openai-compat-catalog": "pnpm exec tsx test/continuous-test-suite-openai-compat-catalog.ts",
@@ -229,7 +230,7 @@
229
230
  "// 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)": "",
230
231
  "test:tool-routing": "pnpm exec tsx test/continuous-test-suite-tool-routing.ts",
231
232
  "test:tool-routing-semantic": "pnpm exec tsx test/continuous-test-suite-tool-routing-semantic.ts",
232
- "test:unit": "pnpm run test:bugfixes && pnpm run test:mcp:infra && 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",
233
+ "test:unit": "pnpm run test:bugfixes && pnpm run test:mcp:infra && 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:package-declarations",
233
234
  "// 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)": "",
234
235
  "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",
235
236
  "// 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)": "",
@@ -335,6 +336,7 @@
335
336
  "dist",
336
337
  "!dist/**/*.test.*",
337
338
  "!dist/**/*.spec.*",
339
+ "!dist/**/*.tsx",
338
340
  "!dist/**/*.map",
339
341
  "docs/assets/dashboards/*.json",
340
342
  "docs-site/mcp-server/*.js",