Uh oh!
There was an error while loading. Please reload this page.
fix(copilot): expand tool metadata, fix thinking text rendering, clean up display logic - #3779
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryMedium Risk Overview Expands Includes small cleanups: renames “Go backend” references to “server/copilot”, tightens types for persisted chat resources, removes unused client tool base types, and makes the workflow-tool name set internal. Written by Cursor Bugbot for commit 3464600. Configure here. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Greptile SummaryThis PR delivers three focused fixes to the copilot chat experience: expands Confidence Score: 5/5Safe to merge — all three bugs are correctly addressed and no regressions were found. The reasoning event handling correctly uses ensureTextBlock() for both start and end phases. Dead code removal is clean: ClientToolCallState is still exported from tool-display-registry.ts and imported from there by its consumers; WORKFLOW_EXECUTION_TIMEOUT_MS had no external usages; WORKFLOW_TOOL_NAME_SET is only used internally. The TOOL_UI_METADATA Record promotion gives compile-time completeness guarantees. No files require special attention. Important Files Changed
Reviews (2): Last reviewed commit: "fix(copilot): guard null reasoning data,..." | Re-trigger Greptile |
Uh oh!
There was an error while loading. Please reload this page.
waleedlatif1
commented
Mar 26, 2026
waleedlatif1
commented
Mar 26, 2026
@cursor review |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…n up display logic (#3779) * fix(copilot): expand tool metadata, fix thinking text rendering, clean up display logic * fix(copilot): guard null reasoning data, use ensureTextBlock for thinking end * fix(copilot): restore displayTitle precedence so cancelled tools show 'Stopped by user'
…n up display logic (#3779) * fix(copilot): expand tool metadata, fix thinking text rendering, clean up display logic * fix(copilot): guard null reasoning data, use ensureTextBlock for thinking end * fix(copilot): restore displayTitle precedence so cancelled tools show 'Stopped by user'

Summary
MothershipToolNameunion andTOOL_UI_METADATAto cover all tool IDs — every tool now shows a human-readable display title instead of falling back to raw snake_case namesreasoningevents in<thinking>XML, and loaded history converts storedthinkingblocks the same way, both feeding into the existingparseSpecialTagsrendering pipelineformatToolNamefallback andgetOverrideDisplayTitleindirection;TOOL_UI_METADATAis now the single source of truth for tool display namesphase: 'subagent'on deploy/key management tools — corrected tophase: 'management'Type of Change
Testing
Tested manually
Checklist