Repository navigation
v0.2.2
Added
- The agent sees what the Inspector shows.
editor_statenow says what is open in the Inspector: a node of the scene, a resource file, or a sub-resource (a mesh's material, a StyleBox inside a theme) with the node or resource and the property it comes from. "Change this one I'm looking at" now works. - Dependencies of a file. A new
dependenciestool lists what a file uses (forward) or which files use it (reverse), 1 to 3 levels deep: byres://path, by uid, and by a script's relativepreload/load/extendspaths. Agents no longergrepthe project before changing or deleting a file. - Loop warning for every editor tool. When the agent makes the same
godot.*call, or the same cycle of up to three calls, three times in a row in one turn and gets the same result every time, the tool result tells it to change approach. Each tab counts on its own and starts over every turn; nonces, the game clock and new-error notes don't count as progress. In One-shot it counts as a loop: the first asks the agent for another approach, the same one again pauses the run. Playtests keep their own check, which now shares the same detector. - Read one function. A new
read_functiontool returns one GDScript function with its line numbers, its##comments and annotations: by name (Inner.jumpfor an inner class) or by a line inside it, such as a frame ofgame_stack, in ares://script or aclass_name. If the script has unsaved changes in the Script Editor it reads those. The agent no longer needs to read the whole file or usesedin the shell to look at one function. - Diagnostic report for bug reports. Copy diagnostic report…, in the dock's ⋯ menu and on the Agent Log's toolbar, shows a short JSON report and copies it to paste in an issue: addon and Godot versions, operating system, the agent adapter and its version, where the connection with the agent was, why the session or the last turn failed (didn't start, no answer to initialize, process exited, plan limit, sign-in…), whether the agent connected to the editor's MCP server and how many of its tool calls failed, and the One-shot phase. Every value comes from a fixed list, so it carries no paths, file names, conversation text, email or account. The bug report template has a field for it.
- Find declarations and references.
find_symbolsfinds where aclass_name, function, signal, variable, constant or enum is declared, andfind_referenceswhere a name is used: calls,.emit,.connectand member access in GDScript (not in comments), strings that are exactly the name (connect("hit")), and saved signal connections and animation method tracks in scenes. Both see the Script Editor's unsaved text and leave outres://addons/unless asked.
Changed
- Shell commands that only read files no longer ask you. A command like
cd assets && ls -la | head,cat,grep,findorsed -nthat would have shown a permission card is rejected on its own: the chat shows "Not asked: … only reads files", and the agent is told to use its own file tools orgodot.list_filesandgodot.find_in_files, which need no permission. When the shell is allowed, these commands run as before. list_filesgives image sizes. Each PNG, JPEG and WebP file comes with its width and height, read from the file header, so the agent doesn't write Python scripts for that. The system prompt also tells the agent not to inspect files with scripts.- Settings, by topic. The sections are now General (interface, language, notifications and updates), Agents, Permissions, After each turn, One-shot (with the plan quota), Code completion and Advanced. Checking for updates was under Interface, and most options (the checks after each turn, snapshots, plan criteria, the run-error notice, notifications) were hidden under MCP servers → Advanced. Each block says whether it belongs to this project (shared through git) or to you, in every project. The folders outside the project moved to Permissions, and the export filter to Advanced.
- Extensions is the one place for what you add. The MCP servers of other programs are edited in Extensions → MCP servers, below the servers the agent has, with Save servers; Settings no longer has its own MCP servers section. The folders of recipes, project modes and project tools are changed with Change folder… in their Extensions tabs.
Fixed
delete_filemissed relative paths. It refused to delete a file named byres://path or uid, but deleted one that a script loaded with a relative path (preload("bullet.tscn")), breaking that script.- ↑ in a long message moves the cursor. In the composer, ↑ recalled the previous prompt as soon as the cursor was on the first line, even when that line wrapped into several rows. Now it moves up through the rows first and only recalls the previous prompt from the top row; ↓ works the same way from the bottom row.
Install: unzip into your project so that addons/godot_agent/ ends up in its addons/ folder, then enable Godot Agent Harness in Project Settings → Plugins. Requires Godot 4.7 or newer.