@soulcraft/brainy 2.7.2 → 2.7.3

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
@@ -5,6 +5,13 @@ All notable changes to Brainy will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [2.7.3] - 2025-08-29
9
+
10
+ ### Fixed
11
+ - Allow automatic model downloads without requiring BRAINY_ALLOW_REMOTE_MODELS environment variable
12
+ - Models now download automatically when not present locally
13
+ - Fixed environment variable check to only block downloads when explicitly set to 'false'
14
+
8
15
  ## [2.0.0] - 2025-08-26
9
16
 
10
17
  ### 🎉 Major Release - Triple Intelligence™ Engine
@@ -76,9 +76,9 @@ export class TransformerEmbedding {
76
76
  // 1. Explicit option takes highest priority
77
77
  localFilesOnly = options.localFilesOnly;
78
78
  }
79
- else if (process.env.BRAINY_ALLOW_REMOTE_MODELS !== undefined) {
80
- // 2. Environment variable override
81
- localFilesOnly = process.env.BRAINY_ALLOW_REMOTE_MODELS !== 'true';
79
+ else if (process.env.BRAINY_ALLOW_REMOTE_MODELS === 'false') {
80
+ // 2. Environment variable explicitly disables remote models
81
+ localFilesOnly = true;
82
82
  }
83
83
  else if (process.env.NODE_ENV === 'development') {
84
84
  // 3. Development mode allows remote models
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soulcraft/brainy",
3
- "version": "2.7.2",
3
+ "version": "2.7.3",
4
4
  "description": "Universal Knowledge Protocol™ - World's first Triple Intelligence database unifying vector, graph, and document search in one API. 31 nouns × 40 verbs for infinite expressiveness.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",