gopeak 2.3.7 → 2.3.8

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.
@@ -1,33 +1,33 @@
1
- @tool
2
- extends EditorPlugin
3
-
4
- ## Godot MCP Runtime Plugin
5
- ## Enables real-time communication between a running Godot game and the MCP server.
6
- ##
7
- ## This plugin provides:
8
- ## - WebSocket server for bidirectional communication
9
- ## - Scene tree inspection
10
- ## - Property modification at runtime
11
- ## - Method calling at runtime
12
- ## - Performance metrics reporting
13
- ## - Signal watching
14
-
15
- const DEFAULT_PORT = 7777
16
- const PROTOCOL_VERSION = "1.0"
17
-
18
- var _server: TCPServer
19
- var _clients: Array[StreamPeerTCP] = []
20
- var _port: int = DEFAULT_PORT
21
- var _enabled: bool = false
22
-
23
-
24
- func _enter_tree() -> void:
25
- # Plugin initialization
26
- print("[MCP Runtime] Plugin loaded")
27
- add_autoload_singleton("MCPRuntime", "res://addons/godot_mcp_runtime/mcp_runtime_autoload.gd")
28
-
29
-
30
- func _exit_tree() -> void:
31
- # Cleanup
32
- remove_autoload_singleton("MCPRuntime")
33
- print("[MCP Runtime] Plugin unloaded")
1
+ @tool
2
+ extends EditorPlugin
3
+
4
+ ## Godot MCP Runtime Plugin
5
+ ## Enables real-time communication between a running Godot game and the MCP server.
6
+ ##
7
+ ## This plugin provides:
8
+ ## - WebSocket server for bidirectional communication
9
+ ## - Scene tree inspection
10
+ ## - Property modification at runtime
11
+ ## - Method calling at runtime
12
+ ## - Performance metrics reporting
13
+ ## - Signal watching
14
+
15
+ const DEFAULT_PORT = 7777
16
+ const PROTOCOL_VERSION = "1.0"
17
+
18
+ var _server: TCPServer
19
+ var _clients: Array[StreamPeerTCP] = []
20
+ var _port: int = DEFAULT_PORT
21
+ var _enabled: bool = false
22
+
23
+
24
+ func _enter_tree() -> void:
25
+ # Plugin initialization
26
+ print("[MCP Runtime] Plugin loaded")
27
+ add_autoload_singleton("MCPRuntime", "res://addons/godot_mcp_runtime/mcp_runtime_autoload.gd")
28
+
29
+
30
+ func _exit_tree() -> void:
31
+ # Cleanup
32
+ remove_autoload_singleton("MCPRuntime")
33
+ print("[MCP Runtime] Plugin unloaded")