godot-bridge
通过 TCP 交互服务启动并驱动 Godot 4.x 游戏的 DSH 插件。
AI 分析
核心用途是提供原生 Agent 工具来运行 Godot 项目、检查场景树、模拟点击及获取截图。适合使用 DSH 进行 Godot 游戏开发、测试和自动化控制的开发者。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Smalldy/godot-bridge说明文档
阅读完整 README ↗Usage
godot_run_project # start the game (default: current workspace)
godot_ping # confirm 9090 answers
godot_command get_scene_tree # inspect the scene graph
godot_command get_ui_elements
godot_command eval {code: "return get_tree().current_scene.name"}
godot_command click {x: 576, y: 300}
godot_screenshot # view the game
godot_get_debug_output # read the boot log
godot_stop_project # done
Godot executable resolution: per-tool godot_path argument → the godotPath setting (the Web plugin-config page, or the godot-bridge: section of settings.yaml) → the godot command on PATH. Nothing to configure when godot is on PATH; otherwise set the engine path in settings and point at the real exe, never a shim.