Skip to content

v0.1.30

Choose a tag to compare

@github-actions github-actions released this 18 Nov 23:21
· 70 commits to main since this release

Fixed

  • Auto mode judges the commands inside loops, if blocks and xargs. A command like for f in *.gd; do grep foo $f; done was split into «for…», «do grep…» and «done», so Auto asked once per piece and Always allow offered rules like do * or done. Worse, with do * on the allowlist, do rm … inside a loop ran without asking, and xargs * did the same for … | xargs rm. Now Auto looks at the command that actually runs (grep, rm) inside for, while, if, subshells, { } and wrappers like xargs, env or timeout, never suggests a shell keyword as a rule, and always asks for case and function definitions. Rules like do * or xargs * that are already on your list no longer let anything through; you can remove them in Settings → Permissions.
  • See the subagents that keep working after the turn. Background subagents keep working after the agent's turn ends, but the dock only counted them while the turn was running, so once it said Ready there was no way to tell they were there or what they were doing. They also kept asking for permissions. Now a ⧉ N subagents button next to the status line shows them in every state and says how many are waiting for you. Click it to list each one with what it's doing, and pick one to scroll the chat to it with its tools open. Their permission cards now start with the subagent's name (Subagent «Explore the map» · …). Before, the name came after the command, so a long command cut it off.
  • Fewer permission cards for searching the project. The agent's instructions said to use the shell to read, so the agent often searched with commands like cd <project> && f=$(grep -rl "class_name Projectile" .); cat $f, and the $(…) made it ask for permission each time. Now the instructions tell it to use its own Read, Grep and Glob tools, which never ask, and godot.project_map to find where a class_name is defined. They also tell it the shell already starts in the project folder, so it doesn't need to cd into it.
  • Review findings fold in every mode. When the agent reviewed code outside Review mode, for example in Auto with subagents, it ended its answer with the findings as a long JSON block, and the chat showed all of it. Now any answer with a findings block is handled as in Review: the block folds into ▸ N findings, and the findings go to the Review panel and the Script Editor. Outside Review, an empty block doesn't clear the current review.

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.