v0.2.0
Added
- Transform tools:
set_transform,duplicate_object,reparent_object - Profiler tools:
profiler_start,profiler_stop,profiler_clear,profiler_get_samplesusingUnity.Profiling.ProfilerRecorder profiler_benchmark: fires a namedProfilerMarkerwith real CPU work to produce measurable timing samples (use withprofiler_start)helptool: returns full description and argument details for any command on demandscreenshotnow returns the image inline (base64 PNG) with optionalmax_sizedownscaleexecute_script: compile and run C# code snippets in the EditorIAgentCommand.Coreproperty: command classes declare themselves as core withbool Core => true- Go integration tests for profiler commands and
execute_script, including a live data-capture test that fires aProfilerMarkerand verifiessampleCount > 0
Changed
play_mode(single command withactionparameter) replaced byplay_enterandplay_exit(no arguments each)run_tests(single command withmodeparameter) replaced byrun_editor_testsandrun_playmode_testscommandsrenamed tolist_commandsconsole_logssimplified:limitandtypefilter arguments removed; always returns all buffered logs- MCP tools/list context cost reduced by 31% (from ~3,000 to ~2,063 tokens) by moving argument descriptions behind the
helptool serve.gonow loads core tools dynamically from Unity at startup vialist_commandsinstead of a hardcoded allowlist. No Go recompile needed when adding new Unity commands.agent_schema.jsonremoved; no offline schema cache needed.- Dropped
profiler_set_deepandprofiler_get_frame(required internal Unity APIs with no public equivalent) - Removed
--schemaCLI flag fromdffrnt-agent
MCP context size
=== MCP context size (fixed tools only) ===
tool bytes ~tokens
-------------------------------------------
screenshot 234 58
help 205 51
invoke 161 40
set_project 138 34
-------------------------------------------
TOTAL (4 tools) 738 184
note: dynamic core tools from Unity are registered at runtime via the 'core' flag