mcpforunityserver 9.3.2b20260203175921__tar.gz → 9.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/PKG-INFO +2 -2
  2. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/README.md +1 -1
  3. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/pyproject.toml +1 -1
  4. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/mcpforunityserver.egg-info/PKG-INFO +2 -2
  5. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/tests/test_transport_characterization.py +10 -14
  6. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/LICENSE +0 -0
  7. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/setup.cfg +0 -0
  8. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/__init__.py +0 -0
  9. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/commands/__init__.py +0 -0
  10. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/commands/animation.py +0 -0
  11. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/commands/asset.py +0 -0
  12. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/commands/audio.py +0 -0
  13. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/commands/batch.py +0 -0
  14. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/commands/code.py +0 -0
  15. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/commands/component.py +0 -0
  16. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/commands/editor.py +0 -0
  17. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/commands/gameobject.py +0 -0
  18. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/commands/instance.py +0 -0
  19. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/commands/lighting.py +0 -0
  20. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/commands/material.py +0 -0
  21. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/commands/prefab.py +0 -0
  22. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/commands/scene.py +0 -0
  23. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/commands/script.py +0 -0
  24. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/commands/shader.py +0 -0
  25. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/commands/texture.py +0 -0
  26. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/commands/tool.py +0 -0
  27. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/commands/ui.py +0 -0
  28. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/commands/vfx.py +0 -0
  29. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/main.py +0 -0
  30. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/utils/__init__.py +0 -0
  31. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/utils/config.py +0 -0
  32. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/utils/confirmation.py +0 -0
  33. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/utils/connection.py +0 -0
  34. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/utils/constants.py +0 -0
  35. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/utils/output.py +0 -0
  36. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/utils/parsers.py +0 -0
  37. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/cli/utils/suggestions.py +0 -0
  38. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/core/__init__.py +0 -0
  39. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/core/config.py +0 -0
  40. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/core/constants.py +0 -0
  41. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/core/logging_decorator.py +0 -0
  42. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/core/telemetry.py +0 -0
  43. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/core/telemetry_decorator.py +0 -0
  44. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/main.py +0 -0
  45. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/mcpforunityserver.egg-info/SOURCES.txt +0 -0
  46. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/mcpforunityserver.egg-info/dependency_links.txt +0 -0
  47. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/mcpforunityserver.egg-info/entry_points.txt +0 -0
  48. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/mcpforunityserver.egg-info/requires.txt +0 -0
  49. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/mcpforunityserver.egg-info/top_level.txt +0 -0
  50. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/models/__init__.py +0 -0
  51. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/models/models.py +0 -0
  52. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/models/unity_response.py +0 -0
  53. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/__init__.py +0 -0
  54. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/api_key_service.py +0 -0
  55. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/custom_tool_service.py +0 -0
  56. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/registry/__init__.py +0 -0
  57. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/registry/resource_registry.py +0 -0
  58. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/registry/tool_registry.py +0 -0
  59. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/resources/__init__.py +0 -0
  60. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/resources/active_tool.py +0 -0
  61. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/resources/custom_tools.py +0 -0
  62. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/resources/editor_state.py +0 -0
  63. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/resources/gameobject.py +0 -0
  64. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/resources/layers.py +0 -0
  65. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/resources/menu_items.py +0 -0
  66. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/resources/prefab.py +0 -0
  67. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/resources/prefab_stage.py +0 -0
  68. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/resources/project_info.py +0 -0
  69. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/resources/selection.py +0 -0
  70. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/resources/tags.py +0 -0
  71. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/resources/tests.py +0 -0
  72. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/resources/unity_instances.py +0 -0
  73. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/resources/windows.py +0 -0
  74. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/state/external_changes_scanner.py +0 -0
  75. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/__init__.py +0 -0
  76. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/batch_execute.py +0 -0
  77. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/debug_request_context.py +0 -0
  78. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/execute_custom_tool.py +0 -0
  79. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/execute_menu_item.py +0 -0
  80. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/find_gameobjects.py +0 -0
  81. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/find_in_file.py +0 -0
  82. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/manage_asset.py +0 -0
  83. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/manage_components.py +0 -0
  84. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/manage_editor.py +0 -0
  85. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/manage_gameobject.py +0 -0
  86. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/manage_material.py +0 -0
  87. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/manage_prefabs.py +0 -0
  88. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/manage_scene.py +0 -0
  89. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/manage_script.py +0 -0
  90. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/manage_scriptable_object.py +0 -0
  91. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/manage_shader.py +0 -0
  92. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/manage_texture.py +0 -0
  93. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/manage_vfx.py +0 -0
  94. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/preflight.py +0 -0
  95. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/read_console.py +0 -0
  96. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/refresh_unity.py +0 -0
  97. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/run_tests.py +0 -0
  98. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/script_apply_edits.py +0 -0
  99. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/set_active_instance.py +0 -0
  100. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/services/tools/utils.py +0 -0
  101. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/transport/__init__.py +0 -0
  102. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/transport/legacy/port_discovery.py +0 -0
  103. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/transport/legacy/stdio_port_registry.py +0 -0
  104. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/transport/legacy/unity_connection.py +0 -0
  105. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/transport/models.py +0 -0
  106. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/transport/plugin_hub.py +0 -0
  107. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/transport/plugin_registry.py +0 -0
  108. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/transport/unity_instance_middleware.py +0 -0
  109. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/transport/unity_transport.py +0 -0
  110. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/utils/focus_nudge.py +0 -0
  111. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/src/utils/module_discovery.py +0 -0
  112. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/tests/test_cli.py +0 -0
  113. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/tests/test_cli_commands_characterization.py +0 -0
  114. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/tests/test_core_infrastructure_characterization.py +0 -0
  115. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/tests/test_models_characterization.py +0 -0
  116. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/tests/test_param_normalizer.py +0 -0
  117. {mcpforunityserver-9.3.2b20260203175921 → mcpforunityserver-9.4.0}/tests/test_utilities_characterization.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcpforunityserver
