release: v0.38.2 — tool cards properly render on page reload (#154)

Co-authored-by: Nathan Esquenazi <nesquena@gmail.com>
This commit is contained in:
nesquena-hermes
2026-04-06 14:23:54 -07:00
committed by GitHub
parent 5a52259fd7
commit 01896d67f3
2 changed files with 8 additions and 1 deletions

View File

@@ -5,6 +5,13 @@
---
## [v0.38.2] — 2026-04-06
### Fixed
- **Tool cards actually render on page reload** (#140, #153): PR #149 fixed the wrong filter — it updated `vis` but not `visWithIdx` (the loop that actually creates DOM rows), so anchor rows were never inserted. This PR fixes `visWithIdx`. Additionally, `streaming.py`'s `assistant_msg_idx` builder previously only scanned Anthropic content-array format and produced `idx=-1` for all OpenAI-format tool calls (the format used in saved sessions); it now handles both. As a final fallback, `renderMessages()` now builds tool card data directly from per-message `tool_calls` arrays when `S.toolCalls` is empty, covering historical sessions that predate session-level tool tracking.
---
## [v0.38.1] — 2026-04-06
### Fixed