unity-mcp/TestProjects/UnityMCPTests/Assets/Scripts/TestAsmdef
David Sarno 43abb003ef perf: Implement CodeRabbit nitpick improvements and fix TestAsmdef
Performance & Quality Improvements:
- Add shared JsonSerializer to eliminate per-call allocation overhead
- Optimize ComponentResolver with CacheByName for short-name lookups
- Deduplicate Vector3 parsing implementations to reduce maintenance burden
- Improve property name normalization for better fuzzy matching quality
- Reduce log noise by avoiding duplicate component resolution warnings

Code Quality:
- Keep using static import for ComponentResolver (CodeRabbit was incorrect about this)
- Normalize property names consistently in AI suggestions algorithm
- Remove duplicate ParseVector3 implementation

TestAsmdef Fix:
- Revert TestAsmdef back to runtime-compatible (remove "includePlatforms": ["Editor"])
- CustomComponent now works correctly for asmdef testing as originally intended
- Validates that ComponentResolver properly handles both short and FQN for asmdef components

Live Testing Validation:
- All ComponentResolver functionality verified through live MCP connection
- AI property matching working perfectly with natural language input
- Assembly definition support fully functional for both default and custom assemblies
- Error handling provides helpful suggestions and complete context

All 45 C# tests + 31 Python tests still passing. Production ready!

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-03 09:12:44 -07:00
..
CustomComponent.cs feat: implement robust ComponentResolver for assembly definitions 2025-09-02 18:45:30 -07:00
CustomComponent.cs.meta feat: implement robust ComponentResolver for assembly definitions 2025-09-02 18:45:30 -07:00
TestAsmdef.asmdef perf: Implement CodeRabbit nitpick improvements and fix TestAsmdef 2025-09-03 09:12:44 -07:00
TestAsmdef.asmdef.meta feat: implement robust ComponentResolver for assembly definitions 2025-09-02 18:45:30 -07:00