@aj-archipelago/cortex 1.4.31 → 1.4.33

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.
@@ -1,15 +0,0 @@
1
- ### New Features
2
- - **Batch File Analysis**: The `AnalyzeFile` tool now supports an array of `files` for simultaneous analysis, in addition to the legacy single `file` parameter.
3
- - **Unified File Collection Loading**: Refactored internal file handling to use a single, unified function (`loadFileCollection`) that handles deduplication across multiple contexts (e.g., user and workspace) and consistent filtering logic.
4
-
5
- ### Improvements
6
- - **Enhanced File Filtering**:
7
- - Improved `inCollection` status logic to treat empty arrays consistently with `undefined` states.
8
- - Added support for loading all files from a context regardless of their specific chat collection status, facilitating better handling of system-level uploads.
9
- - **Search Tool Refinements**: Updated `SearchFileCollection` descriptions to clarify that it uses simple substring matching and does not support complex boolean operators (AND/OR).
10
- - **Tool Documentation**: Improved descriptions for `AddFileToCollection`, `ListFileCollection`, and `SearchFileCollection` to help agents better understand chat-specific vs. global file visibility.
11
- - **Reference Counting**: Improved metadata synchronization to better track file usage across different chat sessions, ensuring files uploaded via external tools (like Labeeb) are correctly integrated into the collection.
12
-
13
- ### Bug Fixes
14
- - **Media API Timeout**: Significantly increased the timeout for the media chunks API from 30 seconds to 10 minutes (600,000ms) to accommodate larger file processing and slow network conditions.
15
- - **Metadata Normalization**: Fixed inconsistencies in how \
@@ -1,5 +0,0 @@
1
- ### Core Improvements
2
- - **Unified File Collection Loading**: Refactored file loading logic into a single, robust `loadFileCollection` function. This supports compound contexts (user + workspace), deduplication of files across multiple sources, and more flexible filtering.
3
- - **Enhanced Media Support**: Significantly increased the timeout for the media chunks API from 30 seconds to 600 seconds to better handle large file processing.
4
- - **Support for Untagged Uploads**: Improved synchronization logic to identify and process files that exist in storage but lack explicit collection metadata (e.g., Labeeb uploads). These files are now correctly stripped from chat history and added to the relevant chat collection upon use.
5
- - **Improved Filtering Logic**: Refined how the system distinguishes between global files, chat-specific files, and files not yet in any collection. Empty collection arrays are now treated consistently as \