@juspay/neurolink 10.10.7 → 10.10.9
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 +14 -0
- package/README.md +37 -8
- package/dist/browser/neurolink.min.js +343 -343
- package/dist/cli/factories/commandFactory.js +8 -4
- package/dist/lib/processors/media/VideoProcessor.d.ts +13 -3
- package/dist/lib/processors/media/VideoProcessor.js +53 -12
- package/dist/lib/skills/skillsManager.js +24 -5
- package/dist/lib/types/file.d.ts +41 -0
- package/dist/lib/types/generate.d.ts +19 -0
- package/dist/lib/types/stream.d.ts +15 -0
- package/dist/lib/utils/errorHandling.d.ts +21 -0
- package/dist/lib/utils/errorHandling.js +53 -0
- package/dist/lib/utils/fileDetector.js +9 -6
- package/dist/lib/utils/messageBuilder.js +151 -39
- package/dist/lib/utils/multimodalOptionsBuilder.d.ts +2 -0
- package/dist/lib/utils/pdfProcessor.d.ts +11 -0
- package/dist/lib/utils/pdfProcessor.js +27 -0
- package/dist/processors/media/VideoProcessor.d.ts +13 -3
- package/dist/processors/media/VideoProcessor.js +53 -12
- package/dist/skills/skillsManager.js +24 -5
- package/dist/types/file.d.ts +41 -0
- package/dist/types/generate.d.ts +19 -0
- package/dist/types/stream.d.ts +15 -0
- package/dist/utils/errorHandling.d.ts +21 -0
- package/dist/utils/errorHandling.js +53 -0
- package/dist/utils/fileDetector.js +9 -6
- package/dist/utils/messageBuilder.js +151 -39
- package/dist/utils/multimodalOptionsBuilder.d.ts +2 -0
- package/dist/utils/pdfProcessor.d.ts +11 -0
- package/dist/utils/pdfProcessor.js +27 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [10.10.9](https://github.com/juspay/neurolink/compare/v10.10.8...v10.10.9) (2026-08-07)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- **(pdf):** make the render scale and page ceiling reachable from generate() ([a5c9e4b](https://github.com/juspay/neurolink/commit/a5c9e4b0edc12fa701dae2b2567a03e8f3f07da4)), closes [#297](https://github.com/juspay/neurolink/issues/297) [#309](https://github.com/juspay/neurolink/issues/309) [#302](https://github.com/juspay/neurolink/issues/302) [#297](https://github.com/juspay/neurolink/issues/297)
|
|
6
|
+
- **(skills):** reserve a deprecated skill's name and match names case-insensitively ([85bb407](https://github.com/juspay/neurolink/commit/85bb4074b4d0296b6ffcf7e5a311d4bea124dc73)), closes [#1139](https://github.com/juspay/neurolink/issues/1139) [#1139](https://github.com/juspay/neurolink/issues/1139)
|
|
7
|
+
|
|
8
|
+
## [10.10.8](https://github.com/juspay/neurolink/compare/v10.10.7...v10.10.8) (2026-08-07)
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
- **(multimodal):** enforce the aggregate PDF limit on the input.content path ([d484fde](https://github.com/juspay/neurolink/commit/d484fded727c90922baa0852d6da00bf8d7496ed)), closes [#309](https://github.com/juspay/neurolink/issues/309)
|
|
13
|
+
- **(video):** honor the CLI frame, quality and format options ([c23ac77](https://github.com/juspay/neurolink/commit/c23ac77b5b3cf4195a1324aa1f5d5557a6ad7076)), closes [#433](https://github.com/juspay/neurolink/issues/433) [#478](https://github.com/juspay/neurolink/issues/478)
|
|
14
|
+
|
|
1
15
|
## [10.10.7](https://github.com/juspay/neurolink/compare/v10.10.6...v10.10.7) (2026-08-07)
|
|
2
16
|
|
|
3
17
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -596,14 +596,16 @@ const batcher = new RequestBatcher({ maxBatchSize: 10, maxWaitMs: 50 });
|
|
|
596
596
|
|
|
597
597
|
**17+ file categories supported** (50+ total file types including code languages) with intelligent content extraction and provider-agnostic processing:
|
|
598
598
|
|
|
599
|
-
| Category | Supported Types
|
|
600
|
-
| ------------- |
|
|
601
|
-
| **Documents** | Excel (`.xlsx`, `.xls`), Word (`.docx`), RTF, OpenDocument | Sheet extraction, text extraction
|
|
602
|
-
| **Data** | JSON, YAML, XML
|
|
603
|
-
| **Markup** | HTML, SVG, Markdown, Text
|
|
604
|
-
| **Code** | 50+ languages (TypeScript, Python, Java, Go, etc.)
|
|
605
|
-
| **Config** | `.env`, `.ini`, `.toml`, `.cfg`
|
|
606
|
-
| **Media** | Images (PNG, JPEG, WebP, GIF), PDFs, CSV
|
|
599
|
+
| Category | Supported Types | Processing |
|
|
600
|
+
| ------------- | -------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
|
|
601
|
+
| **Documents** | Excel (`.xlsx`, `.xls`), Word (`.docx`), PowerPoint (`.pptx`), RTF, OpenDocument | Sheet extraction, text extraction, slide + speaker-notes extraction |
|
|
602
|
+
| **Data** | JSON, YAML, XML | Validation, syntax highlighting |
|
|
603
|
+
| **Markup** | HTML, SVG, Markdown, Text | OWASP-compliant sanitization |
|
|
604
|
+
| **Code** | 50+ languages (TypeScript, Python, Java, Go, etc.) | Language detection, syntax metadata |
|
|
605
|
+
| **Config** | `.env`, `.ini`, `.toml`, `.cfg` | Secure parsing |
|
|
606
|
+
| **Media** | Images (PNG, JPEG, WebP, GIF), PDFs, CSV | Provider-specific formatting |
|
|
607
|
+
| **Audio** | `.mp3`, `.wav`, `.m4a`, `.ogg`, `.flac`, `.webm` | Automatic transcription + duration metadata |
|
|
608
|
+
| **Video** | `.mp4`, `.webm`, `.mov`, `.mkv`, `.avi` | Keyframe extraction, metadata, embedded subtitles |
|
|
607
609
|
|
|
608
610
|
```typescript
|
|
609
611
|
// Process any supported file type
|
|
@@ -623,6 +625,33 @@ const result = await neurolink.generate({
|
|
|
623
625
|
// neurolink generate "Analyze this" --file ./report.xlsx --file ./config.json
|
|
624
626
|
```
|
|
625
627
|
|
|
628
|
+
Audio and video attach the same way. Audio is transcribed automatically before
|
|
629
|
+
the model sees it; video is reduced to keyframes plus metadata and any embedded
|
|
630
|
+
subtitle track:
|
|
631
|
+
|
|
632
|
+
```typescript
|
|
633
|
+
const result = await neurolink.generate({
|
|
634
|
+
input: {
|
|
635
|
+
text: "What was decided in this meeting, and who owns each action item?",
|
|
636
|
+
files: [
|
|
637
|
+
"./standup.mp3", // transcribed, then folded into the prompt
|
|
638
|
+
"./demo.mp4", // keyframes + duration/codec metadata + subtitles
|
|
639
|
+
"./deck.pptx", // slides and speaker notes
|
|
640
|
+
],
|
|
641
|
+
},
|
|
642
|
+
});
|
|
643
|
+
```
|
|
644
|
+
|
|
645
|
+
```bash
|
|
646
|
+
# Same thing from the CLI
|
|
647
|
+
neurolink generate "Summarize this recording" --file ./standup.mp3
|
|
648
|
+
neurolink generate "Describe what happens" --file ./demo.mp4
|
|
649
|
+
```
|
|
650
|
+
|
|
651
|
+
> Audio transcription needs a provider with a speech model configured (OpenAI
|
|
652
|
+
> Whisper by default). Video keyframe extraction requires `ffmpeg` — install it
|
|
653
|
+
> separately or rely on the bundled `ffmpeg-static`.
|
|
654
|
+
|
|
626
655
|
**Key Features:**
|
|
627
656
|
|
|
628
657
|
- **ProcessorRegistry** - Priority-based processor selection with fallback
|