Files
RoboMovel/simulacao/robo-movel-godot/addons/claude_godot/docs/tools/remote.md
T
mguinhos d17575771b Projeto: app demo, servidor/firmware em software/, simulacao Godot, planta do bloco D, chapas MDF da base, renders e slides
- app/: app demo (Kivy/buildozer) da API do robo
- software/: servidor RoboMovel (SLAM, profundidade, navegacao) e firmware da base movel (movido de firmware/)
- simulacao/: projeto Godot do robo e script de lancamento servidor + simulacao
- modelos/: planta do 5o andar do bloco D, cena Blender do corredor e modelo real do robo
- partes/mdf/: chapas identificadas e nesting da base do robo (DXF/SVG/FCStd)
- projeto/render, relatorio/imagens, slides: renders finais e apresentacoes de progresso
- ferramentas/scripts: encaixe de chapas, planta do bloco D e render do corredor no Blender
- .gitignore: ignora backups do Blender/FreeCAD e .godot/
2026-10-25 23:38:16 -03:00

1.0 KiB

remote

Run a shell command.

Input — command (required), cwd (optional), timeout (optional, default 15s, max 60s)

Returns the exit code, stdout and stderr.

This is not SSH. SSH needs curve25519, ed25519 and chacha20-poly1305/AES-GCM, and Godot exposes none of them (Crypto covers RSA and HMAC, AESContext only ECB and CBC), so no SSH client can be written in pure GDScript.

On desktop it uses OS.execute. On Android and Quest, where OS.execute doesn't work at all, it POSTs to agent/tools/shell_bridge.py — a small loopback-only server you run next to the shell you want:

python addons/claude_godot/agent/tools/shell_bridge.py

Android shares 127.0.0.1 across apps, so the editor reaches a bridge running in Termux with no network setup. It runs whatever it is sent, with no authentication — don't bind it to a routable address. Point the tool elsewhere with a shell_bridge row in preferences.csv.

The editor blocks while a command runs, which is why the timeout is capped. This is for git status, not npm install.