Skip to content

fix(OpenClaw Local Plugin): resolve search and SQLite installation issues#1251

Open
tangbotony wants to merge 18 commits intoMemTensor:openclaw-local-plugin-20260317from
tangbotony:native_memos
Open

fix(OpenClaw Local Plugin): resolve search and SQLite installation issues#1251
tangbotony wants to merge 18 commits intoMemTensor:openclaw-local-plugin-20260317from
tangbotony:native_memos

Conversation

@tangbotony
Copy link
Contributor

Description

resolve search and SQLite installation issues

Related Issue (Required): Fixes @tangbotony

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (does not change functionality, e.g. code style improvements, linting)
  • Documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Unit Test
  • Test Script Or Test Steps (please provide)
  • Pipeline Automated API Test (please provide)

Checklist

  • I have performed a self-review of my own code | 我已自行检查了自己的代码
  • I have commented my code in hard-to-understand areas | 我已在难以理解的地方对代码进行了注释
  • I have added tests that prove my fix is effective or that my feature works | 我已添加测试以证明我的修复有效或功能正常
  • I have created related documentation issue/PR in MemOS-Docs (if applicable) | 我已在 MemOS-Docs 中创建了相关的文档 issue/PR(如果适用)
  • I have linked the issue to this PR (if applicable) | 我已将 issue 链接到此 PR(如果适用)
  • I have mentioned the person who will review this PR | 我已提及将审查此 PR 的人

Reviewer Checklist

tangbotony and others added 18 commits March 9, 2026 23:25
…earch & delete fixes

- Add pre-save model validation: embedding required, test before save,
  fallback prompt for unconfigured summarizer/skill models
- Add Chinese model providers: SiliconFlow, Zhipu, DeepSeek, Bailian,
  Moonshot with auto-fill endpoint and default models
- Fix Chinese keyword search: fallback to LIKE when FTS5 returns empty
  (porter tokenizer does not support CJK); remove incorrect vector
  score filtering of FTS results
- Fix deleteAll: add missing skill_embeddings cleanup, per-table
  error handling to prevent partial failures
- Improve skill visibility error handling with detailed error messages
- Bump version to 1.0.1

Made-with: Cursor
…odel health & timestamp fix

- Summarize prompt: change from "text summarizer" to "title generator" for shorter output
- Summarize quality gate: retry with fallback model when summary >= original length
- Topic judge: prioritize skill evolution strong model, fallback to OpenClaw model
- Model health UI: redesign to clean table layout
- Dedup: remove silent skip for exact duplicates, show as greyed-out entries
- Fix recalled-memory overlap filter silently dropping messages before ingest
- Remove strongCfg from general Summarizer to avoid wrong model in health status
- Fix timestamp bug in migration import: smart detect seconds vs milliseconds
- Bump version to 1.0.2-beta.4

Made-with: Cursor
…ection, test result display

Made-with: Cursor
…ewer UI improvements, topic judge & embedding warnings

- Multi-agent data isolation: correctly pass agentId from OpenClaw hooks (ctx),
  owner-based filtering in search/FTS/timeline/get tools, skill guide updated
- Viewer UI: sidebar stats always visible on all tabs, analytics page width fix,
  session section visibility toggle, tab switch jitter fix, unified content max-width
- Topic judge prompt: rebalanced to correctly detect cross-domain topic shifts
  (e.g. cooking vs database config no longer merged)
- Embedding banners: warning when using built-in mini model, error when model fails
- Test infrastructure: accuracy test script (openclaw agent CLI), agent isolation test

Made-with: Cursor
…te, import & postprocess UI improvements

- Add semver-based update check: beta users compare against beta tag, stable users against latest tag
- Add one-click update button in viewer banner with auto gateway restart
- Show stable channel hint for beta users
- Import page: show imported count, scan toast, resume button, phase labels
- Postprocess: show existing tasks/skills totals, fix progress display on completion
- Fix SSE client close timing to prevent last message loss

Made-with: Cursor
- Fix ReferenceError in capture hook where `filteredCaptured` was used
  instead of `captured`, causing `capture failed` warnings on every
  message ingestion

- Add native support for Zhipu, SiliconFlow, Bailian, Cohere, Mistral,
  and Voyage as LLM providers for both embedding and summarizer,
  routing them through the OpenAI-compatible path

- Improve Model Health UI: classify long error messages into short
  labels (e.g. "Not found (404)", "Network error"), add JS-based
  hover tooltip to show full error details

- Rewrite plugin auto-update flow using npm pack + tar extraction
  instead of `openclaw plugins install`, with proper native module
  rebuild and SIGUSR1-based gateway restart

Made-with: Cursor
…lite3 rebuild 错误

- 更新流程中在 npm rebuild better-sqlite3 之后增加执行 node scripts/postinstall.cjs,与命令行安装路径一致(技能安装、版本标记、legacy 清理)
- 去掉 rebuild 的 2>/dev/null; true,失败时打 warn 日志便于排查
- npm install 失败时立即返回错误,不再执行后续步骤

Made-with: Cursor
- Extend SummaryProvider with zhipu, siliconflow, bailian, cohere, mistral, voyage
- Fix resultCleaned type narrowing in summarize() with explicit cast for length log
- Pass content instead of summary in skill filterRelevant candidateList

Made-with: Cursor
…Node 25+ compatibility

- Show Node version in error box and thrown message for easier debugging
- When Node >= 25: add hint that prebuilds are unavailable, build tools required
- Suggest Node LTS (20/22) as alternative (e.g. nvm install 22)
- Thrown error text: include 'install build tools' and 'Or use Node LTS (20/22)'

Made-with: Cursor
fix(openclaw): sanitize FTS date queries with hyphen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants