memory-lancedb-pro 1.1.0-beta.2 → 1.1.0-beta.5
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-v1.1.0.md +2 -2
- package/README.md +565 -504
- package/README_CN.md +645 -460
- package/cli.ts +177 -22
- package/docs/CHANGELOG-v1.1.0.md +306 -0
- package/docs/memory_architecture_analysis.md +775 -0
- package/docs/openclaw-integration-playbook.md +334 -0
- package/docs/openclaw-integration-playbook.zh-CN.md +353 -0
- package/index.ts +2159 -203
- package/openclaw.plugin.json +343 -37
- package/package.json +3 -2
- package/scripts/jsonl_distill.py +2 -0
- package/src/adaptive-retrieval.ts +10 -12
- package/src/decay-engine.ts +3 -2
- package/src/embedder.ts +146 -10
- package/src/extraction-prompts.ts +0 -2
- package/src/llm-client.ts +0 -2
- package/src/memory-categories.ts +0 -1
- package/src/memory-upgrader.ts +387 -0
- package/src/migrate.ts +30 -23
- package/src/noise-filter.ts +12 -0
- package/src/reflection-event-store.ts +97 -0
- package/src/reflection-item-store.ts +111 -0
- package/src/reflection-mapped-metadata.ts +83 -0
- package/src/reflection-metadata.ts +22 -0
- package/src/reflection-ranking.ts +32 -0
- package/src/reflection-retry.ts +180 -0
- package/src/reflection-slices.ts +264 -0
- package/src/reflection-store.ts +601 -0
- package/src/retriever.ts +87 -96
- package/src/self-improvement-files.ts +142 -0
- package/src/session-recovery.ts +137 -0
- package/src/smart-extractor.ts +110 -53
- package/src/smart-metadata.ts +230 -0
- package/src/store.ts +122 -23
- package/src/tier-manager.ts +0 -1
- package/src/tools.ts +407 -26
- package/test/cli-smoke.mjs +233 -17
- package/test/config-session-strategy-migration.test.mjs +66 -0
- package/test/embedder-error-hints.test.mjs +110 -0
- package/test/functional-e2e.mjs +320 -0
- package/test/helpers/openclaw-plugin-sdk-stub.mjs +7 -0
- package/test/jsonl-distill-slash-filter.test.mjs +81 -0
- package/test/memory-reflection.test.mjs +818 -0
- package/test/migrate-legacy-schema.test.mjs +116 -0
- package/test/openclaw-host-functional.mjs +317 -0
- package/test/plugin-manifest-regression.mjs +263 -0
- package/test/retriever-rerank-regression.mjs +132 -0
- package/test/self-improvement.test.mjs +258 -0
- package/test/session-recovery-paths.test.mjs +58 -0
- package/test/smart-extractor-branches.mjs +483 -0
- package/test/smart-memory-lifecycle.mjs +219 -0
package/CHANGELOG-v1.1.0.md
CHANGED
|
@@ -154,7 +154,7 @@ llm?: {
|
|
|
154
154
|
model?: string; // LLM 模型(默认 gpt-4o-mini)
|
|
155
155
|
baseURL?: string; // LLM API 端点
|
|
156
156
|
};
|
|
157
|
-
extractMinMessages?: number; // 最少消息数才触发提取(默认
|
|
157
|
+
extractMinMessages?: number; // 最少消息数才触发提取(默认 2)
|
|
158
158
|
extractMaxChars?: number; // 送入 LLM 的最大字符数(默认 8000)
|
|
159
159
|
```
|
|
160
160
|
|
|
@@ -200,7 +200,7 @@ extractMaxChars?: number; // 送入 LLM 的最大字符数(默认 8000)
|
|
|
200
200
|
"model": "gpt-4o-mini",
|
|
201
201
|
"baseURL": "https://api.openai.com/v1"
|
|
202
202
|
},
|
|
203
|
-
"extractMinMessages":
|
|
203
|
+
"extractMinMessages": 2,
|
|
204
204
|
"extractMaxChars": 8000
|
|
205
205
|
}
|
|
206
206
|
```
|