Repository navigation
v0.1.27
Added
- Restart and resume. The agent can restart the editor in any project with
godot.restart_editor, for example after enabling a plugin or changing a setting that only applies after a restart. Before, only projects with a GDExtension had it. The agent has to give a reason, and the permission card shows it. The card also warns when another tab is in the middle of a turn, since the restart cuts that turn short. A running One-shot pauses, and Resume One-shot continues it. After the restart, every tab that had a session comes back with its session, mode and name, separate copies included. The tab that asked continues with the reason, and the others come back without a message. You can do the same from ⋯ → Restart and resume. - Per-model weekly limits in the quota panel. If your plan has a weekly limit for a single model (Fable), the panel shows it as Week · Fable, next to the 5-hour window and the general week. When you're using that model, the inner ring shows the fuller of the two weeks. With another model it's shown in grey as (another model). Plans without it look the same as before.
Fixed
- Tooltips in the composer bar could still close right away with some editor themes (seen on Godot 4.8-beta3): the context percentage kept changing width. It now keeps the width of "100 %" measured with the editor's style, and the machine chips next to the state keep the width of their longest age, so nothing moves under the mouse while the agent works.
- Shell commands that work in
/tmpare no longer rejected as writes to the project. The guard that stops shell writes skipping the editor read every relative path as a project path and ignoredcd, socd /tmp && … > filewas rejected without a card. Relative paths now count from the lastcdorpushdin the command (acdinside( … ),$( … )or before a|doesn't count after it;cd $DIR,cd ~andcd -leave the paths after them unchecked), for redirections,tee,sed -i,mv,cpandrmalike. Commands the agent runs through the editor's terminal start from their own folder, and Antigravity's commands from the folder it reports. - Rejections without a card now tell the agent why. The agent only heard that the user refused the tool, so it retried blindly. When the harness rejects a call on its own (a write that skips the editor, Godot without
--headless, a file another session is editing, the project mode's files, a mode that denies the tool, the subagent limit), the agent gets the reason and what to use instead, like with Deny with reason…. In a One-shot run, the reason (and the one from Deny with reason…) waits for the turn to end, like your guidance, instead of cutting the turn, which the run reads as a stop. - The plan quota warning and One-shot pause counted Fable's weekly limit even when you used another model. With Fable's week at 95 % and Opus selected, the run paused. Now the thresholds only count the windows that limit the model in use: Fable's week counts with Fable, and the general week with every model.
- A double click from the agent didn't reach the game's UI as one.
godot.game_inputhad no way to send a double click: two click steps arrive as two separate clicks, so a Control that checksdouble_clickin_gui_input(a list row that opens on double click, say) never reacted. A click step now takesdouble: true, which sends a click and then a second press marked as a double click. Thedouble_clickaction ofgodot.game_ui_actalso sends the first click before the marked press, the way the system sends it, instead of a single marked press. - Export warned that a preset doesn't exclude the addon when its exclude filter already did, with a broader pattern such as
addons/*. The check compared the text againstaddons/godot_agent/*instead of evaluating the pattern. It now evaluates each pattern the way Godot does, soaddons/*,addons/**,res://addons/*or*/godot_agent/*count. Add to the presets no longer adds a redundant filter either. The same applies to the project tools folder. - An error in the harness's own playtest code no longer leaves the game stopped in the debugger. The playtest detector that reads the HUD could fail on a control without a viewport (
get_visible_recton a null value ingame_ui.gd); with the editor's debugger attached, every such error paused the game, and after agame_scriptthe pause stayed:capture_game_frameand thegame_*tools got no frames until the scene was restarted. The UI reading now skips controls without a viewport; a break whose error is in the addon's code is continued on its own and listed among the errors the game went past, marked as the harness's; and a detector that hits an error in the harness's code turns itself off for the rest of the run instead of pausing the game every frame. - The composer row widened the dock instead of compacting. A project mode with a long name, such as «Level design (Build)», could make the dock a few pixels wider than you left it, with Send still spelled out. The row underestimated the width of the Send button by 6 px, so in that margin it thought it fit. And when you moved the divider quickly, a needed compaction was skipped and nothing checked again. Both are fixed. When even the shortest row doesn't fit (a long mode name on a narrow dock with a larger editor scale), the mode pill is shortened with «…» too, and its tooltip shows the whole name.
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.