Add LLM Wiki status panel MVP#1664
Conversation
|
Thanks @Michaelyklam — picking this up in the v0.51.0 batch but the merge into stage hit a multi-conflict region in Two paths from here, your call:
Either way the diagnosis and code are good — this is purely mechanical merge-conflict work. CI is still green on your branch as-is. |
02f6d32 to
2684d6f
Compare
fcc8328
|
Closed by the v0.51.2 release in PR #1682 (merged at fcc8328, deployed to production). Thanks for the contribution! Live on production: https://github.com/nesquena/hermes-webui/releases/tag/v0.51.2 🚀 |
Thinking Path
research/llm-wikiskill uses a markdown directory atWIKI_PATH(default~/wiki) withSCHEMA.md,index.md,log.md, page folders (entities/,concepts/,comparisons/,queries/), andraw/sources.What Changed
GET /api/wiki/status, which resolvesWIKI_PATH,.env,skills.config.wiki.path, or the default~/wiki, then returns read-only metadata:enabled/available/statusentry_count/page_countraw_source_countlast_updatedlast_writerasnullwhen not safely availabletoggle_available: falsewith a follow-up reason when no stable flag existsdocs/pr-media/1257/llm-wiki-status.png.Refs #1257
Why It Matters
This gives WebUI users a conservative observability surface for LLM Wiki state without turning the WebUI into a wiki content browser or exposing private wiki content. It also gives maintainers a safe backend/API seam for later toggle, entries, graph, or raw-source views once Hermes Agent exposes stable primitives for them.
Verification
Result:
Manual verification:
127.0.0.1:18757with a syntheticWIKI_PATHfixture.GET /api/wiki/statusreturnedentry_count: 2,page_count: 2,raw_source_count: 1,toggle_available: false, and no private page text or absolute wiki path.UI media:
Risks / Follow-ups
WIKI_PATH/wiki.path) but no clear stable enable/disable flag.last_writerremainsnullunless Hermes Agent later writes a structured, safe writer field; this PR avoids parsing arbitrary log text that could leak private content.Model Used
AI assisted.
gpt-5.5