Skip to content
This repository was archived by the owner on Jun 3, 2026. It is now read-only.

v0.6.1 — Hook-based lifecycle + garbage cleanup

Choose a tag to compare

@glasschan glasschan released this 29 May 18:25
· 10 commits to main since this release

v0.6.1 — Hook-based lifecycle + garbage cleanup + Ark embedding

Hook registration bypass

  • Fixed: Hermes _ProviderCollector.register_hook() was a silent no-op
  • Provider now directly writes to PluginManager._hooks during initialize()
  • 3 hooks registered: pre_llm_call, post_llm_call, on_session_end

Garbage cleanup

  • Disabled auto-extraction of "Session topics" summaries (polluted search)
  • Disabled "Session ended" markers (no value, session DB handles this)
  • Cleaned 440 conversation entries from DB → 53 high-quality memories remain

Prefetch quality

  • Category boost: conversation excluded (0.0x), corrections boosted (1.3x)
  • Post-filter: min score 0.2, conversation category excluded
  • Fetches top_k * 3 to avoid starving after filtering

Embedding model

  • Switched back to Ark doubao-embedding-vision (from qwen3-embedding-4b)
  • Recall improved 3-10x for Chinese queries
  • Scores: 0.35-0.62 vs 0.01-0.16

Files changed

  • plugin.yaml — v0.6.1, added provides_hooks
  • __init__.py — updated register() with documentation
  • provider.py — hook adapters, garbage cleanup, prefetch rework