Skip to content

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 23 Nov 09:28
· 24 commits to main since this release

Added

  • The agent sees what the Inspector shows. editor_state now 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 dependencies tool lists what a file uses (forward) or which files use it (reverse), 1 to 3 levels deep: by res:// path, by uid, and by a script's relative preload/load/extends paths. Agents no longer grep the 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_function tool returns one GDScript function with its line numbers, its ## comments and annotations: by name (Inner.jump for an inner class) or by a line inside it, such as a frame of game_stack, in a res:// script or a class_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 use sed in 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_symbols finds where a class_name, function, signal, variable, constant or enum is declared, and find_references where a name is used: calls, .emit, .connect and 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 out res://addons/ unless asked.

Changed

  • Shell commands that only read files no longer ask you. A command like cd assets && ls -la | head, cat, grep, find or sed -n that 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 or godot.list_files and godot.find_in_files, which need no permission. When the shell is allowed, these commands run as before.
  • list_files gives 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_file missed relative paths. It refused to delete a file named by res:// 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.