improvement(copilot): clarify VFS tool-call titles - #6675
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryLow Risk Overview web_fetch copy switches from Getting to Fetching / Fetched. Live streaming titles for glob and grep are routed through the same Reviewed by Cursor Bugbot for commit 950992b. Bugbot is set up for automated code reviews on this repo. Configure here. |
Greptile SummaryThis PR standardizes Copilot VFS activity labels across streaming and settled tool-call rows.
Confidence Score: 5/5The PR appears safe to merge with no concrete blocking or independently actionable non-blocking issue identified. The streaming and settled display paths converge on the same deterministic formatter, the changes remain UI-only, and focused tests cover the principal resource and status variants.
|
| Filename | Overview |
|---|---|
| apps/sim/lib/copilot/tools/tool-display.ts | Centralizes deterministic grep, glob, docs-page, and web-fetch labels and adds corresponding completed-verb rewrites. |
| apps/sim/app/workspace/[workspaceId]/home/hooks/stream/stream-helpers.ts | Reuses shared argument extraction and title formatting so streaming grep and glob labels align with settled rows. |
| apps/sim/lib/copilot/tools/client/store-utils.ts | Formats reads under the docs corpus as concise Docs Page labels. |
| apps/sim/lib/copilot/tools/tool-display.test.ts | Covers deterministic grep, glob, docs, fetch, and completed-state wording. |
| apps/sim/app/workspace/[workspaceId]/home/hooks/stream/turn-model-serialize.test.ts | Verifies streaming VFS labels, including escaped patterns and docs paths. |
| apps/sim/lib/copilot/tools/client/store-utils.test.ts | Verifies executing, successful, and failed docs-read labels. |
Reviews (1): Last reviewed commit: "improvement(copilot): clarify VFS tool-c..." | Re-trigger Greptile
Summary
Finding <model-authored title>/Finding files→Exploring Internal Knowledge Base/Explored Internal Knowledge Base.Searching for <model-authored title>/Searching→ path-aware copy such asSkimming Docs Page: workflows/agent,Searching Q4 Report for revenue, orSearching Internal Knowledge Base for BYOK.Reading agent→Reading Docs Page: workflows/agent.Getting/Got→Fetching/Fetched.Streaming and settled rows now use the same labels. This UI-only change leaves executable tool contracts untouched.
Type of Change
Testing
Checklist
Screenshots/Videos
N/A — the text-only chip behavior is covered across streaming, persisted, and fallback display paths; no layout changed.