- Implemented ExecuteContextMenuItem method in ObjectCommandHandler.cs to execute context menu methods on game object components.
- Added corresponding execute_context_menu_item tool in object_tools.py to facilitate the execution of context menu items from Python.
- Enhanced error handling and logging for better debugging and user feedback.
- Implemented GetAvailableCommands method in EditorControlHandler.cs to retrieve available editor commands.
- Added corresponding get_available_commands tool in editor_tools.py to interface with the new command.
- Improved code formatting and readability throughout both files.
The installation was failing due to setuptools discovering multiple top-level modules in the flat project layout. This commit updates the pyproject.toml by explicitly specifying:
• The standalone modules ("config.py", "server.py", "unity_connection.py") via the py-modules field.
• The "tools" directory as a package via the packages field.
These changes resolve the "multiple top-level modules discovered" error encountered during `uv pip install -e .` and ensure a clean, predictable package build.