nox-mem 3.11.1 → 3.11.2
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/README.md +3 -0
- package/dist/kg-llm.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -251,6 +251,9 @@ nox-mem vectorize — embed any unembedded chunks
|
|
|
251
251
|
nox-mem stats — chunk/entity/vector counts
|
|
252
252
|
nox-mem kg-build — extract knowledge graph entities
|
|
253
253
|
nox-mem reflect "question" — synthesis over memory + KG, with cited sources
|
|
254
|
+
nox-mem session-distill — distill memories from agent session JSONL files (Gemini; oldest first; --dry-run,
|
|
255
|
+
--agents, --lookback-days, --max-sessions); stored as `distilled`, which never decays.
|
|
256
|
+
Multi-agent layouts only (NOX_AGENTS_DIR); on a standalone install there is nothing to read
|
|
254
257
|
nox-mem-api — start HTTP API on $NOX_API_PORT (default 18802)
|
|
255
258
|
nox-mem-mcp — start MCP server over stdio (22 tools, incl. nox_mem_answer and nox_mem_get, for agents)
|
|
256
259
|
nox-mem doctor — health check (core + optional integrations)
|
package/dist/kg-llm.js
CHANGED
|
@@ -82,7 +82,7 @@ export function normalizeRelationReason(raw, relationType) {
|
|
|
82
82
|
// ─── Fast-path regex (PT-BR) ────────────────────────────────────────────────
|
|
83
83
|
//
|
|
84
84
|
// Detecta entidades óbvias sem LLM. Se ≥3 encontradas, pula Gemini.
|
|
85
|
-
// Patterns calibrados para
|
|
85
|
+
// Patterns calibrados para documentos de negócio em PT-BR.
|
|
86
86
|
const RE_VALUE_BRL = /R\$\s?\d[\d\.,]*(?:\s?(?:mil|milh[ãa]o|milh[õo]es|bi|bilh[ãa]o|k|m|b))?/gi;
|
|
87
87
|
const RE_VALUE_USD = /US?\$\s?\d[\d\.,]*(?:\s?(?:k|m|b|million|thousand|billion))?/gi;
|
|
88
88
|
const RE_VALUE_EUR = /€\s?\d[\d\.,]*/gi;
|