From 01896d67f3c32371f876b9c5e5bac7e2a9b26771 Mon Sep 17 00:00:00 2001 From: nesquena-hermes Date: Mon, 6 Apr 2026 14:23:54 -0700 Subject: [PATCH] =?UTF-8?q?release:=20v0.38.2=20=E2=80=94=20tool=20cards?= =?UTF-8?q?=20properly=20render=20on=20page=20reload=20(#154)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Nathan Esquenazi --- CHANGELOG.md | 7 +++++++ static/index.html | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f5c800..b83139f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/static/index.html b/static/index.html index b8e9a1b..9bc5569 100644 --- a/static/index.html +++ b/static/index.html @@ -14,7 +14,7 @@