Repository navigation
[codex] Show Wework edit tool messages - #1640
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughA new ChangesMultiEdit support via toolBlockKinds
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
MultiEdit/NotebookEdit-style edit tool blocks as file edit activity instead of generic executed tools.MultiEditdetails.Root Cause
Wework only recognized a narrow set of edit tool names (
edit,edit_file,str_replace_editor). Claude edit tools such asMultiEditfell through to the generic tool path, so edit activity appeared as a generic executed tool rather than an edit message.Validation
pnpm --dir wework test src/components/chat/blocks/toolBlockActivity.test.ts src/components/chat/blocks/ToolBlockItem.test.tsx src/components/chat/blocks/ToolBlocksDisplay.test.tsx src/components/chat/MessageList.test.tsxpnpm --dir wework exec tsc -p tsconfig.app.json --noEmitpnpm --dir wework exec eslint src/components/chat/blocks/toolBlockActivity.ts src/components/chat/blocks/toolBlockActivity.test.ts src/components/chat/blocks/ToolBlockItem.tsx src/components/chat/blocks/ToolBlockItem.test.tsx src/components/chat/blocks/toolBlockKinds.tsSummary by CodeRabbit
New Features
Bug Fixes