@futdevpro/nts-dynamo 1.15.29 → 1.15.31

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/.husky/pre-commit CHANGED
@@ -1 +1,2 @@
1
+ dc sync-fdp-deps --patch-only --stage
1
2
  dc bump-version
@@ -14,6 +14,20 @@
14
14
  > - STATUS EMOJI: ❌ ⏳ 🔄 ✅ ⚠️ ❓
15
15
  > - IDs: unique, format BL-YYYYMMDD-### (increment ###).
16
16
 
17
+ - [IMPROVEMENT] (BL-20260518-003) LVS hybrid: BM25 corpus + numberOfCandidates pre-filter cache (FR-004 followup)
18
+ status: ⏳ pending
19
+ priority: low
20
+ source: assistant
21
+ area: backend
22
+ details: A jelenlegi hybrid search minden vectorSearch hívásnál ujraepiti a BM25 corpus-t (O(N×|doc|)) és a cosine-t ALL candidate-re futtatja, nem csak top-N-re. ~100..10000 doc LVS-pool-ra elfogadható (ms-mp), de 100K+ doc + ~1KB/doc → ~100MB token allocation per query + GC pressure. Two-pronged optim: (1) opt-in BM25 index cache (corpus-key alapján, invalidate on data write), (2) `numberOfCandidates` érdemi haszna — cosine top-numberOfCandidates pre-filter, BM25 csak ezeken fut. CCAP RAG batch-hívásokra különösen releváns. Spec: lvs-bm25.util.ts (cache layer) + lvs-local-vector-search.data-service.ts (pre-filter branch hybrid módban).
23
+
24
+ - [IMPROVEMENT] (BL-20260518-002) LVS hybrid: Partial<hybridWeight> API ergonomics (FR-004 followup)
25
+ status: ⏳ pending
26
+ priority: low
27
+ source: assistant
28
+ area: backend
29
+ details: A jelenlegi `vectorSearch({ ..., hybridWeight: { vector: number; text: number } })` típus mindkét mezőt kötelezővé teszi ha `hybridWeight` megadva. Ergonomikusabb: `hybridWeight?: Partial<{ vector: number; text: number }>` — `{ vector: 0.8 }` esetén `text` default 0.5 (vagy `1 - vector` semantic-szal). Default-merge a `vectorSearch`-ben: `wVector = hybridWeight?.vector ?? 0.5`, `wText = hybridWeight?.text ?? (1 - wVector)`. Non-breaking (jelenlegi `{vector:0.7,text:0.3}` továbbra is valid). 1-2 új spec a partial override-ra. Fájl: lvs-local-vector-search.data-service.ts:130 + spec extension.
30
+
17
31
  - [BUG] (BL-20260518-001) FR-002 cost-event batch test mock/assertion mismatch
18
32
  status: ✅ done
19
33
  priority: medium
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@futdevpro/nts-dynamo",
3
- "version": "01.15.29",
3
+ "version": "01.15.31",
4
4
  "description": "Dynamic NodeTS (NodeJS-Typescript), MongoDB Backend System Framework by Future Development Program Ltd.",
5
5
  "DyBu_settings": {
6
6
  "packageType": "server-package",
@@ -299,7 +299,7 @@
299
299
  "empty": ""
300
300
  },
301
301
  "peerDependencies": {
302
- "@futdevpro/fsm-dynamo": "1.15.8",
302
+ "@futdevpro/fsm-dynamo": "1.15.11",
303
303
  "@types/express": "4.17.21",
304
304
  "@types/geoip-lite": "~1.4.1",
305
305
  "@types/node": "~24.1.0",
@@ -314,7 +314,7 @@
314
314
  "ts-node": "~10.9.2"
315
315
  },
316
316
  "devDependencies": {
317
- "@futdevpro/dynamo-eslint": "1.15.7",
317
+ "@futdevpro/dynamo-eslint": "1.15.9",
318
318
  "@discordjs/opus": "^0.10.0",
319
319
  "@discordjs/voice": "^0.18.0",
320
320
  "@types/jasmine": "~4.3.5",