unity-agentic-tools 0.2.0 → 0.3.0

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
@@ -1,21 +1,46 @@
1
1
  # unity-agentic-tools
2
2
 
3
- Token-efficient CLI and library for parsing, analyzing, and editing Unity YAML files. Powered by a native Rust backend.
3
+ Token-efficient CLI and library for parsing, analyzing, and editing Unity YAML files. Powered by a native Rust backend (napi-rs).
4
4
 
5
5
  ## Overview
6
6
 
7
- This package powers the `/inspect` and `/edit` commands. It parses Unity scene, prefab, and asset files to extract GameObject hierarchies, components, and properties.
7
+ Fast CLI for Unity scene, prefab, and asset files. Extracts GameObject hierarchies, components, properties, materials, animations, and project settings with minimal token output for AI agent consumption. Includes a live editor bridge (WebSocket/JSON-RPC) for play mode control, UI interaction, input simulation, and annotated screenshots.
8
8
 
9
- ## Commands
9
+ ## Quick Start
10
10
 
11
- See the main plugin README for available commands:
12
- - `/inspect` - View scene/prefab contents
13
- - `/edit` - Modify properties safely
11
+ ```bash
12
+ bun add -g unity-agentic-tools
13
+ unity-agentic-tools read scene MyScene.unity
14
+ unity-agentic-tools read gameobject MyScene.unity "Main Camera" -p
15
+ unity-agentic-tools update transform MyScene.unity "Main Camera" -p 0,5,-10
16
+ ```
17
+
18
+ ## Commands (125 total)
19
+
20
+ ### Read (21)
21
+ `read scene` | `read gameobject` | `read asset` | `read scriptable-object` | `read material` | `read dependencies` | `read dependents` | `read unused` | `read settings` | `read build` | `read overrides` | `read component` | `read reference` | `read script` | `read scripts` | `read log` | `read meta` | `read animation` | `read animator` | `read manifest` | `read input-actions`
22
+
23
+ ### Create (14)
24
+ `create gameobject` | `create scene` | `create prefab-variant` | `create scriptable-object` | `create meta` | `create component` | `create component-copy` | `create build` | `create material` | `create package` | `create input-actions` | `create animation` | `create animator` | `create prefab`
25
+
26
+ ### Update (28)
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
+
29
+ ### Delete (5)
30
+ `delete gameobject` | `delete component` | `delete build` | `delete prefab` | `delete package`
31
+
32
+ ### Editor (49) -- Live Unity Bridge
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`
34
+
35
+ ### Utilities (8)
36
+ `search` | `grep` | `clone` | `version` | `docs` | `setup` | `cleanup` | `status`
37
+
38
+ Run any command with `--help` for full options.
14
39
 
15
40
  ## Requirements
16
41
 
17
- - Bun runtime (bundled with Claude Code)
18
- - Optional: Rust native module for faster parsing
42
+ - Bun runtime
43
+ - Native Rust module (included in npm package, or build from source with `bun run build:rust`)
19
44
 
20
45
  ## Troubleshooting
21
46
 
@@ -25,7 +50,7 @@ The Rust backend may not be installed. Run `bun install` in the project root to
25
50
 
26
51
  ### Script names show as GUIDs
27
52
 
28
- The GUID cache hasn't been built for your project. The plugin will prompt you to run setup when needed.
53
+ The GUID cache hasn't been built for your project. Run `unity-agentic-tools setup -p <project_path>`.
29
54
 
30
55
  ### Parse errors on custom assets
31
56