v0.5.0
MCP layer catches up to the 0.4 HelpEngine public API. Everything added to the Python API in 0.4 is now reachable from an MCP client.
Added
lookup_simplerMCP tool — step a topic one depth level back down, mirroringHelpEngine.simpler().lookup_list_topicsMCP tool — flat slug enumeration optionally filtered by type (concepts,tasks,references, …).lookup_searchMCP tool — fuzzy slug search returning ranked{slug, score}hits.lookup_suggestMCP tool — "did you mean" slug suggestions.lookup_resetnow accepts an optionaltopicparameter to clear a single topic instead of the full session.lookup_statusnow returns the full per-topic depth map (topics) and LRU order (order) alongside the legacylast_topic/depth_levelfields."json"is now an accepted renderer across every MCP tool that renders content.- Public
attune_help.engine.VALID_RENDERERSconstant so downstream code can derive allowlists from the same source the engine uses.
Fixed
- Renderer allowlist drift between
HelpEngineand the MCP layer. The handler and schema enum now both derive fromengine.VALID_RENDERERS, so adding a renderer automatically propagates to MCP. - MCP
lookup_resetpreviously wrote the legacy (pre-0.4) session schema, bypassing per-topic history. It now delegates toHelpEngine.reset(). - MCP tool count assertion was hardcoded — now uses the dispatch table as the source of truth.
Changed
- Nothing breaking. All existing MCP tool names and response shapes are preserved. New fields on
lookup_statusare additive; thetopicparameter onlookup_resetis optional.