-
Notifications
You must be signed in to change notification settings - Fork 142
Comparing changes
Open a pull request
base repository: CoderGamester/mcp-unity
base: 1.1.0
head repository: CoderGamester/mcp-unity
compare: 1.1.1
- 15 commits
- 21 files changed
- 3 contributors
Commits on May 27, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 5e7f497 - Browse repository at this point
Copy the full SHA 5e7f497View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb4b03c - Browse repository at this point
Copy the full SHA cb4b03cView commit details
Commits on May 31, 2025
-
fix: Map 'info' log type to Unity's 'Log' type for console log retrieval
The get_console_logs tool was unable to retrieve info logs because MCP's "info" parameter didn't match Unity's internal "Log" type string. Added mapping logic to convert "info" to "Log" before filtering log entries. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cc2cb1a - Browse repository at this point
Copy the full SHA cc2cb1aView commit details -
perf: Optimize log type mapping performance in ConsoleLogsService
Move log type mapping logic outside the loop to avoid repeated processing. Added static Dictionary for MCP-to-Unity log type mappings with case-insensitive comparison. This improves performance and provides better extensibility for future log type mappings. Addresses CodeRabbit review feedback for performance optimization. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1ecfd45 - Browse repository at this point
Copy the full SHA 1ecfd45View commit details
Commits on Jun 1, 2025
-
feat: Expand error log type mapping to include Exception and Assert
Per PR review feedback, expanded the log type mapping to handle multi-value mappings. The "error" filter now returns all error-related log types. We found that filtering by "error" was not comprehensive enough for development purposes - Exception and Assert logs are also error conditions that developers need to see. Changes: - Changed LogTypeMapping from Dictionary<string, string> to Dictionary<string, HashSet<string>> to support 1-to-many mappings - Added "error" → {"Error", "Exception", "Assert"} mapping - Updated GetAllLogsAsJson filtering logic to use HashSet.Contains() This ensures developers can see all error-related logs when filtering by "error" type, making debugging more effective. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>Configuration menu - View commit details
-
Copy full SHA for 1f28ea4 - Browse repository at this point
Copy the full SHA 1f28ea4View commit details -
feat: Add pagination support to console logs to prevent LLM token limits
- Add offset and limit parameters to GetConsoleLogsResource and GetConsoleLogsTool - Implement GetLogsAsJson method with pagination in ConsoleLogsService - Return logs in newest-first order for better debugging workflow - Add automatic memory management with configurable cleanup thresholds - Update resource descriptions with pagination usage recommendations - Enhance Unity-side and Node.js-side implementations consistently 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 925431d - Browse repository at this point
Copy the full SHA 925431dView commit details -
refactor: Improve parameter validation and safety in GetConsoleLogsRe…
…source - Add bounds validation for offset (≥0) and limit (1-1000) parameters - Simplify parameter extraction with helper method - Add defensive programming for pagination metadata access - Reduce code duplication and improve maintainability Addresses CodeRabbit review feedback for better error handling and robustness. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6f1ddc0 - Browse repository at this point
Copy the full SHA 6f1ddc0View commit details -
Merge pull request #40 from Saqoosha/fix/info-log-type-mapping
fix: Map 'info' log type to Unity's 'Log' type for console log retrieval
Configuration menu - View commit details
-
Copy full SHA for b8b9cf8 - Browse repository at this point
Copy the full SHA b8b9cf8View commit details
Commits on Jun 2, 2025
-
Merge upstream/main and resolve conflicts in ConsoleLogsService.cs
Resolved conflict by combining pagination functionality with the new log type mapping feature from upstream.
Configuration menu - View commit details
-
Copy full SHA for 2ca51d7 - Browse repository at this point
Copy the full SHA 2ca51d7View commit details -
refactor: simplify console logs response format based on PR feedback
- Remove pagination object and consolidate info into message field - Delete deprecated GetAllLogsAsJson method - Optimize log counting with single loop for better performance - Add default offset/limit values to resource templates - Simplify response to only include logs, message, and success fields - Move count information (total, filtered, returned) into message text - Add parameter validation for offset/limit in TypeScript This addresses all review comments from PR #42 to make the response format more concise and easier for AI agents to process. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5e35e08 - Browse repository at this point
Copy the full SHA 5e35e08View commit details
Commits on Jun 4, 2025
-
Merge pull request #42 from Saqoosha/feature/console-logs-pagination
feat: Add pagination support to console logs to prevent LLM token limits
Configuration menu - View commit details
-
Copy full SHA for b4b4bd6 - Browse repository at this point
Copy the full SHA b4b4bd6View commit details -
feat: Add includeStackTrace option to console logs for token optimiza…
…tion - Add includeStackTrace parameter to get_console_logs tool and resource - Default to true for backward compatibility (except info logs in resource) - Reduces token usage by 80-90% when set to false - Update tool/resource descriptions with clear hints for LLMs to use this option - Add
⚠️ emoji to highlight token-saving recommendations - Implement stack trace filtering in Unity-side ConsoleLogsService This helps prevent LLM context window overflow when retrieving Unity console logs. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>Configuration menu - View commit details
-
Copy full SHA for 7c14c02 - Browse repository at this point
Copy the full SHA 7c14c02View commit details
Commits on Jun 5, 2025
-
Merge pull request #44 from Saqoosha/feature/console-logs-stacktrace-…
…option feat: Add includeStackTrace option to reduce LLM token usage by 80-90%
Configuration menu - View commit details
-
Copy full SHA for cb5f0dd - Browse repository at this point
Copy the full SHA cb5f0ddView commit details
Commits on Jun 12, 2025
-
## feat(editor): Enhance MCP Unity Editor UI and documentation. These…
… changes aim to make the MCP Unity Editor more user-friendly, easier to configure, and better documented for developers. Key changes include: - **Editor UI Enhancements:** Updated `McpUnityEditorWindow.cs` to include new sections for connected clients, npm executable path configuration, and direct buttons for configuring Windsurf, Claude Desktop, and Cursor IDEs. - **New Settings:** Added `NpmExecutablePath` to `McpUnitySettings.cs` to allow users to specify a custom npm executable path. - **Utility Functions:** Implemented new utility methods in `McpUtils.cs` for generating MCP configuration JSON, integrating with various IDEs, and running npm commands for server installation/building. - **Comprehensive Documentation:** Overhauled `README.md` and its localized versions (`README-ja.md`, `README_zh-CN.md`) with detailed features, installation steps, usage guides, debugging information, and an extensive FAQ section. - **Documentation Assets:** Added a new `docs/` directory containing images referenced in the updated README files.
Configuration menu - View commit details
-
Copy full SHA for 342bc50 - Browse repository at this point
Copy the full SHA 342bc50View commit details -
Configuration menu - View commit details
-
Copy full SHA for c709528 - Browse repository at this point
Copy the full SHA c709528View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 1.1.0...1.1.1