Repository navigation
fix(ui): harden persisted tool activity rendering - #48
Merged
Merged
Conversation
helsome
reviewed
Sep 11, 2026
helsome
left a comment
Owner
There was a problem hiding this comment.
这条作为“现有 ToolActivity 的持久化展示 + 安全收敛”本身有价值:复用 live 组件、隐藏 raw args/error/tool id、校验 symbol、补 reload UI 回归都合理。
但先不要把它当 #33 的实现合入:#33 已被另一位贡献者 claim,且 Issue 要求基于 #27 typed events 覆盖 search / financial data / generic tool、running→success/failure/cancelled、retry/fallback、evidence id,以及真实 >=3 工具/数据源录屏。当前 PR 只消费已经持久化的 Message.toolCalls,会和 #33 主实现发生职责重叠。
建议二选一:
Rapeter
force-pushed
the
feat/tool-activity-timeline
branch
from
September 11, 2026 07:36
47cf380 to
e87de53
Compare
Rapeter
force-pushed
the
feat/tool-activity-timeline
branch
from
September 11, 2026 07:52
e87de53 to
13ac92e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Scope
This is a focused UI privacy hardening related to #19. It does not implement or close #33, which is claimed and has separate typed-event and persisted-timeline requirements.
Verification
bun test packages/ui/src/components/agent/ToolActivity.test.tsx packages/ui/src/components/chat/TurnCard.test.tsxbun run typecheckbun run i18n:checkbun test --isolatewas also run: the change-specific tests pass; six unrelated Windows environment failures remain (symlink permissions, path separators, and locale formatting).