mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1112] [CLOSED] web: make MCP tool activity readable and collapsible #3035
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3035
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/1112
Author: @medking82
Created: 10/6/2026
Status: ❌ Closed
Base:
main← Head:codex/tool-activity-upstream-20261006📝 Commits (1)
95b7454web: group tool activity with readable subjects and preserved disclosure📊 Changes
6 files changed (+425 additions, -38 deletions)
View changed files
📝
serve/web/app.css(+21 -6)📝
serve/web/app.js(+40 -32)📝
serve/web/index.html(+1 -0)➕
serve/web/tool-activity.js(+88 -0)➕
tools/test_tool_activity.cjs(+80 -0)➕
tools/test_tool_activity_integration.cjs(+195 -0)📄 Description
MCP-heavy answers currently stack one row per call with raw JSON result previews, making the answer hard to scan. This groups adjacent calls at the same answer position into a collapsed activity summary, shows a readable query/page subject, and keeps failed or skipped calls visible in the summary. Expanding a call still exposes the original arguments and the result sent to the model.
Validation on the rewritten main at
82f46a8c8f475f001ad76d92f58f4a4f8ffb0253:node --test tools/test_tool_activity.cjs tools/test_tool_activity_integration.cjs: 13/13 passed. Includes actual app rendering/click/stream-event/history functions, ordering, disclosure persistence, focus restoration, escaped payloads and canonical source URLs.node --check serve/web/app.js,node --check serve/web/tool-activity.js, andgit diff --check: passed.This is a display-only contribution extracted from my fork. It changes no server endpoints, tool execution policy, loop limits, search defaults or resource allocation. Companion #1106 addresses Thinking scroll behavior independently; both touch the disclosure handler in app.js, so the explicit no-follow argument should be retained when integrating them.
UI example
Illustrative screenshot of the current fork UI, rendered with entirely fictional projects, chats, messages and synthetic Monitor values. The grouped “Web research” card demonstrates the tool-activity presentation in this PR. The surrounding Project sidebar, Monitor panel, skills controls and resource controls are separate fork features, and the displayed numbers are demo data rather than benchmark results.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.