Releases: airbing11/memory-lancedb-dreaming
v0.2.9 — ClawHub packaging hotfix
v0.2.9 — ClawHub packaging hotfix
This is an emergency packaging-only release for ClawHub.
Fixed
- Include generated
dist/doctor.*anddist/deep-history.*files in the GitHub source/tag artifact. - Fixes ClawHub installs failing with
Cannot find module './doctor.js'when loadingdist/index.js.
Notes
- No runtime behavior changes from v0.2.8.
- v0.2.8 GitHub Release tgz was complete, but the ClawHub source artifact was missing these ignored generated files because
dist/is gitignored and new generated files were not force-added.
Verification
npm test: 57/57 passingnpm pack: containsdist/doctor.jsanddist/deep-history.js
Upgrade:
openclaw plugins install clawhub:memory-lancedb-dreaming@0.2.9
openclaw gateway restartThen run dreaming_doctor.
v0.2.8 — REM anti-repeat, narrative freshness & dreaming_doctor
English
Why
After running for weeks, daily dream reports started recycling the same old material (voice-history, version-upgrade saga, joint-venture talks, etc.) with different wording.
What's new
- Narrative freshness: on a promoted=0 day the diary no longer reuses stale ranked candidates.
- Text-level truth dedupe: CJK-aware overlap-coefficient similarity against recent truth texts (default threshold 0.42).
- Exclude promoted: memories already in MEMORY.md are skipped for lasting truths.
- Idle novelty mode: after 7 consecutive zero-promotion days, REM tightens dedupe and narrative stops reusing old material.
dreaming_doctortool +scripts/doctor.sh: self-check hooks, model override, LanceDB slot, cron collision, daily report delivery, and Deep idle streak.- REM theme placeholder fix: LLM echo of format example no longer accepted as a real theme.
Upgrade
Replace the tgz and fully restart the gateway. Old rem-history.json needs no migration.
Full changelog: v0.2.7...v0.2.8
中文
背景
长期运行后梦境日报开始反复输出同一批陈年旧事,只是换了措辞。
新增 / 修复
- 叙事新鲜度: promoted=0 当天不再复用旧候选。
- truth 文本级去重: CJK 友好相似度比对,≥ 0.42 即跳过。
- 排除已提炼: 已进 MEMORY.md 的记忆默认不再进入 lasting truths。
- 空转 novelty 模式: 连续 7 天 promoted=0 后 REM 自动收紧去重。
dreaming_doctor+scripts/doctor.sh: 安装/运行自检。- REM 主题名占位符修复。
升级
替换 tgz → 完整重启 gateway。
v0.2.7 — English-first bilingual listing metadata
English
Metadata-only patch release for better GitHub / ClawHub readability and discovery.
Changed
- Make the README English-first with a concise bilingual Chinese section.
- Update
package.jsonandopenclaw.plugin.jsondescriptions to be English-first and clearer for international users. - No runtime behavior changes from v0.2.6.
Verification
- 39/39 tests passed before packaging.
中文
这是一个 metadata-only patch 版本,用于优化 GitHub / ClawHub 页面阅读性与推广效果。
变化
- README 改为英文在前,中文说明在后。
package.json与openclaw.plugin.json描述改为英文优先,更适合国际用户理解。- 运行时逻辑与 v0.2.6 完全一致。
验证
- 打包前测试 39/39 通过。
v0.2.6 — Daily report dedupe and REM diversity
English
v0.2.6 is a production-verified release for OpenClaw agents using LanceDB / memory-lancedb-pro as the memory backend.
Highlights
- Fixes duplicate daily report pushes: IM delivery is now owned only by the Daily Report cron.
- Auto-staggers colliding cron schedules: if dreaming and daily report both use
0 3 * * *, the report runs at30 3 * * *. - Adds daily report push dedupe via
dailyReport.delivery.pushOn(changedby default). - Rotates REM
Possible Lasting Truthsand cluster exemplars across days to avoid repeated high-importance memories.
Verification
- VPS-verified on OpenClaw 2026.6.5 with
memory-lancedb-proand 1322 memories. - 39/39 tests passed before packaging.
- Feishu daily report delivered once per day; REM Lasting Truths rotated across multiple days.
See docs/v0.2.6-ACCEPTANCE-REPORT.md for the acceptance report.
中文
v0.2.6 是面向 LanceDB / memory-lancedb-pro 记忆后端的生产验收版本。
主要变化
- 修复梦境日报重复推送:IM 推送只由 Daily Report cron 负责。
- 自动错开冲突 cron:如果梦境与日报都配置为
0 3 * * *,日报实际改为30 3 * * *。 - 新增日报推送去重:
dailyReport.delivery.pushOn默认changed。 - REM 的
Possible Lasting Truths与聚类 exemplar 跨天轮换,避免高 importance 旧记忆反复占位。
验收
- 小泡 VPS 已在 OpenClaw 2026.6.5、
memory-lancedb-pro、1322 条记忆环境验收通过。 - 打包前测试 39/39 通过。
- 飞书日报每天仅推送一次;REM Lasting Truths 已连续多天轮换。
v0.2.4 — memory-lancedb-pro slot fix
memory-lancedb-dreaming v0.2.4
Fix LanceDB config resolution for memory-lancedb-pro (and other memory slot owners).
Highlights
- Read
dbPath/embeddingfromplugins.slots.memory(not hardcodedmemory-lancedb) dreaming_status.lancedbPluginIdfor diagnostics- Production verified on VPS (2026-06-09): pipeline + Feishu daily report + 3:00 cron
Upgrade from 0.2.3
bash scripts/install.sh memory-lancedb-dreaming-0.2.4.tgz
openclaw gateway stop && openclaw gateway runNo duplicate memory-lancedb entry needed when slot is memory-lancedb-pro.
Links
v0.2.3 — Daily Report with Feishu/WeCom Push
v0.2.3 — Daily Report with Feishu/WeCom Push
New Features
- Daily Report phase: Automatic daily dreaming digest with channel push
- sendDurableMessageBatch delivery: Push to Feishu or WeCom via plugin SDK's sendDurableMessageBatch API
Fixes
- Push API migrated from
runtime.channel.outbound.loadAdapter→sendDurableMessageBatch - Startup retry increased to 120 attempts (~10 min) for reliable cron registration
- Delivery failure now logs
warn/error instead of silent fail (v0.2.2 behavior)
Installation
bash scripts/install.sh memory-lancedb-dreaming-0.2.3.tgzFull Changelog: v0.1.12...v0.2.3
v0.1.12 — Install script, conflict cron cleanup, lastRunAt
Production smoke passed on OpenClaw 2026.5.20 (953 vectors): install.sh, dreaming_trigger all OK, no healthcheck cron conflicts.
v0.1.10 — Description & docs polish
Changes from v0.1.9\n\n- Updated ClawHub description to highlight the pain-point: LanceDB dreaming broken → this plugin fixes it\n- README: rewritten opening with direct pain-point narrative\n- GitHub Release Notes: The Problem / This Plugin Fixes That structure\n\nNo code changes from v0.1.9 — all packaging/docs only.
v0.1.9 — LanceDB Dreaming Plugin (First Public Release)
v0.1.9 — LanceDB Dreaming Plugin (First Public Release)
The Problem
OpenClaw's built-in dreaming stops working when you switch to LanceDB vector storage. Even when it limps along, the output is just category labels — fact, other — barely useful.
This Plugin Fixes That
It restores the full Light→REM→Deep dreaming pipeline, replaces meaningless category labels with LLM-powered bilingual semantic themes(系统运维排故 / System Maintenance Troubleshooting), and generates poetic dream diary entries (zh + en) that capture the texture of a day's work.
Features
- Light / REM / Deep three-phase dreaming pipeline
- LanceDB vector memory integration (lookback filtering, dedupe, scoring)
- REM semantic theme naming via LLM (bilingual zh/en theme labels)
- Narrative dream diary appended to DREAMS.md (configurable languages)
- Deep phase memory promotion to MEMORY.md with configurable thresholds
- Auto-managed cron job + global pipeline mutex
- Tools:
dreaming_status,dreaming_trigger
Required Configuration
Two entry-level fields are mandatory for full functionality:
| Field | Required when | If missing |
|---|---|---|
hooks.allowConversationAccess: true |
Always | Cron runs but pipeline never executes (~120s agent idle) |
subagent.allowModelOverride: true |
When rem.model is set |
REM falls back to category tags; narrative LLM fails silently |
Install (manual, OpenClaw 2026.5.20)
mkdir -p ~/.openclaw/plugins/memory-lancedb-dreaming
tar -xzf memory-lancedb-dreaming-0.1.9.tgz -C /tmp
cp -r /tmp/package/* ~/.openclaw/plugins/memory-lancedb-dreaming/
cd ~/.openclaw/plugins/memory-lancedb-dreaming && npm install --omit=devDo not install under workspace/ — it breaks plugins.load.paths validation. Restart gateway after changing hooks.
Changelog (0.1.5 → 0.1.9)
- Wire lookbackDays in Light/REM phases
- Fix Deep promotedAt (only mark actually promoted entries)
- Pipeline mutex for concurrent triggers
- Runtime config reload + model alias support
- LLM fallback via runtime.llm.complete
- Startup diagnostics for hook/model-override permissions
- 16 unit tests
Known Limitations
- REM clustering is category-based + LLM naming; semantic vector clustering planned for v0.2.0
- openclaw plugin install unavailable on 2026.5.20 — manual tarball required