unity-agentic-tools 0.4.1 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -26,8 +26,8 @@ unity-agentic-tools update transform MyScene.unity "Main Camera" -p 0,5,-10
26
26
  ### Update (28)
27
27
  `update gameobject` | `update component` | `update transform` | `update scriptable-object` | `update settings` | `update tag` | `update layer` | `update sorting-layer` | `update parent` | `update build` | `update array` | `update batch` | `update batch-components` | `update material` | `update meta` | `update animation` | `update animator` | `update sibling-index` | `update input-actions` | `update animation-curves` | `update animator-state` | `update prefab` (7 subcommands)
28
28
 
29
- ### Delete (5)
30
- `delete gameobject` | `delete component` | `delete build` | `delete prefab` | `delete package`
29
+ ### Delete (6)
30
+ `delete gameobject` | `delete component` | `delete build` | `delete prefab` | `delete asset` | `delete package`
31
31
 
32
32
  ### Editor (49) -- Live Unity Bridge
33
33
  `editor status` | `editor play` | `editor stop` | `editor pause` | `editor step` | `editor play-state` | `editor save` | `editor scene-open` | `editor active-scene` | `editor refresh` | `editor compiling` | `editor selection-get` | `editor selection-set` | `editor selection-clear` | `editor console-logs` | `editor console-clear` | `editor console-follow` | `editor menu` | `editor screenshot` | `editor tests-run` | `editor install` | `editor uninstall` | `editor hierarchy-snapshot` | `editor ui-snapshot` | `editor input-map` | `editor get text` | `editor get value` | `editor get active` | `editor get position` | `editor get component` | `editor ui-click` | `editor ui-fill` | `editor ui-type` | `editor ui-toggle` | `editor ui-slider` | `editor ui-select` | `editor ui-scroll` | `editor ui-focus` | `editor input-key` | `editor input-mouse` | `editor input-touch` | `editor input-action` | `editor wait`
@@ -37,6 +37,24 @@ unity-agentic-tools update transform MyScene.unity "Main Camera" -p 0,5,-10
37
37
 
38
38
  Run any command with `--help` for full options.
39
39
 
40
+ ## Loaded Edit Protection
41
+
42
+ When editor bridge is connected, mutating `.unity`/`.prefab` files is soft-protected. If target file is loaded/open in Unity editor, pass `--bypass-loaded-protection`.
43
+
44
+ This affects scene/prefab mutators including:
45
+ - `clone`
46
+ - `create gameobject|component|component-copy|prefab-instance`
47
+ - `update` mutators on `.unity`/`.prefab` (including `update prefab ...`)
48
+ - `delete gameobject|component|prefab|asset`
49
+
50
+ If editor bridge is offline/unreachable, operations remain unchanged.
51
+
52
+ ## Script Component Validation
53
+
54
+ - `MonoBehaviour` literal is rejected for `create component`.
55
+ - all-zero GUID is rejected.
56
+ - abstract scripts are rejected for `create component` and `create scriptable-object`.
57
+
40
58
  ## Requirements
41
59
 
42
60
  - Bun runtime