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.
- package/LICENSE +21 -21
- package/README.md +279 -411
- package/build/addon/auto_reload/auto_reload.gd +126 -126
- package/build/addon/auto_reload/plugin.cfg +7 -7
- package/build/addon/godot_mcp_editor/mcp_client.gd +178 -178
- package/build/addon/godot_mcp_editor/plugin.cfg +6 -6
- package/build/addon/godot_mcp_editor/plugin.gd +84 -84
- package/build/addon/godot_mcp_editor/tool_executor.gd +114 -114
- package/build/addon/godot_mcp_editor/tools/animation_tools.gd +502 -502
- package/build/addon/godot_mcp_editor/tools/resource_tools.gd +425 -425
- package/build/addon/godot_mcp_editor/tools/scene_tools.gd +761 -761
- package/build/addon/godot_mcp_runtime/godot_mcp_runtime.gd +33 -33
- package/build/addon/godot_mcp_runtime/mcp_runtime_autoload.gd +671 -619
- package/build/addon/godot_mcp_runtime/plugin.cfg +7 -7
- package/build/cli/notify.js +4 -3
- package/build/cli.js +18 -18
- package/build/godot-bridge.js +11 -11
- package/build/index.js +238 -123
- package/build/scripts/godot_operations.gd +6823 -6823
- package/build/visualizer/events.js +19 -19
- package/build/visualizer/panel.js +34 -34
- package/build/visualizer/usages.js +14 -14
- package/build/visualizer-server.js +11 -11
- package/build/visualizer.html +2596 -2596
- package/package.json +106 -107
- package/scripts/postinstall.mjs +29 -29
|
@@ -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")
|