fix(copilot): expand tool metadata, fix thinking text rendering, clean up display logic#3779
fix(copilot): expand tool metadata, fix thinking text rendering, clean up display logic#3779waleedlatif1 merged 3 commits intostagingfrom
Conversation
…n up display logic
|
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. |
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 |
|
@greptile |
|
@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.
apps/sim/app/workspace/[workspaceId]/home/components/message-content/message-content.tsx
Outdated
Show resolved
Hide resolved
… '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