3
- Version: 9.3.2b20260203175921
3
+ Version: 9.4.0
4
4
  Summary: MCP for Unity Server: A Unity package for Unity Editor integration via the Model Context Protocol (MCP).
5
5
  Author-email: Marcus Sanatan <msanatan@gmail.com>, David Sarno <david.sarno@gmail.com>, Wu Shutong <martinwfire@gmail.com>
6
6
  License-Expression: MIT
@@ -110,7 +110,7 @@ Use this to run the latest released version from the repository. Change the vers
110
110
  "command": "uvx",
111
111
  "args": [
112
112
  "--from",
113
- "git+https://github.com/CoplayDev/unity-mcp@v9.3.1#subdirectory=Server",
113
+ "git+https://github.com/CoplayDev/unity-mcp@v9.4.0#subdirectory=Server",
114
114
  "mcp-for-unity",
115
115
  "--transport",
116
116
  "stdio"
@@ -69,7 +69,7 @@ Use this to run the latest released version from the repository. Change the vers
69
69
  "command": "uvx",
70
70
  "args": [
71
71
  "--from",
72
- "git+https://github.com/CoplayDev/unity-mcp@v9.3.1#subdirectory=Server",
72
+ "git+https://github.com/CoplayDev/unity-mcp@v9.4.0#subdirectory=Server",
73
73
  "mcp-for-unity",
74
74
  "--transport",
75
75
  "stdio"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "mcpforunityserver"
3
- version = "9.3.2b20260203175921"
3
+ version = "9.4.0"
4
4
  description = "MCP for Unity Server: A Unity package for Unity Editor integration via the Model Context Protocol (MCP)."
5
5
  readme = "README.md"
6
6
  license = "MIT"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcpforunityserver
3
- Version: 9.3.2b20260203175921
3
+ Version: 9.4.0
4
4
  Summary: MCP for Unity Server: A Unity package for Unity Editor integration via the Model Context Protocol (MCP).
5
5
  Author-email: Marcus Sanatan <msanatan@gmail.com>, David Sarno <david.sarno@gmail.com>, Wu Shutong <martinwfire@gmail.com>
6
6
  License-Expression: MIT
@@ -110,7 +110,7 @@ Use this to run the latest released version from the repository. Change the vers
110
110
  "command": "uvx",
111
111
  "args": [
112
112
  "--from",
113
- "git+https://github.com/CoplayDev/unity-mcp@v9.3.1#subdirectory=Server",
113
+ "git+https://github.com/CoplayDev/unity-mcp@v9.4.0#subdirectory=Server",
114
114
  "mcp-for-unity",
115
115
  "--transport",
116
116
  "stdio"
@@ -256,10 +256,9 @@ class TestUnityInstanceMiddlewareInjection:
256
256
  async def mock_call_next(_ctx):
257
257
  return {"status": "ok"}
258
258
 
259
- # Mock PluginHub as unavailable AND legacy connection pool to prevent fallback discovery
259
+ # Mock PluginHub as unavailable - this is sufficient for auto-select to fail
260
260
  with patch("transport.unity_instance_middleware.PluginHub.is_configured", return_value=False):
261
- with patch("transport.legacy.unity_connection.get_unity_connection_pool", return_value=None):
262
- await middleware.on_call_tool(middleware_ctx, mock_call_next)
261
+ await middleware.on_call_tool(middleware_ctx, mock_call_next)
263
262
 
264
263
  # set_state should not be called for unity_instance if no instance found
265
264
  calls = [c for c in mock_context.set_state.call_args_list
@@ -330,10 +329,9 @@ class TestAutoSelectInstance:
330
329
 
331
330
  with patch("transport.unity_instance_middleware.PluginHub.is_configured", return_value=True):
332
331
  with patch("transport.unity_instance_middleware.PluginHub.get_sessions", new_callable=AsyncMock) as mock_get:
333
- with patch("transport.legacy.unity_connection.get_unity_connection_pool", return_value=None):
334
- mock_get.return_value = fake_sessions
332
+ mock_get.return_value = fake_sessions
335
333
 
336
- instance = await middleware._maybe_autoselect_instance(mock_context)
334
+ instance = await middleware._maybe_autoselect_instance(mock_context)
337
335
 
338
336
  assert instance is None
339
337
 
@@ -347,11 +345,10 @@ class TestAutoSelectInstance:
347
345
 
348
346
  with patch("transport.unity_instance_middleware.PluginHub.is_configured", return_value=True):
349
347
  with patch("transport.unity_instance_middleware.PluginHub.get_sessions", new_callable=AsyncMock) as mock_get:
350
- with patch("transport.legacy.unity_connection.get_unity_connection_pool", return_value=None):
351
- mock_get.side_effect = ConnectionError("Plugin hub unavailable")
348
+ mock_get.side_effect = ConnectionError("Plugin hub unavailable")
352
349
 
353
- # When PluginHub fails, auto-select returns None (graceful fallback)
354
- instance = await middleware._maybe_autoselect_instance(mock_context)
350
+ # When PluginHub fails, auto-select returns None (graceful fallback)
351
+ instance = await middleware._maybe_autoselect_instance(mock_context)
355
352
 
356
353
  # Should return None since both PluginHub failed
357
354
  assert instance is None
@@ -919,11 +916,10 @@ class TestTransportEdgeCases:
919
916
 
920
917
  with patch("transport.unity_instance_middleware.PluginHub.is_configured", return_value=True):
921
918
  with patch("transport.unity_instance_middleware.PluginHub.get_sessions", new_callable=AsyncMock) as mock_get:
922
- with patch("transport.legacy.unity_connection.get_unity_connection_pool", return_value=None):
923
- mock_get.side_effect = RuntimeError("Unexpected error")
919
+ mock_get.side_effect = RuntimeError("Unexpected error")
924
920
 
925
- # Should not raise, just return None
926
- instance = await middleware._maybe_autoselect_instance(mock_context)
921
+ # Should not raise, just return None
922
+ instance = await middleware._maybe_autoselect_instance(mock_context)
927
923
 
928
924
  assert instance is None
929
925