Skip to content

v0.8.4 — 面板真的能渲染了(修三个真 bug)

Latest

Choose a tag to compare

@WYR-233 WYR-233 released this 02 Nov 00:16

0.8.4 — the panel actually renders now

Fixed (these were real, user-visible bugs)

  • The settings section crashed on load, so DSH marked it inactive: clicking the sidebar 「记忆库」 entry fell back to Account (looked like "it jumps to personal settings"). Cause: a useEffect referenced a variable declared ~40 lines later; on the first render (data still null) that variable was never initialized → Cannot access before initialization.
  • The sidebar entry clicked the wrong button: [data-slot=sidebar.settings] button is the user-menu trigger (avatar), not a settings trigger, so it opened Settings / Feedback / Sign out instead of the panel.
  • Card line counting disagreed with the indexer: the panel counted the whole file (including front matter) while memory-consolidate.py counts body only → the panel claimed "25 cards missing a head digest" while the checker said 0. Both now use the indexer's rule (body only).
  • Self-test wiped real data (0.7.1): the opening tests wrote to and then deleted OPENING.md inside the real memory library, because the default test root was the real library.

Added

  • Governance proposals (card clusters by title similarity, cold cards, oversized, duplicate titles, topics over the red line) — proposals only, nothing is changed.
  • Timeline panel reading memory/events/events.jsonl.
  • Card viewer: click a search result path to read the whole card (read-only, path traversal rejected).
  • Persona drift check sampling real replies from session records.
  • Regression gate button, search-log panel, vector-fallback readiness.
  • Every block is hidden when its script is absent from the library — the plugin never assumes your library ships these tools.

Changed

  • Settings panel grouped into five tabs: Overview / Search / Govern / Persona / Settings.
  • Card limits are read from the library's own memory.toml [card].