Skip to content

fix(coding-agent): scroll shared tool entries to rendered tool calls#4664

Merged
badlogic merged 1 commit into
earendil-works:mainfrom
yzhg1983:fix/share-tool-sidebar-navigation
May 18, 2026
Merged

fix(coding-agent): scroll shared tool entries to rendered tool calls#4664
badlogic merged 1 commit into
earendil-works:mainfrom
yzhg1983:fix/share-tool-sidebar-navigation

Conversation

@yzhg1983

Copy link
Copy Markdown
Contributor

Summary

Fix /share HTML sidebar navigation for tool result entries.

Tool results are listed in the sidebar as session entries, but their visible content is rendered inside the assistant message’s tool-call block. Sidebar clicks previously tried to scroll to a non-existent entry-<toolResultId> element.

This adds stable tool-call DOM ids and maps tool result entries to their rendered tool-call element when scrolling.

Testing

  • npm run check

@raquelpn1979-tech

Copy link
Copy Markdown

@badlogic badlogic merged commit 7670563 into earendil-works:main May 18, 2026
3 checks passed
@badlogic

Copy link
Copy Markdown
Collaborator

cheers!

@raquelpn1979-tech

Copy link
Copy Markdown

5d4859590a0f9ca41d17a35a0d0023b1326943ed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants